/* ==========================================================================
   aloisrainer.com — "Land · Hand · Heimat" editorial system
   Palette: limestone / ivory / walnut / clay / sage, wheat + terracotta accents
   ========================================================================== */

:root {
  --limestone: #E9E2D4;
  --ivory: #F7F4ED;
  --walnut: #332A24;
  --charcoal: #24211E;
  --clay: #B36F4D;
  --sage: #8A9275;
  --wheat: #D5B77A;
  --terracotta: #B65D43;
  --mist: #D8D5CD;
  --paper: #FCFBF7;

  /* accessible text shades derived from the palette */
  --ink: #2E2621;
  --ink-soft: #5C5149;
  --clay-ink: #8C4B2F;
  --sage-ink: #565D46;
  --line: rgba(51, 42, 36, .18);
  --line-strong: rgba(51, 42, 36, .42);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;

  --gutter: clamp(16px, 4.2vw, 56px);
  --max: 1360px;
  --measure: 66ch;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--clay-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; overflow-wrap: break-word; hyphens: auto; }
:lang(de) { hyphens: auto; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--walnut); color: var(--paper);
  padding: 10px 16px; font-family: var(--f-label); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

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

/* paper grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .16 0 0 0 0 .13 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 960px; }
.section { padding-block: clamp(64px, 9vw, 136px); position: relative; }
.section--tight { padding-block: clamp(44px, 6vw, 80px); }
.section--limestone { background: var(--limestone); }
.section--paper { background: var(--paper); }
.section--mist { background: #E4E0D7; }
.section--dark { background: var(--charcoal); color: var(--ivory); }
.section--walnut { background: var(--walnut); color: var(--ivory); }
.section--dark a:hover, .section--walnut a:hover { color: var(--wheat); }
main { position: relative; z-index: 2; display: block; }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.2vw, 32px); }

/* ---------- typography ---------- */
.display {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 60, "opsz" 144;
  font-weight: 340;
  letter-spacing: -.02em;
  line-height: .98;
}
.h-xxl { font-size: clamp(3rem, 1.2rem + 7.6vw, 8.4rem); }
.h-xl  { font-size: clamp(2.5rem, 1.3rem + 5vw, 6rem); }
.h-l   { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.25rem); line-height: 1.04; }
.h-m   { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.75rem); line-height: 1.1; }
.h-s   { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); line-height: 1.2; }
.h-xs  { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.3; }
h2.display, h3.display { font-weight: 360; }
.italic { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.clay { color: var(--clay-ink); }
.section--dark .clay, .section--walnut .clay { color: var(--wheat); }

.eyebrow {
  font-family: var(--f-label); font-weight: 600; font-size: .82rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--clay-ink);
  display: inline-flex; align-items: center; gap: .8em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow, .section--walnut .eyebrow { color: var(--wheat); }

.label {
  font-family: var(--f-label); font-weight: 500; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.section--dark .label, .section--walnut .label { color: #C9BFAF; }

.lede { font-family: var(--f-display); font-variation-settings: "opsz" 36; font-weight: 340; font-size: clamp(1.25rem, 1.08rem + .7vw, 1.62rem); line-height: 1.45; max-width: 38ch; }
.lede--wide { max-width: 52ch; }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.3rem); line-height: 1.12; margin-top: 1.9em; letter-spacing: -.01em; }
.prose h3 { font-family: var(--f-display); font-weight: 440; font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); line-height: 1.25; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--clay); }
.prose strong { font-weight: 600; }
.prose a { color: var(--clay-ink); }
.section--dark .prose a, .section--walnut .prose a { color: var(--wheat); }
.dropcap::first-letter {
  font-family: var(--f-display); float: left; font-size: 4.4em; line-height: .82;
  padding: .06em .1em 0 0; color: var(--clay-ink); font-weight: 300;
}

.num {
  font-family: var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 250; line-height: .85; letter-spacing: -.04em; font-feature-settings: "lnum", "tnum";
}
.num--outline { color: transparent; -webkit-text-stroke: 1px var(--clay); }
@supports not (-webkit-text-stroke: 1px black) { .num--outline { color: var(--clay); } }

/* ---------- measurement rule ---------- */
.rule { height: 1px; background: var(--line-strong); border: 0; margin: 0; }
.ruler {
  height: 14px; border-top: 1px solid var(--line-strong);
  background:
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 80px) top left / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 16px) top left / 100% 6px no-repeat;
}
.section--dark .ruler, .section--walnut .ruler {
  border-color: rgba(247,244,237,.35);
  background:
    repeating-linear-gradient(90deg, rgba(247,244,237,.35) 0 1px, transparent 1px 80px) top left / 100% 12px no-repeat,
    repeating-linear-gradient(90deg, rgba(247,244,237,.18) 0 1px, transparent 1px 16px) top left / 100% 6px no-repeat;
}

