/* ============================================================
   FAIR — airights.org.uk · preview.css
   A refined, Apple-grade landing page. Light + dark aware.
   Self-contained: does not touch the shared styles.css.
   ============================================================ */

:root {
  /* Apple's exact neutrals */
  --bg:        #ffffff;
  --bg-2:      #fbfbfd;
  --bg-grey:   #f5f5f7;
  --text:      #1d1d1f;
  --text-2:    #515154;
  --text-3:    #86868b;
  --line:      rgba(0, 0, 0, 0.08);
  --line-2:    rgba(0, 0, 0, 0.12);
  --card:      #ffffff;
  --card-grey: #ffffff;

  --blue:       #0071e3;
  --blue-hover: #0077ed;
  --link:       #0066cc;

  --shadow-1: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04);
  --shadow-2: 0 2px 8px rgba(0,0,0,0.05), 0 24px 48px rgba(0,0,0,0.10);

  --radius:    20px;
  --radius-sm: 14px;
  --radius-pill: 980px;
  --container-w: 1120px;

  --ease:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 56px;

  /* Ambient hero glow colours (light) */
  --glow-a: rgba(0, 113, 227, 0.18);
  --glow-b: rgba(122, 92, 255, 0.14);
  --glow-c: rgba(0, 199, 190, 0.12);
}

/* Dark tokens — applied when the OS prefers dark (unless the user forced
   light), or when the user explicitly chooses dark via the header toggle. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #000000;
    --bg-2:      #060607;
    --bg-grey:   #101012;
    --text:      #f5f5f7;
    --text-2:    #c4c4c8;
    --text-3:    #86868b;
    --line:      rgba(255, 255, 255, 0.10);
    --line-2:    rgba(255, 255, 255, 0.16);
    --card:      #1c1c1e;
    --card-grey: #1c1c1e;

    --blue:       #2997ff;
    --blue-hover: #4aa8ff;
    --link:       #2997ff;

    --shadow-1: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.4);
    --shadow-2: 0 2px 8px rgba(0,0,0,0.5), 0 24px 48px rgba(0,0,0,0.6);

    --glow-a: rgba(41, 151, 255, 0.22);
    --glow-b: rgba(140, 110, 255, 0.18);
    --glow-c: rgba(0, 199, 190, 0.14);
  }
}
:root[data-theme="dark"] {
  --bg:        #000000;
  --bg-2:      #060607;
  --bg-grey:   #101012;
  --text:      #f5f5f7;
  --text-2:    #c4c4c8;
  --text-3:    #86868b;
  --line:      rgba(255, 255, 255, 0.10);
  --line-2:    rgba(255, 255, 255, 0.16);
  --card:      #1c1c1e;
  --card-grey: #1c1c1e;

  --blue:       #2997ff;
  --blue-hover: #4aa8ff;
  --link:       #2997ff;

  --shadow-1: 0 1px 3px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.4);
  --shadow-2: 0 2px 8px rgba(0,0,0,0.5), 0 24px 48px rgba(0,0,0,0.6);

  --glow-a: rgba(41, 151, 255, 0.22);
  --glow-b: rgba(140, 110, 255, 0.18);
  --glow-c: rgba(0, 199, 190, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.08;
  color: var(--text);
}
p { margin: 0; }

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 800px; }

/* ──────────────────────────────────────────────────────────
   NAV
   ────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.site-nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity 0.2s var(--ease);
}
.brand:hover { opacity: 0.7; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-logo--ondark { display: none; }
:root[data-theme="dark"] .brand-logo--onlight { display: none; }
:root[data-theme="dark"] .brand-logo--ondark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo--onlight { display: none; }
  :root:not([data-theme="light"]) .brand-logo--ondark { display: block; }
}

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { opacity: 1; background: var(--bg-grey); }

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 7px 17px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-cta:hover { background: var(--blue-hover); transform: scale(1.03); }
.nav-cta:active { transform: scale(0.98); }

/* Theme toggle */
.theme-toggle {
  width: 36px; height: 36px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.theme-toggle:hover { background: var(--bg-grey); transform: scale(1.05); }
.theme-toggle:active { transform: scale(0.95); }
.theme-toggle svg { width: 18px; height: 18px; }
/* default (light): show moon (offer dark) */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  margin-right: -8px;
  align-items: center; justify-content: center;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  width: 19px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(6px); }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: rotate(45deg); }
