/* BS2G — tokens, type, buttons, nav, cursor */
:root {
  --paper: #ECEFF3; --paper-2: #F6F7F9; --ink: #0E1726; --ink-2: #39455A; --mute: #576276;
  --night: #07101F; --night-2: #0C1A31; --navy: #023871; --royal: #2B44C0; --royal-l: #5B73E8; --electric: #3D5BFF;
  --brass: #C9A45C; --brass-l: #E1C487; --line: rgba(14, 23, 38, .12); --line-d: rgba(255, 255, 255, .14);
  --wide: 'Archivo', 'Arial Black', sans-serif; --sans: 'Geist', system-ui, sans-serif; --mono: 'Geist Mono', ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 64px); --ease: cubic-bezier(.2, .7, .1, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.wide { font-family: var(--wide); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: .95; }
.eyebrow { font: 500 12px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); display: flex; gap: 10px; align-items: center; margin: 0 0 20px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.dark .eyebrow { color: rgba(255,255,255,.6); }

.btn { --b: var(--ink); --c: #fff; display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; border-radius: 999px; background: var(--b); color: var(--c); text-decoration: none; font: 500 14px/1 var(--sans); letter-spacing: .02em; border: 1px solid transparent; cursor: pointer; transition: background .3s, color .3s, border-color .3s; white-space: nowrap; }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { padding: 11px 16px; font-size: 13px; }
.btn--dark { --b: var(--ink); --c: #fff; }
.btn--dark:hover { --b: var(--royal); }
.btn--light { --b: #fff; --c: var(--ink); }
.btn--light:hover { --b: var(--brass-l); }
.btn--royal { --b: var(--royal); --c: #fff; }
.btn--royal:hover { --b: var(--navy); }
.btn--line { --b: transparent; --c: currentColor; border-color: currentColor; }
.btn--line:hover { --b: rgba(255,255,255,.08); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px var(--pad); transition: transform .5s var(--ease), background .4s, color .4s; }
.nav.is-solid { background: rgba(236, 239, 243, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.is-dark { color: #fff; }
.nav.is-dark.is-solid { background: rgba(7, 16, 31, .78); border-color: var(--line-d); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__mark { width: 56px; height: 39px; color: var(--navy); --lg-a: #021D63; --lg-b: #005BC7; }
.nav.is-dark .nav__mark { color: #fff; --lg-a: #fff; --lg-b: #fff; }
.nav__word { font: 900 19px/1 var(--wide); font-stretch: 125%; letter-spacing: .02em; }
.nav__sub { font: 500 10px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; max-width: 120px; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { text-decoration: none; font-size: 13.5px; letter-spacing: .02em; opacity: .78; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav.is-dark .btn--dark { --b: #fff; --c: var(--ink); }
.nav__menu { display: none; background: none; border: 1px solid currentColor; border-radius: 999px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.drawer { position: fixed; inset: 72px 12px auto; background: var(--night); color: #fff; border-radius: 18px; padding: 18px; display: grid; gap: 4px; box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.drawer[hidden] { display: none; }
.drawer a { text-decoration: none; padding: 12px 10px; font: 700 20px/1.1 var(--wide); font-stretch: 112%; text-transform: uppercase; border-bottom: 1px solid var(--line-d); }
@media (max-width: 1020px) { .nav__links { display: none; } .nav__menu { display: inline-flex; } .nav__sub { display: none; } }
@media (max-width: 420px) { .nav__cta { display: none; } }
html.intro-on .nav { opacity: 0; }

/* cursor (fine pointers only) */
.cur { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; mix-blend-mode: difference; color: #fff; }
@media (hover: hover) and (pointer: fine) { html.has-cur .cur { display: block; } html.has-cur, html.has-cur a, html.has-cur button { cursor: none; } }
.cur__ring { position: absolute; width: 46px; height: 46px; margin: -23px 0 0 -23px; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); }
.cur__ring svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; overflow: visible; }
.cur__ring svg path { stroke-width: 1.2; transition: opacity .3s; }
.cur__dot { position: absolute; width: 4px; height: 4px; margin: -2px 0 0 -2px; background: currentColor; border-radius: 50%; }
.cur__label { position: absolute; left: 30px; top: -8px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .25s; }
.cur__xy { position: absolute; left: 30px; top: 8px; font: 400 9px/1 var(--mono); letter-spacing: .1em; opacity: .55; white-space: nowrap; }
.cur.is-hot .cur__ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; }
.cur.is-hot .cur__ring path { opacity: 0; }
.cur.is-hot .cur__label { opacity: 1; }
html.cur-text .cur { opacity: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in, html:not(.js) .reveal, html.reduced .reveal { opacity: 1; transform: none; }

/* glitch type */
.gl { position: relative; overflow: hidden; }
.gl.is-gl { color: var(--electric); text-shadow: -3px 0 rgba(61, 91, 255, .55), 3px 0 rgba(201, 164, 92, .35); }
.gl::after { content: attr(data-text); position: absolute; inset: 0; color: var(--electric); opacity: 0; pointer-events: none; transform: translateX(calc(var(--gx, -110%) * .15)); clip-path: inset(0 0 0 0); filter: blur(.4px); }
.gl.is-gl::after { opacity: .35; }
html.js .hero__tag, html.js .hero__line span { opacity: 0; }
html.reduced .hero__tag, html.reduced .hero__line span, html:not(.js) .hero__line span { opacity: 1; }

html.js:not(.reduced):not(.no-gsap) [data-glitch-on] { opacity: 0; }
.dark .gl.is-gl, .hero__copy .gl.is-gl { color: #A5B4FF; }
.dark .gl::after { color: #A5B4FF; }

/* tour chip */
.tourchip { position: fixed; z-index: 60; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 6px 6px 6px 14px; border-radius: 999px; background: rgba(7, 16, 31, .9); color: #fff; border: 1px solid rgba(201, 164, 92, .4); box-shadow: 0 18px 40px -16px rgba(2, 12, 40, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; opacity: 0; transform: translate(-50%, 16px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tourchip.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.tourchip__box { width: 16px; height: 10px; border-radius: 2px; background: var(--royal); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); animation: bob 1.4s ease-in-out infinite; }
.tourchip[data-state='paused'] .tourchip__box, .tourchip[data-state='done'] .tourchip__box { animation: none; }
@keyframes bob { 50% { transform: translateY(-2px); } }
.tourchip__bar { width: 90px; height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
.tourchip__bar i { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .9s var(--ease); }
.tourchip[data-state='done'] .tourchip__bar i { transform: scaleX(1); }
.tourchip__b { min-height: 36px; min-width: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--brass); color: var(--ink); font: inherit; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.tourchip__b:hover, .tourchip__b:focus-visible { background: var(--brass-l); }
@media (max-width: 560px) { .tourchip__bar { width: 44px; } .tourchip { gap: 10px; } }

/* journey rail */
.rail { position: fixed; z-index: 40; right: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 22px; padding: 6px 0; color: var(--ink); transition: color .4s; }
.rail.is-dark { color: #fff; }
.rail__line { position: absolute; right: 5px; top: 12px; bottom: 12px; width: 1px; background: currentColor; opacity: .22; }
.rail__line i { position: absolute; inset: 0; background: var(--brass); transform-origin: 50% 0; transform: scaleY(0); opacity: 1; }
.rail__box { position: absolute; right: -1px; top: 0; width: 13px; height: 9px; margin-top: -4.5px; border-radius: 2px; background: var(--royal); box-shadow: 0 0 0 2px var(--paper), 0 4px 12px rgba(43,68,192,.5); z-index: 2; }
.rail.is-dark .rail__box { box-shadow: 0 0 0 2px var(--night), 0 4px 12px rgba(91,115,232,.6); }
.rail__stop { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; min-height: 24px; }
.rail__dot { width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; opacity: .5; transition: opacity .3s, background .3s; }
.rail__stop.is-past .rail__dot { background: var(--brass); border-color: var(--brass); opacity: 1; }
.rail__t { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s var(--ease); }
.rail__stop:hover .rail__t, .rail__stop:focus-visible .rail__t, .rail__stop.is-on .rail__t { opacity: .9; transform: none; }
.rail__stop.is-on .rail__dot { opacity: 0; }
@media (max-width: 1100px) { .rail { display: none; } }
html.intro-on .rail { opacity: 0; }
