/* ============================================================
   Thurr Solutions — built on _ControlPlane/BrandKit/STUDIO/DESIGN-SYSTEM.md
   Identity series 001, dark plate. Ink is the ground, paper is the text,
   clay is the single accent. Every spacing value is a multiple of 8.

   Contrast, measured against the ink plate (#16150F), so nobody re-derives it:
     paper  #FAF9F5  17.36:1   body and headlines
     bright #CFCEC6  11.58:1   lede and long copy
     mute   #B4B3AB   8.69:1   card copy
     fog    #8B8A82   5.27:1   mono meta, labels, captions — the floor
     clay   #D9552B   4.60:1   accent, and the lowest thing allowed to BE a word
   On a clay fill the label is INK (4.60:1). Paper on clay measures 3.77:1 and
   fails AA at button sizes, so clay buttons carry ink labels, not paper ones.
   ============================================================ */

:root {
  /* plate */
  --ink: #16150F;
  --ink-deep: #100F0A;      /* inset bands — marquee, footer well */
  --panel: #1C1B14;         /* raised panel on the plate */
  --panel-2: #22211A;       /* controls, hover */

  /* type colour, darkest ground upward */
  --paper: #FAF9F5;
  --bright: #CFCEC6;
  --mute: #B4B3AB;
  --fog: #8B8A82;

  /* accent */
  --clay: #D9552B;
  --clay-lift: #E4633A;     /* hover — lighter, so an ink label keeps its ratio */
  --clay-text: #C24A23;     /* clay as a WORD on a PAPER ground: 4.64:1. Print, invoices, decks. */
  --clay-line: rgba(217, 85, 43, 0.5);

  --line: rgba(250, 249, 245, 0.14);
  --line-soft: rgba(250, 249, 245, 0.08);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;

  --measure: 36rem;               /* ~68ch */
  --rail: 88px;                   /* left gutter the mark travels down */
  --edge: 40px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);   /* ease-out-expo */

  --z-rail: 40;
  --z-header: 50;

  color-scheme: dark;
}

@media (max-width: 900px) {
  :root { --rail: 22px; --edge: 22px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; line-height: 1.05; font-family: var(--display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
ol, ul, dl { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--clay); color: var(--ink); padding: var(--s2) var(--s3);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.skip:focus { left: var(--s2); top: var(--s2); }

/* ---------- type scale ---------- */
.display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8.4vw, 8rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  max-width: 14ch;
}
.display .thin { font-weight: 400; color: var(--fog); display: block; }
.display-sm {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2rem, 5.6vw, 3.6rem);
  letter-spacing: -0.035em; text-transform: uppercase; line-height: 0.98;
}
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  letter-spacing: -0.035em; text-transform: uppercase; line-height: 0.98;
}
.h3 {
  font-family: var(--display); font-weight: 800; font-size: 1.32rem;
  letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.05;
}
.lede { font-size: clamp(17px, 1.9vw, 21px); color: var(--bright); max-width: var(--measure); }
.prose { max-width: var(--measure); color: var(--bright); }
.prose p + p { margin-top: var(--s3); }
.caption { font-size: 13.5px; color: var(--fog); }

/* mono is the meta voice of this brand: exits, labels, timings, statuses */
.mono, .exit, .sec-note, .step-out, .proj-foot, .log-date, .badge {
  font-family: var(--mono); text-transform: uppercase;
}

/* ---------- layout ---------- */
.wrap { padding-left: var(--rail); padding-right: var(--edge); }
main > section { padding-block: clamp(72px, 9vw, 112px); border-bottom: 1px solid var(--line); }

.sec-head {
  display: flex; align-items: baseline; gap: var(--s3);
  margin-bottom: var(--s6); flex-wrap: wrap;
}
.exit { font-size: 11px; letter-spacing: 0.2em; color: var(--clay); }
.sec-note {
  font-size: 10.5px; letter-spacing: 0.14em; color: var(--fog);
  margin-left: auto; text-align: right;
}

