/* ==========================================================================
   AI Creators Roundtable — "The Broadsheet"
   Editorial workshop direction: paper, ink, one vermilion pen.
   Each numbered section is its own spread; the folio line keeps them one document.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #F7F3EC;
  --paper-deep: #F0EAE0;
  --ink: #1E1B16;
  --ink-soft: #3A352D;
  --muted: #6B6257;          /* 5.4:1 on paper */
  --accent: #C13E12;         /* 4.8:1 on paper — safe for small text */
  --accent-bright: #E0552A;  /* for large marks on ink plate */
  --rule: rgba(30, 27, 22, 0.22);
  --rule-strong: rgba(30, 27, 22, 0.55);
  --glass-bg: rgba(247, 243, 236, 0.72);
  --glass-border: rgba(30, 27, 22, 0.14);
  --glass-shadow: 0 8px 28px rgba(30, 27, 22, 0.07);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --measure: 62ch;
  --wrap-max: 76rem;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.1875rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, blockquote, figure, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

svg {
  display: block;
}

/* ---------- Shared layout ---------- */
section[id] {
  /* Anchor jumps clear the sticky glass masthead */
  scroll-margin-top: 3.5rem;
}

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

/* ---------- Focus (visible everywhere) ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

.skip-link {
  position: absolute;
  top: -100vh;
  left: var(--gutter);
  z-index: 100;
  padding: 0.85em 1.25em;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: var(--space-2);
}

/* ---------- Immersive layers ----------
   z-scale: field -1 · ghosts 0 · content 1 · masthead 50 · grain 60 · progress 70 · skip-link 100 */

/* Particle field — ink constellation & drifting print glyphs behind the page */
.field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Reading progress — a hairline of ink filling as you read */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 70;
  pointer-events: none;
}

