/* Hephaestus Systems: the one stylesheet (stack.md §5, §10, §5.14).
   Hooks from the markup contract only; tokens from §5.14; fonts from §10. */

@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans";  src: url("/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono";   src: url("/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --font-display: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ───────── Tokens (§5.14, verbatim) ───────── */
:root { --bg: oklch(0.985 0.002 90); --bg-2: oklch(0.96 0.005 90); --card: oklch(1 0 0); --fg: oklch(0.12 0.01 60); --fg-muted: oklch(0.45 0.02 60); --border: oklch(0.88 0.01 90); --placeholder-bg: #fff3b0; --placeholder-line: oklch(0.45 0.02 60); --radius: 0.25rem; }
@media (prefers-color-scheme: dark) { :root { --bg: #12110f; --bg-2: #1b1916; --card: #1b1916; --fg: #f1ede6; --fg-muted: #b4ada3; --border: #2e2b26; --placeholder-bg: #4a3f0a; --placeholder-line: #b4ada3; } }

:root {
  --max: 1200px;
  --gutter: 1.5rem;
  --sec-y: 5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --line-soft: color-mix(in srgb, var(--fg) 10%, transparent);
  color-scheme: light dark;
  /* Accent: amber, the orb's ember (D11). Lines and marks use --ember; text and the focus ring use
     --accent-text, darkened on paper and lightened on dark so both clear contrast. */
  --ember: #f97316;
  --on-ember: #0b0a0c; /* text on an ember fill (pressed booking button) */
  --accent-line: var(--ember);
  --accent-text: #a8420c;
}
@media (prefers-color-scheme: dark) { :root { --accent-text: #fb923c; } }
@media (min-width: 1024px) { :root { --gutter: 3rem; --sec-y: 7rem; } }

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; font-synthesis: none; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Noise texture from a static file (the CSP allows no data: URLs) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: url("/noise.svg") 0 0 / 256px 256px repeat;
  opacity: 0.03;
}
/* Honeycomb (carried over from Kaizen): a faint hex grid fixed behind the page, and an ember copy
   that shows only through slow diagonal bands. hex.svg is one pointy-top hex (r = 48) plus the edge
   to the next row; used as a mask so the colour comes from the tokens. The band tile repeats every
   1200px and its gradient every half-diagonal, so a 1200px shift loops seamlessly. */
html::before, body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
}
html::before {
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  -webkit-mask: url("/hex.svg") 0 0 / 83.14px 144px repeat, var(--honey-focus);
  mask: url("/hex.svg") 0 0 / 83.14px 144px repeat, var(--honey-focus);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
body::before, .hero-grid::after {
  background: var(--ember);
  -webkit-mask: url("/hex.svg") 0 0 / 83.14px 144px repeat, var(--honey-bands) 0 0 / 1200px 1200px repeat;
  mask: url("/hex.svg") 0 0 / 83.14px 144px repeat, var(--honey-bands) 0 0 / 1200px 1200px repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: 0.12;
}
body::before {
  -webkit-mask: url("/hex.svg") 0 0 / 83.14px 144px repeat, var(--honey-bands) 0 0 / 1200px 1200px repeat, var(--honey-focus);
  mask: url("/hex.svg") 0 0 / 83.14px 144px repeat, var(--honey-bands) 0 0 / 1200px 1200px repeat, var(--honey-focus);
  -webkit-mask-composite: source-in; /* restate: the mask shorthand above resets it */
  mask-composite: intersect;
}
/* Focus: the honeycomb keeps full strength in the side margins and drops to 20% across the
   content column, so it never competes with the text on top of it. */
:root {
  --honey-bands: linear-gradient(135deg, transparent 0%, transparent 12%, #000 25%, transparent 38%,
    transparent 62%, #000 75%, transparent 88%, transparent 100%);
  --honey-edge: max(0px, (100% - var(--max)) / 2);
  --honey-focus: linear-gradient(to right, #000, rgb(0 0 0 / 0.2) var(--honey-edge),
    rgb(0 0 0 / 0.2) calc(100% - var(--honey-edge)), #000) 0 0 / 100% 100% no-repeat;
}
h1, h2, h3, p, ul, ol, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.025em; text-wrap: balance; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--ember) 30%, transparent); color: var(--fg); }

/* ───────── Layout and global ───────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--sec-y) 0; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.5rem 1rem; border-radius: 999px;
  background: var(--fg); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* Mono label with a short leading rule (also the contact panel's call label) */
.eyebrow, .call-label {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font: 400 0.8125rem/1.4 var(--font-mono);
  color: var(--fg-muted);
}
.eyebrow::before, .call-label::before {
  content: ""; flex: none; width: 1.5rem; height: 1px;
  background: var(--accent-line);
}
.actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; }
.sec-head { max-width: 46rem; margin-bottom: 3rem; }
.sec-head h2 { margin-top: 1.25rem; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; }
.sec-lede { margin-top: 1.25rem; max-width: 34rem; font-size: 1.125rem; line-height: 1.6; color: var(--fg-muted); text-wrap: pretty; }
@media (min-width: 1024px) { .sec-head { margin-bottom: 4rem; } }

/* ───────── Buttons: pills ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0 1.5rem;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 0.9375rem/1.2 var(--font-sans); text-decoration: none; text-align: center; white-space: nowrap;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
}
/* Booking button: grows a touch on hover, presses in and fills with ember while held, and springs
   back past full size on release (the overshoot easing) before settling. */
.btn-primary {
  background: var(--fg); color: var(--bg);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-primary:hover { transform: scale(1.04); box-shadow: 0 0 1.25rem -0.375rem var(--ember); }
.btn-primary:active {
  transform: scale(0.94);
  background: var(--ember); color: var(--on-ember);
  box-shadow: 0 0 1.75rem -0.25rem var(--ember);
  transition-duration: 0.08s, 0.08s, 0.15s, 0.12s;
}
/* Aura (after Typ3's contact panel): an ember hairline with a soft bloom inside and out, on every
   booking button. Doubled class so it wins over .nav-cta and .btn-primary at rest and on hover;
   the press still fills with ember. */
.btn.btn-aura {
  background-color: color-mix(in srgb, var(--bg) 85%, transparent);
  background-image: linear-gradient(160deg, color-mix(in srgb, var(--ember) 10%, transparent), transparent 60%);
  border-color: color-mix(in srgb, var(--ember) 75%, transparent);
  color: var(--fg);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.05),
    inset 0 0 10px color-mix(in srgb, var(--ember) 24%, transparent),
    0 0 18px color-mix(in srgb, var(--ember) 32%, transparent),
    0 0 48px -10px color-mix(in srgb, var(--ember) 45%, transparent);
}
.btn.btn-aura:hover {
  border-color: var(--ember);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    inset 0 0 14px color-mix(in srgb, var(--ember) 32%, transparent),
    0 0 24px color-mix(in srgb, var(--ember) 45%, transparent),
    0 0 64px -10px color-mix(in srgb, var(--ember) 55%, transparent);
}
.btn.btn-aura:active { background: var(--ember); color: var(--on-ember); }
.btn-ghost { border-color: color-mix(in srgb, var(--fg) 45%, transparent); background: var(--bg); color: var(--fg); }
.btn-ghost:hover { background: color-mix(in srgb, var(--fg) 5%, var(--bg)); }
.btn-sm { min-height: 2.5rem; padding: 0 1.25rem; font-size: 0.875rem; }
.btn-arrow { display: inline-block; font-family: var(--font-sans); transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(0.25rem); }
/* Booking buttons (hero and contact panel): one size up, the page's two decisive actions */
.hero .btn, .contact-box .btn { min-height: 3.25rem; padding: 0 1.75rem; font-size: 1rem; }
.hero .btn-primary, .contact-box .btn-primary { font-weight: 600; }
@media (min-width: 1024px) { .hero .btn, .contact-box .btn { min-height: 3.5rem; font-size: 1.0625rem; } }
/* Inline text CTA: not a .btn; an underlined link with the arrow, at a 44px target */
.btn-link {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem;
  font: 500 0.9375rem/1.2 var(--font-sans); color: var(--fg);
  text-decoration: underline 1px var(--accent-line); text-underline-offset: 0.3em;
}
.btn-link:hover .btn-arrow, .btn-link:focus-visible .btn-arrow { transform: translateX(0.25rem); }

/* ───────── Placeholders (§5.14): visible in both schemes, with or without CSS ───────── */
[data-placeholder] {
  background: var(--placeholder-bg);
  color: var(--fg);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
span[data-placeholder] { padding: 0 0.12em; border-radius: 2px; }
a[data-placeholder] { outline: 1px dashed var(--placeholder-line); outline-offset: 2px; cursor: default; }
.btn-primary[data-placeholder] { background: var(--fg); color: var(--bg); }
.btn-ghost[data-placeholder] { background: var(--bg); color: var(--fg); }
.btn[data-placeholder] { position: relative; }
.btn[data-placeholder]::after {
  content: ""; position: absolute; top: -0.25rem; right: -0.25rem;
  width: 0.75rem; height: 0.75rem; border-radius: 50%;
  background: var(--placeholder-bg); border: 1px solid var(--placeholder-line);
}
.btn [data-placeholder] { background: transparent; padding: 0; }

/* ───────── Header (sticky, no JS) ───────── */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }
.mark { display: inline-flex; align-items: center; gap: 0.5rem; padding-block: 0.25rem; text-decoration: none; } /* padding: >=24px target (2.5.8) */
.mark-glyph { width: 1.5rem; height: 1.325rem; flex: none; }
.mark-name { font: 400 1.5rem/1 var(--font-display); letter-spacing: -0.025em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav-link {
  position: relative; padding-block: 0.25rem; font-size: 0.875rem; text-decoration: none; /* padding: >=24px target */
  color: color-mix(in srgb, var(--fg) 70%, transparent);
  transition: color 0.3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--accent-line);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-link:hover { color: var(--fg); }
.nav-link:hover::after { transform: scaleX(1); }
/* Header CTA: an outline on paper (hairline, no fill), so the hero's filled button is the one filled focal point */
.nav-cta { margin-left: 0.5rem; background: transparent; border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.nav-cta:hover { border-color: color-mix(in srgb, var(--fg) 65%, transparent); background: color-mix(in srgb, var(--fg) 5%, transparent); }
@media (max-width: 640px) { .nav-link { display: none; } .mark-name { font-size: 1.25rem; } .nav-cta { min-height: 2.75rem; } }
@media (max-width: 360px) { .nav-cta { margin-left: 0; padding: 0 0.875rem; } }

/* ───────── Hero: always-dark band (D11, §5.14); page tokens are remapped inside it ───────── */
.hero {
  --hero-bg: #0b0a0c; --hero-fg: #f1ede6; --hero-muted: #a8a29e; --hero-line: #26232a;
  --bg: var(--hero-bg); --fg: var(--hero-fg); --fg-muted: var(--hero-muted); --border: var(--hero-line);
  --line-soft: color-mix(in srgb, var(--hero-fg) 10%, transparent);
  --placeholder-bg: #4a3f0a; --placeholder-line: #b4ada3;
  --accent-text: #fb923c;
  color-scheme: dark;
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100svh - 4.5rem);
  padding: 1rem 0 0;
  overflow: hidden;
  color: var(--fg);
  background:
    radial-gradient(60% 55% at 50% 22%, color-mix(in srgb, var(--hero-line) 70%, transparent), transparent 70%),
    var(--hero-bg);
}
/* Hero honeycomb: the same hex grid and ember bands as the page, at full strength around the orb
   and 20% behind the headline and buttons (orb on top below 1024px, on the right above). */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, rgb(0 0 0 / 0.2) 48%);
  mask-image: linear-gradient(to bottom, #000 30%, rgb(0 0 0 / 0.2) 48%);
}
@media (min-width: 1024px) {
  .hero-grid {
    -webkit-mask-image: linear-gradient(to right, rgb(0 0 0 / 0.2) 45%, #000 70%);
    mask-image: linear-gradient(to right, rgb(0 0 0 / 0.2) 45%, #000 70%);
  }
}
.hero-grid::before, .hero-grid::after { content: ""; position: absolute; inset: 0; }
.hero-grid::before {
  background: color-mix(in srgb, var(--hero-fg) 9%, transparent);
  -webkit-mask: url("/hex.svg") 0 0 / 83.14px 144px repeat;
  mask: url("/hex.svg") 0 0 / 83.14px 144px repeat;
}
/* Orb (§6): a square box; the still SVG and the live canvas both fill it, then cross-fade.
   Below 1024 the svh cap keeps both hero buttons above the fold on short phones. */
.hero-sphere {
  position: relative; z-index: 0;
  width: min(78vw, 22rem, 28svh); aspect-ratio: 1;
  margin: 0 auto 1.5rem;
  pointer-events: none; user-select: none;
}
.hero-sphere::before {
  content: ""; position: absolute; inset: -15%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--hero-fg) 7%, transparent), transparent);
}
.orb, .orb-canvas {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%;
  transition: opacity 0.8s ease;
}
.orb path { mix-blend-mode: plus-lighter; }
.orb-canvas { opacity: 0; }
.hero-sphere.is-live .orb-canvas { opacity: 1; }
.hero-sphere.is-live .orb { opacity: 0; }
@media (min-width: 1024px) {
  .hero { padding-top: 5rem; }
  .hero-sphere {
    position: absolute; top: 50%; translate: 0 -50%; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    width: min(38vw, 500px); margin: 0;
  }
  .hero .hero-title { max-width: 10em; }
  .hero { background:
    radial-gradient(40% 55% at 74% 38%, color-mix(in srgb, var(--hero-line) 80%, transparent), transparent 70%),
    var(--hero-bg); }
}
.hero .btn-ghost { border-color: color-mix(in srgb, var(--hero-fg) 40%, transparent); background: transparent; }
.hero .btn-ghost:hover { border-color: color-mix(in srgb, var(--hero-fg) 60%, transparent); background: color-mix(in srgb, var(--hero-fg) 6%, transparent); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-bottom: 2.5rem; }
.hero-title {
  margin: 1.5rem 0 1.75rem;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 9.2em; /* line one always ends at "business", so the cycling verb never changes the breaks */
  text-wrap: wrap; /* not balance: balance re-flows the lines whenever the verb changes length */
}
.hero-title:first-child { margin-top: 0; }
/* Phones: "Too much of your / business still depends / on you." 7em sits between the measured
   "business still depends" (6.63em) and "... on" (7.58em) (David, 2026-11-21). */
@media (max-width: 599px) { .hero-title { max-width: 7em; } }
.hero-title-text { display: block; }
.hero-title-keep { white-space: nowrap; } /* the word before the verb rides with it: "business / still depends" */
.cycle { position: relative; display: inline-block; white-space: nowrap; }
.cycle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em;
  height: 0.06em; min-height: 0.25rem;
  background: var(--accent-line); opacity: 0.85;
}
.cycle-word { display: inline-block; }
.cycle-word.is-old { position: absolute; left: 0; top: 0; } /* the outgoing word, set by motion.js */
.hero-body { display: grid; gap: 2rem; align-items: end; }
.lede { max-width: 30rem; font-size: 1.125rem; line-height: 1.55; color: var(--fg-muted); text-wrap: pretty; }
@media (min-width: 1024px) {
  .hero-inner { padding-bottom: 4rem; }
  .hero-body { max-width: 36rem; gap: 2.25rem; }
  .lede { font-size: 1.3125rem; }
}