/* ---------- the rail: the mark travels the left edge as you scroll ---------- */
.rail {
  position: fixed; left: calc(var(--rail) / 2); top: 0; bottom: 0;
  width: 1px; background: var(--line); z-index: var(--z-rail); pointer-events: none;
}
.rail-fill { position: absolute; top: 0; left: 0; width: 1px; height: 0; background: var(--clay); }
.rail-mark {
  position: fixed; left: calc(var(--rail) / 2 - 11px); top: 50vh;
  width: 22px; height: 22px; z-index: calc(var(--z-rail) + 1); pointer-events: none;
}
.waypoint {
  position: absolute; left: -3.5px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(250, 249, 245, 0.3);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.waypoint[data-hit="true"] { background: var(--clay); border-color: var(--clay); transform: scale(1.35); }
@media (max-width: 900px) { .rail, .rail-mark { display: none; } }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s2) var(--edge) var(--s2) var(--rail);
  background: rgba(22, 21, 15, 0.74);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header img { width: 132px; height: auto; }  /* 120px is the guideline minimum */
.site-nav { display: flex; align-items: center; gap: var(--s3); }
.nav-link {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--fog);
  position: relative; padding-bottom: 3px;
}
.nav-link:hover { color: var(--paper); }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform 0.32s var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
@media (max-width: 780px) { .nav-link { display: none; } }

/* ---------- buttons ----------
   Clay fill takes an INK label. Paper on clay is 3.77:1 and fails AA at every
   button size; ink on clay is 4.60:1 and passes. Hover lifts the fill LIGHTER
   so the ink label keeps its ratio — darkening it would quietly break AA. */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--clay); color: var(--ink);
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 15px var(--s3); border-radius: 2px; border: 0; cursor: pointer;
  transition: background 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:hover { background: var(--clay-lift); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 0.22s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn-lg { padding: 19px var(--s4); font-size: 13px; }
.btn-ghost {
  background: transparent; color: var(--paper); border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--clay); border-color: var(--clay); color: var(--ink); }

/* ---------- 00 hero ---------- */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding-top: 120px; padding-bottom: var(--s6);
  position: relative; isolation: isolate; border-bottom: 0;
}
.hero > *:not(#field) { position: relative; z-index: 1; }
/* A canvas is a replaced element: with height:auto it takes its intrinsic size and
   `bottom` is ignored, so the field measured 0px tall. It needs an explicit height. */
#field {
  position: absolute; top: 0; left: calc(-1 * var(--rail));
  width: 100vw; height: 100%;
  z-index: -1; pointer-events: none; opacity: 0;
}
.hero .exit { display: block; margin-bottom: var(--s3); }
.hero .lede { margin-top: var(--s4); max-width: 46ch; }
.hero .btn { margin-top: var(--s4); align-self: flex-start; }
.hero-meta {
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line);
  display: flex; gap: var(--s6); flex-wrap: wrap; max-width: 720px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.15em;
  color: var(--fog); text-transform: uppercase;
}
.hero-meta b { color: var(--paper); font-weight: 500; }

/* the mark sits inside the headline, on the "then" line */
.display .arrowline { display: inline-flex; align-items: center; gap: 0.14em; }
.display .arrowline svg { width: 0.6em; height: 0.6em; flex: none; }

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--ink-deep); overflow: hidden; padding: var(--s3) 0;
}
.mq-track { display: flex; gap: 44px; width: max-content; align-items: center; }
.mq-track span {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); letter-spacing: -0.03em;
  text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(250, 249, 245, 0.34);
}
.mq-track svg { width: 26px; height: 26px; flex: none; opacity: 0.5; }

/* ---------- 01 the cost ---------- */
.pull {
  margin-top: var(--s6);
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.7rem, 4.4vw, 3rem); letter-spacing: -0.035em;
  text-transform: uppercase; line-height: 1; color: var(--clay);
}
.pull-note { margin-top: var(--s2); max-width: 44ch; }

/* ---------- 02 the route ---------- */
.route-spread { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
@media (min-width: 1180px) {
  .route-spread { grid-template-columns: minmax(0, 1fr) 264px; gap: var(--s8); align-items: start; }
}
.lens {
  font-family: var(--mono); font-size: 11px; line-height: 2; letter-spacing: 0.06em;
  color: var(--fog); text-transform: uppercase;
  border-left: 1px solid var(--line); padding-left: var(--s3);
}
.route { position: relative; margin-top: var(--s6); padding-left: var(--s6); }
.route-track { position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; }
.route-line { position: absolute; inset: 0; background: var(--line); }
.route-dot {
  position: absolute; left: 50%; top: 0; width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%; background: var(--clay);
  transition: top 0.12s linear, box-shadow 0.4s var(--ease);
}
.route-dot[data-stalled="true"] { box-shadow: 0 0 0 6px rgba(217, 85, 43, 0.22); }
.dot-label {
  position: absolute; left: 20px; top: -5px; white-space: nowrap;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clay); opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.route-dot[data-stalled="true"] .dot-label { opacity: 1; }

.stage { padding: var(--s3) 0; border-bottom: 1px solid var(--line-soft); }
.stage:last-child { border-bottom: 0; }
.stage-head { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.stage .n {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--fog);
  transition: color 0.4s var(--ease);
}
.stage[data-seen="true"] .n { color: var(--clay); }
.stage .name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; text-transform: uppercase; }
.stage .fn {
  margin-left: auto; font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.14em; color: var(--fog); text-transform: uppercase;
}
.stage .leak { margin-top: var(--s1); font-size: 15px; color: var(--mute); max-width: 56ch; }
.stage[data-leak="true"] .name { color: var(--clay); }

