/* Generated from design/tokens.json (Linkhaus Design System v2.0). Do not edit. */
@font-face { font-family: "Baloo 2"; src: url("fonts/Baloo2-Variable.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/Inter-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/JetBrainsMono-Variable.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
:root {
  --lh-ink-900: #16171a;
  --lh-ink-700: #212226;
  --lh-grey-500: #5b5d63;
  --lh-grey-300: #9a9ca3;
  --lh-grey-100: #e2e3e0;
  --lh-paper: #ffffff;
  --lh-green-800: #2d4422;
  --lh-green: #446732;
  --lh-green-400: #93bf7d;
  --lh-green-100: #e3edde;
  --lh-olive-950: #25271f;
  --lh-olive-900: #393b2f;
  --lh-olive-800: #33352b;
  --lh-olive-700: #4e5041;
  --lh-olive-500: #78765f;
  --lh-olive-300: #ada890;
  --lh-olive-100: #e2ddcc;
  --lh-stone: #b7b39b;
  --lh-cream: #f2efe4;
  --lh-cream-50: #f8f4ec;
  --lh-space-1: 4px;
  --lh-space-2: 8px;
  --lh-space-3: 12px;
  --lh-space-4: 16px;
  --lh-space-5: 24px;
  --lh-space-6: 32px;
  --lh-space-7: 48px;
  --lh-space-8: 64px;
  --lh-space-9: 96px;
  --lh-radius-xs: 4px;
  --lh-radius-sm: 8px;
  --lh-radius-md: 12px;
  --lh-radius-lg: 16px;
  --lh-radius-tile: 22%;
  --lh-radius-pill: 100px;
  --lh-shadow-1: 0 1px 2px rgba(45, 38, 30, 0.06), 0 2px 8px rgba(45, 38, 30, 0.05);
  --lh-shadow-2: 0 4px 16px rgba(45, 38, 30, 0.08);
  --lh-container: 1140px;
  --lh-gutter: clamp(20px, 5vw, 64px);
  --lh-measure: 65ch;
  --lh-header-height: 72px;
  --lh-logo-min-lockup: 120px;
  --lh-logo-min-icon: 16px;
  --lh-grid-texture: 48px;
  --lh-grid-opacity: 0.04;
  --font-display: "Baloo 2", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
:root, [data-theme="light"] {
  --lh-bg: #ffffff;
  --lh-surface: #ffffff;
  --lh-surface-sunk: #e2e3e0;
  --lh-text: #16171a;
  --lh-text-muted: #5b5d63;
  --lh-rule: #16171a;
  --lh-border: #e2e3e0;
  --lh-control-border: #5b5d63;
  --lh-accent: #446732;
  --lh-accent-pressed: #2d4422;
  --lh-on-accent: #ffffff;
  --lh-accent-tint: #e3edde;
  --lh-on-accent-tint: #2d4422;
  --lh-focus: #446732;
  --lh-window: #446732;
  --accent: #446732;
}
[data-theme="dark"] {
  --lh-bg: #16171a;
  --lh-surface: #212226;
  --lh-surface-sunk: #212226;
  --lh-text: #ffffff;
  --lh-text-muted: #9a9ca3;
  --lh-rule: #ffffff;
  --lh-border: #2e3035;
  --lh-control-border: #9a9ca3;
  --lh-accent: #93bf7d;
  --lh-accent-pressed: #e3edde;
  --lh-on-accent: #16171a;
  --lh-accent-tint: #2d4422;
  --lh-on-accent-tint: #93bf7d;
  --lh-focus: #93bf7d;
  --lh-window: #93bf7d;
  --accent: #93bf7d;
  color-scheme: dark;
}
[data-theme] { color: var(--lh-text); }

/* Linkhaus components · v2 · 30 Oct 2026
   Class names match the AGT-37 site (site.css) so the site can adopt this file directly.
   Every colour comes from a semantic token, so each component works in all four themes. */

/* ---------- Compatibility layer: names the AGT-37 site already uses ---------- */
:root {
  --lh-font-display: var(--font-display);
  --lh-font-body: var(--font-body);
  --lh-font-mono: var(--font-mono);
  --lh-text-display-xl: 700 64px/67px var(--font-display);
  --lh-text-h1: 700 36px/41px var(--font-display);
  --lh-text-h2: 600 28px/35px var(--font-display);
  --lh-text-h3: 600 22px/29px var(--font-body);
  --lh-text-body-l: 400 18px/27px var(--font-body);
  --lh-text-body: 400 16px/24px var(--font-body);
  --lh-text-caption: 500 12px/16px var(--font-mono);
  --lh-caption-tracking: 0.07em;
  /* Motion: quiet and functional */
  --lh-dur-fast: 120ms;
  --lh-dur-base: 200ms;
  --lh-dur-slow: 400ms;
  --lh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
  :root { --lh-dur-fast: 0ms; --lh-dur-base: 0ms; --lh-dur-slow: 0ms; }
}

/* ---------- Base ---------- */
body { margin: 0; font: var(--lh-text-body); color: var(--lh-text); background: var(--lh-bg); }
a { color: var(--lh-accent); text-underline-offset: 3px; transition: color var(--lh-dur-fast) var(--lh-ease); }
a:hover { color: var(--lh-accent-pressed); }
:focus-visible { outline: 3px solid var(--lh-focus); outline-offset: 3px; border-radius: var(--lh-radius-sm); }
.cap { font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); text-transform: uppercase; color: var(--lh-text-muted); margin: 0 0 var(--lh-space-2); }
.eyebrow { color: var(--lh-accent); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.small { font: var(--lh-text-body); color: var(--lh-text-muted); margin: 0; }
.fine { font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); color: var(--lh-text-muted); max-width: var(--lh-measure); margin: var(--lh-space-4) 0 0; }
.lede { font: var(--lh-text-body-l); max-width: var(--lh-measure); margin: var(--lh-space-5) 0; }

/* ---------- Button: colour change only, no lift ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--lh-space-2);
  font: 600 16px/24px var(--font-body); padding: 12px 20px; border-radius: var(--lh-radius-sm);
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--lh-dur-fast) var(--lh-ease), color var(--lh-dur-fast) var(--lh-ease), border-color var(--lh-dur-fast) var(--lh-ease), transform 200ms var(--lh-ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn--sm { padding: 8px 14px; }
.btn--primary { background: var(--lh-accent); color: var(--lh-on-accent); }
@media (hover: hover) { .btn--primary:hover { background: var(--lh-accent-pressed); color: var(--lh-on-accent); } }
.btn--outline { background: transparent; color: var(--lh-text); border-color: var(--lh-rule); }
@media (hover: hover) { .btn--outline:hover { background: var(--lh-text); color: var(--lh-bg); } }
.btn--tertiary { background: transparent; color: var(--lh-text); border-color: var(--lh-control-border); }
@media (hover: hover) { .btn--tertiary:hover { border-color: var(--lh-rule); } }
.btn:focus-visible { outline: 3px solid var(--lh-focus); outline-offset: 3px; }
/* Held: clickable so validation runs, visibly not live */
.btn[aria-disabled="true"] { cursor: pointer; }
.btn--primary[aria-disabled="true"] { border: 1.5px dashed var(--lh-accent-tint); box-shadow: inset 0 0 0 1px var(--lh-accent-pressed); }
.btn--primary[aria-disabled="true"]:hover { background: var(--lh-accent); }
.btn--outline[aria-disabled="true"], .btn--tertiary[aria-disabled="true"] { border-style: dashed; border-color: var(--lh-rule); }
.btn--outline[aria-disabled="true"]:hover { background: transparent; color: var(--lh-text); }
.held { font: var(--lh-text-caption); letter-spacing: .04em; color: var(--lh-text-muted); margin: var(--lh-space-3) 0 0; }
.held::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lh-accent); margin-right: 6px; vertical-align: middle; }
.textlink { font-weight: 600; color: var(--lh-text); text-decoration: underline; text-decoration-color: var(--lh-accent); text-decoration-thickness: 2px; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--lh-text); text-decoration: underline; cursor: pointer; text-align: left; }

