/* Raxi Win Guide — "Annotated Dossier" editorial system
   Palette derived from the supplied logo: oxblood field, ember lettering, crown gold.
   Shared by the React preview and the static export. */

:root {
  --paper: #f5ede3;
  --paper-2: #efe3d5;
  --card: #fbf6ef;
  --ink: #2a1512;
  --ink-2: #5a3d36;
  --ink-3: #8a6d64;
  --rule: #dfcdbb;
  --oxblood: #6b1013;
  --oxblood-2: #4c0a0d;
  --ember: #d9432f;
  --ember-soft: #f6d4c9;
  --gold: #e3a940;
  --gold-soft: #f6e2b5;
  --focus: #1f5f8b;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1240px;
  --header-h: 68px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before { /* paper grain */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .4  0 0 0 0 .25  0 0 0 0 .2  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- Notice strip + header ---------- */
.notice-strip { background: var(--ink); color: #f1e2d6; font-size: .8125rem; line-height: 1.4; padding: 8px 0; }
.notice-strip strong { color: var(--gold); font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 237, 227, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.mark { width: 38px; height: 38px; flex: none; }
.mark rect { fill: var(--oxblood); }
.mark path { fill: var(--gold-soft); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.brand-tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: background-color .2s var(--ease), color .2s var(--ease); }
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current='page'] { color: var(--oxblood); background: var(--ember-soft); }
.age-pill { font-weight: 700; font-size: .78rem; border: 1.5px solid var(--oxblood); color: var(--oxblood); border-radius: 999px; padding: 3px 9px; }

.menu-toggle { display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--ink); cursor: pointer; }
.menu-bars { display: grid; gap: 5px; width: 18px; }
.menu-bars span { height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease); }
.menu-toggle[aria-expanded='true'] .menu-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .brand-tag { display: none; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--card); border-bottom: 1px solid var(--rule); padding: 12px 22px 20px; flex-direction: column; align-items: stretch; box-shadow: 0 18px 30px -20px rgba(76, 10, 13, .35); }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px 10px; border-radius: 10px; font-size: 1.05rem; }
  .site-nav .age-pill { align-self: flex-start; }
  .js .site-nav:not(.is-open) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #8d1a1b 0%, var(--oxblood) 45%, var(--oxblood-2) 100%);
  color: #f7e6da;
  padding: 72px 0 84px;
}
.hero::after { content: ''; position: absolute; inset: auto -10% -1px -10%; height: 46px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-soft); margin-bottom: 18px; }
.kicker .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ember); }
.hero-title {
  font-size: clamp(4.2rem, 13vw, 9.5rem);
  line-height: .9; letter-spacing: -.035em; font-weight: 700;
  font-variation-settings: 'opsz' 144, 'SOFT' 50;
  color: #fff3ea;
}
.hero-deck { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.45; max-width: 34ch; margin: 22px 0 30px; color: #f2d6c9; }
.guide-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 620px; }
.guide-link {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center;
  padding: 14px 16px; border-radius: 12px; text-decoration: none;
  background: rgba(255, 240, 228, .07); border: 1px solid rgba(246, 212, 201, .22);
  color: #fff3ea; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.guide-link:hover { background: rgba(255, 240, 228, .14); border-color: var(--gold); color: #fff; transform: translateY(-1px); }
.guide-link:first-child { background: var(--gold); border-color: var(--gold); color: var(--oxblood-2); }
.guide-link:first-child .guide-link-note { color: #6b3a14; }
.guide-link:first-child:hover { background: #edb954; color: var(--oxblood-2); }
.guide-link-label { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.guide-link-note { grid-column: 1; font-size: .8rem; color: #e7c3b4; line-height: 1.3; }
.guide-link .arrow { grid-row: 1 / span 2; grid-column: 2; width: 16px; height: 16px; }
.hero-fineprint { font-size: .8rem; color: #d9b2a3; margin: 16px 0 0; max-width: 56ch; }

.specimen { margin: 0; justify-self: center; max-width: 360px; width: 100%; }
.specimen-frame { position: relative; border-radius: 22px; padding: 12px; background: rgba(255, 240, 228, .08); border: 1px solid rgba(246, 212, 201, .25); transform: rotate(2.5deg); box-shadow: 0 40px 60px -30px rgba(20, 0, 0, .7); }
.specimen-frame::before { content: ''; position: absolute; inset: -14px 26px auto auto; width: 74px; height: 24px; background: rgba(246, 226, 181, .75); transform: rotate(8deg); border-radius: 3px; }
.specimen-img { border-radius: 14px; width: 100%; aspect-ratio: 1 / 1; }
.specimen figcaption { font-size: .82rem; color: #e2bfb1; margin-top: 22px; line-height: 1.5; }
.tag { display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--oxblood-2); background: var(--gold-soft); border-radius: 4px; padding: 2px 7px; margin-right: 8px; }

@media (max-width: 900px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .specimen { max-width: 260px; justify-self: start; }
}
@media (max-width: 560px) { .guide-links { grid-template-columns: 1fr; } }

/* ---------- Read first ledger ---------- */
.hero-simple { padding: 64px 0 76px; }
.hero-simple::after { display: none; }
.hero-simple-inner { text-align: center; }
.hero-simple .hero-title { font-size: clamp(4rem, 12vw, 9rem); margin: 0; }
.account-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.account-button { display: inline-flex; align-items: center; justify-content: center; min-width: 168px; min-height: 54px; padding: 14px 32px; border: 1px solid var(--gold); border-radius: 10px; font-size: 1.05rem; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s; }
.account-button-login { background: var(--gold); color: var(--oxblood-2); }
.account-button-login:hover { background: #edb954; color: var(--oxblood-2); }
.account-button-register { background: transparent; color: #fff3ea; }
.account-button-register:hover { background: rgba(255, 240, 228, .12); color: #fff; }
@media (max-width: 560px) {
  .hero-simple { padding: 44px 0 48px; }
  .account-actions { gap: 12px; margin-top: 26px; }
  .account-button { min-width: 0; flex: 1; max-width: 190px; padding-inline: 18px; }
}

.read-first { padding: 44px 0 10px; }
.read-first-inner { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: start; }
.eyebrow-title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ember); font-weight: 700; padding-top: 6px; border-top: 3px solid var(--ember); }
.ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.15fr 1fr 1fr; border-top: 1px solid var(--rule); }
.ledger li { display: flex; gap: 14px; padding: 18px 20px 6px 0; border-bottom: 1px solid var(--rule); font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.ledger li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.ledger-num { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--oxblood); font-weight: 600; }
.ledger-title { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 900px) {
  .read-first-inner { grid-template-columns: 1fr; gap: 16px; }
  .eyebrow-title { justify-self: start; }
  .ledger { grid-template-columns: 1fr; }
  .ledger li + li { padding-left: 0; border-left: 0; }
}

/* ---------- Article layout ---------- */
.article-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; padding-top: 48px; padding-bottom: 40px; }
.article { max-width: 760px; min-width: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.toc-side { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; padding-right: 6px; }
.toc-head { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); margin-bottom: 10px; }
.toc-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.toc-list > li > a { display: flex; gap: 10px; padding: 7px 10px; margin-left: -10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: .92rem; line-height: 1.35; transition: background-color .2s var(--ease), color .2s var(--ease); }
.toc-list a:hover { background: var(--paper-2); color: var(--ink); }
.toc-num { font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: .78rem; padding-top: 2px; }
.toc-sub { list-style: none; margin: 0 0 4px 26px; padding: 0 0 0 10px; border-left: 1px solid var(--rule); }
.toc-sub a { display: block; padding: 4px 8px; font-size: .84rem; color: var(--ink-3); text-decoration: none; border-radius: 6px; }
.toc-list a.is-active { color: var(--oxblood); background: var(--ember-soft); }
.toc-list a.is-active .toc-num { color: var(--oxblood); }
.progress { height: 3px; background: var(--rule); border-radius: 3px; margin-top: 16px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--ember); transform-origin: 0 50%; transform: scaleX(0); }

.toc-inline { display: none; margin-bottom: 28px; }
.toc-inline details { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.toc-inline summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 600; }
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--oxblood); margin-left: 12px; }
.toc-inline details[open] summary::after { content: '\2212'; }
.toc-count { font-weight: 400; color: var(--ink-3); font-size: .85rem; margin-left: auto; }
.toc-inline .toc-list { padding: 0 18px 14px; }
.toc-inline .toc-list > li > a { margin-left: 0; }

@media (max-width: 1000px) {
  .article-grid { grid-template-columns: 1fr; gap: 0; padding-top: 32px; }
  .toc-side { display: none; }
  .toc-inline { display: block; }
  .article { max-width: none; }
}

/* ---------- Article typography ---------- */
.article p { color: var(--ink); }
.art-section { padding: 8px 0 26px; }
.art-section + .art-section { border-top: 1px solid var(--rule); padding-top: 40px; }
.intro-label { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--ember); }
.lede { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.45; font-weight: 400; letter-spacing: -.005em; }
.lede::first-letter { float: left; font-size: 4.4em; line-height: .82; padding: .06em .1em 0 0; color: var(--oxblood); font-weight: 700; }
.art-h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 18px; }
.sec-num { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--paper); background: var(--oxblood); border-radius: 6px; padding: 3px 7px; transform: translateY(-.35em); flex: none; }
.intro-label .sec-num { transform: none; }
.art-h3 { font-size: 1.35rem; margin: 30px 0 10px; padding-left: 14px; border-left: 3px solid var(--gold); }

