/* Press — plain CSS, no build: this file is what the page loads. A
   newsroom's paper: warm newsprint and near-black ink, Newsreader for
   everything that is read (headlines at its display sizes, the story at
   its text size) and IBM Plex Sans for everything that labels — sections,
   times, bylines, menus — with tabular figures so a column of times lines
   up. Hairlines between stories, a heavy rule over a section, a double
   rule under the masthead; colour is one red, spent on the section names
   and nowhere it would shout. The accent reads --pixel-accent, the
   publication's own when it picked one. */
:root {
  --paper: #faf8f3;
  --paper-deep: #f1ede3;
  --ink: #17171a;
  --ink-soft: #3b3a38;
  --muted: #5c5a55;
  --rule: #d9d4c8;
  --accent: var(--pixel-accent, #b3261e);
  /* Text in the accent leans toward the ink, so a light accent the
     publisher picks still reads on the paper. */
  --accent-ink: color-mix(in oklab, var(--accent) 82%, var(--ink));
  --serif: "Newsreader", "Noto Serif KR", "AppleMyungjo", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --frame: 78rem;
  --main: 42rem;
  --wide: 64rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4.5rem;
  --radius: 4px;
  color-scheme: light;
}

/* Hangul has no italic and reads better a touch looser. */
:lang(ko) { --serif: "Noto Serif KR", "AppleMyungjo", "Newsreader", serif; word-break: keep-all; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ol, ul { margin: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; }
p, li, figcaption, blockquote { text-wrap: pretty; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The frame every block sits in: the paper's width, the gutters inside. */
.frame { width: min(100% - 2 * var(--gutter), var(--frame)); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: var(--s2);
  left: var(--s2);
  z-index: 10;
  padding: var(--s2) var(--s4);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.875rem;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* The words that label rather than tell: sections, times, menus. */
.label, .kicker, .stamp, .meta, .byline, .pill, .topbar, .sections-nav, .block-more, .pagination, .archive-facts {
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
}
.label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}
.label--rule { padding-top: var(--s2); border-top: 3px solid var(--ink); color: var(--ink); }
.kicker {
  display: inline-block;
  color: var(--accent-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}
.kicker:hover { text-decoration: underline; }
.stamp { color: var(--muted); font-size: 0.8125rem; white-space: nowrap; }
.meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); color: var(--muted); font-size: 0.8125rem; }
.byline { color: var(--ink-soft); }
.byline-name { font-weight: 500; }

/* The masthead: the dated top bar, the nameplate, the section menu, and a
   double rule under all three — the line a reader knows a paper by. */
.masthead { border-bottom: 3px double var(--ink); }
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2) var(--s5);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule);
  font-size: 0.8125rem;
}
.topbar-date { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); color: var(--ink-soft); }
.topbar-date time { font-weight: 500; }
.topbar-edition { color: var(--muted); }
.topbar-edition::before { content: "·"; margin-right: var(--s3); }
.topbar-end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); }
.topbar-languages { display: flex; gap: var(--s3); }
.topbar-languages a { color: var(--muted); font-weight: 500; letter-spacing: 0.04em; text-decoration: none; }
.topbar-languages a:hover, .topbar-languages a[aria-current] { color: var(--ink); }
.topbar-languages a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.masthead-doors { display: flex; align-items: center; gap: var(--s4); }
.masthead-doors a { color: var(--ink); font-weight: 500; text-decoration: none; }
.masthead-doors a:hover { text-decoration: underline; }
.masthead-doors .masthead-door-primary {
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
}
.masthead-doors .masthead-door-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); text-decoration: none; }

.nameplate { padding-block: var(--s5) var(--s4); text-align: center; }
.nameplate-title {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 1;
  overflow-wrap: break-word;
}
.nameplate-title a { text-decoration: none; }
/* The logo (THEMES.md, The logo): a wordmark in place of the name, a
   mark before it; --logo-height sizes the picture where the name sits. */
