/* Hallmark · shape: custom · genre: atmospheric · theme: custom · idea: "a lineup of builds on a black stage: pick yours, it turns, and the plan is cut to it" · vibe: "black atelier, hairline type, one champagne metal" · job: sign up · draw: none
 * hero: a lineup of five turning builds under one live, draggable figure · nav: centred wordmark between link groups · footer: index columns · imagery: product, a live 3D figure, five turntable sprites, 11 fixed stills rendered from the engine · signature: the lineup of builds that turn · custom: paper black, ink warm white, accent champagne (hue 78), faces Albert Sans 100 and Libre Bodoni italic
 * axes: dark/grotesk-sans/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 38iii · the second line of the hero head is set in the serif at a second size, once on the page, same colour as the first · the head is two lines in two faces, not one coloured word */
/* Hallmark · dismissed F4 · Build 01 to Build 05 are transparent radios in the lineup with no fill, only the accent hairline marks the chosen one */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a lineup of bodies could belong to any body-scan product; made the builds selectable and live and set the type as hairlines over black so the page reads as an atelier, not an app */
@import url("./tokens.css");
@import url("./base.css");

h1, h2 { text-transform: uppercase; line-height: 1; font-weight: 100; max-width: none; }
h3 { font-weight: 400; }
.cap { font-size: var(--text-sm); color: var(--color-muted); }
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-pill); }
.skip:focus-visible { top: var(--space-md); }
.lead { color: var(--color-ink-2); font-weight: 400; }

/* ---- controls ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 var(--space-xl); border: 0; border-radius: var(--radius-pill); font: 400 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); }
.btn--ghost { background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.btn--ghost:hover { background: var(--color-paper-3); }
.btn--sm { min-height: 40px; padding: 0 var(--space-lg); font-size: var(--text-sm); }
.btn--xs { min-height: 32px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .rulelink:focus-visible, .build:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.rulelink { display: inline-flex; align-items: center; gap: var(--space-md); color: var(--color-ink); text-decoration: none; font-size: var(--text-md); }
.rulelink::before { content: ""; width: 72px; height: var(--rule-hair); background: var(--color-ink); transform: scaleX(0.6); transform-origin: left; transition: transform var(--dur-short) var(--ease-out); }
.rulelink:hover::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .btn, .rulelink::before { transition: none; } }

/* ---- nav ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); transition: background-color var(--dur-long) var(--ease-out); }
.nav.is-solid { background: color-mix(in oklab, var(--color-paper) 92%, transparent); box-shadow: 0 var(--rule-hair) 0 var(--color-rule); }
.nav__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 80px; padding-inline: var(--gutter); gap: var(--space-lg); }
.nav__side { display: flex; gap: var(--space-xl); align-items: center; }
.nav__side--end { justify-content: flex-end; gap: var(--space-lg); }
.nav__side a:not(.btn) { color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); }
.nav__side a:not(.btn):hover { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.wordmark { display: inline-flex; flex-direction: column; align-items: center; gap: 0.3em; color: var(--color-ink); text-decoration: none; min-width: 0; }
.wordmark__name { font: 400 var(--text-md)/1 var(--font-body); letter-spacing: 0.3em; text-transform: uppercase; }
.wordmark__dot { display: inline-block; letter-spacing: 0; margin-inline: 0.02em 0.16em; }
.tagline { font: 400 0.625rem/1.3 var(--font-body); letter-spacing: 0.04em; color: var(--color-muted); text-transform: none; white-space: nowrap; }
.tagline b { color: var(--color-accent); font-weight: 400; }
@media (max-width: 60rem) {
  .nav__side:not(.nav__side--end) { display: none; }
  .nav__in { grid-template-columns: 1fr auto; padding-inline: var(--gutter); }
  .wordmark { order: -1; align-items: flex-start; }
  [data-nav] .tagline { white-space: normal; max-width: 22ch; }
}
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }

/* ---- hero ---- */
.hero { position: relative; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); padding: 0 var(--gutter); }
.hero__copy { align-self: end; display: grid; gap: var(--space-lg); justify-items: start; padding-bottom: var(--space-2xl); z-index: 2; }
.hero__tagline { font-size: var(--text-xs); letter-spacing: 0.08em; margin: 0; }
@media (max-width: 30rem) { .hero__tagline { white-space: normal; max-width: 22ch; } }
.hero h1 { font-size: var(--text-display); letter-spacing: var(--tracking-display); }
.hero h1 .alt { display: block; margin-top: 0.06em; font-family: var(--font-outlier); font-style: normal; font-weight: 400; text-transform: none; font-size: 0.78em; letter-spacing: -0.01em; line-height: 1.04; }
.hero .lead { max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xl); margin-top: var(--space-sm); }
.hero__right { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; padding-top: 80px; min-height: 0; }
.stage { position: relative; min-height: 360px; }
.stage__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity var(--dur-long) var(--ease-out); }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.stage__canvas:active { cursor: grabbing; }
.stage.is-live .stage__canvas { opacity: 1; }
.stage.is-live .stage__poster { opacity: 0; }
.stage.is-swapping .stage__canvas { opacity: 0.55; }
.stage.is-still .stage__canvas { display: none; }
.stage__note { position: absolute; left: 0; bottom: 0; }
html:not(.js) .stage__canvas, html:not(.js) .hero__tools, html:not(.js) .lineup { display: none; }
.lineup { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: var(--rule-hair) solid var(--color-rule); }
.build { display: grid; justify-items: center; gap: var(--space-xs); padding: var(--space-md) var(--space-xs) var(--space-sm); background: transparent; border: 0; border-top: var(--rule-hair) solid transparent; margin-top: calc(-1 * var(--rule-hair)); color: var(--color-muted); cursor: pointer; transition: color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.build[aria-checked="true"] { color: var(--color-accent); border-top-color: var(--color-accent); }
.build:hover { color: var(--color-ink); }
.sprite { --sw: 100px; --sh: 173px; display: block; width: var(--sw); height: var(--sh); background-repeat: no-repeat; background-size: calc(var(--sw) * 6) calc(var(--sh) * 6); background-position: calc(var(--sw) * var(--col, 0) * -1) calc(var(--sh) * var(--row, 0) * -1); opacity: 0.7; transition: opacity var(--dur-short) var(--ease-out); }
.build:hover .sprite, .build[aria-checked="true"] .sprite { opacity: 1; }
.build__name { font: italic 400 var(--text-sm)/1.2 var(--font-outlier); }
.hero__tools { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); padding-block: var(--space-sm) var(--space-lg); }
@media (max-width: 60rem) { .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; padding-bottom: var(--space-xl); } .hero__right { padding-top: var(--space-xl); height: 84dvh; } .hero__copy { padding-top: 104px; padding-bottom: 0; } .sprite { --sw: 44px; --sh: 76px; } .hero h1 { font-size: clamp(3rem, 14vw, 5.5rem); } }
@media (prefers-reduced-motion: reduce) { .stage__poster, .stage__canvas, .build, .sprite { transition: none; } }

