/* Growth Lab website. Rules: growth-lab/DESIGN_SYSTEM.md. Tokens: tokens.css.
   Layout: white header with the real logo and one action, a white hero that pairs the headline
   with the value cube on a light grey panel, the four stages on a black section joined by a line
   of icon nodes, three white sections (evidence, workshops, getting going), then the oversized rune
   cropped by a hairline above a restrained white footer. The contact view reuses the header,
   footer and a light grey form panel. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist/Geist-Variable-Latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Size matched fallback so the swap to Geist barely moves the layout */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 105.46%;
  ascent-override: 95.29%;
  descent-override: 27.97%;
  line-gap-override: 0%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--gl-white);
  color: var(--gl-ink);
  font-family: var(--gl-font);
  font-size: var(--gl-text-body);
  font-weight: var(--gl-weight-regular);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, h4, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gl-purple-strong); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gl-purple-soft); color: var(--gl-ink); }
.wrap { max-width: var(--gl-wrap); margin: 0 auto; padding-inline: var(--gl-gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  background: var(--gl-ink); color: var(--gl-white); text-decoration: none;
  font-size: var(--gl-text-ui); font-weight: var(--gl-weight-medium);
  padding: 10px 16px; border-radius: var(--gl-radius-pill);
}
.skip:focus { top: 16px; }

/* Buttons. Dark for the header action, coral for the one conversion action. White on coral is
   3.25:1, so coral buttons always carry large bold text (19 px, 700), which meets WCAG for large text */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: var(--gl-radius-pill);
  font-size: var(--gl-text-ui); font-weight: var(--gl-weight-medium); letter-spacing: var(--gl-track-ui);
  line-height: 1.2; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.btn-dark { background: var(--gl-ink); color: var(--gl-white); }
.btn-dark:hover { background: #2B2B2B; }
.btn-coral {
  background: var(--gl-coral); color: var(--gl-white);
  min-height: 52px; padding: 12px 30px;
  font-size: var(--gl-text-cta); font-weight: var(--gl-weight-bold); letter-spacing: -0.01em;
}
.btn-coral:hover { background: var(--gl-coral-hover); }
.btn[disabled] { cursor: progress; opacity: 0.8; }
.text-link {
  color: var(--gl-purple-strong); font-weight: var(--gl-weight-medium);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* Header: the real logo and one action, no menu. One fixed height on every page, so the logo never
   shifts between the homepage and the contact view: 76 px, 68 px on phones. */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; padding-block: 16px; }
.logo-link { display: inline-flex; color: var(--gl-ink); border-radius: 6px; }
.logo { display: block; height: 30px; width: auto; fill: currentColor; }
/* Header logo 20 percent larger than the footer's (Neil, version 2.6): 36 px, 30 px on phones, inside the
   same 76 and 68 px headers. Width follows from the 297 by 70 artwork */
.site-header .logo { height: 36px; }

/* Hero */
.hero { background: var(--gl-white); padding-block: clamp(32px, 5vw, 72px) var(--gl-section); }
/* Client logo strip at the foot of the hero: quiet credibility with room around it. Logos share one
   row height (scaled per logo in config/client-logos.json for equal optical weight), never stretched
   or cropped. Moving: one row drifting left to right under soft edge fades. Still (reduced motion or
   no script): the same logos centred and wrapping. */
.hero:has(.clients) { padding-bottom: clamp(56px, 7vw, 96px); }
.clients { --logo-h: 30px; --clients-gap: clamp(48px, 5.5vw, 80px); display: flex; flex-direction: column; margin-top: clamp(64px, 8vw, 112px); }
.clients-set { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px var(--clients-gap); }
.clients-set li { flex: none; display: flex; align-items: center; justify-content: center; height: calc(var(--logo-h) * 1.6); }
.clients-set img { display: block; width: auto; max-width: none; height: calc(var(--logo-h) * var(--logo-scale, 1)); }
.clients.is-moving .clients-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients.is-moving .clients-track { display: flex; gap: var(--clients-gap); width: max-content; will-change: transform; }
.clients.is-moving .clients-set { flex-wrap: nowrap; justify-content: flex-start; }
.clients-toggle {
  align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  min-height: 32px; padding: 4px 12px 4px 10px; border: 0; border-radius: var(--gl-radius-pill);
  background: transparent; color: var(--gl-ink-3); font-size: var(--gl-text-small); font-weight: var(--gl-weight-medium); cursor: pointer;
}
.clients-toggle[hidden] { display: none; }
.clients-toggle:hover { background: var(--gl-panel); color: var(--gl-ink); }
.clients-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.clients-toggle .i-play { display: none; fill: currentColor; stroke: none; }
.clients.is-paused .clients-toggle .i-pause { display: none; }
.clients.is-paused .clients-toggle .i-play { display: block; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-areas: "title device" "lead device";
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(32px, 4.4vw, 64px);
}
.title { grid-area: title; align-self: end; container-type: inline-size; }
h1 {
  font-size: clamp(34px, 4.4vw, 60px);
  font-size: clamp(34px, 10.8cqi, 72px);
  line-height: 1.02;
  letter-spacing: var(--gl-track-display);
  font-weight: var(--gl-weight-semibold);
}
.lead {
  grid-area: lead; align-self: start; margin-top: 28px; max-width: 34em;
  font-size: var(--gl-text-lead); line-height: 1.55; color: var(--gl-ink-2); text-wrap: pretty;
}

/* The value cube: today's results as the black core, the three outcomes as the axes it grows along */
.device-card {
  grid-area: device; align-self: center;
  background: var(--gl-panel); border-radius: var(--gl-radius-panel);
  padding: clamp(28px, 3.4vw, 44px) clamp(12px, 2.4vw, 32px);
}
.device { width: 100%; max-width: 520px; margin: 0 auto; container-type: inline-size; }
.cube { display: block; width: 100%; height: auto; overflow: visible; }
.cube polygon { stroke-width: 0.6; stroke-linejoin: round; }
.f-top { fill: var(--gl-purple-soft); stroke: var(--gl-purple-soft); }
.f-left { fill: var(--gl-purple); stroke: var(--gl-purple); }
.f-right { fill: var(--gl-purple-strong); stroke: var(--gl-purple-strong); }
.c-top { fill: var(--gl-core-top); stroke: var(--gl-core-top); }
.c-left { fill: var(--gl-core-left); stroke: var(--gl-core-left); }
.c-right { fill: var(--gl-core-right); stroke: var(--gl-core-right); }
.pre-build .f-top, .pre-build .f-left, .pre-build .f-right { opacity: 0; }
.arrow { fill: none; stroke: var(--gl-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.5s; }
.out {
  font-size: clamp(13px, 4.1cqi, 19px); font-weight: var(--gl-weight-semibold);
  line-height: 1.25; letter-spacing: -0.01em; text-align: center; text-wrap: balance;
  color: var(--gl-ink); transition: color 0.5s;
}
.out-top { margin-bottom: 12px; }
.out-row { display: grid; grid-template-columns: 36.71% minmax(0, 1fr) 36.71%; margin-top: -5.58%; }
.out-row .out:last-child { grid-column: 3; }
.building .out:not(.on) { color: var(--gl-ink-3); }
.building .arrow:not(.on) { stroke: var(--gl-idle); }

/* Four stages joined by a line of icon nodes, on the deliberate black section. Keep it black */
.approach { background: var(--gl-black); color: var(--gl-white); padding-block: var(--gl-section); }
.approach :focus-visible { outline-color: var(--gl-purple-soft); }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--sgap); --node: 64px; --sgap: clamp(28px, 3.6vw, 48px); }
.stage { position: relative; min-width: 0; scroll-margin-top: 24px; }
.node { width: var(--node); height: var(--node); border-radius: var(--gl-radius-node); background: var(--gl-purple); display: grid; place-items: center; }
.node .ico { width: 38px; height: 38px; color: var(--gl-white); }
.stage:not(:last-child)::before {
  content: ""; position: absolute; top: calc(var(--node) / 2 - 0.75px);
  left: calc(var(--node) + 12px); right: calc(12px - var(--sgap)); height: 1.5px; background: var(--gl-purple);
}
.stage:not(:last-child)::after {
  content: ""; position: absolute; top: calc(var(--node) / 2 - 5px); right: calc(14px - var(--sgap));
  width: 10px; height: 10px; border-top: 1.5px solid var(--gl-purple); border-right: 1.5px solid var(--gl-purple);
  transform: rotate(45deg);
}
.stage h2 {
  margin-top: 30px; color: var(--gl-coral);
  font-size: clamp(28px, 2.5vw, 34px); line-height: 1.1; letter-spacing: var(--gl-track-heading); font-weight: var(--gl-weight-semibold);
}
.stage .tag span { display: inline-block; }
.stage .tag { margin-top: 14px; font-size: 18px; line-height: 1.4; font-weight: var(--gl-weight-semibold); letter-spacing: -0.01em; color: var(--gl-white); text-wrap: balance; }
.stage .body { margin-top: 12px; max-width: 60ch; font-size: 16px; line-height: 1.62; color: var(--gl-on-black); text-wrap: pretty; }

/* White sections after the black stages: evidence, workshops, then getting going. One job each,
   hairlines between them, no cards, tiles or counters */
.plain { background: var(--gl-white); }
.plain-body { padding-block: clamp(56px, 7vw, 96px); }
.plain + .plain .plain-body { border-top: 1px solid var(--gl-line); }
.plain h2 {
  font-size: clamp(30px, 2.9vw, 40px); line-height: 1.1;
  letter-spacing: var(--gl-track-heading); font-weight: var(--gl-weight-semibold); color: var(--gl-ink);
}
.plain .lede { margin-top: 18px; max-width: 34em; font-size: var(--gl-text-lead); line-height: 1.55; color: var(--gl-ink-2); text-wrap: pretty; }

/* Evidence: client benefits first; MartechTribe's figures support them, quietly */
.evidence-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.benefits { margin-top: 22px; display: grid; gap: 12px; }
.benefits li { position: relative; padding-left: 24px; font-size: 18px; line-height: 1.45; font-weight: var(--gl-weight-regular); color: var(--gl-ink); text-wrap: pretty; }
.benefits li::before {
  content: ""; position: absolute; left: 1px; top: calc(0.725em - 4px);
  width: 8px; height: 8px; border-radius: 2px; background: var(--gl-purple);
}
/* Research question and response (Neil, versions 2.9 and 2.10): a conversational pair in brand coral at
   the same 19 to 20 px size and line height. The question is bold (WCAG large text: coral on white is
   3.25:1, the bar is 18.66 px bold); the response is regular weight on Neil's instruction, a recorded
   contrast exception (regular coral at this size falls short of WCAG AA's 4.5:1). One gap, --gl-space-research, from the heading to the question and from the question to the
   response. text-box trims each line box to the capitals and the baseline, so the token is the visible
   gap whatever the line heights; browsers without text-box keep the same margins, a few px looser */
.evidence-copy h2 { text-box: trim-end cap alphabetic; }
.evidence-copy .question, .evidence-copy .response {
  margin-top: var(--gl-space-research); color: var(--gl-coral);
  font-size: clamp(19px, 1.5vw, 20px); line-height: 1.4; font-weight: var(--gl-weight-bold); text-wrap: pretty;
}
.evidence-copy .question { text-box: trim-both cap alphabetic; }
.evidence-copy .response { text-box: trim-start cap alphabetic; font-weight: var(--gl-weight-regular); }
.evidence-copy .body { margin-top: 16px; max-width: 34em; font-size: 18px; line-height: 1.55; font-weight: var(--gl-weight-regular); color: var(--gl-ink); text-wrap: pretty; }
.evidence-copy .benefits { margin-top: 14px; }
.nowrap { white-space: nowrap; }
.map { min-width: 0; }
/* Vendor artwork: shown whole at its own 16 by 9 with the credit band it carries, never cropped or
   recoloured. The ring is a box shadow so it adds no size and the image keeps its exact ratio */
.map img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: var(--gl-radius-image); background: var(--gl-panel);
  /* Hairline ring, then one restrained glow in brand coral behind the map (Neil, version 2.6). The glow
     sits outside the image, so the map itself is never tinted */
  box-shadow: 0 0 0 1px var(--gl-line), 0 10px 44px -6px color-mix(in srgb, var(--gl-coral) 30%, transparent);
}
/* The caption repeats the research sentence on purpose (Neil, version 2.5): readable body size, the
   benchmark in bold. The credit below it is small print */
