/* ============================================================
   Kairos Blueprint - style.css (2026 redesign)
   Tokens map one-to-one to Webflow Variables if rebuilt there.
   ============================================================ */

/* ---------- fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --navy: #0F172A;          /* Deep Navy */
  --midnight: #0B1424;      /* Midnight Navy */
  --gold: #D6AE6C;          /* Warm Gold (on dark) */
  --gold-ink: #7D5E22;      /* gold for text on light, AA contrast */
  --paper: #F8F9FB;         /* Off-White */
  --slate: #E9EDF2;         /* Soft Slate */
  --charcoal: #273244;      /* Charcoal */
  --muted: #566173;
  --line: #D9DFE7;
  --white: #FFFFFF;
  --on-dark: #E8ECF2;
  --on-dark-muted: #AAB5C5;
  --line-dark: rgba(214, 174, 108, 0.22);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: 32px;
  --nav-h: 72px;
  --radius: 6px;
  --section: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 2.2vw + 1rem, 2.6rem); line-height: 1.15; }
h3 { font-size: 1.3rem; line-height: 1.25; }

p { max-width: 68ch; }
a { color: var(--gold-ink); text-decoration: none; }
a:hover { color: var(--navy); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--midnight); font-weight: 600;
  padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 18px;
}
.on-dark .eyebrow { color: var(--gold); }

.section { padding-block: var(--section); }
.section-white { background: var(--white); }
.section-slate { background: var(--slate); }
.on-dark { background: var(--navy); color: var(--on-dark); }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p { color: var(--on-dark-muted); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { max-width: 22ch; }

.text-link { font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.text-link::after { content: "\2192"; transition: transform 0.25s var(--ease); }
.text-link:hover::after { transform: translateX(4px); }
.on-dark .text-link { color: var(--gold); }
.on-dark .text-link:hover { color: var(--white); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  font: 600 0.95rem/1 var(--sans); letter-spacing: 0.01em;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--midnight); }
.btn-primary:hover { background: #E5C58D; color: var(--midnight); }
.btn-ghost { border-color: rgba(232, 236, 242, 0.4); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.88rem; }

/* ---------- header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: var(--midnight);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(11, 20, 36, 0.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 8px 24px rgba(11, 20, 36, 0.18);
}
.nav { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: var(--white); }
.brand:hover { color: var(--white); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.005em; white-space: nowrap; }

.nav-menu { display: flex; align-items: center; gap: 26px; }
.nav-menu a {
  position: relative; display: inline-block; padding: 8px 0;
  color: var(--on-dark); font-size: 0.9rem; font-weight: 500;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--white); }
.nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(232, 236, 242, 0.3);
  border-radius: var(--radius); background: transparent; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--midnight); color: var(--white); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: 520px; padding-block: 56px; }
.hero-copy { width: 58%; }

.hero h1 {
  color: var(--white); font-weight: 500;
  font-size: clamp(2.25rem, 3.2vw + 0.75rem, 3.5rem); line-height: 1.1;
}
.hero h1 span { display: block; }
.hero h1 em { display: block; color: var(--gold); font-style: italic; font-weight: 400; }

.hero-lede { margin-top: 22px; font-size: 1.06rem; line-height: 1.6; color: var(--on-dark); max-width: 56ch; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 42%; }
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 22%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 20, 36, 0.55) 0%, rgba(15, 23, 42, 0.22) 40%, rgba(15, 23, 42, 0.12) 100%),
    linear-gradient(0deg, rgba(11, 20, 36, 0.45) 0%, transparent 35%);
}
.hero-orbit { position: absolute; z-index: 2; left: -52px; bottom: 34px; width: 104px; height: 104px; }
.hero-rule { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-dark); }

@media (prefers-reduced-motion: no-preference) {
  .orbit-a { transform-origin: 50% 50%; animation: orbit 80s linear infinite; }
  .orbit-b { transform-origin: 50% 50%; animation: orbit 110s linear infinite reverse; }
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* ---------- A. introduction ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: start; }
.intro-statement { font-family: var(--serif); font-size: clamp(1.6rem, 1.6vw + 1rem, 2.25rem); line-height: 1.28; color: var(--navy); max-width: 24ch; }
.intro-statement em { color: var(--gold-ink); }
.intro p + p { margin-top: 14px; }
.facts { margin-top: 28px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 128px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--navy); font-weight: 500; }
.intro-links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- B. pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pillar {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; color: var(--charcoal);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.pillar:hover { border-color: #B9C3D0; transform: translateY(-3px); color: var(--charcoal); }
.pillar:hover::before { transform: scaleX(1); }
.pillar svg { width: 30px; height: 30px; color: var(--gold-ink); margin-bottom: 6px; }
.pillar p { font-size: 0.94rem; line-height: 1.55; color: var(--muted); flex: 1; }
.pillar .text-link { margin-top: 6px; }

/* ---------- C. featured Policy Lab ---------- */
.lab { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.lab h2 { max-width: 20ch; }
.lab-lede { margin-top: 18px; font-size: 1.05rem; }
.lab-areas { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.lab-areas li { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.lab-areas strong { display: block; color: var(--white); font-weight: 600; font-size: 0.98rem; }
.lab-areas span { display: block; margin-top: 4px; color: var(--on-dark-muted); font-size: 0.9rem; line-height: 1.5; }
.lab-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.lab-figure { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.lab-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.lab-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 20, 36, 0.5), transparent 45%); }
.lab-figure figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 16px; color: var(--on-dark); font-size: 0.82rem; }

/* ---------- D. approach ---------- */
.approach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--navy); }
.approach li { padding: 28px 28px 8px 0; }
.approach li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.approach strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 1.4vw + 1rem, 2.3rem); color: var(--navy); line-height: 1.1; }
.approach span { display: block; margin-top: 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* ---------- E. programmes ---------- */
.programmes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.programme { display: flex; flex-direction: column; }
.programme figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: #CFD6DF; }
.programme img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.programme:hover img { transform: scale(1.035); }
.programme .tag { margin-top: 20px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); }
.programme h3 { margin-top: 8px; }
.programme p { margin-top: 10px; font-size: 0.95rem; color: var(--muted); line-height: 1.6; }

