/* ============================================================
   EDRA — Institutional Light (Sample Report palette)
   Aesthetic: cream parchment dossier, deep-forest accent panels
   Fonts: Syne (display) + DM Sans (body) + JetBrains Mono (numerics)
   Palette: cream #EDEAE2 · forest #1C3E29 · gold #C8A96E
   NOTE: token NAMES preserved from the dark theme; only VALUES remapped
         so the whole site re-skins by redefining :root.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img, svg, video, canvas { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; font-family: inherit; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea, button { font-family: inherit; }

:root {
  /* ── Surfaces — cream parchment ── */
  --bg:          #EDEAE2;   /* cream paper — page background */
  --bg-card:     #FFFFFF;   /* white elevated card */
  --bg-raised:   #F9F8F4;   /* slightly raised surface / hover */
  --bg-hover:    #F1EFE8;   /* interactive hover */
  --bg-subtle:   #F6F4ED;   /* warm subtle band */

  /* ── Deep-forest panels (report cover / callout boxes) ── */
  --panel:       #0E2417;
  --panel-deep:  #081A10;
  --panel-tint:  #14361F;

  /* ── Text — deep-forest ink ── */
  --white:       #111A13;   /* strong heading ink (token kept for reuse) */
  --white-off:   #2A2E24;   /* secondary strong text */
  --body:        #4F574C;   /* body text — ~6.6:1 on cream (AA/AAA) */
  --muted:       #61685B;   /* muted labels — ~4.7:1 on cream (AA) */

  /* ── Brand — forest primary (token name "teal" kept) ── */
  --teal:        #1C3E29;   /* forest green — primary accent */
  --teal-deep:   #0E2417;   /* forest deep — hover/pressed */
  --teal-dim:    rgba(28,62,41,0.06);
  --teal-border: rgba(28,62,41,0.18);
  --teal-glow:   rgba(28,62,41,0.10);

  /* ── Gold accent (italic emphasis, highlights) ── */
  --gold:        #C8A96E;
  --gold-deep:   #B0863A;
  --gold-dim:    rgba(200,169,110,0.16);
  --gold-border: rgba(200,169,110,0.45);

  /* ── Crisp text tokens used by preview-section ── */
  --text:        #111A13;
  --text-mute:   #61685B;

  /* ── Status / grade spectrum ── */
  --red:         #A8392E;   /* institutional crimson — critical */
  --red-dim:     rgba(168,57,46,0.10);
  --red-border:  rgba(168,57,46,0.28);
  --amber:       #B0863A;   /* gold/amber warn — readable on cream */
  --amber-dim:   rgba(176,134,58,0.12);
  --green:       #4E7A60;   /* sage — ok / good */
  --green-dim:   rgba(78,122,96,0.12);
  --copper:      #A8763E;   /* poor */
  --sage:        #4E7A60;
  --forest:      #1C3E29;

  /* ── Lines ── */
  --border:      rgba(17,26,19,0.08);
  --border-hi:   rgba(17,26,19,0.16);
  --radius:      8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-pill: 100px;
  /* Mono font token for numerics and code */
  --font-mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  color: var(--white);
  font-weight: 700;
}

sup {
  font-size: 0.35em;
  vertical-align: super;
  line-height: 0;
  opacity: 0.5;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--teal);
}

/* ── Container ── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Section padding ── */
.section-pad { padding: 96px 0; }

/* ── Section header ── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin-bottom: 12px; }
.section-intro {
  font-size: 1rem;
  color: var(--body);
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  min-height: 44px; /* WCAG / Apple HIG tap target minimum */
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.015em;
  border: 1.5px solid transparent;
  transition: all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--teal-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border-hi);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-lg { padding: 16px 36px; font-size: 0.85rem; }
.btn-sm { padding: 10px 22px; font-size: 0.78rem; }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ============================================================
   NAV — sticky, white bg, solid on scroll
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: 76px;
  padding: 0 48px;
  padding-left: max(48px, env(safe-area-inset-left));
  padding-right: max(48px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.35s;
  background: #FAFAF7;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
#nav.scrolled {
  background: rgba(250,250,247,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  height: 68px;
}
#nav.hidden { transform: translateY(-100%); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-mark {
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
}
.nav-logo-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: #0A0A0A;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
  transition: color 0.25s;
}
.nav-links a:hover { color: #0A0A0A; }

.nav-actions { display: flex; gap: 12px; align-items: center; }
#nav .btn-primary {
  background: var(--teal);
  color: var(--bg);
  border-color: var(--teal);
  font-size: 0.78rem;
  padding: 10px 22px;
}
#nav .btn-primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
}
#nav .btn-outline {
  color: #0A0A0A;
  border-color: rgba(0,0,0,0.15);
  font-size: 0.78rem;
  padding: 10px 22px;
}
#nav .btn-outline:hover {
  border-color: #0A0A0A;
  color: #0A0A0A;
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  /* Bars inherit from this color — adapts per theme */
  color: #0A0A0A;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  z-index: 10;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.2s ease;
}
/* Morph the 3 bars into an X when expanded */
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO — Full-width video carousel with centered text
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

/* Carousel behind everything */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img,
.hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at center,
      rgba(10,10,10,0.7) 0%,
      rgba(10,10,10,0.85) 60%,
      rgba(10,10,10,0.92) 100%
    );
}

/* Centered hero content */
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: 100px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 36px;
  border-radius: 16px;
  animation: fadeIn 0.7s ease both;
}

.hero h1 { margin-bottom: 28px; }
.hero h1 em { color: var(--teal); font-style: normal; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--body);
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Staggered entrance */
.hero h1      { animation: fadeIn 0.8s 0.2s ease both; }
.hero-sub     { animation: fadeIn 0.8s 0.35s ease both; }
.hero-actions { animation: fadeIn 0.8s 0.5s ease both; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Carousel dots */
.hero-indicators {
  position: absolute;
  bottom: 48px;
  right: 56px;
  right: max(56px, env(safe-area-inset-right));
  bottom: max(48px, env(safe-area-inset-bottom));
  z-index: 3;
  display: flex;
  gap: 6px;
}
.hero-dot {
  width: 28px; height: 3px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s;
}
.hero-dot.active {
  background: var(--teal);
  width: 44px;
  box-shadow: 0 0 10px var(--teal-glow);
}

/* ── Status pills (used in sample output section) ── */
.status-pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.status-transition {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(245,166,35,0.2);
}
.status-decision {
  background: var(--teal-dim);
  color: var(--teal);
  border: 1px solid var(--teal-border);
}
.status-reporting {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid var(--red-border);
}
.status-dependent {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(176,134,58,0.28);
}

.issue-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.02em;
}
.issue-count {
  font-size: 0.65rem;
  color: var(--muted);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--teal);
}
.trust-text {
  font-size: 0.78rem;
  color: var(--body);
  font-weight: 400;
  line-height: 1.4;
}