/* ───────── What we build: numbered rows ───────── */
.build-list { border-top: 1px solid var(--border); }
.card {
  display: grid; gap: 0.75rem 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.card-num { font: 400 0.875rem/1.4 var(--font-mono); color: var(--accent-text); }
.card-tag::before { display: none; }
.card-title {
  font: 400 clamp(1.625rem, 2.4vw, 2rem)/1.1 var(--font-display);
  letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease-out);
}
.card-body { max-width: 32rem; font-size: 1.0625rem; line-height: 1.6; color: var(--fg-muted); }
.card:hover .card-title { transform: translateX(0.5rem); }
@media (min-width: 1024px) {
  .card {
    grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 6fr);
    grid-template-areas: "num tag body" "num title body";
    align-items: start; gap: 0.5rem 3rem;
    padding: 2.75rem 0;
  }
  .card-num { grid-area: num; padding-top: 0.25rem; }
  .card-tag { grid-area: tag; }
  .card-title { grid-area: title; }
  .card-body { grid-area: body; }
}

/* ───────── How we work: a --bg-2 band between hairlines ───────── */
.process {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process .wrap { position: relative; }
.steps { border-top: 1px solid var(--border); }
.step { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.step-n {
  flex: none; min-width: 2.5rem;
  font: 400 0.875rem/2.3 var(--font-mono);
  color: var(--accent-text);
}
.step-text { flex: 1; min-width: 0; }
.step-title {
  margin-bottom: 0.5rem;
  font: 400 clamp(1.375rem, 2vw, 1.625rem)/1.15 var(--font-display);
  letter-spacing: -0.02em;
  transition: transform 0.3s var(--ease-out);
}
.step:hover .step-title { transform: translateX(0.5rem); }
.step-body { max-width: 38rem; line-height: 1.625; color: var(--fg-muted); }
.step-out { max-width: 38rem; margin-top: 0.75rem; font: 400 0.8125rem/1.6 var(--font-mono); color: var(--fg-muted); }
.step-out-label { color: var(--accent-text); }
.process-cta { margin-top: 2rem; }
@media (min-width: 1024px) {
  .process .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0 5rem; align-items: start; }
  .process .sec-head { position: sticky; top: 7rem; margin-bottom: 0; }
  /* Drops the steps' top rule to the eyebrow and step 01's title to the h2 in the left column */
  .process .steps { margin-top: 1.0625rem; }
}

/* ───────── Objections FAQ: native details rows on paper, laid out like the process ───────── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 2.75rem; padding: 1.25rem 0;
  font: 500 clamp(1.125rem, 1.6vw, 1.25rem)/1.4 var(--font-sans);
  list-style: none; cursor: pointer;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+"; content: "+" / ""; flex: none; /* empty alt: the native expanded state speaks */
  font: 400 1.5rem/1 var(--font-sans); color: var(--accent-text); /* the only open/closed cue: text accent keeps it >=3:1 (1.4.11) */
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a p { max-width: 38rem; padding-bottom: 1.5rem; line-height: 1.65; color: var(--fg-muted); text-wrap: pretty; }
@media (min-width: 1024px) {
  .faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
  .faq .sec-head { position: sticky; top: 7rem; margin-bottom: 0; }
  /* Drops the list's top rule to the eyebrow, as in the process */
  .faq-list { margin-top: 1.0625rem; }
}

/* ───────── Selected work: cards with hover lift ───────── */
.work-grid { display: grid; gap: 1.25rem; }
.work-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease-spring);
}
.work-card { position: relative; overflow: hidden; }
.work-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent-line); opacity: 0; transition: opacity 0.4s; }
.work-card:hover { transform: translateY(-4px); }
.work-card:hover::before { opacity: 1; }
.work-metric {
  margin-bottom: 0.75rem;
  font: 400 clamp(2rem, 3.2vw, 2.75rem)/1 var(--font-display);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}
