/* Anvil Hall. Iron and ember: the page is the hall at 5am, the accent is the glow in the lifter's cracks. */
:root {
  --ink: #0d0b09;
  --iron-1: #15120f;
  --iron-2: #1e1914;
  --iron-3: #2a231c;
  --chalk: #e9e8e5;
  --chalk-2: #c4beb5;
  --muted: #a89c8c;
  --ember: #ff6a1f;
  --ember-hot: #ff8a4c;
  --ember-deep: #b8410f;
  --ember-ink: #1a0d05;

  --bg: var(--ink);
  --surface: var(--iron-2);
  --accent: var(--ember);
  --accent-ink: var(--ember-ink);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-text: "Hanken Grotesk", system-ui, sans-serif;
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(3rem, 1.6rem + 5vw, 6.5rem);
  --step-hero: clamp(4.5rem, 1.5rem + 7vw, 8.5rem);
  --margin: clamp(1.25rem, 3.4vw, 3.5rem);
  --section: clamp(6rem, 13vw, 12rem);
  --radius: 4px;
}

html { background: var(--ink); overflow-x: hidden; overflow-x: clip; scrollbar-color: var(--iron-3) var(--ink); }
body { background: transparent; color: var(--chalk); overflow-x: hidden; overflow-x: clip; font-weight: 400; }
::selection { background: var(--ember); color: var(--ember-ink); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; line-height: 0.92; }
p { max-width: 62ch; }
.nums { font-variant-numeric: tabular-nums lining-nums; }
img { filter: grayscale(1) sepia(0.28) contrast(1.06) brightness(0.92); }
.classes__figure img, .contact__pic img { filter: none; }

.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 50; padding: 0.6rem 1rem; background: var(--ember); color: var(--ember-ink); font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

/* one environment behind everything: embers drifting up */
.embers { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- buttons ---------- */
.button { font-family: var(--font-text); font-weight: 600; font-size: 1rem; letter-spacing: 0; border-radius: var(--radius); min-height: 3rem; padding-inline: 1.4rem; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease; }
.button--ember { background: var(--ember); color: var(--ember-ink); }
.button--ghost { background: rgba(236, 228, 216, 0.1); color: var(--chalk); }
@media (hover: hover) and (pointer: fine) {
  .button--ember:hover { background: var(--ember-hot); }
  .button--ghost:hover { background: rgba(236, 228, 216, 0.18); }
}
.link-plain { text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; text-decoration-color: var(--ember); transition: color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { .link-plain:hover { color: var(--ember-hot); } }

/* ---------- header ---------- */
.site-header { position: fixed; isolation: isolate; inset: 0 0 auto; z-index: 20; color: var(--chalk); transition: background-color 300ms ease; }
.site-header.is-solid { background: rgba(13, 11, 9, 0.94); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 0.9rem; }
.wordmark { white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: 1.75rem; text-transform: uppercase; letter-spacing: 0.01em; text-decoration: none; line-height: 1;  } /* taste-skill-ignore: legibility over the hero film */
.site-nav { display: flex; gap: 2rem; margin-left: auto; font-weight: 500; font-size: 1rem;  } /* taste-skill-ignore: legibility over the hero film */
.site-nav a { text-decoration-thickness: 1.5px; text-underline-offset: 0.35em; text-decoration-color: transparent; }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { text-decoration-color: var(--ember); } }
.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.site-header .button { min-height: 2.75rem; padding-inline: 1.1rem;  } /* taste-skill-ignore: shadow switched off on buttons over the film */
.menu-toggle { display: none; font-weight: 600; min-height: 2.75rem; padding-inline: 0.5rem;  } /* taste-skill-ignore: legibility over the hero film */

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .site-header .button { font-size: 0.875rem; padding-inline: 0.8rem; min-height: 2.5rem; }
  .wordmark { font-size: 1.375rem; }
  .site-nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 1rem; padding: var(--margin); background: var(--ink); font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.75rem, 13vw, 4rem); line-height: 1; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility 0s linear var(--t-ui); }
  .site-nav a { text-decoration: none; }
  .menu-open .site-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
}