/* ---------- Badge and stamp ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--lh-radius-pill); background: var(--lh-accent-tint); color: var(--lh-on-accent-tint); }
.badge--neutral { background: var(--lh-surface-sunk); color: var(--lh-text); }
.stamp { display: inline-block; font: var(--lh-text-caption); letter-spacing: .12em; text-transform: uppercase; color: var(--lh-text);
  border: 1.5px solid var(--lh-rule); padding: 2px 8px; border-radius: var(--lh-radius-xs); transform: rotate(-2deg); }

/* ---------- Section head ---------- */
.sect__head { border-top: 2px solid var(--lh-rule); box-shadow: 0 4px 0 -3px var(--lh-border); padding-top: var(--lh-space-5);
  margin-bottom: var(--lh-space-6); display: grid; grid-template-columns: 200px 1fr; column-gap: var(--lh-space-6); row-gap: var(--lh-space-2); }
.sect__head > .cap { grid-row: 1; padding-top: 6px; }
.sect__head h2 { grid-column: 2; grid-row: 1; font: var(--lh-text-h2); margin: 0; color: var(--lh-text); }
.sect__head .small { grid-column: 2; }
@media (max-width: 900px) { .sect__head { grid-template-columns: 1fr; } .sect__head h2, .sect__head .small { grid-column: 1; grid-row: auto; } .sect__head > .cap { grid-row: auto; padding-top: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 2px solid var(--lh-rule); }
.stats div { padding: var(--lh-space-4) var(--lh-space-4) 0 0; border-right: 1px solid var(--lh-border); margin-right: var(--lh-space-4); }
.stats div:last-child { border-right: 0; }
.stats dt { font: 500 28px/34px var(--font-body); color: var(--lh-text); font-variant-numeric: tabular-nums; }
.stats dd { margin: var(--lh-space-1) 0 0; font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); color: var(--lh-text-muted); }
@media (max-width: 640px) { .stats dt { font-size: 20px; line-height: 28px; } .stats div { padding-right: var(--lh-space-2); margin-right: var(--lh-space-2); } }

/* ---------- Runsheet: the ruled ledger card ---------- */
.runsheet { border: 1px solid var(--lh-border); border-top: 2px solid var(--lh-rule); padding: var(--lh-space-5); background: var(--lh-surface); }
.runsheet__head { display: flex; align-items: center; gap: 10px; padding-bottom: var(--lh-space-3); margin-bottom: var(--lh-space-2); border-bottom: 2px solid var(--lh-rule); }
.runsheet__head .cap { margin: 0; color: var(--lh-text); }
.runsheet__stamp { width: 18px; height: 18px; flex-shrink: 0; display: block; }
.runsheet table { width: 100%; border-collapse: collapse; font: var(--lh-text-body); }
.runsheet th, .runsheet td { text-align: left; vertical-align: top; padding: 8px 0; border-bottom: 1px solid var(--lh-border); }
.runsheet thead th { font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); text-transform: uppercase; color: var(--lh-text-muted); }
.runsheet tbody th { font-weight: 600; padding-right: var(--lh-space-4); width: 46%; color: var(--lh-text); }
.runsheet td { color: var(--lh-text-muted); font-variant-numeric: tabular-nums; }
.runsheet tr.total th, .runsheet tr.total td { border-bottom: 2px solid var(--lh-rule); color: var(--lh-text); padding-top: 12px; font-weight: 600; }

/* ---------- Tiers ---------- */
.tiers { list-style: none; margin: 0; padding: 0; }
.tiers li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--lh-space-4); padding: var(--lh-space-3) 0; border-bottom: 1px solid var(--lh-border); }
.tier__n { font-weight: 600; margin: 0; color: var(--lh-text); }
.price { margin: 0; font-weight: 500; white-space: nowrap; color: var(--lh-text); font-variant-numeric: tabular-nums; }
.tier--full { border-left: 3px solid var(--lh-accent); padding-left: var(--lh-space-3) !important; background: var(--lh-surface-sunk); }
.tier--full .price { padding-right: var(--lh-space-3); }
.tier--full .tier__n { font-family: var(--font-display); font-size: 18px; }
@media (max-width: 420px) { .tiers li { flex-direction: column; align-items: flex-start; gap: var(--lh-space-1); } .price { white-space: normal; } }

/* ---------- Method steps ---------- */
.method { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--lh-border); }
.method li { padding: var(--lh-space-5) var(--lh-space-4) var(--lh-space-5) 0; border-right: 1px solid var(--lh-border); margin-right: var(--lh-space-4); }
.method li:last-child { border-right: 0; }
.method li > .mono:first-child { display: block; font: 500 18px/24px var(--font-mono); color: var(--lh-accent); margin-bottom: var(--lh-space-3); }
.method h3 { font: 600 20px/26px var(--font-display); margin: 0 0 var(--lh-space-2); color: var(--lh-text); }
.method p { margin: 0; color: var(--lh-text-muted); }
.method__meta { font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); color: var(--lh-text-muted); margin: var(--lh-space-3) 0 0; border-top: 1px dashed var(--lh-border); padding-top: var(--lh-space-2); }
@media (max-width: 900px) { .method { grid-template-columns: 1fr 1fr; } .method li:nth-child(2) { border-right: 0; } }
@media (max-width: 640px) { .method { grid-template-columns: 1fr; } .method li { border-right: 0; border-bottom: 1px solid var(--lh-border); margin-right: 0; } }

/* ---------- Panel ---------- */
.panel { border: 1px solid var(--lh-border); border-radius: var(--lh-radius-md); padding: var(--lh-space-6); background: var(--lh-surface); display: flex; flex-direction: column; }
.panel h3 { font: 600 18px/25px var(--font-body); margin: var(--lh-space-2) 0 var(--lh-space-3); color: var(--lh-text); }
.panel ul { margin: 0 0 var(--lh-space-2); padding-left: 18px; color: var(--lh-text-muted); line-height: 28px; }
.panel__meta { font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); color: var(--lh-text-muted); border-top: 1px solid var(--lh-border); padding-top: var(--lh-space-3); margin: auto 0 0; }
.panel--ledger { border: 0; border-top: 2px solid var(--lh-rule); border-radius: 0; padding: var(--lh-space-4) 0 0; background: transparent; }
.panel--ledger ul { list-style: none; padding-left: 0; }
.panel--ledger li { border-bottom: 1px solid var(--lh-border); padding: 6px 0; }
@media (max-width: 640px) { .panel { padding: var(--lh-space-4); } }

/* ---------- Ledger list (Beyond the retainer) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--lh-space-4); padding: 10px 0; border-bottom: 1px solid var(--lh-border); font: 600 16px/24px var(--font-body); color: var(--lh-text); }
.ledger .small { font-weight: 400; }
.ledger__title { display: flex; align-items: center; gap: 10px; }
.ledger__mark { width: 22px; height: 22px; flex-shrink: 0; color: var(--lh-text); }
@media (max-width: 640px) { .ledger li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Docket: engage rows ---------- */
.docket { border-left: 4px solid var(--lh-border); }
.docket__row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--lh-space-6); padding: var(--lh-space-7) var(--lh-space-6); border-bottom: 1px solid var(--lh-border); }
.docket__row:last-child { border-bottom: 0; }
.docket__lbl > .cap { color: var(--lh-text); }
.docket__lbl > .cap::first-letter { color: var(--lh-accent); }
.docket__lbl h3 { font: 600 22px/28px var(--font-display); margin: var(--lh-space-2) 0; color: var(--lh-text); }
@media (max-width: 900px) { .docket__row { grid-template-columns: 1fr; padding: var(--lh-space-6) var(--lh-space-5); } }
@media (max-width: 640px) { .docket__row { padding: var(--lh-space-5) 0 var(--lh-space-5) var(--lh-space-4); } }

