/* ============================================================
   tracebellmont.com — Trace Bellmont, author
   Single stylesheet. No build step, no framework.
   Edit the tokens in :root to reskin the whole site.
   ============================================================ */

:root {
  /* Palette */
  --ink:        #0b0d10;
  --ink-2:      #12161b;
  --ink-3:      #1a2027;
  --line:       #2a323b;
  --bone:       #e9e4d9;
  --bone-dim:   #b9b3a6;
  --muted:      #8b939c;
  --amber:      #c8963e;
  --amber-lit:  #e0b45f;
  --lake:       #3d6b74;
  --rust:       #9c4232;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --wrap-narrow: 720px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --sect: clamp(4rem, 9vw, 8rem);
  --radius: 2px;

  --shadow-cover: 0 18px 40px -12px rgba(0,0,0,.8), 0 4px 12px rgba(0,0,0,.5);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--amber-lit); text-decoration: none; }
a:hover { color: var(--bone); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--amber); color: var(--ink); padding: .75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--sect); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--ink-2); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.1rem;
  display: block;
}
.eyebrow--muted { color: var(--muted); }

.lede { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--bone-dim); line-height: 1.65; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.pull {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: var(--bone);
  border-left: 2px solid var(--amber);
  padding-left: clamp(1rem, 3vw, 2rem);
  margin: 0;
}
.pull cite { display: block; font-family: var(--sans); font-size: .8rem; font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  padding: .95rem 1.75rem;
  border: 1px solid var(--amber);
  border-radius: var(--radius);
  background: var(--amber); color: var(--ink);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  text-align: center;
}
.btn:hover { background: var(--amber-lit); border-color: var(--amber-lit); color: var(--ink); transform: translateY(-1px); }
.btn:disabled,
.btn[disabled] {
  background: transparent; color: var(--muted); border-color: var(--line);
  cursor: not-allowed; transform: none;
}
.btn:disabled:hover { background: transparent; color: var(--muted); border-color: var(--line); transform: none; }
.btn--ghost { background: transparent; color: var(--bone); border-color: var(--line); }
.btn--ghost:hover { background: transparent; color: var(--amber-lit); border-color: var(--amber); }
.btn--wide { width: 100%; }
.btn--sm { padding: .7rem 1.15rem; font-size: .72rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,13,16,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 74px;
}
.brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  letter-spacing: .04em; color: var(--bone); text-transform: uppercase; line-height: 1;
}
.brand:hover { color: var(--amber-lit); }
.brand small {
  display: block; font-family: var(--sans); font-size: .58rem; font-weight: 500;
  letter-spacing: .3em; color: var(--muted); margin-top: .4rem; text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav a {
  font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-dim); padding-block: .35rem; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--amber); transition: width .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
/* .nav a (0,1,1) outranks .btn (0,1,0), which was leaving the header CTA
   with bone-dim text on amber — about 1.3:1. Restore the button's own colours. */
.nav a.btn { color: var(--ink); }
.nav a.btn:hover { color: var(--ink); }
.nav a.btn::after { display: none; }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--bone);
  width: 44px; height: 40px; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 18px; height: 1px; background: currentColor; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gut) 2rem;
    transform: translateY(-120%); visibility: hidden;
    transition: transform .35s var(--ease), visibility 0s linear .35s;
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  /* visibility, not just transform: keeps the closed menu out of the tab order
     and off the screen-reader tree instead of parking it above the viewport. */
  .nav[data-open="true"] { transform: translateY(0); visibility: visible; transition-delay: 0s; }
  .nav a { width: 100%; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav .btn { margin-top: 1.25rem; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 7rem);
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(200,150,62,.13), transparent 58%),
    radial-gradient(90% 70% at 8% 90%, rgba(61,107,116,.16), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink));
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  opacity: .05; mix-blend-mode: overlay;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .35em; }
.hero__sub {
  font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--amber); font-style: italic; margin-bottom: 1.5rem;
}

/* ---------- Book cover ---------- */
.cover {
  position: relative; display: block; border-radius: var(--radius);
  box-shadow: var(--shadow-cover);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  background: var(--ink-3);
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.cover img { width: 100%; height: 100%; object-fit: cover; }
a.cover:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 30px 60px -18px rgba(0,0,0,.9); }

