/* The home page only (/ and /de/). The legal pages keep _style.css.
   The page is the app icon's landscape, walked through: a slate night sky, then
   one sand hill per section, each a sine curve, lighter as you come closer.
   Font paths are relative to this file, so /de/ loads them through ../landing.css.
   The woff2 files are Latin subsets of the TTFs next to them; scripts/store-frames.js
   still reads the TTFs. */
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/SchibstedGrotesk_800ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/SchibstedGrotesk_700Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans_400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/IBMPlexSans_600SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --night: #2D5470;
  --night-deep: #1F3E55;
  --moon: #F2E6CC;
  --hill-far: #C9B48C;
  --hill-mid: #E3D2AE;
  --hill-near: #F5EBD6;
  --ink: #1A1F1E;
  --ink-soft: #3F4644;
  --on-night: #F5EBD6;
  --on-night-soft: #C9D6DF;
  --rule: rgba(26, 31, 30, 0.18);
  --rule-strong: rgba(26, 31, 30, 0.6);
  --rec: #A64B25;
  --accent: #2D5470;
  --screen: #F7F8F6;
  --screen-ink: #1A1F1E;
  --screen-ink-soft: #4A5352;
  --screen-rule: rgba(26, 31, 30, 0.18);
  /* The duotone is a brand surface: the same slate and sand in both schemes. */
  --duo-dark: #1F3E55;
  --duo-light: #F5EBD6;
  --display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad-section: clamp(64px, 8vw, 112px);
  --grain: url("assets/grain.svg");
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --night: #172B3A;
    --night-deep: #0F1E29;
    --hill-far: #5E5442;
    --hill-mid: #4A4234;
    --hill-near: #2E2A23;
    --ink: #F1E8D6;
    --ink-soft: #D9D0BE;
    --rule: rgba(241, 232, 214, 0.2);
    --rule-strong: rgba(241, 232, 214, 0.6);
    --accent: #9DC1DB;
    --screen: #101514;
    --screen-ink: #E3E8E6;
    --screen-ink-soft: #BCC6C3;
    --screen-rule: rgba(227, 232, 230, 0.2);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--hill-near);
  color: var(--ink);
  font: 400 18px/1.6 var(--text);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--moon); outline-offset: 3px; border-radius: 4px; }
