/* Hallmark · genre: atmospheric · macrostructure: Ecosystem Index · nav: N9 Edge-aligned · footer: Ft5 Statement
 * theme: custom (vibe: "after-hours film contact sheet, warm signal") · tuned
 * paper oklch(15% 0.006 50) · accent oklch(66% 0.21 37) signal orange · second accent oklch(86% 0.17 92) yellow (dot + focus only)
 * display: Unbounded (brand face, from the app) · body: Geist · outlier: Geist Mono (catalogue stamp + clip counts)
 * axes: dark / geometric-wide-sans / warm · enrichment: live template video (real content, no chrome)
  * hero: split headline around a fanned deck of live templates; opening = cut sequence (intro.js), once per session, skippable
 * tone: gallery-led · audience: iPhone users posting Reels/TikTok/Shorts · use: App Store download
 */

@font-face { font-family: "Unbounded"; src: url("/fonts/Unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  /* colour */
  --color-paper:    oklch(15% 0.006 50);
  --color-paper-2:  oklch(19% 0.008 50);
  --color-paper-3:  oklch(24% 0.009 50);
  --color-rule:     oklch(31% 0.008 50);
  --color-neutral:  oklch(64% 0.008 60);
  --color-muted:    oklch(78% 0.007 60);
  --color-ink:      oklch(95% 0.006 80);
  --color-accent:   oklch(66% 0.21 37);
  --color-accent-2: oklch(86% 0.17 92);
  --color-bloom:    oklch(45% 0.14 40 / 0.22);
  --color-bloom-2:  oklch(55% 0.13 80 / 0.08);
  --color-scrim:    oklch(10% 0.006 50 / 0.72);
  --color-halo:     oklch(86% 0.17 92 / 0.18);
  --color-cut-past: oklch(40% 0.08 40);
  --color-shadow:   oklch(5% 0.004 50 / 0.85);
  --color-focus:    var(--color-accent-2);

  /* type */
  --font-display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Geist", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "Geist Mono", ui-monospace, monospace;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;
  --text-md:   1.25rem;
  --text-lg:   1.5625rem;
  --text-h2:   clamp(1.5rem, 2.2vw + 0.9rem, 2.375rem);
  --text-display: clamp(2.25rem, 4.2vw + 1rem, 4.5rem);
  --text-foot: clamp(1.75rem, 4vw + 0.6rem, 3.5rem);

  /* space (4pt) */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 9rem;
  --gutter: clamp(1rem, 4vw, 3.5rem);

  /* shape, motion, layers */
  --radius-tile: 14px;
  --radius-pill: 999px;
  --rule-hair: 1px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms;
  --dur-short: 220ms;
  --dur-long: 420ms;
  --z-raised: 10;
  --z-sticky: 200;
  --z-modal: 400;

  --tile-w: clamp(9.5rem, 15vw, 13.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  overflow-x: clip;
  margin: 0;
  background-color: var(--color-paper);
  background-image:
    radial-gradient(60rem 40rem at 88% -8%, var(--color-bloom), transparent 70%),
    radial-gradient(50rem 36rem at -10% 62%, var(--color-bloom-2), transparent 70%);
  background-repeat: no-repeat;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--space-md); top: -4rem; padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); z-index: var(--z-sticky); }
.skip:focus { top: var(--space-md); }

/* ---- type ---------------------------------------------------------------- */
.display, .h2, .foot__line, .brand__word {
  font-family: var(--font-display);
  font-style: normal;
  overflow-wrap: anywhere;
  min-width: 0;
}
.display {
  font-size: var(--text-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 13ch;
  text-wrap: balance;
}
.h2 {
  font-size: var(--text-h2);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
}
.mono, .stamp, .tile__nums, .cuts__scale { font-family: var(--font-outlier); font-variant-numeric: tabular-nums; }

/* ---- nav (N9) ------------------------------------------------------------ */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; }
.brand img { border-radius: 8px; }
.brand__word { font-size: var(--text-md); font-weight: 700; letter-spacing: -0.03em; }

.badge { display: inline-block; border-radius: 10px; transition: transform var(--dur-micro) var(--ease-out); }
.badge img { height: 50px; width: auto; }
.badge--top img { height: 40px; }
.badge:hover { transform: translateY(-1px); }
.badge:active { transform: translateY(0); }

