/* artist-sites front end — one stylesheet, themed per version by custom properties.
   Every colour and face comes from the custom properties (defaults below, the version's own from its config);
   the components never name a hex. */

@font-face { font-family: "Archivo Wide"; src: url(../fonts/archivo-wide-black.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Source Code Pro"; src: url(../fonts/source-code-pro.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Pirata One"; src: url(../fonts/pirata-one.woff2) format("woff2"); font-display: swap; }

/* ───────── Theme ───────── */
/* The accent trio is registered as colours so it can cross-fade (the /music release accent, site.js);
   everything below that reads it follows the fade. */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #cba357; }
@property --accent-hi { syntax: "<color>"; inherits: true; initial-value: #ead395; }
@property --accent-deep { syntax: "<color>"; inherits: true; initial-value: #aa783c; }

:root {
  --f-display: "Archivo Wide", "Arial Black", sans-serif;
  --f-mono: "Source Code Pro", ui-monospace, monospace;
  --gutter: clamp(16px, 2.4vw, 32px);
  --bar-h: 44px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  /* one look for every version. The base colours and faces of a final version come from its config
     (theme_css, printed after this sheet); these are the defaults a placeholder version shows. */
  color-scheme: dark;
  --ink: #0a0705;
  --ink-2: #120d09;
  --ink-3: #1b140d;
  --accent: #cba357;
  --accent-hi: #ead395;
  --accent-deep: #aa783c;
  --metal: #d9dada;
  --text: #f1eadb;
  --text-dim: #bcad90;
  --error: #f0855c;
  --tint: #b88d45;
  --f-name: "Pirata One", serif;
  /* derived: written once here, never by theme_css */
  --line: color-mix(in srgb, var(--accent) 32%, transparent);
  --line-strong: color-mix(in srgb, var(--accent) 62%, transparent);
  --card-bg: color-mix(in srgb, var(--ink) 80%, transparent);
  --field-bg: var(--ink-2);
  --cursor: var(--accent);
  --select-bg: var(--accent);
  --select-fg: var(--ink);
  --hard: 8px 8px 0 var(--accent);
  --hard-sm: 5px 5px 0 var(--accent-deep);
  --name-a: var(--accent);
  --name-b: var(--metal);
  --tint-blend: color;
  --video-filter: grayscale(1) contrast(1.18) brightness(.72);
  --texture-o: .07;
  transition: --accent .65s ease-in-out, --accent-hi .65s ease-in-out, --accent-deep .65s ease-in-out;
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }   /* Lenis (wheel and trackpad, site.js) */
/* section snap on touch (config scroll_snap -> html.snap-on): the browser's own, mandatory, one section per swipe
   (snap-stop always), snapping during the fling rather than after it. A section taller than the screen gets a
   second stop at its bottom (site.js touchStops), so its last line is reachable. Wheel and trackpad settle onto sections
   in site.js, so none of this applies to a fine pointer. */
@media (pointer: coarse) {
  html.snap-on { scroll-snap-type: y mandatory; }
  [data-snap], .chrome { scroll-snap-align: start; scroll-snap-stop: always; }   /* .chrome: the page top is a stop too */
  .snap-end { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; pointer-events: none;
              scroll-snap-align: end; scroll-snap-stop: always; }   /* bottom of a section taller than the screen (site.js) */
  .snap-host { position: relative; }
}
@media (pointer: coarse) and (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }   /* #anchor links */
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 15px/1.55 var(--f-mono);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--select-bg); color: var(--select-fg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { display: block; }

html { scrollbar-color: var(--accent-deep) var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--accent-deep); border: 3px solid var(--ink); }

/* ───────── Stage (video) ───────── */
.stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--ink); }
.stage__poster, .stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--video-filter); }
.stage__poster { background: var(--ink) center / cover no-repeat; background-image: var(--poster-wide, none); }
@media (max-aspect-ratio: 1/1) { .stage__poster { background-image: var(--poster-tall, none); } }
.stage__video { opacity: 0; transition: opacity 1.2s var(--ease-out); }
.stage__video.is-on { opacity: 1; }
.stage__tint { position: absolute; inset: 0; background: var(--tint); mix-blend-mode: var(--tint-blend); }
.stage__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 70%, transparent) 0%, transparent 26%, transparent 52%, color-mix(in srgb, var(--ink) 92%, transparent) 100%),
    radial-gradient(120% 90% at 50% 45%, transparent 40%, color-mix(in srgb, var(--ink) 65%, transparent) 100%);
  transition: background-color .8s var(--ease-out);
}
body.is-gated .stage__shade { background-color: color-mix(in srgb, var(--ink) 30%, transparent); }