main :focus-visible { outline-color: var(--accent); }
h1, h2, h3 { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.nb { white-space: nowrap; }

/* ---- hero: the night ---------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-night);
  background:
    radial-gradient(120% 60% at 50% 104%, rgba(242, 230, 204, 0.18), transparent 62%),
    linear-gradient(var(--night-deep), var(--night) 70%);
}
/* Film grain on the sky only: a 160 px noise tile, overlaid faintly. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--grain); opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 560px); align-items: end; padding-top: 32px; min-height: clamp(560px, 82vh, 840px); }
.hero .wrap > * { min-width: 0; }
.col { padding-bottom: clamp(56px, 8vw, 112px); }
.topbar { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font: 700 20px/1 var(--display); text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.lang { display: flex; align-items: center; gap: 2px; font: 600 14px/1 var(--text); }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; text-decoration: none; color: var(--on-night-soft); }
.lang a[aria-current] { color: var(--on-night); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.lang span { color: var(--on-night-soft); opacity: 0.6; }
h1 {
  margin: clamp(48px, 7vw, 80px) 0 24px;
  font: 800 clamp(52px, 7.6vw, 96px)/0.94 var(--display);
  letter-spacing: -0.03em;
  color: var(--on-night);
}
/* German compounds are longer: one size down, the soft hyphen in the markup does the rest. */
html[lang="de"] h1 { font-size: clamp(46px, 6.6vw, 86px); }
.lead { max-width: 32em; margin: 0 0 32px; font-size: clamp(18px, 1.6vw, 21px); color: var(--on-night-soft); }
.lead b { color: var(--on-night); font-weight: 600; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stores a { display: block; border-radius: 8px; transition: transform 0.35s var(--ease); }
.stores a:hover { transform: translateY(-2px); }
.stores img { display: block; height: 52px; width: auto; }
.stores .play img { height: 76px; margin: -12px -12px -12px 0; } /* Google's PNG carries its own clear space */
.free { margin: 20px 0 0; font-size: 15px; color: var(--on-night-soft); }
.hills { position: relative; z-index: 1; display: block; width: 100%; height: clamp(120px, 18vw, 260px); margin-top: -40px; }
/* The far hills let the sky through, the near one is solid ground. */
.hills .layer:nth-child(1) { fill-opacity: 0.72; }
.hills .layer:nth-child(2) { fill-opacity: 0.82; }

/* ---- the hand: the photo is the hero, the live screen is mapped onto its glass ----- */
.hand { position: absolute; inset: 0; z-index: 0; overflow: hidden; container-type: size; }
/* The photo and the glass share one 1536×1024 frame, so they can never drift apart. CSS scales the
   frame like object-fit: cover (--k) and crops it like object-position (--px 0%). */
.frame { --px: 0.5; --k: max(tan(atan2(100cqw, 1536px)), tan(atan2(100cqh, 1024px))); position: absolute; left: 0; top: 0; width: 1536px; height: 1024px; transform-origin: 0 0; transform: translate(calc((100cqw - 1536px * var(--k)) * var(--px)), 0) scale(var(--k)); perspective: 1000px; perspective-origin: 0 0; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The 264×548 box projected onto the four screen corners of the photo (899,124 1145,138 1019,725 771,677),
   solved once. The projection is split the way browsers draw 3D everywhere: the frame supplies the
   perspective (1000px), the glass is tilted so that z = 0.2083·x + 0.0657·y gives the same division.
   A single matrix3d carrying the perspective row drew as a parallelogram in macOS Safari on the full
   page (not in isolation); this split form is confirmed on the owner's Safari. will-change keeps the
   glass on the compositor. */
.glass { position: absolute; left: 0; top: 0; width: 264px; height: 548px; transform-origin: 0 0; transform: matrix3d(0.6933715, 0.02429175, 0.2082504, 0, -0.284222, 0.9646534, 0.06568785, 0, 0, 0, 1, 0, 899, 124, 0, 1); will-change: transform; border-radius: 30px; overflow: hidden; background: var(--screen); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.glass::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.12) 100%); pointer-events: none; }
.glass .screen { position: absolute; inset: 0; border-radius: 0; padding: 40px 18px 20px; }
/* Keeps the sand copy at 4.5:1 over the strap and the road. */
.shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(31, 62, 85, 0.86) 0%, rgba(31, 62, 85, 0.55) 40%, rgba(31, 62, 85, 0.08) 62%), linear-gradient(180deg, rgba(31, 62, 85, 0) 55%, rgba(31, 62, 85, 0.55) 100%); pointer-events: none; }

/* ---- the screen: the app's live readout, drawn in HTML ---------------------- */
.screen { border-radius: 38px; background: var(--screen); color: var(--screen-ink); padding: 40px 24px 28px; font-family: var(--text); }
.rec { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 600; font-size: 15px; }
.rec::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rec); }
.screen .hint { margin: 0 0 24px; font-size: 14px; line-height: 1.45; color: var(--screen-ink-soft); }
.screen .label { margin: 0; font-size: 13px; color: var(--screen-ink-soft); }
.clock { margin: 0 0 10px; font: 600 52px/1 var(--text); letter-spacing: -0.02em; }
.moving { display: flex; justify-content: space-between; margin: 0 0 20px; font-size: 14px; color: var(--screen-ink-soft); }
.moving strong { color: var(--screen-ink); font-size: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 16px; }
.stats dd { margin: 2px 0 0; white-space: nowrap; font: 600 18px/1.2 var(--text); }
.stats dt { font-size: 13px; color: var(--screen-ink-soft); }
.finish { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 12px; padding: 12px 16px; border-radius: 14px; background: var(--night); color: var(--on-night); font-size: 13px; }
.finish strong { font: 600 18px/1.2 var(--text); }
.pack { display: flex; justify-content: space-between; margin: 0; padding: 14px 16px; border: 1px solid var(--screen-rule); border-radius: 14px; font-size: 15px; }
.pack strong { font-weight: 600; }