/* ---------- Fields ---------- */
.frm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--lh-space-4); }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld--wide { grid-column: 1 / -1; }
.fld__l { font: 600 16px/24px var(--font-body); color: var(--lh-text); }
.fld__l em { font-weight: 400; font-style: normal; color: var(--lh-text-muted); }
.fld__req { font: var(--lh-text-caption); letter-spacing: .06em; color: var(--lh-text-muted); margin-left: 6px; font-weight: 400; }
.fld input, .fld select, .fld textarea { font: 400 16px/24px var(--font-body); color: var(--lh-text); background: var(--lh-surface);
  border: 1px solid var(--lh-control-border); border-radius: var(--lh-radius-sm); padding: 10px 12px; min-height: 44px; width: 100%; box-sizing: border-box;
  transition: border-color var(--lh-dur-fast) var(--lh-ease); }
.fld textarea { resize: vertical; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: 3px solid var(--lh-focus); outline-offset: 2px; border-color: var(--lh-focus); }
.fld [aria-invalid="true"] { border-color: var(--lh-rule); box-shadow: inset 3px 0 0 var(--lh-rule); }
.fld.is-ok input, .fld.is-ok select, .fld.is-ok textarea { border-color: var(--lh-accent); }
.hint { font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); color: var(--lh-text-muted); }
.fld__err { display: block; margin-top: 2px; font: var(--lh-text-caption); letter-spacing: .02em; color: var(--lh-text); font-weight: 500; }
.fld__err::before { content: "! "; font-family: var(--font-mono); }
.fld__err[hidden] { display: none; }
.chk { display: flex; gap: var(--lh-space-2); align-items: flex-start; margin-top: var(--lh-space-3); color: var(--lh-text-muted); }
.chk input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--lh-accent); flex: none; }
.frm__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lh-space-4); margin-top: var(--lh-space-5); }
@media (max-width: 640px) { .frm__grid { grid-template-columns: 1fr; } .frm__foot .btn { width: 100%; } }

/* ---------- Status strip ---------- */
.frm__status { font: var(--lh-text-body); margin: var(--lh-space-3) 0 0; padding: 8px 12px; border-left: 3px solid var(--lh-rule); background: var(--lh-surface-sunk); color: var(--lh-text); }
.frm__status:not(.is-ok)::before { content: "Needs attention. "; font-weight: 600; }
.frm__status.is-ok { border-left-color: var(--lh-accent); background: var(--lh-accent-tint); color: var(--lh-on-accent-tint); }
.frm__status.is-ok::before { content: "Ready. "; font-weight: 600; }
.frm__status.is-held { box-shadow: inset 0 0 0 1px var(--lh-accent); }
.frm__status.is-held::before { content: "Held, ready. "; }
.draft { font: var(--lh-text-caption); letter-spacing: .04em; border-left: 3px solid var(--lh-rule); padding: var(--lh-space-2) var(--lh-space-3); background: var(--lh-surface-sunk); color: var(--lh-text); }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; background: var(--lh-surface); border-bottom: 1px solid var(--lh-border); transition: box-shadow var(--lh-dur-base) var(--lh-ease); }
.hdr.is-scrolled { box-shadow: var(--lh-shadow-1); }
.hdr__in { display: flex; align-items: center; gap: var(--lh-space-6); min-height: var(--lh-header-height); padding: 0 var(--lh-gutter); }
.hdr__logo img { width: 148px; height: auto; min-width: var(--lh-logo-min-lockup); display: block; }
.hdr__tag { font: var(--lh-text-caption); letter-spacing: .03em; color: var(--lh-text-muted); margin: 0; padding-left: var(--lh-space-5); border-left: 1px solid var(--lh-border); }
.hdr__nav { display: flex; gap: var(--lh-space-5); margin-left: auto; }
.hdr__nav a { color: var(--lh-text); text-decoration: none; font: 500 16px/24px var(--font-body); padding: var(--lh-space-2) 0; border-bottom: 2px solid transparent; }
.hdr__nav a:hover, .hdr__nav a[aria-current] { border-bottom-color: var(--lh-accent); }
@media (max-width: 1100px) { .hdr__tag { display: none; } }
@media (max-width: 640px) { .hdr__nav { display: none; } }

/* ---------- Footer ---------- */
.ftr { border-top: 2px solid var(--lh-rule); background: var(--lh-surface); padding: var(--lh-space-7) var(--lh-gutter) var(--lh-space-6); }
.ftr__grid { display: grid; grid-template-columns: 1.1fr 1.2fr .7fr; gap: var(--lh-space-7); }
.ftr__tag { font: var(--lh-text-caption); color: var(--lh-text-muted); margin: var(--lh-space-3) 0 var(--lh-space-5); }
.ftr__links { display: flex; flex-direction: column; gap: var(--lh-space-2); }
.ftr__links a { color: var(--lh-text); }
.ftr__base { border-top: 1px solid var(--lh-border); margin-top: var(--lh-space-6); padding-top: var(--lh-space-4); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr; } }

/* ---------- Cookie bar: bottom docket, never a modal ---------- */
.cookie { background: var(--lh-surface); border-top: 2px solid var(--lh-rule); box-shadow: var(--lh-shadow-2); }
.cookie--fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
.cookie__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lh-space-4); padding: var(--lh-space-3) var(--lh-gutter); }
.cookie__in > .cap { margin: 0; }
.cookie__txt { flex: 1; min-width: 240px; margin: 0; color: var(--lh-text); }
.cookie__act { display: flex; gap: var(--lh-space-2); flex-wrap: wrap; }

/* ---------- Capability icon ---------- */
.lh-icon { width: 24px; height: 24px; color: var(--lh-text); flex: none; }
.lh-icon--lg { width: 34px; height: 34px; }

/* ---------- Texture: the 48 px grid on dark covers ---------- */
.texture-grid { background-image: linear-gradient(var(--lh-border) 1px, transparent 1px), linear-gradient(90deg, var(--lh-border) 1px, transparent 1px); background-size: var(--lh-grid-texture) var(--lh-grid-texture); }

/* Linkhaus site layer. Sits on top of the design system tokens and bundle.css.
   Every colour is a semantic lh- token so any section can switch with data-theme="dark". */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { text-wrap: balance; }