/* ---------- content-kind tags (fact / policy / statement / analysis / criticism) ---------- */
.kind {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-label); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  padding: .28em .7em .24em; border: 1px solid currentColor; border-radius: 99px; line-height: 1.2;
  white-space: nowrap;
}
.kind::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kind--fact { color: var(--sage-ink); }
.kind--office { color: var(--walnut); }
.kind--policy { color: var(--clay-ink); }
.kind--statement { color: #7A5A1E; }
.kind--analysis { color: var(--ink-soft); border-style: dashed; }
.kind--criticism { color: #8E3B27; }
.section--dark .kind, .section--walnut .kind { color: var(--wheat); }

.source {
  font-size: .82rem; line-height: 1.5; color: var(--ink-soft);
  padding-top: .8em; border-top: 1px solid var(--line); margin-top: 1.4em;
}
.source a { color: inherit; }
.section--dark .source, .section--walnut .source { color: #C9BFAF; border-color: rgba(247,244,237,.2); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 237, .9);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(36, 33, 30, .55); background: rgba(247, 244, 237, .96); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--f-display); font-size: 1.32rem; font-weight: 420; letter-spacing: -.01em; line-height: 1.05; font-variation-settings: "opsz" 48; }
.brand-role { font-family: var(--f-label); font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.primary-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 0; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: baseline; gap: .55em;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--f-label); font-weight: 600; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 14px; color: var(--ink); position: relative;
}
.nav-trigger .roman, .nav-link .roman { font-family: var(--f-display); font-style: italic; letter-spacing: 0; text-transform: none; font-weight: 400; font-size: .95rem; color: var(--clay-ink); }
.nav-trigger::after, .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: var(--clay);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-trigger:hover::after, .nav-trigger[aria-expanded="true"]::after, .nav-link:hover::after,
.nav-item.is-current > .nav-trigger::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-trigger svg { width: 9px; height: 9px; transition: transform .3s var(--ease); align-self: center; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-link--contact { margin-left: 10px; border: 1px solid var(--walnut); border-radius: 99px; padding: 9px 18px; }
.nav-link--contact::after { display: none; }
.nav-link--contact:hover, .nav-link--contact[aria-current="page"] { background: var(--walnut); color: var(--paper); }

/* mega panel */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px -40px rgba(36, 33, 30, .45);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { display: grid; grid-template-columns: minmax(240px, 4fr) 8fr; gap: clamp(24px, 4vw, 64px); padding-block: 40px 44px; }
.mega-intro { border-right: 1px solid var(--line); padding-right: 32px; }
.mega-intro .roman-big { font-family: var(--f-display); font-style: italic; font-size: 4rem; line-height: 1; color: var(--clay); font-weight: 300; }
.mega-intro h2 { font-family: var(--f-display); font-size: 2rem; margin: 10px 0 10px; font-weight: 380; }
.mega-intro p { color: var(--ink-soft); font-size: .95rem; max-width: 34ch; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; align-content: start; }
.mega-links a {
  display: grid; grid-template-columns: 34px 1fr; gap: 2px 8px; text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mega-links .n { grid-row: span 2; font-family: var(--f-label); font-size: .78rem; letter-spacing: .1em; color: var(--clay-ink); padding-top: 4px; }
.mega-links .t { font-family: var(--f-display); font-size: 1.16rem; line-height: 1.2; font-variation-settings: "opsz" 36; }
.mega-links .d { font-size: .84rem; color: var(--ink-soft); line-height: 1.4; }
.mega-links a:hover .t, .mega-links a[aria-current="page"] .t { color: var(--clay-ink); }
.mega-links a[aria-current="page"] .n::after { content: " ●"; }

.menu-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 1px solid var(--walnut);
  border-radius: 99px; padding: 9px 16px; cursor: pointer;
  font-family: var(--f-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem;
}
.menu-toggle .bars { width: 18px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.menu-toggle .bars::before { top: 0; } .menu-toggle .bars::after { bottom: 0; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; background: var(--limestone);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; min-height: var(--header-h); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--limestone); z-index: 1; }
.drawer-close { background: var(--walnut); color: var(--paper); border: 0; border-radius: 99px; padding: 10px 18px; cursor: pointer; font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; font-size: .82rem; display: inline-flex; gap: 8px; align-items: center; }
.drawer-body { padding-block: 12px 40px; flex: 1; }
.drawer-group { border-bottom: 1px solid var(--line-strong); }
.drawer-group > button {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: none; border: 0; padding: 20px 0; cursor: pointer; text-align: left;
}
.drawer-group > button .g-title { font-family: var(--f-display); font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1; font-weight: 360; }
.drawer-group > button .g-roman { font-family: var(--f-display); font-style: italic; color: var(--clay-ink); margin-right: .4em; }
.drawer-group > button .g-sign { font-family: var(--f-label); font-size: 1.4rem; transition: transform .3s var(--ease); }
.drawer-group > button[aria-expanded="true"] .g-sign { transform: rotate(45deg); }
.drawer-group ul { list-style: none; margin: 0; padding: 0 0 18px; display: none; }
.drawer-group.is-open ul { display: block; }
.drawer-group li a { display: flex; gap: 14px; padding: 10px 0; text-decoration: none; font-size: 1.06rem; }
.drawer-group li a .n { font-family: var(--f-label); color: var(--clay-ink); font-size: .8rem; letter-spacing: .1em; padding-top: 4px; min-width: 22px; }
.drawer-group li a[aria-current="page"] { color: var(--clay-ink); font-weight: 600; }
.drawer-contact { display: block; margin-top: 28px; text-align: center; background: var(--walnut); color: var(--paper); padding: 16px; border-radius: 99px; text-decoration: none; font-family: var(--f-label); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.drawer-contact:hover { color: var(--wheat); }
.drawer-note { margin-top: 22px; font-size: .86rem; color: var(--ink-soft); }
body.no-scroll { overflow: hidden; }

/* ---------- breadcrumb + page folio ---------- */
.crumbs { padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 0; font-family: var(--f-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--clay); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.folio {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--f-label); font-size: .74rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; align-items: center; gap: 14px; white-space: nowrap;
}
.folio::after { content: ""; width: 1px; height: 56px; background: var(--clay); }

/* ---------- figures ---------- */
.fig { position: relative; }
.fig img { width: 100%; height: auto; background: var(--mist); }
.fig figcaption, .caption {
  font-family: var(--f-label); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 12px; line-height: 1.5; display: flex; gap: 10px;
}
.fig figcaption::before { content: "Fig."; color: var(--clay-ink); font-weight: 600; flex: none; }
.section--dark .fig figcaption, .section--walnut .fig figcaption { color: #C9BFAF; }
.section--dark .fig figcaption::before, .section--walnut .fig figcaption::before { color: var(--wheat); }
/* small source images are shown at native size, never enlarged */
.fig--native { width: fit-content; max-width: 100%; }
.fig--native img { width: auto; max-width: 100%; }
/* architectural frame */
.frame { position: relative; padding: 0 0 clamp(14px, 2vw, 24px) clamp(14px, 2vw, 24px); }
.frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; background: var(--limestone); z-index: -1; }
.frame--clay::before { background: var(--clay); opacity: .85; }
.frame--sage::before { background: var(--sage); opacity: .55; }
.frame-ticks { position: absolute; top: 0; right: calc(-1 * clamp(10px, 1.6vw, 22px)); bottom: 30%; width: 10px;
  background: repeating-linear-gradient(180deg, var(--line-strong) 0 1px, transparent 1px 12px); border-left: 1px solid var(--line-strong); }
.fig-mat { background: var(--paper); padding: clamp(10px, 1.4vw, 18px); border: 1px solid var(--line); box-shadow: 0 24px 40px -32px rgba(36, 33, 30, .45); }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer;
  font-family: var(--f-label); font-weight: 600; font-size: .86rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 15px 24px; border-radius: 99px; border: 1px solid var(--walnut);
  background: var(--walnut); color: var(--paper); transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--clay-ink); border-color: var(--clay-ink); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--walnut); color: var(--paper); border-color: var(--walnut); }
.section--dark .btn--ghost, .section--walnut .btn--ghost { color: var(--ivory); border-color: rgba(247,244,237,.6); }
.section--dark .btn--ghost:hover, .section--walnut .btn--ghost:hover { background: var(--ivory); color: var(--charcoal); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.textlink { font-family: var(--f-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .84rem; text-decoration: none; border-bottom: 1px solid var(--clay); padding-bottom: 3px; color: var(--ink); }
.textlink:hover { color: var(--clay-ink); }
.section--dark .textlink, .section--walnut .textlink { color: var(--ivory); border-color: var(--wheat); }

/* ---------- page hero variants ---------- */
.page-hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 8vw, 110px); overflow: hidden; }
.page-hero .chapter { font-family: var(--f-label); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); display: flex; gap: 14px; align-items: center; margin-bottom: clamp(22px, 3vw, 40px); }
.page-hero .chapter b { color: var(--clay-ink); font-weight: 600; }
.page-hero .chapter::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 220px; }
.page-hero h1 { font-family: var(--f-display); font-variation-settings: "SOFT" 60, "opsz" 144; font-weight: 330; letter-spacing: -.025em; line-height: .98; }
.page-hero .standfirst { margin-top: clamp(18px, 2.4vw, 30px); }

