/* ==========================================================================
   ESG Intelligence — esgintelligence.space
   Single-page marketing site. Vanilla CSS, no build step.

   Brand tokens (from dev/design/kit):
     Navy #0B1F3A · Teal #00A896 · Gold #C9A84C · Furrow #DCF3EF · Paper #F7FAFC
     Headings: Playfair Display · Body/UI: Poppins
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #0B1F3A;
  --navy-deep: #071527;
  --navy-soft: #122B4D;
  --teal: #00A896;
  --teal-bright: #19C5B1;
  --gold: #C9A84C;
  --gold-soft: #E3C980;
  --furrow: #DCF3EF;
  --paper: #F7FAFC;
  --grey: #4A5568;

  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur: .6s;

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 76px;
}

/* Dark theme (default): navy stage, teal and gold accents */
:root[data-theme="dark"] {
  --bg: var(--navy);
  --bg-2: var(--navy-deep);
  --surface: rgba(255, 255, 255, .035);
  --surface-2: #10264A;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .18);
  --ink: #F3F6FA;
  --ink-2: #CBD5E1;
  --muted: #8A9BB5;
  --accent: var(--teal);
  --accent-2: var(--gold);
  --mark-ink: #FFFFFF;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(0, 168, 150, .25), 0 20px 60px -20px rgba(0, 168, 150, .45);
  --grid: rgba(255, 255, 255, .04);
  color-scheme: dark;
}

