/* ==========================================================================
   TRACKDAY BRAND — v3
   Governing idea: THE MARK STAYS FLAT, THE WORLD AROUND IT BECOMES PHYSICAL.
   Depth belongs to paper, board, ink, foil and light. Never to the mark.
   Palette and clear space come from brand/tokens.json (identity v1.2). The
   custom properties below are generated by site/build_v3.py — see the marker.
   Type (guidelines p.07):    Cinzel 600/500 display · Montserrat 400/500/600
   Tracking is taken verbatim from p.07 — see the .t-* classes.
   ========================================================================== */

/* ------------------------------------------------------------- tokens ---- */
:root {
  /* >>> brand tokens generated from brand/tokens.json — do not hand-edit */
  --bone: #F2ECE4;          /* ground */
  --sand: #C8A97A;          /* rules */
  --forest: #3A4036;        /* muted-text */
  --char: #1A1A1A;          /* primary-text */
  --steel: #8C8C8C;         /* hairlines */
  --clear-space: 0.30;
  /* <<< end brand tokens */

  /* derived grounds — planes stacked above/below the primary dark */
  --ink: #121212;          /* deepest plane / recessed */
  --char-lift: #232323;    /* raised plane above charcoal */
  --forest-deep: #2C312A;  /* recessed forest */
  --forest-lift: #454C41;  /* raised forest */

  /* text on dark grounds (all AA-verified against --char and --forest) */
  --on-dark: #F2ECE4;
  --on-dark-soft: #CFC7BA;
  --on-dark-mute: #ADA69A;

  /* foil hairlines */
  --foil: rgba(200,169,122,0.55);
  --foil-soft: rgba(200,169,122,0.24);
  --hair-dark: rgba(242,236,228,0.14);
  --hair-light: rgba(26,26,26,0.16);

  --wrap: 1180px;
  --narrow: 720px;
  --ease: cubic-bezier(.22,.68,.24,1);
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--char);
  color: var(--on-dark);
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  /* p.07 — BODY COPY: tracking +20, leading 1.85x */
  letter-spacing: 0.02em;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }

/* ------------------------------------------------ tracking, per page 07 -- */
/* BRAND / SUB-LINE — Montserrat 500, +520, all caps */
.t-subline { font-weight: 500; text-transform: uppercase; letter-spacing: 0.52em; }
/* TRD / MRK — Montserrat 600, +140, all caps */
.t-mrk     { font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
/* TAGLINES — Montserrat 500, +190, leading 1.6x cap */
.t-tagline { font-weight: 500; text-transform: uppercase; letter-spacing: 0.19em; line-height: 1.6; }
/* BODY — Montserrat 400/500, +20, leading 1.85x */
.t-body    { font-weight: 400; letter-spacing: 0.02em; line-height: 1.85; }

/* ----------------------------------------------------------- typography -- */
h1, h2, h3, h4 {
  font-family: Cinzel, "Times New Roman", Georgia, serif;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0.06em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); letter-spacing: 0.05em; }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.35rem); }
h3 { font-size: 1.06rem; letter-spacing: 0.09em; }
h4 { font-size: 0.86rem; letter-spacing: 0.12em; }
p  { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.045rem; color: var(--on-dark-soft); max-width: 62ch; }
.s-bone .lede { color: #3C3A36; }

.label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;   /* TRD/MRK register */
  color: var(--sand);
  margin: 0 0 14px;
}
.s-bone .label { color: #6B5327; }

.meta {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--on-dark-mute);
  line-height: 1.6;
}
.s-bone .meta { color: #55534E; }

.eyebrow {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.52em;   /* sub-line register */
  color: var(--sand);
  margin-bottom: 16px;
}
.s-bone .eyebrow { color: #6B5327; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--bone); color: var(--char); padding: 10px 16px;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ------------------------------------------------------------- surfaces -- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: var(--narrow); }

section { position: relative; padding: 96px 0; }
.section--tight { padding: 60px 0; }
.section--flush-top { padding-top: 0; }

.s-char   { background: var(--char); color: var(--on-dark); }
.s-ink    { background: var(--ink); color: var(--on-dark); }
.s-forest { background: var(--forest); color: var(--on-dark); }
.s-bone   { background: var(--bone); color: #24221F; }
.s-bone h1, .s-bone h2, .s-bone h3, .s-bone h4 { color: var(--char); }
.s-bone a { color: var(--char); }

/* paper grain — feTurbulence, held at 3% so it reads as tooth, not noise */
.s-char::before, .s-ink::before, .s-forest::before, .s-bone::before,
.grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.032;
  mix-blend-mode: overlay;
  z-index: 0;
}
.s-bone::before { opacity: 0.045; mix-blend-mode: multiply; }
section > * { position: relative; z-index: 1; }

/* directional light falloff / vignette on dark grounds */
.vignette::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 8%, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0) 46%),
    radial-gradient(120% 120% at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

/* engraved guilloche hairline field */
.engraved::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: repeating-linear-gradient(
    -38deg, rgba(200,169,122,0.10) 0 1px, rgba(200,169,122,0) 1px 9px);
  opacity: .5;
}

