/* Shamsna · sunlight, shared */
:root {
  --night: #0B1426;
  --dusk: #13223D;
  --dusk-2: #1A2D4F;
  --sun: #FFD447;
  --sun-2: #FFE07A;
  --sky: #8FD3FF;
  --paper: #FFF8EA;
  --leaf: #5CC48D;
  --ink: #0B1426;
  --text: #F4F1E8;
  --text-2: rgba(244, 241, 232, .68);
  --ink-2: rgba(11, 20, 38, .66);
  --line: rgba(244, 241, 232, .14);
  --line-ink: rgba(11, 20, 38, .14);
  --display: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gut: clamp(20px, 4vw, 64px);
  --top-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-2: cubic-bezier(.65, 0, .35, 1);
  --tshadow: 0 1px 2px rgba(5, 8, 16, .9), 0 3px 12px rgba(5, 8, 16, .7), 0 10px 44px rgba(5, 8, 16, .75);
}
html[lang="ar"] { --display: 'Readex Pro', 'Familjen Grotesk', sans-serif; --body: 'Readex Pro', 'Familjen Grotesk', sans-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; background: var(--night); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; }
html[lang="ar"] body { font-weight: 300; font-size: 16px; }
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; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
::selection { background: var(--sun); color: var(--ink); }
main:focus { outline: none; }
.skip { position: fixed; inset-inline-start: 8px; top: 8px; z-index: 300; background: var(--sun); color: var(--ink); padding: 8px 14px; transform: translateY(-200%); transition: transform .2s; }
.skip:focus { transform: none; }
html.intro-on { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- 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; gap: 20px; padding: 0 var(--gut); transition: background .5s var(--ease); }
.top.is-solid { background: rgba(11, 20, 38, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.brand img { width: 34px; height: 34px; }
.brand__word { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.02em; }
html[lang="ar"] .brand__word { letter-spacing: 0; font-size: 21px; }
.top__nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(19, 34, 61, .55); border: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.top__nav a { padding: 7px 14px; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 500; color: var(--text-2); transition: background .3s, color .3s; }
.top__nav a:hover { background: rgba(244, 241, 232, .08); color: var(--text); }
.top__end { display: flex; justify-content: flex-end; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(19, 34, 61, .55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); text-decoration: none; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .3s, border-color .3s; }
.chip::after { content: ''; position: absolute; inset: -6px -3px; }
.chip:hover { border-color: rgba(244, 241, 232, .35); }
.chip--sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.chip--sun:hover { background: var(--sun-2); }

/* ---------- type and buttons ---------- */
.eyebrow { margin: 0 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--sky); }
html[lang="ar"] .eyebrow { font-family: var(--body); letter-spacing: 0; font-size: 14px; font-weight: 500; }
.paper .eyebrow { color: #2B6FA0; }
.display { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6.8vw, 112px); line-height: .92; letter-spacing: -.045em; }
.display i { font-style: italic; font-weight: 500; color: var(--sun); }
.paper .display i { color: #C99A00; }
html[lang="ar"] .display { letter-spacing: 0; line-height: 1.2; font-size: clamp(38px, 5.8vw, 92px); font-weight: 600; }
html[lang="ar"] .display i { font-style: normal; font-weight: 400; }
.display--sm { font-size: clamp(38px, 4.6vw, 74px); }
html[lang="ar"] .display--sm { font-size: clamp(34px, 4.2vw, 64px); }
.lede { max-width: 32em; margin: 20px 0 0; font-size: 18px; color: var(--text-2); }
.paper .lede { color: var(--ink-2); }
.note { margin: 14px 0 0; font-size: 12.5px; color: var(--text-2); }
.paper .note { color: var(--ink-2); }
.head { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; text-shadow: none; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: var(--sun-2); }
.btn--ghost { border-color: rgba(244, 241, 232, .45); background: rgba(11, 20, 38, .3); color: var(--text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(244, 241, 232, .12); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--dusk-2); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- hero: the scrubbed film ---------- */
.hero { position: relative; height: 420vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #070c18; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster { background: #070c18 center / cover no-repeat; }
.hero__video { object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); will-change: transform; transform: translateZ(0); }
.hero__stage.video-ready .hero__video { opacity: 1; }
.scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(6, 10, 20, .58), rgba(6, 10, 20, 0) 42%, rgba(6, 10, 20, 0) 62%, rgba(6, 10, 20, .65)); }
.ring { position: absolute; z-index: 3; left: 50%; bottom: 34px; width: 40px; height: 40px; margin-left: -20px; color: var(--sun); 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; will-change: opacity; }
.band::before { content: ''; position: absolute; inset: -20% -10%; z-index: -1; pointer-events: none; opacity: calc(.25 + .75 * var(--k, 1)); background: radial-gradient(ellipse 60% 62% at 30% 50%, rgba(5, 8, 16, .5), rgba(5, 8, 16, 0) 72%); }
html[dir="rtl"] .band::before { background: radial-gradient(ellipse 60% 62% at 70% 50%, rgba(5, 8, 16, .5), rgba(5, 8, 16, 0) 72%); }
.band--1 { top: calc(var(--top-h) + 7vh); opacity: 1; }
.band--2 { top: calc(var(--top-h) + 9vh); }
.band--3 { top: calc(var(--top-h) + 7vh); }
.kicker { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--sun); }
html[lang="ar"] .kicker { font-family: var(--body); letter-spacing: 0; font-size: 15px; }
.hero__title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(84px, 13.5vw, 228px); line-height: .84; letter-spacing: -.055em; transform: translateY(calc((1 - var(--k, 1)) * 40px)); }
.hero__title i { font-style: italic; font-weight: 500; color: var(--sun); }
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.15; font-size: clamp(70px, 11vw, 180px); }
html[lang="ar"] .hero__title i, html[lang="ar"] .hero__big i, html[lang="ar"] .hero__settle i { font-style: normal; font-weight: 400; }
.hero__big { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(54px, 8vw, 136px); line-height: .9; letter-spacing: -.05em; transform: scale(calc(.9 + .1 * var(--k, 1))); transform-origin: 0 0; }
html[dir="rtl"] .hero__big { transform-origin: 100% 0; letter-spacing: 0; line-height: 1.2; }
.hero__big i, .hero__settle i { font-style: italic; font-weight: 500; color: var(--sun); }
.hero__settle { margin: 0; max-width: 15em; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5.2vw, 88px); line-height: .95; letter-spacing: -.045em; }
html[lang="ar"] .hero__settle { letter-spacing: 0; line-height: 1.3; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 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: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: 0; transition: opacity .6s; }
.hero__stage.video-ready .cue, .hero__stage.video-failed .cue { opacity: .85; }
.cue i { width: 1px; height: 34px; background: linear-gradient(var(--text), transparent); animation: cue 2.4s var(--ease-2) 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; }
  .hero__video, .hero__poster { object-position: 55% 50%; background-position: 55% 50%; }
  .band--1 { top: calc(var(--top-h) + 4vh); opacity: 1; }
  .band--2 { display: none; }
  .band--3 { top: auto; bottom: 7vh; opacity: 1; }
  .band--3 .hero__settle { font-size: clamp(30px, 8.6vw, 46px); }
  .hero__title { font-size: clamp(64px, 20vw, 120px); }
  .cue, .ring { display: none; }
}

