/* ==========================================================================
   GILDED ARCHIVE — tokens (direction C)
   Structure inherited from design-system v0.1; this file only swaps palette
   and the display face. Do not add component rules here.
   ========================================================================== */
:root{
  /* --- forest (the "archive" ground) --- */
  --forest-950:#08170f;
  --forest-900:#0e231c;
  --forest-800:#17342a;
  --forest-700:#1e4235;
  --forest-600:#2a5546;

  /* --- gold (hairlines, seal, numerals) --- */
  --gold-600:#a8802f;
  --gold-500:#c9a35f;
  --gold-400:#d8b878;
  --gold-300:#e6cfa0;

  /* --- paper --- */
  --ivory-050:#fdfbf6;
  --ivory-100:#f7f2e6;
  --ivory-200:#efe7d5;
  --ivory-300:#e2d7c0;

  /* --- ink & status --- */
  --ink-900:#0a1229;
  --ink-700:#2c3550;
  --ink-500:#4a5779;
  --ok:#3f7d5a;
  --err:#a83f3a;

  /* --- semantic --- */
  --bg-page:var(--ivory-100);
  --bg-archive:var(--forest-900);
  --on-page:var(--ink-900);
  --on-page-dim:var(--ink-500);
  --accent:var(--gold-600);
  --accent-night:var(--gold-400);
  --rule:rgba(10,18,41,.14);
  --rule-night:rgba(201,163,95,.34);

  /* --- type --- */
  --font-display:"Bodoni Moda","Cormorant",Georgia,serif;
  --font-text:"Cormorant","Iowan Old Style",Georgia,serif;
  --font-ui:ui-sans-serif,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;

  --fs-display:clamp(2.2rem,3.6vw,3.15rem);
  --fs-h1:clamp(2rem,4vw,2.9rem);
  --fs-h2:clamp(1.4rem,2.4vw,1.85rem);
  --fs-lead:clamp(1.0625rem,1.6vw,1.25rem);
  --fs-body:1.0625rem;
  --fs-small:.875rem;
  --fs-micro:.75rem;
  --fs-eyebrow:.6875rem;
  --tracking-eyebrow:.3em;
  --tracking-display:-.018em;

  /* --- space (unchanged from the system) --- */
  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px;
  --s6:32px; --s7:48px; --s8:64px; --s9:96px; --s10:128px;

  --r-none:0; --r-sm:2px; --r-pill:999px;

  /* --- motion --- */
  --t-fast:140ms; --t-ui:180ms; --t-enter:420ms;
  --t-unseal:2600ms; --t-reveal:3600ms;
  --e-out:cubic-bezier(.16,1,.3,1);
  --e-ceremony:cubic-bezier(.22,.61,.36,1);

  /* --- elevation: three jobs --- */
  --sh-surface:inset 0 1px 0 rgba(255,255,255,.45);
  --sh-contact:0 1px 2px rgba(10,18,41,.18), 0 3px 8px -4px rgba(10,18,41,.24);
  --sh-cast:0 26px 60px -28px rgba(8,23,15,.55), 0 60px 100px -60px rgba(8,23,15,.5);
}