body.menu-open .nav-toggle span::after  { transform: rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 999;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  color: var(--text);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: 0; }

@media (max-width: 740px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 200px 0 130px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-grey) 100%);
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.9;
}
.hero-glow::before,
.hero-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}
.hero-glow::before {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  left: 8%; top: 4%;
  background: radial-gradient(circle at 30% 30%, var(--glow-a), transparent 62%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.hero-glow::after {
  width: 40vw; height: 40vw;
  max-width: 540px; max-height: 540px;
  right: 6%; top: 14%;
  background: radial-gradient(circle at 70% 30%, var(--glow-b), transparent 60%);
  animation: drift-b 26s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(40px, 30px, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0,0,0) scale(1.05); }
  to   { transform: translate3d(-50px, 20px, 0) scale(0.95); }
}

.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.0;
  max-width: 13ch;
  margin: 0 auto;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue) 0%, #7a5cff 55%, #00c7be 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero .lede {
  margin: 26px auto 0;
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-2);
  max-width: 44ch;
}
.hero-actions {
  margin-top: 42px;
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ──────────────────────────────────────────────────────────
   BUTTONS
   ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.btn-primary {
  background: var(--blue); color: #fff;
  border: 1px solid var(--blue);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: scale(1.025); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  color: var(--text);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--text-3); transform: scale(1.025); }
.btn-ghost:active { transform: scale(0.98); }

/* ──────────────────────────────────────────────────────────
   SECTIONS
   ────────────────────────────────────────────────────────── */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-light { background: var(--bg); }
.section-grey  { background: var(--bg-grey); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  max-width: 20ch;
}
.section-lede {
  margin: 20px 0 0;
  font-size: clamp(18px, 1.8vw, 21px);
  font-weight: 400;
  color: var(--text-2);
  max-width: 58ch;
  line-height: 1.5;
}

/* ──────────────────────────────────────────────────────────
   GRID
   ────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; margin-top: 60px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────────────────────────
   WHAT CARDS
   ────────────────────────────────────────────────────────── */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px 30px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--blue) 14%, transparent), color-mix(in srgb, var(--blue) 4%, transparent));
  color: var(--blue);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 {
  font-size: 23px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}
.link-arrow {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--link);
  font-size: 15px; font-weight: 500;
  transition: gap 0.2s var(--ease);
}
.link-arrow .chev { transition: transform 0.2s var(--ease); }
.link-arrow:hover .chev { transform: translateX(4px); }
.card .link-arrow { margin-top: auto; padding-top: 22px; }

/* ── Photo cards (image-led, Apple-style) ── */
.card--photo { padding: 0; }  /* overflow:hidden moved off so tooltips escape */
.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-grey);
  border-top-left-radius: calc(var(--radius) - 1px);
  border-top-right-radius: calc(var(--radius) - 1px);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.card--photo:hover .card-media img { transform: scale(1.04); }
.card--photo .card-body { padding: 26px 28px 26px; display: flex; flex-direction: column; flex: 1; }
.card--photo .card-body h3 { margin-bottom: 12px; }
.card--photo .link-arrow { margin-top: auto; padding-top: 20px; }

.proj-card--photo { padding: 0; overflow: hidden; }
.proj-card--photo .card-media { aspect-ratio: 16 / 9; }
.proj-card--photo:hover .card-media img { transform: scale(1.04); }
.proj-card--photo .proj-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.proj-card--photo .proj-card-body h3 { margin: 8px 0 0; }
.proj-card--photo .link-arrow { margin-top: 16px; }

/* ──────────────────────────────────────────────────────────
   ALERTS STATS
   ────────────────────────────────────────────────────────── */
.alerts-stats {
  margin: 52px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .alerts-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .alerts-stats { grid-template-columns: 1fr; } }
.stat {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.stat::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue), #7a5cff);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); }
.stat:hover::before { opacity: 1; }
.stat-num {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 7px;
}
.stat-cap { font-size: 14px; color: var(--text-3); line-height: 1.5; }