.brand { display: inline-flex; align-items: center; gap: 0.625rem; max-width: 100%; }
.site-logo { display: block; flex: none; width: auto; height: var(--logo-height, 2rem); }
.site-logo--mark { max-width: calc(var(--logo-height, 2rem) * 2); object-fit: contain; border-radius: 0; }
.site-logo--wide { max-width: min(14rem, 60vw); object-fit: contain; object-position: left center; }
.nameplate-title { --logo-height: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.nameplate-title .brand { justify-content: center; }
.nameplate-title .site-logo--wide { max-width: min(36rem, 100%); object-position: center; }
.site-footer-title { --logo-height: 2.25rem; }
.template-index .nameplate { padding-block: var(--s6) var(--s5); }
.template-index .nameplate-title { font-size: clamp(2.75rem, 1.6rem + 5.5vw, 5.5rem); letter-spacing: -0.025em; }
.template-index .nameplate-title { --logo-height: clamp(3rem, 2rem + 4vw, 5.5rem); }
.nameplate-tagline {
  max-width: 40rem;
  margin: var(--s3) auto 0;
  color: var(--muted);
  font-size: 1.0625rem;
  font-style: italic;
}

/* The section menu: the publisher's navigation, one line; on a phone it
   scrolls sideways inside itself, never the page. The auto margins centre
   it while it fits and let it start at the left once it does not. */
.sections-nav { border-top: 1px solid var(--ink); }
.sections-nav ul {
  display: flex;
  gap: var(--s5);
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.sections-nav ul::-webkit-scrollbar { display: none; }
.sections-nav li { flex: none; }
.sections-nav li:first-child { margin-left: auto; }
.sections-nav li:last-child { margin-right: auto; }
.sections-nav a {
  display: block;
  padding: var(--s3) 0;
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.sections-nav a:hover { border-bottom-color: var(--rule); }
.sections-nav a[aria-current] { border-bottom-color: var(--accent); }
/* The menu scrolls, so an outline outside a link would be cut off. */
.sections-nav a:focus-visible { outline-offset: -2px; }

.main { padding-block: var(--s6) var(--s8); }

/* A block's head: a heavy rule, the name, and the way to more at the right. */
.block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s5);
  padding-top: var(--s3);
  border-top: 3px solid var(--ink);
}
.block-title { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.block-title a { text-decoration: none; }
.block-title a:hover { text-decoration: underline; }
.block-more { flex: none; color: var(--ink-soft); font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.block-more:hover { color: var(--ink); text-decoration: underline; }

/* The front page's top: the lead, four beside it, the Latest list — three
   columns divided by hairlines on a wide screen, two on a tablet with the
   list under them, one on a phone. */
.front-top { display: grid; gap: var(--s6); }
.front-secondary, .front-latest { display: grid; align-content: start; }
.front-secondary > .card + .card { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); }
@media (min-width: 48rem) {
  .front-top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); column-gap: var(--s6); }
  .front-top--solo { grid-template-columns: minmax(0, 1fr); }
  .front-secondary { padding-left: var(--s6); border-left: 1px solid var(--rule); }
  .front-latest { grid-column: 1 / -1; }
  .front-latest .latest-list { columns: 2; column-gap: var(--s6); }
}
@media (min-width: 72rem) {
  .front-top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 0.9fr); }
  .front-top--pair { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); }
  .front-top--solo { grid-template-columns: minmax(0, 1fr); }
  .front-latest { grid-column: auto; padding-left: var(--s6); border-left: 1px solid var(--rule); }
  .front-latest .latest-list { columns: 1; }
}