.progress__bar {
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

/* Paper grain — a whisper of print texture over everything */
.grain {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* Ghost glyphs — oversized print characters drifting behind the text */
.has-ghost {
  position: relative;
  overflow: clip;
}

.has-ghost > .wrap {
  position: relative;
  z-index: 1;
}

.ghost {
  position: absolute;
  z-index: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  line-height: 0.8;
  color: rgba(30, 27, 22, 0.05);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.ghost--cover {
  font-size: clamp(16rem, 42vw, 36rem);
  top: -0.12em;
  right: -0.1em;
}

.ghost--essay {
  font-size: clamp(14rem, 34vw, 28rem);
  top: -0.05em;
  left: -0.06em;
  color: rgba(193, 62, 18, 0.07);
}

.ghost--roll {
  font-size: clamp(14rem, 36vw, 30rem);
  font-style: italic;
  right: -0.08em;
  bottom: -0.25em;
}

.ghost--plate {
  font-size: clamp(14rem, 34vw, 28rem);
  right: -0.05em;
  top: 0.05em;
  color: rgba(247, 243, 236, 0.05);
}

.ghost--faq {
  font-size: clamp(12rem, 30vw, 24rem);
  right: 0.05em;
  top: 0.1em;
}

/* Ticker — a slow letterpress band of the house lines */
.ticker {
  overflow: clip;
  border-block: 1px solid var(--glass-border);
  background: rgba(240, 234, 224, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding-block: 0.95rem;
}

.ticker--paper {
  background: rgba(247, 243, 236, 0.55);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ticker {
    background: var(--paper-deep);
  }

  .ticker--paper {
    background: var(--paper);
  }
}

.ticker__track {
  display: flex;
  width: max-content;
}

.ticker__group {
  display: flex;
  align-items: baseline;
  gap: 2.5rem;
  padding-right: 2.5rem;
  white-space: nowrap;
  font-style: italic;
  font-size: clamp(1.05rem, 1rem + 0.6vw, 1.4rem);
  color: var(--ink-soft);
}

.ticker__mark {
  color: var(--accent);
  font-style: normal;
  font-size: 0.8em;
}

/* ---------- Motifs ---------- */

/* Folio — the recurring section masthead line (rule drawn by ::before) */
.folio {
  position: relative;
  padding-top: 0.7rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.folio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-strong);
}

.folio__heading {
  display: flex;
  align-items: baseline;
  gap: 1.25em;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.folio__no {
  color: var(--accent);
  font-weight: 700;
}

.folio--inverse::before {
  background: rgba(247, 243, 236, 0.5);
}

.folio--inverse .folio__heading {
  color: rgba(247, 243, 236, 0.85);
}

.folio--inverse .folio__no {
  color: var(--accent-bright);
}

/* Margin annotations — the editor's pen notes */
.annotation {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--accent);
  transform: rotate(-2deg);
  max-width: 16rem;
}

/* Pen underline (hero) */
.pen-word {
  position: relative;
  font-style: inherit;
  white-space: nowrap;
}

.pen-underline {
  position: absolute;
  left: -2%;
  bottom: -0.08em;
  width: 104%;
  height: 0.16em;
  overflow: visible;
}

.pen-underline path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
}

/* Circled phrase */
.circled {
  position: relative;
  white-space: nowrap;
  padding-inline: 0.15em;
}

.circle-stroke {
  position: absolute;
  inset: -0.4em -0.7em;
  width: calc(100% + 1.4em);
  height: calc(100% + 0.8em);
  overflow: visible;
  pointer-events: none;
}

.circle-stroke path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
}

/* Editorial strike-and-correct */
.edit del {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  color: var(--muted);
}

.edit__fix {
  text-decoration: none;
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

/* Terminal caret — a live cursor at the end of the standfirst */
.caret {
  display: inline-block;
  width: 0.14em;
  height: 1em;
  margin-left: 0.18em;
  vertical-align: -0.12em;
  background: var(--accent);
}

/* Registration mark */
.regmark {
  width: 1.75rem;
  height: 1.75rem;
}

.regmark circle,
.regmark path {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

/* The stamp — the only solid-ink object in the document */
.stamp {
  display: inline-block;
  padding: 1em 2.1em;
  text-align: center;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transform: rotate(-0.5deg);
  box-shadow: 5px 5px 0 var(--ink);
}

.stamp:hover {
  transform: rotate(-0.5deg) translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--ink);
}

.stamp:active {
  transform: rotate(-0.5deg) translate(5px, 5px);
  box-shadow: 0 0 0 var(--ink);
}

.stamp:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.stamp--large {
  font-size: 1.05rem;
  padding: 1.1em 2.5em;
}

/* ==========================================================================
   Masthead
   ========================================================================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .masthead {
    background: rgba(247, 243, 236, 0.95);
  }
}

.masthead__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-2);
  padding-block: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masthead__title {
  font-weight: 700;
}

.masthead__note {
  color: var(--accent);
}

/* ==========================================================================
   Cover — the invitation
   ========================================================================== */
.cover {
  position: relative;
  padding-block: clamp(4rem, 12vh, 8.5rem) clamp(4.5rem, 12vh, 8rem);
}

.cover__vertical {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 0.4rem;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.cover__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
  grid-template-areas:
    "headline headline"
    "standfirst annotation"
    "actions annotation";
  column-gap: var(--space-4);
}

.cover__headline {
  grid-area: headline;
  font-size: clamp(2.6rem, 1rem + 7.2vw, 7.25rem);
  font-weight: 560;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.cover__line {
  display: block;
}

.cover__headline .w {
  display: inline-block;
}

.cover__line--italic {
  font-style: italic;
  font-weight: 420;
}

.cover__standfirst {
  grid-area: standfirst;
  max-width: 46ch;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.cover__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-4);
}

.cover__secondary {
  /* Pad the hit area to ~48px without moving the text visually */
  padding: 0.9em 0.5em;
  margin: -0.9em -0.5em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.35em;
}

.cover__secondary:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.cover__annotation {
  grid-area: annotation;
  align-self: start;
  justify-self: end;
  margin-top: 0.5rem;
}

/* ==========================================================================
   No 01 — The essay (the argument)
   ========================================================================== */
.essay {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(4rem, 10vw, 7rem);
}

.essay__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "body quote"
    "body annotation";
  column-gap: clamp(2.5rem, 6vw, 5.5rem);
  row-gap: var(--space-4);
}

.essay__body {
  grid-area: body;
  max-width: var(--measure);
}

.essay__body p + p {
  margin-top: 1.4em;
}

.essay__lead {
  font-size: 1.12em;
}

.dropcap {
  float: left;
  font-size: 4.4em;
  line-height: 0.78;
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  padding-right: 0.12em;
  padding-top: 0.06em;
  color: var(--accent);
}

.pullquote {
  grid-area: quote;
  align-self: start;
  padding: var(--space-3) 1.75rem;
  border: 1px solid var(--glass-border);
  border-top: 2px solid var(--accent);
  border-radius: 4px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .pullquote {
    background: rgba(247, 243, 236, 0.95);
  }
}

.pullquote p {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem);
  font-style: italic;
  font-weight: 480;
  font-variation-settings: "opsz" 144;
  line-height: 1.2;
  text-indent: -0.45em;
}

