/* ============================================================
   Blue Orange Digital, L1–L5 Landing Pages
   EDGE editorial system (PE-grade): deep navy, DM Serif Display
   headlines with hot-orange italic emphasis, JetBrains Mono
   kickers, Outfit body. Cool off-white surfaces.
   ============================================================ */

:root {
  /* EDGE palette */
  --navy:        #0a1628;   /* deepest navy, heroes, footer, dark panels */
  --navy-mid:    #0f1f38;
  --navy-light:  #162a4a;
  --navy-line:   rgba(255,255,255,0.10);
  --brand-blue:  #21436E;

  --orange:      #F47621;   /* EDGE hot orange, accents, CTAs */
  --orange-hot:  #ff8a3a;   /* hover */
  --orange-warm: #FFB216;   /* signature warm (logo, sparing highlights) */
  --orange-ink:  #b8551a;   /* orange text on light for legibility */

  --bg-page:     #F2F6F9;   /* cool off-white page bg */
  --bg-light:    #E9EEF4;   /* faint cool tint blocks */
  --white:       #ffffff;
  --border:      #E1E7EF;   /* hairline dividers on light */

  --text:        #1B2438;
  --text-muted:  #5B6678;
  --text-light:  #8694a7;   /* tertiary / labels on light */

  --mist:        #c2ccd8;   /* body on dark */
  --slate:       #8494a7;   /* tertiary on dark */
  --light-blue:  #C4CBD3;

  /* Type */
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans:  'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:  'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10,22,40,0.06);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.08);
  --shadow-lg: 0 12px 40px rgba(10,22,40,0.12);
  --shadow-orange: 0 8px 28px rgba(244,118,33,0.30);

  /* legacy aliases used by enhance.css */
  --blue: var(--brand-blue);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Type ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.0rem); line-height: 1.04; margin-bottom: 1.3rem; }
h2 { font-size: clamp(2.0rem, 3.6vw, 2.9rem); line-height: 1.08; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.12rem; margin-bottom: 0.45rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

/* serif headline emphasis, hot-orange italic, the EDGE signature */
h1 em, h2 em, .section-title em, .pull-quote em { font-style: italic; color: var(--orange); }

p { margin-bottom: 1rem; color: var(--text); }
p.lead { font-size: 1.22rem; line-height: 1.6; color: var(--text-muted); font-weight: 400; }
strong { font-weight: 600; color: var(--text); }
/* legible bold on dark backgrounds (heroes, dark sections, CTA bands, pull quotes) */
.hero strong, .section-dark strong, .cta-band strong, .pull-quote strong { color: #fff; }
em { font-style: italic; }

a { color: var(--orange-ink); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--orange); }

ul, ol { margin-bottom: 1rem; padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }
ul.bullets-orange { list-style: none; padding-left: 0; }
ul.bullets-orange li { position: relative; padding-left: 1.4rem; }
ul.bullets-orange li::before {
  content: ""; position: absolute; left: 0; top: 0.7rem;
  width: 7px; height: 7px; background: var(--orange); border-radius: 50%;
}

/* ---------- Layout ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
section { padding: 104px 0; position: relative; }
section.hero { padding: 0; }
.section-dark { background: var(--navy); color: var(--mist); }
.section-tint { background: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 0; }
.brand img { height: 30px; width: auto; display: block; }
.brand-name { display: none; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); padding: 7px 13px; border-radius: 6px; cursor: pointer;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links { list-style: none; padding: 0; margin: 0 0 0 auto; display: flex; align-items: center; gap: 2px; }
.nav-links li { margin: 0; }
.nav-links > li > a, .nav-links .sub-label {
  display: inline-block; color: rgba(255,255,255,0.82); font-family: var(--sans);
  font-size: 0.92rem; font-weight: 500; padding: 8px 14px; border-radius: 7px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--white); }
.nav-links > li > a.active { position: relative; }
.nav-links > li > a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--orange);
}
.nav-cta {
  margin-left: 16px; background: var(--orange); color: var(--white);
  font-weight: 600; font-size: 0.9rem; padding: 11px 20px; border-radius: 6px; white-space: nowrap;
  box-shadow: var(--shadow-orange); transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--orange-hot); color: var(--white); transform: translateY(-2px); }

/* Levels dropdown */
.nav-links .has-sub { position: relative; }
.nav-links .sub-label {
  display: inline-flex; align-items: center; gap: 7px; background: transparent;
  border: none; cursor: pointer; font-family: var(--sans);
}
.nav-links .sub-label .caret { font-size: 0.62rem; transition: transform 0.2s var(--ease); }
.nav-links .has-sub:hover .sub-label, .nav-links .has-sub:focus-within .sub-label { color: var(--white); }
.nav-links .has-sub:hover .caret, .nav-links .has-sub:focus-within .caret { transform: rotate(180deg); }
.nav-links .sub {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; margin: 0; min-width: 280px;
  list-style: none; padding: 10px; background: var(--navy-mid);
  border: 1px solid var(--navy-line); border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}
.nav-links .has-sub:hover .sub, .nav-links .has-sub:focus-within .sub { display: block; }
.nav-links .sub li { margin: 0; }
.nav-links .sub a {
  display: block; white-space: nowrap; padding: 9px 13px; border-radius: 8px;
  font-size: 0.9rem; color: rgba(255,255,255,0.78); transition: all 0.18s var(--ease);
}
.nav-links .sub a:hover, .nav-links .sub a.active { background: rgba(255,255,255,0.06); color: var(--white); }

/* ---------- Scroll progress + back-to-top ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200;
  background: var(--orange); transition: width 0.1s linear;
}
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 46px; height: 46px;
  border-radius: 8px; border: 1px solid var(--navy-line); background: var(--navy); color: var(--white);
  font-size: 1.1rem; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s var(--ease);
  box-shadow: var(--shadow-lg);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--orange); border-color: var(--orange); }

/* ---------- Kicker (JetBrains Mono) ---------- */
.section-eyebrow, .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 1.3rem;
}
.section-eyebrow::before, .eyebrow::before {
  content: ""; width: 30px; height: 1px; background: var(--orange); flex: none;
}
.section-dark .section-eyebrow, .section-dark .eyebrow { color: var(--orange); }

