/* ============================================================
   CLEAR VECTOR INTELLIGENCE — styles.css
   Editorial-technical aesthetic · Mobile-first · Fully responsive
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ──────────────────────────────── */
:root {
  /* Colors */
  --navy-deep: #0A1628;
  --navy: #1B2A4A;
  --navy-mid: #2E4068;
  --navy-light: #E8EDF3;
  --blue: #4A9FD4;
  --blue-bright: #5CB3E8;
  --cream: #FAF7F0;
  --cream-warm: #F2EBD9;
  --white: #FFFFFF;
  --muted: #8899A8;
  --muted-dark: #4A5568;
  --text: #1A1A1A;
  --text-light: #4A5568;
  --border: #E5E7EB;
  --border-dark: #D0D5DD;

  /* Status colors (used sparingly) */
  --green: #2E7D32;
  --green-bg: #E8F5E9;
  --amber: #E65100;
  --amber-bg: #FFF8E1;
  --red: #C62828;
  --red-bg: #FDECEA;

  /* Typography */
  --font-display: 'Fraunces', 'Iowan Old Style', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --nav-height: 72px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 600ms;
  --dur-slower: 1000ms;
}

/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Grain overlay — subtle texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100' height='100' filter='url(%23n)' opacity='0.5'/></svg>");
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--space-8); }
}

/* ── NAVIGATION ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(250, 247, 240, 0.95);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--navy);
}

.logo-mark {
  width: 32px;
  height: 32px;
  color: var(--navy);
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: var(--space-2) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width var(--dur) var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
  padding: var(--space-3) var(--space-5);
  background: var(--navy);
  color: var(--cream);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.nav-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; align-items: center; }
}

/* Mobile nav overlay — solid background, layered above content */
.nav-links.open {
  display: flex;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  background: var(--cream);
  padding: var(--space-8) var(--space-6);
  margin: 0;
  gap: 0;
  border-top: 1px solid var(--border);
  z-index: 99;
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.08);
  list-style: none;
  overflow-y: auto;
}

.nav-links.open li {
  display: block;
  width: 100%;
  list-style: none;
  background: var(--cream);
  margin: 0;
}

.nav-links.open li::before,
.nav-links.open li::marker {
  content: none;
  display: none;
}

.nav-links.open a {
  display: block;
  width: 100%;
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy-deep);
  padding: var(--space-4) var(--space-3);
  border-bottom: 1px solid var(--border);
  text-align: left;
  background: var(--cream);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-links.open a:hover,
.nav-links.open a:focus {
  background: rgba(74, 159, 212, 0.08);
  color: var(--blue);
}

.nav-links.open a::after {
  display: none;
}

/* When mobile menu is open, force nav bar to be fully opaque + lock body scroll */
body.menu-open {
  overflow: hidden;
}

body.menu-open .nav {
  background: var(--cream) !important;
  border-bottom-color: var(--border) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-height) + var(--space-12)) 0 var(--space-16);
  background: var(--navy-deep);
  color: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Aerospace grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 159, 212, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 159, 212, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  animation: grid-drift 60s linear infinite;
}

@keyframes grid-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(64px, 64px); }
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 159, 212, 0.15), transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(74, 159, 212, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (min-width: 768px) {
  .hero-content { padding: 0 var(--space-8); }
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: rgba(74, 159, 212, 0.4);
}

.hero-ref-live {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(46, 125, 50, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-8);
  color: var(--cream);
}

.hero-title-line {
  display: block;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-title-sub {
  display: block;
  font-size: 0.4em;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: var(--space-4);
}

.hero-lede {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  max-width: 640px;
  color: rgba(250, 247, 240, 0.78);
  margin-bottom: var(--space-10);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--cream);
  color: var(--navy-deep);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  transition: transform var(--dur-slow) var(--ease);
}

.btn-primary span, .btn-primary svg {
  position: relative;
  z-index: 1;
  transition: color var(--dur) var(--ease);
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover span, .btn-primary:hover svg { color: var(--cream); }

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 247, 240, 0.3);
}

