
:root {
  color-scheme: light;
  --ink: #17344D;
  --soft: #2F4A5E;
  --muted: #4C677A;
  --rule: #D2E6EF;
  --accent: #2E6F9E;
  --on-accent: #FFFFFF;
  --card: rgba(255, 255, 255, 0.75);
  --paper: #F3F9FD;
  --paper-mid: #F1F9F9;
  --paper-end: #F4F9FD;
  --surface: #FFFFFF;
  --hover: #E6F2F9;
  --shadow: rgba(23, 52, 77, 0.16);
  --amber: #8A5A12;
  --warn: #FFF6E5;
  --warn-rule: #C98A1E;
  --warn-ink: #6B4A10;
  --on-air: #D2453A;
  --worked: #A9CBE2;
  --shade-1: #17344D;
  --shade-2: #2E6F9E;
  --shade-3: #4C8DB8;
  --shade-4: #7FB0D1;
  --shade-5: #A9CBE2;
  --shade-6: #C9DFEE;
  --shade-7: #8A5A12;
  --shade-8: #C98A1E;
  --shade-9: #E2B66B;
  --shade-10: #4C677A;
  --shade-11: #9FB3C1;
  --display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --text: 'Newsreader', Georgia, serif;
  --label: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --show-moon: block;
  --show-sun: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {

  color-scheme: dark;
  --ink: #D5E1EA;
  --soft: #C2D1DC;
  --muted: #B5C7D4;
  --rule: #233B4D;
  --accent: #9CCBEE;
  --on-accent: #0D1923;
  --card: rgba(22, 40, 55, 0.72);
  --paper: #0D1923;
  --paper-mid: #0E1C23;
  --paper-end: #0D1824;
  --surface: #132634;
  --hover: #1A3448;
  --shadow: rgba(0, 0, 0, 0.5);
  --amber: #EBC27D;
  --warn: #2A2113;
  --warn-rule: #C98A1E;
  --warn-ink: #EDD5A8;
  --on-air: #FF6B5E;
  --worked: #2E6F9E;
  --shade-1: #C9DFEE;
  --shade-2: #7DB8E3;
  --shade-3: #4C8DB8;
  --shade-4: #2E6F9E;
  --shade-5: #1F4F73;
  --shade-6: #9FB3C1;
  --shade-7: #E2B66B;
  --shade-8: #C98A1E;
  --shade-9: #8A5A12;
  --shade-10: #6D8798;
  --shade-11: #3E5566;
  --show-moon: none;
  --show-sun: block;

  }
}
:root[data-theme='dark'] {

  color-scheme: dark;
  --ink: #D5E1EA;
  --soft: #C2D1DC;
  --muted: #B5C7D4;
  --rule: #233B4D;
  --accent: #9CCBEE;
  --on-accent: #0D1923;
  --card: rgba(22, 40, 55, 0.72);
  --paper: #0D1923;
  --paper-mid: #0E1C23;
  --paper-end: #0D1824;
  --surface: #132634;
  --hover: #1A3448;
  --shadow: rgba(0, 0, 0, 0.5);
  --amber: #EBC27D;
  --warn: #2A2113;
  --warn-rule: #C98A1E;
  --warn-ink: #EDD5A8;
  --on-air: #FF6B5E;
  --worked: #2E6F9E;
  --shade-1: #C9DFEE;
  --shade-2: #7DB8E3;
  --shade-3: #4C8DB8;
  --shade-4: #2E6F9E;
  --shade-5: #1F4F73;
  --shade-6: #9FB3C1;
  --shade-7: #E2B66B;
  --shade-8: #C98A1E;
  --shade-9: #8A5A12;
  --shade-10: #6D8798;
  --shade-11: #3E5566;
  --show-moon: none;
  --show-sun: block;

}
* { box-sizing: border-box; }
html { background: var(--paper); }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(165deg, var(--paper) 0%, var(--paper-mid) 48%, var(--paper-end) 100%);
  color: var(--ink);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