h1 { font: var(--lh-text-h1); font-size: clamp(36px, 4.6vw, 52px); line-height: 1.08; margin: 0 0 var(--lh-space-4); max-width: 20ch; color: var(--lh-text); }
h2 { font: var(--lh-text-h2); margin: 0; color: var(--lh-text); }
h3 { font: var(--lh-text-h3); margin: 0 0 var(--lh-space-3); }
.cap a { color: inherit; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lh-text); color: var(--lh-bg); padding: 8px 14px; border-radius: var(--lh-radius-sm); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--lh-container) + 2 * var(--lh-gutter)); margin: 0 auto; padding: 0 var(--lh-gutter); }
.hdr__in, .ftr__grid, .ftr__base, .cookie__in { max-width: calc(var(--lh-container) + 2 * var(--lh-gutter)); margin-left: auto; margin-right: auto; }
.ftr { padding-left: 0; padding-right: 0; }
.ftr__grid, .ftr__base { padding-left: var(--lh-gutter); padding-right: var(--lh-gutter); }
@media (min-width: 901px) { .ftr__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.ftr__grid .small { margin-bottom: var(--lh-space-1); }
.ftr__links .linkbtn { color: var(--lh-text); font: inherit; text-decoration: underline; }
.btn--sm { min-height: 44px; }

/* ---------- Header extras ---------- */
.hdr__menu { display: none; margin-left: auto; }
.mnav { display: grid; gap: var(--lh-space-1); padding: var(--lh-space-3) var(--lh-gutter) var(--lh-space-5); border-top: 1px solid var(--lh-border); background: var(--lh-surface); box-shadow: var(--lh-shadow-1); }
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { color: var(--lh-text); text-decoration: none; font: 500 18px/24px var(--font-body); padding: 12px 0; border-bottom: 1px solid var(--lh-border); min-height: 44px; }
.mnav .btn { margin-top: var(--lh-space-3); }
.mnav > * { opacity: 0; transform: translateY(8px); transition: opacity var(--lh-dur-base) var(--lh-ease), transform var(--lh-dur-base) var(--lh-ease); transition-delay: calc(var(--i, 0) * 40ms); }
.mnav.is-open > * { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; margin-left: var(--lh-space-2); }
  .hdr__book { margin-left: auto; }
  .hdr__in:not(:has(.hdr__book)) .hdr__menu { margin-left: auto; }
  .hdr__in { gap: var(--lh-space-4); }
}
@media (max-width: 520px) { .hdr__book { display: none; } .hdr__menu { margin-left: auto; } }
@media (min-width: 901px) { .mnav { display: none !important; } }

/* ---------- Mobile call and enquiry bar ---------- */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--lh-space-2); padding: var(--lh-space-2) var(--lh-gutter) calc(var(--lh-space-2) + env(safe-area-inset-bottom)); background: var(--lh-surface); border-top: 2px solid var(--lh-rule); }
  .mbar .btn { min-height: 44px; padding: 8px 12px; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .cookie--fixed { bottom: calc(64px + env(safe-area-inset-bottom)); }
}
.cookie[hidden] { display: none; }
.cookie__act .btn { min-height: 44px; }

/* ---------- Sections ---------- */
.sect { padding: var(--lh-space-8) 0 0; }
.sect:last-of-type { padding-bottom: var(--lh-space-9); }
@media (max-width: 640px) { .sect { padding-top: var(--lh-space-7); } }
.pagehead { padding: var(--lh-space-8) 0 var(--lh-space-3); }
.pagehead h1 { max-width: 22ch; }
.pagehead .lede { max-width: 60ch; }
.hero__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--lh-space-4) var(--lh-space-5); margin-top: var(--lh-space-5); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--lh-space-5); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.panel .panel__meta { margin-top: auto; }
.panel--wide { grid-column: 1 / -1; }
.plain { list-style: none; padding: 0 !important; margin: 0; line-height: 28px; }
.plain li { padding: 6px 0; border-bottom: 1px solid var(--lh-border); color: var(--lh-text); }
.ledger--price .small { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--lh-space-2) var(--lh-space-4); }
.price.mono { font-family: var(--font-mono); font-size: 16px; }
.tiers .small { margin-top: 2px; max-width: 52ch; }
.method--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .method--three { grid-template-columns: 1fr; } .method--three li { border-right: 0; border-bottom: 1px solid var(--lh-border); margin-right: 0; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--lh-space-6); margin: var(--lh-space-5) 0 0; border-top: 2px solid var(--lh-rule); }
.facts div { padding: var(--lh-space-3) 0; border-bottom: 1px solid var(--lh-border); }
.facts dt { font: var(--lh-text-caption); letter-spacing: var(--lh-caption-tracking); text-transform: uppercase; color: var(--lh-text-muted); }
.facts dd { margin: 4px 0 0; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.runsheet { overflow-x: auto; }
.runsheet table { min-width: 520px; }
.runsheet th[scope="col"]:last-child, .runsheet td:last-child { white-space: nowrap; }
@media (max-width: 640px) {
  .runsheet table { min-width: 0; }
  .runsheet thead { position: absolute; left: -9999px; }
  .runsheet table, .runsheet tbody, .runsheet tr, .runsheet th, .runsheet td { display: block; width: auto !important; }
  .runsheet tr { padding: var(--lh-space-3) 0; border-bottom: 1px solid var(--lh-border); }
  .runsheet th, .runsheet td { border: 0 !important; padding: 2px 0 !important; }
  .runsheet td:last-child { white-space: normal; color: var(--lh-text); font-weight: 500; }
}

/* ---------- Closing call to action ---------- */
.sect--close { border-top: 2px solid var(--lh-rule); margin-top: var(--lh-space-8); padding-top: var(--lh-space-7); padding-bottom: var(--lh-space-9); }
.close { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--lh-space-6); align-items: end; }
.close .lede { margin-bottom: 0; }
@media (max-width: 800px) { .close { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--lh-rule); }
.faq details { border-bottom: 1px solid var(--lh-border); }
.faq summary { cursor: pointer; list-style: none; font: 600 18px/25px var(--font-body); padding: var(--lh-space-4) 0; display: flex; justify-content: space-between; gap: var(--lh-space-4); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--lh-accent); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 var(--lh-space-4); max-width: var(--lh-measure); color: var(--lh-text-muted); }
.faq summary:focus-visible { outline: 3px solid var(--lh-focus); outline-offset: 3px; }

/* ---------- Contact form ---------- */
.contact { display: grid; grid-template-columns: .7fr 1.3fr; gap: var(--lh-space-7); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: var(--lh-space-5); } }
.frm__h { margin-bottom: var(--lh-space-5); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.frm__status[hidden] { display: none; }
.frm__status:not(.is-ok)::before { content: "Needs attention. "; }
.btn[disabled] { opacity: .6; cursor: progress; }
.fld select { appearance: auto; }

/* ---------- Hero (dark section, one green word) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--lh-bg); color: var(--lh-text); min-height: min(calc(100svh - var(--lh-header-height)), 820px); display: flex; align-items: flex-end; }
.hero__grid { position: absolute; inset: 0; z-index: -1; opacity: calc(var(--lh-grid-opacity) * 1.5);
  background-image: linear-gradient(var(--lh-text) 1px, transparent 1px), linear-gradient(90deg, var(--lh-text) 1px, transparent 1px);
  background-size: var(--lh-grid-texture) var(--lh-grid-texture); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); mask-image: linear-gradient(180deg, transparent, #000 30%); }
.hero .wrap { display: flex; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--lh-space-7); align-items: end; width: 100%; padding: var(--lh-space-8) 0 var(--lh-space-8); }
.hero__h1 { font: 700 clamp(34px, 5.4vw, 62px)/1.04 var(--font-display); letter-spacing: -.01em; max-width: none; margin: var(--lh-space-3) 0 var(--lh-space-5); }
.hero__h1 span { display: block; }
@media (min-width: 700px) { .hero__h1 span { white-space: nowrap; } }
.hero__h1 em { font-style: normal; color: var(--lh-accent); }
.hero .lede { color: var(--lh-text); opacity: .86; }
.hero .fine { color: var(--lh-text-muted); }
.hero .btn--primary { background: var(--lh-accent); color: var(--lh-on-accent); }
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; gap: var(--lh-space-5); padding: var(--lh-space-6) 0 var(--lh-space-7); }
  .mark3d { order: -1; justify-self: start; }
}

/* ---------- Scroll-driven logo mark (CSS 3D, transforms only) ---------- */
.mark3d { --stage: 280px; perspective: 1100px; perspective-origin: 50% 40%; width: var(--stage); justify-self: end; pointer-events: none; }
@media (max-width: 900px) { .mark3d { --stage: 112px; } }
.mark3d__stage { position: relative; width: 100%; aspect-ratio: 48 / 54; transform-style: preserve-3d; transform: rotateX(calc(var(--rx, 8) * 1deg)) rotateY(calc(var(--ry, -24) * 1deg)) translateY(calc(var(--ty, 0) * 1px)); will-change: transform; }
.mark3d__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: translateZ(calc(var(--i) * -7px));
  color: color-mix(in srgb, var(--lh-text) calc(100% - var(--i) * 6%), var(--lh-bg)); }