/* ---- sections ---- */
.section { padding-block: var(--section-gap); }
.band { background: var(--color-paper-2); color: var(--color-ink); }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); align-items: end; margin-bottom: var(--space-2xl); }
.head h2 { grid-column: 1 / span 8; font-size: var(--text-section); }
.head .lead, .head .search, .head .seg { grid-column: 9 / span 4; }
.head--between .seg { justify-self: end; }
@media (max-width: 60rem) { .head h2, .head .lead, .head .search, .head .seg { grid-column: 1 / -1; } .head--between .seg { justify-self: start; } }
[data-slot][data-kind="product"] { background: var(--color-paper); }
[data-slot][data-kind="product"] > img { object-fit: cover; object-position: 50% 50%; }
.band [data-slot][data-kind="product"] { background: var(--color-paper-2); color: var(--color-ink); }

/* ---- statement ---- */
.statement__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: center; }
.statement__text { display: grid; align-content: center; }
.fig--tall { aspect-ratio: 4 / 5; max-height: 640px; justify-self: end; width: 100%; max-width: 520px; }
@media (max-width: 60rem) { .statement__grid { grid-template-columns: minmax(0, 1fr); } .fig--tall { justify-self: start; } }
.statement .big { font: 100 var(--text-display-s)/1.04 var(--font-display); letter-spacing: var(--tracking-display); max-width: 20ch; text-wrap: balance; }
.statement__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xl); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }

/* ---- exercises: a lineup of lit figures ---- */
.search input { width: 100%; min-height: 54px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); font-size: var(--text-md); }
.search input::placeholder { color: var(--color-muted); }
.search input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.lights { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 19%); gap: var(--gap-columns); list-style: none; margin: 0; padding: 0 var(--gutter) var(--space-md); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: thin; }
.lights > li { scroll-snap-align: start; }
.lights__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.lights:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.lights a { display: grid; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; }
.lights a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.fig { position: relative; aspect-ratio: 4 / 5; }
.name { font: italic 400 var(--text-xl)/1.2 var(--font-outlier); margin-top: var(--space-sm); }
.lights a:hover .name { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* ---- programs ---- */
.index { border-top: var(--rule-hair) solid var(--color-rule-2); }
.prog { display: grid; grid-template-columns: 80px minmax(0, 5fr) minmax(0, 5fr) 150px; gap: var(--gap-columns); align-items: center; padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.prog:hover { background: var(--color-paper-2); }
.prog:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.prog .no { font: 100 var(--text-2xl)/1 var(--font-display); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.prog .name { font: italic 400 var(--text-3xl)/1.1 var(--font-outlier); margin: 0; }
.prog .desc { color: var(--color-ink-2); }
.prog .shot { position: relative; display: block; aspect-ratio: 4 / 5; }
.crop-up > img { transform: scale(1.5); transform-origin: 50% 28%; }
.crop-low > img { transform: scale(1.5); transform-origin: 50% 62%; }
.crop-back > img { transform: scale(1.4); transform-origin: 50% 34%; }
.crop-full > img { transform: scale(1.12); transform-origin: 50% 50%; }
@media (max-width: 60rem) { .prog { grid-template-columns: 48px minmax(0, 1fr) 80px; gap: var(--space-md); } .prog .desc { grid-column: 2; grid-row: 2; } .prog .shot { grid-column: 3; grid-row: 1 / span 2; } }
@media (prefers-reduced-motion: reduce) { .prog { transition: none; } }

/* ---- journal ---- */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.article { display: grid; gap: var(--space-sm); align-content: start; color: var(--color-ink); text-decoration: none; }
.article .fig { aspect-ratio: 4 / 5; margin-bottom: var(--space-sm); }
.article h3 { font: 100 var(--text-2xl)/1.1 var(--font-display); max-width: 20ch; }
.article:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.article:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
@media (max-width: 60rem) { .articles { grid-template-columns: minmax(0, 1fr); } }

/* ---- membership ---- */
.seg { display: inline-flex; padding: var(--space-3xs); border-radius: var(--radius-pill); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-rule-2); }
.seg button { min-height: 42px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--color-ink-2); font-weight: 400; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.seg button[aria-pressed="true"] { background: var(--color-paper-3); color: var(--color-ink); box-shadow: inset 0 0 0 var(--rule-hair) var(--color-ink); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); }
.plan { display: grid; gap: var(--space-lg); align-content: start; padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule-2); }
.plan h3 { font: italic 400 var(--text-2xl)/1.1 var(--font-outlier); }
.price { font: 100 var(--text-display-s)/1 var(--font-display); letter-spacing: var(--tracking-display); min-height: 1em; font-variant-numeric: lining-nums tabular-nums; }
.plan dl { margin: 0; display: grid; border-top: var(--rule-hair) solid var(--color-rule); }
.plan dl > div { display: flex; justify-content: space-between; gap: var(--space-lg); padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.plan dt { color: var(--color-muted); }
.plan dd { margin: 0; text-align: right; }
.plan .btn { justify-self: start; margin-top: var(--space-sm); }
.fill { padding: 0 0.25em; border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); color: var(--color-muted); font-family: var(--font-body); font-size: var(--text-md); font-weight: 400; letter-spacing: 0; }
.note { margin-top: var(--space-xl); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .plans { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
@media (prefers-reduced-motion: reduce) { .seg button { transition: none; } }

/* ---- questions ---- */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.faq h2 { grid-column: 1 / span 4; font-size: var(--text-section); }
.faq__rows { grid-column: 6 / -1; border-top: var(--rule-hair) solid var(--color-rule-2); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); min-height: 88px; cursor: pointer; list-style: none; font: 400 var(--text-xl)/1.25 var(--font-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 100 var(--text-3xl)/1 var(--font-display); color: var(--color-muted); }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.faq details p { padding-bottom: var(--space-lg); color: var(--color-ink-2); max-width: 56ch; }
@media (max-width: 60rem) { .faq h2, .faq__rows { grid-column: 1 / -1; } }

/* ---- close ---- */
.close { padding-block: var(--section-gap) var(--section-gap-s); }
.close__in { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-xl); flex-wrap: wrap; }
.close__word { font: 100 clamp(5rem, 20vw, 19rem)/0.82 var(--font-display); letter-spacing: -0.03em; text-transform: uppercase; margin: 0; max-width: 100%; overflow-wrap: break-word; min-width: 0; }

/* ---- footer ---- */
.footer { padding-block: var(--space-2xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.footer__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap-columns); }
.footer__col { grid-column: span 3; display: grid; gap: var(--space-sm); align-content: start; }
.footer__col:first-child { grid-column: 1 / span 3; }
.footer__col h3, .footer__col .footer__h { font: 400 var(--text-sm)/1.2 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--color-muted); margin: 0 0 var(--space-xs); }
.footer a:not(.wordmark) { color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); }
.footer a:not(.wordmark):hover { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.footer .wordmark { align-items: flex-start; }
.footer__legal { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); flex-wrap: wrap; margin-top: var(--space-3xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .footer__col, .footer__col:first-child { grid-column: span 6; } }

/* the quiet legal line on screens without a footer (log in, create account, reset, confirm, questionnaire) */
.legalline { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin: var(--space-lg) 0 0; font-size: var(--text-xs); }
.legalline a { color: var(--color-muted); min-height: 24px; display: inline-flex; align-items: center; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
