/* =====================================================================
   THE GOLDEN AGE OF DETECTION — shared stylesheet
   Aesthetic: Art Deco · gold-on-charcoal · typewriter case-file accents
   ===================================================================== */

/* ---------- Fonts ---------- */
/* Cinzel / Cinzel Decorative — monumental engraved display
   EB Garamond — period body serif
   Special Elite — distressed typewriter for case-file metadata          */

/* ---------- Design tokens ---------- */
:root {
  /* ink / surfaces */
  --ink:        #100e0a;   /* page background — warm near-black        */
  --ink-1:      #16130d;   /* raised panel                             */
  --ink-2:      #1e1a12;   /* card                                     */
  --ink-3:      #272115;   /* card hover / inset                       */
  --hairline:   #3a311f;   /* subtle dividing lines                    */

  /* metals & light */
  --gold:        #c9a227;
  --gold-bright: #ecca5f;
  --gold-deep:   #8a6d1f;
  --gold-glow:   rgba(201, 162, 39, .35);

  /* paper text */
  --cream:   #ece1c8;   /* primary body text                          */
  --parch:   #cdbf9f;   /* secondary text                             */
  --muted:   #948a72;   /* tertiary / captions                        */

  /* danger / "still locked" */
  --oxblood:        #8c2a32;
  --oxblood-bright: #c14a4f;

  /* typography */
  --font-display: "Cinzel", Georgia, "Times New Roman", serif;
  --font-deco:    "Cinzel Decorative", "Cinzel", serif;
  --font-body:    "EB Garamond", Georgia, "Times New Roman", serif;
  --font-type:    "Special Elite", "Courier New", monospace;

  /* metrics */
  --measure: 68ch;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --maxw: 1180px;
  --radius: 2px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, .55vw + .9rem, 1.18rem);
  line-height: 1.62;
  color: var(--cream);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(201,162,39,.10), transparent 55%),
    radial-gradient(90% 60% at 100% 0%, rgba(140,42,50,.07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* film-grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Selection & focus ---------- */
::selection { background: var(--gold); color: var(--ink); }
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* ---------- Links ---------- */
a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.section { padding-block: clamp(3.2rem, 8vw, 6rem); position: relative; }
.section--tint { background: linear-gradient(180deg, var(--ink-1), var(--ink)); }
.stack > * + * { margin-top: 1.1rem; }

/* skip link */
.skip {
  position: absolute; left: -999px; top: 0; z-index: 10000;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem;
  font-family: var(--font-type); border-radius: var(--radius);
}
.skip:focus { left: 1rem; top: 1rem; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 14, 10, .82);
  backdrop-filter: blur(10px) saturate(120%);
  border-bottom: 1px solid var(--gold-deep);
  box-shadow: 0 1px 0 rgba(236,202,95,.12), 0 8px 30px rgba(0,0,0,.45);
}
.nav__inner {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream); font-size: .92rem; white-space: nowrap;
}
.brand:hover { color: var(--gold-bright); }
.brand__mark { width: 26px; height: 26px; flex: none; color: var(--gold); }
.brand small { color: var(--gold); font-family: var(--font-type); letter-spacing: .04em; text-transform: none; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--gold-deep);
  color: var(--gold); font-family: var(--font-type); font-size: .8rem;
  padding: .45rem .7rem; border-radius: var(--radius); cursor: pointer;
  letter-spacing: .1em;
}

.nav__links { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; }
.nav__links a {
  display: block; padding: .55rem .7rem;
  font-family: var(--font-type); font-size: .76rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--parch);
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__links a[aria-current="page"] {
  color: var(--gold-bright); border-bottom-color: var(--gold);
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 64px; right: var(--gutter); left: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-1); border: 1px solid var(--gold-deep);
    border-radius: var(--radius); padding: .4rem;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem .7rem; border-bottom: 1px solid var(--hairline); }
  .nav__links li:last-child a { border-bottom: none; }
  .nav__links a[aria-current="page"] { border-bottom-color: var(--hairline); }
}

/* =====================================================================
   DECO ORNAMENTS
   ===================================================================== */