.essay__annotation {
  grid-area: annotation;
  justify-self: start;
}

/* ==========================================================================
   No 02 — The contents page (the value, indexed)
   Asymmetric spread: italic lede left, dot-leader index right.
   ========================================================================== */
.order {
  padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3.5rem, 9vw, 6.5rem);
}

.order__layout {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  column-gap: clamp(2.5rem, 6vw, 5.5rem);
  row-gap: var(--space-4);
  align-items: start;
}

.order__lede {
  font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.3rem);
  font-style: italic;
  font-weight: 460;
  font-variation-settings: "opsz" 144;
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.order__note {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 24ch;
  margin-bottom: var(--space-4);
}

.toc {
  border-bottom: 1px solid var(--rule);
}

.toc__row {
  display: flex;
  align-items: baseline;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  border-top: 1px solid var(--rule);
  padding-block: clamp(1rem, 2.5vw, 1.5rem);
}

.toc__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  min-width: 2.2em;
}

.toc__title {
  font-size: clamp(1.3rem, 1rem + 1.3vw, 1.9rem);
  font-weight: 540;
  font-variation-settings: "opsz" 100;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.toc__leader {
  flex: 1 1 2rem;
  min-width: 2rem;
  align-self: center;
  border-bottom: 2px dotted var(--rule-strong);
  transform: translateY(0.2em);
}

.toc__desc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--muted);
  max-width: 26ch;
  text-align: right;
}

/* ==========================================================================
   No 03 — The roll call (the people)
   Staggered typographic lines, the airiest spread on the page.
   ========================================================================== */
.rollcall {
  padding-block: clamp(4.5rem, 14vw, 9rem);
  background: var(--paper-deep);
  border-block: 1px solid var(--rule);
}

.rollcall .folio {
  padding-top: 0;
}

.rollcall .folio::before {
  display: none;
}

.rollcall__list {
  margin-bottom: var(--space-5);
}

.rollcall__name {
  font-size: clamp(1.9rem, 0.9rem + 4.5vw, 4.25rem);
  font-weight: 460;
  font-variation-settings: "opsz" 144;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.rollcall__name::before {
  content: "\2733" / "";
  color: var(--accent);
  font-size: 0.38em;
  vertical-align: 0.75em;
  margin-right: 0.6em;
}

.rollcall__name--italic {
  font-style: italic;
  font-weight: 400;
}

.rollcall__name--in2 {
  margin-left: clamp(1rem, 8vw, 6.5rem);
}

.rollcall__name--in3 {
  margin-left: clamp(0.25rem, 3vw, 2rem);
}

.rollcall__name--in4 {
  margin-left: clamp(1.5rem, 12vw, 10rem);
}

.rollcall__annotation {
  display: inline-block;
  margin-left: 1.25rem;
  vertical-align: 0.35em;
}

.rollcall__note {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  font-style: italic;
  max-width: 52ch;
  line-height: 1.9;
}

/* ==========================================================================
   No 04 — The principles plate (inverted, hand-set)
   ========================================================================== */
.plate {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(4rem, 10vw, 7rem);
}

.plate__intro {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 236, 0.72);
  margin-bottom: var(--space-5);
}