/* --------------------------------------------------------- ornamentation - */
/* double keyline + corner ticks */
.keyline {
  position: relative;
  border: 1px solid var(--hair-dark);
  outline: 1px solid rgba(242,236,228,0.06);
  outline-offset: 5px;
}
.s-bone .keyline { border-color: var(--hair-light); outline-color: rgba(26,26,26,0.07); }

.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 13px; height: 13px; pointer-events: none;
}
.ticks::before { top: -1px; left: -1px; border-top: 1px solid var(--sand); border-left: 1px solid var(--sand); }
.ticks::after  { bottom: -1px; right: -1px; border-bottom: 1px solid var(--sand); border-right: 1px solid var(--sand); }

/* rule-and-dot divider */
.rule-dot {
  display: flex; align-items: center; gap: 12px;
  margin: 34px 0; color: var(--foil);
}
.rule-dot::before, .rule-dot::after {
  content: ""; flex: 1; height: 1px; background: currentColor; opacity: .6;
}
.rule-dot i {
  width: 6px; height: 6px; background: var(--sand);
  transform: rotate(45deg); display: block;
}
.s-bone .rule-dot { color: rgba(107,83,39,0.5); }

hr.rule { border: 0; height: 1px; background: var(--hair-dark); margin: 30px 0; }
.s-bone hr.rule { background: var(--hair-light); }

/* ribbon banner */
.ribbon {
  display: inline-block; position: relative;
  background: var(--forest);
  color: var(--bone);
  padding: 8px 22px;
  font-size: .62rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), inset 0 -1px 0 rgba(0,0,0,.35);
}
.ribbon::before, .ribbon::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 9px; background: inherit;
}
.ribbon::before { left: -9px; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.ribbon::after  { right: -9px; clip-path: polygon(0 0, 100% 50%, 0 100%); }

/* oval cartouche */
.cartouche {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--foil);
  border-radius: 50%/50%;
  padding: 9px 26px;
  font-size: .6rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--sand);
  box-shadow: 0 0 0 3px rgba(200,169,122,0.09);
}
.s-bone .cartouche { color: #6B5327; border-color: rgba(107,83,39,.45); }

/* edition numeral */
.edition {
  font-family: Cinzel, Georgia, serif; font-weight: 600;
  font-size: 2.6rem; line-height: 1; letter-spacing: .04em; color: var(--sand);
  display: block;
}

/* inset bone paper panel — letterpress deboss into the dark board */
.paper {
  position: relative;
  background: var(--bone);
  color: #24221F;
  padding: 34px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(0,0,0,.14),
    0 1px 0 rgba(255,255,255,.05),
    0 20px 44px -26px rgba(0,0,0,.85);
}
.paper h1, .paper h2, .paper h3, .paper h4 { color: var(--char); }
.paper .label { color: #6B5327; }
.paper .meta  { color: #55534E; }
.paper .lede  { color: #3C3A36; }
.paper::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)'/%3E%3C/svg%3E");
  opacity: .04; mix-blend-mode: multiply;
}
.paper > * { position: relative; }

/* deboss — a channel pressed into the board */
.deboss {
  background: #171717;
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,.85),
    inset 0 -1px 0 rgba(242,236,228,.07);
}

/* raised board plane */
.board {
  position: relative;
  background: var(--char-lift);
  box-shadow:
    inset 0 1px 0 rgba(242,236,228,.07),
    inset 0 -1px 0 rgba(0,0,0,.6),
    0 22px 46px -30px rgba(0,0,0,.9);
}

/* --------------------------------------------------------------- marks --- */
/* Marks are placed as <img> from the supplied master files. They are never
   recoloured, rotated, outlined, shadowed or stretched. The frame supplies
   clear space: 0.30 x diameter, reduced to 0.15 only in tight digital chrome. */
.mark { display: block; height: auto; }
.mark-frame { display: inline-block; line-height: 0; }
.mark-frame--plate { background: var(--bone); }

/* ------------------------------------------------------------- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18,18,18,0.94);
  backdrop-filter: saturate(120%) blur(6px);
  border-bottom: 1px solid var(--foil-soft);
  box-shadow: 0 1px 0 rgba(0,0,0,.9), 0 10px 26px -22px rgba(0,0,0,1);
}
.site-header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.brandlink { display: inline-flex; align-items: center; text-decoration: none; }
/* Bone label plate staged behind the horizontal lockup: the mark is never
   recoloured, so the ground is changed instead. Padding = 0.15 x mark height
   vertically and generously more horizontally. */
.brandlink .mark-frame {
  background: var(--bone);
  padding: 13px 22px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.18), 0 6px 16px -10px rgba(0,0,0,.9);
}
.brandlink img { width: 148px; }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; color: var(--bone);
  border: 1px solid var(--foil);
  padding: 9px 15px; font: inherit; font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.nav { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--on-dark-soft);
  font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 0; position: relative; transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--sand); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--bone); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--bone); }
