/* ==========================================================================
   Fælle Nord No. 1 — stylesheet
   A shop on a 1906 corner: painted fascia, menu board, printed menu card,
   mounted archive prints. Frederiksberg green, bordeaux, gold leaf, a little
   bronze (the vault) and walnut (the shelf).
   Type: Bodoni Moda (display, optical sizes) + Schibsted Grotesk (text),
   both self-hosted under the SIL Open Font License (see assets/fonts/), trimmed to
   Latin characters and to the weights used here (originals in _deploy/fonts-original).
   ========================================================================== */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+2010-2027, U+202F-2030, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+2010-2027, U+202F-2030, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+2010-2027, U+202F-2030, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;

  /* Brand (same in both themes) */
  --green: #1f3d2e;            /* Frederiksberg grøn — swap for the exact paint code */
  --green-deep: #142a1f;
  --bordeaux: #6e1e2c;
  --gold: #b8954d;
  --gold-leaf: #dcc184;
  --bronze: #9a6438;
  --bronze-light: #c08856;
  --wood: #6f4a2f;
  --cream: #f3ecdd;

  /* Light theme */
  --bg: #f5efe3;
  --bg-2: #ece3d2;
  --card: #fbf7ef;
  --ink: #1b1814;
  --ink-2: #4f483e;
  --rule: #d6c9b0;
  --rule-strong: #b9a787;
  --accent: #7a5e24;           /* gold that reads as text on paper */
  --link: #6e1e2c;
  --btn: #6e1e2c;
  --btn-hover: #551521;
  --btn-ink: #fbf6ec;
  --footer: #142a1f;
  --map-land: #ece3d2;
  --map-road: #fbf7ef;
  --map-edge: #cdbfa3;
  --map-park: #c6d3bf;

  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --step--1: 1.032rem;
  --step-0: clamp(1.18rem, 1.145rem + 0.177vw, 1.254rem);
  --step-1: clamp(1.357rem, 1.263rem + 0.413vw, 1.534rem);
  --step-2: clamp(1.711rem, 1.475rem + 1.062vw, 2.301rem);
  --step-3: clamp(2.09rem, 1.65rem + 2.09vw, 3.3rem);
  --step-4: clamp(2.64rem, 1.87rem + 3.52vw, 4.675rem);
  --step-5: clamp(3.3rem, 1.5rem + 8.3vw, 8.64rem);

  --wrap: 78rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --space: clamp(4rem, 9vw, 7.5rem);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0f1813;
    --bg-2: #16231c;
    --card: #15211a;
    --ink: #ece4d3;
    --ink-2: #b3a993;
    --rule: #2c3d33;
    --rule-strong: #46594c;
    --accent: #d4b46a;
    --link: #dcc184;
    --btn: #7d2635;
    --btn-hover: #93303f;
    --footer: #0a120e;
    --map-land: #15211a;
    --map-road: #25362c;
    --map-edge: #33473a;
    --map-park: #1d3628;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1813;
  --bg-2: #16231c;
  --card: #15211a;
  --ink: #ece4d3;
  --ink-2: #b3a993;
  --rule: #2c3d33;
  --rule-strong: #46594c;
  --accent: #d4b46a;
  --link: #dcc184;
  --btn: #7d2635;
  --btn-hover: #93303f;
  --footer: #0a120e;
  --map-land: #15211a;
  --map-road: #25362c;
  --map-edge: #33473a;
  --map-park: #1d3628;
}
:root[data-theme="light"] { color-scheme: light; }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; height: auto; }

::selection { background: rgb(184 149 77 / 0.35); }

/* Bodoni Moda picks its hairline "display" cut for big text on its own, which is
   hard to read on paper. A small optical size keeps the Bodoni look with sturdier
   strokes. Schibsted has no opsz axis, so the body text is unaffected. */
body { font-variation-settings: "opsz" 18; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 600; line-height: 1.25; letter-spacing: 0; }

p {
  margin: 0 0 1em;
  max-width: 64ch;
  text-wrap: pretty;
  hanging-punctuation: first;
}
:lang(da) p, :lang(da) li, :lang(da) dd { hyphens: auto; hyphenate-limit-chars: 8 4 4; }

