@import url('fonts/fonts.css');

/* ═══════════════════════════════════════════════════════════════════════════
   The Longform — an independent weekly newsletter

   A writer's page, set like a front page. Warm paper (#fcfbf9) with white as
   the raised surface, near-black ink, and one violet (#5b3bd4) that carries the
   buttons, the eyebrow numbers, the focus ring and nothing else.

   Two families, used for two jobs and never swapped. Instrument Serif is a
   display face — very tightly fitted, only convincing above about 30px — so it
   appears on the masthead, the section headings, the lead issue title, the drop
   cap, the ticker and the footer wordmark. Its italic is the page's single
   flourish: three words in the <h1> and one pull line in the author section.
   Everything else — body, meta, labels, figures, interface — is Hanken Grotesk.

   Separation is a hairline rule or a shift of ground. There is one drop shadow
   on the page, under the hero pill. Order of the file: tokens, reset, shared
   primitives, then components in page order, then breakpoints, then the
   reduced-motion block.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* grounds — paper, then white as the raised surface */
  --ground: #fcfbf9;
  --surface: #ffffff;
  --surface-2: #f3f1ec;

  /* ink */
  --ink: #16151a;
  --ink-2: #35333d;
  --muted: #5d5b66;

  /* rules */
  --line: #e3e0d8;
  --line-strong: #cbc6ba;

  /* the one hue */
  --accent: #5b3bd4;
  --accent-deep: #4529b0;
  --accent-tint: #efecfd;
  --accent-tint-2: #dcd5f8;

  /* error */
  --danger: #9d1f28;

  /* type scale — hero, front-page lead, section, card, body, micro */
  --t-hero: clamp(2.6rem, 1.2rem + 6vw, 6rem);
  --t-lead: clamp(2.05rem, 1.1rem + 3.9vw, 4.25rem);
  --t-sec: clamp(1.9rem, 1.2rem + 2.6vw, 3.25rem);
  --t-card: clamp(1.05rem, .98rem + .35vw, 1.3rem);
  --t-body: clamp(.95rem, .92rem + .18vw, 1.0625rem);
  --t-micro: .75rem;

  --display: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  /* rhythm */
  --shell: 74rem;
  --gutter: clamp(1.15rem, 5vw, 2rem);
  --section-y: clamp(3.25rem, 1.4rem + 6.2vw, 7.5rem);

  --r-sm: 4px;
  --r-md: 8px;
  --r-pill: 999px;

  /* one elevation, and it belongs to the hero pill */
  --shadow-1: 0 1px 2px rgba(22, 21, 26, .05), 0 10px 26px -18px rgba(22, 21, 26, .45);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  background: var(--ground);
  scrollbar-color: var(--line-strong) var(--surface-2);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  font-size: var(--t-body);
  line-height: 1.62;
  font-weight: 400;
  caret-color: var(--accent);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-weight: 400; }

h1 {
  font-family: var(--display);
  font-size: var(--t-hero);
  line-height: .96;
  letter-spacing: -.014em;
  text-wrap: balance;
  max-width: 16ch;
}
h1 em { font-style: italic; }