.section-title { margin-bottom: 0.6rem; }
.section-intro {
  max-width: 720px; color: var(--text-muted); font-size: 1.12rem; line-height: 1.65;
  margin-bottom: 2.6rem;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-intro { color: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px;
  border-radius: 6px; font-family: var(--sans); font-weight: 600; font-size: 0.96rem;
  letter-spacing: 0.005em; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: center;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-hot); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(244,118,33,0.4); }
.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(10,22,40,0.25); }
.btn-secondary:hover { border-color: var(--navy); background: var(--navy); color: var(--white); transform: translateY(-2px); }
.section-dark .btn-secondary, .hero .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.25); }
.section-dark .btn-secondary:hover, .hero .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); color: var(--white); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--mist); position: relative; overflow: hidden;
}
.hero::before { /* grid lines */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(132,148,167,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(132,148,167,0.10) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 10%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 80% at 70% 10%, #000 25%, transparent 72%);
  pointer-events: none;
}
.hero::after { /* orange glow */
  content: ""; position: absolute; top: -180px; right: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(244,118,33,0.20), transparent 65%);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 64px; align-items: center;
  padding-top: 120px; padding-bottom: 120px;
}
.hero-text .eyebrow { color: var(--orange); }
.hero-text h1 { color: var(--white); letter-spacing: -0.02em; }
.hero-text h1 em { color: var(--orange); }
.hero-text p.lead { color: var(--mist); max-width: 600px; margin-bottom: 2rem; }
.hero-text .cta-row { margin-top: 0.5rem; }
.hero-visual img { max-width: 100%; height: auto; display: block; }

/* fx-hero hook kept for compatibility (hero already carries atmosphere) */
.fx-hero { position: relative; overflow: hidden; }