/* ============================================================
   WHY EDRA EXISTS — comparison cards
   ============================================================ */
.why-section { background: var(--bg); }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.comparison-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-icon svg { width: 16px; height: 16px; }
.comparison-icon.without {
  background: var(--red-dim);
  border: 1px solid var(--red-border);
}
.comparison-icon.without svg { stroke: var(--red); }
.comparison-icon.with {
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
}
.comparison-icon.with svg { stroke: var(--teal); }

.comparison-card h3 {
  font-size: 1rem;
  font-weight: 600;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.55;
}
.comparison-without .comparison-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
  opacity: 0.6;
}
.comparison-with .comparison-list li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================================
   PROOF STRIP — institutional credibility
   ============================================================ */
.proof-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.proof-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.proof-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  margin-bottom: 16px;
}
.proof-content p {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 12px;
}
.proof-footnote {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ============================================================
   METHOD — pipeline + cards
   ============================================================ */
.method-section { background: var(--bg); }

/* Pipeline flow */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 100px;
  transition: all 0.3s;
}
.pipeline-step:hover {
  border-color: var(--teal-border);
}
.pipeline-final {
  border-color: var(--teal-border);
  background: var(--teal-dim);
}
.pipeline-letter {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.pipeline-name {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pipeline-arrow {
  color: var(--muted);
  flex-shrink: 0;
}
.pipeline-arrow svg { width: 24px; height: 12px; }

/* Method cards */
.method-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.method-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: all 0.3s;
}
.method-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.method-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.method-letter {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  opacity: 0.6;
}

.method-card h3 { margin-bottom: 8px; }

.method-note {
  font-size: 0.75rem;
  color: var(--amber);
  font-style: italic;
  margin-bottom: 8px;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.method-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--body);
}
.method-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
}

.method-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
  margin-top: 40px;
  padding: 16px 24px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
}

/* ============================================================
   STATUS BANDS — decision table
   ============================================================ */
.bands-section { background: var(--bg-card); }

/* ── Score spectrum — visual 0–100 scale with 5 colored zones ─── */
.bands-spectrum {
  margin: 56px 0 48px;
  --zone-1: #A8392E;   /* crimson — critical */
  --zone-2: #A8763E;   /* copper — poor */
  --zone-3: #C8A96E;   /* gold — fair */
  --zone-4: #4E7A60;   /* sage — good */
  --zone-5: #1C3E29;   /* forest — excellent */
}
.spectrum-track {
  position: relative;
  display: flex;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(17,26,19,0.05);
  box-shadow: inset 0 1px 2px rgba(17,26,19,0.10);
}
.spectrum-zone {
  flex: var(--span, 20);
  height: 100%;
  position: relative;
  /* Subtle inner divider between zones */
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.55);
  transform: scaleX(0);
  transform-origin: left center;
  animation: spectrumFill 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.spectrum-zone:last-child { box-shadow: none; }