.work-label { font-size: 1rem; font-weight: 500; line-height: 1.4; }
.work-client { font: 400 0.75rem/1.5 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.work-body { margin-top: auto; padding-top: 0.75rem; line-height: 1.6; color: var(--fg-muted); }
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); } }
@media (min-width: 1024px) { .work-card { padding: 2.25rem; } }

/* ───────── Who we are ───────── */
.about { border-top: 1px solid var(--border); }
.people { display: grid; gap: 3rem; }
.person { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.5rem; align-items: start; max-width: 52rem; }
.avatar {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: color-mix(in srgb, var(--fg) 5%, transparent);
  border: 1px solid var(--line-soft);
  object-fit: cover;
}
.avatar[data-placeholder] { background: var(--placeholder-bg); border-style: dashed; border-color: var(--placeholder-line); }
.person-name { font: 400 clamp(1.625rem, 2.4vw, 2rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.person-role { margin-top: 0.5rem; font: 400 0.875rem/1.5 var(--font-mono); color: var(--fg-muted); }
.person-bio { margin-top: 1rem; max-width: 38rem; font-size: 1.0625rem; line-height: 1.65; color: var(--fg-muted); }
.person-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; font-size: 0.875rem; }
.person-links a { color: var(--fg-muted); text-decoration-color: color-mix(in srgb, var(--ember) 60%, transparent); transition: color 0.3s; }
.person-links a:hover { color: var(--fg); }
@media (min-width: 768px) { .person { grid-template-columns: 6rem minmax(0, 1fr); gap: 2rem; } .avatar { width: 6rem; height: 6rem; } }

/* ───────── Mission: one centred statement on a quiet dark band, right after the hero ─────────
   Type only (David, 2026-11-21: simple, clean, elegant). A hairline parts it from the hero; one
   short ember rule closes the statement (the supporting line was removed, David, 2026-11-21). */
.vision {
  --bg: #0b0a0c; --fg: #f1ede6; --fg-muted: #a8a29e; --border: #26232a;
  --accent-text: #fb923c;
  color-scheme: dark;
  color: var(--fg);
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: calc(var(--sec-y) * 1.4) 0;
}
.vision-panel { max-width: 56rem; margin: 0 auto; text-align: center; }
.vision-panel .eyebrow::after { content: ""; flex: none; width: 1.5rem; height: 1px; background: var(--accent-line); }
.vision-title {
  max-width: 17em; margin: 1.75rem auto 0;
  font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05;
}
.vision-title::after { content: ""; display: block; width: 3rem; height: 1px; margin: 2.5rem auto 0; background: var(--accent-line); }

/* ───────── Contact: the lifted closing panel (card surface, ember top edge, amber glow) ───────── */
.contact-box {
  position: relative;
  padding: 3rem 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(32rem 24rem at 100% 0%, color-mix(in srgb, var(--ember) 16%, transparent), transparent 70%),
    var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent-line); }