.lead { display: grid; gap: var(--s4); align-content: start; }
.lead-picture { display: block; overflow: hidden; background: var(--paper-deep); }
.lead-picture img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s ease; }
.lead-picture:hover img { transform: scale(1.015); }
.lead-body { display: grid; gap: var(--s3); }
.lead-title {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.625rem);
  font-weight: 650;
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.lead--text .lead-title { font-size: clamp(2.125rem, 1.4rem + 3.2vw, 3.75rem); }
.lead-title a, .card-title a, .row-title a, .section-item-title a, .latest-item a { text-decoration: none; }
.lead-title a:hover, .card-title a:hover, .row-title a:hover, .section-item-title a:hover, .latest-item a:hover {
  text-decoration: underline;
  text-decoration-color: var(--rule);
}
.lead-standfirst { color: var(--ink-soft); font-size: 1.1875rem; line-height: 1.45; }
.lead--text .lead-standfirst { max-width: 40rem; font-size: 1.3125rem; }

.card { display: grid; gap: var(--s3); align-content: start; }
.card-picture { display: block; overflow: hidden; background: var(--paper-deep); }
.card-picture img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { display: grid; gap: var(--s2); }
.card-title { font-size: 1.25rem; line-height: 1.2; }
.card--pictured .card-title { font-size: 1.375rem; }
.card-standfirst { color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }

.front-latest .label--rule { margin-bottom: var(--s2); }
.latest-list { padding: 0; list-style: none; }
.latest-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: var(--s3);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule);
  break-inside: avoid;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}
.latest-item .stamp { padding-top: 0.15em; color: var(--accent-ink); font-weight: 500; }

/* Sections: two blocks a row on a wide screen; in each, the newest story
   with its picture beside the words once the block is wide enough, then
   headlines over hairlines. */
.sections { display: grid; gap: var(--s7) var(--s6); margin-top: var(--s8); }
@media (min-width: 56rem) { .sections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section-block { container-type: inline-size; }
.section-body { display: grid; }
.section-body > .card { padding-bottom: var(--s4); }
@container (min-width: 30rem) {
  .section-body > .card--pictured { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: var(--s5); }
}
.section-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s3);
  border-top: 1px solid var(--rule);
}
.section-item-title { min-width: 0; font-size: 1.0625rem; font-weight: 500; line-height: 1.3; }

/* A list of stories as rows: the archive, a section front, a reporter,
   search, More stories. */
.more-stories { margin-top: var(--s8); }
.river { display: grid; }
.river--columns { column-gap: var(--s7); }
@media (min-width: 64rem) { .river--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.row {
  display: grid;
  gap: var(--s4);
  align-items: start;
  padding-block: var(--s5);
  border-bottom: 1px solid var(--rule);
}
.row--pictured { grid-template-columns: minmax(0, 1fr) clamp(5.5rem, 22vw, 9rem); }
.row-body { display: grid; gap: var(--s2); }
.row-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); }
.row-title { font-size: 1.3125rem; line-height: 1.2; }
.row-standfirst {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.45;
}
.row-picture { display: block; overflow: hidden; background: var(--paper-deep); }
.row-picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.river--columns .row-title { font-size: 1.1875rem; }
.empty { padding-block: var(--s7); color: var(--muted); font-size: 1.1875rem; font-style: italic; }

/* An archive's head: a section front, the archive, search, the 404. */
.archive-head { display: grid; gap: var(--s3); padding-bottom: var(--s5); margin-bottom: var(--s4); border-bottom: 1px solid var(--ink); }
.archive-title {
  font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
  font-weight: 700;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.archive-description { max-width: 44rem; color: var(--ink-soft); font-size: 1.1875rem; line-height: 1.5; }
.archive-description > * + * { margin-top: var(--s3); }
.archive-description a { text-decoration: underline; }
.archive-facts { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); color: var(--muted); font-size: 0.875rem; }
.archive-facts > span + span::before { content: "·"; margin-right: var(--s3); }
.archive-head + .front-top { margin-top: var(--s5); }
.front-top + .frame > .river { margin-top: var(--s6); border-top: 1px solid var(--ink); }