/* ---------- 01 steps on warm paper ---------- */
.paper { background: var(--paper); color: var(--ink); position: relative; }
.how { padding: 150px 0 130px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; max-width: 1320px; margin: 70px auto 0; padding: 0 var(--gut); }
.step__photo { position: relative; margin: 0 0 20px; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 6px; background: #e9e0cc; }
.step__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.step:hover .step__photo img { transform: scale(1.05); }
.step__n { position: absolute; left: 14px; top: 12px; font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); }
html[dir="rtl"] .step__n { left: auto; right: 14px; }
.step h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.1; letter-spacing: -.02em; }
html[lang="ar"] .step h3 { letter-spacing: 0; font-size: 24px; line-height: 1.4; }
.step p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; max-width: 30em; }
.bill { position: relative; width: min(440px, calc(100% - var(--gut) * 2)); margin: 70px auto 0; padding: 26px 26px 22px; background: #fff; color: var(--ink); border-radius: 4px; box-shadow: 0 30px 60px rgba(11, 20, 38, .14), 0 2px 0 rgba(11, 20, 38, .04); transform: rotate(-1.6deg); }
.bill::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 10px; background: radial-gradient(circle at 6px -2px, transparent 6px, #fff 6.5px) 0 0 / 12px 10px repeat-x; }
.bill__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--line-ink); font-size: 14px; }
.bill__top span { font-family: var(--mono); font-size: 11px; color: var(--ink-2); }
.bill dl { margin: 12px 0 0; }
.bill dl div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; }
.bill dt { color: var(--ink-2); }
.bill dd { margin: 0; font-family: var(--mono); font-size: 14px; }
.credit-line dt, .credit-line dd { color: #2E8F5E; font-weight: 600; }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 0; padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 600; }
.bill__total b { font-family: var(--display); font-size: 30px; letter-spacing: -.02em; color: #C99A00; }
.bill__stamp { position: absolute; right: -52px; top: -58px; width: 104px; height: 104px; color: #C99A00; transform: rotate(14deg); opacity: .9; }
html[dir="rtl"] .bill__stamp { right: auto; left: -52px; }

/* ---------- the 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)) * 26%) round calc((1 - var(--p, 0)) * 600px)); 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(6, 10, 20, .2), rgba(6, 10, 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: 600; font-size: clamp(46px, 7vw, 120px); line-height: .92; letter-spacing: -.05em; 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)); }
.filmband__line i { font-style: italic; font-weight: 500; color: var(--sun); }
html[lang="ar"] .filmband__line { letter-spacing: 0; line-height: 1.25; }
html[lang="ar"] .filmband__line i { font-style: normal; }
.filmband__tag { position: absolute; z-index: 2; bottom: 28px; inset-inline-start: var(--gut); margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--text-2); opacity: var(--p, 0); }
html[lang="ar"] .filmband__tag { font-family: var(--body); letter-spacing: 0; font-size: 13px; }

/* ---------- 02 gardens: the globe ---------- */
.gardens { position: relative; height: 560vh; background: var(--night); }
.gardens__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
html:not(.has-globe) #globe { display: none; }
html.has-globe .planet--map { display: none; }
.gardens__panel { position: absolute; z-index: 2; top: calc(var(--top-h) + 24px); bottom: 32px; inset-inline-end: var(--gut); width: min(420px, 36vw); display: flex; flex-direction: column; gap: 18px; padding: 26px 24px; border-radius: 18px; background: rgba(19, 34, 61, .62); border: 1px solid rgba(143, 211, 255, .16); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); overflow: auto; scrollbar-width: none; }
.gardens__panel .eyebrow { margin: 0; }
.regions { display: grid; gap: 4px; }
.regions button { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border: 1px solid transparent; border-radius: 10px; background: none; text-align: start; font-size: 15px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.regions button span { font-family: var(--mono); font-size: 11px; color: var(--sky); }
.regions button:hover { background: rgba(244, 241, 232, .05); color: var(--text); }
.regions button.on { background: rgba(255, 212, 71, .1); border-color: rgba(255, 212, 71, .4); color: var(--text); }
.region { border-top: 1px solid var(--line); padding-top: 16px; }
.region.swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.region__coord { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--sky); text-align: start; }
.region__name { margin: 6px 0 0; font-family: var(--display); font-weight: 600; font-size: 30px; line-height: 1.05; letter-spacing: -.03em; }
html[lang="ar"] .region__name { letter-spacing: 0; line-height: 1.3; font-size: 26px; }
.region__totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.region__totals div { padding: 10px; border-radius: 10px; background: rgba(11, 20, 38, .45); }
.region__totals b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; color: var(--sun); letter-spacing: -.02em; text-align: start; }
.region__totals span { font-size: 12px; color: var(--text-2); }
.region__list { list-style: none; margin: 14px 0 0; padding: 0; }
.region__list li { display: grid; grid-template-columns: 10px 1fr auto; align-items: baseline; gap: 4px 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.region__list li b { font-weight: 500; }
.region__list li > span[dir] { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.region__list em { grid-column: 2 / -1; font-style: normal; font-size: 11.5px; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; align-self: center; }
.dot--live { background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.dot--build { background: var(--sky); }
.dot--plan { background: transparent; border: 1px solid var(--text-2); }
.gardens__step { position: absolute; z-index: 2; inset-inline-start: var(--gut); bottom: 30px; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--text-2); }
.gardens__panel .note { margin-top: auto; }

/* a light planet for phones and the waitlist: real texture, CSS shading */
.planet { position: relative; aspect-ratio: 1; border-radius: 50%; background: #0d1b33 url('../tex/day.jpg') var(--bx, 80%) 50% / 200% 100% no-repeat; box-shadow: inset -60px -14px 90px rgba(4, 8, 18, .95), inset 18px 6px 40px rgba(255, 214, 140, .22), 0 0 70px rgba(143, 211, 255, .3), 0 0 160px rgba(255, 212, 71, .12); transition: background-position 1.4s var(--ease); }
.planet__night { position: absolute; inset: 0; border-radius: 50%; background: url('../tex/night.jpg') var(--bx, 80%) 50% / 200% 100% no-repeat; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(100deg, transparent 48%, #000 78%); mask-image: linear-gradient(100deg, transparent 48%, #000 78%); transition: background-position 1.4s var(--ease); }
.planet__pin { position: absolute; left: 50%; top: var(--py, 37%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 16px var(--sun); }
.planet__pin::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid var(--sun); animation: breathe 2.4s var(--ease) infinite; animation-delay: -1s; }
@keyframes breathe { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- 03 savings, solar yellow ---------- */
.save { background: var(--sun); color: var(--ink); padding: 130px 0; }
.save__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: center; }
.save__film { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px rgba(11, 20, 38, .25); }
.save__film video { width: 100%; height: 100%; object-fit: cover; }
.save__film figcaption { position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 248, 234, .9); font-size: 13px; font-weight: 500; }
html[dir="rtl"] .save__film figcaption { left: auto; right: 16px; }
.save .eyebrow { color: #7A5A00; }
.save .display i { color: var(--ink); }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 34px 0 10px; font-weight: 500; }
.calc__label b { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--ink) var(--v, 20%), rgba(11, 20, 38, .18) var(--v, 20%)); cursor: pointer; }
html[dir="rtl"] .calc input[type="range"] { background: linear-gradient(270deg, var(--ink) var(--v, 20%), rgba(11, 20, 38, .18) var(--v, 20%)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); box-shadow: 0 4px 12px rgba(11, 20, 38, .3); }
.calc input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.calc__home { display: flex; gap: 6px; margin: 20px 0 0; flex-wrap: wrap; }
.calc__home label { position: relative; }
.calc__home input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.calc__home span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(11, 20, 38, .3); font-size: 14px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.calc__home input:checked + span { background: var(--ink); color: var(--sun); border-color: var(--ink); }
.calc__home input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 30px 0 0; }
.calc__out div { padding-top: 12px; border-top: 1.5px solid rgba(11, 20, 38, .25); }
.calc__out .big { grid-column: 1 / -1; }
.calc__out dt { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.calc__out dd { margin: 2px 0 0; font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -.03em; text-align: start; }
.calc__out .big dd { font-size: clamp(56px, 6.4vw, 96px); line-height: 1; letter-spacing: -.05em; }
.save .note { color: rgba(11, 20, 38, .7); margin-bottom: 24px; }

/* ---------- 04 impact ---------- */
.impact { position: relative; padding: 150px 0 120px; overflow: hidden; }
.impact__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.impact::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(var(--night), rgba(11, 20, 38, .4) 40%, var(--night)); }
.impact__in { position: relative; z-index: 2; }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 1320px; margin: 70px auto 0; padding: 0 var(--gut); }
.nums div { border-top: 1px solid rgba(255, 212, 71, .5); padding-top: 14px; display: flex; flex-direction: column-reverse; gap: 6px; }
.nums dt { font-size: 14px; color: var(--text-2); }
.nums dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(48px, 6.2vw, 104px); line-height: .9; letter-spacing: -.055em; color: var(--sun); font-variant-numeric: tabular-nums; text-align: start; }
.homes { max-width: 1320px; margin: 70px auto 0; padding: 0 var(--gut); }
.homes canvas { width: 100%; display: block; }
.homes__key { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 14px; color: var(--text-2); }
.homes__key i { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 10px var(--sun); }
.impact .note { max-width: 1320px; margin: 18px auto 0; padding: 0 var(--gut); }

