
:root {
  --ink: #07182d;
  --ink-2: #0b2442;
  --ink-3: #123459;
  --paper: #f7f4ee;
  --white: #ffffff;
  --gold: #f2a51b;
  --gold-soft: #ffd889;
  --cyan: #5fd1ff;
  --green: #62c98b;
  --red: #ff7067;
  --violet: #aa8cff;
  --text: #172033;
  --muted: #667085;
  --line: rgba(7, 24, 45, 0.14);
  --shadow: 0 24px 80px rgba(2, 12, 28, 0.16);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.section-title {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.lede { max-width: 760px; margin: 20px 0 0; color: #465064; font-size: 1.15rem; }
.kicker { color: var(--gold); font-weight: 800; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 14px; background: white; color: var(--ink); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(5, 20, 39, .88);
  backdrop-filter: blur(18px);
}
.nav-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 760; }
.brand img { width: 34px; height: 34px; }
.brand small { display: block; color: #9fb0c5; font-size: .68rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: #d9e4f1; text-decoration: none; font-size: .88rem; font-weight: 650; }
.nav-links a:hover, .nav-links a:focus-visible { color: white; }
.nav-buy { padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #101828 !important; }
.menu-button { display: none; border: 0; background: transparent; color: white; font-size: 1.8rem; cursor: pointer; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 132px 0 90px;
  color: white;
  background:
    radial-gradient(circle at 75% 28%, rgba(95,209,255,.17), transparent 25%),
    radial-gradient(circle at 18% 35%, rgba(170,140,255,.12), transparent 28%),
    linear-gradient(135deg, #031326 0%, #0b2442 55%, #07182d 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); align-items: center; gap: clamp(50px, 8vw, 105px); }
.hero .display { color: white; }
.hero .display em { color: var(--gold); font-style: normal; }
.hero-subtitle { margin: 18px 0 0; color: #bcd0e6; font-family: Georgia, serif; font-size: clamp(1.2rem, 2.4vw, 1.8rem); }
.hero-thesis { max-width: 720px; margin: 30px 0 0; padding-left: 22px; border-left: 3px solid var(--gold); color: #e9f0f8; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-weight: 780; transition: .2s ease; }
.button-primary { background: var(--gold); color: #0d1728; }
.button-primary:hover { transform: translateY(-2px); background: #ffc14f; }
.button-ghost { border-color: rgba(255,255,255,.28); color: white; background: rgba(255,255,255,.05); }
.button-ghost:hover { border-color: white; background: rgba(255,255,255,.1); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof-pill { padding: 7px 11px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #b9c9da; background: rgba(255,255,255,.04); font-size: .78rem; }
.cover-shell { position: relative; perspective: 1200px; }
.cover-shell::before { content: ""; position: absolute; inset: 10% -12% -8% 10%; border-radius: 50%; background: rgba(95,209,255,.15); filter: blur(50px); }
.cover-shell img { position: relative; width: min(100%, 500px); margin-inline: auto; border-radius: 7px; box-shadow: 20px 30px 70px rgba(0,0,0,.46); transform: rotateY(-7deg) rotateZ(1deg); }
.cover-note { position: absolute; right: -22px; bottom: 5%; max-width: 215px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(4,17,34,.9); color: #dbe7f3; box-shadow: 0 18px 40px rgba(0,0,0,.28); font-size: .82rem; }
.cover-note strong { display: block; color: var(--gold); }

.statement { padding: 88px 0; background: white; }
.statement-card { position: relative; padding: clamp(30px, 6vw, 68px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #fff 0%, #f6f0e5 100%); box-shadow: 0 18px 50px rgba(20,28,44,.08); overflow: hidden; }
.statement-card::after { content: "?"; position: absolute; right: 3%; top: -32%; color: rgba(7,24,45,.045); font-family: Georgia, serif; font-size: 28rem; line-height: 1; }
.governing-question { position: relative; z-index: 1; max-width: 950px; margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -.035em; }
.governing-question span { color: var(--gold); }
.statement-copy { position: relative; z-index: 1; max-width: 780px; margin: 24px 0 0; color: #475467; }

.research { padding: 100px 0; background: #eef2f7; }
.research-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 42px; }
.research-card { padding: 30px; border: 1px solid rgba(7,24,45,.12); border-radius: 20px; background: white; box-shadow: 0 10px 30px rgba(20,28,44,.06); }
.research-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .78rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.research-card h3 { margin: 18px 0 10px; color: var(--ink); font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.15; }
.research-card p { margin: 0; color: #4a5568; }
.source-link { display: inline-flex; margin-top: 20px; color: #075aa6; font-size: .9rem; font-weight: 750; }
.research-note { margin-top: 22px; padding: 16px 18px; border-left: 4px solid var(--gold); background: #fff8e8; color: #5b4a28; font-size: .92rem; }

.frameworks { padding: 105px 0; background: var(--ink); color: white; }
.frameworks .section-title { color: white; }
.frameworks .lede { color: #b8c7d8; }
.framework-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin-top: 44px; }
.framework-card { min-height: 250px; padding: 24px 20px; border: 1px solid rgba(255,255,255,.13); border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); }
.framework-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--gold); color: var(--ink); font-weight: 900; }
.framework-card h3 { margin: 20px 0 9px; color: white; font-size: 1.1rem; }
.framework-card p { margin: 0; color: #b7c5d5; font-size: .9rem; line-height: 1.55; }
.control-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.control-strip span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #c7d4e2; background: rgba(255,255,255,.035); font-size: .75rem; }

.progression { padding: 105px 0; background: white; }
.progression-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 46px; }
.stage { position: relative; min-height: 210px; padding: 24px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fbfcfe; }
.stage:not(:last-child)::after { content: "→"; position: absolute; right: -15px; top: 45%; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--gold); font-weight: 900; }
.stage-label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.stage h3 { margin: 13px 0 8px; color: var(--ink); font-size: 1.08rem; }
.stage p { margin: 0; color: #5a6577; font-size: .86rem; }
.stage:nth-child(1) { border-top: 5px solid var(--cyan); }
.stage:nth-child(2) { border-top: 5px solid var(--green); }
.stage:nth-child(3) { border-top: 5px solid var(--gold); }
.stage:nth-child(4) { border-top: 5px solid var(--violet); }
.stage:nth-child(5) { border-top: 5px solid #2f69bf; }
.accuracy-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 26px; }
.accuracy-card { padding: 24px; border-radius: 16px; background: #f3f6fa; }
.accuracy-card strong { display: block; color: var(--ink); margin-bottom: 8px; }
.accuracy-card p { margin: 0; color: #556176; font-size: .9rem; }

.agents { padding: 105px 0; background: #f1f5f9; }
.agent-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.agent-card { padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.agent-card.featured { color: white; border-color: transparent; background: linear-gradient(155deg, #0d4b2b, #173f2c); box-shadow: var(--shadow); }
.agent-card .tag { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e9eef4; color: #596579; font-size: .7rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.agent-card.featured .tag { background: rgba(255,255,255,.12); color: #ccf1d9; }
.agent-card h3 { margin: 18px 0 10px; color: var(--ink); font-family: Georgia, serif; font-size: 1.55rem; }
.agent-card.featured h3 { color: white; }
.agent-card p { margin: 0; color: #596579; }
.agent-card.featured p { color: #c9e4d2; }
.agent-list { margin: 22px 0 0; padding: 0; list-style: none; }
.agent-list li { position: relative; margin-top: 10px; padding-left: 20px; color: #566174; font-size: .88rem; }
.agent-card.featured .agent-list li { color: #daf0e1; }
.agent-list li::before { content: "•"; position: absolute; left: 3px; color: var(--gold); }

.pipe { padding: 105px 0; color: white; background: linear-gradient(130deg, #07182d 0%, #112c4c 100%); }
.pipe .section-title { color: white; }
.pipe .lede { color: #b9c7d8; }
.pipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px; }
.pipe-card { padding: 30px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.055); }
.pipe-card h3 { margin: 0 0 12px; color: white; font-family: Georgia, serif; font-size: 1.55rem; }
.pipe-card p { margin: 0; color: #c0cfde; }
.pipe-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 24px; }
.pipe-step { padding: 16px 12px; border-radius: 12px; background: rgba(255,255,255,.07); text-align: center; color: #dfe9f3; font-size: .76rem; font-weight: 760; }
.governance-list { display: grid; gap: 9px; margin-top: 22px; }
.governance-list div { padding: 12px 14px; border-left: 4px solid var(--green); border-radius: 8px; background: rgba(98,201,139,.09); color: #ddf5e5; font-size: .86rem; }
.disclaimer { margin-top: 22px; color: #8fa2b6; font-size: .78rem; }

.audit { padding: 105px 0; background: white; }
.audit-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; margin-top: 42px; }
.audit-panel { padding: 32px; border-radius: 20px; background: var(--ink); color: white; }
.audit-panel h3 { margin: 0; font-family: Georgia, serif; font-size: 2rem; }
.audit-panel p { color: #c7d5e4; }
.audit-steps { display: grid; gap: 14px; }
.audit-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfe; }
.audit-step .n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff0cf; color: #8e5c00; font-weight: 900; }
.audit-step h4 { margin: 0 0 5px; color: var(--ink); }
.audit-step p { margin: 0; color: #596579; font-size: .9rem; }

.future { padding: 105px 0; color: white; background: #070d17; }
.future .section-title { color: white; }
.future .lede { color: #aeb9c8; }
.future-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 44px; }
.future-card { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.045); }
.future-card:nth-child(1) { border-top: 5px solid var(--red); }
.future-card:nth-child(2) { border-top: 5px solid var(--gold); }
.future-card:nth-child(3) { border-top: 5px solid var(--green); }
.future-card h3 { margin: 0 0 10px; color: white; font-family: Georgia, serif; font-size: 1.5rem; }
.future-card p { margin: 0; color: #b9c5d2; }
.future-quote { margin: 42px auto 0; max-width: 900px; color: #edf3f9; font-family: Georgia, serif; font-size: clamp(1.45rem,3vw,2.5rem); line-height: 1.3; text-align: center; }
.future-quote strong { color: var(--gold); }

.gallery { padding: 105px 0; background: #eef2f7; }
.gallery-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; margin-top: 42px; }
.gallery-item { grid-column: span 4; margin: 0; border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 15px 35px rgba(22,35,55,.1); }
.gallery-item.landscape { grid-column: span 6; }
.gallery-button { width: 100%; padding: 0; border: 0; background: white; cursor: zoom-in; text-align: left; }
.gallery-image-wrap { aspect-ratio: 3 / 4.25; overflow: hidden; background: #dfe6ee; }
.gallery-item.landscape .gallery-image-wrap { aspect-ratio: 3 / 2; }
.gallery-button img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .25s ease; }
.gallery-button:hover img { transform: scale(1.018); }
.gallery-caption { padding: 18px; }
.gallery-caption strong { display: block; color: var(--ink); }
.gallery-caption span { display: block; margin-top: 5px; color: #647084; font-size: .82rem; }

.book { padding: 110px 0; background: white; }
.book-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(48px,8vw,100px); align-items: center; }
.book-cover img { width: min(100%, 470px); margin-inline: auto; border-radius: 7px; box-shadow: 18px 24px 60px rgba(7,24,45,.28); }
.book-copy h2 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: clamp(2.2rem,4.8vw,4.1rem); line-height: 1.04; letter-spacing: -.035em; }
.book-copy .subtitle { margin: 13px 0 25px; color: #6a7485; font-family: Georgia, serif; font-size: 1.35rem; font-style: italic; }
.book-copy p { color: #4f5a6d; }
.book-points { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 26px 0; }
.book-point { padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; color: #3d485a; font-size: .88rem; }
.book-meta { margin: 22px 0 0; color: #7b8493; font-size: .78rem; }

.companion { padding: 88px 0; background: #f4efe6; }
.companion-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: center; }
.companion h2 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: clamp(2rem,4vw,3.5rem); line-height: 1.08; }
.companion p { color: #566174; }
.companion img { max-height: 580px; margin-inline: auto; border-radius: 12px; box-shadow: 0 18px 50px rgba(7,24,45,.16); }
.inline-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.inline-links a { padding: 11px 15px; border: 1px solid #9fa9b8; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 750; }
.inline-links a:hover { border-color: var(--ink); }

.about { padding: 100px 0; background: white; }
.about-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 54px; }
.about h2 { margin: 0; color: var(--ink); font-family: Georgia, serif; font-size: clamp(2.1rem,4vw,3.6rem); }
.about p { color: #566174; }
.about-card { padding: 27px; border-radius: 18px; background: var(--ink); color: white; }
.about-card h3 { margin: 0 0 14px; color: white; }
.about-card p, .about-card a { color: #cad7e5; }
.about-card a { display: block; margin-top: 8px; }

.sources { padding: 80px 0; background: #eef2f7; }
.source-list { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: sources; }
.source-list li { counter-increment: sources; display: grid; grid-template-columns: 36px 1fr; gap: 12px; margin-top: 12px; padding: 16px; border-radius: 12px; background: white; color: #4f5a6d; font-size: .88rem; }
.source-list li::before { content: counter(sources); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: white; font-weight: 800; }
.source-list a { color: #075aa6; font-weight: 700; }
.source-site-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.source-site-links a { white-space: nowrap; }

footer { padding: 52px 0 30px; color: #b7c5d4; background: #031326; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { margin: 0 0 14px; color: white; font-size: 1rem; }
.footer-grid p { margin: 0; font-size: .84rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #b7c5d4; text-decoration: none; font-size: .84rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8193a7; font-size: .74rem; }

.lightbox { position: fixed; inset: 0; z-index: 999; display: none; place-items: center; padding: 28px; background: rgba(0,8,20,.94); }
.lightbox.open { display: grid; }
.lightbox-dialog { position: relative; width: min(1100px, 100%); max-height: calc(100vh - 56px); }
.lightbox img { width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 12px; }
.lightbox-close { position: absolute; right: 10px; top: 10px; z-index: 2; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(0,0,0,.58); color: white; font-size: 1.6rem; cursor: pointer; }
.lightbox-caption { margin-top: 10px; color: white; text-align: center; font-size: .86rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 20px; right: 20px; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #07182d; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .menu-button { display: block; }
  .hero-grid, .book-grid, .companion-grid, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .cover-shell { max-width: 510px; margin: 20px auto 0; }
  .framework-grid, .progression-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stage:not(:last-child)::after { display: none; }
  .gallery-item, .gallery-item.landscape { grid-column: span 6; }
  .book-cover { order: 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 112px; }
  .cover-note { position: static; max-width: none; margin-top: 18px; }
  .research-grid, .agent-grid, .pipe-grid, .audit-grid, .future-grid, .accuracy-grid, .footer-grid { grid-template-columns: 1fr; }
  .framework-grid, .progression-flow { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item.landscape { grid-column: span 12; }
  .book-points { grid-template-columns: 1fr; }
  .pipe-steps { grid-template-columns: repeat(2,1fr); }
  .footer-bottom { flex-direction: column; }
}

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