.map figcaption { margin-top: 16px; }
.map-caption { max-width: 40em; font-size: 16px; line-height: 1.55; color: var(--gl-ink-2); text-wrap: pretty; }
.map-caption strong { font-weight: var(--gl-weight-semibold); color: var(--gl-ink); }
.map-credit { margin-top: 6px; font-size: var(--gl-text-small); line-height: 1.5; color: var(--gl-ink-3); }

/* Workshops: two equal open columns split by one hairline, each with a small coloured line icon
   that matches its duration and value bullets. Value lists sit in native details */
.workshop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(36px, 4.5vw, 56px); }
.workshop { min-width: 0; display: flex; flex-direction: column; padding-right: clamp(28px, 4vw, 64px); }
.workshop + .workshop { padding-right: 0; padding-left: clamp(28px, 4vw, 64px); border-left: 1px solid var(--gl-line); }
.workshop-value { --accent: var(--gl-purple); }
.workshop-strategy { --accent: var(--gl-coral); }
.workshop h3 {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: var(--gl-track-heading); font-weight: var(--gl-weight-semibold);
}
/* Centred on the heading's first line, so a heading that wraps keeps its icon at the top */
.w-icon { flex: none; width: 28px; height: 28px; margin-top: calc(0.6em - 14px); color: var(--accent); }
.workshop .outcome { margin-top: 12px; max-width: 34em; font-size: 18px; line-height: 1.5; color: var(--gl-ink-2); text-wrap: pretty; }
/* Always open (Neil, version 2.6): outcome, "The value you get" with its bullets, then the duration
   as the last row. Columns stretch to equal height, so the durations line up across them */