/* A — typographic hero with oversized numeral */
.hero-type { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.hero-type .big-n { font-size: clamp(7rem, 4rem + 14vw, 19rem); color: var(--limestone); -webkit-text-stroke: 1px var(--clay); line-height: .75; user-select: none; }
.hero-type h1 { font-size: clamp(2.6rem, 1.3rem + 5.6vw, 6.6rem); max-width: 14ch; }

/* B — spread: text and image in a 5/7 or 7/5 split */
.hero-spread { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.hero-spread--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.hero-spread--flip > :first-child { order: 2; }
.hero-spread h1 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.6rem); }

/* C — banner: headline over a full-width image band */
.hero-band h1 { font-size: clamp(2.6rem, 1.2rem + 6vw, 7rem); max-width: 16ch; }
.hero-band .band-img { margin-top: clamp(28px, 4vw, 56px); }

/* D — centred quiet hero (text pages) */
.hero-quiet { text-align: center; max-width: 980px; margin-inline: auto; }
.hero-quiet h1 { font-size: clamp(2.5rem, 1.3rem + 5vw, 6.2rem); }
.hero-quiet .lede { margin-inline: auto; }
.hero-quiet .chapter { justify-content: center; }
.hero-quiet .chapter::after { display: none; }

/* ---------- chapter navigation at end of each page ---------- */
.chapter-nav { border-top: 1px solid var(--line); background: var(--paper); }
.chapter-nav .wrap { display: grid; grid-template-columns: 1fr 1fr; }
.chapter-nav a { display: block; padding: clamp(28px, 4vw, 52px) 0; text-decoration: none; color: var(--ink); }
.chapter-nav a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.chapter-nav a:first-child { padding-right: 24px; }
.chapter-nav .label { display: block; margin-bottom: 8px; }
.chapter-nav .t { font-family: var(--f-display); font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem); line-height: 1.1; font-weight: 360; }
.chapter-nav a:hover .t { color: var(--clay-ink); }

