/* Hallmark · macrostructure: Feature Stack (sticky card + scroll-synced chapters) · tone: technical, plain · anchor hue: one signal green (price up only)
 * theme: design.md (locked) · bone/ink · Archivo wdth axis + Martian Mono numerals · frozen dark chrome
 * enrichment: none (the real card photo and official art are the imagery)
 * motion: one orchestrated moment (the card files itself into slot 116) · hover lift on CTAs only
 * Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V5
 */

/* ─── tokens: mirror resources/css/app.css :root ─── */
:root {
  --bone: #f2efe6;
  --bone-2: #e9e5d8;
  --bone-3: #ded9c9;
  --paper: #fbf9f3;
  --ink: #141412;
  --ink-2: #23231f;
  --muted: #6d6c62;
  --hair: rgba(20, 20, 18, 0.14);
  --signal: #37d17f;
  --signal-deep: #12a45f;
  --flat: #9a988c;
  --chrome-bg: #141412;
  --chrome-fg: #f2efe6;
  --chrome-muted: rgba(242, 239, 230, 0.62);
  --chrome-hair: rgba(242, 239, 230, 0.18);

  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", "SFMono-Regular", ui-monospace, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur-fast: 90ms;
  --dur-base: 200ms;
  --dur-slow: 700ms;

  --radius-card: 7px;
  --radius-pill: 999px;
  --gutter: clamp(16px, 3vw, 40px);
  --topbar-h: 52px;

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 112px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bone: #141412; --bone-2: #1b1b18; --bone-3: #242420; --paper: #292925;
    --ink: #f2efe6; --muted: #8f8d80; --flat: #b0ada0; --hair: rgba(242, 239, 230, 0.14);
    --signal-deep: #4ee496;
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bone: #141412; --bone-2: #1b1b18; --bone-3: #242420; --paper: #292925;
  --ink: #f2efe6; --muted: #8f8d80; --flat: #b0ada0; --hair: rgba(242, 239, 230, 0.14);
  --signal-deep: #4ee496;
  color-scheme: dark;
}

/* ─── base ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 16px); }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-variation-settings: 'wdth' 100;
  font-size: 16px;
  line-height: 1.55;
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.mono {
  font-family: var(--font-mono);
  font-variation-settings: 'wdth' 87.5, 'wght' 600;
  letter-spacing: -0.04em;
  font-feature-settings: 'tnum';
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--chrome-bg); color: var(--chrome-fg);
  padding: 10px 14px; border-radius: var(--radius-pill); text-decoration: none; font-weight: 700;
}
.skip:focus { top: 8px; }

/* registration state: `reg-open` on <html> comes from ?registration=open */
html:not(.reg-open) [data-reg='open'] { display: none !important; }
html.reg-open [data-reg='invite'] { display: none !important; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

/* ─── topbar (frozen chrome) ─── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--chrome-bg); color: var(--chrome-fg);
}
.topbar .wrap {
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-variation-settings: 'wdth' 66, 'wght' 900;
  text-transform: uppercase; font-size: 17px; letter-spacing: .07em;
  color: var(--chrome-fg); text-decoration: none; white-space: nowrap;
}
.brand svg { width: 26px; height: 13px; flex: none; overflow: visible; }
.topnav { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); min-width: 0; }
.topnav a.tl {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .11em;
  color: var(--chrome-fg); text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent; padding-block: 4px;
  transition: opacity var(--dur-base) var(--ease);
}
.topnav a.tl:hover { opacity: .72; }
.topnav .tl-pill {
  font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em;
  background: var(--chrome-fg); color: var(--chrome-bg); text-decoration: none; white-space: nowrap;
  padding: 7px 13px; border-radius: var(--radius-pill);
}
.theme-btn {
  width: 34px; height: 34px; border-radius: var(--radius-pill); border: 0;
  background: transparent; color: var(--chrome-fg); cursor: pointer;
  display: grid; place-items: center; flex: none;
}
.theme-btn:hover { background: var(--ink-2); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-btn .i-sun { display: block; }
  :root:not([data-theme='light']) .theme-btn .i-moon { display: none; }
}
:root[data-theme='dark'] .theme-btn .i-sun { display: block; }
:root[data-theme='dark'] .theme-btn .i-moon { display: none; }
@media (max-width: 560px) {
  .topnav .hide-sm { display: none; }
}

/* ─── the follow: sticky card + chapters ─── */
.follow {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 88px);
}
.stage-col { position: relative; }
.stage {
  position: sticky;
  top: var(--topbar-h);
  height: calc(100vh - var(--topbar-h));
  height: calc(100svh - var(--topbar-h));
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-lg);
}
.stage-frame {
  position: relative;
  width: min(100%, calc((100svh - var(--topbar-h) - 150px) * 0.716));
  aspect-ratio: 245 / 342;
  border-radius: var(--radius-card);
}
/* the sleeve the card leaves behind once it is filed into the set */
.stage-frame::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-card);
  border: 1.5px dashed var(--hair);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease);
}
.stage.is-filed .stage-frame::before { opacity: 1; }
.stage-frame::after {
  content: 'No. 116 is in its set'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; color: var(--muted); opacity: 0; transition: opacity var(--dur-base) var(--ease);
}
.stage.is-filed .stage-frame::after { opacity: 1; }
.stage-card {
  position: absolute; inset: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bone-3);
  box-shadow: 0 0 0 1px var(--ink), 0 30px 60px -30px rgba(20, 20, 18, .55);
  transition: opacity var(--dur-base) var(--ease);
}
.stage.is-filed .stage-card { opacity: 0; }
.stage-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 320ms var(--ease);
}
.stage-card img.art { opacity: 0; }
.stage[data-view='art'] .stage-card img.art { opacity: 1; }
.stage[data-view='art'] .stage-card img.photo { opacity: 0; }
.stage-cap {
  width: min(100%, calc((100svh - var(--topbar-h) - 150px) * 0.716));
  min-height: 2.6em;
  font-size: 12.5px; line-height: 1.4; color: var(--muted);
  display: flex; justify-content: space-between; gap: var(--space-sm);
}
.stage-cap b { color: var(--ink); font-weight: 700; }

