/* ============================================================
   THE INTERVAL — evening edition stylesheet
   Broadsheet News (recipe 22) · night-edition inversion override
   ============================================================ */

@font-face {
  font-family: "DM Serif Display";
  src: url("assets/dm-serif.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("assets/literata.ttf") format("truetype");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("assets/ibm-plex-mono.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --paper:        #F4F1E8;
  --paper-2:      #EAE4D4;
  --ink:          #17150F;
  --ink-soft:     #3A362B;
  --muted:        #615B4B;
  --night:        #15130D;
  --night-2:      #211E14;
  --line:         #D4CCB9;
  --line-strong:  #B4AA92;
  --line-night:   #3C3627;
  --accent:       #A8241B;
  --accent-lift:  #E4674A;
  --accent-ink:   #FBF6EC;
  --maxw:         1180px;
  --pad:          clamp(20px, 4.5vw, 64px);
  --radius:       2px;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --shadow:       0 18px 50px rgba(20, 18, 10, 0.22);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Literata", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  font-optical-sizing: auto;
  overflow-x: clip;
}

body.reading { overflow: hidden; }

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

.mono {
  font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.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;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- shared type ---------- */

.section-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

.wordmark-the {
  display: block;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(0.62rem, 1.1vw, 0.82rem);
  letter-spacing: 0.62em;
  text-indent: 0.62em;
  text-transform: uppercase;
  color: var(--accent-lift);
  margin-bottom: 0.55rem;
  font-weight: 400;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 4px;
}
.btn-ghost:active { transform: scale(0.97); }

/* focus: per context, always visible */
.btn:focus-visible,
.toggle:focus-visible,
input:focus-visible,
select:focus-visible,
.save-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hero .btn:focus-visible,
.hero .open-item:focus-visible {
  outline-color: var(--accent-lift);
}

@supports not selector(:focus-visible) {
  .btn:focus, .toggle:focus, input:focus, select:focus, .save-item:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #8E1D15; border-color: #8E1D15; }
  .btn-outline:hover { background: var(--ink); color: var(--paper); }
  .btn-ghost:hover { color: var(--accent); }
  .colophon a:hover,
  .colophon-meta a:hover { color: var(--accent); }
}

/* ============================================================
   HERO — the night edition
   ============================================================ */

.hero {
  position: relative;
  background: var(--night);
  color: var(--paper);
  overflow: clip;
  border-bottom: 1px solid var(--line-night);
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(244, 241, 232, 0.07) 1px, transparent 1.2px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(105deg, transparent 40%, #000 78%);
  mask-image: linear-gradient(105deg, transparent 40%, #000 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-block: clamp(34px, 5vw, 62px) clamp(40px, 6vw, 76px);
}

.masthead { position: relative; border-bottom: 1px solid var(--line-night); padding-bottom: clamp(20px, 3vw, 34px); }

.issue-num { display: none; }
@media (min-width: 1000px) {
  .issue-num {
    display: block;
    position: absolute;
    right: 0;
    top: 46%;
    transform: translateY(-50%);
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(5rem, 10vw, 10rem);
    line-height: 0.8;
    color: rgba(228, 103, 74, 0.16);
    pointer-events: none;
    user-select: none;
  }
}

.folio {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 clamp(16px, 2.4vw, 30px);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.72);
}
.folio-rule {
  flex: 1;
  height: 1px;
  background: var(--line-night);
  transform-origin: left center;
  animation: rule-draw 1s var(--ease) both;
}
.folio-edition { color: var(--paper); text-align: right; }

.wordmark {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.4rem, 13.5vw, 11.5rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 0;
  text-transform: none;
}

.tagline {
  max-width: 62ch;
  margin: clamp(16px, 2.4vw, 26px) 0 0;
  color: rgba(244, 241, 232, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.6;
}

/* lead */
.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  padding-top: clamp(30px, 4.5vw, 56px);
}

.lead-text { max-width: 46ch; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent-lift);
}
.kicker-mark { font-size: 0.9rem; }
.kicker .mono { color: rgba(244,241,232,0.6); }

.lead-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.lead-stand {
  margin: 0 0 22px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(244, 241, 232, 0.82);
}
.lead-meta {
  margin: 0 0 18px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.62);
}

.lead-plate { margin: 0; }
.lead-plate img { aspect-ratio: 4 / 3; object-fit: cover; }

/* plates: printed, warm, clearly editorial */
.plate { position: relative; background: var(--paper-2); }
.plate img {
  width: 100%;
  filter: grayscale(1) contrast(1.08) sepia(0.32) hue-rotate(-8deg);
  mix-blend-mode: multiply;
  border: 1px solid var(--line-strong);
}
.plate figcaption {
  margin-top: 9px;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}
.hero .plate figcaption { color: rgba(244, 241, 232, 0.6); }
.hero .plate img { border-color: var(--line-night); }

.hero-ticker {
  margin: clamp(34px, 5vw, 58px) 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-night);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.5);
  white-space: nowrap;
  overflow: hidden;
}
.hero-ticker span { color: rgba(244, 241, 232, 0.82); }