/* ---- hero: split headline around a fanned deck -------------------------- */
.hero {
  --card-h: clamp(15rem, 46vh, 27rem);
  --card-w: calc(var(--card-h) * 9 / 16);
  display: grid;
  grid-template-areas: "stack" "foot" "stamp";
  padding: var(--space-lg) var(--gutter) var(--space-2xl);
  row-gap: var(--space-xl);
}
.hero__title {
  grid-area: stack;
  display: grid;
  grid-template-rows: auto calc(var(--card-h) + var(--space-xl)) auto;
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(2.4rem, 6.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
  min-width: 0;
}
.hero__line { display: block; min-width: 0; max-width: 11ch; }
.hero__line--a { grid-row: 1; justify-self: start; }
.hero__line--b { grid-row: 3; justify-self: end; text-align: right; }

.deck {
  grid-area: stack;
  align-self: center;
  justify-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--card-h);
  position: relative;
  z-index: var(--z-raised);
}
.deck[data-empty] { display: none; }
.deck__slot {
  flex: none;
  width: calc(var(--card-w) * 0.8);
  margin-inline: calc(var(--card-w) * -0.12);
  display: grid;
  gap: var(--space-xs);
  transform-origin: 50% 110%;
}
.deck__slot:nth-child(1) { transform: rotate(-11deg) translateY(1.6rem); }
.deck__slot:nth-child(2) { transform: rotate(-5deg) translateY(0.5rem); z-index: 1; }
.deck__slot:nth-child(4) { transform: rotate(5deg) translateY(0.5rem); z-index: 1; }
.deck__slot:nth-child(5) { transform: rotate(11deg) translateY(1.6rem); }
.deck__slot[data-center] { width: var(--card-w); z-index: 2; margin-inline: calc(var(--card-w) * -0.06); }
.deck__card { border-radius: 16px; box-shadow: 0 24px 60px -24px var(--color-shadow); }
.deck__slot:not([data-center]) .deck__card { filter: saturate(0.85) brightness(0.82); transition: filter var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.deck__slot:not([data-center]) .deck__card:hover { filter: none; }
.deck__meta { display: flex; justify-content: space-between; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); }
.deck__slot:not([data-center]) .deck__meta { visibility: hidden; }

.hero__foot {
  grid-area: foot;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.hero__lede { color: var(--color-muted); font-size: var(--text-md); line-height: 1.5; max-width: 50ch; text-wrap: pretty; }
.hero__act { display: grid; gap: var(--space-sm); justify-items: end; }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-2xs) var(--space-md); color: var(--color-neutral); font-size: var(--text-sm); }
.hero__facts > span { white-space: nowrap; }
.star { color: var(--color-accent-2); }
.hero__stamp { grid-area: stamp; }

/* ---- opening sequence -------------------------------------------------- */
.stage { display: none; }
html.intro .stage {
  --film-h: min(72vh, 44rem);
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  animation: stage-fallback var(--dur-short) linear 6.5s forwards;
}
.stage__veil { position: absolute; inset: 0; background: var(--color-paper); }
.stage__word {
  position: absolute;
  left: 50%; top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 19vw, 20rem);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  color: var(--color-rule);
  pointer-events: none;
}
.stage__film {
  position: relative;
  height: var(--film-h);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-paper-2);
  transform-origin: 0 0;
}
.stage__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.stage__frame.is-on { opacity: 1; }
.stage__hud { position: relative; width: calc(var(--film-h) * 9 / 16); display: grid; gap: var(--space-xs); }
.stage__label { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-neutral); min-height: 1.2em; }
.stage__bar { height: 2px; background: var(--color-rule); border-radius: 1px; overflow: hidden; }
.stage__fill { display: block; height: 100%; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(0); }
.stage__skip {
  position: absolute; top: var(--space-lg); right: var(--gutter);
  min-height: 40px; padding: 0 var(--space-md);
  border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill);
  background: transparent; color: var(--color-muted); font: inherit; font-size: var(--text-sm);
  cursor: pointer;
}
.stage__skip:hover { color: var(--color-ink); border-color: var(--color-neutral); }
html.intro:not(.intro-done) .top,
html.intro:not(.intro-done) .hero > *,
html.intro:not(.intro-done) .deck__slot { opacity: 0; animation: intro-fallback var(--dur-short) linear 6.5s forwards; }
@keyframes intro-fallback { to { opacity: 1; } }
@keyframes stage-fallback { to { opacity: 0; visibility: hidden; } }

.stamp {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-neutral);
  letter-spacing: 0.01em;
}
.dot {
  display: inline-block;
  vertical-align: 1px;
  margin-right: var(--space-xs);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 0 3px var(--color-halo);
}

/* ---- rails --------------------------------------------------------------- */
.rail { position: relative; min-width: 0; }
.rail__track {
  list-style: none;
  margin: 0;
  padding: 0 var(--gutter) var(--space-xs) 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--tile-w);
  gap: var(--space-md);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > .tile { scroll-snap-align: start; }
.rail__track[data-empty] { display: none; }
.rail__track[data-empty] ~ * { display: none; }

