/* ==========================================================================
   EARTHBET — Official site
   Layout concept: full-bleed cinematic chapters on brand black, left-aligned
   editorial type; one photographic set where the real-time token lives
   (hero, ETB, access); Humanity rises from night to dawn through the woven mark.
   ========================================================================== */

:root {
  --ink: #010602;
  --ink-2: #06110e;
  --ink-3: #0c1b17;
  --line: rgba(196, 232, 222, 0.13);
  --line-2: rgba(196, 232, 222, 0.24);
  --fg: #eaf2ef;
  --fg-2: #a6bab4;
  --fg-3: #6f847e;
  --jade: #429a88;
  --jade-hi: #7fd4c0;
  --jade-deep: #1b5348;
  --gold: #c9a46b;

  /* Dawn (Humanity) */
  --stone: #e7e3da;
  --stone-2: #d9d3c6;
  --stone-ink: #0f201c;
  --stone-fg-2: #44544f;
  --stone-jade: #1d6658;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-hero: clamp(3rem, 8.4vw, 9.4rem);
  --fs-h2: clamp(2.25rem, 5.2vw, 5.4rem);
  --fs-h3: clamp(1.45rem, 2.3vw, 2.25rem);
  --fs-lead: clamp(1.08rem, 1.3vw, 1.32rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --gutter: clamp(16px, 4.2vw, 64px);
  --maxw: 1440px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--jade); color: var(--ink); }
:focus-visible { outline: 2px solid var(--jade-hi); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--jade); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .3s var(--ease); }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }

.display {
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%;
  text-transform: uppercase; letter-spacing: -0.018em; line-height: 0.9; text-wrap: balance;
}
html[lang="fr"] .display { line-height: 0.98; }
.h2 { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--fg-2); max-width: 34em; text-wrap: pretty; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--jade-hi); letter-spacing: 0.02em; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.jdot { color: var(--jade); }
.textlink { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--jade-hi); width: max-content; }
.textlink::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.textlink:hover::after { width: 54px; }

.line { display: block; overflow: hidden; padding: 0.16em 0 0.06em; margin: -0.16em 0 -0.06em; }
.line > span { display: inline-block; will-change: transform; }
html.js .reveal-lines .line > span { transform: translate3d(0, 108%, 0); transition: transform 1.15s var(--ease); }
html.js .reveal-lines.is-in .line > span { transform: none; }
html.js .reveal-lines.is-in .line:nth-child(2) > span { transition-delay: .08s; }
html.js .reveal-lines.is-in .line:nth-child(3) > span { transition-delay: .16s; }
html.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn--jade { background: var(--jade); color: var(--ink); }
.btn--jade:hover { background: var(--jade-hi); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); padding-left: 8px; background: rgba(1, 6, 2, 0.25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--jade); }
.btn__play { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 212, 192, 0.12); border: 1px solid rgba(127, 212, 192, 0.35); }
.btn__play svg { width: 12px; height: 12px; margin-left: 2px; fill: var(--jade-hi); }

/* ---------- Intro ---------- */
.intro { position: fixed; inset: 0; z-index: 120; background: var(--ink); display: grid; place-items: center; transition: clip-path 1.05s var(--ease-io); clip-path: inset(0 0 0 0); }
html:not(.js) .intro, html.no-intro .intro { display: none; }
.intro.is-out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.intro__logo { width: min(560px, 74vw); overflow: visible; }
.intro__globe { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.72); }
.intro__word { transform: translateX(-660px); }
.intro.is-play .intro__globe { animation: introGlobe 1.1s var(--ease) .25s forwards; }
.intro.is-play .intro__word { animation: introWord 1.05s var(--ease) 1.05s forwards; }
.intro__halo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro__skip { position: absolute; z-index: 3; right: var(--gutter); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); color: var(--fg-3); transition: color .4s var(--ease), opacity .8s var(--ease); }
.intro__skip:hover { color: var(--fg-2); }
@keyframes introGlobe { to { opacity: 1; transform: none; } }
@keyframes introWord { to { transform: translateX(0); } }

/* Entry: the signal before the opening. A first tap is what lets every browser play the
   sound, so the intro waits for it. The two echoes are the intro's two halos (gold, then
   jade), the rings turn like a dial, the core carries the sound wave. */
.intro__gate { position: absolute; inset: 0; z-index: 2; display: none; }
.intro.is-gate .intro__gate { display: block; }
.intro.is-gate .intro__skip { opacity: 0; animation: enterFade 1s var(--ease) 1.6s forwards; }
/* Entry: the EarthBet token turns slowly in its own light, above a dark mirror. A first tap is
   what lets every browser play the sound, so the opening waits for it. */
.intro__gate::before { content: ""; position: absolute; left: 50%; top: 44%; width: min(130vmin, 1200px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(closest-side, rgba(66, 154, 136, 0.12), rgba(66, 154, 136, 0.035) 45%, rgba(66, 154, 136, 0) 100%); opacity: 0; animation: enterFade 2.6s var(--ease) .2s forwards, enterBreathe 7s ease-in-out 2.8s infinite alternate; transition: opacity .9s var(--ease); }
.gate__token { position: absolute; left: 50%; top: 44%; width: min(70vmin, 600px); aspect-ratio: 1 / 1.08; transform: translate(-50%, -50%); opacity: 0; animation: gateIn 2.4s var(--ease) .15s forwards; transition: opacity .9s var(--ease), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1); }
.gate__gl { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 58% 56% at 50% 46%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 58% 56% at 50% 46%, #000 70%, transparent 100%); }
.gate__img { display: none; }
.intro.no-gategl .gate__gl { display: none; }
.intro.no-gategl .gate__img { display: block; position: absolute; left: 50%; top: 46%; width: 70%; height: auto; transform: translate(-50%, -50%); animation: gateTurn 9s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(66, 154, 136, 0.25)); }
@media (max-width: 600px) { .gate__token { width: 92vw; top: 42%; } }
@keyframes gateIn { from { opacity: 0; transform: translate(-50%, -48%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes gateTurn { 0%, 100% { transform: translate(-50%, -50%) perspective(900px) rotateY(-28deg); } 50% { transform: translate(-50%, -50%) perspective(900px) rotateY(28deg); } }
.enter { position: absolute; left: 50%; bottom: calc(12vh + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 16px; padding: 15px 28px 15px 24px; border-radius: 999px;
  border: 1px solid rgba(196, 232, 222, 0.2); background: rgba(6, 17, 14, 0.35); color: var(--fg); -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 60px -30px rgba(66, 154, 136, 0.6);
  opacity: 0; animation: enterLabel 1.8s var(--ease) 1.1s forwards; transition: border-color .5s var(--ease), background-color .5s var(--ease), box-shadow .6s var(--ease), opacity .4s var(--ease); }
.enter__wave { display: flex; align-items: center; gap: 2.5px; height: 14px; }
.enter__wave i { display: block; width: 1.5px; height: 100%; border-radius: 2px; background: var(--jade-hi); transform: scaleY(.15); transform-origin: center; animation: enterWave var(--d, 1.3s) var(--ease-io) var(--o, 0s) infinite alternate; transition: transform .45s var(--ease); }
.enter__wave i:nth-child(1) { --d: 1.25s; --o: -0.4s; --lo: .2; --hi: .45; }
.enter__wave i:nth-child(2) { --d: 1.05s; --o: -0.9s; --lo: .25; --hi: .8; }
.enter__wave i:nth-child(3) { --d: 1.4s; --o: -0.2s; --lo: .3; --hi: 1; }
.enter__wave i:nth-child(4) { --d: 1.15s; --o: -1.1s; --lo: .22; --hi: .72; }
.enter__wave i:nth-child(5) { --d: 1.3s; --o: -0.6s; --lo: .18; --hi: .42; }
.enter__label { font-family: var(--f-display); font-weight: 700; font-stretch: 112%; font-size: 0.72rem; line-height: 1; text-transform: uppercase; letter-spacing: 0.56em; margin-right: -0.56em; color: rgba(234, 242, 239, 0.9); transition: color .4s var(--ease); }
@media (hover: hover) {
  .enter:hover { border-color: rgba(127, 212, 192, 0.55); background-color: rgba(66, 154, 136, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 20px 70px -24px rgba(66, 154, 136, 0.8); }
  .enter:hover .enter__label { color: #fff; }
}
.enter:active { background-color: rgba(66, 154, 136, 0.18); }
.enter:focus { outline: none; }
.enter:focus-visible { border-color: var(--jade-hi); box-shadow: 0 0 0 4px rgba(127, 212, 192, 0.25); }
/* the tap: the token gives way to the two halos of the opening */
.intro.is-entering .intro__gate { pointer-events: none; }
.intro.is-entering .intro__gate::before { opacity: 0; animation: none; }
.intro.is-entering .gate__token { opacity: 0; transform: translate(-50%, -50%) scale(.86); animation: none; }
.intro.is-entering .enter { opacity: 0; animation: none; }
.intro.is-entering .enter__wave i { animation: none; transform: scaleY(.1); }
.intro.is-entering .intro__skip { opacity: 1; animation: none; }
@keyframes enterFade { to { opacity: 1; } }
@keyframes enterBreathe { from { opacity: 1; } to { opacity: .55; } }
@keyframes enterSpin { to { transform: rotate(360deg); } }
@keyframes enterRing { from { opacity: 0; } to { opacity: 1; } }
@keyframes enterDraw { to { stroke-dashoffset: 0; } }
@keyframes enterCore { to { opacity: 1; transform: none; } }
@keyframes enterWave { from { transform: scaleY(var(--lo)); } to { transform: scaleY(var(--hi)); } }
@keyframes enterEcho { 0% { transform: scale(.7); opacity: 0; } 10% { opacity: .9; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes enterLabel { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 90; padding-top: env(safe-area-inset-top, 0px); transition: transform .6s var(--ease), color .4s var(--ease); color: var(--fg); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(180deg, rgba(1, 6, 2, 0.86), rgba(1, 6, 2, 0.55));
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease), background .5s var(--ease);
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translate3d(0, -110%, 0); }
.nav.is-light { color: var(--stone-ink); }
.nav.is-light::before { background: linear-gradient(180deg, rgba(231, 227, 218, 0.9), rgba(231, 227, 218, 0.72)); border-bottom-color: rgba(15, 32, 28, 0.1); }
.nav__bar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: block; width: 168px; flex: none; }
.nav__logo svg { width: 100%; height: auto; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); font-size: 0.94rem; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; opacity: .82; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--jade); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.nav.is-light .lang { border-color: rgba(15, 32, 28, 0.2); }
.lang button { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; padding: 6px 10px; border-radius: 999px; opacity: .6; transition: background-color .3s, color .3s, opacity .3s; }
.lang button[aria-pressed="true"] { background: var(--jade); color: var(--ink); opacity: 1; }
.nav__cta { --h: 42px; padding: 0 18px; font-size: 0.9rem; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.nav.is-open { color: var(--fg); }
.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--ink);
  padding: calc(var(--nav-h) + 40px + env(safe-area-inset-top, 0px)) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .8s var(--ease-io), visibility 0s linear .8s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__links { display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow-y: auto; }
.menu__links a { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.05; }
.menu__links a[href="#architecture"] { font-size: clamp(1.6rem, 8.2vw, 3rem); }

/* ---------- Chapter rail ---------- */
.rail { position: fixed; right: 22px; top: 50%; z-index: 80; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; align-items: flex-end; transition: opacity .5s var(--ease); }
.rail.is-hidden { opacity: 0; pointer-events: none; }
.rail a { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--fg-3); }
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); white-space: nowrap; }
.rail a i { display: block; width: 14px; height: 1px; background: currentColor; transition: width .5s var(--ease), background-color .3s; }
.rail:hover a span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail a.is-active { color: var(--fg); }
.rail a.is-active i { width: 30px; background: var(--jade); }
.rail.is-light a { color: rgba(15, 32, 28, 0.45); }
.rail.is-light a.is-active { color: var(--stone-ink); }
.rail.is-light a.is-active i { background: var(--stone-jade); }

/* A small glass surface, shared by the chapter scrubber and the 3D control. */
.glass-control {
  --glass-tint: rgba(8, 24, 19, .48); --glass-edge: rgba(234, 250, 244, .24); --glass-shine: rgba(255, 255, 255, .11);
  background: linear-gradient(145deg, var(--glass-shine), transparent 58%), var(--glass-tint);
  border: 1px solid var(--glass-edge); color: var(--fg);
  -webkit-backdrop-filter: blur(20px) saturate(1.35); backdrop-filter: blur(20px) saturate(1.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -1px 0 rgba(255, 255, 255, .025), 0 6px 22px rgba(0, 0, 0, .12);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass-control { --glass-tint: rgba(8, 24, 19, .94); }
}
.chapter-dock .glass-control, .tilt3d.glass-control {
  --glass-tint: rgba(8, 24, 19, .08); --glass-edge: rgba(234, 250, 244, .18); --glass-shine: rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(8px) saturate(1.15); backdrop-filter: blur(8px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 4px 16px rgba(0, 0, 0, .06);
}

/* Hold to reveal the index; slide through it without opening a second menu. */
.chapter-dock { display: none; }
@media (max-width: 820px) {
  .chapter-dock { display: block; position: fixed; right: var(--gutter); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 80;
    -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
    opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
  .chapter-dock.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .chapter-dock__toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-width: 124px; min-height: 44px;
    padding: 9px 15px 9px 18px; border-radius: 28px; font-size: .875rem; font-weight: 550; line-height: 1.2;
    touch-action: none; -webkit-tap-highlight-color: transparent; cursor: ns-resize; transition: transform .25s var(--ease), border-color .3s; }
  .chapter-dock__caption { text-align: left; white-space: nowrap; }
  .chapter-dock__toggle svg { width: 14px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; opacity: .7; }
  .chapter-dock__grip { stroke: var(--jade-hi); stroke-width: 1.6; }
  .chapter-dock.is-pressing .chapter-dock__toggle { transform: scale(.96); }
  .chapter-dock.is-scrubbing .chapter-dock__toggle { border-color: rgba(196, 232, 222, .45); }
  .chapter-dock__wheel { position: absolute; right: 0; bottom: calc(100% + 12px); width: min(204px, calc(100vw - var(--gutter) * 2));
    padding: 9px 7px; border-radius: 26px; pointer-events: none;
    opacity: 0; visibility: hidden; clip-path: inset(100% 0 0 0 round 26px);
    transition: opacity .2s var(--ease), clip-path .32s var(--ease), visibility 0s linear .32s; }
  .chapter-dock .chapter-dock__wheel { --glass-tint: rgba(8, 24, 19, .16); }
  .chapter-dock.is-scrubbing .chapter-dock__wheel { opacity: 1; visibility: visible; clip-path: inset(0 round 26px); transition-delay: 0s; }
  .chapter-dock__track { position: relative; --chapter-position: 0; }
  .chapter-dock__lens { position: absolute; top: 0; left: 0; right: 0; height: 12.5%; border-radius: 18px;
    background: rgba(240, 255, 250, .06); border: 1px solid rgba(240, 255, 250, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    transform: translateY(calc(var(--chapter-position) * 100%)); transition: transform .12s var(--ease); }
  .chapter-dock__track li { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 16px;
    height: clamp(26px, 4.65svh, 39px); padding: 0 15px; font-size: .875rem; font-weight: 500; line-height: 1;
    opacity: calc(1 - var(--distance, 3) * .15); transition: opacity .15s; }
  .chapter-dock__track li span { transform: scale(calc(1.04 - var(--distance, 3) * .04)); transform-origin: right center; transition: transform .15s var(--ease); }
  .chapter-dock__track li i { flex: none; width: 12px; height: 1px; border-radius: 2px; background: currentColor; opacity: .45; transition: transform .2s var(--ease), opacity .2s; }
  .chapter-dock__track li.is-active i { transform: scaleX(1.35); background: var(--jade-hi); opacity: 1; }
  .chapter-dock.is-light .glass-control { --glass-tint: rgba(244, 242, 235, .1); --glass-edge: rgba(255, 255, 255, .35); --glass-shine: rgba(255, 255, 255, .04); color: var(--stone-ink); }
  .chapter-dock.is-light .chapter-dock__wheel { --glass-tint: rgba(244, 242, 235, .22); }
  .chapter-dock.is-light .chapter-dock__lens { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .35); }
  .chapter-dock.is-light .chapter-dock__grip { stroke: var(--stone-jade); }
  .chapter-dock.is-light .chapter-dock__track li.is-active i { background: var(--stone-jade); }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-dock, .chapter-dock__toggle, .chapter-dock__wheel, .chapter-dock__lens, .chapter-dock__track li, .chapter-dock__track li span { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass-control { --glass-tint: #0c1b17; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .chapter-dock .glass-control, .tilt3d.glass-control { --glass-tint: #0c1b17; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .chapter-dock.is-light .glass-control { --glass-tint: var(--stone); }
}

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; }
html.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--jade-hi); }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(127, 212, 192, 0.5); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s, border-color .45s; }
.cursor__ring b { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; color: var(--ink); opacity: 0; transition: opacity .3s; text-transform: uppercase; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--jade); background: rgba(66, 154, 136, 0.12); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--jade-hi); border-color: var(--jade-hi); }
.cursor.is-label .cursor__ring b { opacity: 1; }
.cursor.is-light .cursor__dot { background: var(--stone-jade); }
.cursor.is-light .cursor__ring { border-color: rgba(29, 102, 88, 0.5); }