/* Light theme: paper stage, navy ink */
:root[data-theme="light"] {
  --bg: var(--paper);
  --bg-2: #FFFFFF;
  --surface: rgba(11, 31, 58, .03);
  --surface-2: #FFFFFF;
  --line: rgba(11, 31, 58, .10);
  --line-strong: rgba(11, 31, 58, .2);
  --ink: var(--navy);
  --ink-2: #2D3A4F;
  --muted: #5E6B80;
  --accent: #008C7D;
  --accent-2: #A8873A;
  --mark-ink: var(--navy);
  --shadow: 0 30px 80px -30px rgba(11, 31, 58, .25);
  --glow: 0 0 0 1px rgba(0, 168, 150, .25), 0 20px 60px -20px rgba(0, 168, 150, .35);
  --grid: rgba(11, 31, 58, .05);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
em { font-style: italic; color: var(--accent); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: #fff; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--navy);
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.intro.is-done { opacity: 0; visibility: hidden; }
.intro__ring { stroke-dasharray: 390; stroke-dashoffset: 390; animation: ring 1s var(--ease-out) forwards; }
.intro__field { transform-origin: 70px 126px; transform: scaleY(0); animation: rise .6s .5s var(--ease-out) forwards; }
.intro__stem, .intro__leaf { opacity: 0; animation: pop .4s .85s var(--ease-out) forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: scaleY(1); } }
@keyframes pop { to { opacity: 1; } }

/* ---------- Scroll progress + cursor ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 90;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform-origin: left; transform: scaleX(0);
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 150, .14), transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .4s;
  mix-blend-mode: screen;
}
:root[data-theme="light"] .cursor { mix-blend-mode: multiply; background: radial-gradient(circle, rgba(0, 168, 150, .10), transparent 60%); }
body.has-pointer .cursor { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 500; font-size: 15px; letter-spacing: .01em; line-height: 1;
  transition: transform .4s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn svg { transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 168, 150, .7); }
.btn--primary:hover { background: var(--teal-bright); box-shadow: 0 16px 40px -12px rgba(0, 168, 150, .8); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--text { color: var(--ink); padding-inline: 8px; }
.btn--text::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.btn--text:hover::after { transform: scaleX(1); transform-origin: left; }
.btn--block { width: 100%; justify-content: center; padding-block: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--nav-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__word { font-size: 17px; letter-spacing: .01em; }
.brand__word b { font-weight: 600; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 400; color: var(--ink-2);
  transition: color .3s, background .3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: var(--surface); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal); transform: translateX(-50%);
}
.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  position: relative; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--teal); transform: rotate(20deg); }
.theme-toggle__sun, .theme-toggle__moon { position: absolute; width: 16px; height: 16px; border-radius: 50%; transition: transform .5s var(--ease-out), opacity .4s; }
.theme-toggle__sun { box-shadow: 0 0 0 2px var(--gold) inset; }
.theme-toggle__sun::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  background: repeating-conic-gradient(var(--gold) 0 6deg, transparent 6deg 45deg);
  mask: radial-gradient(circle, transparent 10px, #000 10px, #000 12px, transparent 12px);
  -webkit-mask: radial-gradient(circle, transparent 10px, #000 10px, #000 12px, transparent 12px);
}
.theme-toggle__moon { background: var(--ink); box-shadow: -5px -3px 0 0 var(--bg) inset; }
:root[data-theme="dark"] .theme-toggle__sun { transform: translateY(24px); opacity: 0; }
:root[data-theme="light"] .theme-toggle__moon { transform: translateY(24px); opacity: 0; }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease-out), top .4s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Shared: eyebrow, section heads, reveal ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

.section { position: relative; padding: clamp(52px, 6vw, 88px) 0; }
.section__head { max-width: 760px; margin: 0 auto clamp(30px, 3.4vw, 48px); text-align: center; }
.section__head--left { margin-inline: 0; text-align: left; }
.section__head .eyebrow { margin-bottom: 20px; }
.section__title { font-size: clamp(34px, 4.6vw, 58px); font-weight: 500; }
.section__lede { margin-top: 16px; font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); max-width: 640px; }
.section__head:not(.section__head--left) .section__lede { margin-inline: auto; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

.pill {
  display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  background: var(--bg);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .5; }
.hero__glow--teal { width: 60vw; height: 60vw; right: -20vw; top: -20vw; background: radial-gradient(circle, rgba(0, 168, 150, .35), transparent 60%); }
.hero__glow--gold { width: 40vw; height: 40vw; left: -15vw; bottom: -20vw; background: radial-gradient(circle, rgba(201, 168, 76, .22), transparent 60%); }
:root[data-theme="light"] .hero__glow { opacity: .35; }

.hero__inner {
  position: relative; z-index: 2;
  width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__title {
  font-size: clamp(42px, 6.2vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -.02em; color: var(--ink);
}
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .word > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.hero__title.is-in .word > span { transform: translateY(0); }
.hero__lede { margin-top: 28px; font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 28px 40px; margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.hero__facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hero__facts dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--ink); }

/* Tilt card */
.hero__visual { position: relative; perspective: 1400px; }
.tilt { position: relative; transform-style: preserve-3d; transition: transform .2s ease-out; will-change: transform; }
.tilt__shine {
  position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .10), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tilt:hover .tilt__shine { opacity: 1; }

.report {
  position: relative; border-radius: var(--radius); padding: 26px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--surface-2) 92%, var(--teal) 8%), var(--surface-2));
  border: 1px solid var(--line); box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(10px);
}
.report__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.report__label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.report__ref { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.report__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.report__k { display: block; font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.report__v { display: block; margin-top: 4px; font-size: 22px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.report__v--teal { color: var(--teal); }
.report__chart { margin-top: 22px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.report__chart svg { width: 100%; height: 96px; }
.report__line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: drawLine 2.4s 1.2s var(--ease-out) forwards; }
.report__area { opacity: 0; animation: pop 1s 2.6s forwards; }
.report__pulse { animation: pulse 2s 3s infinite; transform-origin: 320px 12px; transform-box: view-box; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.6); } }
.report__axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--muted); letter-spacing: .06em; }
.report__checks { margin-top: 20px; display: grid; gap: 10px; }
.report__checks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.report__checks i {
  width: 16px; height: 16px; border-radius: 50%; flex: none; position: relative;
  background: rgba(0, 168, 150, .15); border: 1px solid rgba(0, 168, 150, .5);
}
.report__checks i::after {
  content: ""; position: absolute; left: 4px; top: 3px; width: 5px; height: 8px;
  border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg);
}
.report__foot { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.report__chip { padding: 5px 10px; border-radius: 6px; font-size: 11px; letter-spacing: .04em; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.report__chip--gold { color: var(--gold-soft); border-color: rgba(201, 168, 76, .4); }
:root[data-theme="light"] .report__chip--gold { color: var(--accent-2); }

.hero__orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit__chip {
  position: absolute; padding: 8px 14px; border-radius: 999px; font-size: 12px; font-weight: 400; white-space: nowrap;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.orbit__chip--a { top: -18px; left: -6%; animation-delay: 0s; }
.orbit__chip--b { right: -8%; top: 38%; animation-delay: -2s; }
.orbit__chip--c { bottom: -14px; left: 12%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  width: 24px; height: 40px; border: 1px solid var(--line-strong); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--teal); transform: translateX(-50%); animation: hint 1.8s infinite; }
@keyframes hint { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 14px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: var(--bg-2); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee__track i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .6s var(--ease-out), border-color .4s, background .4s;
}
.pillar::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 168, 150, .12), transparent 50%);
}
.pillar:hover { transform: translateY(-6px); border-color: rgba(0, 168, 150, .4); }
.pillar:hover::before { opacity: 1; }
.pillar__num { font-family: var(--font-head); font-size: 14px; color: var(--muted); letter-spacing: .1em; }
.pillar__icon { width: 56px; height: 56px; margin: 26px 0 22px; color: var(--teal); }
.pillar__icon svg { width: 100%; height: 100%; }
.pillar h3 { font-size: 28px; font-weight: 500; }
.pillar p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.pillar__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pillar__tags li { padding: 5px 10px; border-radius: 6px; font-size: 11px; letter-spacing: .04em; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Coverage ---------- */
.section--coverage { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--coverage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.coverage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.coverage__copy .eyebrow { margin-bottom: 20px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2);
  font-size: 13px; font-weight: 400; transition: all .3s var(--ease-out);
}
.chip:hover { border-color: var(--teal); color: var(--ink); }
.chip.is-active { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 8px 24px -10px rgba(0, 168, 150, .8); }

.coverage__panel {
  border-radius: var(--radius); padding: clamp(24px, 3vw, 36px);
  background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.coverage__panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.coverage__panel-title { font-family: var(--font-head); font-size: 20px; color: var(--ink); }
.coverage__field { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.coverage__field-label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.coverage__field-value { font-size: 15px; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.coverage__field-value output { font-size: 20px; }

.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; outline: none;
  background: linear-gradient(90deg, var(--teal) var(--pct, 30%), var(--line) var(--pct, 30%));
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2);
  border: 2px solid var(--teal); box-shadow: 0 6px 18px -6px rgba(0, 168, 150, .9); transition: transform .2s;
}
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--teal); box-shadow: 0 6px 18px -6px rgba(0, 168, 150, .9); }
.range:active::-webkit-slider-thumb { transform: scale(1.15); }
.coverage__field--gap { margin-top: 28px; }
.range--gold { background: linear-gradient(90deg, var(--gold) var(--pct, 30%), var(--line) var(--pct, 30%)); }
.range--gold::-webkit-slider-thumb { border-color: var(--gold); box-shadow: 0 6px 18px -6px rgba(201, 168, 76, .9); }
.range--gold::-moz-range-thumb { border-color: var(--gold); box-shadow: 0 6px 18px -6px rgba(201, 168, 76, .9); }
.range__ticks { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10px; letter-spacing: .06em; color: var(--muted); }