@media (max-width: 900px) { .mark3d__layer { transform: translateZ(calc(var(--i) * -2px)); } }
@media (prefers-reduced-motion: reduce) { .mark3d__stage { transform: none; will-change: auto; } .mark3d__layer { transform: none; } .mark3d__layer:not(:last-child) { display: none; } }
.hdr__tag { display: none; }

.nw { white-space: nowrap; }

/* ---------- Round 2: richer layout (hero panel, line-drawn mark, bands, dark page heads) ---------- */
section[data-theme="dark"] { background: var(--lh-bg); color: var(--lh-text); }
.band { padding: var(--lh-space-8) 0; }
.band--sunk { background: var(--lh-surface-sunk); }
.sect--close { margin-top: 0; border-top: 0; position: relative; isolation: isolate; overflow: hidden; padding: var(--lh-space-9) 0; }
.sect--close .big { font-size: clamp(30px, 4.6vw, 52px); max-width: 18ch; margin-bottom: var(--lh-space-3); }
.big { font: 700 clamp(32px, 5vw, 64px)/1.06 var(--font-display); max-width: 20ch; margin: var(--lh-space-3) 0 var(--lh-space-5); color: var(--lh-text); letter-spacing: -.01em; }
.big em { font-style: normal; color: var(--lh-accent); }
.band--thesis { padding: var(--lh-space-9) 0; }
.band--thesis .lede { opacity: .8; }

.hero { align-items: center; }
.hero__in { grid-template-columns: 1fr; gap: var(--lh-space-6); align-items: center; padding: var(--lh-space-8) 0; }
@media (min-width: 1280px) { .hero__in { grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; } }
.hero__h1 { font-size: clamp(34px, 4.4vw, 56px); }
.hero__act { margin-top: var(--lh-space-5); }
.enq { background: var(--lh-surface); border: 1px solid var(--lh-border); border-top: 2px solid var(--lh-rule); padding: var(--lh-space-6); position: relative; }
.enq .cap { margin-bottom: 0; }
.enq__h { font: 700 24px/30px var(--font-display); margin: var(--lh-space-2) 0 var(--lh-space-5); max-width: none; }
.enq .fld { margin-bottom: 14px; }
.enq .btn { width: 100%; margin-top: var(--lh-space-2); }
.enq .fine { margin-top: var(--lh-space-3); }
@media (max-width: 640px) { .enq { padding: var(--lh-space-5) var(--lh-space-4); } }

.hero__mark { position: absolute; z-index: -1; right: -3%; top: 50%; width: min(640px, 52vw); --stage: auto; justify-self: auto; opacity: .16; transform: translateY(-50%); }
@media (max-width: 1279px) { .hero__mark { width: min(380px, 70vw); right: -8%; top: 14%; transform: none; opacity: .12; } }
@media (max-width: 640px) { .hero__mark { width: 260px; right: -14%; top: 2%; } }
.hero__mark .mark3d__layer path:not(.tr) { stroke-dasharray: 240; stroke-dashoffset: 240; animation: lh-draw 2.4s .3s var(--lh-ease) forwards; }
.hero__mark .mark3d__layer circle { opacity: 0; animation: lh-fade .3s 2.5s forwards; }
.hero__mark .mark3d__layer rect { opacity: 0; animation: lh-fade .5s 2.8s forwards, lh-win 7s linear 3.4s infinite; }
@keyframes lh-draw { to { stroke-dashoffset: 0; } }
@keyframes lh-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero__mark .mark3d__layer path:not(.tr) { animation: none; stroke-dashoffset: 0; }
  .hero__mark .mark3d__layer circle, .hero__mark .mark3d__layer rect { animation: none; opacity: 1; }
}

.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--lh-rule); }
.cols > div { padding: var(--lh-space-5) var(--lh-space-5) 0 0; border-right: 1px solid var(--lh-border); margin-right: var(--lh-space-5); }
.cols > div:last-child { border-right: 0; margin-right: 0; }
.cols .n { color: var(--lh-accent); font-size: 14px; }
.cols h3 { font: 700 26px/32px var(--font-display); margin: var(--lh-space-2) 0; }
.cols h3 a { color: var(--lh-text); text-decoration: none; }
.cols h3 a:hover { color: var(--lh-accent); }
.cols .p { font-size: 22px; line-height: 30px; margin: var(--lh-space-4) 0 0; font-weight: 500; }
.cols .fine { margin-top: 2px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; } .cols > div { border: 0; border-bottom: 1px solid var(--lh-border); margin: 0; padding: var(--lh-space-4) 0; } .cols > div:last-child { border-bottom: 0; } }

.pagehead--dark { position: relative; isolation: isolate; overflow: hidden; background: var(--lh-bg); color: var(--lh-text); padding: var(--lh-space-8) 0 var(--lh-space-7); }
.pagehead--dark .lede { opacity: .86; }
.ph { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--lh-space-7); align-items: end; }
@media (max-width: 900px) { .ph { grid-template-columns: 1fr; gap: var(--lh-space-5); } }
.pricebox { border: 1px solid var(--lh-border); border-top: 2px solid var(--lh-rule); padding: var(--lh-space-5); background: var(--lh-surface); }
.pricebox .cap { margin-bottom: 0; }
.pricebox__n { font: 500 22px/30px var(--font-mono); margin: var(--lh-space-2) 0 var(--lh-space-3); color: var(--lh-text); }
.band--thesis { border-top: 1px solid var(--lh-border); }
@media (min-width: 1280px) { .hero__mark { right: auto; left: 16%; width: 520px; opacity: .1; } }

