:root {
  --ink: #121316;
  --ink-2: #1B1D21;
  --line: #2A2D33;
  --chalk: #F4F1EA;
  --chalk-2: #E9E4D9;
  --blue: #2C6E9E;
  --blue-deep: #24618D;
  --gold: #C9A23A;
  --gold-hi: #DDB751;
  --mute-on-ink: #A9B0BA;
  --mute-on-chalk: #59606B;
  --serif: 'Eczar', Georgia, serif;
  --sans: 'Anek Latin', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--chalk); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg use { fill: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* hero */
.hero { background: var(--blue) url(/img/rain.svg) center / cover; color: var(--chalk); min-height: 92vh; display: flex; flex-direction: column; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; max-width: 1120px; width: 100%; margin: 0 auto; }
.nav-mark { display: inline-flex; padding: 8px; color: var(--chalk); }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 8px; }
.nav-links a:hover { background: rgba(255,255,255,0.1); }
.hero-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 20px 72px; }
.hero-vajra { color: var(--chalk); margin-bottom: 28px; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 8vw, 76px); letter-spacing: 0.12em; line-height: 1.1; padding-left: 0.12em; }
.tagline { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(22px, 3.5vw, 30px); color: #F1D78A; }
.hero-sub { margin: 28px auto 0; max-width: 600px; font-size: 17px; line-height: 1.65; color: #E3E9F0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 8px; font-family: var(--sans); font-size: 17px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-light { background: var(--chalk); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: rgba(244,241,234,0.7); color: var(--chalk); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn:disabled { opacity: 0.6; cursor: default; }

/* bands */
.band { padding: 88px 0; }
.band.ink { background: var(--ink); color: var(--chalk); }
.band.chalk { background: var(--chalk); color: var(--ink); }
.band.blue { background: var(--blue) url(/img/rain.svg) center / cover; color: var(--chalk); }
.eyebrow { margin: 0 0 18px; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold); }
.eyebrow.dark { color: var(--blue); }
.lede { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.8vw, 28px); line-height: 1.5; }
.source { margin: 20px 0 0; font-size: 14px; color: var(--mute-on-ink); }
.source.dark { color: var(--mute-on-chalk); }
h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 5vw, 46px); line-height: 1.15; }
h2.dark { color: var(--ink); }
.section-sub { margin: 14px 0 0; font-size: 17px; color: var(--mute-on-chalk); max-width: 620px; }
.section-sub.light { color: var(--mute-on-ink); margin-left: auto; margin-right: auto; }

/* tenets */
.tenets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }
.tenets li { display: flex; gap: 18px; align-items: baseline; padding: 22px 0; border-top: 1px solid #D9D2C3; }
.tenets .num { flex: 0 0 34px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--blue); }
.tenets p { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 23px; line-height: 1.35; }
.coda { margin-top: 48px; padding-top: 32px; border-top: 1px solid #D9D2C3; }
.coda p { margin: 0 0 6px; font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.4; color: #2B2F36; }
.coda .source { font-family: var(--sans); font-size: 14px; margin-top: 16px; color: var(--mute-on-chalk); }

/* book */
.book { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.book-art { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.book-copy h2 span { display: block; margin-top: 6px; font-weight: 400; font-size: 0.55em; color: var(--gold); }
.book-copy > p:not(.eyebrow) { margin: 20px 0 0; font-size: 18px; line-height: 1.65; color: #D9DDE3; }
.book-copy > p.meta { font-size: 15px; color: var(--mute-on-ink); }
.chapters { margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapters summary { cursor: pointer; padding: 14px 0; font-weight: 600; font-size: 15px; min-height: 44px; }
.chapters ol { margin: 0 0 18px; padding-left: 26px; color: #D9DDE3; font-family: var(--serif); font-size: 18px; line-height: 1.7; }
.buy { margin-top: 28px; }

/* quote */
.quote blockquote { margin: 0; }
.quote blockquote p { margin: 0 0 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4.5vw, 44px); line-height: 1.25; }
.quote blockquote p + p { font-weight: 400; font-size: clamp(22px, 3vw, 30px); color: #F1D78A; }
.quote .source { color: #D3DEEA; }

/* stories */
.stories { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; }
.story { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.story img { aspect-ratio: 9 / 16; object-fit: cover; width: 100%; border-radius: 10px; background: var(--chalk-2); }
.story-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.story-src { font-size: 13px; color: var(--mute-on-chalk); margin-top: -4px; }
.story:hover .story-title { text-decoration: underline; }

/* join */
.join-vajra { color: var(--gold); margin: 0 auto 20px; }
.join { margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 520px; }
.join input[type=email] { flex: 1 1 260px; min-height: 48px; padding: 0 18px; border-radius: 8px; border: 1.5px solid #3A3E46; background: var(--ink-2); color: var(--chalk); font: inherit; font-size: 16px; }
.join input[type=email]::placeholder { color: #7F8792; }
.join input[type=email]:focus { outline: 2px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-msg { min-height: 26px; margin: 16px 0 0; color: var(--mute-on-ink); font-size: 15px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--mute-on-ink); font-size: 15px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--chalk); font-family: var(--serif); letter-spacing: 0.15em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a { text-decoration: none; padding: 8px 0; }
.footer-links a:hover { color: var(--chalk); }

/* policy pages */
.page { max-width: 720px; margin: 0 auto; padding: 40px 20px 80px; }
.page-top { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--chalk); font-family: var(--serif); letter-spacing: 0.15em; padding: 8px 0; }
.page h1 { font-family: var(--serif); font-weight: 600; font-size: 40px; margin: 40px 0 8px; }
.page h2 { font-size: 24px; margin: 36px 0 8px; }
.page p, .page li { color: #D9DDE3; }
.page .updated { color: var(--mute-on-ink); font-size: 14px; }
.page a { color: var(--gold); }

@media (max-width: 520px) {
  .band { padding: 64px 0; }
  .nav-links a { padding: 10px 8px; font-size: 14px; }
  .tenets p { font-size: 21px; }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