.coverage__result { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.coverage__result-label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.coverage__result-value { display: block; margin-top: 6px; font-family: var(--font-head); font-size: clamp(38px, 4.5vw, 58px); color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.coverage__bar { position: relative; height: 4px; margin-top: 22px; border-radius: 2px; background: var(--line); overflow: hidden; }
.coverage__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); transition: width .6s var(--ease-out); }
.coverage__split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.coverage__split-k { display: block; font-size: 11px; color: var(--muted); }
.coverage__split-v { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.coverage__scales { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.coverage__note { margin-top: 22px; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.process__steps { display: grid; gap: 6px; position: relative; }
.step {
  position: relative; display: grid; grid-template-columns: 44px 1fr 36px; gap: 18px; align-items: start;
  width: 100%; text-align: left; padding: 22px 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: background .4s, border-color .4s;
}
.step:hover { background: var(--surface); }
.step.is-active { background: var(--surface); border-color: var(--line); }
.step__index { font-family: var(--font-head); font-size: 15px; color: var(--muted); padding-top: 3px; transition: color .3s; }
.step.is-active .step__index { color: var(--teal); }
.step__title { display: block; font-size: 19px; font-weight: 500; color: var(--ink); font-family: var(--font-body); }
.step__desc { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .5s, margin .4s; }
.step.is-active .step__desc { max-height: 120px; opacity: 1; }
.step__ring { width: 36px; height: 36px; transform: rotate(-90deg); opacity: 0; transition: opacity .3s; }
.step__ring circle { fill: none; stroke: var(--teal); stroke-width: 2; stroke-dasharray: 100.5; stroke-dashoffset: 100.5; }
.step.is-active .step__ring { opacity: 1; }
.step.is-active .step__ring circle { animation: ringFill var(--step-dur, 5s) linear forwards; }
.process.is-paused .step.is-active .step__ring circle { animation-play-state: paused; }
@keyframes ringFill { to { stroke-dashoffset: 0; } }

.process__stage { position: sticky; top: calc(var(--nav-h) + 24px); }
.stage {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow);
  color: var(--ink);
}
.stage__panel { display: none; }
.stage__panel.is-active { display: block; animation: fadeIn .6s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.stage__art { width: 100%; aspect-ratio: 4 / 3; height: auto; }
.stage__art .draw { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: drawLine 1.6s .1s var(--ease-out) forwards; }
.stage__art .pins circle { opacity: 0; animation: pop .4s forwards; }
.stage__art .pins circle:nth-child(1) { animation-delay: .2s; } .stage__art .pins circle:nth-child(2) { animation-delay: .4s; }
.stage__art .pins circle:nth-child(3) { animation-delay: .6s; } .stage__art .pins circle:nth-child(4) { animation-delay: .8s; }
.stage__art .pins circle:nth-child(5) { animation-delay: 1s; } .stage__art .pins circle:nth-child(6) { animation-delay: 1.2s; }
.stage__art .fade-up { opacity: 0; animation: fadeUp .7s .5s var(--ease-out) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.stage__art .bars rect { transform-origin: bottom; transform-box: fill-box; transform: scaleY(0); animation: grow .8s var(--ease-out) forwards; }
.stage__art .bars rect:nth-child(1) { animation-delay: .1s; } .stage__art .bars rect:nth-child(2) { animation-delay: .2s; }
.stage__art .bars rect:nth-child(3) { animation-delay: .3s; } .stage__art .bars rect:nth-child(4) { animation-delay: .4s; }
.stage__art .bars rect:nth-child(5) { animation-delay: .5s; } .stage__art .bars rect:nth-child(6) { animation-delay: .6s; }
@keyframes grow { to { transform: scaleY(1); } }
.stage__art .stamp { opacity: 0; transform-origin: 255px 235px; transform-box: view-box; animation: stamp .5s 1s var(--ease-out) forwards; }
@keyframes stamp { from { opacity: 0; transform: scale(1.8) rotate(-12deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
.stage__art .ship { offset-path: path("M40,220 C120,220 120,120 200,120 S280,220 360,220"); offset-rotate: auto; animation: sail 4s .3s var(--ease-in-out) forwards; }
@keyframes sail { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.stage__meta { display: flex; gap: 16px; align-items: baseline; padding: 18px 24px; border-top: 1px solid var(--line); }
.stage__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); flex: none; }
.stage__v { font-size: 14px; color: var(--ink-2); }

/* ---------- Stats band ---------- */
.band { padding: clamp(32px, 3.6vw, 52px) 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding-left: 20px; border-left: 1px solid var(--line-strong); }
.stat__v { display: block; font-family: var(--font-head); font-size: clamp(36px, 4vw, 54px); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__k { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- Tabs (standards) ---------- */
.tabs { max-width: 1080px; margin: 0 auto; }
/* 17 standards do not fit on one line, so the strip scrolls inside the pill.
   The pill owns the border and background; the list inside it is the scroll area. */
.tabs__nav {
  position: relative; display: flex; align-items: center; gap: 2px;
  margin: 0 auto clamp(28px, 3vw, 40px); padding: 5px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); overflow: hidden;
}
.tabs__list { position: relative; display: flex; gap: 4px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 400;
  color: var(--ink-2); background: transparent; white-space: nowrap; flex: none;
  transition: color .3s, background .3s; }
.tab:hover { color: var(--ink); }
/* The active state lives on the tab itself. A separate sliding indicator inside a
   horizontal scroll container is fragile, and across 17 tabs it slid over unrelated ones. */
.tab.is-active { color: #fff; background: var(--teal); }
/* Fade the strip's cut edge only on the side that actually has more to show.
   Masking the list, not the pill, keeps this independent of the page background. */
.tabs__nav.can-prev .tabs__list { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 100%); }
.tabs__nav.can-next .tabs__list { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 30px), transparent 100%); }
.tabs__nav.can-prev.can-next .tabs__list { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%); }
.tabs__arrow {
  position: relative; z-index: 3; flex: none; display: grid; place-items: center;
  width: 30px; height: 38px; border-radius: 999px; color: var(--ink-2);
  background: var(--surface); transition: color .3s, background .3s;
}
.tabs__arrow:hover:not(:disabled) { color: var(--ink); background: var(--surface-2); }
.tabs__arrow:disabled { opacity: .28; cursor: default; }
.tabs__arrow[hidden] { display: none; }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: fadeIn .6s var(--ease-out); }
.tabs__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); box-shadow: var(--shadow);
}
.tabs__grid h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; }
.tabs__grid p { margin-top: 16px; color: var(--muted); }
.checklist { display: grid; gap: 14px; align-content: center; }
.checklist li { position: relative; padding: 14px 16px 14px 46px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: rgba(0, 168, 150, .15); border: 1px solid rgba(0, 168, 150, .5);
}
.checklist li::after {
  content: ""; position: absolute; left: 22px; top: calc(50% - 5px); width: 5px; height: 9px;
  border-right: 1.5px solid var(--teal); border-bottom: 1.5px solid var(--teal); transform: rotate(45deg);
}

