/* ==========================================================================
   Clinical Standard — visual system v2 "The offprint"
   A printed journal on a desk: paper, ink, a ballpoint pen, a rubber stamp.
   ========================================================================== */

:root {
  --paper: #efe9dc;        /* the desk-top sheet the whole site sits on */
  --paper-deep: #e4dccb;   /* recessed areas, second sheet underneath */
  --sheet: #faf7f0;        /* a fresh white sheet laid on top: cards, forms */
  --ink: #191c1e;
  --ink-soft: #3f4447;
  --muted: #74797b;
  --rule: #cfc6b3;
  --rule-strong: #9a917d;
  --ballpoint: #1f3d8f;    /* the editor's pen */
  --ballpoint-soft: rgba(31, 61, 143, .12);
  --stamp: #b3301c;        /* rubber stamp red, used only for stamps and errors */
  --scrub: #2b4f46;        /* deep scrub green: chrome, primary actions */
  --scrub-deep: #1e3a33;
  --scrub-pale: #dbe4dd;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --text: 'Literata', 'Iowan Old Style', Georgia, serif;
  --mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --hand: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  --shadow-sheet: 0 1px 0 rgba(25, 28, 30, .06), 0 10px 30px -18px rgba(25, 28, 30, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  font-variation-settings: 'opsz' 14;
  -webkit-font-smoothing: antialiased;
}
/* paper grain: two faint noise layers, cheap and static */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(255, 255, 255, .5), transparent 60%),
    repeating-linear-gradient(0deg, rgba(25, 28, 30, .018) 0 1px, transparent 1px 3px);
  mix-blend-mode: multiply;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ballpoint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--ballpoint); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ballpoint-soft); }

.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 99; padding: 10px 14px; background: var(--ink); color: var(--paper); }
.skip-link:focus { left: 12px; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; color: var(--ink); font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 1; }
h1 { font-size: clamp(44px, 6.2vw, 84px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: clamp(22px, 2vw, 28px); font-variation-settings: 'opsz' 72, 'SOFT' 30, 'WONK' 1; }
h1 i, h2 i, h3 i { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-soft); font-variation-settings: 'opsz' 20; }
.label, .eyebrow { margin: 0; font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow span { display: inline-block; width: 28px; height: 1px; background: var(--rule-strong); }
.eyebrow--light { color: rgba(255, 255, 255, .75); }
.eyebrow--light span { background: rgba(255, 255, 255, .5); }
.small-caps { font-variant-caps: all-small-caps; letter-spacing: .06em; }

/* a hand-drawn ballpoint underline, applied to a word the editor cared about */
.underline, h1 i, .hero__copy h1 i { position: relative; white-space: nowrap; }
h1 i::after, .underline::after {
  content: ''; position: absolute; left: -.04em; right: -.04em; bottom: -.06em; height: .18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 40 3, 80 11, 120 6 S 180 4, 198 7' fill='none' stroke='%231f3d8f' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  pointer-events: none; opacity: .92;
}

/* --------------------------------------------------------------------------
   The editor's marks: marginalia and rubber stamps (the signature)
   -------------------------------------------------------------------------- */
.marginalia {
  display: inline-block; font: 500 clamp(20px, 1.6vw, 25px)/1.1 var(--hand); color: var(--ballpoint);
  transform: rotate(-5deg); transform-origin: left center; letter-spacing: .01em; white-space: nowrap;
}
.marginalia svg { width: 42px; height: 22px; vertical-align: middle; margin-left: 4px; }
.marginalia svg path { fill: none; stroke: var(--ballpoint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stamp {
  display: inline-block; padding: 5px 9px 4px; border: 2px solid currentColor; border-radius: 3px;
  color: var(--stamp); font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  transform: rotate(-3deg); mix-blend-mode: multiply; opacity: .88;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0,0,0,.72) 100%);
          mask-image: radial-gradient(circle at 30% 40%, #000 55%, rgba(0,0,0,.72) 100%);
}
.stamp--ink { color: var(--ballpoint); }
.stamp--green { color: var(--scrub); }
.stamp--flat { transform: none; }
.stamp-row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }

/* --------------------------------------------------------------------------
   Top line and masthead
   -------------------------------------------------------------------------- */
.notice { border-bottom: 1px solid var(--rule); color: var(--muted); font: 400 11px/2.9 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.notice__inner { display: flex; justify-content: space-between; gap: 20px; }
.notice i, .live-dot::before { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--stamp); vertical-align: 1px; }

.masthead { position: sticky; top: 0; z-index: 30; background: rgba(239, 233, 220, .94); backdrop-filter: saturate(1.1) blur(10px); }
.masthead::after { content: ''; display: block; height: 4px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.02em; font-variation-settings: 'opsz' 96, 'SOFT' 50, 'WONK' 1; }
.wordmark strong { font-weight: 500; }
.wordmark em { font-style: italic; font-weight: 400; font-variation-settings: 'opsz' 96, 'SOFT' 100, 'WONK' 1; }
.wordmark__ai { width: 30px; height: 30px; object-fit: contain; align-self: center; filter: grayscale(1) contrast(1.1); opacity: .85; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { position: relative; padding: 6px 0; color: var(--ink); text-decoration: none; font: 500 15px/1 var(--text); font-variant-caps: all-small-caps; letter-spacing: .08em; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ballpoint); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__submit { padding: 9px 16px !important; background: var(--scrub); color: var(--paper) !important; border-radius: 2px; }
.nav__submit::after { display: none; }
.nav__submit:hover { background: var(--scrub-deep); }
.nav__submit span { margin-left: 8px; }
.nav__account { padding-left: 22px !important; border-left: 1px solid var(--rule-strong); }
.icon-button { display: none; background: none; border: 0; }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */
.button, .text-action { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 15px/1 var(--text); border: 0; }
.button { padding: 15px 22px; background: var(--scrub); color: var(--paper); border-radius: 2px; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18); transition: background .2s var(--ease), transform .2s var(--ease); }
.button:hover { background: var(--scrub-deep); color: var(--paper); transform: translateY(-1px); }
.button span { font-size: 16px; opacity: .8; }
.button--pale { background: var(--paper); color: var(--scrub-deep); }
.button--pale:hover { background: #fff; color: var(--scrub-deep); }
.text-action { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ballpoint); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.text-action:hover { color: var(--ballpoint); }
.text-action span { color: var(--ballpoint); }
.text-button { border: 0; background: none; color: var(--ballpoint); font: 500 14px/1 var(--text); text-decoration: underline; text-underline-offset: 4px; padding: 6px 0; }
.text-button:hover { color: var(--ink); }
.round-link { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); text-decoration: none; font-size: 16px; transition: background .2s var(--ease), color .2s var(--ease); }
.round-link:hover { background: var(--ink); color: var(--paper); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-top: 34px; }

/* --------------------------------------------------------------------------
   Home: the title spread
   -------------------------------------------------------------------------- */
.hero { padding: 44px 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__figure { position: relative; margin: 0; }
.hero__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 40%; border: 1px solid var(--rule); background: var(--paper-deep); box-shadow: var(--shadow-sheet); }
.hero__figure figcaption { margin-top: 10px; color: var(--muted); font: 400 11.5px/1.5 var(--mono); }
.hero__figure .stamp { position: absolute; top: 16px; left: 16px; transform: rotate(-7deg); font-size: 11.5px; padding: 7px 11px 6px; background: rgba(250, 247, 240, .82); mix-blend-mode: normal; }
.hero__copy { padding-bottom: 24px; }
.hero__copy .label { margin-bottom: 26px; }
.hero__copy h1 { margin-bottom: 22px; }
.hero__copy p:not(.label) { max-width: 52ch; }
.hero__note { position: relative; margin: 30px 0 0 6px; }
.hero__note .marginalia { transform: rotate(-4deg) translateY(2px); }

.contents-band { margin-top: 56px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); background: var(--paper-deep); }
.contents-band__inner { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start; padding: 20px 0; }
.contents-band .label { padding-top: 8px; color: var(--ink); }
.contents-band ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.contents-band li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; counter-increment: toc; }
.contents-band li::before { content: counter(toc); font: 500 13px/1.5 var(--mono); color: var(--ballpoint); }
.contents-band a { color: var(--ink); text-decoration: none; font: 400 15px/1.4 var(--text); }
.contents-band a:hover { text-decoration: underline; text-decoration-color: var(--ballpoint); }
.contents-band small { display: block; margin-top: 2px; color: var(--muted); font: 400 11px/1.4 var(--mono); }