/* ---------- 03 process ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { background: var(--ink); padding: var(--s4) var(--s3); transition: background 0.25s var(--ease); }
.step:hover { background: var(--panel); }
.step .n { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--clay); display: block; margin-bottom: var(--s3); }
.step .name { font-family: var(--display); font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1.05; margin-bottom: var(--s2); }
.step .body { font-size: 14.5px; color: var(--mute); }
.step-out {
  margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line);
  font-size: 9.5px; letter-spacing: 0.12em; color: var(--fog); line-height: 2;
  white-space: pre-line;
}
/* Running prose, so it takes the body face. Mono uppercase is this brand's LABEL
   voice and collapses at paragraph length. The clay rule carries the emphasis
   the uppercase was doing. */
.honest {
  margin-top: var(--s4); padding: var(--s3) var(--s3) var(--s3) var(--s4);
  border-left: 2px solid var(--clay); background: var(--panel);
  font-size: 14.5px; color: var(--mute); max-width: 64ch;
}
.honest b { color: var(--paper); font-weight: 600; }

/* ---------- 04 calculator ---------- */
.calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-inputs { border: 1px solid var(--line); background: var(--panel); padding: var(--s4) var(--s3); }
.calc-field { display: block; margin-bottom: var(--s4); }
.calc-field:last-of-type { margin-bottom: 0; }
.calc-field > span {
  display: block; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--fog); text-transform: uppercase;
}
.calc-field input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 2px;
  background: var(--line); margin: var(--s2) 0 var(--s1); outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border: 0;
  border-radius: 50%; background: var(--clay); cursor: pointer;
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--clay); cursor: pointer;
}
.calc-field output { font-family: var(--mono); font-size: 14px; color: var(--paper); }
.calc-hint {
  margin-top: var(--s3); font-family: var(--mono); font-size: 9.5px;
  letter-spacing: 0.1em; color: var(--fog); text-transform: uppercase; line-height: 2;
}
.calc-out {
  border: 1px solid var(--clay-line); background: #1A1710;
  padding: var(--s4) var(--s3); display: flex; flex-direction: column;
}
.calc-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--clay); text-transform: uppercase; }
.calc-big {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 4.2rem); letter-spacing: -0.04em; line-height: 1;
  margin: var(--s2) 0 var(--s3); font-variant-numeric: tabular-nums;
}
.calc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); border-top: 1px solid var(--line); padding-top: var(--s3); }
.calc-split b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; margin-bottom: var(--s1); font-variant-numeric: tabular-nums; }
.calc-split span { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--fog); text-transform: uppercase; line-height: 1.8; }
.calc-disc { margin-top: auto; padding-top: var(--s3); font-size: 13.5px; color: var(--fog); line-height: 1.65; }

