/* The public site. A night-shift news desk: a wide, loud grotesque for headlines, a calm serif for
   reading, a monospace for everything the machine knows (dates, counts, sections). One acid
   signal colour, and one hue per section, so a story's subject is seen before it is read. Colour
   is never the only signal: a word always says it too.
   Three fonts, served from this site (static/fonts, SIL Open Font License): nothing is loaded from
   elsewhere, and there is no script. A font file is kept by browsers for a year: one that changes
   takes a new name. Motion is decoration only and stops when the reader asks.
   Every colour pair is checked for contrast by tests/test_contrast.py. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/static/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url("/static/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/static/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --page: #070a12;
  --raised: #0f1524;
  --rule: #26304a;
  --ink: #eef2fb;
  --quiet: #9aa6c2;
  --signal: #c8f250;
  --signal-ink: #0b1002;
  --alert: #ff8a80;
  --alert-ink: #1a0503;
  --glow: #1b2a5c;
  --sec-ai: #b9a2ff;
  --sec-automation: #f6c653;
  --sec-cloud: #62caff;
  --sec-hardware: #dcb894;
  --sec-hybrid-cloud: #52d6c9;
  --sec-networking-security: #ffa862;
  --sec-on-prem: #7fe38d;
  --sec-professional: #d3d9e6;
  --sec-security: #ff8a7d;
  --sec-storage: #ff9fc8;
  --sec-systems: #a6b9ff;
  --sec-virtualization: #e9a0ff;
  --head: "Bricolage Grotesque", Bahnschrift, "DIN Alternate", "Arial Narrow", system-ui, sans-serif;
  --text: Newsreader, Georgia, "Noto Serif", "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --step--1: 0.75rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --gap: clamp(1rem, 3vw, 2rem);
  --wide: 82rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #f4f5f0;
    --raised: #ffffff;
    --rule: #cfd3c8;
    --ink: #0d1120;
    --quiet: #4c556b;
    --signal: #3f5c00;
    --signal-ink: #ffffff;
    --alert: #b3261e;
    --alert-ink: #ffffff;
    --glow: #dfe6c8;
    --sec-ai: #5a34c8;
    --sec-automation: #765000;
    --sec-cloud: #0a5c99;
    --sec-hardware: #6f4a1c;
    --sec-hybrid-cloud: #0a6860;
    --sec-networking-security: #954700;
    --sec-on-prem: #1e6a2d;
    --sec-professional: #454e68;
    --sec-security: #b3261e;
    --sec-storage: #a0236d;
    --sec-systems: #3245b6;
    --sec-virtualization: #8a2aa8;
                        color-scheme: light;
  }
}

/* A story, a link or a page wears the hue of its section: the twelve areas of the IT Tech
   Learning list (db/reference). A section without a hue here wears the signal colour. */
.sec-ai { --sec: var(--sec-ai); }
.sec-automation { --sec: var(--sec-automation); }
.sec-cloud { --sec: var(--sec-cloud); }
.sec-hardware { --sec: var(--sec-hardware); }
.sec-hybrid-cloud { --sec: var(--sec-hybrid-cloud); }
.sec-networking-security { --sec: var(--sec-networking-security); }
.sec-on-prem { --sec: var(--sec-on-prem); }
.sec-professional { --sec: var(--sec-professional); }
.sec-security { --sec: var(--sec-security); }
.sec-storage { --sec: var(--sec-storage); }
.sec-systems { --sec: var(--sec-systems); }
.sec-virtualization { --sec: var(--sec-virtualization); }
/* What asks for action is not a section: it wears the colour of the alert */
.sec-act-now { --sec: var(--alert); }

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

@view-transition { navigation: auto; }

html { scroll-behavior: smooth; scroll-padding-top: 3.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--page);
  /* Two far lights behind the masthead: the room the desk sits in */
  background-image:
    radial-gradient(60rem 30rem at 88% -10rem, var(--glow), transparent 70%),
    radial-gradient(42rem 24rem at -6% 2rem, var(--glow), transparent 72%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--head);
  font-size: var(--step-0);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; text-decoration-color: var(--quiet); }