/* --------------------------------------------------------------------------
   Sections and headings
   -------------------------------------------------------------------------- */
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--rule { border-top: 1px solid var(--rule); }
.section--sage { background: var(--scrub-pale); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { margin: 12px 0 0; }
.section-heading p.eyebrow { margin: 0; }

/* Article entries: a contents page, not a card wall */
.article-grid { display: grid; gap: 0; }
.article-grid--home { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 56px; }
.article-grid--library { grid-template-columns: 1fr; }
.entry { display: grid; grid-template-columns: 148px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--rule); color: var(--ink); }
.entry:first-child { padding-top: 0; }
.entry__media { margin: 0; overflow: hidden; }
.entry__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); filter: saturate(.92); transition: transform .5s var(--ease); }
.entry:hover .entry__media img { transform: scale(1.03); }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 10px; color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.entry__meta .type { color: var(--ballpoint); }
.entry h3 { margin: 0 0 8px; }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry h3 a:hover { text-decoration: underline; text-decoration-color: var(--ballpoint); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.entry p { margin: 0 0 10px; color: var(--ink-soft); font-size: 15.5px; max-width: 58ch; }
.entry__authors { color: var(--muted); font-size: 13.5px; }
.entry--featured { grid-template-columns: 1fr; grid-row: span 3; padding-top: 0; border-bottom: 0; padding-right: 8px; }
.entry--featured .entry__media img { aspect-ratio: 16 / 11; }
.entry--featured h3 { font-size: clamp(30px, 3.2vw, 42px); margin-top: 6px; }
.entry--featured p { font-size: 17px; }
.entry--featured .entry__media { position: relative; margin-bottom: 20px; }
.entry--featured .entry__media .stamp { position: absolute; right: 14px; bottom: 14px; background: rgba(250, 247, 240, .85); mix-blend-mode: normal; }
.article-grid--home > div { display: flex; flex-direction: column; }
.article-grid--home > div .entry:first-child { padding-top: 0; }
.no-results { padding: 40px 0; color: var(--muted); font: italic 400 22px/1.4 var(--display); }

/* From the editor: a signed letter */
.letter { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 90px); align-items: start; }
.letter__sheet { position: relative; padding: clamp(28px, 4vw, 56px); background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.letter__sheet::before { content: ''; position: absolute; inset: 8px -6px -6px 8px; z-index: -1; background: var(--paper-deep); border: 1px solid var(--rule); }
.letter__sheet .label { margin-bottom: 18px; }
.letter__sheet h2 { margin-bottom: 22px; }
.letter__sheet p { max-width: 62ch; color: var(--ink-soft); }
.letter__sheet p.dropcap::first-letter { float: left; margin: 6px 10px 0 0; font: 400 76px/.78 var(--display); color: var(--ballpoint); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.letter__sign { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--rule); }
.letter__sign .marginalia { transform: rotate(-3deg); font-size: 32px; }
.letter__sign small { display: block; margin-top: 4px; color: var(--muted); font: 400 12px/1.5 var(--mono); }
.letter__aside { padding-top: 10px; }
.letter__aside figure { margin: 0 0 24px; }
.letter__aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border: 1px solid var(--rule); filter: grayscale(1) contrast(1.05) sepia(.18); }
.letter__aside figcaption { margin-top: 10px; color: var(--muted); font: 400 11.5px/1.5 var(--mono); }
.colophon { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.colophon li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.colophon li b { font: 500 13px/1.6 var(--mono); color: var(--ballpoint); }

/* The issue: a real cover on a green desk */
.issue-callout { padding: clamp(64px, 8vw, 100px) 0; background: var(--scrub); color: var(--paper); }
.issue-callout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: center; gap: clamp(40px, 7vw, 110px); }
.issue-callout h2 { margin: 16px 0 18px; color: var(--paper); }
.issue-callout h2 i::after { filter: brightness(0) invert(1); opacity: .8; }
.issue-callout p:not(.eyebrow) { max-width: 46ch; color: rgba(250, 247, 240, .8); margin-bottom: 30px; }
.cover { position: relative; aspect-ratio: 3 / 4; padding: 22px; display: flex; flex-direction: column; color: var(--paper); background: var(--ink); overflow: hidden; box-shadow: 18px 22px 0 rgba(0, 0, 0, .18); transform: rotate(1.5deg); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; filter: sepia(.15) contrast(1.02) brightness(1.08); }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 28, 30, .35), rgba(25, 28, 30, .05) 40%, rgba(25, 28, 30, .72)); }
.cover > * { position: relative; z-index: 1; }
.cover__top, .cover__bottom { display: flex; justify-content: space-between; gap: 12px; font: 500 10.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.cover__wordmark { margin-top: 6px; font: 500 30px/1 var(--display); letter-spacing: -.02em; }
.cover__wordmark em { font-style: italic; }
.cover__title { margin-top: auto; margin-bottom: 14px; font: 400 clamp(40px, 4vw, 54px)/.95 var(--display); letter-spacing: -.02em; font-variation-settings: 'opsz' 144, 'SOFT' 60, 'WONK' 1; }
.cover__title i { font-style: italic; }

/* Subscribe: the dispatch slip */
.subscribe { padding: clamp(56px, 7vw, 88px) 0; border-top: 1px solid var(--ink); }
.subscribe__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.subscribe h2 { margin-top: 14px; }
.subscribe-form label { display: block; margin-bottom: 16px; color: var(--ink-soft); font-size: 15px; }
.subscribe-form > div { display: flex; gap: 12px; align-items: flex-end; }
.subscribe-form input { flex: 1; padding: 12px 2px; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; outline: none; font-size: 17px; }
.subscribe-form input:focus { border-bottom-color: var(--ballpoint); box-shadow: 0 1.5px 0 var(--ballpoint); }
.subscribe-form small { display: block; margin-top: 12px; color: var(--muted); font: 400 11.5px/1.5 var(--mono); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 64px 0 24px; background: var(--ink); color: rgba(239, 233, 220, .72); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.wordmark--footer, .footer .wordmark { color: var(--paper); font-size: 28px; }
.footer p { font-size: 14px; line-height: 1.6; max-width: 34ch; }
.footer__grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; }
.footer__label { color: var(--paper); font: 500 11px/1.4 var(--mono) !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px !important; }
.footer a, .footer span { color: rgba(239, 233, 220, .8); text-decoration: none; font-size: 14px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 56px; padding-top: 18px; border-top: 1px solid rgba(239, 233, 220, .18); font: 400 11.5px/1.6 var(--mono); }
.footer__bottom a { font-size: inherit; }

/* --------------------------------------------------------------------------
   Inner pages: the title page
   -------------------------------------------------------------------------- */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--ink); }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p:not(.eyebrow):not(.label) { max-width: 54ch; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--ink-soft); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.page-hero__grid figure { margin: 0; }
