:root {
  --forest: #123f36;
  --forest-deep: #082b27;
  --paper: #f4efe3;
  --paper-bright: #fffaf0;
  --clay: #b95942;
  --mustard: #d3a53c;
  --mineral: #688b8d;
  --ink: #26312f;
  --muted: #63706c;
  --line: rgba(18, 63, 54, .22);
  --shadow: 0 24px 70px rgba(8, 43, 39, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(211, 165, 60, .12), transparent 28rem),
    linear-gradient(115deg, rgba(255,255,255,.3), transparent 45%),
    var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--clay); }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid var(--mustard); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 200; padding: .75rem 1rem; background: var(--forest); color: white; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 227, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { max-width: 1320px; margin: auto; min-height: 82px; padding: 0 1.4rem; display: flex; align-items: center; gap: 1.4rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 850; letter-spacing: .07em; color: var(--forest); }
.brand-mark { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50% 50% 9% 50%; background: var(--forest); color: white; font-family: var(--serif); font-size: 1.2rem; }
.brand-copy small { display: block; color: var(--clay); font-size: .68rem; letter-spacing: .13em; }
.nav-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--paper-bright); color: var(--forest); border-radius: 999px; padding: .65rem 1rem; font: 800 .82rem var(--sans); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.site-nav a { padding: .52rem .68rem; border-radius: 999px; text-decoration: none; font-weight: 750; font-size: .86rem; }
.site-nav a[aria-current="page"] { background: var(--forest); color: white; }

