/* ====================================================================
   Phòng Jazz — jazz for every hour of the day.
   Warm dark glass, Playfair + Inter. Palette follows the season; the sky follows the hour.
   ==================================================================== */
:root {
  --bg: #120b08; --bg-2: #26150c; --fg: #fff3e6; --muted: #cfb39f;
  --accent: #f2a341; --accent-2: #ff5e3a; --gold: #fde3a1; --on-accent: #1c0f08; --yt: #ff0033;
  --glass: rgba(255,255,255,.06); --glass-strong: rgba(255,255,255,.10); --glass-border: rgba(255,255,255,.14);
  --shadow: 0 24px 60px rgba(0,0,0,.45); --shadow-soft: 0 10px 30px rgba(0,0,0,.3);
  --radius: 24px; --radius-sm: 16px; --container: 1180px;
  --font-body: "Inter", system-ui, sans-serif; --font-display: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(.22,.61,.36,1);
  --sky-a: #3a1d0f; --sky-b: #140c08;
}
/* season palettes: spring = cherry pink, summer = leaf green, autumn = golden yellow, winter = warm white (light theme) */
body[data-season="spring"] { --accent: #ff8fb8; --accent-2: #ff5e9a; --gold: #ffd1e0; --bg: #170b12; --bg-2: #33142a; --muted: #d9b3c6; }
body[data-season="summer"] { --accent: #6fd68f; --accent-2: #2fa86b; --gold: #cfffd6; --bg: #07130c; --bg-2: #10301c; --muted: #b7d6bf; }
body[data-season="autumn"] { --accent: #f5c04a; --accent-2: #e8903a; --gold: #ffe6a3; --bg: #140e06; --bg-2: #2e1f08; --muted: #d6c19a; }
body[data-season="winter"] { --accent: #7fb0e6; --accent-2: #4e86c6; --gold: #c9a46b; --on-accent: #ffffff; --bg: #f1ece4; --bg-2: #e4dcd0; --fg: #2b2019; --muted: #7a6a5c;
  --glass: rgba(255,255,255,.55); --glass-strong: rgba(255,255,255,.8); --glass-border: rgba(43,32,25,.1); --shadow: 0 24px 60px rgba(60,40,20,.18); --shadow-soft: 0 10px 30px rgba(60,40,20,.12); }
body[data-daypart="morning"] { --sky-a: #5a2e1a; --sky-b: #1c110b; --sun-y: 62%; --sun-o: .9; --stars: 0; }
body[data-daypart="afternoon"] { --sky-a: #6a3a16; --sky-b: #1f130a; --sun-y: 28%; --sun-o: 1; --stars: 0; }
body[data-daypart="evening"] { --sky-a: #4a1f10; --sky-b: #150c08; --sun-y: 78%; --sun-o: .8; --stars: .35; }
body[data-daypart="night"] { --sky-a: #1a1420; --sky-b: #0b0806; --sun-y: 110%; --sun-o: 0; --stars: 1; }
/* season skies override the daypart hue; summer has two weathers */
body[data-season="spring"] { --sky-a: #5a2448; --sky-b: #170b12; }
body[data-season="summer"][data-weather="sun"] { --sky-a: #2e6a34; --sky-b: #07130c; --sun-o: 1; --sun-y: 24%; --stars: 0; }
body[data-season="summer"][data-weather="rain"] { --sky-a: #0d1f17; --sky-b: #050b08; --sun-o: 0; --stars: 0; }
body[data-season="autumn"] { --sky-a: #5e3f0c; }
body[data-season="winter"] { --sky-a: #d9e3ee; --sky-b: #f1ece4; --sun-o: .45; --stars: 0; }
body[data-season="winter"] .hero__title, body[data-season="winter"] .hero__copy .lead { text-shadow: none; }
body[data-season="winter"] .sky::after { background: radial-gradient(60% 45% at 50% 70%, rgba(127,176,230,.25), transparent 70%); }
body[data-weather="rain"]::after { content: ""; position: fixed; inset: 0; z-index: 34; pointer-events: none; background: rgba(3,9,7,.32); }
.weather { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 35; pointer-events: none; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.glass { background: var(--glass); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-soft); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.eyebrow i { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.lead { color: var(--muted); font-size: 18px; max-width: 580px; }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; border: 1px solid var(--glass-border); background: var(--glass); backdrop-filter: blur(8px); transition: transform .3s var(--ease), background .3s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); background: var(--glass-strong); }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); border-color: transparent; box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--primary:hover { background: linear-gradient(135deg, var(--gold), var(--accent)); }
.btn--ghost { background: transparent; }
[hidden] { display: none !important; }
.btn--yt { background: var(--yt); border-color: var(--yt); color: #fff; }
.btn--yt:hover { background: #ff2a55; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.ico-play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass); font-size: 13px; font-weight: 600; transition: all .3s; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--accent)); box-shadow: 0 0 10px var(--c, var(--accent)); }
.chip:hover { background: var(--glass-strong); transform: translateY(-1px); }

/* loader */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; gap: 16px; background: var(--bg); color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; text-align: center; transition: opacity .8s, visibility .8s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__logo { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.loader__bar { width: 180px; height: 2px; background: var(--glass-border); border-radius: 2px; overflow: hidden; margin: 0 auto; }
.loader__bar i { display: block; height: 100%; background: var(--accent); animation: load 1.8s var(--ease) infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 60% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding: 14px 0; transition: background .4s, box-shadow .4s, padding .4s; }
.nav.is-scrolled { padding: 8px 0; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.nav__inner { max-width: var(--container); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.logo__mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-content: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); font-size: 14px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: all .25s; }
.nav__links a:hover { color: var(--fg); background: var(--glass); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--glass-border); position: relative; }
.hamburger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); border-radius: 2px; }
.hamburger span:first-child { top: 14px; } .hamburger span:last-child { bottom: 14px; }

/* ---------- hero: the hour dial ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; }
.sky { position: absolute; inset: 0; background: linear-gradient(180deg, var(--sky-a), var(--sky-b) 72%); transition: background 1.2s; }
.sky::after { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 66% 66%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); transition: background 1s; }
.sky__stars { position: absolute; inset: 0; opacity: var(--stars, 0); transition: opacity 1.2s;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 42%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 61% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 8%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 84% 26%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 46%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 58%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 8% 64%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 55% 50%, #fff 50%, transparent 51%); }
.sky__sun { position: absolute; left: 66%; top: var(--sun-y, 60%); width: 42vmin; height: 42vmin; transform: translate(-50%, -50%); border-radius: 50%; opacity: var(--sun-o, .8); background: radial-gradient(circle, color-mix(in srgb, var(--gold) 55%, transparent), color-mix(in srgb, var(--accent-2) 25%, transparent) 40%, transparent 70%); filter: blur(10px); transition: top 1.4s var(--ease), opacity 1.2s; }
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
/* cinema hero: full-screen channel stills with a slow push-in, dissolves and a playlist */
body[data-hero="cinema"] .hero #hero3d, body[data-hero="cinema"] .hero .stage-cap { display: none; }
body:not([data-hero="cinema"]) .cine, body:not([data-hero="cinema"]) .cine-list { display: none; }
.cine { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--bg); }
.cine__drift { position: absolute; inset: -40px; will-change: transform; }
.cine__layer { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.8s ease; }
.cine__layer.is-on { opacity: 1; transform: scale(1.12); transition: opacity 1.8s ease, transform 9.5s linear; }
.cine__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 32%, transparent 60%),
  linear-gradient(270deg, color-mix(in srgb, var(--bg) 70%, transparent) 0%, transparent 28%),
  linear-gradient(0deg, var(--bg) 0%, transparent 32%),
  linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 20%),
  radial-gradient(120% 90% at 55% 45%, transparent 55%, rgba(0,0,0,.45) 100%); }
.cine__leak { position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen; background: radial-gradient(60% 70% at 78% 30%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%); }
.cine.is-flash .cine__leak { animation: leak 2.2s ease; }
@keyframes leak { 0% { opacity: 0; } 30% { opacity: .55; } 100% { opacity: 0; } }
.cine__grain { position: absolute; inset: -50%; opacity: .07; pointer-events: none; animation: grain 1s steps(4) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); } }
.cine-list { position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); top: 50%; transform: translateY(-44%); z-index: 36; width: 300px; margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.cine-list button { display: grid; grid-template-columns: 72px 1fr 14px; align-items: center; gap: 12px; width: 100%; padding: 7px 12px 7px 7px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(12,7,4,.42); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--fg); text-align: left; cursor: pointer; transition: background .35s, border-color .35s, transform .35s var(--ease), box-shadow .35s; }
.cine-list button:hover { background: rgba(12,7,4,.62); transform: translateX(-4px); }
.cine-list button.is-on { border-color: color-mix(in srgb, var(--c) 80%, transparent); background: color-mix(in srgb, var(--c) 20%, rgba(12,7,4,.66)); box-shadow: 0 12px 34px rgba(0,0,0,.4), 0 0 24px color-mix(in srgb, var(--c) 30%, transparent); }
.cine-list__thumb { width: 72px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--c), #1a0f09); }
.cine-list__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.cine-list button:hover .cine-list__thumb img { transform: scale(1.08); }
.cine-list__text { min-width: 0; display: grid; }
.cine-list__text b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cine-list__text small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.cine-list__play { width: 0; height: 0; border-left: 9px solid var(--fg); border-top: 6px solid transparent; border-bottom: 6px solid transparent; opacity: 0; transition: opacity .3s; }
.cine-list button.is-on .cine-list__play { opacity: 1; }
.stage-cap { position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 + 24px)); bottom: 72px; z-index: 36; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; pointer-events: none; text-align: right; white-space: nowrap; }
.stage-cap b::before { content: "Now in the room"; display: block; font-family: var(--font-body, Inter), sans-serif; font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.stage-cap b { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 20px; color: var(--fg); text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.stage-cap span { font-size: 12px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
/* left column: copy + now bar + parts of the day. The dial is rendered to the right of it. */
.hero__copy { position: absolute; left: max(24px, calc((100vw - var(--container)) / 2 + 24px)); top: 50%; transform: translateY(-46%); z-index: 36; width: min(460px, 36vw); pointer-events: none; }
.hero__copy > * { pointer-events: auto; }
.hero__title { margin-top: 14px; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.04; font-weight: 700; text-shadow: 0 10px 40px rgba(0,0,0,.5); }
.hero__title em { font-style: italic; font-weight: 500; background: linear-gradient(90deg, var(--gold), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__copy .lead { margin-top: 16px; font-size: 16px; line-height: 1.6; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.nowbar { margin-top: 28px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 14px 14px 14px 20px; border-radius: 20px; }
.nowbar__label { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nowbar__label i { width: 6px; height: 6px; border-radius: 50%; background: #45d66a; box-shadow: 0 0 8px #45d66a; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.nowbar__time { margin-top: 2px; font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.nowbar__info { min-width: 0; padding-left: 18px; border-left: 1px solid var(--glass-border); }
.nowbar__greet { font-family: var(--font-display); font-style: italic; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowbar__now { margin-top: 2px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nowbar__now strong { color: var(--fg); font-weight: 600; }
.nowbar__actions { display: flex; gap: 6px; }
.legend { margin-top: 12px; padding: 0; list-style: none; display: flex; flex-wrap: nowrap; gap: 2px; white-space: nowrap; }
.legend li { cursor: pointer; display: flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; border: 1px solid transparent; font-size: 11.5px; color: var(--muted); transition: all .4s; }
.legend li i { width: 6px; height: 6px; border-radius: 50%; background: var(--glass-border); }
.legend li b { font-weight: 600; color: var(--fg); opacity: .7; }
.legend li span { opacity: .6; font-variant-numeric: tabular-nums; }
.legend li.is-now { background: color-mix(in srgb, var(--accent) 16%, transparent); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.legend li.is-now b { opacity: 1; }
.legend li.is-now i { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--glass-border); border-radius: 14px; z-index: 3; }
.scroll-cue i { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--tint { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 7%, transparent), transparent); }
.section--cta { padding-bottom: 130px; }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head h2, .why h2, .lamp-card h2 { margin: 14px 0 14px; font-size: clamp(34px, 4.6vw, 56px); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s var(--ease), box-shadow .3s; will-change: transform; }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(240px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.12), transparent 60%); opacity: 0; transition: opacity .3s; }
.tilt:hover::after { opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .3s var(--ease); z-index: 1; }
.play::after { content: ""; position: absolute; left: 21px; top: 17px; border-left: 14px solid var(--on-accent); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.play--sm { width: 30px; height: 30px; }
.play--sm::after { left: 12px; top: 9px; border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
*:hover > .play { transform: translate(-50%, -50%) scale(1.1); }

/* ---------- the day: timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 34px; border-top: 1px dashed var(--glass-border); }
.period { position: relative; padding: 24px 22px 22px; border-radius: var(--radius); transition: transform .4s var(--ease), border-color .4s; }
.period::before { content: ""; position: absolute; left: 22px; top: -8px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--c); box-shadow: 0 0 0 4px var(--bg); }
.period.is-now { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--glass)); transform: translateY(-6px); }
.period.is-now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px var(--bg), 0 0 18px var(--gold); }
.period__head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.period__now { display: none; padding: 3px 9px; border-radius: 999px; background: var(--gold); color: var(--on-accent); font-weight: 700; }
.period.is-now .period__now { display: inline-block; }
.period h3 { margin-top: 10px; font-size: 30px; }
.period__line { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 44px; }
.period__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.period__chips .chip { padding: 6px 10px; font-size: 12px; }
.period__empty { font-size: 12px; color: var(--muted); }
.period__thumb { position: relative; margin-top: 16px; aspect-ratio: 16/9; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(135deg, var(--c), #1a0f09); cursor: pointer; }
.period__thumb img { width: 100%; height: 100%; object-fit: cover; }
.period__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 12px; font-weight: 600; background: linear-gradient(to top, rgba(10,6,4,.9), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- the crate: record sleeves ---------- */
.crate { display: flex; justify-content: center; gap: 0; padding: 20px max(24px, calc((100vw - var(--container)) / 2 + 24px)) 40px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; perspective: 1200px; }
.crate::-webkit-scrollbar { display: none; }
.sleeve { position: relative; flex: 0 0 auto; width: var(--sleeve-w, 250px); aspect-ratio: 1; margin-right: var(--sleeve-gap, -60px); scroll-snap-align: start; text-align: left; transform-origin: bottom center; transform: rotateY(-22deg) translateZ(0); transition: transform .5s var(--ease), filter .4s; filter: brightness(.86); }
.sleeve:last-child { margin-right: 0; }
.sleeve:hover, .sleeve.is-open { transform: rotateY(-6deg) translateY(-22px) translateZ(60px); z-index: 2; filter: brightness(1); }
.sleeve__face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; border-radius: 6px; background: linear-gradient(160deg, var(--c), #1a0f09 90%); border: 1px solid rgba(255,255,255,.14); box-shadow: 10px 0 24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.05); overflow: hidden; }
.sleeve__face::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 30% 20%, rgba(255,255,255,.18), transparent 60%), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 6px); }
.sleeve__avatar { position: absolute; left: 18px; top: 18px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-content: center; background: rgba(0,0,0,.35); font-family: var(--font-display); font-weight: 700; font-size: 24px; border: 2px solid rgba(255,255,255,.4); }
.sleeve__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sleeve__name { position: relative; font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.05; text-shadow: 0 2px 10px rgba(0,0,0,.6); }
.sleeve__mood, .sleeve__hours { position: relative; margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,243,230,.8); }
.sleeve__disc { position: absolute; top: 8%; right: -16%; width: 84%; aspect-ratio: 1; border-radius: 50%; z-index: -1; background: radial-gradient(circle, var(--c) 0 14%, #0c0806 15%, #221712 16%, #0c0806 19%, #1b120d 20%, #0c0806 24%, #1b120d 25%, #0c0806 100%); box-shadow: 0 10px 30px rgba(0,0,0,.6); transition: transform .6s var(--ease); }
.sleeve:hover .sleeve__disc, .sleeve.is-open .sleeve__disc { transform: translateX(30px) rotate(40deg); }
.liner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; padding: 32px; border-radius: var(--radius); border-top: 3px solid var(--c, var(--accent)); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.liner.is-visible { opacity: 1; transform: none; }
.liner h3 { margin-top: 12px; font-size: 34px; }
.liner__handle { margin-top: 6px; font-size: 13px; color: var(--muted); }
.liner__desc { margin-top: 12px; color: var(--muted); max-width: 520px; }
.liner__actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.liner__tracks { list-style: none; display: grid; gap: 10px; align-content: start; }
.liner__tracks li { display: grid; grid-template-columns: 28px 120px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; cursor: pointer; transition: background .25s; }
.liner__tracks li:hover { background: var(--glass); }
.liner__num { font-size: 11px; color: var(--muted); }
.liner__thumb { position: relative; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--c), #1a0f09); }
.liner__thumb img { width: 100%; height: 100%; object-fit: cover; }
.liner__t strong { display: block; font-size: 14px; line-height: 1.3; }
.liner__t em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- setlist ---------- */
.setlist { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.setlist__hero { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.setlist__thumb { position: relative; aspect-ratio: 16/10; background: linear-gradient(135deg, var(--c), #1a0f09); overflow: hidden; }
.setlist__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.setlist__hero:hover .setlist__thumb img { transform: scale(1.04); }
.setlist__body { padding: 20px 22px 24px; }
.setlist__body h3 { margin-top: 10px; font-size: 26px; line-height: 1.15; }
.setlist__body p:last-child { margin-top: 8px; font-size: 13px; color: var(--muted); }
.setlist__list { list-style: none; display: grid; gap: 6px; }
.track { display: grid; grid-template-columns: 28px 92px 1fr auto auto; align-items: center; gap: 14px; padding: 8px 12px 8px 8px; border-radius: 14px; cursor: pointer; transition: background .25s, transform .25s; }
.track:hover { background: var(--glass); transform: translateX(4px); }
.track__num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.track__thumb { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--c), #1a0f09); }
.track__thumb img { width: 100%; height: 100%; object-fit: cover; }
.track__t strong { display: block; font-size: 14px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 34ch; }
.track__t em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 2px; }
.track__t em i { width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.track__eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; opacity: 0; transition: opacity .3s; }
.track__eq i { width: 3px; height: 40%; border-radius: 2px; background: var(--accent); animation: eq .9s ease-in-out infinite; }
.track__eq i:nth-child(2) { animation-delay: .15s; } .track__eq i:nth-child(3) { animation-delay: .3s; } .track__eq i:nth-child(4) { animation-delay: .45s; }
.track:hover .track__eq { opacity: 1; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.track__meta { font-size: 12px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.track__meta small { display: block; font-size: 10px; opacity: .8; }

/* ---------- seasons: four windows ---------- */
.windows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.window { position: relative; padding: 14px 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--glass-border); background: var(--glass); text-align: left; transition: all .4s var(--ease); }
.window__pane { display: block; position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,.18); background: var(--w-bg); }
.window__pane::before, .window__pane::after { content: ""; position: absolute; background: rgba(255,255,255,.22); }
.window__pane::before { left: 50%; top: 0; bottom: 0; width: 2px; } .window__pane::after { top: 50%; left: 0; right: 0; height: 2px; }
.window__pane i { position: absolute; inset: 0; opacity: .9; }
.window[data-season="spring"] .window__pane { --w-bg: linear-gradient(180deg, #ffd1e0, #ff7eb3 70%, #6b2a44); }
.window[data-season="summer"] .window__pane { --w-bg: linear-gradient(180deg, #9af0e4, #19a89a 70%, #0d2522); }
.window[data-season="autumn"] .window__pane { --w-bg: linear-gradient(180deg, #fde3a1, #f2a341 55%, #6e2d16); }
.window[data-season="winter"] .window__pane { --w-bg: linear-gradient(180deg, #e3f0ff, #8fc3ff 60%, #1b2d4a); }
.window[data-season="spring"] .window__pane i { background-image: radial-gradient(3px 3px at 20% 30%, #fff 50%, transparent 52%), radial-gradient(3px 3px at 70% 55%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 45% 75%, #fff 50%, transparent 52%); }
.window[data-season="summer"] .window__pane i { background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.7), transparent 24%); }
.window[data-season="autumn"] .window__pane i { background-image: radial-gradient(4px 2px at 30% 60%, #b43a2a 50%, transparent 52%), radial-gradient(4px 2px at 65% 40%, #7a3d12 50%, transparent 52%); }
.window[data-season="winter"] .window__pane i { background-image: radial-gradient(2px 2px at 15% 25%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 55% 15%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 80% 45%, #fff 50%, transparent 52%), radial-gradient(2px 2px at 35% 70%, #fff 50%, transparent 52%); }
.window__name { display: block; margin-top: 12px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.window__word { display: block; font-size: 12px; color: var(--muted); }
.window:hover { transform: translateY(-4px); }
.window.is-open { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--glass)); box-shadow: 0 0 0 1px var(--accent), var(--shadow-soft); }
.window.is-open .window__pane { border-color: var(--gold); }
.season-report { margin-bottom: 22px; color: var(--muted); }
.season-report strong { color: var(--fg); font-family: var(--font-display); font-size: 20px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vcard { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.vcard__thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--c), #1a0f09); overflow: hidden; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard:hover .vcard__thumb img { transform: scale(1.05); }
.vcard__dur { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.65); z-index: 1; }
.vcard__num { position: absolute; left: 12px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.5); z-index: 1; }
.vcard__body { padding: 16px 18px 18px; }
.vcard__body h3 { font-size: 18px; line-height: 1.25; }
.vcard__body p { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.vcard__ch { display: inline-flex; align-items: center; gap: 6px; color: var(--fg); font-weight: 500; }
.vcard__ch i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.stats { list-style: none; display: flex; gap: 32px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--glass-border); }
.stats b { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--gold); }
.stats span { display: block; margin-top: 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit { padding: 24px 22px; border-radius: var(--radius); }
.benefit__eq { display: flex; align-items: flex-end; gap: 4px; height: 26px; margin-bottom: 16px; }
.benefit__eq i { width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--gold), var(--accent)); height: 40%; animation: eq 1.4s ease-in-out infinite; }
.benefit__eq i:nth-child(2) { animation-delay: .2s; } .benefit__eq i:nth-child(3) { animation-delay: .4s; } .benefit__eq i:nth-child(4) { animation-delay: .6s; } .benefit__eq i:nth-child(5) { animation-delay: .8s; }
.benefit h3 { font-size: 21px; }
.benefit p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- lamp card ---------- */
.lamp-card { position: relative; display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 48px; border-radius: var(--radius); overflow: hidden; }
.lamp-card::before { content: ""; position: absolute; left: 110px; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 38%, transparent), transparent 62%); opacity: 0; transition: opacity .8s; pointer-events: none; }
.lamp-card.is-on::before { opacity: 1; }
.lamp { position: relative; width: 200px; height: 240px; margin: 0 auto; display: block; }
.lamp__cord { position: absolute; left: 50%; top: 0; width: 2px; height: 70px; margin-left: -1px; background: var(--glass-border); }
.lamp__shade { position: absolute; left: 50%; top: 66px; width: 150px; height: 90px; margin-left: -75px; border-radius: 10px 10px 50% 50% / 10px 10px 30% 30%; background: linear-gradient(180deg, #3b2418, #1f130c); border: 1px solid var(--glass-border); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); transition: background .6s; }
.lamp__light { position: absolute; left: 50%; top: 150px; width: 0; height: 0; border-left: 110px solid transparent; border-right: 110px solid transparent; border-top: 0 solid transparent; margin-left: -110px; opacity: 0; filter: blur(8px); transition: opacity .6s; }
.lamp-card.is-on .lamp__shade { background: linear-gradient(180deg, #7a4a1e, #3b2418); box-shadow: 0 10px 40px color-mix(in srgb, var(--gold) 45%, transparent); }
.lamp-card.is-on .lamp__light { opacity: 1; border-top: 110px solid color-mix(in srgb, var(--gold) 35%, transparent); transform: rotate(180deg); transform-origin: top; }
.lamp::after { content: "tap"; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lamp-card.is-on .lamp::after { content: "on"; color: var(--gold); }
.lamp-card .lead { margin-top: 14px; }
.cta__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* footer */
.footer { border-top: 1px solid var(--glass-border); padding: 40px 0 50px; color: var(--muted); font-size: 13px; }
.footer__inner { display: grid; gap: 20px; }
.footer__brand { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--fg); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__links a:hover { color: var(--fg); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--glass-border); }
.footer__bottom a { color: var(--accent); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8,5,3,.9); backdrop-filter: blur(10px); }
.lightbox__inner { position: relative; width: min(1040px, 100%); }
.lightbox__frame { aspect-ratio: 16/9; background: #000; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: var(--shadow); }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__empty { display: grid; place-content: center; height: 100%; text-align: center; padding: 24px; color: var(--muted); line-height: 1.8; }
.lightbox__empty b { color: var(--fg); }
.lightbox__meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.lightbox__meta strong { font-family: var(--font-display); font-size: 18px; }
.lightbox__meta span { color: var(--muted); font-size: 13px; }
.lightbox__meta a { color: var(--accent); font-size: 13px; font-weight: 600; }
.lightbox__close { position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass); font-size: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav__links { position: fixed; top: 64px; left: 16px; right: 16px; flex-direction: column; padding: 10px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--bg) 92%, transparent); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); display: none; }
  .nav__links.is-open { display: flex; }
  .hamburger { display: block; }
  .nav .chip { display: none; }
  .hero { height: auto; min-height: 0; padding: 96px 0 40px; display: grid; gap: 18px; }
  #hero3d { position: relative; height: 52vh; min-height: 360px; order: 2; }
  .hero__copy { position: relative; left: auto; top: auto; transform: none; margin: 0 16px; width: auto; order: 1; }
  .cine__shade { background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 62%, transparent) 45%, color-mix(in srgb, var(--bg) 35%, transparent) 100%); }
  .cine-list { position: relative; right: auto; top: auto; transform: none; width: auto; order: 2; margin: 0 16px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .cine-list li { flex: 0 0 240px; scroll-snap-align: start; }
  .cine-list button:hover { transform: none; }
  .stage-cap { right: 16px; bottom: 18px; }
  .legend { flex-wrap: wrap; }
  .sky__sun { left: 50%; }
  .scroll-cue { display: none; }
  .section { padding: 80px 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .sleeve { --sleeve-w: 210px; --sleeve-gap: -50px; }
  .liner { grid-template-columns: 1fr; padding: 22px; gap: 20px; }
  .setlist { grid-template-columns: 1fr; }
  .track { grid-template-columns: 24px 80px 1fr auto; }
  .track__eq { display: none; }
  .windows { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; gap: 32px; }
  .lamp-card { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; }
  .lamp-card::before { left: 50%; top: 120px; }
  .lamp-card .eyebrow, .cta__chips { justify-content: center; }
  .lamp-card .lead { margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) { .timeline, .benefits, .windows { grid-template-columns: 1fr; } .stats { gap: 18px; flex-wrap: wrap; } .nowbar { grid-template-columns: auto 1fr; } .nowbar__actions { grid-column: 1 / -1; } .nowbar__time { font-size: 30px; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .track__eq i, .benefit__eq i, .scroll-cue i, .nowbar__label i { animation: none; } }

/* season on the hero channel list */
.cine-list li.is-season button { border-color: color-mix(in srgb, var(--accent) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent), 0 10px 30px rgba(0,0,0,.35); }
.cine-list__season { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #140e06; background: var(--accent); }

/* dial hero draws its own 3D sun and moon: drop the old 2D glow */
body[data-hero="dial"] .sky__sun, body[data-hero="dial"] .sky::after { display: none; }

[data-video].no-thumb img { display: none; }
[data-video].no-thumb { background: linear-gradient(135deg, color-mix(in srgb, var(--c, var(--accent)) 35%, #000), #111); }

/* day cards: equal height, chips area reserves two rows, thumbnails sit on one baseline */
.period { display: flex; flex-direction: column; }
.period__chips { min-height: 72px; align-content: flex-start; }
.period__thumb { margin-top: auto; }

.liner__note { margin: 6px 0 8px; font-size: 12px; color: var(--muted, #8f8a7e); font-style: italic; }

/* crate: seven sleeves share the row evenly; overlap shrinks on narrower screens */
.crate { --sleeve-w: clamp(170px, calc((min(100vw, var(--container, 1200px)) - 48px + 6 * 60px) / 7), 250px); --sleeve-gap: -60px; }
/* light seasons: soft shadows instead of the heavy dark halo */
body[data-season="winter"] .sleeve__face { box-shadow: 6px 0 16px rgba(70,55,40,.16), inset 0 0 0 1px rgba(255,255,255,.08); border-color: rgba(0,0,0,.08); background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 35%, #3a2e26) 90%); }
body[data-season="winter"] .sleeve__disc { box-shadow: 0 6px 14px rgba(0,0,0,.16); }
body[data-season="winter"] .sleeve__name { text-shadow: 0 1px 3px rgba(0,0,0,.3); }
body[data-season="winter"] .sleeve { filter: brightness(.95); }

/* ---------- glass sleeves ---------- */
.sleeve__face {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 62%, transparent) 0%, color-mix(in srgb, var(--c) 28%, rgba(20,12,8,.55)) 55%, rgba(14,9,6,.6) 100%);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 24px 50px -18px color-mix(in srgb, var(--c) 55%, transparent), 0 10px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(0,0,0,.25);
}
/* sheen: a soft light band that slides across on hover/open */
.sleeve__face::before {
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.22) 45%, rgba(255,255,255,.05) 52%, transparent 60%),
    radial-gradient(80% 60% at 20% 10%, rgba(255,255,255,.22), transparent 60%);
  background-size: 250% 100%, 100% 100%; background-position: 110% 0, 0 0; transition: background-position 1.1s var(--ease);
}
.sleeve:hover .sleeve__face::before, .sleeve.is-open .sleeve__face::before { background-position: -40% 0, 0 0; }
/* frosted top edge + faint inner glass lines */
.sleeve__face::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 22%), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px); }
.sleeve__avatar { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.55); box-shadow: 0 6px 16px rgba(0,0,0,.3), inset 0 0 0 3px rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.sleeve__name { text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 8px 24px rgba(0,0,0,.35); }
.sleeve__mood, .sleeve__hours { color: rgba(255,248,240,.85); }
.sleeve { filter: brightness(.92); }
.sleeve:hover, .sleeve.is-open { filter: brightness(1.04); }
body[data-season="winter"] .sleeve__face { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 70%, #fff) 0%, color-mix(in srgb, var(--c) 45%, #f1ece4) 60%, rgba(255,255,255,.55) 100%); border-color: rgba(255,255,255,.7); box-shadow: 0 20px 40px -18px color-mix(in srgb, var(--c) 50%, transparent), 0 8px 22px rgba(70,55,40,.14), inset 0 1px 0 rgba(255,255,255,.8); }
body[data-season="winter"] .sleeve__name { color: #2b2019; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
body[data-season="winter"] .sleeve__mood, body[data-season="winter"] .sleeve__hours { color: rgba(43,32,25,.75); }

/* ---------- pendant lamp, redrawn ---------- */
.lamp { width: 220px; height: 260px; transform-origin: 50% 0; }
.lamp-card.is-on .lamp { animation: lampSwing 6s ease-in-out infinite; }
@keyframes lampSwing { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } }
.lamp__cord { top: 0; height: 78px; width: 2px; background: linear-gradient(180deg, #8a7a66, #4a3b2d); box-shadow: 1px 0 0 rgba(255,255,255,.12); }
.lamp__cord::before { content: ""; position: absolute; left: 50%; top: -2px; width: 26px; height: 8px; transform: translateX(-50%); border-radius: 4px; background: linear-gradient(180deg, #6b5a46, #2e2218); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.lamp__shade {
  top: 74px; width: 170px; height: 92px; margin-left: -85px; border: 0;
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  border-radius: 0;
  background: linear-gradient(90deg, #2a1a10 0%, #4a2f1c 18%, #7a4f2b 42%, #5a3821 60%, #2e1d12 100%);
  box-shadow: none; transition: background .6s, filter .6s;
}
/* rim and bulb under the shade */
.lamp__shade::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,220,170,.35) 50%, rgba(0,0,0,.4)); }
.lamp__shade::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 22px; height: 30px; margin-left: -11px; border-radius: 50% 50% 48% 48%; background: radial-gradient(circle at 50% 60%, #fff6dc 0 22%, #e9c48c 45%, rgba(120,80,40,.6) 70%); opacity: .35; transition: opacity .5s, box-shadow .5s; }
.lamp-card.is-on .lamp__shade { background: linear-gradient(90deg, #3a2414 0%, #7a4f2b 18%, #c98a4a 42%, #8e5a30 60%, #3e2716 100%); filter: brightness(1.08); }
.lamp-card.is-on .lamp__shade::after { opacity: 1; box-shadow: 0 0 18px 6px rgba(255,214,150,.75), 0 0 60px 20px rgba(255,190,110,.35); }
/* light cone + floor pool replace the old blurred triangle */
.lamp__light {
  top: 160px; left: 50%; width: 260px; height: 130px; margin-left: -130px; border: 0; transform: none; filter: blur(2px);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(255,215,150,.55), rgba(255,200,120,.12) 70%, transparent);
  opacity: 0; transition: opacity .7s;
}
.lamp-card.is-on .lamp__light { opacity: 1; border: 0; transform: none; }
.lamp::before { content: ""; position: absolute; left: 50%; top: 236px; width: 260px; height: 46px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,210,140,.45), rgba(255,190,110,.12) 55%, transparent 75%); filter: blur(6px); opacity: 0; transition: opacity .7s; }
.lamp-card.is-on .lamp::before { opacity: 1; }
.lamp::after { bottom: -6px; }
.lamp-card::before { width: 640px; height: 640px; }
/* dust in the beam */
.lamp-card.is-on .lamp__light::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 30% 40%, rgba(255,240,210,.9) 50%, transparent 52%), radial-gradient(1.2px 1.2px at 62% 65%, rgba(255,240,210,.8) 50%, transparent 52%), radial-gradient(1.5px 1.5px at 48% 80%, rgba(255,240,210,.8) 50%, transparent 52%), radial-gradient(1px 1px at 40% 25%, rgba(255,240,210,.8) 50%, transparent 52%), radial-gradient(1.3px 1.3px at 70% 90%, rgba(255,240,210,.8) 50%, transparent 52%); animation: motes 9s linear infinite; }
@keyframes motes { from { transform: translateY(-8px); opacity: .6; } 50% { opacity: 1; } to { transform: translateY(10px); opacity: .5; } }
body[data-season="winter"] .lamp__cord { background: linear-gradient(180deg, #9c8c78, #5c4b3a); }

/* season windows: drawn scenes over the sky gradient; keep the mullions on top */
.window__pane svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.window__pane i { z-index: 2; }
.window__pane::before, .window__pane::after { z-index: 3; }
.window[data-season="spring"] .window__pane { --w-bg: linear-gradient(180deg, #ffe4ee, #ffb3cf 70%, #f08cb0); }
.window[data-season="summer"] .window__pane { --w-bg: linear-gradient(180deg, #7fd0f0, #b9ecff 70%, #cfeeff); }
.window[data-season="autumn"] .window__pane { --w-bg: linear-gradient(180deg, #ffe0b0, #f2a341 60%, #c86a2a); }
.window[data-season="winter"] .window__pane { --w-bg: linear-gradient(180deg, #c7d8ec, #e3eef8 60%, #f3f7fb); }
.window:hover .window__pane svg { transform: scale(1.04); transition: transform .6s var(--ease); }

/* rounder sleeves */
.sleeve__face { border-radius: 18px; padding: 20px; }
.sleeve__avatar { left: 20px; top: 20px; }

/* season windows: real photos (assets/seasons/*.jpg) over the drawn scene; the drawing shows if a photo is missing */
.window__pane::after, .window__pane::before { opacity: .55; }
.window__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; display: block; transition: transform .8s var(--ease), filter .6s; }
.window:hover .window__photo { transform: scale(1.06); }
.window[data-season="winter"] .window__photo { filter: saturate(.8) brightness(1.05); }
.window[data-season="autumn"] .window__photo { filter: saturate(1.15); }
.window__pane img.is-missing { display: none; }

.footer__credits { display: block; margin-top: 6px; font-size: 11px; opacity: .7; }

/* ---------- hero: curved gallery ---------- */
body[data-hero="gallery"] .hero { height: auto; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 118px 0 40px; overflow: hidden; }
body[data-hero="gallery"] .hero #hero3d, body[data-hero="gallery"] .stage-cap, body[data-hero="gallery"] .sky__sun, body[data-hero="gallery"] .sky::after, body[data-hero="gallery"] .scroll-cue { display: none; }
body[data-hero="gallery"] .hero__copy { position: relative; left: auto; top: auto; transform: none; width: min(820px, 92vw); text-align: center; display: flex; flex-direction: column; align-items: center; z-index: 3; }
body[data-hero="gallery"] .hero__copy .eyebrow { justify-content: center; color: var(--accent); font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 15px; }
body[data-hero="gallery"] .hero__copy .eyebrow i { display: none; }
body[data-hero="gallery"] .hero__title { font-size: clamp(40px, 5.2vw, 64px); margin-top: 10px; text-shadow: none; }
body[data-hero="gallery"] .hero__copy .lead { max-width: 620px; margin: 10px auto 0; font-size: 15px; color: var(--muted); }
body[data-hero="gallery"] .nowbar { margin: 22px auto 0; }
body[data-hero="gallery"] .legend { order: 9; margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(120px, 170px)); gap: 10px; justify-content: center; }
body[data-hero="gallery"] .legend li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; background: none; border: 0; }
body[data-hero="gallery"] .legend li i { display: none; }
body[data-hero="gallery"] .legend li b { font-size: 13px; }
body[data-hero="gallery"] .legend li::before { content: "#0" counter(leg); counter-increment: leg; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--accent); }
body[data-hero="gallery"] .legend { counter-reset: leg; }
body[data-hero="gallery"] .legend li.is-now b { color: var(--accent); }
/* the row */
.gal { position: relative; width: 100%; height: 360px; margin-top: 30px; perspective: 1500px; perspective-origin: 50% 40%; z-index: 2; }
.gal__track { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.gal__card { position: absolute; left: 0; top: 0; width: 168px; height: var(--h, 210px); margin: 0 0 0 -84px; transform: translate(var(--x, 0), -50%) translateZ(var(--z, 0)) rotateY(var(--rot, 0deg)); transform-style: preserve-3d; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: #1a120c; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: transform .8s var(--ease), height .8s var(--ease), opacity .6s, box-shadow .4s; cursor: pointer; text-align: left; }
.gal__card.is-active { width: 230px; margin-left: -115px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.7), 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent), 0 0 40px color-mix(in srgb, var(--c) 30%, transparent); }
.gal__img { position: absolute; inset: 0; }
.gal__img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .8s var(--ease); }
.gal__card:hover .gal__img img { transform: scale(1.08); }
.gal__card.is-blank .gal__img { background: linear-gradient(160deg, var(--c), #1a0f09); }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.75)); color: #fff; opacity: 0; transition: opacity .4s; }
.gal__card.is-active .gal__cap, .gal__card:hover .gal__cap { opacity: 1; }
.gal__cap b { display: block; font-family: var(--font-display); font-size: 17px; line-height: 1.1; }
.gal__cap small { display: block; margin-top: 3px; font-size: 11px; letter-spacing: .12em; opacity: .85; }
body[data-season="winter"] .gal__card { border-color: rgba(0,0,0,.08); box-shadow: 0 24px 50px -22px rgba(70,55,40,.35); }
@media (max-width: 720px) { .gal { height: 260px; } .gal__card { width: 120px; margin-left: -60px; } .gal__card.is-active { width: 160px; margin-left: -80px; } body[data-hero="gallery"] .legend { grid-template-columns: 1fr 1fr; } }

body[data-hero="gallery"] .hero > .legend { margin-top: 26px; position: relative; z-index: 3; }
.gal { margin-top: 26px; height: 340px; }

/* ---------- hero: flipping images (transform-only) ---------- */
body[data-hero="flip"] .hero #hero3d, body[data-hero="flip"] .stage-cap, body[data-hero="flip"] .sky__sun, body[data-hero="flip"] .sky::after { display: none; }
body[data-hero="flip"] .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 3vw; width: min(1560px, 100vw - 48px); margin: 0 auto; padding: 100px 0 64px; height: 100vh; min-height: 680px; }
body[data-hero="flip"] .hero .sky { position: fixed; z-index: -1; }
body[data-hero="flip"] .hero__copy { position: static; transform: none; width: auto; max-width: 660px; justify-self: start; }
body[data-hero="flip"] .hero__copy .eyebrow { font-size: 14px; letter-spacing: .22em; }
body[data-hero="flip"] .hero__title { font-size: clamp(48px, 5.4vw, 86px); margin-top: 18px; }
body[data-hero="flip"] .hero__copy .lead { font-size: clamp(16px, 1.15vw, 20px); max-width: 640px; margin-top: 18px; }
body[data-hero="flip"] .nowbar { margin-top: 30px; padding: 20px 22px; transform: scale(1.08); transform-origin: left center; }
body[data-hero="flip"] .legend { margin-top: 34px; font-size: 15px; }
body[data-hero="flip"] .scroll-cue { position: absolute; }
.flip { position: relative; justify-self: center; width: min(100%, 78vh, 760px); aspect-ratio: 1; perspective: 1600px; z-index: 2; opacity: 0; transition: opacity 1.2s ease; }
.flip.is-ready { opacity: 1; }
/* every tile is the big size at the centre; resting tiles are translated + scaled down (transform only) */
.flip__tile { position: absolute; left: 25%; top: 25%; width: 50%; aspect-ratio: 1; border-radius: 17%; overflow: hidden; background: #2a1a10; cursor: pointer; z-index: 1;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) scale(var(--sc, 1)) rotateY(var(--ry, 0deg)); will-change: transform;
  transition: transform 1s cubic-bezier(.22,.8,.2,1), filter .9s ease, box-shadow .9s ease; filter: brightness(.8) saturate(.92); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.flip__tile:hover { filter: brightness(.85) saturate(.95) blur(0); z-index: 3; }
.flip__img { position: absolute; inset: 0; overflow: hidden; background: #2a1a10; } .flip__img img { width: 106%; height: 106%; margin: -3%; object-fit: cover; object-position: center; display: block; }
.flip__tile.is-blank .flip__img { background: linear-gradient(160deg, var(--c), #1a0f09); }
.flip__tile.is-front { z-index: 5; filter: brightness(1) saturate(1.05) blur(0); box-shadow: 0 50px 100px -30px rgba(0,0,0,.85), 0 0 60px color-mix(in srgb, var(--c) 22%, transparent); }
/* frosted pill with a colour dot, hugging the big tile's lower-left corner */
.flip__pill { position: absolute; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 14px 26px 14px 18px; border-radius: 999px;
  background: rgba(255,255,255,.26); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border: 1px solid rgba(255,255,255,.35); color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.45); white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(12px) scale(.92); will-change: transform, opacity; }
.flip__pill::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--accent)); box-shadow: 0 0 14px color-mix(in srgb, var(--c, var(--accent)) 70%, transparent); flex: none; }
.flip__pill.is-in { animation: pillIn .7s cubic-bezier(.22,.8,.2,1) .3s both; }
@keyframes pillIn { to { opacity: 1; transform: none; } }
.flip__pill b { font-family: var(--font-display); font-size: 22px; font-weight: 600; } .flip__pill small { font-size: 13px; letter-spacing: .1em; opacity: .8; }
body[data-season="winter"] .flip__pill { background: rgba(43,32,25,.55); border-color: rgba(255,255,255,.2); }
@media (max-width: 900px) { body[data-hero="flip"] .hero { grid-template-columns: 1fr; height: auto; padding: 90px 0 40px; gap: 24px; } body[data-hero="flip"] .nowbar { transform: none; } .flip { width: min(100%, 460px); margin: 0 auto 24px; } .flip__pill b { font-size: 16px; } }

/* echo tiles: deeper layer, smaller, dimmer, softer */
.flip__tile--echo { z-index: 0; filter: brightness(.6) saturate(.85) blur(.4px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.8); pointer-events: auto; }
.flip__tile--echo:hover { filter: brightness(.82) saturate(.95) blur(0); }


/* the tile that just left the front stays bright until it has landed, then eases down */
.flip__tile.is-landing { filter: brightness(1) saturate(1.05) blur(0); z-index: 4; transition: filter .6s ease .85s, box-shadow .6s ease .85s; }
.flip__tile { backface-visibility: hidden; }

/* echo tiles: deeper layer, smaller, dimmer, softer */
.flip__tile--echo { z-index: 0; filter: brightness(.6) saturate(.85) blur(.4px); box-shadow: 0 10px 24px -14px rgba(0,0,0,.8); pointer-events: auto; }
.flip__tile--echo:hover { filter: brightness(.82) saturate(.95) blur(0); }


/* the tile that just left the front stays bright until it has landed, then eases down */
.flip__tile.is-landing { filter: brightness(1) saturate(1.05) blur(0); z-index: 4; transition: filter .6s ease .85s, box-shadow .6s ease .85s; }
.flip__tile { backface-visibility: hidden; }





.flip__img img { image-rendering: auto; backface-visibility: hidden; transform: translateZ(0); }

/* brand logo */
.logo__mark, .loader__logo { background: none !important; box-shadow: none; }
.logo__mark img { width: 36px; height: 36px; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.loader__logo img { width: 72px; height: 72px; display: block; animation: logoPulse 1.8s ease-in-out infinite; }
@keyframes logoPulse { 50% { transform: scale(1.08); opacity: .85; } }
.footer__id { display: flex; align-items: center; gap: 14px; }
.footer__logo { width: 44px; height: 44px; }

/* mobile: crate scrolls horizontally again, hero copy before the cluster, nothing wider than the screen */
@media (max-width: 900px) {
  .crate { justify-content: flex-start; --sleeve-w: 210px; --sleeve-gap: -50px; }
  body[data-hero="flip"] .hero { grid-template-columns: 1fr; grid-auto-rows: auto; height: auto; min-height: 0; padding: 92px 0 32px; gap: 20px; width: min(1560px, 100vw - 32px); }
  body[data-hero="flip"] .hero__copy { order: 0; max-width: none; }
  body[data-hero="flip"] .flip { order: 1; width: min(100%, 360px); margin: 0 auto; }
  body[data-hero="flip"] .nowbar { transform: none; }
  body[data-hero="flip"] .hero__title { font-size: clamp(38px, 11vw, 56px); }
  html, body { overflow-x: hidden; }
}
