/* ---------- Tokens ---------- */
:root {
  --cream: #F4F0E5;
  --cream-alt: #EBE4D2;
  --ink: #2B2B2B;
  --ink-soft: #57584f;
  --blue: #0071F5;
  --blue-dark: #0052B3;
  --blue-tint: #E7F1FE;
  --blue-light: #6FB4FF;
  --green: #00A02E;
  --white: #FFFFFF;

  /* one funky accent kept for the stat cards — used sparingly */
  --funky-orange: #FF6B3D;

  /* soft organic green behind the "big idea" statement section */
  --mint: #E7F2EA;
  --mint-deep: #BFE0C6;

  --font-display: "Anton", sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1140px;
  --radius: 14px;
  --shadow: 0 12px 32px -18px rgba(43, 43, 43, 0.28);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, .display-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  color: var(--blue-dark);
}
h2, .section-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  font-weight: 400;
  margin: 0 0 0.5em;
  color: var(--blue-dark);
}
h3, .feature-heading {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--blue-dark);
}
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--blue-dark);
}
p { margin: 0 0 1em; color: var(--ink-soft); }
.intro-copy {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.6;
  max-width: 36rem;
}
strong { font-weight: 700; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(115deg, var(--blue), var(--green) 130%);
  color: var(--white);
  box-shadow: 4px 4px 0 rgba(10, 11, 12, 0.85);
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(10, 11, 12, 0.85);
}
.btn-ghost {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue-dark);
}
.btn-ghost:hover { background: var(--blue-tint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 229, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0, 113, 245, 0.12);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--blue-dark);
  white-space: nowrap;
}
.logo-mark { display: inline-block; }
.logo-full { display: block; height: 40px; width: auto; }

.main-nav {
  display: flex;
  gap: 32px;
  justify-self: center;
}
.main-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.main-nav a:hover { color: var(--blue-dark); }
.main-nav a.is-active { color: var(--blue-dark); font-weight: 600; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
}

/* ================================================================
   HOMEPAGE — the video, taller than the viewport
   The homepage is still just this one section — nothing else on the
   page — but the hero itself is taller than 100vh so there's room to
   scroll through it: a pinned 100vh frame stays in view while the
   scroll drives the blur → clear resolve (see js/main.js), the same
   way it always did. Two synchronized <video> layers create that
   effect: a blurred layer fills the frame, a sharp duplicate sits on
   top masked to a soft circle that also tracks the cursor.
   ================================================================ */
.hero {
  position: relative;
  height: 168vh;
  background: var(--ink);
}
.hero-video-frame {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--ink);
}
.hero-video-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 42%;
}
.hero-video-layer--blur {
  filter: blur(7px);
  transform: scale(1.03);
  will-change: filter;
}
.hero-video-layer--sharp {
  z-index: 1;
  will-change: mask-position;
}

/* soft green glow that drifts with the lens — a hint, not a ring */
.hero-lens-glow {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 460px;
  height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 160, 46, 0.16) 0%, rgba(0, 160, 46, 0.06) 45%, transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.hero-video-frame.has-lens .hero-lens-glow { opacity: 1; }

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(10, 11, 12, 0.62) 0%, rgba(10, 11, 12, 0.32) 34%, transparent 62%),
    linear-gradient(0deg, rgba(10, 11, 12, 0.55) 0%, transparent 42%);
}

.hero-content {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: clamp(48px, 9vh, 104px);
  padding-left: max(24px, calc(50vw - (var(--max-width) / 2) + 24px));
  padding-right: 24px;
  max-width: 760px;
}
.hero-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cream);
  /* one word per line (8 lines) — sized in vh as much as vw so it
     keeps fitting the fixed, non-scrolling viewport at any width */
  font-size: clamp(1.75rem, 4.5vw, 4.25rem);
  line-height: 0.94;
  letter-spacing: -0.01em;
  animation: heroRise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* single-layer fallback used on coarse-pointer / touch devices — see
   js/main.js: the blurred layer is dropped entirely and the sharp
   layer simply resolves from a light blur on load */