/* ---------- Round 3: iconic animated mark ---------- */
.mark3d__stage { transform: rotateX(calc((var(--rx, 8) + var(--py, 0) * -4) * 1deg)) rotateY(calc((var(--ry, -24) + var(--px, 0) * 6) * 1deg)) translateY(calc(var(--ty, 0) * 1px)) scale(calc(1 + var(--sc, 0))); }
.hero__mark .mark3d__layer { transform: translateZ(calc(var(--i) * -10px)); color: color-mix(in srgb, var(--lh-text) calc(12% - var(--i) * .9%), var(--lh-bg)); }
@media (min-width: 1280px) { .hero__mark { left: 12%; right: auto; width: 800px; opacity: 1; top: 50%; } }
@media (max-width: 1279px) { .hero__mark { opacity: 1; width: min(500px, 88vw); right: -12%; top: 6%; } }
@media (max-width: 640px) { .hero__mark { opacity: 1; width: 300px; right: -20%; top: 0; } .hero__mark .mark3d__layer { transform: translateZ(calc(var(--i) * -4px)); } }
.hero__grid { transform: translateY(calc(var(--gy, 0) * 1px)); }
.tr { fill: none; stroke: var(--lh-accent); stroke-linejoin: miter; stroke-width: .5; stroke-dasharray: 14 240; stroke-dashoffset: 14; opacity: 0; animation: lh-trace 7s linear 3.2s infinite; }
.tr--long { stroke-width: .25; stroke-dasharray: 90 240; stroke-dashoffset: 90; animation-name: lh-trace-long; }
@keyframes lh-trace { 0% { stroke-dashoffset: 14; opacity: 1; } 68% { stroke-dashoffset: -240; opacity: 1; } 69%, 100% { stroke-dashoffset: -240; opacity: 0; } }
@keyframes lh-trace-long { 0% { stroke-dashoffset: 90; opacity: .55; } 68% { stroke-dashoffset: -240; opacity: .55; } 69%, 100% { stroke-dashoffset: -240; opacity: 0; } }
@keyframes lh-win { 0%, 60% { opacity: .3; } 70%, 90% { opacity: 1; } 100% { opacity: .3; } }
.trace { position: absolute; z-index: -1; right: -3%; top: 50%; width: min(420px, 46vw); transform: translateY(-50%); color: color-mix(in srgb, var(--lh-text) 9%, var(--lh-bg)); overflow: visible; pointer-events: none; }
.trace .win { animation: lh-win 7s linear 0s infinite; opacity: .3; }
.trace .tr { animation-delay: 0s; }
.trace .tr--long { animation-delay: 0s; }
.sect--close .trace { right: auto; left: 52%; width: min(360px, 44vw); }
@media (max-width: 900px) { .trace { width: 260px; right: -12%; top: 24%; } .sect--close .trace { left: auto; right: -10%; } }
@media (prefers-reduced-motion: reduce) { .tr { display: none; } .trace .win, .hero__mark .mark3d__layer rect { animation: none; opacity: 1; } .hero__grid { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mark3d__stage { transform: none; will-change: auto; }
  .hero__mark .mark3d__layer, .mark3d__layer { transform: none; }
  .hero__mark .mark3d__layer:not(:last-child) { display: none; }
  .hero__mark .mark3d__layer:last-child { color: color-mix(in srgb, var(--lh-text) 12%, var(--lh-bg)); }
}

/* ---------- Round 4: motion and styling through every page ---------- */
.hdr__bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.hdr__bar i { display: block; height: 100%; background: var(--lh-accent); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.band { position: relative; isolation: isolate; overflow: hidden; }
.band--statement { padding: var(--lh-space-9) 0; border-top: 1px solid var(--lh-border); }
.band--statement .big { max-width: 22ch; font-size: clamp(32px, 5.6vw, 72px); margin: 0; }
.band--statement .wrap { position: relative; }
.trace { transform: translateY(calc(-50% + var(--par, 0) * 1px)); }
.trace--l { left: -5%; right: auto; width: min(480px, 52vw); }
.trace--r { right: -5%; left: auto; width: min(420px, 46vw); }
@media (max-width: 900px) { .trace--l, .trace--r { width: 240px; top: 30%; } .trace--l { left: -16%; } .trace--r { right: -16%; } }
.band:not([data-theme="dark"]) .trace { color: color-mix(in srgb, var(--lh-text) 6%, var(--lh-bg)); }
.band--sunk .trace { color: color-mix(in srgb, var(--lh-text) 7%, var(--lh-surface-sunk)); }

/* section rules draw themselves as they scroll into view */
.sect__head, .cols, .faq { border-top-color: transparent; position: relative; }
.sect__head { box-shadow: none; }
.sect__head::before, .cols::before, .faq::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--lh-rule); transform-origin: left; transform: scaleX(var(--rp, 1)); }
.method { position: relative; }
.method::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; background: var(--lh-accent); width: calc(var(--mp, 1) * 100%); }

/* dark footer with the tagline */
.ftr { position: relative; isolation: isolate; overflow: hidden; background: var(--lh-bg); color: var(--lh-text); padding-top: var(--lh-space-8); }
.ftr__big { font: 700 clamp(30px, 5vw, 60px)/1.05 var(--font-display); letter-spacing: -.01em; max-width: calc(var(--lh-container) + 2 * var(--lh-gutter)); margin: 0 auto var(--lh-space-7); padding: 0 var(--lh-gutter); color: var(--lh-text); }
.ftr__big em { font-style: normal; color: var(--lh-accent); }
.ftr .small, .ftr .fine, .ftr__tag { color: var(--lh-text-muted); }
.ftr__links a { color: var(--lh-text); }
.trace--foot { right: -3%; top: 34%; width: min(420px, 44vw); left: auto; }
@media (max-width: 900px) { .trace--foot { width: 220px; right: -14%; top: 14%; } }
.ftr__base { border-top-color: var(--lh-border); }

/* quiet hover states (colour only, 120 ms) */
.panel, .ledger li, .tiers li, .cols > div, .faq summary { transition: border-color var(--lh-dur-fast) var(--lh-ease), background-color var(--lh-dur-fast) var(--lh-ease); }
.panel:hover { border-color: var(--lh-rule); }
.ledger li:hover, .tiers li:hover { background-color: var(--lh-surface-sunk); }
.band--sunk .ledger li:hover { background-color: var(--lh-bg); }
.cols > div:hover h3 a { color: var(--lh-accent); }
.faq summary:hover { color: var(--lh-accent); }
.method li { transition: background-color var(--lh-dur-fast) var(--lh-ease); }
.method li:hover { background-color: var(--lh-surface-sunk); }
[data-theme="dark"] .method li:hover { background-color: var(--lh-surface); }

@media (prefers-reduced-motion: reduce) {
  .hdr__bar { display: none; }
  .trace { transform: translateY(-50%); }
  .sect__head::before, .cols::before, .faq::before { transform: none; }
  .method::after { width: 100%; }
}

.sect--close .trace { left: -4%; right: auto; width: min(420px, 46vw); }
.sect--close .wrap { position: relative; }
@media (max-width: 900px) { .sect--close .trace { left: auto; right: -14%; width: 220px; top: 22%; } }
.trace--foot { right: -9%; }
.band--statement .big em { position: relative; }

/* ---------- Round 5: dark throughout, one huge fixed mark that scroll draws ---------- */
html { background: var(--lh-bg); color-scheme: dark; }
.bgmark { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; width: auto; justify-self: auto; perspective: 1300px; perspective-origin: 50% 45%; opacity: 1; transform: none; }
.bgmark__grid { position: absolute; inset: -60px 0; opacity: .05; background-image: linear-gradient(var(--lh-text) 1px, transparent 1px), linear-gradient(90deg, var(--lh-text) 1px, transparent 1px); background-size: var(--lh-grid-texture) var(--lh-grid-texture); transform: translateY(calc(var(--gy, 0) * 1px)); }
.bgmark .mark3d__stage { position: absolute; top: 50%; right: -9%; width: min(1040px, 128vw); transform: translateY(calc(-50% + var(--ty, 0) * 1px)) rotateX(calc((var(--rx, 10) + var(--py, 0) * -4) * 1deg)) rotateY(calc((var(--ry, -30) + var(--px, 0) * 6) * 1deg)) scale(calc(1 + var(--sc, 0))); }
.bgmark .mark3d__layer { transform: translateZ(calc(var(--i) * -16px)); color: color-mix(in srgb, var(--lh-text) calc(21% - var(--i) * 1.7%), var(--lh-bg)); }
.bgmark .mark3d__layer path:not(.tr) { stroke-dasharray: 240; stroke-dashoffset: 240; animation: lh-draw 2.4s .3s var(--lh-ease) forwards; }
.bgmark .mark3d__layer circle { opacity: 0; animation: lh-fade .3s 2.5s forwards; }
.bgmark .mark3d__layer rect { opacity: 0; animation: lh-fade .5s 2.8s forwards, lh-win 7s linear 3.4s infinite; }
.bgmark .tr { stroke-width: 1.15; stroke-dasharray: 16 240; stroke-dashoffset: 16; }
.bgmark .tr--long { stroke-width: .6; stroke-dasharray: 100 240; stroke-dashoffset: 100; }
@media (max-width: 900px) { .bgmark .mark3d__stage { width: 170vw; right: -62%; } .bgmark .mark3d__layer { transform: translateZ(calc(var(--i) * -6px)); } }
@media (max-width: 640px) { .bgmark .mark3d__layer:nth-child(-n+5) { display: none; } }

