/* PROJECT 090 — site styles. Matches the printed cards: Barlow Condensed display, ember accent, charcoal. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/static/fonts/BarlowCondensed-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(/static/fonts/BarlowCondensed-Medium.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/static/fonts/Barlow-Regular.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500 700; font-display: swap; src: url(/static/fonts/Barlow-Medium.woff2) format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-display: swap; src: url(/static/fonts/BarlowSemiCondensed-Medium.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url(/static/fonts/JetBrainsMono-latin.woff2) format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 400 700; font-display: swap; src: url(/static/fonts/Caveat.woff2) format("woff2"); }

:root {
  --ink: #0f0f0e;
  --char: #161614;
  --char-2: #1d1d1a;
  --line: #2c2b28;
  --line-2: #3b3a36;
  --bone: #ece7de;
  --bone-2: #d8d2c7;
  --ash: #8f897f;
  --ember: #d9642b;
  --ember-hi: #ee7a3e;
  --deck: var(--ember);

  --f-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;
  --f-label: "Barlow Semi Condensed", "Barlow", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-hand: "Caveat", "Bradley Hand", cursive;

  --gutter: 20px;
  --max: 1320px;
  --section: clamp(88px, 13vw, 176px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-heavy: cubic-bezier(.55, 0, .1, 1);
  --ease-settle: cubic-bezier(.25, 1.3, .4, 1);
  --card-r: 3.4%;
  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -24px rgba(0,0,0,.85), 0 12px 24px -12px rgba(0,0,0,.7);
}
@media (min-width: 900px) { :root { --gutter: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 1rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* fine film grain over everything, like the cards */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember-hi); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--top { padding-top: calc(var(--section) * .6 + 64px); padding-bottom: calc(var(--section) * .4); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bone); color: var(--ink); padding: 10px 14px; }
.skip:focus { top: 12px; }

