:root {
  --paper: #f7f0e6;
  --paper-light: #fffdf8;
  --paper-warm: #efe3d1;
  --ink: #172318;
  --ink-soft: #354236;
  --muted: #687063;
  --green: #243a2a;
  --green-deep: #142318;
  --rust: #a54025;
  --rust-deep: #7f2c19;
  --gold: #b79a62;
  --line: rgba(23, 35, 24, .12);
  --shadow-soft: 0 18px 54px rgba(20, 35, 24, .08);
  --shadow-deep: 0 32px 90px rgba(20, 35, 24, .14);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1160px;
  --radius-xl: 34px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, rgba(183,154,98,.16), transparent 23rem),
    radial-gradient(circle at 90% 16%, rgba(165,64,37,.10), transparent 24rem),
    linear-gradient(180deg, var(--paper) 0%, #fbf6ed 44%, #f3eadc 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/paper-grain.jpg");
  background-size: 280px 280px;
  opacity: .055;
  pointer-events: none;
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, figure, blockquote { margin: 0; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 14px; top: -80px; z-index: 99; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 999px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(18px, 4vw, 50px);
  background: rgba(247, 240, 230, .82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-deep); color: var(--paper-light); font-family: var(--serif); font-size: 22px; font-weight: 700; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.brand-copy small { color: var(--muted); font-size: 11px; }
.main-nav { display: flex; align-items: center; gap: 24px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.main-nav a:not(.nav-cta) { position: relative; }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--rust); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav a:hover::after { transform: scaleX(1); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--green-deep); color: var(--paper-light); box-shadow: 0 12px 28px rgba(20,35,24,.08); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; }
.menu-button span { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); }

.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--rust-deep); font-size: 12px; font-weight: 900; letter-spacing: .16em; line-height: 1.35; text-transform: uppercase; }
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .58; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--serif); letter-spacing: -.033em; text-wrap: balance; }
h1 { margin-top: 21px; max-width: 760px; font-size: clamp(42px, 4.1vw, 58px); line-height: 1.07; font-weight: 650; }
h1 span { display: block; }
@media (min-width: 761px) { h1 span { white-space: nowrap; } }
h2 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.055; font-weight: 650; }
h3 { font-size: clamp(23px, 2vw, 30px); line-height: 1.11; font-weight: 650; }