/* ---------- 05 selected work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 800px) { .work-grid { grid-template-columns: minmax(0, 1fr); } }
.proj {
  position: relative; border: 1px solid var(--line); background: #131209;
  padding: var(--s4) var(--s3) var(--s3);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.proj:hover { border-color: var(--clay-line); background: var(--panel); }
.badge {
  font-size: 8.5px; letter-spacing: 0.16em; color: var(--fog);
  border: 1px solid var(--line); border-radius: 2px; padding: 5px 9px;
  display: inline-block; margin-bottom: var(--s3);
}
.proj[data-tag="Client work"] .badge { color: var(--clay); border-color: var(--clay-line); }
.proj .kind { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.15em; color: var(--clay); text-transform: uppercase; margin-bottom: var(--s1); }
.proj .title { margin-bottom: var(--s1); }
.proj .client { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em; color: var(--fog); text-transform: uppercase; margin-bottom: var(--s2); }
.proj .body { font-size: 14.5px; color: var(--mute); }
.proj-foot {
  margin-top: var(--s3); padding-top: var(--s2); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: var(--s2);
  font-size: 9.5px; letter-spacing: 0.13em; color: var(--fog);
}

/* ---------- 06 range ---------- */
.range { border-top: 1px solid var(--line); margin-top: var(--s6); }
.range-row {
  display: grid; grid-template-columns: minmax(0, 22ch) minmax(0, 1fr);
  gap: var(--s6); padding: var(--s4) 0; border-bottom: 1px solid var(--line);
  align-items: baseline; transition: background 0.25s var(--ease);
}
/* The row nudges right on hover. The zip animated `padding-left`, which thrashes
   layout on every frame; translating the two children instead is compositor-only
   and holds the row's border still, which reads better anyway. */
.range-row > * { transition: transform 0.25s var(--ease); }
.range-row:hover { background: var(--panel); }
.range-row:hover > * { transform: translateX(var(--s1)); }
@media (max-width: 760px) { .range-row { grid-template-columns: minmax(0, 1fr); gap: var(--s1); } }
.range-name { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.7rem); letter-spacing: -0.025em; text-transform: uppercase; line-height: 1.05; }
.range-body { margin: 0; font-size: 15px; color: var(--mute); }
.range-close { margin-top: var(--s4); max-width: var(--measure); color: var(--bright); }

/* ---------- 07 guarantees ---------- */
.guar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 860px) { .guar { grid-template-columns: minmax(0, 1fr); } }
.g { border: 1px solid var(--line); background: var(--panel); padding: var(--s4) var(--s3); }
.g > svg { width: 22px; height: 22px; margin-bottom: var(--s3); }
.g .name { font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.015em; text-transform: uppercase; margin-bottom: var(--s1); }
.g .body { font-size: 14.5px; color: var(--mute); }

/* ---------- 08 log ---------- */
.log { border-top: 1px solid var(--line); }
.log-row {
  display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: var(--s3);
  padding: var(--s3) 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
@media (max-width: 640px) { .log-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.log-date { font-size: 10px; letter-spacing: 0.15em; color: var(--clay); }
.log-row p { font-size: 15px; color: var(--mute); }

/* ---------- 09 who ---------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s8); align-items: start; }
.who-grid[data-photo="true"] { grid-template-columns: 260px minmax(0, 1fr); }
@media (max-width: 860px) { .who-grid[data-photo="true"] { grid-template-columns: minmax(0, 1fr); gap: var(--s4); } }
.portrait { border: 1px solid var(--line); background: var(--panel); aspect-ratio: 4 / 5; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { width: 100%; height: 100%; background: linear-gradient(150deg, var(--panel-2), var(--ink-deep)); }
.pledge {
  margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--clay); text-transform: uppercase;
}

/* ---------- 10 book ---------- */
.book { border-bottom: 0 !important; padding-bottom: clamp(96px, 12vw, 152px) !important; }
.book .display-sm { max-width: 16ch; }
.book .lede { margin-top: var(--s4); }
.book .btn { margin-top: var(--s6); align-self: flex-start; }
.book-alt { display: block; margin-top: var(--s3); font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--fog); text-transform: uppercase; }
.book-alt a { color: var(--paper); border-bottom: 1px solid var(--line); }
.book-alt a:hover { border-color: var(--clay); }
.reassure { margin-top: var(--s3); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-deep); border-top: 1px solid var(--line); padding-block: var(--s8); }
.footer-mark { width: 232px; height: auto; margin-bottom: var(--s4); }
.footer-boiler { max-width: var(--measure); color: var(--fog); font-size: 14.5px; }
.footer-meta {
  margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line);
  display: flex; gap: var(--s4); flex-wrap: wrap;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em;
  color: var(--fog); text-transform: uppercase;
}
.footer-meta a:hover { color: var(--paper); }

/* ============================================================
   CONSULT PAGE
   ============================================================ */
.consult-page, .thanks { padding-top: 152px; padding-bottom: clamp(80px, 10vw, 128px); }
.consult-mark { width: 48px; height: 48px; margin-bottom: var(--s4); }
.consult-page .lede, .thanks .lede { margin-top: var(--s3); }
.thanks .btn { margin-top: var(--s6); }