.texture { position: fixed; inset: -10%; z-index: 1; pointer-events: none; opacity: var(--texture-o); }
/* the rosette (site.js) is a mask, painted with the live accent so it follows the /music cross-fade */
[data-ornament="guilloche"] .texture {
  background: var(--accent); animation: spin 160s linear infinite;
  --rosette: var(--guilloche, linear-gradient(transparent, transparent));   /* clear until site.js has drawn it */
  -webkit-mask: var(--rosette) 78% 40% / 120vmax auto no-repeat; mask: var(--rosette) 78% 40% / 120vmax auto no-repeat;
}
@keyframes spin { to { transform: rotate(360deg); } }
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; background: url(../img/grain.svg); opacity: .07; mix-blend-mode: overlay; }

/* ───────── Chrome (fixed corners) ───────── */
.chrome { position: absolute; z-index: 40; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: flex-start; padding: var(--gutter); pointer-events: none; }
.chrome > * { pointer-events: auto; }
.mark { display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
.mark__globe { width: 46px; aspect-ratio: 4681/4378; background: var(--accent); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.mark__text b { color: var(--accent); font-weight: 700; }

.sound {
  display: flex; align-items: center; height: 40px; border: 1px solid rgba(255, 255, 255, .7); background: color-mix(in srgb, var(--ink) 88%, transparent);
  box-shadow: 4px 4px 0 var(--accent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
@media (hover: hover) { .sound:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent); } }
.sound:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--accent); }
.sound__bars { display: flex; align-items: center; gap: 3px; height: 100%; padding: 0 12px; border-right: 1px solid rgba(255, 255, 255, .25); }
.sound__bars i { width: 2px; height: 6px; background: var(--accent); }
.sound[aria-pressed="true"] .sound__bars i { animation: wave .75s ease-in-out var(--d, 0s) infinite alternate; }
.sound__bars i:nth-child(2) { --d: -.2s; } .sound__bars i:nth-child(3) { --d: -.5s; }
.sound__bars i:nth-child(4) { --d: -.1s; } .sound__bars i:nth-child(5) { --d: -.35s; }
@keyframes wave { from { height: 4px; } to { height: 18px; } }
.sound__label { padding: 0 14px; font: 600 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }

/* ───────── Gate ───────── */
.gate { position: fixed; inset: 0; z-index: 30; display: none; }
body.is-gated .gate { display: block; }
.gate__wrap {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 96px var(--gutter) max(var(--gutter), env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .gate__wrap { justify-content: center; padding-top: 12vh; } }

.card {
  --halo: 0 0 2px var(--ink), 0 0 6px var(--ink), 0 0 12px var(--ink);
  position: relative; width: min(600px, 100%);
  padding: 22px 22px 18px; background: var(--card-bg);
  border: 1px solid var(--line-strong); box-shadow: var(--hard);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  animation: card-in .9s var(--ease-out) both .15s;
}
@media (min-width: 600px) { .card { padding: 30px 32px 24px; } }
@keyframes card-in { from { opacity: 0; transform: translateY(28px); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-30px -30px -140px -30px); } }
.card::before { /* banknote: inner hairline frame + guilloche */
  content: ""; position: absolute; inset: 6px; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); pointer-events: none;
  background: var(--guilloche, none) 108% -38% / 440px no-repeat; opacity: .55;
}
.card > :not(.card__done) { position: relative; }