.page-hero__grid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.page-hero__grid figcaption { margin-top: 10px; color: var(--muted); font: 400 11.5px/1.5 var(--mono); }
.page-hero--band { position: relative; color: var(--paper); border-bottom: 0; background: var(--ink); overflow: hidden; }
.page-hero--band img.band { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: sepia(.25) contrast(1.05); }
.page-hero--band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 28, 30, .85), rgba(25, 28, 30, .35)); }
.page-hero--band .shell { position: relative; z-index: 1; }
.page-hero--band h1 { color: var(--paper); }
.page-hero--band h1 i::after { filter: brightness(0) invert(1); opacity: .8; }
.page-hero--band p:not(.eyebrow) { color: rgba(239, 233, 220, .82); }
.content { padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 120px); }

.search-box { position: relative; max-width: 560px; margin-top: 30px; }
.search-box label { display: block; margin-bottom: 6px; color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.search-box input { width: 100%; padding: 12px 40px 12px 0; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; outline: none; font-size: 19px; font-family: var(--text); }
.search-box input:focus { border-bottom-color: var(--ballpoint); box-shadow: 0 1.5px 0 var(--ballpoint); }
.search-box input::placeholder { color: var(--muted); font-style: italic; }
.search-box span { position: absolute; right: 4px; bottom: 10px; color: var(--ballpoint); font-size: 22px; }

.library { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.filters { display: flex; flex-direction: column; align-self: start; position: sticky; top: 100px; }
.filters .label { margin-bottom: 12px; color: var(--ink); }
.filter { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; color: var(--ink-soft); font-size: 15px; }
.filter span { color: var(--muted); font: 400 12px/1.6 var(--mono); }
.filter:hover { color: var(--ballpoint); }
.filter.is-active { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--ballpoint); padding-left: 10px; }
.filter-link { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; color: var(--ballpoint); font-size: 14px; text-decoration: none; }
.filter-link:hover { text-decoration: underline; }
.library__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.library__heading p { margin: 0; font-size: 14px; color: var(--muted); }
.library__heading select, .operation-toolbar select { padding: 8px 30px 8px 10px; border: 1px solid var(--rule-strong); border-radius: 2px; background: var(--sheet); color: var(--ink); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Issue page
   -------------------------------------------------------------------------- */
.issue-header { padding: clamp(56px, 7vw, 96px) 0; background: var(--scrub); color: var(--paper); }
.issue-header__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: clamp(40px, 7vw, 110px); }
.issue-header .issue-number { margin: 18px 0 20px; color: rgba(239, 233, 220, .75); font: 400 12px/1.6 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.issue-number span { padding: 0 6px; color: rgba(239, 233, 220, .45); }
.issue-header h1 { color: var(--paper); margin-bottom: 20px; }
.issue-header h1 i::after { filter: brightness(0) invert(1); opacity: .8; }
.issue-header p:not(.eyebrow):not(.issue-number) { max-width: 48ch; color: rgba(239, 233, 220, .82); margin-bottom: 28px; }
.issue-contents { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 80px); }
.issue-contents h2 { margin-top: 14px; }
.issue-list { border-top: 1px solid var(--ink); }
.issue-list__item { display: grid; grid-template-columns: 40px 1fr 34px; gap: 18px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.issue-list__item > span { color: var(--ballpoint); font: 500 14px/1.5 var(--mono); }
.issue-list__item h3 { margin: 6px 0; }
.issue-list__item p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.issue-list__item > b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; font-weight: 400; font-size: 16px; transition: background .2s, color .2s; }
.issue-list__item:hover > b { background: var(--ink); color: var(--paper); }
.issue-list__item:hover h3 { text-decoration: underline; text-decoration-color: var(--ballpoint); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* --------------------------------------------------------------------------
   Article: the reading page
   -------------------------------------------------------------------------- */
.article-header { padding: 40px 0 44px; border-bottom: 1px solid var(--ink); }
.article-header__inner { max-width: 880px; padding-left: calc(120px + clamp(28px, 4vw, 60px)); }
.running-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin-bottom: 40px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); color: var(--muted); font: 400 11.5px/1.6 var(--mono); letter-spacing: .06em; }
.running-head a { color: var(--ink); text-decoration: none; }
.running-head a:hover { text-decoration: underline; }
.article-header .label { color: var(--ballpoint); margin-bottom: 14px; }
.article-header h1 { max-width: 18ch; font-size: clamp(38px, 5vw, 66px); margin-bottom: 20px; }
.article-header__dek { max-width: 60ch; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; color: var(--ink-soft); font-family: var(--display); font-variation-settings: 'opsz' 40, 'SOFT' 60, 'WONK' 1; }
.article-byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); font: 500 12px/1 var(--mono); }
.article-byline div { display: flex; flex-direction: column; }
.article-byline strong { font-size: 15px; font-weight: 600; }
.article-byline div span { color: var(--muted); font-size: 13.5px; }
.article-stamps { display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 30px; }
.article-stamps .stamp:nth-child(2) { transform: rotate(2deg); }
.article-stamps .stamp:nth-child(3) { transform: rotate(-1.5deg); }

