/* =========================================================================
   Coalesce Consultants — v3 ("the cinematic cut")
   Light, editorial and scroll-directed. Paper canvas, Geist for everything,
   Instrument Serif italic for one emphasis phrase per heading, Coalesce
   green as the only accent, and two dark scenes (the audit and the finale)
   for contrast.

   Motion states live under html.motion only (added by js/main.js once GSAP
   has loaded and the visitor hasn't asked for reduced motion). Without it
   every scene renders in its final, readable state.
   ========================================================================= */

:root {
  /* Colour */
  --paper: #f7f7f3;
  --white: #ffffff;
  --ink: #0c110b;
  --ink-2: #454c43;          /* body copy, 8.4:1 on paper */
  --ink-3: #636a60;          /* small print, 5.3:1 on paper */
  --line: #e2e3dc;
  --line-strong: #cfd1c8;
  --green: #2f7a1c;          /* the single accent (from the logo) */
  --green-hover: #27681a;
  --green-soft: #eaf3e2;
  --lime: #94d23f;           /* accent on dark scenes only */
  --night: #0a1208;
  --night-2: #121c0f;
  --night-line: rgba(238, 244, 232, 0.12);
  --on-night: #eef3e9;
  --on-night-2: #a6b19f;

  /* Type */
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;

  /* Space & shape */
  --page: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 72px;
  --radius: 14px;
  --radius-lg: 28px;
  --section: clamp(96px, 14vw, 180px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.motion) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:not(.motion) { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 17px/1.55 var(--sans);
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
section[id], article[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--green); }

.container { max-width: calc(var(--page) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.muted { color: var(--ink-3); font-weight: 400; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type scale ---------- */
.display, .h-xl, .h-lg {
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}
.display { font-size: clamp(44px, 7.4vw, 104px); }
.h-xl { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; }
.h-lg { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.04em; }
.display em, .h-xl em, .h-lg em { letter-spacing: -0.02em; font-size: 1.06em; line-height: 0.9; }
/* Hero: a lime brush line under "essentials." It draws in with the headline (main.js
   scrubs --line from 0 to 1) and redraws on hover (retracts right, draws from the left). */
[data-hero-line] { position: relative; display: inline-block; }
[data-hero-line]::after {
  content: ""; position: absolute; left: 0; right: 0.14em; bottom: -0.08em; height: 0.16em; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M3 11C50 4 120 3 197 8' fill='none' stroke='%2394d23f' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform: scaleX(var(--line, 1)); transform-origin: left center;
}
[data-hero-line]:hover::after { animation: line-redraw .9s var(--ease); }
@keyframes line-redraw {
  0%   { transform: scaleX(1); transform-origin: right center; }
  45%  { transform: scaleX(0); transform-origin: right center; }
  46%  { transform: scaleX(0); transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}
@media (prefers-reduced-motion: reduce) { [data-hero-line]:hover::after { animation: none; } }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2); letter-spacing: -0.015em; text-wrap: pretty; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.eyebrow-on-dark { color: var(--on-night-2); }
.eyebrow-on-dark::before { background: var(--lime); }

.section-head { max-width: 820px; display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-head .lead { max-width: 620px; }

/* ---------- Buttons & small parts ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-hover); }
.btn-outline { border-color: var(--line-strong); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-dark { color: var(--on-night); border-color: var(--night-line); }
.btn-ghost-dark:hover { border-color: var(--on-night-2); }

.tag {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--ink-2); background: var(--white);
}
.tag-dark { background: transparent; border-color: var(--night-line); color: var(--on-night-2); height: 26px; font-size: 12px; }

.link-arrow { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-weight: 500; color: var(--green); text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--green); stroke-width: 2.2; }

.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.motion [data-parallax] img { height: 116%; margin-top: -8%; will-change: transform; }

/* ---------- Navigation ---------- */
/* Floating pill: centred, dark, sits 20px from the top (bottom edge = --nav-h) */
.nav {
  position: fixed; z-index: 100; top: 20px; left: 50%; translate: -50% 0;
  width: max-content; max-width: calc(100vw - 24px); height: 52px; padding: 6px;
  background: color-mix(in srgb, var(--night) 50%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(238, 243, 233, .12); border-radius: 14px;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55);
  font-size: 14px; color: rgba(238, 243, 233, .55);
}
.nav .nav-inner { height: 100%; width: auto; max-width: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 28px; width: auto; }
.brand-name { font-weight: 600; letter-spacing: -0.03em; font-size: 17px; }
.brand-name span { font-weight: 400; color: var(--ink-3); }
.nav .brand { padding-left: 8px; }
.nav .brand img { height: 22px; }
.nav .brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 24px; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; }

/* Links roll up to a white copy of themselves (main.js adds the two layers) */
.nav-links a { display: block; overflow: hidden; height: 20px; color: inherit; text-decoration: none; }
.nav-roll { display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.68, -.6, .32, 1.6); }
.nav-roll > span { display: flex; align-items: center; height: 20px; white-space: nowrap; }
.nav-roll > span + span { color: var(--on-night); }
.nav-links a:hover .nav-roll, .nav-links a:focus-visible .nav-roll { transform: translateY(-20px); }

/* Button: a lime circle sweeps up from below and fills it */
.nav-btn {
  position: relative; z-index: 0; overflow: hidden; display: flex; align-items: center; height: 38px; padding: 0 16px;
  border: 1px solid rgba(238, 243, 233, .2); border-radius: 10px; white-space: nowrap;
  font-weight: 500; color: var(--on-night); text-decoration: none;
  transition: transform .3s, border-color .3s, color .3s;
}
.nav-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 100%; background: var(--lime);
  transform: translateY(200%) scale(2.5); transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.nav-btn:hover, .nav-btn:focus-visible { transform: scale(1.05); border-color: var(--lime); color: var(--night); }
.nav-btn:hover::before, .nav-btn:focus-visible::before { transform: translateY(0) scale(2.5); }
.nav-btn:active { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .nav-roll, .nav-btn, .nav-btn::before { transition: none; }
}

/* ---------- Scene 1 · Hero ---------- */
.hero-stage {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 64px;
}
.hero-glow {
  position: absolute; left: 50%; top: 50%; width: min(90vw, 1100px); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(148, 210, 63, .26), rgba(148, 210, 63, .08) 55%, transparent 72%);
  pointer-events: none;
}
.hero-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-mark { width: clamp(150px, 17vw, 230px); margin-bottom: clamp(28px, 4vh, 44px); }
.hero-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-final { display: grid; justify-items: center; gap: 22px; max-width: 920px; }
.hero-note { font-size: 14px; color: var(--ink-3); }
.hero-note a { color: var(--ink); font-weight: 500; text-decoration: none; }


/* Intro line and fragments: static fallback first */
.hero-intro { display: none; }
.hero-frags {
  position: relative; z-index: 2; order: 3; margin-top: 40px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px;
}
.frag-in {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 1px 0 rgba(12,17,11,.03), 0 18px 40px -24px rgba(12, 17, 11, .28);
  text-align: left;
}
.frag-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--green-soft); color: var(--green); }
.frag strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.frag small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.hero-cue { display: none; }

