/* The Daily Roast — Broadsheet theme (design A) */
:root {
  --paper: #efe6d4;
  --ink: #2a1d14;
  --ink-soft: #5a4636;
  --rule: #2a1d14;
  --teal: #1f5e5b;
  --teal-dark: #123f3d;
  --teal-light: #8fc9c4;
  --cream-muted: #d9cbb0;
  --display: "Old Standard TT", Georgia, serif;
  --blackletter: "UnifrakturMaguntia", "Old English Text MT", serif;
  --body: "Libre Caslon Text", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--teal-dark); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }

.paper { max-width: 1180px; margin: 0 auto; padding: 32px 24px 64px; }

/* Masthead */
.masthead { text-align: center; border-bottom: 4px double var(--rule); padding-bottom: 12px; }
.masthead__top, .masthead__dateline {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px;
  font-family: var(--display); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
.masthead__top { border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.masthead__top a, .masthead__dateline a { color: inherit; }
.masthead__title { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 18px 0 6px; color: var(--ink); text-decoration: none; }
.masthead__title:hover { color: var(--ink); }
.masthead__name { font-family: var(--blackletter); font-size: clamp(44px, 9vw, 104px); line-height: 1; }
.masthead__icon { width: clamp(32px, 5vw, 56px); height: auto; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; }
.masthead__tagline { margin: 0; font-family: var(--display); font-style: italic; font-size: 18px; }
.masthead__dateline { margin-top: 12px; padding: 6px 0; border-top: 1px solid var(--rule); font-size: 14px; letter-spacing: 0.06em; }

/* Lead */
.kicker { margin: 0 0 6px; font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.lead { padding: 28px 0 20px; border-bottom: 1px solid var(--rule); text-align: center; }
.lead__headline { margin: 0 auto; max-width: 900px; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.08; }
.lead__headline a { color: inherit; text-decoration: none; }
.lead__dek { margin: 14px auto 0; max-width: 760px; font-size: 18px; line-height: 1.55; font-style: italic; }

/* News columns — the Markdown body flows across them */
.columns { column-count: 3; column-gap: 32px; column-rule: 1px solid var(--rule); padding-top: 20px; font-size: 16px; }
.columns > h2 {
  margin: 0 0 12px; padding-bottom: 4px; border-bottom: 2px solid var(--rule);
  font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.08em;
  break-after: avoid;
}
.columns > h2:not(:first-child) { margin-top: 28px; }
.columns > h3 { margin: 18px 0 6px; font-family: var(--body); font-size: 19px; line-height: 1.25; break-after: avoid; }
.columns > h2 + h3 { margin-top: 0; }
.columns > p { margin: 0; orphans: 3; widows: 3; break-inside: avoid; }
.columns > p + p { margin-top: 8px; }
.columns em:first-child { font-style: italic; color: var(--ink-soft); }
.lead__ask { margin: 12px auto 0; max-width: 760px; font-size: 16px; line-height: 1.5; }
.lead__ask span { font-family: var(--display); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-right: 6px; }
/* Map tag: region · ring, from the video series' risk map. Quiet by design. */
.map { display: inline-block; margin-left: 6px; font-family: var(--display); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.map::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 1px; vertical-align: 0.05em; background: var(--ink-soft); }
.map--weapon::before { background: #9e3a2f; }
.map--target::before { background: #2f6690; }
.map--climate::before { background: var(--teal); }
.map--wrong::before { background: #b07a1a; }
.map--defence::before { background: #4f7a3a; }
.earlier { break-inside: avoid; margin-top: 24px; border: 1px solid var(--rule); padding: 14px 16px; }
.earlier__label { margin: 0 0 8px; font-family: var(--display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.earlier ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.55; }

.quiet { max-width: 680px; margin: 24px auto; text-align: center; font-size: 18px; font-style: italic; }

/* Today's Roast */
/* Roast as a broadsheet leader column beside the lead; stacks under the lead on narrow screens. */
.top { border-bottom: 1px solid var(--rule); }
.top .lead { border-bottom: none; }
.top--roast { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.top--roast .lead { align-self: center; }
.top--roast .roast { margin: 22px 0 20px; padding: 20px 22px; }
.top--roast .roast__headline { font-size: clamp(20px, 2vw, 24px); line-height: 1.2; }
.top--roast .roast__body { font-size: 15px; line-height: 1.55; }
.top--roast .roast__body p { margin: 0 0 12px; }
.top--roast .roast__objection { font-size: 14px; }
@media (max-width: 960px) {
  .top--roast { grid-template-columns: 1fr; gap: 0; }
  .top--roast .roast { margin: 0 0 20px; }
}
.roast { margin-top: 36px; background: var(--ink); color: var(--paper); padding: 32px clamp(20px, 5vw, 56px); }
.roast a { color: var(--teal-light); }
.roast__label { margin: 0 0 8px; font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-light); }
.roast__headline { margin: 0 0 14px; font-family: var(--display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.roast__body { max-width: 820px; font-size: 17px; line-height: 1.65; }
.roast__body p { margin: 0 0 14px; }
/* Newspaper-style justified text. Hyphenation (needs <html lang>) keeps word spacing even in narrow columns. */
.columns p, .roast__body p, .roast__objection {
  text-align: justify; hyphens: auto; -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 2; -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 2;
}
/* Source links are short: set them as one unit so justification never stretches their spaces. */
.columns p a { display: inline-block; hyphens: manual; -webkit-hyphens: manual; }
/* The map tag sits on its own line under the item, so the source line ends the paragraph and stays unstretched. */
.columns .map { display: block; width: fit-content; margin: 2px 0 0; }
.roast__objection { margin: 0; max-width: 820px; font-size: 16px; font-style: italic; color: var(--cream-muted); }
.roast__objection span { font-style: normal; font-weight: 700; }

.corrections { margin-top: 28px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 15px; }
.corrections ul { margin: 0; padding-left: 18px; }

.edition-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: baseline; gap: 12px; margin: 0 0 20px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: 15px; }
.edition-nav > :last-child { text-align: right; }

/* Pages (archive, about) */
.page { max-width: 760px; margin: 0 auto; padding-top: 28px; }
.page__title, .prose h1 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(32px, 5vw, 48px); line-height: 1.1; text-align: center; }
.page__dek { margin: 0 0 24px; text-align: center; font-style: italic; font-size: 18px; }
.prose h2 { margin: 32px 0 8px; font-family: var(--display); font-size: 22px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 2px solid var(--rule); padding-bottom: 4px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.archive__month { margin: 28px 0 8px; font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: 0.08em; border-bottom: 2px solid var(--rule); padding-bottom: 4px; }
.archive__list { list-style: none; margin: 0; padding: 0; }
.archive__list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.archive__meta { font-family: var(--display); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.archive__list a { font-size: 19px; font-weight: 700; color: var(--ink); text-decoration: none; }
.archive__list a:hover { color: var(--teal); }
.archive__roast { font-style: italic; font-size: 15px; color: var(--ink-soft); }

/* Footer */
.site-footer { margin-top: 32px; border-top: 4px double var(--rule); padding-top: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-family: var(--display); font-size: 13px; }

/* Responsive */
@media (max-width: 960px) { .columns { column-count: 2; } }
@media (max-width: 640px) {
  .paper { padding: 20px 16px 48px; }
  .columns { column-count: 1; column-rule: none; }
  .masthead__top span:nth-child(1), .masthead__top span:nth-child(3) { display: none; }
  .masthead__top { justify-content: center; }
  .masthead__dateline { justify-content: center; }
  .masthead__title { gap: 10px; }
  .lead { text-align: left; }
  .lead__dek { font-size: 17px; }
}