/* sections let the mark through */
section[data-theme="dark"], .hero, .pagehead--dark, .sect--close { background: transparent; }
.band--sunk { background: color-mix(in srgb, var(--lh-surface) 62%, transparent); }
.hero__grid { display: none; }
.hdr { background: color-mix(in srgb, var(--lh-bg) 94%, transparent); }
.ftr { background: color-mix(in srgb, var(--lh-bg) 70%, transparent); }
.panel, .enq, .pricebox, .runsheet { background: color-mix(in srgb, var(--lh-surface) 86%, transparent); }
.band--statement { border-top: 1px solid var(--lh-border); }
.hdr__tag { display: none; }

@media (prefers-reduced-motion: reduce) {
  .bgmark .mark3d__stage { transform: translateY(-50%); }
  .bgmark .mark3d__layer { transform: none; }
  .bgmark .mark3d__layer:not(:last-child) { display: none; }
  .bgmark .mark3d__layer:last-child { color: color-mix(in srgb, var(--lh-text) 20%, var(--lh-bg)); }
  .bgmark .mark3d__layer path:not(.tr) { animation: none; stroke-dashoffset: 0; }
  .bgmark .mark3d__layer circle, .bgmark .mark3d__layer rect { animation: none; opacity: 1; }
  .bgmark__grid { transform: none; }
}
body { background: transparent; }

.bgmark .mark3d__layer { transform: translateZ(calc(var(--i) * -11px)); color: color-mix(in srgb, var(--lh-text) calc(17% - var(--i) * 1.4%), var(--lh-bg)); }
.bgmark .tr { stroke-width: .9; }
.bgmark .tr--long { stroke-width: .42; }
.ftr__info { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--lh-space-2); font: var(--lh-text-body); color: var(--lh-text-muted); }
.ftr__info li { margin: 0; }
.ftr__info a { color: var(--lh-text); }

/* ===== Premium layer (v2 redesign) ===== */
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 17px; }
.hero__h1 { font-size: clamp(44px, 7.2vw, 100px); line-height: .96; letter-spacing: -.035em; }
.hero__h1 span { display: block; }
.hero .lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 40ch; }
.band { padding-top: clamp(72px, 10vw, 136px); padding-bottom: clamp(72px, 10vw, 136px); }
.sect__head h2, h2 { letter-spacing: -.02em; }
.panel { border: 1px solid var(--lh-border); border-radius: 20px; padding: clamp(28px, 3vw, 44px); transition: transform .5s var(--lh-ease), border-color .3s ease; }
.panel:hover { transform: translateY(-4px); border-color: var(--lh-accent); }
.book { position: relative; background: var(--lh-surface); color: var(--lh-text); border: 1px solid var(--lh-border); border-radius: 24px; padding: clamp(28px, 3vw, 44px); box-shadow: var(--lh-shadow-2); max-width: 440px; justify-self: end; width: 100%; }
.book__h { font: 700 clamp(30px, 3.2vw, 44px)/1.05 var(--font-display); letter-spacing: -.02em; margin: var(--lh-space-3) 0 var(--lh-space-4); }
.book__p { color: var(--lh-text-muted); margin: 0 0 var(--lh-space-5); line-height: 1.55; }
.book__meta { list-style: none; margin: var(--lh-space-5) 0 0; padding: var(--lh-space-4) 0 0; border-top: 1px solid var(--lh-border); display: grid; gap: var(--lh-space-2); font: var(--lh-text-body); color: var(--lh-text-muted); }
.book__alt { margin: var(--lh-space-4) 0 0; font: var(--lh-text-body); color: var(--lh-text-muted); }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--lh-ease), transform .9s var(--lh-ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .panel:hover { transform: none; } }
.btn__icon { flex: none; }
.pagehead h1 { font-size: clamp(44px, 6.2vw, 88px); line-height: .98; letter-spacing: -.035em; max-width: 18ch; }
.pagehead .lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; }
.sect--close .big { font-size: clamp(36px, 5.2vw, 72px); line-height: 1; letter-spacing: -.03em; }
.pgbook { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--lh-space-4) var(--lh-space-6); margin-top: var(--lh-space-7); padding-top: var(--lh-space-5); border-top: 1px solid var(--lh-border); }
.pgbook__t { margin: 0; font: var(--lh-text-body); color: var(--lh-text-muted); }
.pgbook__t .cap { display: inline; margin: 0 var(--lh-space-2) 0 0; }
.pagehead--split .wrap { display: grid; gap: var(--lh-space-7); align-items: end; }
@media (min-width: 1000px) { .pagehead--split .wrap { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; } }
.pagehead__book { justify-self: end; width: 100%; max-width: 400px; margin: 0; }
.pagehead__book .book__h { font-size: clamp(26px, 2.6vw, 34px); }

/* ---------- Press feedback: responds on touch-down, eases back on release ---------- */
.btn:active { transform: scale(.97); transition-duration: var(--lh-dur-fast), var(--lh-dur-fast), var(--lh-dur-fast), 80ms; }
.btn--primary:active { background: var(--lh-accent-pressed); color: var(--lh-on-accent); }
.btn--outline:active, .btn--tertiary:active { background: color-mix(in srgb, var(--lh-text) 12%, transparent); }
.textlink:active, .faq summary:active { opacity: .7; }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }

/* Home: the H1 already says the tagline, so the footer sign-off is dropped here */
.is-home .ftr__big { display: none; }

/* ---------- Hero fit: headline is sized to its own column so it never runs under the booking card ---------- */
@media (min-width: 1280px) {
  .hero__copy { container-type: inline-size; min-width: 0; }
  .hero__h1 { font-size: clamp(48px, 9.6cqi, 100px); }
}
/* Use more of wide screens; header, sections and footer all read --lh-container */
@media (min-width: 1440px) { :root { --lh-container: 1280px; } }
@media (min-width: 1760px) { :root { --lh-container: 1400px; } }

/* =====================================================================
   Craft layer v3
   Brand is unchanged: Baloo 2 / Inter / JetBrains Mono, ink #16171a, green #93bf7d, logo mark.
   What changes: vertical rhythm, type scale, header material, a calmer logo mark,
   whole-card links, one easing curve, and quieter motion.
   Everything here is a deliberate override of the earlier "rounds" above.
   ===================================================================== */
:root { --lh-ease: cubic-bezier(.23, 1, .32, 1); --lh-ease-in-out: cubic-bezier(.77, 0, .175, 1); }
::selection { background: color-mix(in srgb, var(--lh-accent) 38%, transparent); color: var(--lh-text); }

/* Header: a translucent material over scrolling content, not an opaque bar with a divider */
.hdr { background: color-mix(in srgb, var(--lh-bg) 70%, transparent); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 0; box-shadow: 0 1px 0 color-mix(in srgb, var(--lh-text) 8%, transparent);
  transition: background-color var(--lh-dur-base) var(--lh-ease), box-shadow var(--lh-dur-base) var(--lh-ease); }
