/* Showcase video: sits between the hero and section 01. */
.showcase { max-width: 1120px; padding-block: 64px 24px; }
.showcase__title { margin: 0 0 20px; font: 400 clamp(30px, 4vw, 46px)/1.05 var(--serif); }
.showcase__window { border: 1px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--shadow); }
.showcase__video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--paper); }
.showcase__note { margin: 14px 0 0; max-width: 60ch; font-size: 15px; color: var(--ink-2); }
@media (max-width: 540px) { .showcase { padding-block: 44px 8px; } .showcase__window { box-shadow: 4px 4px 0 var(--shadow); } }
.showcase__stage { position: relative; }
.showcase__stage .showcase__video { cursor: pointer; }
.showcase__big { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); background: var(--red); color: #fff; box-shadow: 4px 4px 0 var(--shadow); font: 15px/1 var(--pixel); letter-spacing: var(--pixel-tracking); text-transform: uppercase; cursor: pointer; }
.showcase__big:active { transform: translate(calc(-50% + 3px), calc(-50% + 3px)); box-shadow: 1px 1px 0 var(--shadow); }
.showcase__big[hidden] { display: none; }
.showcase__controls { display: flex; align-items: stretch; border-top: 1px solid var(--ink); font: 13px/1 var(--pixel); letter-spacing: var(--pixel-tracking); text-transform: uppercase; }
.showcase__controls[hidden] { display: none; }
.showcase__btn { min-height: 44px; min-width: 96px; padding: 0 16px; border: 0; border-right: 1px solid var(--ink); background: var(--paper-2); color: var(--ink); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.showcase__btn--main { background: var(--red); color: #fff; }
.showcase__track { flex: 1; align-self: center; height: 12px; margin: 0 16px; border: 1px solid var(--ink); background: repeating-linear-gradient(90deg, transparent 0 3px, rgba(5, 8, 13, .12) 3px 4px); }
.showcase__track span { display: block; height: 100%; width: 0; background: var(--red); }
.showcase__time { align-self: center; padding-right: 14px; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 540px) { .showcase__btn { min-width: 0; padding: 0 12px; } .showcase__track { margin: 0 10px; } .showcase__time { font-size: 11px; padding-right: 10px; } .showcase__big { min-height: 44px; padding: 0 18px; } }
.showcase__btn--full { min-width: 52px; border-right: 0; border-left: 1px solid var(--ink); font-size: 18px; }
.showcase__stage.is-phone .showcase__video { aspect-ratio: 1556 / 1008; }
/* Phones: run the video edge to edge so it uses the whole width. */
@media (max-width: 700px) {
  .showcase { padding-inline: 0; }
  .showcase__title, .showcase__note { padding-inline: 16px; }
  .showcase__window { border-inline: 0; box-shadow: none; }
  .showcase__time { display: none; }
  .showcase__track { margin-right: 12px; }
}
/* Full screen: native on desktop and Android (the whole window, so our controls stay), filled by hand on iPhone. */
.showcase__window:fullscreen, .showcase__window.is-filled { display: flex; flex-direction: column; justify-content: center; background: var(--ink); border: 0; box-shadow: none; }
.showcase__window.is-filled { position: fixed; inset: 0; z-index: 1000; height: 100dvh; padding-bottom: env(safe-area-inset-bottom); }
.showcase__window:fullscreen .showcase__stage, .showcase__window.is-filled .showcase__stage { flex: 1; min-height: 0; display: flex; align-items: center; }
.showcase__window:fullscreen .showcase__video, .showcase__window.is-filled .showcase__video { max-height: 100%; aspect-ratio: auto; object-fit: contain; background: var(--ink); }
.showcase__window:fullscreen .showcase__controls, .showcase__window.is-filled .showcase__controls { background: var(--paper-2); }
.showcase-filled, .showcase-filled body { overflow: hidden; }
/* Hover only on real pointers; touch gets a press flash that clears on release. */
@media (hover: hover) {
  .showcase__big:hover { background: #BF281F; }
  .showcase__btn:hover { background: var(--ink); color: var(--paper-2); }
  .showcase__btn--main:hover { background: #BF281F; color: #fff; }
}
.showcase__btn { -webkit-tap-highlight-color: transparent; }
.showcase__btn:active { background: var(--ink); color: var(--paper-2); }
.showcase__btn--main:active { background: #8F1F18; color: #fff; }

/* What's new widget on the homepage */
.whatsnew__frame { border: 2px solid var(--ink, #15181c); box-shadow: 6px 6px 0 var(--ink, #15181c); background: #202326; aspect-ratio: 16 / 9; max-height: 760px; margin-top: 18px; }
.whatsnew__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .whatsnew__frame { aspect-ratio: auto; height: 640px; } }

/* Stage: the live What's new widget and the tour video as overlapping retro windows (cascade, like a desktop) */
.stage { max-width: 1240px; }
.stage__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 22px; }
.stage__lead { max-width: 46ch; margin: 0; color: var(--ink-2); }
.stage__windows { position: relative; padding-bottom: 150px; }
.stage__win { border: 2px solid var(--ink); background: var(--paper-2); box-shadow: 6px 6px 0 var(--shadow); }
.stage__win--widget { width: 82%; margin-left: auto; }
.stage__win--video { position: absolute; left: 0; bottom: 0; width: 44%; z-index: 2; }
.stage__win--video .showcase__window { border: 0; box-shadow: none; }
.stage__bar { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px 5px; background: var(--ink); color: var(--paper); font: 400 11px/1 var(--pixel); letter-spacing: var(--pixel-tracking); text-transform: uppercase; }
.stage__bar a { color: inherit; text-decoration: none; }
.stage__bar a:hover { text-decoration: underline; }
.stage .whatsnew__frame { border: 0; box-shadow: none; margin: 0; aspect-ratio: 16 / 10; max-height: none; }
@media (max-width: 900px) {
  .stage__windows { padding-bottom: 0; display: grid; gap: 18px; }
  .stage__win--widget, .stage__win--video { position: static; width: auto; }
}
@media (max-width: 640px) { .stage .whatsnew__frame { aspect-ratio: auto; height: 470px; } }
/* The Oct 30 tour is captured at 16:10, like the app screens. */
.stage__win--video .showcase__video { aspect-ratio: 16 / 10; background: var(--ink); }