.btn-secondary:hover {
  background: rgba(250, 247, 240, 0.08);
  border-color: rgba(250, 247, 240, 0.6);
}

.btn-large {
  padding: var(--space-5) var(--space-8);
  font-size: 1rem;
}

/* Hero readouts — cockpit dashboard */
.hero-readouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(74, 159, 212, 0.2);
}

@media (min-width: 640px) {
  .hero-readouts {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }
}

.readout {
  position: relative;
  padding-left: var(--space-4);
}

.readout::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--blue);
  opacity: 0.6;
}

.readout-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.readout-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
  font-variant-numeric: tabular-nums;
}

.readout-unit {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.verdict-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: var(--space-2) var(--space-3);
  background: rgba(198, 40, 40, 0.18);
  color: #FF7A7A;
  border: 1px solid rgba(198, 40, 40, 0.4);
  border-radius: 2px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  opacity: 0.6;
  pointer-events: none;
}

/* Hide scroll indicator when viewport is too short or on mobile landscape —
   prevents overlap with hero readouts. Only show on tall portrait screens. */
@media (max-height: 900px), (orientation: landscape) and (max-height: 1100px) {
  .hero-scroll {
    display: none;
  }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.4; }
}

/* ── SECTIONS ─────────────────────────────────────────── */
.section {
  padding: var(--space-24) 0;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .section { padding: var(--space-32) 0; }
}

.section-header {
  margin-bottom: var(--space-16);
  max-width: 900px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--blue);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--navy-deep);
}

.section-title span {
  display: block;
}

.section-title em {
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}

.lede {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
  color: var(--navy);
  font-weight: 400;
}

/* ── PROBLEM ──────────────────────────────────────────── */
.section-problem {
  background: var(--cream);
}

.problem-grid {
  display: grid;
  gap: var(--space-12);
}

@media (min-width: 900px) {
  .problem-grid {
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-16);
  }
}

.problem-text p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: var(--space-5);
}

.problem-text .lede {
  color: var(--navy);
  margin-bottom: var(--space-6);
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.stat {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  position: relative;
  transition: transform var(--dur) var(--ease), border-left-width var(--dur) var(--ease);
}

.stat:hover {
  transform: translateX(4px);
  border-left-width: 6px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
  color: var(--navy-deep);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  font-variant-numeric: tabular-nums;
}

.stat-unit {
  font-size: 0.6em;
  color: var(--blue);
  font-weight: 300;
}

.stat-label {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-dark);
}

/* ── SOLUTION ─────────────────────────────────────────── */
.section-solution {
  background: var(--navy-deep);
  color: var(--cream);
}

.section-solution .section-title {
  color: var(--cream);
}

.section-solution .section-title em {
  color: var(--blue-bright);
}

.section-solution .section-label {
  color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
}

.solution-intro {
  max-width: 820px;
  margin-bottom: var(--space-16);
}

.solution-intro .lede {
  color: rgba(250, 247, 240, 0.85);
}