.page { min-height: 100vh; min-height: 100dvh; max-width: 1280px; margin: 0 auto; padding: 40px 64px 48px; display: flex; flex-direction: column; gap: 28px; }
.label { font-family: var(--label); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.kicker { font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.kicker .standing { color: var(--amber); }
.meta { font-family: var(--label); font-size: 13px; color: var(--muted); }
.logo { flex-shrink: 0; }
.logo circle { fill: var(--accent); }

.topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.editions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.editions a, .editions span { color: var(--muted); }
.editions a.current { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.editions .next { font-weight: 500; text-transform: none; letter-spacing: 0; }
.feeds { display: flex; gap: 14px; align-items: center; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--rule); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .moon { display: var(--show-moon); }
.theme-toggle .sun { display: var(--show-sun); }

.masthead { display: flex; flex-direction: column; align-items: center; gap: 10px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 26px 0 18px; text-align: center; }
.masthead h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 104px; line-height: 1.2; letter-spacing: -0.01em; }
.masthead p { margin: 0; font-size: 19px; font-style: italic; color: var(--muted); }

.sitehead { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); padding-bottom: 18px; }
.sitehead .brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 32px; }
.sitehead nav { display: flex; gap: 20px; flex-wrap: wrap; margin-left: auto; }
.sitehead nav a.current { color: var(--accent); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.front { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.lead { grid-column: span 8; display: flex; flex-direction: column; gap: 14px; padding-right: 32px; border-right: 1px solid var(--rule); }
.lead h2 { margin: 0; font-size: 54px; line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
.lead .dek { margin: 0; font-size: 22px; line-height: 1.4; color: var(--soft); }
.lead .opening { margin: 0; padding-top: 14px; border-top: 1px solid var(--rule); font-size: 18px; line-height: 1.6; columns: 2; column-gap: 28px; }
.lead .opening::first-letter { float: left; font-family: var(--display); font-size: 64px; line-height: 0.85; padding: 6px 8px 0 0; font-weight: 800; }
.more { font-family: var(--label); font-weight: 600; color: var(--accent); font-size: 14px; }
.story .more, .entry .more { align-self: flex-start; margin-top: 2px; }
.more:hover { text-decoration: underline; }
.side { grid-column: span 4; display: flex; flex-direction: column; gap: 22px; }
.note { background: var(--card); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.note p { margin: 0; font-size: 17px; line-height: 1.5; font-style: italic; }
.contents { display: flex; flex-direction: column; gap: 10px; border-top: 3px double var(--ink); padding-top: 14px; }
.contents ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.35; }

.rest { border-top: 2px solid var(--ink); padding-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; row-gap: 28px; }
.story { display: flex; flex-direction: column; gap: 10px; padding-right: 28px; border-right: 1px solid var(--rule); }
.story:nth-child(4n) { border-right: none; padding-right: 0; }
.story h3 { margin: 0; font-size: 27px; line-height: 1.15; font-weight: 700; }
.story p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft); }

.earlier { display: flex; flex-direction: column; gap: 16px; }
.earlier h2 { margin: 0; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; border-top: 3px double var(--ink); padding-top: 14px; }
.earlier h2 span { color: var(--accent); }
.earlier h2 a { color: var(--muted); }
.earlier h2 a:hover { color: var(--accent); }
.earlier-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 28px; align-items: start; }
.earlier-body > .rest:only-child { grid-column: 1 / -1; }
.earlier .rest { border-top: none; padding-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.earlier .story:nth-child(4n) { border-right: 1px solid var(--rule); padding-right: 28px; }
.earlier .story:nth-child(3n) { border-right: none; padding-right: 0; }
.more-editions { margin: 0; text-align: center; border-top: 1px solid var(--rule); padding-top: 18px; }
.more-editions a { color: var(--accent); }

.article { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.article h1 { margin: 0; font-family: var(--display); font-size: 56px; line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; }
.article .dek { margin: 0; font-size: 23px; line-height: 1.4; color: var(--soft); }
.article .byline { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 12px 0; display: flex; flex-direction: column; gap: 4px; }
.article .unconfirmed { background: var(--warn); border-left: 3px solid var(--warn-rule); padding: 10px 14px; font-family: var(--label); font-size: 14px; color: var(--warn-ink); }
.body { font-size: 19px; line-height: 1.68; }
.body p { margin: 0 0 1.05em; }
.body h2 { font-family: var(--text); font-size: 27px; line-height: 1.2; margin: 1.4em 0 0.5em; }
.body blockquote { margin: 1em 0; padding-left: 18px; border-left: 3px solid var(--rule); font-style: italic; color: var(--soft); }
.body ul, .body ol { padding-left: 24px; }
sup.cite { font-family: var(--label); font-size: 11px; font-weight: 600; margin-left: 1px; }
sup.cite a { color: var(--accent); }
.sources { border-top: 2px solid var(--ink); padding-top: 14px; }
.sources ol { padding-left: 22px; font-size: 16px; line-height: 1.5; display: flex; flex-direction: column; gap: 8px; }
.sources li:target { background: var(--hover); }
.sources .publisher { color: var(--muted); }
.follows { font-size: 16px; color: var(--soft); }

.listing { display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.listing h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 64px; line-height: 1; }
.listing .intro { margin: 0; font-size: 21px; line-height: 1.45; color: var(--soft); }
.listing section { border-top: 2px solid var(--ink); padding-top: 12px; display: flex; flex-direction: column; gap: 14px; }
.entry { display: flex; flex-direction: column; gap: 6px; }
.entry h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.entry p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft); }

