/* ==========================================================================
   Vox Populi — design system
   Neo-brutalist editorial: thick navy borders, offset shadows, bright fills.
   ========================================================================== */

:root {
  /* Professional palette: a deep anchor (ink + royal blue) with bright pops used sparingly */
  --navy: #16132B;          /* ink: text, borders, shadows, footer, explainers band */
  --blue: #2F3BD0;          /* royal blue: home hero, primary buttons */
  --yellow: #FFC83D;        /* sunflower: highlights, CTAs, Explainers category */
  --pink: #FF7F6E;          /* coral: Criminal category, small accents (token name kept for compatibility) */
  --mint: #3FCFA5;          /* Tech & Privacy, newsletter */
  --lime: #A6DB6A;          /* Environment */
  --periwinkle: #A9B2FF;    /* Constitutional */
  --orange: #FF9A4D;        /* Opinion label */
  --lavender: #F3F2F9;      /* content-section background */
  --rose: #F7A8C8;          /* Human Rights */
  --sky: #8FD1FA;           /* International Law */
  --sand: #F5C77E;          /* Intellectual Property */
  --lilac: #D3B8FF;         /* Corporate */
  --white: #FFFFFF;

  --ink: var(--navy);
  --ink-soft: #46435E;
  --error: #B0003A;
  --success-bg: #DDFBF1;

  --radius: 12px;
  --radius-sm: 10px;
  --bw: 2px;
  --border: var(--bw) solid var(--navy);
  --shadow: 4px 4px 0 var(--navy);
  --shadow-hover: 7px 7px 0 var(--navy);
  --shadow-btn: 3px 3px 0 var(--navy);
  --shadow-btn-hover: 5px 5px 0 var(--navy);
  --shadow-sm: 2px 2px 0 var(--navy);

  --font-display: 'Newsreader', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }

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

.sr-only {
  position: absolute !important; 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: 16px; top: -60px; z-index: 100;
  background: var(--yellow); border: var(--border); border-radius: 999px;
  padding: 10px 18px; font-weight: 700; box-shadow: var(--shadow-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-lavender { background: var(--lavender); }
.bg-yellow { background: var(--yellow); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-pink { background: var(--pink); }
.bg-mint { background: var(--mint); }
.bg-navy { background: var(--navy); color: var(--white); }
.rule-top { border-top: var(--border); }
.rule-bottom { border-bottom: var(--border); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 10px 24px;
  border: var(--border); border-radius: 999px;
  background: var(--white); color: var(--navy);
  font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  box-shadow: var(--shadow-btn);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background-color .16s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-btn-hover); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); box-shadow: 4px 4px 0 var(--white), 4px 4px 0 2px var(--navy); }
.bg-yellow .btn-dark, .bg-pink .btn-dark, .bg-mint .btn-dark { box-shadow: var(--shadow-btn); }
.bg-yellow .btn-dark:hover, .bg-pink .btn-dark:hover, .bg-mint .btn-dark:hover { box-shadow: var(--shadow-btn-hover); }
.btn-dark:hover { box-shadow: 6px 6px 0 var(--white), 6px 6px 0 2px var(--navy); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-yellow { background: var(--yellow); }
.btn-pink { background: var(--pink); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 12px 30px; font-size: 17px; }
.btn .arrow { transition: transform .16s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Pills / tags / chips ────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border: var(--border); border-radius: 999px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  line-height: 1.2; background: var(--white); box-shadow: var(--shadow-sm);
}
.pill-dark { background: var(--navy); color: var(--white); box-shadow: 3px 3px 0 var(--white), 3px 3px 0 2px var(--navy); }
.bg-yellow .pill-dark { box-shadow: var(--shadow-sm); }
.pill-yellow { background: var(--yellow); }
.pill-orange { background: var(--orange); }
.pill-flat { box-shadow: none; }

.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border: var(--border); border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
  background: var(--cat, var(--lavender)); color: var(--navy); text-decoration: none;
  box-shadow: 2px 2px 0 var(--navy);
}
a.tag:hover { box-shadow: 3px 3px 0 var(--navy); transform: translate(-1px, -1px); }
.tag-format { background: var(--white); }
.tag-opinion { background: var(--orange); }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px;
  padding: 8px 18px; border: var(--border); border-radius: 999px; background: var(--white);
  font-weight: 700; font-size: 15px; text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background-color .14s;
}
.chip::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: var(--cat, var(--navy)); border: 1.5px solid var(--navy);
}
.chip.chip-all::before { display: none; }
.chip:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--navy); }
.chip[aria-current="true"] { background: var(--cat, var(--navy)); }
.chip.chip-all[aria-current="true"] { background: var(--navy); color: var(--white); }
.chip[aria-current="true"]::before { background: var(--white); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--white); color: var(--navy);
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-lift { transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card-lift:hover, .card-lift:focus-within { transform: translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.card-pad { padding: 28px; }

/* Article card */
.a-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; }
.a-card__strip {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 46px; padding: 10px 20px;
  background: var(--cat, var(--lavender)); border-bottom: var(--border);
  font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.a-card__strip .fmt { font-weight: 700; letter-spacing: .04em; opacity: .85; text-transform: none; font-size: 13px; }
.a-card__strip .op { background: var(--white); border: var(--border); border-radius: 999px; padding: 1px 9px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.a-card__cover { aspect-ratio: 16/8; object-fit: cover; width: 100%; border-bottom: var(--border); }
.a-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 20px; flex: 1; }
.a-card__title { font-size: 23px; line-height: 1.1; margin: 0; }
.a-card__title a { text-decoration: none; }
.a-card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.a-card__title a:focus-visible { outline: none; }
.a-card:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.a-card__summary {
  color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.a-card__meta {
  margin-top: auto; padding-top: 14px; border-top: 2px dashed rgba(22, 19, 43, .18);
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; font-weight: 600;
}
.a-card__meta .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--navy); opacity: .5; }
.a-card__meta .muted { color: var(--ink-soft); font-weight: 500; }

.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .grid { gap: 24px; } }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.035em; line-height: 1;
}
.logo svg { width: 40px; height: 40px; flex: none; transition: transform .2s var(--ease); }
.logo:hover svg { transform: rotate(-8deg) scale(1.05); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a.nav-link {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; text-decoration: none;
  transition: background-color .14s;
}
.site-nav a.nav-link:hover { background: var(--lavender); }
.site-nav a.nav-link[aria-current="page"] { background: var(--yellow); box-shadow: inset 0 0 0 2px var(--navy); }
.site-nav .btn { margin-left: 10px; }
.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px;
  border: var(--border); border-radius: 12px; background: var(--yellow); box-shadow: var(--shadow-sm); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2.5px; background: var(--navy); border-radius: 2px; position: relative;
  transition: transform .2s var(--ease), background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 20px var(--gutter) 28px; margin: 0;
    background: var(--white); border-bottom: var(--border);
    box-shadow: 0 8px 0 rgba(22, 19, 43, .08);
  }
  .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a.nav-link { font-size: 20px; font-family: var(--font-display); font-weight: 800; padding: 10px 14px; }
  .site-nav .btn { margin: 4px 0 0; align-self: flex-start; }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; background: var(--yellow); border-bottom: var(--border); overflow: hidden; }
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 56px; align-items: center;
  padding-top: 88px; padding-bottom: 104px;
}
.hero h1 { font-size: clamp(46px, 6.6vw, 96px); line-height: .95; letter-spacing: -0.045em; margin: 26px 0 26px; }
.hl {
  display: inline-block; background: var(--pink); border: 3px solid var(--navy); border-radius: 14px;
  padding: 0 .14em .06em; transform: rotate(-1.5deg); box-shadow: 5px 5px 0 var(--navy);
  margin-top: .1em;
}
.hero__lede { font-size: clamp(18px, 1.6vw, 20.5px); line-height: 1.6; max-width: 36em; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__feature { position: relative; }
.feature-card { transform: rotate(2.2deg); padding: 30px 30px 28px; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.feature-card:hover, .feature-card:focus-within { transform: rotate(0.6deg) translate(-3px, -3px); box-shadow: var(--shadow-hover); }
.feature-card__badge { position: absolute; top: -18px; left: 24px; }
.feature-card .tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 18px; }
.feature-card h2 { font-size: clamp(28px, 2.7vw, 36px); line-height: 1.02; margin-bottom: 14px; }
.feature-card p { color: var(--ink-soft); font-size: 16px; }
.feature-card__meta { display: flex; align-items: center; gap: 12px; margin: 22px 0 22px; font-size: 14.5px; }
.feature-card__meta strong { display: block; font-size: 15px; }
.avatar {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: var(--border); background: var(--periwinkle); font-weight: 800; font-size: 15px; font-family: var(--font-display);
}
.link-underline {
  font-weight: 800; text-decoration: underline; text-decoration-color: var(--pink);
  text-decoration-thickness: 4px; text-underline-offset: 6px; transition: text-underline-offset .15s, text-decoration-color .15s;
}
.link-underline:hover { text-underline-offset: 3px; text-decoration-color: var(--navy); }
.feature-card .link-underline::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }

.shape { position: absolute; z-index: 0; pointer-events: none; }
.shape-1 { width: 120px; right: 4%; top: 24px; }
.shape-2 { width: 74px; left: 46%; bottom: 30px; }
.shape-3 { width: 60px; left: -14px; top: 38%; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 64px; padding-top: 56px; padding-bottom: 80px; }
  .hero__feature { max-width: 520px; }
  .shape-2 { left: auto; right: 6%; bottom: 20px; }
  .shape-1 { width: 86px; top: 12px; right: 2%; }
}
@media (max-width: 560px) {
  .shape { display: none; }
  .feature-card { transform: rotate(1.2deg); padding: 26px 22px 24px; }
}

/* ── Category strip ──────────────────────────────────────── */
.cat-strip { background: var(--navy); color: var(--white); border-bottom: var(--border); }
.cat-strip ul {
  list-style: none; margin: 0; padding: 22px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px;
}
.cat-strip li { display: flex; align-items: center; gap: 26px; }
.cat-strip li + li::before {
  content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); flex: none;
}
.cat-strip a {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 1.9vw, 24px); letter-spacing: .01em;
  text-transform: uppercase; text-decoration: none; padding: 4px 2px; border-radius: 6px;
  transition: color .14s;
}
.cat-strip a:hover { color: var(--hover, var(--yellow)); }
@media (max-width: 560px) { .cat-strip li { gap: 14px; } .cat-strip ul { gap: 10px 14px; } }

/* ── Section headings ────────────────────────────────────── */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 4.6vw, 60px); margin: 0; }
.section-head p { margin: 12px 0 0; font-size: 18px; max-width: 36em; }
.eyebrow { margin-bottom: 18px; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 3px solid var(--navy); padding-bottom: 2px; }
.text-link:hover { border-bottom-color: var(--pink); }

.empty {
  padding: 48px 28px; text-align: center; border: 2px dashed var(--navy); border-radius: var(--radius); background: var(--white);
}
.empty h3 { font-size: 26px; }