a {
  color: var(--link);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color 0.15s, color 0.15s;
}
a:hover { text-decoration-color: currentColor; }

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

ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

em { font-style: italic; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--btn);
  color: var(--btn-ink);
}
.skip:focus { top: 1rem; }

/* Kicker: a short italic line above a heading, like a sub-line on a menu */
.eyebrow,
.kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--accent);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
}

.muted { color: var(--ink-2); }

/* ---------- Buttons & arrow links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.8rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--btn);
  color: var(--btn-ink);
  font: 600 1.106rem/1.2 var(--font-body);
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  /* A thin gold line just inside the edge, like the frame on a shop sign */
  box-shadow: inset 0 0 0 3px var(--btn), inset 0 0 0 4px rgb(220 193 132 / 0.6), 0 1px 2px rgb(20 16 10 / 0.18);
  transition: background-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.btn:hover {
  background: var(--btn-hover);
  box-shadow: inset 0 0 0 3px var(--btn-hover), inset 0 0 0 4px var(--gold-leaf), 0 3px 8px rgb(20 16 10 / 0.22);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; box-shadow: none; }
.btn-ghost:hover { box-shadow: none; }
.btn-ghost:hover { background: rgb(184 149 77 / 0.14); }
.btn:disabled { opacity: 0.45; cursor: default; }

.link-arrow {
  font-weight: 600;
  text-decoration-thickness: 1px;
}
.link-arrow::after {
  content: "→";
  display: inline-block;
  margin-left: 0.4em;
  text-decoration: none;
  transition: transform 0.2s;
}
.link-arrow:hover::after { transform: translateX(3px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.75rem;
  margin-top: 2rem;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav tools";
  align-items: center;
  gap: 0.5rem 2.5rem;
  min-height: 4.75rem;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.77rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand-no {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-style: italic;
  color: var(--accent);
}

.nav { grid-area: nav; justify-self: end; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.nav a {
  display: inline-block;
  padding-block: 0.6rem;
  color: var(--ink);
  font-size: 1.106rem;
  font-weight: 500;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.5em;
}
.nav a:hover { text-decoration-color: var(--rule-strong); }
.nav a[aria-current="page"] { text-decoration-color: var(--gold); }

.tools { grid-area: tools; display: flex; align-items: center; gap: 0.25rem; }

.lang,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: 600 0.959rem/1 var(--font-body);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.15s;
}
.lang:hover, .theme-toggle:hover { background: var(--bg-2); }

/* The theme button only appears when JavaScript can run it */
.theme-toggle { display: none; cursor: pointer; }
.js .theme-toggle { display: inline-flex; }
.theme-toggle svg { width: 1.15rem; height: 1.15rem; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun { display: block; }
  :root:not([data-theme="light"]) .icon-moon { display: none; }
}

@media (max-width: 54rem) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand tools" "nav nav";
    padding-top: 0.5rem;
  }
  .nav { justify-self: start; margin-inline: -0.1rem; }
  .nav ul { gap: 0 1.25rem; }
}
/* Phones: one row edge to edge; the size eases down on the narrowest screens */
@media (max-width: 26rem) {
  .nav { justify-self: stretch; margin-inline: 0; }
  .nav ul { justify-content: space-between; gap: 0 0.5rem; }
  .nav a { font-size: clamp(0.875rem, 4.3vw, 1.032rem); }
}

/* ---------- Hero: the shop fascia ---------- */

.hero {
  background: var(--green);
  color: var(--cream);
  border-bottom: 2px solid var(--gold);   /* the pavement line the drawing stands on */
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 3vw, 2.5rem);
  padding-top: clamp(3rem, 8vw, 6.5rem);
}

.hero-copy {
  grid-column: 1 / 8;
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.75rem;
  color: #cfc5ae;
  font-size: 1.106rem;
  font-weight: 500;
}
.hero-kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  margin: 0 0 1.75rem;
  font-size: var(--step-5);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--cream);
}
.hero-title em {
  font-size: 0.36em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-leaf);
  white-space: nowrap;
}

.hero-lead {
  max-width: 33ch;
  margin-bottom: 1.25rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--cream);
}

