/* ============================================================
   CORE FIELD SYSTEMS — Design System
   Built from Brand Guidelines v1.0 (2026)
   "Completions made clear."
   ============================================================ */

/* ---------- Fonts (IBM Plex Sans + Mono) ---------- */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1. TOKENS
   ============================================================ */
:root {
  /* Core palette */
  --brand-blue: #046BD2;
  --deep-blue:  #045CB4;
  --navy:       #1E293B;
  --slate:      #334155;

  /* Neutrals */
  --paper: #FFFFFF;
  --mist:  #F1F5F9;
  --line:  #E2E8F0;
  --muted: #64748B;
  --ink:   #0F172A;
  --abyss: #020617;

  /* Semantic */
  --bg:            var(--paper);
  --bg-alt:        var(--mist);
  --text:          var(--slate);
  --heading:       var(--navy);
  --text-invert:   #F8FAFC;
  --accent:        var(--brand-blue);
  --accent-hover:  var(--deep-blue);
  --border:        var(--line);

  /* Brand gradient wash (hero / dark sections) */
  --wash: linear-gradient(135deg, #020617 0%, #045CB4 60%, #046BD2 100%);
  --wash-soft: linear-gradient(135deg, #0B1220 0%, #0F2748 55%, #103A6B 100%);

  /* Typography */
  --font-sans: 'IBM Plex Sans', Arial, Helvetica, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  --fs-display: clamp(2.4rem, 5.2vw, 4rem);   /* hero display only */
  --fs-h1: clamp(2rem, 3.4vw, 2.4rem);        /* 32–38px */
  --fs-h2: clamp(1.6rem, 2.6vw, 1.9rem);      /* ~26–30px */
  --fs-h3: 1.5rem;    /* 24 */
  --fs-h4: 1.25rem;   /* 20 */
  --fs-h5: 1.125rem;  /* 18 */
  --fs-h6: 1rem;      /* 16 */
  --fs-body: 1rem;    /* 16 */
  --fs-sm: 0.9375rem; /* 15 */
  --fs-xs: 0.8125rem; /* 13 */
  --lh-body: 1.6;

  /* Spacing scale (8pt) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Shadows (soft, engineered — never heavy) */
  --sh-xs: 0 1px 2px rgba(15,23,42,.06);
  --sh-sm: 0 2px 8px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --sh-md: 0 8px 24px rgba(15,23,42,.08), 0 2px 6px rgba(15,23,42,.05);
  --sh-lg: 0 18px 48px rgba(15,23,42,.12), 0 6px 14px rgba(15,23,42,.06);
  --sh-blue: 0 12px 30px rgba(4,107,210,.28);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --nav-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .45s;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent-hover); }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid rgba(4,107,210,.5); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-sans);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-h1); line-height: 1.15; }
h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: var(--fs-h4); line-height: 1.25; }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }
p { margin-bottom: var(--sp-4); max-width: 68ch; }
strong { color: var(--heading); font-weight: 600; }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--slate); }

