/* ==========================================================================
   NAMA Women Advancement — Homepage styles
   Dark · glassy · cinematic · Arabic-first (RTL) · Tajawal
   ========================================================================== */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blush); text-decoration: none; }
a:hover { color: var(--cream); }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: var(--font); cursor: pointer; }
::selection { background: var(--maroon); color: var(--cream); }

/* When Lenis drives scrolling, disable native smooth-scroll to avoid conflict */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Focus visibility (a11y) ---------- */
:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  right: 50%;
  transform: translate(50%, -160%);
  z-index: 200;
  background: var(--cream);
  color: var(--maroon);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(50%, 0); color: var(--maroon); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; }
.section { position: relative; padding: 180px 80px 190px; background: var(--ink); }
.section--alt { background: var(--ink-2); }

.eyebrow {
  font-size: 14px; font-weight: 500; letter-spacing: 2px;
  color: var(--blush);
}
.eyebrow--lines {
  display: flex; align-items: center; gap: 12px;
  letter-spacing: 1px; color: rgba(231,195,205,0.85);
}
.eyebrow__rule { width: 36px; height: 1px; }
.eyebrow__rule:first-child { background: linear-gradient(to left, transparent, rgba(231,195,205,0.6)); }
.eyebrow__rule:last-child  { background: linear-gradient(to right, transparent, rgba(231,195,205,0.6)); }

.section-head {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center; margin: 0 auto;
}
.section-title { font-size: var(--fs-h2); font-weight: 800; line-height: 1.2; color: var(--cream); }
.section-title--sm { font-size: var(--fs-h2-sm); line-height: 1.35; text-wrap: balance; }
.section-sub { max-width: 520px; font-size: var(--fs-body); font-weight: 300; line-height: 1.9; color: var(--text-72); }
.arch-mark { color: var(--blush); opacity: .55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: var(--r-pill); font-weight: 700; cursor: pointer;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), background .3s;
}
.btn--primary {
  background: var(--maroon); border: 1px solid var(--line-strong);
  padding: 18px 46px; font-size: 17px; color: var(--cream);
}
.btn--primary:hover { box-shadow: var(--glow-cta); transform: translateY(-2px); color: var(--cream); }
.btn--start { align-self: flex-start; padding: 16px 40px; font-size: 16px; }
.btn--cream {
  background: var(--cream); border: none; color: var(--maroon);
  padding: 18px 56px; font-size: 18px; font-weight: 800;
}
.btn--cream:hover { box-shadow: 0 0 34px rgba(253,251,249,0.35); transform: translateY(-2px); }

.link-underline {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 500; color: var(--blush);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 6px;
  transition: color .3s, border-color .3s;
}
.link-underline:hover { color: var(--cream); border-bottom-color: rgba(253,251,249,0.7); }
.section-cta { display: flex; justify-content: center; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav-wrap { position: sticky; top: 0; z-index: 50; }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 56px; height: var(--nav-h);
  background: var(--glass-nav);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__group { display: flex; gap: 36px; align-items: center; }
.nav__group--start { justify-self: start; }
.nav__group--end { justify-self: end; }
.nav__link { font-size: 15px; font-weight: 400; color: var(--text-72); transition: color .25s; }
.nav__link.is-active { font-weight: 500; color: var(--cream); }
.nav__link:hover { color: var(--blush); }
.nav__logo { display: flex; align-items: center; justify-content: center; padding: 0 40px; }
.nav__logo img { height: 62px; width: auto; }
.nav__lang {
  display: flex; align-items: center; gap: 8px;
  background: var(--glass-hover); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); padding: 8px 18px;
  color: var(--blush); font-size: 13px; font-weight: 500; letter-spacing: 1px;
  transition: background .3s, color .3s;
}
.nav__lang:hover { background: rgba(231,195,205,0.14); color: var(--cream); }
.nav__burger {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blush);
  transition: background .3s;
}
.nav__burger:hover { background: var(--glass-hover); }