.article-layout { display: grid; grid-template-columns: 120px minmax(0, 680px) 220px; gap: clamp(28px, 4vw, 60px); padding: 56px 0 110px; }
.article-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; position: sticky; top: 110px; align-self: start; }
.tool-button { display: flex; align-items: center; gap: 9px; padding: 0; background: none; border: 0; color: var(--ink-soft); font-size: 14px; }
.tool-button:hover { color: var(--ballpoint); }
.tool-button::before { content: ''; width: 18px; height: 1px; background: var(--rule-strong); }
.article-body { font-size: 18.5px; line-height: 1.7; color: var(--ink-soft); font-variation-settings: 'opsz' 18; }
.article-body > p:first-of-type { font-size: 21px; line-height: 1.55; color: var(--ink); }
.article-body > p:first-of-type::first-letter { float: left; margin: 8px 12px 0 0; font: 400 86px/.76 var(--display); color: var(--ballpoint); font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1; }
.article-body h2 { margin: 48px 0 16px; font-size: clamp(26px, 2.4vw, 34px); color: var(--ink); }
.article-body figure { margin: 40px -40px; }
.article-body img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--rule); }
.article-body figcaption { margin-top: 10px; color: var(--muted); font: 400 12px/1.5 var(--mono); }
.article-body blockquote { position: relative; margin: 44px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--ballpoint); font: italic 400 clamp(24px, 2.2vw, 30px)/1.3 var(--display); color: var(--ink); font-variation-settings: 'opsz' 72, 'SOFT' 100, 'WONK' 1; }
.article-body blockquote .marginalia { position: absolute; right: -8px; top: -34px; font-size: 22px; transform: rotate(-6deg); }
.article-aside { position: sticky; top: 110px; align-self: start; }
.article-aside dl { margin: 12px 0 0; border-top: 1px solid var(--ink); }
.article-aside dl div { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.article-aside dt { color: var(--muted); font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.article-aside dd { margin: 3px 0 0; font-size: 14px; }
.article-aside .marginalia { display: block; margin-top: 26px; font-size: 20px; }
.back-link { display: inline-block; margin-bottom: 30px; color: var(--ink); font-size: 14px; text-decoration: none; }
.back-link:hover { color: var(--ballpoint); }

/* --------------------------------------------------------------------------
   About, policies, community, guidelines, contact
   -------------------------------------------------------------------------- */
.prose-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); }
.prose-grid h2 { position: sticky; top: 110px; }
.prose { max-width: 62ch; }
.prose .lead { font-family: var(--display); font-size: clamp(21px, 1.8vw, 26px); line-height: 1.4; color: var(--ink); font-variation-settings: 'opsz' 40, 'SOFT' 60, 'WONK' 1; }
.prose p { color: var(--ink-soft); }
.prose h2 { position: static; margin: 40px 0 12px; font-size: 30px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(56px, 7vw, 90px); border-top: 1px solid var(--ink); }
.values article { padding: 24px 28px 20px 0; border-right: 1px solid var(--rule); }
.values article + article { padding-left: 28px; }
.values article:last-child { border-right: 0; }
.values article > .stamp { margin-bottom: 18px; }
.values h3 { margin: 0 0 8px; }
.values p { margin: 0; font-size: 15px; color: var(--ink-soft); }

.community-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 90px); }
.community-grid h2 { margin-top: 14px; }
.people { margin-top: 28px; border-top: 1px solid var(--ink); }
.people article { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.people article > span { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; border: 1.5px solid var(--ink); font: 500 12px/1 var(--mono); }
.people h3 { margin: 0 0 3px; font-size: 22px; }
.people p { margin: 0; color: var(--muted); font-size: 14px; }
.join-panel { position: relative; align-self: start; padding: 30px; background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.join-panel::before { content: ''; position: absolute; inset: 8px -6px -6px 8px; z-index: -1; background: var(--paper-deep); border: 1px solid var(--rule); }
.join-panel h2 { margin: 16px 0 12px; font-size: 34px; }
.join-panel p:not(.label) { color: var(--ink-soft); font-size: 15.5px; }
.join-panel .button { margin-top: 16px; }

.policy-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); max-width: 1000px; }
.policy-nav { display: flex; flex-direction: column; align-self: start; position: sticky; top: 110px; }
.policy-nav a { padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--ink-soft); font-size: 15px; text-decoration: none; }
.policy-nav a.is-active, .policy-nav a:hover { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--ballpoint); padding-left: 10px; }
.policy-copy { max-width: 64ch; }
.policy-copy h2 { margin: 40px 0 12px; font-size: 30px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 100px); max-width: 980px; }
.contact-details { position: relative; align-self: start; padding: 28px; background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.contact-details p { margin: 0 0 22px; color: var(--ink-soft); font-size: 15px; }
.contact-details p.label { margin-bottom: 8px; }
.contact-details a { color: var(--ballpoint); }

.archive-list { max-width: 940px; }
.archive-row { display: grid; grid-template-columns: 90px 1.7fr 1.1fr 1fr 34px; gap: 18px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.archive-row--head { padding: 0 0 12px; border-bottom: 1px solid var(--ink); color: var(--muted); font: 500 10.5px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; }
.archive-row strong { font: 400 40px/1 var(--display); color: var(--ballpoint); }
.archive-row span { font-size: 15px; }
.archive-row b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; font-weight: 400; }
.archive-row:hover b { background: var(--ink); color: var(--paper); }
.archive-row--muted { color: var(--muted); }
.archive-row--muted strong { color: var(--rule-strong); }

/* --------------------------------------------------------------------------
   Forms: a printed form with ruled lines
   -------------------------------------------------------------------------- */
.field-note { color: var(--muted); font: 400 12px/1.5 var(--mono); }
.form-step label, .contact-form label, .auth-form label, .profile-form label, .review-form label, .decision-form label { display: block; margin: 18px 0 0; color: var(--ink); font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.form-step input:not([type=checkbox]):not([type=file]), .form-step select, .form-step textarea,
.contact-form input, .contact-form select, .contact-form textarea,
.auth-form input, .auth-form select, .profile-form input,
.review-form input, .review-form select, .review-form textarea,
.decision-form input, .decision-form select, .decision-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 2px; border: 0; border-bottom: 1.5px solid var(--rule-strong); border-radius: 0;
  background: transparent; outline: none; font: 400 17px/1.5 var(--text); letter-spacing: 0; text-transform: none; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-step textarea, .contact-form textarea, .review-form textarea, .decision-form textarea {
  padding: 10px 8px; resize: vertical; line-height: 1.6;
  background: repeating-linear-gradient(transparent 0 calc(1.6em - 1px), var(--rule) calc(1.6em - 1px) 1.6em); background-attachment: local; background-origin: content-box;
}
.form-step input:focus, .form-step select:focus, .form-step textarea:focus, .contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .auth-form input:focus, .auth-form select:focus, .profile-form input:focus, .review-form input:focus, .review-form select:focus, .review-form textarea:focus, .decision-form input:focus, .decision-form select:focus, .decision-form textarea:focus {
  border-bottom-color: var(--ballpoint); box-shadow: 0 1.5px 0 var(--ballpoint);
}
input::placeholder, textarea::placeholder { color: var(--muted); font-style: italic; }
.optional { margin-left: 6px; color: var(--muted); font-weight: 400; letter-spacing: .06em; }
.check { display: flex !important; align-items: flex-start; gap: 10px; margin-top: 18px; font: 400 14.5px/1.5 var(--text) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--ink-soft) !important; }
.check input { margin: 5px 0 0; accent-color: var(--ballpoint); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; }
.form-step .button, .contact-form .button, .auth-form .button, .profile-form .button, .review-form .button, .decision-form .button { margin-top: 26px; }
.form-actions .button { margin-top: 0; }

/* Submit page */
.submit-page { padding: clamp(48px, 6vw, 80px) 0 clamp(72px, 8vw, 110px); }
.submit-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.submit-intro h1 { font-size: clamp(40px, 4.6vw, 62px); margin: 22px 0 18px; }
.submit-intro > p:not(.eyebrow) { max-width: 46ch; color: var(--ink-soft); }
.submit-rules { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; color: var(--ink-soft); font-size: 15px; }
.submit-rules span::before { content: '✓'; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border: 1.5px solid var(--ballpoint); border-radius: 50%; color: var(--ballpoint); font-size: 11px; }
.submit-intro figure { margin: 30px 0 0; }
.submit-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; border: 1px solid var(--rule); }
.submit-intro figcaption { margin-top: 10px; color: var(--muted); font: 400 11.5px/1.5 var(--mono); }