.hero-services { margin: 0; color: #cfc5ae; font-size: 1.106rem; }

.hero .btn {
  min-height: 3.6rem;
  padding: 1rem 2.2rem;
  font-size: var(--step-1);
  background: var(--cream);
  color: var(--green-deep);
  box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5px var(--gold), 0 2px 6px rgb(0 0 0 / 0.25);
}
.hero .btn:hover {
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px var(--bronze), 0 4px 12px rgb(0 0 0 / 0.3);
}
.hero .link-arrow { color: var(--gold-leaf); font-size: var(--step-1); }

.hero-art {
  grid-column: 8 / 13;
  align-self: end;
  position: relative;
  margin: 0;
  color: var(--gold-leaf);
}
.hero-art { display: flex; flex-direction: column; }
.hero-art figcaption {
  order: -1;   /* sits above the drawing so the building keeps standing on the pavement line */
  margin-bottom: 0.75rem;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.106rem;
  font-style: italic;
  color: #cfc5ae;
}

@media (max-width: 54rem) {
  .hero-copy { grid-column: 1 / -1; padding-bottom: 2.5rem; }
  .hero-art { grid-column: 1 / -1; max-width: 26rem; margin-inline: auto; width: 100%; }
}

/* Facade drawing (classes unscoped so <use> clones are styled too) */
.f-line { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; }
.f-thin { fill: none; stroke: currentColor; stroke-width: 0.7; opacity: 0.75; }
.f-glass { fill: rgb(220 193 132 / 0.08); }
.f-roof { fill: rgb(0 0 0 / 0.18); stroke: currentColor; stroke-width: 1.2; }
.f-awning { fill: var(--bordeaux); stroke: currentColor; stroke-width: 1; }
.f-door { fill: var(--wood); stroke: currentColor; stroke-width: 1; }
.f-lamp { fill: rgb(220 193 132 / 0.35); stroke: currentColor; stroke-width: 1; }
.f-sign { fill: currentColor; font-family: var(--font-display); font-size: 8px; font-weight: 600; letter-spacing: 2.4px; }
.f-no { fill: currentColor; font-family: var(--font-display); font-style: italic; font-size: 8px; }

/* ---------- Sections ---------- */

.section { padding-block: var(--space); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 3vw, 2.5rem);
  row-gap: 2.5rem;
}

/* ---------- The shop: a menu board ---------- */

.shop-intro { grid-column: 1 / 6; }
.shop-intro h2 { font-size: var(--step-4); }
.board { grid-column: 6 / 13; margin: 0; padding-top: 0.4rem; }

@media (min-width: 62rem) {
  .shop-intro { position: sticky; top: 2rem; align-self: start; }
}

.board {
  border-top: 3px double var(--rule-strong);
  border-bottom: 3px double var(--rule-strong);
}
.board-row {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  align-items: baseline;
  gap: 0.25rem 2rem;
  padding-block: 1.4rem;
}
.board-row + .board-row { border-top: 1px solid var(--rule); }
.board dt {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.15;
}
.board dd { margin: 0; color: var(--ink-2); }

.age {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.4rem 0.15rem;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--link);
  font: 700 0.885rem/1.2 var(--font-body);
  letter-spacing: 0.04em;
  vertical-align: 0.35em;
}

@media (max-width: 62rem) {
  .shop-intro, .board { grid-column: 1 / -1; }
}
@media (max-width: 36rem) {
  .board-row { grid-template-columns: 1fr; }
}

/* ---------- Vision: green panel with a printed menu card ---------- */

.panel { background: var(--green); color: var(--cream); }
.panel .kicker, .panel .eyebrow { color: var(--gold-leaf); }
.panel h2 { color: var(--cream); font-size: var(--step-4); }
.panel p { color: var(--cream); }
.panel .lead { color: var(--cream); }
.panel a { color: var(--gold-leaf); }

.vision-copy { grid-column: 1 / 7; }
.menu-card { grid-column: 8 / 13; align-self: start; }

.vision-aside {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.45;
}