/* ---- sections: one hill each --------------------------------------------- */
.band { position: relative; padding: 0 0 var(--pad-section); }
.band.far { background: var(--hill-far); }
.band.mid { background: var(--hill-mid); }
.band.near { background: var(--hill-near); }
.band.first { padding-top: clamp(48px, 6vw, 80px); }
.edge { display: block; width: 100%; height: 90px; margin-top: -1px; }
h2 { margin: 16px 0 32px; max-width: 16em; font: 800 clamp(34px, 4.6vw, 60px)/1.02 var(--display); letter-spacing: -0.02em; }
.intro { max-width: 36em; margin: -8px 0 clamp(36px, 5vw, 56px); font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); }
h3 { margin: 0 0 8px; font: 700 clamp(20px, 1.8vw, 24px)/1.2 var(--display); }
.small { font-size: 15px; color: var(--ink-soft); }

/* ---- how it works: three facts and the live pill -------------------------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.facts p { margin: 0; color: var(--ink-soft); }
.facts .pill { color: var(--on-night); }
/* The in-app pill that floats over every tab while recording, drawn to scale. */
.pill { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--night-deep); color: var(--on-night); font-size: 14px; box-shadow: 0 12px 28px rgba(8, 20, 30, 0.22); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); }
.pill b { font-weight: 600; letter-spacing: 0.04em; font-size: 12px; }
.pill span { color: var(--on-night-soft); }

/* ---- ticker: every standard the plans name, walking past ------------------- */
.ticker { display: flex; overflow: hidden; margin: 0 0 clamp(28px, 4vw, 48px); padding: clamp(10px, 1.6vw, 18px) 0; border-bottom: 1px solid var(--rule); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); user-select: none; }
.ticker .track { display: flex; flex: none; }
.ticker span { display: inline-flex; align-items: center; padding: 0 0 0 0.7em; font: 800 clamp(24px, 3.6vw, 48px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); opacity: 0.22; white-space: nowrap; }
.ticker span::after { content: ""; width: 0.2em; height: 0.2em; margin-left: 0.7em; border-radius: 50%; background: currentColor; }

/* ---- named standards: a ledger, numbers first ------------------------------ */
.ledger { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule-strong); }
.std { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 0.9fr); gap: 24px 32px; align-items: end; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.std:last-child { border-bottom-color: var(--rule-strong); }
.std h3 { margin: 0 0 4px; font-size: clamp(22px, 2.2vw, 28px); }
.std .pack-tag { margin: 0; font-size: 14px; color: var(--ink-soft); }
.nums { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px clamp(20px, 3.4vw, 44px); margin: 0; }
.nums > div { display: flex; flex-direction: column-reverse; }
.nums dd { margin: 0; white-space: nowrap; font: 800 clamp(30px, 3.4vw, 44px)/1 var(--display); letter-spacing: -0.02em; }
.nums dt { margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.src { margin: 0; font-size: 14px; color: var(--ink-soft); text-align: right; }
.next { max-width: 44em; margin: 24px 0 0; font-size: 16px; color: var(--ink-soft); }
.next b { color: var(--ink); font-weight: 600; }
.soon { margin: 28px 0 0; }
.soon .next { margin: 0; }
.soon .next + .next { margin-top: 12px; }
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; margin: 20px 0 0; padding: 0; list-style: none; }
.events li { padding-top: 12px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-soft); }
.events b { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 600; color: var(--ink); }
.soon .src { margin-top: 14px; text-align: left; }