.card__top { display: flex; justify-content: space-between; gap: 16px; font: 600 11px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; }
.card__kicker { color: var(--accent-hi); text-shadow: var(--halo); }
.card__serial { color: var(--text-dim); text-shadow: var(--halo); }
.card__head { margin: 18px 0 6px; font: 400 clamp(46px, 11vw, 70px)/.92 var(--f-name); color: var(--accent-hi); letter-spacing: 0; text-wrap: balance; }
.card__sub { margin: 0 0 20px; color: color-mix(in srgb, var(--text) 70%, var(--text-dim)); font-size: 14px; text-shadow: var(--halo); }

.field { display: grid; grid-template-columns: auto 1fr 46px; height: 52px; border: 1px solid var(--line-strong); background: var(--field-bg); transition: border-color .2s; }
.field:focus-within { border-color: var(--accent); }
.field.is-bad { border-color: var(--error); }
.field__cc { position: relative; display: flex; align-items: center; border-right: 1px solid var(--line); }
.field__cc select { appearance: none; -webkit-appearance: none; field-sizing: content; min-width: 0; height: 100%; padding: 0 20px 0 10px; background: transparent; border: 0; border-radius: 0; color: var(--text); font: 600 14px/1 var(--f-mono); letter-spacing: .02em; cursor: pointer; }
.field__cc select:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: -4px; }
.field__cc option { background: var(--ink-2); color: var(--text); }
.field__chev { position: absolute; right: 7px; width: 10px; height: 10px; color: var(--accent); pointer-events: none; }
.field__num { display: flex; min-width: 0; }
.field__num input {
  width: 100%; min-width: 0; padding: 0 10px; border: 0; border-radius: 0; background: transparent; color: var(--text);
  font: 500 17px/1 var(--f-mono); letter-spacing: .01em; caret-color: var(--accent); /* font-size is fitted by site.js */
}
.field__num input::placeholder { color: var(--text-dim); opacity: .62; }
.field__num input:focus { outline: none; }
.field__go { position: relative; display: grid; place-items: center; background: var(--accent); color: var(--ink); overflow: hidden; transition: background .2s; }
@media (hover: hover) { .field__go:hover { background: var(--accent-hi); } }
.field__go svg { width: 24px; height: 24px; transition: transform .35s var(--ease-out), opacity .25s; }
@media (hover: hover) { .field__go:hover .i-arrow { transform: translateX(5px); } }
.field__go .i-check { position: absolute; opacity: 0; transform: scale(.4) rotate(-20deg); }
.card.is-sending .i-arrow { transform: translateX(60px); opacity: 0; }
.card.is-done .i-arrow { opacity: 0; }
.card.is-done .i-check { opacity: 1; transform: none; transition-delay: .05s; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin-top: 16px; cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.consent__box { width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--accent); display: grid; place-items: center; transition: background .15s; }
.consent__box svg { width: 16px; height: 16px; color: var(--ink); opacity: 0; transform: scale(.5); transition: .2s var(--ease-out); }
.consent input:checked + .consent__box { background: var(--accent); }
.consent input:checked + .consent__box svg { opacity: 1; transform: none; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
.consent__text { font-size: 10.5px; line-height: 1.5; color: color-mix(in srgb, var(--text) 55%, var(--text-dim)); text-shadow: var(--halo); }
.consent__text em { font-style: normal; color: var(--accent); opacity: .9; }
.consent.is-bad .consent__box { border-color: var(--error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 30%, transparent); }

.card__msg { min-height: 1.4em; margin: 10px 0 0; font-size: 12.5px; font-weight: 600; color: var(--error); letter-spacing: .02em; }

/* success beat */
.card__done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 30px; pointer-events: none; opacity: 0; }
.card.is-done > :not(.card__done):not(.field) { opacity: .08; transition: opacity .3s; }
.card.is-done .card__done { opacity: 1; }
.card.is-done .field { opacity: .2; transition: opacity .4s .2s; }
.stamp {
  display: inline-block; padding: 12px 22px 10px; font: 900 clamp(34px, 8vw, 52px)/1 var(--f-display); letter-spacing: .02em; text-transform: uppercase;
  color: var(--accent-hi); border: 4px double var(--accent); transform: rotate(-6deg); background: color-mix(in srgb, var(--ink) 70%, transparent);
}
.card.is-done .stamp { animation: stamp .42s cubic-bezier(.2, 1.5, .4, 1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-14deg) scale(2.3); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
.card__done-line { font: 600 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.card__done-line b { color: var(--text); font-weight: 600; }

.skip {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: min(600px, 100%); height: 54px; margin-top: 18px; padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .42); background: color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 12px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--text);
  transition: border-color .2s, color .2s, transform .18s var(--ease-out), box-shadow .18s var(--ease-out);
  animation: fade-up .9s var(--ease-out) both .45s;
}
.skip svg { width: 26px; height: 26px; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .skip:hover { border-color: var(--accent); color: var(--accent-hi); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent-deep); } }
@media (hover: hover) { .skip:hover svg { transform: translateX(4px); } }