.solution-outputs {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .solution-outputs {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.output-card {
  padding: var(--space-8);
  background: rgba(250, 247, 240, 0.03);
  border: 1px solid rgba(74, 159, 212, 0.15);
  border-radius: 2px;
  position: relative;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.output-card:hover {
  background: rgba(250, 247, 240, 0.06);
  border-color: rgba(74, 159, 212, 0.4);
  transform: translateY(-4px);
}

.output-num {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.1em;
}

.output-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: var(--space-4);
}

.output-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(250, 247, 240, 0.7);
  margin-bottom: var(--space-6);
}

.output-viz {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(74, 159, 212, 0.15);
}

.output-viz svg {
  width: 100%;
  height: auto;
}

.retention-curve .curve-path {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.output-card.revealed .retention-curve .curve-path {
  animation: draw-curve 2s var(--ease) forwards;
}

@keyframes draw-curve {
  to { stroke-dashoffset: 0; }
}

.output-viz-verdicts {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.verdict {
  flex: 1;
  min-width: 80px;
  padding: var(--space-2) var(--space-3);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 2px;
  opacity: 0.95;
  transition: opacity var(--dur) var(--ease);
}

.output-card:hover .verdict { opacity: 1; }

.verdict.optimal { background: rgba(46, 125, 50, 0.32); color: #A5D6A7; border: 1px solid rgba(129, 199, 132, 0.55); }
.verdict.managed { background: rgba(230, 81, 0, 0.32); color: #FFCC80; border: 1px solid rgba(255, 183, 77, 0.55); }
.verdict.restricted { background: rgba(198, 40, 40, 0.32); color: #EF9A9A; border: 1px solid rgba(255, 122, 122, 0.55); }

/* ── SAMPLE BRIEF ─────────────────────────────────────── */
.section-brief {
  background: var(--cream);
}

.brief-showcase {
  display: grid;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .brief-showcase {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-16);
  }
}

.brief-preview {
  perspective: 1600px;
}

.brief-page {
  background: var(--white);
  padding: var(--space-8);
  box-shadow:
    0 1px 2px rgba(10, 22, 40, 0.04),
    0 8px 16px rgba(10, 22, 40, 0.06),
    0 24px 48px rgba(10, 22, 40, 0.08);
  border-radius: 2px;
  transform-style: preserve-3d;
  transition: transform var(--dur-slower) var(--ease-smooth), box-shadow var(--dur-slower) var(--ease-smooth);
}

.brief-preview:hover .brief-page {
  transform: rotateY(-4deg) rotateX(2deg);
  box-shadow:
    0 2px 4px rgba(10, 22, 40, 0.06),
    0 16px 32px rgba(10, 22, 40, 0.12),
    0 48px 96px rgba(10, 22, 40, 0.16);
}

.brief-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-6);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.15em;
}

.brief-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-1);
}

.brief-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.brief-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.brief-meta-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.brief-meta-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.brief-section {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: var(--space-6) 0 var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.brief-section-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
}

.brief-section-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
}

.brief-verdict-box {
  padding: var(--space-4);
  background: var(--red-bg);
  border-left: 3px solid var(--red);
  margin-bottom: var(--space-4);
}

.brief-verdict-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.brief-verdict-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: var(--space-1);
}

.brief-verdict-note {
  font-size: 0.8125rem;
  color: var(--muted-dark);
}

.brief-verdict-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: var(--navy-light);
  border-radius: 2px;
}

.brief-graph {
  background: #FAFBFC;
  padding: var(--space-3);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.brief-graph svg { width: 100%; height: auto; }

.brief-curve {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}

.brief-preview.revealed .brief-curve {
  animation: draw-curve 3s var(--ease) 0.4s forwards;
}

.brief-details-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--navy-deep);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.brief-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.brief-details-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-1);
  padding-left: var(--space-5);
  position: relative;
  transition: transform var(--dur) var(--ease);
}

.brief-details-list li:hover {
  transform: translateX(4px);
}

.brief-details-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 1px;
  background: var(--blue);
}

.brief-details-list strong {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy);
}

.brief-details-list span {
  font-size: 0.9375rem;
  color: var(--muted-dark);
  line-height: 1.5;
}

.brief-download {
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
}

.brief-download-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  font-weight: 500;
}

/* ── SERVICES ─────────────────────────────────────────── */
.section-services {
  background: var(--white);
}

.services-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.service-card {
  position: relative;
  background: var(--cream);
  padding: var(--space-8);
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(10, 22, 40, 0.1);
  border-color: var(--blue);
}

.service-card-featured {
  background: var(--navy-deep);
  color: var(--cream);
  border-color: var(--navy-deep);
  transform: scale(1.02);
}

@media (min-width: 768px) {
  .service-card-featured {
    transform: scale(1.04);
  }
}

.service-card-featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 24px 48px rgba(10, 22, 40, 0.25);
}

@media (min-width: 768px) {
  .service-card-featured:hover {
    transform: scale(1.04) translateY(-6px);
  }
}