.hero-video-frame.is-touch .hero-video-layer--blur { display: none; }
.hero-video-frame.is-touch .hero-video-layer--sharp {
  filter: blur(6px);
  transition: filter 1.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-video-frame.is-touch.is-clear .hero-video-layer--sharp { filter: blur(0); }

/* ================================================================
   ABOUT — belief, then definition, then meaning. No cards, no icon
   grids, no stats: photography, typography, and negative space.
   ================================================================ */

/* ---- Section 0: watch — click-to-play, nothing loads until clicked ---- */
.about-video {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0 clamp(96px, 14vw, 160px);
  background: var(--blue);
}
.about-video-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.about-video-curve svg {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 110px);
  overflow: visible;
}
.about-video-curve-fill { fill: var(--cream); }
.about-video-curve-line {
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 12;
  opacity: 0.55;
}
.about-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.about-video-trigger {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.about-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.about-video-play svg {
  width: 26px;
  height: 26px;
  fill: var(--blue);
  margin-left: 3px;
}
.about-video-trigger:hover .about-video-play,
.about-video-trigger:focus-visible .about-video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}
.about-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Section 1: who Ouyouna is ---- */
.about-open {
  min-height: clamp(640px, 90vh, 980px);
  display: flex;
  align-items: center;
  background: var(--cream);
  padding: clamp(48px, 7vw, 96px) 0;
}
.about-open-inner {
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.about-open-copy { flex: 1 1 42%; }
.about-open-headline {
  margin: 0 0 28px;
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  line-height: 1.08;
}
.about-open-body {
  max-width: 440px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-open-visual {
  flex: 1 1 58%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about-open-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 32%;
}

/* ---- Section 2: what Ouyouna is ---- */
.about-what {
  padding: clamp(64px, 10vw, 120px) 0;
  background: var(--cream-alt);
}
.about-what-visual {
  width: min(90vw, 1400px);
  margin: 0 auto clamp(56px, 8vw, 104px);
}
.about-what-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
}
.about-principle-index {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--green);
}
.about-principle h3 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 1.6vw, 1.6rem);
  color: var(--ink);
}
.about-principle p {
  margin: 0;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---- Section 3: the name ---- */
.about-name {
  padding: clamp(96px, 15vw, 168px) 0;
  background: var(--cream);
}
.about-name-inner {
  max-width: 760px;
  margin: 0 auto;
}
.about-name-statement {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.08;
}
.about-name-body {
  margin: 0 0 40px;
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-name-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(43, 43, 43, 0.32);
  padding-bottom: 3px;
}
.about-name-link:hover { border-bottom-color: var(--ink); }

/* ================================================================
   MODEL — one continuous blue section. Four photographs act as tabs;
   a single explanation panel beneath swaps per stage with a height
   transition. No cards, no modals.
   ================================================================ */
.model-hero {
  position: relative;
  background: var(--blue);
  padding: clamp(72px, 10vw, 128px) 0 0;
}
.model-hero .container { text-align: center; }
.model-hero-heading {
  color: var(--white);
  margin: 0 auto 20px;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
}
.model-hero-intro {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
}
.model-hero-tagline {
  margin: 28px auto 0;
  max-width: 480px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--white);
  letter-spacing: 0.01em;
}

.model-stages-wrap {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(32px, 5vw, 56px);
  text-align: left;
}
.model-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.model-stage {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  opacity: 0.78;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.model-stage:hover,
.model-stage:focus-visible { opacity: 0.92; }
.model-stage.is-active {
  opacity: 1;
  transform: scale(1);
}
.model-stage-frame {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-dark);
  outline: 4px solid transparent;
  outline-offset: 3px;
  box-shadow: 0 0 0 0 rgba(0, 160, 46, 0);
  transition: outline-color 0.35s ease, box-shadow 0.35s ease;
}
.model-stage.is-active .model-stage-frame {
  outline-color: var(--white);
  box-shadow: 0 0 0 7px rgba(0, 160, 46, 0.55);
}
.model-stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.model-stage-index {
  display: block;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--green);
}
.model-stage-label {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--white);
}

.model-detail-group {
  margin-top: clamp(32px, 5vw, 56px);
}
.model-detail-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}
.model-detail-panel.is-active {
  grid-template-rows: 1fr;
  opacity: 1;
}
.model-detail-inner { overflow: hidden; min-height: 0; }
.model-detail-content {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 8px;
  text-align: left;
}
.model-detail-index {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green);
}
.model-detail-content h3 {
  color: var(--white);
  margin: 0 0 16px;
}
.model-detail-content p {
  margin: 0 0 1em;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.model-detail-content p:last-child { margin-bottom: 0; }
.model-detail-content strong { color: var(--white); }

.model-transition {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px clamp(96px, 14vw, 160px);
}
.model-transition-heading {
  margin: 0 auto;
  max-width: 18ch;
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.model-hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.model-hero-curve svg {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 110px);
  overflow: visible;
}
.model-hero-curve-fill { fill: var(--cream); }
.model-hero-curve-line {
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 12;
  opacity: 0.55;
}

/* ================================================================
   IN COMMUNITIES, BY COMMUNITIES — editorial two-column philosophy
   section. Cream background, same heading system as About.
   ================================================================ */
.model-community {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: clamp(72px, 11vw, 136px) 0;
}
.model-community-illustration {
  position: absolute;
  top: 50%;
  left: -10%;
  width: min(68vw, 920px);
  aspect-ratio: 1 / 1;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.model-community-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
}
.model-community-illustration path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  opacity: 0.06;
}
.model-community-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45fr 55fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.model-community-sparkle {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  fill: var(--green);
}
.model-community-heading {
  margin: 0 0 24px;
  max-width: 14ch;
  color: var(--ink);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}