.nav a.is-soon::before {
  content: "•"; color: var(--sand); margin-right: 6px;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid var(--foil-soft);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 6px 28px 18px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--hair-dark); }
  .brandlink img { width: 122px; }
}

/* --------------------------------------------------------------- hero ---- */
.hero { padding: 0; overflow: hidden; }
.hero__inner { padding-block: 84px 72px; }
.hero__grid {
  display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  gap: 56px; align-items: center;
}
/* Badge staging: the dark-ground master file, on its own recessed plane,
   with clear space held at 0.30 x diameter. Nothing enters the frame. */
.hero__badge-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: #151515;
  box-shadow:
    inset 0 1px 0 rgba(242,236,228,.08),
    inset 0 -2px 4px rgba(0,0,0,.7),
    0 30px 60px -34px rgba(0,0,0,1);
  border: 1px solid var(--hair-dark);
  padding: 0;
}
.hero__badge-stage::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid var(--foil-soft);
}
.hero__badge-frame {
  /* clear space X = 0.30 x badge diameter */
  padding: calc(240px * 0.30);
}
.hero__badge-frame img { width: 240px; }

.hero__title { margin-bottom: 18px; }
.hero__title span { display: block; }
.hero__tag {
  font-size: .66rem; color: var(--sand); margin: 0 0 26px;
}
.hero__facts {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0; margin: 34px 0 0; border-top: 1px solid var(--hair-dark);
}
.hero__facts > div {
  padding: 16px 16px 14px 0;
  border-right: 1px solid var(--hair-dark);
}
.hero__facts > div:last-child { border-right: 0; }
.hero__facts dt {
  font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mute); margin-bottom: 6px;
}
.hero__facts dd {
  margin: 0; font-family: Cinzel, Georgia, serif; font-size: .98rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--bone);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__badge-frame { padding: calc(168px * 0.30); }
  .hero__badge-frame img { width: 168px; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero__facts > div:nth-child(2n) { border-right: 0; }
}

/* --------------------------------------------------------------- strip --- */
.timing-strip {
  height: 15px; background: var(--ink);
  border-top: 1px solid var(--foil-soft); border-bottom: 1px solid var(--foil-soft);
  overflow: hidden;
}
.timing-strip svg { display: block; width: 100%; height: 15px; }

/* --------------------------------------------------------------- grids --- */
.grid { display: grid; gap: 30px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- cards --- */
.card {
  position: relative; display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--char-lift);
  border: 1px solid var(--hair-dark);
  box-shadow: inset 0 1px 0 rgba(242,236,228,.06), 0 16px 34px -26px rgba(0,0,0,1);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--foil-soft);
  box-shadow: inset 0 1px 0 rgba(242,236,228,.09), 0 28px 50px -28px rgba(0,0,0,1);
}
.card__art { position: relative; background: var(--ink); overflow: hidden; }
.card__art svg, .card__art img { display: block; width: 100%; }
.card__body { padding: 22px 24px 26px; }
.card__row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.card h3 { margin-bottom: 10px; color: var(--bone); }
.card__hook { font-size: .9rem; color: var(--on-dark-soft); margin-bottom: 14px; }
.card__specs {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  border-top: 1px solid var(--hair-dark); padding-top: 12px;
  font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mute);
}