/* Mobile dropdown */
.mobile-menu {
  position: absolute; top: var(--nav-h); left: 0; right: 0; z-index: 49;
  display: flex; flex-direction: column; padding: 4px 24px 20px;
  background: rgba(42,23,32,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { animation: floatUp .3s var(--ease) both; }
.mobile-menu__link {
  padding: 16px 0; font-size: 18px; font-weight: 400; color: var(--text-80);
  border-bottom: 1px solid rgba(231,195,205,0.10);
}
.mobile-menu__link:last-child { border-bottom: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 1000px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 100px 80px 140px;
}
.hero__bg { position: absolute; top: 0; left: 0; right: 0; height: 900px; pointer-events: none; overflow: hidden; }
.hero__bg-img {
  position: absolute; inset: 0;
  background-image: url('../assets/nama_door_open_still.jpg');
  background-size: cover; background-position: center top;
  opacity: calc(var(--glow-mult) * 0.6);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 96%);
          mask-image: linear-gradient(to bottom, black 30%, transparent 96%);
}
.hero__bg-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,14,20,0.30), rgba(26,14,20,0.62) 55%, var(--ink) 96%);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  opacity: var(--glow-mult); animation: glowPulse 9s ease-in-out infinite;
  background: radial-gradient(ellipse 55% 42% at 50% -8%, rgba(231,195,205,0.28), rgba(138,42,68,0.18) 42%, rgba(138,42,68,0.05) 62%, transparent 75%);
}
.hero__inner {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 40px; max-width: 880px;
}
.hero__arch {
  position: absolute; top: -110px; left: 50%; transform: translateX(-50%);
  width: 820px; height: 700px;
  border: 1px solid rgba(231,195,205,0.16); border-bottom: none;
  border-radius: 410px 410px 0 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 96%);
          mask-image: linear-gradient(to bottom, black 50%, transparent 96%);
}
.hero__title-wrap { position: relative; }
.hero__title-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 900px; height: 460px; pointer-events: none; opacity: var(--glow-mult);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(138,42,68,0.30), rgba(231,195,205,0.06) 55%, transparent 75%);
}
.hero__title {
  position: relative; font-size: var(--fs-hero); font-weight: 800; line-height: 1.3;
  color: var(--cream); text-wrap: balance;
}
.hero__lead { max-width: 620px; font-size: var(--fs-lead); font-weight: 300; line-height: 2; color: var(--text-80); }
.hero__scroll {
  position: absolute; bottom: 38px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(231,195,205,0.65); font-size: 12px; letter-spacing: 2px;
}
.hero__scroll-line { width: 1px; height: 34px; background: linear-gradient(to bottom, rgba(231,195,205,0.5), transparent); }

/* ==========================================================================
   IMPACT
   ========================================================================== */
.impact__inner { display: flex; flex-direction: column; gap: 80px; }
.impact__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--glow-mult);
  background: radial-gradient(ellipse 40% 50% at 50% 108%, rgba(138,42,68,0.28), transparent 70%);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color .3s, background .3s, transform .3s;
}
.stat { display: flex; flex-direction: column; gap: 18px; padding: 44px 40px; }
.stat:hover { border-color: rgba(231,195,205,0.35); background: var(--glass-hover); }
.stat__icon { color: var(--blush); }
.stat__numwrap { position: relative; }
.stat__glow {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: 340px; height: 200px; pointer-events: none; opacity: var(--glow-mult);
  background: radial-gradient(ellipse 50% 50% at 70% 50%, rgba(138,42,68,0.40), rgba(231,195,205,0.08) 55%, transparent 75%);
}
.stat__num {
  position: relative; font-size: var(--fs-stat); font-weight: 800; line-height: 1;
  color: var(--cream); text-align: right; text-shadow: var(--glow-stat);
}
.stat__label { font-size: 16px; font-weight: 300; line-height: 2; color: var(--text-70); text-align: right; }

/* ==========================================================================
   GOALS — arch-topped cards
   ========================================================================== */
