@font-face { font-family: "Imbue"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/imbue-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Imbue"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/imbue-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("assets/fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Serif Ethiopic"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("assets/fonts/noto-serif-ethiopic.woff2") format("woff2");
  unicode-range: U+030E, U+1200-1399, U+2D80-2DDE, U+AB01-AB2E, U+1E7E0-1E7FE; }

:root {
  --bean: #0d0806;
  --bean-2: #170f0b;
  --smoke: #f1e6d8;
  --smoke-2: rgba(241, 230, 216, .74);
  --smoke-3: rgba(241, 230, 216, .6);
  --ghost: rgba(241, 230, 216, .5);
  --hair: rgba(241, 230, 216, .16);
  --spot: #c2552b;            /* this section's ember; set per section from its picture */
  --ember-text: #e9895d;      /* ember light dark enough for small text */
  --display: "Imbue", "Didot", "Bodoni 72", serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --am: "Noto Serif Ethiopic", "Abyssinica SIL", "Nyala", serif;
  --pad: clamp(20px, 5.5vw, 88px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bean); color: var(--smoke); }
body {
  font: 400 1rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--spot); color: var(--bean); }
:focus-visible { outline: 1px solid var(--ember-text); outline-offset: 4px; border-radius: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .28em; text-decoration-color: var(--hair); }
a:hover { text-decoration-color: var(--spot); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
[lang="am"] { font-family: var(--am); }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--bean); }
svg { width: 1em; height: 1em; }
.ic { width: 1.1em; height: 1.1em; vertical-align: -.2em; margin-left: .2em; }
* { scrollbar-width: thin; scrollbar-color: var(--hair) transparent; }

/* ——— Signature 1: flicker. Two soft dips in 0.7s (under 3 per second), then still. ——— */
@keyframes flicker {
  0% { opacity: 1; } 14% { opacity: .28; } 26% { opacity: 1; } 54% { opacity: .55; } 66%, 100% { opacity: 1; }
}
@media (hover: hover) {
  .fl:hover, .fl:hover .rail-name { animation: flicker .7s linear 1; }
}
.fl:focus-visible, .flick { animation: flicker .7s linear 1; }
.kw { color: var(--smoke); border-bottom: 1px solid var(--hair); }
@media (hover: hover) { .kw:hover { animation: flicker .7s linear 1; border-bottom-color: var(--spot); } }

/* ——— Gate ——— */
.gate {
  position: fixed; inset: 0; z-index: 50; background: #000;
  display: grid; place-content: center; justify-items: center; gap: 40px; padding: var(--pad);
  transition: opacity 1.1s ease, visibility 1.1s;
}
.gate-am { margin: 0; font: 300 clamp(1.1rem, 2.4vw, 1.5rem)/1 var(--am); color: var(--smoke-3); letter-spacing: .08em; }
.gate-choices { display: flex; gap: clamp(28px, 6vw, 72px); flex-wrap: wrap; justify-content: center; }
.gate-btn {
  font: 300 clamp(1.6rem, 4vw, 2.6rem)/1.1 var(--display); letter-spacing: .01em;
  padding: 10px 2px; border-bottom: 1px solid var(--hair); min-height: 44px;
  transition: border-color .4s ease, color .4s ease; color: var(--smoke-2);
}
.gate-btn:hover, .gate-btn:focus-visible { border-color: var(--spot); color: var(--smoke); }
.gate-btn:focus-visible { outline: none; }
.gate-btn.remembered { color: var(--smoke); }
.gate-note { margin: 0; font-size: .8rem; color: var(--smoke-3); letter-spacing: .04em; }
body.entered .gate { opacity: 0; visibility: hidden; pointer-events: none; }
html:not(.js) .gate { display: none; }

/* ——— The room ——— */
.room { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#smoke { position: absolute; inset: 0; width: 100%; height: 100%; }
.underlay .u {
  position: absolute; opacity: 0; object-fit: cover;
  --fade: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 14%, #000 84%, transparent);
  -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in;
          mask-image: var(--fade); mask-composite: intersect;
  filter: blur(10px) saturate(1.1);
  transition: opacity 1.4s ease;
}
.underlay .u.on { opacity: calc(.2 * var(--dim, 1)); }
body.still .underlay .u { filter: none; transition: opacity .9s ease;
  --fade: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent); }
