/* AI News: a daily paper. Serif headlines, sans for the furniture, warm paper with a petrol
   accent; one column on a phone, an editorial grid from 760px. Light and dark follow the
   device; system fonts only, so nothing is fetched. */
:root {
  --paper: #f6f1e7;
  --paper-2: #efe8da;
  --card: #fbf8f1;
  --ink: #1d1b17;
  --ink-2: #4a453d;
  --ink-3: #7a7266;
  --rule: rgba(29, 27, 23, 0.16);
  --rule-strong: #1d1b17;
  --accent: #1f5a66;
  --accent-soft: rgba(31, 90, 102, 0.07);
  --brass: #9a7430;
  --sage: #5c7a56;
  --alert: #9a3412;
  --alert-soft: rgba(154, 52, 18, 0.08);
  --del: #a1271d;
  --del-bg: rgba(161, 39, 29, 0.07);
  --add: #1d6b35;
  --add-bg: rgba(29, 107, 53, 0.08);
  --serif: "Iowan Old Style", "Charter", "Bitstream Charter", "Sitka Text", Cambria, Georgia,
    "Noto Serif", "Liberation Serif", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Roboto,
    "Liberation Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: 18px;
  --wide: 72rem;
  --measure: 40rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #171613;
    --paper-2: #201e1a;
    --card: #1d1b18;
    --ink: #ece6da;
    --ink-2: #c4bcae;
    --ink-3: #958c7e;
    --rule: rgba(236, 230, 218, 0.15);
    --rule-strong: #ece6da;
    --accent: #86bfc9;
    --accent-soft: rgba(134, 191, 201, 0.09);
    --brass: #d2ab62;
    --sage: #9dbb94;
    --alert: #f0a173;
    --alert-soft: rgba(240, 161, 115, 0.1);
    --del: #ff9b8f;
    --del-bg: rgba(255, 155, 143, 0.08);
    --add: #8fd3a2;
    --add-bg: rgba(143, 211, 162, 0.08);
  }
}

/* ---- base ---------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 var(--serif);
  font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  padding: 0 env(safe-area-inset-right, 0) 0 env(safe-area-inset-left, 0);
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--accent-soft); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

main { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter) 2.5rem; }

/* sans-serif furniture: kickers, meta, counts */
.kicker, .meta, .n, .lede, .sources, .byline, .masthead__row, .sections, .edition, .pager,
.foot, .onward, .heads__src, .also-card__label, .contents, .links, .archive__tabs,
.archive__date, .desk__head, .rule-head, .briefly__head, .rest__head, .more, .status, .quiet,
.colophon { font-family: var(--sans); }
.kicker {
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.n { font-size: .78rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; margin-left: .35rem; }
.quiet { color: var(--ink-3); }

/* ---- masthead ------------------------------------------------------------------------ */
.masthead {
  max-width: var(--wide); margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gutter) 0;
  text-align: center;
}
.masthead__row {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  min-height: 34px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.masthead__no { min-width: 4.5rem; text-align: left; }
.masthead__archive { min-width: 4.5rem; text-align: right; color: var(--ink-3); padding: 8px 0; }
.masthead__archive[aria-current] { color: var(--accent); }
.masthead__alert {
  color: var(--alert); background: var(--alert-soft); border-radius: 999px;
  padding: 3px 10px; letter-spacing: .08em;
}
.masthead__name {
  display: block; margin-top: 2px;
  font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 13vw, 4.4rem);
  line-height: 1; letter-spacing: -.01em; color: var(--ink);
}
.masthead__name:hover { text-decoration: none; }
.masthead__date {
  margin-top: .35rem; font-style: italic; font-size: 1.05rem; color: var(--ink-2);
}
.sections {
  display: flex; justify-content: safe center; flex-wrap: nowrap; overflow-x: auto;
  scrollbar-width: none; margin-top: .7rem; padding: .15rem 0;
  border-top: 1px solid var(--rule-strong); border-bottom: 3px double var(--rule-strong);
}
.sections a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 clamp(3px, 1.5vw, 14px); white-space: nowrap;
  font-size: clamp(.74rem, 3.7vw, .98rem); font-weight: 500; color: var(--ink-2);
}
.sections a:hover { color: var(--accent); text-decoration: none; }
.sections a[aria-current] { color: var(--ink); font-weight: 700; }
.sections a[aria-current]::after {
  content: ""; position: absolute; left: 50%; bottom: 7px; width: 5px; height: 5px;
  margin-left: -2.5px; border-radius: 50%; background: var(--accent);
}