.workshop .value-label {
  display: flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: var(--gl-text-ui); line-height: 1.4; font-weight: var(--gl-weight-semibold); color: var(--gl-ink);
}
.v-icon { flex: none; width: 18px; height: 18px; color: var(--accent); }
.value-list { display: grid; gap: 8px; margin-top: 10px; }
.workshop .duration {
  display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px;
  font-size: var(--gl-text-ui); line-height: 1.4; font-weight: var(--gl-weight-medium); color: var(--gl-ink);
}
.d-icon { flex: none; width: 18px; height: 18px; color: var(--gl-ink-3); }
.value-list li { position: relative; padding-left: 18px; font-size: var(--gl-text-ui); line-height: 1.5; color: var(--gl-ink-2); }
.value-list li::before {
  content: ""; position: absolute; left: 1px; top: calc(0.75em - 3px);
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* Getting going: what happens first, who the two people are, one coral action to the contact view */
.start-grid {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); grid-template-rows: auto 1fr;
  grid-template-areas: "intro people" "action people"; column-gap: clamp(40px, 5vw, 80px);
}
.start-intro { grid-area: intro; }
.people { grid-area: people; display: grid; gap: 28px; align-content: start; }
.start-action { grid-area: action; margin-top: 32px; }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.person img {
  display: block; width: 96px; height: 96px; object-fit: cover; filter: grayscale(1);
  border-radius: var(--gl-radius-node); box-shadow: 0 0 0 1px var(--gl-line); background: var(--gl-panel);
}
.person h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; font-weight: var(--gl-weight-semibold); }
.person .role { margin-top: 2px; font-size: var(--gl-text-ui); line-height: 1.45; color: var(--gl-ink-3); text-wrap: balance; }
.person .bio { margin-top: 8px; max-width: 40em; font-size: 16px; line-height: 1.55; color: var(--gl-ink-2); text-wrap: pretty; }