.zone-1 { background: linear-gradient(90deg, #8B3A3A 0%, var(--zone-1) 100%); animation-delay: 0.15s; }
.zone-2 { background: linear-gradient(90deg, var(--zone-1) 0%, var(--zone-2) 100%); animation-delay: 0.30s; }
.zone-3 { background: linear-gradient(90deg, var(--zone-2) 0%, var(--zone-3) 100%); animation-delay: 0.45s; }
.zone-4 { background: linear-gradient(90deg, var(--zone-3) 0%, var(--zone-4) 100%); animation-delay: 0.60s; }
.zone-5 { background: linear-gradient(90deg, var(--zone-4) 0%, var(--zone-5) 100%); animation-delay: 0.75s; }
@keyframes spectrumFill {
  to { transform: scaleX(1); }
}

.spectrum-axis {
  position: relative;
  height: 28px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.axis-tick {
  position: absolute;
  top: 0;
  left: calc(var(--at, 0) * 1%);
  transform: translateX(-50%);
  padding-top: 8px;
  white-space: nowrap;
}
.axis-tick::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 5px;
  background: var(--border-hi);
}
/* Bookend ticks align to the bar edges, not centered on the tick mark */
.axis-tick[style*="--at: 0"] { transform: translateX(0); }
.axis-tick[style*="--at: 0"]::before { left: 0; }
.axis-tick[style*="--at: 100"] { transform: translateX(-100%); }
.axis-tick[style*="--at: 100"]::before { left: auto; right: 0; }

/* ── Detail card grid ───────────────────────────────────────── */
.bands-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.band-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s,
              background 0.2s;
  overflow: hidden;
}
/* Color stripe along the top of each card — matches spectrum zone */
.band-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--border));
}
.band-card-1::before { background: linear-gradient(90deg, #8B3A3A, #A8392E); }
.band-card-2::before { background: linear-gradient(90deg, #A8392E, #A8763E); }
.band-card-3::before { background: linear-gradient(90deg, #A8763E, #C8A96E); }
.band-card-4::before { background: linear-gradient(90deg, #C8A96E, #4E7A60); }
.band-card-5::before { background: linear-gradient(90deg, #4E7A60, #1C3E29); }

.band-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hi);
  background: var(--bg-raised);
}

.band-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.band-card-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.band-card-name {
  font-family: 'Syne', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.25;
}
.band-card-meaning {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--body);
  margin: 0;
}
.band-card-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.band-card-action-lbl {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.band-card-action p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--white-off);
  margin: 0;
}

/* ── Score chip (used in cards + still referenced in sample preview) ─── */
.score-chip {
  display: inline-block;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  min-width: 60px;
  font-variant-numeric: tabular-nums;
}
.band-1 { background: rgba(168,57,46,0.12); color: #A8392E; }
.band-2 { background: rgba(168,118,62,0.14); color: #8F5F2E; }
.band-3 { background: rgba(200,169,110,0.18); color: #9A7B33; }
.band-4 { background: var(--green-dim); color: var(--green); }
.band-5 { background: var(--teal-dim); color: var(--teal); }

/* Respect reduced motion — fully reveal zones immediately */
@media (prefers-reduced-motion: reduce) {
  .spectrum-zone { animation: none; transform: scaleX(1); }
  .band-card:hover { transform: none; }
}

/* ============================================================
   DELIVERABLES
   ============================================================ */
.deliverables-section { background: var(--bg); }

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.deliverable-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.deliverable-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.deliverable-icon {
  width: 44px; height: 44px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.deliverable-icon svg {
  width: 20px; height: 20px;
  stroke: var(--teal);
}

.deliverable-card h3 { margin-bottom: 8px; }
.deliverable-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.micro-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.micro-link:hover { opacity: 0.8; }
.micro-link::after {
  content: ' \2192';
}

/* ============================================================
   EDRA+ — Beyond the diagnostic
   ============================================================ */
.edra-plus-section {
  background:
    radial-gradient(1100px 420px at 50% -10%, var(--teal-glow), transparent 60%),
    var(--bg);
}

.edra-plus-header { max-width: 820px; }
.edra-plus-header h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  letter-spacing: -0.03em;
}

.edra-plus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.edra-plus-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s;
  overflow: hidden;
}
.edra-plus-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0.35;
}
.edra-plus-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.edra-plus-card:hover::before { opacity: 0.8; }

.edra-plus-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.edra-plus-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.edra-plus-kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.edra-plus-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.edra-plus-work {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.edra-plus-work li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--body, #D1D1D1);
}
.edra-plus-work li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.edra-plus-frameworks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.edra-plus-deliver {
  margin-top: auto;
  padding: 18px 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 2px solid var(--teal);
  border-radius: var(--radius);
}
.edra-plus-deliver-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.edra-plus-deliver p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}
.edra-plus-deliver strong { color: var(--white); }

.edra-plus-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
  margin-top: 40px;
  text-align: center;
}
.edra-plus-footer-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-section { background: var(--bg-card); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.pricing-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.pricing-card-featured {
  border-color: var(--teal-border);
  box-shadow: 0 0 0 1px var(--teal-border), 0 16px 48px rgba(0,0,0,0.2);
}
.pricing-card-featured:hover {
  box-shadow: 0 0 0 1px var(--teal), 0 24px 64px rgba(0,0,0,0.3), 0 0 40px var(--teal-glow);
}

.pricing-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--teal);
  color: var(--bg);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pricing-card-header {
  padding: 32px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-tier {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 8px;
}

.pricing-card-header h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.pricing-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

.pricing-card-body {
  padding: 24px 28px;
  flex: 1;
}

.pricing-desc {
  font-size: 0.82rem;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.pricing-bands {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(17,26,19,0.015);
}
.pricing-band:last-child { border-bottom: none; }
.pricing-band:hover { background: rgba(17,26,19,0.04); }

.pricing-range {
  font-size: 0.78rem;
  color: var(--body);
  min-width: 120px;
}

.pricing-rate {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.pricing-rate.custom {
  font-size: 0.95rem;
}
.pricing-per {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--muted);
}

.pricing-saving {
  font-size: 0.65rem;
  color: var(--teal);
  font-weight: 500;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  width: 100%;
  text-align: center;
  margin-top: 2px;
}

.pricing-includes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pricing-includes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--body);
  line-height: 1.5;
}
.pricing-includes li::before {
  content: '';
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7l3.5 3.5L12 3' stroke='%2316D3CA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--border);
}

.pricing-cta { width: 100%; }

.pricing-floor {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 10px;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
}
.pricing-note p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}
.pricing-note a {
  color: var(--teal);
  transition: opacity 0.2s;
}
.pricing-note a:hover { opacity: 0.8; }

/* ============================================================
   SAMPLE OUTPUT PREVIEW
   ============================================================ */
.sample-section { background: var(--bg-card); }

.sample-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.sample-panels .preview-panel:first-child {
  grid-column: 1 / -1;
}

.preview-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.preview-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(17,26,19,0.03);
  flex-shrink: 0;
}
.preview-panel-badge {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.preview-panel-ts {
  font-size: 0.62rem;
  color: var(--muted);
}

.preview-panel-body {
  padding: 24px;
  flex: 1;
}

/* KPIs — horizontal row for full-width panel */
.preview-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.preview-kpi {
  text-align: center;
  background: rgba(17,26,19,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 12px;
}
.preview-kpi-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.preview-kpi-num.critical { color: var(--red); }
.preview-kpi-label {
  font-size: 0.62rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Bars */
.preview-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}
.preview-bar-row {
  display: grid;
  grid-template-columns: 72px 1fr 36px;
  align-items: center;
  gap: 12px;
}
.preview-bar-label {
  font-size: 0.72rem;
  color: var(--muted);
}
.preview-bar-track {
  height: 8px;
  background: rgba(17,26,19,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.preview-bar-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
  transition: width 1s ease;
}
.preview-bar-fill.fill-c { background: var(--teal-deep); }
.preview-bar-fill.fill-g { background: var(--sage); }
.preview-bar-val {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-align: right;
}

/* Preview tables */
.preview-table-body {
  padding: 0;
  overflow-x: auto;
  flex: 1;
}
.preview-table {
  font-size: 0.78rem;
  min-width: 100%;
}
.preview-table th {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  background: rgba(17,26,19,0.03);
  white-space: nowrap;
}
.preview-table td {
  padding: 12px 16px;
  color: var(--body);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.preview-table tr:last-child td { border-bottom: none; }
.preview-table td:first-child { white-space: nowrap; }

.score-chip-sm {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
}

.status-pill-sm {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 500;
  white-space: nowrap;
}

.blocker-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--amber-dim);
  color: var(--amber);
}
.blocker-tag.severe {
  background: var(--red-dim);
  color: var(--red);
}

.issue-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.priority-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 500;
}
.priority-now {
  background: var(--red-dim);
  color: var(--red);
}
.priority-soon {
  background: var(--amber-dim);
  color: var(--amber);
}

.sample-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 48px;
}

/* ============================================================
   USE-CASE TABS
   ============================================================ */
.usecases-section { background: var(--bg); }

.tabs-nav {
  display: flex;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 32px;
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.3s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--white); }
.tab-btn.active {
  background: var(--teal);
  color: var(--bg);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.tab-pain, .tab-role, .tab-outcomes {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}

.tab-pain h3, .tab-role h3, .tab-outcomes h3 {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.tab-pain p, .tab-role p {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.65;
}

.tab-outcomes ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tab-outcomes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--body);
  line-height: 1.5;
}
.tab-outcomes li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* ============================================================
   RULES — methodology principles
   ============================================================ */
.rules-section { background: var(--bg-card); }

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rule-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.3s;
}
.rule-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-2px);
}

.rule-icon {
  width: 40px; height: 40px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rule-icon svg {
  width: 18px; height: 18px;
  stroke: var(--teal);
}

.rule-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   INSIGHTS — 3 cards
   ============================================================ */
.insights-section { background: var(--bg); }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}
.insight-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.insight-category {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.insight-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.35;
  flex: 1;
}
.insight-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.insight-link {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.04em;
}
.insight-link::after {
  content: ' \2192';
}