/* ---------- marquee and sunrise band ---------- */
.marq { overflow: hidden; padding: 60px 0 30px; border-top: 1px solid var(--line); }
.marq__track { margin: 0; white-space: nowrap; font-family: var(--display); font-weight: 600; font-size: clamp(64px, 10vw, 170px); line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 212, 71, .5); will-change: transform; }
html[lang="ar"] .marq__track { letter-spacing: 0; line-height: 1.35; }
.sunband { position: relative; height: 84vh; min-height: 520px; overflow: hidden; display: grid; place-items: end start; }
.sunband video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sunband::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(11, 20, 38, 0) 40%, rgba(11, 20, 38, .75)); }
.sunband__line { position: relative; z-index: 2; margin: 0; padding: 0 var(--gut) 60px; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5.6vw, 96px); line-height: .95; letter-spacing: -.045em; text-shadow: var(--tshadow); }
.sunband__line i { font-style: italic; font-weight: 500; color: var(--sun); }
html[lang="ar"] .sunband__line { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .sunband__line i { font-style: normal; }

/* ---------- 05 landowners ---------- */
.land { padding: 140px 0; }
.land__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: center; }
.land__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 30px 0 28px; }
.land__facts div { border-top: 1.5px solid var(--line-ink); padding-top: 10px; }
.land__facts dt { font-size: 13px; color: var(--ink-2); }
.land__facts dd { margin: 2px 0 0; font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -.02em; text-align: start; }
.site { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px rgba(11, 20, 38, .2); }
.site img { width: 100%; height: auto; }
.site svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.site__fence { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-dasharray: 8 6; }
.row { stroke: #1B3A6A; stroke-width: 9; stroke-linecap: butt; opacity: .93; stroke-dasharray: 1; stroke-dashoffset: 1; }
.site__tag rect { fill: rgba(11, 20, 38, .82); }
.site__tag text { font-family: 'IBM Plex Mono', monospace; font-size: 12px; fill: var(--sun); }
.site__tag text + text { fill: #F4F1E8; }
.site figcaption { position: absolute; left: 12px; bottom: 8px; font-size: 10px; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 2px #000; }
html[dir="rtl"] .site figcaption { left: auto; right: 12px; }

/* ---------- 06 questions ---------- */
.faq { padding: 140px 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.faq .head { padding: 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; padding: 22px 0; border: 0; background: none; text-align: start; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.015em; cursor: pointer; }
html[lang="ar"] .faq__q { letter-spacing: 0; font-size: 19px; }
.faq__q i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, transform .5s var(--ease); }
.faq__q i::before, .faq__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq__q i::after { transform: rotate(90deg); }
.faq__item.open .faq__q i { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.faq__item.open .faq__q i::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__a > p { overflow: hidden; margin: 0; color: var(--text-2); max-width: 36em; }
.faq__item.open .faq__a { grid-template-rows: 1fr; }
.faq__item.open .faq__a > p { padding-bottom: 22px; }

/* ---------- 07 waitlist with the planet rising ---------- */
.join { position: relative; padding: 140px 0 46vw; overflow: hidden; }
.planet--rise { position: absolute; left: 50%; bottom: -78vw; width: 120vw; margin-left: -60vw; animation: turn 120s linear infinite; animation-delay: -30s; }
.planet--rise .planet__night { animation: turn 120s linear infinite; animation-delay: -30s; }
@keyframes turn { from { background-position-x: 0%; } to { background-position-x: 200%; } }
.join__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5vw; max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); align-items: start; }
.join .lede a { color: var(--sun); text-decoration: none; border-bottom: 1px solid rgba(255, 212, 71, .4); }
.form { display: grid; gap: 22px; padding: 30px; border-radius: 18px; background: rgba(19, 34, 61, .6); border: 1px solid rgba(143, 211, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 500; color: var(--text-2); }
.field input, .field select { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(244, 241, 232, .3); 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='%23F4F1E8' 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(--dusk); }
.field input:focus-visible, .field select:focus-visible { border-bottom-color: var(--sun); }
.form .btn { justify-self: start; }
.form__err { margin: 0; min-height: 1.3em; color: #FF9F8A; font-size: 14px; }
.form__ok:not(:empty) { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(92, 196, 141, .6); background: rgba(92, 196, 141, .1); }

/* ---------- footer ---------- */
.foot { position: relative; padding: 70px var(--gut) 40px; border-top: 1px solid var(--line); background: var(--night); overflow: hidden; }
.foot__giant { margin: 0 0 50px; text-align: center; font-family: var(--display); font-weight: 600; font-size: clamp(90px, 21vw, 360px); line-height: .82; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 212, 71, .55); background: linear-gradient(var(--sun), var(--sun)) no-repeat 0 100% / 100% 0; -webkit-background-clip: text; background-clip: text; transition: background-size 1.2s var(--ease); }
html[lang="ar"] .foot__giant { letter-spacing: 0; line-height: 1.2; }
.foot__giant:hover { background-size: 100% 100%; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 1320px; margin: 0 auto; }
.foot h4 { margin: 0 0 8px; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); }
html[lang="ar"] .foot h4 { font-family: var(--body); letter-spacing: 0; font-size: 13px; }
.foot__cols p { margin: 0; font-size: 15px; }
.foot__cols a { text-decoration: none; }
.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: 12.5px; color: var(--text-2); }
.foot__base p { margin: 0; max-width: 62em; }
.credit { white-space: nowrap; }
.credit a { color: var(--sun); text-decoration: none; border-bottom: 1px solid rgba(255, 212, 71, .4); }

/* ---------- finishing layer ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; }
.intro__half { position: absolute; left: 0; right: 0; height: 50.5%; background: #08101F; transition: transform 1.1s cubic-bezier(.76, 0, .24, 1); }
.intro__half--t { top: 0; }
.intro__half--b { bottom: 0; }
.intro.go .intro__half--t { transform: translateY(-100%); }
.intro.go .intro__half--b { transform: translateY(100%); }
.intro__in { position: relative; display: grid; justify-items: center; gap: 12px; transition: opacity .5s, transform 1.1s cubic-bezier(.76, 0, .24, 1); }
.intro.go .intro__in { opacity: 0; transform: translateY(-30px) scale(.96); }
.intro__mark { width: 92px; height: 92px; }
.intro__mark .d1 { stroke-dasharray: 72; stroke-dashoffset: 72; transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .35, 1); }
.intro__mark .d2 { opacity: 0; transition: opacity .6s .8s; }
.intro__mark .d3 { stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .35, 1) .3s; }
.intro.draw .d1, .intro.draw .d3 { stroke-dashoffset: 0; }
.intro.draw .d2 { opacity: 1; }
.intro__word { margin: 0; font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -.02em; opacity: 0; transform: translateY(14px); transition: opacity .8s .5s, transform .8s var(--ease) .5s; }
.intro.draw .intro__word { opacity: 1; transform: none; }
.progress { position: fixed; z-index: 70; top: 0; left: 0; right: 0; height: 2px; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
html[dir="rtl"] .progress { transform-origin: 100% 50%; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .04em .16em; margin: -.08em -.04em -.16em; }
.wi { display: inline-block; transform: translateY(112%); 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 round 8px); transition: clip-path 1.5s cubic-bezier(.76, 0, .24, 1); }
.clipr.open { clip-path: inset(0 0 0 0 round 8px); }
.clipr img, .clipr video { transform: scale(1.16); transition: transform 2.2s var(--ease); }
.clipr.open img, .clipr.open video { transform: scale(1); }
.bill.clipr { clip-path: inset(0 0 100% 0); }
.bill.clipr.open { clip-path: inset(-20px -40px -20px -40px); }
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, .has-cursor label { 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: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); mix-blend-mode: difference; transition: transform .45s var(--ease); }
.cursor.link i { transform: scale(2.6); }
.cursor.big i { transform: scale(6.5); mix-blend-mode: normal; background: rgba(255, 212, 71, .92); }
.cursor span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; opacity: 0; transition: opacity .3s; }
html[lang="ar"] .cursor span { font-family: var(--body); letter-spacing: 0; font-size: 12px; }
.cursor.big span { opacity: 1; }
.mag { transition: transform .5s var(--ease), 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; } }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .top__nav { display: none; }
  .top { grid-template-columns: auto 1fr; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 46px; max-width: 640px; }
  .save__grid, .land__grid, .faq__grid, .join__in { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
}
/* phones (and anywhere the light planet replaces the live globe) */
html:not(.has-globe) .gardens { height: auto; padding: 110px 0 90px; }
html:not(.has-globe) .gardens__stage { position: relative; height: auto; overflow: visible; display: grid; justify-items: center; gap: 36px; padding: 0 var(--gut); }
html:not(.has-globe) .planet--map { width: min(84vw, 460px); }
html:not(.has-globe) .gardens__panel { position: relative; inset: auto; top: auto; bottom: auto; width: 100%; max-width: 560px; overflow: visible; }
html:not(.has-globe) .gardens__step { display: none; }
@media (max-width: 720px) {
  :root { --top-h: 62px; }
  body { font-size: 16px; }
  .top { padding: 0 16px; gap: 10px; }
  .brand img { width: 28px; height: 28px; }
  .brand__word { font-size: 18px; }
  .top__end { gap: 6px; }
  .chip { min-height: 32px; padding: 0 12px; font-size: 11.5px; }
  html[lang="ar"] .chip { font-size: 12px; }
  .btn { min-height: 42px; padding: 0 18px; font-size: 13px; }
  .hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__cta .btn { padding: 0 10px; }
  .kicker { font-size: 10px; letter-spacing: .18em; }
  html[lang="ar"] .kicker { font-size: 13px; }
  .eyebrow { font-size: 10px; margin-bottom: 12px; }
  html[lang="ar"] .eyebrow { font-size: 13px; }
  .display { font-size: clamp(38px, 11.4vw, 56px); }
  html[lang="ar"] .display { font-size: clamp(32px, 9.6vw, 46px); }
  .display--sm { font-size: clamp(34px, 10vw, 48px); }
  html[lang="ar"] .display--sm { font-size: clamp(30px, 8.8vw, 42px); }
  .lede { font-size: 16px; }
  .how, .save, .land, .faq { padding: 90px 0; }
  .impact { padding: 100px 0 80px; }
  .steps { margin-top: 44px; gap: 40px; }
  .step h3 { font-size: 23px; }
  .bill { padding: 20px 18px 18px; margin-top: 50px; }
  .bill__stamp { width: 80px; height: 80px; right: -8px; top: -34px; }
  html[dir="rtl"] .bill__stamp { left: -8px; }
  .bill dl div { font-size: 13.5px; }
  .filmband { height: 170vh; }
  .filmband__line { font-size: clamp(36px, 10.4vw, 52px); }
  .gardens__panel { padding: 20px 18px; border-radius: 14px; }
  .region__name { font-size: 26px; }
  .region__totals b { font-size: 20px; }
  .save__film { aspect-ratio: 4 / 3.4; border-radius: 14px; }
  .calc__label b { font-size: 24px; }
  .calc__home span { min-height: 34px; padding: 0 13px; font-size: 13px; }
  .calc__out dd { font-size: 26px; }
  .nums { margin-top: 44px; gap: 26px 18px; }
  .nums dd { font-size: clamp(40px, 12vw, 56px); }
  .homes { margin-top: 44px; }
  .marq { padding: 40px 0 16px; }
  .sunband { height: 70vh; min-height: 440px; }
  .sunband__line { font-size: clamp(32px, 9.4vw, 46px); padding-bottom: 40px; }
  .land__facts dd { font-size: 21px; }
  .faq__q { font-size: 18px; padding: 18px 0; }
  html[lang="ar"] .faq__q { font-size: 17px; }
  .join { padding: 90px 0 74vw; }
  .planet--rise { bottom: -96vw; width: 150vw; margin-left: -75vw; }
  .form { padding: 22px 18px; gap: 18px; }
  .form__row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .foot { padding-top: 50px; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot__base { flex-direction: column; gap: 14px; }
  .credit { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !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; }
  .row { stroke-dashoffset: 0; }
}
