/* ==========================================================================
   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; right: var(--gutter); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); color: var(--fg-3); }
@keyframes introGlobe { to { opacity: 1; transform: none; } }
@keyframes introWord { to { transform: translateX(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; }
.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; }

/* ---------- 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); }

/* ---------- 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; }
.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; }
.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(3rem, 6.4vw, 6.6rem); }
.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 { transform: scale(1.025); }
/* 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: epicentre map + six-station seismogram, precision-instrument finish */
.inst {
  position: relative; border-radius: 26px; border: 1px solid rgba(196, 232, 222, 0.16); overflow: hidden; container-type: inline-size;
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(66, 154, 136, 0.13), rgba(66, 154, 136, 0) 60%),
    linear-gradient(180deg, rgba(10, 25, 21, 0.96), rgba(3, 10, 8, 0.97));
  box-shadow: 0 50px 140px -50px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.inst::before { content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px; background: linear-gradient(90deg, rgba(127, 212, 192, 0), rgba(127, 212, 192, 0.7), rgba(201, 164, 107, 0.6), rgba(127, 212, 192, 0)); pointer-events: none; }
.inst::after { content: ""; position: absolute; inset: 10px; border-radius: 18px; pointer-events: none; opacity: .55;
  background:
    linear-gradient(var(--jade-hi), var(--jade-hi)) left top / 12px 1px no-repeat, linear-gradient(var(--jade-hi), var(--jade-hi)) left top / 1px 12px no-repeat,
    linear-gradient(var(--jade-hi), var(--jade-hi)) right top / 12px 1px no-repeat, linear-gradient(var(--jade-hi), var(--jade-hi)) right top / 1px 12px no-repeat,
    linear-gradient(var(--jade-hi), var(--jade-hi)) left bottom / 12px 1px no-repeat, linear-gradient(var(--jade-hi), var(--jade-hi)) left bottom / 1px 12px no-repeat,
    linear-gradient(var(--jade-hi), var(--jade-hi)) right bottom / 12px 1px no-repeat, linear-gradient(var(--jade-hi), var(--jade-hi)) right bottom / 1px 12px no-repeat; }
.inst__head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 26px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--fg-3); border-bottom: 1px solid var(--line); }
.inst__head .live { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); }
.inst__head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 107, 0.16), 0 0 12px rgba(201, 164, 107, 0.7); animation: blink 1.6s infinite; }
.inst__body { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.inst__radar { width: 100%; height: 260px; height: clamp(230px, 62cqi, 300px); border-bottom: 1px solid var(--line); }
.inst__canvas { width: 100%; height: clamp(250px, 30vw, 340px); }
@container (min-width: 600px) {
  .inst__body { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); }
  .inst__radar { height: auto; min-height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
  .inst__canvas { height: clamp(300px, 27vw, 360px); }
}
.inst__read { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(1, 6, 2, 0.28); }
.inst__read div { position: relative; padding: 16px 22px 18px; border-right: 1px solid var(--line); min-width: 0; }
.inst__read div:last-child { border-right: 0; }
.inst__read dt { font-size: 0.7rem; letter-spacing: 0.03em; color: var(--fg-3); margin-bottom: 6px; }
.inst__read dd { font-family: var(--f-mono); font-size: 1.02rem; color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .6s var(--ease); }
.inst__read dd.is-rev { color: var(--jade-hi); }
.inst__meter { display: block; height: 3px; margin-top: 10px; border-radius: 2px; --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);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 2px), transparent calc(10% - 2px) 10%); mask: repeating-linear-gradient(90deg, #000 0 calc(10% - 2px), transparent calc(10% - 2px) 10%);
  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: 84%; 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: 112%; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.02em; }
.eco__layers h3[data-i18n="eco.l3"],
.eco__layers h3[data-i18n="eco.l5"] { font-size: 0.875rem; font-stretch: 100%; 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; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: #0b0f0d; box-shadow: 0 30px 70px -30px rgba(15, 32, 28, 0.55), 0 8px 18px -8px rgba(15, 32, 28, 0.25); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; }
.hcard__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.16), transparent 45%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.hcard:hover .hcard__img::after { opacity: 1; }
.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; padding-block: 16vh 22vh; overflow: hidden; color: var(--stone-ink); background: linear-gradient(180deg, var(--stone) 0%, var(--stone) 14%, #8d918a 34%, #1d2522 58%, var(--ink) 80%); }
.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; }
.wall { margin-top: 10vh; display: grid; gap: 18px; transform: perspective(1400px) rotateX(10deg) rotateZ(-3deg) scale(1.08); }
.wall__row { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.wall__row--b { animation-direction: reverse; animation-duration: 84s; }
.wall__row img { height: clamp(220px, 26vw, 360px); width: auto; max-width: none; border-radius: 14px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.wall:hover .wall__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Path ---------- */
.roadmap { padding-block: 14vh 16vh; }
.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); }

/* ---------- ETB private access ---------- */
.access { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-block: 16vh 12vh; }
.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, 380px); justify-content: start; gap: clamp(30px, 3.6vw, 56px); align-items: start; }
.access__copy { display: grid; gap: 24px; align-content: start; }
.access__copy h2 { font-size: clamp(2.4rem, 4.2vw, 4.6rem); }
.steps { display: grid; border-top: 1px solid var(--line-2); margin-top: 8px; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps b { font-family: var(--f-mono); font-weight: 500; font-size: 0.85rem; color: var(--fg-3); padding-top: 3px; }
.steps h3 { font-size: 1.02rem; font-weight: 650; }
.steps p { font-size: 0.92rem; color: var(--fg-2); }
.steps li.is-now b, .steps li.is-now h3 { color: var(--jade-hi); }
.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: 10vh calc(34px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--ink); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.6fr)) minmax(0, 1.2fr); gap: 40px; }
.footer__logo { width: 220px; }
.footer__tag { margin-top: 18px; color: var(--fg-3); max-width: 22em; }
.footer h4 { font-size: var(--fs-small); color: var(--fg-3); font-weight: 600; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer ul a { color: var(--fg-2); transition: color .3s; }
.footer ul a:hover { color: var(--jade-hi); }
.footer__legal { font-size: var(--fs-micro); color: var(--fg-3); line-height: 1.65; display: grid; gap: 10px; align-content: start; }
.footer__hum { width: 170px; margin-top: 26px; opacity: .9; }
.footer__bottom { margin-top: 9vh; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; 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 { margin-top: 8vh; width: 100%; opacity: .06; }

/* ---------- 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; }
}
@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; }
  .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: 1fr 1fr; }
  .inst__read div:nth-child(2) { border-right: 0; }
  .inst__read div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .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: 52vh; 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; }
}
@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; }
  .wall__row { animation: none; }
  .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; }
.connect-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.connect-card h3 { font-family: var(--f-display); font-size: clamp(1.35rem, 2.1vw, 1.9rem); letter-spacing: -.025em; overflow-wrap: anywhere; }
.connect-card__text { color: var(--fg-2); font-size: 1rem; }
.connect-card__links { display: grid; gap: 12px; justify-items: start; }
.connect-card .btn { height: auto; min-height: 54px; white-space: normal; text-align: center; padding-block: 14px; }
.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; }
  .connect-card { gap: 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; }