/* ---------- Stage: photographic set + real-time token ---------- */
.stage { position: fixed; left: 0; top: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 0; overflow: hidden; pointer-events: none; background: var(--ink); transition: opacity .7s linear, visibility 0s; contain: strict; }
.stage.is-off { opacity: 0; visibility: hidden; transition: opacity .35s linear, visibility 0s linear .35s; }
.stage__box { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; }
.stage__img { position: absolute; left: 0; top: 0; width: 1672px; height: 941px; max-width: none; transform-origin: 0 0; will-change: transform; }
.stage__dim { position: absolute; inset: 0; background: var(--ink); opacity: 0; }
.stage__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__fx { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 75% at 62% 48%, rgba(1, 6, 2, 0) 55%, rgba(1, 6, 2, 0.6) 100%); }
.stage__fx::after {
  content: ""; position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stage__shade { position: absolute; inset: 0; background: var(--ink); opacity: 0; }
main { position: relative; z-index: 1; }
.opaque { position: relative; background: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); }
.hero__scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(1, 6, 2, 0.78) 0%, rgba(1, 6, 2, 0.42) 36%, rgba(1, 6, 2, 0) 60%), linear-gradient(0deg, rgba(1, 6, 2, 0.75) 0%, rgba(1, 6, 2, 0) 22%); }
.hero__inner { position: relative; display: grid; gap: 26px; padding-block: 8vh 14vh; }
.hero__kicker { font-family: var(--f-display); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: clamp(0.82rem, 1vw, 0.98rem); letter-spacing: 0.32em; color: var(--fg-2); }
.hero__title { font-size: var(--fs-hero); max-width: 9.5em; }
.hero__lead { max-width: 24em; color: var(--fg); opacity: .86; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
/* Explore: a quiet invitation to go down. A fine ring, an arrow that keeps gliding down, the words. */
.explore { display: inline-flex; align-items: center; gap: 18px; color: var(--fg); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.explore__ring { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; transition: background-color .6s var(--ease), transform .6s var(--ease); }
.explore__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.explore__track { stroke: rgba(196, 232, 222, 0.22); stroke-width: 1; }
.explore__arc { stroke: var(--jade-hi); stroke-width: 1.2; stroke-dasharray: 22 78; transform-origin: 24px 24px; transform: rotate(-90deg); animation: exploreArc 5.5s linear infinite; opacity: .85; }
.explore__arrow { stroke: var(--fg); stroke-width: 1.3; animation: exploreDown 2.4s var(--ease-io) infinite; }
.explore__label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(234, 242, 239, 0.86); transition: color .4s var(--ease), letter-spacing .6s var(--ease); }
@keyframes exploreDown { 0% { transform: translateY(-7px); opacity: 0; } 28%, 62% { opacity: 1; } 100% { transform: translateY(8px); opacity: 0; } }
@keyframes exploreArc { to { transform: rotate(270deg); } }
@media (hover: hover) {
  .explore:hover .explore__ring { background-color: rgba(66, 154, 136, 0.14); transform: translateY(2px); }
  .explore:hover .explore__track { stroke: rgba(127, 212, 192, 0.5); }
  .explore:hover .explore__label { color: #fff; letter-spacing: 0.28em; }
  .explore:hover .explore__arrow { animation-duration: 1.4s; }
}
.explore:focus { outline: none; }
.explore:focus-visible .explore__ring { box-shadow: 0 0 0 3px rgba(127, 212, 192, 0.35); }
@media (prefers-reduced-motion: reduce) { .explore__arc, .explore__arrow { animation: none; } }
.hero__foot { position: absolute; left: 0; right: 0; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: var(--fs-small); color: var(--fg-3); }
.scrollcue { display: inline-flex; align-items: center; gap: 14px; }
.scrollcue i { position: relative; display: block; width: 1px; height: 46px; background: var(--line-2); overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--jade-hi); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }
.hero__worlds { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
/* 3D (phones and tablets): asks for the motion sensors only when tapped */
.tilt3d { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 11px; border-radius: 999px; font-family: var(--f-body); font-weight: 550; font-size: .75rem; line-height: 1; letter-spacing: .06em; -webkit-tap-highlight-color: transparent; opacity: 0; transform: translateY(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }
.tilt3d[hidden] { display: none; }
.hero__foot .tilt3d { margin-left: 24px; }
.hero__foot .hero__worlds { margin-left: auto; }
.tilt3d.is-ready { opacity: 1; transform: none; }
.tilt3d.is-gone { opacity: 0; pointer-events: none; }
.tilt3d__icon { display: block; width: 20px; height: 20px; opacity: .85; }
.tilt3d__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.tilt3d__arc { opacity: .55; transition: opacity .5s var(--ease); }
.tilt3d__txt { padding-left: 0.04em; }
.tilt3d__dot { width: 5px; height: 5px; border-radius: 50%; border: 1px solid currentColor; opacity: .45; transition: background .5s var(--ease), border-color .5s var(--ease), opacity .5s var(--ease); }
.tilt3d:active { transform: scale(.97); }
.tilt3d.is-pending .tilt3d__dot { animation: tiltPending 0.9s ease-in-out infinite alternate; }
.tilt3d.is-on { border-color: rgba(127, 212, 192, .4); }
.tilt3d.is-on .tilt3d__arc { opacity: 1; }
.tilt3d.is-on .tilt3d__dot { background: var(--jade-hi); border-color: var(--jade-hi); opacity: 1; }
@keyframes tiltPending { from { opacity: .25; } to { opacity: 1; } }
.hero__worlds a { color: var(--fg-2); transition: color .3s; }
.hero__worlds a:hover { color: var(--jade-hi); }

/* ---------- Manifesto ---------- */
.manifesto__pin { height: 220vh; }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; }
.manifesto__text { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 3.9vw, 3.9rem); line-height: 1.12; letter-spacing: -0.012em; max-width: 20em; text-wrap: pretty; }
.manifesto__text .w { opacity: var(--o, 1); transition: opacity .25s linear; }
html.js .manifesto__text .w { --o: 0.16; }
.manifesto__text .w.is-jade { color: var(--jade-hi); }
.triad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); padding-block: 4vh 16vh; }
.triad__item { border-top: 1px solid var(--line-2); padding-top: 26px; display: grid; gap: 18px; align-content: start; }
.triad__item h3 { font-size: clamp(2.85rem, 5.6vw, 5.8rem); }
.triad__item p { color: var(--fg-2); max-width: 22em; font-size: 1.05rem; }