/* ──────────────────────────────────────────────────────────
   ABOUT
   ────────────────────────────────────────────────────────── */
.lede-prose {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.4;
  color: var(--text);
  margin: 24px 0 0;
  max-width: 26ch;
}
.lede-prose + .lede-prose { color: var(--text-3); }
#about .link-arrow { margin-top: 30px; }

/* ──────────────────────────────────────────────────────────
   ROUTE CARDS (Get Involved)
   ────────────────────────────────────────────────────────── */
.route {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  color: var(--text);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.route:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--blue) 50%, var(--line-2));
  box-shadow: var(--shadow-2);
}
.route h3 { font-size: 21px; letter-spacing: -0.018em; margin-bottom: 10px; }
.route p { color: var(--text-2); font-size: 15.5px; line-height: 1.5; margin-bottom: 18px; }
.route .link-arrow { margin-top: auto; }

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-grey);
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.brand-footer { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-3); line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--text); font-size: 14px; opacity: 0.75; transition: opacity 0.15s var(--ease); }
.footer-nav a:hover { opacity: 1; }
.footer-legal { display: flex; flex-direction: column; gap: 18px; }
.footer-policies { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-policies a { color: var(--text-3); font-size: 12px; transition: color 0.15s var(--ease); }
.footer-policies a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-3); margin: 0; }