/* ---------- L1–L5 ladder ---------- */
.lvl-ladder { display: grid; gap: 9px; width: 100%; max-width: 460px; margin-left: auto; }
.lvl-ladder .rung {
  display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px; padding: 15px 20px; transition: all 0.25s var(--ease);
}
.lvl-ladder .rung .lv {
  font-family: var(--serif); font-size: 1.5rem; color: var(--white);
  line-height: 1; text-align: center;
}
.lvl-ladder .rung .nm { font-family: var(--sans); font-weight: 600; color: var(--white); font-size: 1rem; line-height: 1.25; }
.lvl-ladder .rung .nm small {
  display: block; color: var(--slate); font-weight: 400; font-size: 0.8rem; margin-top: 3px;
  font-family: var(--mono); letter-spacing: 0.01em;
}
.lvl-ladder .rung.on {
  border-color: var(--orange); background: rgba(244,118,33,0.10);
  box-shadow: 0 10px 30px rgba(244,118,33,0.18);
}
.lvl-ladder .rung.on .lv { color: var(--orange); }
.on-tag {
  display: inline-block; margin-left: 10px; font-family: var(--mono); white-space: nowrap;
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); background: var(--orange); border-radius: 4px; padding: 2px 7px; vertical-align: middle;
}

/* ---------- Tier grid (5 cards) ---------- */
.tier-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 34px 0 0;
}
.tier-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 26px 24px 22px; text-decoration: none; color: var(--navy); display: block;
  position: relative; overflow: hidden; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tier-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cbd6e3; }
.tier-card:hover::before { transform: scaleX(1); }
.tier-card .tier-id {
  font-family: var(--serif); font-size: 2.3rem; color: var(--navy); line-height: 1; margin-bottom: 0.6rem;
}
.tier-card .tier-name { font-weight: 600; font-size: 1.02rem; color: var(--navy); margin-bottom: 0.25rem; line-height: 1.25; }
.tier-card .tier-tagline { font-size: 0.86rem; color: var(--text-muted); }
.tier-card .adoption {
  margin-top: 1.1rem; padding-top: 0.8rem; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 0.74rem; color: var(--orange-ink); font-weight: 600; letter-spacing: 0.04em;
}

