/* Murjana · a slow dive, told in giant words that fill with water */
:root {
  --ocean: #062C43;
  --abyss: #031B29;
  --turq: #0B6E79;
  --lagoon: #3DD6D0;
  --coral: #FF6F59;
  --coral-2: #FF8670;
  --sand: #F1E9DA;
  --ink: #052233;
  --text: #EAF4F2;
  --text-2: rgba(234, 244, 242, .72);
  --line: rgba(234, 244, 242, .14);
  --display: 'Big Shoulders Display', 'Changa', Impact, sans-serif;
  --body: 'Newsreader', Georgia, serif;
  --gut: clamp(20px, 4vw, 64px);
  --top-h: 74px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --tshadow: 0 1px 2px rgba(2, 12, 20, .95), 0 3px 12px rgba(2, 12, 20, .78), 0 10px 44px rgba(2, 12, 20, .8);
  --deep: 0;
}
html[lang="ar"] { --display: 'Changa', 'Big Shoulders Display', sans-serif; --body: 'Noto Naskh Arabic', 'Newsreader', serif; }

* { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.55; background: color-mix(in srgb, var(--ocean), var(--abyss) calc(var(--deep) * 100%)); background: var(--abyss); }
html[lang="ar"] body { font-size: 18px; line-height: 1.8; }
html[lang="en"] .ar, html[lang="ar"] .en { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
html[lang="ar"] em { font-style: normal; color: var(--lagoon); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
::selection { background: var(--lagoon); color: var(--abyss); }
main:focus { outline: none; }
.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 100; background: var(--sand); color: var(--ink); padding: 8px 14px; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* ---------- one living sea behind everything ---------- */
.sea { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; background: linear-gradient(180deg, rgba(11, 110, 121, calc(.55 - var(--deep) * .5)) 0%, rgba(6, 44, 67, calc(.9 - var(--deep) * .4)) 45%, var(--abyss) 100%), var(--abyss); }
.sea__shaft { position: absolute; top: -20%; width: 18vw; height: 140%; background: linear-gradient(180deg, rgba(160, 240, 235, .14), rgba(160, 240, 235, 0) 70%); transform-origin: 50% 0; filter: blur(8px); opacity: calc(1 - var(--deep) * .9); animation: shaft 14s ease-in-out infinite alternate; }
.sea__shaft.s1 { left: 12%; transform: rotate(16deg); animation-delay: -3s; }
.sea__shaft.s2 { left: 44%; width: 10vw; transform: rotate(10deg); animation-delay: -8s; }
.sea__shaft.s3 { left: 70%; width: 22vw; transform: rotate(20deg); animation-delay: -1s; }
@keyframes shaft { 0% { opacity: calc(.4 - var(--deep) * .35); transform: rotate(12deg) translateX(-2vw); } 100% { opacity: calc(1 - var(--deep) * .9); transform: rotate(19deg) translateX(3vw); } }
.sea__snow { position: absolute; inset: 0; width: 100%; height: 100%; }
.gauge { position: fixed; z-index: 50; top: 50%; inset-inline-end: 14px; margin: 0; display: grid; justify-items: center; gap: 8px; transform: translateY(-50%); pointer-events: none; }
.gauge__line { position: relative; width: 1px; height: 32vh; background: linear-gradient(var(--lagoon), rgba(61, 214, 208, .1)); }
.gauge__line b { position: absolute; left: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 12px var(--lagoon); transition: top .3s var(--ease); }
.gauge span { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--lagoon); writing-mode: vertical-rl; }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--top-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut); transition: background .5s; }
.top.is-solid, .top.solid { background: linear-gradient(rgba(3, 27, 41, .9), rgba(3, 27, 41, .7)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top__side { display: flex; gap: 8px; }
.top__side--end { justify-content: flex-end; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(234, 244, 242, .26); background: rgba(3, 27, 41, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .3s, border-color .3s; }
.chip::after { content: ''; position: absolute; inset: -6px -3px; }
html[lang="ar"] .chip { font-family: 'Changa', sans-serif; letter-spacing: 0; font-weight: 600; font-size: 13px; }
.chip:hover { background: rgba(61, 214, 208, .14); border-color: var(--lagoon); }
.chip--coral { background: var(--coral); border-color: var(--coral); color: #2a0b05; }
.chip--coral:hover { background: var(--coral-2); border-color: var(--coral-2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand__word { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .2em; }
html[lang="ar"] .brand__word { font-family: 'Changa', sans-serif; letter-spacing: 0; font-size: 22px; }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 16px; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: var(--lagoon); }
html[lang="ar"] .eyebrow { font-family: 'Changa', sans-serif; letter-spacing: 0; font-size: 15px; }
.display { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6.4vw, 108px); line-height: .94; text-transform: uppercase; letter-spacing: .005em; }
.display em { font-family: var(--body); font-weight: 300; font-style: italic; text-transform: none; color: var(--lagoon); letter-spacing: -.01em; }
html[lang="ar"] .display { font-weight: 800; line-height: 1.35; font-size: clamp(40px, 5.4vw, 88px); }
html[lang="ar"] .display em { font-family: var(--display); font-weight: 400; font-style: normal; }
.lede { max-width: 32em; margin: 20px 0 0; font-size: 20px; color: var(--text-2); }
.note { margin: 14px 0 0; font-size: 13px; color: var(--text-2); font-style: italic; }
html[lang="ar"] .note { font-style: normal; }
.head { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; text-shadow: none; transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); }
html[lang="ar"] .btn { font-family: 'Changa', sans-serif; letter-spacing: 0; font-weight: 700; }
.btn--coral { background: var(--coral); color: #2a0b05; }
.btn--coral:hover { background: var(--coral-2); }
.btn--ghost { border-color: rgba(234, 244, 242, .55); color: var(--text); background: rgba(3, 27, 41, .25); }
.btn--ghost:hover { border-color: var(--lagoon); color: var(--lagoon); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* water text: the canvas carries the visuals, the spans carry the words for screen readers */
.wt { position: relative; display: block; width: 100%; line-height: 1; }
.wt > span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wt canvas { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; height: 620vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #021520; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { background: #021520 center / cover no-repeat; }
.hero__video { object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); transform: translateZ(0); }
.hero__stage.video-ready .hero__video { opacity: 1; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 45%, rgba(2, 12, 20, 0) 35%, rgba(2, 12, 20, .62) 100%), linear-gradient(rgba(2, 12, 20, .35), transparent 30%, transparent 60%, rgba(2, 12, 20, .55)); }
.ring { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 40px; height: 40px; margin-left: -20px; color: var(--lagoon); transform: rotate(-90deg); transition: opacity .5s; }
.hero__stage.video-ready .ring, .hero__stage.video-failed .ring { opacity: 0; }
.band { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); text-shadow: var(--tshadow); opacity: 0; }
.band::before { content: ''; position: absolute; inset: -14% -8%; z-index: -1; pointer-events: none; opacity: calc(.25 + .75 * var(--k, 1)); background: radial-gradient(ellipse 60% 62% at 30% 50%, rgba(2, 12, 20, .55) 0%, rgba(2, 12, 20, .3) 46%, rgba(2, 12, 20, 0) 76%); }
.band--1 { top: calc(var(--top-h) + 7vh); opacity: 1; max-width: 1100px; }
.band--2 { top: 34vh; max-width: 820px; }
.band--3 { bottom: 12vh; max-width: 760px; }
.kicker { margin: 0 0 6px; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--lagoon); }
html[lang="ar"] .kicker { font-family: 'Changa', sans-serif; letter-spacing: 0; }
.hero__title { margin: 0; font-weight: 400; }
.hero__solid { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(110px, 18vw, 300px); line-height: .82; letter-spacing: -.005em; }
html[lang="ar"] .hero__solid { line-height: 1.15; font-size: clamp(90px, 14vw, 230px); }
.wt--hero { font-size: clamp(110px, 18vw, 300px); max-width: 1100px; margin-top: -1vw; filter: drop-shadow(0 6px 30px rgba(2, 12, 20, .6)); }
html[lang="ar"] .wt--hero { font-size: clamp(90px, 14vw, 230px); }
.hero__sub { max-width: 30em; margin: 12px 0 0; font-size: clamp(19px, 1.7vw, 24px); color: var(--text); }
.hero__sub em { color: var(--lagoon); }
.hero__big { margin: 0; font-family: var(--display); font-weight: 900; font-size: clamp(56px, 7.4vw, 124px); line-height: .92; text-transform: uppercase; transform: scale(calc(.9 + .1 * var(--k, 1))); transform-origin: 0 50%; }
html[dir="rtl"] .hero__big { transform-origin: 100% 50%; line-height: 1.3; font-size: clamp(48px, 6vw, 100px); }
.hero__big em { font-family: var(--body); font-weight: 300; font-style: italic; text-transform: none; color: var(--lagoon); }
html[lang="ar"] .hero__big em { font-family: var(--display); font-weight: 500; font-style: normal; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 0; opacity: var(--kb, 1); transform: translateY(calc((1 - var(--kb, 1)) * 14px)); }
.cue { position: absolute; z-index: 2; left: 50%; bottom: 24px; margin: 0; display: grid; justify-items: center; gap: 8px; transform: translateX(-50%); font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--lagoon); opacity: 0; transition: opacity .6s; }
.hero__stage.video-ready .cue, .hero__stage.video-failed .cue { opacity: .9; }
.cue i { width: 1px; height: 34px; background: linear-gradient(var(--lagoon), transparent); animation: cue 2.4s ease-in-out infinite; animation-delay: -.6s; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px), (orientation: portrait) and (max-width: 1024px), (orientation: portrait) and (pointer: coarse), (orientation: landscape) and (pointer: coarse) and (max-height: 560px), (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
  .band--1 { top: calc(var(--top-h) + 4vh); opacity: 1; }
  .band--2 { display: none; }
  .band--3 { bottom: 8vh; opacity: 1; }
  .band--3 .hero__big { font-size: clamp(38px, 11vw, 56px); }
  .scrim { background: linear-gradient(rgba(2, 12, 20, .55), rgba(2, 12, 20, 0) 40%, rgba(2, 12, 20, 0) 50%, rgba(2, 12, 20, .85)); }
  .cue, .ring { display: none; }
}

/* ---------- problem (pinned stats) ---------- */
.problem { position: relative; height: 340vh; }
.problem__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5vw; align-items: center; max-width: 1400px; margin: 0 auto; padding: calc(var(--top-h) + 10px) var(--gut) 30px; }
.problem__head .display { font-size: clamp(42px, 5vw, 88px); }
.stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 2vh; }
.stat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; opacity: .25; transition: opacity .6s var(--ease); }
.stat.on { opacity: 1; }
.wt--stat { font-size: clamp(90px, 10vw, 180px); }
.stat p { margin: 0; font-size: 18px; color: var(--text-2); border-inline-start: 2px solid var(--coral); padding-inline-start: 16px; }