.team { display: flex; flex-direction: column; gap: 36px; }
.team section { display: flex; flex-direction: column; gap: 16px; }
.team h2 { margin: 0; border-top: 2px solid var(--ink); padding-top: 12px; }
.members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.member { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; background: var(--card); padding: 22px 24px; }
.member img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; background: var(--surface); border: 1.5px solid var(--rule); }
.member h3 { margin: 0; font-size: 22px; line-height: 1.1; }
.member p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft); }
.member.wide { flex-direction: row; align-items: center; gap: 32px; padding: 28px 32px; }
.member.wide img { width: 200px; height: 200px; flex-shrink: 0; }
.member.wide h3 { font-size: 34px; }
.member.wide p { font-size: 19px; }

.staff { position: relative; display: inline-block; }
.staff > a { border-bottom: 1px dotted var(--muted); }
.staff .card {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0;
  width: 360px; max-width: min(360px, 86vw); display: flex; gap: 14px; padding: 16px;
  background: var(--surface); border: 1px solid var(--rule); box-shadow: 0 12px 32px var(--shadow);
  text-align: left; text-transform: none; letter-spacing: 0; font-weight: 400; font-style: normal; white-space: normal;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.staff .card::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.staff.flip .card { left: auto; right: 0; }
.staff:hover .card, .staff:focus-within .card { opacity: 1; visibility: visible; transform: none; transition-delay: 0.12s; }
.card img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--rule); background: var(--surface); }
.card-body { display: flex; flex-direction: column; gap: 4px; }
.card-name { font-family: var(--text); font-size: 18px; font-weight: 700; color: var(--ink); }
.card-bio { font-family: var(--text); font-size: 15px; line-height: 1.45; color: var(--soft); }
.card-model { font-family: var(--label); font-size: 12px; color: var(--muted); }
.member:target { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: none) { .staff .card { display: none; } }

.vote { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--rule); padding-top: 16px; }
.vote[hidden] { display: none; }
.vote button { font-family: var(--label); font-size: 14px; font-weight: 600; color: var(--accent); background: var(--surface); border: 1.5px solid var(--accent); padding: 8px 16px; cursor: pointer; }
.vote button:hover { background: var(--hover); }
.vote button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.vote button:disabled { opacity: 0.6; cursor: wait; }