.goals__inner { display: flex; flex-direction: column; gap: 80px; align-items: center; }
.goals__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--glow-mult);
  background: radial-gradient(ellipse 45% 40% at 50% 0%, rgba(138,42,68,0.16), transparent 70%);
}
.goal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.arch-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 16px; padding: 70px 28px 44px;
  background: var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--r-arch) var(--r-arch) var(--r-card) var(--r-card);
  overflow: hidden; transition: border-color .3s, transform .3s;
}
.arch-card:hover { border-color: rgba(231,195,205,0.4); transform: translateY(-6px); }
.arch-card__glow {
  position: absolute; top: 0; left: 0; right: 0; height: 120px; pointer-events: none;
  opacity: var(--glow-mult);
  background: radial-gradient(ellipse 70% 90% at 50% -20%, rgba(231,195,205,0.22), transparent 75%);
}
.arch-card__icon { color: var(--blush); }
.arch-card__title { font-size: 26px; font-weight: 700; color: var(--cream); }
.arch-card__text { font-size: 14.5px; font-weight: 300; line-height: 2; color: var(--text-72); text-align: center; }

/* ==========================================================================
   PARTNERSHIP
   ========================================================================== */
.partnership__inner {
  display: grid; grid-template-columns: 460px 1fr; gap: 90px; align-items: center;
  direction: ltr;
}
.partnership__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--glow-mult);
  background: radial-gradient(ellipse 35% 55% at 18% 50%, rgba(138,42,68,0.22), transparent 70%);
}
.partnership__media { position: relative; width: 460px; height: 580px; }
.partnership__frame {
  position: absolute; inset: -1px; z-index: 2; pointer-events: none;
  border: 1px solid var(--line-strong); border-radius: 230px 230px 24px 24px;
}
.partnership__halo {
  position: absolute; top: -70px; left: 50%; transform: translateX(-50%);
  width: 340px; height: 180px; z-index: 1; pointer-events: none; opacity: var(--glow-mult);
  background: radial-gradient(ellipse 50% 60% at 50% 30%, rgba(231,195,205,0.30), transparent 70%);
}
.partnership__photo { position: absolute; inset: 0; border-radius: 230px 230px 24px 24px; overflow: hidden; }
.partnership__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.partnership__body { direction: rtl; display: flex; flex-direction: column; gap: 30px; }
.partnership__lead { max-width: 520px; font-size: var(--fs-body); font-weight: 300; line-height: 2; color: var(--text-72); }
.focus-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.focus-list__item {
  display: flex; align-items: center; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px; font-weight: 500; color: var(--cream);
}
.focus-list__item:last-child { border-bottom: none; }
.focus-list__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--maroon);
  box-shadow: 0 0 12px rgba(138,42,68,0.9); flex: none;
}

/* ==========================================================================
   PARTNERS — marquee
   ========================================================================== */
.partners { border-top: 1px solid var(--line-faint); padding: 160px 80px; }
.partners__inner { display: flex; flex-direction: column; gap: 64px; align-items: center; }
.marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
          mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 90px; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.wordmark {
  color: rgba(253,251,249,0.6); transition: color .3s; cursor: default; white-space: nowrap;
  font-size: 26px; font-weight: 700; letter-spacing: .5px; flex: none;
}
.wordmark:hover { color: rgba(253,251,249,0.95); }
.wordmark--acc { font-size: 24px; font-weight: 600; }
.wordmark--taqa { font-size: 24px; font-weight: 800; letter-spacing: 6px; }
.wordmark--adnoc { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wordmark__ar { font-size: 20px; font-weight: 700; line-height: 1; }
.wordmark__en { font-size: 13px; font-weight: 700; letter-spacing: 3px; line-height: 1; }

/* ==========================================================================
   CTA BAND (HHEO / Jawaher)
   ========================================================================== */
.cta-band { position: relative; padding: 150px 80px; background: var(--maroon); overflow: hidden; }
.cta-band__glow {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--glow-mult);
  background: radial-gradient(ellipse 50% 90% at 50% -30%, rgba(253,251,249,0.20), transparent 65%);
}
.cta-band__inner {
  position: relative; max-width: 980px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 34px; text-align: center;
}
.cta-band__title { max-width: 840px; font-size: 40px; font-weight: 700; line-height: 1.7; color: var(--cream); text-wrap: balance; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; background: var(--ink-3); padding: 90px 80px 40px; }
.footer__inner { display: flex; flex-direction: column; gap: 70px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 60px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__logo { height: 120px; width: auto; align-self: flex-start; }
.footer__about { max-width: 300px; font-size: 14.5px; font-weight: 300; line-height: 1.9; color: var(--text-68); }
.footer__col { display: flex; flex-direction: column; gap: 16px; }
.footer__heading { margin-bottom: 6px; font-size: 16px; font-weight: 700; color: var(--blush); }
.footer__link { font-size: 14.5px; font-weight: 300; color: var(--text-70); }
.footer__link:hover { color: var(--cream); }
.footer__contact .footer__line { font-size: 14.5px; font-weight: 300; line-height: 1.8; color: var(--text-70); }
a.footer__line:hover { color: var(--cream); }
.footer__social { display: flex; gap: 14px; margin-top: 6px; }
.social {
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--blush);
  transition: border-color .3s, background .3s;
}
.social:hover { border-color: rgba(231,195,205,0.6); background: var(--glass-hover); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid rgba(231,195,205,0.1);
}
.footer__copy { font-size: 13px; font-weight: 300; color: var(--text-55); }
.footer__legal { display: flex; gap: 28px; }
.footer__legal-link { font-size: 13px; font-weight: 300; color: var(--text-55); }
.footer__legal-link:hover { color: var(--blush); }