/* ---------- F. publications (home rows) ---------- */
.pub-rows { border-top: 1px solid var(--navy); }
.pub-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 32px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line); color: var(--charcoal);
  transition: background-color 0.2s var(--ease), padding 0.25s var(--ease);
}
a.pub-row:hover { background: var(--paper); padding-inline: 16px; color: var(--charcoal); }
.pub-row-meta { font-size: 0.85rem; color: var(--muted); }
.pub-row-meta b { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-bottom: 4px; }
.pub-row h3 { font-size: 1.25rem; }
.pub-row p { margin-top: 8px; font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.pub-row-cta { font-size: 0.88rem; font-weight: 600; color: var(--gold-ink); white-space: nowrap; padding-top: 4px; }
.pub-row-cta.is-soon { color: var(--muted); font-weight: 500; }

/* ---------- G. partnerships ---------- */
.partner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.partner-lede { margin-top: 18px; }
.audiences { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.audiences li { font-size: 0.84rem; color: var(--on-dark); border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 14px; }
.ways li { padding: 24px 0; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
.ways li:last-child { border-bottom: 1px solid var(--line-dark); }
.ways h3 { font-size: 1.3rem; }
.ways p { font-size: 0.95rem; }
.ways .text-link { margin-top: 10px; }

/* ---------- H. closing call to action ---------- */
.closing { text-align: center; }
.closing svg { width: 56px; height: 56px; margin: 0 auto 22px; }
.closing h2 { max-width: 20ch; margin-inline: auto; }
.closing p { margin: 16px auto 0; color: var(--muted); max-width: 54ch; }
.closing-actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- I. footer ---------- */
.site-footer { background: var(--midnight); color: var(--on-dark-muted); font-size: 0.92rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 1.8fr) minmax(0, 2.6fr) minmax(0, 3.4fr); gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-brand .tagline { font-family: var(--serif); font-style: italic; color: var(--gold); margin-bottom: 10px; }
.footer-title { color: var(--white); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--sans); }
.footer-list li + li { margin-top: 9px; }
.footer-list a { color: var(--on-dark); overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--gold); }
.footer-btn { margin-top: 18px; white-space: nowrap; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; font-size: 0.82rem; }
.footer-legal a { color: var(--on-dark-muted); }
.footer-legal a:hover { color: var(--gold); }

/* ---------- inner pages ---------- */
.page-head { background: var(--midnight); color: var(--white); padding-block: 56px 52px; border-bottom: 1px solid var(--line-dark); }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 2.6vw + 1rem, 3rem); line-height: 1.12; max-width: 22ch; }
.page-head p { margin-top: 14px; color: var(--on-dark-muted); max-width: 60ch; }
.breadcrumb { font-size: 0.84rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--on-dark); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span[aria-hidden] { margin-inline: 8px; }

