/* Self-hosted Inter (instead of Google Fonts' CDN) — avoids a third-party request
   that sends every visitor's IP to Google on page load. Only these 4 weights are
   declared/used; the rest of the downloaded static/ family sits unused in
   assets/fonts/Inter/ and is never requested by the browser. */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter/Inter_18pt-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

/* Design tokens: brand colors, the dark hero gradient stops, and the translucent
   "on dark" text/border colors used across the header, hero, and footer. */
:root {
  --violet: #7B68D6;
  --violet-light: #A79AE8;
  --orange: #f0903f;
  --indigo: #362C6B;
  --indigo-dark: #221a45;
  --ink: #241F33;
  --cloud: #F8F6FC;
  --paper: #ffffff;
  --surface: #f5f5f5;
  --line: #E2E0DB;
  --hero-from: #2c2358;
  --hero-via: #372a63;
  --hero-to: #241a42;
  --on-dark: rgba(255, 255, 255, 0.92);
  --on-dark-soft: rgba(255, 255, 255, 0.68);
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 1px 3px rgba(36, 31, 51, 0.08);
  --shadow-md: 0 8px 24px rgba(36, 31, 51, 0.08);
  --shadow-lg: 0 20px 48px rgba(36, 31, 51, 0.14);
  --radius: 16px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #000;
  background: var(--surface);
}

a {
  font-family: inherit;
}

/* Utility for highlighting a word/phrase with the violet-to-orange brand gradient
   (used in hero headings, e.g. "Quantum", "purpose", "together"). */
.grad-text {
  background: linear-gradient(90deg, var(--violet-light), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */
/* Built by components/header.js. Fixed + always translucent/blurred so it reads
   correctly whether it's sitting over the dark hero or a light section further down
   the page. js/main.js toggles .is-hidden to slide it away on scroll-down. */

.site-header {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(45, 36, 82, 0.32);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  height: 56px;
  width: auto;
}

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

.site-header nav a {
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-header nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.site-header nav a.active {
  background: rgba(255, 255, 255, 0.14);
}

.btn-nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #241605;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Hero ---------- */
/* The dark section at the top of every page. .hero is the positioning context for the
   decorative hero-network SVG (z-index 1) and the hero-wave curve at its bottom; the
   actual heading/copy sits in .hero-inner above both (z-index 2). */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
  /* Two soft radial glows (orange top-right, violet bottom-left) over the base
     indigo gradient, echoing the accent colors used in the hero-network dots. */
  background:
    radial-gradient(720px 420px at 85% 15%, rgba(240, 144, 63, 0.16), transparent 60%),
    radial-gradient(640px 420px at 8% 85%, rgba(123, 104, 214, 0.28), transparent 60%),
    linear-gradient(160deg, var(--hero-from), var(--hero-via) 55%, var(--hero-to));
  color: var(--on-dark);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 96px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--on-dark-line);
  color: var(--on-dark-soft);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.hero h1 {
  max-width: none;
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 22px;
  color: #fff;
}

.hero-lede {
  max-width: none;
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-dark-soft);
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #241605;
  border: none;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--on-dark);
  border: none;
  padding: 15px 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.15s ease;
}

.btn-ghost-dark:hover {
  color: var(--orange);
}

.btn-violet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 15px 32px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-pill-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--indigo);
  border: none;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-pill-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Hero network decoration ---------- */
/* Positions the SVG built by components/hero-network.js to fill the whole hero,
   behind the text (z-index 1 vs .hero-inner's z-index 2) and ignoring clicks. */

.hero-network {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

/* ---------- Stat bar ---------- */
/* The 71 / 100+ / 6 / 8 tile row on the homepage hero. z-index 2 keeps it above the
   network graphic; the vertical dividers use border-left on every tile but the first. */

.stat-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-tile {
  padding: 28px 24px;
  border-left: 1px solid var(--on-dark-line);
}

.stat-tile:first-child {
  border-left: none;
}

.stat-number {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

/* ---------- Wave divider ---------- */
/* Curved transition from the dark hero into the light page below it. It's a plain
   div shaped into a shallow arc with border-radius rather than an SVG/image, filled
   with the page background color so the section beneath appears to "rise" into it. */

.hero-wave {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 64px;
  margin-top: -1px;
  background: var(--surface);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- About the project / two column ---------- */

.split-section {
  background: var(--paper);
  padding: 96px 40px;
}

.split-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-inner h2 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 10px 0 0;
  color: #000;
}

.split-inner p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.75;
  margin: 0 0 28px;
}

/* ---------- News ---------- */

.news {
  /* Hidden for now, but the markup/content stays in index.html so it's a one-line
     flip to bring back — remove this line to re-enable. */
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 40px;
  text-align: center;
}

.news h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
  color: #000;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  text-align: left;
}

.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-image {
  min-height: 140px;
  margin-bottom: 14px;
  border-radius: calc(var(--radius) - 6px);
}