/* A reporter's page: the cover, then the face beside the name and bio. */
.reporter { display: grid; gap: var(--s5); padding-bottom: var(--s5); margin-bottom: var(--s4); border-bottom: 1px solid var(--ink); }
.reporter-cover { overflow: hidden; background: var(--paper-deep); }
.reporter-cover img { width: 100%; aspect-ratio: 4 / 1; min-height: 9rem; object-fit: cover; }
.reporter-person { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s5); align-items: start; }
.reporter-words { display: grid; gap: var(--s3); }
.reporter--covered .avatar--xl { margin-top: calc(-1 * var(--s7)); box-shadow: 0 0 0 4px var(--paper); }

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  overflow: hidden;
  border-radius: 50%;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--large { width: 4rem; height: 4rem; font-size: 1.5rem; }
.avatar--xl { width: clamp(4.5rem, 3.5rem + 4vw, 7rem); height: clamp(4.5rem, 3.5rem + 4vw, 7rem); font-size: 2.25rem; }

/* A story sits on a canvas of named columns, so the words keep their
   column while a wide picture steps past it and a full one meets the
   edges: main, wide, full. */
.canvas {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, calc((var(--wide) - var(--main)) / 2))
    [main-start] min(var(--main), 100% - 2 * var(--gutter))
    [main-end] minmax(0, calc((var(--wide) - var(--main)) / 2))
    [wide-end] minmax(var(--gutter), 1fr) [full-end];
}
.canvas > * { grid-column: main; }

.story-head { row-gap: var(--s4); padding-bottom: var(--s5); }
.story-head > .kicker { justify-self: start; font-size: 0.8125rem; }
.story-title {
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.375rem);
  font-weight: 650;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.story-standfirst { color: var(--ink-soft); font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); line-height: 1.45; }
.story-byline {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: var(--s2);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.875rem;
}
.byline-faces { display: flex; flex: none; }
.byline-faces .avatar { width: 2.5rem; height: 2.5rem; box-shadow: 0 0 0 2px var(--paper); }
.byline-faces .avatar + .avatar { margin-left: -0.6rem; }
.byline-lines { display: grid; gap: 0.125rem; min-width: 0; }
.byline-names { font-weight: 500; }
.byline-names a { text-decoration: none; }
.byline-names a:hover { text-decoration: underline; }
.byline-facts { display: flex; flex-wrap: wrap; gap: 0 var(--s3); color: var(--muted); font-variant-numeric: tabular-nums; }
.byline-fact::before { content: "·"; margin-right: var(--s3); }
.byline-fact a { color: var(--ink-soft); }

