/* ==========================================================================
   Dossier 01 — design tokens and layout
   Reference: Monocle (quality broadsheet on cream paper), adapted.
   Rules: hairline rules only, radius 0, one accent with a hard budget,
   serif display, grotesk body, mono meta. No gradients, no shadows.
   ========================================================================== */

@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Spectral';
  src: url('fonts/spectral-latin-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('fonts/schibsted-grotesk-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('fonts/schibsted-grotesk-latin-500-normal.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  src: url('fonts/schibsted-grotesk-latin-700-normal.woff2') format('woff2');
  font-weight: 700 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root{
  /* surfaces */
  --paper:       #f7f4ec;
  --paper-lift:  #fffdf7;
  --paper-deep:  #efe9db;

  /* ink */
  --ink:         #152128;
  --muted:       #64625f;
  --rule:        #d8d2c6;

  /* signal */
  --accent:      #e81120;
  --accent-text: #c20020;

  /* type */
  --font-display: 'Spectral', Georgia, 'Times New Roman', serif;
  --font-text:    'Schibsted Grotesk', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  /* grid */
  --wrap: 1280px;
  --gutter: 24px;
  --margin: 48px;
  --rail: 132px;
}

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 1100px) {
  body { font-size: 18px; }
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: text-underline-offset 120ms ease;
}
a:hover, a:focus-visible { text-underline-offset: 4px; }

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}

::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  background: var(--paper-lift);
  border: 1px solid var(--ink);
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.skip-link:focus { left: 12px; }

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---------------------------------------------------------------- masthead */

.masthead {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px var(--margin) 0;
  border-top: 2px solid var(--ink);
}

.masthead__rule {
  border-bottom: 1px solid var(--ink);
  transform-origin: left;
  animation: rule-in 320ms cubic-bezier(.2,0,0,1) both;
}

.masthead__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
}
.masthead__top .mono:first-child { justify-self: start; }
.masthead__top .mono:last-child  { justify-self: end; }
.masthead__sub { color: var(--muted); }

.masthead__title {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--ink);
}

.eyebrow {
  grid-column: 1 / span 12;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-text);
  margin-bottom: 28px;
}
.eyebrow .tick {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.masthead h1 {
  grid-column: 1 / span 9;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 1.9rem + 2.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.masthead h1 span { display: block; }
.masthead h1 span:nth-child(1) { animation: line-in 500ms 60ms  cubic-bezier(.2,0,0,1) both; }
.masthead h1 span:nth-child(2) { animation: line-in 500ms 120ms cubic-bezier(.2,0,0,1) both; }
.masthead h1 span:nth-child(3) { animation: line-in 500ms 180ms cubic-bezier(.2,0,0,1) both; }

.standfirst {
  grid-column: 1 / span 6;
  margin: 28px 0 0;
  font-size: clamp(19px, 17px + 0.4vw, 22px);
  line-height: 1.45;
  max-width: 58ch;
  text-wrap: pretty;
}

.masthead__meta {
  grid-column: 9 / span 4;
  align-self: end;
  display: grid;
  gap: 6px;
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}
.masthead__meta div { display: grid; grid-template-columns: 64px 1fr; gap: 10px; }
.masthead__meta span:first-child { color: var(--ink); }

/* -------------------------------------------------------------------- rail */

.rail {
  position: fixed;
  left: 20px;
  top: 200px;
  z-index: 20;
  display: none;
  flex-direction: column;
  gap: 2px;
  width: 40px;
}
.rail__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 5px 0;
  color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 10px;
  transition: color 160ms ease-out, border-color 160ms ease-out;
}
.rail__item:hover { color: var(--ink); text-decoration: none; }
.rail__item.is-active { color: var(--ink); border-left-color: var(--ink); }
.rail__num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; }
.rail__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (min-width: 1600px) {
  .rail { left: 24px; width: 104px; }
  .rail__item { grid-template-columns: 28px 1fr; }
  .rail__label {
    position: static;
    width: auto; height: auto;
    overflow: visible;
    clip: auto;
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
  }
}

@media (min-width: 1360px) {
  .rail { display: flex; }
}

/* ----------------------------------------------------------------- layout */

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

