/* ============================================================
   Cybell-Domas International — styles.css
   Premium, editorial, Apple-meets-Africa
   ============================================================ */

:root {
  --navy: #0F2A44;
  --navy-80: rgba(15, 42, 68, .88);
  --navy-60: rgba(15, 42, 68, .62);
  --navy-20: rgba(15, 42, 68, .12);
  --terracotta: #C4654A;
  --terracotta-dark: #A94F37;
  --gold: #D4AF37;
  --gold-soft: #E8C96A;
  --cream: #F7F3ED;
  --cream-dark: #EDE5D5;
  --sage: #8BA888;
  --charcoal: #2B2B2B;
  --ink: #1a1a1a;
  --mute: #6B6A66;

  --ff-serif: "Playfair Display", Georgia, serif;
  --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 40px -12px rgba(15, 42, 68, .18);
  --shadow-lg: 0 30px 80px -20px rgba(15, 42, 68, .35);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --t: .45s var(--ease);
}

/* ------------ Reset ------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ------------ Utility ------------ */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}
.section--dark {
  background: var(--navy);
  color: var(--cream);
}

.section__head {
  max-width: 780px;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section__title {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: .6rem 0 1.2rem;
  color: var(--navy);
}
.section--dark .section__title { color: var(--cream); }
.section__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--mute);
  max-width: 62ch;
  line-height: 1.7;
}
.section__lead--light { color: rgba(247, 243, 237, .78); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .5rem;
}
.eyebrow--light { color: var(--gold); }

/* ------------ Badge ------------ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .02em;
  backdrop-filter: blur(8px);
}
.badge--gold {
  background: rgba(212, 175, 55, .14);
  color: var(--gold-soft);
  border: 1px solid rgba(212, 175, 55, .4);
}
.badge__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 175, 55, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 175, 55, .7); }
  70%  { box-shadow: 0 0 0 8px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* ------------ Buttons ------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform var(--t), background var(--t), box-shadow var(--t), color var(--t);
  white-space: nowrap;
}
.btn--primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(196, 101, 74, .5);
}
.btn--primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(196, 101, 74, .6);
}
.btn--secondary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 14px 30px -10px rgba(212, 175, 55, .5);
}
.btn--secondary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn__play {
  display: inline-flex;
  width: 24px; height: 24px;
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  font-size: .65rem;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-block: 1rem;
  transition: background var(--t), padding var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav.is-scrolled {
  background: rgba(247, 243, 237, .92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 42, 68, .08);
  padding-block: .55rem;
}
@media (min-width: 769px) {
  .nav,
  .nav.is-scrolled {
    padding-block: 0;
  }
  .nav__inner {
    height: 90px;
  }
  .nav__brand {
    height: 90px;
    overflow: hidden;
  }
  .nav__logo {
    flex-shrink: 0;
  }
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  transition: color var(--t);
}
.nav.is-scrolled .nav__brand { color: var(--navy); }
.nav__logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter var(--t);
}
.nav.is-scrolled .nav__logo { filter: none; }
.nav__wordmark {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.nav__wordmark span {
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
  margin-top: 3px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  transition: color var(--t), opacity var(--t);
  position: relative;
}
.nav.is-scrolled .nav__links a { color: var(--navy); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: .55rem 1.2rem;
  border-radius: 999px;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--terracotta-dark); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 60;
}
.nav__toggle span {
  display: block;
  width: 26px; height: 2px;
  background: #fff;
  transition: transform var(--t), opacity var(--t), background var(--t);
}
.nav.is-scrolled .nav__toggle span { background: var(--navy); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--navy); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--navy); }

/* ============ 1. HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
  padding: 8rem var(--pad) 5rem;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(15, 42, 68, .92) 0%, rgba(15, 42, 68, .65) 45%, rgba(15, 42, 68, .3) 100%),
    linear-gradient(180deg, rgba(15, 42, 68, .3) 0%, rgba(15, 42, 68, 0) 40%, rgba(15, 42, 68, .65) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto 0 0;
  width: 100%;
}
.hero__title {
  font-family: var(--ff-serif);
  font-weight: 800;
  font-size: clamp(2.75rem, 8.5vw, 6.8rem);
  line-height: .95;
  letter-spacing: -.02em;
  margin: 1.5rem 0 1.5rem;
  color: #fff;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .3);
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-soft);
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  max-width: 560px;
  color: rgba(247, 243, 237, .92);
  margin: 0 0 2rem;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: .85rem;
  letter-spacing: .04em;
  color: rgba(247, 243, 237, .7);
  text-transform: uppercase;
  font-weight: 500;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 243, 237, .2);
  max-width: 560px;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 24px; height: 42px;
  border: 1.5px solid rgba(247, 243, 237, .5);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}
@keyframes scroll {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50% { transform: translate(-50%, 12px); opacity: .3; }
}

/* ============ 2. MISSION ============ */
.mission { text-align: center; }
.mission__lead {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  font-weight: 400;
  max-width: 900px;
  margin: 1rem auto 2rem;
  color: var(--navy);
}
.mission__lead em {
  font-style: italic;
  color: var(--terracotta);
}
.mission__body {
  max-width: 700px;
  margin: 0 auto;
  color: var(--mute);
  font-size: 1.1rem;
  line-height: 1.75;
}