/* The page's largest heading after the hero: two balanced lines at desktop */
.contact-box h2 {
  max-width: 11em; margin: 1.25rem 0 1.25rem;
  font-size: clamp(2.25rem, 4.8vw, 4.25rem); line-height: 1.04; text-wrap: balance;
}
.contact-body { max-width: 34rem; margin-bottom: 2.25rem; font-size: 1.125rem; line-height: 1.6; color: var(--fg-muted); text-wrap: pretty; }
.contact-side { margin-top: 3rem; }
.call-steps { margin-top: 1.25rem; counter-reset: call; display: grid; gap: 1rem; }
.call-steps li { display: flex; align-items: baseline; gap: 1rem; line-height: 1.6; color: var(--fg-muted); counter-increment: call; }
.call-steps li::before { content: counter(call, decimal-leading-zero); content: counter(call, decimal-leading-zero) / ""; flex: none; font: 400 0.875rem/1.6 var(--font-mono); color: var(--accent-text); }
.call-note { margin-top: 1.25rem; font-size: 0.875rem; line-height: 1.5; color: var(--fg-muted); }
.contact-side .actions { margin-top: 1.75rem; align-items: center; }
@media (min-width: 1024px) {
  /* Reading path ends at lower right: the side column bottoms out on the booking button */
  .contact-box { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4rem; padding: 5rem 4.5rem; }
  .contact-side { align-self: end; margin-top: 0; }
}