.news-card h3 {
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
}

.news-card h3 a {
  color: #000;
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--violet);
}

/* ---------- Pillars cards (homepage "Four strategic pillars") ---------- */

.pillars {
  background: var(--surface);
  padding: 96px 40px;
}

.pillars-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
  text-align: left;
}

.section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 8px 0 0;
  color: #000;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--orange));
}

.pillar-card p {
  font-size: 14.5px;
  line-height: 1.65;
  opacity: 0.8;
  margin: 0;
}

/* ---------- Page (contact) ---------- */

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 40px 96px;
}

/* Simple contact layout: a prominent "email us" card above a single LinkedIn card,
   replacing what used to be a (non-functional — no backend) message form plus a
   separate coordinator card repeating the same email address. */
.contact-simple {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

/* A violet top accent + generous padding is what makes this card the visual anchor
   of the page, since it's the main thing we want a visitor to notice and act on. */
.contact-email-card {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--violet);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 36px;
}

.contact-email-card h2 {
  font-size: 25px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #000;
}

.contact-email-card p {
  font-size: 15.5px;
  line-height: 1.65;
  opacity: 0.75;
  margin: 0;
}

.contact-email-card p a {
  color: var(--violet);
  font-weight: 700;
  text-decoration: none;
}

.contact-email-card p a:hover {
  text-decoration: underline;
}

.connect-card {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  text-align: left;
}

.connect-card.connect-dark {
  background: linear-gradient(150deg, var(--hero-from), var(--hero-to));
  border: none;
  color: var(--on-dark);
}

.connect-eyebrow {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 10px;
}

.connect-dark .connect-eyebrow {
  color: var(--violet-light);
}

.connect-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #000;
}

.connect-dark h3 {
  color: #fff;
}

.connect-card p {
  font-size: 14.5px;
  line-height: 1.6;
  opacity: 0.75;
  margin: 0 0 22px;
}

.connect-dark p {
  opacity: 0.85;
}

.linkedin-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* ---------- Footer ---------- */
/* Styles the markup built by components/footer.js: brand column + two link columns. */

.site-footer {
  background: linear-gradient(150deg, var(--hero-to), var(--indigo-dark));
  color: var(--on-dark);
  padding: 72px 40px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--on-dark-line);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  height: 30px;
  width: auto;
  /* Recolors the violet/orange EQA logo to solid white for the dark footer. Safe here
     (unlike the LinkedIn icon above) because the mark and wordmark stay legible from
     their shapes/transparency alone, not from the contrast between two solid colors. */
  filter: brightness(0) invert(1);
}

.footer-about p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--on-dark-soft);
  max-width: 320px;
  margin: 0;
}

.footer-heading {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  margin: 0 0 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col a {
  color: var(--on-dark);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.92;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  /* Near-white badge behind the icon (rather than filtering the icon itself white):
     the source PNG is a blue square with white "in" letters, so a brightness/invert
     filter would flatten both colors to white and erase the letters entirely. */
  background: rgba(255, 255, 255, 0.9);
  padding: 5px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--on-dark-soft);
  text-align: center;
}

/* ---------- About page: Work Packages & Key people ---------- */
/* Styling for the sections further down about.html that carry over from the original
   design (accordion of work packages, then the team roster), refreshed to match the
   new color/spacing system but otherwise unchanged in structure. */

.about-inner {
  max-width: 900px;
  margin: 0 auto;
}

.eyebrow {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 12px;
}

.about-block {
  background: var(--surface);
  padding: 88px 40px;
  text-align: left;
}

/* Shrinks just the top gap where this section follows directly after another
   .about-block (Work Packages), without affecting its own bottom spacing. */
.about-block--tight-top {
  padding-top: 56px;
}

.rqa-copy p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.78;
  max-width: 760px;
  margin: 0 0 20px;
}

.rqa-copy p:last-child {
  margin-bottom: 0;
}

.wp-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.wp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.wp-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}

.wp-summary::-webkit-details-marker {
  display: none;
}

.wp-summary::after {
  content: "";
  flex-shrink: 0;
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.wp-card[open] .wp-summary::after {
  transform: rotate(-135deg);
}

.wp-number {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--violet), var(--orange));
}

.wp-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.wp-text {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.8;
  margin: 16px 0 0;
  padding-left: 72px;
}

.about-block h2,
.people h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #000;
  margin-bottom: 32px;
}

.people {
  background: var(--paper);
  padding: 88px 40px 96px;
  text-align: center;
}

.people .about-inner {
  max-width: 1200px;
}

/* Each people-section ("Work Packages", "Regional Quantum Academies", ...) holds a
   .subsection-grid of bordered .people-subsection cards, one per group (WP1, WP2,
   Northern Europe, ...). Cards size to their own content instead of a fixed height,
   so a 1-person group and a 7-person group both sit flush with no wasted space, and
   the border makes it unambiguous which names belong to which group. */