/* ---------- hero: the film, driven by scroll ---------- */
.hero { position: relative; }
.stage { position: sticky; top: 0; z-index: 0; height: 100vh; height: 100svh; overflow: clip; background: var(--ink); } /* taste-skill-ignore: legibility over the hero film */
.poster, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background-size: cover; background-position: center; }
.stage video { opacity: 0; transition: opacity 600ms var(--ease-out); will-change: transform; background: transparent; }
.stage.video-ready video { opacity: 1; }
.stage.video-failed video { display: none; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 45%, rgba(13, 10, 7, 0) 40%, rgba(13, 10, 7, 0.6) 100%); } /* taste-skill-ignore: scrim over the hero film */
.stage::after { content: ""; position: absolute; inset: 0 0 auto; height: 7rem; pointer-events: none; background: linear-gradient(rgba(13, 10, 7, 0.75), rgba(13, 10, 7, 0)); } /* taste-skill-ignore: scrim keeps the header readable over the film */

/* the chapters scroll up over the film like a normal page */
.chapters { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.chapter .band { pointer-events: auto; }
.chapter { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 7rem var(--margin) 6rem; } /* taste-skill-ignore: each chapter is one screen of the film */
.chapter--right { justify-content: flex-end; text-align: right; }
.chapter--settle { justify-content: center; align-items: flex-start; padding-top: 16vh; text-align: center; }
.band { position: relative; width: min(44vw, 40rem); }
.chapter--right .band__sub { margin-left: auto; }
.chapter--settle .band { width: min(80vw, 56rem); }
.chapter--settle .band__sub { margin-inline: auto; }
.band::before { content: ""; position: absolute; inset: -45% -35%; z-index: -1; pointer-events: none; opacity: calc(0.35 + 0.65 * var(--k, 1)); background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10, 7, 4, 0.82) 0%, rgba(10, 7, 4, 0.6) 46%, rgba(10, 7, 4, 0) 78%); } /* taste-skill-ignore: legibility over the hero film */
.band__title { font-size: var(--step-hero); line-height: 0.86; font-weight: 900; margin: 0 0 1.25rem; white-space: nowrap; }
.chapter--settle .band__title { font-size: clamp(3.5rem, 1.8rem + 5vw, 7.5rem); white-space: normal; }
.band__sub { font-size: var(--step-lead); line-height: 1.4; max-width: 28ch; opacity: var(--ks, 1); transform: translateY(calc((1 - var(--ks, 1)) * 14px)); }
.band__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; opacity: var(--kb, 1); transform: translateY(calc((1 - var(--kb, 1)) * 14px)); }
.chapter--settle .band__cta { justify-content: center; }

/* split text: words and characters, each assembled off the band's --k */
.band__title .w { display: inline-block; white-space: nowrap; }
.band__title .c { display: inline-block; }
[data-entrance="scatter"] .c { --kc: clamp(0, (var(--k, 1) - var(--th, 0)) * 2.6, 1); opacity: var(--kc); transform: translate(calc((1 - var(--kc)) * var(--jx, 0px)), calc((1 - var(--kc)) * var(--jy, 0px))) rotate(calc((1 - var(--kc)) * var(--jr, 0deg))); }
[data-entrance="punch"] .w { --kc: clamp(0, (var(--k, 1) - var(--th, 0)) * 3, 1); --ks2: clamp(0, (var(--k, 1) - var(--th, 0) - 0.16) * 2.6, 1); opacity: var(--kc); transform: scale(calc(0.6 + 0.64 * var(--kc) - 0.24 * var(--ks2))); transform-origin: 100% 60%; }
[data-entrance="drift"] .c { --kc: clamp(0, (var(--k, 1) - var(--th, 0)) * 2.8, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * -0.45em)); }
[data-entrance="rise"] .c { --kc: clamp(0, (var(--k, 1) - var(--th, 0)) * 2.8, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * 0.5em)); }
[data-entrance="settle"] .w { --kc: clamp(0, (var(--k, 1) - var(--th, 0)) * 3, 1); opacity: var(--kc); transform: translateY(calc((1 - var(--kc)) * 0.4em)); }