/* ---------- three words ---------- */
.words { position: relative; height: 300vh; }
.words__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-content: center; gap: 1vh; overflow: hidden; padding: calc(var(--top-h) + 10px) var(--gut) 30px; }
.words__k { margin-bottom: 2vh; }
.word { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .34fr); gap: 24px; align-items: end; will-change: transform; }
.wt--word { font-size: clamp(110px, 17vw, 300px); }
html[lang="ar"] .wt--word { font-size: clamp(90px, 13vw, 230px); }
.word p { margin: 0 0 3vh; font-size: 19px; color: var(--text-2); }
.word p em { color: var(--lagoon); }

/* ---------- film band ---------- */
.filmband { position: relative; height: 230vh; }
.filmband__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.filmband__frame { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--p, 0)) * 18%) calc((1 - var(--p, 0)) * 30%) round calc((1 - var(--p, 0)) * 50vw)); will-change: clip-path; }
.filmband__frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.18 - .18 * var(--p, 0))); }
.filmband__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(2, 12, 20, .1), rgba(2, 12, 20, .6)); opacity: var(--p, 0); }
.filmband__line { position: relative; z-index: 2; margin: 0; padding: 0 var(--gut); text-align: center; font-family: var(--display); font-weight: 900; font-size: clamp(50px, 7vw, 120px); line-height: .94; text-transform: uppercase; text-shadow: var(--tshadow); opacity: clamp(0, calc((var(--p, 0) - .55) * 3), 1); transform: translateY(calc((1 - clamp(0, calc((var(--p, 0) - .55) * 3), 1)) * 30px)); }
html[lang="ar"] .filmband__line { line-height: 1.35; }
.filmband__line em { font-family: var(--body); font-weight: 300; font-style: italic; text-transform: none; color: var(--lagoon); }
html[lang="ar"] .filmband__line em { font-family: var(--display); font-weight: 500; font-style: normal; }
.filmband__tag { position: absolute; z-index: 2; bottom: 26px; inset-inline-start: var(--gut); margin: 0; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--lagoon); opacity: var(--p, 0); }