.prose { max-width: 70ch; }
.prose h2 { font-size: 1.55rem; margin: 40px 0 12px; }
.prose p { margin-bottom: 14px; }
.prose .lede { font-size: 1.15rem; line-height: 1.6; color: var(--navy); }
.prose em { color: var(--muted); }

/* ---------- publications library ---------- */
.library { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 24px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.filters-title { font-size: 1.1rem; margin-bottom: 16px; }
.filter-group { margin-bottom: 14px; }
.filter-group label, .field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--charcoal); margin-bottom: 6px; }
.filter-group select, .filter-group input, .field input {
  width: 100%; min-height: 44px; font: inherit; font-size: 0.93rem; padding: 0 12px;
  border: 1px solid #B9C3D0; border-radius: var(--radius); background: var(--white); color: var(--navy);
}
.filter-group select:focus, .filter-group input:focus, .field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }
.filters .btn { width: 100%; margin-top: 4px; }
.results-count { font-size: 0.88rem; color: var(--muted); margin-bottom: 18px; }

.pub-list { display: grid; gap: 18px; }
.pub-card { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.25s var(--ease); }
.pub-card:hover { border-color: #B9C3D0; }
.pub-cover { width: 124px; aspect-ratio: 210 / 300; border-radius: 4px; overflow: hidden; background: var(--midnight); display: flex; align-items: center; justify-content: center; }
.pub-cover img { width: 100%; height: 100%; object-fit: cover; }
.pub-cover-gen { padding: 12px; text-align: center; font-family: var(--serif); font-size: 0.74rem; line-height: 1.35; color: var(--on-dark); }
.pub-cover-gen svg { width: 34px; height: 34px; margin: 0 auto 8px; }
.pub-card h3 { font-size: 1.25rem; }
.pub-sub { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.pub-meta { margin: 14px 0 16px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.84rem; color: var(--muted); }
.pub-meta b { color: var(--navy); font-weight: 600; }
.pub-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.badge { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); border: 1px solid var(--gold); border-radius: 999px; padding: 4px 12px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination button { min-width: 44px; min-height: 44px; font: inherit; font-size: 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--charcoal); cursor: pointer; }
.pagination button[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.empty-state { text-align: center; color: var(--muted); padding: 48px 16px; border: 1px dashed #B9C3D0; border-radius: var(--radius); }
.empty-state p { margin-inline: auto; }

/* ---------- newsletter modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(11, 20, 36, 0.7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop[hidden] { display: none; }
.modal { position: relative; display: grid; grid-template-columns: 5fr 6fr; width: min(820px, 100%); max-height: 92vh; overflow: auto; background: var(--white); border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); }
@media (prefers-reduced-motion: no-preference) { .modal { animation: modal-in 0.3s var(--ease); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } }
.modal-side { background: var(--midnight); padding: 40px 32px; }
.modal-side h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 14px; }
.modal-side p { color: var(--on-dark-muted); font-size: 0.95rem; }
.modal-side p + p { margin-top: 10px; }
.modal-body { padding: 40px 32px 32px; }
.modal-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--muted); cursor: pointer; border-radius: var(--radius); }
.modal-close:hover { color: var(--navy); }
.field { margin-bottom: 16px; }
.req { color: #A32E2E; }
.req-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--charcoal); margin: 4px 0 20px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.form-note { margin-top: 14px; font-size: 0.9rem; color: var(--gold-ink); font-weight: 500; }

/* ---------- scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js [data-reveal].revealed { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */

/* standard desktop, about 1200px */
@media (max-width: 1240px) {
  .nav { gap: 20px; }
  .nav-menu { gap: 20px; }
  .intro, .lab, .partner { gap: 48px; }
}

/* tablet, 768 to 1080px: navigation collapses, grids halve */
@media (max-width: 1080px) {
  :root { --section: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: var(--nav-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--midnight); border-bottom: 1px solid var(--line-dark);
    padding: 8px var(--gutter) 20px;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav-menu.open { visibility: visible; opacity: 1; transform: none; }
  .nav-menu a { display: block; padding: 14px 0; font-size: 1rem; border-bottom: 1px solid rgba(232, 236, 242, 0.08); }
  .nav-menu a::after { display: none; }
  .nav-menu .menu-cta { display: block; margin-top: 16px; }
  .nav-menu .menu-cta a { border: 0; padding: 0 22px; display: inline-flex; color: var(--midnight); }

  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach li:nth-child(3) { padding-left: 0; border-left: 0; }
  .approach li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .library { grid-template-columns: 1fr; gap: 28px; }
  .filters { position: static; }
}
@media (min-width: 1081px) { .nav-menu .menu-cta { display: none; } }

@media (max-width: 900px) {
  .hero-inner { min-height: 0; padding-block: 48px 36px; }
  .hero-copy { width: 100%; }
  .hero-visual { position: relative; width: 100%; height: 240px; }
  .hero-visual img {
    object-position: 30% 18%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%);
            mask-image: linear-gradient(180deg, transparent 0, #000 30%);
  }
  .hero-orbit { left: auto; right: 20px; top: -40px; bottom: auto; width: 80px; height: 80px; }
  .intro, .lab, .partner { grid-template-columns: 1fr; gap: 40px; }
  .lab-figure { aspect-ratio: 16 / 10; }
  .programmes { grid-template-columns: 1fr; gap: 40px; max-width: 560px; }
  .pub-row { grid-template-columns: 1fr; gap: 10px; }
  a.pub-row:hover { padding-inline: 0; background: transparent; }
}

/* mobile, 375 to 430px */
@media (max-width: 600px) {
  :root { --gutter: 20px; --section: 56px; --nav-h: 64px; }
  body { font-size: 16px; }
  .brand svg { width: 32px; height: 32px; }
  .brand-name { font-size: 1.05rem; }
  .hero-inner { padding-block: 36px 28px; }
  .hero-lede { font-size: 1rem; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visual { height: 200px; }
  .section-head { margin-bottom: 28px; }
  .pillars, .approach { grid-template-columns: 1fr; }
  .approach li, .approach li + li { padding: 22px 0 18px; border-left: 0; border-top: 1px solid var(--line); }
  .approach li:first-child { border-top: 0; }
  .lab-areas { grid-template-columns: 1fr; }
  .ways li { grid-template-columns: 1fr; gap: 8px; }
  .facts div { grid-template-columns: 104px 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .pub-card { grid-template-columns: 1fr; gap: 18px; }
  .modal { grid-template-columns: 1fr; }
  .modal-side { padding: 28px 24px 22px; }
  .modal-body { padding: 24px; }
  .closing-actions .btn { flex: 1 1 100%; }
}

/* ---------- founding priorities (under the approach) ---------- */
.priorities { margin-top: 56px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 32px; }
.priorities .eyebrow { margin-bottom: 14px; }
.priorities ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.priorities strong { display: block; color: var(--navy); font-weight: 600; font-size: 0.98rem; }
.priorities span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 900px) { .priorities ul { grid-template-columns: 1fr; gap: 18px; } .priorities { padding: 24px; } }

/* ============================================================
   v2: Africa-Europe hero, closing band, new pages, contact form
   ============================================================ */

/* ---------- hero: eyebrow + globe ---------- */
.hero-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--gold); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-eyebrow span { width: 36px; height: 1px; background: var(--gold); flex: none; }
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual::after { display: none; }
.hero-globe { position: relative; width: min(452px, 92%); aspect-ratio: 1; }
.hero-globe img { width: 100%; height: 100%; object-fit: contain; -webkit-mask-image: none; mask-image: none; }
.globe-orbit { position: absolute; inset: -11%; width: 122%; height: 122%; pointer-events: none; }
.geo-label { position: absolute; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); text-shadow: 0 0 6px var(--midnight), 0 0 2px var(--midnight); white-space: nowrap; }
.geo-brussels { right: 59%; top: 20.4%; }
.geo-addis { left: 71%; top: 54%; }

/* ---------- closing band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--gold); color: var(--midnight); padding-block: 64px; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band .eyebrow { color: #4A3A14; }
.cta-band h2 { color: var(--midnight); max-width: 20ch; }
.cta-band p { margin-top: 10px; color: #3A2E12; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-band { background: transparent; border-color: var(--midnight); color: var(--midnight); }
.btn-band:hover { background: var(--midnight); color: var(--white); }
.cta-orbit { position: absolute; right: -80px; top: 50%; width: 460px; height: 460px; transform: translateY(-50%); opacity: 0.16; pointer-events: none; }

/* ---------- inner page layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.split h2 { max-width: 20ch; }
.split-lede { margin-top: 18px; font-size: 1.08rem; color: var(--navy); }
.split p + p { margin-top: 14px; }
.split-actions { margin-top: 28px; }
.split-figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.h3 { font-size: 1.3rem; line-height: 1.25; margin-top: 8px; }
.on-dark .lab-areas { margin-top: 0; }
.section:not(.on-dark) .ways li { border-color: var(--line); grid-template-columns: 220px minmax(0, 1fr); }
.plain-list li { padding: 10px 0; border-bottom: 1px solid var(--line); max-width: 68ch; }
.plain-list strong { color: var(--navy); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: start; }
.contact h2 { font-size: 1.6rem; margin-bottom: 8px; }
.contact .facts { margin-top: 20px; }
.contact .facts dd { overflow-wrap: anywhere; }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-hint { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.field select, .field textarea {
  width: 100%; min-height: 44px; font: inherit; font-size: 0.93rem; padding: 10px 12px;
  border: 1px solid #B9C3D0; border-radius: var(--radius); background: var(--white); color: var(--navy);
}
.field textarea { resize: vertical; line-height: 1.5; }
.field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--navy); }

@media (max-width: 900px) {
  .hero-visual { height: auto; padding-bottom: 36px; }
  .hero-globe { width: min(250px, 66%); }
  .geo-label { font-size: 0.6rem; }
  .split, .contact { grid-template-columns: 1fr; gap: 40px; }
  .split-figure { aspect-ratio: 16 / 10; }
  .cta-band { padding-block: 48px; }
  .section:not(.on-dark) .ways li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 600px) {
  .hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.12em; gap: 10px; margin-bottom: 14px; }
  .hero-eyebrow span { width: 22px; }
  .contact-form { padding: 22px; }
  .cta-actions .btn { flex: 1 1 100%; }
}

/* keep the phrase "Africa-Europe future" on one line */
.nw { white-space: nowrap; }
.cta-band h2 { max-width: 24ch; }
@media (max-width: 600px) {
  .hero-inner { padding-bottom: 20px; }
  .hero-visual { padding-bottom: 28px; }
  .hero-globe { width: min(216px, 58%); }
}

@media (max-width: 900px) { .cta-orbit { display: none; } }