/* the three lifts, lit in turn */
.beats { position: absolute; z-index: 2; left: 50%; bottom: 2.25rem; translate: -50% 0; display: flex; gap: 2.5rem; margin: 0; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.125rem; letter-spacing: 0.02em;  opacity: var(--beats-op, 0); transition: opacity 300ms ease; } /* taste-skill-ignore: legibility over the hero film */
.beats li { color: rgba(236, 228, 216, 0.45); transition: color 300ms ease; position: relative; }
.beats li.is-on { color: var(--ember); }
.beats li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.45rem; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.beats li.is-on::after { transform: scaleX(1); }

.cue { position: absolute; z-index: 2; left: 50%; bottom: 2rem; translate: -50% 0; display: flex; align-items: center; gap: 0.75rem; font-weight: 500; font-size: 0.9375rem;  opacity: var(--cue-op, 1); } /* taste-skill-ignore: legibility over the hero film */
.ring { width: 2.25rem; height: 2.25rem; rotate: -90deg; }
.ring__track { fill: none; stroke: rgba(236, 228, 216, 0.22); stroke-width: 3; }
.ring__fill { fill: none; stroke: var(--ember); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 126; stroke-dashoffset: var(--ld, 126); transition: stroke-dashoffset 200ms linear; }

@media (max-height: 560px) { .beats, .cue { display: none; } }

/* phones and portrait tablets: the film plays as a sequence of stills on a canvas, which scrubs smoothly where video seeking does not */
.frames { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 600ms var(--ease-out); }
.stage.frames-ready .frames { opacity: 1; }
.stage[data-mode="video"] .frames, .stage[data-mode="frames"] video { display: none; }
@media (max-width: 720px) { .beats, .cue { display: none; } }

/* the still hero: the same two gates as the script. The chapters still scroll, over a still frame. */
@media (orientation: landscape) and (pointer: coarse) and (max-height: 560px), (prefers-reduced-motion: reduce) {
  .poster { background-image: url("still-deadlift.jpg"); background-position: 50% 30%; }
  .stage video, .frames, .beats, .cue { display: none; }
  .band__title .c, .band__title .w { opacity: 1 !important; transform: none !important; }
  .band__sub, .band__cta { opacity: 1 !important; transform: none !important; }
  .band::before { opacity: 1; }
}
@media (max-width: 720px) {
  .chapter, .chapter--right, .chapter--settle { justify-content: flex-start; text-align: left; align-items: flex-end; padding: 6rem var(--margin) 4rem; }
  .band, .chapter--settle .band { width: 100%; }
  .chapter--right .band__sub, .chapter--settle .band__sub { margin-inline: 0; }
  .chapter--settle .band__cta { justify-content: flex-start; }
  .band__title, .chapter--settle .band__title { font-size: clamp(3.75rem, 18vw, 7rem); white-space: normal; }
  .chapter--settle .band__title { font-size: clamp(3rem, 13vw, 6rem); }
  .band__sub { font-size: 1.125rem; max-width: 30ch; }
}