/* gate exit */
body.is-leaving .gate { animation: gate-out .8s var(--ease-io) forwards; }
@keyframes gate-out { to { clip-path: inset(0 0 100% 0); opacity: .6; } }

/* ───────── Site ───────── */
.site { position: relative; z-index: 10; }
body.is-gated .site { display: none; }   /* nothing in flow behind the gate: nothing for focus, restoration or the keyboard to scroll */
.hero { position: relative; height: calc(100svh - var(--bar-h)); min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 96px var(--gutter) 84px; }
.name { margin: 0; width: 100%; min-width: 0; overflow: visible; text-align: center; font-weight: 400; line-height: .8; }
.name__line { display: block; width: max-content; margin-inline: auto; white-space: nowrap; font-family: var(--f-name); }
.name__a { color: var(--name-a); text-shadow: 0 18px 60px rgba(0, 0, 0, .55); }
.name__stack { display: none; }
@media (max-width: 600px) { .name__wide { display: none; } .name__stack { display: block; } .name__stack + .name__stack { margin-top: .04em; } }
.name__b { color: var(--name-b); text-shadow: 0 1px 0 rgba(255, 255, 255, .5), 0 -1px 0 rgba(0, 0, 0, .7), 0 18px 60px rgba(0, 0, 0, .55); }
.name .ch { display: inline-block; }
.name__sub { display: block; width: max-content; margin: .3em auto 0; font: 900 20px/1 var(--f-display); color: var(--accent); white-space: nowrap; letter-spacing: .32em; }
.name__img { position: relative; display: block; width: min(62%, 860px); margin: clamp(18px, 3vw, 44px) auto 0; filter: drop-shadow(0 0 2px var(--ink)) drop-shadow(0 6px 30px rgba(0, 0, 0, .7)); }
.name__img i { display: block; aspect-ratio: 2642 / 247; background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 48%, var(--accent-deep) 100%); -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }

.socials { position: absolute; left: var(--gutter); bottom: 22px; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.socials a, .cue { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.socials a svg { width: 13px; height: 13px; color: var(--accent); transition: transform .25s var(--ease-out); }
@media (hover: hover) { .socials a:hover { color: var(--accent-hi); } }
@media (hover: hover) { .socials a:hover svg { transform: translate(2px, -2px); } }
.cue { position: absolute; right: var(--gutter); bottom: 22px; }
.cue svg { width: 12px; height: 26px; color: var(--accent); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { clip-path: inset(0 0 100% 0); } 45% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(100% 0 0 0); } }

/* marquee */
.marquee { position: relative; z-index: 2; height: var(--bar-h); overflow: hidden; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 55%, transparent); display: flex; align-items: center; }
.marquee__track { display: flex; flex: none; white-space: nowrap; animation: marquee 38s linear infinite; font: 600 12.5px/1 var(--f-mono); letter-spacing: .26em; text-transform: uppercase; }
.marquee__track span { padding-right: 1.6em; }
.marquee__track i { font-style: normal; color: var(--accent); padding-right: 1.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 1200px) { .marquee__track { font-size: 14px; } }

