@font-face { font-family: "Pagella"; src: url("/assets/fonts/pagella-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("/assets/fonts/pagella-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("/assets/fonts/pagella-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --cream: #f2ebdf;
  --cream-deep: #e8dcc8;
  --paper: #faf6ef;
  --navy: #1c2a44;
  --navy-soft: #34415c;
  --gold: #8a6a3a;
  --gold-light: #b8955c;
  --ink: #2a2a2a;
  --muted: #5f5a52;
  --rule: rgba(138, 106, 58, .35);
  --serif: "Pagella", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --max: 1080px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .15em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--navy); color: #fff; padding: .5em 1em; z-index: 100; }

/* ---------- header ---------- */
.site-header { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; color: var(--navy); text-decoration: none; }
.nav-cta { font-size: .95rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: .02em;
  padding: .8em 1.5em; border-radius: var(--radius); text-decoration: none; cursor: pointer;
  border: 2px solid var(--navy); transition: background .15s, color .15s, border-color .15s;
  min-height: 48px;
}
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--paper); }
.btn-small { font-size: .9rem; padding: .5em 1em; min-height: 40px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.cover {
  justify-self: center; width: min(100%, 400px);
  box-shadow: 0 2px 4px rgba(40, 30, 15, .12), 0 18px 40px -10px rgba(40, 30, 15, .35);
  border-radius: 2px;
}
.eyebrow { font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); line-height: 1.02; color: var(--navy); margin: 0 0 18px; font-weight: 700; letter-spacing: -.005em; }
.subtitle { font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.byline { font-style: italic; font-size: 1.25rem; color: var(--navy-soft); margin: 0 0 26px; }
.tagline { font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--navy); border-left: 3px solid var(--gold-light); padding-left: 18px; margin: 0 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.formats { margin: 14px 0 0; font-size: .95rem; color: var(--muted); }
.formats a { color: var(--muted); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--rule); }
.prose { max-width: 680px; margin-inline: auto; }
h2 { text-wrap: balance; color: var(--navy); font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.15; margin: 0 0 24px; text-align: center; }
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--gold); margin: 0 auto 28px; }
.divider::before, .divider::after { content: ""; height: 1px; width: 80px; background: var(--gold-light); }
.prose p { margin: 0 0 1.1em; }
.prose p:first-of-type::first-letter { float: left; font-size: 3.4em; line-height: .85; padding: .06em .08em 0 0; color: var(--navy); font-weight: 700; }

.stories { list-style: none; padding: 0; margin: 32px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.stories li { background: var(--cream); border: 1px solid var(--rule); border-radius: 999px; padding: .35em 1em; font-style: italic; font-size: 1.02rem; color: var(--navy-soft); }
.stories-note { text-align: center; color: var(--muted); font-size: .98rem; margin-top: 18px; }

.pull { text-align: center; padding: 88px 0; background: var(--navy); color: var(--paper); }
.pull blockquote { text-wrap: balance; margin: 0 auto; max-width: 820px; font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.3; }
.pull cite { display: block; margin-top: 18px; font-style: normal; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--gold-light); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.fact { text-align: center; padding: 22px 12px; border-top: 2px solid var(--gold-light); }
.fact strong { display: block; font-size: 2rem; color: var(--navy); line-height: 1.1; }
.fact span { color: var(--muted); font-size: .98rem; }

.final-cta { text-align: center; }
.final-cta .cover-sm { width: 180px; margin: 0 auto 28px; box-shadow: 0 14px 30px -10px rgba(40, 30, 15, .4); }
.final-cta p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }
.final-cta .cta-row { justify-content: center; }
.notice { font-size: .9rem; color: var(--muted); margin-top: 22px !important; }

/* ---------- legal pages ---------- */
.legal { padding: 56px 0 80px; }
.legal .prose h1 { color: var(--navy); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; margin: 0 0 8px; }
.legal .prose h2 { text-align: left; font-size: 1.45rem; margin: 2em 0 .6em; }
.legal .prose p:first-of-type::first-letter { all: unset; }
.legal .updated { color: var(--muted); font-style: italic; margin-bottom: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1em 0 1.5em; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .55em .6em; border-bottom: 1px solid var(--rule); }
.legal th { color: var(--navy); }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--cream-deep); border-top: 1px solid var(--rule); padding: 40px 0 32px; font-size: .95rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 18px; }
.site-footer nav a, .linklike { color: var(--navy); }
.linklike { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .15em; cursor: pointer; }
.site-footer p { margin: 0 0 .6em; max-width: 820px; }
.small { font-size: .86rem; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; inset: auto 16px 16px 16px; z-index: 50; max-width: 560px; margin-left: auto;
  background: var(--paper); color: var(--ink); border: 1px solid var(--rule); border-radius: 6px;
  box-shadow: 0 18px 50px -12px rgba(20, 20, 30, .35); padding: 20px 22px; font-size: 1rem; line-height: 1.5;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.15rem; text-align: left; margin: 0 0 6px; }
.cookie-banner p { margin: 0 0 14px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1 1 auto; }
.cookie-prefs { border-top: 1px solid var(--rule); margin-top: 14px; padding-top: 12px; }
.cookie-prefs[hidden] { display: none; }
.pref { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.pref input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.pref small { display: block; color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero { padding: 32px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .cover { width: min(56%, 230px); }
  .tagline { border-left: 0; padding-left: 0; font-size: 1.15rem; }
  .subtitle { font-size: .95rem; letter-spacing: .14em; }
  .hero h1 { margin-bottom: 12px; }
  .cta-row { justify-content: center; }
  section { padding: 56px 0; }
  .facts { grid-template-columns: 1fr; gap: 6px; }
  .nav-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .cookie-banner, .site-header, .cta-row { display: none !important; } }