.menu-card {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.25rem);
  background: var(--cream);
  color: #1b1814;
  box-shadow: 0 18px 40px -24px rgb(0 0 0 / 0.65);
}
.menu-card h3 {
  margin: 0 0 1.25rem;
  font-size: var(--step-2);
  font-style: italic;
  font-weight: 500;
  text-align: center;
}
.menu-list li {
  display: grid;
  grid-template-columns: auto minmax(1rem, 1fr) auto;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: 0.5rem;
}
.menu-list .item { font-family: var(--font-display); font-size: 1.357rem; font-weight: 500; }
.menu-list .leader { border-bottom: 1px dotted #8f8371; transform: translateY(-0.3em); }
.menu-list .menu-note { max-width: 15rem; text-align: right; color: #4f483e; font-size: 1.106rem; line-height: 1.35; }
.panel .menu-foot {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #d6c9b0;
  text-align: center;
  color: #4f483e;
  font-size: 1.032rem;
}

@media (max-width: 62rem) {
  .vision-copy, .menu-card { grid-column: 1 / -1; }
  .menu-card { max-width: 34rem; }
}
@media (max-width: 30rem) {
  .menu-list li { grid-template-columns: 1fr; gap: 0; }
  .menu-list .leader { display: none; }
  .menu-list .menu-note { max-width: none; text-align: left; }
}

/* Three decades in one room */
.decades {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgb(220 193 132 / 0.45);
}
.decades-title { margin: 0 0 1.75rem; color: #cfc5ae; font-size: 1.106rem; font-weight: 500; }
.decades-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3.5rem);
  margin: 0;
}
.decades-list dt {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-leaf);
  font-variant-numeric: lining-nums;
}
.decades-list dd { margin: 0.75rem 0 0; color: var(--cream); max-width: 28ch; }

/* 1950: a strip of walnut veneer above the year */
.decade-wood::before {
  content: "";
  display: block;
  height: 10px;
  margin-bottom: 1rem;
  border-radius: 1px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.1), rgb(0 0 0 / 0.2)),
    repeating-linear-gradient(94deg,
      #6f4a2f 0 9px, #7a5440 9px 11px, #664229 11px 23px,
      #805a43 23px 24px, #6d482e 24px 37px, #77513a 37px 40px);
}
.decades-list > div:not(.decade-wood)::before {
  content: "";
  display: block;
  height: 10px;
  margin-bottom: 1rem;
  border-top: 1px solid rgb(220 193 132 / 0.5);
  border-bottom: 1px solid rgb(220 193 132 / 0.5);
}

@media (max-width: 48rem) {
  .decades-list { grid-template-columns: 1fr; }
}

/* ---------- History teaser ---------- */

.print-col { grid-column: 1 / 6; }
.history-copy { grid-column: 7 / 13; align-self: center; }
@media (max-width: 62rem) {
  .print-col, .history-copy { grid-column: 1 / -1; }
  .print-col { max-width: 32rem; }
}

/* A mounted print: photo on a cream mat with a caption beneath */
.print,
.archive { margin: 0; }
.print-mat,
.archive-frame {
  padding: clamp(0.5rem, 1.5vw, 0.85rem);
  background: #fbf8f1;
  border: 1px solid #e3d8c3;
  box-shadow: 0 1px 2px rgb(27 24 20 / 0.08), 0 14px 30px -18px rgb(27 24 20 / 0.45);
}
.print picture,
.archive picture { display: block; }
.print img,
.archive img { width: 100%; }
.print figcaption,
.archive figcaption {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink-2);
}
.credit {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.959rem;
  font-style: normal;
}