/* ---- the plan as a hill profile ------------------------------------------- */
.profile { margin: 0; }
.profile svg { display: block; width: 100%; height: clamp(170px, 26vw, 300px); overflow: visible; }
.profile .wk { fill: var(--hill-far); transform-box: fill-box; transform-origin: 50% 100%; transition: fill 0.25s, fill-opacity 0.25s; cursor: pointer; }
.profile .deload, .profile .taper { fill: var(--hill-mid); }
.profile .test { fill: var(--accent); }
.profile .wk.on { fill: var(--accent); }
.profile.scrubbed .wk:not(.on) { fill-opacity: 0.55; }
.profile .base { stroke: var(--rule-strong); stroke-width: 2; }
.weeks, .loads { display: grid; margin: 0; padding: 0; list-style: none; text-align: center; font-size: 13px; }
.weeks { margin-top: 8px; }
.weeks li { color: var(--ink-soft); }
.weeks .test { color: var(--ink); font-weight: 600; }
.loads { margin-top: 8px; gap: 4px; }
.loads li { padding: 6px 0 0; border-top: 2px solid var(--rule-strong); color: var(--ink); font-weight: 600; }
.scrub { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; max-width: 36em; margin: 28px 0 0; font-size: 15px; color: var(--ink-soft); }
.scrub input { width: 100%; min-height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
.readout { margin: 6px 0 0; min-height: 1.6em; font-size: 18px; }
.readout b { font-weight: 600; }
.readout span { color: var(--ink-soft); }
.profile figcaption { margin: 20px 0 0; max-width: 40em; font-size: 15px; color: var(--ink-soft); }
.key { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-soft); }
.key li { display: flex; align-items: center; gap: 8px; }
.key i { width: 14px; height: 14px; border-radius: 4px; background: var(--hill-far); }
.key .deload i { background: var(--hill-mid); }
.key .test i { background: var(--accent); }

/* ---- premium and packs: one night panel in the sand ------------------------ */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 880px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.tier { display: flex; flex-direction: column; padding: 24px 0 0; border-top: 2px solid var(--ink); }
.tier.featured { padding: 24px 24px 28px; border-top: 0; border-radius: 8px; background: var(--night-deep); color: var(--on-night); box-shadow: 0 24px 60px rgba(8, 20, 30, 0.18); }
.tier h3 { font-size: 22px; }
.terms { margin: 0; font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.tier ul { margin: 16px 0 0; padding: 0 0 0 1.1em; color: var(--ink-soft); font-size: 16px; }
.tier li { margin: 0 0 6px; }
.tier .small { margin: auto 0 0; padding-top: 16px; }
.tier.featured .terms, .tier.featured ul, .tier.featured .small { color: var(--on-night-soft); }
.tiers + .small { margin: 24px 0 0; max-width: 60em; }

/* ---- gallery: one full-bleed frame, then a wall of nine, all slate and sand --- */
.gallery { padding-top: 0; }
.cinema { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 78vh, 820px); margin: 0; overflow: hidden; isolation: isolate; background: var(--duo-dark); color: var(--on-night); }
.cinema img { position: absolute; left: 0; top: -12%; z-index: 0; width: 100%; height: 124%; object-fit: cover; object-position: 50% 62%; filter: grayscale(1) contrast(1.1); mix-blend-mode: screen; opacity: 0.9; transform: scaleX(-1); /* mirrored: the walker climbs away from the words, the dark slope sits under them */ }
.cinema::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--duo-light); mix-blend-mode: multiply; pointer-events: none; }
.cinema::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(31, 62, 85, 0) 35%, rgba(31, 62, 85, 0.88) 100%); pointer-events: none; }
.cinema figcaption { position: relative; z-index: 3; width: 100%; padding: clamp(140px, 24vh, 260px) 0 clamp(44px, 6vw, 72px); }
.cinema h2 { margin: 0 0 16px; font-size: clamp(38px, 5.4vw, 72px); color: var(--on-night); }
.cinema .intro { margin: 0; color: var(--on-night-soft); }
.cinema .intro b { color: var(--on-night); }
.gallery > .wrap { padding-top: clamp(40px, 5vw, 64px); }
.photos { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(72px, 8.6vw, 118px); gap: 14px; margin: 0; padding: 0; list-style: none; }
.photos li { min-width: 0; }
.w3 { grid-column: span 3; }
.w4 { grid-column: span 4; }
.w6 { grid-column: span 6; }
.r2 { grid-row: span 2; }
.r3 { grid-row: span 3; }
.duo { position: relative; height: 100%; margin: 0; isolation: isolate; overflow: hidden; border-radius: 8px; background: var(--duo-dark); }
.duo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: screen; }
/* On a pointer, a frame lets its colour back in. Screen over slate keeps the blacks lifted. */
@media (hover: hover) {
  .duo img { transition: filter 0.7s var(--ease), transform 1.4s var(--ease); }
  .duo::after { transition: opacity 0.7s var(--ease); }
  .duo:hover img { filter: grayscale(0) contrast(1.05); transform: scale(1.04); }
  .duo:hover::after { opacity: 0; }
}
/* The lone figure stands in the left third of this frame; a centred crop would clip him. */
.duo img[src*="field-dawn"] { object-position: 25% 50%; }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--duo-light); mix-blend-mode: multiply; pointer-events: none; }
.band.far .intro, .band.far .credits { color: var(--ink); }
.credits { margin: 16px 0 0; font-size: 14px; }