.chapters { min-width: 0; }
.ch { padding-block: var(--space-3xl); border-top: 1px solid var(--hair); }
.ch:first-child { border-top: 0; }

/* chapter 1 · the opening */
.ch-open {
  min-height: calc(100svh - var(--topbar-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-block: var(--space-2xl) var(--space-xl);
}
.eyebrow {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
  display: flex; align-items: center; gap: 10px; min-width: 0; margin-bottom: var(--space-md);
}
.eyebrow::after { content: ''; height: 1px; flex: 1; background: var(--hair); }
.eyebrow .mono { letter-spacing: 0; font-size: 10.5px; }
.h1 {
  font-variation-settings: 'wdth' 62, 'wght' 900;
  text-transform: uppercase;
  font-size: clamp(54px, 8.2vw, 132px);
  line-height: .85;
  letter-spacing: .002em;
  overflow-wrap: anywhere; min-width: 0;
}
.lede {
  margin-top: var(--space-lg);
  max-width: 54ch;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.5;
}
.lede .quiet { color: var(--muted); }

.quote-row {
  margin-top: var(--space-xl);
  display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: var(--space-md) var(--space-xl);
  border-top: 1.5px solid var(--ink);
  padding-top: var(--space-md);
}
.quote .v { font-size: clamp(26px, 2.6vw, 36px); line-height: 1; }
.quote .k { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.4; }
.quote .k .mono { font-size: 11px; letter-spacing: -.02em; }

.ctas { margin-top: var(--space-xl); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-lg); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--ink); color: var(--bone);
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease), background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.link {
  color: var(--ink); font-weight: 600; font-size: 15px;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  white-space: nowrap;
}
.link:hover { text-decoration-thickness: 2px; }
.note { margin-top: var(--space-md); font-size: 13.5px; color: var(--muted); max-width: 52ch; }
.note a { color: var(--ink); text-underline-offset: 3px; }

/* inline figures for narrow screens (the sticky stage is desktop-only) */
.inline-fig { display: none; }

