/* ==========================================================================
   The Morning Edition — Studio Wensday
   Editorial system: warm newsprint, black rules, one red.
   Display: Instrument Serif · Text: Newsreader · Labels: Inter Tight
   ========================================================================== */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/newsreader-latin-opsz-normal.woff2) format("woff2-variations"), url(/assets/fonts/newsreader-latin-opsz-normal.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(/assets/fonts/newsreader-latin-opsz-italic.woff2) format("woff2-variations"), url(/assets/fonts/newsreader-latin-opsz-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-tight-latin-wght-normal.woff2) format("woff2-variations"), url(/assets/fonts/inter-tight-latin-wght-normal.woff2) format("woff2"); }

:root {
  --paper: #f2ede4;
  --paper-2: #e9e2d5;
  --paper-3: #ddd4c4;
  --ink: #151311;
  --ink-2: #3a352f;
  --muted: #625b53;
  --rule: #151311;
  --hair: rgba(21, 19, 17, 0.16);
  --accent: #b3191f;
  --accent-ink: #f7f1e8;
  --plate: #151311;
  --plate-ink: #f2ede4;
  --img-blend: multiply;
  --img-filter: grayscale(1) contrast(1.06);

  --f-display: "Instrument Serif", "Times New Roman", Times, serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;
  --f-ui: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --gap: clamp(20px, 2.4vw, 36px);
  color-scheme: light;
}

html[data-theme="dark"] {
  --paper: #121110;
  --paper-2: #1b1917;
  --paper-3: #26231f;
  --ink: #efe8dc;
  --ink-2: #d4ccbf;
  --muted: #a39a8e;
  --rule: #efe8dc;
  --hair: rgba(239, 232, 220, 0.16);
  --accent: #e2574c;
  --accent-ink: #160c0b;
  --plate: #efe8dc;
  --plate-ink: #151311;
  --img-blend: normal;
  --img-filter: grayscale(1) contrast(1.02) brightness(0.86);
  color-scheme: dark;
}

/* ---------- base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

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

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font: 600 13px var(--f-ui);
}
.skip:focus { top: 12px; }

/* labels & small type */
.kicker, .byline, .label, .util, .teaser__k, .teaser__cta, .moves__k,
.card__tag, .tab, .colhead, .recent__mo, .recent__sec, .story__meta, .pager__k,
.contents__s, .filters, .ed__sec, .month__h small, .foot__label, .foot__small, .btn, .mast__by {
  font-family: var(--f-ui);
}