/* ---------- sand ---------- */
.sand { position: relative; background: var(--sand); color: var(--ink); }
.sand__edge { position: absolute; left: 0; width: 200%; height: 60px; fill: var(--sand); animation: drift 26s linear infinite; }
.sand__edge--top { bottom: 100%; margin-bottom: -1px; }
.sand__edge--bot { top: 100%; margin-top: -1px; animation-direction: reverse; animation-duration: 32s; }
@keyframes drift { to { transform: translateX(-50%); } }
.sand__in { padding: 120px 0 130px; }
.sand .eyebrow { color: var(--turq); }
.sand .display em { color: var(--turq); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3vw; max-width: 1320px; margin: 70px auto 0; padding: 0 var(--gut); }
.step svg { width: 100%; max-width: 160px; height: auto; margin-bottom: 18px; }
.step svg g { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.step svg path, .step svg rect, .step svg circle { stroke-dasharray: var(--len, 300); stroke-dashoffset: var(--len, 300); transition: stroke-dashoffset 2.2s cubic-bezier(.65, 0, .35, 1); }
.step.in svg path, .step.in svg rect, .step.in svg circle { stroke-dashoffset: 0; }
.step:nth-child(2) svg * { transition-delay: .15s; } .step:nth-child(3) svg * { transition-delay: .3s; } .step:nth-child(4) svg * { transition-delay: .45s; }
.step__n { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 64px; line-height: 1; color: var(--coral); }
.step h3 { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; }
.step p { margin: 8px 0 0; font-size: 17px; color: rgba(5, 34, 51, .78); }

/* ---------- counter ---------- */
.count { position: relative; height: 260vh; }
.count__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; align-items: center; max-width: 1400px; margin: 0 auto; padding: calc(var(--top-h) + 10px) var(--gut) 30px; }
.count__num { margin: 0; font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: clamp(110px, 15vw, 260px); line-height: .85; color: var(--lagoon); font-variant-numeric: tabular-nums; text-shadow: 0 0 60px rgba(61, 214, 208, .35); }
.count__label { margin: 14px 0 0; font-size: 22px; max-width: 18em; }
.count__label em { color: var(--lagoon); }
.dots { display: grid; grid-template-columns: repeat(16, 1fr); gap: clamp(5px, .7vw, 10px); }
.dots i { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(61, 214, 208, .28); transition: background .4s, box-shadow .4s, transform .4s var(--ease); }
.dots i.on { background: var(--lagoon); border-color: var(--lagoon); box-shadow: 0 0 10px rgba(61, 214, 208, .6); transform: scale(1.06); }