.rail__nav { display: flex; gap: var(--space-xs); justify-content: flex-end; padding: var(--space-md) var(--gutter) 0 0; }
.rail__step {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font: inherit;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.rail__step:hover { background: var(--color-paper-3); }
.rail__step:active { transform: scale(0.96); }
.rail__step:disabled { opacity: 0.35; cursor: default; }
@media (hover: none) { .rail__nav { display: none; } }

/* ---- tiles --------------------------------------------------------------- */
.tile { display: grid; gap: var(--space-xs); min-width: 0; }
.tile[hidden] { display: none; }
.tile__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--radius-tile);
  overflow: hidden;
  background: var(--color-paper-2);
  cursor: pointer;
  isolation: isolate;
  transition: transform var(--dur-short) var(--ease-out);
}
.tile__btn:hover { transform: translateY(-3px); }
.tile__btn:active { transform: translateY(0) scale(0.99); }
.tile__poster, .tile__btn video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tile__btn video { opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.tile__btn.is-playing video { opacity: 1; }
.tile__btn::after {
  /* small play mark, hidden while playing */
  content: "";
  position: absolute; right: var(--space-sm); bottom: var(--space-sm);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--color-scrim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M11 9l8 5-8 5z' fill='%23f3efe9'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: opacity var(--dur-short) var(--ease-out);
}
.tile__btn.is-playing::after { opacity: 0; }
.tile__meta {
  display: flex;
  justify-content: space-between;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-muted);
  min-width: 0;
}
.tile__meta > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile__nums { color: var(--color-neutral); white-space: nowrap; }

/* ---- bands --------------------------------------------------------------- */
.band { padding: var(--space-2xl) 0 var(--space-2xl) var(--gutter); }
.band--collage { padding-top: var(--space-3xl); }
.band__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title link" "sub link";
  align-items: end;
  gap: var(--space-xs) var(--space-lg);
  padding-right: var(--gutter);
  margin-bottom: var(--space-lg);
}
.band__head .h2 { grid-area: title; }
.band__head .band__sub { grid-area: sub; }
.band__sub { color: var(--color-neutral); max-width: 52ch; }
.edge-link {
  grid-area: link;
  white-space: nowrap;
  color: var(--color-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
  border-bottom: var(--rule-hair) solid var(--color-rule);
  transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}
.edge-link:hover { color: var(--color-ink); border-color: var(--color-accent); }

/* ---- anatomy ------------------------------------------------------------- */
.anatomy { padding: var(--space-3xl) var(--gutter) var(--space-2xl); }
.anatomy__title { max-width: 16ch; margin-bottom: var(--space-xl); }
.anatomy__body {
  display: grid;
  grid-template-columns: minmax(0, 18rem) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: center;
}
.anatomy__body[data-empty] { display: none; }
.anatomy__film { margin: 0; }
.tile__btn--feature { border-radius: 18px; }
.anatomy__read { display: grid; gap: var(--space-lg); max-width: 46rem; }
.anatomy__lede { font-size: var(--text-md); line-height: 1.5; color: var(--color-muted); max-width: 46ch; text-wrap: pretty; }
.anatomy__note { color: var(--color-neutral); max-width: 52ch; }

.cuts {
  position: relative;
  list-style: none;
  display: flex;
  gap: var(--space-3xs);
  margin: 0;
  padding: 0;
  height: 4.5rem;
}
.cuts > li {
  flex: var(--d) 1 0;
  min-width: 3px;
  border-radius: 4px;
  background: var(--color-paper-3);
  transition: background-color var(--dur-micro) var(--ease-out);
}
.cuts > li.is-on { background: var(--color-accent); }
.cuts > li.is-past { background: var(--color-cut-past); }
.cuts__head {
  position: absolute;
  top: calc(-1 * var(--space-xs)); bottom: calc(-1 * var(--space-xs)); left: 0;
  width: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transform: translateX(var(--x, 0px));
  opacity: 0;
}
.cuts.is-live .cuts__head { opacity: 1; }
.cuts__scale { display: flex; justify-content: space-between; font-size: var(--text-xs); color: var(--color-neutral); margin-top: calc(var(--space-sm) * -1); }

/* ---- library ------------------------------------------------------------- */
.library { padding: var(--space-3xl) var(--gutter) var(--space-2xl); }
.library__head { display: grid; gap: var(--space-xs); margin-bottom: var(--space-lg); }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-bottom: var(--space-xl); }
.chip {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  min-height: 40px;
  padding: 0 var(--space-md);
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid var(--color-rule);
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-size: var(--text-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out);
}
.chip span { font-family: var(--font-outlier); font-size: var(--text-xs); color: var(--color-neutral); }
.chip:hover { color: var(--color-ink); border-color: var(--color-neutral); }
.chip:active { transform: translateY(1px); }
.chip:disabled { opacity: 0.4; cursor: default; }
.chip[aria-pressed="true"] { background: var(--color-ink); color: var(--color-paper); border-color: var(--color-ink); }
.chip[aria-pressed="true"] span { color: var(--color-paper-3); }
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  gap: var(--space-xl) var(--space-md);
}
.grid[data-empty] { display: none; }
.more {
  margin-top: var(--space-xl);
  min-height: 48px;
  padding: 0 var(--space-xl);
  border-radius: var(--radius-pill);
  border: var(--rule-hair) solid var(--color-rule);
  background: var(--color-paper-2);
  color: var(--color-ink);
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.more:hover { background: var(--color-paper-3); }
.more:active { transform: translateY(1px); }
.more:disabled { opacity: 0.4; cursor: default; }

/* ---- after: spec sheet --------------------------------------------------- */
.after { padding: var(--space-3xl) var(--gutter) var(--space-2xl); }
.after .h2 { margin-bottom: var(--space-xl); }
.after__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-2xl); max-width: 72rem; align-items: start; }
.spec { background: var(--color-paper-2); border-radius: 20px; padding: var(--space-xl); }
.spec__title { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-neutral); margin: 0 0 var(--space-md); letter-spacing: 0.01em; }
.spec__title--gap { margin-top: var(--space-xl); }
.spec dl { margin: 0; display: grid; }
.spec dl > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.spec dt { font-weight: 500; }
.spec dd { margin: 0; color: var(--color-muted); }

