/* ==========================================================================
   1859 — site stylesheet
   An editorial system for a drug-discovery company: warm paper, deep ink,
   a single medicinal green, and type that carries the hierarchy.
   ========================================================================== */

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --paper:        #FCFBF9;
  --paper-2:      #F4F3EE;
  --paper-3:      #EDEBE4;
  --ink:          #0F1512;
  --ink-2:        #3A423D;
  --muted:        #6C746E;
  --faint:        #9AA19B;
  --line:         #E2E0D8;
  --line-strong:  #CBC8BE;
  --accent:       #0E5C4A;
  --accent-2:     #0B7A61;
  --accent-soft:  #E8F1EE;
  --signal:       #B4622A;
  --dark:         #0C1210;
  --dark-2:       #131A17;
  --dark-line:    #26302B;
  --dark-muted:   #97A29C;
  --dark-accent:  #5FBF9E;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --shell: 1220px;
  --gutter: 28px;
  --section-y: 116px;
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "tnum" 0;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
table { border-collapse: collapse; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }

.u-visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; }
.skip-link:focus { left: 12px; top: 12px; }

.shell { width: min(var(--shell), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.shell--narrow { width: min(880px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px;
}
.eyebrow--light { color: var(--dark-accent); }
.eyebrow--muted { color: var(--faint); }

.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.032em;
  line-height: 1.04; margin: 0 0 26px;
}
.display--hero { font-size: clamp(2.5rem, 6vw, 4.6rem); }
.display--page { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.08; }
.display--section { font-size: clamp(1.7rem, 3.1vw, 2.6rem); line-height: 1.12; margin-bottom: 18px; }
.lede { font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.62; color: var(--ink-2); max-width: 52ch; }
.lede--light { color: #B9C3BE; }
.body-text { font-size: 1.02rem; line-height: 1.72; color: var(--ink-2); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: var(--radius);
  padding: 12px 21px; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn--lg { padding: 15px 27px; font-size: 0.95rem; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: #232D28; transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(15, 21, 18, .04); }
.btn--text { padding: 0; color: var(--accent); font-weight: 500; }
.btn--text:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Masthead ─────────────────────────────────────────────────────────── */
.announce { position: relative; background: var(--ink); color: #E6EAE7; font-size: 0.83rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 0; }
.announce p { margin: 0; display: flex; align-items: center; gap: 10px; }
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dark-accent); flex: none; }
.announce__close { position: absolute; right: var(--gutter); background: none; border: 0; color: #7F8A85; font-size: 1.15rem; line-height: 1; cursor: pointer; padding: 4px 6px; }
.announce__close:hover { color: #fff; }
.announce.is-hidden { display: none; }

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--line); }
.masthead__inner { display: flex; align-items: center; gap: 34px; padding: 16px 0; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark__mark { color: var(--accent); }
.wordmark__text {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1;
  font-weight: 500;
}
.wordmark__sub {
  font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--faint); display: block; margin-top: 2px;
}
.wordmark--footer .wordmark__text { font-size: 1.34rem; }

.nav { display: flex; gap: 26px; margin-left: 10px; }
.nav a { font-size: 0.9rem; color: var(--ink-2); padding: 4px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .22s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--ink); }

.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: none; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s var(--ease), background .2s var(--ease); }
.menu-toggle__bars::before { content: ""; position: absolute; top: -5px; }
.menu-toggle__bars::after { content: ""; position: absolute; top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav nav { display: grid; padding: 12px 0 20px; }
.mobile-nav a { padding: 12px 0; font-size: 1.02rem; border-bottom: 1px solid var(--line); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(60px, 9vw, 120px) 0 0; }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 72px; align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 8px; }
.hero__note { margin-top: 26px; font-size: 0.88rem; color: var(--muted); }

/* pipeline figure */
.pipeline { border: 1px solid var(--line); background: var(--paper-2); padding: 26px; border-radius: var(--radius); }
.pipeline__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.pipeline__title { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.pipeline__rate { font-family: var(--mono); font-size: 0.82rem; color: var(--accent); }
.pipeline__steps { display: grid; gap: 0; }
.pipeline__step { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.pipeline__step:last-child { border-bottom: 1px solid var(--line); }
.pipeline__icon { color: var(--accent); }
.pipeline__label { font-size: 0.92rem; }
.pipeline__value { font-family: var(--mono); font-size: 0.82rem; color: var(--ink); }
.pipeline__foot { margin: 18px 0 0; font-size: 0.82rem; color: var(--muted); }

/* ── Stat bar ─────────────────────────────────────────────────────────── */
.statbar { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statbar__item { padding: 28px 26px; border-right: 1px solid var(--line); }
.statbar__item:first-child { padding-left: 0; }
.statbar__item:last-child { border-right: 0; }
.statbar dt { font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.statbar dd { margin: 0; font-family: var(--serif); font-size: 1.85rem; letter-spacing: -0.02em; line-height: 1; }
.statbar__unit { font-family: var(--sans); font-size: 0.82rem; color: var(--muted); margin-left: 4px; letter-spacing: 0; }

/* ── Partner row ──────────────────────────────────────────────────────── */
.partners { padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.partners__label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--faint); margin: 0 0 22px; }
.partners__row { display: flex; flex-wrap: wrap; gap: 20px 50px; }
.partners__row li { font-size: 1rem; font-weight: 500; letter-spacing: -0.012em; color: var(--muted); transition: color .2s var(--ease); }
.partners__row li:hover { color: var(--ink); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section--bordered { border-bottom: 1px solid var(--line); }
.section--tint { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--dark); color: #E4E9E6; }
.section--dark .display { color: #fff; }
.section__head { max-width: 64ch; margin-bottom: 60px; }
.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }

/* ── Numbered steps ───────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--paper); padding: 36px 32px 32px; }
.step__num { font-family: var(--mono); font-size: 0.76rem; color: var(--accent); letter-spacing: 0.06em; display: block; margin-bottom: 16px; }
.step__title { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.018em; margin: 0 0 12px; }
.step__body { font-size: 0.95rem; color: var(--ink-2); margin: 0 0 16px; }
.step__metric { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }

/* ── Two-column feature ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 68px; align-items: start; }
.split--reverse { grid-template-columns: 1.1fr 0.9fr; }
.checklist { display: grid; gap: 13px; margin: 24px 0 0; }
.checklist li { position: relative; padding-left: 26px; font-size: 0.98rem; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.52em; width: 11px; height: 6px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist--light li { color: #B9C3BE; }
.checklist--light li::before { border-color: var(--dark-accent); }

/* ── Data figure ──────────────────────────────────────────────────────── */
.figure { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 24px 24px 18px; }
.figure--dark { background: var(--dark-2); border-color: var(--dark-line); }
.figure__title { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.figure--dark .figure__title { color: var(--dark-muted); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; align-items: end; height: 132px; }
.bars i { display: block; border-radius: 1px 1px 0 0; background: var(--accent); opacity: .85; }
.bars i:nth-child(4n) { background: var(--accent-2); opacity: 1; }
.figure__caption { margin: 16px 0 0; font-size: 0.8rem; color: var(--muted); }
.figure--dark .figure__caption { color: var(--dark-muted); }

/* ── Tables ───────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; min-width: 640px; font-size: 0.94rem; }
.table th, .table td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.table thead th { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--paper-2); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--paper-2); }
.table tbody th { font-weight: 500; }
.table code { font-family: var(--mono); font-size: 0.86em; color: var(--accent); }
.stage {
  display: inline-block; font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--muted);
}
.stage--lead { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.stage--pre { border-color: var(--signal); color: var(--signal); background: #FBF0E7; }

/* ── Dark section table ───────────────────────────────────────────────── */
.section--dark .table-wrap { border-color: var(--dark-line); }
.section--dark .table th, .section--dark .table td { border-bottom-color: var(--dark-line); }
.section--dark .table thead th { background: var(--dark-2); color: var(--dark-muted); }
.section--dark .table tbody tr:hover { background: rgba(255, 255, 255, .03); }

/* ── Publications ─────────────────────────────────────────────────────── */
.pubs { border-top: 1px solid var(--line-strong); }
.pub { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pub__year { font-family: var(--mono); font-size: 0.82rem; color: var(--faint); padding-top: 3px; }
.pub__title { font-size: 1.06rem; font-weight: 500; letter-spacing: -0.014em; margin: 0 0 6px; }
.pub__authors { font-size: 0.88rem; color: var(--muted); margin: 0 0 6px; }
.pub__venue { font-size: 0.86rem; color: var(--ink-2); margin: 0; }
.pub__links { display: flex; gap: 16px; margin-top: 10px; font-size: 0.86rem; }
.pub__links a { color: var(--accent); }
.pub__links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── News list ────────────────────────────────────────────────────────── */
.news { border-top: 1px solid var(--line-strong); }
.news__item { display: grid; grid-template-columns: 130px 1fr auto; gap: 26px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news__date { font-family: var(--mono); font-size: 0.8rem; color: var(--faint); }
.news__title { font-size: 1.04rem; font-weight: 500; letter-spacing: -0.014em; }
.news__source { font-size: 0.86rem; color: var(--muted); }
.news__item:hover .news__title { color: var(--accent); }

/* ── People ───────────────────────────────────────────────────────────── */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.person { background: var(--paper); padding: 26px 24px; }
.person__name { font-size: 1rem; font-weight: 500; letter-spacing: -0.012em; margin: 0 0 3px; }
.person__role { font-size: 0.86rem; color: var(--accent); margin: 0 0 10px; }
.person__bio { font-size: 0.88rem; color: var(--ink-2); margin: 0; }
.person__initials {
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center; font-size: 0.86rem;
  font-weight: 600; letter-spacing: 0.03em; margin-bottom: 16px;
}

/* ── Quote ────────────────────────────────────────────────────────────── */
.quote { padding: clamp(70px, 9vw, 112px) 0; border-bottom: 1px solid var(--line); }
.quote__block { margin: 0; max-width: 48ch; }
.quote__block p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.28; letter-spacing: -0.028em; margin: 0 0 26px; }
.quote__by { display: flex; flex-direction: column; gap: 2px; font-size: 0.92rem; }
.quote__name { font-weight: 500; }
.quote__role { color: var(--muted); }

/* ── Openings ─────────────────────────────────────────────────────────── */
.opening { border-bottom: 1px solid var(--line); padding: 26px 0; }
.opening__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.opening__title { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.016em; margin: 0; }
.opening__team { font-size: 0.86rem; color: var(--accent); }
.opening__meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 8px 0 0; font-size: 0.86rem; color: var(--faint); }
.opening__body { margin: 14px 0 0; font-size: 0.96rem; color: var(--ink-2); max-width: 70ch; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.field { display: grid; gap: 7px; margin-bottom: 22px; }
.field label { font-size: 0.82rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--radius); background: #fff; font-size: 0.96rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.9rem; color: var(--accent); margin-top: 14px; }

/* ── Signup strip ─────────────────────────────────────────────────────── */
.signup { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 68px 0; }
.signup__inner { display: grid; grid-template-columns: 1fr auto; gap: 26px 48px; align-items: center; }
.signup__title { font-family: var(--serif); font-size: clamp(1.55rem, 2.5vw, 2rem); font-weight: 400; letter-spacing: -0.026em; margin: 0 0 8px; }
.signup__lede { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 50ch; }
.signup__form { display: flex; gap: 10px; }
.signup__form input { width: 320px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; }
.signup__form input:focus { outline: none; border-color: var(--accent); }
.signup__note { grid-column: 1 / -1; margin: 0; font-size: 0.9rem; color: var(--accent); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { padding: 72px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.15fr 2.35fr; gap: 56px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.footer__blurb { color: var(--muted); font-size: 0.94rem; max-width: 32ch; margin: 16px 0 20px; }
.footer__address { font-style: normal; font-size: 0.88rem; color: var(--faint); line-height: 1.7; }
.footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; margin: 0 0 4px; }
.footer__col a { font-size: 0.9rem; color: var(--muted); }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; font-size: 0.84rem; color: var(--faint); }
.footer__bottom p { margin: 0; }
.footer__social { display: flex; gap: 20px; }
.footer__social a { color: var(--muted); }
.footer__social a:hover { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.82rem; color: var(--faint); }
.footer__legal a:hover { color: var(--ink); }

/* ── Reveal ───────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Inner-page helpers ───────────────────────────────────────────────── */
.page-head { padding: clamp(56px, 7.5vw, 100px) 0 clamp(38px, 4.5vw, 60px); border-bottom: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; padding: var(--section-y) 0; }
.toc { position: sticky; top: 96px; align-self: start; }
.toc__title { font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; font-weight: 600; }
.toc ul { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 0.9rem; color: var(--muted); transition: color .18s var(--ease), border-color .18s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--accent); }

.prose { max-width: 74ch; }
.prose__section { padding-bottom: 62px; margin-bottom: 62px; border-bottom: 1px solid var(--line); }
.prose__section:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.55rem, 2.6vw, 2.05rem); font-weight: 400; letter-spacing: -0.026em; line-height: 1.16; margin: 0 0 20px; }
.prose h3 { font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin: 36px 0 14px; }
.prose p { font-size: 1.02rem; line-height: 1.72; color: var(--ink-2); }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: 0.86em; background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px; padding: 1px 6px; }
.prose__note { font-size: 0.9rem; color: var(--faint); }

.legal { max-width: 78ch; padding: var(--section-y) 0; }
.legal h2 { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: -0.022em; margin: 44px 0 14px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 0.99rem; line-height: 1.72; color: var(--ink-2); }
.legal ul { display: grid; gap: 8px; margin: 0 0 1.1em; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: "—"; position: absolute; left: 0; color: var(--faint); }
.legal__meta { font-size: 0.88rem; color: var(--faint); }
.legal a { color: var(--accent); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .split, .split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar__item:nth-child(2n) { border-right: 0; }
  .statbar__item:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .statbar__item:nth-child(2n + 1) { padding-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .layout { grid-template-columns: 1fr; gap: 36px; }
  .toc { position: static; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 6px 18px; border-left: 0; }
  .toc a { padding: 4px 0; border-left: 0; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .news__item { grid-template-columns: 110px 1fr; }
  .news__source { grid-column: 2; }
}
@media (max-width: 900px) {
  :root { --section-y: 80px; --gutter: 22px; }
  .nav, .masthead__actions .btn--ghost { display: none; }
  .menu-toggle { display: flex; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .signup__inner { grid-template-columns: 1fr; }
  .signup__form input { width: 100%; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .pub { grid-template-columns: 1fr; gap: 8px; }
  .pub__year { padding-top: 0; }
}
@media (max-width: 620px) {
  .announce__inner { justify-content: flex-start; padding-right: 34px; }
  .announce p { font-size: 0.78rem; }
  .btn--lg { width: 100%; }
  .statbar { grid-template-columns: 1fr; }
  .statbar__item { border-right: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .statbar__item:first-child { border-top: 0; }
  .people { grid-template-columns: 1fr; }
  .section__head--split { flex-direction: column; align-items: flex-start; }
  .opening__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .bars { height: 104px; }
}

/* ── Contact layout ───────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 72px; }
@media (max-width: 1080px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Brand assets ─────────────────────────────────────────────────────── */
.brand-logo { display: block; width: auto; }
.brand-logo--header { height: 30px; width: auto; opacity: .92; }
.brand-logo--footer { height: 62px; width: auto; }

/* ── Figures holding illustrations ────────────────────────────────────── */
.figure img { width: 100%; height: auto; display: block; border-radius: 2px; }
.figure--wide { padding: 0; border: 0; background: none; }
.figure--wide img { border: 1px solid var(--line); background: var(--paper); }
.figure--dark img { border-color: var(--dark-line); }

/* accent drawn from the company's own cover artwork */
:root { --brand: #5464EF; --brand-soft: #EEF0FE; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: #4352D8; transform: translateY(-1px); }
.nav a::after { background: var(--brand); }
.footer__col a:hover, .toc a:hover { color: var(--brand); }
.toc a.is-active { border-left-color: var(--brand); }
.eyebrow { color: var(--brand); }