/* Hero video opener (only in the cinematic state, and only once main.js picks a clip) */
.hero-video { display: none; }
.motion .hero.has-video .hero-video {
  display: block; position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--night);
  will-change: clip-path, opacity;
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; }
/* Film grain: an oversized noise tile that jumps position a few times a second
   (transform only, so it stays on the compositor) */
.hero-video::before {
  content: ""; position: absolute; inset: -120px; z-index: 1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: overlay;
  animation: hero-grain .9s steps(6) infinite;
}
@keyframes hero-grain {
  0%   { transform: translate(0, 0); }
  17%  { transform: translate(-60px, 40px); }
  33%  { transform: translate(50px, -70px); }
  50%  { transform: translate(-90px, -30px); }
  67%  { transform: translate(80px, 60px); }
  83%  { transform: translate(-30px, 90px); }
  100% { transform: translate(0, 0); }
}
/* Mosaic: a faint 3px screen-door grid, then the darkening gradient for the white type */
.hero-video::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(8, 14, 6, .55), rgba(8, 14, 6, .3) 42%, rgba(8, 14, 6, .62));
}
.hero-intro em { color: var(--intro-em, var(--green)); }
.motion .hero.has-video .hero-intro { text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.motion .hero.has-video .hero-cue { color: rgba(255, 255, 255, .82); }
.motion .hero.has-video .hero-cue i { background: linear-gradient(rgba(255, 255, 255, .85), transparent); }

/* Hero, cinematic state */
.motion .hero-intro {
  display: block; position: absolute; z-index: 3; left: 50%; top: 50%; translate: -50% -50%;
  width: min(92vw, 900px); text-align: center;
  font-size: clamp(36px, 5.6vw, 80px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02;
}
.motion .hero-intro em { font-size: 1.06em; }
.motion .hero-frags { position: absolute; inset: 0; margin: 0; max-width: none; display: block; order: 0; pointer-events: none; z-index: 1; }
.motion .frag {
  --edge: 124px; /* keeps every tile fully on screen on narrow viewports */
  position: absolute; width: max-content; white-space: nowrap; will-change: transform, opacity;
  left: clamp(var(--edge), calc(50% + var(--x)), calc(100% - var(--edge)));
  top: clamp(calc(var(--nav-h) + 40px), calc(50% + var(--y)), calc(100% - 48px));
}
@media (max-width: 640px) {
  .motion .frag { --edge: 92px; }
}
.motion .frag-in { animation: drift 6s ease-in-out infinite alternate; }
.motion .frag:nth-child(2n) .frag-in { animation-duration: 7.5s; animation-delay: -2s; }
.motion .frag:nth-child(3n) .frag-in { animation-duration: 5.5s; animation-delay: -4s; }
@keyframes drift { from { transform: translateY(-7px); } to { transform: translateY(7px); } }
.motion .hero-cue {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  position: absolute; bottom: 28px; left: 50%; translate: -50% 0; z-index: 3;
  font-size: 13px; color: var(--ink-3); letter-spacing: 0.02em;
}
.hero-cue i { width: 1px; height: 44px; background: linear-gradient(var(--ink-3), transparent); transform-origin: top; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Scene 2 · Manifesto ---------- */
.manifesto { padding: var(--section) 0 calc(var(--section) * .7); }
.manifesto-text {
  max-width: 1080px;
  font-size: clamp(30px, 4.3vw, 60px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.12; text-wrap: pretty;
}
.manifesto-text em { font-size: 1.06em; }

/* Word-by-word scrubbed highlight (split by js) */
.w { transition: none; }
.motion [data-words] .w { opacity: .14; }

/* ---------- Scene 3 · Services stack ---------- */
.services { padding: calc(var(--section) * .5) 0 var(--section); }
.stack { display: grid; gap: 28px; }
.card {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: stretch;
  padding: clamp(28px, 4vw, 56px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -50px rgba(12, 17, 11, .35);
  transform-origin: 50% 0;
}
.motion .card { position: sticky; top: calc(var(--nav-h) + 24px + var(--i) * 14px); will-change: transform; }
.card-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.card-copy > p { color: var(--ink-2); font-size: 18px; max-width: 520px; }
.card-num { font-size: 13px; font-weight: 500; letter-spacing: .08em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card-copy .link-arrow { margin-top: auto; padding-top: 4px; }
.card-title-link { color: inherit; text-decoration: none; }
.card-title-link:hover { color: var(--green); }
.card-visual {
  position: relative; overflow: hidden; border-radius: 20px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 32px;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(148, 210, 63, .45), transparent 60%),
    linear-gradient(160deg, #1d4a12, #0f2a0a);
  color: var(--on-night);
}
.card-icon { position: absolute; z-index: 2; top: 28px; left: 32px; width: 56px; height: 56px; stroke-width: 1.2; color: rgba(238, 243, 233, .7); }
.card-label { position: relative; z-index: 2; font-size: 14px; color: rgba(238, 243, 233, .72); transition: color .5s; }
.card-value { position: relative; z-index: 2; font-size: clamp(40px, 5vw, 68px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; color: rgba(238, 243, 233, .82); transition: color .5s; }

/* Video tile: plays (in colour) while its card is the one in front, greyscale and
   paused otherwise; hover zooms the film, tilts the arrow and rolls the letters. */
.card-video {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0) brightness(.8); transform: scale(1.02);
  transition: filter .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.card-visual::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 18, 8, .28), rgba(10, 18, 8, .05) 35%, rgba(10, 18, 8, .8));
}
.card.is-live .card-video { filter: saturate(1) brightness(1); }
.card-photo { object-position: 72% 50%; } /* keep the phone in view in the short phone banner */
/* A green line along the bottom of each card. It rests at a third of the width and
   sweeps across on hover (mouse) or when the card is the live one (touch). Inset by the
   corner radius so it sits on the flat part of the edge. */
.card::after {
  content: ""; position: absolute; left: var(--radius-lg); right: var(--radius-lg); bottom: -1px; height: 4px;
  border-radius: 4px 4px 0 0; pointer-events: none;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transform: scaleX(.34); transform-origin: left center;
  transition: transform .9s cubic-bezier(.2, .7, .2, 1);
}
@media (hover: hover) { .card:hover::after { transform: scaleX(1); } }
@media (hover: none) { .card.is-live::after { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .card::after { transition: none; } }
.card-arrow {
  position: absolute; z-index: 2; top: 28px; right: 28px; width: 40px; height: 40px;
  color: rgba(238, 243, 233, .82); transition: transform .5s cubic-bezier(.2, .7, .2, 1), color .5s;
}
.roll-ch { display: inline-block; overflow: hidden; height: 1.08em; vertical-align: bottom; }
.roll-ch > span { display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--n) * 35ms); }
.roll-ch > span > span { height: 1.08em; line-height: 1.08em; white-space: pre; }
@media (hover: hover) {
  .card:hover .card-video { transform: scale(1.1); }
  .card:hover .card-arrow { transform: rotate(-45deg); color: #fff; }
  .card:hover .card-label, .card:hover .card-value { color: #fff; }
  .card:hover .roll-ch > span { transform: translateY(-50%); }
}
@media (hover: none) {
  .card.is-live .card-arrow { transform: rotate(-45deg); color: #fff; }
  .card.is-live .card-label, .card.is-live .card-value { color: #fff; }
  .card.is-live .roll-ch > span { transform: translateY(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .card-video, .card-arrow, .roll-ch > span { transition: none; }
}

/* ---------- Scene 4 · Audit ---------- */
.audit-scene { background: var(--night); color: var(--on-night); }
.audit-stage { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 72px; }
.audit-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; width: 100%; }
.audit-copy { display: grid; gap: 28px; }
.audit-copy em { color: var(--lime); }
.audit-stops { display: grid; gap: 4px; counter-reset: stop; }
.audit-stops li {
  counter-increment: stop; position: relative; padding: 16px 0 16px 48px; border-top: 1px solid var(--night-line);
  color: var(--on-night-2); font-size: 17px; transition: opacity .4s var(--ease), color .4s var(--ease);
}
.audit-stops li::before {
  content: counter(stop); position: absolute; left: 0; top: 15px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; border: 1px solid var(--night-line); color: var(--on-night-2);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.audit-stops strong { display: block; color: var(--on-night); font-weight: 500; font-size: 19px; letter-spacing: -0.02em; margin-bottom: 2px; }
.motion .audit-stops li { opacity: .38; }
.motion .audit-stops li.is-active { opacity: 1; }
.audit-stops li.is-active::before, html:not(.motion) .audit-stops li::before { background: var(--lime); border-color: var(--lime); color: var(--night); }

.audit {
  background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: 0 50px 120px -60px rgba(148, 210, 63, .35);
}
.audit-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--night-line); }
.audit-head img { height: 22px; width: auto; }
.audit-head strong { font-weight: 500; }
.audit-head .tag { margin-left: auto; }
.audit-business { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 8px; }
.audit-business strong { font-weight: 500; font-size: 18px; }
.audit-business span { color: var(--on-night-2); font-size: 14px; }
.audit table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.audit th { text-align: left; font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-2); padding: 12px 8px 10px 0; }
.audit td { padding: 14px 8px 14px 0; border-top: 1px solid var(--night-line); font-size: 16px; white-space: nowrap; }
.audit td.was { color: var(--on-night-2); position: relative; }
.audit td.was::after {
  content: ""; position: absolute; left: 0; right: 14px; top: 50%; height: 1.5px; background: #e0694f;
  transform-origin: left; transform: scaleX(var(--strike, 1));
}
.audit td.now { color: var(--on-night); font-weight: 500; }
.audit td.change { color: var(--lime); font-weight: 500; text-align: right; padding-right: 0; }
.audit th:last-child { text-align: right; padding-right: 0; }
.motion .audit td.change { opacity: var(--done, 1); }
.audit-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 8px; padding: 18px 20px;
  border-radius: 16px; background: rgba(148, 210, 63, .1); border: 1px solid rgba(148, 210, 63, .25);
}
.audit-total span { color: var(--on-night-2); }
.audit-total strong { font-size: clamp(32px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.audit-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  margin-top: 14px; font-size: 13px; color: var(--on-night-2);
}
.audit-foot span { flex: 1 1 220px; }
.audit-open { flex: none; }

/* Savings check (dark, directly after the audit card) */
.btn-lime { background: var(--lime); color: var(--night); }
.btn-lime:hover { background: #a6de55; }
/* Savings check: a native <dialog> opened from the audit card (main.js) */
.saver-modal {
  width: min(1240px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg);
  background: var(--night); color: var(--on-night);
  overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 0 0 1px var(--night-line), 0 60px 140px -40px rgba(0, 0, 0, .7);
}
.saver-modal::backdrop { background: rgba(4, 8, 3, .72); backdrop-filter: blur(6px); }
.saver-modal[open] { animation: saver-in .32s var(--ease); }
.saver-modal[open]::backdrop { animation: saver-fade .32s var(--ease); }
@keyframes saver-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes saver-fade { from { opacity: 0; } }
html:has(.saver-modal[open]) { overflow: hidden; }
.saver-modal .saver-form { border: 0; border-radius: 0; }
.saver-close {
  position: sticky; top: 16px; z-index: 2; float: right; margin: 16px 16px -60px 0;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  color: var(--on-night); background: rgba(238, 243, 233, .08); border: 1px solid var(--night-line);
  transition: background-color .2s var(--ease);
}
.saver-close:hover { background: rgba(238, 243, 233, .16); }
.saver-close .icon { width: 20px; height: 20px; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  .saver-modal[open], .saver-modal[open]::backdrop { animation: none; }
}
.saver-form {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start;
  padding: clamp(24px, 4vw, 56px); border: 1px solid var(--night-line); border-radius: var(--radius-lg);
  background: radial-gradient(90% 70% at 100% 0%, rgba(148, 210, 63, .12), transparent 60%), rgba(238, 243, 233, .03);
}
.saver-pick { display: grid; gap: 18px; }
.saver-pick em { color: var(--lime); }
.saver-lead { color: var(--on-night-2); font-size: 17px; max-width: 46ch; }
.saver-rows { display: grid; gap: 12px; margin-top: 8px; }
.saver-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 14px; min-width: 0;
  border: 1px solid var(--night-line); border-radius: 16px; transition: border-color .3s, background-color .3s;
}
.saver-row.is-set { border-color: rgba(148, 210, 63, .45); background: rgba(148, 210, 63, .05); }
.saver-row legend {
  float: left; grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 2px;
  font-size: 15px; font-weight: 500; color: var(--on-night);
}
.saver-row legend .icon { width: 18px; height: 18px; color: var(--lime); }
.saver-row legend { width: 100%; }
/* "supplier optional": italic and light, pushed to the right of the service name */
.saver-optional { margin-left: auto; font-style: italic; font-weight: 300; font-size: 13px; color: var(--on-night-2); }
.saver-row[hidden] { display: none; }
.saver-row:not([hidden]) { animation: saver-row-in .35s var(--ease); }
@keyframes saver-row-in { from { opacity: 0; transform: translateY(-6px); } }

/* Step 1: service chips (2 × 2). Ticked ones turn lime and reveal their row. */
.saver-services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.saver-chip { position: relative; display: block; }
.saver-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.saver-chip span {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px;
  border: 1px solid var(--night-line); border-radius: 14px; background: rgba(238, 243, 233, .04);
  font-size: 15px; font-weight: 500; color: var(--on-night);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.saver-chip .icon { width: 18px; height: 18px; color: var(--lime); }
.saver-chip input:checked + span { border-color: var(--lime); background: rgba(148, 210, 63, .12); }
.saver-chip input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.saver-chip span::after {
  content: ""; width: 18px; height: 18px; margin-left: auto; flex: none; border-radius: 6px;
  border: 1.5px solid var(--night-line);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.saver-chip input:checked + span::after {
  border-color: var(--lime);
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1208' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
@media (prefers-reduced-motion: reduce) { .saver-row:not([hidden]) { animation: none; } }
.saver-select { position: relative; display: block; min-width: 0; }
.saver-select::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; pointer-events: none;
  border-right: 1.5px solid var(--on-night-2); border-bottom: 1.5px solid var(--on-night-2); transform: rotate(45deg);
}
.saver-select select {
  width: 100%; height: 46px; padding: 0 38px 0 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  font: inherit; font-size: 16px; color: var(--on-night); background: rgba(238, 243, 233, .06);
  border: 1px solid var(--night-line); border-radius: 12px; outline: none; transition: border-color .2s;
}
.saver-select select:invalid, .saver-select select:has(option[value=""]:checked) { color: var(--on-night-2); }
.saver-select select:focus-visible { border-color: var(--lime); }
.saver-select option { color: var(--ink); background: var(--white); }

.saver-result {
  position: sticky; top: 24px; display: grid; gap: 14px;
  padding: clamp(22px, 3vw, 32px); border-radius: 22px; background: var(--night); border: 1px solid var(--night-line);
}
.saver-label { color: var(--on-night-2); font-size: 15px; }
.saver-amount { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.saver-result.is-empty .saver-amount { display: none; }
.saver-amount strong {
  font-size: clamp(36px, 4.4vw, 60px); font-weight: 500; letter-spacing: -0.05em; line-height: 1;
  color: var(--lime); font-variant-numeric: tabular-nums;
}
.saver-amount span { color: var(--on-night-2); font-size: 18px; }
.saver-break { display: grid; gap: 6px; font-size: 14px; color: var(--on-night-2); }
.saver-break:empty { display: none; }
.saver-break li { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; border-top: 1px solid var(--night-line); }
.saver-break li strong { color: var(--on-night); font-weight: 500; font-variant-numeric: tabular-nums; }
.saver-callback { display: grid; gap: 10px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--night-line); }
.saver-ask { color: var(--on-night-2); font-size: 15px; }
.saver-ask strong { display: block; color: var(--on-night); font-weight: 500; font-size: 18px; letter-spacing: -0.02em; margin-bottom: 2px; }
.saver-callback input {
  height: 50px; padding: 0 16px; font-size: 16px; color: var(--on-night); outline: none;
  background: rgba(238, 243, 233, .06); border: 1px solid var(--night-line); border-radius: 12px; transition: border-color .2s;
}
.saver-callback input::placeholder { color: var(--on-night-2); }
.saver-callback input:focus { border-color: var(--lime); }
.saver-callback .btn { width: 100%; margin-top: 4px; }
.saver-small { font-size: 13px; color: var(--on-night-2); }
.saver-small a { color: var(--on-night); display: inline-block; padding: 10px 2px; margin: -10px 0; }
.saver-foot { font-size: 12px; color: var(--on-night-2); opacity: .8; }
.saver-amount strong.is-bump { animation: saver-bump .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes saver-bump { 40% { transform: scale(1.04); } }
@media (max-width: 960px) {
  .saver-form { grid-template-columns: 1fr; }
  .saver-result { position: static; }
}
@media (max-width: 520px) {
  .saver-row { grid-template-columns: 1fr; }
}

/* ---------- Scene 5 · PSTN ---------- */
.pstn { padding: var(--section) 0; background: var(--white); border-block: 1px solid var(--line); }
.pstn-statement {
  margin: 28px 0 clamp(56px, 8vw, 104px); max-width: 1120px;
  font-size: clamp(40px, 6.4vw, 92px); font-weight: 500; letter-spacing: -0.05em; line-height: 1;
}
.pstn-statement em { font-size: 1.06em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split > div { display: grid; gap: 28px; justify-items: start; }
.check-list { display: grid; gap: 18px; }
.check-list li { display: flex; gap: 14px; color: var(--ink-2); }
.check-list strong { color: var(--ink); font-weight: 500; }
.check-dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); margin-top: 1px; }
.check-dot .icon { width: 15px; height: 15px; stroke-width: 2.4; }

/* ---------- Scene 7 · Funding ---------- */
.funding { padding: var(--section) 0; }
.split-reverse > figure { order: 2; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; width: 100%; }
.fact { display: grid; gap: 4px; padding: 18px 20px; background: var(--paper); }
.fact strong { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.fact span { color: var(--ink-3); font-size: 14px; }
.flex-chart {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 80px -50px rgba(12, 17, 11, .3);
}
.flex-chart-head { display: flex; gap: 20px; font-size: 14px; color: var(--ink-2); }
.flex-chart-head span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 12px; height: 12px; border-radius: 4px; }
.key-takings { background: #dfe9d4; }
.key-repay { background: var(--green); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(4px, 1vw, 10px); align-items: end; height: clamp(220px, 28vw, 320px); margin: 28px 0 16px; }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar::before {
  content: ""; display: block; height: calc(var(--h) * (100% - 24px)); border-radius: 8px 8px 4px 4px; background: #dfe9d4;
  transform-origin: bottom; transform: scaleY(var(--grow, 1));
}
.bar i {
  position: absolute; left: 0; right: 0; bottom: 24px; height: calc(var(--h) * (100% - 24px) * .22); border-radius: 4px;
  background: var(--green); transform-origin: bottom; transform: scaleY(var(--grow, 1));
}
.bar span { height: 24px; padding-top: 8px; font-size: 11px; color: var(--ink-3); text-align: center; }
.flex-chart figcaption { font-size: 14px; color: var(--ink-3); padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- Scene 8 · About ---------- */
.about { padding: var(--section) 0; background: var(--white); border-top: 1px solid var(--line); }
.definition { display: grid; gap: 18px; margin-bottom: clamp(56px, 8vw, 104px); }
.definition-word {
  font-family: var(--serif); font-style: italic; color: var(--green);
  font-size: clamp(88px, 19vw, 280px); line-height: .85; letter-spacing: -0.03em; white-space: nowrap;
}
.definition-word .ch { display: inline-block; will-change: transform, opacity; }
.definition-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; font-size: clamp(18px, 1.8vw, 24px); letter-spacing: -0.02em; }
.definition-pron { color: var(--ink-3); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy { display: grid; gap: 20px; }
.about-copy p:not(.lead) { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.office:nth-child(2) { margin-top: 64px; }
.office h3 { margin-top: 16px; font-size: 22px; font-weight: 500; letter-spacing: -0.03em; }
.office a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.office a:hover { color: var(--green); }

/* ---------- FAQs ---------- */
.faqs { padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { display: grid; gap: 22px; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq-aside p { color: var(--ink-2); }
.faq-aside a { color: var(--green); font-weight: 500; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  cursor: pointer; list-style: none; font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform .35s var(--ease); color: var(--ink-3); }
.faq details[open] .faq-icon { transform: rotate(45deg); color: var(--green); }
.faq-answer { display: grid; gap: 12px; padding: 0 48px 26px 0; color: var(--ink-2); }

/* ---------- Contact ---------- */
.contact { padding: var(--section) 0; background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-grid > div { display: grid; gap: 24px; align-content: start; }
.contact-list { display: grid; gap: 16px; margin-top: 8px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.contact-list small { display: block; font-size: 13px; color: var(--ink-3); }
.contact-list a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-weight: 500; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.form { padding: clamp(24px, 3.5vw, 44px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field.full, .consent.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 10px; }
.field input, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--white); outline: none; transition: border-color .2s;
}
.field textarea { height: 120px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white); font-size: 14px; transition: all .2s var(--ease);
}
.chip input:checked + span { background: var(--green); border-color: var(--green); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-note { font-size: 13px; color: var(--ink-3); }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); padding: calc(var(--section) * 1.1) 0; text-align: center; }
.finale-glow {
  position: absolute; left: 50%; top: 0; width: 1200px; aspect-ratio: 1; translate: -50% -45%;
  background: radial-gradient(closest-side, rgba(148, 210, 63, .28), transparent 70%); pointer-events: none;
}
.finale-inner { position: relative; display: grid; justify-items: center; gap: 28px; }
.finale-mark { width: clamp(120px, 14vw, 180px); height: auto; margin-bottom: 12px; }
.display-finale { font-size: clamp(42px, 7vw, 100px); max-width: 1000px; }
.display-finale em { color: var(--lime); }
.motion .finale [data-words] .w { opacity: .18; }
.finale .lead { color: var(--on-night-2); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.brand-on-dark .brand-name { color: var(--on-night); }
.brand-on-dark .brand-name span { color: var(--on-night-2); }
.footer-about { margin-top: 18px; max-width: 320px; }
.footer h4 { color: var(--on-night); font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13px; }

/* ---------- Simple pages (thanks, privacy, 404) ---------- */
.nav-inner > .nav-cta { margin-left: auto; }
.page { padding: calc(var(--nav-h) + clamp(64px, 10vw, 128px)) 0 var(--section); min-height: 70vh; }
.page-narrow { max-width: calc(820px + var(--gutter) * 2); }
.page-center { display: grid; justify-items: center; gap: 24px; text-align: center; }
.page-center .lead { max-width: 560px; }
.display-md { font-size: clamp(40px, 6vw, 80px); }
.footer .footer-bottom { margin-top: 40px; }
.prose { display: grid; gap: 16px; }
.prose h1 { margin-top: 12px; }
.prose h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; margin-top: 24px; }
.prose p { color: var(--ink-2); }
.prose a { color: var(--green); }

/* ---------- Reveal helpers & smooth scroll ---------- */
.motion [data-reveal] { will-change: transform, opacity; }
.motion:not(.is-ready) .hero-center,
.motion:not(.is-ready) .hero-intro,
.motion:not(.is-ready) .hero-frags { opacity: 0; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Sticky stack only where a whole card fits on screen */
@media (max-width: 960px), (max-height: 699px) {
  .motion .card { position: relative; top: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 64px; }
  /* The pill spans the width; the links drop into a dark panel underneath */
  .nav { top: 12px; left: 12px; right: 12px; translate: none; width: auto; max-width: none; height: 52px; }
  .nav .nav-inner { justify-content: space-between; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px; width: 40px; height: 38px;
    border: 1px solid rgba(238, 243, 233, .2); border-radius: 10px; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--on-night); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-menu {
    position: absolute; top: calc(100% + 8px); left: -1px; right: -1px; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 12px 20px 20px; background: var(--night); border: 1px solid rgba(238, 243, 233, .12); border-radius: 14px;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { height: auto; padding: 14px 0; border-bottom: 1px solid rgba(238, 243, 233, .08); font-size: 18px; color: var(--on-night); }
  .nav-links a .nav-roll { transform: none !important; }
  .nav-links a .nav-roll > span + span { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .nav-btn { height: 48px; justify-content: center; }
  .nav-inner > .nav-cta { flex-direction: row; align-items: center; gap: 14px; }

  .card { grid-template-columns: 1fr; }
  .card-visual { min-height: 200px; padding: 24px; }
  .card-icon { width: 44px; height: 44px; top: 20px; left: 24px; }
  .card-arrow { width: 32px; height: 32px; top: 20px; right: 20px; }
  .audit-grid, .split, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse > figure { order: 0; }
  .faq-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-stage { padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; }
  .hero-mark { width: 104px; margin-bottom: 20px; }
  .hero-final { gap: 16px; }
  .hero-cta { width: 100%; max-width: 320px; }
  .motion .frag-in { padding: 8px 12px 8px 8px; gap: 10px; border-radius: 14px; }
  .motion .frag small { display: none; }
  .motion .frag-icon { width: 32px; height: 32px; border-radius: 9px; }
  .motion .frag .icon { width: 17px; height: 17px; }
  .motion .frag:nth-child(1) { --x: -26vw !important; --y: -30vh !important; }
  .motion .frag:nth-child(2) { --x: 22vw !important; --y: -24vh !important; }
  .motion .frag:nth-child(3) { --x: -22vw !important; --y: 22vh !important; }
  .motion .frag:nth-child(4) { --x: 24vw !important; --y: 14vh !important; }
  .motion .frag:nth-child(5) { --x: -18vw !important; --y: 33vh !important; }
  .motion .frag:nth-child(6) { --x: 20vw !important; --y: 28vh !important; }
  .audit td { font-size: 14px; padding-right: 6px; }
  .audit th:nth-child(2), .audit td:nth-child(2) { display: none; }
  .facts { grid-template-columns: 1fr; }
  .bar span { font-size: 9px; }
  .offices { grid-template-columns: 1fr 1fr; gap: 12px; }
  .office:nth-child(2) { margin-top: 32px; }
  .faq-answer { padding-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Live help: bottom right on every screen size ---------- */
@media all {
  .help {
    display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
    position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
    opacity: 0; transform: translateY(12px) scale(.92); transform-origin: 100% 100%; pointer-events: none;
    transition: opacity .4s var(--ease), transform .5s cubic-bezier(.2, .9, .3, 1.15);
  }
  .help.is-shown { opacity: 1; transform: none; pointer-events: auto; }
  /* The pill folds into a 42px circle as they scroll down (.is-compact): the padding and
     the label's width close up together, so it morphs rather than swaps. */
  .help-btn {
    display: inline-flex; align-items: center; justify-content: center; height: 42px; min-width: 42px;
    padding: 0 18px 0 16px; border: 0; border-radius: 999px; cursor: pointer;
    font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap;
    color: var(--white); background: var(--green);
    box-shadow: 0 12px 30px -10px rgba(12, 17, 11, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
    -webkit-tap-highlight-color: transparent;
    transition: transform .2s var(--ease), background-color .2s var(--ease), padding .45s var(--ease);
  }
  .help-label {
    display: inline-block; overflow: hidden; max-width: 6em; margin-left: 10px;
    transition: max-width .45s var(--ease), margin-left .45s var(--ease), opacity .25s var(--ease);
  }
  .help.is-compact .help-btn { padding: 0; }
  .help.is-compact .help-label { max-width: 0; margin-left: 0; opacity: 0; }
  .help-btn:active { transform: scale(.96); }
  .help.is-open .help-btn { background: var(--night); }
  /* "Live" dot: a soft ping so it reads as people on the other end */
  .help-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
  .help-dot::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lime);
    animation: help-ping 2s cubic-bezier(0, 0, .2, 1) infinite;
  }
  @keyframes help-ping { 75%, 100% { transform: scale(3); opacity: 0; } }
  .help-panel {
    width: min(290px, calc(100vw - 32px)); padding: 14px; border-radius: 18px;
    background: var(--night); color: var(--on-night); border: 1px solid var(--night-line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    transform-origin: 100% 100%; opacity: 0; transform: translateY(8px) scale(.96);
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }
  .help.is-open .help-panel { opacity: 1; transform: none; }
  .help-title { padding: 4px 6px 10px; font-size: 13px; color: var(--on-night-2); }
  .help-row {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 8px 10px; border-radius: 12px;
    color: var(--on-night); text-decoration: none; text-align: left; font: inherit;
    background: none; border: 0; border-top: 1px solid var(--night-line);
  }
  .help-row:hover { background: rgba(238, 243, 233, .05); }
  /* Live chat placeholder until the chat service is added */
  .help-row-soon { cursor: default; }
  .help-row-soon:hover { background: none; }
  .help-row-soon strong { color: var(--on-night-2); }
  .help-title + .help-row { border-top: 0; }
  .help-row:active, .help-row:focus-visible { background: rgba(238, 243, 233, .07); }
  .help-row .icon { color: var(--lime); }
  .help-row strong { display: block; font-weight: 500; font-size: 16px; }
  .help-row small { display: block; font-size: 13px; color: var(--on-night-2); overflow-wrap: anywhere; }
  /* Keep the footer's last line clear of the pill */
  .footer-bottom { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  .help, .help-panel { transition: opacity .2s linear; transform: none !important; }
  .help-btn, .help-label { transition: none; }
  .help-dot::after { animation: none; }
}

/* ---------- Quick estimate modal on phones: a compact bottom sheet ---------- */
@media (max-width: 640px) {
  .saver-modal {
    width: 100%; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0;
    box-shadow: 0 0 0 1px var(--night-line), 0 -20px 60px -20px rgba(0, 0, 0, .6);
  }
  .saver-modal[open] { animation-name: saver-sheet; }
  @keyframes saver-sheet { from { opacity: 0; transform: translateY(48px); } }
  .saver-modal .saver-form { gap: 16px; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  .saver-modal .saver-close { width: 40px; height: 40px; top: 10px; margin: 10px 10px -50px 0; }
  .saver-modal .saver-pick { gap: 10px; }
  .saver-modal .saver-pick .h-xl { font-size: 30px; padding-right: 44px; }
  .saver-modal .saver-lead { font-size: 15px; }
  /* Supplier and spend side by side, so four services fit on about one screen */
  .saver-modal .saver-rows { gap: 8px; margin-top: 2px; }
  .saver-modal .saver-row { grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; border-radius: 14px; }
  .saver-modal .saver-row legend { font-size: 14px; margin-bottom: 0; }
  .saver-modal .saver-row legend .icon { width: 16px; height: 16px; }
  .saver-modal .saver-select select { height: 42px; padding: 0 28px 0 10px; border-radius: 10px; text-overflow: ellipsis; }
  .saver-modal .saver-select::after { right: 11px; width: 7px; height: 7px; }
  .saver-modal .saver-result { gap: 10px; padding: 16px; border-radius: 16px; }
  .saver-modal .saver-amount strong { font-size: 30px; }
  .saver-modal .saver-amount span { font-size: 15px; }
  .saver-modal .saver-callback { gap: 8px; margin-top: 2px; padding-top: 12px; }
  .saver-modal .saver-ask { font-size: 14px; }
  .saver-modal .saver-ask strong { font-size: 16px; }
  .saver-modal .saver-callback input { height: 46px; }
  .saver-modal .saver-callback .btn { height: 50px; }
  .saver-modal .saver-chip span { min-height: 46px; padding: 0 12px; gap: 8px; font-size: 14px; }
  .saver-modal .saver-optional { font-size: 12px; }
}

/* ---------- Service cards on phones: condensed ---------- */
/* The clip becomes a short banner above the copy, the tick lists go (the service
   pages carry the detail), and the type and spacing tighten: about half the height. */
@media (max-width: 640px) {
  .stack { gap: 14px; }
  .card { gap: 14px; padding: 14px 14px 18px; border-radius: 20px; }
  .card-visual { order: -1; min-height: 124px; padding: 14px 16px; gap: 2px; border-radius: 14px; }
  .card-icon { width: 28px; height: 28px; top: 12px; left: 14px; }
  .card-arrow { width: 22px; height: 22px; top: 12px; right: 14px; }
  .card-label { font-size: 12px; }
  .card-value { font-size: 30px; }
  .card-copy { gap: 8px; padding: 0 4px; }
  .card-num { display: none; }
  .card-copy h3 { font-size: 24px; }
  .card-copy > p { font-size: 15px; line-height: 1.45; }
  .card-copy .ticks { display: none; }
  .card-copy .link-arrow { padding-top: 0; font-size: 15px; }
  .card::after { left: 20px; right: 20px; height: 3px; }
}

/* How it works on phones: the heading and the example card carry it; the three steps are hidden */
@media (max-width: 640px) {
  .audit-stops { display: none; }
}

/* =====================================================================
   Service, services hub and About pages (static, no GSAP)
   ===================================================================== */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--green); }

.svc-hero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(40px, 6vw, 72px); }
.svc-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-hero-copy { display: grid; gap: 20px; justify-items: start; }
.svc-hero-copy .lead { max-width: 560px; }
.svc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.svc-hero-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--night); }
.svc-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.svc-facts { padding-bottom: clamp(40px, 6vw, 72px); }
.svc-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.svc-facts-grid > div { padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; }
.svc-facts-grid > div + div { border-left: 1px solid var(--line); }
.svc-facts-grid dt { font-size: 13px; color: var(--ink-3); }
.svc-facts-grid dd { order: -1; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }

.svc-section { padding: clamp(48px, 7vw, 96px) 0; }
.svc-section + .svc-section { border-top: 1px solid var(--line); }
.svc-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-split-body { display: grid; gap: 22px; }
.svc-split-body > p { color: var(--ink-2); font-size: 18px; max-width: 640px; }

.svc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); counter-reset: svcstep; }
.svc-steps li { counter-increment: svcstep; display: grid; gap: 10px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.svc-steps li::before {
  content: counter(svcstep); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-soft); color: var(--green); font-weight: 600; font-size: 15px;
}
.svc-steps h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.svc-steps p { color: var(--ink-2); }

.svc-note { margin-top: 18px; color: var(--ink-2); }

.svc-cta { background: var(--night); color: var(--on-night); padding: clamp(56px, 8vw, 104px) 0; }
.svc-cta-inner { display: grid; gap: 22px; justify-items: start; }
.svc-cta h2 em { color: var(--lime); }
.svc-cta p { color: var(--on-night-2); font-size: 18px; max-width: 560px; }

.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.svc-related-grid a {
  display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 20px;
  background: var(--white); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.svc-related-grid a:hover { border-color: var(--green); transform: translateY(-2px); }
.svc-related-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.svc-related-grid span { display: grid; gap: 4px; padding: 16px 18px 18px; }
.svc-related-grid strong { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.svc-related-grid small { color: var(--ink-3); font-size: 14px; line-height: 1.4; }

.svc-faq .faq { margin-top: 8px; }

@media (max-width: 960px) {
  .svc-hero-grid, .svc-split { grid-template-columns: 1fr; }
  .svc-facts-grid { grid-template-columns: 1fr 1fr; }
  .svc-facts-grid > div:nth-child(3) { border-left: 0; }
  .svc-facts-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .svc-steps, .svc-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .svc-hero { padding-top: calc(var(--nav-h) + 36px); }
  .svc-hero-media { aspect-ratio: 16 / 10; border-radius: 20px; }
  .svc-actions .btn { flex: 1 1 100%; }
  .svc-facts-grid > div { padding: 16px 12px; }
  .svc-related-grid { grid-template-columns: 1fr; }
  .svc-related-grid a { grid-template-columns: 112px 1fr; grid-template-rows: none; }
  .svc-related-grid img { aspect-ratio: auto; height: 100%; }
}

/* Services hub and About extras */
.svc-hero-solo { padding-bottom: clamp(24px, 4vw, 48px); }
.svc-hero-solo .svc-hero-copy { max-width: 820px; }
.svc-section-tight { padding-top: 0; }
.svc-list { display: grid; gap: 14px; }
.svc-row {
  position: relative; display: grid; grid-template-columns: minmax(200px, 340px) 1fr 40px; gap: clamp(18px, 3vw, 40px); align-items: center;
  padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); color: var(--ink); text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.svc-row:hover { border-color: var(--green); transform: translateY(-2px); }
.svc-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; }
.svc-row-body { display: grid; gap: 6px; }
.svc-row-num { font-size: 13px; color: var(--ink-3); letter-spacing: .08em; }
.svc-row h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.svc-row-blurb { color: var(--ink-2); font-size: 17px; max-width: 560px; }
.svc-row-fact { justify-self: start; margin-top: 4px; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 500; }
.svc-row-arrow { width: 26px; height: 26px; color: var(--green); transition: transform .2s var(--ease); }
.svc-row:hover .svc-row-arrow { transform: translateX(4px); }

.svc-links { display: grid; }
.svc-links a { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.svc-links li:last-child a { border-bottom: 1px solid var(--line); }
.svc-links strong { font-weight: 500; font-size: 19px; letter-spacing: -0.02em; }
.svc-links span { color: var(--ink-2); }
.svc-links a:hover strong { color: var(--green); }

@media (max-width: 640px) {
  .svc-row { grid-template-columns: 1fr; padding: 10px 10px 18px; }
  .svc-row-body { padding: 0 6px; }
  .svc-row-arrow { display: none; }
}
