/* SKYLODE · a vertical parallax slider of photo collages.
   Each slide is one full-screen scene built from cut-out photographs in layers, with a heavy lowercase title and a small
   right-aligned note beside it. A thin frame stays put: mark and network line on top, counter, links and
   arrows at the bottom. Detail lives in sheets that slide in from the right on a cool white ground.
   Type: Poppins, heavy for titles and light for notes; JetBrains Mono for figures and commands. */
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-700.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-800.woff2") format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --fg: #ffffff;
  --fg-2: rgba(255, 255, 255, 0.82);
  --fg-3: rgba(255, 255, 255, 0.62);
  --fg-rule: rgba(255, 255, 255, 0.34);
  --paper: #f2f3f4;
  --paper-2: #e7e9eb;
  --ink: #141517;
  --ink-2: #3e4248;
  --ink-3: #62676e;
  --rule: rgba(20, 21, 23, 0.13);
  --rule-2: rgba(20, 21, 23, 0.26);
  --blue: #2235e0;
  --blue-wash: rgba(34, 53, 224, 0.07);
  --ok: #1f7a4d;
  --warn: #a6421a;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gx: clamp(18px, 2.6vw, 40px);
  --gy: clamp(16px, 2.4vw, 34px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
body[data-foot="light"] .frame-bot { --fg: #ffffff; --fg-2: rgba(255, 255, 255, 0.82); --fg-rule: rgba(255, 255, 255, 0.34); }
body[data-tone="dark"] { --fg: #17181a; --fg-2: rgba(23, 24, 26, 0.8); --fg-3: rgba(23, 24, 26, 0.6); --fg-rule: rgba(23, 24, 26, 0.3); }

* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0b0b0d; color: var(--fg); font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: color 0.6s var(--ease); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button[disabled] { cursor: default; }
code, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }


/* ---------------- the frame ---------------- */
.frame { position: fixed; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 18px; padding: 0 var(--gx); font-size: 11px; line-height: 1; color: var(--fg); transition: color 0.6s var(--ease); }
.frame-top { top: 0; height: calc(var(--gy) * 2 + 34px); padding-top: env(safe-area-inset-top); }
.frame-bot { bottom: 0; height: calc(var(--gy) * 2 + 18px); padding-bottom: env(safe-area-inset-bottom); }
.mark { display: inline-flex; align-items: center; gap: 12px; }
/* the mark: one block, cut once on a slant, the slice set a little aside */
.mark-box { display: block; width: 38px; height: 23px; }
.mark-box i { display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask: url("/mark.svg") center / contain no-repeat; mask: url("/mark.svg") center / contain no-repeat; }
.mark-word { letter-spacing: 0.24em; }
.mark-word { font: 800 13px/1 var(--sans); letter-spacing: 0.16em; }
.status { display: flex; align-items: center; gap: 7px; margin-left: clamp(8px, 6vw, 96px); color: var(--fg-2); white-space: nowrap; letter-spacing: 0.02em; }
.status b { font: 500 11px/1 var(--mono); color: var(--fg); }
.status .sep { width: 1px; height: 10px; background: var(--fg-rule); margin: 0 3px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: #5fd39a; box-shadow: 0 0 0 3px rgba(95, 211, 154, 0.22); flex: none; }
.dot.off { background: #f08a5d; box-shadow: 0 0 0 3px rgba(240, 138, 93, 0.22); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.txt, .lang, .more { font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.txt { position: relative; padding: 8px 0; }
.txt::after, .more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.45s var(--ease); }
.txt:hover::after, .more:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.lang { height: 28px; padding: 0 9px; box-shadow: inset 0 0 0 1px var(--fg-rule); color: var(--fg); }
.lang:hover { box-shadow: inset 0 0 0 1px currentColor; }
.count { font: 600 11px/1 var(--sans); letter-spacing: 0.12em; }
.count b { font-weight: 600; }
.social { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 22px; font: 600 11px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); }
.social a:hover { color: var(--fg); }
.arrows { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.arrows button { display: grid; place-items: center; width: 30px; height: 30px; color: var(--fg); transition: opacity 0.3s; }
.arrows button[disabled] { opacity: 0.3; }
.arrows-div { width: 1px; height: 22px; background: var(--fg-rule); }
.chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.chev.up { transform: translateY(2px) rotate(-135deg); }
.frame-bot .txt { margin-left: 22px; }

/* ---------------- slides ---------------- */
.slides { position: fixed; inset: 0; z-index: 10; overflow: hidden; background: #0b0b0d; }
.slide { position: absolute; inset: 0; visibility: hidden; overflow: hidden; }
.slide.on { visibility: visible; }
/* painted once at load, nearly transparent and under everything, so the first real pass is already rasterised */
.slide.warm { visibility: visible; opacity: 0.002; z-index: -1; pointer-events: none; }
.slide.on .scene { will-change: transform; }
body[data-tone="light"] .s-copy { text-shadow: 0 1px 22px rgba(28, 18, 40, 0.22); }
body[data-tone="light"] .s-side { text-shadow: 0 1px 2px rgba(28, 18, 40, 0.35), 0 1px 12px rgba(28, 18, 40, 0.45); }
.s-side .btn, .s-side .cmd { text-shadow: none; }
.s-copy { position: absolute; left: clamp(20px, 17vw, 340px); right: var(--gx); display: grid; grid-template-columns: max-content minmax(0, 290px); column-gap: clamp(20px, 3vw, 48px); align-items: end; }
.kick { grid-column: 1 / -1; margin-bottom: clamp(12px, 1.6vw, 22px); font: 600 10.5px/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); }
.kick b { font: 600 11px/1 var(--mono); letter-spacing: 0.04em; color: var(--fg); }
.s-title { font: 800 clamp(54px, 7.6vw, 128px)/0.9 var(--sans); letter-spacing: -0.04em; text-transform: lowercase; }
.ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ln > span { display: block; }
.clock { font: 700 0.86em/1 var(--mono); letter-spacing: -0.05em; }
.s-side { display: grid; gap: 14px; justify-items: end; text-align: right; padding-bottom: 0.9em; font-size: 12.5px; line-height: 1.6; color: var(--fg-2); }
.s-side > p { max-width: 30ch; }
.more { position: relative; padding: 6px 0; color: var(--fg); }
.s-act { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 22px; }
.mini { display: grid; gap: 0; min-width: 220px; border-top: 1px solid var(--fg-rule); }
.mini div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px solid var(--fg-rule); }
.mini dt { color: var(--fg-3); }
.mini dd { font: 500 12px/1.6 var(--mono); color: var(--fg); }
.mini.token dd { display: flex; gap: 10px; align-items: center; min-width: 0; }
.mini.token code { font-size: 11.5px; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fine { max-width: 30ch; font-size: 11px; color: var(--fg-3); }
.burns { font-size: 12px; }
.burns ul { list-style: none; margin: 6px 0 0; padding: 0; }
/* the concession sheet: a slim window onto the first slide's sky, then the console */
.sh-hero { position: relative; display: grid; gap: 18px; align-content: end; min-height: 200px; padding: clamp(22px, 3vw, 34px); overflow: hidden; color: #fff; isolation: isolate; }
.sh-hero-art { position: absolute; inset: 0; z-index: -1; background: url(/img/sky-pink.webp) 62% 38% / cover; }
.sh-hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 30, 70, 0.05), rgba(40, 28, 64, 0.5)); }
.sh-hero .sh-title { color: #fff; }
.acc { justify-self: start; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px 7px 11px; font: 600 10.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.acc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); }
.acc:has(.ok)::before { background: #5ee08f; box-shadow: 0 0 0 3px rgba(94, 224, 143, 0.22); }
.p-idx { display: flex; align-items: center; gap: 10px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; color: var(--ink-3); }
.p-idx::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.5; }
.panel.panel-bal { background: var(--ink); color: #fff; }
.panel-bal .p-idx { color: rgba(255, 255, 255, 0.5); }
.panel-bal .bal dt { color: rgba(255, 255, 255, 0.56); }
.panel-bal .bal-main dd { color: rgba(255, 255, 255, 0.7); }
.panel-bal .bal-main b { color: #fff; }
.panel-bal .check { background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.82); }

/* three compositions, as in a slider that keeps changing where the words sit */
.lay-a .s-copy { top: 22vh; top: 22dvh; }
.lay-b .s-copy { bottom: 17vh; bottom: 17dvh; }
.lay-c .s-copy { top: 29vh; top: 29dvh; left: clamp(20px, 20vw, 380px); grid-template-columns: max-content; }
.lay-c .s-side { justify-items: end; padding-bottom: 0; margin-top: 14px; }
@media (min-width: 861px) {
  /* 01: the title sits left of the cloud, the note drops below the car on the right, as in the reference */
  #top .s-copy { left: 20vw; }
  #top .s-title { font-size: clamp(54px, 6.4vw, 120px); }
  #top .s-side { position: absolute; top: calc(100% + 9vh); right: calc(18vw - var(--gx)); width: 290px; }
  #floor .s-copy { top: 39vh; top: 39dvh; left: 22vw; }
  #floor .kick { margin-bottom: 6px; color: rgba(255, 255, 255, 0.92); }
  #floor .kick b { color: #fff; }
  #floor .s-title { font-size: clamp(48px, 7.4vw, 136px); line-height: 1; white-space: nowrap; color: #232425; }
  #floor .s-side { justify-items: end; text-align: right; margin-top: clamp(10px, 1.6vh, 18px); gap: 10px; padding-bottom: 0; color: #fff; }
  #floor .s-side .row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 22px; max-width: 31vw; }
  #floor .s-side .mini { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; border: 0; min-width: 0; }
  #floor .s-side .mini div { gap: 6px; padding: 0; border: 0; align-items: baseline; }
  #floor .s-side .mini dt { color: rgba(255, 255, 255, 0.82); font-size: 11.5px; }
  #floor .s-side .mini dd { color: #fff; }
  #floor .s-side .copy { color: #fff; }
  #floor .s-side .more { color: #fff; }
  #floor .fine { max-width: 31vw; color: rgba(255, 255, 255, 0.78); }
  #floor .s-side { margin-right: -7vw; }
  #floor .s-side { text-shadow: 0 1px 8px rgba(40, 50, 52, 0.28); }
}


/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; font: 600 13px/1 var(--sans); letter-spacing: 0.01em; white-space: nowrap; transition: background 0.25s var(--ease), color 0.25s, box-shadow 0.25s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--fg); color: #17181a; }
body[data-tone="dark"] .btn-solid { color: #fff; }
.btn-solid:hover { box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.6); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2b2e33; }
.btn-line { box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { height: 38px; padding: 0 15px; font-size: 12.5px; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.copy { font: 700 10.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: inherit; opacity: 0.8; }
.copy:hover:not([disabled]) { opacity: 1; }
.copy[disabled] { opacity: 0.35; }
.cmd { display: flex; align-items: stretch; min-width: 0; max-width: 100%; background: rgba(20, 21, 23, 0.9); color: #eef0f2; text-align: left; }
.cmd code { flex: 1; min-width: 0; padding: 0 14px; display: flex; align-items: center; min-height: 42px; font-size: 12.5px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd code::before { content: "$"; color: #8b93a0; margin-right: 10px; }
.cmd .copy { padding: 0 14px; color: #d4d8dd; box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.14); }
.s-side .cmd { width: min(380px, 100%); }


/* ---------------- scenes: photographs in layers ---------------- */
.scene { position: absolute; inset: 0; pointer-events: none; }
.s-copy { z-index: auto; }
/* the title may sit behind a foreground object, as in the reference; the note and buttons never do */
.s-title { position: relative; z-index: 2; }
.kick, .s-side { position: relative; z-index: 4; }
.scene-front { z-index: 3; }
.ly { position: absolute; }
/* GPU layers only where something moves: the wrappers of the slide on screen (pointer parallax), and every layer of
   the two slides in a transition. Promoting all four slides at retina size runs Chrome out of tile memory and the
   sky then paints in patches. */
.slide.on .ly, .slide.on .ly .px { will-change: transform; }
/* every other slide stays painted, almost invisible, with the same layers, so a change of slide never waits for
   Chrome to rasterise the next picture (it showed as a patch of sky). They sit above the one on screen, not behind
   it: Chrome skips tiles that an opaque layer covers, so a slide parked behind would never actually be painted. */
@media (min-width: 861px) {
  .slide.near { visibility: visible; opacity: 0.002; z-index: 3; pointer-events: none; }
  .slide.near * { pointer-events: none; }
  .slide.near .scene, .slide.near .ly, .slide.near .ly .px { will-change: transform; }
}
.ly .px { width: 100%; height: 100%; }
.ly img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.ly.bg { inset: -6vh -3vw; }
.ly.bg img { width: 100%; height: 100%; object-fit: cover; }
.drift { animation: drift 18s ease-in-out infinite alternate; }
.drift-s { animation: drift 26s ease-in-out infinite alternate-reverse; }
.bob { animation: bob 6s ease-in-out infinite; }
.bob-slow { animation: bob-r 9s ease-in-out infinite; }
.hover { animation: bob 5s ease-in-out infinite; }
.hover-s { animation: bob 4s ease-in-out -1.5s infinite; }
.flap { animation: flock 11s ease-in-out infinite alternate; }
.turn { animation: glow 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(2.2%, -1.2%, 0) scale(1.02); } }
@keyframes bob { 50% { transform: translate3d(0, -3.5%, 0) rotate(0.6deg); } }
@keyframes bob-r { 0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.5deg); } 50% { transform: translate3d(0, -2.5%, 0) rotate(1.5deg); } }
@keyframes flock { to { transform: translate3d(6%, -5%, 0) scale(1.04); } }
@keyframes glow { to { transform: translate3d(0, -1.2%, 0) scale(1.012); } }

/* 01 · in the clouds */
.sc-clouds .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(104, 112, 178, 0.55), rgba(214, 150, 182, 0.12) 55%, rgba(236, 178, 170, 0.35)); }
.sc-clouds .c-back { left: 52vw; top: 4vh; width: 46vw; opacity: 0.45; }
/* reference frame: one thick pink column of cloud in the middle; the car bursts out of its right side, nose still inside */
.sc-clouds .tower { left: calc(55vw - 34.5vh); top: 7vh; height: 84vh; width: 69vh; }
.sc-clouds .tower .px, .sc-clouds .tower img { width: 100%; height: 100%; }
.sc-clouds .car { left: 41.4vw; top: calc(37vh - 3.6vw); width: 25.2vw; transform-origin: 50% 50%; }
.sc-clouds .car .px { transform: rotate(-28deg); }

/* 02 · to the unknown */
.sc-unknown .planet { left: 42vw; top: 11vh; width: min(33vw, 64vh); }
.sc-unknown .sand { left: -3vw; right: -3vw; bottom: -4vh; height: 34vh; }
.sc-unknown .sand img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* the pair stand out on the plain, not at the lens: smaller, feet on the sand, graded to the red light */
.sc-unknown .couple { left: 63vw; bottom: 23vh; height: 21vh; width: auto; }
.sc-unknown .couple .px, .sc-unknown .couple img { width: auto; height: 100%; }
.sc-unknown .couple .px { position: relative; }
.sc-unknown .couple .px::after { content: ""; position: absolute; z-index: -1; left: -4%; right: -30%; bottom: -1.5%; height: 5%; background: radial-gradient(ellipse at 38% 50%, rgba(64, 18, 6, 0.6), rgba(64, 18, 6, 0) 70%); }

/* 03 · a sky odyssey */
.sc-odyssey .grad { inset: -6vh -3vw; background: linear-gradient(180deg, #86aab8 0%, #a4bfc6 52%, #c9d5d2 100%); }
.sc-odyssey .c-left { left: -12vw; bottom: -14vh; width: 52vw; }
.sc-odyssey .c-right { right: -10vw; bottom: -6vh; width: 54vw; }
.sc-odyssey .c-mid { left: 30vw; bottom: -16vh; width: 44vw; }
.sc-odyssey .shadow { left: 50vw; top: 76vh; width: 16vw; height: 4vh; }
.sc-odyssey .shadow i { display: block; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(closest-side, rgba(80, 50, 70, 0.32), transparent); }
.sc-odyssey .astro { left: 47vw; top: 8vh; height: 64vh; width: auto; }
.sc-odyssey .astro .px { height: 100%; transform: rotate(-30deg); }
.sc-odyssey .astro img { width: auto; height: 100%; }
.sc-odyssey .birds { left: 37vw; top: 70vh; width: 22vw; opacity: 0.85; }

/* 04 · believe it */
.sc-believe .grad { inset: -6vh -3vw; background: linear-gradient(180deg, #8e9c99 0%, #a6b1ad 48%, #bcc3be 76%, #c2c4bd 100%); }
/* reference frame: a small cloud left, a big one right, three saucers in a row, the big one shining down */
.sc-believe .c-left { left: 20vw; top: 10vh; width: 19vw; }
.sc-believe .c-right { left: 52vw; top: 6vh; width: 37vw; }
.sc-believe .ufo { left: 36vw; top: 12vh; width: 26vw; }
/* the saucers read as dark gunmetal in the reference, not bright chrome */
.sc-believe .ufo-s1 { left: 23vw; top: 21vh; width: 8vw; }
.sc-believe .ufo-s2 { left: 70vw; top: 14.5vh; width: 4.6vw; }
.sc-believe .beam { left: 44.6vw; top: 25.5vh; width: 9vw; height: 21vh; }
.sc-believe .beam img { display: block; width: 100%; height: 100%; }
/* the dark field: a near-flat horizon that falls gently to the right */
.sc-believe .hill { left: -3vw; right: -3vw; bottom: -4vh; height: 32vh; }
.sc-believe .hill .px, .sc-believe .hill picture { display: block; width: 100%; height: 100%; }
.sc-believe .hill img { display: block; width: 100%; height: 100%; object-fit: fill; }
.sc-believe .watcher { left: calc(49.6vw - 3.6vh); bottom: 22.4vh; height: 12vh; width: auto; }
.sc-believe .watcher .px, .sc-believe .watcher img { width: auto; height: 100%; }

/* ---------------- sheets ---------------- */
.scrim { position: fixed; inset: 0; z-index: 30; background: rgba(12, 13, 16, 0.42); }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; z-index: 40; width: min(640px, 100vw); display: flex; flex-direction: column; background: var(--paper); color: var(--ink); box-shadow: -30px 0 60px -30px rgba(12, 13, 16, 0.5); }
.sheet-wide { width: min(940px, 100vw); }
.sh-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 clamp(20px, 3.4vw, 48px); border-bottom: 1px solid var(--rule); }
.sh-head .kick { margin: 0; color: var(--ink-3); }
.sh-close { position: relative; font: 700 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 0 10px 22px; }
.sh-close::before, .sh-close::after { content: ""; position: absolute; left: 0; top: 50%; width: 13px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.sh-close::after { transform: rotate(-45deg); }
.sh-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(28px, 4vw, 52px) clamp(20px, 3.4vw, 48px) 64px; display: grid; gap: 34px; align-content: start; }
.sh-title { font: 800 clamp(32px, 3.6vw, 48px)/1 var(--sans); letter-spacing: -0.035em; text-transform: lowercase; text-wrap: balance; }
.note { font-size: 13px; color: var(--ink-3); }
.note:empty { display: none; }
.link { color: var(--ink-2); text-decoration: underline; text-underline-offset: 0.2em; font-size: 13px; }
.field { height: 40px; padding: 0 12px; border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--rule-2); color: var(--ink); font-size: 14px; caret-color: var(--blue); }
.field:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.sheet :focus-visible { outline-color: var(--blue); }

/* supply */
.supply { margin: 0; }
.supply svg { width: 100%; height: auto; display: block; overflow: visible; }
.supply figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
.sv-grid { stroke: var(--rule); stroke-width: 1; }
.sv-cap { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; }
.sv-axis { font: 11px var(--mono); fill: var(--ink-3); }
.sv-area { fill: url(#sv-rock); }
.sv-line { fill: none; stroke: var(--ink); stroke-width: 2; }
.sv-dot { fill: var(--blue); }
.sv-tag { font: 600 12px var(--sans); fill: var(--blue); }
.spec { border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 13.5px; }
.spec dt { color: var(--ink-3); }
.spec dd { font-weight: 500; }

/* how to mine */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--ink); }
.steps li { counter-increment: s; position: relative; display: grid; gap: 8px; padding: 20px 0 22px 48px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: "0" counter(s); position: absolute; left: 0; top: 22px; font: 600 12px/1 var(--mono); color: var(--ink-3); }
.steps h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.steps p { color: var(--ink-2); font-size: 14px; }
.steps p code { font-size: 0.9em; padding: 1px 5px; background: var(--paper-2); }
.steps .btn, .steps .cmd { justify-self: start; margin-top: 4px; }
.steps .cmd { width: min(100%, 480px); background: var(--ink); }
.term { margin: 0; background: var(--ink); color: #dfe3e8; overflow: hidden; }
.term figcaption { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; font: 700 10.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: #8b93a0; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08); }
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.term pre { margin: 0; padding: 18px 16px 22px; min-height: 250px; font: 12.5px/1.75 var(--mono); white-space: pre-wrap; word-break: break-word; }
.term .c { color: #fff; }
.term .t { color: #8b93a0; }
.term .g { color: #a9b6ff; }
.cursor { display: inline-block; width: 8px; height: 14px; background: #dfe3e8; vertical-align: -2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* the console */
.console { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; background: var(--rule-2); box-shadow: 0 0 0 1px var(--rule-2); }
.panel { background: var(--paper); padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 14px; align-content: start; }
.panel h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.panel > p, .panel #connect-box > p { color: var(--ink-2); font-size: 14px; }
.panel-key { grid-column: span 7; }
.panel-bal { grid-column: span 5; }
.panel-rig { grid-column: span 5; }
.panel-wd { grid-column: span 7; }
#connect-box { display: grid; gap: 14px; justify-items: start; }
.wallets { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 100%; max-width: 340px; }
.wallets button { width: 100%; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; box-shadow: inset 0 0 0 1px var(--rule-2); font-weight: 500; font-size: 14px; }
.wallets button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.wallets img { width: 22px; height: 22px; }
.kv { display: grid; border-top: 1px solid var(--rule); }
.kv div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.kv dt { font-size: 12.5px; color: var(--ink-3); }
.kv dd { min-width: 0; font-size: 13.5px; }
.keyrow { display: flex; align-items: center; gap: 14px; }
.keyrow code { flex: 1; min-width: 0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv-row { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.kv-row div { grid-template-columns: 1fr; gap: 4px; border-bottom: 0; }
.kv-row div + div { padding-left: 14px; box-shadow: inset 1px 0 0 var(--rule); }
.bal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
.bal-main { grid-column: 1 / -1; }
.bal dt { font-size: 12.5px; color: var(--ink-3); }
.bal dd { margin-top: 4px; font: 500 15px/1.2 var(--mono); }
.bal-main dd { font-size: 14px; color: var(--ink-2); }
.bal-main b { font: 700 clamp(32px, 3.2vw, 44px)/1 var(--mono); color: var(--ink); letter-spacing: -0.03em; }
.rigmark { margin-left: 6px; padding: 3px 6px; font: 700 10px/1 var(--sans); letter-spacing: 0.12em; background: var(--blue); color: #fff; vertical-align: 6px; }
.check { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 13px 14px; background: var(--paper); font-size: 13px; color: var(--ink-2); }
.check.due { background: var(--blue-wash); color: var(--blue); }
.panel-rig .btn, .panel-wd .btn { justify-self: start; }
.wd-row { display: flex; gap: 8px; }
.wd-row .field { flex: 1; min-width: 0; max-width: 240px; }
.wd-list { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--ink-2); }
.wd-list li { padding: 8px 0; border-top: 1px solid var(--rule); }
.wd-list a { color: var(--blue); }

/* the register */
.netstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.netstats div { padding: 16px 16px 0 0; }
.netstats div + div { padding-left: 18px; box-shadow: inset 1px 0 0 var(--rule); }
.netstats dt { font-size: 12.5px; color: var(--ink-3); }
.netstats dd { margin-top: 8px; font: 600 clamp(20px, 2vw, 26px)/1.1 var(--mono); letter-spacing: -0.02em; }
.hour { margin: 0; }
.hour figcaption { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-3); margin-bottom: 12px; }
.bars { display: grid; grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 3px; height: 110px; align-items: end; border-bottom: 1px solid var(--ink); }
.bars i { display: block; height: calc(var(--v, 0.04) * 100%); min-height: 2px; background: var(--ink-2); transition: height 0.6s var(--ease); }
.bars i.empty { background: var(--rule-2); }
.bars i.now { background: var(--blue); }
.tables { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.tbl-wrap h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--ink-3); padding: 0 10px 10px 0; border-bottom: 1px solid var(--ink); }
.tbl td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.tbl td:first-child { font-weight: 600; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: var(--blue-wash); }
.tbl tr.click td:first-child { color: var(--blue); }
.tbl tr.me td { background: var(--blue-wash); }
.tbl em { font-style: normal; font: 700 9.5px/1 var(--sans); letter-spacing: 0.1em; padding: 2px 5px; margin-left: 6px; background: var(--ink); color: #fff; vertical-align: 1px; }
.tbl .empty { font-family: var(--sans); color: var(--ink-3); font-weight: 400; }
.tbl tr.detail td { background: #fff; padding: 0; }
.payouts { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 18px; padding: 14px 14px 16px; font-size: 12px; }
.payouts b { grid-column: 1 / -1; font-family: var(--sans); font-weight: 600; margin-bottom: 4px; }

/* faq */
.qa { border-top: 1px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-size: 15.5px; font-weight: 600; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-top: 7px; background: linear-gradient(var(--ink), var(--ink)) center / 11px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 11px no-repeat; transition: transform 0.4s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.ans { overflow: hidden; }
.ans p { padding: 0 0 20px; max-width: 64ch; font-size: 14px; color: var(--ink-2); }

/* ---------------- responsive ---------------- */
@media (max-width: 1080px) {
  .social { display: none; }
}
@media (max-width: 860px) {
  .slide::before { content: ""; position: absolute; inset: 38% 0 0; background: linear-gradient(180deg, transparent, rgba(16, 12, 24, 0.5) 62%); pointer-events: none; transition: opacity 0.6s; }
  body[data-tone="dark"] .slide::before { background: linear-gradient(180deg, transparent, rgba(255, 246, 240, 0.6) 62%); }
  .slide .s-copy { left: var(--gx); right: var(--gx); top: auto; bottom: calc(var(--gy) * 2 + 34px); grid-template-columns: minmax(0, 1fr); }
  .s-title { font-size: clamp(46px, 13vw, 80px); }
  .s-side { justify-items: start; text-align: left; padding-bottom: 0; margin-top: 16px; }
  .s-side > p { max-width: 40ch; }
  .s-act { justify-content: flex-start; }
  .mini { width: 100%; }
  .tables { grid-template-columns: minmax(0, 1fr); }
  .panel-key, .panel-bal, .panel-rig, .panel-wd { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .sc-clouds .c-back { left: 30vw; top: 2vh; width: 90vw; }
  .sc-clouds .tower { left: calc(52vw - 22vh); top: 7vh; height: 54vh; width: 44vh; }
  .sc-clouds .car { left: 19.6vw; top: calc(22vh - 10.4vw); width: 72.8vw; }
  .sc-unknown .planet { left: 18vw; top: 9vh; width: 78vw; }
  .sc-unknown .sand { height: 48vh; }
  .sc-unknown .couple { left: 56vw; bottom: 37vh; height: 13vh; }
  .sc-odyssey .astro { left: 20vw; top: 8vh; height: 42vh; }
  .sc-odyssey .birds { left: 52vw; top: 12vh; width: 44vw; }
  .sc-odyssey .shadow { left: 34vw; top: 48vh; width: 34vw; }
  .sc-odyssey .c-left { left: -40vw; bottom: 10vh; width: 120vw; }
  .sc-odyssey .c-right { right: -50vw; bottom: 4vh; width: 130vw; }
  .sc-odyssey .c-mid { left: -10vw; bottom: -6vh; width: 120vw; }
  .sc-believe .c-left { left: -8vw; top: 12vh; width: 44vw; }
  .sc-believe .c-right { left: 36vw; top: 5vh; width: 80vw; }
  .sc-believe .beam { left: 40vw; top: 21vh; width: 20vw; height: 12vh; }
  .sc-believe .ufo { left: 18vw; top: 13vh; width: 64vw; }
  .sc-believe .ufo-s1 { left: 4vw; top: 24vh; width: 18vw; }
  .sc-believe .ufo-s2 { left: 76vw; top: 10vh; width: 12vw; }
  .sc-believe .hill { height: 58vh; }
  .sc-believe .hill .px, .sc-believe .hill picture { display: block; width: 100%; height: 100%; }
  .sc-believe .watcher { left: 45vw; bottom: 52.6vh; height: 10vh; }
}
@media (max-width: 640px) {
  .hide-s, .status #tl-status, .status .sep1 { display: none; }
  .status { margin-left: 4px; }
  .top-r { gap: 14px; }
  .frame-top .txt { display: none; }
  .mini div:nth-child(n + 3) { display: none; }
  .bal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kv-row { grid-template-columns: minmax(0, 1fr); }
  .kv-row div + div { padding-left: 0; box-shadow: inset 0 1px 0 var(--rule); }
  .wd-row { flex-wrap: wrap; }
  .wd-row .field { max-width: none; flex-basis: 100%; }
  .bars { gap: 2px; height: 84px; }
  .tbl th:nth-child(4), .tbl td:nth-child(4) { display: none; }
}
@media (max-height: 640px) and (min-width: 861px) {
  .lay-a .s-copy { top: 16vh; }
  .s-title { font-size: clamp(48px, 6.4vw, 96px); }
}
@media (prefers-reduced-motion: reduce) {
  .drift, .drift-s, .bob, .bob-slow, .hover, .hover-s, .flap, .turn { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* the balance card is dark, so its states and button turn over */
.panel-bal .check.due { background: rgba(120, 140, 255, 0.16); color: #cdd3ff; }
.panel-bal .btn-ink { background: #fff; color: var(--ink); }

/* quiet motion: the minute drawn as a hairline across the top */
.cut-line { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 1px; background: currentColor; color: var(--fg); opacity: 0.55; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.3s linear, opacity 0.6s; pointer-events: none; }
.cut-line.reset { transition: none; }
.cut-line.flash { opacity: 1; }

@media (prefers-reduced-motion: reduce) { .ly.bg img { animation: none; } .cut-line { transition: none; } }

/* ---------------- opening ---------------- */
/* the sky stays a hair short of opaque, so Chrome keeps painting the first slide underneath it (it skips whatever an
   opaque layer covers) and the reveal never waits on raster */
.opening { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; animation: op-fail 0.8s ease 7s forwards; }
.opening.go { animation: none; }
.op-sky { position: absolute; inset: 0; opacity: 0.992; background: radial-gradient(120% 80% at 50% 38%, #c7a3d6 0%, rgba(199, 163, 214, 0) 60%), linear-gradient(180deg, #8c86cd 0%, #b394d3 46%, #e7a9c6 100%); will-change: opacity; }
.op-cl { position: absolute; bottom: -30vh; width: 36vw; height: auto; opacity: 0; will-change: transform, opacity; animation: op-cl 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards; }
.op-cl-l { left: -9vw; --s: 1; }
.op-cl-r { right: -9vw; --s: -1; }
.op-c { position: absolute; left: 50%; top: 50%; display: grid; justify-items: center; gap: 18px; transform: translate(-50%, -54%); color: #fff; will-change: transform, opacity; }
/* the mark is a window in the shape of the wings: white rises into it, then a band of light crosses it once */
.op-mk { position: relative; width: clamp(84px, 9vw, 120px); aspect-ratio: 200 / 120; overflow: hidden; -webkit-mask: url("/mark.svg") center / contain no-repeat; mask: url("/mark.svg") center / contain no-repeat; }
.op-mark { display: block; width: 100%; height: 100%; background: #fff; opacity: 0; transform: translate3d(0, 100%, 0); animation: op-rise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards; }
.op-sheen { position: absolute; inset: -20% auto -20% 0; width: 46%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(214, 160, 200, 0.9), rgba(255, 255, 255, 0)); transform: translate3d(-120%, 0, 0) skewX(-12deg); opacity: 0; animation: op-sheen 1.3s cubic-bezier(0.45, 0, 0.25, 1) 1.15s forwards; mix-blend-mode: normal; }
.op-word { display: flex; margin: 0; font: 600 15px/1 var(--sans); letter-spacing: 0.46em; margin-right: -0.46em; }
.op-word span { display: block; opacity: 0; transform: translate3d(0, 0.7em, 0); animation: op-rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.op-word span:nth-child(1) { animation-delay: 0.55s; } .op-word span:nth-child(2) { animation-delay: 0.6s; } .op-word span:nth-child(3) { animation-delay: 0.65s; }
.op-word span:nth-child(4) { animation-delay: 0.7s; } .op-word span:nth-child(5) { animation-delay: 0.75s; } .op-word span:nth-child(6) { animation-delay: 0.8s; } .op-word span:nth-child(7) { animation-delay: 0.85s; }
.op-cap { margin: -6px 0 0; font: 500 10px/1 var(--mono); letter-spacing: 0.28em; text-transform: uppercase; opacity: 0; animation: op-fade 1s ease 1.1s forwards; }
.op-bar { display: block; width: 120px; height: 1px; background: rgba(255, 255, 255, 0.28); overflow: hidden; opacity: 0; animation: op-fade 0.8s ease 1.2s forwards; }
.op-bar b { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); animation: op-load 2.6s cubic-bezier(0.3, 0.7, 0.4, 1) 1.2s forwards; }
.opening.done .op-bar b { animation: none; transform: scaleX(1); transition: transform 0.35s ease; }
@keyframes op-rise { to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes op-fade { to { opacity: 1; } }
@keyframes op-load { to { transform: scaleX(0.82); } }
@keyframes op-sheen { 0% { opacity: 1; } 100% { opacity: 1; transform: translate3d(330%, 0, 0) skewX(-12deg); } }
@keyframes op-cl { from { opacity: 0; transform: translate3d(calc(var(--s) * -4vw), 14vh, 0) scale(calc(var(--s) * 1), 1); } to { opacity: 0.8; transform: translate3d(0, 0, 0) scale(calc(var(--s) * 1), 1); } }
@keyframes op-fail { to { opacity: 0; visibility: hidden; } }
/* lifting: the words rise away, the clouds swell past either side, the sky thins into the first picture */
.opening.out .op-c { opacity: 0; transform: translate(-50%, -64%); transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.5, 0, 0.75, 0); }
.opening.out .op-cl { opacity: 0; transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 1.1s ease 0.45s; }
.opening.out .op-cl-l { transform: translate3d(-34vw, 12vh, 0) scale(1.45, 1.45); }
.opening.out .op-cl-r { transform: translate3d(34vw, 12vh, 0) scale(-1.45, 1.45); }
.opening.out .op-sky { opacity: 0; transition: opacity 1.2s cubic-bezier(0.45, 0, 0.55, 1) 0.3s; }
@media (max-width: 860px) { .op-cl { width: 50vw; bottom: -8vh; } .op-cl-l { left: -16vw; } .op-cl-r { right: -16vw; } }
@media (prefers-reduced-motion: reduce) { .opening { display: none; } }