/* The rune: oversized, faint, cropped by the hairline above the footer */
.rune-stage {
  --rune-w: min(60vw, 780px);
  position: relative; overflow: hidden;
  height: calc(var(--rune-w) * 0.06 + var(--rune-w) / 0.8797 * 0.68);
  border-bottom: 1px solid var(--gl-line);
}
.rune {
  position: absolute; left: 50%; top: calc(var(--rune-w) * 0.06);
  width: var(--rune-w); height: auto; aspect-ratio: 32.333 / 36.756;
  transform: translateX(-50%); overflow: visible;
}
.rune path { fill: url(#rune-fill); }
.rune-a, .rune-b { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  /* The negative delay starts each chevron part way into its breath, so the drift is already
     visible when the band comes into view rather than easing out of a standstill */
  .rune-a { animation: rune-a var(--gl-rune-cycle) var(--gl-ease-rune) calc(var(--gl-rune-cycle) * -0.4) infinite alternate; }
  .rune-b { animation: rune-b var(--gl-rune-cycle) var(--gl-ease-rune) calc(var(--gl-rune-cycle) * -0.4) infinite alternate; }
  .rune-stage.rune-idle .rune path { animation-play-state: paused; }
}
/* Drift of 1.6 rune units (version 2.6, up from 1.3), about 5 percent of its width. It stays inside
   the 6 percent headroom above the rune, so the cropped composition holds */
@keyframes rune-a { from { transform: translate(0, 0); } to { transform: translate(-1.6px, -1.6px); } }
@keyframes rune-b { from { transform: translate(0, 0); } to { transform: translate(1.6px, 1.6px); } }

/* Footer: restrained. Logo, copyright and the legal links only */
.site-footer { background: var(--gl-white); }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; padding-block: 32px 40px; }
.foot-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; font-size: var(--gl-text-small); color: var(--gl-ink-3); }
.foot-legal ul { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; }
.foot-legal a { color: var(--gl-ink-2); text-decoration: none; padding-block: 4px; display: inline-block; }
.foot-legal a:hover { color: var(--gl-ink); text-decoration: underline; text-underline-offset: 3px; }
.draft-note { background: var(--gl-panel); color: var(--gl-ink-3); border-radius: var(--gl-radius-pill); padding: 3px 10px; }
.contact-page .site-footer { border-top: 1px solid var(--gl-line); }