/* ============================================================
   THE INDEX — controls
   ============================================================ */

.desk { padding-block: clamp(44px, 6vw, 72px) clamp(20px, 3vw, 34px); }

.desk-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px 40px;
  align-items: end;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 16px;
}
.desk-note {
  margin: 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.controls {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: end;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.field { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.field-label {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

input[type="search"], select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font-family: "Literata", Georgia, serif;
  font-size: 16px;
  color: var(--ink);
  background: #FBF8F0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 13px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  background: #FBF8F0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .18s var(--ease);
}
.toggle:active { transform: scale(0.97); }
.toggle-box {
  width: 15px; height: 15px;
  border: 1px solid var(--ink);
  display: inline-grid;
  place-items: center;
  flex: none;
}
.toggle-count {
  padding: 1px 7px;
  border: 1px solid var(--line-strong);
  font-size: 0.72rem;
  color: var(--muted);
}
.toggle[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toggle[aria-pressed="true"] .toggle-box { background: var(--accent); border-color: var(--accent); }
.toggle[aria-pressed="true"] .toggle-box::after {
  content: ""; width: 7px; height: 4px;
  border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
  transform: rotate(-45deg) translate(1px, -1px);
}
.toggle[aria-pressed="true"] .toggle-count { color: var(--paper); border-color: var(--line-night); }

@media (hover: hover) and (pointer: fine) {
  .toggle:hover { border-color: var(--ink); }
  .toggle[aria-pressed="true"]:hover { background: #000; }
}

.result-count {
  margin: 16px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   STORY LEDGER
   ============================================================ */

.stories { padding-block: clamp(28px, 4vw, 48px) clamp(70px, 9vw, 120px); }

.ledger { list-style: none; margin: 0; padding: 0; }

.story {
  position: relative;
  display: grid;
  grid-template-columns: 58px 176px minmax(0, 1fr) 118px;
  gap: clamp(18px, 2.4vw, 34px);
  align-items: start;
  padding-block: clamp(22px, 2.8vw, 32px);
  border-bottom: 1px solid var(--line);
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.story:first-child { border-top: 1px solid var(--ink); }

.story-num {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-top: 6px;
}

.story-plate { margin: 0; }
.story-plate img { aspect-ratio: 4 / 3; object-fit: cover; }

.story-main { max-width: 62ch; }

.dept {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.story-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.story-sum {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.story-meta {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-meta .filed { color: var(--accent); margin-left: 10px; }

.story-action {
  justify-self: end;
  padding-top: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

/* the one interactive control per row, stretched over the row */
.story .open-item {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}
.open-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .story:hover { background: var(--ink); color: var(--paper); }
  .story:hover .story-title { color: var(--paper); }
  .story:hover .story-sum { color: rgba(244,241,232,0.8); }
  .story:hover .story-num,
  .story:hover .story-meta,
  .story:hover .story-action { color: rgba(244,241,232,0.66); }
  .story:hover .dept { color: var(--accent-lift); }
  .story:hover .story-action { transform: translateX(4px); color: var(--paper); }
}
.story:focus-within { background: var(--ink); color: var(--paper); }
.story:focus-within .story-title { color: var(--paper); }
.story:focus-within .story-sum { color: rgba(244,241,232,0.8); }
.story:focus-within .story-num,
.story:focus-within .story-meta,
.story:focus-within .story-action { color: rgba(244,241,232,0.66); }
.story:focus-within .dept { color: var(--accent-lift); }

/* empty state */
.empty {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 76px);
  text-align: center;
}
.empty-mark { color: var(--accent); font-size: 1.4rem; margin: 0 0 10px; }
.empty-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.empty-copy { max-width: 46ch; margin: 0 auto 24px; color: var(--muted); }

/* ============================================================
   INTERLUDE
   ============================================================ */

.interlude {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(64px, 9vw, 128px);
  overflow: clip;
}
.pullquote {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 24ch;
  margin: 0;
}
.pullquote::before {
  content: "✳";
  display: block;
  font-size: 1.4rem;
  color: var(--accent-lift);
  margin-bottom: 18px;
}
.pullquote-cite {
  margin: 26px 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.62);
}

/* ============================================================
   COLOPHON
   ============================================================ */

.colophon { background: var(--night); color: rgba(244, 241, 232, 0.82); padding-block: clamp(54px, 7vw, 88px); }
.colophon-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  border-bottom: 1px solid var(--line-night);
  padding-bottom: 40px;
}
.wordmark-sm {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--paper);
}
.colophon-brand p { margin: 0; max-width: 38ch; font-size: 0.95rem; line-height: 1.6; }
.colophon-title {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 232, 0.6);
  margin: 0 0 14px;
  font-weight: 400;
}
.colophon-nav ul { list-style: none; margin: 0; padding: 0; }
.colophon-nav a, .colophon-meta a {
  color: rgba(244, 241, 232, 0.86);
  text-decoration: none;
  display: inline-block;
  padding-block: 10px;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.colophon-nav a:focus-visible, .colophon-meta a:focus-visible {
  outline: 2px solid var(--accent-lift); outline-offset: 3px;
}
.colophon-meta p { margin: 0 0 12px; font-size: 0.92rem; line-height: 1.6; }
.fine {
  margin: 26px 0 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(244, 241, 232, 0.5);
  max-width: 90ch;
}

/* ============================================================
   READER (detail dialog)
   ============================================================ */

.reader {
  width: min(840px, calc(100vw - 40px));
  max-width: none;
  max-height: min(92vh, 1080px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.reader::backdrop { background: rgba(14, 12, 7, 0.62); }

.reader-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(18px, 4vw, 34px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.reader-article { padding: clamp(22px, 4vw, 44px) clamp(20px, 5vw, 56px) clamp(30px, 5vw, 52px); overflow-y: auto; max-height: calc(92vh - 72px); }

.save-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .18s var(--ease);
}
.save-item:active { transform: scale(0.97); }
.save-stamp { color: var(--accent-lift); font-size: 0.72rem; }
.save-item[aria-pressed="true"] { background: transparent; color: var(--accent); border-color: var(--accent); }
.save-item[aria-pressed="true"] .save-stamp { animation: stamp-in .34s var(--ease) both; }

@media (hover: hover) and (pointer: fine) {
  .save-item:hover { background: #000; }
  .save-item[aria-pressed="true"]:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
}

.reader-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.reader-title {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.reader-stand {
  font-size: 1.14rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 62ch;
}
.reader-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 26px;
}
.reader-plate { margin: 0 0 30px; }
.reader-plate img { aspect-ratio: 16 / 9; object-fit: cover; }

.reader-text p {
  margin: 0 0 1.25em;
  max-width: 68ch;
  line-height: 1.72;
}
.reader-text p.dropcap::first-letter {
  font-family: "DM Serif Display", Georgia, serif;
  float: left;
  font-size: 3.5em;
  line-height: 0.78;
  padding: 0.04em 0.1em 0 0;
  color: var(--accent);
}
.reader-end {
  margin: 34px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.reader-actions { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

.noscript-note {
  margin: 0;
  padding: 18px var(--pad);
  background: var(--ink);
  color: var(--paper);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
}
.noscript-note a { color: var(--accent-lift); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}
.skip-link:focus { left: 8px; top: 8px; outline: 2px solid var(--accent-lift); }

/* ============================================================
   MOTION
   ============================================================ */

@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes stamp-in {
  0% { opacity: 0; transform: scale(1.6) rotate(-8deg); }
  60% { opacity: 1; transform: scale(0.94) rotate(2deg); }
  100% { opacity: 1; transform: none; }
}

.wordmark, .tagline, .folio-date, .folio-edition,
.lead-text, .lead-plate {
  animation: rise .72s var(--ease) both;
}
.folio-date { animation-delay: .04s; }
.folio-edition { animation-delay: .1s; }
.wordmark { animation-delay: .12s; }
.tagline { animation-delay: .2s; }
.lead-text { animation-delay: .28s; }
.lead-plate { animation-delay: .36s; }

.reader[open] .reader-title { animation: rise .5s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .folio-rule, .wordmark, .tagline, .folio-date, .folio-edition,
  .lead-text, .lead-plate { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-toggle { grid-column: 1 / -1; }
  .story { grid-template-columns: 44px 148px minmax(0, 1fr); }
  .story-action { display: none; }
}

@media (max-width: 700px) {
  .desk-head { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 10px; }
  .lead { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .lead-text { max-width: none; }
  .folio { flex-wrap: wrap; gap: 4px 10px; }
  .folio-rule { display: none; }
  .folio-edition { width: 100%; text-align: left; }
  .controls { grid-template-columns: minmax(0, 1fr); }
  .colophon-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}

.hide-sm { display: inline; }

@media (max-width: 560px) {
  body { font-size: 16.5px; }
  .story {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px 16px;
    padding-block: 22px;
  }
  .story-plate { grid-column: 2; order: -1; }
  .story-num { grid-column: 1; grid-row: 1; }
  .story-main { grid-column: 2; }
  .lead-title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .wordmark { letter-spacing: -0.03em; }
  .reader {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
  .reader-article { max-height: calc(100dvh - 71px); }
  .hide-sm { display: none; }
  .reader-top { gap: 10px; padding-inline: 14px; }
}