.service-badge {
  position: absolute;
  top: -12px;
  left: var(--space-8);
  padding: var(--space-1) var(--space-3);
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-radius: 2px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: var(--space-4);
}

.service-card-featured .service-num {
  color: var(--blue-bright);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy-deep);
  margin-bottom: var(--space-2);
}

.service-card-featured .service-title {
  color: var(--cream);
}

.service-subtitle {
  font-size: 0.9375rem;
  color: var(--muted-dark);
  margin-bottom: var(--space-6);
  min-height: 2.5em;
}

.service-card-featured .service-subtitle {
  color: rgba(250, 247, 240, 0.7);
}

.service-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.service-card-featured .service-price {
  border-bottom-color: rgba(74, 159, 212, 0.3);
}

.service-price-symbol {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--muted-dark);
}

.service-card-featured .service-price-symbol {
  color: var(--muted);
}

.service-price-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--navy-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}

.service-card-featured .service-price-value {
  color: var(--cream);
}

.service-price-per {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  width: 100%;
  margin-top: var(--space-1);
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex: 1;
}

.service-features li {
  padding-left: var(--space-5);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-dark);
  position: relative;
}

.service-card-featured .service-features li {
  color: rgba(250, 247, 240, 0.8);
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--blue);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card-featured .service-cta {
  background: var(--cream);
  color: var(--navy-deep);
}

.service-cta svg {
  transition: transform var(--dur) var(--ease);
}

.service-cta:hover svg {
  transform: translateX(4px);
}

.service-cta:hover {
  background: var(--blue);
  color: var(--white);
}

.service-card-featured .service-cta:hover {
  background: var(--blue);
  color: var(--white);
}

/* ── CURRENCY TOGGLE ────────────────────────────────── */
.currency-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  margin: 0 auto var(--space-8);
  background: rgba(27, 42, 74, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  isolation: isolate;
}

@media (min-width: 768px) {
  .currency-toggle {
    margin-bottom: var(--space-10);
  }
}

.section-services .section-header + .currency-toggle {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.currency-option {
  position: relative;
  z-index: 2;
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color var(--dur) var(--ease);
}

.currency-option.active {
  color: var(--cream);
}

.currency-option:hover:not(.active) {
  color: var(--navy-deep);
}

.currency-toggle-indicator {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  height: calc(100% - 8px);
  background: var(--navy-deep);
  border-radius: 999px;
  transition: transform var(--dur) var(--ease-smooth);
  will-change: transform;
}

/* ── SERVICES ROADMAP ────────────────────────────────── */
.services-roadmap {
  margin: var(--space-10) 0 var(--space-8);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-roadmap-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .services-roadmap-inner {
    flex-direction: row;
    gap: var(--space-8);
    align-items: flex-start;
  }
}

.services-roadmap-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--blue);
  padding-top: 4px;
}

.services-roadmap-items {
  display: grid;
  gap: var(--space-3);
  width: 100%;
}

@media (min-width: 768px) {
  .services-roadmap-items {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }
}

.roadmap-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roadmap-item-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted-dark);
  margin-bottom: 2px;
}

.roadmap-item-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.3;
}

.roadmap-item-desc {
  font-family: var(--font-body);
  font-size: 0.825rem;
  color: var(--muted-dark);
  line-height: 1.4;
}

.services-note {
  text-align: center;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}

.services-note p {
  font-size: 0.9375rem;
  color: var(--muted-dark);
}

.services-note a {
  color: var(--blue);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.services-note a:hover { color: var(--navy); }

/* ── METHODOLOGY ──────────────────────────────────────── */
.section-methodology {
  background: var(--cream);
  position: relative;
}

.section-methodology::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 42, 74, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 42, 74, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}

.section-methodology .container { position: relative; z-index: 1; }

.method-intro {
  max-width: 860px;
  margin-bottom: var(--space-16);
}

.method-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

@media (min-width: 640px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .method-grid { grid-template-columns: repeat(4, 1fr); }
}