/* Eyebrow / mono label (brand: Mono for labels & references) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--invert { color: #93C5FD; }
.eyebrow--invert::before { background: #93C5FD; }
.eyebrow--center { justify-content: center; }

.mono { font-family: var(--font-mono); }
.text-gradient {
  background: linear-gradient(120deg, var(--brand-blue), #38BDF8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--ink); color: #CBD5E1; }
.section--wash { background: var(--wash); color: #E2E8F0; position: relative; overflow: hidden; }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4,
.section--wash h1,.section--wash h2,.section--wash h3,.section--wash h4 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.075rem; margin-top: var(--sp-3); }
.section--dark .section-head p, .section--wash .section-head p { color: #94A3B8; }

.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }

/* Blueprint grid backdrop for dark sections */
.blueprint::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 100%);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-weight: 500; font-size: var(--fs-sm); line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-md);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { background: var(--accent-hover); color:#fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(4,107,210,.36); }
.btn--ghost { background: transparent; color: var(--heading); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--invert { background: #fff; color: var(--navy); }
.btn--invert:hover { background: var(--mist); color: var(--navy); transform: translateY(-2px); }
.btn--ghost-invert { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn--ghost-invert:hover { border-color: #fff; background: rgba(255,255,255,.08); color:#fff; transform: translateY(-2px); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ============================================================
   6. HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.site-header.scrolled, .site-header.solid {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: var(--sh-xs);
}

/* Logo lockup */
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; }
.brand-lockup img { width: 40px; height: 40px; }
.brand-lockup .wm { display: flex; flex-direction: column; line-height: 1; }
.brand-lockup .wm b { font-weight: 600; font-size: 1.02rem; color: var(--navy); letter-spacing: -0.01em; }
.brand-lockup .wm span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.site-header.on-dark:not(.scrolled) .brand-lockup .wm b { color: #fff; }
.site-header.on-dark:not(.scrolled) .brand-lockup .wm span { color: #94A3B8; }

.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav-links { display: flex; align-items: center; gap: var(--sp-5); }
.nav-links a { color: var(--slate); font-size: var(--fs-sm); font-weight: 500; position: relative; padding: 4px 0; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px; background: var(--accent); transition: width .25s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.site-header.on-dark:not(.scrolled) .nav-links a { color: #CBD5E1; }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { color: #fff; }

.nav-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: var(--navy); transition: .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content:""; position:absolute; left:0; width:22px; height:2px; background: var(--navy); transition: .3s var(--ease); }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.site-header.on-dark:not(.scrolled) .nav-toggle span,
.site-header.on-dark:not(.scrolled) .nav-toggle span::before,
.site-header.on-dark:not(.scrolled) .nav-toggle span::after { background: #fff; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top:0; transform: rotate(45deg); background: var(--navy); }
body.nav-open .nav-toggle span::after { top:0; transform: rotate(-45deg); background: var(--navy); }

/* ============================================================
   7. HERO
   ============================================================ */
.hero { position: relative; background: var(--wash); color: #E2E8F0; padding-top: calc(var(--nav-h) + clamp(3rem,7vw,5.5rem)); padding-bottom: clamp(3.5rem,8vw,6rem); overflow: hidden; }
.hero__glow { position:absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity:.5; pointer-events:none; }
.hero__glow.g1 { background: radial-gradient(circle, rgba(4,107,210,.55), transparent 60%); top: -180px; right: -120px; }
.hero__glow.g2 { background: radial-gradient(circle, rgba(56,189,248,.28), transparent 60%); bottom: -220px; left: -140px; }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 780px; }
.hero h1 { color: #fff; font-size: var(--fs-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: var(--sp-5); }
.hero h1 .accent { color: #7CC0FF; }
.hero .lead { color: #C7D2E0; font-size: clamp(1.075rem,1.6vw,1.28rem); max-width: 60ch; margin-bottom: var(--sp-6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-7); }
.hero__meta { display:flex; flex-wrap:wrap; gap: var(--sp-5) var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.12); }
.hero__meta div { display:flex; flex-direction:column; gap:2px; }
.hero__meta .n { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 600; color: #fff; }
.hero__meta .l { font-size: var(--fs-xs); color: #94A3B8; letter-spacing: .04em; }

/* ============================================================
   8. CARDS
   ============================================================ */
.card {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #CBD5E1; }
.card__ico {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(4,107,210,.10), rgba(4,92,180,.06));
  border: 1px solid rgba(4,107,210,.16);
  color: var(--accent); margin-bottom: var(--sp-4);
}
.card__ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-2); font-size: 1.25rem; }
.card p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: var(--sp-4); }
.card .link-arrow { font-size: var(--fs-sm); }

/* Service card — accented top rule */
.card--service::before {
  content:""; position:absolute; top:0; left:0; height:3px; width:44px;
  background: var(--accent); border-radius: 0 0 3px 0;
  transition: width .3s var(--ease);
}
.card--service:hover::before { width: 100%; }

/* Feature list */
.checklist li { position: relative; padding-left: 30px; margin-bottom: var(--sp-3); color: var(--slate); }
.checklist li::before {
  content:""; position:absolute; left:0; top:3px; width:18px; height:18px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.checklist--invert li { color: #CBD5E1; }

/* Stat tiles */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-5); }
.stat { text-align: left; }
.stat .n { font-family: var(--font-mono); font-weight: 600; font-size: clamp(2rem,4vw,2.6rem); color: var(--navy); line-height: 1; }
.section--dark .stat .n, .section--wash .stat .n { color:#fff; }
.stat .l { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--sp-2); }
.stat .n .u { color: var(--accent); }

/* Pill / chips */
.chips { display:flex; flex-wrap:wrap; gap: var(--sp-2); }
.chip {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .04em;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--mist); color: var(--slate); border: 1px solid var(--border);
}
.section--wash .chip, .section--dark .chip { background: rgba(255,255,255,.06); color:#CBD5E1; border-color: rgba(255,255,255,.14); }

/* Logo/industry strip */
.industry-strip { display:flex; flex-wrap:wrap; gap: var(--sp-3) var(--sp-6); align-items:center; justify-content:center; }
.industry-strip span { font-family: var(--font-mono); font-size: var(--fs-sm); letter-spacing:.06em; color: var(--muted); display:inline-flex; align-items:center; gap: 8px; }
.industry-strip svg { width:20px; height:20px; color: var(--accent); }

/* Process / steps */
.steps { counter-reset: step; display:grid; gap: var(--sp-5); }
.step { display:grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items:start; }
.step__num { counter-increment: step; width:44px; height:44px; border-radius: var(--r-md); background: var(--navy); color:#fff; font-family: var(--font-mono); font-weight:600; display:flex; align-items:center; justify-content:center; }
.step__num::before { content: "0" counter(step); }
.step h4 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: var(--fs-sm); margin:0; }

/* ============================================================
   9. FORMS
   ============================================================ */
.form { display: grid; gap: var(--sp-4); }
.field { display:flex; flex-direction:column; gap: 6px; }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--heading); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-sm); color: var(--heading);
  padding: 0.85rem 1rem; border: 1.5px solid var(--border); border-radius: var(--r-md);
  background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #94A3B8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(4,107,210,.12);
}
.field--row { display:grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-note { font-size: var(--fs-xs); color: var(--muted); }
.form-success { display:none; padding: var(--sp-5); border-radius: var(--r-md); background: rgba(4,107,210,.06); border:1px solid rgba(4,107,210,.2); color: var(--navy); }
.form-success.show { display:block; }

/* ============================================================
   10. ACCORDION (FAQ)
   ============================================================ */
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head { width:100%; display:flex; align-items:center; justify-content:space-between; gap: var(--sp-4); padding: var(--sp-5) 0; text-align:left; font-weight:600; color: var(--heading); font-size: 1.075rem; }
.acc-head .ico { flex:none; width:26px; height:26px; border-radius:50%; border:1.5px solid var(--border); position:relative; transition:.25s var(--ease); }
.acc-head .ico::before, .acc-head .ico::after { content:""; position:absolute; background: var(--accent); left:50%; top:50%; transform: translate(-50%,-50%); }
.acc-head .ico::before { width:11px; height:2px; }
.acc-head .ico::after { width:2px; height:11px; transition: transform .25s var(--ease); }
.acc-item.open .acc-head .ico { border-color: var(--accent); background: rgba(4,107,210,.08); }
.acc-item.open .acc-head .ico::after { transform: translate(-50%,-50%) scaleY(0); }
.acc-body { max-height:0; overflow:hidden; transition: max-height .35s var(--ease); }
.acc-body__inner { padding: 0 0 var(--sp-5); color: var(--muted); }
.acc-body__inner p { margin:0; }

/* ============================================================
   11. CTA BANNER
   ============================================================ */
.cta-band { position: relative; overflow:hidden; background: var(--wash); border-radius: var(--r-xl); padding: clamp(2.5rem,6vw,4.5rem); text-align:center; color:#fff; }
.cta-band h2 { color:#fff; margin-bottom: var(--sp-3); }
.cta-band p { color:#C7D2E0; max-width: 56ch; margin: 0 auto var(--sp-6); }
.cta-band .hero__glow.g1 { top:-160px; right:-100px; }

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer { background: var(--abyss); color: #94A3B8; padding-top: var(--sp-9); }
.site-footer a { color:#CBD5E1; }
.site-footer a:hover { color:#fff; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-8); }
.footer-brand .brand-lockup .wm b { color:#fff; }
.footer-brand .brand-lockup .wm span { color:#64748B; }
.footer-brand p { color:#94A3B8; font-size: var(--fs-sm); margin-top: var(--sp-4); max-width: 34ch; }
.footer-col h5 { color:#E2E8F0; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing:.16em; text-transform:uppercase; margin-bottom: var(--sp-4); }
.footer-col a { display:block; font-size: var(--fs-sm); padding: 5px 0; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding-block: var(--sp-5); display:flex; flex-wrap:wrap; gap: var(--sp-4); align-items:center; justify-content:space-between; font-size: var(--fs-xs); color:#64748B; }
.footer-bottom .mono { letter-spacing:.04em; }

/* ============================================================
   13. STICKY MOBILE CTA
   ============================================================ */
.sticky-cta { display:none; position: fixed; left:0; right:0; bottom:0; z-index:90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top:1px solid var(--border); box-shadow: 0 -4px 20px rgba(15,23,42,.08); }
.sticky-cta .btn { width:100%; }

/* ============================================================
   14. BREADCRUMB / PAGE HERO
   ============================================================ */
.pagehero { position:relative; background: var(--wash); color:#E2E8F0; padding-top: calc(var(--nav-h) + clamp(2.5rem,6vw,4rem)); padding-bottom: clamp(2.5rem,6vw,4rem); overflow:hidden; }
.pagehero .container { position:relative; z-index:2; }
.pagehero h1 { color:#fff; margin-bottom: var(--sp-3); max-width: 20ch; }
.pagehero p { color:#C7D2E0; max-width: 60ch; font-size: 1.1rem; }
.breadcrumb { display:flex; gap:8px; align-items:center; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing:.06em; color:#93C5FD; margin-bottom: var(--sp-5); }
.breadcrumb a { color:#93C5FD; } .breadcrumb a:hover { color:#fff; }
.breadcrumb .sep { color:#475569; }

/* ============================================================
   15. PROSE (articles)
   ============================================================ */
.prose { max-width: 72ch; }
.prose h2 { margin-top: var(--sp-8); margin-bottom: var(--sp-4); }
.prose h3 { margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose p, .prose li { color: var(--slate); font-size: 1.06rem; line-height: 1.75; }
.prose ul { margin: 0 0 var(--sp-5); }
.prose ul li { position:relative; padding-left: 26px; margin-bottom: var(--sp-2); }
.prose ul li::before { content:""; position:absolute; left:4px; top:12px; width:7px; height:7px; border-radius:2px; background: var(--accent); }
.prose blockquote { border-left: 3px solid var(--accent); padding: var(--sp-2) 0 var(--sp-2) var(--sp-5); margin: var(--sp-6) 0; font-size: 1.2rem; color: var(--navy); font-weight:500; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   16. MISC
   ============================================================ */
.callout { background: var(--mist); border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: var(--sp-5); }
.callout .eyebrow { margin-bottom: var(--sp-2); }
.divider { height:1px; background: var(--border); border:0; margin-block: var(--sp-7); }
.text-center { text-align:center; }
.mt-0 { margin-top:0; } .mb-0 { margin-bottom:0; }
.badge-row { display:flex; flex-wrap:wrap; gap: var(--sp-3); }
.badge { display:inline-flex; align-items:center; gap:8px; font-size: var(--fs-sm); color: var(--slate); background:var(--paper); border:1px solid var(--border); border-radius: var(--r-pill); padding:8px 16px; box-shadow: var(--sh-xs); }
.badge svg { width:18px; height:18px; color: var(--accent); }

.media-frame { border-radius: var(--r-lg); overflow:hidden; border:1px solid var(--border); box-shadow: var(--sh-lg); background: var(--wash); position:relative; }
.media-frame.blueprint { min-height: 340px; }
.media-note { position:absolute; left:20px; bottom:18px; z-index:2; font-family:var(--font-mono); font-size:var(--fs-xs); letter-spacing:.1em; color:#93C5FD; text-transform:uppercase; }

/* ============================================================
   17. REVEAL ANIMATION
   ============================================================ */
/* Reveal is only hidden when JS is active (html.js). No-JS users & crawlers
   see all content — nothing depends on JS to be visible. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   18. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile {
    position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99;
    background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
    display: flex; flex-direction: column; padding: var(--sp-6) var(--sp-5);
    gap: var(--sp-2); transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav-mobile { transform: none; }
  .nav-mobile a { font-size: 1.15rem; font-weight: 500; color: var(--navy); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }
  .nav-mobile .btn { display:flex; margin-top: var(--sp-4); }
  .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: var(--sp-6) var(--sp-4); }
  .field--row { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  body { padding-bottom: 0; }
  .split { gap: var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { justify-content:center; text-align:center; }
}
@media (max-width: 480px) {
  .container { padding-inline: var(--sp-4); }
  .hero__meta { gap: var(--sp-4); }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-lockup .wm span { display:none; }
}