a:hover { text-decoration-color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--signal); color: var(--signal-ink); }

h1, h2, h3 { font-weight: 700; font-stretch: 80%; line-height: 1.05; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gap); top: -4rem; z-index: 20; padding: 0.5rem 1rem;
  background: var(--signal); color: var(--signal-ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 0.5rem; }

.topline, .kicker, .meta, .sections, .topics, .label, .chip, .pages, .page-feed, .colophon, .reading-sources span {
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.04em;
}

/* How far down the story the reader is: drawn by the scroll itself, where the browser can */
.progress { display: none; }
@supports (animation-timeline: scroll()) {
  .progress {
    display: block; position: fixed; inset: 0 0 auto 0; z-index: 30; height: 3px;
    background: var(--signal); transform-origin: 0 50%; transform: scaleX(0);
    animation: progress linear both; animation-timeline: scroll(root block);
  }
  @keyframes progress { to { transform: scaleX(1); } }
}

/* ── Top of the page ─────────────────────────────────────────────────────── */
.topline, .masthead, .nav-inner, main, .colophon-inner { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gap); }
/* The foot of the page sits at the bottom of the window, however short the page */
body { display: flex; flex-direction: column; }
main { flex: 1; }

.topline {
  display: flex; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: center;
  padding-block: 0.6rem; color: var(--quiet); text-transform: uppercase;
}
.topline p { margin: 0; }
.live { display: inline-flex; gap: 0.5rem; align-items: center; flex: none; color: var(--ink); }
.live::before {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 var(--signal); animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--signal); } 70%, 100% { box-shadow: 0 0 0 0.6rem transparent; } }

/* The one form of the site: it asks this server for a page of results, nothing else */
.search { display: flex; min-width: 0; }
.search input {
  width: clamp(9rem, 26vw, 20rem); min-width: 0; min-height: 2.25rem; padding: 0 0.75rem;
  border: 1px solid var(--rule); border-right: 0; border-radius: 4px 0 0 4px; background: var(--raised);
  color: var(--ink); font-family: var(--mono); font-size: 1rem; letter-spacing: 0;
  -webkit-appearance: none; appearance: none; transition: border-color 0.2s var(--ease);
}
.search input::placeholder { color: var(--quiet); opacity: 1; }
.search input:hover, .search input:focus { border-color: var(--signal); }
.search button {
  min-height: 2.25rem; padding: 0 0.9rem; border: 1px solid var(--signal); border-radius: 0 4px 4px 0;
  background: var(--signal); color: var(--signal-ink); font: inherit; font-weight: 700;
  letter-spacing: inherit; text-transform: uppercase; cursor: pointer;
}
.search-page { max-width: 42rem; margin-top: 1.5rem; }
.search-page input { flex: 1; width: auto; min-height: 3.25rem; padding-inline: 1rem; font-size: 1.125rem; }
.search-page button { min-height: 3.25rem; padding-inline: 1.5rem; font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.04em; }

