:root {
  --ink: #10201f;
  --muted: #66706d;
  --paper: #f4f3ed;
  --paper-2: #ebece5;
  --line: rgba(16, 32, 31, .14);
  --night: #0b1718;
  --night-2: #102525;
  --green: #7ecf9b;
  --green-deep: #2d8a63;
  --blue: #8faee8;
  --orange: #f0ac69;
  --purple: #b3a4e8;
  --radius: 22px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20; color: #eef7f2;
}
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark {
  width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px;
  color: var(--night); background: var(--green); font-family: Georgia, serif; font-style: italic;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: rgba(238,247,242,.72); }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: white; }
.nav-paper {
  padding: 10px 15px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
  font-size: 13px; background: rgba(255,255,255,.07); backdrop-filter: blur(10px);
}
.nav-paper span, .button span { margin-left: 5px; }

.hero {
  position: relative; padding: 154px 0 92px; color: #eef7f2;
  display: grid; grid-template-columns: 1.2fr .8fr; column-gap: 80px; row-gap: 48px; align-items: end;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; z-index: -2; top: 0; left: 50%; width: 100vw; height: 100%;
  transform: translateX(-50%); background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(145deg, #071313 0%, #102525 58%, #0a1919 100%);
  background-size: 72px 72px, 72px 72px, auto;
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: .17; }
.glow-a { width: 420px; height: 420px; background: var(--green); top: 80px; left: -250px; }
.glow-b { width: 340px; height: 340px; background: var(--blue); bottom: 40px; right: -160px; }
.eyebrow, .section-kicker {
  margin: 0 0 24px; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow { color: #a9b8b3; display: flex; align-items: center; gap: 10px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(126,207,155,.1); }
.hero h1 {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic;
  font-size: clamp(60px, 7vw, 104px); line-height: .9; letter-spacing: -.065em; max-width: 740px;
}
.hero-deck { margin: 26px 0 0; font-size: clamp(24px, 2.7vw, 39px); line-height: 1.14; letter-spacing: -.035em; font-weight: 620; }
.hero-deck span { color: var(--green); }
.hero-summary { max-width: 670px; margin: 27px 0 0; color: #aebeba; font-size: 17px; line-height: 1.65; }
.hero-summary strong { color: #edf8f2; font-weight: 650; }
.hero-aside { align-self: end; padding-bottom: 6px; }
.hero-aside .hero-summary { margin-top: 0; font-family: Georgia, serif; font-size: 25px; line-height: 1.42; }
.actions { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
.button { padding: 13px 18px; border-radius: 999px; font-size: 14px; font-weight: 680; }
.button.primary { background: var(--green); color: #0d201b; }
.button.primary:hover { background: #9cdeb3; }
.button.ghost { border: 1px solid rgba(255,255,255,.22); color: #eef7f2; }
.button.ghost:hover { border-color: rgba(255,255,255,.55); }
.button.muted { color: #71817c; border: 1px solid rgba(255,255,255,.09); cursor: not-allowed; }

.authors { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); text-align: center; }
.authors p { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 20px; margin: 0; }
.authors p:first-child { font-family: Georgia, serif; font-size: 17px; }
.authors a { color: inherit; text-decoration: underline; text-decoration-color: rgba(126,207,155,.3); text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.authors a:hover { color: var(--green); text-decoration-color: var(--green); }
.authors sup { color: var(--green); font-family: Inter, sans-serif; font-size: .62em; }
.authors .affiliations { margin-top: 11px; color: #82928d; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.teaser { grid-column: 1 / -1; margin: 0; padding: 18px; border-radius: 24px; background: #fff; box-shadow: 0 32px 80px rgba(0,0,0,.28); overflow: hidden; }
.teaser img { width: 100%; cursor: zoom-in; }

.manifesto { padding: 110px 0; background: #dfe9df; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 60px; }
.section-kicker { color: var(--green-deep); }
.question { max-width: 880px; margin: 0; font-family: Georgia, serif; font-size: clamp(34px,4.5vw,63px); line-height: 1.07; letter-spacing: -.04em; }
.question em { color: var(--green-deep); }
.answer { max-width: 790px; margin: 52px 0 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 20px; border-top: 1px solid rgba(16,32,31,.25); padding-top: 23px; }
.answer-arrow { color: var(--green-deep); font-size: 27px; }
.answer p { margin: 0; font-size: 17px; line-height: 1.65; }

.section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.section-head h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(44px,5.4vw,76px); line-height: .98; letter-spacing: -.05em; font-weight: 400; }
.section-head h2 span { color: var(--green-deep); font-style: italic; }
.section-intro { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.method-card { position: relative; padding: 48px 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.method-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%,rgba(126,207,155,.13),transparent 35%); pointer-events: none; }
.method-card img { width: 100%; }
.method-chip { position: absolute; top: 16px; right: 17px; padding: 6px 9px; border-radius: 7px; color: #235d47; background: #dff2e4; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 22px; gap: 22px; }
.principle { min-height: 220px; padding: 25px; border-top: 1px solid var(--ink); background: rgba(255,255,255,.26); }
.principle .index { font-family: Georgia, serif; color: var(--green-deep); font-style: italic; }
.principle h3 { margin: 52px 0 10px; font-size: 20px; letter-spacing: -.025em; }
.principle p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.findings-section { color: #edf6f1; background: var(--night); }
.section-head.light .section-kicker { color: var(--green); }
.section-head.light h2 span { color: var(--green); }
.section-head.light .section-intro { color: #8ea09a; }
.finding-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.finding { position: relative; min-height: 390px; padding: 27px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.035); overflow: hidden; }
.finding.featured { background: linear-gradient(145deg,rgba(126,207,155,.17),rgba(126,207,155,.05)); border-color: rgba(126,207,155,.34); }
.finding-number { position: absolute; right: 22px; top: 14px; color: rgba(255,255,255,.075); font: italic 76px/1 Georgia,serif; }
.finding-label { margin: 0; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.finding h3 { margin: 64px 0 15px; font: 400 34px/1.05 Georgia,serif; letter-spacing: -.035em; }
.finding-copy { min-height: 80px; margin: 0; color: #93a39e; font-size: 14px; line-height: 1.6; }
.evidence-pair { margin-top: 27px; border-top: 1px solid rgba(255,255,255,.11); }
.evidence-pair span { display: grid; grid-template-columns: 1fr auto auto; gap: 7px; align-items: baseline; padding: 12px 0; color: #91a19c; font-size: 11px; }
.evidence-pair span + span { border-top: 1px solid rgba(255,255,255,.07); }
.evidence-pair i { color: #71847e; font-family: Georgia,serif; }
.evidence-pair strong { color: #eef7f2; font-size: 20px; font-variant-numeric: tabular-nums; }
.evidence-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; overflow: hidden; }
.evidence-strip p { margin: 0; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.evidence-strip p + p { border-left: 1px solid rgba(255,255,255,.11); }
.evidence-strip span { color: #7f918b; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.evidence-strip strong { color: var(--green); font: 400 24px/1 Georgia,serif; }

.citation { display: grid; grid-template-columns: .62fr 1.38fr; gap: 60px; align-items: end; }
.citation .section-head { display: block; margin: 0; }
.code-card { position: relative; border-radius: 18px; padding: 28px; color: #dbe8e2; background: var(--night); overflow: auto; }
.code-card pre { margin: 0; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; }
.code-card button { position: absolute; top: 13px; right: 13px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; color: #b8cac3; background: rgba(255,255,255,.07); cursor: pointer; }
.code-card button:hover { color: white; }

footer { padding: 32px 0; color: #a6b5b0; background: #071111; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; font-size: 12px; }
.footer-inner p { margin: 0; }

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 50px; background: rgba(4,10,10,.93); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 95vw; object-fit: contain; }
.lightbox button { position: fixed; right: 25px; top: 18px; color: white; border: 0; background: none; font-size: 36px; cursor: pointer; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-aside { padding: 0; }
  .manifesto-grid, .section-head, .citation { grid-template-columns: 1fr; }
  .manifesto-grid { gap: 18px; }
  .section-head { gap: 25px; }
  .principles, .finding-grid { grid-template-columns: 1fr; }
  .finding { min-height: 0; }
  .evidence-strip { grid-template-columns: 1fr 1fr; }
  .evidence-strip p:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.11); }
  .evidence-strip p:nth-child(4) { border-top: 1px solid rgba(255,255,255,.11); }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 28px); }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: 56px; }
  .nav-paper { padding: 9px 12px; }
  .authors p:first-child { font-size: 15px; }
  .manifesto, .section { padding: 82px 0; }
  .method-card { padding: 35px 8px 15px; }
  .hero-aside .hero-summary { font-size: 21px; }
  .teaser { padding: 8px; border-radius: 15px; }
  .evidence-strip { grid-template-columns: 1fr; }
  .evidence-strip p + p, .evidence-strip p:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255,255,255,.11); }
  .footer-inner { align-items: flex-start; gap: 20px; flex-direction: column; }
  .lightbox { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