/* ---------- Contact ---------- */
.section--contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.contact__copy .eyebrow { margin-bottom: 20px; }
.contact__list { margin-top: 36px; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.contact__list a { color: var(--teal); }
.contact__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.form { display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 20px 16px 8px; border-radius: var(--radius-sm); font: inherit; font-weight: 400; font-size: 15px;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line); outline: none; resize: vertical;
  transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0, 168, 150, .18); }
.field label {
  position: absolute; left: 16px; top: 15px; font-size: 14px; color: var(--muted); pointer-events: none;
  transition: transform .3s var(--ease-out), font-size .3s, color .3s;
}
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label, .field select:valid ~ label { transform: translateY(-9px); font-size: 11px; color: var(--teal); letter-spacing: .06em; }
.field.is-invalid input, .field.is-invalid select { border-color: #E06B6B; }
.form__note { font-size: 12px; color: var(--muted); text-align: center; }

/* Mailto fallback: shown only when the visitor's mail client never opened */
.fallback {
  margin-top: 22px; padding: 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--gold); background: var(--surface-2);
}
.fallback[hidden] { display: none; }
.fallback__head { font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.fallback__body { margin-top: 8px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.fallback__body a { color: var(--teal); }
.fallback__label {
  display: block; margin-top: 16px; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.fallback__text {
  width: 100%; margin-top: 8px; padding: 12px; resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; line-height: 1.6;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.fallback__copy { margin-top: 12px; }
.form.is-sent .btn--primary { background: var(--gold); box-shadow: none; }

/* ---------- Footer ---------- */
.footer { padding: 24px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 36px; }
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.footer__tag { color: var(--muted); font-size: 13px; }
.footer__meta { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero__visual { max-width: 560px; }
  .orbit__chip--a { left: 0; } .orbit__chip--b { right: 0; }
  .pillars { grid-template-columns: 1fr; }
  .coverage, .process, .contact { grid-template-columns: 1fr; }
  .process__stage { position: static; }
  .band__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .tabs__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 70;
    display: grid; align-content: start; gap: 6px; padding: 24px var(--gutter);
    background: var(--bg); border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .35s, transform .45s var(--ease-out);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { font-size: 22px; padding: 16px 12px; font-family: var(--font-head); border-radius: var(--radius-sm); }
  .nav__links a.is-active::after { display: none; }
  .nav__cta { display: none; }
  .burger { display: block; }
  .nav.is-open { background: var(--bg); border-color: var(--line); }
  .cursor { display: none; }
  .hero__facts { gap: 20px 28px; }
  .report { padding: 20px; }
  .report__row { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .report__v { font-size: 18px; }
  .orbit__chip { font-size: 11px; padding: 6px 10px; }
  .orbit__chip--b { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 34px 1fr 28px; gap: 12px; padding: 18px 14px; }
  .step__ring { width: 28px; height: 28px; }
  .coverage__split { grid-template-columns: 1fr 1fr; }
  .band__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .band__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero__title .word > span { opacity: 1; transform: none; }
  .intro { display: none; }
  .cursor { display: none; }
}