.consult-form { margin-top: var(--s8); max-width: 42rem; }
.field { margin-bottom: var(--s4); border: 0; padding: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 620px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
.label {
  display: block; padding: 0; margin-bottom: var(--s1);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--fog); text-transform: uppercase;
}
.optional { color: var(--fog); text-transform: none; letter-spacing: 0; font-size: 11px; }
.hint { margin-bottom: var(--s2); font-size: 14px; color: var(--fog); }
.hint strong { color: var(--paper); font-weight: 500; }

input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 13px var(--s2);
  background: var(--panel); color: var(--paper);
  border: 1px solid var(--line); border-radius: 2px;
  font-family: var(--body); font-size: 16px; line-height: 1.5;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--clay); background: var(--panel-2);
}
::placeholder { color: var(--fog); opacity: 1; }
textarea { resize: vertical; }

.choices { display: grid; gap: var(--s1); margin-top: var(--s1); }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice-body {
  display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 2px; padding: 14px var(--s2);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.choice:hover .choice-body { border-color: var(--clay-line); }
.choice input:checked + .choice-body { border-color: var(--clay); background: var(--panel); }
.choice input:focus-visible + .choice-body { outline: 2px solid var(--clay); outline-offset: 3px; }
.choice-time { font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: -0.01em; text-transform: uppercase; }
.choice-note { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--fog); text-transform: uppercase; }
.hp { position: absolute; left: -9999px; }
.form-note { margin-top: var(--s3); max-width: 42rem; }

.booking-intro { margin-bottom: var(--s6); }
.booking-options { display: grid; gap: var(--s1); }
.booking-option {
  display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: 2px; padding: var(--s3);
  cursor: pointer; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.booking-option:hover { border-color: var(--clay); background: var(--panel); }
.booking-option[data-recommended="true"] { border-color: var(--clay-line); }
.booking-option[data-pending="true"] { border-style: dashed; }
.booking-time { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; text-transform: uppercase; }
.booking-note { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--fog); text-transform: uppercase; }
.booking-go { margin-left: auto; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; color: var(--clay); text-transform: uppercase; }

/* ============================================================
   MOTION
   Reveal styles are scoped to html.motion, a class main.js adds on start.
   If the script fails to load or throws, the class never lands and every
   section renders at full opacity. A scroll effect must never be able to
   ship a blank page — this has cost a debugging round before.
   ============================================================ */
.motion .r-fade, .motion .stag {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.motion .r-fade.in, .motion .stag.in { opacity: 1; transform: none; }

.motion .mq-track { animation: mq-slide 34s linear infinite; }
.motion .marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq-slide { to { transform: translateX(-50%); } }

.motion #field { animation: field-in 1.4s ease 0.3s forwards; }
@keyframes field-in { to { opacity: 1; } }

/* the headline arrives line by line, then draws its own arrow */
.motion .line-mask { display: block; overflow: hidden; }
.motion .line-mask > span {
  display: block; transform: translateY(105%); opacity: 0;
  animation: line-up 0.9s var(--ease) forwards;
}
.motion .line-mask > span.arrowline { display: inline-flex; }
.motion .line-mask:nth-of-type(2) > span { animation-delay: 0.1s; }
.motion .line-mask:nth-of-type(3) > span { animation-delay: 0.2s; }
@keyframes line-up { to { transform: translateY(0); opacity: 1; } }

.motion #hero-arrow path { stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.1s var(--ease) 0.45s forwards; }
.motion #hero-arrow .head { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; animation: head-pop 0.45s var(--ease) 1.35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes head-pop { from { opacity: 0; transform: translateX(-9px); } to { opacity: 1; transform: none; } }

.motion .hero .lede, .motion .hero-meta, .motion .hero .btn {
  opacity: 0; animation: fade-up 0.8s var(--ease) 0.7s forwards;
}
.motion .hero .btn { animation-delay: 0.85s; }
.motion .hero-meta { animation-delay: 1s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .motion .r-fade, .motion .stag,
  .motion .hero .lede, .motion .hero-meta, .motion .hero .btn,
  .motion .line-mask > span {
    opacity: 1; transform: none; animation: none; transition: none;
  }
  .motion .mq-track { animation: none; }
  .motion #field { display: none; }
  .motion #hero-arrow path { stroke-dashoffset: 0; animation: none; }
  .motion #hero-arrow .head { opacity: 1; animation: none; }
}