/* ---- edition bar: a week of days, the day before and after --------------------------- */
.edition { max-width: var(--wide); margin: 0 auto; padding: .55rem var(--gutter) 0; }
.strip { display: flex; justify-content: space-between; gap: 2px; max-width: 28rem; margin: 0 auto; }
.strip__day {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center;
  min-height: 52px; padding: 6px 0 5px; border-radius: 10px; color: var(--ink);
  position: relative;
}
.strip__day:hover { background: var(--paper-2); text-decoration: none; }
.strip__wd { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.strip__num { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.strip__day--ed::after {
  content: ""; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}
.strip__day[aria-current] { background: var(--ink); color: var(--paper); }
.strip__day[aria-current] .strip__wd { color: var(--paper); opacity: .75; }
.strip__day[aria-current].strip__day--ed::after { background: var(--paper); }
.strip__day--gap { color: var(--ink-3); opacity: .55; }
.strip__day--here { outline: 1px dashed var(--ink-3); outline-offset: -1px; opacity: .9; }
.ednav {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  margin-top: .45rem; padding: .1rem 0; border-bottom: 1px solid var(--rule);
  font-size: .82rem;
}
.ednav__step { min-width: 4.2rem; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; gap: .3rem; }
.ednav__step--next { justify-content: flex-end; }
.ednav__mid { display: inline-flex; gap: .4rem; }
.ednav__latest, .ednav__all {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 .75rem;
  border: 1px solid var(--rule); border-radius: 999px; color: var(--ink-2); white-space: nowrap;
}
.ednav__latest { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.ednav__latest:hover, .ednav__all:hover { text-decoration: none; border-color: var(--accent); }

/* ---- page heads, notices ------------------------------------------------------------- */
.page-head { padding: 1.5rem 0 .6rem; max-width: var(--measure); }
.page-head h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); margin-top: .2rem; }
.lede { margin-top: .35rem; color: var(--ink-2); font-size: .92rem; }
.notice {
  margin: 1.2rem 0; padding: 1rem 1.1rem; max-width: var(--measure);
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px; color: var(--ink-2);
}
.notice--lead { margin-top: 1.6rem; padding: 1.3rem 1.2rem 1.4rem; }
.notice--lead h1 { font-size: clamp(1.55rem, 6vw, 2.1rem); margin: .35rem 0 .5rem; color: var(--ink); }
.notice--failed { border-color: var(--alert); background: var(--alert-soft); }
.notice--failed .kicker { color: var(--alert); }
.foot { margin-top: 1.5rem; font-size: .9rem; }

/* section heads: a label over a rule */
.rule-head, .desk__head {
  display: flex; align-items: baseline; gap: .6rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); margin: 2rem 0 .2rem; padding-bottom: .45rem;
  border-bottom: 2px solid var(--rule-strong);
}

/* ---- stories ------------------------------------------------------------------------- */
.item { padding: .95rem 0 1rem; border-bottom: 1px solid var(--rule); }
.item .kicker { display: flex; flex-wrap: wrap; gap: .1rem .55rem; }
.kicker__co { color: var(--ink-3); }
.item .title {
  display: block; margin-top: .3rem;
  font-size: 1.24rem; font-weight: 600; line-height: 1.22; color: var(--ink);
  text-wrap: pretty;
}
.item .title:hover { color: var(--accent); text-decoration: none; }
.item--lead .title { font-size: clamp(1.6rem, 6.4vw, 2.1rem); line-height: 1.12; }
.item--lead .excerpt { font-size: 1.08rem; }
.excerpt { margin-top: .4rem; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.plain { margin-top: .45rem; color: var(--ink); line-height: 1.55; }
.post {
  margin-top: .45rem; white-space: pre-wrap; color: var(--ink);
  padding-left: .8rem; border-left: 2px solid var(--rule);
}
.meta {
  display: flex; flex-wrap: wrap; gap: .15rem .8rem; margin-top: .45rem;
  font-size: .8rem; color: var(--ink-3);
}
.meta .count { color: var(--ink); font-weight: 600; }
.meta a { color: var(--ink-3); padding: .2rem 0; }
.also { color: var(--ink-3); }
.yc { margin-top: .4rem; font-family: var(--sans); font-size: .85rem; color: var(--ink-2); }
.links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.links a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 .75rem;
  border: 1px solid var(--rule); border-radius: 999px; font-size: .8rem; color: var(--ink-2);
}
.links a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.more { margin: .8rem 0 0; font-size: .9rem; }

