/* =====================================================================
   Global Shapers Valencia Hub — stylesheet

   Civic-editorial system:
   · Warm paper ground, flat brand blue for dark sections, ONE burnt-orange
     accent used sparingly. No gradients.
   · Hairline rules do the structural work; shadow is reserved for the modal.
   · Newsreader (serif) for display, Work Sans for text and labels.
   · Sections carry a running 01 / 02 index in place of decorative eyebrows.
   ===================================================================== */

:root {
  /* Ink & paper */
  --ink: #1b1a17;
  --ink-soft: #46433d;
  --paper: #faf7f0;
  --paper-2: #f2ede2;
  --line: #e4ddce;
  --line-strong: #d0c7b2;
  --muted: #6b6559;

  /* Brand — sampled from the official Global Shapers Valencia mark */
  --blue: #054985;
  --blue-deep: #04365f;
  --blue-bright: #0a5fa8;
  --accent: #d6521d;          /* burnt Valencia orange — used sparingly */
  --accent-deep: #b4400e;
  --gold: #e3b23c;

  /* On dark */
  --on-blue: rgba(255, 255, 255, 0.74);
  --on-blue-dim: rgba(255, 255, 255, 0.5);
  --line-on-blue: rgba(255, 255, 255, 0.16);

  --media: #e5e8ec;          /* cool neutral for image placeholders */

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', 'Segoe UI', system-ui, sans-serif;

  --r: 3px;
  --shadow-pop: 0 30px 70px -34px rgba(19, 29, 94, 0.5);

  --container: 1120px;
  --section-pad: clamp(56px, 6.5vw, 88px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.container {
  width: min(100% - 44px, var(--container));
  margin-inline: auto;
}

/* ---------- Section scaffolding ---------- */
main { counter-reset: section; }
section { padding-block: var(--section-pad); position: relative; }

.section-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-eyebrow::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.12;
  max-width: 22ch;
  color: var(--ink);
  text-wrap: balance;
}
.section-head { margin-bottom: clamp(36px, 5vw, 52px); }
.section-head .section-title { margin-top: 18px; }
.on-ink .section-title { color: var(--paper); }
.on-ink .section-eyebrow { color: var(--on-blue); }
.on-ink .section-eyebrow::before { color: var(--gold); }

/* ===================================================================
   NAV
   =================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-nav.is-scrolled {
  border-color: var(--line-strong);
  box-shadow: 0 14px 34px -28px rgba(19, 29, 94, 0.55);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-logo { height: 68px; width: auto; flex-shrink: 0; display: block; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding-block: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-links a[aria-current="page"]::after { right: 0; background: var(--ink); }
.nav-links a.nav-cta { margin-left: 2px; padding: 9px 16px; font-size: 0.82rem; color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; }
.nav-links a.nav-cta::after,
.nav-links a.nav-cta:hover::after { content: none; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch { display: flex; align-items: center; }
.lang-switch button {
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  padding: 6px 9px;
  transition: color 0.2s ease;
}
.lang-switch button + button { border-left: 1px solid var(--line-strong); }
.lang-switch button.active { color: var(--ink); }
.lang-switch button:not(.active):hover { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r);
  padding: 13px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-ember { background: var(--accent); color: #fff; }
.btn-ember:hover { background: var(--accent-deep); }
.btn-ink { background: var(--blue); color: #fff; }
.btn-ink:hover { background: var(--blue-bright); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--paper);
  background: none;
}
.btn-outline-light:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  background: var(--blue-deep);
  color: var(--paper);
  overflow: hidden;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.hero-motif {
  width: 100%;
  max-width: 380px;
  margin-left: auto;
}
.hero-motif svg { width: 100%; height: auto; display: block; }
.hero-motif .ring-bars { fill: rgba(255, 255, 255, 0.2); }
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.06;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-intro {
  margin-top: 26px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--on-blue);
  max-width: 46ch;
}
.hero-ctas {
  margin-top: 38px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
/* Full-bleed group photo anchoring the hero */
.hero-figure {
  margin: clamp(44px, 6vw, 76px) 0 0;
}
.hero-figure-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center 58%;
  border-top: 1px solid var(--line-on-blue);
  border-bottom: 1px solid var(--line-on-blue);
  filter: saturate(0.94);
}
/* No photo at the src path: drop the figure, hero stays a clean blue panel */
.hero-figure.no-photo { display: none; }