/* ---------- Brand film ---------- */
.film { position: relative; height: min(92vh, 56.25vw + 12vh); min-height: 460px; overflow: hidden; background: #000; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.film.has-alt video { visibility: hidden; }
.film__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 6, 2, 0.85), rgba(1, 6, 2, 0) 45%), linear-gradient(180deg, rgba(1, 6, 2, 0.9), rgba(1, 6, 2, 0) 22%); }
.film__ui { position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 64px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.film__ui > div { display: grid; gap: 18px; }
.film__ui h2 { font-size: clamp(2.2rem, 5vw, 5rem); }

/* ---------- Worlds ---------- */
.worlds { padding-top: 16vh; }
.worlds__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-bottom: 8vh; }
.worlds__head .lead { justify-self: end; }
.worlds__pin { position: relative; }
.worlds__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.worlds__track { display: flex; gap: clamp(20px, 2.4vw, 36px); padding-inline: var(--gutter); will-change: transform; width: max-content; }
.world { position: relative; flex: none; width: min(1180px, 84vw); height: min(72vh, 700px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: var(--ink-2); }
.world__media { position: relative; overflow: hidden; background: #000; }
.world__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.world__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 17, 14, 0) 72%, rgba(6, 17, 14, 0.88)); pointer-events: none; }
/* Whole subjects, never cropped: the image is contained over a soft plate of itself */
.world__bg { position: absolute; inset: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; }
.world__fit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform 1.6s var(--ease); }
.world__media--fit::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 70% 62% at 50% 50%, rgba(1, 6, 2, 0) 55%, rgba(1, 6, 2, 0.35) 100%); }
.world__media--fit .world__fit { z-index: 0; }
.world:hover .world__fit, .world:hover .world__fx, .world:hover .world__glint { transform: scale(1.025); }
/* Games: the knight's turn. Light behind it (the ring, the jump, the dust), its jade vein breathing, a gleam on the black. */
.world__fx { mix-blend-mode: screen; transition: transform 1.6s var(--ease); }
.world__media .world__fx { z-index: 0; }
.world__vein { mix-blend-mode: screen; opacity: 0.2; animation: veinPulse 4.2s ease-in-out infinite; }
.world__glint { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen; transition: transform 1.6s var(--ease);
  background: linear-gradient(112deg, rgba(255, 248, 230, 0) 44%, rgba(255, 248, 230, 0.42) 50%, rgba(255, 248, 230, 0) 56%) no-repeat; background-size: 320% 100%; background-position: 100% 0;
  -webkit-mask: url("../img/knight-cut.webp") center / contain no-repeat; mask: url("../img/knight-cut.webp") center / contain no-repeat;
  animation: knightGlint 7.2s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes veinPulse { 0%, 100% { opacity: 0.12; } 50% { opacity: 0.7; } }
@keyframes knightGlint { 0%, 58% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .world__vein, .world__glint { animation: none; } .world__glint { opacity: 0; } }
/* Originals: the official globe, whole, inside a living light halo */
.world__media--globe { background: radial-gradient(ellipse 80% 70% at 46% 50%, #08201a 0%, #030c09 55%, #010604 100%); }
.world__globe { position: absolute; left: 46%; top: 50%; height: 60%; width: auto; aspect-ratio: 1; max-width: 60%; object-fit: contain; transform: translate(-50%, -50%); z-index: 1; }
.world__shine { position: absolute; left: 46%; top: 50%; height: 60%; aspect-ratio: 1; max-width: 60%; transform: translate(-50%, -50%); z-index: 2; overflow: hidden; pointer-events: none; -webkit-mask: url("../logo/earthbet-globe.svg") center / contain no-repeat; mask: url("../logo/earthbet-globe.svg") center / contain no-repeat; }
.world__shine i { position: absolute; top: -20%; bottom: -20%; left: 0; width: 46%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(214, 255, 240, 0.22) 46%, rgba(255, 255, 255, 0.34) 50%, rgba(214, 255, 240, 0.22) 54%, rgba(255, 255, 255, 0) 100%); transform: translate3d(-120%, 0, 0) skewX(-12deg); animation: globeShine 7.5s cubic-bezier(.45, 0, .2, 1) 1.2s infinite; }
@keyframes globeShine { 0% { transform: translate3d(-120%, 0, 0) skewX(-12deg); } 34%, 100% { transform: translate3d(330%, 0, 0) skewX(-12deg); } }
.world__copy { position: relative; padding: clamp(28px, 3.4vw, 54px); display: flex; flex-direction: column; gap: 18px; justify-content: flex-end; min-width: 0; }
.world__brand { font-size: var(--fs-small); color: var(--fg-3); font-weight: 600; }
.world__name { font-size: clamp(2.6rem, 5vw, 5.2rem); color: var(--fg); }
.world__line { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.25; color: var(--jade-hi); text-wrap: balance; }
.world__copy > p:not([class]) { color: var(--fg-2); font-size: 0.98rem; max-width: 30em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 0.8rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-2); }
.world__index { position: absolute; top: clamp(24px, 3vw, 44px); right: clamp(28px, 3.4vw, 54px); font-size: var(--fs-small); color: var(--fg-3); font-variant-numeric: tabular-nums; }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; font-size: 0.82rem; font-weight: 500; background: rgba(1, 6, 2, 0.62); border: 1px solid rgba(196, 232, 222, 0.18); color: var(--fg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip b { font-weight: 700; color: var(--jade-hi); font-variant-numeric: tabular-nums; }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0574a; box-shadow: 0 0 0 4px rgba(224, 87, 74, 0.2); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.odds { position: absolute; left: 6%; bottom: 7%; display: flex; gap: 8px; }
.odds span { padding: 9px 14px; border-radius: 12px; background: rgba(1, 6, 2, 0.7); border: 1px solid rgba(196, 232, 222, 0.18); font-size: 0.8rem; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.odds span b { color: var(--fg); margin-left: 6px; }
.odds span.is-up b { color: var(--jade-hi); }
.players { position: absolute; right: 6%; bottom: 7%; z-index: 2; display: flex; align-items: center; gap: 12px; }
.players .av { display: flex; }
.players .av i { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink-2); margin-left: -8px; display: grid; place-items: center; font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--ink); background: var(--jade-hi); }
.players .av i:first-child { margin-left: 0; }
.players .av i:nth-child(2) { background: #c9d9d3; }
.players .av i:nth-child(3) { background: var(--gold); }
.players .av i:nth-child(4) { background: var(--jade); }
.worlds__bar { display: flex; gap: clamp(14px, 3vw, 44px); padding: 28px var(--gutter) 0; font-size: var(--fs-small); color: var(--fg-3); }
.worlds__bar button { display: grid; gap: 10px; text-align: left; flex: 1; max-width: 200px; transition: color .3s; }
.worlds__bar button i { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.worlds__bar button i::after { content: ""; position: absolute; inset: 0; background: var(--jade); transform: scaleX(var(--f, 0)); transform-origin: left; }
.worlds__bar button.is-active { color: var(--fg); }

/* ---------- Seismic ---------- */
.seismic { padding-block: 20vh 16vh; overflow: hidden; }
.seismic__bg { position: absolute; inset: 0; pointer-events: none; opacity: .42; }
.seismic__bg img { position: absolute; right: -8%; top: 0; width: 70%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 60% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 60% 45%, #000 20%, transparent 75%); }
.seismic__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.seismic__copy { display: grid; gap: 26px; align-content: start; }
.seismic__copy h2 { font-size: var(--fs-h2); }
.points { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.points li svg { width: 22px; height: 22px; stroke: var(--jade-hi); fill: none; stroke-width: 1.4; margin-top: 3px; }
.points h3 { font-family: var(--f-body); font-size: 1.05rem; font-weight: 650; margin-bottom: 4px; }
.points p { color: var(--fg-2); font-size: 0.95rem; }
/* Instrument: the EarthBet globe under a radar, six stations, their seismogram. Quiet and precise. */
.inst {
  position: relative; border-radius: 22px; border: 1px solid rgba(196, 232, 222, 0.1); overflow: hidden; container-type: inline-size;
  background: radial-gradient(90% 70% at 30% 40%, rgba(66, 154, 136, 0.07), rgba(66, 154, 136, 0) 70%), linear-gradient(180deg, rgba(8, 20, 17, 0.92), rgba(3, 9, 7, 0.95));
  box-shadow: 0 50px 120px -60px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.inst__head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px 0; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--fg-3); }
.inst__head .live { display: inline-flex; align-items: center; gap: 9px; color: rgba(214, 190, 150, 0.85); }
.inst__head .live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(201, 164, 107, 0.6); animation: blink 2.4s infinite; }
.inst__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.inst__radar { width: 100%; height: 300px; height: clamp(280px, 82cqi, 380px); }
.inst__canvas { width: 100%; height: 210px; }
@container (min-width: 600px) {
  .inst__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
  .inst__radar { height: clamp(320px, 48cqi, 400px); }
  .inst__canvas { height: clamp(240px, 34cqi, 300px); }
}
.inst__read { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.7fr) minmax(0, 1.5fr) minmax(0, 0.9fr); gap: 18px 22px; margin: 4px 24px 0; padding: 18px 0 22px; border-top: 1px solid rgba(196, 232, 222, 0.08); }
.inst__read div { position: relative; min-width: 0; }
.inst__read dt { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 7px; }
.inst__read dd { font-family: var(--f-mono); font-size: 0.95rem; line-height: 1.3; color: var(--fg); font-variant-numeric: tabular-nums; transition: color .6s var(--ease); }
.inst__read dd.is-rev { color: var(--jade-hi); }
.inst__meter { display: block; height: 1px; margin-top: 10px; --m: 0.58;
  background: linear-gradient(90deg, var(--gold), var(--jade-hi)) 0 0 / calc(var(--m) * 100%) 100% no-repeat, rgba(196, 232, 222, 0.12);
  transition: background-size .9s var(--ease); }
.market { position: relative; margin-top: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: 24px; border: 1px solid var(--line); background: rgba(6, 17, 14, 0.75); }
.market__q { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 1.8vw, 1.65rem); line-height: 1.3; text-wrap: balance; }
.market__meta { margin-top: 14px; font-size: var(--fs-small); color: var(--fg-3); }
.market__bar { display: grid; gap: 12px; }
.market__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.market__opts > span { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.market__opts > span:first-child { border-color: rgba(127, 212, 192, 0.5); background: rgba(66, 154, 136, 0.12); color: var(--jade-hi); }
.market__track { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.market__track i { display: block; height: 100%; width: 58%; background: linear-gradient(90deg, var(--jade), var(--jade-hi)); }
.market__note { font-size: var(--fs-micro); color: var(--fg-3); }

/* ---------- ETB token chapter ---------- */
.token { position: relative; }
.token__pin { height: 400vh; position: relative; }
.token__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.token__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(1, 6, 2, 0.88) 0%, rgba(1, 6, 2, 0.45) 40%, rgba(1, 6, 2, 0) 62%); }
.token__stages { position: absolute; inset: 0; }
.token__stages .wrap { position: relative; height: 100%; }
.stage-copy {
  position: absolute; left: var(--gutter); top: 50%; width: min(540px, 42vw);
  transform: translate3d(0, calc(-50% + 30px), 0); opacity: 0; visibility: hidden;
  transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s linear .7s;
  display: grid; gap: 22px;
}
.stage-copy.is-active { opacity: 1; visibility: visible; transform: translate3d(0, -50%, 0); transition: opacity .9s var(--ease) .1s, transform 1.1s var(--ease) .1s, visibility 0s; }
.stage-copy h2 { font-size: clamp(2.3rem, 4.8vw, 4.9rem); }
.stage-copy h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.etb-mark { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; letter-spacing: 0.24em; font-size: 0.86rem; color: var(--jade-hi); text-transform: uppercase; }
.etb-mark i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--jade); display: grid; place-items: center; font-style: normal; font-size: 0.55rem; letter-spacing: 0.06em; color: var(--fg); background: radial-gradient(circle at 35% 30%, rgba(127, 212, 192, 0.5), rgba(29, 83, 72, 0.6)); }
.specs { display: grid; border-top: 1px solid var(--line-2); }
.specs div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.specs dt { font-size: var(--fs-small); color: var(--fg-3); }
.specs dd { font-family: var(--f-mono); font-size: 0.95rem; color: var(--fg); font-variant-numeric: tabular-nums; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.roles li { background: rgba(4, 12, 10, 0.86); padding: 18px; display: grid; gap: 6px; align-content: start; }
.roles h4 { font-size: 1rem; font-weight: 650; }
.roles p { font-size: 0.88rem; color: var(--fg-2); line-height: 1.5; }
.roles li.is-hum h4 { color: var(--jade-hi); }
.note { font-size: var(--fs-micro); color: var(--fg-3); }
.rails { display: flex; flex-wrap: wrap; gap: 10px; }
.rails span { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 0.9rem; background: rgba(1, 6, 2, 0.3); }
.rails span.is-etb { border-color: var(--jade); color: var(--jade-hi); background: rgba(66, 154, 136, 0.12); }
.token__hud { position: absolute; right: var(--gutter); bottom: calc(30px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 22px; font-size: var(--fs-micro); color: var(--fg-3); font-weight: 600; letter-spacing: 0.04em; }
.token__hud > span { display: grid; gap: 8px; min-width: 64px; transition: color .4s; }
.token__hud > span i { height: 1px; background: var(--line-2); position: relative; overflow: hidden; display: block; }
.token__hud > span i::after { content: ""; position: absolute; inset: 0; background: var(--jade-hi); transform: scaleX(var(--f, 0)); transform-origin: left; }
.token__hud > span.is-active { color: var(--fg); }
.legal-band { padding-block: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-band p { max-width: 62em; font-size: var(--fs-small); color: var(--fg-3); line-height: 1.6; }

/* ---------- Platform ---------- */
.eco { padding-block: 20vh 18vh; overflow: hidden; }
.eco__head { display: grid; gap: 26px; max-width: 980px; }
.eco__head h2 { font-size: var(--fs-h2); }
.eco__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 90px); align-items: center; margin-top: 8vh; }
.eco__stage { position: relative; height: clamp(440px, 52vw, 640px); perspective: 1800px; perspective-origin: 50% 40%; }
.stack { position: absolute; left: 50%; top: 55%; width: clamp(260px, 30vw, 440px); height: clamp(180px, 20vw, 290px); transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(58deg) rotateZ(-36deg); --spread: 0; }
.plate {
  position: absolute; inset: 0; border-radius: 18px; transform-style: preserve-3d;
  transform: translateZ(calc((var(--i) - 2) * (34px + 62px * var(--spread))));
  border: 1px solid rgba(127, 212, 192, 0.32);
  background: linear-gradient(rgba(127, 212, 192, 0.07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(127, 212, 192, 0.07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(135deg, rgba(66, 154, 136, 0.16), rgba(6, 17, 14, 0.75));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
  transition: border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.plate b { position: absolute; left: 18px; top: 14px; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(234, 242, 239, 0.7); }
.plate.is-hot { border-color: var(--jade-hi); box-shadow: 0 0 0 1px var(--jade-hi), 0 0 60px rgba(127, 212, 192, 0.25), 0 30px 60px -20px rgba(0, 0, 0, 0.8); }
.plate--top { background: radial-gradient(circle at 50% 50%, rgba(127, 212, 192, 0.22), transparent 60%), linear-gradient(rgba(127, 212, 192, 0.07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(127, 212, 192, 0.07) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(135deg, rgba(66, 154, 136, 0.22), rgba(6, 17, 14, 0.75)); }
.plate .nodes { position: absolute; inset: 22% 12%; display: flex; justify-content: space-between; align-items: center; }
.plate .nodes i { width: 14px; height: 14px; border-radius: 50%; background: var(--jade-hi); box-shadow: 0 0 18px var(--jade-hi); }
.beam { position: absolute; left: 50%; top: 50%; width: 3px; height: calc(4 * (34px + 62px * var(--spread)) + 220px); transform-origin: 50% 0; transform: translate(-50%, 0) translateZ(calc(2 * (34px + 62px * var(--spread)) + 110px)) rotateX(-90deg); background: linear-gradient(180deg, rgba(127, 212, 192, 0), var(--jade-hi) 18%, var(--jade-hi) 82%, rgba(127, 212, 192, 0)); box-shadow: 0 0 24px 4px rgba(127, 212, 192, 0.45); border-radius: 3px; }
.eco__layers { display: grid; border-top: 1px solid var(--line-2); }
.eco__layers li button { width: 100%; text-align: left; display: grid; grid-template-columns: minmax(8.75rem, 0.8fr) minmax(0, 1.6fr); gap: 26px; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease), padding .4s var(--ease); }
.eco__layers li button:hover, .eco__layers li button.is-hot { background: rgba(66, 154, 136, 0.07); padding-left: 14px; }
.eco__layers h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 100%; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0; }
.eco__layers p { color: var(--fg-2); font-size: 0.95rem; }
.eco__beamnote { margin-top: 22px; display: flex; align-items: center; gap: 14px; color: var(--jade-hi); font-weight: 600; }
.eco__beamnote i { width: 3px; height: 34px; border-radius: 3px; background: var(--jade-hi); box-shadow: 0 0 14px var(--jade-hi); }

/* ---------- Humanity ---------- */
.hum { position: relative; }
.hum__open { height: 270vh; position: relative; background: var(--ink); }
.hum__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--ink); --l: 0; --o: 0; --k: 0; --f: 0; --d: 0; }
.hum__photo { position: absolute; inset: 0; margin: 0; }
.hum__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(calc(1.26 - 0.2 * var(--k))); will-change: transform; }
.hum__photo .hum__soft { z-index: 1; opacity: calc(1 - var(--f)); }
.hum__photo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(ellipse 52% 46% at 50% 50%, rgba(1, 6, 2, 0.84), rgba(1, 6, 2, 0.3) 100%), linear-gradient(0deg, rgba(1, 6, 2, 0.92), rgba(1, 6, 2, 0.2) 50%, rgba(1, 6, 2, 0.55)); opacity: calc(0.12 + 0.88 * var(--d)); }
.hum__bars { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hum__bars i { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--ink); will-change: transform; }
.hum__bars i:first-child { top: 0; transform: translate3d(0, calc(-100% * var(--o)), 0); }
.hum__bars i:last-child { bottom: 0; transform: translate3d(0, calc(100% * var(--o)), 0); }
.hum__bars i::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; transform: scaleX(var(--l)); opacity: calc(1 - var(--o) * 1.15); background: linear-gradient(90deg, rgba(201, 164, 107, 0), rgba(232, 196, 140, 0.95) 28%, #fff6e2 50%, rgba(127, 212, 192, 0.95) 72%, rgba(127, 212, 192, 0)); box-shadow: 0 0 24px 3px rgba(232, 196, 140, 0.38); }
.hum__bars i:first-child::after { bottom: 0; }
.hum__bars i:last-child::after { top: 0; }
.hum__title { position: relative; z-index: 4; text-align: center; display: grid; justify-items: center; gap: 30px; padding-inline: var(--gutter); }
.hum__title::before { content: ""; position: absolute; left: 50%; top: 42%; width: min(900px, 130vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(127, 212, 192, 0.14), rgba(127, 212, 192, 0)); opacity: 0; transition: opacity 2.2s var(--ease); pointer-events: none; z-index: -1; }
.hum__title svg { width: min(360px, 66vw); opacity: 0; transform: translate3d(0, 16px, 0) scale(.965); transition: opacity 1.5s var(--ease), transform 1.8s var(--ease); }
.hum__title h2 { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: clamp(2.8rem, 7vw, 7.2rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.hum__title h2 .hw { display: inline-block; opacity: 0; transform: translate3d(0, .45em, 0); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); transition-delay: calc(.32s + var(--i, 0) * .12s); }
.hum__sticky.is-title .hum__title::before { opacity: 1; }
.hum__sticky.is-title .hum__title svg { opacity: 1; transform: none; }
.hum__sticky.is-title .hum__title h2 .hw { opacity: 1; transform: none; }

.hum__statement-wrap { padding-block: 18vh 14vh; }
.hum__statement { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 3.5rem); line-height: 1.18; letter-spacing: -0.012em; max-width: 22em; text-wrap: pretty; }
.hum__statement em { display: block; margin-top: 0.5em; font-style: italic; color: var(--jade-hi); }

.dawn { position: relative; height: 280vh; }
.dawn__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; background: var(--ink); }
.dawn__sun { position: absolute; left: 50%; bottom: -40vh; width: 160vw; height: 110vh; transform: translateX(-50%); pointer-events: none; opacity: var(--sun, 0); background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232, 196, 140, 0.55), rgba(186, 170, 140, 0.22) 45%, rgba(127, 212, 192, 0.06) 65%, transparent 72%); }
.dawn__art { position: relative; width: min(1100px, 88vw); aspect-ratio: 1672 / 941; max-width: 100%; }
.dawn__art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dawn__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.dawn__art img { object-fit: contain; border-radius: 16px; }
.dawn__art.has-gl img, html.js .dawn__art img { opacity: 0; }
html.no-gl .dawn__art img, .dawn__art.no-relief img { opacity: 1; }
.dawn__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 9vh, 110px); text-align: center; color: var(--stone-ink); opacity: var(--cap, 0); transform: translateY(calc((1 - var(--cap, 0)) * 20px)); padding-inline: var(--gutter); }
.dawn__cap h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.05; }
.dawn__cap p { margin-top: 10px; color: var(--stone-fg-2); }