.story-picture { width: min(100% - 2 * var(--gutter), var(--wide)); margin: var(--s2) auto var(--s6); }
.story-picture img { width: 100%; background: var(--paper-deep); }
.story-picture figcaption, .content figcaption {
  margin-top: var(--s2);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.story-picture--full { width: 100%; margin-top: calc(-1 * var(--s6)); margin-bottom: var(--s6); }
.story-picture--full img { max-height: 82vh; object-fit: cover; }
.story-picture--full figcaption { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.story--plain .story-head, .story--page .story-head { padding-bottom: var(--s6); }
.story--page .story-title { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* The words of a story in the reading column. */
.content { font-size: 1.1875rem; line-height: 1.65; overflow-wrap: break-word; }
.content > * + * { margin-top: 1.15em; }
.content > :is(h2, h3, h4, h5, h6) { margin-top: 1.9em; }
.content > :is(h2, h3, h4, h5, h6) + * { margin-top: 0.6em; }
.content h2 { font-size: 1.625rem; }
.content h3 { font-size: 1.3125rem; }
.content :is(h4, h5, h6) { font-family: var(--sans); font-size: 1rem; letter-spacing: 0.01em; }
.content a { text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); text-decoration-thickness: 1.5px; }
.content a:hover { text-decoration-color: currentColor; }
.content :is(ul, ol) { padding-left: 1.4em; }
.content li + li { margin-top: 0.4em; }
.content li::marker { color: var(--muted); }
.content blockquote {
  padding-left: var(--s5);
  border-left: 3px solid var(--accent);
  color: var(--ink);
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.45;
}
.content blockquote > * + * { margin-top: var(--s3); }
.content blockquote cite { display: block; color: var(--muted); font-family: var(--sans); font-size: 0.875rem; font-style: normal; }
.content hr { width: 6rem; height: 0; margin-block: 2.25em; border: 0; border-top: 1px solid var(--ink); justify-self: center; }
.content code { padding: 0.1em 0.3em; border-radius: 3px; background: var(--paper-deep); font-family: var(--mono); font-size: 0.85em; }
.content pre {
  grid-column: main;
  padding: var(--s4) var(--s5);
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 0.875rem;
  line-height: 1.6;
}
.content pre code { padding: 0; background: none; font-size: inherit; }
.content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}
.content :is(th, td) { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.content th { border-bottom-color: var(--ink); font-weight: 600; }
.content figure.post-media { margin-block: 1.75em; }
.content figure.post-media :is(img, video) { width: 100%; }
.content figure.post-media > a { display: block; }
.content figure.post-media--wide { grid-column: wide; }
.content figure.post-media--full { grid-column: full; }
.content figure.post-media--full figcaption { padding-inline: var(--gutter); }
.content figure[data-video] iframe { border-radius: var(--radius); }
.content figure.post-block iframe { width: 100%; border: 0; }
.content aside[data-callout] { border-radius: var(--radius); font-size: 1.0625rem; }

/* After the words: where it is filed, the other languages, who reported. */
.story-foot { row-gap: var(--s4); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--rule); }
.story-tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.story-tags .label { margin-right: var(--s2); }
.pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
}
.pill:hover { border-color: var(--ink); }
.story-translations { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2); font-size: 1rem; }
.story-translations .label { margin-right: var(--s2); }
.story-authors { row-gap: var(--s4); margin-top: var(--s6); }
.author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s4);
  padding: var(--s5);
  border-radius: var(--radius);
  background: var(--paper-deep);
}
.author-card-body { display: grid; gap: var(--s1); align-content: start; }
.author-card-name { font-size: 1.1875rem; font-weight: 600; }
.author-card-name a { text-decoration: none; }
.author-card-name a:hover { text-decoration: underline; }
.author-card-location { color: var(--muted); font-family: var(--sans); font-size: 0.8125rem; }
.author-card-bio { margin-top: var(--s2); color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }
.author-card-bio > * + * { margin-top: var(--s2); }
.author-card-bio a { text-decoration: underline; }
.author-card-more { margin-top: var(--s2); font-family: var(--sans); font-size: 0.8125rem; font-weight: 500; }
.author-card-more a { color: var(--accent-ink); text-decoration: none; }
.author-card-more a:hover { text-decoration: underline; }