/* divider: ──◆── */
.deco-rule {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; color: var(--gold); margin-block: 1.4rem;
}
.deco-rule::before, .deco-rule::after {
  content: ""; height: 1px; flex: 1 1 auto; max-width: 160px;
  background: linear-gradient(90deg, transparent, var(--gold-deep) 30%, var(--gold));
}
.deco-rule::after { transform: scaleX(-1); }
.deco-rule__mark { font-size: .9rem; letter-spacing: .4em; }

/* eyebrow label */
.eyebrow {
  font-family: var(--font-type); font-size: .76rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: "✦"; color: var(--gold-deep); }

/* stepped deco frame (corners) applied via class */
.framed { position: relative; }
.framed::before, .framed::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 2px solid var(--gold-deep); pointer-events: none;
}
.framed::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.framed::after  { bottom: 8px; right: 8px; border-left: none; border-top: none; }

/* =====================================================================
   TYPOGRAPHY
   ===================================================================== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--cream); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: .02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: .03em; }
.section-head { text-align: center; margin-bottom: 2.6rem; }
.section-head h2 { margin-top: .6rem; }
.section-head p { color: var(--parch); max-width: 60ch; margin: 1rem auto 0; }

.lede { font-size: 1.22em; color: var(--parch); }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1rem; }
em, i { color: var(--parch); }
strong { color: var(--cream); font-weight: 600; }
mark { background: linear-gradient(transparent 55%, var(--gold-glow) 0); color: inherit; padding: 0 .1em; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(4rem, 13vw, 9rem);
  border-bottom: 1px solid var(--gold-deep);
  text-align: center;
  isolation: isolate;
}
/* sunburst */
.hero__rays {
  position: absolute; inset: -40% -10% auto; height: 150%;
  z-index: -2; pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 50% 35%,
      rgba(201,162,39,.10) 0deg 4deg,
      transparent 4deg 12deg);
  -webkit-mask-image: radial-gradient(60% 55% at 50% 35%, #000, transparent 72%);
          mask-image: radial-gradient(60% 55% at 50% 35%, #000, transparent 72%);
  animation: spin 160s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 40% at 50% 30%, rgba(236,202,95,.16), transparent 70%);
}

.hero .eyebrow { animation: rise .8s var(--ease) both; }
.hero h1 {
  font-family: var(--font-deco); font-weight: 900;
  font-size: clamp(2.4rem, 8vw, 6.2rem); line-height: .98;
  letter-spacing: .01em; margin-block: .35em .15em;
  color: var(--gold-bright);
  text-shadow: 0 1px 0 var(--gold-deep), 0 0 36px rgba(236,202,95,.18);
  animation: rise .8s var(--ease) .08s both;
}
.hero h1 .sub {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, 3.2vw, 2rem); letter-spacing: .42em;
  color: var(--cream); text-shadow: none; margin-top: .35em;
  text-transform: uppercase;
}
.hero .lede { max-width: 56ch; margin: 1.3rem auto 0; animation: rise .8s var(--ease) .18s both; }
.hero__cta { margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: rise .8s var(--ease) .28s both; }
.hero__stamp {
  margin-top: 2.4rem; font-family: var(--font-type); color: var(--gold);
  letter-spacing: .2em; font-size: .8rem; animation: rise .8s var(--ease) .38s both;
}
.hero__stamp b { color: var(--gold-bright); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-type); font-size: .82rem; letter-spacing: .12em;
  text-transform: uppercase; padding: .85rem 1.5rem; cursor: pointer;
  border: 1px solid var(--gold); color: var(--gold-bright);
  background: transparent; border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s, box-shadow .25s, transform .15s;
}
.btn:hover { background: var(--gold); color: var(--ink); box-shadow: 0 0 26px var(--gold-glow); transform: translateY(-2px); }
.btn--solid { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--solid:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn--ghost { border-color: var(--gold-deep); color: var(--parch); }
.btn--ghost:hover { color: var(--ink); }
/* active filter (persists after the cursor leaves) */
[data-filter-bar] .btn[aria-pressed="true"] {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
  box-shadow: 0 0 22px var(--gold-glow);
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* =====================================================================
   CARDS — author / case file
   ===================================================================== */
.card-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}
.card {
  position: relative; display: flex; flex-direction: column;
  background:
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  overflow: hidden;
}
.card::before { /* top deco rule */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), var(--gold-bright), var(--gold-deep), transparent);
  opacity: .6; transition: opacity .35s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-deep);
  box-shadow: 0 18px 44px rgba(0,0,0,.5), 0 0 0 1px rgba(236,202,95,.15) inset;
}
.card:hover::before { opacity: 1; }