/* Contact view: heading and direct details on the left, the form on a light grey panel on the right */
.contact { padding-block: clamp(32px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
/* "Where could your business perform better?" Stacked (under 1000 px) it scales with the screen: two
   lines on tablets, three on phones. Beside the form it is sized to three balanced lines in its
   column: 56 px at 1440, 48 px at 1024. Never a small subheading */
.contact h1 { font-size: clamp(36px, 6.8vw, 60px); line-height: 1.04; text-wrap: balance; }
@media (min-width: 1000px) { .contact h1 { font-size: clamp(48px, calc(1.92vw + 28.3px), 56px); } }
.contact .lead { margin-top: 20px; max-width: 26em; }
/* Email and phone side by side where they fit, stacked on phones */
.contact-details { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gl-line); display: flex; flex-wrap: wrap; gap: 16px 48px; }
.contact-details dt { font-size: var(--gl-text-small); color: var(--gl-ink-3); }
.contact-details dd { margin-top: 2px; font-size: var(--gl-text-body); font-weight: var(--gl-weight-medium); color: var(--gl-ink); white-space: nowrap; }
.contact-details a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; display: inline-block; padding-block: 2px; }
.contact-details a:hover { text-decoration-thickness: 2px; }
.contact-panel { min-width: 0; background: var(--gl-panel); border-radius: var(--gl-radius-panel); padding: clamp(20px, 3vw, 36px); }
.form-notice {
  margin-bottom: 20px; padding: 12px 16px; border-radius: 12px;
  background: var(--gl-amber-tint); color: var(--gl-ink); font-size: var(--gl-text-ui); line-height: 1.5;
}
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: var(--gl-text-ui); font-weight: var(--gl-weight-medium); line-height: 1.4; color: var(--gl-ink); }
.optional { font-weight: var(--gl-weight-regular); color: var(--gl-ink-3); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font-size: 16px; line-height: 1.4; color: var(--gl-ink);
  background: var(--gl-white); border: 1px solid var(--gl-field-line); border-radius: 12px;
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--gl-ink-3); opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 2px; border-color: var(--gl-purple-strong); border-radius: 12px; }
.field [aria-invalid="true"] { border-color: var(--gl-error); box-shadow: inset 0 0 0 1px var(--gl-error); }
.field-error { font-size: 14px; line-height: 1.4; font-weight: var(--gl-weight-medium); color: var(--gl-error); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.captcha { margin-top: 22px; display: grid; gap: 6px; }
.recaptcha-slot { min-height: 78px; }
.recaptcha-preview {
  display: grid; place-items: center; max-width: 304px; min-height: 78px; padding: 12px 16px;
  border: 1px dashed var(--gl-field-line); border-radius: 12px;
  font-size: var(--gl-text-small); line-height: 1.45; color: var(--gl-ink-3); text-align: center;
}
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { flex: 1 1 220px; font-size: var(--gl-text-ui); line-height: 1.5; color: var(--gl-ink-2); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--gl-error); font-weight: var(--gl-weight-medium); }
.form-success h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; letter-spacing: var(--gl-track-heading); font-weight: var(--gl-weight-semibold); }
.form-success p { margin-top: 10px; font-size: var(--gl-text-body); color: var(--gl-ink-2); }
.form-success:focus { outline: none; }