.people-section {
  margin-bottom: 44px;
  text-align: left;
}

.people-section:last-child {
  margin-bottom: 0;
}

.people-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #000;
  margin: 0 0 18px;
}

.subsection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  /* Default (stretch) so every card in a row shares the same top and bottom edge —
     a .people-stack in the row spreads its cards out to fill that height (see below)
     instead of just sitting at its own natural, shorter height. */
  gap: 16px;
}

.people-subsection {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

/* Stacks 2+ small people-subsection cards into one subsection-grid cell — used to pair
   up the three smaller RQA regions into one column next to the Northern Europe card,
   so they don't each claim a full grid cell on their own. Stretched to the row's full
   height by the grid (see .subsection-grid), then space-between pushes its first card
   to the top and its last card's bottom flush with the row's bottom edge — lining up
   with the plain single card(s) sharing that row. */
.people-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* Work Packages: two ordered columns (WP1-4, WP5-8) instead of a wrapping grid, so
   the reading order stays strictly numeric regardless of viewport width. Default
   (stretch) alignment makes both columns match the taller one's height; each column
   then uses space-between (like .people-stack) to spread its own cards out so its
   first card's top and last card's bottom land flush with the row's edges. */
.wp-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.wp-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* Full-width card for the RQA co-leads list, sitting below the subsection-grid.
   Horizontal padding moves from the card itself onto the title and onto each
   .people-columns list (below) individually, so .people-columns can span the card's
   full width and use the exact same column formula as .subsection-grid above it —
   guaranteeing its two columns land at the same left/right edges as Northern Europe
   and the region stack in the row above. */
.people-subsection--wide {
  margin-top: 16px;
  padding-left: 0;
  padding-right: 0;
}

.people-subsection--wide > .people-subsection-title {
  padding: 0 20px;
}

.people-subsection-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 0 0 12px;
}

.subsection-note {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  opacity: 0.55;
  margin-left: 4px;
}

/* When a card is stretched taller than its own content needs (e.g. by
   .subsection-grid matching it to a taller row neighbor), space-between spreads its
   people out to fill that height rather than leaving dead space at the bottom. */
.people-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.person:first-child {
  border-top: none;
  padding-top: 0;
}

.person:last-child {
  padding-bottom: 0;
}

/* Portrait photo, or — when no photo was supplied for that person — a light grey
   initials circle at the same size/shape, so every row lines up identically whether
   or not a photo exists. order: 2 (with .person-body left at the default order: 0)
   puts the avatar after the name/role text and, since .person-body grows to fill the
   row, flush to the right edge. */
.person-avatar {
  order: 2;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--violet), var(--orange));
}

.person-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D9D9D9;
  color: #6b6b6b;
  font-size: 26px;
  font-weight: 800;
}

.person-body {
  flex: 1;
  min-width: 0;
}

/* Same grid-template-columns + gap as .subsection-grid, sitting inside a card with no
   horizontal padding of its own (see .people-subsection--wide above) — so these two
   columns are pixel-for-pixel the same width, in the same position, as Northern
   Europe and the region stack in the row above. Each .people-list inside then applies
   its own 20px inset to match how content sits inside a normal .people-subsection. */
.people-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

/* Every .person row is the same fixed height regardless of which column it's in
   (the 88px avatar dictates that), so overriding the inherited space-between with
   flex-start here — rather than distributing leftover height into the gaps — makes
   the shorter (3-person) column's rows land on the exact same lines as the taller
   (4-person) column's rows: Jan/Tarik, Felix/Shannon, Yasser/Marie. Row 4 (Youma) is
   simply left without a counterpart on the right. */
.people-columns .people-list {
  padding: 0 20px;
  justify-content: flex-start;
}

.person-name {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 2px;
  color: #000;
}

.person-meta {
  font-size: 14px;
  opacity: 0.65;
  margin: 0;
}

.img-placeholder {
  position: relative;
  min-height: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.img-placeholder::before,
.img-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
}

.img-placeholder::before {
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) calc(50% + 1px), transparent calc(50% + 1px));
}

.img-placeholder::after {
  background: linear-gradient(to bottom left, transparent calc(50% - 1px), var(--line) calc(50% - 1px), var(--line) calc(50% + 1px), transparent calc(50% + 1px));
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .header-inner {
    padding: 0 20px;
  }

  .site-header nav {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-inner {
    padding: 48px 24px 72px;
  }

  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-tile:nth-child(3) {
    border-left: none;
  }

  .stat-tile {
    padding: 22px 18px;
  }

  .split-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 32px;
  }

  .stat-bar {
    grid-template-columns: 1fr;
  }

  .stat-tile {
    border-left: none;
    border-top: 1px solid var(--on-dark-line);
  }

  .stat-tile:first-child {
    border-top: none;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 56px 20px 72px;
  }

  .split-section,
  .pillars,
  .about-block,
  .people,
  .news {
    padding-left: 20px;
    padding-right: 20px;
  }
}