body.still .underlay .u.on { opacity: calc(.92 * var(--dim, 1)); }
body.still #smoke { display: none; }
.shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 70% 40%, transparent 40%, rgba(13, 8, 6, .55) 100%),
    linear-gradient(to top, rgba(13, 8, 6, .9), transparent 34%);
}

/* ——— Chrome: menu word, sound, dots ——— */
.chrome { position: fixed; z-index: 20; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--pad) 0; pointer-events: none; }
.chrome > * { pointer-events: auto; }
.menu-btn, .mute { min-height: 44px; min-width: 44px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke-2); }
.menu-btn:hover, .mute:hover { color: var(--smoke); }
.mute { display: inline-flex; align-items: center; gap: 12px; }
.wave { width: 40px; height: 16px; overflow: visible; }
.wave polyline { fill: none; stroke: var(--smoke); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.mute-word { min-width: 7.5ch; text-align: right; }

.rail { position: fixed; z-index: 20; right: calc(var(--pad) * .5); top: 50%; transform: translateY(-50%); }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 36px; padding: 0 6px; text-decoration: none; }
.rail-name { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ghost); transition: color .5s ease, opacity .5s; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--smoke-3); transition: background .5s ease, border-color .5s ease, box-shadow .5s ease, transform .5s var(--ease-out); flex: none; }
.rail a:hover .rail-name, .rail a:focus-visible .rail-name { color: var(--smoke-2); }
.rail a[aria-current="true"] .rail-name { color: var(--smoke); }
.rail a[aria-current="true"] .dot { background: var(--spot); border-color: var(--spot); transform: scale(1.35); outline: 1px solid color-mix(in srgb, var(--spot) 45%, transparent); outline-offset: 4px; }
.rail-current { display: none; }

/* ——— Layers: words and pictures over the room. Reading text never moves. ——— */
#world { position: relative; z-index: 10; }
html.js .layer {
  position: fixed; inset: 0; overflow: hidden;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
html.js .layer.on { opacity: 1; visibility: visible; transition: opacity 1s ease .25s, visibility 0s; }
html:not(.js) .layer { min-height: 100vh; padding: 96px var(--pad); }
.sec-title { margin: 0; font: 300 clamp(2.4rem, 5.4vw, 4.6rem)/.95 var(--display); letter-spacing: -.005em; }

/* Home */
.home-copy { position: absolute; left: var(--pad); bottom: clamp(56px, 11vh, 120px); max-width: min(46rem, 62vw); }
.name { margin: 0; font: 300 clamp(3.4rem, 8.4vw, 6rem)/.86 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.name-line { display: block; }
.name .ch { display: inline-block; opacity: 0; }
body.entered .name .ch { animation: ignite .95s linear forwards; animation-delay: calc(.9s + var(--i) * 75ms); }
@keyframes ignite { 0% { opacity: 0; } 22% { opacity: .75; } 34% { opacity: .12; } 58% { opacity: 1; } 70% { opacity: .5; } 100% { opacity: 1; } }
.name-am { margin: 14px 0 0; font: 400 clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--am); color: var(--smoke-2); letter-spacing: .04em; }
.statement { margin: 26px 0 0; max-width: 34ch; font-size: clamp(1rem, 1.25vw, 1.15rem); color: var(--smoke-2); }
.latest { margin-top: 34px; display: flex; align-items: center; gap: 18px; }
.latest-play { position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; }
.latest-play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); transition: filter .4s ease; }
.latest-play:hover img { filter: brightness(.8); }
.latest-icon { position: absolute; inset: 0; display: grid; place-items: center; }
.latest-icon svg { width: 26px; height: 26px; color: var(--smoke); }
.latest-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--smoke-3); }
.latest-title { margin: 0; font: 300 1.65rem/1.1 var(--display); }
.latest-title [lang="am"] { font-size: 1rem; color: var(--smoke-2); margin-left: 8px; }
.latest-meta { margin: 6px 0 0; font-size: .86rem; color: var(--smoke-2); }

/* Shared step buttons */
.step { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--hair); border-radius: 50%; color: var(--smoke-2); transition: border-color .3s, color .3s; }
.step:hover { border-color: var(--spot); color: var(--smoke); }
.step svg { width: 20px; height: 20px; }
.step:disabled { opacity: .3; cursor: default; }