/* listen: portrait + CTA bars */
.listen { position: relative; display: grid; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; padding: clamp(72px, 12vw, 160px) var(--gutter) clamp(64px, 9vw, 120px); max-width: 1500px; margin: 0 auto; }
.portrait { position: sticky; top: 90px; margin: 0; border: 1px solid var(--line-strong); box-shadow: 12px 12px 0 var(--accent-deep); background: var(--ink-2); }
.portrait img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; filter: contrast(1.12) brightness(.9); }
.portrait::after { content: ""; position: absolute; inset: 8px; border: 1px solid color-mix(in srgb, var(--accent-hi) 45%, transparent); pointer-events: none; }
.section-head { margin: 0 0 28px; text-align: center; font: 400 clamp(64px, 9vw, 150px)/.85 var(--f-name); color: var(--name-a); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.row {
  display: grid; grid-template-columns: 1fr 84px; min-height: 88px; border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--ink-2) 86%, transparent);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background .2s;
}
.row__txt { container-type: inline-size; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 22px; min-width: 0; }
.row__k { font: 600 11px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.row__l { font: 900 min(36px, 9cqi)/1 var(--f-display); /* sized to the row's own width, so "APPLE MUSIC" fits whole */ text-transform: uppercase; letter-spacing: .01em; }
.row__go { display: grid; place-items: center; border-left: 1px solid var(--line-strong); color: var(--accent); transition: background .2s, color .2s; }
.row__go svg { width: 34px; height: 34px; transition: transform .3s var(--ease-out); }
@media (hover: hover) { .row:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); background: var(--ink-3); } }
@media (hover: hover) { .row:hover .row__go { background: var(--accent); color: var(--ink); } }
@media (hover: hover) { .row:hover .row__go svg { transform: translateX(4px); } }
@media (hover: hover) { .row:hover .row__l { animation: jolt .3s steps(2) 1; } }
.row:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--accent); }
@keyframes jolt { 0% { transform: translate(-3px, 1px); } 50% { transform: translate(2px, -1px); } 100% { transform: translate(-1px, 0); } }

/* doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 var(--gutter) clamp(64px, 8vw, 110px); }
.door { container-type: inline-size;
  position: relative; isolation: isolate; display: block; height: min(78vh, 780px); min-height: 420px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--ink-2);
  transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.door__img { position: absolute; inset: 0; z-index: -2; }
.door__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.05); transform: scale(1.06); transition: transform 1.1s var(--ease-out), filter .6s; }
.door::after { content: ""; position: absolute; inset: 40% 0 0 0; z-index: -1; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--ink) 88%, transparent)); pointer-events: none; transition: opacity .4s; }
@media (hover: hover) { .door:hover::after { opacity: 0; } }
.door__fill { position: absolute; inset: 0 -25%; /* wider than the door so the slant never leaves a wedge of art showing */ z-index: -1; background: var(--accent); transform: translateX(-112%) skewX(-8deg); transform-origin: 0 100%; transition: transform .65s cubic-bezier(.19, 1, .22, 1); }
.door__kicker { position: absolute; top: 22px; left: 24px; font: 600 11px/1 var(--f-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--accent-hi); transition: color .3s; }
.door__label { position: absolute; left: 20px; bottom: 58px; font: 900 min(156px, 18cqi)/.8 var(--f-display); /* sized to the door's own width, so the word always fits */ text-transform: uppercase; letter-spacing: -.01em; transition: color .3s, transform .6s var(--ease-out); }
.door__note { position: absolute; left: 24px; bottom: 24px; font: 500 12.5px/1 var(--f-mono); letter-spacing: .08em; color: var(--text-dim); transition: color .3s; }
.door__arrow { position: absolute; top: 18px; right: 20px; width: 56px; height: 56px; color: var(--accent); transform: rotate(-45deg); transition: transform .5s var(--ease-out), color .3s; }
@media (hover: hover) { .door:hover { transform: translate(-3px, -3px); box-shadow: var(--hard); } }
@media (hover: hover) { .door:hover .door__img img { transform: scale(1); filter: brightness(.8) saturate(1.1); } }
@media (hover: hover) { .door:hover .door__fill { transform: skewX(-8deg); } }
@media (hover: hover) { .door:hover .door__label, .door:hover .door__kicker, .door:hover .door__note, .door:hover .door__arrow { color: var(--ink); } }
@media (hover: hover) { .door:hover .door__label { transform: translateX(10px); } }
@media (hover: hover) { .door:hover .door__arrow { transform: rotate(0); } }