/* Full-bleed photo band under a subpage header (team.html) */
.page-figure { margin: 0; background: var(--paper); }
.page-figure-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.96);
}
.page-figure-caption {
  width: min(100% - 44px, var(--container));
  margin: 0 auto;
  padding-top: 12px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.page-figure.no-photo { display: none; }
.page-figure + section { padding-top: clamp(34px, 4.5vw, 52px); }

/* "Under development" notice for pages whose data is still placeholder */
.section-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  background: var(--paper-2);
}
.section-notice-tag {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 4px 8px;
  border-radius: var(--r);
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-notice p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 620px) {
  .section-notice { flex-direction: column; gap: 8px; }
}

/* ===================================================================
   MANIFESTO STRIP  (was: gradient marquee)
   =================================================================== */
.ticker-band {
  background: var(--blue-deep);
  border-top: 1px solid var(--line-on-blue);
  border-bottom: 1px solid var(--line-on-blue);
  overflow: hidden;
  padding-block: 15px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-blue);
  padding-inline: 22px;
  white-space: nowrap;
}
.ticker-track span::after {
  content: '·';
  margin-left: 22px;
  color: var(--on-blue-dim);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================================================================
   STATS  — editorial figure row
   =================================================================== */
.stats-section { background: var(--paper); padding-top: clamp(32px, 4vw, 46px); padding-bottom: clamp(40px, 5vw, 60px); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.stat-item {
  padding: 10px 26px 0;
  border-left: 1px solid var(--line);
}
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--blue);
  font-variant-numeric: lining-nums;
}
.stat-label {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 500;
  max-width: 16ch;
}

/* ===================================================================
   ABOUT / WHAT THE HUB IS
   =================================================================== */