/* ============================================================
   CONTACT / DIAGNOSTIC FORM
   ============================================================ */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-text h2 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.contact-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.6;
}
.contact-bullets li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  opacity: 0.7;
}
.required-mark {
  color: var(--red);
  margin-left: 3px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; /* iOS zoom prevention: must be >= 16px */
  line-height: 1.4;
  outline: none;
  transition: all 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
  opacity: 0.5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-dim);
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--red);
  background: var(--red-dim);
}
.form-group input[aria-invalid="true"]:focus,
.form-group select[aria-invalid="true"]:focus,
.form-group textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(255,107,107,0.15);
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card); color: var(--white); }
.form-group textarea { min-height: 90px; resize: vertical; }
.form-submit { width: 100%; margin-top: 4px; }

.form-error {
  display: block;
  min-height: 1em;
  font-size: 0.72rem;
  color: var(--red);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 6px;
  line-height: 1.3;
}
.form-error:empty { display: none; }

.form-status {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin: 4px 0 8px;
  min-height: 1em;
  transition: color 0.2s;
}
.form-status.is-error { color: var(--red); }
.form-status:empty { display: none; }

.form-helper {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 48px;
  align-items: start;
  padding: 48px 0 32px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-logo-mark {
  height: 36px;
  width: 36px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
}
.footer-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}
.footer-mission {
  font-size: 0.62rem;
  color: var(--muted);
  opacity: 0.7;
  margin-top: 2px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--teal); }

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-email {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.2s;
  margin-top: 4px;
}
.footer-email:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  color: var(--muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--teal); }

/* ============================================================
   FOCUS & SCROLLBAR
   ============================================================ */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(28,62,41,0.28); border-radius: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .section-pad { padding: 80px 0; }
  #nav {
    padding: 0 32px;
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }

  .hero-center { padding-top: 80px; }

  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .method-cards { grid-template-columns: 1fr 1fr; }
  .deliverables-grid { grid-template-columns: 1fr 1fr; }
  .edra-plus-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .sample-panels { grid-template-columns: 1fr; }
  .sample-panels .preview-panel:first-child { grid-column: 1; }
  .tab-content { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr 1fr; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .pipeline { flex-wrap: wrap; gap: 12px; }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-actions { align-items: flex-start; }
}

/* Mobile nav activation — hamburger menu kicks in at tablets and below
   (desktop nav has 7 links + 2 CTAs, overflows ≤ ~960px) */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }

  /* Expanded: nav grows downward, links + CTAs stack as normal flow */
  #nav.nav-open {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    align-items: flex-start;
    padding-top: 16px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #nav.nav-open .nav-logo { align-self: center; }
  #nav.nav-open .nav-mobile-toggle { align-self: center; }
  #nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    order: 10;
    gap: 4px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  #nav.nav-open .nav-links a {
    padding: 12px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  #nav.nav-open .nav-actions {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    order: 11;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  #nav.nav-open .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 64px 0; }
  #nav {
    padding: 0 20px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    height: 64px;
  }
  #nav.scrolled { height: 60px; }
  .nav-logo-wordmark { font-size: 1.15rem; }

  .hero-center { padding-top: 80px; padding-left: 24px; padding-right: 24px; }
  .hero-logo { width: 100px; height: 100px; margin-bottom: 24px; }
  .hero-sub { font-size: 0.98rem; line-height: 1.7; }
  .hero-indicators { right: 20px; bottom: 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 340px; }

  .trust-grid { grid-template-columns: 1fr; }
  .method-cards { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .edra-plus-header h2 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .edra-plus-card { padding: 28px 22px; gap: 18px; }
  .edra-plus-card h3 { font-size: 1.2rem; }
  .edra-plus-frameworks { grid-template-columns: 1fr 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }

  .bands-grid { grid-template-columns: 1fr 1fr; }
  .bands-spectrum { margin: 40px 0 32px; }
  .spectrum-axis { font-size: 0.65rem; }
  /* Hide intermediate axis ticks on narrow viewports — keep just endpoints + midpoint */
  .axis-tick[style*="--at: 30"],
  .axis-tick[style*="--at: 70"],
  .axis-tick[style*="--at: 85"] { display: none; }

  .tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-btn { flex: none; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .sample-cta { flex-direction: column; align-items: stretch; }
  .sample-cta .btn { width: 100%; }

  .pipeline-arrow { display: none; }
  .pipeline { gap: 8px; justify-content: center; }
  .pipeline-step { min-width: auto; padding: 12px 16px; }

  .preview-panel-body { padding: 20px 16px; }
  .preview-summary-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .preview-bar-row { grid-template-columns: 64px 1fr 36px; gap: 10px; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(1.9rem, 8vw, 2.25rem); line-height: 1.1; }
  h2 { font-size: clamp(1.45rem, 6vw, 1.75rem); line-height: 1.15; }
  body { font-size: 0.95rem; }

  .container { padding: 0 18px; }
  .section-pad { padding: 48px 0; }
  .section-header { margin-bottom: 40px; }

  /* Bands collapse to single column on narrow phones */
  .bands-grid { grid-template-columns: 1fr; }

  .hero-center { padding-top: 72px; padding-left: 18px; padding-right: 18px; }
  .hero-sub { font-size: 0.92rem; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; width: 100%; max-width: 100%; }

  .edra-plus-header h2 { font-size: clamp(1.55rem, 8vw, 1.9rem); }
  .edra-plus-card { padding: 24px 18px; }
  .edra-plus-card h3 { font-size: 1.1rem; }
  .edra-plus-step { height: 36px; min-width: 36px; font-size: 0.72rem; }
  .edra-plus-deliver { padding: 16px; }
  .edra-plus-deliver p { font-size: 0.88rem; }

  .preview-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-bar-row { grid-template-columns: 56px 1fr 32px; gap: 8px; font-size: 0.75rem; }
  .preview-kpi { padding: 12px 8px; }
  .preview-kpi-num { font-size: 1.5rem; }

  .pricing-card-header { padding: 24px 20px 16px; }
  .pricing-card-body { padding: 20px; }
  .pricing-card-footer { padding: 16px 20px 24px; }
  .pricing-card-header h3 { font-size: 1.2rem; }
  .pricing-rate { font-size: 1rem; }
  .pricing-band { padding: 10px 12px; }
  .pricing-range { font-size: 0.78rem; min-width: 0; }

  .comparison-card { padding: 28px 20px; }
  .method-card { padding: 28px 20px; }
  .deliverable-card { padding: 28px 20px; }
  .rule-card { padding: 24px 20px; gap: 14px; }
  .insight-card { padding: 28px 22px; }

  .footer-bottom { font-size: 0.65rem; }

  /* Slightly smaller buttons on phones but keep 44px tap target */
  .btn-lg { padding: 14px 26px; font-size: 0.82rem; }
}

/* Ultra-narrow phones (Galaxy Fold closed, original iPhone SE) */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  #nav { padding: 0 14px; }

  .nav-logo-wordmark { font-size: 1.05rem; }
  .nav-logo-mark { height: 36px; width: 36px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .edra-plus-frameworks { grid-template-columns: 1fr; }
  .edra-plus-card-top { flex-wrap: wrap; }

  .hero-logo { width: 84px; height: 84px; }
  .btn { padding: 11px 20px; font-size: 0.78rem; }
  .btn-lg { padding: 13px 22px; font-size: 0.8rem; }

  .edra-plus-deliver-label,
  .preview-panel-ts,
  .footer-tagline { letter-spacing: 0.04em; }
}

/* Landscape on short phones — reduce hero padding so CTA stays in view */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-center { padding-top: 0; }
  .hero-logo { width: 72px; height: 72px; margin-bottom: 16px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-sub { margin-bottom: 24px; }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide { transition: none; }
}

/* ============================================================
   PRODUCT PREVIEW SECTION — "See what an EDRA diagnostic looks like"
   Scoped under .preview-section so design-token overrides and
   button restyles don't leak into the rest of the site.
   The cream/navy/green/amber palette inside the page snapshots is
   intentional — matches the actual PDF report and must stay.
   ============================================================ */

.preview-section {
  /* Local tokens — deep-forest showcase backdrop so the cream report
     snapshots float and pop (echoes the Sample Report's dark panels) */
  --bg:           #0E2417;
  --bg-soft:      #12301E;
  --bg-card:      #143620;
  --teal:         #C8A96E;   /* gold accent within the showcase */
  --teal-soft:    #4E7A60;
  --text:         #F4F1E8;
  --text-mute:    rgba(244,241,232,0.62);
  --text-faint:   rgba(244,241,232,0.40);
  --border:       rgba(255,255,255,0.10);
  --border-soft:  rgba(255,255,255,0.06);
  /* Report palette (snapshot internals) — matches the actual PDF, must stay */
  --r-cream:      #edeae1;
  --r-navy:       #0E2417;   /* dark forest (was navy) to match real report */
  --r-green:      #1C3E29;
  --r-amber:      #c89a3a;
  --r-red:        #a8401e;
  --r-muted:      #4a5463;
  --r-rule:       #c9c4b0;
  --r-pale-green: #d9e3b8;
  --r-pale-navy:  #a8b89a;

  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 8rem 2rem;
  position: relative;
  overflow: hidden;
}

.preview-section, .preview-section *, .preview-section *::before, .preview-section *::after {
  box-sizing: border-box;
}

.preview-section::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 10%;
  width: 50rem;
  height: 50rem;
  background: radial-gradient(circle, rgba(28, 62, 41, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.preview-section .preview-container {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.preview-section .preview-header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.preview-section .preview-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.preview-section .preview-eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--teal);
}
.preview-section .preview-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 42rem;
  margin: 0 auto 1rem;
}
.preview-section .preview-title em {
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
}
.preview-section .preview-subtitle {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text-mute);
  max-width: 36rem;
  margin: 0 auto;
  font-weight: 400;
}