/* ---------- shared editorial components ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 88px); }
.split--even { grid-template-columns: 1fr 1fr; }
.split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky-side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }

.stack > * + * { margin-top: var(--stack, 1.2rem); }

.ledger { border-top: 1px solid var(--line-strong); }
.ledger-row { display: grid; grid-template-columns: minmax(140px, 3fr) minmax(0, 9fr); gap: clamp(16px, 3vw, 48px); padding: clamp(22px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line); }
.ledger-row h3 { font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; font-weight: 400; }
.ledger-row .label { display: block; margin-bottom: 8px; }
.section--dark .ledger, .section--walnut .ledger { border-color: rgba(247,244,237,.35); }
.section--dark .ledger-row, .section--walnut .ledger-row { border-color: rgba(247,244,237,.16); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line-strong); }
.fact { padding: 28px 22px 30px 0; border-bottom: 1px solid var(--line); position: relative; }
.fact .num { font-size: clamp(2.8rem, 2rem + 2.6vw, 4.4rem); display: block; color: var(--walnut); }
.fact .label { display: block; margin-top: 12px; }
.fact p { margin-top: 6px; font-size: .95rem; color: var(--ink-soft); }

.callout { border-left: 2px solid var(--clay); padding: 6px 0 6px clamp(18px, 2vw, 28px); }
.callout p { font-size: 1.02rem; }

.panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); }
.panel--limestone { background: var(--limestone); border-color: transparent; }
.panel--dark { background: var(--walnut); color: var(--ivory); border-color: transparent; }

.cols-2 { columns: 2 320px; column-gap: clamp(28px, 4vw, 64px); }
.cols-2 > p { break-inside: avoid-column; }
.cols-2 > p + p { margin-top: 1em; }

blockquote.pull {
  font-family: var(--f-display); font-variation-settings: "opsz" 144, "SOFT" 80; font-weight: 300;
  font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.12; letter-spacing: -.015em;
}
blockquote.pull .q { color: var(--clay); font-style: italic; }
.attribution { margin-top: 26px; font-family: var(--f-label); font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.attribution strong { color: var(--ink); font-weight: 600; }
.section--dark .attribution, .section--walnut .attribution { color: #C9BFAF; }
.section--dark .attribution strong, .section--walnut .attribution strong { color: var(--ivory); }

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }

/* numbered vertical list */
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numbered > li { counter-increment: n; display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.numbered > li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--clay); font-weight: 300; }
.numbered h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 420; line-height: 1.2; margin-bottom: 6px; }

/* details / disclosure */
.disclose { border-top: 1px solid var(--line-strong); }
.disclose:last-of-type { border-bottom: 1px solid var(--line-strong); }
.disclose summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 60px 1fr 40px; align-items: baseline; gap: 12px; padding: 26px 0; }
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary .n { font-family: var(--f-label); color: var(--clay-ink); letter-spacing: .12em; }
.disclose summary h2, .disclose summary h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.15; font-weight: 380; }
.disclose summary .sign { justify-self: end; font-size: 1.6rem; line-height: 1; transition: transform .3s var(--ease); color: var(--clay-ink); }
.disclose[open] summary .sign { transform: rotate(45deg); }
.disclose .disclose-body { padding: 0 0 34px 72px; }

/* data bars */
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; gap: 14px; align-items: center; font-size: .92rem; }
.bar .track { height: 12px; background: rgba(51, 42, 36, .08); position: relative; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: var(--clay); width: var(--w); transform-origin: left; }
.bar .fill--sage { background: var(--sage); }
.bar .fill--wheat { background: var(--wheat); }
.bar .v { font-family: var(--f-label); font-weight: 600; letter-spacing: .06em; font-feature-settings: "tnum"; }