/* ---- closing ------------------------------------------------------------- */
.close .stores { margin-top: 32px; }

/* ---- footer: night again ------------------------------------------------- */
footer { background: var(--night-deep); color: var(--on-night-soft); padding: 48px 0 64px; font-size: 15px; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-night); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1px; }
footer nav a:hover { text-decoration-thickness: 2px; }
footer p { margin: 0 0 12px; max-width: 60em; }
footer .legal { color: var(--on-night); }

/* ---- motion: one choreography on load, the landscape on scroll ------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes settle { from { transform: translateX(-720px); } }
  @keyframes breathe { 50% { opacity: 0.35; transform: scale(0.8); } }
  .col > * { animation: rise 0.9s var(--ease) both; }
  .col > :nth-child(2) { animation-delay: 0.08s; }
  .col > :nth-child(3) { animation-delay: 0.18s; }
  .col > :nth-child(4) { animation-delay: 0.26s; }
  .col > :nth-child(5) { animation-delay: 0.32s; }
  .hand { animation: rise 1.1s var(--ease) 0.3s both; }
  .hills .layer { animation: settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hills .layer:nth-child(2) { animation-duration: 3.1s; }
  .hills .layer:nth-child(3) { animation-duration: 3.6s; }
  .rec::before, .pill i { animation: breathe 2.4s ease-in-out infinite; }
  /* The plan rises week by week when it enters the viewport (landing.js arms it). */
  .profile.arm .wk { transform: scaleY(0.04); }
  .profile.in .wk { transform: none; transition: transform 0.8s var(--ease) calc(var(--i, 0) * 55ms), fill 0.25s, fill-opacity 0.25s; }
  @keyframes slide { to { transform: translateX(-100%); } }
  .ticker .track { animation: slide 46s linear infinite; }
  /* The wall rises frame by frame when it enters the viewport (landing.js arms it). */
  .photos.arm li { opacity: 0; translate: 0 24px; }
  .photos.in li { opacity: 1; translate: 0 0; transition: opacity 0.9s var(--ease) calc(var(--i, 0) * 70ms), translate 0.9s var(--ease) calc(var(--i, 0) * 70ms); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker .track { flex-wrap: wrap; row-gap: 4px; }
  .ticker .track + .track { display: none; }
}

@media (max-width: 1040px) {
  .tiers { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero .wrap, .facts { grid-template-columns: 1fr; }
  .hero .wrap { gap: 24px; }
  .col { padding-bottom: 0; }
  .facts { gap: 28px; }
  h1 { margin-top: 40px; }
  .hero .wrap { min-height: 0; }
  .hand { position: relative; inset: auto; height: 118vw; margin: 8px -24px calc(-1 * clamp(28px, 10vw, 60px)); }
  .frame { --px: 0.64; }
  .shade { display: none; }
  .stores img { height: 44px; }
  .stores .play img { height: 64px; margin: -10px -10px -10px 0; }
  .std { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .src { text-align: left; }
  .nums dd { font-size: clamp(28px, 9vw, 38px); }
  .events { grid-template-columns: 1fr; gap: 12px; }
  .cinema img { object-position: 40% 62%; }
  .photos { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
  .photos li { grid-column: span 1; grid-row: auto; }
  /* Rows need one height: every frame is a portrait here, the two wide ones span the row. */
  .photos .duo { height: auto; aspect-ratio: 4 / 5; }
  .photos li.wide { grid-column: 1 / -1; }
  .photos li.wide .duo { aspect-ratio: 16 / 10; }
  .weeks, .loads { font-size: 12px; }
  .scrub { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 600px) {
  .tiers { grid-template-columns: 1fr; }
}
.cols-13 { grid-template-columns: repeat(13, 1fr); }
.cols-9 { grid-template-columns: repeat(9, 1fr); }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
