/* gazette.slopped.site (gazette skill). Hand-written. A broadsheet front page in the house brand (slopped-brand): paper,
   ink, Archivo Black heads, Arial text, hairline column rules and a double rule under the nameplate. No cards, no
   pills, no badges: a newspaper is ruled, not boxed. Colours are the network theme's tokens (themes skill), so every
   theme dresses it; the header and drawer come from /shared/header.css. Nothing moves, so reduced motion has nothing
   to stop. */
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo-black-latin.woff2) format("woff2"); font-weight: 400 1000; font-display: swap; }
@font-face { font-family: "Archivo Black Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"); size-adjust: 112%; }
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #171815;
  --acid: #e3ff59;
  --muted: #6b6b62;
  --line: #d4d2c9;
  --focus: #728600;
  --head: "Archivo Black", "Arial Black", "Archivo Black Fallback", Arial, sans-serif;
  --rule: 1px solid var(--line);
  --ink-rule: 2px solid var(--ink);
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.5; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 1000; letter-spacing: -1px; line-height: 1.04; font-synthesis: none; }
p { margin: 0 0 .8em; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1440px; margin: auto; padding: 0 5%; }
main:focus { outline: none; }
html:not(.can-install) [data-install] { display: none !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- the nameplate: the date is the title */
.nameplate { padding: 28px 0 0; border-bottom: 6px double var(--ink); }
.nameplate h1 { font-size: clamp(40px, 8.4vw, 132px); letter-spacing: clamp(-4px, -.35vw, -1.5px); line-height: .95; padding-bottom: 16px; border-bottom: var(--ink-rule); text-wrap: balance; }
.folio { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 10px 0; font-size: 13px; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.folio span + span::before { content: ""; display: inline-block; width: 1px; height: 12px; margin: 0 12px; background: var(--line); vertical-align: -1px; }
.folio-nav:empty { display: none; }
.folio-nav { display: flex; flex-wrap: wrap; gap: 0 22px; border-top: var(--rule); }
.folio-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 15px; }
.folio-nav a[rel="next"] { margin-left: auto; }

/* ---------------------------------------------------------------- the front: the lead and the side column */
.front { display: grid; grid-template-columns: minmax(0, 1fr); border-bottom: var(--ink-rule); }
@media (min-width: 900px) { .front { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .front .side { border-left: var(--rule); padding-left: 28px; } .front .story.lead { padding-right: 28px; } }
.story { padding: 22px 0 18px; min-width: 0; }
.kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.head { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 10px; text-wrap: balance; }
.lead-head { font-size: clamp(34px, 5.2vw, 76px); letter-spacing: clamp(-3px, -.2vw, -1.5px); line-height: .98; margin-bottom: 14px; }
.dek { font-size: 19px; line-height: 1.4; font-weight: 700; letter-spacing: -.2px; }
.lead .dek { font-size: clamp(19px, 1.7vw, 24px); max-width: 38em; }
.plate { margin: 14px 0 12px; }
.plate-img { display: block; background: var(--line); }
.plate img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--ink); }
.lead .plate img { max-height: 78vh; }
.cart-plate { max-width: 520px; }
.cart-plate img { image-rendering: pixelated; aspect-ratio: 10 / 9; object-fit: contain; }
figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
figcaption a { color: var(--ink); font-weight: 700; }
.more { margin: 6px 0 0; }
.more a { display: inline-block; padding: 11px 0; line-height: 22px; font-weight: 700; }
.more a::after { content: " →"; white-space: pre; }
.filed { font-size: 15px; color: var(--muted); }
.filed a { color: var(--ink); }
.small { font-size: 14px; color: var(--muted); }
.small a { color: var(--ink); }
.said { margin: 12px 0; padding: 0 0 0 14px; border-left: 3px solid var(--ink); }
.said p { margin: 0 0 4px; font-size: 18px; line-height: 1.35; font-style: italic; }
.said footer { font-size: 13px; color: var(--muted); }
.said footer a { color: var(--ink); }