/* ------------------------------------------------------ livery plates ---- */
.plate {
  position: relative;
  background: var(--ink);
  padding: 16px;
}
.plate__field {
  position: relative;
  border: 1px solid rgba(242,236,228,.18);
  box-shadow: inset 0 2px 6px rgba(0,0,0,.55);
  overflow: hidden;
}
.plate__field svg { display: block; width: 100%; height: auto; }
.plate__caption {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 12px;
  font-size: .58rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mute);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { display: flex; align-items: center; gap: 9px; }
.chip__swatch {
  width: 22px; height: 22px; flex: none;
  border: 1px solid rgba(242,236,228,.25);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.35);
}
.chip__text { line-height: 1.35; }
.chip__name {
  display: block; font-size: .58rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--bone);
}
.chip__hex {
  display: block; font-size: .56rem; font-weight: 500; letter-spacing: .1em;
  color: var(--on-dark-mute);
}
.s-bone .chip__name { color: var(--char); }
.s-bone .chip__hex { color: #55534E; }
.s-bone .chip__swatch { border-color: rgba(26,26,26,.25); }

.livery-card .card__body { padding-top: 18px; }
.livery-card .plate { padding: 14px; }

/* ------------------------------------------------------- photo regions --- */
/* Hero-car image regions. Photographs are split-toned at build time (Forest
   shadow → Sandstone highlight), so no CSS filter is applied here — filtering
   a pre-toned file a second time only muddies it. Empty slots keep the
   reserved-plate treatment. */
.photo-slot {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #171717;
  border: 1px solid var(--hair-dark);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.7);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; overflow: hidden; text-align: center; padding: 24px;
}
.photo-slot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    -38deg, rgba(200,169,122,0.11) 0 1px, rgba(200,169,122,0) 1px 10px);
}
.photo-slot::after {
  content: ""; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid var(--foil-soft);
}
.photo-slot img.photo-duotone {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  display: block;
}
/* A filled slot drops both the hatching and the inset foil border — an inner
   rule drawn across a photograph reads as a printing fault, not a frame. The
   outer 1px slot border is enough to seat the image on the board. */
.photo-slot--filled { padding: 0; }
.photo-slot--filled::before,
.photo-slot--filled::after { content: none; }

.photo-credit {
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 500; line-height: 1.8;
  letter-spacing: .04em; color: var(--on-dark-mute);
}
.photo-credit a { color: var(--sand); text-decoration: none; border-bottom: 1px solid var(--foil-soft); }
.photo-credit a:hover { color: var(--bone); border-bottom-color: var(--sand); }

/* ---------------------------------------------------------- credits page --- */
.credit-list { display: grid; gap: 54px; }
.credit-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px; align-items: start;
  padding-bottom: 54px; border-bottom: 1px solid var(--hair-dark);
}
.credit-row:last-child { padding-bottom: 0; border-bottom: 0; }
.credit-row__body h3 { font-size: 1.5rem; line-height: 1.2; }
.credit-row__body h3 a { color: inherit; text-decoration: none; }
.credit-row__body h3 a:hover { color: var(--sand); }
.credit-row__plate a { display: block; }
@media (max-width: 780px) {
  .credit-row { grid-template-columns: 1fr; gap: 22px; padding-bottom: 40px; }
  .credit-list { gap: 40px; }
}
.photo-slot__note {
  position: relative; z-index: 2;
  font-size: .58rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--on-dark-mute); line-height: 1.6; max-width: 34ch;
}
.photo-slot__rule { position: relative; z-index: 2; width: 42px; height: 1px; background: var(--foil); }

/* de-emphasised archive drawings — small, secondary, never a headline */
.drawing {
  position: relative;
  background: #161616;
  border: 1px solid var(--hair-dark);
  padding: 14px 16px 12px;
  max-width: 340px;
}
.drawing img { display: block; width: 100%; opacity: .5; filter: grayscale(1); }
.drawing figcaption {
  margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--hair-dark);
  font-size: .55rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #97918A;
}