section {
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 20px;
}
section:first-of-type { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  margin-bottom: 40px;
}
.section-head__num {
  grid-column: 1 / span 1;
  color: var(--muted);
  padding-top: 8px;
}
.section-head__title {
  grid-column: 2 / span 7;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.625rem, 1.35rem + 1.1vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.section-head__question {
  grid-column: 10 / span 3;
  justify-self: end;
  align-self: start;
  padding-top: 10px;
  color: var(--muted);
  text-align: right;
}

.lede {
  font-size: clamp(19px, 17px + 0.4vw, 22px);
  line-height: 1.45;
  max-width: 58ch;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.body-col {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.body-col > .prose { grid-column: 2 / span 6; }
.body-col > .margin-note { grid-column: 9 / span 4; }

.prose p { margin: 0 0 18px; max-width: 62ch; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 500; }

.margin-note {
  align-self: start;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.margin-note dl { margin: 0; display: grid; gap: 14px; }
.margin-note dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.margin-note dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.margin-note dd small {
  display: block;
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 3px;
}

/* ------------------------------------------------------------- priorities */

.priorities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.priority {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 160ms ease-out;
}
.priority:hover { background: var(--paper-deep); }
.priority__num {
  grid-column: 1 / span 1;
  color: var(--muted);
  padding-top: 6px;
}
.priority__title {
  grid-column: 2 / span 4;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.priority__body { grid-column: 6 / span 4; }
.priority__body p { margin: 0 0 10px; font-size: 16px; line-height: 1.5; max-width: 46ch; }
.priority__num .mono, .priority__meta { color: var(--muted); }
.priority__meta { grid-column: 10 / span 3; display: grid; gap: 6px; align-content: start; }
.priority__meta div { display: grid; gap: 2px; }
.priority__meta span:first-child { color: var(--ink); }

/* ------------------------------------------------------------------- days */

.timeline {
  padding: 18px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.timeline__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.timeline__buttons { display: flex; gap: 4px; }
.day-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}
.day-btn:hover { border-color: var(--ink); }
.day-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.day-btn[data-day="0"] { position: relative; }
.day-btn[data-day="0"]::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: -1px;
  height: 2px;
  background: var(--accent);
}
.timeline__status { color: var(--muted); }
.timeline__track { position: relative; height: 2px; background: var(--rule); margin-top: 14px; }
.timeline__fill {
  position: absolute;
  left: 0; top: 0;
  height: 2px;
  width: 0;
  background: var(--ink);
  transition: width 240ms cubic-bezier(.2,0,0,1);
}

.phases { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.phase {
  grid-column: span 4;
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  transition: opacity 160ms ease-out;
}
.phase:nth-child(2) { transform: translateY(8px); }
.phase.is-quiet { opacity: 0.45; }
.phase__weeks { color: var(--muted); margin-bottom: 10px; display: block; }
.phase h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.phase p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.phase p:last-child { margin-bottom: 0; }
.phase .deliverable { border-top: 1px solid var(--rule); padding-top: 10px; margin-top: 14px; }
.phase .deliverable b { font-weight: 500; }
.phase .done-when { font-family: var(--font-display); font-style: italic; font-size: 17px; line-height: 1.35; }

/* ----------------------------------------------------------------- ledger */

.ledger-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ledger-tools__buttons { display: flex; flex-wrap: wrap; gap: 4px; }
.ledger-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 9px;
  cursor: pointer;
}
.ledger-btn:hover { border-color: var(--ink); }
.ledger-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ledger-count { color: var(--muted); }

.table-wrap { overflow-x: auto; border-top: 1px solid var(--ink); }
table.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
  min-width: 760px;
}
.ledger th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
  text-align: left;
  padding: 12px 12px 10px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: bottom;
}
.ledger td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger tbody tr { transition: background-color 160ms ease-out; }
.ledger tbody tr:hover { background: var(--paper-deep); }
.ledger td:first-child { font-weight: 500; }
.ledger .num { font-family: var(--font-mono); font-size: 13px; font-variant-numeric: tabular-nums; }
.ledger .unknown { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.ledger .tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.ledger tr[hidden] { display: none; }
.ledger-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 70ch; }

/* --------------------------------------------------------------- refusals */

.refusals { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.refusal {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.refusal__index { grid-column: 1 / span 1; color: var(--muted); padding-top: 4px; }
.refusal__what {
  grid-column: 2 / span 5;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.refusal__why { grid-column: 7 / span 5; font-size: 15px; line-height: 1.5; color: var(--muted); }
.refusal__flag { grid-column: 12 / span 1; justify-self: end; align-self: start; color: var(--accent-text); }
.refusal--hard { border-left: 2px solid var(--accent); padding-left: 22px; margin-left: -24px; }
.refusal--hard .refusal__index { color: var(--muted); }

/* --------------------------------------------------------------- position */

.position { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); border-top: 1px solid var(--ink); padding-top: 24px; }
.position__col h3 {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
}
.position__left { grid-column: 1 / span 6; }
.position__right { grid-column: 8 / span 5; border-left: 1px solid var(--rule); padding-left: 24px; }
.position ul { list-style: none; margin: 0; padding: 0; }
.position li { padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.5; }
.position li:last-child { border-bottom: 0; }
.position .tag { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.balance {
  grid-column: 1 / span 12;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------- questions */

.questions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.question {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.question__num { grid-column: 1 / span 1; color: var(--muted); padding-top: 3px; }
.question__text { grid-column: 2 / span 9; margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.3; letter-spacing: -0.008em; max-width: 70ch; }
.questions__tools { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.copy-btn {
  appearance: none;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.copy-btn:hover, .copy-btn:focus-visible { background: var(--ink); color: var(--paper); }
.contact .copy-btn { border-color: var(--paper); color: var(--paper); }
.contact .copy-btn:hover, .contact .copy-btn:focus-visible { background: var(--paper); color: var(--ink); }
.copy-status { color: var(--muted); }

/* ------------------------------------------------------------------ contact */

.contact {
  background: var(--ink);
  color: var(--paper);
  padding: 56px var(--margin) 48px;
}
.contact__inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.contact__title { grid-column: 1 / span 12; margin: 0 0 32px; font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
.contact__col { grid-column: span 4; }
.contact__col h3 { margin: 0 0 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 400; color: var(--rule); }
.contact__col p, .contact__col li { margin: 0 0 6px; font-size: 15px; line-height: 1.5; }
.contact__col ul { list-style: none; margin: 0; padding: 0; }
.contact a { color: var(--paper); text-underline-offset: 3px; }
.contact a:hover { text-underline-offset: 5px; }
.downloads { display: grid; gap: 6px; }
.download {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.download span:last-child { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rule); align-self: center; }
.download:hover { text-decoration: none; }
.download:hover span:first-child { text-decoration: underline; }

/* ----------------------------------------------------------------- colophon */

.colophon {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px var(--margin) 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  color: var(--muted);
}
.colophon p { margin: 0 0 6px; max-width: 62ch; font-size: 13px; line-height: 1.5; }
.colophon .mono { color: var(--ink); margin-bottom: 8px; display: block; }
.folio {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--margin) 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

/* --------------------------------------------------------------- utilities */

.rule-thick { border-top: 2px solid var(--ink); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@keyframes rule-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes line-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* -------------------------------------------------------------- responsive */

@media (max-width: 1100px) {
  :root { --margin: 32px; }
  .masthead h1 { grid-column: 1 / span 12; }
  .standfirst { grid-column: 1 / span 8; }
  .masthead__meta { grid-column: 1 / span 12; margin-top: 20px; }
  .body-col > .prose { grid-column: 1 / span 8; }
  .body-col > .margin-note { grid-column: 1 / span 12; margin-top: 24px; }
  .section-head__title { grid-column: 2 / span 11; }
  .section-head__question { grid-column: 2 / span 11; justify-self: start; text-align: left; padding-top: 0; margin-top: 8px; }
  .priority__title { grid-column: 2 / span 6; }
  .priority__body { grid-column: 8 / span 5; }
  .phase { grid-column: span 6; }
  .phase:nth-child(2) { transform: none; }
  .position__left { grid-column: 1 / span 7; }
  .position__right { grid-column: 8 / span 5; }
  .contact__col { grid-column: span 6; }
}

@media (max-width: 720px) {
  :root { --margin: 20px; --gutter: 16px; }
  body { font-size: 16px; }
  .masthead { padding-top: 20px; }
  .masthead__top { grid-template-columns: 1fr 1fr; gap: 8px; }
  .masthead__sub { display: none; }
  .masthead__top .mono:last-child { grid-column: 2; }
  .masthead__title { padding: 36px 0 32px; }
  .standfirst { grid-column: 1 / span 12; }
  .section-head { display: block; }
  .section-head__num { margin-bottom: 6px; }
  .section-head__question { text-align: left; margin-top: 8px; }
  .body-col { display: block; }
  .margin-note { margin-top: 24px; }
  section { padding: 48px 0; }
  .priority, .refusal, .question { display: block; }
  .priority__num, .refusal__index, .question__num { margin-bottom: 6px; }
  .priority__title { margin-bottom: 10px; }
  .priority__body { margin-bottom: 8px; }
  .priority__meta { margin-top: 8px; }
  .timeline__head { display: block; }
  .timeline__status { display: block; margin-top: 10px; }
  .timeline__buttons { flex-wrap: wrap; }
  .phases { display: block; }
  .phase { margin-bottom: 32px; }
  .position { display: block; }
  .position__right { border-left: 0; padding-left: 0; margin-top: 28px; border-top: 1px solid var(--rule); padding-top: 20px; }
  .contact { padding: 40px var(--margin) 32px; }
  .contact__col { grid-column: 1 / span 12; margin-bottom: 24px; }
  .colophon { grid-template-columns: 1fr; }
  .folio { flex-wrap: wrap; }
}


@media (max-width: 720px) {
  .table-wrap { overflow: visible; }
  table.ledger { display: block; min-width: 0; font-size: 14px; }
  .ledger thead { display: none; }
  .ledger tbody { display: block; }
  .ledger tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .ledger td { display: block; border: 0; padding: 0; }
  .ledger td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
  }
  .ledger td:first-child { font-size: 17px; }
  .ledger tr:hover { background: transparent; }
}

/* ------------------------------------------------------------------- print */

@media print {
  @page { size: A4; margin: 13mm 14mm 12mm; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #000; font-size: 8.6pt; line-height: 1.34; }
  .rail, .timeline, .ledger-tools, .copy-btn, .copy-status, .skip-link, .print-hide { display: none !important; }
  .masthead, .wrap, .contact__inner, .colophon, .folio { max-width: none; padding-left: 0; padding-right: 0; }
  .masthead { border-top-width: 1pt; padding-top: 0; }
  .masthead__top { padding: 2mm 0; }
  .masthead__title { padding: 4mm 0 3mm; }
  .masthead h1 { font-size: 21pt; }
  .masthead__sub { display: block; }
  .standfirst { font-size: 9pt; margin-top: 2.5mm; max-width: none; }
  .masthead__meta { font-size: 7.4pt; margin-top: 3mm; padding-top: 2mm; }
  section { padding: 3mm 0; break-inside: auto; }
  .section-head { margin-bottom: 2.5mm; }
  .section-head__num { padding-top: 2pt; }
  .section-head__title { font-size: 12.5pt; }
  .section-head__question { padding-top: 2pt; }
  .lede { font-size: 9.5pt; margin-bottom: 2mm; }
  .body-col > .prose { grid-column: 1 / span 8; }
  .body-col > .margin-note { grid-column: 9 / span 4; }
  .margin-note dd { font-size: 12pt; }
  .margin-note dd small { font-size: 7.4pt; }
  .priority { padding: 1.8mm 0; }
  .priority__title { font-size: 11.5pt; }
  .priority__body p { font-size: 8pt; }
  .priority__meta { font-size: 6.8pt; }
  .phase { grid-column: span 4; }
  .phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5mm; }
  .phase { padding-top: 2mm; }
  .phase h3 { font-size: 10.5pt; margin-bottom: 1.5mm; }
  .phase p { font-size: 7.6pt; margin-bottom: 1.5mm; }
  .phase .done-when { font-size: 8.4pt; }
  .table-wrap { overflow: visible; border-top: 0.6pt solid #000; }
  .ledger { font-size: 7.2pt; min-width: 0; }
  .ledger th, .ledger td { padding: 1.4mm 2mm 1.4mm 0; }
  .refusal { padding: 1.8mm 0; }
  .refusal__what { font-size: 10.5pt; }
  .refusal__why { font-size: 7.8pt; }
  .refusal--hard { margin-left: 0; padding-left: 4mm; }
  .position { padding-top: 2mm; }
  .position li { font-size: 7.8pt; padding: 1.4mm 0; }
  .balance { margin-top: 2mm; padding-top: 2mm; font-size: 14pt; }
  .question { padding: 1.4mm 0; }
  .question__text { font-size: 9.6pt; }
  .contact { background: #000 !important; color: #fff !important; padding: 5mm 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .contact__inner { max-width: none; }
  .contact__title { font-size: 15pt; margin-bottom: 3mm; }
  .contact__col p, .contact__col li, .download { font-size: 7.8pt; }
  .colophon { padding-top: 2mm; padding-bottom: 2mm; }
  .colophon p { font-size: 7pt; }
  .folio { border-top: 0.6pt solid #000; padding-top: 1.5mm; padding-bottom: 0; }
  .priority, .refusal, .question, .phase, .position { break-inside: avoid; }
  .contact { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  .ledger tr[hidden] { display: table-row !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .masthead__rule, .masthead h1 span { animation: none !important; opacity: 1 !important; transform: none !important; }
}