/* footer */
.foot { padding: 0 var(--gutter) 28px; }
.foot__mark { width: 100%; aspect-ratio: 4349/793; background: var(--accent-deep); -webkit-mask: var(--wordmark) center / contain no-repeat; mask: var(--wordmark) center / contain no-repeat; opacity: .9; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 4px 32px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font: 500 11px/1.6 var(--f-mono); letter-spacing: .14em; word-spacing: -.4em; text-transform: uppercase; color: var(--text-dim); }
.foot__row a:hover, .linkish:hover { color: var(--accent-hi); }
.linkish { font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }

.toast { visibility: hidden; position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translate(-50%, 140%); max-width: calc(100% - 32px); padding: 14px 18px; background: var(--ink-2); border: 1px solid var(--line-strong); box-shadow: var(--hard-sm); font: 600 12px/1.4 var(--f-mono); letter-spacing: .08em; transition: transform .45s var(--ease-out); }
.toast.is-on { visibility: visible; transform: translate(-50%, 0); }

/* pre-launch version switch (_footer.html, render._preview): its own row under the footer links, in the page flow */
.vbadge {
  display: flex; width: fit-content; margin: 18px auto 0; border: 1px solid var(--line-strong);
  font: 600 10px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase;
}
.vbadge__go { padding: 12px 14px; background: var(--accent); color: var(--ink); font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background .2s; }
@media (hover: hover) { .vbadge__go:hover { background: var(--accent-hi); } }

/* entrance (after the gate) */
body.is-entering .name .ch { animation: ch-in .9s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
@keyframes ch-in { from { opacity: 0; transform: translateY(.35em); filter: blur(10px); } }
body.is-entering .name__sub, body.is-entering .name__img { animation: fade-up 1s var(--ease-out) both .55s; }
body.is-entering .socials, body.is-entering .cue { animation: fade-up 1s var(--ease-out) both .8s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } }

/* ink cursor */
.ink { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; filter: url(#goo); display: none; }
.ink span { position: absolute; top: 0; left: 0; width: 26px; height: 26px; border-radius: 20px; background: var(--cursor); will-change: transform; }
html.has-ink .ink { display: block; }
@media (min-width: 481px) and (pointer: fine) { html.has-ink, html.has-ink body, html.has-ink body * { cursor: none !important; } }

/* ───────── Phone ───────── */
@media (max-width: 899px) {
  .listen { grid-template-columns: 1fr; }
  .portrait { position: relative; top: 0; max-width: 520px; }
  .doors { grid-template-columns: 1fr; }
  .door { height: 62svh; min-height: 380px; }
}
@media (max-width: 600px) {
  :root { --bar-h: 40px; }
  .mark__globe { width: 38px; }
  .mark__text { display: none; }
  .sound__label { padding: 0 10px; }
  .hero { padding: 88px var(--gutter) 128px; }
  .socials { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; right: var(--gutter); bottom: 18px; }
  /* phone: scroll cue sits centred above the socials instead of squeezing beside them */
  .cue { right: auto; left: 50%; transform: translateX(-50%); bottom: 104px; flex-direction: column; gap: 8px; }
  .row { grid-template-columns: 1fr 64px; min-height: 76px; }
  .row__txt { padding: 12px 16px; }

  .name__img { width: 96%; }
}

/* ───────── Reduced motion: no cursor, no smooth scroll, no video motion ───────── */
@media (prefers-reduced-motion: reduce) {
  /* transition: none, not a .01ms duration: a tiny transition on every property delays each style change
     by a frame, so the name fit measured the old size and the name came out wrong */
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .texture { animation: none !important; }
  .marquee__track { animation: none !important; }
  .stage__video { display: none; }
}