.plate__list {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  max-width: 56rem;
}

.plate__item {
  display: grid;
  grid-template-columns: minmax(3.5rem, 6rem) minmax(0, 1fr);
  column-gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
}

/* Hand-set stagger: even entries step in, like loose type on a plate */
@media (min-width: 720px) {
  .plate__item:nth-child(even) {
    margin-left: clamp(2rem, 10vw, 7rem);
  }
}

.plate__num {
  font-size: clamp(2.8rem, 2rem + 3.5vw, 5rem);
  font-weight: 600;
  font-variation-settings: "opsz" 144;
  line-height: 0.85;
  color: var(--accent-bright);
}

.plate__title {
  font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.15rem);
  font-weight: 540;
  font-variation-settings: "opsz" 100;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 0.4em;
}

.plate__desc {
  max-width: 52ch;
  color: rgba(247, 243, 236, 0.82);
}

.plate :focus-visible {
  outline-color: var(--accent-bright);
}

/* ==========================================================================
   No 05 — FAQ footnotes
   ========================================================================== */
.footnotes {
  padding-block: clamp(4rem, 10vw, 7rem);
}

.footnotes__list {
  max-width: 46rem;
  display: grid;
  gap: 0.9rem;
}

.footnote {
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
  padding-inline: 1.4rem;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .footnote {
    background: rgba(247, 243, 236, 0.95);
  }
}

.footnote:hover {
  border-color: rgba(193, 62, 18, 0.35);
}

.footnote__q {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: var(--space-2);
  padding-block: 1.2rem;
  cursor: pointer;
  list-style: none;
}

.footnote__q::-webkit-details-marker {
  display: none;
}

.footnote__q::marker {
  content: "";
}

.footnote__index {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.footnote__question {
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem);
  font-weight: 520;
  font-variation-settings: "opsz" 100;
  line-height: 1.3;
}

.footnote__marker {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
  align-self: center;
}

.footnote__q:hover .footnote__question {
  color: var(--accent);
}

.footnote[open] .footnote__marker {
  transform: rotate(45deg);
}

.footnote__a {
  padding: 0 0 1.5rem 3.5rem;
  max-width: 56ch;
  color: var(--ink-soft);
}

/* ==========================================================================
   No 06 — The colophon (the action)
   Left-set sign-off with a margin note; no centered-CTA symmetry.
   ========================================================================== */
.colophon {
  padding-block: clamp(4rem, 10vw, 7rem) clamp(4rem, 12vw, 8rem);
}

.colophon__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
  grid-template-areas:
    "folio folio"
    "main annotation"
    "main regmark";
  column-gap: var(--space-4);
  row-gap: var(--space-3);
}

.colophon__folio {
  grid-area: folio;
}

.colophon__main {
  grid-area: main;
}