.masthead { padding-block: clamp(0.5rem, 2vw, 1.5rem) clamp(1rem, 2.5vw, 1.75rem); border-top: 1px solid var(--rule); }
.wordmark {
  display: block; width: fit-content; text-decoration: none; text-transform: uppercase;
  font-size: clamp(2.75rem, 11.5vw, 9.5rem); font-weight: 800; font-stretch: 75%;
  line-height: 0.86; letter-spacing: -0.035em; color: var(--ink);
  view-transition-name: wordmark;
}
/* The last thing typed on the desk: a cursor after the name */
.wordmark::after {
  content: ""; display: inline-block; width: 0.34em; height: 0.11em; margin-left: 0.06em;
  background: var(--signal); animation: blink 1.2s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.tagline { margin: 0.9rem 0 0; max-width: 34rem; color: var(--quiet); font-family: var(--text); font-size: var(--step-1); line-height: 1.35; }

/* Every section in sight on a wide screen; on a narrow one, a single row that scrolls sideways
   and stays within reach while the page scrolls */
.sections { border-block: 1px solid var(--rule); }
.nav-inner { display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
@media (max-width: 60rem) {
  .sections {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in srgb, var(--page) 86%, transparent);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  }
  .nav-inner { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sections .nav-inner a { min-height: 2.75rem; }
  .nav-inner::-webkit-scrollbar { display: none; }
}
.sections a {
  position: relative; display: inline-flex; gap: 0.5rem; align-items: center; flex: none;
  min-height: 2.25rem; color: var(--quiet); text-decoration: none;
  text-transform: uppercase; white-space: nowrap; transition: color 0.2s var(--ease);
}
.sections a::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 1px; background: var(--sec, var(--signal));
  transform: rotate(45deg); transition: transform 0.3s var(--ease);
}
.sections a::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 2px;
  background: var(--sec, var(--signal)); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.3s var(--ease);
}
.sections a:hover, .sections a[aria-current="page"] { color: var(--ink); }
.sections a:hover::before { transform: rotate(135deg) scale(1.25); }
.sections a:hover::after, .sections a[aria-current="page"]::after { transform: scaleX(1); }
.sections a[aria-current="page"] { font-weight: 700; }

main { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: 5rem; }