/* ---------- Exhibits ---------- */
.exhibit { margin: 34px 0 30px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.exhibit-wide { margin-left: -24px; margin-right: -24px; }
.exhibit-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 14px 18px; border-bottom: 1px dashed var(--rule); }
.exhibit-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.exhibit-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-right: auto; }
.stamp { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ember); border: 1.5px solid var(--ember); border-radius: 4px; padding: 3px 8px; transform: rotate(-2deg); }
.exhibit-body { padding: 18px; background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(107, 16, 19, .025) 14px 15px); }
.exhibit-note { padding: 14px 18px 18px; font-size: .9rem; line-height: 1.6; color: var(--ink-2); border-top: 1px solid var(--rule); }
.exhibit-note strong { color: var(--oxblood); }
.banner-wrap { position: relative; border-radius: 10px; overflow: hidden; }
.banner-wrap img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.flag { position: absolute; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--paper); color: var(--oxblood); padding: 5px 9px; border-radius: 4px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45); }
.flag-name { top: 12px; left: 50%; transform: translateX(-50%) rotate(-2deg); }
.flag-claims { bottom: 12px; left: 12px; background: var(--ember); color: #fff6f0; }

.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 520px; margin: 0 auto; }
.phone-offset { margin-top: 34px; }
.phone-shell { border-radius: 26px; padding: 8px; background: var(--ink); box-shadow: 0 26px 40px -24px rgba(42, 21, 18, .65); }
.phone-shell img { border-radius: 19px; width: 100%; }
.phone-cap { text-align: center; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin: 10px 0 0; }

