/* ============================================================
   SnapCardValue — "The Private Vault"
   Warm black · ivory serif · champagne gold.
   Gold appears only as hairlines, microcaps, one filled CTA,
   and the foil-stamped phrase. Never as washes. Never glows.
   ============================================================ */

:root {
  /* material */
  --bg: #0C0A09;
  --bg-deep: #090807;
  --surface: #171310;
  --surface-raised: #1F1913;
  --hairline: rgba(255, 248, 235, 0.08);
  --hairline-strong: rgba(255, 248, 235, 0.14);
  --gold-hairline: rgba(201, 169, 98, 0.28);

  /* ink */
  --ivory: #F5F1E8;
  --text-2: #AFA593;
  --text-faint: #7A7060;

  /* the single accent family */
  --gold: #C9A962;
  --gold-hi: #E6CE93;
  --gold-deep: #8C7440;
  --gold-ink: #14100B;

  /* semantics (quiet) */
  --moss: #7DA27A;

  /* category pigments — dots and spines only */
  --poke: #C9A94F;
  --magic: #B37E52;
  --yugioh: #8E7FA8;
  --sports: #77879A;

  /* type — Noto JP fonts cover Japanese glyphs (loaded per-glyph, so
     English visitors never download the CJK binaries) while Latin text
     keeps Fraunces / Schibsted / DM Mono. */
  --serif: "Fraunces", "Noto Serif JP", "Noto Sans SC", "Noto Sans Devanagari", "Noto Naskh Arabic", Georgia, serif;
  --sans: "Schibsted Grotesk", "Noto Sans JP", "Noto Sans SC", "Noto Sans Devanagari", "Noto Naskh Arabic", system-ui, sans-serif;
  --mono: "DM Mono", "Noto Sans JP", "Noto Sans SC", "Noto Sans Devanagari", "Noto Naskh Arabic", ui-monospace, monospace;

  --maxw: 1140px;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Museum lighting: one warm pool from above + edge vignette. No colored glows. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(55% 38% at 50% -6%, rgba(201, 169, 98, 0.07), transparent 70%),
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Felt tooth: 2.5% grain over everything. Kills banding, adds material. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 40;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }

a { color: var(--gold-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

::selection { background: rgba(201, 169, 98, 0.25); }

/* ---------- type voices ---------- */
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.display {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "opsz" 100;
  letter-spacing: -0.01em;
  line-height: 1.06;
  text-wrap: balance;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(12, 10, 9, 0.78);
  border-bottom: 1px solid var(--hairline);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.16rem;
  letter-spacing: 0.005em;
  color: var(--ivory);
}
.brand:hover { text-decoration: none; }
.brand svg { width: 20px; height: 26px; color: var(--gold); }
.brand-mark { width: 30px; height: 30px; object-fit: contain; display: block; }
.brand-lockup { height: 32px; width: auto; display: block; }
@media (max-width: 480px) { .brand-lockup { height: 26px; } }
/* Crisp text wordmark — the photographic lockup goes muddy at nav size. */
.brand-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  color: var(--gold-hi);
  white-space: nowrap;
}
.brand-word em { font-style: normal; color: var(--ivory); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:not(.btn):hover { color: var(--ivory); text-decoration: none; }
@media (max-width: 680px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- language switch ---------- */
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-switch::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 5px; height: 5px;
  border-right: 1px solid var(--text-2);
  border-bottom: 1px solid var(--text-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 1px solid var(--gold-hairline);
  border-radius: 6px;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 7px 24px 7px 11px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-switch select:hover { color: var(--ivory); border-color: var(--gold); }
.lang-switch select:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }
.lang-switch option { background: var(--surface); color: var(--ivory); }

/* ---------- FAQ accordions (landing pages) ---------- */
.faq { margin-top: 40px; }
.faq details { border-top: 1px solid var(--gold-hairline); }
.faq details:last-of-type { border-bottom: 1px solid var(--gold-hairline); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 17px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ivory);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 1.05rem;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p {
  margin: 0;
  padding: 0 0 18px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 72ch;
}

/* Right-to-left languages (Arabic, Urdu). dir="rtl" on <html> mirrors text
   flow and flex rows automatically; these fix the few fixed-position bits. */
html[dir="rtl"] .lang-switch::after { right: auto; left: 12px; }
html[dir="rtl"] .lang-switch select { padding-inline: 12px 30px; }
html[dir="rtl"] .ledger-row,
html[dir="rtl"] .step-row { text-align: right; }

/* Convenience-translation notice, shown only on Japanese legal pages. */
.ja-only { display: none; }
html.lang-ja .ja-only { display: block; }

/* ---------- buttons: mechanical, no glow ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 13px 24px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #B2924E);
  color: var(--gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.35), 0 1px 2px rgba(0, 0, 0, 0.5);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #F0DCA6, var(--gold-hi) 55%, var(--gold));
  box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.4), 0 1px 1px rgba(0, 0, 0, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(201, 169, 98, 0.35);
}
.btn-ghost:hover { background: rgba(201, 169, 98, 0.07); border-color: var(--gold-hairline); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 64px; } }

.hero h1 {
  font-size: clamp(2.9rem, 6.4vw, 4.9rem);
  margin: 20px 0 0;
}
.hero h1 em {
  font-style: italic;
  font-weight: 440;
  background: linear-gradient(160deg, var(--gold-hi) 10%, var(--gold) 55%, #96793F 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  color: var(--text-2);
  font-size: 1.14rem;
  line-height: 1.7;
  margin: 26px 0 0;
  max-width: 48ch;
}
.hero-cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-note {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex; align-items: center; gap: 10px;
}
.hero-note .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ---------- the slab ---------- */
.showcase {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1400px;
  padding: 24px 0 56px;
}
.slab-wrap {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  transform: rotateY(-9deg) rotateX(3deg);
  will-change: transform;
}
.slab {
  width: min(330px, 78vw);
  border-radius: 16px;
  padding: 13px 13px 15px;
  background: linear-gradient(165deg, #221B15 0%, #171310 55%, #120E0B 100%);
  border: 1px solid var(--hairline-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 235, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 50px 90px -24px rgba(0, 0, 0, 0.75),
    0 18px 36px -18px rgba(0, 0, 0, 0.6);
}
.slab-label {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%, #B2924E);
  color: var(--gold-ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 8px 11px;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.45), 0 1px 2px rgba(0, 0, 0, 0.4);
}
.slab-label .grade { font-weight: 500; }
.slab-card {
  position: relative;
  margin-top: 12px;
  aspect-ratio: 63 / 88;
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 18%, rgba(255, 248, 235, 0.06), transparent 60%),
    conic-gradient(from 160deg at 80% -18%,
      rgba(201, 169, 98, 0.34),
      rgba(142, 127, 168, 0.22) 22%,
      rgba(119, 135, 154, 0.26) 45%,
      rgba(179, 126, 82, 0.24) 70%,
      rgba(201, 169, 98, 0.34)),
    #0E0B09;
  border: 1px solid rgba(255, 248, 235, 0.06);
}
.slab-card::after {
  /* quiet inner frame, like the card's own border */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 248, 235, 0.09);
  border-radius: 6px;
  pointer-events: none;
}
.slab-id {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
}
.slab-id .name {
  font-family: var(--serif);
  font-weight: 480;
  font-size: 1.45rem;
  color: var(--ivory);
  letter-spacing: 0.005em;
}
.slab-id .meta {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.6);
  margin-top: 5px;
}
/* pointer-driven glare */
.slab-glare {
  position: absolute; inset: 0;
  background: radial-gradient(340px circle at var(--gx, 70%) var(--gy, 20%), rgba(255, 248, 235, 0.13), transparent 55%);
  mix-blend-mode: screen;
  pointer-events: none;
  border-radius: 10px;
}
/* one-shot scan sweep */
.scanline {
  position: absolute; left: 0; right: 0; top: -14%;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(230, 206, 147, 0.5), transparent);
  opacity: 0;
  pointer-events: none;
}
.played .scanline { animation: scan-once 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.75s 1 both; }
@keyframes scan-once {
  0%   { top: -14%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { top: 106%; opacity: 0; }
}

/* certificate */
.certificate {
  position: absolute;
  right: max(-6px, 1vw);
  bottom: 0;
  background: var(--surface-raised);
  border: 1px solid var(--gold-hairline);
  border-radius: 8px;
  padding: 15px 20px 13px;
  min-width: 168px;
  box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.75);
  transform: translateZ(50px);
}
.certificate .lbl {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.certificate .val {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.1rem;
  color: var(--ivory);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "tnum";
  margin-top: 3px;
  line-height: 1;
}
.certificate .src {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 7px;
}

/* load sequence (JS adds .played once fonts are ready) */
.js .hero-copy, .js .slab-wrap, .js .certificate { opacity: 0; }
.played .hero-copy { animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0s both; }
.played .slab-wrap { animation: settle 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.played .certificate { animation: rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.9s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes settle {
  from { opacity: 0; transform: rotateY(-9deg) rotateX(3deg) translateY(22px); }
  to   { opacity: 1; transform: rotateY(-9deg) rotateX(3deg) translateY(0); }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 116px) 0; position: relative; z-index: 1; }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.008em;
  line-height: 1.12;
  margin: 14px 0 0;
  text-wrap: balance;
}
.section-head p { color: var(--text-2); font-size: 1.06rem; margin: 16px 0 0; }

/* the method — editorial rows, not boxes */
.step-row {
  display: grid;
  grid-template-columns: 110px 0.9fr 1.35fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: baseline;
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--hairline);
}
.step-row:last-of-type { border-bottom: 1px solid var(--hairline); }
.step-num {
  font-family: var(--mono);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 400;
  color: rgba(201, 169, 98, 0.22);
  line-height: 1;
}
.step-row h3 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  margin: 0;
}
.step-row p { color: var(--text-2); margin: 0; font-size: 1.01rem; }
@media (max-width: 720px) {
  .step-row { grid-template-columns: 64px 1fr; }
  .step-row p { grid-column: 2; margin-top: 8px; }
}