.more-from { margin-top: var(--s8); }
.more-from-grid { display: grid; gap: var(--s5) var(--s5); }
@media (min-width: 40rem) { .more-from-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .more-from-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.more-from-grid .card-title { font-size: 1.125rem; }

.neighbours { display: grid; gap: var(--s4); margin-top: var(--s8); padding-top: var(--s4); border-top: 3px solid var(--ink); }
@media (min-width: 40rem) { .neighbours { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.neighbour { display: grid; gap: var(--s2); text-decoration: none; }
.neighbour--newer { text-align: right; grid-column: -2; }
.neighbour-title { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.neighbour:hover .neighbour-title { text-decoration: underline; text-decoration-color: var(--rule); }

/* The readers' conversation ({% pixel_comments %}): the platform's frame in
   the reading column, a section's space under the story. */
.story-conversation { margin-top: var(--s7); }
.story-conversation:empty { display: none; }

/* Pagination: newer at the left, older at the right, the page between. */
.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s4);
  margin-top: var(--s7);
  padding-top: var(--s4);
  border-top: 1px solid var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
}
.pagination > span:last-child { text-align: right; }
.pagination a { text-decoration: none; }
.pagination a:hover { text-decoration: underline; }
.pagination-page { color: var(--muted); font-weight: 400; }

/* Search: one field and its button, square-shouldered like the paper. */
.search-form { display: flex; gap: var(--s2); width: 100%; max-width: 36rem; font-family: var(--sans); font-size: 0.9375rem; }
.search-input {
  flex: 1;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.search-input::-webkit-search-decoration { -webkit-appearance: none; }
.search-button {
  flex: none;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.search-button:hover { background: var(--ink-soft); }
.error-page .search-form { margin-top: var(--s3); }
.error-home { font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; }
.error-home a { color: var(--accent-ink); text-decoration: none; }
.error-home a:hover { text-decoration: underline; }
.archive-description a { color: var(--accent-ink); }

/* The footer: an index of the paper — its name and line with the search
   at the right, then its sections, its other pages and its feeds, then
   one small line. */
.site-footer { margin-top: var(--s7); padding-block: var(--s7) var(--s6); border-top: 3px double var(--ink); background: var(--paper-deep); font-size: 0.9375rem; }
.site-footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5) var(--s7); padding-bottom: var(--s6); border-bottom: 1px solid var(--rule); }
.site-footer-identity { display: grid; gap: var(--s2); max-width: 32rem; }
.site-footer-title { font-size: 1.75rem; font-weight: 700; font-variation-settings: "opsz" 72; letter-spacing: -0.015em; line-height: 1.1; }
.site-footer-title a { text-decoration: none; }
.site-footer-tagline { color: var(--ink-soft); font-style: italic; }
.site-footer-tagline a { text-decoration: underline; }
.site-footer .search-form { max-width: 24rem; }
.site-footer-index { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: var(--s6); padding-block: var(--s6); font-family: var(--sans); }
.site-footer-menu { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.site-footer-menu .label { margin-bottom: var(--s1); }
.site-footer-menu a { text-decoration: none; }
.site-footer-menu a:hover { text-decoration: underline; }
.site-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); padding-top: var(--s4); border-top: 1px solid var(--rule); color: var(--muted); font-family: var(--sans); font-size: 0.8125rem; }
.site-footer-bottom a { color: var(--ink-soft); }

/* A site page brings its own markup; it gets the paper's frame. */
.site-page .main { width: min(100% - 2 * var(--gutter), var(--frame)); margin-inline: auto; }

/* The company front page: a lede under the nameplate, then blocks under
   the paper's heavy rule — the products as two large cards, the
   consulting as a grid of services over hairlines, and a closing
   invitation on the deeper paper. */
.company-hero { display: grid; justify-items: center; gap: var(--s4); padding-block: var(--s5) var(--s7); text-align: center; }
.company-hero-title {
  max-width: 52rem;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  font-weight: 600;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 1.06;
}
.company-hero-lede { max-width: 40rem; color: var(--ink-soft); font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.5; }
.company-hero-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); margin-top: var(--s2); font-family: var(--sans); font-size: 0.9375rem; font-weight: 500; }
.company-hero-links a { text-decoration-color: var(--rule); }
.company-hero-links a:hover { text-decoration-color: var(--accent); }

.company-block { margin-top: var(--s7); }
.company-block .block-more { margin: 0; color: var(--muted); }