.hum__light { background: linear-gradient(180deg, #d6d0c3 0, var(--stone) 70vh); color: var(--stone-ink); padding-block: 6vh 18vh; }
.hum__light ::selection { background: var(--stone-jade); color: var(--stone); }
.hum__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.hcard { display: grid; gap: 18px; align-content: start; }
.hcard__img { position: relative; aspect-ratio: 4 / 5; max-width: 100%; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.hcard__img img { width: 100%; height: 100%; object-fit: contain; }
/* where a subject runs off the poster (the arms of Protect), it fades into the page instead of being cut */
.hcard__img img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4.5%, #000 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%), linear-gradient(180deg, transparent 0, #000 4.5%, #000 100%); mask-composite: intersect; }
.hcard h3 { font-family: var(--f-serif); font-weight: 400; font-style: italic; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1; margin-top: 8px; }
.hcard p { color: var(--stone-fg-2); max-width: 30em; }
.commit { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(30px, 6vw, 110px); margin-top: 18vh; align-items: start; }
.commit h3 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.02; letter-spacing: -0.015em; position: sticky; top: calc(var(--nav-h) + 40px); }
.commit ol { display: grid; border-top: 1px solid rgba(15, 32, 28, 0.18); counter-reset: c; }
.commit li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid rgba(15, 32, 28, 0.18); counter-increment: c; }
.commit li::before { content: counter(c, decimal-leading-zero); font-family: var(--f-serif); font-style: italic; font-size: 1.4rem; color: var(--stone-jade); line-height: 1.2; }
.commit li h4 { font-size: 1.12rem; font-weight: 650; margin-bottom: 6px; }
.commit li p { color: var(--stone-fg-2); }

/* ---------- Campaign: from daylight back to night ---------- */
.campaign { position: relative; color: var(--stone-ink); background: var(--night); --night: #040c09; --hy: 64%; }
.campaign__intro { padding-block: 16vh 30vh; background: linear-gradient(180deg, var(--stone) 0%, var(--stone) 24%, #8d918a 50%, #1d2522 76%, var(--night) 100%); }
.campaign__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.campaign__head h2 { font-size: var(--fs-h2); max-width: 10em; }
.campaign__head .lead { color: var(--stone-fg-2); max-width: 22em; }
.dusk__sun, .dusk__jade { display: none; }
/* Light to night: the light of Humanity sets, the title lights up as night falls */
.campaign__intro.is-live { height: 250vh; padding: 0; background: var(--night); }
@media (max-width: 820px) { .campaign__intro.is-live { height: 220vh; } }
.campaign__intro.is-live .campaign__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; background-color: var(--stone); }
.campaign__intro.is-live .dusk__sun { display: block; position: absolute; left: 50%; bottom: calc(-46vh - var(--sd, 0) * 34vh); width: 170vw; height: 120vh; transform: translateX(-50%); pointer-events: none; opacity: var(--sun, 1);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(240, 214, 168, 0.62), rgba(214, 190, 150, 0.26) 42%, rgba(127, 212, 192, 0.05) 64%, rgba(127, 212, 192, 0) 72%); }
.campaign__intro.is-live .dusk__jade { display: block; position: absolute; inset: 0; pointer-events: none; opacity: var(--jd, 0); }
/* the night here is the sky of the first film: same deep green-black, same mist over the horizon */
.campaign__intro.is-live .dusk__jade, .cine.is-live .cine__amb--world { background: radial-gradient(ellipse 62% 30% at 50% var(--hy, 64%), rgba(58, 86, 78, 0.34), rgba(40, 64, 58, 0.12) 55%, rgba(40, 64, 58, 0) 100%); }
/* a fine grain over the light keeps every gradient perfectly smooth (no banding) */
.campaign__intro.is-live .campaign__sticky::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.035; background: url("../img/grain.png") 0 0 / 96px 96px repeat; mix-blend-mode: overlay; }
.campaign__intro.is-live .campaign__head { position: relative; z-index: 1; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(18px, 2.6vw, 30px); }
.campaign__intro.is-live .campaign__head h2 { max-width: none; font-size: clamp(2.6rem, 8.2vw, 7.4rem); line-height: 0.95; filter: drop-shadow(0 0 calc(var(--glow, 0) * 28px) rgba(127, 212, 192, calc(var(--glow, 0) * 0.3))); }
html.js .campaign__intro.is-live .reveal-lines .line > span { transition: none; --e: calc(var(--l1, 0) * 140%); transform: translate3d(calc((1 - var(--l1, 0)) * -0.28em), 0, 0); color: transparent; -webkit-background-clip: text; background-clip: text;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--e) - 40%), transparent var(--e)); mask-image: linear-gradient(90deg, #000 calc(var(--e) - 40%), transparent var(--e));
  background-image: linear-gradient(90deg, rgba(214, 180, 120, 0) calc(var(--e) - 46%), rgba(214, 180, 120, 0.95) calc(var(--e) - 26%), rgba(214, 180, 120, 0) calc(var(--e) - 8%)), linear-gradient(90deg, #f3f1ea calc(var(--x1, 0) * 130% - 30%), var(--stone-ink) calc(var(--x1, 0) * 130%)); }
html.js .campaign__intro.is-live .reveal-lines .line + .line > span { --e: calc(var(--l2, 0) * 140%); transform: translate3d(calc((1 - var(--l2, 0)) * -0.28em), 0, 0);
  background-image: linear-gradient(90deg, rgba(214, 180, 120, 0) calc(var(--e) - 46%), rgba(214, 180, 120, 0.95) calc(var(--e) - 26%), rgba(214, 180, 120, 0) calc(var(--e) - 8%)), linear-gradient(90deg, #f3f1ea calc(var(--x2, 0) * 130% - 30%), var(--stone-ink) calc(var(--x2, 0) * 130%)); }
html.js .campaign__intro.is-live .campaign__head .lead { transition: none; max-width: 30em; color: rgba(234, 242, 239, 0.74); opacity: var(--ld, 0); transform: translate3d(0, calc((1 - var(--ld, 0)) * 22px), 0); letter-spacing: calc((1 - var(--ld, 0)) * 0.24em); }

/* The brand board: the three films of the brand (the world, Humanity, ETB), Originals and
   the five worlds. Each film is always shown whole, never cropped; its composition scales
   with its frame. Without script, or with reduced motion, the board simply stands still. */
.cine { position: relative; padding-block: 2vh 18vh; color: var(--fg); }
.cine__sticky { position: relative; }
.cine__amb, .cine__ring, .board__sep, .board__rule, .cine__coin { display: none; }
.board { width: min(calc(100% - var(--gutter) * 2), 1480px); margin-inline: auto; display: grid; gap: clamp(22px, 3.4vw, 44px); }
.board__films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.3vw, 18px); }
.board__posters { display: grid; grid-template-columns: 0.75fr repeat(5, 0.8fr); gap: clamp(10px, 1.1vw, 16px); align-items: start; }
.tile { display: block; position: relative; overflow: hidden; border-radius: clamp(10px, 1vw, 14px); background: #010602; box-shadow: 0 0 0 1px rgba(196, 232, 222, 0.1), 0 40px 80px -36px rgba(0, 0, 0, 0.9); }
.tile--film { aspect-ratio: 16 / 9; }
.tile--poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile--originals { box-shadow: 0 0 0 1px rgba(201, 164, 107, 0.5), 0 40px 80px -36px rgba(0, 0, 0, 0.9); }
.scene { position: absolute; inset: 0; overflow: hidden; background: #010602; container-type: inline-size; }
@media (hover: hover) and (pointer: fine) {
  .tile--poster { transition: box-shadow .6s var(--ease), filter .6s var(--ease); }
  .tile--poster img { transition: scale 1.1s var(--ease); }
  .tile--poster:hover { box-shadow: 0 0 0 1px rgba(127, 212, 192, 0.55), 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 40px -10px rgba(66, 154, 136, 0.45); }
  .tile--poster:hover img { scale: 1.05; }
}
.tile--poster:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--jade-hi), 0 40px 80px -36px rgba(0, 0, 0, 0.9); }
@media (max-width: 820px) {
  .board__films { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board__films .tile:first-child { grid-column: 1 / -1; }
  .board__posters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .board { gap: 36px; }
}

/* 1 · The world is in play: the type arrives on the photograph */
.w-plate { position: absolute; inset: 0; transform-origin: 70% 52%; transform: scale(var(--wz, 1)); }
.w-plate img { position: absolute; display: block; max-width: none; }
.cine.is-live .w-plate { opacity: 0; transition: opacity .8s var(--ease); }
.cine.is-live .w-plate.is-ready { opacity: 1; }
.w-decor { inset: 0; width: 100%; height: 100%; }
/* light running out through the gold rings of the floor */
.w-rings { left: 0; top: 73.326%; width: 100%; height: 26.674%; mix-blend-mode: screen; opacity: var(--wr, 0);
  -webkit-mask-image: radial-gradient(ellipse calc(var(--rr, 120) * 1%) calc(var(--rr, 120) * 0.567%) at 69.98% 32.67%, transparent 52%, #000 84%, transparent 100%);
  mask-image: radial-gradient(ellipse calc(var(--rr, 120) * 1%) calc(var(--rr, 120) * 0.567%) at 69.98% 32.67%, transparent 52%, #000 84%, transparent 100%); }
/* the floor under the globe: its reflection, revealed from the waterline down */
.w-floor { left: 47.847%; top: 78.002%; width: 50.837%; height: 21.998%; opacity: var(--wf, 1); }
/* its light on the water travels with the globe as it glides in */
.w-refl { left: 47.847%; top: 79.065%; width: 50.837%; height: 20.935%; mix-blend-mode: screen; opacity: calc(var(--wro, 0) * (1 - var(--wf, 1))); transform: translate3d(calc(var(--wd, 0) * 1.9671%), 0, 0); }
/* the globe, rising out of the water: only what is above the waterline is seen */
.w-up { position: absolute; inset: 0; -webkit-clip-path: inset(0 0 20.51% 0); clip-path: inset(0 0 20.51% 0); }
.w-coin { position: absolute; left: 50.179%; top: 4.995%; width: 44.079%; height: 74.495%; opacity: var(--wco, 1); }
.w-coin img { inset: 0; width: 100%; height: 100%; }
.w-sheen { position: absolute; inset: 0; opacity: var(--wso, 0); mix-blend-mode: screen;
  background: linear-gradient(104deg, rgba(220, 255, 244, 0) 40%, rgba(220, 255, 244, 0.5) 49%, rgba(255, 246, 226, 0.75) 50%, rgba(220, 255, 244, 0.5) 51%, rgba(220, 255, 244, 0) 60%) no-repeat;
  background-size: 260% 100%; background-position: calc((1 - var(--ws, 1)) * 100%) 0;
  -webkit-mask: url("../img/cine-coin.webp") 0 0 / 100% 100% no-repeat; mask: url("../img/cine-coin.webp") 0 0 / 100% 100% no-repeat; }
/* the waterline lights up as the globe breaks the surface */
.w-wl { position: absolute; left: 47%; top: 77.6%; width: 50%; height: 3.8%; opacity: var(--wwl, 0); mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 255, 236, 0.85), rgba(127, 212, 192, 0.35) 45%, rgba(127, 212, 192, 0)); }
.w-logo { position: absolute; left: calc(var(--u, 1cqw) * 5); top: calc(var(--u, 1cqw) * 5); width: calc(var(--u, 1cqw) * 23); height: auto; overflow: visible; opacity: var(--wl, 1); transform: translate3d(0, calc((1 - var(--wl, 1)) * var(--u, 1cqw) * 1.6), 0); }
.w-title { position: absolute; left: calc(var(--u, 1cqw) * 5.3); top: calc(var(--u, 1cqw) * 25.2); margin: 0; font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.018em; line-height: 0.98; font-size: max(calc(var(--u, 1cqw) * 5.4), 17px); color: #fff; white-space: nowrap; }
.w-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.w-line > span { display: block; transform: translate3d(calc((1 - var(--t1, 1)) * -104%), 0, 0); }
.w-line + .w-line > span { transform: translate3d(calc((1 - var(--t2, 1)) * -104%), 0, 0); }
.w-kicker { position: absolute; left: calc(var(--u, 1cqw) * 5.5); top: calc(var(--u, 1cqw) * 38.4); margin: 0; font-family: var(--f-display); font-weight: 700; font-stretch: 112%; text-transform: uppercase; font-size: max(calc(var(--u, 1cqw) * 1.42), 7px); line-height: 1; letter-spacing: calc(0.26em + (1 - var(--wk, 1)) * 0.5em); color: rgba(234, 242, 239, 0.92); opacity: var(--wk, 1); white-space: nowrap; }

/* 2 · EarthBet Humanity: the woven globe closes from the bottom, the name slides out
   from behind it, then 'Humanity' is written from the H */
.scene--hum { background: #010602; }
.h-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.scene--hum.has-gl .h-globe, .scene--hum.has-gl .h-wordclip, .scene--hum.has-gl .h-name { z-index: 1; opacity: var(--hph, 1); }
.h-glow { position: absolute; left: 20.2%; top: 48.6%; width: 48%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(calc(0.7 + 0.3 * var(--hgl, 1))); background: radial-gradient(closest-side, rgba(66, 154, 136, 0.3), rgba(66, 154, 136, 0)); opacity: var(--hgl, 1); }
.h-globe, .h-name { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.h-globe { clip-path: inset(19.4% 63.1% 22.6% 3.3%); transform-origin: 20.19% 48.58%; transform: scale(calc(0.93 + 0.07 * var(--hg, 1))) rotate(calc((1 - var(--hg, 1)) * -14deg));
  -webkit-mask-image: conic-gradient(from 180deg at 20.19% 48.58%, transparent 0deg, transparent calc((1 - var(--hg, 1)) * 370deg - 10deg), #000 calc((1 - var(--hg, 1)) * 370deg));
  mask-image: conic-gradient(from 180deg at 20.19% 48.58%, transparent 0deg, transparent calc((1 - var(--hg, 1)) * 370deg - 10deg), #000 calc((1 - var(--hg, 1)) * 370deg)); }
.h-wordclip { position: absolute; left: 37.4%; top: 31%; width: 59.8%; height: 20.6%; overflow: hidden; }
.h-word { position: absolute; left: -62.54%; top: -150.49%; width: 167.22%; height: 485.44%; max-width: none; transform: translate3d(calc((1 - var(--hw, 1)) * -62%), 0, 0); }
.h-name { clip-path: inset(51.5% 10.9% 24.3% 35.3%);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(35.3% + var(--hn, 1) * 56% - 4%), transparent calc(35.3% + var(--hn, 1) * 56%));
  mask-image: linear-gradient(90deg, #000 calc(35.3% + var(--hn, 1) * 56% - 4%), transparent calc(35.3% + var(--hn, 1) * 56%)); }

/* 3 · ETB: the rings draw themselves, the letters rise, the token rolls into place */
.scene--etb { background: radial-gradient(ellipse 62% 74% at 50% 50%, #06231c 0%, #031510 40%, #010602 78%); }
.e-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 44% 36% at 50% -4%, rgba(26, 178, 140, 0.62), rgba(26, 178, 140, 0) 72%), radial-gradient(ellipse 36% 30% at 50% 104%, rgba(26, 178, 140, 0.5), rgba(26, 178, 140, 0) 72%); opacity: calc(0.3 + 0.7 * var(--eg, 1)); }
.e-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.e-rings ellipse { fill: none; stroke: rgb(110, 226, 198); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1 1; }
.e-rings ellipse:nth-child(1) { stroke-opacity: 0.16; }
.e-rings ellipse:nth-child(2) { stroke-opacity: 0.3; }
.e-rings ellipse:nth-child(3) { stroke-opacity: 0.42; }
.e-rings ellipse:nth-child(4) { stroke-opacity: 0.85; }
.e-mark { position: absolute; left: 50.5%; top: 50.3%; margin: 0; display: flex; align-items: flex-end; transform: translate(-50%, -50%); font-family: var(--f-display); font-weight: 800; font-stretch: 100%; font-size: calc(var(--u, 1cqw) * 17.4); line-height: 1; letter-spacing: -0.012em; color: #fff; white-space: nowrap; }
.e-l { display: block; overflow: hidden; height: 0.76em; }
.e-l i { display: block; font-style: normal; line-height: 0.76; opacity: var(--e1, 1); transform: translate3d(0, calc((1 - var(--e1, 1)) * 105%), 0); }
.e-l + .e-l i { opacity: var(--e2, 1); transform: translate3d(0, calc((1 - var(--e2, 1)) * 105%), 0); }
.e-l + .e-l + .e-l i { opacity: var(--e3, 1); transform: translate3d(0, calc((1 - var(--e3, 1)) * 105%), 0); }
.e-chip { width: calc(var(--u, 1cqw) * 4.5); height: auto; margin: 0 calc(var(--u, 1cqw) * 1.45) calc(var(--u, 1cqw) * -0.05) 0; opacity: var(--ec, 1); transform: translate3d(calc((1 - var(--ec, 1)) * var(--u, 1cqw) * -9), 0, 0) rotate(calc((1 - var(--ec, 1)) * -320deg)); filter: drop-shadow(0 0 calc(var(--u, 1cqw) * 1.1) rgba(80, 230, 210, 0.45)); }

/* live: the scroll is held while the board builds itself (positions set by site.js) */
.cine.is-live { height: 780vh; padding: 0; }
@media (max-width: 820px) { .cine.is-live { height: 650vh; } }
.cine.is-live .cine__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cine.is-live .cine__amb { display: block; position: absolute; inset: -12%; pointer-events: none; opacity: 0; }
.cine.is-live .cine__amb--world { inset: 0; }
.cine.is-live .cine__amb--hum { background: radial-gradient(ellipse 40% 46% at 37% 50%, rgba(66, 154, 136, 0.32), rgba(66, 154, 136, 0) 70%); }
.cine.is-live .cine__amb--etb { background: radial-gradient(ellipse 46% 50% at 50% 50%, rgba(26, 178, 140, 0.3), rgba(26, 178, 140, 0) 70%); }
.cine.is-live .board { position: absolute; inset: 0; width: auto; margin: 0; display: block; perspective: 1600px; }
.cine.is-live .board__films, .cine.is-live .board__posters { display: block; }
.cine.is-live .tile { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; will-change: transform, opacity; }
.cine.is-live .tile--film { aspect-ratio: auto; box-shadow: 0 0 0 1px rgba(196, 232, 222, calc(0.12 * var(--fr, 1))), 0 60px 120px -40px rgba(0, 0, 0, calc(0.95 * var(--fr, 1))); }
.cine.is-live .tile--poster { transform-origin: 50% 100%; }
.cine.is-live .tile--film { -webkit-mask-composite: source-in; mask-composite: intersect; }
.cine.is-live .tile--film:first-child, .cine.is-live .scene--world { background: #040c09; }
.cine.is-live .cine__ring { display: block; position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 9; border-radius: 50%; border: 1.5px solid rgba(127, 212, 192, 0.95); box-shadow: 0 0 24px rgba(127, 212, 192, 0.55), inset 0 0 24px rgba(127, 212, 192, 0.32); opacity: 0; pointer-events: none; }
.cine.is-live .cine__ring--a { border-color: rgba(201, 164, 107, 0.95); box-shadow: 0 0 24px rgba(201, 164, 107, 0.5), inset 0 0 24px rgba(201, 164, 107, 0.3); }
.cine.is-live .board__sep { display: block; position: absolute; left: 0; top: 0; width: 1px; height: 0; background: linear-gradient(180deg, rgba(201, 164, 107, 0), rgba(201, 164, 107, 0.55), rgba(201, 164, 107, 0)); opacity: 0; transform-origin: 50% 50%; }
/* the jade globe of the first film, while it glides in from beyond the edge of the screen */
.cine.is-live .cine__coin { display: block; position: absolute; left: 0; top: 0; z-index: 9; max-width: none; transform-origin: 0 0; opacity: 0; pointer-events: none; will-change: transform; }
.cine.is-live .board__rule { display: block; position: absolute; left: 0; top: 0; width: 0; height: 1px; background: linear-gradient(90deg, rgba(201, 164, 107, 0), rgba(201, 164, 107, 0.6) 30%, rgba(127, 212, 192, 0.75) 50%, rgba(201, 164, 107, 0.6) 70%, rgba(201, 164, 107, 0)); opacity: 0; transform-origin: 50% 50%; pointer-events: none; }
.cine.is-live .board__rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; border-radius: 50%; transform: translate(-50%, -50%); background: #a8e6d6; box-shadow: 0 0 10px 2px rgba(127, 212, 192, 0.6); }

/* ---------- Path ---------- */
.roadmap { padding-block: 14vh 16vh; background: linear-gradient(180deg, #040c09, var(--ink) 40vh); }
.roadmap__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.roadmap__head h2 { font-size: var(--fs-h2); }
.roadmap__head .lead { justify-self: end; }
.phases { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 10vh; border-top: 1px solid var(--line-2); }
.phases::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: calc(var(--rp, 0) * 100%); background: var(--jade-hi); }
.phase { position: relative; padding: 28px 22px 0 0; display: grid; gap: 12px; align-content: start; }
.phase__id { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--fg-3); }
.phase h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.phase p { font-size: 0.92rem; color: var(--fg-2); }
.phase.is-now .phase__id { color: var(--jade); -webkit-text-stroke: 0; }
.phase__now { justify-self: start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--jade); color: var(--ink); }

/* ---------- Connect ---------- */
.access { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 14vh 8vh; }
.access__scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(1, 6, 2, 0.94) 0%, rgba(1, 6, 2, 0.72) 46%, rgba(1, 6, 2, 0.1) 72%), linear-gradient(180deg, var(--ink) 0%, rgba(1, 6, 2, 0) 18%); }
.access__grid { position: relative; display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 300px); justify-content: start; gap: clamp(32px, 4vw, 64px); align-items: center; }
.access__copy { display: grid; gap: 24px; align-content: start; }
.access__copy h2 { font-size: clamp(2.25rem, 3.8vw, 4.2rem); }
.access__copy h2 .line > span { max-width: 100%; overflow-wrap: anywhere; }
.access__copy .lead { max-width: 26em; }
.aform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 2.6vw, 34px); border-radius: 24px; border: 1px solid var(--line-2); background: rgba(6, 17, 14, 0.78); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9); align-self: center; }
.field { display: grid; gap: 8px; grid-column: 1 / -1; min-width: 0; }
.field--half { grid-column: auto; }
.field label { font-size: var(--fs-small); color: var(--fg-2); font-weight: 500; }
.field input, .field select { width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(1, 6, 2, 0.6); color: var(--fg); font: inherit; font-size: 0.98rem; padding: 0 14px; outline: 0; transition: border-color .3s; }
.field input:focus, .field select:focus { border-color: var(--jade); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field select option { background: var(--ink-2); color: var(--fg); }
.field input::placeholder { color: var(--fg-3); }
.check { grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 0.86rem; color: var(--fg-2); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--jade); }
.aform__btn { grid-column: 1 / -1; width: 100%; }
.aform__msg { grid-column: 1 / -1; min-height: 1.5em; font-size: var(--fs-small); color: var(--fg-2); }
.aform__msg.is-ok { color: var(--jade-hi); }
.aform__msg.is-err { color: #f0a097; }
.aform__fine { grid-column: 1 / -1; font-size: var(--fs-micro); color: var(--fg-3); line-height: 1.55; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; padding-block: clamp(32px, 4vw, 56px) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--ink); }
.footer__top { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, .7fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.footer__group { min-width: 0; }
.footer__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: var(--fs-small); color: var(--fg); font-weight: 600; list-style: none; cursor: default; }
.footer__heading::-webkit-details-marker { display: none; }
.footer__heading::marker { content: ""; }
.footer__toggle { display: none; }
.footer h4 { font-size: var(--fs-small); color: var(--fg); font-weight: 600; }
.footer ul { display: grid; gap: 2px; margin-top: 12px; }
.footer ul a { display: inline-flex; align-items: center; min-height: 30px; font-size: var(--fs-small); color: var(--fg-2); transition: color .3s; }
.footer ul a:hover { color: var(--jade-hi); }
.footer__legal { font-size: var(--fs-small); color: var(--fg-2); line-height: 1.65; display: grid; gap: 12px; align-content: start; }
.footer__bottom { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; font-size: var(--fs-micro); color: var(--fg-3); }
.badge18 { display: inline-flex; align-items: center; gap: 10px; }
.badge18 b { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--fg-3); display: grid; place-items: center; font-size: 0.7rem; color: var(--fg-2); }
.footer__word { display: block; margin-top: clamp(28px, 4vw, 56px); width: 100%; height: auto; aspect-ratio: 623 / 60; opacity: .06; -webkit-mask-image: linear-gradient(180deg, #000 10%, rgba(0, 0, 0, 0.35) 100%); mask-image: linear-gradient(180deg, #000 10%, rgba(0, 0, 0, 0.35) 100%); }

/* ---------- Film dialog ---------- */
.filmdlg { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; margin: 0; }
.filmdlg::backdrop { background: rgba(0, 0, 0, 0.92); }
.filmdlg__in { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: calc(70px + env(safe-area-inset-top, 0px)) var(--gutter) calc(40px + env(safe-area-inset-bottom, 0px)); }
.filmdlg video { width: auto; height: auto; max-width: 100%; max-height: 100%; border-radius: 14px; background: #000; }
.filmdlg__close { position: absolute; top: calc(18px + env(safe-area-inset-top, 0px)); right: var(--gutter); display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(1, 6, 2, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-block; }
  .rail { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__legal { grid-column: 1 / -1; }
}
@media (max-width: 1280px) and (min-width: 821px) {
  .access__grid { grid-template-columns: minmax(0, 500px); }
}
@media (max-width: 1100px) and (min-width: 821px) {
  .world { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nav__cta { display: none; }
  .nav__logo { width: 140px; }
  .stage__box { height: 60%; }
  .stage__box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(1, 6, 2, 0), var(--ink)); }
  .stage__fx { background: radial-gradient(ellipse 90% 60% at 50% 34%, rgba(1, 6, 2, 0) 55%, rgba(1, 6, 2, 0.5) 100%); }
  .hero { justify-content: flex-end; }
  .hero__scrim { background: linear-gradient(0deg, rgba(1, 6, 2, 0.98) 0%, rgba(1, 6, 2, 0.85) 30%, rgba(1, 6, 2, 0) 52%); }
  .hero__inner { padding-block: 0 15vh; gap: 18px; }
  .hero__worlds { display: none; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__ctas { display: none; }
  .manifesto__pin { height: 180vh; }
  .triad { grid-template-columns: 1fr; padding-bottom: 12vh; }
  .film { height: min(100svh, 177.78vw); min-height: 480px; }
  .worlds__head { grid-template-columns: 1fr; }
  .worlds__head .lead { justify-self: start; }
  .worlds__pin { height: auto !important; }
  .worlds__sticky { position: relative; height: auto; overflow: visible; }
  .worlds__track { flex-direction: column; width: auto; transform: none !important; gap: 20px; }
  .world { width: 100%; height: auto; grid-template-columns: 1fr; }
  .world__media { aspect-ratio: 1 / 1; max-width: 100%; }
  .world__globe, .world__shine { left: 50%; }
  .world__media--globe { background: radial-gradient(ellipse 80% 70% at 50% 50%, #08201a 0%, #030c09 55%, #010604 100%); }
  .world__media::after { background: linear-gradient(180deg, rgba(6, 17, 14, 0) 72%, rgba(6, 17, 14, 0.9)); }
  .world__media::after { background: linear-gradient(180deg, rgba(6, 17, 14, 0) 55%, rgba(6, 17, 14, 0.95)); }
  .world__copy { padding: 24px; }
  .worlds__bar { display: none; }
  .seismic__grid { grid-template-columns: 1fr; }
  .seismic__bg img { width: 120%; right: -40%; }
  .inst__read { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-inline: 20px; }
  .inst__head { padding-inline: 20px; }
  .market { grid-template-columns: 1fr; }
  .token__scrim { background: linear-gradient(0deg, rgba(1, 6, 2, 0.98) 0%, rgba(1, 6, 2, 0.88) 40%, rgba(1, 6, 2, 0) 62%); }
  .stage-copy { top: auto; bottom: calc(76px + env(safe-area-inset-bottom, 0px)); width: auto; right: var(--gutter); transform: translate3d(0, 30px, 0); gap: 14px; }
  .stage-copy.is-active { transform: none; }
  .stage-copy .lead { font-size: 1rem; }
  .stage-copy h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .stage-copy h3 { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
  .roles p { display: none; }
  .roles li { padding: 12px; }
  .specs div { padding: 8px 0; }
  .token__hud { left: var(--gutter); right: var(--gutter); justify-content: space-between; gap: 10px; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); }
  .token__hud > span { min-width: 0; flex: 1; }
  .eco__grid { grid-template-columns: 1fr; }
  .eco__stage { height: 380px; }
  .eco__layers li button { grid-template-columns: 1fr; gap: 4px; }
  .hum__cards { grid-template-columns: 1fr; gap: 56px; max-width: 520px; margin-inline: auto; }
  .commit { grid-template-columns: 1fr; }
  .commit h3 { position: static; }
  .dawn { height: 240vh; }
  .dawn__art { width: 94vw; }
  .roadmap__head { grid-template-columns: 1fr; }
  .roadmap__head .lead { justify-self: start; }
  .phases { grid-template-columns: 1fr; border-top: 0; }
  .phases::before { display: none; }
  .phase { padding: 24px 0; border-top: 1px solid var(--line-2); grid-template-columns: 80px minmax(0, 1fr); column-gap: 18px; }
  .phase__id { grid-row: span 3; }
  .access { padding-top: 42vh; padding-top: 42svh; padding-bottom: 48px; align-items: flex-end; }
  .access__scrim { background: linear-gradient(0deg, var(--ink) 0%, rgba(1, 6, 2, 0.94) 58%, rgba(1, 6, 2, 0) 78%), linear-gradient(180deg, var(--ink) 0%, rgba(1, 6, 2, 0) 12%); }
  .access__grid { grid-template-columns: 1fr; }
  .aform { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .footer__top { grid-template-columns: 1fr; gap: 0; }
  .footer__group { border-bottom: 1px solid var(--line); }
  .footer__heading { min-height: 56px; cursor: pointer; }
  .footer__toggle { display: block; position: relative; width: 12px; height: 12px; color: var(--fg-2); flex: 0 0 auto; }
  .footer__toggle::before, .footer__toggle::after { content: ""; position: absolute; left: 0; top: calc(50% - .5px); width: 12px; height: 1px; background: currentColor; }
  .footer__toggle::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
  .footer__group[open] .footer__toggle::after { transform: rotate(0); }
  .footer__group ul { margin-top: 0; padding-bottom: 14px; }
  .footer__group a { min-height: 44px; }
  .footer__legal { padding-top: 28px; }
}
@media (max-width: 480px) {
  .roles li:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal], html.js .reveal-lines .line > span { opacity: 1 !important; transform: none !important; }
  .worlds__pin { height: auto !important; }
  .worlds__sticky { position: relative; height: auto; overflow: visible; }
  .worlds__track { flex-direction: column; width: auto; transform: none !important; gap: 24px; }
  .world { width: 100%; height: auto; min-height: 420px; }
  .worlds__bar { display: none; }
}

/* Editorial refinements preserve the original cinematic art direction. */
.worlds__note { grid-column: 1 / -1; color: var(--fg-2); }
.world__copy { min-width: 0; }
.socials { display: grid; gap: 24px; min-width: 0; width: 100%; max-width: 300px; padding: 4px 0 4px 28px; border-left: 1px solid var(--line-2); align-self: center; }
.socials__brand { min-width: 0; }
.socials__brand + .socials__brand { padding-top: 24px; border-top: 1px solid var(--line-2); }
.socials__logo { width: 160px; height: auto; aspect-ratio: 956 / 298; }
.socials__links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; }
.socials__link { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; color: var(--fg-2); transition: color .3s var(--ease); }
.socials__icon { width: 22px; height: 22px; }
.socials__icon--x { width: 20px; height: 20px; }
.socials__link:is(:hover, :focus-visible) { color: var(--fg); }
@media (max-width: 1280px) {
  .socials { max-width: 500px; padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line-2); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .socials__brand + .socials__brand { padding-top: 0; border-top: 0; }
}
@media (max-width: 480px) {
  .socials { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .socials__brand + .socials__brand { padding-top: 20px; border-top: 1px solid var(--line); }
}
.hum__visual-note { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 24px; text-align: center; color: var(--fg-2); font-size: var(--fs-micro); z-index: 2; }
.roles li:nth-child(n+3) { display: grid; }

/* Readable fallback if scripting is disabled or cannot finish loading. */
html:not(.js) .stage { display: none; }
html:not(.js) .hero { background: var(--ink) url('../img/decor-coin.webp') center / cover no-repeat; }
html:not(.js) .nav__burger, html:not(.js) .lang, html:not(.js) [data-film], html:not(.js) .worlds__bar { display: none; }
html:not(.js) .hero__worlds { display: flex; flex-wrap: wrap; }
html:not(.js) .manifesto__pin, html:not(.js) .worlds__pin, html:not(.js) .token__pin, html:not(.js) .hum__open, html:not(.js) .dawn { height: auto; }
html:not(.js) .manifesto__sticky, html:not(.js) .worlds__sticky, html:not(.js) .token__sticky, html:not(.js) .hum__sticky, html:not(.js) .dawn__sticky { position: relative; height: auto; min-height: 0; overflow: visible; }
html:not(.js) .worlds__track { flex-direction: column; width: auto; gap: 24px; }
html:not(.js) .world { width: 100%; height: auto; min-height: 420px; }
html:not(.js) .token__stages { position: relative; padding-block: 70px; }
html:not(.js) .token__stages .wrap { display: grid; gap: 56px; }
html:not(.js) .stage-copy { position: static; width: 100%; max-width: 680px; transform: none; visibility: visible; opacity: 1; }
html:not(.js) .token__hud { display: none; }
html:not(.js) .hum__sticky { min-height: 80vh; }
html:not(.js) .hum__title svg, html:not(.js) .hum__title h2 { opacity: 1; transform: none; }
html:not(.js) .dawn__sticky { padding-block: 64px; }
html:not(.js) .dawn__art { position: relative; margin: auto; transform: none; }
html:not(.js) .dawn__cap { position: relative; bottom: auto; margin-top: 24px; opacity: 1; color: var(--fg); transform: none; }
@media (max-width: 600px) {
  .players { flex-direction: column; align-items: flex-end; gap: 8px; bottom: 6%; }
  .players .av i { width: 30px; height: 30px; font-size: 0.66rem; }
}
@media (max-width: 480px) {
  .world__copy { padding: 24px 20px; }
}

/* Humanity opening: note follows the title */
.hum__visual-note { z-index: 4; opacity: 0; transition: opacity 1.2s var(--ease) 1.1s; }
.hum__sticky.is-title .hum__visual-note { opacity: 1; }
html:not(.js) .hum__bars, html:not(.js) .hum__soft { display: none; }
html:not(.js) .hum__visual-note { opacity: 1; }

/* Touch screens and phones: no live backdrop blur over the animated set (smooth scrolling) */
@media (max-width: 820px), (hover: none) {
  .nav::before, .btn--ghost, .chip, .aform { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav::before { background: linear-gradient(180deg, rgba(1, 6, 2, 0.95), rgba(1, 6, 2, 0.88)); }
  .btn--ghost { background: rgba(1, 6, 2, 0.55); }
  .chip { background: rgba(1, 6, 2, 0.8); }
  .aform { background: rgba(6, 17, 14, 0.95); }
  .stage__fx::after { display: none; }
}
html:not(.js) .dawn__gl { display: none; }

/* Back: after a link has taken the visitor elsewhere on the page, one touch returns to where they were */
.backto { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 70; display: inline-flex; align-items: center; gap: 10px; padding: 7px 18px 7px 7px; border-radius: 999px;
  border: 1px solid rgba(196, 232, 222, 0.18); background: rgba(6, 17, 14, 0.74); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  color: var(--fg); font-family: var(--f-body); font-size: 0.82rem; font-weight: 550; letter-spacing: 0.02em; line-height: 1; cursor: pointer;
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(-50%, 18px, 0) scale(0.96);
  transition: opacity .45s var(--ease), transform .6s var(--ease), border-color .3s var(--ease), visibility 0s linear .6s; }
.backto.is-on { opacity: 1; visibility: visible; pointer-events: auto; transform: translate3d(-50%, 0, 0) scale(1); transition: opacity .45s var(--ease), transform .6s var(--ease), border-color .3s var(--ease), visibility 0s; }
.backto__ico { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(66, 154, 136, 0.16); border: 1px solid rgba(127, 212, 192, 0.36); }
.backto__ico::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(127, 212, 192, 0.5); opacity: 0; }
.backto.is-on .backto__ico::after { animation: backPing 2.6s var(--ease) .5s 2; }
.backto__ico svg { width: 14px; height: 14px; fill: none; stroke: var(--jade-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.backto.is-up .backto__ico svg { transform: rotate(180deg); }
.backto:hover { border-color: rgba(127, 212, 192, 0.5); }
.backto:focus-visible { outline: 2px solid var(--jade-hi); outline-offset: 3px; }
@keyframes backPing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
@media (hover: none) { .backto { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(6, 17, 14, 0.9); } }
@media (prefers-reduced-motion: reduce) { .backto, .backto.is-on { transition: opacity .2s linear, visibility 0s; transform: translate3d(-50%, 0, 0); } .backto.is-on .backto__ico::after { animation: none; } }
@media (max-width: 820px) {
  .backto { left: var(--gutter); transform: translate3d(0, 12px, 0) scale(.96); }
  .backto.is-on { transform: translate3d(0, 0, 0); }
}

/* ---- Openings tied to the scroll ---- */
/* Play. Bet. Predict. */
.triad.is-live .triad__item[data-reveal] { opacity: 1; transform: none; transition: none; position: relative; border-top-color: transparent; }
.triad.is-live .triad__item::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line-2); transform-origin: 0 50%; transform: scaleX(var(--ln, 1)); }
.triad.is-live .triad__item h3 { white-space: nowrap; transform-origin: 0 85%; opacity: var(--ho, 1); will-change: transform;
  transform: translate3d(var(--jx, 0px), var(--jy, 0px), 0) rotate(var(--jr, 0deg)) scale(var(--hs, 1));
  filter: drop-shadow(0 0 calc(var(--fl, 0) * 26px) rgba(127, 212, 192, calc(var(--fl, 0) * 0.5))); }
.triad.is-live .triad__item h3 > span:first-child { color: transparent; -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(100deg, var(--fg) calc(var(--lx, 132%) - 24%), #f6fffc calc(var(--lx, 132%) - 9%), #a3ead9 calc(var(--lx, 132%) - 3%), rgba(234, 242, 239, 0.24) calc(var(--lx, 132%) + 6%)); }
.triad.is-live .triad__item .jdot { display: inline-block; transform-origin: 50% 80%; transform: scale(calc(1 + var(--fl, 0) * 0.3)); text-shadow: 0 0 calc(var(--fl, 0) * 20px) rgba(127, 212, 192, calc(var(--fl, 0) * 0.9)); }
.triad.is-live .triad__item p { opacity: var(--po, 1); transform: translate3d(0, calc((1 - var(--po, 1)) * 14px), 0); }
/* Five worlds. One platform. */
html.js .worlds__head.is-live .reveal-lines .line > span { transition: none; transform: translate3d(calc((1 - var(--a1, 1)) * -104%), 0, 0); }
html.js .worlds__head.is-live .reveal-lines .line + .line > span { transform: translate3d(calc((1 - var(--a2, 1)) * -104%), 0, 0); }
html.js .worlds__head.is-live .lead[data-reveal], html.js .worlds__head.is-live .worlds__note { opacity: 1; transform: none; transition: none; }
.worlds__head.is-live .lead .sw { display: inline-block; --k: clamp(0, calc((var(--wp, 1) * (var(--n, 16) + 4) - var(--i, 0)) / 4), 1);
  opacity: calc(0.08 + 0.92 * var(--k)); transform: translate3d(0, calc((1 - var(--k)) * 0.7em), 0); }
.worlds__head.is-live .lead .sw:nth-child(-n+5) { color: color-mix(in srgb, var(--jade-hi) calc((1 - var(--k)) * 100%), currentColor); }
.worlds__head.is-live .worlds__note { opacity: var(--np, 1); letter-spacing: calc((1 - var(--np, 1)) * 0.3em); }
/* The planet. In play. */
html.js .seismic.is-live .seismic__copy .kicker { opacity: var(--sk, 1); transform: translate3d(calc((1 - var(--sk, 1)) * -24px), 0, 0); }
html.js .seismic.is-live .reveal-lines .line { perspective: 700px; }
html.js .seismic.is-live .reveal-lines .line > span { transition: none; transform-origin: 50% 100%; opacity: calc(0.15 + 0.85 * var(--s1, 1)); transform: translate3d(0, calc((1 - var(--s1, 1)) * 30%), 0) rotateX(calc((1 - var(--s1, 1)) * 84deg)); }
html.js .seismic.is-live .reveal-lines .line + .line > span { opacity: calc(0.15 + 0.85 * var(--s2, 1)); transform: translate3d(0, calc((1 - var(--s2, 1)) * 30%), 0) rotateX(calc((1 - var(--s2, 1)) * 84deg)); }
html.js .seismic.is-live .seismic__copy .lead[data-reveal] { transition: none; opacity: var(--sl, 1); transform: translate3d(0, calc((1 - var(--sl, 1)) * 22px), 0); }
html.js .seismic.is-live .points[data-reveal] { transition: none; opacity: 1; transform: none; perspective: 900px; }
.seismic.is-live .points li { transform-origin: 50% 0; opacity: var(--sp, 1); transform: rotateX(calc((1 - var(--sp, 1)) * -40deg)) translate3d(0, calc((1 - var(--sp, 1)) * 18px), 0); }
html.js .seismic.is-live .inst[data-reveal] { transition: none; opacity: calc(0.1 + 0.9 * var(--si, 1)); transform-origin: 100% 50%;
  transform: perspective(1600px) translate3d(calc((1 - var(--si, 1)) * 70px), 0, calc((1 - var(--si, 1)) * -180px)) rotateY(calc((1 - var(--si, 1)) * -30deg)) rotateX(calc((1 - var(--si, 1)) * 9deg)); }
html.js .seismic.is-live .market[data-reveal] { transition: none; opacity: calc(0.1 + 0.9 * var(--sm, 1)); transform-origin: 50% 0;
  transform: perspective(1400px) translate3d(0, calc((1 - var(--sm, 1)) * 40px), 0) rotateX(calc((1 - var(--sm, 1)) * -22deg)); }
.seismic.is-live .market__track i { transform-origin: 0 50%; transform: scaleX(var(--sm, 1)); }
.seismic.is-live .market__opts > span:first-child { box-shadow: 0 0 calc(var(--sm, 1) * 26px) -10px rgba(127, 212, 192, calc(var(--sm, 1) * 0.6)); }

/* Phones held sideways: shown upright only, for now */
.rotate { display: none; }
@media (orientation: landscape) and (max-height: 520px) and (hover: none) and (pointer: coarse) {
  .rotate { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 26px; padding: 24px; background: var(--ink); text-align: center; touch-action: none; }
  .rotate__logo { width: 170px; height: auto; }
  .rotate__phone { width: 64px; height: 64px; }
  .rotate__phone svg { width: 100%; height: 100%; fill: none; stroke: var(--jade-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform-origin: 50% 50%; animation: rotateUp 2.8s var(--ease-io) infinite; }
  .rotate__txt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(234, 242, 239, 0.78); }
}
@keyframes rotateUp { 0%, 18% { transform: rotate(-90deg); } 55%, 100% { transform: rotate(0deg); } }