/* ---------- story ---------- */
.story { padding: 140px 0; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 5vw; max-width: 1400px; margin: 0 auto; padding: 0 var(--gut); align-items: center; }
.story__photo { position: relative; margin: 0; height: 84vh; min-height: 520px; border-radius: 4px; overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 14px; font-style: italic; text-shadow: var(--tshadow); }
html[dir="rtl"] .story__photo figcaption { left: auto; right: 16px; font-style: normal; }
.story__text blockquote { margin: 0; font-size: clamp(40px, 4.4vw, 72px); }
.log { margin-top: 36px; background: var(--sand); color: var(--ink); border-radius: 3px; padding: 22px 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); background-image: repeating-linear-gradient(transparent 0 31px, rgba(11, 110, 121, .18) 31px 32px); transform: rotate(-1deg); }
.log__head { margin: 0 0 6px; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--coral); }
html[lang="ar"] .log__head { font-family: 'Changa', sans-serif; letter-spacing: 0; }
.log__row { padding: 10px 0; border-top: 1px dashed rgba(5, 34, 51, .25); }
.log__meta { margin: 0; font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--turq); text-align: start; }
.log__site { margin: 0; font-weight: 500; }
.log__text { margin: 2px 0 0; font-style: italic; font-size: 17px; }
html[lang="ar"] .log__text { font-style: normal; }