/* ── type ── */
.display { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; line-height: .92; margin: 0; }
.h1 { font-size: clamp(3rem, 11vw, 7.5rem); }
.h2 { font-size: clamp(2.5rem, 7.2vw, 5rem); }
.label { font-family: var(--f-label); font-weight: 500; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; line-height: 1.4; margin: 0; }
.serial { font-family: var(--f-mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.accent { color: var(--ember); }
.deckaccent { color: var(--deck); }
.muted { color: var(--ash); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; color: var(--bone-2); max-width: 34em; margin: 0; }
.lede--wide { max-width: 42em; margin-top: 22px; }
.fine { font-size: .8125rem; color: var(--ash); line-height: 1.5; margin: 12px 0 0; }
.fine--big { font-size: 1rem; }
.fine a, .link { color: var(--bone); text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: .22em; text-decoration-thickness: 1px; transition: color .2s; }
.fine a:hover, .link:hover { color: var(--ember-hi); }
.tag { display: inline-block; font: 500 .62rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; padding: 5px 7px 4px; border: 1px solid var(--line-2); color: var(--ash); border-radius: 2px; font-style: normal; vertical-align: middle; }
.tag--float { position: absolute; right: 10px; bottom: 10px; background: rgba(15,15,14,.72); backdrop-filter: blur(6px); color: var(--bone-2); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 8px; box-shadow: 0 0 0 0 rgba(217,100,43,.6); animation: pulse 2.4s infinite; vertical-align: 1px; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(217,100,43,0); } 100% { box-shadow: 0 0 0 0 rgba(217,100,43,0); } }
.head2 { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .head2 { grid-template-columns: 1fr 1fr; align-items: end; } }
.twocol { display: grid; gap: 32px; }
@media (min-width: 900px) { .twocol { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* ── buttons ── */
.btn {
  --bg: transparent; --fg: var(--bone); --bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 3px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer; white-space: nowrap;
  font: 500 .78rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase;
  transition: transform .18s var(--ease), background-color .2s, border-color .2s, color .2s, box-shadow .25s;
}
.btn:hover { --bd: var(--bone-2); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { --bg: var(--ember); --fg: #150c07; --bd: var(--ember); box-shadow: 0 10px 30px -14px rgba(217,100,43,.8); }
.btn--primary:hover { --bg: var(--ember-hi); --bd: var(--ember-hi); box-shadow: 0 14px 34px -12px rgba(238,122,62,.9); }
.btn--ghost { --bd: transparent; }
.btn--lg { min-height: 56px; padding: 0 26px; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .7rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .35; cursor: not-allowed; }

/* ── nav ── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, transform .35s var(--ease); border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(15,15,14,.86); backdrop-filter: blur(12px) saturate(1.2); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.05rem/1 var(--f-display); letter-spacing: .14em; }
.brand b { color: var(--ember); font-weight: 600; }
.brand .peak { width: 22px; height: 17px; color: var(--bone); }
.brand--sm { font-size: .9rem; }
.nav__links { display: none; gap: 28px; margin-left: auto; }
.nav__links a { font: 500 .74rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--bone-2); padding: 8px 0; position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--bone); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__cta { margin-left: auto; }
.nav__toggle { width: 44px; height: 44px; border: 0; background: none; display: grid; place-content: center; gap: 6px; cursor: pointer; margin-right: -10px; }
.nav__toggle i { display: block; width: 22px; height: 1.5px; background: var(--bone); transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 8px; }
  .nav__toggle { display: none; }
}
@media (max-width: 420px) { .nav__cta { display: none; } .nav__toggle { margin-left: auto; } }
.menu { background: rgba(15,15,14,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); height: calc(100svh - 64px); overflow: auto; }
.menu__in { display: grid; gap: 4px; padding-block: 18px 32px; }
.menu__in a:not(.btn) { display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 2.1rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.menu__in a .serial { font-size: .75rem; color: var(--ember); }
.menu__in .btn { margin-top: 20px; }
.menu:not([hidden]) .menu__in > * { animation: menuIn .5s var(--ease) both; }
.menu__in > *:nth-child(2) { animation-delay: .04s; } .menu__in > *:nth-child(3) { animation-delay: .08s; }
.menu__in > *:nth-child(4) { animation-delay: .12s; } .menu__in > *:nth-child(5) { animation-delay: .16s; } .menu__in > *:nth-child(6) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(10px); } }

/* ── cards (images of the real print files) ── */
.cardimg { width: 100%; height: auto; aspect-ratio: 600 / 1036; border-radius: var(--card-r) / calc(var(--card-r) * 600 / 1036); box-shadow: var(--shadow-card); background: var(--char); }

.flip { border: 0; padding: 0; background: none; cursor: pointer; display: block; perspective: 1400px; width: 100%; -webkit-tap-highlight-color: transparent; }
.flip__card { display: grid; transform-style: preserve-3d; transition: transform .9s var(--ease-heavy); }
.flip__face { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: block; }
.flip__back { transform: rotateY(180deg); }
.flip[aria-pressed="true"] .flip__card { transform: rotateY(180deg); }
.flip:hover .flip__card { transition-duration: .9s; }
.flip:focus-visible { outline-offset: 8px; }

/* ── hero ── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 96px 0 64px; overflow: clip; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.08); animation: heroIn 2.4s var(--ease) both; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(90% 70% at 72% 40%, rgba(217,100,43,.12), transparent 60%),
  linear-gradient(90deg, rgba(15,15,14,.94) 0%, rgba(15,15,14,.72) 38%, rgba(15,15,14,.25) 70%, rgba(15,15,14,.5) 100%),
  linear-gradient(0deg, var(--ink) 0%, rgba(15,15,14,0) 30%); }
@keyframes heroIn { from { transform: scale(1.16); opacity: 0; } }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.3fr .7fr; } }
.eyebrow { margin-bottom: 22px; color: var(--bone-2); }
.hero__title { font-size: clamp(3.4rem, 12.5vw, 7.2rem); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: block; animation: lineUp 1.1s var(--ease) both; }
.line:nth-child(2) > span { animation-delay: .09s; } .line:nth-child(3) > span { animation-delay: .18s; }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--bone-2); max-width: 30em; margin: 26px 0 0; animation: fadeUp 1s .4s var(--ease) both; }
.hero__form { margin-top: 28px; max-width: 520px; animation: fadeUp 1s .5s var(--ease) both; }
.drop--hero { padding: 18px; background: rgba(15,15,14,.72); border-color: rgba(217,100,43,.45); box-shadow: 0 20px 60px -30px rgba(217,100,43,.35); }
.drop--hero .drop__label { color: var(--bone); }
.drop--hero .dot { width: 6px; height: 6px; }
.hero__try { display: inline-block; margin-top: 16px; font-size: .95rem; animation: fadeUp 1s .6s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; animation: fadeUp 1s .5s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
.ritual-mini { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 30px 0 0; color: var(--ash); animation: fadeUp 1s .6s var(--ease) both; }
.ritual-mini li + li::before { content: "·"; margin-right: 18px; color: var(--ember); }
.hero__card { justify-self: center; width: min(64vw, 340px); position: relative; animation: cardIn 1.4s .25s var(--ease-settle) both; }
@media (min-width: 900px) { .hero__card { width: min(26vw, 360px); } }
.hero__card .flip { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotateZ(-3deg); transition: transform .5s var(--ease); transform-style: preserve-3d; }
@keyframes cardIn { from { opacity: 0; transform: translateY(70px) rotate(6deg); } }
.hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; color: var(--ash); }
.hint__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); animation: pulse 2.4s infinite; }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); text-decoration: none; color: var(--ash); display: none; }
@media (min-width: 900px) and (min-height: 760px) { .hero__scroll { display: block; } }
@media (max-width: 899px) {
  .hero { padding-top: 84px; min-height: auto; }
  .hero__card { width: min(56vw, 240px); margin-top: 8px; }
  .hero__title { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero__sub { margin-top: 16px; font-size: 1rem; }
  .hero__form { margin-top: 20px; }
  .ritual-mini { display: none; }
}
.stickybar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 16px; border-radius: 8px; text-decoration: none; background: rgba(22,22,20,.94); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -12px rgba(0,0,0,.8);
  animation: barIn .45s var(--ease) both; }
.stickybar > span:first-child { display: grid; line-height: 1.25; font-size: .9rem; }
.stickybar .muted { font-size: .78rem; }
@keyframes barIn { from { transform: translateY(120%); } }
@media (min-width: 900px) { .stickybar { display: none !important; } }

/* ── ritual (signature) ── */
.ritual { height: 520vh; position: relative; background: linear-gradient(180deg, var(--ink), var(--char) 20%, var(--char) 80%, var(--ink)); }
.ritual__sticky { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.ritual__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .ritual__grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.ritual__copy .h2 { margin: 14px 0 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.steps li { display: grid; grid-template-columns: 34px 1fr; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ash); transition: color .35s; font-size: 1rem; line-height: 1.45; }
.steps li b { color: var(--bone-2); font-weight: 500; transition: color .35s; }
.steps li .serial { font-size: .72rem; padding-top: 3px; transition: color .35s; }
.steps li.is-on { color: var(--bone); }
.steps li.is-on b { color: var(--bone); }
.steps li.is-on .serial { color: var(--ember); }
.steps li.is-done .serial { color: var(--ember); }
@media (max-width: 899px) {
  .ritual__sticky { align-items: start; padding-top: 76px; }
  .ritual__copy .h2 { font-size: 2.3rem; margin: 8px 0 12px; }
  .ritual__copy .h2 br { display: none; }
  .steps li { display: none; border: 0; padding: 0; min-height: 3em; }
  .steps li.is-on { display: grid; }
}
.ritual__stage { position: relative; aspect-ratio: 1 / .78; width: 100%; max-width: 640px; justify-self: center; }
@media (max-width: 899px) { .ritual__stage { width: min(100%, 440px); } }
.box { position: absolute; inset: 22% 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4%; padding: 5%; border-radius: 10px;
  background: linear-gradient(180deg, #1b1b19, #121211); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.05), inset 0 0 0 1px #262522; }
.box__well { position: relative; border-radius: 5px; background: #0c0c0b; box-shadow: inset 0 10px 24px rgba(0,0,0,.8), inset 0 0 0 1px #20201d; display: grid; place-items: center; }
.box__label { position: absolute; left: 0; right: 0; top: -1.9em; text-align: center; color: var(--bone-2); display: flex; justify-content: center; gap: 10px; }
.box__label .serial { letter-spacing: 0; }
.stack { position: relative; width: 62%; aspect-ratio: 600 / 1036; }
.stack__card, .stack__next { position: absolute; inset: 0; border-radius: 4px; }
.stack__card { background: #1a1a18; border: 1px solid #2a2926; }
.stack__card:nth-child(1) { transform: translate(3px, 6px); } .stack__card:nth-child(2) { transform: translate(2px, 4px); }
.stack__card:nth-child(3) { transform: translate(1px, 2px); } .stack__card:nth-child(4) { transform: none; }
.stack__next { opacity: 0; transition: opacity .6s; }
.stack__next .cardimg { box-shadow: none; }
.ritual.is-next .stack__next { opacity: 1; }
.stack--logged { outline: 1px dashed #2e2d29; outline-offset: -1px; border-radius: 4px; }
.mover { position: absolute; left: 0; top: 0; width: 34%; aspect-ratio: 600 / 1036; will-change: transform; transform-origin: 50% 50%;
  transform: translate(var(--x), var(--y)) scale(var(--s, 1)) rotateZ(var(--rz, 0deg)); perspective: 1400px; }
.mover__card { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(var(--ry, 0deg)); }
.mover__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.mover__back { transform: rotateY(180deg); }
.ink { position: absolute; font-family: var(--f-hand); font-weight: 600; color: #22314f; line-height: 1; white-space: nowrap;
  font-size: calc(var(--cw, 200px) * .072); clip-path: inset(0 calc(100% - var(--p, 0) * 100%) 0 0); transform: rotate(-1.5deg); }
.ink--tick { left: 5.2%; top: 10.4%; font-size: calc(var(--cw, 200px) * .09); color: var(--ember); }
.ink--g1 { left: 9%; top: 23.4%; }
.ink--g2 { left: 9%; top: 30%; }
.ink--win { left: 7%; top: 44.4%; line-height: 1.08; white-space: normal; width: 84%; }

/* static fallback */
@media (prefers-reduced-motion: reduce) {
  .ritual { height: auto; padding-block: var(--section); }
  .ritual__sticky { position: static; height: auto; }
  .steps li { display: grid !important; color: var(--bone); }
  .mover { display: none; }
}

/* ── anatomy ── */
.anatomy { display: grid; gap: 64px; justify-items: center; }
@media (min-width: 900px) { .anatomy { grid-template-columns: 1fr 1fr; gap: 40px; } }
.anatomy__card { position: relative; margin: 0; width: min(66vw, 320px); }
.anatomy__card figcaption { text-align: center; margin-top: 18px; }
.callouts { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.callouts li { position: absolute; top: var(--y); white-space: nowrap; font: 500 .66rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-2); display: flex; align-items: center; gap: 10px; transform: translateY(-50%); }
.callouts li::before { content: ""; width: 44px; height: 1px; background: var(--ember); opacity: .8; }
.callouts--left li { left: calc(100% - 18px); }
.callouts--right li { left: calc(100% - 18px); }
@media (min-width: 900px) {
  .callouts--left li { left: auto; right: calc(100% - 18px); flex-direction: row-reverse; }
}
@media (max-width: 899px) {
  .anatomy__card { width: min(50vw, 240px); margin-right: 38vw; }
  .callouts li { font-size: .56rem; letter-spacing: .14em; gap: 6px; }
  .callouts li::before { width: 22px; }
}

/* ── climb ── */
.climb__rail { display: flex; gap: 10px; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: calc(var(--max) + 0px); margin-inline: auto; }
.climb__rail::-webkit-scrollbar { display: none; }
.stage { position: relative; flex: 0 0 min(64vw, 280px); aspect-ratio: 3 / 5; border-radius: 6px; overflow: hidden; scroll-snap-align: start; isolation: isolate; background: var(--char); }
.stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.8); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,15,14,.55), rgba(15,15,14,0) 30%, rgba(15,15,14,0) 50%, rgba(15,15,14,.92)); }
.stage__body { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.stage__range { font-size: .74rem; color: var(--ember); }
.stage__name { font-size: 2.2rem; margin: 6px 0 8px; }
.stage__mood { margin: 0; font-size: .92rem; color: var(--bone-2); line-height: 1.4; }
.stage__i { position: absolute; top: 14px; left: 18px; font-size: .68rem; color: var(--bone-2); }
@media (min-width: 1100px) {
  .climb__rail { overflow: visible; }
  .stage { flex: 1 1 0; min-width: 0; aspect-ratio: auto; height: 560px; transition: flex-grow .7s var(--ease); }
  .stage:hover, .stage:focus-within { flex-grow: 2.6; }
  .stage:hover .stage__img { transform: scale(1.04); filter: brightness(.95); }
  .stage__mood { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); max-width: 18em; }
  .stage:hover .stage__mood { opacity: 1; transform: none; transition-delay: .2s; }
  .stage__name { font-size: clamp(1.4rem, 2vw, 2.2rem); }
}

/* ── in the box ── */
.inbox__grid { display: grid; gap: 48px 24px; }
@media (min-width: 700px) { .inbox__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .inbox__grid { grid-template-columns: repeat(4, 1fr); } }
.item__art { aspect-ratio: 1 / 1; border-radius: 6px; background: radial-gradient(80% 80% at 50% 40%, #232320, #141413); display: grid; place-items: center; position: relative; overflow: hidden; }
.item__art--fan .fan { position: absolute; width: 34%; top: 18%; transition: transform .6s var(--ease); }
.fan--1 { transform: translateX(-52%) rotate(-12deg); } .fan--2 { transform: translateX(52%) rotate(10deg); } .fan--3 { transform: translateY(-2%); z-index: 2; }
.item:hover .fan--1 { transform: translateX(-66%) rotate(-16deg); } .item:hover .fan--2 { transform: translateX(66%) rotate(14deg); } .item:hover .fan--3 { transform: translateY(-5%); }
.item__single { width: 40%; transform: rotate(-3deg); transition: transform .6s var(--ease); }
.item:hover .item__single { transform: rotate(0) translateY(-4px); }
.item__wide { width: 88%; border-radius: 3px; box-shadow: var(--shadow-card); transition: transform .6s var(--ease); }
.item:hover .item__wide { transform: scale(1.03); }
.item__render { position: absolute; inset: 0; margin: 0; }
.item__render img { width: 100%; height: 100%; object-fit: cover; }
.item__title { font: 600 1.45rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; margin: 20px 0 8px; display: flex; gap: 10px; align-items: baseline; }
.item__title .serial { font-size: .8rem; }
.item__body { margin: 0; color: var(--bone-2); font-size: .95rem; }
.render { position: relative; margin: 0; overflow: hidden; border-radius: 6px; }

/* ── rule ── */
.rule { border-block: 1px solid var(--line); }
.rule__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .rule__grid { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.rule__big { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.rules { list-style: none; margin: 0; padding: 0; }
.rules li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-top: 1px solid var(--line); color: var(--bone-2); }
.rules li .serial { font-size: .74rem; padding-top: 4px; }
.rules li b { color: var(--bone); font-weight: 500; }
.rules--big li { font-size: 1.08rem; padding: 20px 0; }

/* ── samples ── */
.samples__row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 28px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.samples__row::-webkit-scrollbar { display: none; }
.samples__row .samples__item { flex: 0 0 68vw; scroll-snap-align: center; }
@media (min-width: 760px) { .samples__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; overflow: visible; padding: 0; margin: 0; justify-items: center; } .samples__row .samples__item { flex: none; } }
.samples__item { width: min(72vw, 300px); transform: rotate(var(--r)); transition: transform .5s var(--ease); }
.samples__item:hover { transform: rotate(0) translateY(-8px); }

/* ── family ── */
.family { overflow: hidden; }
.family__art { max-width: 1500px; margin: 0 auto clamp(40px, 6vw, 80px); padding-inline: var(--gutter); }
.family__art .render img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.family__grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .family__grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.family__grid .h2 { margin: 12px 0 20px; }
.decklist { list-style: none; margin: 0; padding: 0; }
.decklist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease); }
.decklist li:last-child a { border-bottom: 1px solid var(--line); }
.decklist a:hover { padding-left: 10px; }
.decklist__name { font: 600 clamp(1.4rem, 3vw, 2rem)/1 var(--f-display); letter-spacing: .05em; }
.decklist .deckaccent { color: var(--deck); }

/* ── first drop CTA ── */
.cta { overflow: clip; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,14,.95), rgba(15,15,14,.78) 55%, rgba(15,15,14,.55)), linear-gradient(180deg, var(--ink), transparent 25%, transparent 75%, var(--ink)); }
.cta__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1.2fr 1fr; } }
.cta__title { font-size: clamp(3rem, 9vw, 7rem); margin: 16px 0 24px; }
.cta--slim .cta__title { margin: 0; font-size: clamp(2.6rem, 6vw, 4.8rem); }

.drop { background: rgba(22,22,20,.82); backdrop-filter: blur(10px); border: 1px solid var(--line-2); border-radius: 8px; padding: 22px; }
.drop--compact { padding: 18px; }
.drop__label { display: block; font: 500 .72rem/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--bone-2); margin-bottom: 12px; }
.drop__row { display: grid; gap: 10px; }
@media (min-width: 520px) { .drop__row { grid-template-columns: 1fr auto; } }
.drop input[type="email"] { width: 100%; min-height: 52px; padding: 0 16px; background: #0d0d0c; color: var(--bone); border: 1px solid var(--line-2); border-radius: 3px; font: 400 1rem var(--f-body); transition: border-color .2s, box-shadow .2s; }
.drop input[type="email"]::placeholder { color: #5f5b54; }
.drop input[type="email"]:focus { outline: 0; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(217,100,43,.25); }
.drop input[aria-invalid="true"] { border-color: #c8553d; }
.drop__msg { margin: 10px 0 0; font-size: .92rem; min-height: 0; }
.drop__msg:empty { display: none; }
.drop__msg.is-ok { color: #9fd08e; }
.drop__msg.is-err { color: #f09a7c; }
.drop.is-done .drop__row, .drop.is-done .drop__label { display: none; }
.drop.is-done .drop__msg { font: 600 1.6rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; color: var(--bone); }

/* ── product page ── */
.pdp { padding: 96px 0 var(--section); }
.pdp__grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .pdp__grid { grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; } .buy { position: sticky; top: 96px; } }
.gallery__stage { position: relative; aspect-ratio: 1 / 1.02; border-radius: 8px; background: radial-gradient(70% 60% at 50% 42%, #262521, #121211 70%); overflow: hidden; display: grid; place-items: center; }
.gallery__view { grid-area: 1 / 1; margin: 0; width: 100%; height: 100%; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .45s, transform .6s var(--ease), visibility 0s .45s; }
.gallery__view.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s, transform .6s var(--ease); }
.gallery__view .flip, .gallery__card { width: min(58%, 360px); }
.gallery__fan { display: flex; justify-content: center; width: 100%; }
.gallery__fan img { width: 32%; margin: 0 -3%; }
.gallery__fan img:nth-child(1) { transform: rotate(-7deg) translateY(10px); } .gallery__fan img:nth-child(3) { transform: rotate(7deg) translateY(10px); } .gallery__fan img:nth-child(2) { z-index: 1; }
.gallery__wide { width: 92%; border-radius: 3px; box-shadow: var(--shadow-card); }
.gallery__render { position: absolute; inset: 0; border-radius: 0; }
.gallery__render img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.gallery__thumbs button { border: 1px solid var(--line); background: var(--char); border-radius: 4px; padding: 6px 6px 8px; cursor: pointer; display: grid; gap: 6px; transition: border-color .2s; }
.gallery__thumbs button[aria-selected="true"] { border-color: var(--ember); }
.gallery__thumbs img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 2px; }
.gallery__thumbs span { font: 500 .56rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2); }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--bone); }
.buy__name { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 14px 0 12px; }
.buy__tag { font: 500 1.25rem/1.3 var(--f-body); margin: 0 0 14px; }
.buy__sum { color: var(--bone-2); margin: 0 0 24px; }
.buy__price { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.buy__price .display { font-size: 2.2rem; }
.buy__status { margin-bottom: 20px; }
.inbox-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.inbox-list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--bone-2); }
.inbox-list .serial { color: var(--ember); font-size: .82rem; padding-top: 2px; }
.how__list { list-style: none; margin: 0; padding: 0; }
.how__list li { display: grid; grid-template-columns: 44px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.how__list p { margin: 0; font-size: 1.1rem; color: var(--bone-2); }
.how__list b { color: var(--bone); font-weight: 500; }
.how__list .serial { font-size: .76rem; padding-top: 5px; }
.spec { margin: 0; }
.spec div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec dt { color: var(--ash); } .spec dd { margin: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 500 1.08rem/1.35 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--ember); border-bottom: 1.5px solid var(--ember); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--bone-2); max-width: 40em; }

/* ── shop ── */
.feature__card { display: grid; gap: 40px; padding: clamp(24px, 4vw, 56px); border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(135deg, #1a1a18, #121211); text-decoration: none; transition: border-color .3s; }
.feature__card:hover { border-color: var(--line-2); }
@media (min-width: 900px) { .feature__card { grid-template-columns: 1fr 1.1fr; align-items: center; } }
.feature__art { position: relative; height: clamp(320px, 42vw, 480px); }
.feature__c { position: absolute; width: min(42%, 240px); top: 50%; left: 50%; transition: transform .7s var(--ease); }
.feature__c--1 { transform: translate(-82%, -50%) rotate(-6deg); z-index: 1; }
.feature__c--2 { transform: translate(-18%, -46%) rotate(5deg); }
.feature__card:hover .feature__c--1 { transform: translate(-92%, -52%) rotate(-9deg); }
.feature__card:hover .feature__c--2 { transform: translate(-8%, -44%) rotate(8deg); }
.feature__body { display: grid; gap: 18px; justify-items: start; }
.concepts { display: grid; gap: 40px 24px; }
@media (min-width: 700px) { .concepts { grid-template-columns: 1fr 1fr; } }
.concept { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.concept__art { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: var(--char); }
.concept__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.concept:hover .concept__art img { transform: scale(1.03); }
.concept__name { font-size: 2rem; }
.concept p { margin: 0; color: var(--bone-2); }
.concept__type { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 6px; background: radial-gradient(70% 70% at 50% 40%, #241f1c, #121211); border-top: 2px solid var(--deck); }
.concept__type .display { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.concept__type--big { position: relative; aspect-ratio: 16 / 11; border-radius: 8px; }
.concept-hero .render img { width: 100%; }
.note { color: var(--bone-2); margin: 18px 0 22px; }
.stagelist { list-style: none; margin: 0; padding: 0; }
.stagelist li { display: grid; grid-template-columns: 44px 1fr; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.stagelist .display { font-size: 1.8rem; }
.stagelist .serial { font-size: .74rem; }

/* ── try a card ── */
.pull__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .pull__grid { grid-template-columns: 1fr 1fr; } }
.pull__copy .h1 { margin: 16px 0 22px; }
.pull__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pull__after { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.pull__q { font-size: 2rem; }
.pull__after .pull__actions { margin-top: 14px; }
.pull__msg { margin: 14px 0 0; color: var(--bone-2); }
.pull__msg:empty { display: none; }
.pull__stage { position: relative; justify-self: center; width: min(66vw, 330px); aspect-ratio: 600 / 1036; }
.deck3d { position: absolute; inset: 0; }
.deck3d > span { position: absolute; inset: 0; border-radius: 3.4% / 2%; background: #191917; border: 1px solid #2b2a27; }
.deck3d > span:nth-child(1) { transform: translate(10px, 14px); } .deck3d > span:nth-child(2) { transform: translate(8px, 11px); }
.deck3d > span:nth-child(3) { transform: translate(6px, 8px); } .deck3d > span:nth-child(4) { transform: translate(4px, 5px); } .deck3d > span:nth-child(5) { transform: translate(2px, 2px); }
.deck3d__top { position: absolute; inset: 0; border-radius: 3.4% / 2%; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; box-shadow: var(--shadow-card);
  background: radial-gradient(90% 60% at 50% 38%, #2a2622, #151514 70%); border: 1px solid #2f2e2a; }
.deck3d__top .peak { width: 46px; height: 35px; color: var(--bone); }
.deck3d__top .label { color: var(--bone-2); font-size: .64rem; }
.flip--pull { position: absolute; inset: 0; z-index: 3; }
.flip--pull.is-in { animation: pullOut .9s var(--ease-settle) both; }
@keyframes pullOut { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 30% { transform: translate(0, -18%) rotate(-4deg); opacity: 1; } 100% { transform: translate(0, 0) rotate(-2deg); } }
.btn.is-committed { --bd: var(--ember); color: var(--ember); }

/* ── start / about / misc ── */
.starthere { display: grid; gap: 28px; justify-items: center; padding-bottom: calc(var(--section) * .6); }
@media (min-width: 760px) { .starthere { grid-template-columns: repeat(3, 1fr); } }
.starthere__card { margin: 0; width: min(70vw, 300px); transform: rotate(var(--r)); }
.trackerfig { margin: 0; }
.trackerfig img { width: 100%; border-radius: 4px; box-shadow: var(--shadow-card); }
.about-hero { position: relative; min-height: 78svh; display: grid; align-items: end; padding: 120px 0 64px; isolation: isolate; overflow: clip; }
.about-hero__bg { position: absolute; inset: 0; z-index: -1; }
.about-hero__img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 5%, rgba(15,15,14,.55) 60%, rgba(15,15,14,.7)); }
.about-hero .h1 { font-size: clamp(2.6rem, 8vw, 6.2rem); margin-top: 16px; }
.prose { font-size: 1.12rem; color: var(--bone-2); max-width: 36em; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font: 600 1.5rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; color: var(--bone); margin: 1.6em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.thanks__card { width: min(60vw, 320px); justify-self: center; transform: rotate(3deg); animation: cardIn 1.2s var(--ease-settle) both; }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); padding: clamp(64px, 9vw, 120px) 0 32px; background: #0c0c0b; }
.foot__top { display: grid; gap: 28px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .foot__top { grid-template-columns: 1fr auto; } }
.foot__big { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; padding: 40px 0; }
.foot__cols div { display: grid; gap: 10px; align-content: start; }
.foot__cols a, .foot__cols span { color: var(--bone-2); text-decoration: none; font-size: .95rem; }
.foot__cols a:hover { color: var(--bone); }
.foot__cols .label { margin-bottom: 6px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; }

/* scroll reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}

/* deck v2: six gallery views, the whole climb */
.gallery__thumbs { grid-template-columns: repeat(6, 1fr); }
.gallery__wide { height: auto; max-height: 92%; object-fit: contain; }
@media (max-width: 479px) { .gallery__thumbs { grid-template-columns: repeat(3, 1fr); } .gallery__thumbs img { aspect-ratio: 16 / 10; } }
.climb__all { margin: clamp(28px, 4vw, 48px) auto 0; }
.climb__all img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-card); }
.climb__all figcaption { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }

/* ── all 90 explorer ── */
.x { position: relative; overflow: hidden; isolation: isolate; padding: calc(64px + clamp(20px, 4vw, 44px)) 0 clamp(36px, 5vw, 64px); min-height: 100svh; display: flex; flex-direction: column; }
.x__bg { position: absolute; inset: -10%; z-index: -3; background: center / cover no-repeat; filter: blur(46px) saturate(1.15) brightness(.42); transform: scale(1.15); opacity: 0; transition: opacity 1s var(--ease); }
.x__bg.is-on { opacity: 1; }
.x::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(80% 60% at 50% 45%, rgba(15,15,14,0), rgba(15,15,14,.8) 100%), linear-gradient(180deg, rgba(15,15,14,.6), rgba(15,15,14,0) 30%, rgba(15,15,14,0) 70%, var(--ink)); }
.x__word { position: absolute; left: 50%; top: 52%; z-index: -1; transform: translate(-50%, -50%); margin: 0; font: 600 clamp(5rem, 14vw, 14rem)/.8 var(--f-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(236,231,222,.14); pointer-events: none; user-select: none; }
.x__word.is-in { animation: xword 1.1s var(--ease) both; }
@keyframes xword { from { opacity: 0; letter-spacing: .2em; } to { opacity: 1; letter-spacing: .02em; } }

.x__head { display: grid; gap: 14px 40px; align-items: end; }
@media (min-width: 900px) { .x__head { grid-template-columns: 1fr auto; } }
.x__head .h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.x__head .lede { font-size: 1rem; margin-top: 12px; }
.x__tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: rgba(15,15,14,.5); backdrop-filter: blur(8px); }
.seg button { font: 500 .66rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-2); background: none; border: 0; border-radius: 999px; padding: 10px 14px; cursor: pointer; transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--bone); color: var(--ink); }
.seg button:focus-visible, .chip:focus-visible, .xc:focus-visible, .xg__card:focus-visible, .xbtn:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip { display: inline-flex; gap: 8px; align-items: center; font: 500 .64rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--bone-2); background: rgba(15,15,14,.45); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 12px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip b { font: 500 .7rem/1 var(--f-mono); letter-spacing: 0; color: var(--ash); }
.chip:hover { border-color: var(--bone-2); }
.chip[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #150c07; }
.chip[aria-pressed="true"] b { color: #150c07; }

/* deck */
.x__deck { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; gap: 18px; margin-top: clamp(16px, 3vw, 28px); }
.x[data-view="grid"] .x__deck { display: none; }
.x[data-view="deck"] .xg { display: none; }
.xtrack { --w: clamp(170px, min(24vw, calc((100svh - 430px) * .58)), 320px); position: relative; height: calc(var(--w) * 1.727 + 30px); perspective: 1600px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.xtrack:active { cursor: grabbing; }
.xc { position: absolute; left: calc(50% - var(--w) / 2); top: 10px; width: var(--w); padding: 0; border: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .7s var(--ease), opacity .5s; will-change: transform; -webkit-tap-highlight-color: transparent; }
.xc__in { position: relative; display: block; aspect-ratio: 600 / 1036; transform-style: preserve-3d; transition: transform .8s var(--ease); border-radius: var(--card-r) / calc(var(--card-r) * 600 / 1036); box-shadow: var(--shadow-card); }
.xc__in::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); opacity: var(--dim, 0); transition: opacity .5s; pointer-events: none; }
.xc.is-dim .xc__in::after { opacity: .82; }
.xc__f, .xc__b { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: inherit; overflow: hidden; background: var(--char); }
.xc__f img, .xc__b img { width: 100%; height: 100%; display: block; object-fit: cover; }
.xc__b { transform: rotateY(180deg); }
.xc.is-flipped .xc__in { transform: rotateY(180deg); }
.xc.is-flipped .xc__in::after { display: none; }
.xc.is-cur .xc__in { box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 50px 90px -30px rgba(0,0,0,.95), 0 0 0 1px rgba(236,231,222,.06); }
.xc.is-nope .xc__in { animation: nope .5s; }
@keyframes nope { 20%, 60% { translate: -8px 0; } 40%, 80% { translate: 8px 0; } }
.xc__tag { position: absolute; top: 10px; right: 10px; z-index: 2; font: 500 .56rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: #150c07; background: var(--ember); border-radius: 2px; padding: 5px 6px 4px; transform: translateZ(1px); }
.xc.is-flipped .xc__tag { opacity: 0; }

.xinfo { display: grid; gap: 16px; align-items: center; justify-items: center; text-align: center; }
.xinfo__num { font: 500 .8rem/1 var(--f-mono); color: var(--ember); margin: 0; }
.xinfo__num span { color: var(--ash); }
.xinfo__title { font-size: clamp(1.9rem, 4vw, 3rem); margin: 6px 0 8px; text-wrap: balance; }
.xinfo__meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 0; }
.xinfo__stage { font: 500 .66rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--bone-2); }
.xinfo__type { font: 500 .6rem/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 9px 5px; color: var(--bone-2); }
.xinfo__type[data-t="checkpoint"] { border-color: var(--ember); color: var(--ember); }
.xinfo__note { margin: 0; color: var(--ash); font-size: .92rem; max-width: 30em; min-height: 1.4em; }
.xctl { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.xbtn { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(15,15,14,.55); color: var(--bone); cursor: pointer; backdrop-filter: blur(8px); transition: border-color .2s, transform .2s; }
.xbtn:hover { border-color: var(--bone-2); }
.xbtn:active { transform: scale(.94); }
.xbtn svg { width: 18px; height: 18px; }

/* scrubber */
.xs { position: relative; margin-top: 6px; padding-top: 22px; }
.xs__ticks { display: flex; gap: 6px; height: 30px; pointer-events: none; }
.xs__seg { position: relative; display: flex; justify-content: space-between; align-items: flex-end; min-width: 0; }
.xs__lab { position: absolute; left: 0; top: -20px; font: 500 .56rem/1 var(--f-label); letter-spacing: .2em; color: var(--ash); white-space: nowrap; overflow: hidden; max-width: 100%; text-overflow: clip; }
.xs__seg i { flex: 0 0 3px; height: 12px; background: var(--line-2); border-radius: 1px; transition: height .3s var(--ease), background .3s; }
.xs__seg i.is-open { background: var(--ash); }
.xs__seg i.is-hit { background: var(--bone); height: 20px; }
.xs__seg i.is-cur { background: var(--ember); height: 30px; }
.x[data-stage="START"] .xs__seg:nth-child(1) .xs__lab, .x[data-stage="BUILD"] .xs__seg:nth-child(2) .xs__lab, .x[data-stage="PUSH"] .xs__seg:nth-child(3) .xs__lab, .x[data-stage="DISCIPLINE"] .xs__seg:nth-child(4) .xs__lab, .x[data-stage="OWN IT"] .xs__seg:nth-child(5) .xs__lab, .x[data-stage="PROVE IT"] .xs__seg:nth-child(6) .xs__lab, .x[data-stage="FINAL"] .xs__seg:nth-child(7) .xs__lab { color: var(--ember); }
.xs__range { position: absolute; left: 0; right: 0; bottom: -6px; width: 100%; height: 44px; margin: 0; opacity: 0; cursor: pointer; }
.xs__tip { position: absolute; bottom: 46px; width: 92px; transform: translateX(-50%); pointer-events: none; display: grid; gap: 6px; justify-items: center; z-index: 5; }
.xs__tip img { width: 92px; height: auto; aspect-ratio: 600 / 1036; border-radius: 4px; box-shadow: var(--shadow-card); background: var(--char); }
.xs__tip span { font: 500 .56rem/1.2 var(--f-label); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); background: rgba(15,15,14,.85); padding: 4px 6px; border-radius: 2px; white-space: nowrap; }
@media (hover: none) { .xs__tip { display: none; } }
@media (max-width: 699px) { .xs__lab { display: none; } .xs { padding-top: 6px; } .xs__ticks { gap: 5px; } .xs__seg i { flex-basis: 2px; } .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .chips::-webkit-scrollbar { display: none; } .chip { flex: none; } .x__tools { justify-content: space-between; } }

/* grid view */
.xg { margin-top: clamp(20px, 3vw, 32px); display: grid; gap: 36px; }
.xg__h { display: flex; gap: 12px; align-items: baseline; margin: 0 0 12px; }
.xg__h .display { font-size: 1.8rem; }
.xg__h .serial { font-size: .74rem; color: var(--ember); }
.xg__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.xg__card { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 5px; transition: transform .35s var(--ease), opacity .3s; }
.xg__card img { width: 100%; height: auto; display: block; border-radius: 5px; box-shadow: var(--shadow-card); background: var(--char); }
.xg__card:hover { transform: translateY(-6px) rotate(-1deg); }
.xg__card.is-dim { opacity: .18; }
.xg__card .xc__tag { top: 6px; right: 6px; font-size: .5rem; }

.x__foot { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; margin-top: 26px; }
.x__foot .fine { margin: 0; }
.x:not(.is-ready) .xc { transition: none; }
@media (max-width: 699px) { .xtrack { --w: 58vw; } .x__head .lede { display: none; } }
@media (prefers-reduced-motion: reduce) { .xc, .xc__in, .x__bg { transition: none; } .x__word.is-in, .xc.is-nope .xc__in { animation: none; } }
.climb__link { position: relative; display: block; border-radius: 6px; overflow: hidden; }
.climb__link img { transition: filter .5s, transform 1.2s var(--ease); }
.climb__link:hover img, .climb__link:focus-visible img { filter: brightness(.55); transform: scale(1.02); }
.climb__cta { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.gallery__all { position: relative; display: grid; place-items: center; width: 92%; }
.gallery__all .gallery__wide { width: 100%; max-height: none; }
.gallery__all .btn { position: absolute; }

/* v5 card back: gratitude, win, question, then LOGGED */
.ink--g1 { top: 13.3%; }
.ink--g2 { top: 19.6%; }
.ink--win { top: 30.1%; }
.ink--ask { left: 7%; top: 48%; line-height: 1.08; white-space: normal; width: 84%; }
.ink--tick { left: 5.5%; top: 64.4%; }