/* ==========================================================================
   INTRO STAGE  (pinned, scroll-scrubbed cinematic opener)
   Sits at the top of the same page; dissolves into the hero.
   ========================================================================== */
.intro { position: relative; height: 500vh; background: var(--ink); }
.intro-stage {
  position: sticky; top: 0; width: 100%;
  height: 100vh;          /* fallback for browsers without svh */
  height: 100svh;         /* mobile: excludes dynamic browser UI → no gaps */
  overflow: hidden; background: var(--ink);
}
.intro-fade { position: absolute; inset: 0; }

/* --- Door media --- */
.intro-video,
.intro-poster {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.intro-poster {
  background: url('../assets/nama_door_open_still.jpg') center/cover no-repeat;
  opacity: 0; /* shown only in reduced-motion / no-JS fallback */
}

/* The door clip is landscape with the doorway + woman in the left-centre (~35%);
   on a portrait phone a centred cover-crop shoves them to the edge, so pull the
   framing left to bring the door back into the middle of the frame. */
@media (orientation: portrait) {
  .intro-video  { object-position: 35% center; }
  .intro-poster { background-position: 35% center; }
}

/* --- Vignettes (learns / leads / creates) --- */
.intro-vignette {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; will-change: opacity;
}
/* The vignette photos are landscape with the woman in the left third (the empty
   right side is where the RTL verb sits). On a portrait phone a centred cover-crop
   cuts her off — bias the framing left so the subject always stays in frame. */
@media (orientation: portrait) {
  .intro-vignette { background-position: 30% center; }
}

/* --- Legibility veil: darker on the right (RTL safe zone) --- */
.intro-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to left, rgba(18,8,13,0.60), rgba(18,8,13,0.10) 82%);
}

/* --- Beat copy (right safe zone) --- */
.intro-copy { position: absolute; inset: 0; pointer-events: none; }
.beat {
  position: absolute; top: 0; bottom: 0; right: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  padding: 0 96px; max-width: 680px; text-align: right;
  opacity: 0; will-change: opacity, transform;
}
.beat__rule { width: 56px; height: 2px; background: var(--blush); opacity: .7; }
.beat h2 {
  font-size: 64px; font-weight: 800; line-height: 1.5; color: var(--cream);
  text-wrap: balance; text-shadow: 0 2px 40px rgba(18,8,13,0.85);
}

/* --- Verbs (تتعلّم / تقود / تبدع) --- */
.intro-verbs { position: absolute; inset: 0; pointer-events: none; }
.verb {
  position: absolute; top: 0; bottom: 0; right: 0;
  display: flex; align-items: center; padding: 0 110px;
  font-size: 110px; font-weight: 800; line-height: 1.3; color: var(--cream);
  text-shadow: 0 2px 50px rgba(18,8,13,0.8);
  opacity: 0; will-change: opacity, transform, filter;
  /* Gentle blush "breathing" so the word stays alive even mid-scroll-pause.
     GSAP drives opacity/transform/filter for the scrubbed entrance; this only
     animates text-shadow, so the two never fight. */
  animation: verbBreath 3s ease-in-out infinite;
}
@keyframes verbBreath {
  0%, 100% { text-shadow: 0 2px 50px rgba(18,8,13,0.8); }
  50%      { text-shadow: 0 2px 50px rgba(18,8,13,0.85), 0 0 46px rgba(231,195,205,0.5); }
}