.about-section { background: var(--paper); padding-top: clamp(48px, 6vw, 76px); }
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}
.about-copy .section-title { margin-top: 20px; }
.about-copy p { color: var(--ink-soft); line-height: 1.75; font-size: 1.02rem; }
.about-copy p + p { margin-top: 16px; }

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 34px;
}
.pillar-card {
  border-top: 1px solid var(--line-strong);
  padding: 22px 0 24px;
}
.pillar-icon {
  width: 24px;
  height: 24px;
  color: var(--blue);
  margin-bottom: 14px;
  transition: color 0.2s ease;
}
.pillar-card:hover .pillar-icon { color: var(--accent); }
.pillar-card h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.pillar-card p { margin-top: 8px; font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ===================================================================
   WEF CONNECTION  — stepped index on flat blue
   =================================================================== */
.wef-section { background: var(--blue); color: var(--paper); }
.wef-section .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.wef-section .section-head { margin-bottom: 0; }
.wef-body {
  color: var(--on-blue);
  line-height: 1.75;
  font-size: 1.02rem;
  margin-top: 8px;
}
.chain {
  grid-column: 1 / -1;
  margin-top: clamp(44px, 6vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.chain-node {
  padding: 24px 22px 26px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chain-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  color: var(--on-blue-dim);
}
.chain-node:last-child .chain-num { color: var(--gold); }
.chain-node h3 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--paper);
}
.chain-node p { font-size: 0.86rem; color: var(--on-blue); line-height: 1.6; max-width: 26ch; }

/* ===================================================================
   SOCIAL
   =================================================================== */
.social-section { background: var(--paper); padding-block: clamp(40px, 4.5vw, 58px); }
.social-section .container {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
}
.social-section .section-head { margin-bottom: 0; }
.social-section .section-head .section-title { max-width: 24ch; }
.social-row { display: flex; gap: 12px; }
.social-link {
  width: 46px;
  height: 46px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-link svg { width: 19px; height: 19px; }
.social-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ===================================================================
   TEAM
   =================================================================== */
.team-section { background: var(--paper); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  text-align: left;
  padding: 0;
  display: block;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.team-card:hover { border-color: var(--blue); background: #fff; }
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  background: var(--media);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.3rem;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-meta { padding: 16px 18px 20px; }
.team-meta h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
}
.team-meta p {
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ===================================================================
   ALUMNI
   =================================================================== */
.alumni-section { background: var(--paper-2); }
.alumni-list { margin-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line-strong); }
.alumni-list li { border-bottom: 1px solid var(--line-strong); }
.alumni-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 2px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
  transition: color 0.15s ease;
}
.alumni-list a:hover { color: var(--blue); }
.alumni-list svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.alumni-list a:hover svg { transform: translate(3px, -3px); }

/* Team modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 40, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: var(--paper);
  border-radius: 4px;
  max-width: 520px;
  width: 100%;
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 0.3s ease;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pop);
}
.modal-overlay.open .modal-card { transform: translateY(0); }
.modal-photo {
  width: 100%;
  aspect-ratio: 16 / 8;
  background: var(--media);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.6rem;
  position: relative;
  flex-shrink: 0;
}
.modal-photo-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-photo-inner img { width: 100%; height: 100%; object-fit: cover; }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: rgba(19, 29, 94, 0.7);
  color: #fff;
  border: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { background: rgba(19, 29, 94, 0.9); }
.modal-body { padding: 26px 28px 30px; overflow-y: auto; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
}
.modal-body .modal-role {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}
.modal-body p.modal-bio { margin-top: 16px; color: var(--ink-soft); line-height: 1.7; }
.modal-links { display: flex; gap: 10px; flex-shrink: 0; }
.modal-links:empty { display: none; }
.modal-links a {
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: var(--media);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.modal-links svg { width: 15px; height: 15px; }
.modal-links a:hover { background: var(--accent); color: #fff; }

/* ===================================================================
   PROJECTS
   =================================================================== */
.projects-section { background: var(--paper); }
.projects-head {
  display: flex;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.filter-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.filter-pill {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0 2px 12px;
  margin-bottom: -1px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.filter-pill:hover { color: var(--ink); }
.filter-pill.active { color: var(--ink); border-bottom-color: var(--accent); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.project-card {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.project-card:hover { border-color: var(--blue); background: #fff; }
.status-badge {
  align-self: flex-start;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  border-radius: var(--r);
  color: #fff;
}
.status-badge.completed { background: var(--ink); }
.status-badge.ongoing { background: var(--blue); }
.status-badge.upcoming { background: var(--gold); color: var(--ink); }
.project-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.project-body h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}
.project-body p.project-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.6; flex: 1; }
.project-impact {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.project-impact svg { width: 15px; height: 15px; color: var(--accent); }
.project-link {
  margin-left: auto;
  color: var(--blue);
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}
.project-link::after { content: ' \2197'; }
.project-link:hover { color: var(--accent); }

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding-block: clamp(58px, 7.5vw, 92px);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 20ch;
  margin-inline: auto;
  text-wrap: balance;
}
.cta-band p {
  margin-top: 16px;
  color: var(--on-blue);
  max-width: 52ch;
  margin-inline: auto;
  font-size: 1.02rem;
  line-height: 1.65;
}
.cta-band .btn { margin-top: 30px; }
.cta-band .btn-ink { background: #fff; color: var(--blue); }
.cta-band .btn-ink:hover { background: var(--gold); color: var(--ink); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--blue-deep); color: var(--on-blue); padding-top: 72px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 1fr;
  gap: clamp(32px, 5vw, 56px);
}
.footer-brand { color: var(--paper); }
.footer-logo { display: block; height: 78px; width: auto; margin-bottom: 22px; opacity: 0.92; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 42ch; color: var(--on-blue); }
.footer-col h4 {
  color: var(--paper);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; color: var(--on-blue); transition: color 0.2s ease; }
.footer-col ul li a:hover { color: var(--paper); }
.footer-note {
  margin-top: clamp(40px, 6vw, 60px);
  padding-top: 26px;
  border-top: 1px solid var(--line-on-blue);
  font-size: 0.78rem;
  line-height: 1.7;
  max-width: 72ch;
  color: var(--on-blue-dim);
}
.footer-bottom {
  margin-top: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-on-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--on-blue-dim);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-blue);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social svg { width: 15px; height: 15px; }
.footer-social a:hover { background: var(--accent); color: #fff; }

/* ===================================================================
   TEASER SECTIONS (homepage previews of Team / Projects)
   =================================================================== */
.explore-section { background: var(--paper); padding-block: clamp(52px, 6vw, 80px); }
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
}
.teaser-single {
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(26px, 3vw, 36px);
}
.teaser-single .section-eyebrow { justify-content: flex-start; }
.teaser-single .section-title { max-width: 16ch; margin-top: 14px; }
.teaser-body {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
}
.teaser-cta {
  display: inline-block;
  margin-top: 22px;
  background: none;
  color: var(--blue);
  padding: 0 0 2px;
  border: none;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.teaser-cta::after { content: ' \2192'; }
.teaser-cta:hover { color: var(--accent); }

/* ===================================================================
   SUBPAGE HEADER (team.html / projects.html)
   =================================================================== */
.page-header {
  background: var(--blue-deep);
  color: var(--paper);
  padding-top: clamp(46px, 6.5vw, 74px);
  padding-bottom: clamp(42px, 5.5vw, 60px);
  border-bottom: 1px solid var(--line-on-blue);
}
.page-header .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: clamp(32px, 6vw, 72px);
}
.page-header .breadcrumb {
  grid-column: 1; grid-row: 1;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--on-blue-dim);
  margin-bottom: 18px;
}
.page-header .breadcrumb a { color: var(--gold); font-weight: 600; }
.page-header .breadcrumb a:hover { text-decoration: underline; }
.page-header .hero-eyebrow { grid-column: 1; grid-row: 2; margin-bottom: 14px; }
.page-header h1 {
  grid-column: 1; grid-row: 3;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.016em;
  line-height: 1.08;
  max-width: 20ch;
  text-wrap: balance;
}
.page-header p {
  grid-column: 2; grid-row: 3;
  align-self: end;
  color: var(--on-blue);
  max-width: 44ch;
  font-size: 1.02rem;
  line-height: 1.65;
}
.page-header + section { padding-top: clamp(38px, 5vw, 58px); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-motif { order: -1; max-width: 200px; margin: 0 0 8px; }
  .hero-figure { margin-top: clamp(36px, 8vw, 52px); }
  .hero-figure-photo { max-height: 340px; }
  .page-figure-photo { max-height: 300px; }
  .about-grid { grid-template-columns: 1fr; }
  .wef-section .container { grid-template-columns: 1fr; }
  .wef-body { margin-top: 20px; }
  .page-header .container { grid-template-columns: 1fr; }
  .page-header .breadcrumb,
  .page-header .hero-eyebrow,
  .page-header h1,
  .page-header p { grid-column: 1; grid-row: auto; align-self: auto; }
  .page-header p { margin-top: 16px; max-width: 52ch; }
  .explore-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding-inline: 20px; }
  .stat-item:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .stat-item:nth-child(n+3) { margin-top: 28px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .chain { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { gap: 12px; }
  .nav-right { gap: 10px; }
  .lang-switch button { padding: 6px 7px; }
  .brand { gap: 9px; font-size: 1rem; }
  .brand-logo { height: 54px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: flex-start; }
}
@media (max-width: 400px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-left: none; padding-left: 0; }
  .stat-item:nth-child(n+2) { margin-top: 24px; }
  .team-grid { grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
.site-nav.menu-open .nav-links {
  display: flex;
  position: absolute;
  top: 100%; left: 0; right: 0;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper);
  padding: 18px 22px 24px;
  gap: 2px;
  border-bottom: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
}
.site-nav.menu-open .nav-links a { padding-block: 11px; width: 100%; }
.site-nav.menu-open .nav-links a::after { content: none; }
.site-nav.menu-open .nav-links a.nav-cta {
  margin-top: 10px;
  padding: 12px 16px;
  text-align: center;
  justify-content: center;
}