/* ── A listing: the front page, a section, a category ───────────────────── */
.page-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.page-title {
  font-size: clamp(2.75rem, 9vw, 6.5rem); font-weight: 800; font-stretch: 75%; line-height: 0.9;
  letter-spacing: -0.03em; text-transform: uppercase; color: var(--sec, var(--ink));
}
.page-feed { margin: 1rem 0 0; color: var(--quiet); text-transform: uppercase; }
.page-feed a { display: inline-flex; align-items: center; min-height: 1.5rem; }
.topics { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.topics a {
  display: inline-flex; align-items: center; min-height: 2rem; padding: 0.2rem 0.75rem;
  border: 1px solid var(--rule); border-radius: 999px; color: var(--quiet); text-decoration: none;
  background: var(--raised); transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.topics a:hover { color: var(--ink); border-color: var(--sec, var(--signal)); }

.label {
  display: flex; gap: 0.75rem; align-items: center; margin: 0 0 1rem; color: var(--quiet);
  font-weight: 500; font-stretch: 100%; text-transform: uppercase;
}
.label::after { content: ""; flex: 1; height: 1px; background: var(--rule); }

.front { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }

.kicker { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; margin: 0 0 0.6rem; text-transform: uppercase; }
.kicker a { display: inline-flex; align-items: center; min-height: 1.5rem; color: var(--sec, var(--signal)); font-weight: 700; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.urgency { display: inline-flex; gap: 0.4rem; align-items: center; padding: 0.15rem 0.5rem; border-radius: 2px; font-weight: 700; }
.urgency-act-now { color: var(--alert-ink); background: var(--alert); }
.urgency-act-now::before {
  content: ""; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: currentColor;
  animation: blink 1s steps(2, jump-none) infinite;
}
.urgency-plan { color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }

.story h2 a { text-decoration: none; background: linear-gradient(var(--sec, var(--signal)), var(--sec, var(--signal))) 0 100% / 0 2px no-repeat; transition: background-size 0.35s var(--ease); }
.story h2 a:hover { background-size: 100% 2px; }
.story-summary { margin: 0 0 0.75rem; color: var(--quiet); font-family: var(--text); line-height: 1.5; }
.meta { font-variant-numeric: tabular-nums; display: flex; gap: 0.25rem 0.9rem; flex-wrap: wrap; margin: 0; color: var(--quiet); text-transform: uppercase; }
.meta > * + *::before { content: "/"; display: inline-block; margin-right: 0.9rem; color: var(--rule); }

/* The lead: the one story the page is built around */
.story-lead { position: relative; padding-left: clamp(1rem, 2.5vw, 2rem); border-left: 3px solid var(--sec, var(--signal)); }
.story-lead h2 {
  font-size: clamp(2.5rem, 6.4vw, 5.5rem); font-weight: 800; font-stretch: 75%; line-height: 0.95;
  letter-spacing: -0.025em; margin-bottom: 1.25rem;
}
.story-lead .story-summary { max-width: 38rem; font-size: clamp(1.1875rem, 1.6vw, 1.4375rem); line-height: 1.4; color: var(--ink); margin-bottom: 1.25rem; }

/* The next ones, counted */
.front-side { counter-reset: rank; }
.story-side { position: relative; counter-increment: rank; padding: 1.1rem 0 1.1rem 3.25rem; border-top: 1px solid var(--rule); }
.story-side:last-child { border-bottom: 1px solid var(--rule); }
.story-side::before {
  content: counter(rank, decimal-leading-zero); position: absolute; left: 0; top: 1rem;
  font-family: var(--mono); font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--sec, var(--signal));
}
.story-side h2 { font-size: 1.3125rem; line-height: 1.12; margin-bottom: 0.5rem; }
.story-side .story-summary { display: none; }

/* Everything else: cards that light up in their section's colour */
.front-more { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.front-more + .front-more { margin-top: 2.5rem; }
.page-head + .front-more, .visually-hidden + .front-more { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; }
.story-more {
  position: relative; display: flex; flex-direction: column; padding: 1.25rem 1.25rem 1.1rem;
  background: var(--raised); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.story-more::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--sec, var(--signal));
  transform: scaleX(0.18); transform-origin: 0 50%; transition: transform 0.45s var(--ease);
}
.story-more:focus-within { border-color: var(--sec, var(--signal)); }
@media (hover: hover) and (pointer: fine) {
  .story-more:hover { transform: translateY(-3px); }
}
.story-more:hover, .story-more:focus-within { border-color: var(--sec, var(--signal));
  box-shadow: 0 1rem 2.5rem -1.5rem var(--sec, var(--signal));
}
.story-more:hover::before, .story-more:focus-within::before { transform: scaleX(1); }
.story-more h2 { font-size: 1.4375rem; line-height: 1.1; margin-bottom: 0.6rem; }
/* The whole card opens the story */
.story-more h2 a { background: none; }
.story-more h2 a::after { content: ""; position: absolute; inset: 0; }
.story-more .kicker a, .story-more .urgency { position: relative; z-index: 1; }
.story-more .story-summary { flex: 1; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.story-more .meta { padding-top: 0.75rem; border-top: 1px solid var(--rule); }

.pages { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; text-transform: uppercase; }
.pages a {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: 1.25rem;
  border: 1px solid var(--rule); border-radius: 999px; background: var(--raised); text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.pages a:hover { border-color: var(--signal); color: var(--signal); }
.pages a[rel="next"] { margin-left: auto; }
.empty { color: var(--quiet); font-family: var(--text); font-size: var(--step-1); }

/* ── Reading a story ─────────────────────────────────────────────────────── */
.reading-head { max-width: 68rem; }
.reading h1 {
  font-size: clamp(2.5rem, 7vw, 5.75rem); font-weight: 800; font-stretch: 75%; line-height: 0.95;
  letter-spacing: -0.025em; margin-bottom: 1.5rem; view-transition-name: headline;
}
.standfirst { max-width: 44rem; margin: 0 0 1.5rem; font-family: var(--text); font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.38; }
.reading-columns {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); gap: clamp(2rem, 5vw, 5rem);
  margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule);
}
.reading-body { max-width: 41rem; font-family: var(--text); font-size: clamp(1.125rem, 1.4vw, 1.25rem); line-height: 1.68; }
.reading-body p { margin: 0 0 1.3em; hanging-punctuation: first; }
.reading-body > p:first-of-type::first-letter {
  float: left; margin: 0.08em 0.12em 0 0; font-family: var(--head); font-size: 3.9em; font-weight: 800;
  font-stretch: 75%; line-height: 0.8; color: var(--sec, var(--signal));
}
.reading-body h2 {
  margin: 2em 0 0.6em; padding-top: 1.1rem; border-top: 1px solid var(--rule);
  font-family: var(--head); font-size: 1.625rem; line-height: 1.1;
}

.reading-side { align-self: start; position: sticky; top: 1.5rem; display: grid; gap: 1rem; }
.panel { padding: 1.25rem; background: var(--raised); border: 1px solid var(--rule); border-radius: 6px; }
.panel h2 { margin-bottom: 0.9rem; }
.panel-points { border-top: 3px solid var(--sec, var(--signal)); }
.panel ol, .panel ul { margin: 0; padding: 0; list-style: none; }
.panel-points ol { counter-reset: point; }
.panel-points li { position: relative; counter-increment: point; padding-left: 2.25rem; font-size: 1.0625rem; line-height: 1.35; }
.panel-points li + li { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--rule); }
.panel-points li::before {
  content: counter(point, decimal-leading-zero); position: absolute; left: 0;
  font-family: var(--mono); font-size: var(--step--1); line-height: 1.9; color: var(--sec, var(--signal));
}
.reading-sources li + li { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--rule); }
.reading-sources a { display: block; line-height: 1.3; text-decoration: none; }
.reading-sources a:hover { text-decoration: underline; text-decoration-color: var(--signal); }
.reading-sources span { display: block; margin-top: 0.3rem; color: var(--quiet); }
.chips { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0; }
.chip {
  display: inline-flex; align-items: center; min-height: 1.75rem; padding: 0.1rem 0.65rem;
  border: 1px solid var(--rule); border-radius: 999px; color: var(--quiet); text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--sec, var(--signal)); }