/* topographic & field backgrounds */
.topo-bg { position: relative; isolation: isolate; }
.topo-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/other/topo.svg") center / cover no-repeat; opacity: .5; }
.section--dark.topo-bg::before, .section--walnut.topo-bg::before { opacity: .22; filter: invert(1); }
.field-bg { position: relative; isolation: isolate; }
.field-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/other/fields.svg") center / cover no-repeat; opacity: .28; }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; background: var(--charcoal); color: #E6DFD2; overflow: hidden; }
.footer-topo { position: absolute; inset: 0; background: url("../assets/other/topo.svg") right center / 1100px auto no-repeat; opacity: .09; filter: invert(1); pointer-events: none; }
.footer-head { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(64px, 8vw, 110px) clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(247,244,237,.14); }
.footer-motto { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem); line-height: .95; letter-spacing: -.02em; font-variation-settings: "SOFT" 80, "opsz" 144; color: var(--ivory); }
.footer-motto > span { display: block; }
.footer-motto .dot { color: var(--wheat); font-style: italic; }
.footer-motto-note { margin-top: 22px; max-width: 46ch; color: #BDB3A3; font-size: .96rem; }
.footer-contact h2 { font-family: var(--f-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--wheat); margin-bottom: 18px; }
.footer-contact .person { font-family: var(--f-display); font-size: 1.7rem; color: var(--ivory); line-height: 1.15; font-weight: 360; }
.footer-contact dl { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .98rem; }
.footer-contact dt { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: #A99E8D; padding-top: 3px; }
.footer-contact dd { margin: 0; overflow-wrap: anywhere; }
.footer-contact a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid rgba(213,183,122,.5); }
.footer-contact a:hover { color: var(--wheat); }

.footer-index { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(247,244,237,.14); }
.footer-index h3 { font-family: var(--f-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; color: var(--wheat); margin-bottom: 14px; }
.footer-index h3 .roman { font-family: var(--f-display); font-style: italic; text-transform: none; letter-spacing: 0; margin-right: 6px; font-size: .95rem; }
.footer-index ul { list-style: none; margin: 0; padding: 0; }
.footer-index li + li { margin-top: 7px; }
.footer-index a { color: #D8D0C2; text-decoration: none; font-size: .93rem; }
.footer-index a:hover { color: var(--wheat); text-decoration: underline; }

.footer-social { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-block: 30px; border-bottom: 1px solid rgba(247,244,237,.14); }
.footer-social .label { color: #A99E8D; }
.social-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.social-list a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(247,244,237,.3); display: grid; place-items: center; color: var(--ivory); transition: background .25s, color .25s, border-color .25s; }
.social-list a:hover { background: var(--wheat); color: var(--charcoal); border-color: var(--wheat); }
.social-list svg { width: 18px; height: 18px; }
.social-note { font-size: .82rem; color: #A99E8D; max-width: 52ch; }

.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-block: 26px 34px; font-size: .86rem; color: #A99E8D; }
.footer-base a { color: #E6DFD2; }
.footer-base a:hover { color: var(--wheat); }
.footer-base .credit strong { font-weight: 600; color: #E6DFD2; }
.footer-base button.endsession { background: none; border: 0; color: #A99E8D; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: .2em; font-size: .86rem; }
.footer-base button.endsession:hover { color: var(--wheat); }

/* ---------- motion (progressive) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.draw-line path, .draw-line line, .draw-line polyline { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); transition: stroke-dashoffset 2.4s var(--ease); }
.draw-line.is-in path, .draw-line.is-in line, .draw-line.is-in polyline { stroke-dashoffset: 0; }
.no-js .draw-line path, .no-js .draw-line line, .no-js .draw-line polyline { stroke-dashoffset: 0; }
.js .bar .fill { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .bars.is-in .fill { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .draw-line path, .draw-line line, .draw-line polyline { stroke-dashoffset: 0 !important; }
  .js .bar .fill { transform: none !important; }
}

/* ==========================================================================
   PAGE-SPECIFIC COMPOSITIONS
   ========================================================================== */

/* ----- HOME ----- */
.home-hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 8vw, 120px); position: relative; overflow: hidden; }
.home-hero .grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 90px); align-items: end; }
.home-hero .coords { font-family: var(--f-label); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: clamp(26px, 4vw, 52px); }
.home-hero .coords span:first-child { color: var(--clay-ink); font-weight: 600; }
.home-name { font-size: clamp(3.6rem, 1rem + 10.5vw, 11.4rem); line-height: .84; letter-spacing: -.045em; }
.home-name span { display: block; }
.home-name .line2 { padding-left: .55em; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; color: var(--clay-ink); }
.home-office { margin-top: clamp(26px, 3vw, 40px); display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; max-width: 40rem; }
.home-office .tick { height: 1px; background: var(--walnut); margin-top: .9em; }
.home-office p.office { font-family: var(--f-label); font-weight: 600; font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.home-office p.intro { grid-column: 2; margin-top: 14px; color: var(--ink-soft); max-width: 52ch; }
.home-portrait { position: relative; justify-self: end; width: min(100%, 470px); }
.home-portrait .frame { padding: 0 0 26px 26px; }
.home-portrait .frame::before { width: 80%; height: 64%; background: var(--clay); opacity: .9; }
.home-portrait img { width: 100%; aspect-ratio: auto; }
.home-portrait .vert { position: absolute; left: -38px; top: 0; }
.hero-scale { margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--walnut); }
.hero-scale div { padding: 14px 12px 0 0; font-family: var(--f-label); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); position: relative; }
.hero-scale div::before { content: ""; position: absolute; left: 0; top: -1px; width: 1px; height: 12px; background: var(--walnut); }
.hero-scale b { display: block; font-family: var(--f-display); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 380; }

/* journey */
.journey { position: relative; }
.journey-svg { position: absolute; left: clamp(36px, 7vw, 120px); top: 0; bottom: 0; width: 2px; height: 100%; overflow: visible; }
.journey-step { display: grid; grid-template-columns: clamp(80px, 14vw, 240px) minmax(0, 5fr) minmax(0, 6fr); gap: clamp(18px, 3vw, 48px); padding-block: clamp(36px, 5vw, 72px); border-top: 1px solid var(--line); align-items: start; position: relative; }
.journey-step:last-child { border-bottom: 1px solid var(--line); }
.journey-step .num { font-size: clamp(4.4rem, 2.4rem + 7vw, 10rem); color: var(--walnut);  }
.journey-step:nth-child(even) .num { color: transparent; -webkit-text-stroke: 1px var(--clay); }
.journey-step .word { font-family: var(--f-label); font-weight: 600; letter-spacing: .3em; text-transform: uppercase; font-size: .92rem; color: var(--clay-ink); }
.journey-step h3 { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.7rem); line-height: 1.06; margin-top: 10px; }
.journey-step .years { font-family: var(--f-label); letter-spacing: .14em; color: var(--ink-soft); margin-top: 10px; display: block; }

/* workshop narrative */
.workshop { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.workshop-steps { list-style: none; margin: 32px 0 0; padding: 0; border-left: 1px solid var(--clay); }
.workshop-steps li { position: relative; padding: 0 0 22px 26px; }
.workshop-steps li::before { content: ""; position: absolute; left: -5px; top: .55em; width: 9px; height: 9px; background: var(--ivory); border: 1px solid var(--clay); transform: rotate(45deg); }
.workshop-steps .y { font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; color: var(--clay-ink); display: block; font-size: .85rem; }

/* minister remit */
.remit-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.remit-title { font-size: clamp(3.2rem, 1.2rem + 8vw, 9.4rem); line-height: .86; letter-spacing: -.04em; }
.remit-title em { color: var(--wheat); }
.remit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(247,244,237,.35); }
.remit-item { padding: 28px 28px 34px 0; border-bottom: 1px solid rgba(247,244,237,.16); }
.remit-item:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid rgba(247,244,237,.16); }
.remit-item .label { display: block; color: var(--wheat); margin-bottom: 10px; }
.remit-item h3 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 380; line-height: 1.15; margin-bottom: 10px; color: var(--ivory); }
.remit-item p { color: #D6CDBE; font-size: .96rem; }

/* landscape of policy */
.landscape { position: relative; background: var(--limestone); overflow: hidden; isolation: isolate; }
.landscape-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.landscape .wrap { position: relative; height: 100%; padding-block: clamp(56px, 7vw, 96px); }
.landscape-head { max-width: 40rem; position: relative; z-index: 2; }
.coord-list { list-style: none; margin: 32px 0 0; padding: 0; position: relative; height: clamp(360px, 34vw, 480px); }
.coord { position: absolute; left: var(--x); top: var(--y); z-index: 2; }
.coord a { display: inline-flex; flex-direction: column; text-decoration: none; padding: 10px 14px 10px 26px; position: relative; background: rgba(252, 251, 247, .82); border: 1px solid var(--line); transition: background .25s, transform .25s var(--ease); }
.coord a::before { content: ""; position: absolute; left: 9px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--terracotta); box-shadow: 0 0 0 5px rgba(182, 93, 67, .18); }
.coord a:hover { background: var(--walnut); color: var(--paper); transform: translateY(-2px); }
.coord .c { font-family: var(--f-label); font-size: .68rem; letter-spacing: .16em; color: var(--ink-soft); }
.coord a:hover .c { color: var(--wheat); }
.coord .t { font-family: var(--f-label); font-weight: 600; font-size: .98rem; letter-spacing: .14em; text-transform: uppercase; }