/* Main grid */
.preview-section .preview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Stacked snapshots */
.preview-section .snapshot-stack {
  position: relative;
  perspective: 2000px;
  transform-style: preserve-3d;
  padding-left: 2.5rem;
}
.preview-section .snapshot-back {
  position: absolute;
  top: -1.5rem;
  left: -2.5rem;
  width: 100%;
  z-index: 1;
  transform: rotate(-3.5deg);
  filter: brightness(0.95);
}
.preview-section .snapshot-front {
  position: relative;
  z-index: 2;
  transform: rotate(1.5deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.preview-section .snapshot-stack:hover .snapshot-front {
  transform: rotate(2.5deg) translateY(-4px);
}
.preview-section .snapshot-stack:hover .snapshot-back {
  transform: rotate(-4.5deg) translateY(2px) translateX(-8px);
}

.preview-section .report-page {
  background: var(--r-cream);
  color: var(--r-navy);
  border-radius: 4px;
  box-shadow:
    0 30px 80px -20px rgba(0, 0, 0, 0.7),
    0 10px 30px -10px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  aspect-ratio: 8.5 / 11;
  padding: 0;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
  display: flex;
  flex-direction: column;
}

/* Page 1 cover */
.preview-section .cover-band-top {
  background: var(--r-navy);
  color: var(--r-cream);
  padding: 1rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.preview-section .cover-band-top .label { color: var(--r-pale-green); font-weight: 700; }
.preview-section .cover-band-top .ref {
  text-align: right;
  letter-spacing: 0.05em;
  text-transform: none;
  font-size: 0.45rem;
  color: var(--r-pale-navy);
  line-height: 1.5;
}
.preview-section .cover-band-top .ref strong { color: #fff; }

.preview-section .cover-mid {
  flex: 1;
  padding: 1.6rem 1.4rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.preview-section .cube-mark {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  position: relative;
}
.preview-section .cube-mark svg { width: 100%; height: 100%; }
.preview-section .cover-text h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--r-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.preview-section .cover-text h1 .plus { color: var(--r-amber); font-weight: 700; }
.preview-section .cover-text h2 {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--r-green);
  font-weight: 400;
  margin-top: 0.3rem;
  letter-spacing: -0.01em;
}
.preview-section .cover-text .desc {
  font-size: 0.55rem;
  color: var(--r-muted);
  line-height: 1.5;
  margin-top: 0.6rem;
  max-width: 90%;
}
.preview-section .cover-data {
  background: #fff;
  padding: 0.9rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  border-top: 1px solid var(--r-rule);
  border-bottom: 1px solid var(--r-rule);
}
.preview-section .cover-data .item .lbl {
  font-size: 0.45rem;
  letter-spacing: 0.15em;
  color: var(--r-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.preview-section .cover-data .item .val {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--r-navy);
  line-height: 1;
}
.preview-section .cover-data .item .val.score-tier { color: var(--r-green); }
.preview-section .cover-data .item .sub {
  font-size: 0.45rem;
  color: var(--r-muted);
  font-style: italic;
  margin-top: 0.15rem;
}
.preview-section .cover-band-btm {
  padding: 0.9rem 1.4rem 1rem;
  text-align: center;
}
.preview-section .cover-band-btm .who-row {
  display: flex;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 0.7rem;
  gap: 0.8rem;
}
.preview-section .cover-band-btm .who .lbl {
  font-size: 0.45rem;
  color: var(--r-green);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.preview-section .cover-band-btm .who .val {
  font-size: 0.55rem;
  color: var(--r-navy);
  font-weight: 500;
}
.preview-section .cover-band-btm .tagline {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-style: italic;
  color: var(--r-green);
  padding-top: 0.7rem;
  border-top: 1px solid var(--r-rule);
}

/* Page 2 score summary */
.preview-section .report-page-2 { padding: 1.4rem; }
.preview-section .p2-hdr {
  display: flex;
  justify-content: space-between;
  font-size: 0.45rem;
  color: var(--r-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--r-rule);
  margin-bottom: 0.8rem;
}
.preview-section .p2-hdr .brand {
  font-family: 'Syne', sans-serif;
  font-style: italic;
  color: var(--r-navy);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.55rem;
}
.preview-section .p2-hdr .brand .plus { color: var(--r-green); font-weight: 700; }
.preview-section .p2-eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--r-green);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.preview-section .p2-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  color: var(--r-navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.preview-section .p2-deck {
  font-size: 0.5rem;
  color: var(--r-muted);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}
.preview-section .p2-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}
.preview-section .score-hero {
  background: var(--r-navy);
  color: var(--r-cream);
  border-radius: 3px;
  padding: 0.7rem 0.8rem;
  position: relative;
  overflow: hidden;
}
.preview-section .score-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--r-amber);
}
.preview-section .score-hero .lbl {
  font-size: 0.4rem;
  letter-spacing: 0.2em;
  color: var(--r-pale-green);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.preview-section .score-hero .big {
  font-family: 'Syne', sans-serif;
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 0.9;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.preview-section .score-hero .big .of {
  font-size: 0.7rem;
  color: var(--r-pale-navy);
  font-style: italic;
  margin-left: 0.2rem;
}
.preview-section .score-hero .band {
  display: inline-block;
  background: var(--r-amber);
  color: var(--r-navy);
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.15rem 0.5rem;
  border-radius: 1px;
  margin-top: 0.5rem;
}
.preview-section .score-hero .interpret {
  font-family: 'Syne', sans-serif;
  font-size: 0.5rem;
  font-style: italic;
  color: var(--r-pale-green);
  line-height: 1.4;
  margin-top: 0.5rem;
}
.preview-section .score-stats {
  background: #fff;
  border: 1px solid var(--r-rule);
  border-radius: 3px;
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.preview-section .score-stats .lbl {
  font-size: 0.4rem;
  letter-spacing: 0.2em;
  color: var(--r-green);
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--r-rule);
  padding-bottom: 0.3rem;
  margin-bottom: 0.2rem;
}
.preview-section .score-stats .row {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-items: center;
  gap: 0.4rem;
}
.preview-section .score-stats .row .num {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  color: var(--r-navy);
  line-height: 1;
}
.preview-section .score-stats .row .desc {
  font-size: 0.45rem;
  color: var(--r-muted);
  line-height: 1.3;
}
.preview-section .score-stats .row .desc strong {
  color: var(--r-navy);
  font-weight: 600;
}
.preview-section .utilities {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}
.preview-section .util-card-mini {
  background: #fff;
  border: 1px solid var(--r-rule);
  border-radius: 3px;
  padding: 0.55rem 0.6rem;
  position: relative;
}
.preview-section .util-card-mini::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1.5px;
}
.preview-section .util-card-mini.energy::before { background: var(--r-green); }
.preview-section .util-card-mini.water::before  { background: var(--r-amber); }
.preview-section .util-card-mini.waste::before  { background: var(--r-red); }
.preview-section .util-card-mini .name {
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  color: var(--r-navy);
  margin-bottom: 0.2rem;
}
.preview-section .util-card-mini .score-line {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.preview-section .util-card-mini .score-line .v {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  color: var(--r-navy);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.preview-section .util-card-mini .score-line .of {
  font-size: 0.4rem;
  color: var(--r-muted);
  font-style: italic;
}
.preview-section .util-card-mini .funnel {
  font-size: 0.4rem;
  color: var(--r-muted);
  margin-top: 0.4rem;
  padding-top: 0.3rem;
  border-top: 1px solid #f0ebdf;
  letter-spacing: 0.05em;
}
.preview-section .util-card-mini .funnel strong {
  color: var(--r-navy);
  font-weight: 600;
}
.preview-section .findings-mini {
  background: #fff;
  border-left: 2px solid var(--r-green);
  padding: 0.5rem 0.7rem;
  border-radius: 0 3px 3px 0;
}
.preview-section .findings-mini .lbl {
  font-size: 0.4rem;
  letter-spacing: 0.2em;
  color: var(--r-green);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.preview-section .findings-mini ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 0.5rem;
  padding: 0;
  margin: 0;
}
.preview-section .findings-mini li {
  font-size: 0.45rem;
  color: var(--r-navy);
  line-height: 1.4;
  padding-left: 0.55rem;
  position: relative;
}
.preview-section .findings-mini li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 0.25rem;
  height: 0.25rem;
  background: var(--r-amber);
}
.preview-section .findings-mini li strong {
  color: var(--r-navy);
  font-weight: 700;
}

/* Page indicator */
.preview-section .page-indicator {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 5;
}
.preview-section .page-indicator .label {
  font-size: 0.7rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}
.preview-section .page-indicator .dots { display: flex; gap: 0.35rem; }
.preview-section .page-indicator .dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--text-faint);
  transition: background 0.3s ease;
}
.preview-section .page-indicator .dot.active {
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

/* Right column narrative */
.preview-section .narrative {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.preview-section .narrative-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--teal);
  font-weight: 500;
  text-transform: uppercase;
  width: fit-content;
}
.preview-section .narrative-tag .pulse {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(94, 227, 193, 0.7);
  animation: previewPulse 2s infinite;
}
@keyframes previewPulse {
  0%   { box-shadow: 0 0 0 0 rgba(94, 227, 193, 0.7); }
  70%  { box-shadow: 0 0 0 0.5rem rgba(94, 227, 193, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 227, 193, 0); }
}
.preview-section .narrative-headline {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}
.preview-section .narrative-headline em {
  font-style: italic;
  color: var(--teal);
  font-weight: 500;
}
.preview-section .narrative-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mute);
  max-width: 32rem;
}
.preview-section .narrative-body strong {
  color: var(--text);
  font-weight: 500;
}

/* Includes list */
.preview-section .includes {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.preview-section .includes-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.preview-section .include-item {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 1rem;
  align-items: start;
}
.preview-section .include-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(94, 227, 193, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.preview-section .include-icon svg {
  width: 0.7rem;
  height: 0.7rem;
  color: var(--teal);
}
.preview-section .include-item .text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.preview-section .include-item .text .meta {
  display: block;
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-top: 0.15rem;
  font-weight: 400;
}

/* CTAs (scoped to override site .btn styles only inside this section) */
.preview-section .cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.preview-section .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  min-height: auto;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.preview-section .btn-primary {
  background: var(--teal);
  color: #062722;
  font-weight: 600;
  border-color: transparent;
}
.preview-section .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(94, 227, 193, 0.25);
  background: #6ef0cc;
  border-color: transparent;
}
.preview-section .btn-primary svg { transition: transform 0.25s ease; }
.preview-section .btn-primary:hover svg { transform: translateX(2px); }
.preview-section .btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.preview-section .btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(94, 227, 193, 0.04);
}
.preview-section .cta-helper {
  font-size: 0.825rem;
  color: var(--text-faint);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.preview-section .cta-helper::before {
  content: '';
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--teal);
}

/* Responsive */
@media (max-width: 1100px) {
  .preview-section { padding: 5rem 1.5rem; }
  .preview-section .preview-grid { grid-template-columns: 1fr; gap: 4rem; }
  .preview-section .snapshot-back { display: none; }
  .preview-section .snapshot-front { transform: rotate(0); }
  .preview-section .snapshot-stack { padding-left: 0; }
  .preview-section .snapshot-stack:hover .snapshot-front { transform: rotate(0) translateY(-4px); }
  .preview-section .narrative-headline { font-size: 1.85rem; }
  .preview-section .preview-title { font-size: 2rem; }
  .preview-section .page-indicator { bottom: -2.5rem; }
}
@media (max-width: 520px) {
  .preview-section .cta-row .btn { width: 100%; justify-content: center; }
  .preview-section .findings-mini ul { grid-template-columns: 1fr; }
}

/* ============================================================
   HERO CERT STRIP — black banner with cert/membership logos
   ============================================================ */
.hero-cert-strip {
  background: var(--panel, #0E2417);
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.hero-cert-label-row {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.hero-cert-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}

/* ── Marquee — infinite horizontal scroll ─────────────── */
.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused;
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0 12px;
  flex-shrink: 0;
}
.marquee-group li {
  background: #fff;
  border-radius: 10px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  min-width: 130px;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}
.marquee-group img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media (max-width: 768px) {
  .hero-cert-strip { padding: 26px 0; }
  .hero-cert-label-row { margin-bottom: 16px; }
  .hero-cert-label { font-size: 0.7rem; letter-spacing: 0.14em; }
  .marquee-group { gap: 18px; padding: 0 9px; }
  .marquee-group li { height: 60px; min-width: 108px; padding: 8px 16px; }
  .marquee-group img { height: 40px; max-width: 130px; }
  .marquee-track { animation-duration: 30s; }
}
@media (max-width: 480px) {
  .marquee-group li { height: 54px; min-width: 96px; padding: 6px 12px; }
  .marquee-group img { height: 34px; max-width: 110px; }
}

/* ============================================================
   CERTIFICATIONS & MEMBERSHIPS — full section before footer
   ============================================================ */
.cert-section {
  background: #FAFAF7;
}
/* Override dark-theme text colors so heading is visible on the cream bg */
.cert-section .section-header h2 {
  color: #0A0A0A;
}
.cert-section .section-header .eyebrow {
  color: var(--teal-deep, #0FA89F);
}
.cert-section .section-header .eyebrow::before {
  background: var(--teal-deep, #0FA89F);
}
.cert-section .section-header .section-intro {
  color: #555555;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 48px 0 0 0;
  padding: 0;
}
.cert-tile {
  background: #fff;
  border: 1px solid rgba(10,10,10,0.06);
  border-radius: 12px;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.cert-tile:hover {
  border-color: rgba(10,10,10,0.18);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10,10,10,0.04);
}
.cert-tile img {
  max-height: 64px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%);
  opacity: 0.92;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.cert-tile:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
@media (max-width: 768px) {
  .cert-grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-top: 32px; }
  .cert-tile { min-height: 96px; padding: 18px 14px; }
  .cert-tile img { max-height: 48px; }
}
@media (max-width: 480px) {
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   HERO V3 — animated word rotation hero (production)
   Modeled on tommyjepsen/animated-hero (21st.dev)
   Adapted for EDRA: dark theme + teal #16D3CA
   ============================================================ */
.hero-v3 {
  width: 100%;
  min-height: 100vh;
  /* Deep-forest cover panel — echoes the Sample Report cover, sits on cream page */
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, var(--panel-tint) 0%, var(--panel) 45%, var(--panel-deep) 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}
/* ── LAYER 1 — animated glow diffusion (breathes slowly) ─── */
.hero-v3::before {
  content: "";
  position: absolute;
  width: 1250px;
  height: 1250px;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%) scale(1);
  background: radial-gradient(circle, rgba(200,169,110,0.16) 0%, rgba(78,122,96,0.08) 28%, transparent 62%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 11s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes heroGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.85; }
  50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 1.0;  }
}
/* ── LAYER 2 — barely-there horizontal scan lines ─── */
.hero-v3::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(180deg,
                      rgba(255,255,255,0.012) 0,
                      rgba(255,255,255,0.012) 1px,
                      transparent 1px,
                      transparent 4px);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, #000 30%, transparent 95%);
  pointer-events: none;
  z-index: 1;
}
/* ── LAYER 3 — grid pulse (soft cathedral grid) ─── */
.hero-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-motion .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, #000 0%, transparent 75%);
  animation: gridPulse 9s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.85; }
}
/* ── LAYER 4 — Antigravity drift field ─────────────────────────
   Inspired by Google Antigravity's auth-success page: dust-like
   particles drifting slowly in varied directions, ambient and
   weightless. Particles are generated at runtime by JS so the
   pattern feels random without bloating the DOM markup. */