/* ── About, legal, privacy, errors ───────────────────────────────────────── */
.text-page { max-width: 44rem; }
.text-page h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); font-weight: 800; font-stretch: 75%; line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase; margin-bottom: 1.5rem; }
.text-page h2 { margin: 2.5rem 0 0.75rem; padding-top: 1.1rem; border-top: 1px solid var(--rule); font-size: 1.625rem; }
.text-page p { font-family: var(--text); font-size: var(--step-1); line-height: 1.6; margin: 0 0 1rem; }
.text-page .standfirst { font-size: clamp(1.25rem, 2vw, 1.5625rem); line-height: 1.38; }
.text-page .meta { font-family: var(--mono); font-size: var(--step--1); }
.text-page a { text-decoration-color: var(--signal); }

/* ── Foot of the page ────────────────────────────────────────────────────── */
.colophon { border-top: 1px solid var(--rule); background: var(--raised); color: var(--quiet); text-transform: uppercase; }
.colophon-inner { display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 2rem 2.5rem; }
.colophon p { margin: 0; }
.colophon nav { display: flex; gap: 0.25rem 1.5rem; flex-wrap: wrap; }
.colophon a { display: inline-flex; align-items: center; min-height: 1.75rem; }
.colophon-mark { font-family: var(--head); font-size: 1.75rem; font-weight: 800; font-stretch: 75%; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }

/* The page arrives: one soft rise, once */
@media (prefers-reduced-motion: no-preference) {
  .story-lead, .front-side, .page-head, .reading-head { animation: rise 0.7s var(--ease) both; }
  .front-side { animation-delay: 0.08s; }
  .story-more { animation: rise 0.6s var(--ease) both; }
  .story-more:nth-child(2) { animation-delay: 0.04s; }
  .story-more:nth-child(3) { animation-delay: 0.08s; }
  .story-more:nth-child(4) { animation-delay: 0.12s; }
  .story-more:nth-child(n + 5) { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(0.75rem); } }
}

@media (max-width: 60rem) {
  .front, .reading-columns { grid-template-columns: minmax(0, 1fr); }
  .reading-side { position: static; }
  .story-side .story-summary { display: none; }
}
@media (max-width: 36rem) {
  .topline .wide { display: none; }
  .search { flex: 1; }
  .search input { flex: 1; width: auto; }
  .meta > * + *::before { content: none; }
  .story-lead { padding-left: 1rem; }
}

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

@media print {
  body { background: #fff; color: #000; }
    .sections, .topline, .progress, .colophon nav, .skip, .pages { display: none; }
  .reading-columns { display: block; }
}
