/*
Theme Name: iRead To Live — Symmetry
Theme URI: https://ireadtolive.org
Author: iRead To Live Initiative
Description: Custom theme for iRead To Live Initiative — Nigeria's Independent Higher Education Policy Think Tank. Implements the SYMMETRY design system: fixed editorial layouts with all copy, imagery, buttons and links editable via the Customizer, and dynamic content (Publications, Policy Tracker, Advisory Board, Careers) managed from the dashboard.
Version: 1.4.5
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ireadtolive
*/

/* ===== Fonts (self-hosted, latin + latin-ext subsets) ===== */
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('assets/fonts/sourceserif4-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Source Serif 4'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('assets/fonts/sourceserif4-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 200 900; font-display: swap; src: url('assets/fonts/sourceserif4-600italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/inter-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/plexmono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/plexmono-400-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/plexmono-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/plexmono-500-latinext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0; }

/* ===== SYMMETRY tokens ===== */
:root {
  --navy-900: #132741; --navy-700: #1E3A5F; --navy-500: #2E568C; --navy-100: #DCE5F1; --navy-50: #EEF3F9;
  --red-600: #C63D30; --red-700: #A32E23; --red-50: #FBEAE7;
  --paper: #FAF8F3; --white: #FFFFFF;
  --text-primary: #16202C; --text-secondary: #4E5A68; --text-tertiary: #7C8794; --text-on-dark: #F5F2EA;
  --border: #E3E0D8; --border-strong: #C9C4B8; --chip-neutral-bg: #EFEDE6;
  --success: #0E7A5C; --warning: #B45309; --error: #A32E23; --info: #2E568C;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
  --type-display: 700 60px/1.08 var(--font-serif);
  --type-h1: 700 44px/1.15 var(--font-serif);
  --type-h2: 600 33px/1.2 var(--font-serif);
  --type-h3: 600 25px/1.25 var(--font-serif);
  --type-h4: 600 20px/1.35 var(--font-sans);
  --type-body-lg: 400 19px/1.65 var(--font-sans);
  --type-body: 400 17px/1.65 var(--font-sans);
  --type-small: 400 15px/1.5 var(--font-sans);
  --type-caption: 500 13px/1.45 var(--font-sans);
  --type-eyebrow: 600 13px/1.2 var(--font-sans);
  --size-display-mobile: 38px; --size-h1-mobile: 32px; --size-h2-mobile: 27px;
  --tracking-eyebrow: 0.08em; --measure-prose: 700px;
  --content-max: 1240px; --section-pad: 96px; --section-pad-mobile: 56px;
  --radius-sm: 4px; --radius-md: 8px; --radius-pill: 999px;
  --shadow-hover: 0 8px 24px rgba(19, 39, 65, 0.10);
  --shadow-sticky: 0 2px 12px rgba(19, 39, 65, 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --duration: 180ms;
  --hero-gradient: linear-gradient(135deg, #132741 0%, #1E3A5F 100%);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text-primary); font: var(--type-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: var(--navy-700); margin: 0 0 16px; }
h1 { font: var(--type-h1); } h2 { font: var(--type-h2); } h3 { font: var(--type-h3); }
h4 { font: var(--type-h4); color: var(--navy-700); margin: 0 0 12px; }
p { margin: 0 0 16px; text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-500); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--red-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--navy-500); outline-offset: 2px; }
blockquote { font: italic 600 25px/1.45 var(--font-serif); color: var(--navy-700); border-left: 3px solid var(--red-600); margin: 32px 0; padding-left: 24px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Layout ===== */
.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 24px; }
.band { padding: var(--section-pad) 0; }
.band-paper { background: var(--paper); }
.band-white { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-white-plain { background: var(--white); }
.band-tint { background: var(--navy-50); }
.band-dark { background: var(--navy-900); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.section-h2 { font: var(--type-h2); color: var(--navy-700); margin: 0; }
.band-dark .section-h2, .band-dark h2 { color: #fff; }
.band-dark p { color: rgba(245,242,234,0.8); }
.prose { max-width: var(--measure-prose); }
.prose p { margin: 0 0 20px; }
.prose p:last-child { margin-bottom: 0; }
.lede { font: var(--type-body-lg); color: var(--text-secondary); }

/* ===== Eyebrow ===== */
.eyebrow { display: inline-block; font: var(--type-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--red-700); }
.eyebrow::after { content: ''; display: block; width: 32px; height: 3px; background: var(--red-600); margin-top: 8px; }
.eyebrow.on-dark { color: var(--red-600); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font-sans); padding: 12px 24px; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none; transition: all var(--duration) var(--ease-out); border: 1.5px solid transparent; min-height: 44px; box-sizing: border-box; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red-600); color: #fff !important; }
.btn-primary:hover { background: var(--red-700); }
.btn-secondary { background: transparent; color: var(--navy-700) !important; border-color: var(--navy-700); }
.btn-secondary:hover { background: var(--navy-50); }
.btn-ghost-dark { background: transparent; color: var(--text-on-dark) !important; border-color: var(--text-on-dark); }
.btn-ghost-dark:hover { color: #fff !important; border-color: var(--red-600); }
.btn-text { background: none; border: none; padding: 0; min-height: 0; color: var(--navy-500) !important; font: 600 15px/1 var(--font-sans); display: inline-flex; align-items: center; gap: 8px; }
.btn-text:hover { transform: none; text-decoration: underline; text-decoration-color: var(--red-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.btn-text .btn-arrow { display: inline-block; transition: transform var(--duration) var(--ease-out); }
.btn-text:hover .btn-arrow { transform: translateX(3px); }
.btn-sm { padding: 9px 18px; min-height: 38px; font-size: 13px; }

/* ===== Chips ===== */
.chip { display: inline-block; font: var(--type-caption); letter-spacing: 0.05em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--chip-neutral-bg); color: var(--text-secondary); }
.chip-policy-brief, .chip-navy { background: var(--navy-100); color: var(--navy-700); }
.chip-commentary { background: var(--red-50); color: var(--red-700); }
.chip-working-paper { background: var(--chip-neutral-bg); color: var(--text-secondary); }
.chip-annual-report { background: var(--navy-700); color: #fff; }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; transition: box-shadow 0.25s var(--ease-out); }
.site-header.is-scrolled { box-shadow: var(--shadow-sticky); }
.utility-bar { background: var(--navy-900); color: var(--text-on-dark); height: 36px; display: flex; align-items: center; }
.utility-inner { max-width: var(--content-max); margin: 0 auto; width: 100%; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; font: 400 13px/1 var(--font-sans); }
.utility-right { display: flex; gap: 16px; color: rgba(245,242,234,0.8); }
.utility-right a { color: rgba(245,242,234,0.8); font-weight: 400; }
.main-bar { background: var(--white); border-bottom: 1px solid var(--border); height: 76px; display: flex; align-items: center; }
.main-bar-inner { max-width: var(--content-max); margin: 0 auto; width: 100%; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-desktop { display: flex; align-items: center; gap: 22px; }
.nav-desktop > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.nav-link { font: 500 15px/1 var(--font-sans); color: var(--text-primary); padding-bottom: 6px; text-decoration: none; border-bottom: 2px solid transparent; transition: color var(--duration) var(--ease-out); white-space: nowrap; display: inline-flex; align-items: center; font-weight: 500; }
.nav-link:hover { color: var(--navy-500); text-decoration: none; }
.dropdown-wrap.current-menu-item > .nav-link, .dropdown-wrap.current-menu-ancestor > .nav-link,
li.current-menu-item > .nav-link, li.current-menu-ancestor > .nav-link, .nav-link.is-active { color: var(--navy-500); border-bottom-color: var(--red-600); }
.dropdown-wrap { position: relative; display: inline-flex; }
.caret { display: inline-block; font-size: 10px; margin-left: 4px; transition: transform 0.2s var(--ease-out); }
.dropdown-wrap:hover .caret, .dropdown-wrap:focus-within .caret { transform: rotate(180deg); }
.dropdown-bridge { position: absolute; top: 100%; left: 0; right: 0; height: 14px; display: none; }
.dropdown-panel { position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: 0 16px 40px rgba(19,39,65,0.14); min-width: 236px; padding: 8px; display: none; flex-direction: column; z-index: 60; list-style: none; margin: 0; }
.dropdown-wrap:hover .dropdown-panel, .dropdown-wrap:focus-within .dropdown-panel { display: flex; animation: fadeUp 0.22s var(--ease-out) both; }
.dropdown-wrap:hover .dropdown-bridge, .dropdown-wrap:focus-within .dropdown-bridge { display: block; }
.dropdown-panel a { font: 500 15px/1.2 var(--font-sans); color: var(--text-primary); text-decoration: none; padding: 10px 14px; border-radius: 4px; transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out); display: block; }
.dropdown-panel a:hover { background: var(--navy-50); color: var(--navy-500); text-decoration: none; }
.icon-btn { background: none; border: none; cursor: pointer; color: var(--navy-700); padding: 8px; display: inline-flex; align-items: center; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; color: var(--navy-700); padding: 8px; }
.burger-icon { width: 24px; height: 18px; position: relative; display: inline-block; }
.burger-icon span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 1px; background: currentColor; transition: transform 0.3s var(--ease-out), opacity 0.2s var(--ease-out), top 0.3s var(--ease-out); }
.burger-icon span:nth-child(1) { top: 0; }
.burger-icon span:nth-child(2) { top: 8px; }
.burger-icon span:nth-child(3) { top: 16px; }
.burger-icon.is-open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger-icon.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0.4); }
.burger-icon.is-open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* ===== Mobile menu overlay ===== */
.menu-overlay { position: fixed; inset: 0; z-index: 100; background: var(--navy-900); display: none; flex-direction: column; overflow-y: auto; }
.menu-overlay.is-open { display: flex; animation: overlayIn 0.32s var(--ease-out) both; }
.menu-overlay.is-closing { animation: overlayOut 0.3s var(--ease-out) both; }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid rgba(245,242,234,0.15); }
.menu-top img { height: 36px; width: auto; }
.menu-nav { display: flex; flex-direction: column; padding: 24px 24px 8px; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; }
.menu-overlay.is-open .menu-item { animation: fadeUp 0.5s var(--ease-out) both; }
.menu-overlay.is-closing .menu-item { animation: none; }
.menu-item { border-bottom: 1px solid rgba(245,242,234,0.12); padding: 12px 0; }
.menu-item > a { font: 600 26px/1.3 var(--font-serif); color: rgba(245,242,234,0.85); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.menu-item.current-menu-item > a, .menu-item.current-menu-ancestor > a { color: #fff; }
.menu-item.current-menu-item > a::before, .menu-item.current-menu-ancestor > a::before { content: ''; width: 24px; height: 3px; background: var(--red-600); flex-shrink: 0; }
.menu-item ul { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.menu-item ul a { font: 400 15px/1.5 var(--font-sans); color: rgba(245,242,234,0.6); text-decoration: none; padding: 5px 0 5px 36px; display: block; }
.menu-foot { padding: 20px 24px 40px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.menu-foot .menu-mail { font: 400 14px/1.4 var(--font-sans); color: rgba(245,242,234,0.7); }
body.menu-locked { overflow: hidden; }

/* ===== Home hero ===== */
.hero { background: var(--hero-gradient); position: relative; overflow: hidden; }
.hero-pattern { position: absolute; inset: 0; opacity: 0.08; background-image: linear-gradient(#F5F2EA 1px, transparent 1px), linear-gradient(90deg, #F5F2EA 1px, transparent 1px); background-size: 72px 72px; }
.page-hero .hero-pattern { opacity: 0.06; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; background-size: cover; background-position: center; filter: saturate(0.55) contrast(1.02); animation: photoIn 1.2s var(--ease-out) both; }
.photo-credit { position: absolute; right: 12px; bottom: 10px; font: 400 10px/1.3 var(--font-mono); color: rgba(245,242,234,0.45); letter-spacing: 0.02em; z-index: 2; }
.hero-wrap { position: relative; padding: 88px 24px 0; }
.hero-wrap--no-stats { padding-bottom: 96px; }
.hero-content { max-width: 800px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero-display { font: var(--type-display); letter-spacing: -0.01em; color: #fff; margin: 0; }
.hero-sub { margin: 0; }
.hero-sub strong { font: 600 19px/1.5 var(--font-sans); color: var(--text-on-dark); }
.hero-sub span { font: 400 19px/1.55 var(--font-sans); color: rgba(245,242,234,0.8); display: block; margin-top: 8px; max-width: 640px; }
.hero-ctas { display: flex; gap: 12px; }
.stat-strip { display: flex; gap: 96px; border-top: 1px solid rgba(201,196,184,0.35); margin-top: 64px; padding: 32px 0 48px; }
.stat::before { content: ''; display: block; width: 32px; height: 3px; background: var(--red-600); margin-bottom: 12px; }
.stat-value { font: 500 44px/1.1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--text-on-dark); }
.stat-label { font: 400 14px/1.4 var(--font-sans); margin-top: 6px; color: rgba(245,242,234,0.75); }

/* ===== Page hero (interior) ===== */
.page-hero { background: var(--hero-gradient); position: relative; overflow: hidden; }
.page-hero-wrap { position: relative; padding: 48px 24px 64px; }
.crumbs { font: 500 13px/1.4 var(--font-sans); color: rgba(245,242,234,0.55); display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.crumbs a { color: rgba(245,242,234,0.7); font-weight: 500; }
.crumbs .current { color: rgba(245,242,234,0.85); }
.page-h1 { font: var(--type-h1); color: #fff; margin: 20px 0 0; max-width: 820px; text-wrap: pretty; }
.page-intro { font: var(--type-body-lg); color: rgba(245,242,234,0.8); margin: 20px 0 0; max-width: var(--measure-prose); text-wrap: pretty; }
.page-meta { font: 400 13px/1.4 var(--font-mono); color: rgba(245,242,234,0.6); margin-top: 28px; }

/* ===== Mission ===== */
.mission-h2 { font: var(--type-h2); color: var(--navy-700); margin: 0; text-wrap: pretty; }
.mission-inner { max-width: 860px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.mission-body { font: var(--type-body-lg); color: var(--text-secondary); margin: 0; max-width: var(--measure-prose); }

/* ===== Chart ===== */
.chart-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px 32px 24px; margin-top: 48px; max-width: 860px; }
.chart-card h3 { font: 600 22px/1.3 var(--font-serif); margin: 0 0 4px; }
.chart-sub { font: 400 14px/1.5 var(--font-sans); color: var(--text-secondary); margin: 0 0 20px; }
.chart-card svg { width: 100%; height: auto; display: block; }
.chart-source { font: 400 12px/1.5 var(--font-mono); color: var(--text-tertiary); margin: 16px 0 0; }
.chart-card .chart-bar { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform 0.7s var(--ease-out); }
.chart-card.revealed .chart-bar { transform: scaleY(1); }
.chart-card .chart-num { opacity: 0; transition: opacity 0.45s var(--ease-out) 0.6s; }
.chart-card.revealed .chart-num { opacity: 1; }
.chart-card .chart-cap { opacity: 0; transition: opacity 0.5s var(--ease-out) 0.8s; }
.chart-card.revealed .chart-cap { opacity: 1; }

/* ===== Focus cards ===== */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.focus-card { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--red-600); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: all var(--duration) var(--ease-out); }
.focus-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.focus-card .focus-icon { color: var(--navy-700); width: 28px; height: 28px; }
.focus-card h3 { font: 600 22px/1.25 var(--font-serif); margin: 0; }
.focus-card p { font: var(--type-small); color: var(--text-secondary); margin: 0; }
.focus-card .card-link { font: 600 14px/1 var(--font-sans); color: var(--navy-500); margin-top: auto; }

/* ===== Publication cards ===== */
.pub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pub-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: all var(--duration) var(--ease-out); }
.pub-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.pub-cover { margin: -24px -24px 4px; border-radius: var(--radius-md) var(--radius-md) 0 0; background-image: linear-gradient(rgba(245,242,234,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(245,242,234,0.05) 1px, transparent 1px), linear-gradient(150deg, #1E3A5F 0%, #132741 100%); background-size: 28px 28px, 28px 28px, auto; padding: 18px 20px 14px; min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.pub-cover img { height: 18px; width: auto; align-self: flex-start; }
.pub-cover-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pub-cover-meta span:first-child { font: 500 11px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,242,234,0.7); }
.pub-cover-bar { width: 32px; height: 3px; background: var(--red-600); flex-shrink: 0; }
.pub-card h3 { font: 600 22px/1.3 var(--font-serif); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-card h3 a { color: var(--navy-700); }
.pub-card:hover h3 a { color: var(--navy-500); text-decoration: none; }
.pub-card .pub-excerpt { font: var(--type-small); color: var(--text-secondary); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-meta { font: 400 13px/1.4 var(--font-mono); color: var(--text-tertiary); margin-top: auto; }

/* ===== Media strip ===== */
.media-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 24px; }
.media-strip-inner { max-width: var(--content-max); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px 32px; flex-wrap: wrap; }
.media-strip-label { font: 600 12px/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.media-outlet { font: 600 21px/1 var(--font-serif); color: #7C8794; }
.media-outlet small { font: 400 14px/1 var(--font-sans); color: var(--text-tertiary); }
.media-dot { color: var(--border-strong); }

/* ===== Leadership ===== */
.leadership { background: var(--white); padding: 64px 24px; }
.leadership-grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: center; }
.leadership-info { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.leadership-name { font: 600 33px/1.2 var(--font-serif); color: var(--navy-700); margin: 0; }
.leadership-role { font: 600 15px/1.4 var(--font-sans); color: var(--text-secondary); }
.leadership-bio { font: var(--type-body); margin: 0; max-width: 620px; }
.leadership-creds { font: 400 13px/1.5 var(--font-mono); color: var(--text-tertiary); }
.portrait-monogram { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-md); background-image: linear-gradient(rgba(245,242,234,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(245,242,234,0.04) 1px, transparent 1px), linear-gradient(160deg, #1E3A5F 0%, #132741 100%); background-size: 36px 36px, 36px 36px, auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 16px; }
.portrait-monogram .bar { width: 32px; height: 3px; background: var(--red-600); }
.portrait-monogram .initials { font: 700 72px/1 var(--font-serif); color: var(--text-on-dark); letter-spacing: 0.02em; }
.portrait-monogram .caption { font: 400 11px/1.4 var(--font-mono); color: rgba(245,242,234,0.55); letter-spacing: 0.08em; text-transform: uppercase; }
.portrait-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); filter: grayscale(20%) sepia(8%) hue-rotate(180deg) saturate(0.9); }

/* ===== Vision band ===== */
.vision-band { position: relative; background-size: cover; background-position: center; background-color: var(--navy-900); padding: 96px 24px; }
.vision-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.vision-quote { font: italic 600 28px/1.5 var(--font-serif); color: #fff; margin: 0; text-wrap: pretty; border: none; padding: 0; }

/* ===== Tracker ===== */
.tracker-filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-chip { font: 500 13px/1 var(--font-sans); padding: 8px 14px; cursor: pointer; border-radius: var(--radius-pill); transition: all var(--duration) var(--ease-out); border: 1px solid var(--border-strong); background: var(--white); color: var(--text-secondary); text-decoration: none; display: inline-block; }
.filter-chip:hover { text-decoration: none; color: var(--navy-700); }
.filter-chip.is-active { border-color: var(--navy-700); background: var(--navy-100); color: var(--navy-700); }
.tracker-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--white); }
.tracker-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.tracker-table th { font: 600 14px/1.4 var(--font-sans); color: #fff; background: var(--navy-700); text-align: left; padding: 14px 16px; white-space: nowrap; }
.tracker-table tbody tr { border-top: 1px solid var(--border); height: 48px; transition: background-color 0.18s var(--ease-out); }
.tracker-table tbody tr:nth-child(even) { background: var(--paper); }
.tracker-table tbody tr:hover { background: var(--navy-50); }
.tracker-table td { padding: 10px 16px; font: 400 15px/1.5 var(--font-sans); color: var(--text-secondary); }
.tracker-table td.t-date { font: 400 13px/1.4 var(--font-mono); white-space: nowrap; }
.tracker-table td.t-action { font: 600 15px/1.4 var(--font-sans); color: var(--text-primary); }
.tracker-table td.t-source { white-space: nowrap; }
.tracker-note { font: 400 12px/1.5 var(--font-mono); color: var(--text-tertiary); margin: 16px 0 0; }

/* ===== Newsletter ===== */
.newsletter-band { text-align: center; }
.newsletter-inner { max-width: 640px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.newsletter-form { display: flex; gap: 8px; width: 100%; max-width: 460px; }
.newsletter-form input[type="email"] { flex: 1; min-width: 0; font: 400 15px/1 var(--font-sans); padding: 13px 16px; min-height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--white); color: var(--text-primary); }
.newsletter-form button { font: 600 15px/1 var(--font-sans); color: #fff; background: var(--red-600); border: none; border-radius: var(--radius-sm); padding: 13px 22px; min-height: 48px; cursor: pointer; transition: background var(--duration) var(--ease-out); }
.newsletter-form button:hover { background: var(--red-700); }
.newsletter-privacy { font: 400 13px/1.5 var(--font-sans); color: var(--text-secondary); margin: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-900); color: var(--text-on-dark); }
.footer-grid { max-width: var(--content-max); margin: 0 auto; padding: 64px 24px 48px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 44px; width: auto; align-self: flex-start; }
.footer-tagline { font: 400 14px/1.6 var(--font-sans); color: rgba(245,242,234,0.75); margin: 0; max-width: 320px; }
.footer-gov { font: 400 13px/1.6 var(--font-sans); color: rgba(245,242,234,0.55); margin: 0; max-width: 320px; }
.footer-socials { font: 400 13px/1.4 var(--font-sans); color: rgba(245,242,234,0.6); display: flex; gap: 6px; flex-wrap: wrap; }
.footer-socials a { color: rgba(245,242,234,0.75); font-weight: 400; }
.footer-col h4 { font: 600 14px/1.4 var(--font-sans); color: var(--text-on-dark); margin: 0 0 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(245,242,234,0.8); font: 400 15px/1.4 var(--font-sans); }
.footer-contact p { font: 400 14px/1.6 var(--font-sans); color: rgba(245,242,234,0.75); margin: 0 0 16px; }
.footer-contact a { color: rgba(245,242,234,0.85); font-weight: 400; }
.footer-form { display: flex; gap: 8px; }
.footer-form input[type="email"] { flex: 1; min-width: 0; font: 400 14px/1 var(--font-sans); padding: 10px 12px; border-radius: var(--radius-sm); border: none; background: var(--white); color: var(--text-primary); }
.footer-form button { font: 600 14px/1 var(--font-sans); color: #fff; background: var(--red-600); border: none; border-radius: var(--radius-sm); padding: 10px 16px; cursor: pointer; }
.footer-bottom { border-top: 1px solid var(--red-600); }
.footer-bottom-inner { max-width: var(--content-max); margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font: 400 13px/1.4 var(--font-sans); color: rgba(245,242,234,0.6); }
.footer-bottom-inner a { color: inherit; font-weight: 400; }
.footer-bottom-inner .links { display: flex; gap: 20px; }

/* ===== Interior components ===== */
.two-col { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.card-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.info-card { background: var(--paper); border: 1px solid var(--border); border-top: 4px solid var(--red-600); border-radius: var(--radius-md); padding: 32px; }
.info-card.on-white { background: var(--white); }
.info-card h3 { margin: 0 0 12px; }
.info-card p { font: var(--type-body); color: var(--text-secondary); margin: 0; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 720px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border-strong); }
.timeline li { position: relative; padding: 0 0 44px 44px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--red-600); border: 3px solid var(--paper); box-sizing: border-box; }
.timeline .tl-year { font: 600 14px/1 var(--font-mono); color: var(--red-700); letter-spacing: 0.04em; margin-bottom: 8px; }
.timeline h3 { font: 600 22px/1.3 var(--font-serif); margin: 0 0 8px; }
.timeline p { font: var(--type-small); color: var(--text-secondary); margin: 0; max-width: 560px; }
/* Policy Briefs: single-column document list — cover left, details right,
   hairline rule demarcating each entry. */
.brief-list { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; }
.brief-row { display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--border); }
.brief-list .brief-row:first-child { padding-top: 0; }
.brief-cover { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.brief-cover-fallback { background: var(--navy-700); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.brief-cover-fallback > img { width: 104px; }
.brief-cover-meta { display: flex; flex-direction: column; gap: 8px; font: 400 12px var(--font-mono); color: rgba(245, 242, 234, 0.75); letter-spacing: 0.08em; }
.brief-cover-bar { width: 40px; height: 4px; background: var(--red-600); }
.brief-row-body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; max-width: 55ch; }
.brief-date { font: 400 11px/1.5 var(--font-mono); color: var(--text-tertiary); letter-spacing: 0.06em; text-transform: uppercase; }
.brief-title { font: 600 24px/1.3 var(--font-serif); color: var(--navy-700); margin: 0; }
.brief-summary { font: 400 15px/1.6 var(--font-sans); color: var(--text-secondary); }
.brief-summary p { margin: 0 0 8px; }
.brief-summary p:last-child { margin-bottom: 0; }
.brief-download { margin-top: 6px; }

.team-section { margin-bottom: 64px; }
.team-section:last-of-type { margin-bottom: 0; }
.team-heading { font: 600 24px/1.25 var(--font-serif); color: var(--navy-700); margin: 0 0 24px; }
.team-heading::after { content: ''; display: block; width: 32px; height: 3px; background: var(--red-600); margin-top: 10px; }
.team-section--lead .team-heading { font-size: 36px; }
.board-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.board-grid--2 { grid-template-columns: repeat(2, 1fr); }
.board-grid--3 { grid-template-columns: repeat(3, 1fr); }
.board-grid--4 { grid-template-columns: repeat(4, 1fr); }
.board-seat { display: flex; flex-direction: column; gap: 14px; }
.board-portrait { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); object-fit: cover; object-position: top center; }
.board-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); background: var(--navy-50); border: 1px solid var(--navy-100); display: flex; align-items: center; justify-content: center; color: var(--navy-100); }
/* Portrait height scales with the section's column count: wider columns get
   taller images, capped so nothing towers over the page. */
.board-portrait, .board-placeholder { max-height: 536px; }
.board-grid--3 .board-portrait, .board-grid--3 .board-placeholder { max-height: 420px; }
.board-grid--4 .board-portrait, .board-grid--4 .board-placeholder { max-height: 320px; }
.board-name { font: 600 18px/1.3 var(--font-serif); color: var(--navy-700); }
.board-seat.is-empty .board-name { color: var(--text-tertiary); }
.board-role { font: 400 11px/1.5 var(--font-mono); color: var(--text-tertiary); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }
.board-bio { font: 400 13px/1.5 var(--font-sans); color: var(--text-secondary); margin: 6px 0 0; }
.consent-note { font: 400 13px/1.6 var(--font-mono); color: var(--text-tertiary); margin: 32px 0 0; }
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.job-card { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--red-600); border-radius: var(--radius-md); padding: 32px; }
.job-card h3 { font: 600 25px/1.25 var(--font-serif); margin: 16px 0 8px; }
.job-card .job-desc { font: var(--type-body); color: var(--text-secondary); margin: 0 0 20px; }
.job-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.aside-note { font: var(--type-small); color: var(--text-tertiary); margin: 32px 0 0; }
.empty-state { text-align: center; padding: 80px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty-state .es-icon { color: var(--navy-700); }
.empty-state h3 { font: 600 25px/1.25 var(--font-serif); margin: 0; max-width: 480px; }
.empty-state p { font: var(--type-small); color: var(--text-secondary); margin: 0; max-width: 440px; }
.empty-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); max-width: 760px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: start; }
.contact-note { font: var(--type-small); color: var(--text-tertiary); max-width: 380px; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 14px/1.4 var(--font-sans); color: var(--text-primary); }
.field label .req { color: var(--red-700); }
.field input, .field textarea { font: var(--type-small); font-family: var(--font-sans); color: var(--text-primary); background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 11px 14px; min-height: 44px; outline: none; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 2px var(--navy-500); border-color: var(--navy-500); }
.form-success { text-align: center; padding: 32px 0; }
.hp-field { position: absolute !important; left: -9999px !important; }
.focus-detail .eyebrow { margin-bottom: 4px; }
.focus-addressed { font: 400 14px/1.6 var(--font-mono); color: var(--text-tertiary); margin: 0 0 20px; }
.credit-line { font: 400 13px/1.6 var(--font-mono); color: var(--text-tertiary); margin-top: 16px; }
.media-inline { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }

/* ===== Single publication ===== */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.article-body { max-width: 700px; }
.article-body p { font: 400 17px/1.75 var(--font-sans); color: var(--text-primary); margin: 0 0 22px; text-wrap: pretty; }
.article-body > p:first-of-type { font: 400 20px/1.65 var(--font-sans); color: var(--text-secondary); margin-bottom: 28px; }
.article-body h2 { font: 600 27px/1.3 var(--font-serif); color: var(--navy-700); margin: 44px 0 16px; }
.article-body h3 { font: 600 22px/1.3 var(--font-serif); margin: 36px 0 14px; }
.article-body img { border-radius: var(--radius-md); }
.article-author { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; gap: 16px; align-items: center; }
.author-avatar { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(160deg, var(--navy-700), var(--navy-900)); display: flex; align-items: center; justify-content: center; font: 700 20px/1 var(--font-serif); color: var(--text-on-dark); overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font: 600 16px/1.3 var(--font-serif); color: var(--navy-700); }
.author-role { font: 400 13px/1.5 var(--font-sans); color: var(--text-secondary); }
.article-tags { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.article-sidebar { position: sticky; top: 136px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.side-card.accent { border-top: 4px solid var(--red-600); }
.side-card h4 { font: 600 13px/1.2 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); margin: 0 0 12px; }
.side-share { display: flex; gap: 8px; font: 500 14px/1 var(--font-sans); flex-wrap: wrap; align-items: center; }
.side-share .media-dot { color: var(--border-strong); }
.cite-box { background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--radius-md); padding: 20px; }
.cite-box h4 { font: 600 13px/1.2 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy-700); margin: 0 0 10px; }
.cite-text { font: 400 12.5px/1.6 var(--font-mono); color: var(--text-secondary); margin: 0 0 14px; word-break: break-word; }
.side-related { display: flex; flex-direction: column; gap: 14px; }
.side-related a { text-decoration: none; }
.side-related .rel-title { font: 600 15px/1.4 var(--font-serif); color: var(--navy-700); }
.side-related .rel-date { font: 400 12px/1.4 var(--font-mono); color: var(--text-tertiary); margin-top: 4px; }
.side-news { background: var(--navy-900); border-radius: var(--radius-md); padding: 20px; }
.side-news h4 { font: 600 16px/1.35 var(--font-serif); color: #fff; margin: 0 0 8px; text-transform: none; letter-spacing: 0; }
.side-news p { font: 400 13px/1.5 var(--font-sans); color: rgba(245,242,234,0.7); margin: 0 0 12px; }
.article-pagenav { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.article-pagenav a { text-decoration: none; max-width: 380px; }
.article-pagenav .pn-label { font: 600 12px/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 8px; }
.article-pagenav .pn-title { font: 600 17px/1.4 var(--font-serif); color: var(--navy-700); }
.article-pagenav .pn-next { text-align: right; margin-left: auto; }

/* ===== Motion ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes overlayIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes overlayOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-10px); } }
@keyframes photoIn { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: none; } }
.anim-fade { animation: fadeUp 0.7s var(--ease-out) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.16s; } .d3 { animation-delay: 0.24s; } .d4 { animation-delay: 0.36s; }
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal-children] > * { opacity: 0; }
[data-reveal-children].revealed > * { animation: fadeIn 0.55s var(--ease-out) both; }
[data-reveal-children].revealed > *:nth-child(2) { animation-delay: 0.09s; }
[data-reveal-children].revealed > *:nth-child(3) { animation-delay: 0.18s; }
[data-reveal-children].revealed > *:nth-child(4) { animation-delay: 0.27s; }
.no-js [data-reveal], .no-js [data-reveal-children] > * { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .nav-desktop { display: none; }
  .nav-burger { display: inline-flex; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: 1fr; gap: 48px; }
  .article-sidebar { position: static; }
}
@media (max-width: 900px) {
  .pub-grid { grid-template-columns: 1fr; }
  .jobs-grid { grid-template-columns: 1fr; }
  .board-grid--3, .board-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .leadership-grid > *:first-child { max-width: 260px; }
  .hero-photo { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .two-col > *:first-child { max-width: 280px; }
}
@media (max-width: 767px) {
  .band { padding: var(--section-pad-mobile) 0; }
  .hero-display { font-size: var(--size-display-mobile); }
  .section-h2, .mission-h2 { font-size: var(--size-h2-mobile); }
  .page-h1 { font-size: var(--size-h1-mobile); }
  .focus-grid { grid-template-columns: 1fr; }
  .stat-strip { gap: 28px 40px; flex-wrap: wrap; }
  .hero-ctas { flex-wrap: wrap; }
  .utility-tagline { display: none; }
  .hero-wrap { padding: 48px 24px 0; }
  .nav-cta-header { display: none; }
  .vision-quote { font-size: 22px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .board-grid--2, .board-grid--3, .board-grid--4 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .brief-row { grid-template-columns: 1fr; gap: 20px; }
  .brief-row .brief-cover { max-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal], [data-reveal-children] > *, .anim-fade, .hero-photo,
  .chart-card .chart-bar, .chart-card .chart-num, .chart-card .chart-cap, .menu-overlay .menu-item {
    opacity: 1 !important; transform: none !important;
  }
}
