/* =========================================================
   United Peace Initiative — mobile-first stylesheet
   Base styles target phones; min-width queries scale up.
   Breakpoints: 560 / 768 / 1024 / 1280
   ========================================================= */

:root {
  /* Brand — from the logo */
  --blue: #1677c8;
  --blue-600: #0f63aa;
  --navy: #142b44;
  --navy-900: #0c1f33;
  --deep: #0c3557;
  --red: #f04a35;
  --green: #2f9e55;
  --gold: #f5b51b;

  /* Neutrals */
  --ink: #1d2b39;
  --muted: #5b6b7a;
  --line: #dbe5ec;
  --sky: #f2f8fc;
  --mint: #eef8f2;
  --white: #fff;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 20px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 64px;
  --section-y: 64px;
  --shadow: 0 1px 2px rgba(20, 43, 68, .06), 0 8px 24px rgba(20, 43, 68, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { color: var(--blue); border-color: var(--blue); background: #fff; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .75rem; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions > .btn { flex: 1 1 200px; }
.actions--center { justify-content: center; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  color: var(--navy); transition: background-color .2s;
}
.icon-btn:hover { background: var(--sky); }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--glass { color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.icon-btn--glass:hover { background: rgba(255,255,255,.26); }

.link {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.link .icon { transition: transform .2s var(--ease); }
.link:hover .icon { transform: translateX(4px); }
.link--muted { color: var(--muted); }

.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow--light { color: #9fd3ff; }
.lead { font-size: 1.0625rem; color: var(--muted); }
.lead--ink { color: var(--navy); font-weight: 600; font-size: 1.25rem; line-height: 1.4; }
.muted { color: var(--muted); }

/* ---------- Top bar ---------- */
.topbar { background: var(--deep); color: #d7e6f2; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.topbar__inner { display: flex; justify-content: center; gap: 24px; padding-block: 7px; }
.topbar__label { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(12px); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; }
.brand img { height: 42px; width: auto; }
.nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 6px; }
.spectrum { height: 3px; background: linear-gradient(90deg, var(--blue) 0 25%, var(--green) 25% 50%, var(--gold) 50% 75%, var(--red) 75% 100%); }

/* ---------- Drawer (mobile nav) ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(12, 31, 51, .5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 400px);
  background: #fff; display: flex; flex-direction: column; gap: 20px;
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform .35s var(--ease);
  overflow-y: auto;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__logo { height: 40px; width: auto; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-size: 1.125rem; font-weight: 700; color: var(--navy);
}
.drawer__nav .icon { color: var(--blue); width: 22px; height: 22px; }
.drawer__tag { margin-top: auto; text-align: center; color: var(--muted); font-size: .8125rem; }

/* ---------- Hero carousel ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--navy-900);
  height: calc(100svh - var(--header-h) - 31px);
  min-height: 580px; max-height: 860px;
  touch-action: pan-y;
}
.hero__track { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.slide__media { position: absolute; inset: 0; }
.slide__media img, .slide__media picture, .slide__video { width: 100%; height: 100%; object-fit: cover; }
.slide__media img { transform: scale(1.08); transition: transform 9s linear; }
.slide.is-active .slide__media img { transform: scale(1); }
.slide__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,31,51,.15) 0%, rgba(12,31,51,.35) 40%, rgba(12,31,51,.92) 100%);
}
.slide--video .slide__overlay {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(12,31,51,0) 0%, rgba(12,31,51,.25) 60%),
    linear-gradient(180deg, rgba(12,31,51,.25) 0%, rgba(12,31,51,.5) 45%, rgba(12,31,51,.95) 100%);
}
.slide__content {
  position: relative; z-index: 2;
  padding-bottom: 132px; /* room for controls */
}
.slide__content > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide__content > * { opacity: 1; transform: none; }
.slide.is-active .slide__content > *:nth-child(2) { transition-delay: .1s; }
.slide.is-active .slide__content > *:nth-child(3) { transition-delay: .2s; }
.slide.is-active .slide__content > *:nth-child(4) { transition-delay: .3s; }

.hero__title { color: #fff; font-size: clamp(2.5rem, 8vw + .5rem, 4.75rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin-bottom: 16px; }
.hero__lead { font-size: 1.0625rem; color: #dce9f5; max-width: 34rem; margin-bottom: 26px; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
  font-size: .6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.tag .icon { width: 15px; height: 15px; }
.quote-mark { width: 40px; height: 40px; color: var(--gold); margin: 22px 0 8px; stroke-width: 1.5; }
.quote { margin: 0 0 22px; }
.quote p { font-size: clamp(1.375rem, 4vw + .6rem, 2.75rem); line-height: 1.22; font-weight: 600; letter-spacing: -.015em; max-width: 46rem; }
.person-chip { display: flex; align-items: center; gap: 12px; }
.person-chip img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); object-fit: cover; }
.person-chip span { font-size: .875rem; color: #cfe0ee; line-height: 1.35; }
.person-chip strong { display: block; color: #fff; font-size: 1rem; }

.hero__controls {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  margin-inline: auto;
  display: flex; align-items: center; gap: 16px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}
.progress { flex: 1; display: flex; gap: 6px; }
.progress__seg { flex: 1; padding: 14px 0; } /* tall hit area, thin bar */
.progress__seg span { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.progress__seg span::after {
  content: ""; position: absolute; inset: 0; background: #fff;
  transform: scaleX(0); transform-origin: left;
}
.progress__seg.is-done span::after { transform: scaleX(1); }
.progress__seg.is-current span::after { animation: fill var(--dur, 8s) linear forwards; }
.hero.is-paused .progress__seg.is-current span::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

.hero__buttons { display: flex; gap: 8px; }
.hero__buttons [data-prev], .hero__buttons [data-next] { display: none; }
.icon--play { display: none; }
.hero.is-paused .icon--pause { display: none; }
.hero.is-paused .icon--play { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--sky); }
.section--green { background: linear-gradient(160deg, var(--mint), #f8fcff 70%); }
.section--navy { background: var(--deep); color: #fff; }

.section-head {
  display: grid; gap: 14px;
  padding-bottom: 20px; margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { font-size: clamp(1.875rem, 4vw + 1rem, 2.875rem); font-weight: 800; }
.section-head--light { border-color: rgba(255,255,255,.16); }
.section-head--light h2 { color: #fff; }
.section-head--light .lead { color: #c7dae8; }

/* Horizontal rail on mobile → grid on larger screens */
.container--bleed { padding-inline: 0; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%;
  gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 16px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }

/* ---------- Initiative ---------- */
.initiative { display: grid; gap: 28px; }
.initiative__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.initiative__media img { width: 100%; height: 100%; object-fit: cover; }
.initiative__body { display: grid; gap: 14px; align-content: start; }
.pillar-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.pillar-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.pillar-list .icon { width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.pillar-list span { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
.pillar-list strong { display: block; color: var(--navy); font-size: 1rem; }

/* ---------- Team ---------- */
.team { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
.team__head { text-align: center; margin-bottom: 28px; }
.team__head .eyebrow { margin-bottom: 8px; }
.team__title { font-size: clamp(1.75rem, 3.5vw + 1rem, 2.75rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.team__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.member {
  position: relative; display: block; width: 100%; text-align: center;
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  background: var(--navy); color: #fff; isolation: isolate;
  box-shadow: 0 10px 30px rgba(20, 43, 68, .12);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.member:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 43, 68, .2); }
.member::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(22, 119, 200, .55) 66%, rgba(12, 31, 51, .96) 100%);
}
.member .member__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.member:hover .member__photo { transform: scale(1.04); }

.member__photo--placeholder {
  display: grid; place-items: center;
  background:
    radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,.14), transparent 70%),
    linear-gradient(160deg, #1f86d6, var(--navy));
}
.member__photo--placeholder span {
  margin-bottom: 42%;
  font-size: clamp(1.75rem, 6vw, 3.75rem); font-weight: 800; letter-spacing: -.02em;
  color: rgba(255,255,255,.92);
  width: 2.2em; height: 2.2em; display: grid; place-items: center;
  border: 2px solid rgba(255,255,255,.35); border-radius: 50%;
}

.member__info { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 14px; display: grid; gap: 2px; justify-items: center; }
.member__name { font-size: 1rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.member__role { font-size: .75rem; line-height: 1.35; color: #d6e6f3; }
.member__more {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 8px;
  font-size: .625rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.member__more .icon { width: 14px; height: 14px; }

/* Profile dialog — bottom sheet on phones, centred panel on larger screens */
.profile {
  width: 100%; max-width: 100%; max-height: 88svh;
  margin: auto 0 0; padding: 0; border: 0;
  border-radius: 20px 20px 0 0; background: #fff; color: var(--ink);
  overflow: hidden; /* only the text column scrolls, so the close button stays put */
}
.profile[open] { display: grid; animation: sheet-up .35s var(--ease); }
.profile::backdrop { background: rgba(12, 31, 51, .6); backdrop-filter: blur(2px); }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
.profile__media { padding: 24px var(--gutter) 0; }
.profile__media .member__photo { display: grid; width: 120px; aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: center top; border-radius: 14px; box-shadow: var(--shadow); }
.profile__media .member__photo--placeholder span { margin-bottom: 0; font-size: 2rem; }
.profile__body {
  padding: 20px var(--gutter) calc(32px + env(safe-area-inset-bottom)); display: grid; gap: 12px; align-content: start;
  max-height: calc(88svh - 184px); /* sheet height minus the portrait row */
  overflow-y: auto; overscroll-behavior: contain;
}
.profile__body .eyebrow { margin-bottom: 0; }
.profile__body h3 { font-size: 1.75rem; font-weight: 800; }
.profile__role { color: var(--blue); font-weight: 700; font-size: .9375rem; line-height: 1.45; }
.profile__body p:not(.eyebrow):not(.profile__role) { color: var(--muted); font-size: .9375rem; }
.profile__list { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .9375rem; display: grid; gap: 8px; }
.profile__list li::marker { color: var(--blue); }
.profile__close { position: absolute; z-index: 2; top: 12px; right: 12px; background: rgba(255,255,255,.92); box-shadow: var(--shadow); }
.profile__close:hover { background: #fff; }
body:has(.profile[open]) { overflow: hidden; }

/* ---------- Four acts ---------- */
.act {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s var(--ease);
}
.act:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.act__media { aspect-ratio: 16 / 10; overflow: hidden; }
.act__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.act:hover .act__media img { transform: scale(1.05); }
.act__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.act__meta { display: flex; align-items: center; justify-content: space-between; }
.act__meta .icon { width: 26px; height: 26px; color: var(--blue); }
.num { font-size: .8125rem; font-weight: 800; letter-spacing: .14em; color: var(--blue); }
.act h3 { font-size: 1.25rem; font-weight: 800; }
.act p { color: var(--muted); font-size: .9375rem; flex: 1; }
.act .link { margin-top: 6px; }

/* ---------- War clock ---------- */
.clock { display: grid; gap: 24px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; }
.stat {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.stat:first-child { padding-top: 0; }
.stat__icon { grid-row: span 2; width: 34px; height: 34px; color: var(--red); stroke-width: 1.5; }
.stat__value { font-size: clamp(2.25rem, 6vw + 1rem, 3.5rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.warbox {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 300px; padding: 28px 24px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
}
.warbox__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; z-index: -1; transition: transform .8s var(--ease), opacity .4s; }
.warbox::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(20,43,68,.2), rgba(20,43,68,.85)); }
.warbox:hover .warbox__bg { transform: scale(1.04); opacity: .5; }
.warbox h3 { color: #fff; font-size: 1.625rem; font-weight: 800; margin-bottom: 12px; }
.warbox p { display: flex; gap: 10px; color: #d5e5f2; font-size: .9375rem; }
.warbox p .icon { margin-top: 3px; color: var(--gold); }
.warbox__cta { display: flex; align-items: center; gap: 12px; font-size: clamp(1.75rem, 5vw + .5rem, 2.75rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.warbox__cta .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.warbox:hover .warbox__cta .icon { transform: translateX(6px); }

/* ---------- Generation future ---------- */
.future { display: grid; gap: 20px; }
.future__media { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.future__media img { width: 100%; height: 100%; object-fit: cover; }
.future__pillars { display: grid; gap: 12px; }
.pillar {
  display: flex; gap: 16px; align-items: center;
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.pillar h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: 2px; }
.pillar p { color: var(--muted); font-size: .9375rem; }
.pillar__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; flex: none; }
.pillar__icon .icon { width: 26px; height: 26px; }
.pillar__icon--gold { background: #fff5dc; color: #b9800a; }
.pillar__icon--blue { background: #e4f1fb; color: var(--blue); }
.pillar__icon--green { background: #e3f4ea; color: var(--green); }

/* ---------- Art ---------- */
.art-card {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; color: #fff;
}
.art-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.art-card:hover img { transform: scale(1.05); }
.art-card::after { content: ""; position: absolute; inset: 0; mix-blend-mode: multiply; }
.art-card--blue::after { background: linear-gradient(180deg, transparent 35%, rgba(13,68,115,.95)); }
.art-card--green::after { background: linear-gradient(180deg, transparent 35%, rgba(46,143,86,.95)); }
.art-card--gold::after { background: linear-gradient(180deg, transparent 35%, rgba(196,130,8,.95)); }
.art-card figcaption {
  position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px;
  font-size: 1.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,.25);
}

/* ---------- Participate ---------- */
.roles { display: grid; gap: 12px; }
.role {
  position: relative; display: grid; gap: 6px;
  padding: 22px 56px 22px 20px;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  transition: background-color .25s, border-color .25s;
}
.role:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.32); }
.role__icon { width: 30px; height: 30px; color: #9fd3ff; margin-bottom: 8px; stroke-width: 1.5; }
.role h3 { color: #fff; font-size: 1rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.role p { color: #bfd3e2; font-size: .9375rem; }
.role__arrow { position: absolute; top: 20px; right: 18px; color: #9fd3ff; transition: transform .25s var(--ease); }
.role:hover .role__arrow { transform: translate(3px, -3px); }

/* ---------- Stories ---------- */
.story { display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--blue); padding-top: 16px; }
.rail .story:nth-child(2) { border-color: var(--green); }
.rail .story:nth-child(3) { border-color: var(--gold); }
.story__media { aspect-ratio: 3 / 2; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 6px; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.story:hover .story__media img { transform: scale(1.04); }
.story__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .6875rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.story__kicker .icon { width: 16px; height: 16px; color: var(--blue); }
.story h3 { font-size: 1.25rem; font-weight: 800; }
.story p { color: var(--muted); font-size: .9375rem; }

/* ---------- Final CTA ---------- */
.final {
  padding-block: 72px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(22,119,200,.10), transparent 70%),
    var(--sky);
}
.final__inner { display: grid; justify-items: center; gap: 16px; }
.final__logo { width: 104px; height: 104px; padding: 10px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); }
.final h2 { font-size: clamp(2.25rem, 6vw + 1rem, 3.75rem); font-weight: 800; letter-spacing: -.03em; }
.final p { font-size: 1.125rem; color: var(--muted); max-width: 36rem; }
.final .actions { margin-top: 10px; width: 100%; max-width: 460px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #fff; padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: 36px; }
.footer__brand { display: grid; gap: 14px; justify-items: start; }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 12px 18px; }
.footer__logo img { height: 48px; width: auto; }
.footer__brand p { color: #c5d7e5; }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #cfdeea; transition: background-color .2s, color .2s; }
.socials a:hover { background: #fff; color: var(--navy); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.footer__links a { color: #cfdeea; font-size: .9375rem; padding: 8px 0; }
.footer__links a:hover { color: #fff; }
.footer__legal {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  display: grid; gap: 8px; color: #9fb7c9; font-size: .75rem; letter-spacing: .04em;
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   ≥ 560px — large phones / small tablets
   ========================================================= */
@media (min-width: 560px) {
  .topbar__label { display: inline; }
  .topbar__inner { justify-content: flex-end; }
  .actions > .btn { flex: 0 0 auto; }
  .roles { grid-template-columns: 1fr 1fr; }
  .rail { grid-auto-columns: 60%; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   ≥ 768px — tablets
   ========================================================= */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; --section-y: 88px; }
  .brand img { height: 50px; }

  .hero { min-height: 620px; }
  .slide { align-items: center; }
  .slide__content { padding-bottom: 72px; max-width: 1280px; }
  .slide__overlay {
    background:
      linear-gradient(90deg, rgba(12,31,51,.88) 0%, rgba(12,31,51,.55) 45%, rgba(12,31,51,.05) 80%),
      linear-gradient(180deg, transparent 60%, rgba(12,31,51,.6) 100%);
  }
  .slide--video .slide__overlay {
    background:
      linear-gradient(90deg, rgba(12,31,51,.85) 0%, rgba(12,31,51,.45) 50%, rgba(12,31,51,.1) 85%),
      linear-gradient(180deg, transparent 55%, rgba(12,31,51,.7) 100%);
  }
  .hero__lead { font-size: 1.25rem; }
  .hero__controls { padding-bottom: 32px; }
  .progress { max-width: 420px; }
  .hero__buttons { margin-left: auto; }
  .hero__buttons [data-prev], .hero__buttons [data-next] { display: inline-grid; }

  .section-head { grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
  .lead { font-size: 1.125rem; }

  .rail { grid-auto-columns: 44%; gap: 20px; }

  .initiative { grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

  .team { margin-top: 80px; padding-top: 64px; }
  .team__head { margin-bottom: 40px; }
  .team__grid { gap: 20px; }
  .member__name { font-size: 1.25rem; }
  .member__role { font-size: .8125rem; }
  .member__info { left: 16px; right: 16px; bottom: 22px; }

  .profile {
    width: min(860px, calc(100% - 64px)); max-height: min(640px, calc(100svh - 64px));
    margin: auto; border-radius: 20px;
    grid-template-columns: 300px 1fr;
  }
  .profile[open] { animation-name: pop-in; }
  @keyframes pop-in { from { transform: scale(.96); opacity: 0; } }
  .profile__media { position: relative; padding: 0; min-height: 100%; background: var(--navy); overflow: hidden; }
  .profile__media .member__photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; object-position: center 20%; }
  .profile__media .member__photo--placeholder span { font-size: 3.5rem; }
  .profile__body { padding: 40px 72px 36px 40px; max-height: min(640px, calc(100svh - 64px)); }

  .stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .stat { grid-template-columns: 1fr; padding: 0 0 18px; border-bottom: 0; border-top: 3px solid var(--red); padding-top: 18px; }
  .stat:first-child { padding-top: 18px; }
  .stat__icon { grid-row: auto; margin-bottom: 14px; }
  .warbox { padding: 36px; }

  .future { grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: stretch; }
  .future__media { aspect-ratio: auto; min-height: 100%; }
  .future__pillars { align-content: center; }

  .footer__grid { grid-template-columns: 1fr 1.4fr; gap: 60px; }
  .footer__legal { grid-template-columns: 1fr auto auto; gap: 24px; }
}

/* =========================================================
   ≥ 1024px — laptops: rails become grids
   ========================================================= */
@media (min-width: 1024px) {
  .container--bleed { padding-inline: var(--gutter); }
  .rail { grid-auto-flow: row; overflow: visible; padding: 0; scroll-snap-type: none; }
  .rail--4 { grid-template-columns: repeat(4, 1fr); }
  .rail--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .roles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .team__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .role { padding: 26px 24px; min-height: 210px; align-content: start; }

  .clock { grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: stretch; }
  .stats { grid-template-columns: 1fr; gap: 0; }
  .stat { grid-template-columns: auto 1fr; border-top: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .stat:first-child { padding-top: 0; }
  .stat__icon { grid-row: span 2; margin: 0; width: 40px; height: 40px; }

  .art-card { aspect-ratio: 4 / 5; }
  .final { padding-block: 104px; }
}

/* =========================================================
   ≥ 1280px — desktop nav
   ========================================================= */
@media (min-width: 1280px) {
  .menu-toggle { display: none; }
  .brand img { height: 52px; }
  .nav { display: flex; align-items: center; gap: 26px; }
  .nav a {
    position: relative; padding: 8px 0; white-space: nowrap;
    font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
  .nav a.is-current { color: var(--blue); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .slide__media img { transform: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  /* The progress bar is a timer, not decoration — keep its real duration */
  .progress__seg.is-current span::after { animation-duration: var(--dur, 8s) !important; }
}