.submission-form { position: relative; padding: clamp(24px, 3vw, 40px); background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.submission-form::before { content: ''; position: absolute; inset: 8px -6px -6px 8px; z-index: -1; background: var(--paper-deep); border: 1px solid var(--rule); }
.form-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.form-top > span { color: var(--muted); font: 400 12px/1.5 var(--mono); }
.form-top b { color: var(--ballpoint); font-weight: 500; }
.form-trail { display: flex; gap: 8px; margin: 18px 0 6px; padding: 0; list-style: none; }
.form-trail li { flex: 1; padding: 8px 0 0; border-top: 2px solid var(--rule); color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.form-trail li.is-current { border-top-color: var(--ballpoint); color: var(--ink); }
.form-trail li.is-done { border-top-color: var(--scrub); color: var(--scrub); }
.form-step { display: none; }
.form-step.is-visible { display: block; animation: rise .35s var(--ease) both; }
.form-step h2 { margin: 22px 0 6px; font-size: 32px; }
.form-step > p.field-note { margin-bottom: 4px; }
.upload-box { display: flex !important; min-height: 160px; margin-top: 18px !important; align-items: center; justify-content: center; gap: 6px; flex-direction: column; border: 1.5px dashed var(--rule-strong); border-radius: 3px; background: rgba(239, 233, 220, .4); color: var(--ink); text-align: center; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; transition: border-color .2s, background .2s; }
.upload-box:hover { border-color: var(--ballpoint); background: rgba(31, 61, 143, .04); }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box > span { font-size: 22px; color: var(--ballpoint); }
.upload-box strong { font: 500 16px/1.4 var(--text); }
.upload-box small { color: var(--muted); font: 400 11.5px/1.5 var(--mono); }

.ai-assistant { position: relative; margin-top: 32px; padding: 20px 20px 18px; background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.ai-assistant__top { display: flex; align-items: center; gap: 12px; }
.ai-assistant__top .label { margin: 0 0 2px; }
.ai-assistant__top strong { font: 400 21px/1.1 var(--display); }
.ai-spark { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border: 1.5px solid var(--ballpoint); border-radius: 50%; color: var(--ballpoint); font-size: 14px; }
.ai-beta { margin-left: auto; }
.ai-assistant > p { margin: 12px 0; color: var(--ink-soft); font-size: 14px; }
.ai-assistant textarea { display: block; width: 100%; padding: 10px; border: 1px solid var(--rule-strong); border-radius: 2px; background: #fff; color: var(--ink); resize: vertical; outline-color: var(--ballpoint); font: 13px/1.6 var(--mono); }
.ai-assistant__actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.ai-assistant .text-button { margin-top: 0; }
.ai-assistant small { display: block; margin-top: 10px; color: var(--muted); font: 400 11.5px/1.5 var(--mono); }
.file-button { display: inline-flex !important; align-items: center; margin: 0 !important; color: var(--ink-soft) !important; font: 500 13.5px/1 var(--text) !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* Auth */
.auth-page { min-height: 620px; display: grid; place-items: center; padding: 60px 16px; }
.auth-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); width: min(880px, 100%); padding: clamp(28px, 4vw, 48px); background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.auth-panel::before { content: ''; position: absolute; inset: 8px -6px -6px 8px; z-index: -1; background: var(--paper-deep); border: 1px solid var(--rule); }
.auth-panel h1 { font-size: clamp(38px, 4.4vw, 58px); margin: 20px 0 14px; }
.auth-panel > div > p:not(.eyebrow) { max-width: 30ch; color: var(--ink-soft); font-size: 15.5px; }
.auth-panel > div > .stamp { margin-top: 20px; }
.auth-form { align-self: center; }
.auth-form label:first-child { margin-top: 0; }
.auth-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin: 18px 0 4px; font-size: 13.5px; }
.auth-row .check { margin: 0 !important; font-size: 13.5px !important; }
.auth-switch { margin: 18px 0 0; color: var(--muted); font-size: 13.5px; }
.auth-note { min-height: 20px; margin: 12px 0 0; color: var(--stamp); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Workspace: the desk
   -------------------------------------------------------------------------- */
.workspace { padding: clamp(40px, 5vw, 60px) 0 clamp(72px, 8vw, 100px); min-height: 640px; }
.workspace__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--ink); }
.workspace__header h1 { margin: 14px 0 0; font-size: clamp(38px, 4.4vw, 58px); }
.workspace-dek { margin: 12px 0 0; max-width: 52ch; color: var(--ink-soft); }
.workspace-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.workspace-actions .text-button { color: var(--muted); }
.workspace-actions .button { white-space: nowrap; }
.workspace__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); }
.workspace-nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; align-self: start; position: sticky; top: 100px; }
.workspace-nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-left: 2px solid transparent; color: var(--ink-soft); font-size: 15px; text-decoration: none; }
.workspace-nav a:hover { color: var(--ink); background: rgba(250, 247, 240, .6); }
.workspace-nav a.is-active { background: var(--sheet); color: var(--ink); font-weight: 600; border-left-color: var(--ballpoint); box-shadow: var(--shadow-sheet); }
.workspace-nav span { color: var(--ballpoint); font: 500 12px/1 var(--mono); }
.workspace-nav hr { width: 100%; margin: 10px 0; border: 0; border-top: 1px solid var(--rule); }
.workspace-main { min-width: 0; }
.workspace-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.workspace-title h2 { margin: 6px 0 0; font-size: clamp(28px, 3vw, 38px); }
.status-pill { display: inline-block; padding: 6px 10px; border: 1.5px solid var(--scrub); border-radius: 3px; color: var(--scrub); font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; transform: rotate(-2deg); }

