/* Home: a scroll story over night Dubai. Each [data-sec] is one camera stop; the 3D coin flies to its [data-slot].
   hero (coin + skyline) → ticker → how to board (the jet flies by) → the coin (it flips to its back) → final call (sky fades to the dunes). */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: 100px 0 80px; }
/* dark scrim on the text side so the gold headline reads over the bright skyline */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to left, rgba(5, 4, 3, .9) 0%, rgba(5, 4, 3, .72) 34%, rgba(5, 4, 3, .2) 62%, rgba(5, 4, 3, 0) 78%); }
[dir="ltr"] .hero::before { background: linear-gradient(to right, rgba(5, 4, 3, .9) 0%, rgba(5, 4, 3, .72) 34%, rgba(5, 4, 3, .2) 62%, rgba(5, 4, 3, 0) 78%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 28px; }
.hero-txt { display: grid; justify-items: start; gap: 22px; }
.hero h1 { margin: 0; font: 700 clamp(58px, 8.4vw, 128px)/1.16 var(--f-display); letter-spacing: -.005em; text-shadow: 0 0 1px rgba(0, 0, 0, .01); }
.lede { margin: 0; max-width: 31em; font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.75; color: #eadfc8; text-shadow: 0 2px 14px rgba(0, 0, 0, .85); }
.cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn.go { min-height: 62px; padding: 18px 34px; font-size: 18.5px; border-radius: 18px; }
.hero-slot { width: min(36vw, 430px); aspect-ratio: 1; justify-self: center; }
.cue { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line2); border-radius: 14px; }
.cue i { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* gold ticker of the latest allocations, slightly tilted */
.strip-wrap { overflow: hidden; padding-block: 22px; }
.strip { margin-inline: -4%; overflow: hidden; transform: rotate(-1.6deg); background: var(--gold-flat); color: var(--accent-ink);
  box-shadow: 0 18px 50px -20px rgba(242, 193, 91, .6); }
.strip-run { display: flex; align-items: center; gap: 26px; width: max-content; padding: 13px 0; white-space: nowrap; font: 700 15.5px/1 var(--f-body); animation: run 52s linear infinite; }
[dir="rtl"] .strip-run { animation-name: run-r; }
.strip-run i { font-style: normal; opacity: .55; }
.strip-run b { font-family: var(--f-mono); direction: ltr; unicode-bidi: isolate; }
@keyframes run { to { transform: translateX(-50%); } }
@keyframes run-r { to { transform: translateX(50%); } }

.how, .token, .final { position: relative; min-height: 100vh; padding: 120px 0; display: grid; align-items: center; }
.sec-h { position: relative; display: grid; justify-items: start; gap: 10px; margin-bottom: 44px; }
.sec-h.center { justify-items: center; text-align: center; }
.sec-h h2, .final h2 { margin: 0; font: 700 clamp(42px, 6.2vw, 88px)/1.15 var(--f-display); }
.kick { margin: 0; font: 700 14.5px/1.3 var(--f-body); color: var(--accent); letter-spacing: .02em; }
.sec-slot { position: absolute; inset-inline-end: 0; top: -40px; width: 150px; height: 150px; }

.gates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1100px; }
.gate { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 26px 32px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 22, 12, .9), var(--glass)); border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.gate.rv:nth-child(2) { transition-delay: .12s; } .gate.rv:nth-child(3) { transition-delay: .24s; }
.gate .ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 8px; color: var(--gold2);
  background: radial-gradient(circle at 30% 25%, #3d2d16, #0d0904); border: 1px solid var(--line2); box-shadow: 0 0 30px rgba(242, 193, 91, .18); }
.gate .ic svg { width: 24px; height: 24px; fill: currentColor; }
.gate b { font: 700 23px/1.35 var(--f-display); color: var(--text); }
.gate > span:not(.ic) { color: var(--mute); font-size: 15.5px; line-height: 1.7; }
.gl-line { position: absolute; inset-inline: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold2), transparent); transform: translateX(-100%); animation: scan 4.2s var(--ease) infinite; }
.gate:nth-child(2) .gl-line { animation-delay: .7s; } .gate:nth-child(3) .gl-line { animation-delay: 1.4s; }
@keyframes scan { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }

.tk { margin-top: 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px) minmax(0, 1fr); grid-template-areas: "a s b" "c s d"; gap: 18px 30px; align-items: center; }
.tk-slot { grid-area: s; aspect-ratio: 1; width: 100%; }
.tk-f { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--line); min-width: 0; }
.tk-f.a { grid-area: a; } .tk-f.b { grid-area: b; } .tk-f.c { grid-area: c; } .tk-f.d { grid-area: d; }
.tk-f small { color: var(--mute); font: 600 13px/1.2 var(--f-body); }
.tk-f b { font: 700 24px/1.25 var(--f-body); color: var(--gold2); overflow-wrap: anywhere; }
.tk-f b.mono { font: 700 21px/1.25 var(--f-mono); }
.tk-f a { color: var(--gold2); }

.final .wrap { display: grid; justify-items: center; text-align: center; gap: 18px; }
.fin-slot { width: min(34vw, 250px); aspect-ratio: 1; }
.final p { margin: 0; color: #eadfc8; font-size: 18px; }
.final .btn { margin-top: 10px; }
html:not(.gl) .final.near::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--bg), rgba(5, 4, 3, .25) 30%, rgba(5, 4, 3, .25) 70%, var(--bg)), url(/media/dunes-sm.webp) center / cover; }
@media (min-width: 761px) { html:not(.gl) .final.near::before { background-image: linear-gradient(180deg, var(--bg), rgba(5, 4, 3, .25) 30%, rgba(5, 4, 3, .25) 70%, var(--bg)), url(/media/dunes.webp); } }

@media (max-width: 760px) {
  .hero { padding: 84px 0 70px; align-items: start; }
  .hero-in { grid-template-columns: 1fr; gap: 6px; }
  .hero-slot { order: -1; width: min(60vw, 250px); }
  .hero::before, [dir="ltr"] .hero::before { background: linear-gradient(180deg, rgba(5, 4, 3, 0) 18%, rgba(5, 4, 3, .78) 44%, rgba(5, 4, 3, .9) 100%); }
  .hero-txt { justify-items: center; text-align: center; gap: 16px; }
  .hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .cta { justify-content: center; }
  .cue { display: none; }
  .how, .token, .final { min-height: 0; padding: 90px 0; }
  .how { padding-top: 110px; }
  .sec-slot { width: 96px; height: 96px; top: -70px; }
  .gates { grid-template-columns: 1fr; }
  .tk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "s s" "a b" "c d"; gap: 12px; }
  .tk-slot { width: min(58vw, 240px); justify-self: center; margin-bottom: 10px; }
  .tk-f { padding: 16px; } .tk-f b { font-size: 19px; } .tk-f b.mono { font-size: 16px; }
  .final { min-height: 90vh; }
}