.hero-motion .particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Soften the field edges so particles fade near borders, never
     hard-clip at the viewport edge */
  mask-image: radial-gradient(ellipse 95% 92% at 50% 50%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 95% 92% at 50% 50%, #000 60%, transparent 100%);
}
.hero-motion .particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: antigravityDrift linear infinite;
  will-change: transform, opacity;
  /* Width/height/background/box-shadow + animation-duration/delay
     are set per-particle inline by the generator script */
}
@keyframes antigravityDrift {
  0%   { transform: translate3d(0, 0, 0);                              opacity: 0; }
  12%  {                                                                opacity: var(--alpha, 0.3); }
  88%  {                                                                opacity: var(--alpha, 0.3); }
  100% { transform: translate3d(var(--dx, 0px), var(--dy, -120px), 0);  opacity: 0; }
}

.hero-v3 .container-v3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-v3 .stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Generous editorial gap between eyebrow, headline group, CTAs */
  gap: 56px;
  /* Heading lands at ~45vh — editorial, lifted, not centered */
  padding: 16vh 0 22vh;
  text-align: center;
}

/* ── Hero eyebrow — "The World's First Data Readiness Index" ─── */
.hero-v3 .hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,246,243,0.5);
  animation: heroEyebrowIn 0.9s 0.1s ease both;
}
@keyframes heroEyebrowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ── Headline group ───────────────────────────── */
.hero-v3 .headline {
  display: flex;
  flex-direction: column;
  /* Very tight gap — sub-copy sits close to the rotating word */
  gap: 0;
  align-items: center;
}