/* chapter headings */
.h2 {
  font-variation-settings: 'wdth' 66, 'wght' 850;
  text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: .95;
  letter-spacing: .006em;
  overflow-wrap: anywhere; min-width: 0;
  max-width: 18ch;
}
.h2 .mono { text-transform: none; font-variation-settings: 'wdth' 87.5, 'wght' 600; letter-spacing: -.05em; font-size: .82em; }
.body { margin-top: var(--space-lg); max-width: 56ch; }
.body + .body { margin-top: var(--space-sm); }
.body.muted { color: var(--muted); font-size: 14.5px; }

/* chapter 2 · photo vs art */
.ch-copy { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; }
.seg {
  margin-top: var(--space-xl);
  display: inline-flex; align-self: flex-start; gap: 3px; padding: 3px;
  background: var(--bone-2); border-radius: var(--radius-pill);
}
.seg button {
  font: inherit; font-size: 13px; font-weight: 700;
  border: 0; cursor: pointer; background: transparent; color: var(--muted);
  min-height: 38px; padding: 0 16px; border-radius: var(--radius-pill); white-space: nowrap;
  transition: background-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed='true'] { background: var(--ink); color: var(--bone); }

/* chapter 3 · price */
.chart-wrap { margin-top: var(--space-xl); }
.readout {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px var(--space-lg);
  border-top: 1.5px solid var(--ink); padding-top: 10px; margin-bottom: 6px;
  font-size: 12.5px; color: var(--muted);
}
.readout .d { color: var(--ink); font-size: 12px; }
.readout .r .mono { color: var(--ink); font-size: 14px; }
.readout .r.up .mono { color: var(--signal-deep); }
.chart {
  position: relative;
  outline-offset: 6px;
  touch-action: pan-y;
  cursor: crosshair;
}
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .ax { font-family: var(--font-mono); font-variation-settings: 'wdth' 87.5, 'wght' 500; font-size: 10px; fill: var(--muted); letter-spacing: -.03em; }
.chart .lbl { font-family: var(--font-body); font-size: 11px; font-weight: 700; fill: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.chart .grid { stroke: var(--hair); stroke-width: 1; }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.eur { stroke-width: 1.5; }
.chart .gap { stroke: var(--flat); stroke-width: 1.5; stroke-dasharray: 2 4; fill: none; }
.chart .up { fill: var(--signal); }
.chart .end { fill: var(--ink); }
.chart .guide { stroke: var(--ink); stroke-width: 1; opacity: 0; }
.chart .gdot { fill: var(--bone); stroke: var(--ink); stroke-width: 2; opacity: 0; }
.chart.is-active .guide, .chart.is-active .gdot { opacity: 1; }
.chart .gdot.none { display: none; }
.legend { margin-top: var(--space-sm); display: flex; flex-wrap: wrap; gap: 6px var(--space-lg); font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.legend .k-up { width: 7px; height: 7px; border-radius: 99px; background: var(--signal); }
.legend .k-gap { width: 18px; border-top: 1.5px dashed var(--flat); }
details.days { margin-top: var(--space-lg); font-size: 14px; }
details.days summary {
  cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; list-style: none;
}
details.days summary::-webkit-details-marker { display: none; }
details.days summary::before { content: '+'; font-family: var(--font-mono); width: 1ch; }
details.days[open] summary::before { content: '−'; }
.daytable-scroll { max-height: 340px; overflow: auto; border-top: 1px solid var(--hair); }
table.daytable { width: 100%; border-collapse: collapse; font-size: 13px; }
table.daytable th { text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 8px 0; position: sticky; top: 0; background: var(--bone); }
table.daytable td { padding: 5px 0; border-bottom: 1px solid var(--hair); }
table.daytable td.n, table.daytable th.n { text-align: right; }
table.daytable td.up { color: var(--signal-deep); }

/* chapter 4 · the set */
.set-grid {
  margin-top: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 16px 6px;
}
.mt { min-width: 0; }
.mt .im {
  position: relative; aspect-ratio: 245 / 342;
  border-radius: 4px; overflow: hidden;
  background: var(--bone-3);
  box-shadow: 0 0 0 1px var(--ink);
}
.mt .im img { width: 100%; height: 100%; object-fit: cover; }
.mt .im.empty {
  background: repeating-linear-gradient(135deg, var(--bone-2) 0 5px, var(--bone-3) 5px 10px);
}
.mt .n {
  display: block; margin-top: 3px; text-align: center;
  font-family: var(--font-mono); font-variation-settings: 'wdth' 87.5, 'wght' 500;
  font-size: 9px; letter-spacing: -.03em; color: var(--muted);
}
.mt.ghost .im { box-shadow: 0 0 0 1px var(--hair); background: var(--bone-2); }
.mt.ghost .im img { filter: grayscale(1) contrast(.9); opacity: .38; }
.mt.ghost .n { opacity: .8; }
/* slot 116 waits empty until the card is filed into it */
.mt.target .im { box-shadow: 0 0 0 1.5px var(--ink); }
.mt.target .im img { opacity: 0; transition: opacity var(--dur-fast) linear; }
.mt.target .im::after {
  content: '116'; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-mono); font-variation-settings: 'wdth' 87.5, 'wght' 600; font-size: 11px; color: var(--muted);
  border: 1.5px dashed var(--muted); border-radius: 4px; background: var(--bone);
  transition: opacity var(--dur-fast) linear;
}
.mt.target.is-filed .im img { opacity: 1; }
.mt.target.is-filed .im::after { opacity: 0; }
.mt.target .n { color: var(--ink); font-weight: 700; }

.set-foot { margin-top: var(--space-md); display: flex; flex-wrap: wrap; gap: 6px var(--space-lg); font-size: 12.5px; color: var(--muted); }
.set-foot .sw { display: inline-block; width: 10px; height: 14px; border-radius: 2px; vertical-align: -2px; margin-right: 6px; }
.set-foot .sw.own { background: var(--ink); }
.set-foot .sw.gh { background: var(--bone-2); box-shadow: inset 0 0 0 1px var(--hair); }

.missing { margin-top: var(--space-xl); }
.missing h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.missing ol {
  margin-top: var(--space-sm);
  columns: 2; column-gap: var(--space-xl);
  border-top: 1.5px solid var(--ink);
}
.missing li {
  break-inside: avoid;
  display: grid; grid-template-columns: 3.4em minmax(0, 1fr) auto; gap: var(--space-sm);
  align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 14px;
}
.missing li .mono { font-size: 12px; }
.missing li .num { color: var(--muted); }
.missing li.same { font-weight: 700; }
.missing .cap { margin-top: var(--space-sm); font-size: 12.5px; color: var(--muted); }

/* ─── the collection ─── */
.collection { padding-block: var(--space-3xl); border-top: 1.5px solid var(--ink); }
.coll-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(32px, 5vw, 88px); row-gap: var(--space-xl);
  align-items: start;
}
.share { margin-top: var(--space-xl); }
.share-bar {
  display: flex; height: 44px; border-radius: 4px; overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.share-bar .a { background: var(--ink); }
.share-bar .b { flex: 1; }
.share-legend { margin-top: 10px; display: flex; justify-content: space-between; gap: var(--space-md); font-size: 13px; color: var(--muted); }
.share-legend .mono { color: var(--ink); font-size: 13px; }
.share-legend .r { text-align: right; }

.sets { border-top: 1.5px solid var(--ink); columns: 2; column-gap: var(--space-xl); }
.sets li {
  break-inside: avoid;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px var(--space-sm);
  padding: 9px 0 10px; border-bottom: 1px solid var(--hair);
}
.sets .nm { font-size: 14px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sets .ct { font-size: 12px; color: var(--muted); }
.sets .ct b { color: var(--ink); font-weight: 600; }
.sets .bar { grid-column: 1 / -1; height: 3px; background: var(--bone-3); border-radius: 2px; overflow: hidden; }
.sets .bar span { display: block; height: 100%; background: var(--ink); }
.sets li.here .nm { font-weight: 800; }
.sets li.here .nm::after { content: ' · Mega Darkrai ex is here'; font-weight: 500; color: var(--muted); }
.sets-cap { margin-top: var(--space-md); font-size: 12.5px; color: var(--muted); }

/* ─── closing band (frozen chrome, like .nw-home-close) ─── */
.close { background: var(--chrome-bg); color: var(--chrome-fg); padding-block: var(--space-3xl); }
.close-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  column-gap: clamp(32px, 5vw, 88px); row-gap: var(--space-2xl); align-items: start;
}
.close .h2 { font-variation-settings: 'wdth' 62, 'wght' 900; font-size: clamp(44px, 6vw, 96px); line-height: .86; max-width: 12ch; }
.close .body { color: var(--chrome-muted); }
.close .btn { background: var(--chrome-fg); color: var(--chrome-bg); }
.close .link { color: var(--chrome-fg); }
.close .note { color: var(--chrome-muted); }
.close .note a { color: var(--chrome-fg); }
.also { margin-top: var(--space-2xl); border-top: 1px solid var(--chrome-hair); }
.also li { padding: 10px 0; border-bottom: 1px solid var(--chrome-hair); font-size: 14.5px; display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: var(--space-md); }
.also li b { font-weight: 700; color: var(--chrome-fg); }
.also li span { color: var(--chrome-muted); }

.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); border-bottom: 1px solid var(--chrome-hair); padding-bottom: 10px; }
.demo-head h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.demo-head .mono { font-size: 13px; color: var(--chrome-muted); }
.demo {
  margin-top: var(--space-md);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md) 10px;
}
.demo a { display: block; text-decoration: none; color: var(--chrome-fg); border-radius: 5px; }
.demo .im { aspect-ratio: 245 / 342; border-radius: 5px; overflow: hidden; background: var(--ink-2); box-shadow: 0 0 0 1px var(--chrome-hair); transition: transform var(--dur-base) var(--ease); }
.demo .im img { width: 100%; height: 100%; object-fit: cover; }
.demo a:hover .im { transform: translateY(-3px); }
.demo .nm { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo .pr { display: block; font-size: 11px; color: var(--chrome-muted); }

/* ─── footer (frozen chrome) ─── */
.foot {
  background: var(--chrome-bg); color: rgba(242, 239, 230, .55);
  border-top: 1px solid var(--chrome-hair);
  padding-block: 22px 26px; font-size: 11px; line-height: 1.7; letter-spacing: .02em;
}
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); }
.foot .fbrand { font-variation-settings: 'wdth' 66, 'wght' 900; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; color: var(--chrome-fg); margin-bottom: 6px; }
.foot a { color: var(--chrome-fg); text-decoration: none; border-bottom: 1px solid rgba(242, 239, 230, .3); }
.foot a:hover { border-color: var(--signal); }
.foot .r { max-width: 34ch; }