.hdr.is-scrolled { background: color-mix(in srgb, var(--lh-bg) 84%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--lh-text) 10%, transparent), 0 14px 32px -20px rgb(0 0 0 / .7); }
.mnav { background: color-mix(in srgb, var(--lh-bg) 94%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top-color: transparent; }
.hdr__nav a { transition: border-color 150ms var(--lh-ease); }
@media (max-width: 640px) {
  .mbar { background: color-mix(in srgb, var(--lh-bg) 80%, transparent); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); border-top: 1px solid var(--lh-border); }
}
@media (prefers-reduced-transparency: reduce) {
  .hdr, .hdr.is-scrolled, .mnav, .mbar { background: var(--lh-bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .hdr, .hdr.is-scrolled { box-shadow: 0 1px 0 var(--lh-text); }
  .panel, .book, .enq, .pricebox, .runsheet { border-color: var(--lh-text-muted); }
}

/* Rhythm: tighter, and different at different heights, instead of one huge gap everywhere */
.band { padding-block: clamp(44px, 5.5vw, 80px); }
.band--thesis, .band--statement, .sect--close { padding-block: clamp(72px, 9vw, 128px); }
.sect__head { padding-top: clamp(20px, 2.4vw, 32px); }
.sect__head > .cap { padding-top: clamp(8px, 1.1vw, 14px); }

/* Type: a real scale between the 88px hero and 16px body */
.sect__head h2, h2 { font-weight: 600; letter-spacing: -.025em; }
.sect__head h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.06; max-width: 26ch; }
.sect__head .small { font: var(--lh-text-body-l); max-width: 58ch; margin-top: var(--lh-space-3); }
.pagehead h1 { font-size: clamp(40px, 5.4vw, 76px); letter-spacing: -.03em; max-width: 20ch; }
.ftr__big { font-size: clamp(28px, 4.2vw, 52px); letter-spacing: -.02em; }

/* Section labels: sentence case, accent colour. Not tracked-out capitals above every heading */
.cap { font: 500 14px/20px var(--font-body); letter-spacing: .005em; text-transform: none; }
.sect__head > .cap, .pagehead .cap, .hero__copy > .cap { color: var(--lh-accent); }

/* Links: one voice. Body-face, 1.5px accent underline that brightens on hover */
.textlink { text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--lh-accent) 65%, transparent); transition: text-decoration-color 150ms var(--lh-ease); }
@media (hover: hover) { .textlink:hover { text-decoration-color: var(--lh-accent); } }
.panel__meta { font: 600 15px/24px var(--font-body); letter-spacing: 0; }

/* Buttons */
.btn { min-height: 48px; padding: 12px 22px; border-radius: 10px; }
.btn--sm { min-height: 44px; padding: 8px 16px; }
.btn--lg { min-height: 56px; padding: 16px 28px; }

/* Cards: whole card is the link target, so hover means something. No lift on things that don't move */
.panel { position: relative; border-radius: 20px; background: color-mix(in srgb, var(--lh-surface) 78%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--lh-text) 5%, transparent); }
.panel:hover { transform: none; border-color: var(--lh-border); }
.panel h3 { font: 600 clamp(22px, 2vw, 26px)/1.15 var(--font-display); letter-spacing: -.01em; margin: var(--lh-space-2) 0 var(--lh-space-4); }
.panel ul { line-height: 1.7; }
.panel__meta a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (hover: hover) {
  .panel:has(.panel__meta a):hover { border-color: color-mix(in srgb, var(--lh-accent) 60%, var(--lh-border)); background: color-mix(in srgb, var(--lh-surface) 92%, transparent); }
}
.panel:has(.panel__meta a):active { transform: scale(.99); }

/* Rows and retainers: link the whole row; retainers are not a sequence, so no 01 02 03 */
.ledger li, .tiers li, .cols > div { position: relative; }
.ledger li { padding-block: 16px; }
.ledger__title a::after, .tiers .tier__n a::after, .cols h3 a::after { content: ""; position: absolute; inset: 0; }
.ledger li:not(:has(a)):hover, .tiers li:not(:has(a)):hover { background-color: transparent; }
.cols .n { display: none; }
.cols h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.015em; margin-top: 0; }
.cols .p, .price, .pricebox__n { font-variant-numeric: tabular-nums; }
.cols .p { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.02em; }

/* Services table: the description no longer runs into the price column */
.runsheet td { padding-right: var(--lh-space-5); }
.runsheet td:last-child, .runsheet th:last-child { padding-right: 0; }
.runsheet tbody th { width: 30%; }

/* Logo mark: quieter, and faded out toward the bottom of the screen so it never competes with text or forms */
.bgmark { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 55%, transparent 100%); }
.bgmark .mark3d__layer { color: color-mix(in srgb, var(--lh-text) calc(12% - var(--i) * 1%), var(--lh-bg)); }
@media (max-width: 640px) { .bgmark { opacity: .6; } }
body:has(.frm) .bgmark { opacity: .4; }

/* Forms */
.fld input, .fld select, .fld textarea { min-height: 48px; border-radius: 10px; transition: border-color 150ms var(--lh-ease), box-shadow 150ms var(--lh-ease); }
.fld textarea { min-height: 140px; }
@media (hover: hover) { .fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--lh-text); } }

/* Motion: one curve, shorter, and staggered by position. Delay applies to opacity and transform only,
   so hover colour changes stay instant. */
.rv { transform: translateY(14px);
  transition-property: opacity, transform, border-color, background-color;
  transition-duration: 520ms, 520ms, 200ms, 200ms;
  transition-timing-function: var(--lh-ease); }
.rv.is-in { transform: none; }
.two > .rv:nth-child(2), .cols > .rv:nth-child(2), .method > .rv:nth-child(2), .ledger > .rv:nth-child(2) { transition-delay: 60ms, 60ms, 0ms, 0ms; }
.cols > .rv:nth-child(3), .method > .rv:nth-child(3), .ledger > .rv:nth-child(3) { transition-delay: 120ms, 120ms, 0ms, 0ms; }
.method > .rv:nth-child(4), .ledger > .rv:nth-child(4) { transition-delay: 180ms, 180ms, 0ms, 0ms; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .btn:active, .panel:has(.panel__meta a):active { transform: none; }
}

/* ---------- Small text: nothing under 14px, in the body face, without the wide mono tracking ---------- */
:root { --lh-text-caption: 500 14px/20px var(--font-body); --lh-caption-tracking: .005em; }
.runsheet thead th { text-transform: none; font-weight: 600; }
.fine, .hint, .method__meta, .fld__req, .fld__err { font-weight: 400; }
.fld__err { font-weight: 500; }

/* ---------- Phones: the cookie notice and the call bar no longer stack ----------
   While the notice is open it replaces the call bar, so the two never cover a third of the screen together. */
@media (max-width: 640px) {
  body:has(.cookie:not([hidden])) .mbar { display: none; }
  .cookie--fixed { bottom: 0; padding-bottom: env(safe-area-inset-bottom); }
  .cookie__in { gap: var(--lh-space-2) var(--lh-space-4); padding-block: var(--lh-space-3); }
  .cookie__in > .cap { display: none; }
  .cookie__txt { min-width: 100%; }
  .cookie__act { width: 100%; }
  .cookie__act .btn { flex: 1; }
}

/* ---------- Long-form text (privacy policy) ---------- */
.prose { max-width: var(--lh-measure); }
.prose h2 { font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--font-display); letter-spacing: -.015em; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--lh-text); line-height: 1.65; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { font-weight: 600; }