/* ============ 3. CHIFFRES ============ */
.impact .section__head { max-width: 820px; }
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.stat {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.stat:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(212, 175, 55, .4);
}
.stat__icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  opacity: .85;
}
.stat__num {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: .6rem;
  letter-spacing: -.02em;
}
.stat__num span {
  font-size: .55em;
  vertical-align: super;
  font-weight: 400;
  color: var(--gold-soft);
}
.stat__label {
  font-size: .92rem;
  color: rgba(247, 243, 237, .8);
  line-height: 1.45;
}
.stat--gold {
  background: linear-gradient(135deg, rgba(212, 175, 55, .18), rgba(212, 175, 55, .04));
  border-color: rgba(212, 175, 55, .4);
}
.stat--gold .stat__num { color: var(--gold-soft); }

/* ============ 4. PROGRAMME ============ */
.programme__block {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.block__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .5rem;
  line-height: 1.2;
}
.block__sub {
  color: var(--mute);
  font-size: 1.05rem;
  margin: 0 0 2rem;
  max-width: 60ch;
}

.cards {
  display: grid;
  gap: 1.5rem;
}
.cards--three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}
.card__icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.card h3 {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .7rem;
}
.card p {
  margin: 0;
  color: var(--mute);
  font-size: .97rem;
  line-height: 1.6;
}

/* Volets */
.volets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.volet {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.volet::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--sage);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t);
}
.volet:hover {
  border-color: var(--sage);
  transform: translateX(4px);
}
.volet:hover::before { transform: scaleY(1); }
.volet span {
  font-size: 1.6rem;
  margin-bottom: .3rem;
}
.volet h4 {
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.volet p {
  margin: 0;
  font-size: .88rem;
  color: var(--mute);
  line-height: 1.5;
}

/* Pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  max-width: 960px;
}
.pill {
  display: inline-block;
  padding: .55rem 1.1rem;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--t);
}
.pill:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-2px);
}
.pill--more {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
  font-style: italic;
}
.pill--more:hover { background: var(--terracotta-dark); }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  transition: transform var(--t);
}
.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.3rem .9rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: linear-gradient(0deg, rgba(15, 42, 68, .92), transparent);
}

/* ============ 5. TERRAIN ============ */
.terrain__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.countries__title,
.publics__title {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  color: var(--gold);
  margin: 0 0 1.5rem;
  font-weight: 600;
}
.countries__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .8rem;
}
.countries__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  transition: all var(--t);
}
.countries__list li:hover {
  background: rgba(212, 175, 55, .08);
  border-color: rgba(212, 175, 55, .3);
  transform: translateX(4px);
}
.flag {
  font-size: 1.6rem;
  line-height: 1;
}
.countries__list strong {
  display: block;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
}
.countries__list em {
  display: block;
  font-style: normal;
  font-size: .8rem;
  color: rgba(247, 243, 237, .6);
  margin-top: 2px;
}