/* ── Explainers band ─────────────────────────────────────── */
.explainers h2 { color: var(--white); }
.explainers .section-head p { color: rgba(255, 255, 255, .9); }
.ex-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 26px 26px; height: 100%; }
.num-badge {
  display: inline-grid; place-items: center; width: 54px; height: 54px; flex: none;
  border: var(--border); border-radius: 50%; background: var(--badge, var(--yellow));
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  box-shadow: var(--shadow-sm);
}
.ex-card h3 { font-size: 26px; margin: 6px 0 0; line-height: 1.05; }
.ex-card h3 a { text-decoration: none; }
.ex-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.ex-card p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.ex-card .more { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 15px; }
.ex-card .more span { display: inline-block; transition: transform .16s var(--ease); }
.ex-card:hover .more span { transform: translateX(4px); }
.explainers .btn-yellow { margin-top: 44px; }

/* ── What you'll find ────────────────────────────────────── */
.find-card { display: flex; gap: 18px; padding: 26px; align-items: flex-start; height: 100%; }
.find-card h3 { font-size: 22px; margin: 4px 0 6px; line-height: 1.1; }
.find-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ── About teaser ────────────────────────────────────────── */
.about-teaser { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.about-teaser h2 { font-size: clamp(36px, 4.4vw, 56px); }
.about-teaser p { font-size: 19px; line-height: 1.65; }
.latin-card { padding: 34px 32px; background: var(--periwinkle); transform: rotate(-1.8deg); }
.latin-card .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.6vw, 60px); line-height: .95; letter-spacing: -0.04em; display: block; margin: 12px 0 14px; }
.latin-card p { font-size: 16px; margin: 0; }
@media (max-width: 860px) { .about-teaser { grid-template-columns: 1fr; gap: 40px; } }

/* ── Write-for-us CTA ────────────────────────────────────── */
.cta-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.cta-block h2 { font-size: clamp(40px, 5.2vw, 72px); line-height: .96; }
.cta-block h2 span { display: block; }
.cta-block p { font-size: 19px; max-width: 32em; margin-bottom: 30px; }
.info-card { padding: 10px 28px; }
.info-card dl { margin: 0; }
.info-card__title svg { width: 34px; height: 34px; }
.info-card .row { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 2px dashed rgba(22, 19, 43, .2); }
.info-card .row:last-child { border-bottom: 0; }
.info-card dt { font-weight: 600; color: var(--ink-soft); }
.info-card dd { margin: 0; font-weight: 800; text-align: right; }
.info-card__title { display: flex; align-items: center; justify-content: space-between; padding: 18px 0 14px; border-bottom: var(--border); font-family: var(--font-display); font-weight: 800; font-size: 20px; }
@media (max-width: 860px) { .cta-block { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 420px) { .info-card .row { flex-direction: column; gap: 2px; } .info-card dd { text-align: left; } }

/* ── Newsletter ──────────────────────────────────────────── */
.newsletter { text-align: center; }
.newsletter h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 15em; margin: 0 auto 16px; }
.newsletter p.lede { font-size: 19px; margin-bottom: 32px; }
.nl-form { display: flex; gap: 14px; max-width: 580px; margin: 0 auto; }
.nl-form input[type="email"] {
  flex: 1; min-width: 0; min-height: 56px; padding: 12px 22px;
  border: var(--border); border-radius: 999px; background: var(--white); box-shadow: var(--shadow-btn); font-size: 17px;
}
.nl-form input[type="email"]:focus { outline: 3px solid var(--blue); outline-offset: 3px; }
.nl-msg { min-height: 1.6em; margin-top: 22px; font-weight: 700; }
.nl-msg .bubble { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: var(--border); border-radius: 999px; background: var(--white); box-shadow: var(--shadow-sm); }
.nl-msg .bubble.error { background: #FFE3EC; }
@media (max-width: 560px) { .nl-form { flex-direction: column; } .nl-form .btn { width: 100%; } }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: var(--white); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, .7fr)); gap: 48px; }
.site-footer .logo { font-size: 30px; color: var(--white); }
.site-footer .footer-blurb { color: rgba(255, 255, 255, .78); margin-top: 18px; max-width: 26em; font-size: 16.5px; }
.footer-col h2 { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 500; }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-col.contribute a:hover { text-decoration-color: var(--pink); }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1.5px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); font-size: 14.5px; display: flex; gap: 16px 32px; justify-content: space-between; flex-wrap: wrap; }
.footer-bottom a { color: inherit; }
.footer-socials { display: flex; gap: 10px; margin-top: 26px; }
.footer-socials a {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--white); color: var(--white); transition: background-color .14s, color .14s;
}
.footer-socials a:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.footer-socials svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ── Inner page hero ─────────────────────────────────────── */
.page-hero { background: var(--hero, var(--yellow)); border-bottom: var(--border); position: relative; overflow: hidden; }
.page-hero .wrap { padding-top: 72px; padding-bottom: 72px; position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: .95; letter-spacing: -0.045em; margin: 22px 0 18px; max-width: 14em; }
.page-hero .lede { font-size: clamp(18px, 1.6vw, 21px); max-width: 38em; margin: 0; }
.page-hero.on-dark { color: var(--white); }
.page-hero .shape-a { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: clamp(110px, 14vw, 190px); z-index: 0; }
@media (max-width: 760px) { .page-hero .shape-a { display: none; } .page-hero .wrap { padding-top: 52px; padding-bottom: 56px; } }

/* ── Articles listing ────────────────────────────────────── */
.filter-panel { padding: 24px; margin-bottom: 40px; display: grid; gap: 20px; }
.search-row { display: flex; gap: 12px; }
.search-row .field-input { flex: 1; }
.filter-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.filter-label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.results-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 26px; font-weight: 600; }
.results-bar .clear { font-weight: 700; }
.pagination { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 56px; }
.pagination a, .pagination span {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px;
  border: var(--border); border-radius: 999px; background: var(--white); font-weight: 800; text-decoration: none; box-shadow: var(--shadow-sm);
}
.pagination a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--navy); }
.pagination [aria-current="page"] { background: var(--navy); color: var(--white); }
.pagination .disabled { opacity: .4; box-shadow: none; }
@media (max-width: 560px) { .search-row { flex-direction: column; } .filter-panel { padding: 20px; } }