.hero-v3 h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  /* Slightly looser line-height creates breathing room between
     the static line and the rotating word */
  line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 880px;
  margin: 0;
  text-align: center;
  color: #F4F1E8;
}
.hero-v3 h1 .static-line {
  display: block;
  font-weight: 300;
  color: #F4F1E8;
}

/* The rotating word slot — relative wrapper, absolute children */
.hero-v3 h1 .rotator {
  position: relative;
  display: flex;
  justify-content: center;
  /* Clip ONLY vertically so words can extend horizontally without
     being chopped at the edges (fixes "submission-ready" clipping) */
  overflow: visible;
  clip-path: inset(0 -50vw);
  width: 100%;
  padding-top: 6px;
  padding-bottom: 0;
  min-height: 1.1em;
}
.hero-v3 h1 .rotator .ghost {
  visibility: hidden;
  font-weight: 700;
  padding-inline: 0.15em;
}
.hero-v3 h1 .rotator .word {
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translate(-50%, 150px);
  opacity: 0;
  font-weight: 700;
  color: var(--gold, #C8A96E);
  white-space: nowrap;
  text-shadow: 0 0 32px rgba(200,169,110,0.30);
  transition: transform 0.9s cubic-bezier(0.34, 1.32, 0.64, 1),
              opacity 0.6s ease;
  will-change: transform, opacity;
}
.hero-v3 h1 .rotator .word.is-active {
  transform: translate(-50%, 0);
  opacity: 1;
}
.hero-v3 h1 .rotator .word.is-prev {
  transform: translate(-50%, -150px);
  opacity: 0;
}

/* ── Subtitle ─────────────────────────────────── */
.hero-v3 .sub {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: rgba(244, 246, 243, 0.62);
  max-width: 560px;
  /* Negative top margin pulls the sub-copy as close as it can sit
     without descenders ("y" in audit-ready/submission-ready) clashing */
  margin: -16px auto 0;
}

/* ── CTAs ─────────────────────────────────────── */
.hero-v3 .ctas {
  display: flex;
  flex-direction: row;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-v3 .btn-v3 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  line-height: 1;
}
.hero-v3 .btn-v3.outline {
  background: transparent;
  border-color: rgba(255,255,255,0.10);
  color: rgba(244, 246, 243, 0.7);
  font-weight: 400;
}
.hero-v3 .btn-v3.outline:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.22);
  color: #F2F4F0;
}
.hero-v3 .btn-v3.primary {
  background: var(--gold, #C8A96E);
  color: var(--panel-deep, #081A10);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(200,169,110,0.5), 0 10px 32px -8px rgba(200,169,110,0.4);
}
.hero-v3 .btn-v3.primary:hover {
  background: var(--gold-deep, #B0863A);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(200,169,110,0.7), 0 16px 40px -8px rgba(200,169,110,0.55);
}
.hero-v3 .btn-v3 svg { width: 16px; height: 16px; stroke: currentColor; }

/* ── Nav overrides — thinner, lighter, more spacing ─── */
body.hero-v3-page nav#nav {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: transparent;
}
body.hero-v3-page nav#nav.scrolled {
  background: rgba(14,36,23,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.08);
}
body.hero-v3-page nav#nav .nav-links {
  gap: 36px;
}
body.hero-v3-page nav#nav .nav-links a {
  color: rgba(244,246,243,0.55);
  font-weight: 400;
  transition: color 0.2s ease;
}
body.hero-v3-page nav#nav .nav-links a:hover {
  color: var(--gold, #C8A96E);
}
body.hero-v3-page nav#nav .nav-logo-wordmark {
  color: #F2F4F0;
  font-weight: 500;
}