/* --------------------------------------------------------------- specs --- */
table.spec { width: 100%; border-collapse: collapse; font-size: .86rem; }
table.spec th, table.spec td {
  text-align: left; vertical-align: top; padding: 11px 0;
  border-bottom: 1px solid var(--hair-dark);
}
table.spec th {
  width: 34%; padding-right: 18px; font-weight: 600; font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sand);
}
table.spec td { color: var(--on-dark-soft); }
.s-bone table.spec th, .paper table.spec th { color: #6B5327; }
.s-bone table.spec td, .paper table.spec td { color: #3C3A36; }
.s-bone table.spec th, .s-bone table.spec td,
.paper table.spec th, .paper table.spec td { border-bottom-color: var(--hair-light); }

/* ------------------------------------------------------------- buttons --- */
.btn {
  display: inline-block; text-decoration: none;
  font-size: .64rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  padding: 14px 26px;
  background: var(--bone); color: var(--char);
  border: 1px solid var(--bone);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 10px 22px -16px rgba(0,0,0,.95);
  transition: transform .22s var(--ease), background .22s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: #fff; }
.btn:active { transform: translateY(0); box-shadow: inset 0 2px 3px rgba(0,0,0,.3); }
.btn--ghost {
  background: transparent; color: var(--bone); border-color: var(--foil);
  box-shadow: inset 0 0 0 3px rgba(200,169,122,.07);
}
.btn--ghost:hover { background: rgba(200,169,122,.12); }
.btn--dark { background: var(--char); color: var(--bone); border-color: var(--char); }
.btn--dark:hover { background: #000; }
.paper .btn--dark, .s-bone .btn--dark { color: var(--bone); }

/* ---------------------------------------------------------- filter bars -- */
.filterbar {
  border-top: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark);
  padding: 20px 0; margin: 30px 0 26px;
  display: grid; gap: 16px;
}
.filterrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filterrow > .filterrow__label {
  font-size: .58rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--on-dark-mute); margin-right: 6px; min-width: 76px;
}
.filter {
  font: inherit; cursor: pointer;
  font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 15px;
  background: transparent; color: var(--on-dark-soft);
  border: 1px solid var(--hair-dark);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--foil); color: var(--bone); }
.filter[aria-pressed="true"] {
  background: var(--sand); border-color: var(--sand); color: #17150F;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.2);
}
.filter-count { font-size: .62rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-dark-mute); }
.is-hidden { display: none !important; }
.empty-state {
  border: 1px dashed var(--hair-dark); padding: 46px 24px; text-align: center;
  color: var(--on-dark-mute); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
}