.card__no {
  font-family: var(--font-type); font-size: .72rem; letter-spacing: .18em;
  color: var(--gold-deep); text-transform: uppercase;
}
.card__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.3rem; line-height: 1.1; margin-top: .2rem; color: var(--cream);
}
.card__meta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .55rem;
  font-family: var(--font-type); font-size: .74rem; letter-spacing: .08em;
  color: var(--ink); background: var(--gold); padding: .2rem .55rem;
  border-radius: var(--radius); width: max-content;
}
.card__tag {
  margin-top: .55rem; font-family: var(--font-type); font-size: .72rem;
  letter-spacing: .06em; color: var(--gold); text-transform: uppercase;
}
.card__works { margin-top: .85rem; color: var(--parch); font-size: 1rem; }
.card__works b { color: var(--cream); }
.card__desc { margin-top: .7rem; color: var(--parch); font-size: .98rem; }
.card__find {
  margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem;
  border-top: 1px dashed var(--hairline);
}
.find-link {
  font-family: var(--font-type); font-size: .68rem; letter-spacing: .06em;
  text-transform: uppercase; padding: .32rem .6rem;
  border: 1px solid var(--gold-deep); border-radius: var(--radius);
  color: var(--parch); transition: all .2s;
}
.find-link:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.card__find-label {
  width: 100%; font-family: var(--font-type); font-size: .66rem; letter-spacing: .18em;
  color: var(--muted); text-transform: uppercase; margin-bottom: -.1rem;
}

/* highlighted "newly PD" card */
.card--new { border-color: var(--gold-deep); }
.card--new::before { opacity: 1; }
.card--new .card__meta { background: var(--gold-bright); }

/* =====================================================================
   FEATURE BLOCK (locked room narrative items)
   ===================================================================== */
.feature {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.2rem;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  padding: clamp(1.4rem, 4vw, 2.4rem);
  position: relative; overflow: hidden;
}
.feature + .feature { margin-top: 1.4rem; }
.feature__index {
  font-family: var(--font-deco); font-weight: 900; font-size: 3rem;
  color: var(--gold-deep); line-height: 1; opacity: .8;
}
.feature h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.feature .card__meta { margin-top: .4rem; }
.feature__key {
  margin-top: 1rem; padding: .8rem 1rem; border-left: 3px solid var(--gold);
  background: rgba(201,162,39,.06); border-radius: 0 var(--radius) var(--radius) 0;
}
.feature__key span { font-family: var(--font-type); font-size: .7rem; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: .25rem; }
@media (min-width: 720px) {
  .feature { grid-template-columns: 90px 1fr; align-items: start; }
}

/* =====================================================================
   TABLES
   ===================================================================== */
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius); }
table.deco {
  width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 560px;
  background: var(--ink-1);
}
table.deco caption { text-align: left; padding: .8rem 1rem; color: var(--muted); font-family: var(--font-type); font-size: .76rem; letter-spacing: .1em; }
table.deco th, table.deco td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--hairline); vertical-align: top; }
table.deco thead th {
  font-family: var(--font-type); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); background: var(--ink-2);
  border-bottom: 1px solid var(--gold-deep); position: sticky; top: 0;
}
table.deco tbody tr { transition: background .2s; }
table.deco tbody tr:hover { background: var(--ink-2); }
table.deco td .yr { font-family: var(--font-type); color: var(--gold-bright); }
table.deco .author { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--cream); }
table.deco em { color: var(--parch); }

/* countdown pill */
.pill {
  display: inline-block; font-family: var(--font-type); font-size: .74rem;
  letter-spacing: .06em; padding: .25rem .6rem; border-radius: 999px;
  border: 1px solid var(--oxblood); color: var(--oxblood-bright);
  background: rgba(140,42,50,.12); white-space: nowrap;
}
.pill--soon { border-color: var(--gold-deep); color: var(--gold-bright); background: rgba(201,162,39,.1); }