/* ── Forms ───────────────────────────────────────────────── */
.field { display: grid; gap: 8px; }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .field-row { margin-top: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field > label, .field > .label, fieldset legend { font-weight: 700; font-size: 15.5px; }
.field .opt { font-weight: 500; color: var(--ink-soft); }
.field .hint { font-size: 14px; color: var(--ink-soft); margin: -2px 0 0; }
.field-input, .field select, .field textarea, .field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="url"], .field input[type="number"], .field input[type="password"], .field input[type="search"] {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: var(--border); border-radius: var(--radius-sm); background: var(--white);
  font-size: 16px; line-height: 1.4; transition: box-shadow .14s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' stroke='%2316132B' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field-input:focus, .field select:focus, .field textarea:focus, .field input:focus {
  outline: none; box-shadow: var(--shadow-sm), 0 0 0 3px var(--white), 0 0 0 5px var(--blue);
}
.field.has-error .field-input, .field.has-error select, .field.has-error textarea, .field.has-error input:not([type="radio"]):not([type="checkbox"]) {
  border-color: var(--error); background: #FFF6F8;
}
.error-text { color: var(--error); font-size: 14.5px; font-weight: 700; margin: 0; display: flex; gap: 6px; align-items: flex-start; }
.error-text::before { content: '!'; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--white); font-size: 12px; font-weight: 900; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 10px; }

.choice-group { display: flex; flex-wrap: wrap; gap: 12px; }
.choice {
  position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  min-height: 48px; padding: 10px 18px 10px 14px; border: var(--border); border-radius: 999px; background: var(--white);
  font-weight: 600; transition: background-color .14s, box-shadow .14s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .mark { width: 20px; height: 20px; border: var(--border); border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none; }
.choice input:checked + .mark::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.choice:has(input:checked) { background: var(--yellow); box-shadow: var(--shadow-sm); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500; line-height: 1.45; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border: var(--border); border-radius: 7px; background: var(--white); cursor: pointer; display: grid; place-items: center; }
.check input:checked { background: var(--mint); }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid var(--navy); border-width: 0 3px 3px 0; transform: translateY(-1px) rotate(45deg); }
.check input:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.check + .error-text { margin-top: 8px; margin-left: 36px; }

.counter { font-size: 14px; font-weight: 700; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 12px; }
.counter.over { color: var(--error); }