/* a page change: the first lines, removed red and added green */
.diff {
  margin: .55rem 0 0; padding: .6rem .75rem; max-width: 100%;
  font: .8rem/1.45 var(--mono); white-space: pre-wrap; word-break: break-word; overflow: hidden;
  background: var(--card); border: 1px solid var(--rule); border-radius: 8px; color: var(--ink-2);
}
.diff .del, .diff .add { display: inline-block; width: 100%; padding: 0 .3rem; margin: 0 -.3rem; border-radius: 3px; }
.diff .del { color: var(--del); background: var(--del-bg); }
.diff .add { color: var(--add); background: var(--add-bg); }

.pager {
  display: flex; justify-content: space-between; margin-top: 1.6rem;
  border-top: 1px solid var(--rule); font-size: .9rem;
}
.pager a { display: inline-flex; align-items: center; gap: .3rem; min-height: 48px; }

/* ---- Home ---------------------------------------------------------------------------- */
.front { padding-top: 1.4rem; }
.lead .kicker { margin-bottom: .45rem; }
.lead__headline { font-size: clamp(1.85rem, 7.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.012em; }
.lead__summary { margin-top: .8rem; font-size: 1.12rem; line-height: 1.55; color: var(--ink); }
.why { margin-top: .6rem; color: var(--ink-2); }
.why strong { font-family: var(--sans); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.sources { margin-top: .55rem; font-size: .82rem; line-height: 1.55; color: var(--ink-3); }
.sources a { color: var(--accent); }
.sources .src { color: var(--ink-3); }
.contents {
  margin-top: 1.4rem; padding: .9rem 1rem 1rem;
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
}
.contents__head { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contents li {
  display: flex; justify-content: space-between; align-items: center; min-height: 40px;
  border-bottom: 1px solid var(--rule); font-size: .92rem;
}
.contents li:last-child { border-bottom: 0; }
.contents li a { font-weight: 600; }
.contents li span { color: var(--ink-3); font-size: .82rem; }
.byline { margin-top: .6rem; font-size: .76rem; line-height: 1.45; color: var(--ink-3); }

.story { padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--rule); }
.story__headline { font-size: 1.35rem; line-height: 1.18; margin-bottom: .45rem; }
.story > p:not(.why):not(.sources) { line-height: 1.55; }

.briefly__grid { display: grid; gap: 0 2rem; }
.briefly__col { padding-top: .9rem; }
.briefly__head { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lines li { padding: .6rem 0; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.lines .sources { display: block; margin-top: .25rem; }
.onward {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 44px;
  font-size: .85rem; font-weight: 600;
}

.rest__grid { display: grid; gap: 0 2rem; }
.rest__col { padding-top: .9rem; }
.rest__head { font-size: 1.25rem; font-family: var(--serif); }
.rest__head a { color: var(--ink); }
.heads li { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
.heads li a { display: block; color: var(--ink); font-size: 1.04rem; line-height: 1.3; font-weight: 600; }
.heads li a:hover { color: var(--accent); text-decoration: none; }
.heads__src { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .15rem; }
.also-grid { display: grid; gap: .6rem; margin-top: 1.2rem; }
.also-card {
  display: block; padding: .8rem 1rem; min-height: 44px; color: var(--ink);
  background: var(--card); border: 1px solid var(--rule); border-radius: 12px;
}
.also-card:hover { border-color: var(--accent); text-decoration: none; }
.also-card__label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.also-card__first {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: .25rem; font-size: .98rem; line-height: 1.35;
}

/* ---- Archive ------------------------------------------------------------------------- */
.archive__day { display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.archive__date { flex: 0 0 2.6rem; display: flex; flex-direction: column; align-items: center; }
.archive__wd { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.archive__num { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
.archive__body { min-width: 0; flex: 1; }
.archive__lead { display: block; font-size: 1.08rem; font-weight: 600; line-height: 1.28; color: var(--ink); }
a.archive__lead:hover { color: var(--accent); text-decoration: none; }
.archive__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .85rem; margin-top: .25rem; font-size: .84rem; }
.archive__tabs a { min-height: 36px; display: inline-flex; align-items: center; }
.archive__tabs .n { margin-left: 0; }

/* ---- status: what health says is wrong (decision 013) --------------------------------- */
.status {
  margin-top: 2rem; padding: .9rem 1.1rem; border: 1px solid var(--alert);
  background: var(--alert-soft); border-radius: 12px; color: var(--ink-2); font-size: .9rem;
}
.status h2 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--alert); }
.status ul { margin: .4rem 0 0; padding-left: 1.1rem; list-style: disc; }

.colophon {
  max-width: var(--wide); margin: 0 auto; padding: 1.4rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 3px double var(--rule-strong); text-align: center; font-size: .78rem; color: var(--ink-3);
}
.colophon__name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.colophon p { max-width: 30rem; margin: .3rem auto 0; line-height: 1.5; }

/* ---- restrained flair: marks, numerals, Why it matters, the Briefly band ------------------
   Icons are masks over small inline SVGs, so they take the theme's colours and fetch nothing. */
.kicker--brief::before, .kicker--news::before, .kicker--research::before, .kicker--posts::before,
.kicker--yc::before, .kicker--changes::before, .kicker--archive::before,
.rule-head--top::before, .rule-head--briefly::before, .rule-head--edition::before,
.briefly__head::before {
  content: ""; flex: none; display: inline-block; width: 1.15em; height: 1.15em;
  margin-right: .4em; vertical-align: -.22em; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.kicker--brief { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18h18M6.5 18a5.5 5.5 0 0 1 11 0M12 6v3M5.3 9.3l1.8 1.8M18.7 9.3l-1.8 1.8'/%3E%3C/svg%3E"); }
.kicker--news { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h12v14H6.2A2.2 2.2 0 0 1 4 16.8zM16 9h4v8a2 2 0 0 1-4 0M7 9h6M7 12.5h6M7 16h4'/%3E%3C/svg%3E"); }
.kicker--research { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3.5h6M10 3.5v6l-5 8.6A1.6 1.6 0 0 0 6.4 20.5h11.2a1.6 1.6 0 0 0 1.4-2.4L14 9.5v-6M7.5 15h9'/%3E%3C/svg%3E"); }
.kicker--posts { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 5.5h15v10h-9l-4.5 4v-4h-1.5z'/%3E%3C/svg%3E"); }
.kicker--yc { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8.5 15.5h-17z'/%3E%3Cpath d='M12 10.5v4.5'/%3E%3C/svg%3E"); }
.kicker--changes { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v8M8 8h8M8 19h8'/%3E%3C/svg%3E"); }
.kicker--archive { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5.5' width='17' height='15' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3.5v4M16 3.5v4'/%3E%3C/svg%3E"); }
.rule-head--top { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='1.5'/%3E%3Cpath d='M8 9h8M8 13h8M8 17h5'/%3E%3C/svg%3E"); }
.rule-head--briefly { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 7h14M5 12h10M5 17h12'/%3E%3C/svg%3E"); }
.rule-head--edition { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='7' height='7' rx='1'/%3E%3Crect x='13' y='4' width='7' height='7' rx='1'/%3E%3Crect x='4' y='13' width='7' height='7' rx='1'/%3E%3Crect x='13' y='13' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.briefly__col--glance { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.briefly__col--research { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3.5h6M10 3.5v6l-5 8.6A1.6 1.6 0 0 0 6.4 20.5h11.2a1.6 1.6 0 0 0 1.4-2.4L14 9.5v-6M7.5 15h9'/%3E%3C/svg%3E"); }
.briefly__col--changes { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v8M8 8h8M8 19h8'/%3E%3C/svg%3E"); }
.briefly__col--x { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 5.5h15v10h-9l-4.5 4v-4h-1.5z'/%3E%3C/svg%3E"); }
.briefly__col--yc { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4l8.5 15.5h-17z'/%3E%3Cpath d='M12 10.5v4.5'/%3E%3C/svg%3E"); }

/* the masthead: a fine rule with a brass diamond under the date */
.masthead__date::after {
  content: ""; display: block; width: 96px; height: 10px; margin: .45rem auto 0;
  background: var(--brass); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 10' fill='black'%3E%3Cpath d='M0 5h34M62 5h34' stroke='black' stroke-width='1'/%3E%3Cpath d='M48 0l5 5-5 5-5-5z' fill='black'/%3E%3Ccircle cx='38' cy='5' r='1.2' fill='black'/%3E%3Ccircle cx='58' cy='5' r='1.2' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 10' fill='black'%3E%3Cpath d='M0 5h34M62 5h34' stroke='black' stroke-width='1'/%3E%3Cpath d='M48 0l5 5-5 5-5-5z' fill='black'/%3E%3Ccircle cx='38' cy='5' r='1.2' fill='black'/%3E%3Ccircle cx='58' cy='5' r='1.2' fill='black'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .8;
}

/* section heads: a chapter break, a mark in the accent, the label, a heavy rule below */
.rule-head { margin-top: 2.6rem; padding-top: .9rem; border-top: 1px solid var(--rule); }
.rule-head::before { color: var(--accent); }
.rule-head--month::before, .desk__head::before {
  content: ""; flex: none; width: .55em; height: .55em; align-self: center; background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='black'%3E%3Cpath d='M5 0l5 5-5 5-5-5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='black'%3E%3Cpath d='M5 0l5 5-5 5-5-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.desk__head { gap: .55rem; }

/* numerals: the displayed order of the brief's top stories, not a score */
.ordinal {
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1;
  color: var(--brass); font-feature-settings: "lnum", "tnum"; letter-spacing: .02em;
}
.lead__eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.lead__eyebrow .ordinal { padding-right: .6rem; border-right: 1px solid var(--rule); }
.lead__eyebrow .kicker { display: inline-flex; align-items: center; }
.story .ordinal { display: block; font-size: 1.5rem; margin-bottom: .35rem; }

/* Why it matters: analysis set apart from the reporting, quietly */
.why {
  margin-top: .75rem; padding: .6rem .85rem .65rem; border-left: 3px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 6px 6px 0; line-height: 1.5;
}
.why strong { display: block; margin-bottom: .15rem; font-size: .68rem; letter-spacing: .14em; color: var(--accent); }

/* the illustration in "In this edition" */
.illo { margin: 0 0 .8rem; padding-bottom: .7rem; border-bottom: 1px solid var(--rule); }
.illo svg { display: block; width: 100%; max-width: 20rem; height: auto; margin: 0 auto; }
.illo__type path { stroke: var(--ink-3); stroke-width: 2.4; stroke-linecap: round; opacity: .45; }
.illo__net path { stroke: var(--accent); stroke-width: 1.3; fill: none; opacity: .85; }
.illo__dots circle { fill: var(--accent); }
.illo__ring { fill: none; stroke: var(--accent); stroke-width: 1; opacity: .35; }
.illo__ring--in { stroke-dasharray: 2 4; opacity: .6; }
.illo__sun { fill: var(--brass); }
.illo figcaption {
  margin-top: .35rem; text-align: center; font-family: var(--serif); font-style: italic;
  font-size: .82rem; color: var(--ink-3);
}

/* Briefly: an inset band, each column with its mark and muted accent */
.briefly {
  margin: 2.6rem calc(-1 * var(--gutter)) 0; padding: .1rem var(--gutter) 1.3rem;
  background: var(--paper-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.briefly .rule-head { margin-top: 1.2rem; border-top: 0; padding-top: 0; }
.briefly__col { --mark: var(--accent); }
.briefly__col--research, .briefly__col--yc { --mark: var(--brass); }
.briefly__col--changes { --mark: var(--sage); }
.briefly__head { display: flex; align-items: center; color: var(--mark); padding-bottom: .35rem; border-bottom: 2px solid var(--mark); }
.briefly__col .onward { color: var(--mark); }

/* a phone narrower than 360px: the edition bar's four controls on one line */
@media (max-width: 359px) {
  .ednav { font-size: .74rem; gap: .25rem; }
  .ednav__step { min-width: 0; }
  .ednav__latest, .ednav__all { padding: 0 .5rem; }
}

/* ---- wider screens: an editorial grid ------------------------------------------------- */
@media (min-width: 760px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; }
  .masthead__date { font-size: 1.15rem; }
  .front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr); gap: 2.5rem; padding-top: 2rem; }
  .contents { margin-top: 0; align-self: start; }
  .stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.2rem; }
  .briefly__grid, .rest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .also-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .items { columns: 2; column-gap: 2.4rem; column-rule: 1px solid var(--rule); }
  .items .item { break-inside: avoid; }
  .items--changes { columns: 1; max-width: 52rem; }
  .item--lead { column-span: all; }
  .archive { max-width: 52rem; }
}
@media (min-width: 1100px) {
  .briefly__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lead__headline { font-size: 3.2rem; }
}