.live .status { margin: 0; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.live .status.on { color: var(--accent); }
.live .status.on::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--on-air); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .live .status.on::before { animation: none; } }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.feed .line { display: grid; grid-template-columns: 74px 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.feed time { font-family: var(--label); font-size: 12px; color: var(--muted); padding-top: 3px; }
.feed img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); background: var(--surface); }
.feed .text { margin: 0; font-size: 17px; line-height: 1.45; }
.feed a.text { color: var(--accent); }
.feed blockquote { margin: 6px 0 0; padding-left: 14px; border-left: 3px solid var(--rule); font-size: 16px; line-height: 1.5; color: var(--soft); white-space: pre-line; }
.feed .kind-edition .text, .feed .kind-press .text { font-family: var(--label); font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.feed .kind-trouble .text { color: var(--amber); }

.how { display: flex; flex-direction: column; gap: 44px; }
.how > section { display: flex; flex-direction: column; gap: 16px; border-top: 2px solid var(--ink); padding-top: 14px; }
.how h2 { margin: 0; }
.how h3 { margin: 0; font-size: 21px; line-height: 1.2; }
.how .lede { margin: 0; max-width: 820px; font-size: 19px; line-height: 1.5; color: var(--soft); }
.how a { color: var(--accent); }
.how .chart-title { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

.how .figures { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 3px double var(--ink); border-bottom: 1px solid var(--rule); padding: 0; }
.figures div { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; border-right: 1px solid var(--rule); }
.figures div:last-child { border-right: none; }
.figures strong { font-family: var(--display); font-size: 44px; line-height: 1; font-weight: 700; }
.figures .label { font-size: 12px; color: var(--muted); }

.dayline { position: relative; padding: 34px 0 6px; }
.day-track { position: relative; height: 18px; background: repeating-linear-gradient(90deg, var(--surface) 0, var(--surface) calc(100% / 24 - 1px), var(--rule) calc(100% / 24 - 1px), var(--rule) calc(100% / 24)); border: 1px solid var(--rule); }
.day-track .work { position: absolute; top: 0; bottom: 0; background: var(--worked); }
.day-track .due { position: absolute; top: -30px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--ink); }
.day-track .due b { position: absolute; top: 0; left: 6px; font-family: var(--label); font-size: 13px; font-weight: 700; white-space: nowrap; }
.day-track .due.late b { left: auto; right: 6px; }
.day-hours { position: relative; height: 22px; margin-top: 6px; }
.day-hours span { position: absolute; transform: translateX(-50%); font-size: 12px; }
.day-hours span:first-child { transform: none; }
.day-hours span:last-child { transform: translateX(-100%); }

.flow { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.step { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 300px); gap: 20px; padding-bottom: 26px; }
.step::before { content: ''; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: var(--rule); }
.step:last-child::before { display: none; }
.step-n { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 26px; font-weight: 700; position: relative; }
.step-body { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.step-body p { margin: 0; font-size: 17px; line-height: 1.55; }
.step-aside { align-self: start; margin-top: 4px; background: var(--card); border-left: 3px solid var(--accent); padding: 12px 14px; font-size: 15px; line-height: 1.45; color: var(--soft); }

.org { display: flex; flex-direction: column; gap: 14px; }
.org-row { display: flex; gap: 14px; flex-wrap: wrap; }
.org-row.chief { justify-content: center; }
.org-row.desks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.desk-col { display: flex; flex-direction: column; gap: 10px; }
.org-label { color: var(--muted); border-top: 1px solid var(--rule); padding-top: 12px; }
.how .seat { display: flex; gap: 12px; align-items: center; background: var(--card); padding: 12px 14px; min-width: 230px; color: var(--ink); }
.desk-col .seat { min-width: 0; }
.seat:hover { background: var(--surface); }
.seat img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); background: var(--surface); flex-shrink: 0; }
.seat > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.seat strong { font-size: 17px; }
.seat .model { font-size: 12px; }

.bars { display: flex; flex-direction: column; gap: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr) auto; gap: 12px; align-items: center; font-family: var(--label); font-size: 14px; }
.bar-track { height: 14px; background: var(--surface); border: 1px solid var(--rule); }
.bar { height: 100%; background: var(--accent); }
.bar-figure { color: var(--muted); font-size: 13px; white-space: nowrap; }

.stacked { display: flex; flex-direction: column; gap: 10px; }
.stacked-bar { display: flex; height: 22px; border: 1px solid var(--rule); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 18px; flex-wrap: wrap; font-family: var(--label); font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; display: inline-block; }
.legend.vertical { flex-direction: column; flex-wrap: nowrap; }
.legend.vertical .meta { margin-left: auto; padding-left: 14px; }