/* ---------- intro statement ---------- */
.intro { padding-block: var(--section); background: var(--ink); }
.intro__statement { margin-inline: auto; width: min(64vw, 60rem); max-width: none; font-family: var(--font-text); font-weight: 500; font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.25; letter-spacing: -0.015em; text-align: center; }
.thumb { display: inline-block; width: 1.4em; height: 0.85em; vertical-align: -0.1em; margin-inline: 0.12em; border-radius: 0.14em; overflow: clip; background: var(--iron-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .intro__statement { width: auto; margin-inline: var(--margin); text-align: left; font-size: 1.5rem; }
}

/* ---------- equipment rows ---------- */
.equipment { padding-block: var(--section); background: var(--iron-1); }
.equipment__title { grid-column: 5 / -1; padding-bottom: clamp(4rem, 8vw, 7rem); font-size: var(--step-head); }
.rows { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: clamp(4rem, 7vw, 6rem) var(--gutter); margin: 0; }
.row { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; align-items: start; }
.row__text { grid-column: 5 / 9; }
.row__title { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 0.95; margin-bottom: 1rem; }
.row__text p { max-width: 36ch; color: var(--chalk-2); }
.row__pic { grid-column: 9 / -1; justify-self: end; margin: 0; overflow: clip; border-radius: var(--radius); }
.row__pic img { width: 100%; height: 100%; object-fit: cover; }
.row__pic--a { width: min(100%, 340px); aspect-ratio: 4 / 5; }
.row__pic--b { width: min(100%, 460px); aspect-ratio: 3 / 2; }
.row__pic--c { width: min(100%, 280px); aspect-ratio: 1; }
@media (max-width: 860px) {
  .equipment__title { grid-column: 1 / -1; padding-bottom: 3.5rem; font-size: 13vw; }
  .rows { display: grid; grid-template-columns: 1fr; gap: 4rem; }
  .row { display: flex; flex-direction: column; gap: 1.25rem; }
  .row__title { font-size: 2rem; }
  .row__pic { align-self: stretch; }
  .row:nth-child(3n+1) .row__pic { width: 100%; aspect-ratio: 3 / 2; }
  .row:nth-child(3n+2) .row__pic { width: 70%; align-self: flex-end; }
  .row:nth-child(3n) .row__pic { width: 55%; align-self: flex-start; }
}

/* ---------- classes: the lifter in front of the type ---------- */
.classes { padding-block: var(--section); overflow: clip; background: var(--ink); }
.classes__stack { position: relative; padding-inline: var(--margin); margin-bottom: clamp(3rem, 6vw, 5rem); }
.classes__line { margin: 0; max-width: none; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(5.5rem, 13vw, 13rem); line-height: 0.84; white-space: nowrap; position: relative; z-index: 1; }
.classes__line--soft { color: #77695b; }
.classes__figure { position: absolute; z-index: 0; right: var(--margin); top: 50%; translate: 0 -50%; width: min(46vw, 44rem); margin: 0; border-radius: var(--radius); overflow: clip; rotate: -3deg; transform: rotate(var(--spin, 0deg)); }
.classes__figure img { width: 100%; height: auto; }
.classes__facts { grid-column: 7 / -1; }
.classes__lede { font-size: var(--step-lead); line-height: 1.45; max-width: 36ch; margin-bottom: 2.5rem; }
.timetable { display: grid; gap: 1.75rem; margin: 0; }
.timetable div { display: grid; gap: 0.3rem; }
.timetable dt { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.625rem; line-height: 1; color: var(--ember); }
.timetable dd { margin: 0; max-width: 46ch; color: var(--chalk-2); }
@media (max-width: 860px) {
  .classes__line { font-size: 22vw; }
  .classes__figure { position: relative; translate: none; top: auto; right: auto; width: 100%; margin-top: 1.5rem; rotate: -2deg; }
  .classes__facts { grid-column: 1 / -1; }
  .classes__lede { font-size: 1.125rem; }
}

/* ---------- load the bar ---------- */
.loader { padding-block: var(--section); background: var(--iron-1); }
.loader .grid { align-items: center; row-gap: 3rem; }
.loader__text { grid-column: 1 / 6; }
.loader__title { font-size: var(--step-head); }
.loader__copy { margin-block: 1.25rem 2rem; color: var(--chalk-2); }
.loader__readout { display: flex; align-items: baseline; gap: 0.5rem; line-height: 1; margin-bottom: 1rem; }
.loader__total { font-family: var(--font-display); font-weight: 900; font-size: clamp(4.5rem, 7.5vw, 7rem); }
.loader__unit { font-weight: 500; font-size: 1.125rem; color: var(--chalk-2); }
.loader__row { display: flex; align-items: center; gap: 0.75rem; }
.loader__side { margin-top: 1rem; }
.step { flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--iron-3); color: var(--chalk); font-weight: 600; font-size: 1.5rem; line-height: 1; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.step:active { transform: scale(0.92); }
@media (hover: hover) and (pointer: fine) { .step:hover { background: var(--ember-deep); } }
.range { flex: 1; min-width: 0; height: 3rem; accent-color: var(--ember); appearance: none; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--iron-3); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--iron-3); }
.range::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--ember); border: 5px solid var(--ink); }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ember); border: 5px solid var(--ink); }
.loader__figure { grid-column: 6 / -1; margin: 0; background: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3.5rem) clamp(0.5rem, 2vw, 2rem); }
.bar { width: 100%; height: auto; overflow: visible; }
.plate { transform-box: fill-box; transition: transform 520ms var(--ease-out), opacity 360ms var(--ease-out); }
.plate.is-entering-left { transform: translateX(-140px); opacity: 0; }
.plate.is-entering-right { transform: translateX(140px); opacity: 0; }
@media (max-width: 860px) { .loader__text, .loader__figure { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .plate { transition: none; } }

/* ---------- numbers: a ledger aligned on the point ---------- */
.numbers { padding-block: var(--section); background: var(--ink); }
.numbers .grid { align-items: center; }
.numbers__title { grid-column: 1 / 5; font-size: clamp(2.5rem, 4vw, 4rem); }
.numbers__soft { display: block; color: var(--muted); }
.ledger { grid-column: 5 / -1; display: grid; gap: 2.75rem; font-size: clamp(5rem, 8vw, 8.5rem); }
.ledger__row { display: grid; grid-template-columns: 1.1em 0.8em minmax(0, 1fr); align-items: baseline; column-gap: 0; max-width: none; margin: 0; }
.ledger__whole, .ledger__dec { font-family: var(--font-display); font-weight: 900; line-height: 0.9; font-variant-numeric: tabular-nums lining-nums; }
.ledger__whole { text-align: right; color: var(--chalk); }
.ledger__dec { text-align: left; color: var(--ember); }
.ledger__cap { margin-left: 0.8rem; align-self: center; font-size: var(--step-body); line-height: 1.4; max-width: 30ch; color: var(--chalk-2); }
@media (max-width: 1100px) { .numbers__title { grid-column: 1 / -1; margin-bottom: 3rem; } .ledger { grid-column: 2 / -1; } .ledger__cap { font-size: 1rem; max-width: none; } }
@media (max-width: 640px) {
  .numbers__title, .ledger { grid-column: 1 / -1; }
  .numbers__title { font-size: 2.75rem; margin-bottom: 2.5rem; }
  .ledger { gap: 1.75rem; font-size: 22vw; }
  .ledger__row { grid-template-columns: 1.1em 0.8em minmax(0, 1fr); }
  .ledger__cap { grid-column: 1 / -1; margin: 0.5rem 0 0; font-size: 1rem; }
}

/* ---------- prices: plans that step up, the biggest runs hottest ---------- */
.prices { padding-block: var(--section); background: var(--iron-1); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; position: relative; }
.prices__head { position: absolute; top: 0; left: 0; width: 64%; }
.prices__title { font-size: var(--step-head); }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; border-radius: var(--radius); overflow: clip; transition: transform var(--t-ui) var(--ease-out); }
.tile__body { padding: 1.75rem; }
.tile__name { font-size: 2rem; line-height: 1; }
.tile__price { margin-block: 0.75rem 1.25rem; font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 4.5vw, 4.25rem); line-height: 1; }
.tile__per { font-size: 1.25rem; font-weight: 700; }
.tile__list { display: grid; gap: 0.4rem; }
.tile__cta { display: flex; align-items: center; min-height: 4rem; padding-inline: 1.75rem; font-weight: 600; font-size: 1.0625rem; text-decoration: none; transition: background-color var(--t-hover) ease, padding var(--t-ui) var(--ease-out); }
.tile__cta:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-6px); }
  .tile__cta:hover { padding-left: 2.25rem; }
}
.tile--1 { min-height: 380px; background: var(--iron-2); }
.tile--1 .tile__cta { background: var(--iron-3); }
.tile--2 { min-height: 500px; background: var(--iron-3); }
.tile--2 .tile__cta { background: #3a3027; }
.tile--3 { min-height: 620px; background: var(--ember); color: var(--ember-ink); }
.tile--3 .tile__cta { background: var(--ember-deep); color: var(--chalk); }
.tile--1 .tile__list, .tile--2 .tile__list { color: var(--chalk-2); }
.prices__extra { margin-top: 2.5rem; font-size: 1.125rem; }
@media (max-width: 860px) {
  .tiles { grid-template-columns: 1fr; }
  .prices__head { position: static; width: auto; margin-bottom: 2rem; }
  .prices__title { font-size: 15vw; }
  .tile { min-height: 0 !important; }
}

/* ---------- questions ---------- */
.faq { padding-block: var(--section); background: var(--ink); }
.qa { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.qa + .qa { margin-top: clamp(3.5rem, 6vw, 5rem); }
.qa__q { grid-column: 1 / 7; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 0.98; }
.qa__q--soft { color: var(--muted); }
.qa__a { grid-column: 8 / -1; font-size: 1.125rem; line-height: 1.55; max-width: 40ch; color: var(--chalk-2); }
@media (max-width: 860px) {
  .qa { display: block; }
  .qa__q { font-size: 2rem; }
  .qa__a { margin-top: 0.75rem; font-size: 1.0625rem; }
  .qa + .qa { margin-top: 3.5rem; }
}

/* ---------- contact ---------- */
.contact { padding-block: var(--section) calc(var(--section) * 0.75); background: var(--iron-1); }
.contact .grid { align-items: start; }
.contact__sentence { grid-column: 1 / 6; font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.2; letter-spacing: -0.015em; max-width: none; }
.contact__pic { grid-column: 6 / 9; margin: 0; aspect-ratio: 1; width: 100%; max-width: 220px; justify-self: end; overflow: clip; border-radius: var(--radius); }
.contact__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }
.contact__links { grid-column: 9 / -1; font-size: 1.125rem; }
.contact__links p + p { margin-top: 0.5rem; }
.contact__q { font-weight: 600; margin-bottom: 1.25rem; }
.contact__note { margin-top: 1.25rem !important; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 860px) {
  .contact .grid { grid-template-columns: 96px 1fr; column-gap: 1.25rem; row-gap: 2rem; }
  .contact__sentence { grid-column: 1 / -1; font-size: 1.5rem; }
  .contact__pic { grid-column: 1; max-width: 96px; }
  .contact__links { grid-column: 2; font-size: 1rem; }
}

/* ---------- footer: invitation over the cropped name ---------- */
.footer { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); overflow: clip; padding-top: clamp(5rem, 10vw, 8rem); }
.footer__top { align-items: start; }
.footer__invite { grid-column: 1 / 8; }
.footer__title { font-size: clamp(3.5rem, 7vw, 7rem); margin-bottom: 2rem; }
.footer__links { grid-column: 10 / -1; display: grid; gap: 0.5rem; font-weight: 500; font-size: 1.0625rem; }
.footer__links a { text-decoration-thickness: 1.5px; text-underline-offset: 0.25em; text-decoration-color: transparent; }
@media (hover: hover) and (pointer: fine) { .footer__links a:hover { text-decoration-color: var(--ember); } }
.footer__legal { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-top: 4rem; font-size: 0.8125rem; line-height: 1.5; position: relative; z-index: 1; color: var(--chalk-2); }
.credits { max-width: 70ch; }
.credits a { color: inherit; }
.footer__copy { white-space: nowrap; }
.footer__mark { margin: 0; max-width: none; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 24vw; line-height: 0.8; white-space: nowrap; color: #77695b; transform: translateY(24%); padding-left: calc(var(--margin) - 0.04em); user-select: none; }
@media (max-width: 860px) {
  .footer { min-height: 0; }
  .footer__invite, .footer__links { grid-column: 1 / -1; }
  .footer__title { font-size: 11vw; }
  .footer__invite .button { width: 100%; }
  .footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 2.5rem; font-size: 0.9375rem; }
  .footer__legal { flex-direction: column; align-items: start; gap: 1rem; padding-top: 3rem; }
  .footer__mark { font-size: 30vw; }
}