/* ── Mobile nav on dark theme — fix invisible hamburger + open surface ─── */
body.hero-v3-page .nav-mobile-toggle {
  color: rgba(244, 246, 243, 0.92);
}
body.hero-v3-page #nav.nav-open {
  /* Solid deep-forest surface so the open menu doesn't blend into the hero */
  background: rgba(8, 26, 16, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
body.hero-v3-page #nav.nav-open .nav-links {
  border-top-color: rgba(255, 255, 255, 0.08);
}
body.hero-v3-page #nav.nav-open .nav-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}
body.hero-v3-page #nav.nav-open .nav-links a {
  color: rgba(244, 246, 243, 0.85);
  font-weight: 500;
}
body.hero-v3-page #nav.nav-open .nav-links a:hover {
  color: var(--gold, #C8A96E);
}
/* Prevent body scroll behind the open menu */
body.nav-open-lock { overflow: hidden; }

/* ── Mobile tuning ────────────────────────────── */
@media (max-width: 768px) {
  .hero-v3 .stack { padding: 12vh 0 14vh; gap: 36px; }
  .hero-v3 .headline { gap: 0; }
  .hero-v3 h1 .rotator { padding-bottom: 8px; }
  .hero-v3 h1 .rotator .word {
    transition: transform 0.7s cubic-bezier(0.34, 1.32, 0.64, 1),
                opacity 0.5s ease;
  }
  .hero-v3 .ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .hero-v3 .btn-v3 { justify-content: center; }
}

/* Respect reduced motion — covers hero ambient layers and all
   interactive card / chip hovers across the site. */
@media (prefers-reduced-motion: reduce) {
  /* Hero word rotator: fade only, no slide */
  .hero-v3 h1 .rotator .word { transition: opacity 0.4s ease; transform: translate(-50%, 0); }
  .hero-v3 h1 .rotator .word.is-prev { opacity: 0; }
  /* Hero ambient layers: kill animation; show particles at a low static opacity */
  .hero-v3::before,
  .hero-motion .grid,
  .hero-motion .particle { animation: none !important; }
  .hero-motion .particle { opacity: 0.22; }
  /* Card hover translations across the site — disable transforms */
  .method-card:hover,
  .deliverable-card:hover,
  .edra-plus-card:hover,
  .usecase-card:hover,
  .insight-card:hover,
  .cert-tile:hover { transform: none !important; }
  /* Generic safety net for transitions */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