/* Draft legal pages */
.legal-page { padding-block: clamp(32px, 5vw, 64px) var(--gl-section); }
.legal-page .wrap { max-width: 760px; }
.draft-banner {
  background: var(--gl-panel); border-radius: 16px; padding: 16px 20px; margin-bottom: 40px;
  font-size: var(--gl-text-ui); color: var(--gl-ink);
}
.draft-banner strong { font-weight: var(--gl-weight-semibold); }
.legal-page h1 { font-size: clamp(34px, 5vw, 52px); }
.legal-page h2 { font-size: 22px; letter-spacing: var(--gl-track-heading); font-weight: var(--gl-weight-semibold); margin-top: 40px; }
.legal-page h3 { font-size: 18px; letter-spacing: var(--gl-track-heading); font-weight: var(--gl-weight-semibold); margin-top: 28px; color: var(--gl-ink); }
.legal-page p, .legal-page li { color: var(--gl-ink-2); margin-top: 12px; }
.legal-page ul { list-style: disc; padding-left: 22px; }
.legal-page strong { color: var(--gl-ink); font-weight: var(--gl-weight-semibold); }
.legal-page em { font-style: normal; background: var(--gl-amber-tint); color: var(--gl-ink); border-radius: 4px; padding: 0 4px; }
.back-link { text-decoration: none; color: var(--gl-ink-2); font-size: var(--gl-text-ui); font-weight: var(--gl-weight-medium); }
.back-link:hover { color: var(--gl-ink); }

/* Smaller screens */
@media (max-width: 999px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "device" "lead"; grid-template-rows: auto; }
  .device-card { margin-top: 36px; }
  .lead { margin-top: 36px; }
  .stages { grid-template-columns: minmax(0, 1fr); --node: 56px; }
  .stage { display: grid; grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 22px; padding-bottom: 52px; }
  .stage:last-child { padding-bottom: 0; }
  .stage .node { grid-column: 1; grid-row: 1 / span 3; }
  .stage > :not(.node) { grid-column: 2; }
  .stage h2 { margin-top: 12px; }
  .node .ico { width: 32px; height: 32px; }
  .stage:not(:last-child)::before { top: calc(var(--node) + 12px); bottom: 12px; left: calc(var(--node) / 2 - 0.75px); right: auto; width: 1.5px; height: auto; }
  .stage:not(:last-child)::after { top: auto; bottom: 14px; left: calc(var(--node) / 2 - 5px); right: auto; transform: rotate(135deg); }
  .evidence-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .start-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "intro" "people" "action"; }
  .people { margin-top: 36px; }
  .start-action { margin-top: 36px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact .lead { margin-top: 16px; }
}
@media (max-width: 760px) {
  .rune-stage { --rune-w: min(84vw, 520px); }
  .workshop-grid { grid-template-columns: minmax(0, 1fr); }
  .workshop { padding-right: 0; }
  .workshop + .workshop { padding-left: 0; border-left: 0; border-top: 1px solid var(--gl-line); margin-top: 36px; padding-top: 36px; }
  .foot-row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .clients { --logo-h: 24px; --clients-gap: 40px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn-coral { width: 100%; }
}
@media (max-width: 560px) {
  .site-header .wrap { min-height: 68px; padding-block: 12px; }
  .logo { height: 26px; }
  .site-header .logo { height: 30px; }
  .stage { column-gap: 18px; padding-bottom: 44px; }
  .stage .tag { font-size: 17px; }
  .device-card { padding-inline: 8px; }
  .person { column-gap: 16px; }
  .contact-details { margin-top: 24px; padding-top: 20px; }
}
/* The narrowest phones: the portrait sits above the text so the bios keep a readable measure */
@media (max-width: 380px) {
  .person { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
}
