@font-face { font-family: Anton; src: url(../fonts/anton-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'League Gothic'; src: url(../fonts/league-gothic-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'PT Serif'; src: url(../fonts/pt-serif-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'PT Serif'; font-weight: 700; src: url(../fonts/pt-serif-latin-700-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'PT Serif'; font-style: italic; src: url(../fonts/pt-serif-latin-400-italic.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Silkscreen; src: url(../fonts/silkscreen-latin-400-normal.woff2) format('woff2'); font-display: swap; }

:root {
  --ink: #0C0A0D;
  --ink2: #38363b;
  --paper: #C6C9CA;
  --pale: #E4E6E6;
  --pink: #FF3EA5;
  --rule: 1px solid var(--ink);
  --head: Anton, Impact, 'Arial Narrow', sans-serif;
  --sub: 'League Gothic', Impact, 'Arial Narrow', sans-serif;
  --serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --pix: Silkscreen, ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 8px; scroll-padding-bottom: 56px; }
body {
  margin: 0;
  padding: 0 clamp(12px, 2.4vw, 32px) 54px;
  color: var(--ink);
  background: var(--paper) var(--paper-img, none);
  font: 400 15.5px/1.42 var(--serif);
  overflow-wrap: break-word;
}
body > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 3px; text-decoration-color: var(--pink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--pale); padding: 8px 12px; z-index: 20; }
.skip:focus { top: 8px; }

/* masthead */
.masthead { padding-top: 12px; }
.ears { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.ear { font: 400 11px/1.3 var(--pix); color: var(--ink); }
.ear-right { text-align: right; }
.ear-eye { width: 88px; height: 44px; image-rendering: pixelated; display: block; }
.nameplate {
  font: 400 min(11.6vw, 161px)/1.04 var(--head);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  letter-spacing: .004em;
}
.nameplate a { text-decoration: none; }
.motto { text-align: center; font-style: italic; font-size: 15px; padding: 2px 0 6px; }
.dateline {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 18px;
  border-top: 4px solid var(--ink); border-bottom: var(--rule);
  padding: 5px 0 4px; margin-top: 2px;
  font: 400 12px/1.3 var(--pix);
  box-shadow: 0 3px 0 -2px var(--ink);
}
.dl-slogan { background: var(--ink); color: var(--pink); padding: 0 6px; }

/* the sheet */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) 292px; grid-template-rows: auto 1fr; column-gap: 22px; padding-top: 16px; }
.lead { grid-column: 1; padding-bottom: 16px; border-bottom: 3px double var(--ink); }
.stories { grid-column: 1; padding-top: 14px; columns: 3; column-gap: 22px; column-rule: var(--rule); }
.rail { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; gap: 14px; border-left: var(--rule); padding-left: 16px; }

.lead-kicker { display: inline-block; background: var(--pink); padding: 1px 7px 0; font: 400 12px/1.5 var(--pix); }
.lead-head { font: 400 clamp(34px, 5.5vw, 76px)/1.06 var(--head); text-transform: uppercase; margin: 6px 0 8px; letter-spacing: .002em; }
.standfirst { font: italic 400 20px/1.32 var(--serif); margin-bottom: 12px; max-width: 46em; }
.art { overflow: hidden; line-height: 0; }
.art canvas { image-rendering: pixelated; display: block; }
.lead .art { border-top: var(--rule); border-bottom: var(--rule); background: var(--pale); }
.byline { display: flex; justify-content: space-between; gap: 12px; font: 400 11px/1.4 var(--pix); padding: 6px 0 8px; }
.lead-body { columns: 2; column-gap: 22px; column-rule: var(--rule); font-size: 16.5px; line-height: 1.42; }
.lead-body p { break-inside: avoid-column; }
.lead-body p + p, .story p + p { text-indent: 1.1em; }
.lead-body p:first-child::first-letter { font: 400 3.2em/.86 var(--head); float: left; padding: 3px 7px 0 0; }

.story { break-inside: avoid; padding-bottom: 12px; margin-bottom: 12px; border-bottom: var(--rule); }
.kicker { font: 400 11px/1.4 var(--pix); }
.story h3 { font: 400 31px/1.04 var(--sub); text-transform: uppercase; margin: 2px 0 6px; letter-spacing: .008em; }
.story:nth-child(3n+1) h3 { font: 400 28px/1.12 var(--head); }
.story .art { margin: 2px 0 8px; border-bottom: var(--rule); }
.permalink { font: 400 11px/1 var(--pix); display: inline-block; padding: 8px 8px 7px 0; }
.is-target > .kicker, .is-target > .lead-kicker { box-shadow: -6px 0 0 var(--pink), 6px 0 0 var(--pink); background: var(--pink); color: var(--ink); }
:target > .kicker { background: var(--pink); color: var(--ink); }

/* rail */
.box h2 { font: 400 25px/1.05 var(--sub); text-transform: uppercase; letter-spacing: .012em; }
.score { background: var(--ink); color: var(--pale); padding: 10px 12px 12px; }
.score-value { font: 400 86px/1 var(--pix); color: var(--pink); letter-spacing: -.04em; margin-top: 2px; }
.score-who { font: 400 11px/1.35 var(--pix); padding-bottom: 6px; }
.score-note { font-size: 14.5px; line-height: 1.35; }
.weather-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.stamp { display: inline-block; font: 400 11px/1 var(--pix); background: var(--pink); color: var(--ink); padding: 4px 6px 3px; }
.weather .stamp { transform: rotate(-4deg); margin-top: 2px; }
.stamp-off { background: none; box-shadow: inset 0 0 0 1px var(--ink); }
.wx-sky { font-weight: 700; padding-top: 4px; }
.wx-temp { font: 400 12px/1.4 var(--pix); padding: 3px 0; }
.wx-adv { font-size: 14.5px; line-height: 1.35; }
.weather, .figures, .corrections, .destinations { border-top: 3px solid var(--ink); padding-top: 6px; }
.figures dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 10px; margin-top: 4px; }
.figures dt { font-size: 14px; line-height: 1.3; padding: 4px 0; border-top: var(--rule); }
.figures dd { font: 400 21px/1.2 var(--sub); padding: 4px 0; border-top: var(--rule); text-align: right; }
.corrections { outline: 2px solid var(--ink); outline-offset: 0; border-top: 0; padding: 8px 10px 10px; }
.corrections h2 { display: inline-block; background: var(--pink); padding: 2px 6px 0; margin-bottom: 6px; }
.corrections li { font-size: 14.5px; line-height: 1.35; padding: 5px 0; border-top: 1px dotted var(--ink); }
.corr-foot { font: italic 400 13px/1.3 var(--serif); padding-top: 6px; border-top: var(--rule); }
.destinations li { padding: 3px 0; font-size: 14.5px; }
.destinations li a::after { content: " \2197"; font-size: .85em; }
.eyewall { flex: 1 1 60px; min-height: 60px; background: var(--eyes-img, none) 0 0 / 44px 28px round; image-rendering: pixelated; position: relative; display: flex; align-items: center; justify-content: center; }
.eyewall span { background: var(--ink); color: var(--pink); font: 400 11px/1 var(--pix); padding: 5px 7px 4px; text-transform: uppercase; }

/* classifieds */
.classifieds { border-top: 4px solid var(--ink); margin-top: 16px; padding-top: 6px; }
.classifieds h2 { font: 400 30px/1.1 var(--head); text-transform: uppercase; margin-bottom: 8px; }
.classifieds ul { columns: 4 230px; column-gap: 22px; column-rule: var(--rule); }
.classifieds li { break-inside: avoid; font-size: 13.5px; line-height: 1.32; padding: 0 0 8px; margin-bottom: 8px; border-bottom: 1px dotted var(--ink); }
.classifieds strong { display: block; font: 400 12px/1.4 var(--pix); }

.edition-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 22px; border-top: var(--rule); margin-top: 8px; padding: 10px 0; font-size: 14.5px; }
.edition-nav a { padding: 4px 0; }

/* notices */
.notice { border: 2px solid var(--ink); padding: 8px 10px; margin-top: 14px; font-size: 15px; }
.notice .stamp { margin-right: 4px; }

/* archive */
.archive-head { font: 400 clamp(38px, 7vw, 92px)/1.06 var(--head); text-transform: uppercase; margin-top: 18px; }
.archive-intro { font: italic 400 19px/1.34 var(--serif); max-width: 40em; padding: 4px 0 14px; }
.archive-list li { display: grid; grid-template-columns: 236px 76px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 10px 0 9px; border-top: var(--rule); }
.archive-list li:last-child { border-bottom: var(--rule); }
.archive-list time, .arch-no { font: 400 11px/1.35 var(--pix); }
.archive-list a { font: 400 26px/1.08 var(--sub); text-transform: uppercase; letter-spacing: .008em; }

/* footer */
.colophon { border-top: 4px solid var(--ink); margin-top: 8px; padding: 8px 0 14px; font-size: 13px; line-height: 1.4; }
.colophon p + p { margin-top: 3px; }
#reading-clock { font: 400 11px/1.5 var(--pix); }
.fiction-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; max-width: none;
  margin: 0; padding: 5px 10px 4px;
  background: var(--ink); color: var(--pale);
  font: 400 12px/1.3 var(--serif); text-align: center; text-wrap: balance;
}