.kicker {
  display: flex; gap: 12px; align-items: baseline; justify-content: inherit;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.kicker__sec { color: var(--accent); }
.kicker__num { color: var(--muted); letter-spacing: 0.1em; }

.byline {
  margin-top: 12px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

.label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
}
.label--accent { color: var(--accent); }

.i-arrow { width: 26px; height: 11px; vertical-align: middle; color: var(--accent); }
.i-out { width: 9px; height: 9px; vertical-align: 0.05em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.btn .i-arrow { color: currentColor; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--ghost { background: transparent; color: var(--ink); }

/* ---------- utility bar ---------- */

.util { border-bottom: 1px solid var(--hair); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.util__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.util__meta { display: flex; gap: 18px; color: var(--muted); font-weight: 500; }
.util__meta span:first-child { color: var(--ink); font-weight: 600; }
.util__nav { display: flex; align-items: center; gap: 20px; font-weight: 600; }
.util__nav a:hover { color: var(--accent); }

.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: none; border: 1px solid var(--hair); border-radius: 99px; padding: 5px 10px 5px 6px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle__dot {
  width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
}

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

.mast {
  --mast-size: clamp(50px, 8vw, 116px);
  display: grid; grid-template-columns: 1fr minmax(auto, 760px) 1fr;
  align-items: center; gap: var(--gap);
  padding: clamp(22px, 3vw, 42px) 0 clamp(14px, 1.6vw, 22px);
}
.mast__center { text-align: center; }
.mast__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: var(--mast-size); line-height: 0.86; letter-spacing: -0.02em;
}
/* the lockup: a small italic "the" sitting on top of "Morning Edition" */
.lockup { display: inline-flex; flex-direction: column; align-items: center; }
.lockup .the {
  font-family: var(--f-display); font-style: italic; font-size: 0.432em; line-height: 0.9;
  letter-spacing: 0; margin-bottom: 0.06em;
}
.lockup .me { white-space: nowrap; }
.mast__title { display: flex; justify-content: center; } /* no stray line-box space above the lockup */
.mast__title a:hover { color: var(--ink); }
.mast__by {
  margin-top: 24px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.mast__dot { color: var(--accent); }

.teaser {
  position: relative; display: grid; gap: 6px; text-align: center;
  padding: 10px 34px; max-width: 280px;
}
/* sit the teasers on the optical middle of "Morning Edition", not the whole lockup */
.teaser { transform: translateY(calc(var(--mast-size) * 0.21)); }
.teaser--l { justify-self: start; }
.teaser--r { justify-self: end; }
.teaser::before, .teaser::after {
  position: absolute; top: 50%; translate: 0 -54%;
  font-family: var(--f-display); font-size: 108px; line-height: 1; color: var(--ink); font-weight: 400;
}
.teaser::before { content: "{"; left: -4px; }
.teaser::after { content: "}"; right: -4px; }
.teaser__k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.teaser__t { font-family: var(--f-text); font-size: 15px; line-height: 1.3; font-weight: 500; text-wrap: balance; }
.teaser__t--i { font-style: italic; font-weight: 400; }
.teaser__cta { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.teaser__cta .i-arrow { width: 18px; }
.teaser:hover .teaser__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.motto {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  font-style: italic; color: var(--ink-2); font-size: 17px; padding-bottom: 22px; margin-top: 8px;
}
.motto span { max-width: 72ch; text-align: center; text-wrap: balance; }
.motto::before, .motto::after { content: ""; flex: 1; max-width: 180px; height: 1px; background: var(--hair); }

/* section nav: the double rule */
.sections {
  border-top: 3px double var(--rule); border-bottom: 1px solid var(--rule);
  font-family: var(--f-ui);
}
.sections ul { display: flex; justify-content: center; flex-wrap: wrap; }
.sections li + li { border-left: 1px solid var(--hair); }
.sections a {
  display: block; padding: 13px clamp(12px, 2.2vw, 30px);
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.sections a:hover, .sections a[aria-current] { color: var(--accent); }

/* compact masthead (article, archive) */
.mast-compact {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 3px double var(--rule);
}
.mast-compact__title { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 44px); line-height: 0.95; letter-spacing: -0.01em; }
.mast-compact__title .the { font-size: 0.5em; margin-bottom: 0; }
.mast-compact__side { font-family: var(--f-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.mast-compact__side a:hover { color: var(--accent); }
.mast-compact__side--r { text-align: right; }

/* ---------- media plates ---------- */

.media {
  position: relative; overflow: hidden; background: var(--paper-2);
  aspect-ratio: 4 / 3; width: 100%; text-align: left;
}
.media--lg { aspect-ratio: 16 / 10; }
.media--xl { aspect-ratio: 16 / 9; }
.media--sm { aspect-ratio: 3 / 2; }

.media--image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: var(--img-filter); mix-blend-mode: var(--img-blend);
  transition: filter 0.5s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
a:hover .media--image img,
.card:hover .media--image img,
.inspo:hover .media--image img,
.story__hero .media--image:hover img { filter: none; mix-blend-mode: normal; }
.card:hover .media--image img { transform: scale(1.025); }

.media__fallback {
  position: absolute; inset: 0; display: none; place-items: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 10px, var(--hair) 10px 11px),
    var(--paper-2);
}
.media__fallback span {
  font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 34px); font-style: italic;
  background: var(--paper-2); padding: 4px 14px;
}
.media.is-broken img { display: none; }
.media.is-broken .media__fallback { display: grid; }

/* stat plate */
.media--stat {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(16px, 2vw, 28px);
  background: var(--paper-2);
  border-top: 3px solid var(--accent);
}
.media__stat {
  font-family: var(--f-display); color: var(--accent);
  font-size: clamp(64px, 9vw, 150px); line-height: 0.82; letter-spacing: -0.03em;
}
.media--sm .media__stat { font-size: clamp(56px, 6vw, 96px); }
.media--xl .media__stat { font-size: clamp(96px, 16vw, 240px); }
.media__statcopy {
  font-family: var(--f-ui); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; line-height: 1.4;
  color: var(--ink-2); max-width: 34ch;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.media--xl .media__statcopy { font-size: 15px; -webkit-line-clamp: 4; }

/* quote plate */
.media--quote {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: clamp(18px, 2.6vw, 40px);
  background: var(--plate); color: var(--plate-ink);
}
.media--quote blockquote {
  font-family: var(--f-display); font-style: italic;
  font-size: clamp(24px, 2.4vw, 36px); line-height: 1.04; text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.media--quote::before { content: "“"; display: block; height: 0.42em; color: var(--accent); font-family: var(--f-display); font-size: clamp(64px, 6vw, 110px); line-height: 0.9; }
.media--sm.media--quote::before, .media--md.media--quote::before { font-size: 64px; }
.media--lg.media--quote blockquote { font-size: clamp(30px, 3.6vw, 52px); }
.media--xl.media--quote blockquote { font-size: clamp(34px, 5vw, 72px); -webkit-line-clamp: 6; }
.media--quote p { font-family: var(--f-ui); font-size: 14px; opacity: 0.75; max-width: 52ch; }

/* workflow plate */
.media--workflow {
  display: flex; align-items: center;
  padding: clamp(14px, 2vw, 30px);
  background: var(--paper-2);
}
.media--workflow ol { width: 100%; display: grid; gap: 0; counter-reset: wf; }
.media--workflow li {
  display: grid; grid-template-columns: 2.4em 1fr; column-gap: 10px; align-items: baseline;
  padding: 10px 0; border-top: 1px solid var(--hair);
}
.media--workflow li:first-child { border-top: 1px solid var(--rule); }
.wf__n { font-family: var(--f-ui); font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; }
.wf__l { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1; }
.wf__c { grid-column: 2; font-family: var(--f-ui); font-size: 12.5px; line-height: 1.4; color: var(--ink-2); margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.media--sm .wf__c, .media--md .wf__c { display: none; }
.media--sm .wf__l, .media--md .wf__l { font-size: clamp(19px, 1.7vw, 25px); }
.media--sm li, .media--md li { padding: 8px 0; }
.media--lg .wf__l { font-size: clamp(26px, 2.8vw, 38px); }
.media--xl .wf__l { font-size: clamp(30px, 4vw, 52px); }
.media--xl .wf__c { font-size: 15px; -webkit-line-clamp: 3; }
.media--xl li { padding: 18px 0; }

/* ---------- cards ---------- */

.card { position: relative; display: grid; gap: 16px; align-content: start; }
.card__media { display: block; position: relative; }
.card__title { font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.005em; text-wrap: balance; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card__title a:hover, .card:hover .card__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.card__dek { margin-top: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.card .kicker { margin-bottom: 10px; }
.card__tag {
  position: absolute; left: 0; top: 0; z-index: 1;
  background: var(--ink); color: var(--paper);
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 9px;
}

/* ---------- front page ---------- */

.front {
  display: grid; grid-template-columns: 3fr 6fr 3fr; gap: var(--gap);
  padding: clamp(24px, 3vw, 40px) 0 clamp(40px, 5vw, 72px);
}
.front__side { display: grid; gap: var(--gap); align-content: start; }
.card--side { text-align: center; padding-bottom: var(--gap); border-bottom: 1px solid var(--hair); }
.card--side:last-child { border-bottom: 0; }
.card--side .kicker { justify-content: center; }
.card--side .card__title { font-size: clamp(22px, 1.9vw, 28px); }
.card--side .card__dek { font-size: 14.5px; }

.lead { position: relative; text-align: center; }
.lead__body { padding: 26px clamp(0px, 3vw, 40px) 0; }
.lead .kicker { justify-content: center; margin-bottom: 14px; }
.lead__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 68px); line-height: 0.98; letter-spacing: -0.015em; text-wrap: balance;
}
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.1em; }
.lead__dek { margin: 18px auto 0; max-width: 38ch; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.lead__more { display: inline-block; margin-top: 16px; padding: 6px; }
.lead__more .i-arrow { width: 34px; height: 14px; transition: translate 0.25s; }
.lead__more:hover .i-arrow { translate: 6px 0; }
.lead .byline { margin-top: 6px; }

.moves {
  align-self: start; background: var(--paper-2); padding: 26px 24px 18px;
  position: sticky; top: 16px;
}
.moves__h {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1; text-align: center;
}
.moves__h::before, .moves__h::after {
  content: ""; width: 26px; height: 7px; flex: none;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.moves__sub { text-align: center; font-style: italic; color: var(--muted); font-size: 14px; margin-top: 8px; }
.moves__list { margin-top: 18px; text-align: center; }
.moves__list li { padding: 14px 0 6px; }
.moves__k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.moves__list h3 { font-family: var(--f-text); font-weight: 600; font-size: 17px; line-height: 1.25; margin-top: 8px; }
.moves__list p:not(.moves__k) { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); margin-top: 6px; }
.wave { display: block; width: 84px; height: 8px; margin: 16px auto 0; color: var(--ink); }
.moves__list li:last-child .wave { display: none; }

/* featured band */
.featured { background: var(--paper-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding-bottom: clamp(36px, 4vw, 56px); }
.tab {
  display: flex; justify-content: center; translate: 0 -50%;
}
.tab span {
  background: var(--paper); border: 1px solid var(--hair); border-top-color: var(--rule);
  padding: 12px 38px;
  font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: 0;
}
.tab span::before, .tab span::after { content: "//"; font-family: var(--f-ui); font-size: 12px; color: var(--accent); margin: 0 14px; vertical-align: 0.35em; letter-spacing: -0.1em; }
.featured__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 8px; }
.card--feat { padding: 0 clamp(14px, 1.6vw, 24px); border-left: 1px solid var(--hair); }
.card--feat:first-child { border-left: 0; padding-left: 0; }
.card--feat:last-child { padding-right: 0; }
.card--feat .card__title { font-size: clamp(22px, 1.8vw, 27px); }
.card--feat .card__dek { font-size: 14.5px; }
.card--feat .media { background: var(--paper-3); }
.card--feat .media--stat, .card--feat .media--workflow, .card--feat .media--quote { padding-top: 46px; }
.card--feat .media--workflow { align-items: flex-start; }
.card--feat .media--image { background: var(--paper); }

/* tiny glow */
.glow { background: var(--accent); color: var(--accent-ink); }
.glow__in { padding: clamp(48px, 7vw, 104px) 0; text-align: center; display: grid; justify-items: center; gap: 22px; }
.glow__k { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.glow__k::before, .glow__k::after { content: "✦"; margin: 0 14px; }
.glow__q {
  font-family: var(--f-display); font-style: italic; font-weight: 400;
  font-size: clamp(40px, 6.6vw, 104px); line-height: 0.95; letter-spacing: -0.02em;
  max-width: 16ch; text-wrap: balance;
}
.glow__c { font-size: 18px; max-width: 46ch; opacity: 0.9; }

/* section columns */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4vw, 56px); }
.cols__col { padding: 0 clamp(14px, 2vw, 32px); border-left: 1px solid var(--hair); }
.cols__col:first-child { border-left: 0; padding-left: 0; }
.cols__col:last-child { padding-right: 0; }
.colhead {
  display: flex; align-items: center; gap: 16px; margin-bottom: 30px;
  color: var(--accent); position: relative;
}
.colhead::before, .colhead::after { content: ""; flex: 1; height: 5px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.colhead span {
  font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; white-space: nowrap;
}
.colhead span::after {
  content: ""; position: absolute; left: 50%; bottom: -16px; width: 1px; height: 12px; background: currentColor;
}
.card--col { text-align: center; }
.card--col .kicker { justify-content: center; }
.card--col .card__title { font-size: clamp(26px, 2.3vw, 34px); }

.extra { display: grid; gap: var(--gap); padding-bottom: 48px; }
.card--row { grid-template-columns: 1fr 2fr; align-items: center; border-top: 1px solid var(--rule); padding-top: var(--gap); }
.card--row .card__title { font-size: clamp(26px, 2.6vw, 38px); }

/* inspiration */
.inspo {
  display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: center;
  padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--rule);
}
.inspo__media .media { aspect-ratio: 16 / 11; }
.inspo__t { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 4vw, 60px); line-height: 0.98; letter-spacing: -0.015em; margin: 14px 0 18px; text-wrap: balance; }
.inspo__c { font-size: 18px; line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.inspo__more { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); max-width: 46ch; }
.inspo .btn { margin-top: 26px; }

/* recent editions */
.rulehead {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 3px double var(--rule); padding-top: 14px; margin-bottom: 26px;
}
.rulehead h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.rulehead a { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.rulehead a:hover { color: var(--accent); }
.recent { padding: clamp(28px, 3vw, 44px) 0 clamp(56px, 6vw, 88px); }
.recent__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); }
.recent__grid li { border-bottom: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.recent__grid li:nth-child(4n + 1) { border-left: 0; }
.recent__grid a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px 18px 20px; height: 100%; align-content: start; }
.recent__grid li:nth-child(4n + 1) a { padding-left: 0; }
.recent__day { grid-row: span 2; font-family: var(--f-display); font-size: 56px; line-height: 0.8; color: var(--accent); }
.recent__mo { font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.recent__t { grid-column: 1 / -1; margin-top: 14px; font-family: var(--f-text); font-weight: 500; font-size: 17px; line-height: 1.3; }
.recent__sec { grid-column: 1 / -1; margin-top: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.recent__grid a:hover .recent__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- article ---------- */

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.story__head { text-align: center; padding: clamp(40px, 6vw, 88px) 0 clamp(28px, 3vw, 44px); }
.story__head .kicker { justify-content: center; margin-bottom: 22px; }
.story__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(44px, 7.4vw, 112px); line-height: 0.92; letter-spacing: -0.025em;
  max-width: 15ch; margin: 0 auto; text-wrap: balance;
}
.story__dek {
  margin: 26px auto 0; max-width: 40ch;
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.38; font-style: italic; color: var(--ink-2);
}
.story__meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 30px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.story__meta b { color: var(--ink); font-weight: 700; margin-right: 6px; }

.story__hero { max-width: 1120px; }
.story__hero figcaption {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hair);
  font-family: var(--f-ui); font-size: 13px; color: var(--muted);
}
.story__hero--quote .media, .story__hero--workflow .media, .story__hero--stat .media { aspect-ratio: auto; min-height: 340px; }
.story__hero--workflow .media { padding: clamp(24px, 4vw, 56px); }
.story__hero--stat .media { padding: clamp(24px, 4vw, 56px); gap: 30px; }
.story__hero--quote .media { padding: clamp(32px, 6vw, 88px); }

.story__grid {
  display: grid; grid-template-columns: minmax(0, 680px) 300px; justify-content: center; gap: clamp(32px, 5vw, 80px);
  padding: clamp(40px, 5vw, 72px) 0;
}
.story__standfirst { font-size: 20px; line-height: 1.5; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--hair); }
.story__body > .label { margin-bottom: 18px; }
.prose p { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.66; color: var(--ink); }
.prose p + p { margin-top: 1.1em; }
.prose p:first-child::first-letter {
  float: left; font-family: var(--f-display); font-size: 5.4em; line-height: 0.78;
  padding: 0.06em 0.1em 0 0; color: var(--accent);
}

.angle { margin-top: 44px; padding: 26px 0 0; border-top: 3px solid var(--accent); }
.angle p { margin-top: 14px; font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -0.005em; }

.story__aside { display: grid; gap: 28px; align-content: start; position: sticky; top: 24px; }
.aside-card { background: var(--paper-2); padding: 22px; }
.aside-card p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.pull {
  font-family: var(--f-display); font-style: italic; font-size: 30px; line-height: 1.06;
  padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.pull::before { content: "“"; display: block; color: var(--accent); font-size: 2em; line-height: 0.6; font-style: normal; }
.sources ul { margin-top: 12px; display: grid; gap: 10px; }
.sources a { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--hair); font-size: 15px; line-height: 1.35; }
.sources small { font-family: var(--f-ui); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.sources a:hover span { text-decoration: underline; text-underline-offset: 3px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pager a { display: grid; gap: 10px; padding: 28px 0; }
.pager__next { text-align: right; border-left: 1px solid var(--hair); padding-left: 24px !important; }
.pager__prev { padding-right: 24px !important; }
.pager__k { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.pager__t { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; text-wrap: balance; }
.pager a:hover .pager__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }

.contents { padding: clamp(48px, 5vw, 72px) 0; }
.contents__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--gap); }
.contents__list a { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair); }
.contents__n { font-family: var(--f-display); font-size: 24px; color: var(--accent); line-height: 1; }
.contents__t { font-size: 17px; line-height: 1.3; }
.contents__s { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contents__list a:hover .contents__t { text-decoration: underline; text-underline-offset: 3px; }
.contents__list [aria-current] a { background: var(--paper-2); box-shadow: -10px 0 0 var(--paper-2), 10px 0 0 var(--paper-2); }
.contents__list [aria-current] .contents__t { font-weight: 600; }

/* ---------- archive ---------- */

.archive__head { text-align: center; padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 3vw, 40px); }
.archive__head .kicker { justify-content: center; margin-bottom: 18px; }
.archive__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(64px, 11vw, 168px); line-height: 0.84; letter-spacing: -0.03em; }
.archive__sub { margin-top: 20px; font-style: italic; color: var(--ink-2); font-size: 18px; }

.filters {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.filters__in { display: flex; align-items: center; gap: 16px 24px; padding: 12px 0; flex-wrap: wrap; }
.search input {
  width: min(280px, 70vw); padding: 9px 12px; border: 1px solid var(--hair); border-radius: 0;
  background: var(--paper); color: var(--ink); font: 500 14px var(--f-ui);
}
.search input:focus { outline: none; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  cursor: pointer; padding: 7px 12px; border: 1px solid var(--hair); background: transparent; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters__count { margin-left: auto; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.month { padding-top: clamp(40px, 5vw, 64px); }
.month__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.month__h span { font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 0.9; letter-spacing: -0.02em; }
.month__h small { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.ed { display: grid; grid-template-columns: 140px 1fr; gap: var(--gap); padding: 22px 0; border-bottom: 1px solid var(--hair); }
.ed__date { display: grid; align-content: start; gap: 6px; }
.ed__day { font-family: var(--f-display); font-size: 72px; line-height: 0.8; color: var(--accent); }
.ed__wd { font-family: var(--f-ui); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ed__date:hover .ed__wd { color: var(--ink); }
.ed__list { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); row-gap: 2px; }
.ed__list li a { display: grid; gap: 3px; padding: 8px 0; }
.ed__sec { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ed__t { font-size: 15.5px; line-height: 1.3; }
.ed__list a:hover .ed__t { text-decoration: underline; text-underline-offset: 3px; }
.ed__lead { grid-column: 1 / -1; padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px dotted var(--hair); }
.ed__lead .ed__t { font-family: var(--f-display); font-size: clamp(28px, 2.8vw, 40px); line-height: 1; letter-spacing: -0.01em; }
.ed__lead .ed__sec { color: var(--accent); }
.is-filtering .ed__lead { grid-column: auto; border: 0; margin: 0; padding: 0; }
.is-filtering .ed__lead .ed__t { font-family: var(--f-text); font-size: 15.5px; letter-spacing: 0; line-height: 1.3; }
.empty { padding: 80px 0; text-align: center; font-style: italic; font-size: 20px; color: var(--muted); }
.archive__list { padding-bottom: 80px; }

/* 404 */
.nf { padding: clamp(64px, 10vw, 140px) 0; text-align: center; display: grid; justify-items: center; gap: 22px; }
.nf .kicker { justify-content: center; }
.nf__t { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 7vw, 104px); line-height: 0.92; max-width: 14ch; letter-spacing: -0.02em; }
.nf__c { font-size: 19px; color: var(--ink-2); max-width: 44ch; }

/* ---------- footer ---------- */

.foot { background: var(--plate); color: var(--plate-ink); padding: clamp(40px, 5vw, 72px) 0 28px; }
.foot__mark {
  font-family: var(--f-display); font-size: clamp(48px, 11.4vw, 172px); line-height: 0.82; letter-spacing: -0.035em;
  display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid color-mix(in srgb, var(--plate-ink) 30%, transparent);
}
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--gap); padding: 32px 0; }
.foot__label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
html:not([data-theme="dark"]) .foot__label { color: #ef6a60; }
.foot__about { font-size: 17px; line-height: 1.5; max-width: 40ch; opacity: 0.85; }
.foot ul { display: grid; gap: 8px; font-size: 16px; }
.foot ul a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__sources { padding: 4px 0 32px; }
.foot__sources ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px var(--gap); font-size: 15px; }
.foot__sources li { display: grid; gap: 2px; }
.foot__sources li span { font-family: var(--f-ui); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }
@media (max-width: 860px) { .foot__sources ul { grid-template-columns: repeat(2, 1fr); } }
.foot__small {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--plate-ink) 30%, transparent);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7;
}

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

@media (max-width: 1180px) {
  .mast { grid-template-columns: 1fr; }
  .teaser { display: none; }
  .front { grid-template-columns: 1fr 1fr; }
  .lead { grid-column: 1 / -1; order: -1; }
  .lead .media--workflow, .lead .media--quote, .lead .media--stat { aspect-ratio: auto; min-height: 260px; }
  .lead__body { padding-inline: 0; }
  .front__side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .card--side { border-bottom: 0; padding-bottom: 0; }
  .moves { position: static; grid-column: 1 / -1; }
  .moves__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .moves__list .wave { display: none; }
  .featured__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .card--feat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .card--feat:nth-child(even) { padding-right: 0; }
  .recent__grid { grid-template-columns: repeat(2, 1fr); }
  .recent__grid li:nth-child(4n + 1) { border-left: 1px solid var(--hair); }
  .recent__grid li:nth-child(4n + 1) a { padding-left: 18px; }
  .recent__grid li:nth-child(odd) { border-left: 0; }
  .recent__grid li:nth-child(odd) a { padding-left: 0; }
  .story__grid { grid-template-columns: minmax(0, 680px); }
  .story__aside { position: static; grid-template-columns: 1fr 1fr; }
  .story__aside .sources { grid-column: 1 / -1; }
  .ed__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .media--workflow, .media--quote, .media--stat { aspect-ratio: auto; min-height: 220px; }
  .media--stat { gap: 24px; }
  .util__hide { display: none; }
  .front { grid-template-columns: 1fr; }
  .moves__list { grid-template-columns: 1fr; gap: 0; }
  .moves__list .wave { display: block; }
  .moves__list li:last-child .wave { display: none; }
  .cols { grid-template-columns: 1fr; gap: 56px; }
  .cols__col { border-left: 0; padding: 0; }
  .inspo { grid-template-columns: 1fr; }
  .card--row { grid-template-columns: 1fr; }
  .contents__list { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .ed { grid-template-columns: 1fr; gap: 10px; }
  .ed__date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
  .ed__day { font-size: 48px; }
  .filters__count { margin-left: 0; width: 100%; }
}

@media (max-width: 600px) {
  .util__meta span:nth-child(2) { display: none; }
  .util__nav { gap: 14px; }
  .util__nav a[href="/feed.xml"] { display: none; }
  .mast__title .me { white-space: normal; text-wrap: balance; }
  .mast__dot { display: none; }
  .mast__by { flex-direction: column; gap: 4px; }
  .media--lg .wf__c { display: none; }
  .motto { font-size: 15px; padding-inline: 8px; text-align: center; }
  .motto::before, .motto::after { display: none; }
  .sections ul { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sections a { padding: 12px 14px; white-space: nowrap; }
  .front__side { grid-template-columns: 1fr; }
  .card--side { border-bottom: 1px solid var(--hair); padding-bottom: var(--gap); }
  .featured__grid { grid-template-columns: 1fr; }
  .card--feat { border-left: 0; padding: 0 !important; }
  .tab span { font-size: 24px; padding: 10px 22px; }
  .recent__grid { grid-template-columns: 1fr; }
  .recent__grid li { border-left: 0 !important; }
  .recent__grid a { padding-left: 0 !important; }
  .mast-compact { grid-template-columns: 1fr; text-align: center; gap: 6px; }
  .mast-compact__side, .mast-compact__side--r { text-align: center; }
  .mast-compact__side--r:empty { display: none; }
  .story__aside { grid-template-columns: 1fr; }
  .pager { grid-template-columns: 1fr; }
  .pager__next { border-left: 0; border-top: 1px solid var(--hair); text-align: left; padding-left: 0 !important; }
  .contents__list a { grid-template-columns: 34px 1fr; }
  .contents__s { display: none; }
  .ed__list { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
}

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

@media print {
  .util, .sections, .progress, .pager, .contents, .foot, .filters, .theme-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .media--image img { filter: none; mix-blend-mode: normal; }
}
