:root {
  --ink: #122c2a;
  --ink-2: #214440;
  --paper: #f7f3ea;
  --paper-2: #ece5d7;
  --white: #fffdf8;
  --coral: #e75f4f;
  --coral-dark: #bd4034;
  --yellow: #f1c75b;
  --yellow-soft: #faedbd;
  --sage: #b8cfbc;
  --sage-soft: #e3eee4;
  --blue: #7eb9c3;
  --muted: #667772;
  --line: rgba(18, 44, 42, 0.14);
  --shadow: 0 22px 60px rgba(18, 44, 42, 0.11);
  --radius: 22px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open { overflow: hidden; }

a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }

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

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 16px;
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 78px;
  padding: 12px max(20px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: inherit;
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand strong { color: var(--yellow); font-weight: 800; }

.brand-mark {
  display: inline-flex;
  gap: 3px;
  align-items: end;
  justify-content: center;
  width: 31px;
  height: 31px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.brand-mark i { width: 4px; border-radius: 2px 2px 0 0; background: var(--yellow); }
.brand-mark i:nth-child(1) { height: 8px; }
.brand-mark i:nth-child(2) { height: 13px; }
.brand-mark i:nth-child(3) { height: 19px; }

.site-nav { display: flex; gap: 4px; align-items: center; }

.site-nav a {
  position: relative;
  padding: 10px 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  border-radius: 9px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 4px;
  left: 14px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.provider-scope-bar { display: flex; gap: 30px; align-items: center; justify-content: space-between; min-height: 58px; padding: 9px max(20px, calc((100% - 1180px) / 2)); background: #e9e2d4; border-bottom: 1px solid var(--line); }
.provider-scope-bar > div { display: flex; gap: 11px; align-items: center; }
.provider-scope-bar > div > span { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.provider-scope-bar p { margin: 0; color: var(--muted); font-size: 10px; }
.scope-switch { display: inline-flex; padding: 3px; background: rgba(18,44,42,.09); border-radius: 10px; }
.scope-switch button { min-height: 34px; padding: 5px 12px; color: var(--muted); background: transparent; border: 0; border-radius: 8px; font-size: 11px; font-weight: 800; cursor: pointer; }
.scope-switch button[aria-pressed="true"] { color: white; background: var(--ink); box-shadow: 0 3px 10px rgba(18,44,42,.18); }

.menu-toggle { display: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 22px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { line-height: 1.05; letter-spacing: -0.045em; }

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(46px, 6.7vw, 88px);
  font-weight: 760;
}

h1 em, h2 em {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h2 { margin-bottom: 15px; font-size: clamp(34px, 4vw, 54px); }
h3 { font-size: 24px; }

.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--ink); background: var(--yellow); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16); }
.button--primary:hover { background: #f7d36f; }
.button--secondary { color: var(--ink); border-color: rgba(18, 44, 42, 0.3); background: transparent; }
.button--text { padding-inline: 6px; color: inherit; }
.button--center { margin: 34px auto 0; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  min-height: 680px;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px max(40px, calc((100vw - 1180px) / 2));
  padding-right: 55px;
}

.hero-copy .eyebrow { color: var(--yellow); }
.hero-copy h1 { max-width: 690px; font-size: clamp(52px, 6vw, 82px); }
.hero-copy h1 em { color: var(--yellow); }
.hero-intro { max-width: 650px; color: rgba(255, 255, 255, 0.72); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-copy .button--secondary { color: white; border-color: rgba(255, 255, 255, 0.25); }

.trust-line {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-line strong { margin-right: 4px; color: white; font-size: 18px; }

.hero-visual {
  position: relative;
  min-height: 680px;
  background:
    linear-gradient(rgba(18, 44, 42, 0.05), rgba(18, 44, 42, 0.05)),
    repeating-linear-gradient(90deg, transparent 0, transparent 24.8%, rgba(18, 44, 42, 0.08) 25%),
    var(--coral);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -90px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.04), 0 0 0 160px rgba(255, 255, 255, 0.03);
}

.podium-card {
  position: absolute;
  left: 11%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 78%;
  padding: 19px 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 18px 34px rgba(76, 27, 22, 0.2);
  transform: rotate(-2deg);
}

.podium-card--1 { top: 32%; left: 7%; width: 86%; transform: rotate(1.5deg); }
.podium-card--2 { top: 19%; }
.podium-card--3 { top: 48%; transform: rotate(-1deg); }
.podium-card--1::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--yellow); border-radius: 10px; pointer-events: none; }
.podium-card i { position: absolute; top: -11px; right: 16px; padding: 5px 9px; color: var(--ink); background: var(--yellow); border-radius: 20px; font-size: 10px; font-style: normal; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.podium-rank { color: var(--coral); font-family: Georgia, serif; font-size: 31px; font-style: italic; }
.podium-card div { display: flex; gap: 10px; align-items: center; justify-content: space-between; min-width: 0; }
.podium-card strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.podium-card div span { flex: 0 0 auto; color: var(--coral-dark); font-size: 17px; font-weight: 850; }

.visual-note { position: absolute; z-index: 2; color: white; font-size: 14px; line-height: 1.4; }
.visual-note--top { top: 8%; left: 11%; color: rgba(255, 255, 255, 0.78); font-size: 19px; }
.visual-note--bottom { right: 8%; bottom: 8%; display: flex; gap: 13px; align-items: center; max-width: 300px; padding: 16px; background: rgba(18, 44, 42, 0.92); border-radius: 12px; }
.visual-note--bottom > span { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ink); background: var(--sage); border-radius: 50%; font-weight: 900; }

.nss-positioning { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px 70px; padding-block: 110px; }
.nss-positioning-copy { align-self: center; }
.nss-positioning-copy h2 { margin-top: 12px; font-size: clamp(38px,4.6vw,61px); }
.nss-positioning-copy p { max-width: 580px; color: var(--muted); font-size: 16px; }
.nss-positioning-copy > a, .league-table-critique a { color: var(--coral-dark); font-size: 11px; font-weight: 850; text-decoration: none; }
.nss-positioning-copy > a span, .league-table-critique a span { margin-left: 5px; }
.nss-boundaries { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.boundary-card { min-height: 190px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.boundary-card > span { display: inline-flex; padding: 4px 7px; color: #9a342b; background: #fbe1dd; border-radius: 20px; font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.boundary-card--yes { color: white; background: var(--ink); }
.boundary-card--yes > span { color: #255f41; background: var(--sage); }
.boundary-card strong { display: block; margin-top: 35px; font-size: 17px; line-height: 1.25; }
.boundary-card p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.boundary-card--yes p { color: rgba(255,255,255,.6); }
.league-table-critique { grid-column: 1 / -1; display: grid; grid-template-columns: .6fr 1fr; gap: 8px 70px; margin-top: 38px; padding: 38px; color: white; background: var(--coral); border-radius: 18px; }
.league-table-critique .eyebrow { grid-column: 1; color: var(--ink); }
.league-table-critique h3 { grid-column: 1; grid-row: 2 / 5; margin: 5px 0 0; font-size: 34px; }
.league-table-critique p { grid-column: 2; margin: 0 0 9px; color: rgba(255,255,255,.82); font-size: 13px; }
.league-table-critique p strong { color: white; }
.league-table-critique > div { grid-column: 2; display: flex; flex-wrap: wrap; gap: 18px; }
.league-table-critique a { color: var(--ink); }

.pathways { padding-block: 100px; }
.section-heading { display: flex; gap: 50px; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.section-heading > div:first-child { max-width: 700px; }
.section-heading > p { max-width: 480px; margin-bottom: 8px; color: var(--muted); }
.section-heading--center { justify-content: center; text-align: center; }

.pathway-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pathway-card { position: relative; min-height: 315px; padding: 30px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; overflow: hidden; }
.pathway-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pathway-card--active { color: white; background: var(--ink); }
.pathway-number { position: absolute; top: 24px; right: 26px; color: var(--coral); font-family: Georgia, serif; font-size: 18px; font-style: italic; }
.pathway-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 45px; color: var(--ink); background: var(--yellow); border-radius: 50%; font-size: 22px; font-weight: 700; }
.pathway-card h3 { margin-bottom: 12px; }
.pathway-card p { color: var(--muted); font-size: 15px; }
.pathway-card--active p { color: rgba(255, 255, 255, 0.66); }
.text-link { position: absolute; bottom: 26px; left: 30px; font-size: 13px; font-weight: 850; }
.text-link i { margin-left: 7px; color: var(--coral); font-style: normal; }

.rankings-section { padding-block: 90px 105px; }
#rankings { width: 100%; padding-inline: max(20px, calc((100% - 1180px) / 2)); background: var(--paper-2); }
.rankings-intro { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.year-explainer { display: flex; gap: 12px; align-items: center; padding: 13px 16px; background: rgba(255, 255, 255, 0.56); border: 1px solid var(--line); border-radius: 12px; }
.year-explainer p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.year-explainer p strong { color: var(--ink); }
.year-badge { padding: 8px 9px; color: white; background: var(--ink); border-radius: 7px; font-size: 13px; font-weight: 850; }

.ranking-toolbar { display: flex; gap: 18px; align-items: center; min-height: 68px; margin-bottom: 14px; padding: 10px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.search-field { display: flex; flex: 0 1 390px; gap: 10px; align-items: center; min-height: 44px; padding: 0 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; }
.search-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 44, 42, 0.08); }
.search-field svg { width: 18px; fill: none; stroke: var(--muted); stroke-linecap: round; stroke-width: 2; }
.search-field input { width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; }
.search-field input::placeholder { color: #8a9692; }
.toolbar-note { display: flex; gap: 7px; align-items: center; margin-left: auto; color: var(--muted); font-size: 11px; }
.dot { width: 8px; height: 8px; margin-left: 7px; border-radius: 50%; }
.dot--two { background: #5a9d72; }
.dot--one { background: #d29f32; }
.result-count { padding-left: 18px; color: var(--muted); font-size: 12px; font-weight: 750; border-left: 1px solid var(--line); white-space: nowrap; }

.table-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(18, 44, 42, 0.05); overflow: hidden; }
.table-scroll { width: 100%; overflow-x: auto; }
.ranking-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ranking-table th, .ranking-table td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.ranking-table thead th { padding-block: 13px; color: var(--muted); background: #faf8f2; font-size: 10px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.ranking-table thead th small { display: block; margin-top: 3px; color: #89938f; font-size: 7px; font-weight: 700; letter-spacing: .04em; text-transform: none; white-space: nowrap; }
.ranking-table--subject .scope-count { display: none; }
.ranking-table tbody tr { transition: background 120ms ease; }
.ranking-table tbody tr:hover { background: #fbf8f0; }
.ranking-table tbody tr:last-child th, .ranking-table tbody tr:last-child td { border-bottom: 0; }
.ranking-table tbody th { min-width: 260px; font-size: 14px; }
.rank { width: 66px; text-align: center !important; }
.rank span { display: inline-grid; place-items: center; width: 31px; height: 31px; background: var(--paper-2); border-radius: 50%; font-weight: 850; }
.ranking-table tbody tr:nth-child(-n + 3) .rank span { color: var(--ink); background: var(--yellow); }
.movement { width: 85px; }
.previous-rank { width: 118px; color: var(--muted); text-align: center !important; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.previous-rank span { display: block; color: var(--ink); font-size: 14px; font-weight: 850; }
.previous-rank small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 650; line-height: 1.2; white-space: nowrap; }
.move { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; font-weight: 850; white-space: nowrap; }
.move--up { color: #247544; }
.move--down { color: #b94d41; }
.move--same { color: #9aa3a0; }
.move--new { padding: 4px 7px; color: #365e68; background: #dfedf0; border-radius: 20px; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }
.provider-name { display: block; }
.mobile-coverage { display: none; }
.score { width: 105px; text-align: right !important; }
.score strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.score span { margin-left: 2px; color: var(--muted); font-size: 10px; }
.coverage { min-width: 165px; }
.coverage-pill { display: inline-flex; align-items: center; min-height: 27px; padding: 5px 9px; border-radius: 20px; font-size: 10px; font-weight: 800; white-space: nowrap; }
.coverage-pill::before { content: ""; width: 6px; height: 6px; margin-right: 6px; background: currentColor; border-radius: 50%; }
.coverage-pill--two-year { color: #2d7650; background: #e3f0e6; }
.coverage-pill--single-year { color: #956c1d; background: #f8edcd; }
.coverage-pill--mixed { color: #496972; background: #e4eef0; }
.scope-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.details-cell { width: 85px; text-align: right !important; }
.detail-button { padding: 7px 0; color: var(--coral-dark); background: transparent; border: 0; font-size: 12px; font-weight: 850; cursor: pointer; }
.detail-button span { display: inline-block; margin-left: 3px; transition: transform 150ms ease; }
.detail-button:hover span { transform: translateX(3px); }
.table-footnote { max-width: 820px; margin: 18px 4px 0; color: var(--muted); font-size: 12px; }
.table-footnote strong { color: var(--ink); }
.loading-state, .empty-state { padding: 40px; color: var(--muted); text-align: center; }

.explainer-band {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 60px;
  align-items: end;
  padding: 80px max(20px, calc((100% - 1180px) / 2));
  color: white;
  background: var(--ink);
}

.explainer-band h2 { max-width: 620px; margin-bottom: 0; }
.explainer-band p { max-width: 480px; margin: 0; color: rgba(255, 255, 255, 0.65); }
.explainer-band > a { padding-bottom: 5px; color: var(--yellow); font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.explainer-band > a span { margin-left: 8px; }
.explainer-band .eyebrow { color: var(--yellow); }
.explainer-band--home { background: var(--coral); }
.explainer-band--home .eyebrow, .explainer-band--home > a { color: var(--ink); }

.subject-teaser { display: flex; flex-direction: column; padding-block: 100px; }
.subject-chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.subject-chip-list a { padding: 11px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 9px; font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color 150ms ease, transform 150ms ease; }
.subject-chip-list a:hover { transform: translateY(-2px); border-color: var(--coral); }
.subject-chip-list span { margin-left: 9px; color: var(--coral); }

.site-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; padding: 70px max(20px, calc((100% - 1180px) / 2)); color: rgba(255, 255, 255, 0.68); background: #0d211f; font-size: 13px; }
.brand--footer { margin-bottom: 15px; color: white; }
.site-footer > div { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer h2 { margin-bottom: 15px; color: white; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a:not(.brand) { margin-bottom: 8px; text-decoration: none; }
.site-footer a:hover { color: white; }
.fine-print { max-width: 240px; margin-top: 12px; font-size: 10px; }

/* Subject directory */
.directory-hero, .subject-hero, .custom-hero, .method-hero, .about-hero {
  position: relative;
  padding: 100px max(20px, calc((100% - 1180px) / 2));
  color: white;
  background: var(--ink);
  overflow: hidden;
}

.directory-hero::after, .custom-hero::after, .method-hero::after, .about-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(241, 199, 91, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(241, 199, 91, 0.04), 0 0 0 160px rgba(241, 199, 91, 0.03);
}

.directory-hero { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.directory-hero .eyebrow, .custom-hero .eyebrow, .method-hero .eyebrow, .about-hero .eyebrow { color: var(--yellow); }
.directory-hero h1, .custom-hero h1, .method-hero h1, .about-hero h1 { max-width: 930px; }
.directory-hero h1 em, .custom-hero h1 em, .method-hero h1 em, .about-hero h1 em { color: var(--yellow); }
.directory-hero p, .custom-hero p, .method-hero p, .about-hero p { max-width: 760px; margin-bottom: 0; color: rgba(255, 255, 255, 0.68); font-size: 18px; }
.directory-stat { position: relative; z-index: 2; display: flex; gap: 16px; align-items: center; padding: 22px; color: var(--ink); background: var(--yellow); border-radius: 14px; transform: rotate(2deg); }
.directory-stat strong { font-family: Georgia, serif; font-size: 46px; font-style: italic; }
.directory-stat span { font-size: 11px; font-weight: 800; line-height: 1.45; text-transform: uppercase; }

.subject-directory { padding-block: 70px 110px; }
.directory-search { width: min(620px, 100%); margin: 0 auto 26px; background: var(--white); }
.alphabet-filter { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 36px; }
.alphabet-filter button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 50%; font-size: 11px; font-weight: 800; cursor: pointer; }
.alphabet-filter button:hover, .alphabet-filter button.is-active { color: var(--ink); background: var(--yellow); }
.subject-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.subject-card { position: relative; min-height: 205px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: transform 150ms ease, box-shadow 150ms ease; }
.subject-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(18, 44, 42, 0.09); }
.subject-code { color: var(--coral-dark); font-size: 9px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.subject-card h2 { max-width: 88%; margin: 20px 0 12px; font-size: 20px; letter-spacing: -0.025em; }
.subject-card p { color: var(--muted); font-size: 11px; }
.subject-card-arrow { position: absolute; right: 20px; bottom: 19px; color: var(--coral); font-weight: 850; }

/* Subject detail */
.subject-hero { min-height: 500px; padding-top: 58px; background: linear-gradient(115deg, var(--ink) 0 70%, var(--coral) 70%); }
.subject-hero::after { content: ""; position: absolute; right: -50px; bottom: -180px; width: 430px; height: 430px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; box-shadow: 0 0 0 65px rgba(255, 255, 255, 0.04), 0 0 0 130px rgba(255, 255, 255, 0.025); }
.breadcrumbs { display: flex; gap: 9px; margin-bottom: 70px; color: rgba(255, 255, 255, 0.52); font-size: 11px; }
.breadcrumbs a { text-decoration: none; }
.subject-hero h1 { max-width: 900px; font-size: clamp(46px, 6vw, 76px); }
.subject-hero h1 em { color: var(--yellow); }
.subject-hero > p { max-width: 760px; color: rgba(255, 255, 255, 0.68); font-size: 18px; }
.subject-hero .button--text { color: white; }
.hero-stat { position: absolute; z-index: 2; right: max(30px, calc((100% - 1180px) / 2)); bottom: 45px; display: flex; gap: 12px; align-items: center; padding: 16px 20px; color: var(--ink); background: var(--yellow); border-radius: 12px; transform: rotate(-2deg); }
.hero-stat strong { font-family: Georgia, serif; font-size: 36px; font-style: italic; }
.hero-stat span { font-size: 10px; font-weight: 850; line-height: 1.35; text-transform: uppercase; }
.top-ten-section { padding-block: 90px 20px; }
.top-ten-section + .rankings-section { padding-top: 80px; }
.table-card--top-ten .ranking-table tbody tr:first-child { background: var(--yellow-soft); }

/* Editorial top-ten guides */
[hidden] { display: none !important; }
.directory-intro { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.directory-intro h2 { margin: 7px 0 10px; }
.directory-intro p { margin: 0; color: var(--muted); }
.guide-card { min-height: 230px; }
.guide-card p { display: grid; gap: 4px; max-width: 82%; }
.guide-card p strong { color: var(--ink); font-size: 11px; }
.guide-card p span { color: var(--muted); font-size: 10px; }
.guide-card .subject-card-arrow { font-size: 10px; letter-spacing: .02em; }
.article-hero { position: relative; padding: 58px max(30px, calc((100% - 1180px) / 2)) 86px; background: var(--paper); border-bottom: 1px solid var(--line); overflow: hidden; }
.article-hero::after { content: "10"; position: absolute; z-index: 0; right: max(20px, calc((100% - 1180px) / 2)); bottom: -75px; color: rgba(231, 95, 79, .08); font-family: Georgia, serif; font-size: 300px; font-style: italic; line-height: 1; }
.article-hero > * { position: relative; z-index: 1; }
.article-hero .breadcrumbs { margin-bottom: 82px; color: var(--muted); }
.article-hero .breadcrumbs a { color: var(--ink); }
.article-hero .eyebrow { color: var(--coral-dark); }
.article-hero h1 { max-width: 1050px; margin-top: 12px; font-size: clamp(50px, 7vw, 88px); line-height: .98; }
.article-hero h1 em { color: var(--coral); }
.article-deck { max-width: 780px; margin-top: 26px; color: var(--muted); font-family: Georgia, serif; font-size: 22px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 38px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.article-meta span { padding: 0 14px; border-left: 1px solid var(--line); }
.article-meta span:first-child { padding-left: 0; border-left: 0; }
.article-copy { max-width: 870px; padding-block: 85px 55px; }
.article-copy p { color: var(--muted); font-family: Georgia, serif; font-size: 19px; line-height: 1.7; }
.article-copy .article-standfirst { margin-top: 0; color: var(--ink); font-size: 27px; line-height: 1.45; }
.article-analysis { padding-bottom: 105px; }
.analysis-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: end; margin-bottom: 40px; }
.analysis-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -46px; }
.analysis-heading h2 { max-width: 650px; margin: 0; }
.analysis-heading p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.leader-analysis { display: grid; grid-template-columns: .55fr 1.45fr; gap: 48px; padding: 42px; color: white; background: var(--ink); border-radius: 18px; }
.leader-score { display: flex; flex-direction: column; padding-right: 38px; border-right: 1px solid rgba(255,255,255,.14); }
.leader-score > span { color: var(--yellow); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.leader-score > strong { margin: auto 0 8px; font-family: Georgia, serif; font-size: 58px; font-style: italic; }
.leader-score > small { color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.5; }
.leader-analysis h3 { margin: 0 0 8px; font-size: 31px; }
.leader-analysis > div:last-child > p { margin: 0 0 25px; color: rgba(255,255,255,.62); font-size: 12px; }
.leader-analysis ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.leader-analysis li { padding: 17px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.leader-analysis li > span { display: block; margin-bottom: 5px; color: var(--yellow); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.leader-analysis li strong { display: block; font-size: 12px; line-height: 1.4; }
.leader-analysis li p { margin: 12px 0 0; color: rgba(255,255,255,.64); font-size: 10px; line-height: 1.5; }
.leader-analysis li b { color: white; }
.contender-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.contender-card { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 13px; }
.contender-card > div { display: flex; align-items: center; justify-content: space-between; }
.contender-card > div span { color: var(--coral); font-family: Georgia, serif; font-size: 29px; font-style: italic; }
.contender-card > div small { font-size: 11px; font-weight: 900; }
.contender-card h3 { min-height: 55px; margin: 30px 0 12px; font-size: 17px; }
.contender-card p { color: var(--muted); font-size: 11px; line-height: 1.6; }
.contender-card p strong { color: var(--ink); }
.contender-card .contender-context { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 9px; }
.analysis-note { max-width: 780px; margin: 18px 0 0; color: var(--muted); font-size: 9px; }
.article-top-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 100px; }
.article-profile { min-height: 310px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.article-profile--winner { color: white; background: var(--ink); border-color: var(--ink); transform: translateY(-14px); }
.article-profile-rank { display: flex; align-items: center; justify-content: space-between; }
.article-profile-rank span { color: var(--coral); font-family: Georgia, serif; font-size: 46px; font-style: italic; }
.article-profile--winner .article-profile-rank span { color: var(--yellow); }
.article-profile-rank small { font-size: 14px; font-weight: 900; }
.article-profile h2 { min-height: 62px; margin: 50px 0 14px; font-size: 23px; }
.article-profile p { min-height: 105px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-profile--winner p { color: rgba(255,255,255,.68); }
.article-ranking { padding-block: 95px; border-top: 1px solid var(--line); }
.article-scope-note { margin: 15px 3px 0; color: var(--muted); font-size: 10px; }
.article-full-link { display: flex; width: fit-content; margin: 35px auto 0; }
.article-method { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding-block: 100px; background: var(--yellow-soft); box-shadow: 0 0 0 100vmax var(--yellow-soft); clip-path: inset(0 -100vmax); }
.article-method h2 { margin-top: 7px; }
.article-method p { margin-top: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.article-method a { display: inline-block; margin-top: 10px; color: var(--coral-dark); font-size: 12px; font-weight: 900; text-decoration: none; }
.article-faq { max-width: 900px; padding-block: 100px 120px; }
.article-faq h2 { margin: 8px 0 36px; }
.article-faq details { border-top: 1px solid var(--line); }
.article-faq details:last-child { border-bottom: 1px solid var(--line); }
.article-faq summary { padding: 22px 4px; font-size: 16px; font-weight: 850; cursor: pointer; }
.article-faq details p { max-width: 760px; margin: -4px 4px 24px; color: var(--muted); line-height: 1.65; }
.article-faq a { color: var(--coral-dark); font-weight: 800; }

/* Drawer */
.detail-drawer { position: fixed; z-index: 100; inset: 0; visibility: hidden; opacity: 0; transition: opacity 180ms ease, visibility 180ms ease; }
.detail-drawer.is-open { visibility: visible; opacity: 1; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(7, 20, 19, 0.65); backdrop-filter: blur(3px); }
.detail-drawer aside { position: absolute; top: 0; right: 0; bottom: 0; width: min(620px, 100%); padding: 45px; background: var(--white); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.16); overflow-y: auto; transform: translateX(100%); transition: transform 220ms ease; }
.detail-drawer.is-open aside { transform: translateX(0); }
.drawer-close { position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 35px; height: 35px; color: var(--ink); background: var(--paper-2); border: 0; border-radius: 50%; font-size: 24px; cursor: pointer; }
.drawer-heading { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.drawer-heading h2 { max-width: 500px; margin: 6px 0 15px; font-size: 38px; }
.drawer-score-line { display: flex; gap: 18px; align-items: center; }
.drawer-score { font-size: 28px; font-weight: 850; }
.drawer-score span { color: var(--muted); font-size: 13px; }
.drawer-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.question-breakdown { margin-top: 30px; }
.question-breakdown h3 { margin-bottom: 17px; font-size: 18px; }
.question-row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); }
.question-row > span:first-child { color: var(--coral-dark); font-size: 10px; font-weight: 850; }
.question-row strong { display: block; font-size: 12px; line-height: 1.35; }
.question-row small { color: var(--muted); font-size: 9px; }
.question-comparison { grid-column: 2; display: grid; gap: 7px; margin-top: 2px; }
.question-comparison > div { display: grid; grid-template-columns: 37px 48px minmax(0,1fr); gap: 8px; align-items: center; }
.question-comparison b { color: var(--muted); font-size: 9px; letter-spacing: .06em; }
.question-comparison span { text-align: right; font-size: 11px; font-weight: 850; font-variant-numeric: tabular-nums; }
.question-bar { height: 5px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.question-bar i { display: block; height: 100%; border-radius: 4px; }
.question-bar--current i { background: var(--coral); }
.question-bar--previous i { background: var(--blue); }
.provider-courses { margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.provider-courses h3 { margin-bottom: 8px; font-size: 20px; }
.provider-courses > p { color: var(--muted); font-size: 11px; }
.course-list { display: grid; gap: 7px; margin-top: 18px; }
.course-list a { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 11px 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; font-size: 11px; font-weight: 750; text-decoration: none; }
.course-list a:hover { border-color: var(--coral); }
.course-list small { flex: 0 0 auto; color: var(--muted); font-size: 9px; }

/* Custom ranking */
.custom-hero { padding-bottom: 120px; }
.custom-builder { margin-top: -48px; padding-bottom: 100px; }
.builder-setup { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; max-width: 900px; margin-bottom: 24px; padding: 24px 28px; background: var(--yellow); border-radius: 16px; box-shadow: var(--shadow); }
.builder-setup label { font-size: 21px; font-weight: 850; letter-spacing: -0.025em; }
.builder-setup label span, .panel-heading span, .step-label { display: block; margin-bottom: 3px; color: var(--coral-dark); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.select-wrap { position: relative; }
.select-wrap::after { content: "⌄"; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); pointer-events: none; }
.select-wrap select { width: 100%; min-height: 50px; padding: 0 42px 0 14px; color: var(--ink); background: var(--white); border: 1px solid rgba(18, 44, 42, 0.18); border-radius: 9px; outline: none; appearance: none; }
.builder-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr); gap: 20px; align-items: start; }
.weight-panel, .results-sticky { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.panel-heading { display: flex; justify-content: space-between; margin-bottom: 10px; }
.panel-heading h2, .custom-results h2 { font-size: 30px; }
.weight-panel > p, .custom-results p { color: var(--muted); font-size: 13px; }
.reset-button { align-self: start; padding: 7px 10px; color: var(--coral-dark); background: transparent; border: 1px solid rgba(231, 95, 79, 0.3); border-radius: 8px; font-size: 10px; font-weight: 850; cursor: pointer; }
.weight-legend { display: flex; flex-wrap: wrap; gap: 9px 15px; margin: 20px 0; padding: 13px; background: var(--paper); border-radius: 9px; }
.weight-legend span { color: var(--muted); font-size: 9px; }
.weight-legend i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; background: var(--coral); border-radius: 50%; }
.builder-placeholder { padding: 50px 20px; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: 11px; text-align: center; }
.builder-placeholder--dark { color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); }
.question-group { margin-top: 14px; border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.question-group summary { display: flex; align-items: center; justify-content: space-between; padding: 15px; background: #faf8f2; cursor: pointer; list-style: none; }
.question-group summary::-webkit-details-marker { display: none; }
.question-group summary strong { font-size: 13px; }
.question-group summary span { color: var(--muted); font-size: 10px; }
.group-shortcut { display: flex; gap: 5px; padding: 10px 15px; background: var(--paper); border-bottom: 1px solid var(--line); }
.group-shortcut button { flex: 1; padding: 5px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 6px; font-size: 9px; cursor: pointer; }
.weight-row { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 15px; align-items: center; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.weight-row:last-child { border-bottom: 0; }
.weight-row label { font-size: 11px; font-weight: 700; line-height: 1.35; }
.weight-row label span { display: block; color: var(--coral-dark); font-size: 8px; }
.weight-row select { width: 100%; padding: 7px 30px 7px 8px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.custom-results { position: sticky; top: 18px; }
.results-sticky { color: white; background: var(--ink); }
.custom-ranking-list { max-height: 670px; margin: 22px -10px 0 0; padding: 0 10px 0 0; list-style: none; overflow-y: auto; scrollbar-color: rgba(241,199,91,.55) transparent; }
.custom-ranking-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 52px; gap: 9px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.custom-ranking-list li:last-child { border-bottom: 0; }
.custom-ranking-list .custom-rank { display: grid; place-items: center; width: 25px; height: 25px; color: var(--ink); background: var(--yellow); border-radius: 50%; font-size: 10px; font-weight: 850; }
.custom-ranking-list strong { display: block; font-size: 11px; line-height: 1.3; }
.custom-ranking-list small { color: rgba(255,255,255,.55); font-size: 9px; }
.custom-ranking-list .custom-score { text-align: right; font-size: 13px; font-weight: 850; }
.custom-method-note { display: flex; gap: 60px; align-items: start; padding-block: 70px; border-top: 1px solid var(--line); }
.custom-method-note h2 { flex: 0 0 300px; font-size: 32px; }
.custom-method-note p { max-width: 580px; color: var(--muted); }
.custom-method-note a { margin-left: auto; color: var(--coral-dark); font-size: 12px; font-weight: 850; text-decoration: none; white-space: nowrap; }

/* Methodology and about */
.method-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 80px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.method-summary > div { padding: 35px; background: var(--white); }
.method-summary span, .principles span { color: var(--coral); font-family: Georgia, serif; font-size: 22px; font-style: italic; }
.method-summary h2 { margin-top: 42px; font-size: 25px; }
.method-summary p { margin: 0; color: var(--muted); font-size: 13px; }
.formula-section { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 65px; padding-block: 110px; }
.formula-section > div:first-child p { color: var(--muted); }
.formula-card { padding: 15px 30px; color: white; background: var(--ink); border-radius: 16px; }
.formula-card div { padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.formula-card div:last-child { border-bottom: 0; }
.formula-card span { display: block; margin-bottom: 4px; color: var(--yellow); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.formula-card strong { font-size: 20px; }
.formula-note { grid-column: 2; margin: -35px 0 0; color: var(--muted); font-size: 11px; }
.coverage-section { padding-block: 80px; border-top: 1px solid var(--line); }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.coverage-grid > div { padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.coverage-grid p { margin: 17px 0 0; color: var(--muted); font-size: 12px; }
.question-list-section { padding-block: 100px; }
.question-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: 16px; list-style: none; overflow: hidden; counter-reset: none; }
.question-list li { display: grid; grid-template-columns: 45px 1fr; gap: 12px; align-items: center; padding: 16px 20px; background: var(--white); }
.question-list li > span { color: var(--coral-dark); font-size: 10px; font-weight: 900; }
.question-list strong { display: block; font-size: 12px; }
.question-list small { color: var(--muted); font-size: 9px; }
.movement-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-block: 90px; border-top: 1px solid var(--line); }
.movement-section p { color: var(--muted); }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding-block: 110px; }
.about-copy p { color: var(--muted); font-size: 17px; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 110px; }
.principles > div { min-height: 230px; padding: 25px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.principles h2 { margin-top: 55px; font-size: 21px; }
.principles p { color: var(--muted); font-size: 12px; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 820px); }
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 80px max(24px, calc((100vw - 820px) / 2)); }
  .hero-visual { min-height: 520px; }
  .pathway-grid, .subject-grid { grid-template-columns: repeat(2, 1fr); }
  .nss-positioning { grid-template-columns: 1fr; }
  .league-table-critique { grid-column: auto; }
  .explainer-band { grid-template-columns: 1fr 1fr; gap: 35px; }
  .explainer-band > a { grid-column: 1 / -1; }
  .builder-layout { grid-template-columns: 1fr; }
  .custom-results { position: static; }
  .method-summary { grid-template-columns: 1fr; }
  .method-summary h2 { margin-top: 20px; }
  .principles { grid-template-columns: repeat(2, 1fr); }
  .article-top-three { grid-template-columns: 1fr; }
  .article-profile { min-height: auto; }
  .article-profile--winner { transform: none; }
  .article-profile h2, .article-profile p { min-height: 0; }
  .article-method { gap: 45px; }
  .analysis-heading { grid-template-columns: 1fr; gap: 15px; }
  .analysis-heading .eyebrow { grid-column: auto; margin-bottom: 0; }
  .leader-analysis { grid-template-columns: 1fr; }
  .leader-score { padding: 0 0 25px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .leader-score > strong { margin: 25px 0 8px; }
  .contender-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 24px); }
  .site-header { min-height: 66px; padding-inline: 16px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; width: 39px; height: 39px; padding: 10px; background: rgba(255,255,255,.08); border: 0; border-radius: 8px; }
  .menu-toggle > span:not(.sr-only) { width: 100%; height: 2px; background: white; border-radius: 2px; }
  .site-nav { position: absolute; top: 66px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; background: var(--ink); box-shadow: 0 15px 25px rgba(0,0,0,.18); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .provider-scope-bar { gap: 8px; min-height: 54px; padding-inline: 12px; }
  .provider-scope-bar p, .provider-scope-bar > div > span { display: none; }
  .scope-switch { width: 100%; }
  .scope-switch button { flex: 1; }
  h1 { font-size: 45px; }
  h2 { font-size: 35px; }
  .home-hero { min-height: auto; }
  .hero-copy { padding: 68px 20px 55px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-line { gap: 13px; justify-content: space-between; margin-top: 34px; }
  .trust-line span { display: flex; flex-direction: column; }
  .trust-line strong { font-size: 16px; }
  .hero-visual { min-height: 470px; }
  .podium-card { left: 5%; width: 90%; }
  .podium-card--1 { left: 3%; width: 94%; }
  .visual-note--top { left: 6%; }
  .visual-note--bottom { right: 5%; bottom: 5%; left: 5%; max-width: none; }
  .pathways { padding-block: 70px; }
  .nss-positioning { gap: 35px; padding-block: 70px; }
  .nss-boundaries { grid-template-columns: 1fr; }
  .boundary-card { min-height: 160px; }
  .league-table-critique { display: block; margin-top: 5px; padding: 25px 20px; }
  .league-table-critique h3 { margin: 9px 0 20px; font-size: 28px; }
  .league-table-critique > div { margin-top: 18px; }
  .section-heading, .rankings-intro { display: block; }
  .section-heading > p { margin-top: 15px; }
  .section-heading--center { text-align: left; }
  .pathway-grid, .subject-grid { grid-template-columns: 1fr; }
  .pathway-card { min-height: 285px; }
  #rankings { padding: 65px 12px 75px; }
  .year-explainer { margin-top: 20px; }
  .ranking-toolbar { flex-wrap: wrap; padding: 10px; }
  .search-field { flex-basis: 100%; }
  .toolbar-note { display: none; }
  .result-count { margin-left: auto; padding-left: 0; border: 0; }
  .ranking-table th, .ranking-table td { padding: 14px 8px; }
  .ranking-table thead th:nth-child(2), .ranking-table tbody .previous-rank,
  .ranking-table thead th:nth-child(3), .ranking-table tbody .movement { display: none; }
  .ranking-table thead th:nth-child(6), .ranking-table tbody .coverage,
  .ranking-table thead th:nth-child(7), .ranking-table tbody .scope-count,
  .ranking-table thead th:nth-child(8), .ranking-table tbody .details-cell { display: none; }
  .ranking-table tbody th { min-width: 0; width: 100%; font-size: 12px; }
  .rank { width: 48px; }
  .rank span { width: 27px; height: 27px; }
  .score { width: 76px; }
  .score strong { font-size: 15px; }
  .mobile-coverage { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 500; }
  .ranking-table tbody tr { cursor: pointer; }
  .table-footnote { padding-inline: 5px; }
  .explainer-band { grid-template-columns: 1fr; gap: 20px; padding-block: 65px; }
  .explainer-band > a { grid-column: auto; }
  .subject-teaser { padding-block: 70px; }
  .site-footer { grid-template-columns: 1fr; gap: 35px; padding-block: 55px; }
  .directory-hero, .subject-hero, .custom-hero, .method-hero, .about-hero { padding: 70px 20px; }
  .directory-hero { grid-template-columns: 1fr; }
  .directory-stat { justify-self: start; }
  .subject-hero { min-height: 560px; padding-top: 35px; background: var(--ink); }
  .breadcrumbs { margin-bottom: 48px; overflow: hidden; white-space: nowrap; }
  .subject-hero h1 { font-size: 46px; }
  .subject-hero > p { font-size: 15px; }
  .hero-stat { right: 20px; bottom: 24px; }
  .top-ten-section { padding-top: 65px; }
  .article-hero { padding: 35px 20px 65px; }
  .article-hero::after { right: -10px; bottom: -25px; font-size: 180px; }
  .article-hero .breadcrumbs { margin-bottom: 50px; }
  .article-hero h1 { font-size: 48px; }
  .article-deck { font-size: 18px; }
  .article-meta { gap: 8px 0; }
  .article-meta span { padding: 0 9px; }
  .article-copy { padding-block: 60px 35px; }
  .article-copy .article-standfirst { font-size: 23px; }
  .article-copy p { font-size: 17px; }
  .article-analysis { padding-bottom: 70px; }
  .leader-analysis { gap: 25px; padding: 25px 20px; }
  .leader-analysis ul { grid-template-columns: 1fr; }
  .contender-grid { grid-template-columns: 1fr; }
  .contender-card h3 { min-height: 0; }
  .article-top-three { padding-bottom: 65px; }
  .article-ranking { width: calc(100% - 24px); padding-block: 70px; }
  .article-ranking .section-heading { padding-inline: 4px; }
  .article-full-link { width: 100%; justify-content: center; text-align: center; }
  .article-method { grid-template-columns: 1fr; gap: 24px; padding-block: 70px; }
  .article-faq { padding-block: 75px; }
  .detail-drawer aside { padding: 55px 20px 30px; }
  .drawer-heading h2 { font-size: 31px; }
  .builder-setup { grid-template-columns: 1fr; gap: 15px; margin-inline: 0; padding: 20px; }
  .custom-builder { width: calc(100% - 24px); }
  .weight-panel, .results-sticky { padding: 20px; }
  .weight-row { grid-template-columns: 1fr; gap: 8px; }
  .custom-method-note { display: block; }
  .custom-method-note h2 { margin-bottom: 20px; }
  .custom-method-note a { display: inline-block; margin: 10px 0 0; }
  .formula-section, .about-copy, .movement-section { grid-template-columns: 1fr; gap: 30px; padding-block: 75px; }
  .formula-note { grid-column: auto; margin-top: -12px; }
  .coverage-grid, .question-list, .principles { grid-template-columns: 1fr; }
  .question-list li { grid-template-columns: 38px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