/* the house standard — a ledger */
.ledger { border-top: 1px solid var(--hairline); }
.ledger-row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.ledger-row dt {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 3px;
}
.ledger-row dd { margin: 0; color: var(--text-2); font-size: 1.01rem; }
@media (max-width: 720px) {
  .ledger-row { grid-template-columns: 1fr; gap: 6px; }
}

/* coverage chips */
.cats { display: flex; flex-wrap: wrap; gap: 12px; }
.cat {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.05);
  font-weight: 500;
  font-size: 0.94rem;
}
.cat .dot { width: 7px; height: 7px; border-radius: 50%; }
.cat .status {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-left: 4px;
}
.cat .status.live { color: var(--gold); }

/* the manifesto */
.manifesto {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(16px, 3vw, 32px) 0;
}
.manifesto::before, .manifesto::after {
  content: "";
  display: block;
  width: 72px; height: 1px;
  background: var(--gold-hairline);
  margin: 0 auto;
}
.manifesto h2 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: clamp(28px, 4vw, 44px) 0 0;
}
.manifesto p {
  color: var(--text-2);
  font-size: 1.12rem;
  line-height: 1.75;
  margin: 20px auto clamp(28px, 4vw, 44px);
  max-width: 52ch;
}
.manifesto em { font-style: italic; color: var(--ivory); }

/* invitation */
.invite {
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-top: 1px solid var(--gold-hairline);
  border-radius: 10px;
  text-align: center;
  padding: clamp(44px, 7vw, 76px) 28px;
  box-shadow: inset 0 1px 0 rgba(255, 248, 235, 0.04), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.invite h2 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin: 14px 0 0;
}
.invite p { color: var(--text-2); font-size: 1.05rem; margin: 16px auto 0; max-width: 52ch; }
.waitlist { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.waitlist input {
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  color: var(--ivory);
  padding: 13px 18px;
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.97rem;
  min-width: 280px;
  transition: border-color 0.2s ease;
}
.waitlist input:focus { outline: none; border-color: var(--gold-hairline); }
.waitlist input::placeholder { color: var(--text-faint); }
.waitlist .btn[disabled] { opacity: 0.6; cursor: wait; }
.waitlist-msg {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 18px;
  min-height: 1.2em;
}
.waitlist-msg.ok { color: var(--moss); }
.waitlist-msg.err { color: #C57B6A; }

/* ---------- scroll reveals ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--hairline); padding: 56px 0 40px; position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .tag { color: var(--text-faint); font-size: 0.92rem; margin-top: 14px; max-width: 30ch; }
.footer h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 4px 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span { color: var(--text-2); font-size: 0.93rem; }
.footer ul a:hover { color: var(--ivory); text-decoration: none; }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  margin-top: 44px; padding-top: 26px;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- legal / document pages ---------- */
.doc { padding: clamp(56px, 9vw, 96px) 0; }
.doc .wrap { max-width: 740px; }
.doc h1 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.008em;
  margin: 14px 0 8px;
}
.doc .updated {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.doc h2 {
  font-family: var(--serif);
  font-weight: 480;
  font-size: 1.45rem;
  margin: 48px 0 12px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}
.doc h3 { font-size: 1.02rem; font-weight: 600; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text-2); font-size: 1.01rem; line-height: 1.75; }
.doc p { margin: 0 0 16px; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc strong { color: var(--ivory); font-weight: 600; }
.doc .intro { color: var(--ivory); font-size: 1.07rem; }
.doc .note {
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--gold);
  background: var(--surface);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 26px 0;
}
.doc .note p { margin: 0; font-size: 0.97rem; }

/* ---------- 404 ---------- */
.lost {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 28px;
}
.lost .num {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}
.lost h1 { font-family: var(--serif); font-weight: 480; font-size: clamp(2rem, 5vw, 3rem); margin: 18px 0 10px; }
.lost p { color: var(--text-2); margin: 0 0 30px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
  .js .hero-copy, .js .slab-wrap, .js .certificate, .js .reveal { opacity: 1 !important; transform: none !important; }
  .slab-wrap { transform: rotateY(-9deg) rotateX(3deg) !important; }
}