/* --- Final logo frame --- */
.intro-final {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px;
  background: var(--ink); opacity: 0; will-change: opacity;
}
.intro-final__glow1 {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(138,42,68,0.45), transparent 72%);
}
.intro-final__glow2 {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 34% 26% at 50% 40%, rgba(231,195,205,0.22), transparent 70%);
}
.intro-final__logo {
  position: relative; width: 340px; height: auto;
  filter: drop-shadow(0 0 60px rgba(231,195,205,0.35));
  will-change: transform, opacity;
}
.intro-final__tag {
  position: relative; font-size: 34px; font-weight: 400;
  color: rgba(253,251,249,0.88); letter-spacing: 1px;
}

/* --- Scroll-down cue --- */
.intro-scroll-hint {
  position: absolute; left: 50%; bottom: 38px; transform: translateX(-50%);
  z-index: 6; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(253,251,249,0.85); text-shadow: 0 2px 20px rgba(18,8,13,0.9);
}
.intro-scroll-hint__text { font-size: 13px; font-weight: 500; letter-spacing: 3px; }
.intro-scroll-hint__chev { animation: scrollBounce 1.8s ease-in-out infinite; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* --- Skip button (real control; lives outside the aria-hidden intro) --- */
.intro-skip {
  position: fixed; top: 24px; left: 24px; z-index: 120;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(20,10,15,0.55); color: var(--cream);
  border: 1px solid var(--line-strong); border-radius: var(--r-pill);
  padding: 10px 22px; font-size: 14px; font-weight: 500; letter-spacing: 1px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, border-color .3s, opacity .4s;
}
.intro-skip:hover { background: rgba(231,195,205,0.16); border-color: rgba(231,195,205,0.5); }
.intro-skip[hidden] { display: none; }

/* Nav hidden while the intro is playing; slides in on dissolve */
.nav-wrap { transition: transform .6s var(--ease), opacity .6s var(--ease); }
body.is-intro .nav-wrap { transform: translateY(-110%); opacity: 0; pointer-events: none; }

/* ==========================================================================
   REVEAL ON SCROLL (JS toggles .is-in)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* staggered children */
.reveal-group > .reveal { transition-delay: var(--reveal-delay, 0s); }

/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes glowPulse { 0%,100% { opacity: 1; } 50% { opacity: .82; } }
@keyframes floatUp { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ==========================================================================
   RESPONSIVE — tablet / mobile (matches the mobile design screen)
   ========================================================================== */
@media (max-width: 980px) {
  .section { padding: 110px 40px 120px; }
  .stats { grid-template-columns: 1fr; }
  .goal-grid { grid-template-columns: repeat(2, 1fr); }
  .partnership__inner { grid-template-columns: 1fr; gap: 48px; justify-items: center; direction: rtl; }
  .partnership__body { align-items: center; text-align: center; width: 100%; }
  .partnership__lead { text-align: right; max-width: 100%; }
  .focus-list { width: 100%; }
  .btn--start { align-self: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .hero__title { font-size: 68px; }
}

@media (max-width: 720px) {
  /* Nav → hamburger */
  .nav { grid-template-columns: auto 1fr auto; padding: 0 20px; height: 64px; }
  .nav__group--start { display: none; }
  .nav__group--end { gap: 12px; }
  .nav__link { display: none; }
  .nav__logo { padding: 0; }
  .nav__logo img { height: 46px; }
  .nav__lang { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; gap: 0; }
  .nav__lang svg { display: none; }
  .nav__burger { display: flex; order: -1; }
  .mobile-menu { top: 64px; }

  .section { padding: 100px 24px 110px; }
  .section-title { font-size: 42px; }
  .section-title--sm { font-size: 34px; line-height: 1.4; }
  .section-sub { max-width: 300px; }

  /* Hero */
  .hero { min-height: 640px; padding: 70px 24px 90px; }
  .hero__bg { height: 600px; }
  .hero__glow { background: radial-gradient(ellipse 90% 34% at 50% -6%, rgba(231,195,205,0.28), rgba(138,42,68,0.18) 42%, rgba(138,42,68,0.05) 62%, transparent 75%); }
  .hero__inner { gap: 26px; }
  .hero__arch { top: -60px; width: 330px; height: 440px; border-radius: 165px 165px 0 0; }
  .hero__title-glow { width: 420px; height: 280px; }
  .hero__title { font-size: 46px; line-height: 1.35; }
  .hero__lead { max-width: 320px; font-size: 16px; }
  .hero__scroll { display: none; }

  /* Impact */
  .impact__inner { gap: 44px; }
  .stat { padding: 32px 28px; }
  .stat__num { font-size: 52px; }

  /* Goals */
  .goals__inner { gap: 44px; }
  .goal-grid { grid-template-columns: 1fr; gap: 20px; }
  .arch-card { padding: 56px 28px 36px; }
  .arch-card__title { font-size: 24px; }

  /* Partnership */
  .partnership__media { width: 300px; height: 380px; }
  .partnership__frame, .partnership__photo { border-radius: 150px 150px 24px 24px; }
  .partnership__halo { top: -50px; width: 240px; height: 130px; }
  .section-title.section-title--sm { text-align: center; }

  /* Partners */
  .partners { padding: 90px 24px; }
  .marquee__track { gap: 44px; animation-duration: 24s; }
  .wordmark { font-size: 22px; }
  .wordmark--acc, .wordmark--taqa { font-size: 20px; }

  /* Intro (mobile) — shorter scroll so it doesn't feel endless on a phone */
  .intro { height: 300vh; }
  .beat { padding: 0 32px; max-width: 100%; }
  .beat h2 { font-size: 36px; line-height: 1.45; }
  .verb { padding: 0 40px; font-size: 60px; }
  .intro-final__logo { width: 220px; }
  .intro-final__tag { font-size: 22px; text-align: center; padding: 0 24px; }

  /* CTA */
  .cta-band { padding: 90px 24px; }
  .cta-band__title { font-size: 26px; line-height: 1.8; }

  /* Footer */
  .footer { padding: 70px 24px 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; align-items: center; text-align: center; }
  .footer__logo { align-self: center; height: 96px; }
  .footer__about { text-align: center; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__glow { animation: none; }
  .marquee__track { animation: none; }
  * { scroll-behavior: auto !important; }

  /* Intro: skip the scrub. Show open-door poster + logo + tagline as a
     single static hero-topper (no pin, no 500vh, no video). */
  .intro { height: 100vh; }
  .intro-stage { position: relative; }
  .intro-video, .intro-vignette, .intro-copy, .intro-verbs, .intro-veil, .intro-scroll-hint { display: none !important; }
  .intro-poster { opacity: 1; }
  .intro-final { opacity: 1 !important; }
  .intro-skip { display: none !important; }
  .nav-wrap { transform: none !important; opacity: 1 !important; }
}

/* No-JS / failed-CDN fallback: reveal content, collapse the tall intro so the
   page is usable even without GSAP/Lenis.
   .no-js       — set on <html>, removed by main.js on boot.
   .intro-static — set by intro.js when ScrollTrigger is unavailable, so a
                   failed CDN can't leave a dead 500vh scroll zone. */
.no-js .reveal { opacity: 1; transform: none; }
.no-js .intro, .intro-static .intro { height: 100vh; }
.no-js .intro-stage, .intro-static .intro-stage { position: relative; }
.no-js .intro-poster, .intro-static .intro-poster { opacity: 1; }
.no-js .intro-final, .intro-static .intro-final { opacity: 1; }
.no-js .intro-video, .no-js .intro-vignette, .no-js .intro-copy,
.no-js .intro-verbs, .no-js .intro-veil, .no-js .intro-skip, .no-js .intro-scroll-hint,
.intro-static .intro-video, .intro-static .intro-vignette, .intro-static .intro-copy,
.intro-static .intro-verbs, .intro-static .intro-veil, .intro-static .intro-skip,
.intro-static .intro-scroll-hint { display: none; }