.method-card {
  padding: var(--space-6);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue);
  transition: transform var(--dur) var(--ease), border-top-color var(--dur) var(--ease);
}

.method-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--navy);
}

.method-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.03em;
}

.method-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.method-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-dark);
}

/* Technical formula panel */
.method-technical {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-10);
  background: var(--navy-deep);
  color: var(--cream);
  border-radius: 2px;
}

@media (min-width: 1024px) {
  .method-technical {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-12);
  }
}

.tech-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.tech-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: var(--space-8);
  line-height: 1.1;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 640px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

.tech-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: 0.875rem;
  color: rgba(250, 247, 240, 0.8);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.tech-item-dot {
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 0.4em;
  flex-shrink: 0;
}

.tech-formula {
  padding: var(--space-8);
  background: rgba(74, 159, 212, 0.05);
  border: 1px solid rgba(74, 159, 212, 0.2);
  border-radius: 2px;
}

.tech-formula-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.tech-formula-equation {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: var(--space-6);
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  align-items: baseline;
}

.tech-var {
  color: var(--blue-bright);
  font-style: italic;
}

.tech-op, .tech-paren {
  color: var(--muted);
  font-weight: 300;
}

.tech-fn {
  color: var(--cream);
  font-weight: 500;
}

.tech-formula-legend {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(74, 159, 212, 0.15);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(250, 247, 240, 0.7);
}

.tech-formula-legend .tech-var {
  display: inline-block;
  width: 1.5em;
}

/* ── PROCESS ──────────────────────────────────────────── */
.section-process {
  background: var(--white);
}

.process-steps {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }
}

@media (min-width: 1200px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  padding-top: var(--space-8);
  border-top: 2px solid var(--navy);
}

.process-step::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--navy);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  margin-bottom: var(--space-3);
}

.process-step-content h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--navy-deep);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.process-step-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted-dark);
}

/* ── ABOUT ────────────────────────────────────────────── */
.section-about {
  background: var(--cream);
}

.about-content {
  display: grid;
  gap: var(--space-10);
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-16);
  }
}

.about-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: var(--space-5);
}

.about-text .lede {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: var(--space-6);
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  align-self: start;
}

.cred-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.cred-value {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--navy-deep);
  font-weight: 500;
}

/* ── FAQ ──────────────────────────────────────────────── */
.section-faq {
  background: var(--white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq-item[open] {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.06);
}

.faq-item summary {
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: background var(--dur) var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover {
  background: var(--cream);
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--blue);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  animation: faq-open var(--dur) var(--ease);
}

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-light);
}

.faq-answer a {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
}

/* ── CTA ──────────────────────────────────────────────── */
.section-cta {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--space-32) 0;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 159, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 159, 212, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: var(--space-6);
}

.cta-title span { display: block; }

.cta-text {
  font-size: 1.25rem;
  color: rgba(250, 247, 240, 0.75);
  margin-bottom: var(--space-10);
}

.cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: var(--cream);
  padding: var(--space-16) 0 var(--space-6);
  border-top: 1px solid rgba(74, 159, 212, 0.1);
}

.footer-grid {
  display: grid;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(250, 247, 240, 0.1);
  margin-bottom: var(--space-6);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
  }
}

.footer-brand {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  color: var(--cream);
}

.footer-brand .logo-mark { color: var(--cream); width: 40px; height: 40px; }

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: var(--space-1);
}

.footer-brand-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-nav-heading {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--blue-bright);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: rgba(250, 247, 240, 0.7);
  transition: color var(--dur) var(--ease);
}

.footer-nav-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ── REVEAL ANIMATIONS ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slower) var(--ease), transform var(--dur-slower) var(--ease);
}

.reveal[data-delay="0"] { transition-delay: 0ms; }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }

.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* ── LEGAL PAGES (privacy, terms) ─────────────────────── */
.legal-page {
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-24);
  background: var(--cream);
  min-height: 100vh;
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 300;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy-deep);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--navy);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: var(--space-4);
}

.legal-content ul,
.legal-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content a {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
}