.publics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
.public {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  transition: all var(--t);
}
.public:hover {
  background: rgba(139, 168, 136, .12);
  border-color: rgba(139, 168, 136, .4);
  transform: translateY(-3px);
}
.public span {
  font-size: 1.8rem;
  display: block;
  margin-bottom: .5rem;
}
.public p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.45;
  color: rgba(247, 243, 237, .85);
}
.public em {
  font-style: normal;
  font-size: .78rem;
  color: rgba(247, 243, 237, .55);
}

/* ============ 6. FONDATEUR ============ */
.founder__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.founder__portrait {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.founder__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.05) saturate(.95);
}
.founder__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 42, 68, .5));
  pointer-events: none;
}
.founder__name {
  font-family: var(--ff-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  margin: 0 0 .5rem;
  letter-spacing: -.01em;
}
.founder__role {
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 2rem;
}
.founder__quote {
  position: relative;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.35;
  color: var(--gold);
  padding: 1.2rem 0 1.2rem 1.5rem;
  border-left: 3px solid var(--gold);
  margin: 0 0 2rem;
  max-width: 480px;
}
.founder__quote cite {
  display: block;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-style: normal;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: .05em;
  margin-top: .8rem;
}
.founder__bio p {
  margin: 0 0 1rem;
  color: var(--charcoal);
  line-height: 1.75;
}
.founder__bio strong { color: var(--navy); font-weight: 600; }
.founder__body .btn { margin-top: 1rem; }

.testimonial {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem);
  max-width: 880px;
  margin-inline: auto;
  position: relative;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.testimonial__mark {
  position: absolute;
  top: -.5rem; left: 1.5rem;
  font-family: var(--ff-serif);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  opacity: .6;
}
.testimonial p {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: var(--navy);
  margin: 0 0 1.2rem;
  position: relative;
}
.testimonial strong { color: var(--terracotta); font-weight: 700; }
.testimonial footer {
  font-family: var(--ff-sans);
  font-size: .85rem;
  color: var(--mute);
  letter-spacing: .05em;
}

/* ============ 7. TIMELINE ============ */
.timeline__list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
}
.timeline__list::before {
  content: "";
  position: absolute;
  left: 110px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cream-dark), var(--terracotta), var(--cream-dark));
}
.tl {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  align-items: start;
}
.tl:last-child { padding-bottom: 0; }
.tl__year {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--terracotta);
  text-align: right;
  padding-top: .15rem;
  line-height: 1.1;
}
.tl__year span {
  display: block;
  color: var(--mute);
  font-size: .9rem;
  font-weight: 400;
}
.tl__body {
  position: relative;
  padding-left: 2rem;
}
.tl__body::before {
  content: "";
  position: absolute;
  left: -8px; top: .4rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--terracotta);
  z-index: 2;
}
.tl--highlight .tl__body::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 6px rgba(212, 175, 55, .2);
}
.tl--highlight .tl__year { color: var(--gold); }
.tl__body h3 {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .4rem;
}
.tl__body p {
  margin: 0;
  color: var(--mute);
  line-height: 1.65;
  font-size: .97rem;
}

/* ============ 8. PARTNERS ============ */
.partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.partners__col {
  padding: 2rem 1.8rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  transition: all var(--t);
}
.partners__col:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(212, 175, 55, .3);
}
.partners__col h3 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin: 0 0 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-weight: 600;
}
.partners__col li {
  padding: .55rem 0;
  font-size: .94rem;
  color: rgba(247, 243, 237, .85);
  line-height: 1.5;
  position: relative;
  padding-left: 1.3rem;
}
.partners__col li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}
.partners__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.partners__tags span {
  padding: .45rem .9rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-size: .82rem;
  color: rgba(247, 243, 237, .85);
  transition: all var(--t);
}
.partners__tags span:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

/* ============ 9. PRESS ============ */
.press__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.press-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.press-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.press-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--terracotta);
}
.press-card:hover::before { transform: scaleX(1); }
.press-card__date {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.press-card h3 {
  font-family: var(--ff-serif);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 .8rem;
  font-weight: 700;
}
.press-card p {
  font-size: .92rem;
  color: var(--mute);
  margin: 0 0 1.2rem;
  line-height: 1.6;
}
.press-card__src {
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .03em;
}

.videos__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  margin: 0 0 2rem;
  font-weight: 700;
}
.videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.video-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--t);
  padding: 0;
  width: 100%;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.video-card:hover .video-card__thumb img { transform: scale(1.08); }