h2 {
  font-family: var(--display);
  font-size: var(--t-sec);
  line-height: 1.04;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
blockquote { margin: 0; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }

::selection { background: var(--accent-tint-2); color: var(--ink); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 3px solid var(--surface-2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #b4ad9d; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 1rem; top: 1rem; z-index: 90;
  padding: .7rem 1.1rem; border-radius: var(--r-sm);
  background: var(--accent); color: #fff; font-weight: 500; text-decoration: none;
  transform: translateY(-260%);
  transition: transform 160ms ease-out;
}
.skip:focus { transform: none; }

/* ── shared primitives ─────────────────────────────────────────────────── */
.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

.icon { width: 1.15rem; height: 1.15rem; flex: none; display: block; }
.icon-sm { width: .9375rem; height: .9375rem; }

.section { padding-block: var(--section-y); border-top: 1px solid var(--line); }

.section-intro {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* the numbered eyebrow, with the rule running out to the right of it */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-num { color: var(--accent); }
.eyebrow::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.004em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { padding: .55rem 1.05rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .22rem;
  border-bottom: 1px solid var(--accent-tint-2);
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow:hover { border-bottom-color: var(--accent); }
.link-arrow .icon { transition: transform 220ms var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.side-title {
  margin-bottom: .9rem;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* scroll entrance — guarded behind .js so the page is complete without it */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 460ms var(--ease), transform 460ms var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ── header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 251, 249, .82);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease-out;
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-right: auto;
  text-decoration: none;
}
.brand-name {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.008em;
  color: var(--ink);
}
.brand-issue {
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.nav a {
  position: relative;
  padding: .35rem 0;
  font-size: .9375rem;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 180ms ease-out;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .75rem; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-icon-close { display: block; }

.nav-panel {
  display: none;
  padding: .5rem var(--gutter) 1.75rem;
  border-top: 1px solid var(--line);
  background: var(--ground);
}
.nav-panel nav { display: flex; flex-direction: column; }
.nav-panel nav a {
  padding: .95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}
.nav-panel .btn-block { margin-top: 1.25rem; }
.nav-panel-note {
  margin-top: .9rem;
  font-size: var(--t-micro);
  letter-spacing: .06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ── hero — the masthead ───────────────────────────────────────────────── */
.hero { padding-block: clamp(3rem, 1.4rem + 6vw, 7rem) clamp(3rem, 1.4rem + 5vw, 6rem); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  padding: .42rem .95rem .42rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: var(--ink-2);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.pill-dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pill-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .2;
  animation: pulse 2.8s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(.6); opacity: .35; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.standfirst {
  max-width: 58ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink-2);
  font-size: clamp(1.0625rem, .98rem + .55vw, 1.375rem);
  line-height: 1.56;
  text-wrap: pretty;
}

/* ── the subscribe form, shared by the hero and the closing section ────── */
.signup { margin-top: clamp(2rem, 4vw, 2.75rem); }
.signup-inline { max-width: 38rem; }
.signup-label {
  display: block;
  margin-bottom: .6rem;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.signup-row { display: flex; gap: .6rem; }
.signup-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: .78rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 180ms ease-out;
}
.signup-input::placeholder { color: var(--muted); }
.signup-input:hover { border-color: var(--ink-2); }
.signup-input[aria-invalid="true"] { border-color: var(--danger); }
.signup-error {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .7rem;
  color: var(--danger);
  font-size: .875rem;
  line-height: 1.45;
}
.signup-note {
  margin-top: .85rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}
.signup-status { margin-top: .5rem; color: var(--danger); font-size: .875rem; }
.signup-done {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--accent-tint-2);
  border-radius: var(--r-md);
  background: var(--accent-tint);
  max-width: 34rem;
}
.signup-done .icon { color: var(--accent); margin-bottom: .55rem; }
.signup-done-title { font-weight: 600; color: var(--ink); }
.signup-done-body { margin-top: .3rem; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }

/* the closing form: stacked, larger, on its own line */
.signup-stack .signup-row { flex-direction: column; gap: .75rem; max-width: 32rem; }
.signup-stack .signup-input { padding: 1rem 1.15rem; font-size: 1.0625rem; }
.signup-stack .signup-label { font-size: .8125rem; }

/* ── the hero stat row ─────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.75rem, 5vw, 4.5rem);
  border-top: 1px solid var(--ink);
}
.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: .3rem;
  padding: 1.15rem 1.25rem 0 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; padding-right: 0; }
.stat dt {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.stat dd {
  font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.028em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ── latest issue — the front-page lead ────────────────────────────────── */
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.lead-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.1rem;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.lead-title {
  font-size: var(--t-lead);
  line-height: .99;
  letter-spacing: -.016em;
  max-width: 17ch;
}
.lead-body {
  max-width: 62ch;
  margin-top: 1.35rem;
  color: var(--ink-2);
  font-size: clamp(1rem, .96rem + .3vw, 1.125rem);
  line-height: 1.68;
  text-wrap: pretty;
}
.lead-body-first::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.7em;
  line-height: .74;
  padding: .06em .1em 0 0;
  color: var(--ink);
}
.lead-main .link-arrow { margin-top: 1.9rem; }

.lead-side { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.side-list li { border-top: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 1px solid var(--line); }
.side-list a {
  display: grid;
  gap: .3rem;
  padding: .95rem .25rem;
  text-decoration: none;
  transition: background-color 180ms ease-out;
}
.side-list a:hover { background: var(--surface); }
.side-meta {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.side-name {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.008em;
}
.side-time { font-size: var(--t-micro); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.side-foot { margin-top: 1.1rem; color: var(--muted); font-size: .875rem; line-height: 1.55; }

/* ── archive — the ruled index ─────────────────────────────────────────── */
.index-head { display: grid; gap: 1.1rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }

.filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .45rem .95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font-size: .875rem;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.filter-count {
  margin-top: 1.1rem;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.index { margin-top: 1.25rem; border-top: 1px solid var(--ink); }
.index-row { border-bottom: 1px solid var(--line); }
.index-link {
  display: grid;
  grid-template-columns: 3.25rem 7.25rem minmax(0, 1fr) 8.5rem 4rem;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem .5rem;
  text-decoration: none;
  transition: background-color 180ms ease-out;
}
.index-link:hover { background: var(--surface); }
.index-no {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.index-date {
  font-size: var(--t-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.index-title {
  font-size: clamp(1rem, .96rem + .25vw, 1.125rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: pretty;
  transition: color 180ms ease-out;
}
.index-link:hover .index-title { color: var(--accent); }
.index-topic {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.index-time {
  font-size: var(--t-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.index-empty {
  padding: 2rem .5rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  max-width: 50ch;
}
.index-foot { margin-top: 1.4rem; color: var(--muted); font-size: .9375rem; max-width: 46ch; }

/* ── topics — the ticker ───────────────────────────────────────────────── */
.section-topics { background: var(--surface-2); }
.topics-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  flex: 0 0 auto;
  align-items: baseline;
  padding: 1.15rem 0;
  animation: ticker 52s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding-right: 3.1rem;
  white-space: nowrap;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1.1;
  letter-spacing: -.008em;
  color: var(--ink);
}
.marquee-track li::after {
  content: '';
  position: absolute;
  right: 1.4rem;
  top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  background: var(--accent);
  transform: rotate(45deg);
}
.marquee-no {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.tally {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-strong);
}
.tally li {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 1rem 0 0;
  border-right: 1px solid var(--line);
}
.tally li:last-child { border-right: 0; }
.tally-name { font-size: 1rem; font-weight: 500; color: var(--ink); letter-spacing: -.008em; }
.tally-count {
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ── the writer ────────────────────────────────────────────────────────── */
.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.pullquote {
  max-width: 25ch;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1.5rem, 3vw, 2rem);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  color: var(--accent);
  text-wrap: balance;
}
.author-body {
  max-width: 60ch;
  margin-top: 1.15rem;
  color: var(--ink-2);
  font-size: clamp(1rem, .96rem + .3vw, 1.125rem);
  line-height: 1.68;
  text-wrap: pretty;
}
.author-sig {
  display: flex;
  align-items: center;
  gap: .95rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.avatar {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.author-id { display: grid; gap: .15rem; }
.author-name { font-weight: 600; color: var(--ink); letter-spacing: -.008em; }
.author-role { font-size: .875rem; color: var(--muted); line-height: 1.45; }

.author-side { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
.ruled-list { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--line); }
.ruled-list:last-child { margin-bottom: 0; }
.ruled-list li {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: .85rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
}
.ruled-key {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: .18rem;
}
.ruled-val { font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }

/* ── subscriber quotes ─────────────────────────────────────────────────── */
.quotes-head { display: grid; gap: 1.1rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote {
  border-top: 1px solid var(--line-strong);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1.4rem, 3vw, 2.5rem) clamp(1.4rem, 3vw, 2.1rem) 0;
}
.quote p {
  font-size: var(--t-card);
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-by {
  display: grid;
  gap: .12rem;
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.quote-name { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.quote-role { font-size: .8125rem; color: var(--muted); line-height: 1.45; }

/* ── membership ────────────────────────────────────────────────────────── */
.section-membership { background: var(--surface-2); }
.plans-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.plan {
  display: flex;
  flex-direction: column;
  padding-top: 1.5rem;
  border-top: 2px solid var(--line-strong);
}
.plan-member { border-top-color: var(--accent); }
.plan-label {
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; margin-top: .85rem; }
.plan-figure {
  font-size: clamp(2.4rem, 1.4rem + 3vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.plan-per { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-for { max-width: 40ch; margin-top: 1rem; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.plan-list { margin: 1.5rem 0 1.9rem; border-top: 1px solid var(--line); }
.plan-list li {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: .7rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--ink-2);
}
.plan-list .icon { color: var(--accent); margin-top: .28rem; }
.plan .btn-block { margin-top: auto; }
.plan-foot {
  margin-top: .9rem;
  font-size: var(--t-micro);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.plans-foot {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.plans-note {
  max-width: 62ch;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.6;
}

/* ── subscribe ─────────────────────────────────────────────────────────── */
.subscribe-copy {
  max-width: 58ch;
  margin-top: clamp(1.25rem, 2.5vw, 1.9rem);
  color: var(--ink-2);
  font-size: clamp(1rem, .96rem + .35vw, 1.1875rem);
  line-height: 1.66;
  text-wrap: pretty;
}
.subscribe-fine {
  max-width: 62ch;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}
.subscribe-fine em { font-style: italic; color: var(--ink-2); }

/* ── footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 1.4rem + 5vw, 5.5rem);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.footer-col h2 {
  margin-bottom: 1rem;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a {
  font-size: .9375rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease-out;
}
.footer-col a:hover { color: var(--accent); text-decoration: underline; }

.year-list li { border-bottom: 1px solid var(--line); }
.year-list a { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; }
.year-count { font-size: var(--t-micro); letter-spacing: .08em; text-transform: uppercase; }

.footer-mail { display: inline-flex; align-items: center; gap: .45rem; }
.footer-address { font-size: .875rem; line-height: 1.65; color: var(--muted); }

.footer-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.25rem;
  font-size: var(--t-micro);
  letter-spacing: .06em;
  color: var(--muted);
}
.footer-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-legal a { color: var(--muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent); text-decoration: underline; }

.footer-wordmark {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0 var(--gutter);
  font-family: var(--display);
  font-size: clamp(2.2rem, 11vw, 8.5rem);
  line-height: .96;
  letter-spacing: .03em;
  text-align: center;
  white-space: nowrap;
  color: var(--line-strong);
  user-select: none;
}

/* ── breakpoints ───────────────────────────────────────────────────────── */
@media (min-width: 52rem) {
  .plan-member { border-left: 1px solid var(--line); padding-left: clamp(1.75rem, 3.5vw, 3rem); }
}

@media (max-width: 64rem) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index-link { grid-template-columns: 3rem 6.5rem minmax(0, 1fr) 4rem; gap: 1rem; }
  .index-topic { display: none; }
  .tally { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tally li:nth-child(3) { border-right: 0; }
  .tally li:nth-child(n+4) { border-top: 1px solid var(--line); margin-top: -1px; }
}

@media (max-width: 62rem) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-panel { display: block; }
  .header-signin { display: none; }
}

@media (max-width: 56rem) {
  .lead-grid { grid-template-columns: minmax(0, 1fr); }
  .lead-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: clamp(1.75rem, 4vw, 2.5rem); }
  .author-grid { grid-template-columns: minmax(0, 1fr); }
  .author-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-strong); padding-top: clamp(1.75rem, 4vw, 2.5rem); }
  .quote-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
  .stat:nth-child(even) { border-right: 0; padding-right: 0; }
  .stat:nth-child(n+3) { padding-bottom: 0; border-bottom: 0; }
}

@media (max-width: 46rem) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tally li:nth-child(3) { border-right: 1px solid var(--line); }
  .tally li:nth-child(even) { border-right: 0; }
  .tally li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: -1px; }

  .index-link {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
    grid-template-areas:
      "no date time"
      "no title title"
      "no topic topic";
    gap: .35rem .9rem;
    padding: 1rem .25rem;
    align-items: start;
  }
  .index-no { grid-area: no; }
  .index-date { grid-area: date; }
  .index-title { grid-area: title; }
  .index-topic { grid-area: topic; display: block; margin-top: .25rem; color: var(--accent); }
  .index-time { grid-area: time; text-align: right; }

  .marquee-track li { font-size: 1.5rem; padding-right: 2.4rem; }
  .signup-inline .signup-row { flex-direction: column; }
  .signup-inline .btn { width: 100%; }
}

@media (max-width: 30rem) {
  .footer-years, .footer-contact { grid-column: 1 / -1; }
  .header-row { gap: .85rem; }
  .brand { gap: .45rem; }
}

@media (max-width: 23rem) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-issue { display: none; }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; padding-right: 0; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ── reduced motion — lands on a complete, static page ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .pill-dot::after { animation: none; opacity: .2; }
  .marquee { overflow-x: auto; overflow-y: hidden; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .link-arrow .icon { transition: none; }
}