.model-community-text {
  max-width: 42ch;
}
.model-community-text p {
  margin: 0 0 1.1em;
  font-size: 1.05rem;
  line-height: 1.75;
}
.model-community-text p:last-child { margin-bottom: 0; }
.model-community-text strong { color: var(--ink); }
.model-community-visual {
  width: 100%;
  border: 6px solid var(--green);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.model-community-visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ================================================================
   IMPACT — editorial storytelling, not a stats dashboard. Same
   blue-hero / curve / cream-community pattern established on /model.
   ================================================================ */
.impact-hero {
  position: relative;
  background: var(--blue);
  padding: clamp(72px, 10vw, 128px) 0 clamp(96px, 14vw, 160px);
}
.impact-hero-intro { max-width: 680px; }
.impact-hero-heading {
  color: var(--white);
  margin: 0 0 20px;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
}
.impact-hero-lede {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

/* ---- oversized stat grid ---- */
.impact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.impact-stat {
  padding: clamp(32px, 5vw, 56px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.impact-stat-number {
  display: block;
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.impact-stat-label {
  display: block;
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.impact-stats-footnote {
  margin: 20px 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.impact-hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.impact-hero-curve svg {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 110px);
  overflow: visible;
}
.impact-hero-curve-fill { fill: var(--cream); }
.impact-hero-curve-line {
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 1 12;
  opacity: 0.55;
}

/* ================================================================
   THE STUDENTS WE DON'T REFER — emotional centerpiece, cream bg.
   ================================================================ */
.impact-community {
  position: relative;
  background: var(--cream);
  padding: clamp(72px, 11vw, 136px) 0 0;
  overflow: hidden;
}
.impact-community-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 45fr 55fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}
.impact-community-sparkle {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
  fill: var(--green);
}
.impact-community-heading {
  margin: 0 0 24px;
  max-width: 13ch;
  color: var(--ink);
  font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}
.impact-community-text { max-width: 42ch; }
.impact-community-text p {
  margin: 0 0 1.1em;
  font-size: 1.05rem;
  line-height: 1.75;
}
.impact-community-text p:last-child { margin-bottom: 0; }
.impact-community-visual {
  width: 100%;
  border: 6px solid var(--green);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.impact-community-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.impact-community-closing {
  position: relative;
  z-index: 1;
  max-width: 50ch;
  margin: clamp(64px, 9vw, 104px) auto 0;
  padding: 0 24px clamp(80px, 11vw, 128px);
  text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
}
.impact-community-closing strong { color: var(--blue-dark); }

@media (prefers-reduced-motion: reduce) {
  .hero-headline {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .model-stage,
  .model-stage-frame,
  .model-detail-panel {
    transition: none;
  }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 700px;
}

/* ---------- Micro-label ---------- */
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- CTA / Contact ---------- */
.cta-section { background: var(--cream-alt); }
.cta-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.contact-form {
  text-align: left;
  margin-top: 36px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.form-row input,
.form-row textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid rgba(0,113,245,0.22);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
  color: var(--blue-dark);
  min-height: 1.2em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.site-footer .logo { color: var(--white); }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a:hover { color: var(--white); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s ease, color 0.2s ease;
}
.footer-social a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-tag { max-width: 420px; color: rgba(255,255,255,0.7); margin: 0; }
.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin: 8px 0 0;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1.is-visible { transition-delay: 0.12s; }
.reveal-d2.is-visible { transition-delay: 0.24s; }

/* a slow scale-in instead of the rise — used for the large immersive
   photograph on /about, kept separate so it never fights .reveal's
   translateY on the same element */
.reveal-scale {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-open-inner { flex-direction: column; align-items: stretch; }
  .about-open-copy, .about-open-headline, .about-open-body { max-width: none; }
  .about-open-visual { aspect-ratio: 4 / 3; }
  .about-principles { grid-template-columns: 1fr; row-gap: 48px; }

  .model-stages { gap: 20px; }

  .model-community-inner,
  .impact-community-inner { grid-template-columns: 1fr; }
  .model-community-heading,
  .model-community-text,
  .impact-community-heading,
  .impact-community-text { max-width: none; }
  .model-community-visual,
  .impact-community-visual { width: 100%; margin-top: clamp(32px, 6vw, 56px); }
  .model-community-illustration { opacity: 0.6; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(0,113,245,0.12);
  }
  .main-nav.is-open { display: flex; }

  .hero { height: 138vh; }
  .hero-content { max-width: none; }
  .hero-headline { font-size: clamp(1.6rem, 9vw, 2.6rem); }

  .about-open { min-height: 0; padding-top: 56px; }
  .about-what-visual { margin-bottom: 40px; }

  .section { padding: 64px 0; }

  .model-stages { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .model-stage-label { font-size: 1.1rem; }

  .model-community-illustration { display: none; }

  .impact-stats { grid-template-columns: 1fr; }
  .impact-beyond-stats { gap: 32px; }
}