.video-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 68, 0), rgba(15, 42, 68, .6));
}
.video-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 30px rgba(196, 101, 74, .5);
  z-index: 2;
  transition: transform var(--t);
}
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); }
.video-card__body {
  padding: 1.5rem 1.8rem 1.8rem;
}
.video-card__body h4 {
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 .5rem;
  font-weight: 700;
}
.video-card__body p {
  margin: 0;
  font-size: .92rem;
  color: var(--mute);
  line-height: 1.55;
}

/* ============ 10. CTA ============ */
.cta .section__head { text-align: center; margin-inline: auto; }
.cta .section__lead { margin-inline: auto; }
.cta__blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.cta-block {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--t);
}
.cta-block:hover {
  background: rgba(255, 255, 255, .08);
  border-color: var(--gold);
  transform: translateY(-4px);
}
.cta-block__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-block h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--cream);
  margin: 0 0 1rem;
  font-weight: 700;
}
.cta-block p {
  color: rgba(247, 243, 237, .75);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0 0 1.8rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
}
.contact__info h3,
.contact__form h3 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 0 1.5rem;
  font-weight: 700;
}
.contact__info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .6rem 0;
  font-size: .98rem;
  color: rgba(247, 243, 237, .9);
}
.contact__info li span { font-size: 1.1rem; }
.contact__info a {
  transition: color var(--t);
  word-break: break-all;
}
.contact__info a:hover { color: var(--gold); }

.contact__form .field {
  margin-bottom: 1.1rem;
}
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, .65);
  margin-bottom: .4rem;
}
.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: .96rem;
  transition: all var(--t);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, .08);
}
.form__status {
  margin: 1rem 0 0;
  font-size: .88rem;
  min-height: 1.2em;
}
.form__status.is-success { color: var(--sage); }
.form__status.is-error { color: var(--terracotta); }

/* ============ FOOTER ============ */
.footer {
  background: #0a1d30;
  color: rgba(247, 243, 237, .65);
  padding-block: 3rem;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}
.footer__brand img {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.footer__brand strong {
  display: block;
  color: #fff;
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  font-weight: 700;
}
.footer__brand span {
  display: block;
  font-size: .78rem;
  margin-top: 2px;
}
.footer__tag {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: .95rem;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.footer__tag em {
  font-size: .78rem;
  color: var(--gold);
  display: block;
  margin-top: .3rem;
  font-style: normal;
}
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .8rem;
  text-align: right;
}

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--pad);
}
.modal.is-open {
  display: flex;
  animation: fade .3s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 29, 48, .92);
  backdrop-filter: blur(10px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1000px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.modal__dialog video {
  width: 100%;
  display: block;
  max-height: 80vh;
}
.modal__close {
  position: absolute;
  top: -48px; right: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t);
}
.modal__close:hover { transform: rotate(90deg); }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .terrain__grid,
  .founder__grid,
  .contact {
    grid-template-columns: 1fr;
  }
  .founder__portrait { max-width: 480px; margin-inline: auto; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__meta { text-align: center; align-items: center; }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4 / 5; }
}

@media (max-width: 780px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100svh;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--t);
    box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
  }
  .nav__links a { color: var(--navy) !important; font-size: 1.15rem; }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__wordmark span { display: none; }

  .hero { padding-top: 6rem; }
  .hero__title { margin-top: 1rem; }
  .hero__actions .btn { flex: 1; justify-content: center; }

  .timeline__list::before { left: 20px; }
  .tl { grid-template-columns: 1fr; gap: .5rem; padding-left: 50px; }
  .tl__year { text-align: left; font-size: 1.1rem; }
  .tl__body { padding-left: 0; }
  .tl__body::before { left: -38px; }

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

@media (max-width: 520px) {
  body { font-size: 16px; }
  .section__title { font-size: 2rem; }
  .hero__meta { gap: 1rem; font-size: .75rem; }
  .hero__meta span { flex: 1 1 45%; }
  .stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