.ventures { display: grid; gap: var(--s5); }
@media (min-width: 48rem) { .ventures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.venture {
  display: grid;
  align-content: start;
  gap: var(--s3);
  padding: var(--s6);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-deep);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.venture:hover { border-color: var(--ink); }
.venture-name { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 700; font-variation-settings: "opsz" 72; letter-spacing: -0.02em; line-height: 1.05; }
.venture-line { font-size: 1.25rem; font-style: italic; line-height: 1.3; }
.venture-text { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.55; }
.venture-domain { margin-top: var(--s2); color: var(--accent-ink); font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }
.venture:hover .venture-domain { text-decoration: underline; }

.consulting-intro { display: grid; gap: var(--s4); max-width: 46rem; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.6; }
.consulting-lede { color: var(--ink); font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; }
.services { display: grid; gap: 0 var(--s6); margin-top: var(--s6); }
@media (min-width: 40rem) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .services { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.service { display: grid; align-content: start; gap: var(--s2); padding-block: var(--s5); border-top: 1px solid var(--rule); }
.service-title { font-size: 1.3125rem; line-height: 1.2; }
.service p { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }
.service a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.service a:hover { text-decoration-color: currentColor; }
@media (min-width: 64rem) { .services--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* The integrations flow: four systems in a row joined by arrows, the
   integration layer in the accent; on a phone the row turns into a
   column and the arrows point down. */
.flow { display: grid; gap: var(--s3); margin: var(--s6) 0 0; padding: var(--s5); border-radius: var(--radius); background: var(--paper-deep); }
.flow-nodes { display: grid; gap: var(--s5); padding: 0; list-style: none; }
@media (min-width: 48rem) { .flow-nodes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow-node {
  position: relative;
  display: grid;
  gap: var(--s1);
  padding: var(--s4);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.flow-node--hub { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.flow-node--hub .label { color: var(--accent-ink); }
.flow-node + .flow-node::before {
  content: "⇅";
  position: absolute;
  top: calc(-1 * var(--s5));
  left: 50%;
  width: var(--s5);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: var(--s5);
  transform: translateX(-50%);
}
.flow-node:last-child::before { content: "↓"; }
@media (min-width: 48rem) {
  .flow-node + .flow-node::before { content: "⇄"; top: 50%; left: calc(-1 * var(--s5)); transform: translateY(-50%); text-align: center; }
  .flow-node:last-child::before { content: "→"; }
}
.flow figcaption { color: var(--muted); font-family: var(--sans); font-size: 0.875rem; text-align: center; }
.integrations-cta { margin-top: var(--s4); font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.integrations-cta a { color: var(--accent-ink); text-decoration: none; }
.integrations-cta a:hover { text-decoration: underline; }

.consulting-proof { display: grid; gap: var(--s6); margin-top: var(--s6); }
@media (min-width: 56rem) { .consulting-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.proof-group .label--rule { margin-bottom: var(--s3); }
.proof-list { display: grid; gap: var(--s2); padding: 0; list-style: none; font-size: 1.0625rem; }
.proof-list a { text-decoration-color: var(--rule); overflow-wrap: anywhere; }
.proof-list a:hover { text-decoration-color: var(--accent); }
.proof-list span { color: var(--muted); font-family: var(--sans); font-size: 0.8125rem; }
.stack { display: flex; flex-wrap: wrap; gap: var(--s2); padding: 0; list-style: none; }
.stack li { padding: 0.25rem 0.65rem; border: 1px solid var(--rule); border-radius: 999px; font-family: var(--sans); font-size: 0.8125rem; font-weight: 500; }

.company-contact {
  display: grid;
  justify-items: center;
  gap: var(--s4);
  margin-top: var(--s8);
  padding: var(--s7) var(--s5);
  border-top: 3px solid var(--ink);
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 1.125rem;
  text-align: center;
}
.company-contact-title { color: var(--ink); font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3rem); font-variation-settings: "opsz" 72; letter-spacing: -0.02em; }
.company-contact p { max-width: 36rem; }
.company-button {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.company-button:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.company-contact-note { color: var(--muted); font-family: var(--sans); font-size: 0.875rem; }
.template-index .site-footer { margin-top: 0; }

@media (max-width: 40rem) {
  .venture { padding: var(--s5); }
}

@media (max-width: 40rem) {
  .topbar { justify-content: center; text-align: center; }
  .topbar-date { justify-content: center; }
  .story-byline { align-items: flex-start; }
  .author-card { grid-template-columns: minmax(0, 1fr); }
  .reporter-person { grid-template-columns: minmax(0, 1fr); }
  .reporter--covered .avatar--xl { margin-top: calc(-1 * var(--s6)); }
  .pagination { grid-template-columns: 1fr 1fr; }
  .pagination-page { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-picture img { transition: none; }
  .lead-picture:hover img { transform: none; }
}