/* ───────── Footer ───────── */
.site-foot { border-top: 1px solid var(--border); font-size: 0.875rem; color: var(--fg-muted); }
/* Verse on top; below it legal at left and two stacked link columns at right (industries, then
   Privacy and Email), their first links on one line and the legal line on the last */
.site-foot .wrap { display: grid; grid-template-columns: auto auto; justify-content: start; grid-template-areas: "verse verse" "ind nav" "legal legal"; align-items: start; gap: 2rem 3rem; padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 768px) {
  .site-foot .wrap { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "verse verse verse" "legal ind nav"; }
  .foot-legal { align-self: end; }
}
.foot-verse { grid-area: verse; margin-bottom: 1rem; text-align: center; text-wrap: balance; font-family: var(--font-display); font-size: 1.125rem; line-height: 1.5; color: var(--fg-muted); }
.foot-verse cite { display: block; margin-top: 0.375rem; font: 400 0.75rem/1.5 var(--font-mono); font-style: normal; letter-spacing: 0.04em; }
.foot-legal { grid-area: legal; display: inline-flex; padding-block: 0.25rem; align-items: center; gap: 0.5rem; }
.foot-flag { flex: none; width: 1.1875rem; height: auto; border-radius: 1px; box-shadow: 0 0 0 1px var(--border); }
/* No label of its own: top padding matches the industries label so the first links share a line */
.foot-nav { grid-area: nav; display: flex; flex-direction: column; padding-top: calc(0.75rem * 1.5 + 0.25rem); }
.foot-nav a { display: inline-block; padding-block: 0.25rem; text-decoration: none; transition: color 0.3s; } /* >=24px target */
.foot-nav a:hover { color: var(--fg); text-decoration: underline; }
/* Industry pages: a stacked column, label on top */
.foot-industries { grid-area: ind; }
.foot-industries .foot-label { margin-bottom: 0.25rem; }
.foot-industries ul { display: flex; flex-direction: column; }
.foot-industries a { display: inline-block; padding-block: 0.25rem; text-decoration: none; transition: color 0.3s; } /* >=24px target */
.foot-industries a:hover { color: var(--fg); text-decoration: underline; }
.foot-label { font: 400 0.75rem/1.5 var(--font-mono); letter-spacing: 0.04em; }