/* challenges grid */
.challenges { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.challenge { padding: clamp(24px, 3vw, 40px) clamp(18px, 2.4vw, 32px) clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); grid-column: span 2; }
.challenge:nth-child(1) { grid-column: span 4; }
.challenge:nth-child(2) { grid-column: span 2; }
.challenge:nth-child(n+2) { padding-left: clamp(18px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.challenge:nth-child(3) { border-left: 0; padding-left: 0; }
.challenge:nth-child(6) { grid-column: span 2; }
.challenge .label { display: block; margin-bottom: 12px; }
.challenge h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); line-height: 1.12; font-weight: 380; margin-bottom: 12px; }
.challenge p { color: var(--ink-soft); }
.challenge .stat { display: flex; align-items: baseline; gap: 14px; margin: 18px 0 8px; flex-wrap: wrap; }
.challenge .stat .num { font-size: clamp(3rem, 2rem + 3vw, 5rem); color: var(--clay-ink); }

/* contents (magazine table of contents) */
.contents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.contents h3 { font-family: var(--f-label); letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; color: var(--clay-ink); padding-bottom: 12px; border-bottom: 1px solid var(--walnut); margin-bottom: 6px; font-weight: 600; }
.contents ul { list-style: none; margin: 0; padding: 0; }
.contents a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dotted var(--line-strong); text-decoration: none; font-family: var(--f-display); font-size: 1.08rem; font-variation-settings: "opsz" 36; }
.contents a span:last-child { font-family: var(--f-label); font-size: .78rem; color: var(--ink-soft); letter-spacing: .1em; }

/* ----- BIOGRAPHY: chapters list with sticky index ----- */
.bio-index { list-style: none; margin: 0; padding: 0; font-size: .92rem; counter-reset: b; }
.bio-index li { counter-increment: b; }
.bio-index a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 7px 0; text-decoration: none; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.bio-index a::before { content: counter(b, decimal-leading-zero); font-family: var(--f-label); color: var(--clay-ink); letter-spacing: .08em; font-size: .8rem; padding-top: 2px; }
.bio-index a:hover, .bio-index a.is-active { color: var(--ink); }
.bio-chapter { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); padding-block: clamp(30px, 4vw, 52px); border-top: 1px solid var(--line); }
.bio-chapter:first-child { border-top: 0; padding-top: 0; }
.bio-chapter .yr { font-family: var(--f-label); font-weight: 600; letter-spacing: .1em; color: var(--clay-ink); font-size: .92rem; padding-top: .5em; }
.bio-chapter h2 { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.2rem); line-height: 1.12; margin-bottom: 14px; }

/* ----- CRAFT: chain HAND → PRODUCT → … ----- */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--walnut); border-bottom: 1px solid var(--walnut); counter-reset: c; }
.chain-link { padding: clamp(22px, 3vw, 40px) clamp(14px, 1.8vw, 24px); position: relative; counter-increment: c; }
.chain-link + .chain-link { border-left: 1px solid var(--line-strong); }
.chain-link::before { content: counter(c, decimal-leading-zero); font-family: var(--f-label); font-size: .78rem; letter-spacing: .14em; color: var(--clay-ink); display: block; }
.chain-link + .chain-link::after { content: "→"; position: absolute; left: -11px; top: clamp(22px, 3vw, 40px); background: var(--limestone); color: var(--clay-ink); width: 22px; text-align: center; font-size: 1rem; line-height: 1.2; }
.chain-link h3 { font-family: var(--f-display); font-size: clamp(1.25rem, .9rem + 1vw, 1.9rem); hyphens: manual; overflow-wrap: normal; font-weight: 340; letter-spacing: -.01em; margin: 14px 0 12px; text-transform: uppercase; }
.chain-link p { font-size: .94rem; color: var(--ink-soft); }
.hand-svg { width: 100%; max-width: 520px; height: auto; color: var(--walnut); }