@media (max-width: 1000px) { .exhibit-wide { margin-left: 0; margin-right: 0; } }

/* ---------- Asides ---------- */
.checklist { margin: 28px 0 10px; padding: 24px 24px 18px; background: var(--ink); color: #f1e2d6; border-radius: 18px; }
.aside-kicker { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 6px; }
.checklist-title { font-size: 1.4rem; color: #fff3ea; margin-bottom: 14px; }
.checklist ol { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.checklist li { counter-increment: c; position: relative; padding: 10px 0 10px 40px; border-top: 1px solid rgba(241, 226, 214, .14); font-size: .95rem; line-height: 1.5; }
.checklist li::before { content: counter(c); position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--gold); color: var(--oxblood-2); }

.margin-note { margin: 6px 0 20px; padding: 12px 16px; border-left: 3px solid var(--ember); background: var(--ember-soft); border-radius: 0 10px 10px 0; font-size: .9rem; line-height: 1.55; color: var(--ink-2); }
.margin-note-label { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--oxblood); margin-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: var(--oxblood); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 1.12rem; font-weight: 600; }
.faq-icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--paper-2); }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--oxblood); border-radius: 2px; transition: transform .2s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--oxblood); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--paper); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

.conclusion p:last-child { font-weight: 500; }

/* ---------- Closing band ---------- */
.closing { background: var(--paper-2); border-top: 1px solid var(--rule); padding: 56px 0; }
.closing-inner { display: flex; gap: 28px; align-items: flex-start; max-width: 900px; }
.closing-title { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 12px; }
.closing p { color: var(--ink-2); }
.closing-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.age-seal { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; font-size: .95rem; }
.age-seal.big { width: 84px; height: 84px; font-size: 1.4rem; border-color: var(--oxblood); color: var(--oxblood); border-width: 3px; font-family: var(--font-display); }
@media (max-width: 600px) { .closing-inner { flex-direction: column; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--oxblood-2); color: #e9cfc3; padding: 24px 0; font-size: .92rem; }
.site-footer a { color: #fbe6da; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-title { font-family: var(--font-display); font-size: 1.4rem; color: #fff3ea; font-weight: 600; margin-bottom: 10px; }
.footer-head { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.footer-row { display: flex; justify-content: center; }
.footer-row .footer-nav { width: 100%; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 560px) { .footer-nav ul { gap: 4px 20px; } }
.footer-placeholder { font-size: .82rem; color: #c99c8d; }
.footer-notice { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(233, 207, 195, .18); margin-top: 40px; padding-top: 18px; font-size: .82rem; color: #c99c8d; }
.footer-base p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Supporting pages ---------- */
.page-head { background: var(--oxblood); color: #f7e6da; padding: 54px 0 48px; position: relative; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #e2bfb1; margin-bottom: 18px; }
.crumbs a { color: var(--gold-soft); }
.page-title { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.025em; font-weight: 700; }
.page-deck { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; margin: 16px 0 0; max-width: 46ch; color: #f2d6c9; }
.prose { padding-top: 44px; padding-bottom: 64px; }
.prose h2 { font-size: 1.55rem; margin: 34px 0 12px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--ember); }
.meta-line { font-size: .88rem; color: var(--ink-3); }
.placeholder { background: var(--gold-soft); color: #6b3a14; border: 1px dashed #c58a2a; border-radius: 4px; padding: 1px 6px; font-size: .92em; }
.contact-card { display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; background: var(--card); border: 1px solid var(--rule); border-radius: 18px; padding: 22px; margin-bottom: 24px; }
.contact-card p { margin: 0; }
.contact-label { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); padding-top: 3px; }
@media (max-width: 560px) { .contact-card { grid-template-columns: 1fr; } .contact-label { padding-top: 10px; } }
.warning-box { margin-top: 28px; padding: 18px 20px; background: var(--ember-soft); border-left: 4px solid var(--ember); border-radius: 0 12px 12px 0; }
.warning-title { font-weight: 700; color: var(--oxblood); margin-bottom: 4px; }
.warning-box p:last-child { margin: 0; }

/* ---------- 404 ---------- */
.nf { padding: 80px 0 100px; }
.nf-code { font-family: var(--font-display); font-size: clamp(6rem, 22vw, 12rem); line-height: .85; font-weight: 700; color: var(--oxblood); margin: 0 0 10px; letter-spacing: -.04em; }
.nf .page-deck { color: var(--ink-2); }
.nf-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn, .btn-ghost { display: inline-block; padding: 12px 20px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.btn { background: var(--oxblood); color: #fff3ea; }
.btn:hover { background: var(--ember); color: #fff; }
.btn-ghost { border: 1.5px solid var(--oxblood); color: var(--oxblood); }
.btn-ghost:hover { background: var(--oxblood); color: #fff3ea; }

/* ---------- Gentle reveal (opt-in via JS, motion-safe only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