/* ---------- scroll progress: a thin ember line under the header ---------- */
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ember); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* ---------- headings rise out of their own line ---------- */
.mw { display: inline-block; overflow: clip; vertical-align: top; padding-block: 0.08em; margin-block: -0.08em; }
.mw__in { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-mask] .mw__in { transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1100ms var(--ease-expo); transition-delay: calc(var(--i, 0) * 75ms); }
  .js [data-mask].is-in .mw__in { transform: none; }
}

/* ---------- billing switch and rolling digits ---------- */
.billing { position: relative; display: inline-flex; margin-top: 1.5rem; padding: 4px; background: var(--iron-2); border-radius: 999px; }
.billing button { position: relative; z-index: 1; min-height: 2.75rem; padding-inline: 1.25rem; font-weight: 600; font-size: 0.9375rem; color: var(--chalk-2); border-radius: 999px; transition: color var(--t-ui) ease; }
.billing button[aria-pressed="true"] { color: var(--ember-ink); background: var(--ember); transition: color var(--t-ui) ease, background-color 0s linear 460ms; }
.billing button:active { transform: scale(0.97); }
.billing__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--pw, 0); transform: translateX(var(--px, 4px)); background: var(--ember); border-radius: 999px; transition: transform 460ms var(--ease-out), width 460ms var(--ease-out); }
.odo { display: inline-flex; vertical-align: bottom; }
.odo__col { display: inline-block; width: 1ch; height: 1em; overflow: clip; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); transition: width 600ms var(--ease-out); } /* taste-skill-ignore: a mask that softens the rolling digits, not a fill */
.odo__strip { display: flex; align-items: center; text-align: center; flex-direction: column; transform: translateY(calc(var(--n, 0) * -1em)); transition: transform 1000ms var(--ease-expo); transition-delay: calc(var(--d, 0) * 45ms); }
.odo__strip::before { content: "\00a0\A 0\A 1\A 2\A 3\A 4\A 5\A 6\A 7\A 8\A 9"; display: block; white-space: pre; line-height: 1; }
.tile__per { display: inline-block; margin-left: 0.18em; transition: opacity 300ms ease, transform 300ms var(--ease-out); }
.tile__per.is-swapping { opacity: 0; transform: translateY(0.3em); }