/* ----- TIMELINE: vertical field-boundary ----- */
.fieldline { position: relative; }
.fieldline::before { content: ""; position: absolute; left: clamp(86px, 14vw, 190px); top: 0; bottom: 0; width: 1px; background: var(--walnut); }
.fl-item { display: grid; grid-template-columns: clamp(86px, 14vw, 190px) minmax(0, 1fr); position: relative; }
.fl-year { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 1rem + 2.4vw, 3.4rem); line-height: 1; padding: 34px 18px 0 0; text-align: right; letter-spacing: -.02em; color: var(--walnut); font-feature-settings: "lnum"; }
.fl-year small { display: block; font-family: var(--f-label); font-size: .72rem; letter-spacing: .14em; color: var(--ink-soft); margin-top: 6px; }
.fl-body { padding: 34px 0 34px clamp(26px, 4vw, 56px); position: relative; border-bottom: 1px dashed var(--line-strong); }
.fl-body::before { content: ""; position: absolute; left: -6px; top: 44px; width: 11px; height: 11px; background: var(--ivory); border: 1px solid var(--walnut); transform: rotate(45deg); }
.fl-item.is-major .fl-body::before { background: var(--terracotta); border-color: var(--terracotta); }
.fl-body h2 { font-family: var(--f-display); font-weight: 380; font-size: clamp(1.4rem, 1.15rem + 1vw, 2.1rem); line-height: 1.12; margin: 8px 0 10px; }
.fl-body p { max-width: 60ch; color: var(--ink-soft); }
.fl-body .fl-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fl-field { position: absolute; right: 0; top: 30px; width: clamp(120px, 18vw, 230px); opacity: .55; color: var(--sage); pointer-events: none; }
.fl-figure { margin-top: 22px; max-width: 640px; }
.fl-era { padding: 40px 0 10px clamp(112px, calc(14vw + 26px), 246px); font-family: var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--clay-ink); font-weight: 600; font-size: .86rem; position: relative; }

/* ----- GEOGRAPHY: coordinate plots ----- */
.geo-plot { width: 100%; height: auto; font-family: var(--f-label); }
.geo-plot text { fill: var(--ink); font-size: 13px; letter-spacing: .08em; }
.geo-plot .grat { stroke: var(--line); stroke-width: 1; }
.geo-plot .glab { fill: var(--ink-soft); font-size: 11px; }
.geo-legend { font-size: .86rem; color: var(--ink-soft); }

/* ----- GALLERY ----- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 4vw, 48px); }
.gallery-filter button { background: transparent; border: 1px solid var(--line-strong); border-radius: 99px; padding: 9px 16px; cursor: pointer; font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.gallery-filter button[aria-pressed="true"] { background: var(--walnut); color: var(--paper); border-color: var(--walnut); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3.6vw, 52px) clamp(16px, 2.2vw, 32px); align-items: start; }
.g-item { grid-column: span 4; }
.g-item.w-8 { grid-column: span 8; }
.g-item.w-6 { grid-column: span 6; }
.g-item.w-5 { grid-column: span 5; }
.g-item.w-7 { grid-column: span 7; }
.g-item.w-3 { grid-column: span 3; }
.g-item[hidden] { display: none; }
.g-item button { display: block; width: 100%; padding: 0; border: 0; background: var(--paper); cursor: zoom-in; }
.g-item img { width: 100%; height: auto; }
.g-item.small-src button { background: var(--limestone); padding: clamp(14px, 2vw, 28px); }
.g-item.small-src img { width: auto; max-width: 100%; margin-inline: auto; }
.g-item .g-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.g-item .g-meta p { font-size: .9rem; line-height: 1.45; }
.g-item .g-meta .label { white-space: nowrap; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(36, 33, 30, .94); display: none; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.lightbox.is-open { display: flex; }
.lightbox figure { max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: #E6DFD2; margin-top: 14px; font-size: .95rem; text-align: center; max-width: 70ch; }
.lightbox-close { position: absolute; top: 16px; right: 16px; background: var(--ivory); color: var(--charcoal); border: 0; border-radius: 99px; padding: 10px 18px; cursor: pointer; font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; font-size: .8rem; }

/* ----- CONTACT ----- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.contact-card { background: var(--walnut); color: var(--ivory); padding: clamp(28px, 3.4vw, 48px); position: relative; overflow: hidden; }
.contact-card .label { color: var(--wheat); }
.contact-card .person { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); line-height: 1.05; font-weight: 340; margin: 12px 0 26px; }
.contact-card dl { display: grid; gap: 18px; }
.contact-card dt { font-family: var(--f-label); letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; color: #BFB4A3; }
.contact-card dd { margin: 4px 0 0; font-size: 1.12rem; overflow-wrap: anywhere; }
.contact-card a { color: var(--ivory); text-decoration: none; border-bottom: 1px solid var(--wheat); }
.contact-card a:hover { color: var(--wheat); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--f-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.field .req { color: var(--clay-ink); }
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--walnut); background: rgba(252, 251, 247, .7);
  padding: 13px 14px; border-radius: 0; font-size: 1rem; color: var(--ink); min-height: 50px;
  transition: background .2s, border-color .2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23332A24' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--paper); border-bottom: 2px solid var(--terracotta); box-shadow: 0 0 0 2px rgba(182, 93, 67, .25); }
.field .hint { font-size: .82rem; color: var(--ink-soft); }
.field .err { font-size: .86rem; color: #8E3B27; font-weight: 600; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-bottom-color: #8E3B27; background: #F6E9E3; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--walnut); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 18px 20px; border-left: 3px solid var(--clay); background: var(--paper); display: none; }
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: #8E3B27; background: #F6E9E3; }
.form-status h3 { font-family: var(--f-display); font-size: 1.3rem; font-weight: 420; margin-bottom: 6px; }

/* ----- CRITICISM: debate matrix ----- */
.debate { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: 18px; }
.debate > div { padding: 20px 22px; }
.debate > div + div { border-left: 1px solid var(--line); }
.debate .wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--line); }
.debate h3, .debate h4 { font-family: var(--f-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--clay-ink); margin: 0 0 8px; }
.debate p, .debate li { font-size: .96rem; }
.debate ul { padding-left: 1.1em; margin: 0; }