/* ──────────────────────────────────────────────────────────
   MEDIA / IMAGES
   Graceful: each figure shows an on-brand gradient panel until a
   licensed photo is dropped into /images. <img onerror> removes a
   missing image so a broken-image icon never appears.
   ────────────────────────────────────────────────────────── */
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  background:
    radial-gradient(130% 130% at 6% 0%, var(--glow-a), transparent 56%),
    radial-gradient(130% 130% at 100% 100%, var(--glow-b), transparent 56%),
    var(--card);
}
.media img {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.media-tag {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center;
  font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-3);
}
.media-tag svg { width: 22px; height: 22px; opacity: 0.55; }
.media-credit {
  position: absolute; z-index: 3;
  right: 10px; bottom: 9px;
  font-size: 11px; letter-spacing: 0.01em; line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: var(--radius-pill);
}
.media-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.media-credit a:hover { color: #fff; }
.media-wide { aspect-ratio: 21 / 9; margin: 56px 0; }

/* ════════════════════════════════════════════════════════════
   PHOTOGRAPHIC BANNERS — full-bleed imagery integrated into the page
   ════════════════════════════════════════════════════════════ */
/* Hero with a full-bleed photo that dissolves into the page */
.hero--photo { color: #fff; background: #0b0b0c; }
.hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.32) 42%, rgba(0,0,0,.5) 74%, var(--bg) 100%);
}
.hero--photo h1 { color: #fff; }
.hero--photo .lede { color: rgba(255,255,255,.86); }
.hero--photo .btn-ghost {
  background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero--photo .btn-ghost:hover { background: rgba(255,255,255,.2); border-color: #fff; }

/* Full-bleed dark photo banner (e.g. AI Alerts) — dark in both themes */
.banner-photo { position: relative; overflow: hidden; color: #fff; padding: clamp(92px,12vw,150px) 0; background: #0b0e14; }
.banner-photo-img { position: absolute; inset: 0; z-index: 0; }
.banner-photo-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.banner-photo-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,12,20,.80) 0%, rgba(8,12,20,.55) 45%, rgba(8,12,20,.84) 100%);
}
.banner-photo > .container { position: relative; z-index: 1; }
.banner-photo .eyebrow { color: #7db8ff; }
.banner-photo .section-heading { color: #fff; }
.banner-photo .section-lede { color: rgba(255,255,255,.82); }
.banner-photo .alerts-stats .stat {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none;
}
.banner-photo .alerts-stats .stat:hover { background: rgba(255,255,255,.13); }
.banner-photo .alerts-stats .stat::before { background: linear-gradient(180deg,#4aa8ff,#a78bff); }
.banner-photo .stat-num { color: #fff; }
.banner-photo .stat-cap { color: rgba(255,255,255,.7); }
.banner-photo .btn-primary { box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* Photo credit pill for full-bleed banners */
.banner-credit {
  position: absolute; z-index: 2; right: 14px; bottom: 12px;
  font-size: 11px; letter-spacing: .01em; line-height: 1;
  color: rgba(255,255,255,.82); background: rgba(0,0,0,.4);
  padding: 5px 10px; border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.banner-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.banner-credit a:hover { color: #fff; }
@media (max-width: 600px) { .media-wide { aspect-ratio: 4 / 3; } }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-grid .media { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid .media { aspect-ratio: 16 / 10; }
}

/* ──────────────────────────────────────────────────────────
   SCROLL REVEAL
   ────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow::before, .hero-glow::after { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ════════════════════════════════════════════════════════════
   INNER-PAGE SYSTEM
   Shared chrome for content, policy, project and form pages.
   ════════════════════════════════════════════════════════════ */

/* ── Compact page hero (inner pages) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 56px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-grey) 100%);
}
.page-hero .hero-glow { opacity: 0.7; }
.page-hero .container { position: relative; z-index: 1; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--text-3);
  margin-bottom: 22px;
  transition: color 0.2s var(--ease), gap 0.2s var(--ease);
}
.back-link:hover { color: var(--blue); gap: 9px; }
.page-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 18ch;
}
.page-hero .lede {
  margin: 20px 0 0;
  font-size: clamp(18px, 1.9vw, 22px);
  color: var(--text-2);
  max-width: 58ch;
  line-height: 1.5;
}
.page-meta {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.01em;
}

/* Optional split hero (e.g. founder portrait) */
.hero-split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.hero-split .portrait { aspect-ratio: 4 / 5; }
@media (max-width: 800px) { .hero-split { grid-template-columns: 1fr; gap: 32px; } }

/* ── Long-form prose ── */
.prose { font-size: 17px; line-height: 1.65; color: var(--text-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700; letter-spacing: -0.022em; line-height: 1.15;
  color: var(--text);
  margin-top: 52px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--text); margin-top: 34px;
}
.prose p { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--link); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--link) 35%, transparent); transition: border-color 0.2s var(--ease); }
.prose a:hover { border-bottom-color: var(--link); }
.prose ul, .prose ol { margin: 18px 0; padding-left: 24px; color: var(--text-2); }
.prose li { margin-top: 9px; }
.prose li::marker { color: var(--text-3); }
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--blue);
  font-size: 21px; font-weight: 500; font-style: normal;
  letter-spacing: -0.014em; line-height: 1.45;
  color: var(--text);
}
.prose blockquote cite { display: block; margin-top: 12px; font-size: 14px; font-weight: 500; font-style: normal; color: var(--text-3); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.prose figure { margin: 28px 0; }

/* Definition lists (glossary) */
.prose dl { margin: 18px 0; }
.prose dt { font-weight: 600; color: var(--text); margin-top: 22px; font-size: 17px; }
.prose dd { margin: 6px 0 0; color: var(--text-2); }

/* ── Callouts ── */
.callout {
  margin: 26px 0;
  padding: 20px 24px;
  background: var(--bg-grey);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 16px; color: var(--text-2); line-height: 1.55;
}
.callout strong, .callout h3 { color: var(--text); }
.callout-warn { border-left-color: #d97706; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.table { width: 100%; border-collapse: collapse; font-size: 15px; }
table.table th, table.table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
table.table th { background: var(--bg-grey); font-weight: 600; font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text-3); }
table.table tr:last-child td { border-bottom: 0; }

/* ── Meta row (project pages) ── */
.meta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 0 0 8px; }
.meta-cell { background: var(--bg); padding: 20px 22px; }
.meta-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 7px; }
.meta-val { font-size: 16px; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 8px; }
@media (max-width: 700px) { .meta-row { grid-template-columns: 1fr; } }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); display: inline-block; }
.status-planning { background: #d97706; }
.status-active { background: #16a34a; }

/* ── CTA block ── */
.cta-block {
  margin-top: 48px;
  padding: 36px 36px 38px;
  background: var(--bg-grey);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.cta-block h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-block p { color: var(--text-2); font-size: 16px; max-width: 52ch; margin: 0 auto 22px; }

/* ── Forms ── */
.form { margin-top: 8px; }
.form-step { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.form-step:first-of-type { border-top: 0; padding-top: 0; }
.field { margin-top: 20px; }
.field > label, .field-label { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field .hint { font-size: 13px; color: var(--text-3); margin-bottom: 10px; font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=date], input[type=number], select, textarea {
  width: 100%;
  font-family: inherit; font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent);
}
input::placeholder, textarea::placeholder { color: var(--text-3); }

/* radio / checkbox option cards */
.option {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 15px 17px; margin-top: 10px;
  border: 1px solid var(--line-2); border-radius: 13px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.option:hover { border-color: var(--text-3); }
.option input { width: auto; margin-top: 2px; accent-color: var(--blue); }
.option:has(input:checked) { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 6%, transparent); }
.option > span:not(.opt-title):not(.opt-desc) { display: flex; flex-direction: column; }
.option .opt-title { display: block; font-weight: 600; color: var(--text); }
.option .opt-desc { display: block; font-size: 14px; color: var(--text-3); margin-top: 3px; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 14px; font-size: 15px; color: var(--text-2); }
.consent input { width: auto; margin-top: 3px; accent-color: var(--blue); }
.count { font-size: 13px; color: var(--text-3); text-align: right; margin-top: 6px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-msg { margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.form-msg.ok { background: color-mix(in srgb, #16a34a 10%, var(--bg)); border: 1px solid color-mix(in srgb, #16a34a 30%, transparent); color: var(--text); }
.form-msg.err { background: color-mix(in srgb, #dc2626 10%, var(--bg)); border: 1px solid color-mix(in srgb, #dc2626 30%, transparent); color: var(--text); }
.btn-lg { padding: 15px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ── Cookie bar ── */
.cookie-bar {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 1100; max-width: 720px; margin: 0 auto;
  background: color-mix(in srgb, var(--text) 96%, transparent);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between;
  box-shadow: var(--shadow-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.cookie-bar p { font-size: 13px; line-height: 1.5; margin: 0; color: color-mix(in srgb, var(--bg) 78%, var(--text-3)); flex: 1; min-width: 240px; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; }
.cookie-accept { background: var(--blue); color: #fff; border-radius: var(--radius-pill); border: 0; font-weight: 500; cursor: pointer; padding: 8px 18px; font-size: 14px; }
.cookie-reject { background: transparent; color: color-mix(in srgb, var(--bg) 70%, var(--text-3)); border: 1px solid color-mix(in srgb, var(--bg) 30%, transparent); border-radius: var(--radius-pill); font-weight: 500; cursor: pointer; padding: 8px 18px; font-size: 14px; }

/* ── Content-page utilities ── */
.muted { color: var(--text-3); font-size: 14px; }
.prose .muted { font-size: 14px; color: var(--text-3); }
.source { font-size: 14px; color: var(--text-3); margin-top: 6px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.signposts { margin: 26px 0; padding: 24px 26px; background: var(--bg-grey); border: 1px solid var(--line); border-radius: var(--radius); }
.signposts h3 { font-size: 18px; margin: 0 0 6px; color: var(--text); }
.signposts ul { margin: 12px 0 0; padding-left: 0; list-style: none; }
.signposts li { margin-top: 10px; color: var(--text-2); }
.note {
  margin: 0 0 8px; padding: 14px 18px;
  background: color-mix(in srgb, var(--blue) 7%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent);
  border-radius: var(--radius-sm);
  font-size: 15px; color: var(--text-2);
}
.note strong { color: var(--text); }
.audience { padding: 26px 0; border-top: 1px solid var(--line); }
.audience:first-of-type { border-top: 0; }
.audience-label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.audience h3 { font-size: 21px; letter-spacing: -0.015em; margin: 0 0 8px; }

/* ── Newsletter ── */
.signup {
  max-width: 620px; margin: 0 auto; text-align: center;
}
.signup-form {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 480px; margin: 28px auto 0;
}
.signup-form input { flex: 1; min-width: 220px; border-radius: var(--radius-pill); padding: 13px 20px; }
.signup-form .btn { white-space: nowrap; }
.signup-fine { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.signup-fine a { color: var(--text-3); text-decoration: underline; }

/* ── Project cards (home) ── */
.proj-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-1); color: var(--text);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.proj-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow-2); }
.proj-card .num { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: 0.04em; }
.proj-card h3 { font-size: 19px; letter-spacing: -0.015em; margin: 10px 0 0; }
.proj-card .link-arrow { margin-top: 18px; }

/* ── 404 ── */
.error-wrap { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; }
.error-code { font-size: clamp(72px, 14vw, 140px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, var(--blue), #7a5cff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-wrap h1 { margin-top: 18px; font-size: clamp(26px, 3vw, 36px); }
.error-wrap p { margin-top: 14px; color: var(--text-2); max-width: 44ch; }
.error-wrap .hero-actions { margin-top: 32px; }

/* ── Inline info-card hovers ─────────────────────────────────
   Wrap an inline link in <span class="has-info"> and add a
   sibling <span class="info-card">…</span> for the popover.
   ─────────────────────────────────────────────────────────── */
.has-info {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}
.link-inline {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(0, 102, 204, 0.32);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s var(--ease), text-decoration-color 0.15s var(--ease);
}
.link-inline:hover,
.link-inline:focus-visible {
  color: var(--blue-hover);
  text-decoration-color: currentColor;
}
.has-info > .info-card {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-2);
  padding: 14px 16px;
  width: max-content;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.has-info > .info-card::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--card);
}
.has-info:hover > .info-card,
.has-info:focus-within > .info-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0s;
}
@media (max-width: 720px) {
  .has-info > .info-card { max-width: 240px; font-size: 13px; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .has-info > .info-card { transition: none; }
}

/* ── Lift the card above its siblings while its info-card is open.
   Without this, the popover (which can extend ~80px past the right
   edge of the card) is painted under the next grid sibling because
   all cards stack at z-auto and later DOM siblings paint on top.
   Using :has() so the lift fires the moment the user hovers (or
   keyboard-focuses) the inline link, not just the link itself. ─── */
.card { z-index: 1; }
.card:hover,
.card:focus-within,
.card:has(.has-info:hover),
.card:has(.has-info:focus-within) {
  z-index: 5;
}

/* ── Projects: one-line overview on teaser cards ─────────── */
.proj-card--photo .proj-card-body .proj-overview {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-2);
  font-weight: 400;
}
.proj-card--photo .link-arrow { margin-top: auto; padding-top: 16px; }

/* ── Project detail: hero image (image-title-body pattern) ─ */
.project-hero-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-grey);
  aspect-ratio: 16 / 9;
}
.project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Buttons must always defeat prose link styling ─────────
   .prose a is more specific than .btn-primary (1,1 > 1,0)
   which caused blue-on-blue text + an underline border on
   any .btn dropped inside a .prose block. Re-anchor:
   ────────────────────────────────────────────────────────── */
.prose a.btn,
.prose a.btn:hover,
.prose a.btn:focus,
.prose a.btn:focus-visible {
  border-bottom: 0;
  text-decoration: none;
}
.prose a.btn-primary,
.prose a.btn-primary:hover,
.prose a.btn-primary:focus,
.prose a.btn-primary:focus-visible {
  color: #fff;
}
.prose a.btn-ghost,
.prose a.btn-ghost:hover,
.prose a.btn-ghost:focus,
.prose a.btn-ghost:focus-visible {
  color: var(--text);
}

/* ── About: editorial hero layout ────────────────────────
   Wide image at full .container width with generous typography
   centred beneath, in container-narrow. Apple-style breathing room.
   ──────────────────────────────────────────────────────── */
.about-hero {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-grey);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-1);
}
.about-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.about-editorial:hover .about-hero img { transform: scale(1.015); }

.about-words {
  margin-top: clamp(56px, 8vw, 96px);
  text-align: center;
}
.about-words .section-heading {
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.032em;
}
.about-body {
  margin: clamp(28px, 3vw, 40px) auto 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
  font-weight: 400;
}
@media (max-width: 720px) {
  .about-hero { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); }
}

.about-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }

/* ============================================================
   POLICY / LEGAL PAGE TYPOGRAPHY
   Migrated from policy.css. Class names kept under .pp-wrap so
   existing policy-page markup needs no changes.
   ============================================================ */

.pp-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 144px) 28px 100px;
}
.pp-wrap .pp-eyebrow {
  display: inline-block;
  padding: 0; margin-bottom: 16px;
  background: none;
  color: var(--blue);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.pp-wrap h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700; color: var(--text);
  line-height: 1.05; letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.pp-wrap h1 strong { font-weight: 700; color: var(--text); }
.pp-meta {
  font-size: 13px; color: var(--text-3);
  margin-bottom: 44px; letter-spacing: 0.01em;
}
.pp-wrap h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; color: var(--text);
  letter-spacing: -0.022em; line-height: 1.15;
  margin-top: 52px; margin-bottom: 14px;
}
.pp-wrap h3 {
  font-size: 19px; font-weight: 600; color: var(--text);
  letter-spacing: -0.012em;
  margin-top: 30px; margin-bottom: 8px;
}
.pp-wrap p {
  font-size: 17px; color: var(--text-2);
  margin: 0 0 16px; line-height: 1.65;
}
.pp-wrap ul, .pp-wrap ol {
  margin: 12px 0 20px; padding-left: 24px;
}
.pp-wrap li {
  font-size: 17px; color: var(--text-2);
  margin-bottom: 9px; line-height: 1.65;
}
.pp-wrap li::marker { color: var(--text-3); }
.pp-wrap a {
  color: var(--link);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--link) 35%, transparent);
  transition: border-color 0.2s var(--ease);
}
.pp-wrap a:hover { border-bottom-color: var(--link); }
.pp-table {
  width: 100%; border-collapse: collapse;
  margin: 18px 0 26px; font-size: 15px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.pp-table th, .pp-table td {
  text-align: left; padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top; color: var(--text-2);
}
.pp-table th {
  background: var(--bg-grey);
  font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--text-3);
}
.pp-table tr:last-child td { border-bottom: 0; }
.pp-callout {
  padding: 20px 24px; background: var(--bg-grey);
  border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: 0 14px 14px 0; margin: 26px 0;
  font-size: 16px; color: var(--text-2);
}
.pp-callout strong { color: var(--text); }

/* ── Footer social: "Follow the Foundation" cluster ──────
   Replaces the lone-icon treatment with a proper labelled
   row of brand-coloured social buttons. Larger hit target,
   real visual weight, hover lifts and tints to brand colour.
   ────────────────────────────────────────────────────── */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 22px;
}
.footer-social-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--text-2);
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: color 0.2s var(--ease),
              background 0.2s var(--ease),
              border-color 0.2s var(--ease),
              transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.footer-social-link svg {
  width: 19px;
  height: 19px;
  display: block;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
/* Brand-coloured hover states */
.footer-social-link--li:hover,
.footer-social-link--li:focus-visible {
  color: #fff;
  background: #0a66c2;
  border-color: #0a66c2;
}
.footer-social-link--x:hover,
.footer-social-link--x:focus-visible {
  color: #fff;
  background: #000;
  border-color: #000;
}

/* ── Footer AI disclosure (small, subtle, sits under the address) ── */
.footer-disclosure {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-3);
  font-style: italic;
}
.footer-disclosure strong { color: var(--text-3); font-weight: 600; font-style: normal; }

/* ── Latest publication strip (under the hero) ────────────────── */
.latest-bar {
  background: var(--bg-grey);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.latest-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.latest-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  flex-shrink: 0;
}
.latest-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  min-width: 0;
  transition: gap 0.2s var(--ease);
}
.latest-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: underline;
  text-decoration-color: rgba(0, 113, 227, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease), color 0.2s var(--ease);
}
.latest-link:hover .latest-title {
  color: var(--blue);
  text-decoration-color: var(--blue);
}
.latest-meta {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 400;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .latest-bar .container { flex-wrap: wrap; gap: 8px 14px; }
  .latest-meta { display: none; }
  .latest-title { white-space: normal; }
}

/* ── Press-release page: action buttons under the hero ────────── */
.press-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