@media (max-width: 1140px) {
  .stories { columns: 2; }
  .sheet { grid-template-columns: minmax(0, 1fr) 256px; }
}
@media (max-width: 900px) {
  .sheet { display: flex; flex-direction: column; }
  .rail { display: contents; }
  .lead { order: 1; }
  .score { order: 2; margin-top: 14px; }
  .weather { order: 3; margin-top: 14px; }
  .stories { order: 4; border-top: 3px double var(--ink); margin-top: 14px; }
  .figures { order: 5; }
  .corrections { order: 6; margin: 4px 2px 14px; }
  .destinations { order: 7; }
  .eyewall { order: 8; flex: 0 0 56px; margin-top: 14px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .ear { display: none; }
  .ears { display: flex; justify-content: center; }
  .ear-eye { width: 66px; height: 33px; }
  .nameplate { font-size: 21.5vw; line-height: 1.06; white-space: normal; }
  .motto { font-size: 14px; }
  .dateline { font-size: 11px; }
  .lead-head { font-size: 37px; line-height: 1.1; }
  .standfirst { font-size: 18.5px; }
  .lead-body, .stories { columns: 1; }
  .story:nth-child(3n+1) h3 { font-size: 27px; }
  .archive-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .archive-list a { grid-column: 1 / -1; grid-row: 2; }
  .archive-list .stamp { grid-column: 2; grid-row: 1; }
  .arch-no { display: none; }
  .classifieds ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .fiction-bar { position: static; }
  .skip, .edition-nav { display: none; }
}