/* ------------------------------------------------------------ editorial -- */
.editorial { max-width: 66ch; }
.editorial p { color: var(--on-dark-soft); }
.editorial h3 { margin: 34px 0 14px; color: var(--bone); }
.s-bone .editorial h3, .paper .editorial h3 { color: var(--char); }
.s-bone .editorial p { color: #3C3A36; }
.dropcap::first-letter {
  float: left; font-family: Cinzel, Georgia, serif; font-weight: 600;
  font-size: 3.5rem; line-height: .82; padding: 6px 12px 0 0; color: var(--sand);
}
.pullquote {
  margin: 38px 0; padding: 30px 34px;
  border-top: 1px solid var(--foil); border-bottom: 1px solid var(--foil);
  background: rgba(200,169,122,.045);
}
.pullquote p {
  font-family: Cinzel, Georgia, serif; font-size: 1.22rem; line-height: 1.4;
  text-transform: uppercase; letter-spacing: .05em; color: var(--bone); margin: 0 0 12px;
}
.pullquote cite {
  font-style: normal; font-size: .6rem; font-weight: 600; letter-spacing: .19em;
  text-transform: uppercase; color: var(--sand);
}
.sources { font-size: .74rem; color: var(--on-dark-mute); line-height: 1.75; }
.sources a { color: var(--sand); }
.s-bone .sources { color: #55534E; }
.s-bone .sources a { color: #6B5327; }

/* Light-ground (Bone paper panel) overrides. Sandstone on Bone is 1.9:1 and is
   never used for text; a darker gold register (#6B5327, 6.1:1) stands in. */
.paper, .paper p, .paper td { color: #3C3A36; }
.paper h1, .paper h2, .paper h3, .paper h4, .paper a { color: var(--char); }
.paper .eyebrow, .paper .label, .paper .cartouche { color: #6B5327; }
.paper .cartouche { border-color: rgba(107,83,39,.45); }
.paper .meta, .paper .sources { color: #55534E; }
.paper .sources a { color: #6B5327; }
.paper .chip__name { color: var(--char); }
.paper .chip__hex { color: #55534E; }
.paper .chip__swatch { border-color: rgba(26,26,26,.25); }
.s-bone .dropcap::first-letter, .paper .dropcap::first-letter { color: #6B5327; }
.s-bone .pullquote p, .paper .pullquote p { color: var(--char); }
.s-bone .pullquote cite, .paper .pullquote cite { color: #6B5327; }
.s-bone .pullquote, .paper .pullquote {
  border-color: rgba(107,83,39,.4); background: rgba(107,83,39,.05);
}

.dispatch {
  display: grid; grid-template-columns: 130px 1fr; gap: 24px;
  padding: 24px 0; border-top: 1px solid var(--hair-dark);
}
.dispatch h3 { margin-bottom: 8px; color: var(--bone); }
.dispatch p { font-size: .88rem; color: var(--on-dark-soft); margin: 0; }
/* Dispatches moved to their own Bone page (16 Aug 2026). The rules above were
   written for a dark band only, so on Bone the headings were bone-on-bone and
   invisible. Restate the three ink-dependent values; no token is changed and
   no colour outside the locked palette is introduced. */
.s-bone .dispatch { border-top-color: var(--hair-light); }
.s-bone .dispatch h3 { color: var(--char); }
.s-bone .dispatch p { color: #3D3D39; }
.s-bone .dispatch .meta { color: #6B6862; }
@media (max-width: 640px) { .dispatch { grid-template-columns: 1fr; gap: 8px; } }

.issue-nav {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px;
  background: var(--hair-dark); border: 1px solid var(--hair-dark);
}
.issue-nav a {
  display: block; padding: 22px 24px; text-decoration: none;
  background: var(--char-lift); transition: background .22s var(--ease);
}
.issue-nav a:hover { background: #2A2A2A; }
.issue-nav strong {
  display: block; margin-top: 6px; font-family: Cinzel, Georgia, serif;
  font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--bone);
}
.issue-nav a:last-child { text-align: right; }
@media (max-width: 640px) { .issue-nav { grid-template-columns: 1fr; } .issue-nav a:last-child { text-align: left; } }

/* -------------------------------------------------------------- store ---- */
.product { position: relative; background: var(--char-lift); border: 1px solid var(--hair-dark);
  box-shadow: inset 0 1px 0 rgba(242,236,228,.06), 0 16px 34px -28px rgba(0,0,0,1); }
.product__art { background: var(--ink); }
.product__art svg { display: block; width: 100%; }
.product__body { padding: 22px 24px 26px; }
.product__soon {
  display: inline-block; margin-bottom: 12px;
  font-size: .55rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--sand); border: 1px solid var(--foil); padding: 5px 11px;
}
.product h3 { margin-bottom: 9px; color: var(--bone); }
.product p { font-size: .86rem; color: var(--on-dark-soft); margin: 0; }

/* --------------------------------------------------------------- forms --- */
.signup { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.signup input {
  flex: 1 1 260px; font: inherit; font-size: .88rem;
  padding: 14px 16px; color: var(--bone);
  background: #171717; border: 1px solid var(--hair-dark);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.6);
}
.signup input::placeholder { color: #948E86; }
.form-confirm { display: none; margin-top: 14px; font-size: .78rem; color: var(--sand); }
.form-confirm.is-visible { display: block; }
/* Error state carries no new hue. The v1.2 palette is locked, so an alert red
   would be an unauthorised sixth colour; weight and a Sandstone rule mark the
   difference instead. */
.form-confirm.is-error { font-weight: 600; border-left: 2px solid var(--sand); padding-left: 10px; }
.form-note { margin-top: 12px; font-size: .68rem; color: var(--on-dark-mute); }
.s-bone .form-note { color: #55534E; }
.s-bone .signup input { background: #fff; color: var(--char); border-color: var(--hair-light);
  box-shadow: inset 0 2px 3px rgba(0,0,0,.08); }
.s-bone .signup input::placeholder { color: #6E6A64; }

/* ------------------------------------------------------------- swatches -- */
.swatches { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
@media (max-width: 720px) { .swatches { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.swatch__chip { height: 74px; border: 1px solid rgba(26,26,26,.18); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.swatch b { display: block; margin-top: 10px; font-size: .62rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; }
.swatch span { display: block; font-size: .58rem; letter-spacing: .1em; color: #55534E; }

/* ------------------------------------------------------------- footer ---- */
.site-footer {
  position: relative;
  background: var(--ink); color: var(--on-dark-soft);
  border-top: 1px solid var(--foil-soft);
  padding: 70px 0 34px;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g2)'/%3E%3C/svg%3E");
  opacity: .03; mix-blend-mode: overlay;
}
.site-footer .wrap { position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 300px 1fr 1fr; gap: 44px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr; gap: 34px; } }
/* Full lockup staged on a Bone label card — the mark itself is untouched. */
.footer__plate {
  background: var(--bone); display: inline-block;
  padding: 26px 30px;
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.16), 0 18px 36px -26px rgba(0,0,0,1);
}
.footer__plate img { width: 178px; display: block; }
.footer__head {
  display: block; font-size: .58rem; font-weight: 600; letter-spacing: .19em;
  text-transform: uppercase; color: var(--sand); margin-bottom: 14px;
}
.footer__nav { display: grid; gap: 9px; }
.footer__nav a {
  text-decoration: none; font-size: .74rem; color: var(--on-dark-soft);
  transition: color .2s var(--ease);
}
.footer__nav a:hover { color: var(--sand); }
.footer__legal {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hair-dark);
  font-size: .68rem; color: var(--on-dark-mute); max-width: 92ch; line-height: 1.8;
}
.footer__bottom {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--hair-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-mute);
}

/* -------------------------------------------------------------- motion --- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- utils --- */
.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 26px; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 44px; }
.mt-xl { margin-top: 72px; }
.center { text-align: center; }
.maxw-60 { max-width: 60ch; }

/* Mark gallery cards: equal-height cells with the mark optically centred. */
.paper.center, .board.center {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.paper.center > div, .board.center > div {
  flex: 1; display: flex; align-items: center; justify-content: center;
}
.paper.center > .meta, .board.center > .meta { margin-top: 14px; }

/* ------------------------------------------------------- split page hero --- */
/* Section heroes run headline left, reference board right, so the right half
   of the measure carries information instead of empty ground. */
.hero-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}
.hero-split__aside { padding: 30px 32px; align-self: start; }
.hero-split__aside .spec th { white-space: nowrap; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 38px; }
  .hero-split__aside { padding: 26px 24px; }
}
.hero-split__aside .spec tr:last-child th,
.hero-split__aside .spec tr:last-child td { border-bottom: 0; padding-bottom: 0; }

/* ------------------------------------------ standing range (paper cards) --- */
.product--paper {
  background: #FFFFFF; border-color: var(--hair-light);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 30px -26px rgba(26,26,26,.7);
}
.product--paper .product__art { background: var(--bone); border-bottom: 1px solid var(--hair-light); }
.product--paper h3 { color: var(--char); }
.product--paper p { color: #55534E; }
.product__stock {
  display: inline-block; margin-bottom: 12px;
  font-size: .55rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase;
  color: var(--forest); border: 1px solid rgba(58,64,54,.38); padding: 5px 11px;
}
.board--paper {
  background: #FFFFFF; border-color: var(--hair-light);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 30px -26px rgba(26,26,26,.7);
}

/* ------------------------------------------------- editorial figures ------ */
/* Press photography inside an article body. Unlike the hero-car plates these
   are reproduced in full colour and unaltered — resized only — so no toning,
   filter or overlay is applied. Native aspect ratio is preserved; the frame
   adapts to the photograph rather than cropping it to fit. Flat rules only:
   a hairline seat, a Sandstone plate number, no shadow and no gradient. */
.figure { margin: 34px 0; }
.figure__frame {
  position: relative;
  border: 1px solid var(--hair-light);
  background: #E8E1D7;
  padding: 10px;
}
.s-char .figure__frame, .s-ink .figure__frame, .s-forest .figure__frame {
  border-color: var(--hair-dark); background: #1E1E1E;
}
.figure__frame img {
  display: block; width: 100%; height: auto;
}
.figure__cap {
  display: grid; grid-template-columns: auto 1fr; gap: 0 16px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--hair-light);
}
.s-char .figure__cap, .s-ink .figure__cap, .s-forest .figure__cap {
  border-top-color: var(--hair-dark);
}
.figure__no {
  font-family: var(--font-body);
  font-size: .56rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #6B5327; white-space: nowrap; padding-top: 3px;
}
.s-char .figure__no, .s-ink .figure__no, .s-forest .figure__no { color: var(--sand); }
.figure__text { margin: 0; }
.figure__text p {
  margin: 0; font-family: var(--font-body);
  font-size: .82rem; line-height: 1.7; color: #3C3A36;
}
.s-char .figure__text p, .s-ink .figure__text p, .s-forest .figure__text p {
  color: var(--on-dark-soft);
}
.figure__src {
  margin: 8px 0 0; font-family: var(--font-body);
  font-size: .64rem; font-weight: 500; line-height: 1.7; letter-spacing: .03em;
  color: #6E6A63;
}
.s-char .figure__src, .s-ink .figure__src, .s-forest .figure__src { color: var(--on-dark-mute); }
.figure__src a { color: #6B5327; text-decoration: none; border-bottom: 1px solid rgba(107,83,39,.4); }
.figure__src a:hover { color: var(--char); border-bottom-color: #6B5327; }
.s-char .figure__src a, .s-ink .figure__src a, .s-forest .figure__src a {
  color: var(--sand); border-bottom-color: var(--foil-soft);
}
.s-char .figure__src a:hover, .s-ink .figure__src a:hover, .s-forest .figure__src a:hover {
  color: var(--bone); border-bottom-color: var(--sand);
}
/* Two photographs side by side, for process or detail pairs. */
.figure--pair .figure__frames {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start;
}
@media (max-width: 640px) {
  .figure--pair .figure__frames { grid-template-columns: 1fr; }
  .figure__cap { grid-template-columns: 1fr; gap: 6px; }
}
/* A figure that breaks out of the 66ch editorial measure to the full column. */
.figure--wide { max-width: none; }

/* ------------------------------------------------------ lexicon entry ---- */
/* A dictionary entry set as a leaf of bone paper. Type only — the headword
   carries the weight, so nothing here is boxed, tinted or ornamented. */
.lex__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px;
  padding-bottom: 14px; border-bottom: 1px solid rgba(26, 26, 26, .22);
}
.lex__word {
  font-family: Cinzel, Georgia, serif; font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 2.5rem); letter-spacing: .05em;
  line-height: 1; margin: 0; color: var(--char);
}
.lex__say { font-size: .84rem; letter-spacing: .03em; color: #55534E; }
.lex__pos {
  font-size: .62rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: #6B5327;
}
.lex__senses { list-style: none; margin: 20px 0 0; padding: 0; counter-reset: sense; }
.lex__senses > li {
  position: relative; padding-left: 32px; margin-bottom: 16px;
  font-size: .85rem; line-height: 1.75;
}
.lex__senses > li:last-child { margin-bottom: 0; }
.lex__senses > li::before {
  counter-increment: sense; content: counter(sense);
  position: absolute; left: 0; top: .05em;
  font-family: Cinzel, Georgia, serif; font-weight: 600; font-size: .95rem;
  color: #6B5327;
}
.lex__when {
  display: block; font-size: .6rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: #55534E; margin-bottom: 2px;
}
.lex__obs { font-style: italic; color: #55534E; }

/* The descent, as a chain of forms. One hairline, one sandstone tick per step. */
.chain { list-style: none; margin: 0; padding: 0; }
.chain > li {
  position: relative; padding: 0 0 22px 26px;
  border-left: 1px solid var(--hair-dark);
}
.chain > li:last-child { padding-bottom: 0; border-left-color: transparent; }
.chain > li::before {
  content: ""; position: absolute; left: -3px; top: 7px;
  width: 5px; height: 5px; background: var(--sand);
}
/* Forms are set in italic lowercase, the scholarly convention — Cinzel would
   render them as small caps and read as a heading rather than as a word. */
.chain__form {
  display: block; font-style: italic; font-weight: 500;
  font-size: 1rem; letter-spacing: .01em; color: var(--on-dark);
}
.chain__lang {
  display: block; font-size: .6rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; color: var(--sand); margin-bottom: 4px;
}
.chain__gloss {
  display: block; font-size: .82rem; line-height: 1.7; color: var(--on-dark-soft);
  margin-top: 3px;
}
/* In-page jump cue, sandstone so it reads as a link rather than as caption text. */
.jump a {
  color: var(--sand); text-decoration: none;
  border-bottom: 1px solid var(--foil-soft);
}
.jump a:hover { border-bottom-color: var(--sand); }
.jump a::after { content: " \2193"; }
.s-bone .jump a { color: #6B5327; border-bottom-color: rgba(107, 83, 39, .4); }

/* Inline source line for a non-figure block. */
.srcline { font-size: .7rem; line-height: 1.7; color: var(--on-dark-mute); }
.srcline a { color: var(--on-dark-soft); text-decoration: none; border-bottom: 1px solid var(--foil-soft); }
.srcline a:hover { color: var(--bone); border-bottom-color: var(--sand); }
.s-bone .srcline { color: #55534E; }
.s-bone .srcline a { color: #3C3A36; border-bottom-color: rgba(107, 83, 39, .4); }

/* Press-terms callout on the credits page. */
.press-note {
  border: 1px solid var(--hair-dark); border-left: 2px solid var(--sand);
  padding: 20px 22px; margin-top: 18px;
}
.press-note p {
  margin: 0; font-family: var(--font-body); font-size: .78rem; line-height: 1.75;
  color: var(--on-dark-soft);
}
.press-note p + p { margin-top: 10px; }