/* =====================================================================
   CALLOUTS
   ===================================================================== */
.callout {
  border: 1px solid var(--gold-deep); border-radius: var(--radius);
  background: rgba(201,162,39,.06); padding: 1.3rem 1.5rem;
  position: relative;
}
.callout--warn { border-color: var(--oxblood); background: rgba(140,42,50,.09); }
.callout__title {
  font-family: var(--font-type); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .5rem;
  display: flex; align-items: center; gap: .5rem;
}
.callout--warn .callout__title { color: var(--oxblood-bright); }
.callout p { color: var(--parch); }
.callout p + p { margin-top: .7rem; }

/* =====================================================================
   RESOURCE CARDS (find-them page)
   ===================================================================== */
.res-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.res {
  display: flex; flex-direction: column; gap: .6rem;
  border: 1px solid var(--hairline); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  padding: 1.5rem; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.res:hover { transform: translateY(-4px); border-color: var(--gold-deep); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.res__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.res__name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--cream); }
.res__juris { font-family: var(--font-type); font-size: .66rem; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; white-space: nowrap; }
.res__desc { color: var(--parch); font-size: 1rem; flex: 1; }
.res__best { font-size: .95rem; color: var(--cream); }
.res__best b { color: var(--gold); font-family: var(--font-type); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: .2rem; }
.res__link { margin-top: .3rem; }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.steps li { position: relative; padding-left: 3.4rem; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.1rem;
  font-family: var(--font-deco); font-weight: 900; font-size: 1.5rem; color: var(--gold);
}
.steps b { color: var(--cream); }

/* =====================================================================
   OVERVIEW INDEX CARDS (home)
   ===================================================================== */
.index-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.index-card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.6rem 1.5rem; border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--ink-1); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.index-card:hover { transform: translateY(-4px); border-color: var(--gold-deep); background: var(--ink-2); }
.index-card__no { font-family: var(--font-type); font-size: .72rem; letter-spacing: .2em; color: var(--gold-deep); }
.index-card h3 { color: var(--cream); }
.index-card p { color: var(--parch); font-size: .98rem; flex: 1; }
.index-card__go { font-family: var(--font-type); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-bright); }

/* big stat row */
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 2.4rem; }
.stat { text-align: center; border: 1px solid var(--hairline); border-radius: var(--radius); padding: 1.4rem 1rem; background: var(--ink-1); }
.stat__num { font-family: var(--font-deco); font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); color: var(--gold-bright); line-height: 1; }
.stat__label { font-family: var(--font-type); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parch); margin-top: .5rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  border-top: 1px solid var(--gold-deep);
  background: linear-gradient(180deg, var(--ink), #0b0a07);
  padding-block: clamp(2.4rem, 6vw, 4rem); margin-top: 2rem;
}
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1.3fr 1fr 1fr; }
.footer h4 { font-family: var(--font-type); font-weight: 400; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer a { color: var(--parch); font-size: .95rem; }
.footer a:hover { color: var(--gold-bright); }
.footer__brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.footer__note { color: var(--muted); font-size: .9rem; margin-top: .8rem; max-width: 42ch; }
.footer__bottom {
  margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between;
  font-family: var(--font-type); font-size: .72rem; letter-spacing: .06em; color: var(--muted);
}
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =====================================================================
   PAGE HEADER (interior pages)
   ===================================================================== */
.page-head {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(3rem, 9vw, 5.5rem);
  border-bottom: 1px solid var(--gold-deep); text-align: center;
}
.page-head .hero__glow { opacity: .7; }
.page-head h1 {
  font-family: var(--font-deco); font-weight: 900; color: var(--gold-bright);
  font-size: clamp(2rem, 6vw, 4rem); line-height: 1; margin-top: .4rem;
  text-shadow: 0 0 30px rgba(236,202,95,.16);
}
.page-head p { color: var(--parch); max-width: 60ch; margin: 1.1rem auto 0; }
.breadcrumb { font-family: var(--font-type); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--gold); }

/* utility */
.center { text-align: center; }
.mt-lg { margin-top: clamp(2.4rem, 6vw, 4rem); }
.muted { color: var(--muted); }
.tnum { font-family: var(--font-type); }