/* ----- INITIATIVES: dossier cards ----- */
.dossier { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 64px); padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--walnut); }
.dossier-head .num { font-size: clamp(4rem, 3rem + 4vw, 7.5rem); color: var(--clay); display: block; margin-bottom: 14px; }
.dossier-head h2 { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.08; }
.dossier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.dossier-grid > div { padding: 18px 20px 22px 0; border-bottom: 1px solid var(--line); }
.dossier-grid > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.dossier-grid h3 { font-family: var(--f-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--clay-ink); margin-bottom: 8px; }
.dossier-grid p { font-size: .97rem; }

/* ----- SPEECHES: archive cards ----- */
.archive { display: grid; gap: 0; }
.record { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 220px); gap: clamp(16px, 3vw, 44px); padding-block: 32px; border-top: 1px solid var(--line-strong); }
.record .date { font-family: var(--f-label); font-weight: 600; letter-spacing: .1em; font-size: .92rem; }
.record .date span { display: block; font-family: var(--f-display); font-size: 2.6rem; font-weight: 300; letter-spacing: -.02em; line-height: 1; color: var(--clay-ink); }
.record h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.8rem); line-height: 1.15; margin-bottom: 10px; }
.record .side { font-size: .86rem; color: var(--ink-soft); border-left: 1px solid var(--line); padding-left: 18px; }
.record .side dt { font-family: var(--f-label); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--clay-ink); margin-top: 10px; }
.record .side dt:first-child { margin-top: 0; }
.record .side dd { margin: 2px 0 0; }
.record blockquote { margin-top: 14px; font-family: var(--f-display); font-style: italic; font-size: 1.15rem; line-height: 1.4; border-left: 2px solid var(--wheat); padding-left: 16px; }

/* ----- POSITIONS: policy map ----- */
.posmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pos { background: var(--paper); border: 1px solid var(--line); padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.pos::before { content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 3px; background: var(--clay); }
.pos:nth-child(3n+2)::before { background: var(--sage); }
.pos:nth-child(3n)::before { background: var(--wheat); }
.pos h2 { font-family: var(--f-display); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.pos .stance { font-size: .97rem; }
.pos .basis { font-size: .82rem; color: var(--ink-soft); margin-top: auto; padding-top: 12px; border-top: 1px dotted var(--line-strong); }

/* ----- ACHIEVEMENTS: status columns ----- */
.status-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--walnut); }
.status-col { padding: 22px clamp(14px, 1.6vw, 22px) 26px; }
.status-col + .status-col { border-left: 1px solid var(--line); }
.status-col > h2 { font-family: var(--f-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .86rem; display: flex; justify-content: space-between; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.status-col > h2 .ct { color: var(--clay-ink); }
.status-col p.intro { font-size: .86rem; color: var(--ink-soft); padding: 12px 0; }
.status-item { padding: 16px 0; border-top: 1px dotted var(--line-strong); }
.status-item h3 { font-family: var(--f-display); font-size: 1.12rem; font-weight: 440; line-height: 1.25; margin-bottom: 6px; }
.status-item p { font-size: .9rem; color: var(--ink-soft); }

/* ----- FINANCE: ledger look ----- */
.ledger-hero { border: 1px solid var(--walnut); background: var(--paper); }
.ledger-hero .lh-top { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); border-bottom: 1px solid var(--walnut); }
.ledger-hero .lh-top > div { padding: clamp(22px, 3.4vw, 48px); }
.ledger-hero .lh-top > div + div { border-left: 1px solid var(--walnut); background: var(--limestone); }
.ledger-hero .lh-rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ledger-hero .lh-rows > div { padding: 18px clamp(16px, 2vw, 26px); }
.ledger-hero .lh-rows > div + div { border-left: 1px solid var(--line-strong); }
.ledger-hero .lh-rows b { display: block; font-family: var(--f-display); font-weight: 380; font-size: 1.5rem; }

/* ----- TRANSPORT: route ----- */
.route { position: relative; padding-left: 0; }
.route-svg { width: 100%; height: auto; color: var(--walnut); }
.route-stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); margin-top: 8px; }
.route-stop .label { display: block; color: var(--clay-ink); margin-bottom: 6px; }
.route-stop h2, .route-stop h3 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 400; line-height: 1.15; margin-bottom: 8px; }
.route-stop p { font-size: .95rem; color: var(--ink-soft); }

/* ----- 404 ----- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 80px; }
.nf .num { font-size: clamp(8rem, 5rem + 18vw, 22rem); color: transparent; -webkit-text-stroke: 1.5px var(--clay); }

/* utility */
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: clamp(40px, 5vw, 72px); } .mt-xl { margin-top: clamp(56px, 7vw, 110px); }
.mb-m { margin-bottom: 28px; } .mb-l { margin-bottom: clamp(36px, 5vw, 64px); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.small { font-size: .88rem; }
.max-40 { max-width: 40rem; } .max-52 { max-width: 52rem; }
.flex-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.inline-list { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 0; }
.debate .debate-pair { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.debate .debate-pair > div { padding: 20px 22px; }
.debate .debate-pair > div + div { border-left: 1px solid var(--line); }
/* headlines never auto-hyphenate; long German compounds wrap via overflow-wrap or explicit &shy; */
.page-hero h1, .display, .home-name, .h-l, .h-xl, .h-xxl { hyphens: manual; -webkit-hyphens: manual; }
/* small source photos: matted, shown at native size */
.fig--native { background: var(--paper); border: 1px solid var(--line); padding: 12px 12px 4px; box-shadow: 0 20px 34px -30px rgba(36, 33, 30, .5); }
.fig--native figcaption { max-width: 46ch; }
