:root {
  --navy-950: #071326;
  --navy-900: #0b1930;
  --navy-800: #102440;
  --navy-700: #173255;
  --ink: #132238;
  --body: #34445b;
  --muted: #66758a;
  --line: #d9d6cc;
  --paper: #f4f1e8;
  --paper-2: #fbf9f4;
  --white: #fffdf8;
  --gold: #c89b3c;
  --gold-light: #e4c06b;
  --gold-pale: #f6ebcf;
  --blue-pale: #e8eef7;
  --success: #2d7651;
  --shadow: 0 22px 60px rgba(7, 19, 38, 0.13);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper-2);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul, ol { margin-top: 0; }
h1, h2, h3 {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(3rem, 6.5vw, 5.9rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); }
p:last-child, ul:last-child { margin-bottom: 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--navy-950);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 4px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: clamp(78px, 10vw, 132px) 0; }
.section-tight { padding: clamp(58px, 8vw, 90px) 0; }
.dark { background: var(--navy-950); color: #dbe5f3; }
.navy { background: var(--navy-900); color: #dbe5f3; }
.paper { background: var(--paper); }
.white { background: var(--white); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(7, 19, 38, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; font-weight: 850; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { color: #b9c6d9; text-decoration: none; font-size: 0.91rem; font-weight: 750; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav .nav-cta { color: var(--navy-950); background: var(--gold-light); padding: 10px 16px; border-radius: 999px; }
.site-nav .nav-cta:hover { color: var(--navy-950); background: #f0cf82; }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: transparent; color: var(--white); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; position: absolute; width: 20px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle::before { transform: translateY(-6px); }
.nav-toggle::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: rotate(-45deg); }

.eyebrow { margin-bottom: 18px; color: var(--gold-light); font-size: 0.78rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow-dark { color: #7a5d1f; }
.lede { max-width: 740px; color: inherit; font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.65; }
.section-head { max-width: 860px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { color: var(--body); font-size: 1.08rem; }
.dark .section-head p, .navy .section-head p { color: #bac7d9; }

.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-weight: 850; line-height: 1.2; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-light); color: var(--navy-950); }
.button-primary:hover { background: #f0cf82; }
.button-secondary { border-color: rgba(255,255,255,.28); color: var(--white); background: rgba(255,255,255,.04); }
.button-secondary:hover { border-color: var(--gold-light); }
.button-dark { background: var(--navy-950); color: var(--white); }
.button-outline { border-color: #9d7a32; color: var(--ink); background: transparent; }
.text-link { color: #6e5116; font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.dark .text-link, .navy .text-link { color: var(--gold-light); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 11vw, 150px) 0 clamp(70px, 9vw, 112px);
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 78% 16%, rgba(200,155,60,.16), transparent 32%),
    var(--navy-950);
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--white);
}
.hero::after { content: "x²"; position: absolute; right: -1vw; bottom: -12vw; color: rgba(255,255,255,.025); font: 700 min(38vw, 520px)/1 Georgia, serif; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); align-items: center; gap: clamp(40px, 7vw, 90px); }
.hero h1 { max-width: 900px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(3rem, 5.3vw, 4.75rem); }
.hero h1 em { color: var(--gold-light); font-weight: inherit; }
.hero-copy > p:not(.eyebrow) { max-width: 760px; color: #c3cede; font-size: clamp(1.1rem, 1.55vw, 1.3rem); }
.hero-note { margin-top: 28px; color: #93a4bb; font-size: 0.89rem; }

.context-map { position: relative; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: rgba(255,255,255,.055); box-shadow: 0 30px 90px rgba(0,0,0,.24); }
.map-label { color: #91a3bb; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.map-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 18px; }
.map-item { padding: 14px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.045); color: #dce5f1; font-size: .88rem; font-weight: 780; }
.map-foundation { position: relative; padding: 18px; border-radius: 13px; background: var(--gold-light); color: var(--navy-950); }
.map-foundation strong { display: block; font: 600 1.45rem/1.15 Georgia, serif; }
.map-foundation span { display: block; margin-top: 5px; font-size: .8rem; font-weight: 760; }
.map-output { display: flex; align-items: center; gap: 9px; margin-top: 15px; color: #a9b8cb; font-size: .82rem; }
.map-output i { display: block; width: 9px; height: 9px; border-radius: 50%; background: #67d3a2; box-shadow: 0 0 0 5px rgba(103,211,162,.1); }

.trust-bar { background: #0f203a; color: #d7e0ec; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); }
.trust-list { min-height: 68px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 18px; }
.trust-list span { display: flex; align-items: center; gap: 9px; font-size: .84rem; font-weight: 770; }
.trust-list i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); }

.card { height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 4px 18px rgba(7,19,38,.035); }
.card h3 { margin-bottom: 13px; }
.card p { color: var(--body); }
.dark .card, .navy .card { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.055); box-shadow: none; }
.dark .card p, .navy .card p { color: #b7c4d6; }
.number { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 30px; border-radius: 50%; background: var(--gold-pale); color: #755818; font-weight: 900; font-size: .84rem; }
.dark .number, .navy .number { background: rgba(228,192,107,.13); color: var(--gold-light); }
.big-claim { max-width: 980px; margin: 0; font: 600 clamp(2.3rem, 5vw, 5rem)/1.08 Georgia, serif; letter-spacing: -.035em; }
.claim-support { max-width: 740px; margin-top: 26px; color: #b7c4d6; font-size: 1.12rem; }

.inventory-shell { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(34px, 7vw, 86px); align-items: start; }
.inventory-intro { position: sticky; top: 115px; }
.inventory-intro h2 { margin-bottom: 20px; }
.inventory-intro p { color: var(--body); }
.inventory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inventory-item { padding: 22px; border-left: 4px solid var(--gold); background: var(--white); box-shadow: 0 8px 30px rgba(7,19,38,.06); }
.inventory-item b { display: block; margin-bottom: 6px; font-family: Georgia, serif; font-size: 1.12rem; }
.inventory-item span { display: block; color: var(--body); font-size: .92rem; }

.deliverable { padding: clamp(32px, 5vw, 56px); border: 1px solid #c9b781; border-radius: 22px; background: linear-gradient(135deg, #fffaf0, var(--gold-pale)); }
.deliverable-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.deliverable h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); }
.check-list { display: grid; gap: 12px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; color: var(--body); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 950; }
.dark .check-list li, .navy .check-list li { color: #c1ccdc; }

.path { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path::before { content: ""; position: absolute; z-index: 0; top: 27px; left: 12%; right: 12%; height: 1px; background: rgba(228,192,107,.36); }
.path-step { position: relative; z-index: 1; padding-top: 58px; }
.path-step::before { content: attr(data-step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(228,192,107,.5); border-radius: 50%; background: var(--navy-950); color: var(--gold-light); font-size: .75rem; font-weight: 900; }
.path-step h3 { color: var(--white); }
.path-step p { color: #aebdd0; }

.outcome-card { display: flex; flex-direction: column; }
.outcome-card .tag { align-self: flex-start; margin-bottom: 24px; padding: 6px 10px; border-radius: 999px; background: var(--blue-pale); color: #334b69; font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.outcome-card p { flex-grow: 1; }
.outcome-card .text-link { margin-top: 18px; }

.architecture { display: grid; grid-template-columns: 1fr 70px 1fr; align-items: stretch; gap: 20px; }
.layer { padding: 36px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.05); }
.layer-kicker { color: var(--gold-light); font-size: .73rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.layer h3 { margin: 10px 0 14px; color: var(--white); font-size: 2.1rem; }
.layer p { color: #b6c3d5; }
.architecture-link { display: grid; place-items: center; color: var(--gold-light); font-weight: 900; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pill { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: #cbd5e2; font-size: .78rem; }
.truth-note { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--gold-light); background: rgba(255,255,255,.04); color: #c0cbd9; font-size: .91rem; }

.standards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.standard { display: block; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.standard:hover { transform: translateY(-2px); border-color: var(--gold); }
.standard b { display: block; margin-bottom: 6px; font-family: Georgia, serif; font-size: 1.15rem; }
.standard span { color: var(--body); font-size: .9rem; }
.standard small { display: block; margin-top: 12px; color: #765b20; font-weight: 850; }
.source-note { margin-top: 24px; color: var(--muted); font-size: .82rem; }

.people-grid { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 20px; }
.person { padding: 28px; border-top: 3px solid var(--gold); background: rgba(255,255,255,.055); }
.person h3 { margin-bottom: 6px; color: var(--white); }
.person .role { margin-bottom: 14px; color: var(--gold-light); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.person p { color: #b9c5d5; font-size: .95rem; }
.book-card { background: var(--gold-light); color: var(--navy-950); }
.book-card h3 { color: var(--navy-950); }
.book-card p { color: #273a52; }
.book-card .text-link { color: var(--navy-950); }

.advisory-bridge { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; padding: clamp(34px, 5vw, 56px); border-radius: 22px; background: var(--navy-900); color: var(--white); box-shadow: var(--shadow); }
.advisory-bridge p { color: #bdc9d9; }
.advisory-bridge .button-row { justify-content: flex-end; margin-top: 0; }

.contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: clamp(36px, 6vw, 64px); border-radius: 24px; background: var(--gold-light); color: var(--navy-950); }
.contact-panel h2 { max-width: 780px; margin-bottom: 16px; }
.contact-panel p { max-width: 720px; color: #31445c; }
.email-actions { display: grid; justify-items: stretch; gap: 10px; min-width: 235px; }
.copy-button { min-height: 48px; padding: 10px 16px; border: 1px solid rgba(7,19,38,.35); border-radius: 9px; background: transparent; color: var(--navy-950); font-weight: 850; }
.copy-status { min-height: 1.3em; color: #2f4a3b; font-size: .78rem; font-weight: 850; text-align: center; }

.subhero { padding: clamp(72px, 10vw, 124px) 0; background: var(--navy-950); color: var(--white); }
.subhero h1 { max-width: 980px; margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.5rem); }
.subhero p:not(.eyebrow) { max-width: 760px; color: #c0ccdc; font-size: 1.18rem; }
.fit-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 38px; }
.fit-item { padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.045); color: #dce4ef; font-size: .9rem; font-weight: 720; }

.phase-list { counter-reset: phase; display: grid; gap: 16px; }
.phase { counter-increment: phase; display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.phase::before { content: "0" counter(phase); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--navy-950); color: var(--gold-light); font-weight: 900; }
.phase h3 { margin-bottom: 8px; }
.phase p { color: var(--body); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { padding: 24px; border-left: 4px solid var(--gold); background: rgba(255,255,255,.055); }
.principle b { display: block; margin-bottom: 7px; color: var(--white); font-family: Georgia, serif; font-size: 1.18rem; }
.principle span { color: #b8c4d4; }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.faq summary { padding: 20px 52px 20px 22px; font-weight: 850; cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 1.5rem; color: #755918; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 22px; color: var(--body); }

.legal-shell { padding: clamp(64px, 9vw, 110px) 0; }
.legal-shell h1 { margin-bottom: 8px; font-size: clamp(2.8rem, 5vw, 4.5rem); }
.updated { color: var(--muted); font-size: .86rem; }
.legal { margin-top: 44px; }
.legal h2 { margin: 38px 0 12px; font-size: 1.65rem; }
.legal p, .legal li { color: var(--body); }
.legal a { color: #6e5116; font-weight: 760; }
.legal li + li { margin-top: 8px; }

.site-footer { padding: 58px 0 28px; background: #050e1c; color: #98a8bd; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.footer-brand p { max-width: 480px; margin-top: 15px; font-size: .9rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.footer-links a { color: #b7c4d6; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; }

.not-found { min-height: 70vh; display: grid; place-items: center; padding: 80px 0; background: var(--navy-950); color: var(--white); text-align: center; }
.not-found .code { color: var(--gold-light); font: 600 clamp(6rem, 18vw, 13rem)/.85 Georgia, serif; }
.not-found h1 { margin: 24px 0 14px; font-size: clamp(2rem, 4vw, 3.6rem); }
.not-found p { color: #b7c4d6; }

@media (max-width: 1000px) {
  .grid-4, .fit-list { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .inventory-shell, .deliverable-grid, .people-grid { grid-template-columns: 1fr; }
  .inventory-intro { position: static; }
  .hero-copy { max-width: 850px; }
  .context-map { max-width: 650px; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .book-card { grid-column: 1 / -1; }
  .trust-list { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
}

@media (max-width: 840px) {
  .nav-toggle { display: inline-flex; position: relative; }
  .site-nav { position: fixed; inset: 76px 0 auto; display: none; padding: 20px; background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 50px rgba(0,0,0,.3); }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 46px; display: flex; align-items: center; padding: 7px 10px; font-size: 1rem; }
  .site-nav .nav-cta { justify-content: center; margin-top: 5px; }
  .path { grid-template-columns: 1fr; gap: 8px; }
  .path::before { top: 30px; bottom: 30px; left: 27px; width: 1px; height: auto; }
  .path-step { padding: 8px 0 22px 78px; }
  .architecture { grid-template-columns: 1fr; }
  .architecture-link { min-height: 42px; }
  .advisory-bridge, .contact-panel, .footer-grid { grid-template-columns: 1fr; }
  .advisory-bridge .button-row { justify-content: flex-start; }
  .email-actions { min-width: 0; max-width: 300px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 66px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.4rem); }
  .map-items, .inventory-grid, .grid-2, .grid-3, .grid-4, .standards-grid, .people-grid, .fit-list, .principles { grid-template-columns: 1fr; }
  .book-card { grid-column: auto; }
  .trust-list { grid-template-columns: 1fr; gap: 10px; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .phase { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .site-header, .site-footer, .button-row, .copy-button { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .section-tight, .legal-shell { padding: 26px 0; }
  .dark, .navy, .hero, .subhero { background: #fff !important; color: #000 !important; }
  .dark p, .navy p, .hero p, .subhero p { color: #222 !important; }
}