.file-drop {
  display: grid; gap: 6px; place-items: center; text-align: center; padding: 28px 20px;
  border: 2px dashed var(--navy); border-radius: var(--radius); background: var(--lavender); cursor: pointer;
  transition: background-color .14s;
}
.file-drop:hover, .file-drop.dragging { background: #E4E0FA; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.file-drop strong { font-size: 17px; }
.file-drop .file-name { font-weight: 700; color: var(--blue); }

.form-card { padding: 40px; }
.form-section + .form-section { margin-top: 40px; padding-top: 36px; border-top: 2px dashed rgba(22, 19, 43, .2); }
.form-section h2 { font-size: 26px; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.form-section h2 .num-badge { width: 38px; height: 38px; font-size: 16px; box-shadow: none; }
.form-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form-error-summary { padding: 18px 22px; border: var(--border); border-radius: var(--radius-sm); background: #FFE3EC; margin-bottom: 28px; }
.form-error-summary h2 { font-size: 20px; margin: 0 0 6px; }
.form-error-summary ul { margin: 0; padding-left: 20px; }
.form-error-summary a { font-weight: 700; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-card { padding: 26px 20px; } }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px;
  border: var(--border); border-radius: var(--radius-sm); background: var(--lavender);
}
.notice.success { background: var(--success-bg); }
.notice.error { background: #FFE3EC; }
.notice p:last-child { margin-bottom: 0; }

/* ── Two-column page layouts ─────────────────────────────── */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.layout-side aside { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 980px) { .layout-side { grid-template-columns: 1fr; } .layout-side aside { position: static; } }
.side-card { padding: 26px; }
.side-card h2, .side-card h3 { font-size: 22px; margin-bottom: 12px; }
.side-card p { font-size: 15.5px; }
.side-card .email-link { font-weight: 800; font-size: 18px; word-break: break-word; }

/* ── Single article ─────────────────────────────────────── */
.article-head { background: var(--cat, var(--lavender)); border-bottom: var(--border); }
.article-head .wrap { padding-top: 64px; padding-bottom: 64px; max-width: 920px; }
.article-head .tags { display: flex; flex-wrap: wrap; gap: 10px; }
.article-head h1 { font-size: clamp(38px, 5.6vw, 72px); line-height: .98; letter-spacing: -0.04em; margin: 26px 0 22px; }
.standfirst { font-size: clamp(19px, 1.9vw, 23px); line-height: 1.5; font-weight: 500; max-width: 36em; margin: 0 0 30px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; font-size: 15.5px; }
.byline .who { display: flex; align-items: center; gap: 12px; }
.byline .who strong { display: block; font-size: 16px; }
.byline .facts { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--navy); font-weight: 600; }
.byline .facts span + span::before { content: '·'; margin-right: 14px; }
.opinion-note { margin-top: 28px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border: var(--border); border-radius: var(--radius-sm); background: var(--white); font-weight: 600; font-size: 15px; max-width: max-content; }
.article-cover { max-width: 1000px; margin: -1px auto 0; padding: 48px var(--gutter) 0; }
.article-cover figure { margin: 0; }
.article-cover img { width: 100%; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.article-cover figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 14px; }
.article-main { padding: 56px var(--gutter) 40px; }

.prose { max-width: 720px; margin: 0 auto; font-size: 19px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: 32px; line-height: 1.1; margin: 1.8em 0 .5em; }
.prose h3 { font-size: 24px; line-height: 1.15; margin: 1.6em 0 .4em; }
.prose h4 { font-size: 20px; margin: 1.4em 0 .3em; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--pink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { font-weight: 800; }
.prose blockquote {
  margin: 1.8em 0; padding: 22px 26px; border: var(--border); border-left-width: 8px; border-left-color: var(--pink);
  border-radius: var(--radius-sm); background: var(--lavender);
  font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.3; letter-spacing: -0.015em;
}
.prose blockquote p { margin: 0; }
.prose img { border: var(--border); border-radius: var(--radius-sm); }
.prose figcaption { font-size: 14px; color: var(--ink-soft); margin-top: 10px; }
.prose hr { border: 0; border-top: 2px dashed rgba(22, 19, 43, .3); margin: 2.4em 0; }
.prose pre { background: var(--navy); color: var(--white); padding: 18px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 15px; }
.prose code { font-size: .9em; background: var(--lavender); padding: .1em .35em; border-radius: 5px; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--lavender); }
.prose sup.fn-ref { line-height: 0; font-size: .7em; }
.prose sup.fn-ref a {
  display: inline-grid; place-items: center; min-width: 1.55em; height: 1.55em; padding: 0 .25em; margin-left: .1em;
  border: 1.5px solid var(--navy); border-radius: 999px; background: var(--yellow); color: var(--navy);
  font-weight: 800; text-decoration: none; font-size: .85em; vertical-align: super;
}
.prose sup.fn-ref a:hover { background: var(--pink); }

.article-extras { max-width: 720px; margin: 56px auto 0; display: grid; gap: 28px; }
.footnotes { padding: 26px 28px; }
.footnotes h2 { font-size: 22px; margin-bottom: 14px; }
.footnotes ol { margin: 0; padding-left: 1.4em; font-size: 15.5px; line-height: 1.6; display: grid; gap: 8px; }
.footnotes li:target { background: #FFF3CF; border-radius: 6px; outline: 2px solid var(--yellow); outline-offset: 4px; }
.footnotes a.back { text-decoration: none; font-weight: 800; margin-left: 6px; }
.footnotes a { word-break: break-word; }
.ai-note { padding: 20px 24px; background: var(--mint); box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; }
.ai-note .tag { background: var(--white); flex: none; }
.ai-note p { margin: 0; font-size: 15.5px; }
.author-card { padding: 26px 28px; display: flex; gap: 20px; align-items: flex-start; }
.author-card .avatar { width: 64px; height: 64px; font-size: 22px; }
.author-card .label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.author-card h2 { font-size: 24px; margin: 4px 0 8px; }
.author-card p { margin: 0; color: var(--ink-soft); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 8px; }
.share .label { font-weight: 800; margin-right: 6px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border: var(--border); border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform .14s var(--ease), box-shadow .14s var(--ease), background-color .14s;
}
.share-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--navy); background: var(--yellow); }
.share-btn svg { width: 17px; height: 17px; }
.preview-banner { background: var(--orange); border-bottom: var(--border); padding: 12px 0; font-weight: 700; text-align: center; }
@media (max-width: 560px) {
  .prose { font-size: 18px; }
  .prose h2 { font-size: 27px; }
  .prose blockquote { font-size: 20px; padding: 18px 20px; }
  .author-card { flex-direction: column; }
  .ai-note { flex-direction: column; }
}

/* ── Board ───────────────────────────────────────────────── */
.member { padding: 22px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.member__photo { aspect-ratio: 1 / 1; width: 100%; border: var(--border); border-radius: var(--radius-sm); object-fit: cover; background: var(--lavender); }
.member__initials { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 64px; letter-spacing: -0.04em; background: var(--tone, var(--periwinkle)); }
.member h2 { font-size: 26px; margin: 4px 0 0; }
.member p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.board-group + .board-group { margin-top: 72px; }
.board-group > h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }

/* ── Content pages (About, Policies, Guidelines) ─────────── */
.content-card { padding: 40px 44px; }
.content-card + .content-card { margin-top: 32px; }
.content-card h2 { font-size: clamp(28px, 3vw, 38px); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.content-card h3 { font-size: 22px; margin-top: 1.4em; }
.content-card p, .content-card li { font-size: 17.5px; line-height: 1.7; }
.content-card ul { padding-left: 1.3em; }
.content-card li + li { margin-top: .4em; }
.content-card > :last-child { margin-bottom: 0; }
@media (max-width: 560px) { .content-card { padding: 28px 22px; } }

.toc { padding: 24px; }
.toc h2 { font-size: 15px; font-family: var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 14px; display: inline-grid; place-items: center; width: 32px; height: 32px; border: var(--border); border-radius: 50%; background: var(--lavender); flex: none; }
.toc a:hover, .toc a.active { background: var(--lavender); }
.toc a.active::before { background: var(--yellow); }

.accept-list { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0 !important; margin: 18px 0 0; }
.accept-list li { margin: 0 !important; padding: 8px 16px; border: var(--border); border-radius: 999px; font-weight: 700; font-size: 15.5px; background: var(--c, var(--lavender)); box-shadow: 2px 2px 0 var(--navy); }

.brut-table { width: 100%; border-collapse: separate; border-spacing: 0; border: var(--border); border-radius: var(--radius-sm); overflow: hidden; font-size: 17px; margin-top: 8px; }
.brut-table th, .brut-table td { padding: 16px 20px; text-align: left; border-bottom: var(--border); }
.brut-table tr:last-child td { border-bottom: 0; }
.brut-table thead th { background: var(--navy); color: var(--white); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.brut-table td:first-child { font-weight: 700; }
.brut-table td:first-child::before { content: ''; display: inline-block; vertical-align: -1px; margin-right: 12px; width: 14px; height: 14px; border: 2px solid var(--navy); border-radius: 50%; background: var(--c, var(--yellow)); }
.brut-table td:last-child { font-family: var(--font-display); font-weight: 800; font-size: 19px; white-space: nowrap; }
.brut-table tbody tr:nth-child(even) td { background: #FAF9FF; }
@media (max-width: 520px) { .brut-table th, .brut-table td { padding: 14px; } .brut-table td:last-child { white-space: normal; font-size: 17px; } }

.timeline { list-style: none; padding: 0 !important; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 31px; left: 12%; right: 12%; border-top: 3px dashed var(--navy); z-index: 0; }
.timeline li { position: relative; z-index: 1; text-align: center; margin: 0 !important; }
.timeline .step-num { display: inline-grid; place-items: center; width: 64px; height: 64px; border: var(--border); border-radius: 50%; background: var(--c); font-family: var(--font-display); font-weight: 800; font-size: 24px; box-shadow: var(--shadow-sm); }
.timeline h3 { font-size: 22px; margin: 16px 0 6px; }
.timeline .dur { display: inline-block; padding: 4px 12px; border: var(--border); border-radius: 999px; background: var(--white); font-weight: 800; font-size: 15px; }
.timeline p { font-size: 15px !important; margin: 10px 0 0; color: var(--ink-soft); }
@media (max-width: 680px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { top: 30px; bottom: 30px; left: 31px; right: auto; border-top: 0; border-left: 3px dashed var(--navy); }
  .timeline li { text-align: left; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; }
  .timeline .step-num { grid-row: span 3; }
  .timeline h3 { margin-top: 6px; }
  .timeline .dur { justify-self: start; }
}
.timeline.compact { grid-template-columns: 1fr; gap: 18px; }
.timeline.compact::before { top: 24px; bottom: 24px; left: 23px; right: auto; border-top: 0; border-left: 3px dashed var(--navy); }
.timeline.compact li { text-align: left; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; }
.timeline.compact .step-num { width: 48px; height: 48px; font-size: 18px; grid-row: span 2; }
.timeline.compact h3 { font-size: 17px; margin: 0; }
.timeline.compact .dur { font-size: 13px; padding: 2px 10px; justify-self: start; }

.rule-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.rule-card { padding: 22px; border: var(--border); border-radius: var(--radius-sm); background: var(--c, var(--lavender)); }
.rule-card .big { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; letter-spacing: -0.04em; }
.rule-card p { margin: 8px 0 0 !important; font-size: 16px !important; }
@media (max-width: 600px) { .rule-cards { grid-template-columns: 1fr; } }

.cta-strip { margin-top: 40px; padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--pink); }
.cta-strip h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); }

/* ── Success state ───────────────────────────────────────── */
.success-card { padding: 48px 44px; text-align: center; }
.success-card .tick { width: 84px; height: 84px; margin: 0 auto 22px; display: grid; place-items: center; border: var(--border); border-radius: 50%; background: var(--mint); box-shadow: var(--shadow-sm); }
.success-card h2 { font-size: clamp(32px, 4vw, 46px); }
.success-card .ref { display: inline-block; margin: 6px 0 24px; padding: 8px 18px; border: var(--border); border-radius: 999px; background: var(--yellow); font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.success-card .timeline { text-align: center; margin: 36px 0 36px; }
@media (max-width: 560px) { .success-card { padding: 34px 22px; } }

/* ── Misc ────────────────────────────────────────────────── */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.stack-sm > * + * { margin-top: 10px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

[hidden] { display: none !important; }
.ex-card :is(h2, h3) a { text-decoration: none; }
.ex-card :is(h2, h3) a::after { content: ''; position: absolute; inset: 0; border-radius: var(--radius); }
.field-row > .field { margin-top: 0 !important; align-content: start; }
.field select { max-width: 100%; }
.field, .field-row > * { min-width: 0; }
.layout-side aside, .layout-side > div { min-width: 0; }


/* ==========================================================================
   Professional refinements
   ========================================================================== */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
.logo { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; }
/* Numbers and uppercase labels read better in the sans */
.num-badge, .timeline .step-num, .brut-table td:last-child, .cat-strip a, .info-card__title,
.rule-card .big, .success-card .ref { font-family: var(--font-body); letter-spacing: -0.01em; }
.num-badge { font-weight: 800; font-size: 17px; }
.cat-strip a { font-weight: 700; font-size: clamp(14px, 1.3vw, 16px); letter-spacing: .12em; }
.cat-strip ul { padding-top: 18px; padding-bottom: 18px; }

/* No tilted elements, no decorative stickers */
.hl { transform: none; border-radius: 10px; box-shadow: 3px 3px 0 var(--navy); padding: 0 .12em .04em; font-style: italic; }
.feature-card, .feature-card:hover, .feature-card:focus-within { transform: none; }
.feature-card:hover, .feature-card:focus-within { transform: translate(-3px, -3px); }
.latin-card { transform: none; }
.shape, .page-hero .shape-a { display: none !important; }
.card-lift:hover, .card-lift:focus-within { transform: translate(-2px, -2px); }

/* Home hero: royal blue with a yellow highlight */
.hero { background: var(--blue); color: var(--white); }
.hero h1 { color: var(--white); letter-spacing: -0.025em; line-height: 1.02; }
.hero .hl { background: var(--yellow); color: var(--navy); }
.hero__lede { color: rgba(255, 255, 255, .92); }
.hero .pill-dark { background: var(--yellow); color: var(--navy); box-shadow: var(--shadow-sm); }
.hero .btn-dark { background: var(--yellow); color: var(--navy); box-shadow: var(--shadow-btn); }
.hero .btn-dark:hover { box-shadow: var(--shadow-btn-hover); }
.feature-card h2 { letter-spacing: -0.015em; }
.feature-card__badge.pill-orange { background: var(--yellow); }

/* Dark buttons: plain navy shadow everywhere */
.btn-dark, .btn-dark:hover { box-shadow: var(--shadow-btn); }
.btn-dark:hover { box-shadow: var(--shadow-btn-hover); }
.pill-dark { box-shadow: none; }

/* Explainers band: ink instead of blue (blue now leads the hero) */
.explainers.bg-blue { background: var(--navy); }

/* Inner page headers: ink, with the page's colour as a pop */
.page-hero { background: var(--navy); color: var(--white); border-bottom: 6px solid var(--hero, var(--yellow)); }
.page-hero h1 { color: var(--white); letter-spacing: -0.025em; line-height: 1.02; }
.page-hero .lede { color: rgba(255, 255, 255, .88); }
.page-hero .pill-dark, .page-hero .pill-yellow { background: var(--hero, var(--yellow)); color: var(--navy); box-shadow: none; border-color: var(--hero, var(--yellow)); }
.page-hero .btn { box-shadow: 3px 3px 0 var(--white), 3px 3px 0 2px var(--navy); }

/* Article header: a soft tint of the category colour */
.article-head { background: color-mix(in srgb, var(--cat) 30%, var(--white)); }
.article-head h1 { letter-spacing: -0.025em; line-height: 1.04; }
.standfirst { font-family: var(--font-display); font-weight: 600; font-style: italic; color: var(--ink-soft); }

/* Article body: serif headings, calmer blockquote */
.prose h2, .prose h3 { letter-spacing: -0.01em; }
.prose blockquote { font-weight: 600; font-style: italic; border-left-color: var(--yellow); letter-spacing: 0; }

/* Typographic polish */
.section-head h2, .newsletter h2, .cta-block h2, .about-teaser h2 { letter-spacing: -0.025em; line-height: 1.02; }
.a-card__title, .ex-card :is(h2, h3), .find-card h3 { letter-spacing: -0.01em; }
.a-card__title { font-size: 24px; }
.latin-card .big { font-style: italic; letter-spacing: -0.02em; }
.member__initials { font-family: var(--font-display); font-weight: 600; }

/* Home hero: deep ink, matching the inner-page headers; yellow as the accent */
.hero { background: var(--navy); }
.hero .hl { border-color: var(--yellow); box-shadow: none; }
.hero .pill-dark { border-color: var(--yellow); box-shadow: none; }
.hero .btn-dark { box-shadow: 3px 3px 0 var(--white); border-color: var(--yellow); }
.hero .btn-dark:hover { box-shadow: 5px 5px 0 var(--white); }
.hero .btn:not(.btn-dark) { box-shadow: 3px 3px 0 var(--yellow); border-color: var(--white); }
.hero .btn:not(.btn-dark):hover { box-shadow: 5px 5px 0 var(--yellow); }
.hero .feature-card { border-color: var(--white); box-shadow: 6px 6px 0 var(--yellow); }
.hero .feature-card:hover, .hero .feature-card:focus-within { box-shadow: 9px 9px 0 var(--yellow); }
.hero .feature-card__badge { border-color: var(--navy); }

/* Category strip: light band under the dark hero */
.cat-strip { background: var(--white); color: var(--navy); border-top: 0; }
.cat-strip li + li::before { border: 1.5px solid var(--navy); }
.cat-strip a { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 3px; text-underline-offset: 7px; transition: text-decoration-color .15s; }
.cat-strip a:hover { color: var(--navy); text-decoration-color: var(--hover, var(--yellow)); }

/* Explainers band back to royal blue (the hero is ink now) */
.explainers.bg-blue { background: var(--blue); }

/* ── Editorial board ─────────────────────────────────────── */
.board-group + .board-group { margin-top: 64px; }
.group-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 28px; }
.leaders { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.leader { display: grid; grid-template-columns: 300px minmax(0, 1fr); overflow: hidden; }
.leader__photo { border-right: var(--border); background: var(--tone, var(--lavender)); }
.leader__img { display: block; width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.leader__photo .member__initials { height: 100%; font-size: 80px; }
.leader__body { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.leader__body h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 4px 0 4px; }
.leader__body p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.7; max-width: 64ch; }
@media (max-width: 760px) {
  .leader { grid-template-columns: 1fr; }
  .leader__photo { border-right: 0; border-bottom: var(--border); }
  .leader__img { aspect-ratio: 4 / 4.2; height: auto; }
  .leader__body { padding: 26px 22px 28px; }
}
.member__photo { aspect-ratio: 4 / 5; object-position: center top; }
.member h3 { font-size: 26px; margin: 14px 0 8px; }
.member p { line-height: 1.65; }

/* ── Home: meet the editors ──────────────────────────────── */
.team-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 16px; }
.team-strip li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.team-strip img, .team-strip .member__initials {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover; object-position: center 18%;
  border: var(--border); box-shadow: 4px 4px 0 var(--tone, var(--yellow)); margin-bottom: 12px; font-size: 40px;
}
.team-strip strong { font-family: var(--font-display); font-size: 20px; text-wrap: balance; font-weight: 600; line-height: 1.15; }
.team-strip span { font-size: 14px; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 560px) { .team-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; } .team-strip img, .team-strip .member__initials { width: 112px; height: 112px; } }
.editors { list-style: none; margin: 0; padding: 0; }
.avatar-img { object-fit: cover; object-position: center 18%; padding: 0; background: var(--lavender); }

/* Line-by-line pieces (poems, lyrical essays): wrapped lines get a hanging indent */
.prose .verse .line { display: block; padding-left: 1.4em; text-indent: -1.4em; }
.prose .verse + .verse { margin-top: 1.5em; }

/* Article tables on phones: each row becomes a small labelled card (labels added by main.js) */
@media (max-width: 640px) {
  .prose table.stack { display: block; border: 0; overflow: visible; }
  .prose table.stack thead { display: none; }
  .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: 100%; }
  .prose table.stack tr { border: var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; background: var(--white); }
  .prose table.stack td { border: 0; border-top: 1.5px dashed rgba(22, 19, 43, .18); padding: 10px 14px; }
  .prose table.stack td:first-child { border-top: 0; background: var(--lavender); font-weight: 700; }
  .prose table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2px; }
}
.leader__body p + p, .member p + p { margin-top: .75em; }