.shell { width: min(100% - 2.2rem, 1260px); margin-inline: auto; }
.narrow { width: min(100% - 2.2rem, 880px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-tight { padding-block: clamp(2.8rem, 6vw, 5rem); }
.eyebrow { margin: 0 0 .75rem; color: var(--clay); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--forest); font-family: var(--serif); line-height: .98; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(3.3rem, 8.5vw, 8.2rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.5rem, 6vw, 5.3rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 2.15rem); line-height: 1.08; }
.lede { max-width: 760px; margin: 1.3rem 0 0; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.58; }
.measure { max-width: 70ch; }
.muted { color: var(--muted); }

.hero { position: relative; overflow: hidden; min-height: calc(100vh - 82px); display: grid; align-items: center; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero h1 span { display: block; }
.hero h1 span:nth-child(2) { margin-left: clamp(0rem, 6vw, 5rem); color: var(--clay); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .75rem 1.15rem; border: 2px solid var(--forest); border-radius: 4px 28px 4px 4px; background: var(--forest); color: white; font-weight: 850; text-decoration: none; }
.button:hover { color: var(--forest); background: var(--mustard); }
.button.secondary { color: var(--forest); background: transparent; }
.hero-art { position: relative; padding: 1.3rem 0 2rem 2rem; }
.hero-art::before { content: ""; position: absolute; inset: 4rem 2rem 0 0; border: 1px solid var(--forest); transform: rotate(-4deg); border-radius: 4px 54px 4px 54px; }
.hero-art img { position: relative; width: 100%; aspect-ratio: .8; object-fit: cover; border-radius: 4px 64px 4px 42px; box-shadow: var(--shadow); }
.edition-tab { position: absolute; left: 0; bottom: 0; padding: .85rem 1.2rem; background: var(--mustard); color: var(--forest); font-weight: 900; letter-spacing: .1em; transform: rotate(-2deg); }

.stats-strip { background: var(--forest); color: white; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem clamp(1rem, 3vw, 2.6rem); border-right: 1px solid rgba(255,255,255,.2); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 700 clamp(2.2rem, 4vw, 4.5rem)/1 var(--serif); color: var(--mustard); }
.stat span { display: block; margin-top: .5rem; font-weight: 700; }

.fold-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; margin-top: 3rem; }
.fold-card { position: relative; min-height: 300px; grid-column: span 4; overflow: hidden; background: var(--paper-bright); border: 1px solid var(--line); border-radius: 4px 42px 4px 4px; box-shadow: 0 10px 32px rgba(8,43,39,.07); }
.fold-card.wide { grid-column: span 8; }
.fold-card.tall { min-height: 480px; }
.fold-card img { width: 100%; height: 210px; object-fit: cover; }
.fold-card.tall img { height: 320px; }
.fold-card .copy { padding: 1.3rem 1.4rem 1.6rem; }
.fold-card p { margin-bottom: 0; }
.fold-number { display: inline-flex; min-width: 2.3rem; height: 2.3rem; align-items: center; justify-content: center; background: var(--forest); color: white; border-radius: 50%; font-weight: 900; }

.editorial-split { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.sticky-copy { position: sticky; top: 120px; }
.stack { display: grid; gap: 1rem; }
.paper-panel { padding: clamp(1.3rem, 3vw, 2.2rem); background: var(--paper-bright); border-left: 7px solid var(--clay); border-radius: 3px 28px 3px 3px; box-shadow: 0 10px 30px rgba(8,43,39,.06); }
.paper-panel:nth-child(3n+2) { border-left-color: var(--mineral); }
.paper-panel:nth-child(3n+3) { border-left-color: var(--mustard); }
.paper-panel p:last-child { margin-bottom: 0; }
.paper-panel ul { margin-bottom: 0; padding-left: 1.2rem; }

.index-list { counter-reset: item; display: grid; gap: .7rem; margin-top: 2rem; }
.index-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.index-row::before { counter-increment: item; content: counter(item, decimal-leading-zero); color: var(--clay); font-weight: 900; }
.index-row strong { color: var(--forest); }
.index-row span { color: var(--muted); font-size: .9rem; }

.gallery-band { overflow: hidden; padding-block: 1.1rem; background: var(--forest-deep); }
.gallery-track { display: flex; gap: 1.1rem; width: max-content; animation: gallery-drift 46s linear infinite; }
.gallery-track img { width: 320px; aspect-ratio: 16/9; object-fit: cover; border-radius: 3px 24px 3px 3px; }
@keyframes gallery-drift { to { transform: translateX(calc(-50% - .55rem)); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .gallery-track { animation: none; flex-wrap: wrap; width: auto; } }

.chapter-hero { padding-block: clamp(4rem, 10vw, 8rem); border-bottom: 1px solid var(--line); }
.chapter-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.chapter-grid > *, .chapter-hero .narrow { min-width: 0; }
.chapter-hero figure { margin: 0; }
.chapter-hero img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: 4px 52px 4px 28px; box-shadow: var(--shadow); }
.chapter-hero figcaption { margin-top: .7rem; color: var(--muted); font-size: .82rem; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.principle { padding: 1.5rem; min-height: 230px; background: var(--forest); color: white; border-radius: 4px 34px 4px 4px; }
.principle h3 { color: var(--mustard); }
.principle p { margin-bottom: 0; }

.source-table { width: 100%; border-collapse: collapse; margin-top: 2rem; background: rgba(255,250,240,.6); }
.source-table th, .source-table td { text-align: left; vertical-align: top; padding: 1rem; border-bottom: 1px solid var(--line); }
.source-table th { color: var(--forest); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.source-table a { font-weight: 800; }

.policy-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin: 2rem 0 3rem; }
.policy-nav a { padding: .7rem .8rem; background: var(--paper-bright); border: 1px solid var(--line); text-decoration: none; font-size: .85rem; font-weight: 750; }
.policy-section { scroll-margin-top: 110px; padding: 2rem 0; border-top: 1px solid var(--line); }
.policy-section h2 { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 1rem; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.1; }
.policy-section .number { color: var(--clay); }
.policy-section .policy-copy { max-width: 72ch; margin-left: 81px; }

.notice { padding: 1.1rem 1.25rem; border: 1px solid var(--clay); background: rgba(185, 89, 66, .07); border-radius: 3px 24px 3px 3px; }
.notice strong { color: var(--forest); }
.contact-card { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; padding: clamp(1.5rem, 5vw, 4rem); background: var(--forest); color: white; border-radius: 4px 70px 4px 4px; }
.contact-card h2 { color: var(--mustard); }
.contact-card address { font-style: normal; font-size: 1.15rem; }

.site-footer { padding-block: 3rem; background: var(--forest-deep); color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 2rem; }
.site-footer strong { color: white; }
.site-footer a { color: white; }
.footer-links { display: grid; align-content: start; gap: .35rem; }
.legal-line { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .82rem; }

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

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 82px 0 auto; display: none; padding: 1rem; background: var(--paper); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
  .site-nav.open { display: flex; }
  .hero-grid, .chapter-grid, .editorial-split, .contact-card { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; }
  .sticky-copy { position: static; }
  .fold-card { grid-column: span 6; }
  .fold-card.wide { grid-column: span 12; }
  .principles { grid-template-columns: 1fr 1fr; }
  .policy-nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.65rem, 13vw, 3.2rem); overflow-wrap: anywhere; }
  .eyebrow { overflow-wrap: anywhere; }
  .brand-copy { display: none; }
  .site-nav a { flex: 1 1 42%; }
  .hero { min-height: auto; }
  .hero h1 span:nth-child(2) { margin-left: 0; }
  .hero-art { padding-left: .6rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .fold-card, .fold-card.wide { grid-column: 1 / -1; }
  .principles, .policy-nav, .footer-grid { grid-template-columns: 1fr; }
  .source-table, .source-table tbody, .source-table tr, .source-table td { display: block; }
  .source-table thead { position: absolute; clip: rect(0 0 0 0); }
  .source-table tr { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .source-table td { padding: .35rem 1rem; border: 0; }
  .source-table td::before { content: attr(data-label); display: block; color: var(--clay); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
  .policy-section h2 { grid-template-columns: 48px minmax(0, 1fr); }
  .policy-section .policy-copy { margin-left: 0; }
}