/* ───────── Privacy and 404 ───────── */
.page { padding-top: 6rem; }
.page-title { margin: 1.5rem 0 1rem; font-size: clamp(3rem, 8vw, 6rem); line-height: 0.95; }
.page-updated { font: 400 0.875rem/1.5 var(--font-mono); color: var(--fg-muted); }
.page-lede { max-width: 36rem; margin-bottom: 2.5rem; font-size: 1.25rem; line-height: 1.625; color: var(--fg-muted); }
.prose { max-width: 42rem; margin-top: 4rem; border-top: 1px solid var(--border); }
.prose-block { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
.prose-block h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; }
.prose-block p { font-size: 1.0625rem; line-height: 1.7; color: var(--fg-muted); }
.prose-block p + p { margin-top: 1rem; }
/* Industry pages: workflows as a hairline list, the FAQ and the closing call inside the prose column */
.flows { margin-top: 1.5rem; border-top: 1px solid var(--border); }
.flow { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.flow-title { font: 500 1.0625rem/1.4 var(--font-sans); }
.prose-block .flow-body { margin-top: 0.375rem; font-size: 1rem; line-height: 1.6; }
.prose-block .faq-list { margin-top: 0.5rem; }
.prose-block .faq-a p { padding-bottom: 1.5rem; }
/* The block's own bottom hairline closes each list, so the last row drops its border */
.flow:last-child, .prose-block .faq-item:last-child { border-bottom: 0; }
.prose-block:has(> .flows, > .faq-list) { padding-bottom: 1rem; }
.page-cta { border-bottom: 0; }
.page-cta .actions { margin-top: 2rem; align-items: center; }
.not-found { display: flex; align-items: center; min-height: calc(100svh - 4.5rem - 6rem); }
.not-found .wrap { width: 100%; }

/* ───────── Motion: CSS only, and only when the visitor allows it ───────── */
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes line-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* WCAG 2.2.2: no motion runs past 5 s, so there is nothing to pause. The sweep drifts and slows to a stop; the pulse runs once. */
@keyframes honey-drift {
  from { -webkit-mask-position: 0 0, 0 0, 0 0; mask-position: 0 0, 0 0, 0 0; }
  to { -webkit-mask-position: 0 0, 300px 300px, 0 0; mask-position: 0 0, 300px 300px, 0 0; }
}
@keyframes honey-pulse { 0%, 100% { opacity: 0.08; } 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: no-preference) {
  body::before, .hero-grid::after { animation: honey-drift 5s var(--ease-out) both, honey-pulse 4s ease-in-out both; }
  .hero-inner .eyebrow { animation: rise 0.7s var(--ease-out) both; }
  .hero-inner .eyebrow::before { animation: line-reveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.2s both; }
  .hero-title { animation: rise 1s var(--ease-out) 0.05s both; }
  .hero-body { animation: rise 0.7s var(--ease-out) 0.2s both; }
  .cycle::after { animation: line-reveal 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.4s both; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover .card-title, .step:hover .step-title, .work-card:hover { transform: none; }
  .btn-primary:hover, .btn-primary:active { transform: none; }
}