.mini-timeline {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule-strong);
}
.mini-timeline li {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.mini-timeline .year {
  font-family: var(--font-display);
  font-size: 1.888rem;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- The vault: a dark strip, the one place bronze lives ---------- */

.vault {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: #17120e;
  color: #efe5d3;
}
.vault-grid { align-items: center; }
.vault-door { grid-column: 1 / 5; width: min(15rem, 100%); color: var(--bronze-light); }
.vault-copy { grid-column: 6 / 12; }
.vault .kicker { color: var(--bronze-light); }
.vault h2 { color: #efe5d3; }
.vault p { color: #d6cab5; }
@media (max-width: 48rem) {
  .vault-door { grid-column: 1 / -1; width: 9rem; }
  .vault-copy { grid-column: 1 / -1; }
}
.v-line { fill: none; stroke: currentColor; stroke-width: 2; }
.v-thin { fill: none; stroke: currentColor; stroke-width: 1; opacity: 0.6; }
.v-fill { fill: rgb(192 136 86 / 0.12); stroke: currentColor; stroke-width: 1.5; }
.v-dot { fill: currentColor; }

/* ---------- Find us ---------- */

.find-copy { grid-column: 1 / 6; }
.map { grid-column: 7 / 13; margin: 0; align-self: start; }
@media (max-width: 62rem) {
  .find-copy, .map { grid-column: 1 / -1; }
}

.address-big {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
}

.facts { margin: 2rem 0 0; border-top: 1px solid var(--rule-strong); }
.facts > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.facts dt {
  padding-top: 0.2rem;
  color: var(--ink-2);
  font-size: 0.959rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.facts dd { margin: 0; }
.facts small { display: block; margin-top: 0.15rem; color: var(--ink-2); font-size: 1.062rem; }
@media (max-width: 30rem) {
  .facts > div { grid-template-columns: 1fr; }
}

.map-frame { border: 1px solid var(--rule); background: var(--map-land); }
.map figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-2);
}
.map .m-land { fill: var(--map-land); }
.map .m-park { fill: var(--map-park); }
.map .m-road-edge { fill: none; stroke: var(--map-edge); stroke-linecap: round; }
.map .m-road { fill: none; stroke: var(--map-road); stroke-linecap: round; }
.map .m-label {
  fill: var(--ink-2);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.map .m-park-label { fill: var(--ink); opacity: 0.65; font-family: var(--font-display); font-style: italic; font-size: 16px; }
.map .m-us { fill: var(--btn); stroke: var(--gold); stroke-width: 2; }
.map .m-us-label { fill: var(--ink); font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.map .m-metro { fill: var(--card); stroke: var(--ink); stroke-width: 1.5; }
.map .m-metro-text { fill: var(--ink); font-family: var(--font-body); font-size: 12px; font-weight: 700; }
.map .m-north { fill: none; stroke: var(--ink-2); stroke-width: 1.2; }
.map .m-north-text { fill: var(--ink-2); font-family: var(--font-body); font-size: 10px; font-weight: 600; }

/* ---------- Sub-page header ---------- */

.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 { max-width: 16ch; margin-bottom: 1rem; }
.page-hero .lead { max-width: 48ch; margin-bottom: 0; }

/* ---------- Prose (about, policies) ---------- */

/* Text column shares the page's left edge with the heading above it */
.prose > * { max-width: 42rem; }
.prose h2 { margin-top: 3rem; font-size: var(--step-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; font-family: var(--font-body); font-size: 1.239rem; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
.prose li::marker { color: var(--accent); }

.note {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border-left: 2px solid var(--gold);
}
.note p:last-child, .note ul:last-child { margin-bottom: 0; }
.note strong { font-family: var(--font-display); font-size: 1.357rem; font-style: italic; font-weight: 500; }

.meta { color: var(--ink-2); font-size: 1.106rem; }

/* Things still to fill in */
.todo {
  padding: 0 0.2em;
  background: rgb(184 149 77 / 0.2);
  color: inherit;
  border-bottom: 1px dashed var(--rule-strong);
}

/* Data processing overview: ruled entries, not boxes */
.purposes { margin: 1.5rem 0 2.5rem; border-top: 1px solid var(--rule-strong); }
.purpose { padding-block: 1.25rem; border-bottom: 1px solid var(--rule); }
.purpose h3 { margin: 0 0 0.75rem; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.purpose dl { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 0.45rem 1rem; margin: 0; }
.purpose dt { padding-top: 0.2rem; color: var(--ink-2); font-size: 0.959rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.purpose dd { margin: 0; }
@media (max-width: 36rem) {
  .purpose dl { grid-template-columns: 1fr; gap: 0; }
  .purpose dd { margin-bottom: 0.6rem; }
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2.5rem;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--rule-strong);
}
@media (max-width: 36rem) { .values { grid-template-columns: 1fr; } }
.values > div { padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.values dt { margin-bottom: 0.25rem; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.values dd { margin: 0; color: var(--ink-2); }

/* Questions and answers: native <details>, no script needed */
.faq { margin: 1.25rem 0 2.5rem; border-top: 1px solid var(--rule-strong); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: 1.475rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--link); }
.faq-a { padding-bottom: 1rem; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

.storage-widget {
  margin: 1.5rem 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--rule);
}
.storage-widget p { margin-bottom: 1rem; }

/* ---------- Timeline (history page) ---------- */

.timeline-wrap > * { max-width: 58rem; }

.era-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
  margin: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px double var(--rule-strong);
}
.era-head:first-child { margin-top: 0; }
.era-head h2 { margin: 0; }
.era-span {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-style: italic;
  color: var(--accent);
  font-variant-numeric: lining-nums;
}

.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before {
  content: "";
  position: absolute;
  top: 0.6rem; bottom: 0;
  left: 9.5rem;
  width: 1px;
  background: var(--rule-strong);
}
.tl {
  position: relative;
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0 2.25rem;
  padding-bottom: 2.75rem;
}
.tl::before {
  content: "";
  position: absolute;
  left: calc(9.5rem - 4px);
  top: 0.7rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg);
}
.tl-year {
  margin: 0;
  padding-right: 0.75rem;
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.77rem;
  line-height: 1.2;
  color: var(--accent);
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.tl-body h3 { margin-bottom: 0.35rem; font-size: var(--step-1); }
.tl-body p:last-child { margin-bottom: 0; }

.tl-unknown::before { border-color: var(--bronze); background: var(--bronze); }
.tl-unknown .tl-year { color: var(--bronze); }
:root[data-theme="dark"] .tl-unknown .tl-year { color: var(--bronze-light); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tl-unknown .tl-year { color: var(--bronze-light); }
}

.tl-now::before { width: 13px; height: 13px; left: calc(9.5rem - 6px); background: var(--btn); border-color: var(--gold); }
.tl-now .tl-year { color: var(--link); }

@media (max-width: 40rem) {
  .timeline::before { left: 0.3rem; }
  .tl { grid-template-columns: 1fr; padding-left: 1.75rem; }
  .tl::before { left: calc(0.3rem - 4px); top: 0.55rem; }
  .tl-now::before { left: calc(0.3rem - 6px); }
  .tl-year { text-align: left; padding: 0; margin-bottom: 0.2rem; font-size: var(--step-1); }
}

.archive { margin-top: 1.5rem; max-width: 36rem; }
.archive-sm { max-width: 32rem; }   /* small originals stay at or below native size */

.photo-slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 1rem;
  background: var(--bg-2);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-style: italic;
  text-align: center;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (max-width: 40rem) { .slots { grid-template-columns: 1fr; } }
.slots .archive { margin: 0; }

.sources { font-size: 1.106rem; }
.sources li { margin-bottom: 0.6rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--footer); color: var(--cream); }
.site-footer a { color: var(--gold-leaf); }

/* A walnut shelf across the top of the footer */
.shelf {
  height: 14px;
  border-bottom: 1px solid var(--gold);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(0 0 0 / 0.25)),
    repeating-linear-gradient(92deg,
      #6f4a2f 0 9px, #7a5440 9px 11px, #664229 11px 23px,
      #805a43 23px 24px, #6d482e 24px 37px, #77513a 37px 40px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 4rem) 2.5rem;
}
@media (max-width: 48rem) { .footer-grid { grid-template-columns: 1fr; } }

.footer-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 2.183rem;
  font-weight: 600;
  line-height: 1;
}
.footer-mark em { font-size: 0.6em; font-weight: 400; color: var(--gold-leaf); }
.footer-text { color: #cfc5ae; font-size: 1.106rem; max-width: 34ch; }

.footer-h {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.959rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-leaf);
}
.site-footer address { font-style: normal; }
.footer-links li { margin-bottom: 0.35rem; }
.footer-links a { color: var(--cream); }
.footer-links a:hover { color: var(--gold-leaf); }
.footer-links a[aria-current="page"] { color: var(--gold-leaf); }

.footer-base {
  padding-block: 1.25rem 2rem;
  border-top: 1px solid rgb(220 193 132 / 0.2);
  color: #b9b09c;
  font-size: 1.032rem;
}
.footer-base p { max-width: none; margin: 0 0 0.35rem; }

/* ---------- Motion & print ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header .tools, .nav, .shelf, .actions, .skip, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .panel, .vault, .site-footer { background: #fff !important; color: #000 !important; }
}