.hero__cover { max-width: 380px; margin-inline: auto; position: relative; }
.hero__cover::before {
  content: ""; position: absolute; inset: -14% -10% -24%;
  background: radial-gradient(60% 55% at 50% 55%, rgba(200,150,62,.28), transparent 70%);
  filter: blur(28px); z-index: -1;
}

.badge {
  position: absolute; top: 1rem; left: -.5rem; z-index: 2;
  background: var(--rust); color: var(--bone);
  font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding: .4rem .85rem;
}
.badge--amber { background: var(--amber); color: var(--ink); }
.badge--lake  { background: var(--lake); color: var(--bone); }

/* ---------- Buy widget (tabbed formats) ---------- */
.buy { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); }
.buy__tabs { display: flex; border-bottom: 1px solid var(--line); }
.buy__tab {
  flex: 1; background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--muted); font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; padding: .95rem .5rem; cursor: pointer;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.buy__tab:hover { color: var(--bone); }
.buy__tab[aria-selected="true"] { color: var(--amber); border-bottom-color: var(--amber); }
.buy__panel { padding: 1.5rem; }
.buy__panel[hidden] { display: none; }
.buy__price { font-family: var(--serif); font-size: 1.9rem; color: var(--bone); line-height: 1; margin-bottom: .25rem; }
.buy__note { font-size: .78rem; color: var(--muted); margin-bottom: 1.25rem; }
.buy__retail { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.buy__retail-label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: .85rem; }
.retailers { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.retailers a {
  display: inline-block; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--bone-dim); border: 1px solid var(--line); padding: .5rem .85rem; border-radius: var(--radius);
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.retailers a:hover { border-color: var(--amber); color: var(--amber-lit); }

/* ---------- Grids ---------- */
/* Grid children default to min-width:auto, which lets long content blow out
   the track and cause horizontal scroll on phones. Never remove this. */
.grid > *, .capture__grid > *, .hero__grid > *, .book-row > *, .post > *, .stats > * { min-width: 0; }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.book-card__title { font-family: var(--serif); font-size: 1.3rem; margin: 1.1rem 0 .2rem; color: var(--bone); }
.book-card__meta { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.book-card__blurb { font-size: .92rem; color: var(--bone-dim); margin-top: .75rem; }

/* ---------- Book detail rows (books page) ---------- */
.book-row { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.book-row + .book-row { margin-top: var(--sect); padding-top: var(--sect); border-top: 1px solid var(--line); }
@media (max-width: 820px) { .book-row { grid-template-columns: 1fr; } .book-row .cover { max-width: 260px; } }

.stars { color: var(--amber); letter-spacing: .12em; font-size: .9rem; }

/* ---------- Newsletter ---------- */
.capture {
  background:
    radial-gradient(90% 120% at 15% 0%, rgba(200,150,62,.12), transparent 60%),
    var(--ink-2);
  border-block: 1px solid var(--line);
}
.capture__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
/* Top-align when one column is much taller than the other (e.g. the author photo). */
.capture__grid--top { align-items: start; }
@media (max-width: 820px) { .capture__grid { grid-template-columns: 1fr; } }

.form-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.form-row input[type="email"], .form-row input[type="text"] { flex: 1 1 240px; }

input[type="email"], input[type="text"], textarea, select {
  width: 100%; font-family: var(--sans); font-size: .95rem; color: var(--bone);
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1rem; transition: border-color .25s var(--ease);
}
input::placeholder, textarea::placeholder { color: #6b737c; }
input:focus, textarea:focus, select:focus { border-color: var(--amber); outline: none; }
label { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.field { margin-bottom: 1.25rem; }
.consent { font-size: .78rem; color: var(--muted); margin-top: .9rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-msg { margin-top: 1rem; font-size: .9rem; }
.form-msg[data-state="ok"]  { color: var(--amber-lit); }
.form-msg[data-state="err"] { color: #e08c7a; }

/* ---------- Sample reader ---------- */
.reader { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); }
.reader__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--line);
  position: sticky; top: 74px; background: var(--ink-2); z-index: 20;
}
.reader__controls { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  background: none; border: 1px solid var(--line); color: var(--bone-dim);
  width: 36px; height: 36px; border-radius: var(--radius); cursor: pointer; font-size: .95rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber-lit); }
.icon-btn[aria-pressed="true"] { border-color: var(--amber); color: var(--amber); }

.reader__body { padding: clamp(1.75rem, 5vw, 3.5rem); font-family: var(--serif); }
.reader__body p { font-size: var(--reader-size, 1.35rem); line-height: 1.75; color: var(--bone-dim); }
.reader__body p:first-of-type::first-letter {
  font-size: 3.6em; float: left; line-height: .8; padding: .05em .12em 0 0; color: var(--amber);
}
.reader__body h3 { font-size: 1.1rem; font-family: var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 2.5rem 0 1.25rem; }
.reader__body .sep { text-align: center; color: var(--amber); letter-spacing: .8em; margin: 2rem 0; }

.reader--sepia { --reader-bg: #efe6d2; }
.reader[data-theme="sepia"] { background: #efe6d2; border-color: #d8cbb0; }
.reader[data-theme="sepia"] .reader__bar { background: #efe6d2; border-color: #d8cbb0; }
.reader[data-theme="sepia"] .reader__body p,
.reader[data-theme="sepia"] .reader__body { color: #2b2419; }
.reader[data-theme="sepia"] .icon-btn { color: #6a5c44; border-color: #d8cbb0; }
.reader[data-theme="sepia"] .reader__label { color: #6a5c44; }

.progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--amber); width: 0; z-index: 200; transition: width .1s linear; }

/* ---------- World / Sandy Acres ---------- */
.map-frame {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2);
  padding: clamp(1rem, 3vw, 2rem); position: relative;
}
.map-frame svg { width: 100%; height: auto; }
.map-hint { font-size: .78rem; color: var(--muted); margin-top: 1rem; text-align: center; }

/* Give the map the wide column; the info panel rides alongside it. */
.map-layout {
  display: grid; grid-template-columns: 1.75fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.map-layout > * { min-width: 0; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }

.dossier {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2);
  padding: 1.75rem; transition: border-color .3s var(--ease), transform .3s var(--ease);
  height: 100%;
}
.dossier:hover { border-color: var(--amber); transform: translateY(-3px); }
.dossier__tag { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--amber); }
.dossier__name { font-family: var(--serif); font-size: 1.45rem; margin: .5rem 0 .15rem; }
.dossier__role { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.dossier__note { font-size: .92rem; color: var(--bone-dim); }
.dossier dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; margin: 1.25rem 0 0; font-size: .82rem; }
.dossier dt { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: .66rem; padding-top: .2rem; }
.dossier dd { margin: 0; color: var(--bone-dim); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: .6rem; bottom: .6rem; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 2rem 2.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 15px; height: 15px;
  border: 1px solid var(--amber); border-radius: 50%; background: var(--ink);
}
.timeline li[data-mark="key"]::before { background: var(--amber); }
.timeline__when { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); }
.timeline__what { font-family: var(--serif); font-size: 1.25rem; margin: .3rem 0 .35rem; }

/* ---------- News ---------- */
.post {
  display: grid; grid-template-columns: 160px 1fr; gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 2.25rem; border-top: 1px solid var(--line); align-items: start;
}
.post:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .post { grid-template-columns: 1fr; gap: .5rem; } }
.post__date { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: .5rem; }
.post__title { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 0 0 .5rem; }
.post__excerpt { color: var(--bone-dim); font-size: .95rem; }
.tag {
  display: inline-block; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lake); border: 1px solid var(--lake); padding: .2rem .55rem; margin-bottom: .75rem;
}

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--ink); padding: 2.25rem 1.5rem; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--amber); line-height: 1; }
.stat__label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .7rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ink-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 820px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot__grid { grid-template-columns: 1fr; } }
.foot h4 { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .6rem; }
.foot a { color: var(--bone-dim); font-size: .9rem; }
.foot a:hover { color: var(--amber-lit); }
.foot__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .78rem; color: var(--muted);
}
.foot__grid > * { min-width: 0; }
.social { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.social a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Page header ---------- */
.pagehead {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  border-bottom: 1px solid var(--line);
}
.pagehead h1 { margin-bottom: .3em; }

.crumbs { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--amber-lit); }

/* ---------- Prose (legal, about) ---------- */
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.5rem; }
.prose h3 { font-size: 1.2rem; margin-top: 2rem; }
.prose ul, .prose ol { color: var(--bone-dim); padding-left: 1.25rem; }
.prose li { margin-bottom: .55rem; }
.prose { color: var(--bone-dim); }
.prose strong { color: var(--bone); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