.hero { position: relative; min-height: calc(100svh - 72px); display: grid; align-items: center; padding: clamp(38px, 5.2vh, 58px) 0 clamp(42px, 5.8vh, 64px); overflow: hidden; }
.hero-atmosphere { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 22%, rgba(165,64,37,.12), transparent 21rem), radial-gradient(circle at 22% 80%, rgba(36,58,42,.08), transparent 22rem), linear-gradient(115deg, rgba(255,255,255,.62), rgba(255,255,255,0) 58%); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(23,35,24,.065); }
.orbit-one { width: 560px; height: 560px; right: -180px; top: 2%; }
.orbit-two { width: 310px; height: 310px; right: 20%; bottom: -128px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .92fr) minmax(330px, .78fr); gap: clamp(42px, 6vw, 78px); align-items: center; }
.hero-content { align-self: center; }
.lead { max-width: 620px; margin-top: 24px; color: #3b473d; font-size: clamp(17px, 1.35vw, 18.5px); line-height: 1.72; }
.hero-actions, .buy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; padding: 13px 21px; border-radius: 999px; font-size: 14px; font-weight: 850; letter-spacing: -.01em; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--rust); box-shadow: 0 14px 32px rgba(165,64,37,.18); }
.button-primary:hover { background: var(--rust-deep); }
.button-secondary { color: var(--ink); background: rgba(255,253,248,.62); border: 1px solid rgba(23,35,24,.14); }
.button-secondary:hover { border-color: rgba(23,35,24,.27); box-shadow: 0 12px 24px rgba(23,35,24,.06); }
.micro-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 610px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.micro-proof p { min-width: 0; }
.micro-proof strong { display: block; color: var(--rust-deep); font-size: 10.5px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.micro-proof span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.hero-visual { justify-self: center; width: min(382px, 100%); }
.cover-stage { position: relative; min-height: 500px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cover-mat { position: relative; width: min(314px, 76vw); padding: 14px; border-radius: 28px; background: rgba(255,253,248,.64); border: 1px solid rgba(255,255,255,.72); box-shadow: var(--shadow-deep); }
.cover-mat::after { content: ""; position: absolute; inset: auto 12% -26px 12%; height: 48px; border-radius: 50%; background: rgba(20,35,24,.14); filter: blur(18px); z-index: -1; }
.cover { border-radius: 17px; box-shadow: 0 16px 44px rgba(20,35,24,.17); }
.cover-note { width: min(314px, 76vw); margin-top: 16px; padding: 12px 15px; border-left: 2px solid rgba(127,44,25,.56); color: var(--ink-soft); background: rgba(255,253,248,.46); }
.cover-note span { display: block; color: var(--rust-deep); font-size: 9.5px; font-weight: 950; letter-spacing: .16em; line-height: 1; text-transform: uppercase; }
.cover-note p { margin-top: 6px; font-family: var(--serif); font-size: 18px; line-height: 1.18; font-weight: 610; letter-spacing: -.018em; }

.note-card { position: absolute; z-index: 2; width: 168px; padding: 14px 15px 15px; border-radius: 17px; background: rgba(255,253,248,.86); border: 1px solid rgba(23,35,24,.105); box-shadow: 0 16px 38px rgba(20,35,24,.09); backdrop-filter: blur(10px); }
.note-card span { color: var(--rust-deep); font-size: 9px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.note-card p { margin-top: 8px; color: #344034; font-family: var(--serif); font-size: 18px; line-height: 1.1; font-weight: 650; letter-spacing: -.02em; }
.note-top { top: 54px; left: -8px; transform: rotate(-2.2deg); }
.edition-tag { position: absolute; right: 18px; bottom: 20px; padding: 8px 12px; border-radius: 999px; background: rgba(20,35,24,.84); color: var(--paper-light); font-size: 11px; font-weight: 800; letter-spacing: .03em; }

.manifest { padding: clamp(74px, 10vw, 124px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,248,.36); }
.manifest-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(330px, .82fr); gap: clamp(34px, 7vw, 86px); align-items: start; }
.manifest-text { display: grid; gap: 18px; color: #3f4a40; font-size: clamp(17px, 1.42vw, 19px); line-height: 1.8; }

.principles { padding: 0; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.principle { min-height: 282px; padding: clamp(30px, 4vw, 46px); border-right: 1px solid var(--line); background: rgba(247,240,230,.88); }
.principle:last-child { border-right: 0; }
.principle span { display: inline-block; margin-bottom: 34px; color: var(--rust-deep); font-size: 11px; font-weight: 950; letter-spacing: .18em; }
.principle p { margin-top: 15px; color: var(--muted); line-height: 1.74; }

.feature, .quote-stage, .audience { padding: clamp(84px, 12vw, 140px) 0; }
.feature-grid, .quote-grid, .audience-grid { display: grid; align-items: center; gap: clamp(42px, 8vw, 98px); }
.feature-grid { grid-template-columns: minmax(280px, .76fr) minmax(0, .92fr); }
.art-frame, .quote-art { position: relative; padding: clamp(14px, 2.2vw, 22px); border-radius: var(--radius-xl); background: rgba(255,253,248,.70); border: 1px solid rgba(23,35,24,.10); box-shadow: var(--shadow-soft); }
.art-frame::before { content: ""; position: absolute; inset: 22px -20px -20px 22px; border: 1px solid rgba(23,35,24,.07); border-radius: var(--radius-xl); z-index: -1; }
.art-frame img, .quote-art img { width: 100%; border-radius: 20px; }
.feature-copy p:not(.kicker), .quote-copy p, .audience-text p, .buy-copy p, .atlas-head p { margin-top: 21px; color: var(--muted); font-size: clamp(17px, 1.38vw, 19px); line-height: 1.78; }
.feature-copy blockquote { margin-top: 28px; padding-left: 22px; border-left: 3px solid var(--rust); color: var(--green-deep); font-family: var(--serif); font-size: clamp(23px, 2.35vw, 31px); line-height: 1.18; letter-spacing: -.025em; }

.chapter-section { padding: clamp(82px, 11vw, 132px) 0; background: var(--green-deep); color: var(--paper-light); }
.chapter-section h2, .chapter-section h3 { color: var(--paper-light); }
.chapter-section .kicker { color: #d5a071; }
.chapter-head { max-width: 760px; margin-bottom: 40px; }
.chapter-head p:not(.kicker) { margin-top: 16px; color: rgba(255,253,248,.72); font-size: 18px; line-height: 1.72; }
.chapter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.chapter-card { display: grid; grid-template-columns: minmax(180px, .78fr) minmax(0, 1fr); gap: 22px; align-items: center; padding: 16px; border-radius: 27px; background: rgba(255,253,248,.075); border: 1px solid rgba(255,253,248,.13); }
.chapter-card-large { grid-column: 1 / -1; grid-template-columns: minmax(250px, .62fr) minmax(0, 1fr); }
.chapter-card-accent { background: rgba(165,64,37,.16); }
.chapter-card img { width: 100%; border-radius: 19px; background: #fff; }
.chapter-card span { color: #d5a071; font-size: 10px; font-weight: 950; letter-spacing: .17em; text-transform: uppercase; }
.chapter-card h3 { margin-top: 9px; max-width: 14ch; }
.chapter-card p { margin-top: 13px; color: rgba(255,253,248,.72); line-height: 1.7; }

.quote-grid { grid-template-columns: minmax(0, .9fr) minmax(290px, .58fr); }
.quote-copy h2 { max-width: 10ch; font-size: clamp(44px, 5.6vw, 76px); line-height: .97; }
.quote-art { transform: rotate(.7deg); }

.atlas { padding: clamp(80px, 10vw, 124px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,253,248,.36); }
.atlas-head { max-width: 780px; margin-bottom: 40px; }
.atlas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.atlas-item { padding: 13px; border-radius: 24px; background: rgba(255,253,248,.76); border: 1px solid rgba(23,35,24,.10); box-shadow: 0 14px 34px rgba(23,35,24,.06); }
.atlas-item img { border-radius: 18px; width: 100%; }
.atlas-item figcaption { display: grid; gap: 4px; padding: 15px 5px 4px; }
.atlas-item strong { font-family: var(--serif); font-size: 24px; line-height: 1.08; letter-spacing: -.02em; }
.atlas-item span { color: var(--muted); font-size: 14px; line-height: 1.55; }

.audience-grid { grid-template-columns: minmax(0, .9fr) minmax(310px, .7fr); align-items: start; }
.audience-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.audience-list li { padding: 21px 23px; border-radius: 20px; background: rgba(255,253,248,.62); border: 1px solid rgba(23,35,24,.10); box-shadow: 0 12px 28px rgba(23,35,24,.05); }
.audience-list strong { display: block; font-family: var(--serif); font-size: 24px; line-height: 1.12; letter-spacing: -.02em; }
.audience-list span { display: block; margin-top: 5px; color: var(--muted); line-height: 1.6; }

.buy-section { padding: 0 0 clamp(88px, 11vw, 132px); }
.buy-card { position: relative; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(32px, 7vw, 78px); align-items: center; padding: clamp(28px, 5vw, 58px); border-radius: var(--radius-xl); background: radial-gradient(circle at 14% 16%, rgba(165,64,37,.10), transparent 22rem), linear-gradient(135deg, rgba(255,253,248,.80), rgba(255,253,248,.50)); border: 1px solid rgba(23,35,24,.12); box-shadow: var(--shadow-soft); overflow: hidden; }
.buy-card::after { content: ""; position: absolute; right: -80px; top: -120px; width: 280px; height: 420px; border-radius: 50%; border: 1px solid rgba(23,35,24,.07); transform: rotate(18deg); }
.buy-cover, .buy-copy { position: relative; z-index: 1; }
.buy-cover img { border-radius: 18px; box-shadow: 0 20px 54px rgba(23,35,24,.17); }

.site-footer { padding: 38px 0 50px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner strong { display: block; color: var(--ink); }
.footer-inner span { font-size: 13px; }
.footer-inner nav { display: flex; gap: 18px; font-size: 14px; }
.footer-inner a:hover { color: var(--rust); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .68s ease, transform .68s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { min-height: auto; }
  .hero-grid, .manifest-grid, .feature-grid, .quote-grid, .audience-grid, .buy-card { grid-template-columns: 1fr; }
  .hero-visual { width: min(390px, 92vw); }
  .cover-stage { min-height: 470px; }
  .principles-grid, .atlas-grid { grid-template-columns: 1fr; }
  .principle { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter-card, .chapter-card-large { grid-template-columns: minmax(190px, .52fr) minmax(0, 1fr); }
  .buy-cover { max-width: 280px; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { height: 66px; padding-inline: 14px; }
  .brand-mark { width: 34px; height: 34px; font-size: 20px; }
  .brand-copy small { display: none; }
  .menu-button { display: block; }
  .main-nav { position: absolute; left: 12px; right: 12px; top: 66px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: rgba(251,247,239,.98); box-shadow: var(--shadow-soft); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 12px; border-radius: 14px; }
  .main-nav a:hover { background: rgba(23,35,24,.05); }
  .nav-cta { margin-top: 6px; text-align: center; background: var(--green-deep); color: var(--paper-light); }
  .hero { padding: 34px 0 60px; }
  .hero-grid { gap: 26px; }
  .hero-visual { order: -1; width: min(294px, 86vw); }
  .cover-stage { min-height: auto; padding: 8px 0 2px; }
  .cover-mat { width: min(226px, 70vw); padding: 10px; border-radius: 24px; }
  .cover { border-radius: 14px; }
  .cover-note { width: min(226px, 70vw); margin-top: 12px; padding: 10px 12px; }
  .cover-note p { font-size: 14.5px; }
  .kicker { font-size: 10.5px; letter-spacing: .13em; gap: 9px; }
  .kicker::before { width: 24px; }
  h1 { margin-top: 15px; max-width: 100%; font-size: clamp(34px, 9.2vw, 43px); line-height: 1.09; }
  h2 { font-size: clamp(31px, 9vw, 42px); line-height: 1.065; }
  h3 { font-size: 24px; }
  .lead { margin-top: 18px; font-size: 16px; line-height: 1.7; }
  .hero-actions, .buy-actions { margin-top: 23px; gap: 10px; }
  .button { min-height: 46px; padding: 12px 17px; font-size: 13.5px; }
  .micro-proof { grid-template-columns: 1fr; gap: 10px; margin-top: 25px; padding-top: 17px; }
  .micro-proof span { margin-top: 2px; }
  .manifest, .feature, .chapter-section, .quote-stage, .atlas, .audience { padding: 68px 0; }
  .principle { padding: 28px 22px; }
  .principle span { margin-bottom: 18px; }
  .art-frame::before { inset: 14px -10px -10px 14px; }
  .feature-copy blockquote { padding-left: 18px; font-size: 23px; }
  .chapter-card, .chapter-card-large { grid-template-columns: 1fr; gap: 17px; padding: 14px; }
  .chapter-card h3 { max-width: none; }
  .quote-copy h2 { max-width: 10ch; font-size: clamp(38px, 11vw, 52px); }
  .atlas-item { padding: 12px; }
  .audience-list li { padding: 20px; }
  .buy-card { padding: 22px; }
  .buy-section { padding-bottom: 78px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 390px) {
  h1 { font-size: 32px; }
  .button { width: 100%; }
  .hero-actions, .buy-actions { width: 100%; }
  .note-card { display: none; }
}

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

/* Legal page */
.legal-page { background: linear-gradient(180deg, var(--paper-light), #f2eadb 100%); }
.legal-nav { display: flex; }
.legal-main { min-height: 70vh; }
.legal-hero { padding: clamp(64px, 10vw, 112px) 0 clamp(32px, 5vw, 54px); }
.legal-hero h1 { max-width: 12ch; font-size: clamp(48px, 7vw, 88px); }
.legal-content-section { padding: 0 0 clamp(86px, 10vw, 132px); }
.legal-card { max-width: 920px; }
.legal-content { padding: clamp(28px, 5vw, 62px); border-radius: var(--radius-xl); background: rgba(255,253,248,.78); border: 1px solid rgba(23,35,24,.11); box-shadow: var(--shadow-soft); }
.legal-content h2 { margin-top: 36px; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.12; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-top: 12px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.78; }
.legal-content a { color: var(--rust-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .legal-nav { display: none; }
  .legal-hero { padding-top: 46px; }
  .legal-hero h1 { font-size: clamp(42px, 14vw, 58px); }
  .legal-content { padding: 24px 20px; border-radius: 24px; }
  .legal-content p { font-size: 15.5px; }
}
