/* astraeus, the site: light like paper by default, a switch to the dark it was born in */

@font-face { font-family: "Outfit"; font-weight: 200; font-display: swap; src: url("fonts/outfit-200.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 300; font-display: swap; src: url("fonts/outfit-300.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 400; font-display: swap; src: url("fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("fonts/nunito-800.woff2") format("woff2"); }

:root {
  --bg: #f5f5f7; --bg2: #e8e8ed; --card: #fff;
  --ink: #1d1d1f; --dim: #6e6e73; --low: #a1a1a6;
  --line: rgb(0 0 0 / .08); --line2: rgb(0 0 0 / .15);
  --shade: rgb(30 30 40 / .14);
  --chrome: linear-gradient(180deg, #fff 0%, #e3e3e8 30%, #9a9aa4 55%, #d6d6dc 75%, #fbfbfd 100%);
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wide: 1320px; --gutter: clamp(18px, 4vw, 56px);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #000; --bg2: #111113; --card: #1c1c1e;
  --ink: #f5f5f7; --dim: #a1a1a6; --low: #6e6e73;
  --line: rgb(255 255 255 / .09); --line2: rgb(255 255 255 / .18);
  --shade: rgb(0 0 0 / .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 "Outfit", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .6s var(--ease), color .6s var(--ease); }
/* a fine grain, the same in both themes */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
[data-theme="dark"] body::after { mix-blend-mode: screen; opacity: .04; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
b { font-weight: 500; }
code { font: .86em var(--mono); overflow-wrap: anywhere; }
kbd { font: 500 .78em/1 var(--mono); display: inline-block; padding: .3em .5em .32em; border-radius: 6px; border: 1px solid var(--line2); background: var(--card); box-shadow: 0 1px 0 var(--line2); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 99px; text-decoration: none; }
.skip:focus { top: 12px; }

/* headlines: big, tight, set by line so each can rise */
.mega, .big { letter-spacing: -.045em; line-height: .9; }
.mega { font-size: clamp(3.6rem, 12.5vw, 13rem); text-align: center; }
.mega.small { font-size: clamp(3rem, 9vw, 8.5rem); }
.big { font-size: clamp(2.8rem, 7.4vw, 7.2rem); }
.big.center { text-align: center; }
.line { display: block; overflow: hidden; padding-bottom: .18em; margin-bottom: -.12em; } /* room for g, j and y under the mask */
.line > span { display: inline-block; }

/* paper's thin crosses, marking the page like a drafting sheet */
.grid-x { position: absolute; width: 15px; height: 15px; pointer-events: none; }
.grid-x::before, .grid-x::after { content: ""; position: absolute; background: var(--line2); }
.grid-x::before { left: 7px; top: 0; width: 1px; height: 15px; }
.grid-x::after { top: 7px; left: 0; height: 1px; width: 15px; }

/* buttons: liquid chrome, and a quiet outline */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px 1px; border-radius: 99px;
  font: 500 1rem/1 "Outfit", sans-serif; text-decoration: none; white-space: nowrap; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.btn svg { width: 19px; height: 19px; }
.btn.chrome { color: #0c0c0e; background: var(--chrome); box-shadow: inset 0 -1px 0 rgb(0 0 0 / .25), inset 0 1px 0 #fff, 0 10px 30px -10px var(--shade), 0 0 0 1px rgb(0 0 0 / .12); }
.btn.chrome::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .9) 45%, transparent 60%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn.chrome:hover::after { transform: translateX(120%); }
.btn.chrome:hover { transform: translateY(-2px); box-shadow: inset 0 -1px 0 rgb(0 0 0 / .25), inset 0 1px 0 #fff, 0 18px 40px -12px var(--shade), 0 0 0 1px rgb(0 0 0 / .14); }
.btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn.big { min-height: 62px; padding: 0 34px 1px; font-size: 1.1rem; }

/* screenshots */
.shot { margin: 0; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; }
.shot img { width: 100%; border-radius: 14px; }
.shot figcaption { margin-top: 10px; font-size: .86rem; color: var(--dim); }
.shot figcaption b { color: var(--ink); margin-right: 4px; }

/* ---------- intro ---------- */
.intro { display: none; }
.js .intro { display: grid; position: fixed; inset: 0; z-index: 150; place-items: center; }
.intro-half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); }
.intro-half.top { top: 0; } .intro-half.bot { bottom: 0; }
.intro-seam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; margin: auto; width: 0; background: linear-gradient(90deg, transparent, #9a9aa4 20%, #fff 50%, #9a9aa4 80%, transparent); box-shadow: 0 0 24px rgb(255 255 255 / .8); }
.intro .metal { position: relative; }
.intro kbd { transition: transform .12s, background-color .12s, color .12s, box-shadow .12s; }
.intro kbd.down { transform: translateY(2px); box-shadow: none; background: var(--ink); color: var(--bg); }
.intro .metal { width: min(42vh, 360px); aspect-ratio: 656 / 800; }
.intro-ui { position: absolute; left: 50%; top: calc(50% + min(26vh, 220px)); transform: translateX(-50%); text-align: center; }
.intro-term { margin: 0 0 18px; font: 400 .92rem/1.6 var(--mono); color: var(--dim); }
.intro-term span { display: block; color: var(--low); }
.intro-go { display: inline-flex; align-items: center; gap: 8px; font: 500 .9rem/1 var(--mono); color: var(--bg); background: var(--ink); border: 0; border-radius: 99px; padding: 12px 18px; cursor: pointer; }
.intro-go svg { width: 16px; height: 16px; }
.intro-skip { position: absolute; right: 24px; bottom: 20px; font: 400 .8rem var(--mono); color: var(--dim); background: none; border: 0; cursor: pointer; }
.intro-skip:hover { color: var(--ink); }

/* ---------- the long pill: header and narrator ---------- */
.pill { position: fixed; z-index: 120; top: 12px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 24px), 760px); height: 50px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 0 6px 0 16px; border-radius: 99px; background: var(--ink); color: var(--bg); box-shadow: 0 14px 40px -14px var(--shade), inset 0 1px 0 rgb(255 255 255 / .12); }
.p-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.p-brand svg { width: 18px; height: 18px; }
.p-say { margin: 0; overflow: hidden; text-align: center; font-size: .9rem; color: color-mix(in srgb, var(--bg) 78%, transparent); white-space: nowrap; text-overflow: ellipsis; }
.p-line { display: inline-block; }
.p-line svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: 6px; }
.p-acts { display: flex; align-items: center; gap: 4px; }
.p-ico { width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: none; color: inherit; cursor: pointer; opacity: .75; transition: opacity .2s, background .2s; }
.p-ico:hover, .p-ico[aria-pressed="true"] { opacity: 1; background: color-mix(in srgb, var(--bg) 14%, transparent); }
.p-ico svg { width: 18px; height: 18px; }
.p-dl { font-weight: 500; font-size: .88rem; text-decoration: none; color: #0c0c0e; background: var(--chrome); padding: 10px 16px 11px; border-radius: 99px; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(0 0 0 / .2); }
.pill :focus-visible { outline-color: var(--bg); }

/* chapters: a quiet index down the left, lit as you go */
.chapters { position: fixed; z-index: 100; left: 22px; top: 50%; transform: translateY(-50%); display: none; }
.chapters ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chapters a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; font-size: .78rem; color: var(--low); white-space: nowrap; transition: color .3s; }
.chapters a span { font: .7rem var(--mono); }
.chapters a:not(.on) { color: transparent; }
.chapters a:not(.on) span { color: var(--low); }
.chapters:hover a { color: var(--dim); }
.chapters a.on { color: var(--ink); }
@media (min-width: 1200px) { .chapters { display: block; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 110px var(--gutter) 70px; display: flex; flex-direction: column; align-items: center; }
.hero .gx1 { left: var(--gutter); top: 96px; } .hero .gx2 { right: var(--gutter); top: 96px; }
.hero-panel { width: min(100%, 1180px); perspective: 1600px; }
.hero-panel .shot button { box-shadow: 0 50px 100px -40px var(--shade), 0 0 0 1px var(--line); border-radius: 18px; }
.hero-panel .shot img { border-radius: 18px; }
.hero-panel figcaption { display: none; }
.hero .mega { margin-top: clamp(28px, 5vw, 64px); }
.hero-foot { display: grid; justify-items: center; gap: 28px; margin-top: clamp(24px, 3vw, 40px); max-width: 680px; text-align: center; }
.lede { margin: 0; color: var(--dim); font-size: 1.12rem; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- 01 the panel ---------- */
.story { position: relative; padding: 14vh var(--gutter) 0; }
.st-pin { display: none; }
.st-steps { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wide); display: grid; gap: 72px; }
.st-steps h3 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.045em; line-height: 1; margin-bottom: 12px; }
.st-steps p { color: var(--dim); max-width: 60ch; }
.st-steps .how { color: var(--ink); }
.st-steps .how::before { content: "→ "; color: var(--low); }
.st-steps .shot { margin-top: 18px; }
.behind-shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 18px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.behind-shots .shot { flex: 0 0 min(82%, 520px); scroll-snap-align: start; margin: 0; }

.js-pin .story { padding: 0; }
.js-pin .st-steps { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.js-pin .st-pin { display: grid; height: 100vh; grid-template-rows: 1fr auto; padding: 86px var(--gutter) 5vh; position: relative; }
.st-stage { position: relative; display: grid; place-items: center; perspective: 1800px; }
.st-panel { position: relative; width: min(100%, 1060px, 165vh); aspect-ratio: 1365 / 431; transform-style: preserve-3d; }
.st-panel img { position: absolute; inset: 0 0 auto; width: 100%; border-radius: 16px; box-shadow: 0 40px 90px -40px var(--shade), 0 0 0 1px var(--line); opacity: 0; }
.st-panel img:first-child { opacity: 1; }
.st-cards { position: absolute; inset: 0; pointer-events: none; transform-style: preserve-3d; }
.st-cards img { position: absolute; left: 50%; top: 50%; width: min(42%, 520px); border-radius: 12px; box-shadow: 0 30px 70px -30px var(--shade), 0 0 0 1px var(--line); opacity: 0; transform: translate(-50%, -50%); }
.st-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto auto; column-gap: 48px; align-items: end; max-width: var(--wide); margin: 0 auto; width: 100%; }
.st-count { grid-column: 1; font: .8rem var(--mono); color: var(--low); margin: 0 0 6px; white-space: pre; }
.st-in { color: var(--ink); }
.st-title { grid-column: 1; grid-row: 2; margin: 0; font-size: clamp(3.4rem, 9vw, 8.6rem); font-weight: 500; letter-spacing: -.06em; line-height: .86; overflow: hidden; padding-bottom: .18em; margin-bottom: -.12em; }
.st-title span { display: inline-block; }
.st-text { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0; color: var(--dim); font-size: 1.05rem; }
.st-how { grid-column: 2; margin: 10px 0 0; font-size: .95rem; }
.st-how:not(:empty)::before { content: "→ "; color: var(--low); }
.st-dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.st-dots li { width: 6px; height: 6px; border-radius: 50%; background: var(--line2); transition: background .3s, transform .3s; }
.st-dots li.on { background: var(--ink); transform: scale(1.5); }

/* ---------- 02 the island ---------- */
.island { position: relative; padding: 18vh var(--gutter) 0; }
.isl-head { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.isl-head p { color: var(--dim); margin: 0; font-size: 1.05rem; }
.isl-real { max-width: var(--wide); margin: 64px auto 0; display: grid; grid-template-columns: minmax(0, 373px) minmax(0, 1fr); gap: 32px; align-items: center; }
.isl-real .shot img { border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.dial-pin { position: relative; max-width: var(--wide); margin: 0 auto; padding-top: 12vh; }
.dial-cap { text-align: center; color: var(--dim); font-size: .95rem; margin: 0; }
.dial { position: relative; height: 62vh; overflow: hidden; margin-top: 18px; }
.dial-svg { position: absolute; left: 50%; top: 22vh; width: 1500px; height: 1500px; transform: translateX(-50%); overflow: visible; }
.dial-svg .tick { stroke: var(--line2); stroke-width: 1; }
.dial-svg .tick.major { stroke: var(--ink); stroke-width: 1.4; }
.dial-svg text { fill: var(--dim); font: 400 15px "Outfit", sans-serif; }
.dial-svg .on text { fill: var(--ink); font-weight: 500; }
.dial-svg .face { fill: var(--bg2); }
.dial-now { position: absolute; left: 50%; top: 4vh; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 22px 0 16px; border-radius: 99px; background: var(--ink); color: var(--bg); white-space: nowrap; box-shadow: 0 18px 40px -16px var(--shade); }
.dial-now::after { content: ""; position: absolute; left: 50%; bottom: -16px; width: 1px; height: 14px; background: var(--ink); }
.dn-ico svg { width: 22px; height: 22px; }
.dn-name { font-weight: 500; font-size: 1.05rem; }
.dn-val { font-size: .95rem; opacity: .7; font-variant-numeric: tabular-nums; }
.dial-list { list-style: none; padding: 0; margin: 24px auto 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 820px; }
.dial-list li { font-size: .82rem; color: var(--dim); padding: 5px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.js-pin .dial-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.isl-edit { max-width: var(--wide); margin: 10vh auto 0; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; }
.isl-edit h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 14px; }
.isl-edit p { color: var(--dim); }
.isl-edit .shot img { box-shadow: 0 40px 80px -40px var(--shade), 0 0 0 1px var(--line); }

/* ---------- 03 lyrics ---------- */
.lyrics { position: relative; margin-top: 18vh; }
.ly-pin { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.ly-frame { width: min(92vw, 1100px); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 90px -40px var(--shade); }
.ly-frame .shot, .ly-frame .shot button, .ly-frame .shot img { height: 100%; border-radius: 0; }
.ly-frame .shot img { object-fit: cover; }
.ly-frame figcaption { display: none; }
.ly-stage { max-width: var(--wide); margin: 40px auto 0; padding: 0 var(--gutter); }
.ly-np { display: flex; gap: 12px; align-items: baseline; margin: 0 0 18px; font: .8rem var(--mono); color: var(--dim); }
.ly-np b { font-weight: 500; color: var(--ink); }
.sing { list-style: none; margin: 0; padding: 0; font: 800 clamp(1.8rem, 4vw, 3.4rem)/1.12 "Nunito", "Outfit", sans-serif; letter-spacing: -.015em; }
.sing li { margin-bottom: .35em; }
.ly-bar { display: none; }
.js-pin .ly-frame { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: auto; aspect-ratio: 1365 / 767; }
/* pinned: the player becomes the room. its own colours, blurred into a field, and the words sung over it */
.js-pin .ly-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 20% 50%, rgb(0 0 0 / .1), rgb(0 0 0 / .55)); opacity: var(--shade-in, 0); pointer-events: none; }
.js-pin .ly-stage { position: absolute; inset: 0; margin: 0; max-width: none; padding: 0; color: #fff; pointer-events: none; opacity: 0; }
.js-pin .ly-np { position: absolute; left: calc(var(--gutter) + 6vw); top: 15vh; color: rgb(255 255 255 / .6); }
.js-pin .ly-np b { color: #fff; }
/* the lines live in a window that fades at both ends, like the player's own list */
.js-pin .ly-lines { position: absolute; left: 0; right: 0; top: 22vh; bottom: 16vh; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.js-pin .sing { position: absolute; left: calc(var(--gutter) + 6vw); right: var(--gutter); top: 50%; font-size: clamp(2.6rem, 5.6vw, 5.6rem); line-height: 1.04; letter-spacing: -.025em; }
.js-pin .sing li { margin-bottom: .32em; transform-origin: 0 50%; opacity: .26; filter: blur(2.5px); }
.sing .w { display: inline-block; opacity: .4; white-space: pre; }
.js-pin .ly-bar { display: flex; position: absolute; left: calc(var(--gutter) + 6vw); right: calc(var(--gutter) + 6vw); bottom: 8vh; align-items: center; gap: 16px; font: .75rem var(--mono); color: rgb(255 255 255 / .6); }
.ly-bar i { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .2); overflow: hidden; }
.ly-bar b { display: block; height: 100%; background: linear-gradient(90deg, #8d8d96, #fff 60%, #c9c9d1); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- 04 looks ---------- */
.looks { position: relative; margin-top: 18vh; }
.lk-pin { position: relative; overflow: hidden; padding: 0 0 8vh; }
.lk-head { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; }
.lk-head p { color: var(--dim); margin: 0; }
.lk-track { display: flex; gap: 4vw; padding: 7vh var(--gutter) 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lk-card { margin: 0; flex: 0 0 min(84vw, 980px); scroll-snap-align: center; }
.lk-card .shot img { border-radius: 16px; box-shadow: 0 40px 80px -40px var(--shade), 0 0 0 1px var(--line); }
.lk-card .shot figcaption { display: none; }
.lk-card > figcaption { margin-top: 18px; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.04em; font-weight: 500; }
.js-pin .lk-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0; }
.js-pin .lk-track { overflow: visible; will-change: transform; }

/* ---------- 05 the wall ---------- */
.wall { position: relative; margin-top: 18vh; overflow: hidden; padding-bottom: 6vh; }
.wall-3d { perspective: 1400px; margin-top: 6vh; height: 120vh; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 80%, transparent); }
.wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: min(150vw, 2200px); margin-left: 50%; transform: translateX(-50%) rotateX(32deg) rotateZ(-6deg); transform-origin: 50% 0; }
.wall-grid .shot img { box-shadow: 0 30px 60px -30px var(--shade), 0 0 0 1px var(--line); }
.wall-grid .shot figcaption { font-size: .95rem; }

/* ---------- 06 engineering ---------- */
.eng { position: relative; max-width: var(--wide); margin: 18vh auto 0; padding: 12vh var(--gutter); }
.eng .gx1 { left: 0; top: 0; } .eng .gx2 { right: 0; bottom: 0; }
.eng .ring { position: absolute; z-index: -1; left: 60%; top: 8%; width: 70vh; height: 70vh; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 8vh; border-top: 1px solid var(--line); }
.figs > div { padding: 28px 24px 0 0; }
.figs > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.fig { margin: 0; font-size: clamp(4.6rem, 12vw, 11rem); font-weight: 300; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig .unit, .fig .pre { font-size: .3em; letter-spacing: 0; margin-left: .15em; color: var(--dim); }
.fig .pre { margin: 0 .05em 0 0; font-size: .6em; }
.figs p:not(.fig) { color: var(--dim); margin-top: 8px; }
.eng-foot { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; margin-top: 8vh; }
.eng-foot p { color: var(--dim); }
.eng-foot .cond { font-size: .84rem; color: var(--low); }

/* ---------- 07 download ---------- */
.get { position: relative; padding: 14vh var(--gutter) 40px; }
.get-card { position: relative; overflow: hidden; max-width: var(--wide); margin: 0 auto; padding: clamp(48px, 8vw, 110px) clamp(22px, 5vw, 80px); border-radius: 32px; text-align: center; background: #0a0a0c; color: #f1f1f4;
  box-shadow: 0 60px 120px -50px var(--shade); }
[data-theme="dark"] .get-card { background: #111115; box-shadow: inset 0 0 0 1px var(--line); }
.get-metal { width: 140px; aspect-ratio: 656 / 800; margin: 0 auto 28px; }
.get-card > p { color: #9b9ba4; max-width: 46ch; margin: 22px auto 34px; font-size: 1.1rem; }
.steps { list-style: none; counter-reset: s; margin: 70px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; text-align: left; color: #9b9ba4; font-size: .92rem; }
.steps li { counter-increment: s; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .12); }
.steps li::before { content: "0" counter(s); display: block; font: .75rem var(--mono); color: #6b6b74; margin-bottom: 8px; }
.steps b, .steps code { color: #f1f1f4; }
.foot { max-width: var(--wide); margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .84rem; color: var(--dim); }
.foot p { margin: 0; max-width: 64ch; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; color: var(--ink); }

/* ---------- viewer ---------- */
.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: color-mix(in srgb, var(--bg) 96%, transparent); color: var(--ink); overflow: hidden; }
.viewer::backdrop { background: transparent; }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.vstage { display: grid; place-items: center; padding: 70px clamp(8px, 4vw, 72px) 8px; min-height: 0; touch-action: pan-y pinch-zoom; }
.vstage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.bar { display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter) max(18px, env(safe-area-inset-bottom)); }
.cap { flex: 1; min-width: 0; margin: 0; color: var(--dim); }
.cap b { color: var(--ink); margin-right: 6px; }
.count { font: .8rem var(--mono); color: var(--low); }
.vbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: var(--bg); background: var(--ink); }
.vbtn svg { width: 20px; height: 20px; }
.viewer .close { position: absolute; top: 14px; right: 14px; }

h1, h2, .lede, .st-steps h3 { text-wrap: balance; }
p { text-wrap: pretty; }

@media (max-width: 900px) {
  .isl-head, .lk-head, .isl-edit, .eng-foot, .isl-real { grid-template-columns: minmax(0, 1fr); }
  .figs, .steps { grid-template-columns: minmax(0, 1fr); }
  .figs > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .wall-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 180vw; }
  .p-say { display: none; }
  .pill { grid-template-columns: auto auto; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wall-grid { transform: translateX(-50%); }
}

/* no webgl: the star still shines, just still */
.metal.no-gl, .get-metal.no-gl { background: url("img/logo.png") center / contain no-repeat; filter: drop-shadow(0 10px 30px var(--shade)); }
:root:not([data-theme="dark"]) .intro .metal.no-gl { filter: invert(1); }
.metal canvas, .get-metal canvas { display: block; width: 100%; height: 100%; }

/* without the pinned chapters (phones, reduced motion): the dial is a list, the lyrics sit under their picture */
html:not(.js-pin) .dial { display: none; }
html:not(.js-pin) .ly-pin { min-height: 0; padding: 0 var(--gutter); }
html:not(.js-pin) .ly-frame { width: 100%; }
html:not(.js-pin) .sing li, html:not(.js-pin) .sing .w { opacity: 1; }

/* fixes from the first walk-through */
main { overflow-x: clip; }
.eng { overflow: clip; }
.js-pin .st-stage { order: 1; }
.js-pin .st-head { order: 2; padding-top: 3vh; }
.js-pin .st-pin { grid-template-rows: minmax(0, 1fr) auto; }
.chapters a.on { color: transparent; }
.chapters a.on span { color: var(--ink); }
.chapters:hover a, .chapters:focus-within a { color: var(--dim); }
.chapters:hover a.on, .chapters:focus-within a.on { color: var(--ink); }
.js-pin .ly-frame img { transition: none; }

/* the cursor: the logo's star, and a ring that trails it. only with a mouse, only when motion is welcome */
.cursor { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 300; pointer-events: none; mix-blend-mode: difference; }
.c-star, .c-ring { position: fixed; left: 0; top: 0; display: grid; place-items: center; will-change: transform; }
.c-star { width: 18px; height: 18px; margin: -9px 0 0 -9px; color: #fff; }
.c-star svg { width: 18px; height: 18px; }
.c-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .9); transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s, box-shadow .3s; }
.c-label { font: 500 .78rem/1 "Outfit", sans-serif; color: #000; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.link .c-ring { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
.cursor.view .c-ring { width: 84px; height: 40px; margin: -20px 0 0 -42px; background: #fff; }
.cursor.view .c-label { opacity: 1; }
.cursor.view .c-star { opacity: 0; }
.cursor.down .c-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cursor.gone { opacity: 0; }
html:has(dialog[open]) .cursor { display: none; }
html.has-cursor:has(dialog[open]), html.has-cursor:has(dialog[open]) * { cursor: auto !important; }
html.has-cursor:has(dialog[open]) .vstage { cursor: zoom-out !important; }

/* ---------- chrome ---------- */
/* no scrollbar: smooth scroll and the ring on the back-to-top button stand in for it */
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

/* edges: a hairline lit from above, the way polished metal catches a ceiling light. still, not spinning */
.rim::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgb(255 255 255 / .42), rgb(255 255 255 / .08) 40%, rgb(255 255 255 / .04) 70%, rgb(255 255 255 / .16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
[data-theme="dark"] .pill.rim::before, [data-theme="dark"] .dial-now.rim::before { background: linear-gradient(180deg, #fff, rgb(0 0 0 / .1) 50%, rgb(0 0 0 / .14)); }

/* the download buttons: a plain solid pill, its edge a thin ring of liquid metal */
.btn.chrome { color: var(--bg); background: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 12px 28px -14px var(--shade); }
.btn.chrome::after { display: none; }
.btn.chrome:hover { transform: none; filter: brightness(1.12); box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 16px 34px -14px var(--shade); }
.get-card .btn.chrome { color: #1d1d1f; background: #f5f5f7; }
.p-dl { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: var(--bg); box-shadow: none; }
.btn-metal { position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.btn-metal canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
/* without webgl, the ring is a still brushed-metal gradient */
.btn.chrome:not(.live), .p-dl:not(.live) { box-shadow: inset 0 0 0 1.5px #a1a1a6, 0 12px 28px -14px var(--shade); }
.p-dl:not(.live) { box-shadow: inset 0 0 0 1.5px #a1a1a6; }

/* the star in the pill takes on the chrome */
.p-brand svg { fill: url(#chromefill); }
[data-theme="dark"] .p-brand svg { fill: currentColor; }

/* the header: a frosted material, not a slab */
.pill { background: rgb(29 29 31 / .9); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 10px 30px -14px rgb(0 0 0 / .35); }
[data-theme="dark"] .pill { background: rgb(245 245 247 / .9); }

/* back to the top: a small frosted button whose ring fills as you read */
.to-top { position: fixed; z-index: 110; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--ink);
  background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -12px var(--shade);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }
.to-top > svg:last-child { width: 18px; height: 18px; position: relative; }
.tt-ring { position: absolute; inset: 0; width: 46px; height: 46px; transform: rotate(-90deg); fill: none; overflow: visible; }
.tt-ring circle { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 154 154; stroke-dashoffset: calc(154px * (1 - var(--read, 0))); transform: scale(.885); transform-origin: 26px 26px; opacity: .7; }
.no-js .to-top { opacity: 1; transform: none; pointer-events: auto; }

/* quieter: no grain, no drafting marks */
body::after, .grid-x { display: none; }
.get-card > p { margin-top: 36px; } /* the headline mask hangs a little low for its descenders */