.colophon__promise {
  font-size: clamp(1.9rem, 1.1rem + 3.8vw, 3.8rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin-bottom: var(--space-5);
}

.colophon__promise em {
  font-weight: 420;
}

.colophon__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.colophon__note {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.colophon__annotation {
  grid-area: annotation;
  justify-self: end;
  align-self: start;
  margin-top: 0.75rem;
}

.colophon__regmark {
  grid-area: regmark;
  justify-self: end;
  align-self: end;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--rule-strong);
}

.footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  padding-block: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.footer__line--dim {
  color: var(--muted);
}

/* ==========================================================================
   Responsive — the mobile edition
   ========================================================================== */

/* The contents spread needs more room than the other grids: below ~1100px
   the index gets the full width so titles and leader notes stay on one line. */
@media (max-width: 1100px) {
  .order__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .order__note {
    margin-bottom: var(--space-3);
  }
}

@media (max-width: 900px) {
  .cover__vertical {
    display: none;
  }

  .cover__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "headline"
      "standfirst"
      "annotation"
      "actions";
  }

  .cover__annotation {
    justify-self: start;
    margin-block: 0 var(--space-3);
  }

  .essay__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "body"
      "quote"
      "annotation";
  }

  .pullquote {
    max-width: 30ch;
  }

  .colophon__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "folio"
      "main"
      "annotation"
      "regmark";
  }

  .colophon__annotation {
    justify-self: start;
    margin-top: var(--space-2);
  }

  .colophon__regmark {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .toc__row {
    flex-wrap: wrap;
    row-gap: 0.3rem;
  }

  .toc__leader {
    display: none;
  }

  .toc__desc {
    flex-basis: 100%;
    text-align: left;
    max-width: none;
  }

  .rollcall__name--in2,
  .rollcall__name--in3,
  .rollcall__name--in4 {
    margin-left: 0;
  }

  .rollcall__name + .rollcall__name {
    margin-top: 0.35em;
  }

  .rollcall__annotation {
    display: block;
    margin-left: 2.1em;
    margin-top: 0.25em;
  }

  .plate__item {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.5rem;
  }

  .plate__num {
    font-size: 2.4rem;
  }

  .footnote__q {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footnote__index {
    display: none;
  }

  .footnote__a {
    padding-left: 0;
  }

  .annotation {
    transform: rotate(-1deg);
  }

  .masthead__row {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    padding-block: 0.8rem;
  }

  .masthead__period {
    display: none;
  }
}

/* Very narrow screens: keep the stamp on one line — a wrapped stamp reads
   as broken, and the impression matters more than the point size here. */
@media (max-width: 380px) {
  .stamp {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    padding: 1.1em 1.5em;
  }

  .stamp--large {
    font-size: 0.9rem;
    padding: 1.15em 1.6em;
  }
}

/* ==========================================================================
   Motion — applied only with JS present AND no reduced-motion preference.
   Without JS, or with reduced motion, everything is fully visible and static.
   ========================================================================== */
.footnote__marker {
  transition: none;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .stamp,
  .footnote__marker,
  .cover__secondary {
    transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  }

  .footnote {
    transition: border-color 0.2s ease;
  }

  .caret {
    animation: caret-blink 1.1s steps(1) infinite;
  }

  @keyframes caret-blink {
    50% {
      opacity: 0;
    }
  }

  html.js [data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s ease, transform 0.65s ease;
  }

  html.js [data-animate].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Hero words rise one by one; the headline block itself stays put */
  html.js .cover__headline[data-animate] {
    opacity: 1;
    transform: none;
  }

  html.js .cover__headline[data-animate] .w {
    opacity: 0;
    transform: translateY(0.55em) rotate(0.8deg);
    transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: calc(var(--d, 0) * 110ms);
  }

  html.js .cover__headline[data-animate].is-visible .w {
    opacity: 1;
    transform: none;
  }

  /* Folio rules draw themselves across; the heading follows */
  html.js .folio[data-animate] {
    opacity: 1;
    transform: none;
  }

  html.js .folio[data-animate]::before {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
  }

  html.js .folio[data-animate].is-visible::before {
    transform: scaleX(1);
  }

  html.js .folio[data-animate] .folio__heading {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
  }

  html.js .folio[data-animate].is-visible .folio__heading {
    opacity: 1;
    transform: none;
  }

  /* Pull quote settles with a slight rotation, like a placed clipping */
  html.js .pullquote[data-animate] {
    transform: translateY(16px) rotate(0.8deg);
  }

  /* The ticker loops slowly; hovering pauses it to read */
  .ticker__track {
    animation: ticker-scroll 48s linear infinite;
  }

  .ticker:hover .ticker__track {
    animation-play-state: paused;
  }

  @keyframes ticker-scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }

  html.js .annotation[data-animate] {
    transform: rotate(-2deg) translateY(16px);
  }

  html.js .annotation[data-animate].is-visible {
    transform: rotate(-2deg);
  }

  html.js [data-animate] .pen-underline path,
  html.js [data-animate] .circle-stroke path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1s ease 0.45s;
  }

  html.js [data-animate].is-visible .pen-underline path,
  html.js [data-animate].is-visible .circle-stroke path {
    stroke-dashoffset: 0;
  }
}