/* ---------- Outcome / proof cards ---------- */
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 14px; }
.outcome {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.outcome:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cbd6e3; }
.outcome .oc-tag { display: block; font-family: var(--mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.outcome .oc-metric { font-family: var(--serif); font-size: 2.5rem; color: var(--orange); line-height: 1; letter-spacing: -0.01em; }
.outcome .oc-metric small { font-family: var(--mono); font-size: 0.72rem; color: var(--text-muted); display: block; margin-top: 8px; letter-spacing: 0.04em; }
.outcome .oc-desc { margin: 16px 0 0; font-size: 0.92rem; line-height: 1.55; color: var(--text-muted); }
@media (max-width: 900px) { .outcome-grid { grid-template-columns: 1fr; } }

/* ---------- Two-col ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 14px; }
.two-col.tight { gap: 32px; }
.two-col h3 { color: var(--navy); }
.two-col h3::before {
  content: ""; display: block; width: 28px; height: 2px; background: var(--orange); margin-bottom: 16px;
}

/* ---------- Reverse-narrative anchor ---------- */
.rn-anchor { max-width: 780px; margin: 8px auto 6px; }
.anchor-core {
  position: relative; max-width: 400px; margin: 0 auto; text-align: center;
  background: var(--navy); border: 1px solid var(--orange); border-radius: 14px; padding: 24px 28px;
  box-shadow: 0 14px 40px rgba(244,118,33,0.18);
}
.anchor-core .step {
  display: block; font-family: var(--mono); font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.anchor-core b { font-family: var(--serif); color: var(--white); font-size: 2.1rem; display: block; line-height: 1; }
.anchor-core small { display: block; color: var(--mist); font-size: 0.86rem; margin-top: 9px; }
.anchor-core::after {
  content: ""; position: absolute; left: 50%; bottom: -22px; width: 2px; height: 22px;
  background: var(--orange); transform: translateX(-50%);
}
.anchor-arms { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 22px; }
.anchor-arms::before { content: ""; position: absolute; top: 0; left: calc(25% - 8px); right: calc(25% - 8px); height: 2px; background: var(--orange); }
.arm { position: relative; padding-top: 22px; }
.arm::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 22px; background: var(--orange); transform: translateX(-50%); }
.arm-label { display: block; text-align: center; font-family: var(--mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-bottom: 14px; }
.arm-node { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 18px; text-align: center; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.arm-node:last-child { margin-bottom: 0; }
.arm-node b { font-family: var(--serif); color: var(--navy); font-size: 1.45rem; display: block; line-height: 1; }
.arm-node small { display: block; color: var(--text-muted); font-size: 0.8rem; margin-top: 6px; }
.arm-node.muted { background: var(--bg-light); }

.diagram-caption { margin-top: 1.4rem; font-size: 0.92rem; color: var(--text-muted); font-style: italic; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Pillars (foundational) cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 14px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 30px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cbd6e3; }
.card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.card .pillar-number {
  display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); color: var(--navy);
  font-size: 1.6rem; line-height: 1; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.card .pillar-number .pn { color: var(--orange); }
.card .tag {
  display: inline-block; font-family: var(--mono); color: var(--text-muted); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.1em; padding: 3px 10px; border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.9rem; text-transform: uppercase;
}

/* ---------- Edge product suite cards ---------- */
.edge-suite { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.edge-prod {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 12px;
  padding: 24px 20px; transition: all 0.25s var(--ease);
}
.edge-prod:hover { background: rgba(255,255,255,0.07); border-color: rgba(244,118,33,0.5); transform: translateY(-4px); }
.edge-prod .ep-num { font-family: var(--mono); font-size: 0.7rem; color: var(--orange); letter-spacing: 0.12em; margin-bottom: 14px; }
.edge-prod h3 { font-family: var(--serif); color: var(--white); font-size: 1.3rem; margin-bottom: 0.5rem; }
.edge-prod p { color: var(--slate); font-size: 0.88rem; line-height: 1.55; margin: 0; }
.edge-prod .ep-tier { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 0.68rem; color: var(--mist); letter-spacing: 0.08em; padding: 3px 9px; border: 1px solid rgba(255,255,255,0.16); border-radius: 4px; }

/* ---------- Tool stack ---------- */
.tool-stack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.tool-stack .col { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 22px 20px; }
.tool-stack .col h4 { font-family: var(--serif); color: var(--navy); font-size: 1.4rem; margin-bottom: 2px; font-weight: 400; letter-spacing: -0.01em; }
.tool-stack .col .role { display: block; font-family: var(--mono); font-size: 0.66rem; color: var(--orange-ink); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.tool-stack .col ul { list-style: none; padding: 0; margin: 0; }
.tool-stack .col li { font-size: 0.88rem; color: var(--text); padding: 8px 0; border-top: 1px solid var(--border); margin: 0; }
.tool-stack .col li:first-child { border-top: none; }

/* ---------- Investment table ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 1.2rem; box-shadow: var(--shadow-md); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.94rem; }
thead { background: var(--navy); color: var(--white); }
thead th {
  text-align: left; padding: 16px 18px; font-family: var(--mono); font-weight: 500;
  font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist);
}
tbody td { padding: 15px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody td:first-child { font-weight: 600; color: var(--navy); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-page); }
td.num, td.accent-num { font-family: var(--mono); font-size: 0.86rem; font-variant-numeric: tabular-nums; }
td.accent-num { color: var(--orange-ink); font-weight: 600; }
.table-note { font-family: var(--mono); font-size: 0.78rem; color: var(--text-light); letter-spacing: 0.02em; }

/* ---------- Pull quote ---------- */
.pull-quote {
  background: var(--navy); color: var(--white); padding: 64px 64px 56px; border-radius: 16px;
  position: relative; overflow: hidden; max-width: 980px; margin: 0 auto;
}
.pull-quote::before {
  content: "\201C"; position: absolute; top: -10px; left: 36px; font-family: var(--serif);
  font-size: 9rem; color: rgba(244,118,33,0.22); line-height: 1;
}
.pull-quote p {
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3;
  color: var(--white); margin-bottom: 1.4rem; position: relative; letter-spacing: -0.01em;
}
.pull-quote p em { color: var(--orange); font-style: italic; }
.pull-quote cite {
  font-family: var(--mono); font-style: normal; font-size: 0.78rem; color: var(--orange);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); border-radius: 18px; padding: 72px 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px; background: radial-gradient(circle, rgba(244,118,33,0.22), transparent 65%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-band h2 em { color: var(--orange); }
.cta-band p { color: var(--mist); max-width: 640px; margin: 0 auto 2rem; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-strip .ts-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); }
.trust-strip img { height: 42px; width: auto; opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--slate); padding: 80px 0 36px; font-size: 0.94rem; }
.site-footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.site-footer h5 { font-family: var(--mono); color: var(--orange); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer p { color: var(--slate); line-height: 1.7; }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--orange); }
.site-footer .footer-brand img { height: 28px; margin-bottom: 1rem; }
.site-footer .footer-tagline { max-width: 360px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.footer-bottom {
  border-top: 1px solid var(--navy-line); padding-top: 22px; margin-top: 44px;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--slate); text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tier-grid, .edge-suite, .tool-stack { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
  .lvl-ladder { max-width: none; margin: 0; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .container { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  section { padding: 68px 0; }
  .container { padding: 0 22px; }
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; width: 100%; order: 3; flex-direction: column; align-items: stretch;
    gap: 2px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--navy-line);
  }
  .nav-links.open { display: flex; }
  .site-header .container { flex-wrap: wrap; }
  .nav-links > li > a, .nav-links .sub-label { width: 100%; padding: 11px 12px; }
  .nav-cta { display: none; }
  .nav-links .sub { display: block; position: static; min-width: 0; background: transparent; border: none; box-shadow: none; padding: 0 0 6px 16px; }
  .tier-grid, .edge-suite, .tool-stack, .card-grid { grid-template-columns: 1fr; }
  .anchor-arms { grid-template-columns: 1fr; gap: 0; }
  .anchor-arms::before { display: none; }
  .arm.up { margin-top: 12px; }
  .pull-quote { padding: 40px 30px 34px; }
  .cta-band { padding: 48px 28px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-stagger > * { animation: bodRiseUp 0.8s var(--ease) both; }
  .hero-stagger > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-stagger > *:nth-child(2) { animation-delay: 0.13s; }
  .hero-stagger > *:nth-child(3) { animation-delay: 0.21s; }
  .hero-stagger > *:nth-child(4) { animation-delay: 0.29s; }
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
  .reveal.in { opacity: 1; transform: none; }
}
@keyframes bodFloatUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bodRiseUp { from { transform: translateY(26px); } to { transform: none; } }

/* ============================================================
   SUBPAGE SHARED COMPONENTS (EDGE)
   breadcrumb · tier-number · tier-panel · callout ·
   diagram-block · lvl-pager · card-icon
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--white); border-bottom: 1px solid var(--border); }
.breadcrumb .container { padding-top: 14px; padding-bottom: 14px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--text-muted); white-space: nowrap; overflow-x: auto; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { margin: 0 10px; color: #c0cbd8; }
.breadcrumb .bc-mut { color: var(--text-light); }
.breadcrumb .bc-current { color: var(--navy); font-weight: 600; }

/* ---------- Tier number badge (subpage hero) ---------- */
.hero-text .tier-number {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.7rem; color: var(--orange);
  width: 64px; height: 64px; border: 1px solid var(--orange); border-radius: 12px;
  background: rgba(244,118,33,0.10); margin-bottom: 1.4rem;
}

/* ---------- Tier stat panel ---------- */
.tier-panel {
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  padding: 8px 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0; margin: 0 0 56px; box-shadow: var(--shadow-md);
}
.tier-panel > div { padding: 22px 28px; border-left: 1px solid var(--border); }
.tier-panel > div:first-child { border-left: none; }
.tier-panel .stat-label { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 8px; }
.tier-panel .stat-value { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
.tier-panel .stat-value.accent { color: var(--orange); }

/* ---------- Callout ---------- */
.callout {
  background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--orange);
  border-radius: 10px; padding: 26px 30px; margin: 26px 0; box-shadow: var(--shadow-sm);
}
.callout h4 {
  color: var(--navy); margin-bottom: 10px; font-family: var(--mono); font-size: 0.74rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px;
}
.callout h4::before { content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 2px; flex: none; }
.callout p:last-child { margin-bottom: 0; }
.section-dark .callout { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.10); border-left-color: var(--orange); }
.section-dark .callout h4 { color: var(--white); }
.section-dark .callout p { color: var(--mist); }

/* ---------- Diagram block ---------- */
.diagram-block {
  text-align: center; background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 40px; margin: 30px 0; box-shadow: var(--shadow-md);
}
.diagram-block img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* ---------- Level pager ---------- */
.lvl-pager { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--border); padding-top: 34px; }
.lvl-pager a { display: flex; flex-direction: column; gap: 5px; max-width: 48%; }
.lvl-pager a.next { text-align: right; margin-left: auto; align-items: flex-end; }
.lvl-pager a span { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); font-weight: 600; }
.lvl-pager a b { color: var(--navy); font-size: 1.2rem; font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.lvl-pager a:hover b { color: var(--orange); }

/* ---------- Card icon (line set) ---------- */
.card-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 11px; background: var(--bg-light); color: var(--navy); margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card-icon.accent { background: rgba(244,118,33,0.12); color: var(--orange-ink); }

/* ---------- Chips & metric badges ---------- */
.chip {
  display: inline-block; font-family: var(--mono); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-light); color: var(--text-muted); white-space: nowrap;
}
.chip.accent { background: rgba(244,118,33,0.12); color: var(--orange-ink); }
.metric {
  display: inline-block; font-family: var(--mono); font-size: 0.74rem; font-weight: 600;
  color: var(--orange-ink); background: rgba(244,118,33,0.10); border-radius: 6px;
  padding: 3px 9px; white-space: nowrap; letter-spacing: 0.01em;
}
.metric.neutral { color: var(--text-muted); background: var(--bg-light); }

/* ---------- Vendor pick mark (logo or monogram) ---------- */
.pick { display: inline-flex; align-items: center; gap: 10px; }
.pick-mark {
  width: 27px; height: 27px; border-radius: 7px; flex: none; display: inline-flex;
  align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--border); overflow: hidden;
}
.pick-mark img { max-width: 18px; max-height: 18px; display: block; }
.pick-mark.mono { background: var(--navy); border-color: var(--navy); color: #fff; font-family: var(--mono); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.03em; }
.pick-name { color: var(--text); }
.pick-name strong { color: var(--navy); }

/* ---------- Scenario table ---------- */
.scenario-table td:first-child { font-weight: 400; white-space: nowrap; width: 1%; }
.scenario-table td { vertical-align: middle; }
.scenario-table .what { color: var(--text); font-size: 0.92rem; }
.scenario-table td:last-child { text-align: right; white-space: nowrap; width: 1%; }
@media (max-width: 680px) {
  .scenario-table thead { display: none; }
  .scenario-table, .scenario-table tbody, .scenario-table tr, .scenario-table td { display: block; width: auto; }
  .scenario-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .scenario-table tr:last-child { border-bottom: none; }
  .scenario-table td { padding: 4px 0; border: none; white-space: normal !important; text-align: left !important; }
}

/* ---------- Stall / signal lists (anti-patterns / graduation) ---------- */
.stall-list, .signal-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.stall-list li, .signal-list li {
  position: relative; padding: 15px 18px 15px 52px; margin: 0; background: var(--white);
  border: 1px solid var(--border); border-radius: 11px; font-size: 0.94rem; line-height: 1.5;
  color: var(--text-muted); box-shadow: var(--shadow-sm);
}
.stall-list li::before, .signal-list li::before {
  position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; font-family: var(--mono);
  font-size: 0.82rem; font-weight: 700;
}
.stall-list li::before { content: "\2715"; background: rgba(91,102,120,0.12); color: var(--text-light); }
.signal-list li::before { content: "\2192"; background: rgba(244,118,33,0.14); color: var(--orange-ink); }
.stall-list li strong, .signal-list li strong { color: var(--navy); display: block; margin-bottom: 2px; font-weight: 600; }
.signal-list.compact li { padding-top: 13px; padding-bottom: 13px; }
.signal-list.compact li strong { display: inline; }

/* ---------- Condensed capability spine (D1–D10) ---------- */
.spine-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 14px; }
.spine-item {
  display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 14px;
  padding: 13px 17px; background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; box-shadow: var(--shadow-sm); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.spine-item:hover { border-color: #cbd6e3; transform: translateY(-1px); }
.spine-item .sd { font-family: var(--serif); color: var(--orange); font-size: 1.25rem; line-height: 1.05; }
.spine-item .sb { min-width: 0; }
.spine-item .sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.spine-item .sh b { color: var(--navy); font-weight: 600; font-size: 0.97rem; line-height: 1.2; }
.spine-item .st {
  flex: none; font-family: var(--mono); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--orange-ink); background: rgba(244,118,33,0.10);
  border-radius: 4px; padding: 3px 7px; white-space: nowrap;
}
.spine-item .sq { color: var(--text-muted); font-size: 0.83rem; line-height: 1.45; margin-top: 4px; }
@media (max-width: 760px) { .spine-list { grid-template-columns: 1fr; } }