.donut-chart { display: grid; grid-template-columns: 240px minmax(0, 420px); gap: 36px; align-items: center; }
.donut { width: 240px; height: 240px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.donut-hole { width: 140px; height: 140px; border-radius: 50%; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.donut-hole strong { font-family: var(--display); font-size: 32px; }

.columns { display: flex; align-items: stretch; overflow-x: auto; }
.how .column { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 88px; padding: 0 7px; color: var(--ink); }
.column-plot { position: relative; height: 180px; padding-top: 22px; margin: 0 -7px; display: flex; align-items: flex-end; justify-content: center; align-self: stretch; border-bottom: 1px solid var(--ink); }
.column-bar { position: relative; width: 44px; background: var(--accent); min-height: 2px; }
.column:hover .column-bar { background: var(--ink); }
.column-figure { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 4px; font-size: 12px; white-space: nowrap; }
.column-label { font-size: 11px; text-align: center; line-height: 1.3; padding-bottom: 8px; }

.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; }
.chart-grid > div { display: flex; flex-direction: column; gap: 10px; }
.chart-grid .meta { margin: 0; line-height: 1.5; }

.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rules > div { background: var(--card); padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.rules ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.5; }
.stack { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stack div { display: flex; flex-direction: column; gap: 8px; }
.stack p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--soft); }

footer { margin-top: auto; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--ink); padding-top: 18px; }
footer p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--soft); max-width: 900px; }
footer .links { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.badge .mark-light { fill: var(--accent); }
.badge .mark-dark { fill: var(--ink); }
.badge .mark-cut { stroke: var(--paper); }
.badge { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ink); padding: 8px 12px; font-family: var(--label); font-weight: 600; font-size: 13px; }

@media (max-width: 1000px) {
  .page { padding: 28px 32px 40px; }
  .masthead h1 { font-size: 72px; }
  .lead, .side { grid-column: span 12; }
  .lead { padding-right: 0; border-right: none; padding-bottom: 24px; border-bottom: 1px solid var(--rule); }
  .side { padding-top: 24px; }
  .rest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story:nth-child(2n) { border-right: none; padding-right: 0; }
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .earlier-body { grid-template-columns: 1fr; }
  .how .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figures div:nth-child(3n) { border-right: none; }
  .figures div:nth-child(-n + 3) { border-bottom: 1px solid var(--rule); }
  .step { grid-template-columns: 52px minmax(0, 1fr); }
  .step-aside { grid-column: 2; }
  .org-row.desks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart-grid, .rules { grid-template-columns: 1fr; }
  .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .earlier .rest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .earlier .story:nth-child(3n) { border-right: 1px solid var(--rule); padding-right: 28px; }
  .earlier .story:nth-child(2n) { border-right: none; padding-right: 0; }
}
@media (max-width: 640px) {
  .page { padding: 20px 16px 32px; gap: 22px; }
  .masthead h1 { font-size: 44px; }
  .masthead p { font-size: 16px; }
  .lead h2 { font-size: 34px; }
  .lead .dek { font-size: 19px; }
  .lead .opening { columns: 1; }
  .rest { grid-template-columns: 1fr; }
  .story { border-right: none; padding-right: 0; }
  .article h1 { font-size: 36px; }
  .article .dek { font-size: 19px; }
  .body { font-size: 18px; }
  .listing h1 { font-size: 44px; }
  .members { grid-template-columns: 1fr; }
  .feed .line { grid-template-columns: 40px minmax(0, 1fr); }
  .earlier .rest { grid-template-columns: 1fr; }
  .how .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures div { border-right: none; border-bottom: 1px solid var(--rule); }
  .figures strong { font-size: 34px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .step-n { width: 40px; height: 40px; font-size: 20px; }
  .step::before { left: 19px; top: 40px; }
  .org-row.desks, .stack { grid-template-columns: 1fr; }
  .how .seat { min-width: 0; width: 100%; }
  .donut-chart { grid-template-columns: 1fr; justify-items: center; }
  .bar-row { grid-template-columns: minmax(0, 110px) minmax(0, 1fr) auto; }
  .day-track .due b { font-size: 11px; left: 4px; }
  .earlier .story:nth-child(n) { border-right: none; padding-right: 0; }
  .feed time { grid-column: 1 / -1; padding: 0; }
  .member.wide { flex-direction: column; align-items: flex-start; padding: 22px 24px; }
  .member.wide img { width: 140px; height: 140px; }
  .member.wide h3 { font-size: 26px; }
  .sitehead .brand { font-size: 24px; }
  .sitehead .theme-toggle { order: 2; margin-left: auto; }
  .sitehead nav { order: 3; width: 100%; margin-left: 0; }
}