.sheet, .metric-grid article, .desk-list, .activity-panel, .timeline-panel, .empty-panel, .operations-aside, .preflight, .editorial-kanban article, .review-form, .decision-form, .profile-form { background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric-grid article { min-height: 140px; padding: 20px; }
.metric-grid span { display: block; color: var(--muted); font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.metric-grid strong { display: block; margin: 14px 0 6px; font: 400 44px/1 var(--display); color: var(--ink); font-variation-settings: 'opsz' 144, 'SOFT' 40, 'WONK' 1; }
.metric-grid small { color: var(--ink-soft); font-size: 13px; }
.desk-list { margin-top: 16px; padding: 22px 24px; }
.list-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.list-heading h3 { margin: 0; font-size: 24px; }
.list-heading a { color: var(--ballpoint); font-size: 13.5px; }
.task-row { display: grid; grid-template-columns: 36px 1fr 180px 34px; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.task-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); font: 500 11px/1 var(--mono); }
.task-icon--amber { border-color: var(--stamp); color: var(--stamp); }
.task-icon--blue { border-color: var(--ballpoint); color: var(--ballpoint); }
.task-icon--mint { border-color: var(--scrub); color: var(--scrub); }
.task-row h3 { margin: 2px 0 0; font-size: 20px; }
.task-status { display: flex; flex-direction: column; color: var(--ink-soft); font-size: 13.5px; }
.task-status small { color: var(--muted); font: 400 11.5px/1.5 var(--mono); }
.workspace-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 14px; margin-top: 14px; }
.activity-panel, .timeline-panel { padding: 22px 24px; }
.activity-panel .list-heading { margin-bottom: 4px; }
.activity-row { display: grid; grid-template-columns: 130px 1fr; gap: 3px 14px; padding: 13px 0; border-top: 1px solid var(--rule); }
.activity-row span { grid-row: span 2; color: var(--muted); font: 400 11.5px/1.6 var(--mono); }
.activity-row strong { font-size: 14.5px; font-weight: 600; }
.activity-row small { color: var(--muted); font-size: 13px; }
.timeline-panel h3 { margin: 10px 0 18px; font-size: 22px; }
.timeline { display: grid; margin-bottom: 14px; }
.timeline span { position: relative; padding: 0 0 16px 26px; color: var(--muted); font-size: 13.5px; }
.timeline span::before { content: ''; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border: 1.5px solid var(--rule-strong); border-radius: 50%; background: var(--sheet); }
.timeline span:not(:last-child)::after { content: ''; position: absolute; left: 5px; top: 16px; width: 1px; height: calc(100% - 12px); background: var(--rule); }
.timeline .is-done, .timeline .is-current { color: var(--ink); font-weight: 600; }
.timeline .is-done::before { background: var(--scrub); border-color: var(--scrub); }
.timeline .is-current::before { background: var(--ballpoint); border-color: var(--ballpoint); box-shadow: 0 0 0 4px var(--ballpoint-soft); }
.timeline-panel > small { color: var(--muted); font: 400 11.5px/1.5 var(--mono); }
.empty-panel { display: flex; min-height: 300px; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 36px; }
.empty-panel > span { font-size: 26px; color: var(--ballpoint); }
.empty-panel h3 { margin: 12px 0 6px; }
.empty-panel p { max-width: 38ch; color: var(--muted); font-size: 15px; }

.table-list { background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow-sheet); }
.table-row { display: grid; grid-template-columns: minmax(220px, 1.8fr) 1fr 1fr 34px; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-size: 14px; }
.table-row:last-child { border-bottom: 0; }
.table-row strong { font: 400 20px/1.2 var(--display); color: var(--ink); }
.table-row b { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--ink); border-radius: 50%; font-weight: 400; font-size: 16px; }
.table-row:hover b { background: var(--ink); color: var(--paper); }
.table-head { color: var(--muted); font: 500 10.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--ink); }
.table-head span { font: inherit; }
.status-chip { display: inline-block; width: max-content; padding: 5px 8px; border: 1.5px solid currentColor; border-radius: 3px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-1.5deg); }
.status-chip--amber { color: var(--stamp); }
.status-chip--green { color: var(--scrub); }
.empty-inline { padding: 20px; color: var(--muted); font-size: 14px; font-style: italic; }
.profile-form { max-width: 560px; padding: 28px; }
.profile-avatar { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; border: 1.5px solid var(--ink); font: 500 14px/1 var(--mono); }
.profile-form .check { margin-top: 18px; }
.profile-form .check input { width: auto; }

.operations-grid, .production-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.operation-main { min-width: 0; }
.operation-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.operation-toolbar h2 { margin: 8px 0 0; font-size: 32px; }
.operations-aside, .preflight { align-self: start; padding: 24px; }
.operations-aside > span { display: block; color: var(--ink-soft); font-size: 14px; }
.big-stat { display: block; margin: 8px 0 0; font: 400 46px/1 var(--display); color: var(--ink); }
.operations-aside hr { border: 0; border-top: 1px solid var(--rule); margin: 20px 0; }
.operations-aside .text-action { margin-top: 24px; font-size: 14px; }
.editorial-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.editorial-kanban article { display: flex; flex-direction: column; min-height: 130px; padding: 18px; }
.editorial-kanban strong { margin: 14px 0 2px; font: 400 38px/1 var(--display); color: var(--ink); }
.editorial-kanban small { color: var(--muted); font-size: 12.5px; }
.editorial-kanban a { margin-top: auto; padding-top: 12px; color: var(--ballpoint); font-size: 13.5px; text-decoration: none; }
.editorial-kanban a:hover { text-decoration: underline; }
.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.check-row > span { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; border: 1.5px solid currentColor; font: 500 11px/1 var(--mono); }
.check-row .is-ready { color: var(--scrub); }
.check-row .is-waiting { color: var(--stamp); }
.check-row strong { display: block; font-size: 14.5px; font-weight: 600; }
.check-row small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; }
.review-form, .decision-form { margin-top: 20px; padding: 26px; }
.review-form .operation-toolbar, .decision-form .operation-toolbar { margin-bottom: 4px; }
.preflight .text-button { margin-top: 20px; }

.production-proof { padding: 24px; background: var(--paper-deep); border: 1px solid var(--rule); }
.proof-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.proof-sheet { max-width: 680px; min-height: 520px; margin: auto; padding: 48px 52px; background: #fff; box-shadow: 0 16px 34px -14px rgba(25, 28, 30, .35); }
.proof-sheet h2 { margin: 22px 0 10px; font-size: 38px; }
.proof-byline { color: var(--muted); font-size: 13.5px; }
.proof-sheet hr { border: 0; border-top: 1px solid var(--rule); margin: 26px 0; }
.proof-lead { font: 400 22px/1.4 var(--display); color: var(--ink); font-variation-settings: 'opsz' 40, 'SOFT' 60, 'WONK' 1; }
.proof-sheet p:not(.label):not(.proof-byline):not(.proof-lead):not(.proof-doi) { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.proof-doi { margin-top: 40px; color: var(--ballpoint); font: 400 11.5px/1.5 var(--mono); }

/* Credits */
.credits-list { margin: 0; padding: 0; list-style: none; max-width: 940px; border-top: 1px solid var(--ink); }
.credits-list li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.credits-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--rule); }
.credits-list strong { display: block; font-weight: 600; font-size: 15.5px; }
.credits-list span { display: block; color: var(--muted); font: 400 12.5px/1.6 var(--mono); }