/* About */
.layer--about::before, .layer--journey::before, .layer--connect::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(13, 8, 6, .86) 0%, rgba(13, 8, 6, .5) 46%, transparent 64%);
}
.about-copy { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(36rem, 44vw); }
.chapter-nav { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.chapter-nav button { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ghost); min-height: 36px; transition: color .5s; }
.chapter-nav button:hover { color: var(--smoke-2); }
.chapter-nav button[aria-current="true"] { color: var(--smoke); }
.chapters { margin-top: 18px; min-height: 15.5em; }
.chapter h3 { margin: 0; font: 300 clamp(1.8rem, 2.8vw, 2.4rem)/1.05 var(--display); color: var(--smoke); }
.chapter p { margin: 16px 0 0; font-size: 1.06rem; line-height: 1.7; color: var(--smoke-2); max-width: 62ch; }
.chapter .press { font-size: .9rem; color: var(--smoke-3); }
.step-ctrl { display: flex; gap: 12px; margin-top: 26px; }

/* Music */
.layer--music::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 32% 50%, rgba(13, 8, 6, .2), rgba(13, 8, 6, .7)); pointer-events: none; }
.turntable { position: absolute; left: calc(var(--pad) * .9); top: 50%; transform: translateY(-50%); width: min(42vw, 74vh, 600px); aspect-ratio: 1; }
.platter { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #1d1410 0 66%, #120c09 67% 100%); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(241, 230, 216, .05); }
.record { position: absolute; inset: 3.5%; border-radius: 50%; cursor: pointer; background: #070504; outline-offset: 6px; }
.record:focus-visible { outline: 1px solid var(--ember-text); }
.grooves { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.label { position: absolute; inset: 33%; border-radius: 50%; overflow: hidden; background: #1a110c; }
.label-img, .label-smoke { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.label-img { opacity: 0; transition: opacity .6s ease; }
body.still .label-img, .label.plain .label-img { opacity: 1; }
.spindle { position: absolute; left: 50%; top: 50%; width: 3.2%; height: 3.2%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e6d6c2, #6b5848); }
.record.spin .disc-rot, .record.spin { animation: spin 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.arm { position: absolute; right: -6%; top: -4%; width: 22%; height: 66%; overflow: visible; transform-origin: 76.7% 10%; transform: rotate(-5deg); transition: transform 1.2s var(--ease-out); cursor: grab; touch-action: none; }
.arm.down { transform: rotate(var(--arm, 0deg)); transition: transform .5s var(--ease-out); }
.arm.drag { transition: none; cursor: grabbing; }
.arm-base { fill: #1e1611; stroke: var(--hair); }
.arm-pivot { fill: #b9a690; }
.arm-rod { fill: none; stroke: #cdbba5; stroke-width: 3.4; stroke-linecap: round; }
.arm-head { fill: #2a1f18; stroke: #cdbba5; stroke-width: 1.2; }
.music-copy { position: absolute; right: calc(var(--pad) + 110px); top: 50%; transform: translateY(-50%); width: min(30rem, 36vw); max-height: 86vh; overflow-y: auto; padding: 8px 6px 8px 0; }
.tracks { list-style: none; margin: 24px 0 0; padding: 0; }
.track { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: 4px 14px; align-items: baseline; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid var(--hair); min-height: 44px; }
.track-n { font-size: .78rem; color: var(--smoke-3); font-variant-numeric: tabular-nums; }
.track-t { font: 300 1.45rem/1.15 var(--display); }
.track-t [lang="am"] { font-size: .9rem; color: var(--smoke-3); margin-left: 6px; }
.track-len { font-size: .8rem; color: var(--smoke-3); font-variant-numeric: tabular-nums; }
.track-k { grid-column: 2 / 4; font-size: .8rem; color: var(--smoke-3); }
.track[aria-current="true"] .track-t { color: var(--ember-text); }
.track[aria-current="true"] .track-n::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--spot); margin-right: 4px; }
.track[aria-current="true"] .track-n { font-size: 0; }
.track-links { display: flex; gap: 16px; padding: 2px 0 12px 3.6rem; font-size: .8rem; color: var(--smoke-2); }
.track-links a { min-height: 32px; display: inline-flex; align-items: center; }
.music-note { margin: 18px 0 0; font-size: .82rem; color: var(--smoke-3); max-width: 44ch; }

/* Visual World */
.filters { position: absolute; top: 76px; left: 50%; transform: translateX(-50%); display: flex; gap: clamp(14px, 3vw, 34px); }
.filters button { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ghost); min-height: 44px; padding: 0 2px; transition: color .4s; }
.filters button:hover { color: var(--smoke-2); }
.filters button[aria-pressed="true"] { color: var(--smoke); box-shadow: inset 0 -1px 0 var(--spot); }
.stage-hit { position: absolute; cursor: zoom-in; }
.caption { position: absolute; left: var(--pad); bottom: clamp(40px, 8vh, 90px); max-width: 24rem; }
.g-title { margin: 0; font: 300 clamp(1.9rem, 3.4vw, 2.8rem)/1 var(--display); }
.g-detail { margin: 10px 0 0; color: var(--smoke-2); font-size: .92rem; }
.g-count { margin: 10px 0 0; font-size: .76rem; letter-spacing: .14em; color: var(--smoke-3); font-variant-numeric: tabular-nums; }
.g-steps { position: absolute; right: calc(var(--pad) + 120px); bottom: clamp(40px, 8vh, 90px); display: flex; gap: 12px; }
.g-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-size: .76rem; color: var(--smoke-3); white-space: nowrap; }

/* Journey: a reel moving sideways, one moment per screen */
.layer--journey .sec-title { position: absolute; left: var(--pad); top: 84px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--smoke-2); }
.reel { position: absolute; inset: 0; overflow: hidden; }
.reel-track { display: flex; height: 100%; transition: transform 1.3s cubic-bezier(.7, 0, .2, 1); }
.moment { flex: 0 0 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.moment-inner { max-width: min(30rem, 40vw); }
.when { margin: 0; font: 200 clamp(4rem, 10vw, 6rem)/.9 var(--display); color: var(--smoke); letter-spacing: -.01em; display: inline-block; }
.moment h3 { margin: 18px 0 0; font: 300 clamp(1.7rem, 2.6vw, 2.3rem)/1.1 var(--display); }
.moment h3 [lang="am"] { font-size: .55em; color: var(--smoke-3); margin-left: 8px; }
.moment p.m-text { margin: 12px 0 0; color: var(--smoke-2); font-size: 1.04rem; max-width: 40ch; }
.moment img { display: none; }
.years { position: absolute; left: var(--pad); right: calc(var(--pad) + 120px); bottom: clamp(36px, 7vh, 70px); list-style: none; margin: 0; padding: 18px 0 0; display: flex; justify-content: space-between; border-top: 1px solid var(--hair); }
.years button { font-size: .72rem; letter-spacing: .12em; color: var(--ghost); min-height: 36px; position: relative; transition: color .5s; font-variant-numeric: tabular-nums; }
.years button::before { content: ""; position: absolute; left: 50%; top: -22px; width: 1px; height: 8px; background: var(--hair); }
.years button[aria-current="true"] { color: var(--smoke); }
.years button[aria-current="true"]::before { background: var(--spot); height: 12px; top: -24px; width: 2px; }

/* Connect */
.connect-copy { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(40rem, 52vw); max-height: 90vh; overflow-y: auto; padding: 10px 6px 10px 0; }
.links { list-style: none; margin: 24px 0 0; padding: 0; }
.links a { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--hair); text-decoration: none; min-height: 48px; }
.links .l-name { font: 300 clamp(1.7rem, 2.9vw, 2.4rem)/1.05 var(--display); }
.links .l-handle { font-size: .84rem; color: var(--smoke-3); display: inline-flex; align-items: center; }
.links a:hover .l-handle { color: var(--smoke-2); }
.contact { margin-top: 34px; }
.contact-who { margin: 0; color: var(--smoke-2); font-size: .92rem; }
.contact-form { margin-top: 14px; display: grid; gap: 14px; max-width: 32rem; }
.kinds { border: 0; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.kinds legend { font-size: .82rem; color: var(--smoke-3); margin-bottom: 6px; padding: 0; }
.kinds label { position: relative; cursor: pointer; }
.kinds input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kinds span { display: inline-flex; align-items: center; min-height: 44px; font: 300 1.4rem/1 var(--display); color: var(--ghost); transition: color .4s; border-bottom: 1px solid transparent; }
.kinds input:checked + span { color: var(--smoke); border-bottom-color: var(--spot); }
.kinds input:focus-visible + span { outline: 1px solid var(--ember-text); outline-offset: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .82rem; color: var(--smoke-2); }
.field input, .field textarea {
  font: inherit; color: var(--smoke); background: rgba(241, 230, 216, .04); border: 0; border-bottom: 1px solid var(--hair);
  padding: 10px 2px; border-radius: 0; caret-color: var(--spot); resize: vertical; min-height: 44px;
}
.field input::placeholder { color: var(--smoke-3); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--spot); background: rgba(241, 230, 216, .07); }
.field [aria-invalid="true"] { border-bottom-color: #ef7d6a; }
.contact-form:not([data-kind="Booking"]) .field--booking { display: none; }
.form-error { margin: 0; color: #f19a89; font-size: .88rem; }
.form-done { margin: 0; color: var(--smoke-2); font-size: .88rem; }
.send { justify-self: start; display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 22px; border: 1px solid var(--spot); border-radius: 999px; color: var(--smoke); transition: background .3s; }
.send:hover { background: color-mix(in srgb, var(--spot) 24%, transparent); }
.last-line { margin: 30px 0 0; font: 300 1.5rem/1.3 var(--display); }
.back { display: inline-flex; margin-top: 30px; min-height: 44px; align-items: center; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke-2); }

/* ——— Player: a slim bar that stays on every section ——— */
.player {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: 60px;
  display: flex; align-items: center; gap: 6px; padding: 0 calc(var(--pad) + 120px) 0 calc(var(--pad) - 12px);
  background: rgba(13, 8, 6, .92); border-top: 1px solid var(--hair);
  transform: translateY(100%); transition: transform .8s var(--ease-out);
}
.player.on { transform: none; }
.player[hidden] { display: none; }
.p-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--smoke-2); flex: none; }
.p-btn:hover { color: var(--smoke); }
.p-btn svg { width: 20px; height: 20px; }
.p-toggle svg { width: 24px; height: 24px; color: var(--smoke); }
.p-info { flex: 1; min-width: 0; margin-left: 10px; }
.p-title { margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; }
.p-am { color: var(--smoke-3); font-size: .82rem; }
.p-bar { position: relative; height: 14px; cursor: pointer; }
.p-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--hair); }
.p-fill { position: absolute; left: 0; top: 5px; height: 3px; width: 0; background: var(--spot); border-radius: 2px; }
.p-time { margin: 0 6px 0 14px; font-size: .78rem; color: var(--smoke-3); font-variant-numeric: tabular-nums; }
.p-full { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; color: var(--smoke-2); white-space: nowrap; margin-left: 10px; }
body.playing .layer { bottom: 60px; }

/* ——— Menu ——— */
.menu { position: fixed; inset: 0; z-index: 40; background: #090504; display: grid; align-content: center; padding: var(--pad); }
.menu[hidden] { display: none; }
.menu-close { position: absolute; top: 18px; left: calc(var(--pad) - 10px); width: 44px; height: 44px; display: grid; place-items: center; color: var(--smoke-2); }
.menu-close svg { width: 22px; height: 22px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.menu-list a { display: flex; align-items: baseline; gap: 22px; text-decoration: none; padding: 4px 0; }
.menu-list .m-name { font: 300 clamp(2.4rem, 7vw, 5rem)/1.02 var(--display); color: var(--smoke-2); transition: color .3s; }
.menu-list a:hover .m-name, .menu-list a[aria-current="true"] .m-name { color: var(--smoke); }
.menu-list .m-am { font-size: clamp(.95rem, 1.6vw, 1.2rem); color: var(--smoke-3); }
.menu-foot { margin: 40px 0 0; display: flex; gap: 24px; flex-wrap: wrap; font-size: .82rem; color: var(--smoke-2); }
.menu-foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* ——— Lightbox ——— */
.lightbox { position: fixed; inset: 0; z-index: 45; background: #050302; display: grid; place-items: center; padding: 64px clamp(16px, 8vw, 120px) 80px; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-height: 100%; }
.lb-media { position: relative; }
.lb-img { max-height: calc(100vh - 190px); max-width: min(100%, 1100px); width: auto; object-fit: contain; }
.lb-media iframe { width: min(88vw, 1100px); aspect-ratio: 16 / 9; border: 0; display: block; }
.lb-cap { font-size: .9rem; color: var(--smoke-2); text-align: center; }
.lb-title { font: 300 1.4rem/1.1 var(--display); color: var(--smoke); margin-right: 8px; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; color: var(--smoke-2); border-radius: 50%; }
.lb-btn:hover { color: var(--smoke); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-prev { left: clamp(4px, 2vw, 32px); top: 50%; }
.lb-next { right: clamp(4px, 2vw, 32px); top: 50%; }
.lb-close { top: 14px; right: clamp(4px, 2vw, 32px); }
.lb-watch { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--spot); border-radius: 999px; font-size: .88rem; }
.lb-watch .ic { margin: 0; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: 90px; transform: translateX(-50%); margin: 0; padding: 12px 18px; background: var(--bean-2); border: 1px solid var(--hair); border-radius: 8px; font-size: .88rem; max-width: calc(100vw - 32px); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); }

/* ——— Phones and narrow screens ——— */
@media (max-width: 820px) {
  :root { --pad: 20px; }
  .rail { top: auto; bottom: 0; right: 0; left: 0; transform: none; padding: 6px 0 calc(8px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(13, 8, 6, .95) 50%, transparent); }
  .rail ol { display: flex; justify-content: center; gap: 0; }
  .rail a { min-width: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .rail-name { display: none; }
  .dot { width: 9px; height: 9px; }
  .rail-current { display: block; margin: 0; text-align: center; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke-2); }
  .player { bottom: calc(66px + env(safe-area-inset-bottom)); padding: 0 8px; height: 56px; border-bottom: 1px solid var(--hair); }
  .p-prev, .p-time { display: none; }
  .p-full { margin-left: 4px; }
  html.js .layer { overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.playing .layer { bottom: 0; padding-bottom: calc(146px + env(safe-area-inset-bottom)); }
  .shade { background: linear-gradient(to top, rgba(13, 8, 6, .96) 18%, rgba(13, 8, 6, .4) 48%, transparent 66%); }

  .home-copy { left: var(--pad); right: var(--pad); bottom: calc(96px + env(safe-area-inset-bottom)); max-width: none; }
  body.playing .home-copy { bottom: calc(160px + env(safe-area-inset-bottom)); }
  .name { font-size: clamp(2.9rem, 14.5vw, 4.4rem); }
  .statement { margin-top: 16px; }
  .latest { margin-top: 22px; }

  .layer--about::before, .layer--journey::before, .layer--connect::before { background: linear-gradient(to top, rgba(13, 8, 6, .97) 40%, rgba(13, 8, 6, .5) 62%, transparent 76%); position: fixed; }
  .about-copy, .connect-copy { position: relative; left: auto; top: auto; transform: none; width: auto; max-height: none; overflow: visible; padding: 50vh var(--pad) 0; }
  .connect-copy { padding-top: 34vh; }
  .chapters { min-height: 0; }
  .layer--about .sec-title, .layer--connect .sec-title { font-size: 2.6rem; }

  .turntable { position: relative; left: auto; top: auto; transform: none; width: min(78vw, 46vh); margin: 76px auto 0; }
  .arm { right: -10%; }
  .music-copy { position: relative; right: auto; top: auto; transform: none; width: auto; max-height: none; overflow: visible; padding: 26px var(--pad) 0; }

  .filters { top: 64px; width: 100%; justify-content: center; gap: 14px; }
  .filters button { font-size: .68rem; letter-spacing: .12em; }
  .caption { left: var(--pad); right: var(--pad); bottom: calc(150px + env(safe-area-inset-bottom)); }
  .g-steps { left: var(--pad); right: auto; bottom: calc(92px + env(safe-area-inset-bottom)); }
  .g-hint { display: none; }

  .layer--journey .sec-title { position: sticky; top: 0; z-index: 2; left: auto; padding: 70px var(--pad) 10px; font-size: 1.5rem; background: linear-gradient(var(--bean) 70%, transparent); }
  .reel { position: relative; overflow: visible; }
  .reel-track { display: block; transform: none !important; height: auto; }
  .moment { height: auto; padding: 0 var(--pad) 48px; display: block; }
  .moment-inner { max-width: none; }
  .when { position: sticky; top: 108px; font-size: 3.4rem; background: none; z-index: 1; text-shadow: 0 2px 18px var(--bean); }
  .moment img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 16px; border-radius: 2px; }
  .years { display: none; }
}
@media (max-width: 820px) and (max-height: 640px) {
  .about-copy { padding-top: 40vh; }
}

/* ——— Reduced motion: flicker and scatter become simple fades ——— */
@media (prefers-reduced-motion: reduce) {
  .fl:hover, .fl:hover .rail-name, .fl:focus-visible, .flick, .kw:hover { animation: none !important; }
  body.entered .name .ch { animation: fade-in 1s ease forwards; animation-delay: .4s; }
  .reel-track { transition: none; }
  .record.spin { animation: none; }
}
@keyframes fade-in { to { opacity: 1; } }