/* Even number of editors that doesn't fill rows of three (e.g. 4): two side-by-side cards per row */
@media (min-width: 1025px) {
  .editors--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editors--pairs .member { display: grid; grid-template-columns: 40% minmax(0, 1fr); align-items: start; gap: 26px; padding: 24px; }
  .editors--pairs .member h3 { margin-top: 12px; }
}

/* ── Article tools: cite, PDF, content note, author links ─────────────── */
.author-link { color: inherit; text-decoration: none; border-bottom: 2px solid currentColor; }
.author-link:hover { border-bottom-color: var(--pink); }
.a-card__author { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.a-card__author:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px;
  border: var(--border); border-radius: 999px; background: var(--white); color: var(--navy);
  font: inherit; font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background-color .14s;
}
.tool-btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--navy); background: var(--yellow); }
.tool-btn svg { width: 17px; height: 17px; }
.content-note {
  max-width: 720px; margin: 0 auto 40px; display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; border: var(--border); border-left-width: 8px; border-left-color: var(--orange);
  border-radius: var(--radius-sm); background: #FFF6E5;
}
.content-note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.content-note p { margin: 0; font-size: 16px; line-height: 1.55; }
.cite-card { padding: 26px 28px; scroll-margin-top: calc(var(--header-h) + 20px); }
.cite-card h2 { font-size: 22px; margin-bottom: 16px; }
.cite-style + .cite-style { margin-top: 18px; padding-top: 18px; border-top: 2px dashed rgba(22, 19, 43, .18); }
.cite-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cite-head .label { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.cite-style p { margin: 0; font-size: 15.5px; line-height: 1.6; word-break: break-word; }
.cite-copy {
  border: var(--border); border-radius: 999px; background: var(--white); font: inherit; font-weight: 700; font-size: 13.5px;
  padding: 5px 14px; min-height: 34px; cursor: pointer; box-shadow: var(--shadow-sm);
}
.cite-copy:hover { background: var(--yellow); }
.author-card .text-link { margin-top: 12px; font-size: 15px; }
.print-only { display: none; }

/* ── Author page ─────────────── */
.author-hero { background: var(--lavender); border-bottom: var(--border); }
.author-hero .wrap { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; }
.author-hero__photo { width: 220px; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.author-hero .member__initials { width: 220px; aspect-ratio: 4 / 5; display: grid; place-items: center; font-size: 64px; border: var(--border); border-radius: var(--radius); background: var(--tone, var(--yellow)); font-family: var(--font-display); }
.author-hero h1 { font-size: clamp(36px, 4.6vw, 58px); margin: 14px 0 14px; }
.author-hero p { margin: 0; max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.author-hero p + p { margin-top: .75em; }
.author-hero .count { margin-top: 18px; font-weight: 700; }
@media (max-width: 720px) {
  .author-hero .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
  .author-hero__photo, .author-hero .member__initials { width: 160px; }
}
.member .text-link { margin-top: 14px; font-size: 15px; align-self: flex-start; }

/* ── Print / Save as PDF: just the piece, its references and citation ─────────────── */
@media print {
  @page { margin: 18mm 16mm; }
  html, body { background: #fff !important; }
  body { font-size: 11pt; color: #000; }
  .site-header, .site-footer, .newsletter, .skip-link, .share, .no-print, .pv-bar, .pv-toast,
  .preview-banner, section.rule-top, .article-cover { display: none !important; }
  .print-only { display: block; }
  .print-masthead { font-size: 9.5pt; border-bottom: 1.5pt solid #000; padding-bottom: 6pt; margin-bottom: 14pt; }
  .print-masthead span { color: #444; }
  .article-head { background: none !important; border: 0; }
  .article-head .wrap { padding: 0; max-width: none; }
  .article-head .tags .tag { box-shadow: none; border-width: 1pt; }
  .article-head h1 { font-size: 26pt; margin: 10pt 0; letter-spacing: -0.02em; }
  .standfirst { font-size: 12.5pt; margin-bottom: 12pt; }
  .byline .avatar, .byline .avatar-img { display: none; }
  .opinion-note { box-shadow: none; }
  .article-main { padding: 14pt 0 0; }
  .content-note { margin: 0 0 14pt; max-width: none; background: none; }
  .prose { max-width: none; font-size: 11pt; line-height: 1.55; }
  .prose h2 { font-size: 15pt; } .prose h3 { font-size: 13pt; }
  .prose blockquote { font-size: 12.5pt; background: none; }
  .prose a { color: #000; text-decoration: none; }
  .prose sup.fn-ref a { background: none; border: 0; min-width: 0; height: auto; padding: 0; }
  .prose table { display: table; font-size: 9.5pt; }
  .prose table, .prose tr, .prose blockquote, .content-note, .cite-card, .author-card, .footnotes li { break-inside: avoid; }
  .prose h2, .prose h3 { break-after: avoid; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .article-extras { max-width: none; margin-top: 18pt; gap: 12pt; }
  .card { box-shadow: none !important; border: 1pt solid #000 !important; }
  .footnotes ol { font-size: 9.5pt; }
  .footnotes a.back { display: none; }
  .author-card .avatar, .author-card .avatar-img { width: 44px; height: 44px; }
}