/* ---- faq ----------------------------------------------------------------- */
.faq { padding: var(--space-3xl) var(--gutter) var(--space-3xl); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--space-2xl); align-items: start; }
.faq__list { display: grid; }
.faq details { border-top: var(--rule-hair) solid var(--color-rule); }
.faq details:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-lg) var(--space-xl) var(--space-lg) 0;
  font-size: var(--text-md);
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--color-neutral);
  transition: transform var(--dur-short) var(--ease-in-out);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--color-accent); }
.faq summary:hover { color: var(--color-muted); }
.faq details p { padding: 0 0 var(--space-lg); color: var(--color-muted); max-width: 60ch; }
.faq a, .foot a, .rail__empty a { text-decoration-color: var(--color-accent); text-underline-offset: 3px; }

/* ---- footer (Ft5) ------------------------------------------------------- */
.foot { padding: var(--space-3xl) var(--gutter) var(--space-xl); display: grid; gap: var(--space-xl); justify-items: start; }
.foot__line { font-size: var(--text-foot); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; max-width: 20ch; }
.foot__meta {
  width: 100%;
  display: grid;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
  color: var(--color-neutral);
  font-size: var(--text-sm);
}
.foot__meta nav { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.foot__meta nav a { color: var(--color-muted); white-space: nowrap; text-decoration: none; }
.foot__meta nav a:hover { color: var(--color-ink); }
.foot__legal { font-size: var(--text-xs); max-width: 90ch; }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr); }
  .hero__act { justify-items: start; }
  .hero__facts { justify-content: flex-start; }
  .anatomy__body { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: var(--space-xl); }
  .after__cols, .faq { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  :root { --tile-w: 9rem; }
  .hero { --card-h: clamp(15rem, 46vh, 22rem); }
  .deck__slot:nth-child(1), .deck__slot:nth-child(5) { display: none; }
  .deck__slot:nth-child(2) { transform: rotate(-7deg) translateY(0.8rem); }
  .deck__slot:nth-child(4) { transform: rotate(7deg) translateY(0.8rem); }
  .deck__slot { margin-inline: calc(var(--card-w) * -0.3); }
  .deck__slot[data-center] { margin-inline: calc(var(--card-w) * -0.1); }
  .badge--top img { height: 36px; }
  .band__head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "sub" "link"; }
  .edge-link { justify-self: start; }
  .anatomy__body { grid-template-columns: minmax(0, 1fr); }
  .anatomy__film { max-width: 14rem; }
  .spec { padding: var(--space-lg); }
  .spec dl > div { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-sm); }
  .tile__meta { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 150ms !important; animation-duration: 150ms !important; }
  .tile__btn:hover, .badge:hover { transform: none; }
  html.intro .stage { display: none; }
}

/* ---- support / 404 ------------------------------------------------------ */
.support { padding: var(--space-2xl) var(--gutter) var(--space-xl); }
.support__intro { display: grid; gap: var(--space-lg); max-width: 46rem; padding-bottom: var(--space-2xl); }
.support__intro a { text-decoration-color: var(--color-accent); text-underline-offset: 3px; }
.support__title { max-width: none; }
.support__faq { padding: 0; }