/* ---------- plan tiles: an ember glow follows the pointer ---------- */
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 106, 31, 0.16), rgba(255, 106, 31, 0) 62%); transition: opacity 400ms ease; } /* taste-skill-ignore: pointer light on the plan tiles, invisible until hover */
.tile--3::before { background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 226, 200, 0.4), rgba(255, 226, 200, 0) 62%); } /* taste-skill-ignore: pointer light on the plan tiles, invisible until hover */
.tile__cta::after { content: "→" / ""; margin-left: auto; transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tile:hover::before { opacity: 1; }
  .tile__cta:hover::after { transform: translateX(6px); }
}

/* ---------- from the floor: each member's lift rolls up from where they started ---------- */
.voices { padding-block: var(--section); background: var(--ink); }
.voices__title { grid-column: 1 / -1; padding-bottom: clamp(3rem, 6vw, 5rem); font-size: var(--step-head); }
.voices__list { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin: 0; padding: 0; }
.voice { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: baseline; row-gap: 0.75rem; padding-block: clamp(2rem, 4vw, 3rem); }
.voice__lift { grid-column: 1 / 7; grid-row: 1 / span 2; margin: 0; max-width: none; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.voice__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 9vw, 9rem); line-height: 1; color: var(--chalk); }
.voice__unit { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 1.8vw, 1.75rem); line-height: 1; color: var(--ember); }
.voice__q { grid-column: 7 / -1; grid-row: 1; margin: 0; font-size: var(--step-lead); line-height: 1.4; }
.voice__q p { max-width: 34ch; }
.voice__who { grid-column: 7 / -1; grid-row: 2; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 860px) {
  .voices__title { font-size: 13vw; padding-bottom: 2.5rem; }
  .voice { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
  .voice__who { order: -1; margin-top: -0.25rem; }
  .voice__lift { order: -2; }
  .voice__num { font-size: 26vw; }
  .voice__q { font-size: 1.125rem; }
}

/* ---------- motion around the hero ---------- */
@media (prefers-reduced-motion: no-preference) {
  .row[data-reveal] .row__pic { transition-delay: 120ms; }
  .tile[data-reveal] { transition-delay: calc(var(--i, 0) * 80ms); }
  .tile--2[data-reveal] { --i: 1; }
  .tile--3[data-reveal] { --i: 2; }
  @supports (animation-timeline: view()) {
    .row__pic { animation: drift linear both; animation-timeline: view(); }
    .classes__line:nth-child(1) { animation: push-l linear both; animation-timeline: view(); }
    .classes__line:nth-child(3) { animation: push-r linear both; animation-timeline: view(); }
  }
}
@keyframes drift { from { translate: 0 32px; } to { translate: 0 -32px; } }
@keyframes push-l { from { translate: 8% 0; } to { translate: 0 0; } }
@keyframes push-r { from { translate: 0 0; } to { translate: 10% 0; } }
@media (pointer: coarse) { .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-delay: 0s !important; }
  .tile, .tile__cta, .button, .step { transition: none; } .odo__col, .odo__strip, .billing__pill, .billing button, .tile__per { transition: none; }
}