/* Not found and toast */
.not-found { padding: clamp(80px, 12vw, 140px) 0; min-height: 480px; }
.not-found h1 { margin: 20px 0 30px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 60; max-width: 340px; padding: 14px 18px; background: var(--ink); color: var(--paper); border-left: 3px solid var(--ballpoint); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); opacity: 0; transform: translateY(12px); transition: .25s var(--ease); pointer-events: none; font-size: 14.5px; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.hero__copy > * { animation: rise .6s var(--ease) both; }
.hero__copy > :nth-child(2) { animation-delay: .06s; }
.hero__copy > :nth-child(3) { animation-delay: .12s; }
.hero__copy > :nth-child(4) { animation-delay: .18s; }
.hero__copy > :nth-child(5) { animation-delay: .24s; }
.hero__figure { animation: rise .7s var(--ease) both; }
.marginalia svg path { stroke-dasharray: 120; animation: draw .9s .5s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; }
  .article-header__inner { padding-left: 0; }
  .article-tools { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; position: static; }
  .contents-band ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .letter { grid-template-columns: 1fr; }
  .letter__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .letter__aside img { aspect-ratio: 4 / 3; }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 32px); }
  .notice__inner span:last-child { display: none; }
  .masthead__inner { height: 66px; }
  .wordmark { font-size: 26px; }
  .nav-toggle { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
  .nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; padding: 20px 16px 24px; background: var(--paper); border-bottom: 1px solid var(--ink); flex-direction: column; align-items: stretch; gap: 14px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); }
  .nav.is-open { display: flex; }
  .nav a { font-size: 17px; padding: 8px 0; }
  .nav__account { border: 0; padding-left: 0 !important; }
  .nav__submit { text-align: center; justify-content: center; }
  .hero { padding-top: 28px; }
  .hero__grid, .issue-callout__grid, .issue-header__grid, .subscribe__grid, .submit-layout, .page-hero__grid, .prose-grid, .community-grid, .policy-grid, .contact-grid, .auth-panel { grid-template-columns: 1fr; }
  .hero__grid { gap: 32px; }
  .hero__figure { order: 2; }
  .hero__figure .stamp { left: 10px; }
  .contents-band__inner { grid-template-columns: 1fr; gap: 12px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .article-grid--home { grid-template-columns: 1fr; }
  .entry--featured { border-bottom: 1px solid var(--rule); padding-bottom: 26px; margin-bottom: 0; }
  .article-grid--home > div .entry:first-child { padding-top: 26px; }
  .cover { width: min(100%, 340px); transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .library { grid-template-columns: 1fr; gap: 28px; }
  .filters { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
  .filters .label, .filter-link { grid-column: 1 / -1; }
  .issue-contents { grid-template-columns: 1fr; gap: 20px; }
  .article-layout { grid-template-columns: 1fr; padding: 40px 0 72px; gap: 28px; }
  .article-aside { position: static; order: 3; }
  .article-aside dl { display: grid; grid-template-columns: repeat(2, 1fr); }
  .article-body figure { margin: 32px 0; }
  .article-body blockquote .marginalia { right: 0; top: -30px; font-size: 20px; }
  .prose-grid h2, .policy-nav, .workspace-nav, .filters { position: static; }
  .values { grid-template-columns: 1fr; }
  .values article, .values article + article { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .workspace__layout, .operations-grid, .production-grid, .workspace-grid { grid-template-columns: 1fr; }
  .workspace-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .workspace-nav hr { grid-column: 1 / -1; }
  .workspace__header { align-items: flex-start; flex-direction: column; }
  .editorial-kanban { grid-template-columns: 1fr; }
  .operation-toolbar { align-items: flex-start; flex-direction: column; }
  .archive-row { grid-template-columns: 60px 1fr 34px; }
  .archive-row span:nth-child(3), .archive-row span:nth-child(4), .archive-row--head span:nth-child(3), .archive-row--head span:nth-child(4) { display: none; }
  .table-row { grid-template-columns: 1.5fr 1fr 34px; }
  .table-row span:nth-child(3), .table-head span:nth-child(3) { display: none; }
  .subscribe-form > div { flex-direction: column; align-items: stretch; }
  .proof-sheet { padding: 30px 26px; min-height: 420px; }
  .credits-list li { grid-template-columns: 100px 1fr; }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 24px); }
  h1 { font-size: 42px; }
  .hero__copy h1 { font-size: 44px; }
  .actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contents-band ol { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 1fr; gap: 14px; }
  .entry__media img { aspect-ratio: 16 / 10; }
  .letter__aside { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { margin-top: 40px; flex-direction: column; }
  .filters { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 36px; }
  .article-body { font-size: 17px; }
  .article-body > p:first-of-type { font-size: 19px; }
  .article-aside dl { grid-template-columns: 1fr; }
  .workspace-nav { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .task-row { grid-template-columns: 34px 1fr 34px; }
  .task-status { grid-column: 2; }
  .task-row .round-link { grid-column: 3; grid-row: 1; }
  .submission-form { padding: 20px; }
  .form-trail li { font-size: 10px; }
  .toast { right: 12px; left: 12px; max-width: none; }
  .running-head { margin-bottom: 26px; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  body::before, .notice, .masthead, .footer, .toast, .workspace__header .button, .preflight, .article-tools, .article-aside, .marginalia { display: none !important; }
  body { background: #fff; }
  .workspace, .production-page { background: #fff !important; padding: 0 !important; }
  .shell { width: 100% !important; }
  .production-proof { padding: 0 !important; background: #fff !important; border: 0; }
  .proof-sheet { max-width: none; box-shadow: none; min-height: 0; padding: 24mm 20mm; }
  .proof-sheet h2 { font-size: 30pt; }
  .proof-sheet p { font-size: 11pt !important; }
  .proof-sheet .proof-lead { font-size: 16pt !important; }
  .article-layout { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Background theme. data-bg="white" (default) or data-bg="paper" on <html>.
   -------------------------------------------------------------------------- */
:root[data-bg="white"] { --paper: #ffffff; --paper-deep: #f4f2ed; --sheet: #fbfaf7; --rule: #ddd8cc; --rule-strong: #a39c8b; }
:root[data-bg="white"] body::before { display: none; }
:root[data-bg="white"] .masthead { background: rgba(255, 255, 255, .95); }
:root[data-bg="white"] .nav { background: #fff; }
:root[data-bg="white"] .hero__figure img, :root[data-bg="white"] .entry__media img { background: #f4f2ed; }
:root[data-bg="white"] .sheet, :root[data-bg="white"] .metric-grid article, :root[data-bg="white"] .desk-list, :root[data-bg="white"] .activity-panel, :root[data-bg="white"] .timeline-panel, :root[data-bg="white"] .table-list, :root[data-bg="white"] .letter__sheet, :root[data-bg="white"] .submission-form, :root[data-bg="white"] .auth-panel, :root[data-bg="white"] .join-panel, :root[data-bg="white"] .contact-details, :root[data-bg="white"] .ai-assistant { box-shadow: 0 1px 0 rgba(25, 28, 30, .04), 0 12px 32px -20px rgba(25, 28, 30, .35); }
:root[data-bg="white"] .letter__sheet::before, :root[data-bg="white"] .submission-form::before, :root[data-bg="white"] .auth-panel::before, :root[data-bg="white"] .join-panel::before { background: #f4f2ed; }
:root[data-bg="white"] .contents-band, :root[data-bg="white"] .news-strip { background: #f7f5f0; }
:root[data-bg="white"] .keypoints, :root[data-bg="white"] .cite-box, :root[data-bg="white"] .summary-box { background: #fbfaf7; }
:root[data-bg="white"] .production-proof { background: #f4f2ed; }
:root[data-bg="white"] .art-figure__plate { border-color: #e6e2d8; }
:root[data-bg="white"] .art-table th { background: #f7f5f0; }
:root[data-bg="white"] .toast { background: #191c1e; }


/* --------------------------------------------------------------------------
   Density pass: tighter vertical rhythm, wider shell, smaller display sizes.
   -------------------------------------------------------------------------- */
.shell { width: min(1360px, calc(100% - 40px)); }
h1 { font-size: clamp(36px, 4.6vw, 62px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
.section { padding: clamp(40px, 5vw, 64px) 0; }
.section-heading { margin-bottom: 26px; padding-bottom: 12px; }
.hero { padding-top: 26px; }
.hero__grid { gap: clamp(24px, 4vw, 56px); }
.hero__copy .label { margin-bottom: 16px; }
.hero__copy h1 { margin-bottom: 16px; }
.contents-band { margin-top: 32px; }
.contents-band__inner { padding: 14px 0; }
.page-hero { padding: clamp(32px, 4vw, 52px) 0 clamp(24px, 3vw, 36px); }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { margin-bottom: 12px; }
.content { padding: clamp(28px, 4vw, 44px) 0 clamp(44px, 6vw, 72px); }
.issue-callout { padding: clamp(40px, 5vw, 64px) 0; }
.subscribe { padding: clamp(36px, 5vw, 56px) 0; }
.footer { padding: 44px 0 20px; }
.footer__bottom { margin-top: 36px; }
.auth-page { min-height: 0; padding: 40px 16px; }
.workspace { padding: 22px 0 56px; min-height: 0; }
.workspace__header { margin-bottom: 20px; padding-bottom: 14px; align-items: center; }
.workspace__header h1 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 6px; }
.workspace__header .eyebrow { margin: 0; }
.workspace__layout { grid-template-columns: 208px minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
.workspace-nav { top: 92px; gap: 1px; }
.workspace-nav a { padding: 7px 10px; font-size: 14px; }
.workspace-nav hr { margin: 6px 0; }
.workspace-nav .nav-group { display: block; margin: 12px 10px 4px; color: var(--muted); font: 500 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.workspace-nav .nav-group:first-child { margin-top: 0; }
.workspace-title { margin-bottom: 14px; }
.workspace-title h2 { font-size: clamp(24px, 2.4vw, 30px); }
.metric-grid { gap: 12px; }
.metric-grid article { min-height: 0; padding: 14px 16px; }
.metric-grid strong { font-size: 34px; margin: 8px 0 4px; }
.desk-list { margin-top: 12px; padding: 16px 18px; }
.task-row { padding: 10px 0; }
.submit-page { padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 6vw, 72px); }
.article-header { padding: 32px 0 40px; }
.article-layout { padding: 44px 0 80px; }
.letter__sheet { padding: clamp(22px, 3vw, 36px); }
.library { gap: clamp(24px, 4vw, 48px); }
.values { margin-top: clamp(32px, 5vw, 56px); }
.credits-list li, .archive-row, .issue-list__item { padding: 14px 0; }
@media (max-width: 850px) { .shell { width: calc(100% - 28px); } .workspace__header { align-items: flex-start; } .workspace-nav .nav-group { grid-column: 1 / -1; } }

/* Narrow viewports: the desk sidebar collapses above the content (kept after the density block so it wins). */
@media (max-width: 850px) { .workspace__layout { grid-template-columns: minmax(0, 1fr); } .workspace-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .file-list li { grid-template-columns: minmax(0, 1fr) auto; } .file-list li .kind { grid-column: 1 / -1; } }
@media (max-width: 520px) { .workspace-nav { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .workspace-nav { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 0; padding-bottom: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--rule); scrollbar-width: thin; } .workspace-nav .nav-group { display: none; } .workspace-nav a { white-space: nowrap; flex: 0 0 auto; padding: 8px 12px; border-left: 0; border-bottom: 2px solid transparent; } .workspace-nav a.is-active { border-bottom-color: var(--ballpoint); background: none; } }


/* Desk navigation as a horizontal band: the content column now uses the full width and no page is taller than its content. */
.workspace__layout { display: block; }
.workspace-nav { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; margin: 0 0 22px; padding: 0 0 6px; border-bottom: 1px solid var(--rule); }
.workspace-nav .nav-group { display: inline-block; margin: 0 4px 0 18px; }
.workspace-nav .nav-group:first-child { margin-left: 0; }
.workspace-nav a { padding: 6px 9px; border-left: 0; border-bottom: 2px solid transparent; font-size: 14px; }
.workspace-nav a:hover { background: none; }
.workspace-nav a.is-active { background: none; box-shadow: none; border-bottom-color: var(--ballpoint); }
.workspace-nav a span { margin-left: 2px; }
@media (max-width: 850px) { .workspace-nav { display: flex; } .workspace-nav .nav-group { display: inline-block; grid-column: auto; } }
@media (max-width: 520px) { .workspace-nav { flex-wrap: wrap; overflow: visible; } .workspace-nav .nav-group { display: none; } }

/* Page heroes with an at-a-glance column. */
.page-hero__split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.glance { padding: 18px 22px 16px; border: 1px solid var(--rule); background: var(--sheet); box-shadow: var(--shadow-sheet); }
.glance .label { margin: 0 0 8px; }
.glance .kv { border-top: 1px solid var(--ink); }
.glance .kv div { grid-template-columns: 110px minmax(0, 1fr); }
.glance .pill-row { margin-top: 4px; }
.pill { display: inline-block; padding: 5px 10px; margin: 0 6px 6px 0; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.pill:hover { border-color: var(--ballpoint); color: var(--ballpoint); }
@media (max-width: 850px) { .page-hero__split { grid-template-columns: 1fr; } }

/* Issue cards and online-first list. */
.issue-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.issue-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px; text-decoration: none; color: var(--ink); align-items: start; }
.issue-card img, .issue-card__cover { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--rule); }
.issue-card__cover { display: grid; align-content: end; gap: 2px; padding: 10px; background: var(--ink); color: var(--paper, #fff); }
.issue-card__cover span { font: 500 9px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: auto; }
.issue-card__cover b { font: 500 18px/1.1 var(--display); }
.issue-card h3 { margin: 4px 0 6px; font-size: 22px; }
.issue-card p { margin: 0 0 6px; font-size: 14px; color: var(--ink-soft); }
.issue-card .text-action { margin-top: 6px; }

/* AI story. */
.ai-band { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
.ai-band__n { display: block; margin-bottom: 10px; color: var(--ballpoint); font: 500 12px/1 var(--mono); letter-spacing: .14em; }
.ai-band h3 { margin: 0 0 8px; font-size: 24px; }
.ai-band p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.ai-card { padding: 24px; } .ai-card h3 { margin: 6px 0 10px; font-size: 24px; } .ai-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.ai-card--rules { background: var(--ink); color: var(--paper, #fff); } .ai-card--rules .label { color: var(--paper, #fff); opacity: .75; } .ai-card--rules .checklist-mini li { color: inherit; border-color: rgba(255,255,255,.18); } .ai-card--rules a { color: inherit; }
.footer__publisher { margin-top: 10px; font-size: 13px; opacity: .8; } .footer__publisher a { color: inherit; }
@media (max-width: 850px) { .ai-band { grid-template-columns: 1fr; } .issue-card { grid-template-columns: 96px minmax(0, 1fr); } }
.workspace-nav { flex-direction: row; }
.page-hero .glance p:not(.label), .glance .field-note { font: 400 14px/1.55 var(--text); color: var(--ink-soft); max-width: none; }
.glance .field-note a { color: var(--ballpoint); }
.issue-cards { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); }
.issue-card .label { margin-bottom: 4px; }
.ai-card--rules .checklist-mini li, .ai-card--rules .checklist-mini li.is-done { color: #fff; opacity: 1; text-decoration: none; } .ai-card--rules .checklist-mini li::before { color: #9fd0b5; }