/* ─── the flight (one orchestrated moment) ─── */
.flyer {
  position: fixed; left: 0; top: 0; z-index: 60;
  border-radius: var(--radius-card); overflow: hidden;
  transform-origin: 0 0;
  box-shadow: 0 0 0 1px var(--ink), 0 30px 60px -30px rgba(20, 20, 18, .55);
  pointer-events: none;
  will-change: transform;
}
.flyer img { width: 100%; height: 100%; object-fit: cover; }

/* ─── narrow screens: no sticky stage, figures move inline ─── */
@media (max-width: 899px) {
  .follow { grid-template-columns: minmax(0, 1fr); }
  .stage-col { display: none; }
  .ch { padding-block: var(--space-2xl); }
  .ch-open { display: block; min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  .ch-open .lede { margin-top: var(--space-md); }
  .ch-copy { min-height: 0; }
  .inline-fig { display: block; }
  .open-fig {
    float: right; width: 38%; margin: 4px 0 var(--space-sm) var(--space-md);
    border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px var(--ink);
    aspect-ratio: 245 / 342;
  }
  .open-fig img { width: 100%; height: 100%; object-fit: cover; }
  .ch-open .quote-row { clear: both; }
  .pair { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
  .pair figure .im { aspect-ratio: 245 / 342; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px var(--ink); background: var(--bone-3); }
  .pair figure .im img { width: 100%; height: 100%; object-fit: cover; }
  .pair figcaption { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
  .ch-copy .seg { display: none; }
  .set-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px 4px; }
  .missing ol, .sets { columns: 1; }
  .coll-grid, .close-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .set-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mt .n { font-size: 8px; }
  .quote-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md); }
  .demo { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .also li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ctas .btn { width: 100%; }
}

/* ─── reduced motion: the card is filed without flying, nothing else moves ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
  .btn:hover, .demo a:hover .im { transform: none; }
}