/* ---------- survival ---------- */
.survive { padding: 120px 0; }
.survive__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: center; }
.wt--big { font-size: clamp(150px, 18vw, 300px); }
.bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; align-items: end; height: 56vh; min-height: 340px; }
.bar { display: grid; grid-template-rows: 1fr auto auto; height: 100%; text-align: center; gap: 6px; }
.bar__col { position: relative; border: 1px solid rgba(61, 214, 208, .35); border-radius: 999px 999px 6px 6px; overflow: hidden; }
.bar__water { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(var(--lagoon), var(--turq)); transition: height 2s cubic-bezier(.2, .7, .2, 1); }
.bar__water::before { content: ''; position: absolute; left: -50%; top: -8px; width: 200%; height: 16px; background: radial-gradient(ellipse 12px 8px at 50% 100%, var(--lagoon) 98%, transparent) repeat-x 0 0 / 24px 16px; animation: drift 3s linear infinite; }
.bars.fill .bar__water { height: calc(var(--v) * 1%); }
.bar:nth-child(2) .bar__water { transition-delay: .1s; } .bar:nth-child(3) .bar__water { transition-delay: .2s; } .bar:nth-child(4) .bar__water { transition-delay: .3s; } .bar:nth-child(5) .bar__water { transition-delay: .4s; } .bar:nth-child(6) .bar__water { transition-delay: .5s; }
.bar b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 22px; color: var(--lagoon); }
.bar small { font-family: 'Big Shoulders Display', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .1em; color: var(--text-2); }