/* the side column's boxes: ruled at the top, not framed */
.side { padding: 22px 0 0; }
.box { padding: 0 0 18px; margin-bottom: 18px; border-bottom: var(--rule); }
.box:last-child { border-bottom: 0; }
.box .head { font-size: clamp(22px, 1.9vw, 26px); }
.wx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 12px 0; border-top: var(--ink-rule); border-bottom: var(--rule); }
.wx div { padding: 8px 8px 8px 0; }
.wx div + div { padding-left: 10px; border-left: var(--rule); }
.wx dt { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.wx dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; }
.hours { list-style: none; margin: 10px 0; padding: 0; border-top: var(--ink-rule); }
.hours li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; align-items: center; min-height: 44px; border-bottom: var(--rule); }
.hours li a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.hours li span { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- the columns */
.columns { display: grid; grid-template-columns: minmax(0, 1fr); }
.columns > * { border-bottom: var(--rule); }
@media (min-width: 760px) {
  .columns { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .columns > :nth-child(2n) { border-left: var(--rule); padding-left: 28px; margin-left: -1px; }
}
@media (min-width: 1180px) {
  .columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .columns > :nth-child(2n) { border-left: 0; padding-left: 0; margin-left: 0; }
  .columns > :not(:nth-child(3n + 1)) { border-left: var(--rule); padding-left: 28px; margin-left: -1px; }
}
.columns .box { margin: 0; padding: 22px 0 18px; }
.twelve { margin: 10px 0 14px; padding-left: 1.6em; font-size: 15px; columns: 2 12em; column-gap: 24px; }
.twelve li { break-inside: avoid; padding: 2px 0; }
.twelve li.picked { font-weight: 700; }
.live { margin: 12px 0 4px; padding: 10px 0 0; border-top: var(--ink-rule); }
.live h3 { font-size: 18px; letter-spacing: -.4px; margin-bottom: 4px; }
.live-line { font-size: 15px; }
.live-line b { font-weight: 700; }
.more-art { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0; padding: 0; }
.more-art a { display: block; font-size: 13px; line-height: 1.3; text-decoration: none; min-height: 44px; }
.more-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 4px; }
.more-art span { text-decoration: underline; text-underline-offset: 3px; }
.who { font-size: 14px; color: var(--muted); }
.who a { color: var(--ink); font-weight: 700; }
.around p { font-style: italic; }
.around .who { font-style: normal; }
.stocks { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 15px; font-variant-numeric: tabular-nums; }
.stocks caption { text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); padding-bottom: 4px; }
.stocks thead th { font-size: 12px; color: var(--muted); font-weight: 700; text-align: left; border-bottom: var(--ink-rule); padding: 4px 6px 4px 0; }
.stocks th[scope="row"] { text-align: left; font-weight: 400; padding: 6px 6px 6px 0; }
.stocks td { padding: 6px 6px 6px 0; border-bottom: var(--rule); }
.stocks th[scope="row"] { border-bottom: var(--rule); }
.stocks .unit { color: var(--muted); font-size: 13px; }
.stocks .delta { text-align: right; white-space: nowrap; }

/* ---------------------------------------------------------------- situations vacant: small type, dense, ruled */
.classifieds { padding: 26px 0 8px; border-bottom: var(--ink-rule); }
.classifieds > .head { font-size: clamp(26px, 3vw, 38px); padding-bottom: 8px; border-bottom: var(--ink-rule); }
.classifieds > .small { margin-top: 10px; }
.ads { list-style: none; margin: 8px 0 0; padding: 0; columns: 1; column-gap: 28px; column-rule: var(--rule); font-size: 15px; line-height: 1.4; }
@media (min-width: 640px) { .ads { columns: 2; } }
@media (min-width: 1100px) { .ads { columns: 3; } }
.ads li { break-inside: avoid; padding: 10px 0; border-bottom: var(--rule); }
.ads p { margin: 0; }
.trade { text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.ads .src a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; }

.colophon { margin: 18px 0 0; padding: 0 0 8px; font-size: 14px; color: var(--muted); max-width: 64em; }
.colophon a { color: var(--ink); }

/* ---------------------------------------------------------------- back issues and the about page */
.month { padding: 22px 0 8px; border-bottom: var(--rule); }
.month .head { margin-bottom: 8px; }
.issues { list-style: none; margin: 0; padding: 0; }
.issues a { display: grid; grid-template-columns: 5.5em 9em minmax(0, 1fr); gap: 0 14px; align-items: baseline; min-height: 44px; padding: 10px 0; border-top: var(--rule); text-decoration: none; }
.issues a .h { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.issues .no, .issues .d { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .issues a { grid-template-columns: 4.5em minmax(0, 1fr); } .issues .h { grid-column: 1 / -1; } }
.prose { max-width: 44em; padding: 22px 0 30px; }
.prose .head { margin: 26px 0 10px; }
.sources div { padding: 10px 0; border-top: var(--rule); }
.sources dt { font-weight: 700; }
.sources dd { margin: 2px 0 0; }

.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; padding: 40px 0; margin-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }
.foot .brand { display: inline-flex; align-items: center; min-height: 44px; }
.foot .brand img { width: 140px; height: auto; }
.sloppywright { display: block; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nameplate { padding-top: 18px; }
  .folio { flex-direction: column; }
  .folio span + span::before { display: none; }
  .wx { grid-template-columns: minmax(0, 1fr); }
  .wx div + div { padding-left: 0; border-left: 0; border-top: var(--rule); }
  .more-art { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------- forced colours: the rules stay, in system colours */
@media (forced-colors: active) {
  .nameplate, .front, .classifieds, .wx, .hours, .live, .classifieds > .head { border-color: CanvasText; }
  .said { border-left-color: CanvasText; }
  .plate img { background: Canvas; }
}

/* ---------------------------------------------------------------- print: the paper it was always pretending to be */
@media print {
  @page { margin: 14mm; }
  :root { --paper: #fff; --ink: #000; --muted: #333; --line: #999; }
  body { background: #fff; color: #000; font-size: 10.5pt; line-height: 1.35; }
  .sh-wrap, #site-menu, .skip, .folio-nav, .live, .more, .foot .brand, .slop-to-top, [data-install] { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .nameplate h1 { font-size: 40pt; }
  .lead-head { font-size: 30pt; }
  .head { font-size: 15pt; }
  .front { grid-template-columns: 2fr 1fr; }
  .front .side { border-left: 1px solid #999; padding-left: 5mm; }
  .front .story.lead { padding-right: 5mm; }
  .columns { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 5mm; }
  .columns > * { border-left: 0 !important; padding-left: 0 !important; margin-left: 0 !important; }
  .story, .box, .ads li, figure, table { break-inside: avoid; }
  .plate img { max-height: 90mm; background: none; }
  .ads { columns: 3; }
  .ads .src a::after { content: " " attr(href); font-weight: 400; word-break: break-all; }
  a { text-decoration: none; }
}