/* ---------- reef map ---------- */
.reef { padding: 120px 0; }
.reef__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: center; }
.reef .head { padding: 0; }
.map { position: relative; margin: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.map img { width: 100%; height: auto; filter: saturate(1.15) contrast(1.05); }
.map::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3, 27, 41, 0) 40%, rgba(3, 27, 41, .45)); }
.map figcaption { position: absolute; z-index: 3; right: 8px; bottom: 6px; font-size: 10px; color: rgba(234, 244, 242, .6); font-family: system-ui, sans-serif; }
.map__pins { position: absolute; inset: 0; z-index: 2; }
.pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; }
.pin i { position: relative; width: 12px; height: 12px; border-radius: 50%; background: var(--lagoon); flex: none; box-shadow: 0 0 0 4px rgba(61, 214, 208, .25); }
.pin i::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--lagoon); animation: ping 2.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.pin span { font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: rgba(3, 27, 41, .82); white-space: nowrap; }
html[lang="ar"] .pin span { font-family: 'Changa', sans-serif; letter-spacing: 0; }
.pin--lab i { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 111, 89, .25); }
.pin--lab i::after { border-color: var(--coral); }
.pin.on span { background: var(--lagoon); color: var(--abyss); }
.sites { list-style: none; margin: 30px 0 0; padding: 0; }
.site { display: grid; grid-template-columns: 60px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.site b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: 34px; color: var(--lagoon); line-height: 1; }
.site strong { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; }
.site small { color: var(--text-2); font-size: 15px; }
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; max-width: 1480px; margin: 90px auto 0; padding: 0 var(--gut); }
.strip figure { position: relative; margin: 0; height: 56vh; min-height: 320px; border-radius: 4px; overflow: hidden; }
.strip img, .strip video { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { position: absolute; left: 14px; bottom: 12px; font-style: italic; font-size: 15px; text-shadow: var(--tshadow); }
html[dir="rtl"] .strip figcaption { left: auto; right: 14px; font-style: normal; }

/* ---------- give ---------- */
.give { padding: 130px 0 110px; }
.switch { display: inline-flex; margin-top: 28px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(3, 27, 41, .5); }
.switch button { min-height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--text-2); transition: background .3s, color .3s; }
html[lang="ar"] .switch button { font-family: 'Changa', sans-serif; letter-spacing: 0; }
.switch button[aria-checked="true"] { background: var(--lagoon); color: var(--abyss); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 50px auto 0; padding: 0 var(--gut); }
.tier { position: relative; height: 54vh; min-height: 340px; border-radius: 999px 999px 18px 18px; border: 1px solid rgba(61, 214, 208, .35); background: rgba(3, 27, 41, .35); overflow: hidden; cursor: pointer; display: grid; align-content: end; justify-items: center; gap: 4px; padding-bottom: 34px; transition: border-color .4s, transform .5s var(--ease); }
.tier:hover { border-color: var(--lagoon); transform: translateY(-4px); }
.tier__water { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: linear-gradient(rgba(61, 214, 208, .9), rgba(11, 110, 121, .95)); transition: height 1.4s cubic-bezier(.2, .7, .2, 1); }
.tier__water::before { content: ''; position: absolute; left: 0; top: -14px; width: 200%; height: 16px; background: radial-gradient(ellipse 18px 10px at 50% 100%, rgba(61, 214, 208, .9) 98%, transparent) repeat-x 0 0 / 36px 16px; animation: drift 4s linear infinite; }
.tier.on { border-color: var(--lagoon); }
.tier.on .tier__water { height: 88%; }
.tier__cur { position: relative; font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .24em; color: var(--text-2); }
.tier.on .tier__cur { color: var(--abyss); }
.tier__amt { position: relative; font-family: 'Big Shoulders Display', sans-serif; font-weight: 900; font-size: clamp(44px, 5vw, 80px); line-height: 1; }
.tier__per { position: relative; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.tier.on .tier__per { color: var(--abyss); }
.tier.on .tier__amt { color: var(--abyss); }
.give__line { max-width: 40em; margin: 30px auto 0; padding: 0 var(--gut); text-align: center; font-size: 22px; font-style: italic; }
html[lang="ar"] .give__line { font-style: normal; }
.give__line b { font-family: 'Big Shoulders Display', sans-serif; font-style: normal; font-weight: 800; color: var(--lagoon); }
.give__cta { text-align: center; margin: 22px 0 0; }
.give__ok { max-width: 36em; margin: 14px auto 0; padding: 0 var(--gut); text-align: center; color: var(--lagoon); }
.give__note { text-align: center; }

/* ---------- marquee ---------- */
.marq { overflow: hidden; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marq__track { margin: 0; white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: clamp(80px, 12vw, 210px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(61, 214, 208, .45); will-change: transform; }
html[lang="ar"] .marq__track { line-height: 1.4; }

/* ---------- dives ---------- */
.dives { padding: 120px 0; }
.dives__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.dives .head { padding: 0; }
.dates { list-style: none; margin: 34px 0 0; padding: 0; }
.date { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.date b { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .06em; color: var(--lagoon); }
.date strong { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.date small { color: var(--text-2); font-size: 15px; }
.date em { font-size: 14px; color: var(--coral); }
.form { display: grid; gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(3, 27, 41, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
html[lang="ar"] .field > span { font-family: 'Changa', sans-serif; letter-spacing: 0; }
.field input, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(234, 244, 242, .35); border-radius: 0; color: var(--text); font: inherit; font-size: 17px; padding: 9px 0; color-scheme: dark; }
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%233DD6D0' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 2px center; padding-inline-end: 22px; }
html[dir="rtl"] .field select { background-position: left 2px center; }
.field select option { background: var(--abyss); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.form .btn { justify-self: start; }
.form__err { margin: 0; min-height: 1.3em; color: var(--coral); }
.form__ok:not(:empty) { margin: 0; padding: 14px 16px; border: 1px solid var(--lagoon); border-radius: 10px; color: var(--lagoon); }

/* ---------- footer ---------- */
.foot { position: relative; padding: 80px var(--gut) 40px; background: linear-gradient(transparent, rgba(1, 10, 16, .85) 30%); }
.wt--foot { font-size: clamp(140px, 26vw, 460px); max-width: 1500px; margin: 0 auto; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1320px; margin: 50px auto 0; }
.foot h4 { margin: 0 0 8px; font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--lagoon); }
html[lang="ar"] .foot h4 { font-family: 'Changa', sans-serif; letter-spacing: 0; }
.foot__cols p { margin: 0; font-size: 16px; color: var(--text-2); }
.foot__cols a { text-decoration: none; color: var(--text); }
.foot__base { display: flex; justify-content: space-between; gap: 40px; max-width: 1320px; margin: 50px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.foot__base p { margin: 0; max-width: 62em; }
.credit { white-space: nowrap; }
.credit a { color: var(--coral); text-decoration: none; border-bottom: 1px solid rgba(255, 111, 89, .45); }

/* ---------- finishing layer ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.intro-on { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--abyss); pointer-events: none; transition: transform 1.1s cubic-bezier(.76, 0, .24, 1); }
.intro.go { transform: translateY(-100%); }
.intro__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(var(--lagoon), var(--turq) 40%, var(--ocean)); transition: height 1.5s cubic-bezier(.65, 0, .35, 1); }
.intro__fill::before { content: ''; position: absolute; left: 0; top: -22px; width: 200%; height: 24px; background: radial-gradient(ellipse 30px 14px at 50% 100%, var(--lagoon) 98%, transparent) repeat-x 0 0 / 60px 24px; animation: drift 2s linear infinite; }
.intro.draw .intro__fill { height: 46%; }
.intro.go .intro__fill { height: 110%; }
.intro__in { position: relative; display: grid; justify-items: center; gap: 10px; transition: opacity .6s; }
.intro.go .intro__in { opacity: 0; }
.intro__mark { width: 84px; height: 84px; opacity: 0; transform: scale(.8); transition: opacity .8s, transform 1s var(--ease); }
.intro__word { margin: 0; font-family: var(--display); font-weight: 900; font-size: 44px; letter-spacing: .3em; margin-inline-start: .3em; opacity: 0; transform: translateY(14px); transition: opacity .8s .3s, transform .8s var(--ease) .3s; }
html[lang="ar"] .intro__word { letter-spacing: 0; margin: 0; }
.intro__sub { margin: 0; font-style: italic; color: var(--text-2); opacity: 0; transition: opacity .8s .6s; }
.intro.draw .intro__mark { opacity: 1; transform: none; }
.intro.draw .intro__word { opacity: 1; transform: none; }
.intro.draw .intro__sub { opacity: 1; }
.progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; background: var(--lagoon); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; box-shadow: 0 0 10px var(--lagoon); }
html[dir="rtl"] .progress { transform-origin: 100% 50%; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .16em; margin: -.08em 0 -.16em; }
.wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--i, 0) * 55ms); }
.lines-in .wi { transform: none; }
.clipr { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s cubic-bezier(.76, 0, .24, 1); }
.clipr.open { clip-path: inset(0 0 0 0); }
.clipr img, .clipr video { transform: scale(1.18); transition: transform 2.2s cubic-bezier(.2, .7, .2, 1); }
.clipr.open img, .clipr.open video { transform: scale(1); }
body::after { content: ''; position: fixed; inset: -50%; z-index: 65; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cursor { position: fixed; z-index: 120; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--lagoon); background: rgba(61, 214, 208, .15); transition: transform .45s cubic-bezier(.2, .7, .2, 1), background .3s; }
.cursor.link i { transform: scale(2.6); }
.cursor.big i { transform: scale(6.5); background: rgba(3, 27, 41, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cursor span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-family: 'Big Shoulders Display', 'Changa', sans-serif; font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lagoon); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.cursor.big span { opacity: 1; }
.mag { transition: transform .5s cubic-bezier(.2, .7, .2, 1), background .3s, color .3s, border-color .3s; }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }
@media (pointer: coarse) { body::after { display: none; } .btn { min-height: 44px; } }
@media (max-height: 560px) { .cue, .gauge { display: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .top__side:not(.top__side--end) .chip { display: none; }
  .problem { height: auto; }
  .problem__stage { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); padding: 100px var(--gut) 60px; }
  .stat { opacity: 1; }
  .words { height: auto; }
  .words__stage { position: relative; height: auto; padding: 90px var(--gut) 60px; gap: 30px; }
  .word { grid-template-columns: minmax(0, 1fr); gap: 8px; transform: none !important; opacity: 1 !important; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .count { height: auto; }
  .count__stage { position: relative; height: auto; grid-template-columns: minmax(0, 1fr); padding: 90px var(--gut) 70px; gap: 40px; }
  .story__grid, .survive__grid, .reef__grid, .dives__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .story__photo { height: 70vh; }
  .gauge { display: none; }
}

/* ---------- phones: their own quieter controls ---------- */
@media (max-width: 720px) {
  :root { --top-h: 62px; }
  body { font-size: 16px; }
  .top { padding: 0 16px; grid-template-columns: auto 1fr auto; }
  .top__side { gap: 6px; }
  .chip { min-height: 32px; padding: 0 12px; font-size: 12px; letter-spacing: .08em; }
  html[lang="ar"] .chip { font-size: 12px; }
  .brand img { width: 30px; height: 30px; }
  .brand__word { font-size: 18px; letter-spacing: .14em; }
  .btn { min-height: 42px; padding: 0 16px; font-size: 14px; letter-spacing: .08em; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__solid, .wt--hero { font-size: clamp(84px, 27vw, 120px); }
  html[lang="ar"] .hero__solid, html[lang="ar"] .wt--hero { font-size: clamp(70px, 21vw, 100px); }
  .hero__sub { font-size: 17px; }
  .kicker { font-size: 12px; letter-spacing: .22em; }
  .display { font-size: clamp(38px, 11vw, 52px); }
  html[lang="ar"] .display { font-size: clamp(32px, 9vw, 44px); }
  .lede { font-size: 17px; }
  .eyebrow { font-size: 12px; }
  .stat { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .wt--stat { font-size: clamp(90px, 30vw, 130px); }
  .stat p { font-size: 16px; }
  .wt--word { font-size: clamp(90px, 28vw, 130px); }
  .word p { margin: 0; font-size: 16px; }
  .filmband { height: 170vh; }
  .filmband__line { font-size: clamp(40px, 11vw, 56px); }
  .sand__in { padding: 80px 0 90px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-top: 40px; }
  .step svg { max-width: 110px; }
  .step__n { font-size: 48px; }
  .step h3 { font-size: 28px; }
  .count__num { font-size: clamp(90px, 27vw, 130px); }
  .count__label { font-size: 18px; }
  .dots { grid-template-columns: repeat(14, 1fr); gap: 5px; }
  .story, .survive, .reef, .give, .dives { padding: 80px 0; }
  .story__photo { height: 62vh; min-height: 380px; }
  .log { padding: 18px; transform: none; }
  .wt--big { font-size: clamp(120px, 38vw, 170px); }
  .bars { height: 40vh; min-height: 260px; gap: 8px; }
  .bar b { font-size: 16px; }
  .strip { grid-template-columns: minmax(0, 1fr); margin-top: 50px; }
  .strip figure { height: 44vh; }
  .switch button { min-height: 34px; padding: 0 16px; font-size: 12px; }
  .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 30px; }
  .tier { height: 42vh; min-height: 260px; padding-bottom: 18px; }
  .tier__amt { font-size: clamp(22px, 7vw, 30px); }
  .tier__per { font-size: 11px; letter-spacing: .1em; }
  .give__line { font-size: 18px; }
  .date { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot__base { flex-direction: column; gap: 14px; }
  .credit { white-space: normal; }
  .marq { padding: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .band { opacity: 1; }
  .intro { display: none; }
  .wi { transform: none; }
  .clipr { clip-path: none; }
  .filmband { height: auto; } .filmband__stage { position: relative; } .filmband__frame { clip-path: none; } .filmband__line, .filmband__tag { opacity: 1; transform: none; }
  .bars .bar__water { height: calc(var(--v) * 1%); }
  .step svg * { stroke-dashoffset: 0 !important; }
}
