/* ==========================================================
   4K BANDA — "Señal 4K" design system
   Concept: live-broadcast viewfinder + neon stage light.
   ========================================================== */

:root {
    --bg: #07060b;
    --bg-2: #0d0b14;
    --panel: rgba(255, 255, 255, 0.035);
    --line: rgba(255, 255, 255, 0.1);
    --text: #f3f0f8;
    --muted: #a59fb6;
    --purple: #bc13fe;
    --green: #39ff14;
    --pink: #ff007f;

    --font-display: "Unbounded", "Arial Black", sans-serif;
    --font-body: "Instrument Sans", system-ui, sans-serif;
    --font-mono: "DM Mono", ui-monospace, monospace;

    --gutter: clamp(20px, 5vw, 72px);
    --max: 1280px;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; max-width: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100%;
    min-height: 100vh;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: fixed; top: -60px; left: 16px; z-index: 300;
    background: var(--green); color: #000; padding: 10px 18px; border-radius: 999px;
    font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.atmos::before, .atmos::after {
    content: ""; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
    filter: blur(120px); opacity: 0.22;
}
.atmos::before { background: var(--purple); top: -30vmax; left: -25vmax; animation: drift-a 22s ease-in-out infinite alternate; }
.atmos::after  { background: var(--green);  bottom: -40vmax; right: -30vmax; opacity: 0.12; animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(20vmax, 14vmax); } }
@keyframes drift-b { to { transform: translate(-18vmax, -12vmax); } }

.grain {
    position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Type helpers ---------- */
.eyebrow {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--green); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.purple { color: var(--purple); }
.eyebrow.pink { color: var(--pink); }

.h-display {
    font-family: var(--font-display); font-weight: 800; line-height: 0.98; letter-spacing: -0.035em;
    text-transform: uppercase; font-size: clamp(2.1rem, 6.2vw, 5rem);
}
.grad {
    background: linear-gradient(100deg, var(--green), var(--purple) 55%, var(--pink));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
main { overflow-x: clip; }
.section-pad { padding: clamp(80px, 12vw, 160px) 0; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); display: grid; gap: 18px; }
.section-head p { color: var(--muted); max-width: 52ch; }

/* ---------- Buttons ---------- */
.btn {
    --c: var(--purple);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 30px; border-radius: 999px; font-family: var(--font-mono); font-size: 13px;
    font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn:active { transform: scale(0.96); }
.btn-solid { background: var(--c); color: #fff; box-shadow: 0 0 0 0 var(--c), 0 10px 40px -10px var(--c); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent), 0 16px 50px -8px var(--c); }
.btn-solid.green { --c: var(--green); color: #031000; }
.btn-ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--c); color: var(--c); transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
    animation: nav-in 0.8s var(--ease) both;
}
.nav.scrolled { background: rgba(7, 6, 11, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: var(--line); }
@keyframes nav-in { from { opacity: 0; transform: translateY(-20px); } }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.brand img { height: 38px; width: auto; filter: drop-shadow(0 0 14px rgba(57, 255, 20, 0.45)); }
.nav-links { display: none; gap: 34px; }
.nav-links a {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--muted); position: relative; padding: 6px 0; transition: color 0.3s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
    background: linear-gradient(90deg, var(--green), var(--purple)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: none; padding: 11px 22px; }
.burger { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; transition: background 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--text); transition: transform 0.4s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
    position: fixed; inset: 0; z-index: 90; background: rgba(7, 6, 11, 0.96); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 100px var(--gutter) 40px;
    clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path 0.7s var(--ease); visibility: hidden;
}
.menu.open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.menu a.m-link { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 9vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.15; }
.menu a.m-link:hover { color: var(--green); }
.menu .btn { margin-top: 26px; align-self: flex-start; }

@media (min-width: 960px) {
    .nav-links, .nav-cta { display: inline-flex; }
    .burger, .menu { display: none; }
}

/* ---------- Mobile tab bar ---------- */
.tabbar {
    position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px; border-radius: 22px;
    background: rgba(13, 11, 20, 0.78); border: 1px solid var(--line);
    backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.tabbar a {
    position: relative; display: grid; justify-items: center; gap: 3px; padding: 9px 0 8px; border-radius: 16px;
    color: var(--muted); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    transition: color 0.3s, background 0.3s;
}
.tabbar svg { width: 22px; height: 22px; transition: transform 0.4s var(--ease); }
.tabbar a.active { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.tabbar a.active svg { color: var(--green); transform: translateY(-1px); filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.6)); }
.tabbar a.active::after { content: ""; position: absolute; top: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--green); box-shadow: 0 0 8px var(--green); }
@media (max-width: 959px) {
    body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (min-width: 960px) { .tabbar { display: none; } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 120px 0 0; }
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; transform: scale(1.1); will-change: transform; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(to top, var(--bg) 2%, transparent 55%),
        linear-gradient(to bottom, rgba(7, 6, 11, 0.7), transparent 30%),
        radial-gradient(ellipse at 80% 20%, rgba(188, 19, 254, 0.35), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(57, 255, 20, 0.2), transparent 50%);
}
.scanlines { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.18; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0 1px, transparent 1px 4px); }

/* viewfinder frame */
.vf { position: absolute; inset: 92px var(--gutter) 28px; pointer-events: none; z-index: 1; }
.vf i { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, 0.7); }
.vf i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.vf i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.vf i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.vf i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hud { position: absolute; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); display: flex; align-items: center; gap: 10px; }
.hud.tl { top: 14px; left: 44px; } .hud.tr { top: 14px; right: 44px; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: #ff2d2d; box-shadow: 0 0 12px #ff2d2d; animation: blink 1.2s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }

.hero-content { position: relative; z-index: 2; padding-bottom: clamp(70px, 10vh, 120px); }
.hero-title { display: grid; line-height: 0.82; margin: 18px 0 30px; }
.hero-4k {
    font-family: var(--font-display); font-weight: 900; font-size: clamp(7rem, 30vw, 16rem); letter-spacing: -0.07em;
    color: transparent; -webkit-text-stroke: 2px #fff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.35), 0 0 120px rgba(255, 255, 255, 0.18);
    animation: flicker 6s infinite, rise 1.1s var(--ease) both;
}
.hero-4k b { color: transparent; -webkit-text-stroke: 2px #fff; text-shadow: inherit; }
.hero-sub { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(1.4rem, 4.6vw, 3.4rem); line-height: 1; animation: rise 1.1s 0.2s var(--ease) both; }
@keyframes flicker {
    0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; }
    20%, 63% { opacity: 0.55; }
}
@keyframes rise { from { opacity: 0; transform: translateY(60px); } }
.hero-foot { display: grid; gap: 28px; animation: rise 1.1s 0.4s var(--ease) both; }
.hero-foot p { color: #d6d0e2; max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.next-show {
    display: none; align-items: center; gap: 20px; padding: 18px 24px; border-radius: 18px;
    background: rgba(7, 6, 11, 0.55); border: 1px solid var(--line); backdrop-filter: blur(16px);
    max-width: 380px;
}
.next-show .d { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 0.9; text-align: center; }
.next-show .d small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--green); font-weight: 400; margin-top: 4px; }
.next-show .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.next-show .v { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.next-show.ready { display: flex; }

@media (min-width: 900px) {
    .hero-foot { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); padding: 18px 0; transform: rotate(-1.2deg) scale(1.03); margin: -10px 0; position: relative; z-index: 3; }
.marquee-track { display: flex; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.8rem); white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; letter-spacing: -0.02em; }
.marquee span::after { content: "✦"; color: var(--green); font-size: 0.8em; }
.marquee span:nth-child(3n+2)::after { color: var(--purple); }
.marquee span:nth-child(3n)::after { color: var(--pink); }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Story ---------- */
.story-grid { display: grid; gap: 56px; align-items: center; }
.story-art { position: relative; display: grid; place-items: center; min-height: 340px; }
.story-art::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 0deg, var(--green), var(--purple), var(--pink), var(--green)); filter: blur(70px); opacity: 0.45; animation: spin 14s linear infinite; }
.story-art img { position: relative; width: min(100%, 420px); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 0 40px rgba(57, 255, 20, 0.35)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-18px) rotate(2deg); } }
.story-copy { display: grid; gap: 24px; }
.story-copy p { color: var(--muted); }
.quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.55rem); line-height: 1.3; letter-spacing: -0.02em; padding-left: 24px; border-left: 3px solid var(--purple); color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.stat { border-top: 1px solid var(--line); padding-top: 16px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: 90px; } }

/* ---------- Band ---------- */
#banda { padding-bottom: clamp(48px, 7vw, 96px); }
.band-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
.member {
    --c: var(--purple);
    position: relative; overflow: hidden; border-radius: 22px; aspect-ratio: 3 / 4.6; text-align: left; width: 100%;
    border: 1px solid var(--line); isolation: isolate; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.member:nth-child(1) { --c: var(--purple); } .member:nth-child(2) { --c: var(--pink); }
.member:nth-child(3) { --c: var(--green); }  .member:nth-child(4) { --c: var(--purple); }
.member img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05) brightness(0.8); transition: filter 0.6s, transform 0.9s var(--ease); }
.member::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 6, 11, 0.95) 8%, transparent 60%), linear-gradient(160deg, color-mix(in srgb, var(--c) 12%, transparent), transparent 45%); mix-blend-mode: normal; }
.member:hover, .member:focus-visible { transform: translateY(-10px); border-color: var(--c); box-shadow: 0 30px 70px -35px var(--c); }
.member:hover img, .member:focus-visible img { filter: grayscale(0) brightness(0.95); transform: scale(1.07); }
.member .idx { position: absolute; top: 18px; left: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.8); }
.member .more { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.4); font-size: 20px; transition: background 0.3s, transform 0.5s var(--ease); }
.member:hover .more { background: var(--c); transform: rotate(90deg); }
.member .info { position: absolute; left: 22px; right: 22px; bottom: 22px; }
.member .role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--c); display: block; margin-bottom: 6px; }
.member h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -0.03em; line-height: 1; text-transform: uppercase; }
@media (min-width: 560px) { .band-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
    .band-grid { grid-template-columns: repeat(4, 1fr); }
    .member:nth-child(even) { margin-top: 64px; }
}

/* touch screens have no hover: show members in full colour */
@media (hover: none) {
    .member img { filter: none; }
}

/* ---------- Dialogs ---------- */
dialog { border: 0; background: transparent; color: var(--text); max-width: none; max-height: none; width: 100%; height: 100%; padding: 0; }
dialog::backdrop { background: rgba(4, 3, 8, 0.88); backdrop-filter: blur(14px); }
dialog[open] { display: grid; place-items: center; padding: 16px; }
.close { position: absolute; top: 18px; right: 18px; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 6, 11, 0.7); font-size: 22px; line-height: 1; transition: background 0.3s, transform 0.4s var(--ease); }
.close:hover { background: var(--pink); transform: rotate(90deg); }
.modal-panel { position: relative; width: min(960px, 100%); max-height: 92vh; overflow: auto; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(145deg, #12101b, #0a0910); display: grid; animation: pop 0.55s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(0.96); } }
.modal-panel video { width: 100%; height: min(62vh, 560px); object-fit: contain; background: #000; }
.modal-body { padding: clamp(24px, 4vw, 52px); display: grid; align-content: center; gap: 16px; }
.modal-body h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; text-transform: uppercase; line-height: 1; }
.modal-body p { color: var(--muted); }
.modal-body .bar { width: 64px; height: 3px; background: linear-gradient(90deg, var(--green), var(--purple)); }
@media (min-width: 760px) { .modal-panel { grid-template-columns: auto 1fr; width: min(960px, 100%); } .modal-panel video { width: auto; height: min(84vh, 720px); aspect-ratio: 9 / 16; } }

.reel-panel { position: relative; width: min(420px, 100%); height: min(92vh, 780px); border-radius: 24px; overflow: hidden; background: #000; border: 1px solid var(--line); animation: pop 0.55s var(--ease) both; display: grid; }
.reel-panel video { width: 100%; height: 100%; object-fit: contain; background: #000; }

/* ---------- Videos ---------- */
.vid-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.rail-ctrl { display: none; gap: 12px; }
.rail-ctrl button { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); font-size: 22px; transition: background 0.3s, border-color 0.3s, transform 0.3s; }
.rail-ctrl button:hover { background: var(--purple); border-color: var(--purple); transform: scale(1.08); }
@media (min-width: 760px) { .rail-ctrl { display: flex; } }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px var(--gutter) 40px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.reel {
    --c: var(--purple);
    position: relative; flex: 0 0 min(76vw, 320px); aspect-ratio: 9 / 16; scroll-snap-align: center; overflow: hidden; border-radius: 20px;
    text-align: left; isolation: isolate; border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.4s;
    background:
        radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--c) 55%, transparent), transparent 55%),
        radial-gradient(circle at 80% 90%, color-mix(in srgb, var(--c) 30%, transparent), transparent 50%),
        #0c0a13;
}
.reel:nth-child(3n+1) { --c: var(--purple); } .reel:nth-child(3n+2) { --c: var(--green); } .reel:nth-child(3n) { --c: var(--pink); }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: brightness(0.82) saturate(1.1); transition: transform 0.9s var(--ease), filter 0.5s; }
.reel:hover img, .reel:focus-visible img { transform: scale(1.06); filter: brightness(0.95) saturate(1.2); }
.reel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 6, 11, 0.85), transparent 45%), linear-gradient(to bottom, rgba(7, 6, 11, 0.5), transparent 25%); }
.reel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 5px); }
.reel:hover, .reel:focus-visible { transform: translateY(-12px) rotate(-0.6deg); border-color: var(--c); box-shadow: 0 30px 80px -25px var(--c); }
.reel .corner { position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, 0.75); }
.reel .c1 { top: 14px; left: 14px; border-right: 0; border-bottom: 0; } .reel .c2 { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.reel .c3 { bottom: 14px; left: 14px; border-right: 0; border-top: 0; } .reel .c4 { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.reel .tag { position: absolute; top: 24px; left: 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; display: flex; align-items: center; gap: 8px; }
.reel .num { position: absolute; left: 24px; bottom: 80px; font-family: var(--font-display); font-weight: 900; font-size: clamp(5rem, 10vw, 7.5rem); line-height: 0.8; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--c); text-shadow: 0 0 40px color-mix(in srgb, var(--c) 60%, transparent); }
.reel .play { position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -52px 0 0 -38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.95); color: #000; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12), 0 0 50px var(--c); transition: transform 0.5s var(--ease); }
.reel:hover .play { transform: scale(1.18); }
.reel .play svg { width: 28px; height: 28px; margin-left: 4px; }
.reel .cap { position: absolute; left: 26px; right: 26px; bottom: 30px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.rail-note { padding: 0 var(--gutter); color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; }
.rail-note a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tour ---------- */
.shows { display: grid; border-top: 1px solid var(--line); }
.show {
    --c: var(--purple);
    position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: center;
    padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease), background 0.4s;
}
.show:nth-child(3n+1) { --c: var(--purple); } .show:nth-child(3n+2) { --c: var(--pink); } .show:nth-child(3n) { --c: var(--green); }
.show::before { content: ""; position: absolute; inset: 0 -20px; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); opacity: 0; transition: opacity 0.4s; border-radius: 14px; }
.show:hover::before, .show.next::before { opacity: 1; }
.show:hover { padding-left: 14px; }
.show .date { font-family: var(--font-display); font-weight: 900; line-height: 0.85; letter-spacing: -0.05em; font-size: clamp(3.2rem, 8vw, 6rem); display: flex; align-items: baseline; gap: 10px; }
.show .date small { font-family: var(--font-mono); font-weight: 400; font-size: 13px; letter-spacing: 0.2em; color: var(--c); }
.show h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.1rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.1; }
.show .where { color: var(--muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 6px; }
.show .act { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid currentColor; color: var(--c); }
.show.past { opacity: 0.45; }
.show.past .badge { color: var(--muted); }
.show.past .btn { display: none; }
.show.next .badge { background: var(--c); color: #000; border-color: var(--c); animation: pulse-b 2s infinite; }
@keyframes pulse-b { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--c) 0%, transparent), 0 0 24px var(--c); } }
.show .btn { padding: 12px 24px; --c: inherit; }
@media (min-width: 820px) {
    .show { grid-template-columns: 240px 1fr auto; }
    .show .act { grid-column: auto; justify-content: flex-end; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq-item {
    --c: var(--purple);
    position: relative; isolation: isolate; border-bottom: 1px solid var(--line);
}
.faq-item:nth-child(3n+2) { --c: var(--pink); }
.faq-item:nth-child(3n) { --c: var(--green); }
.faq-item::before {
    content: ""; position: absolute; inset: 0 -20px; z-index: -1; border-radius: 14px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 14%, transparent), transparent 70%);
    opacity: 0; transition: opacity 0.4s;
}
.faq-item:hover::before, .faq-item[open]::before { opacity: 1; }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 26px 0; cursor: pointer; list-style: none;
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(0.95rem, 1.9vw, 1.2rem); letter-spacing: -0.01em; line-height: 1.25;
    transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover, .faq-item[open] summary { color: var(--c); }
.faq-mark {
    flex: none; width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--line); display: grid; place-items: center;
    transition: border-color 0.3s, background 0.3s;
}
.faq-mark::before, .faq-mark::after {
    content: ""; grid-area: 1 / 1; border-radius: 2px; background: currentColor;
    transition: transform 0.35s var(--ease), opacity 0.35s;
}
.faq-mark::before { width: 12px; height: 1.5px; }
.faq-mark::after { width: 1.5px; height: 12px; }
.faq-item[open] .faq-mark { border-color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-body { padding: 0 0 26px; max-width: 68ch; color: var(--muted); }
.faq-body p + p { margin-top: 12px; }
.faq-body a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.faq-body a:hover { color: var(--text); }
.faq-body b { color: var(--text); font-weight: 600; }

/* ---------- Contact ---------- */
.cta {
    position: relative; overflow: hidden; border-radius: clamp(24px, 4vw, 44px); padding: clamp(40px, 8vw, 110px) clamp(24px, 6vw, 90px);
    text-align: center; border: 1px solid var(--line); isolation: isolate;
    background:
        radial-gradient(ellipse at 15% 0%, rgba(188, 19, 254, 0.5), transparent 55%),
        radial-gradient(ellipse at 95% 100%, rgba(57, 255, 20, 0.28), transparent 50%),
        #0b0912;
}
.cta::before { content: "4K"; position: absolute; z-index: -1; right: -3%; bottom: -22%; font-family: var(--font-display); font-weight: 900; font-size: clamp(12rem, 38vw, 34rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1); }
.cta h2 { margin: 18px auto 22px; max-width: 14ch; }
.cta p { color: #cfc8dd; max-width: 48ch; margin: 0 auto 36px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Contact info ---------- */
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 22px; grid-template-columns: 1fr; }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease); height: 100%; }
.contact-list a:hover { border-color: var(--green); background: rgba(57, 255, 20, 0.05); transform: translateY(-4px); }
.contact-list .ci { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); color: var(--green); }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-list b { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
@media (min-width: 860px) { .contact-list { grid-template-columns: 1fr 1fr 1.4fr; } }

/* ---------- Contact form ---------- */
.form-card {
    position: relative; margin: clamp(48px, 7vw, 90px) auto 0; max-width: 860px;
    padding: clamp(28px, 5vw, 56px); border-radius: clamp(22px, 3vw, 32px);
    background: linear-gradient(145deg, #12101b, #0a0910); border: 1px solid var(--line);
}
.form-card .h-display { font-size: clamp(1.8rem, 4.4vw, 3rem); margin: 14px 0 10px; padding-right: 90px; }
.form-lead { color: var(--muted); margin-bottom: 28px; max-width: 44ch; padding-right: 70px; }
#contact-form { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--text); padding: 14px 16px; border-radius: 12px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
    color-scheme: dark;
}
.field select option { background: #fff; color: #000; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.15); background: rgba(255, 255, 255, 0.06); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--pink); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 6px; }
.form-status { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--green); }
.form-status.error { color: var(--pink); }
@media (min-width: 700px) {
    #contact-form { grid-template-columns: 1fr 1fr; }
    .field.full { grid-column: 1 / -1; }
}

/* electric guitar overlapping the card corner */
.guitar {
    position: absolute; z-index: 3; top: -62px; right: -2px; width: 78px; height: auto; pointer-events: none;
    transform-origin: 50% 90%; transform: rotate(24deg);
    filter: drop-shadow(0 0 18px rgba(188, 19, 254, 0.6)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6));
    animation: guitar-sway 5s ease-in-out infinite, guitar-glow 2.4s ease-in-out infinite;
}
.guitar .strings path { transform-box: fill-box; transform-origin: center; animation: string-vib 0.16s linear infinite alternate; }
.guitar .strings path:nth-child(2) { animation-duration: 0.19s; } .guitar .strings path:nth-child(3) { animation-duration: 0.14s; }
.guitar .strings path:nth-child(4) { animation-duration: 0.21s; } .guitar .strings path:nth-child(5) { animation-duration: 0.17s; }
.guitar .strings path:nth-child(6) { animation-duration: 0.23s; }
@keyframes guitar-sway { 0%, 100% { transform: rotate(24deg) translateY(0); } 50% { transform: rotate(18deg) translateY(-8px); } }
@keyframes guitar-glow { 50% { filter: drop-shadow(0 0 30px rgba(57, 255, 20, 0.65)) drop-shadow(0 14px 18px rgba(0, 0, 0, 0.6)); } }
@keyframes string-vib { from { transform: translateX(-0.5px); } to { transform: translateX(0.5px); } }
@media (min-width: 700px) { .guitar { width: 120px; top: -96px; right: -26px; } .form-card .h-display, .form-lead { padding-right: 110px; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: clamp(80px, 10vw, 140px); }
.footer-grid { display: grid; gap: 32px; align-items: center; }
.footer .brand img { height: 52px; }
.footer-info { display: grid; gap: 18px; justify-items: start; }
.footer address { font-style: normal; display: grid; gap: 6px; color: var(--muted); font-size: 14px; }
.footer address a:hover { color: var(--green); }
@media (min-width: 860px) { .footer-info { justify-items: center; text-align: center; } .footer address { justify-items: center; } }
.socials { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.socials a { color: var(--muted); transition: color 0.3s; }
.socials a:hover { color: var(--green); }
.copy { color: var(--muted); font-size: 13px; opacity: 0.8; }
.copy a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s; }
.copy a:hover { color: var(--green); }
@media (min-width: 860px) { .footer-grid { grid-template-columns: auto 1fr auto; } .socials { justify-content: center; } }

/* ---------- Reveal (enter + exit) ----------
   Uses the individual `translate`/`scale` properties so hover effects that set
   `transform` on the same element keep working. Hover transitions are listed
   at the end of the shorthand for the same reason. */
.js .rv {
    opacity: 0; translate: 0 44px; scale: 1; filter: blur(2px);
    transition:
        opacity 0.9s var(--ease) var(--d, 0ms), translate 0.9s var(--ease) var(--d, 0ms),
        scale 0.9s var(--ease) var(--d, 0ms), filter 0.9s var(--ease) var(--d, 0ms), clip-path 1.1s var(--ease) var(--d, 0ms),
        transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s, padding 0.5s var(--ease), background 0.4s, color 0.3s;
}
.js .rv.in { opacity: 1; translate: 0 0; scale: 1; filter: none; clip-path: inset(-20% -20% -20% -20%); }
.js .rv.out { --d: 0ms !important; opacity: 0; translate: 0 -34px; filter: blur(2px); transition-duration: 0.45s; }

/* variants, assigned from JS. The .in reset must outrank every data-fx base state. */
.js .rv[data-fx].in { translate: 0 0; scale: 1; }
.js .rv[data-fx="mask"] { translate: 0 26px; filter: none; }
.js .rv[data-fx="mask"].out { translate: 0 -22px; filter: none; }
.js .rv[data-fx="zoom"] { translate: 0 60px; scale: 0.9; }
.js .rv[data-fx="zoom"].out { translate: 0 -40px; scale: 0.94; }
.js .rv[data-fx="left"] { translate: -60px 0; }
.js .rv[data-fx="left"].out { translate: 60px 0; }
.js .rv[data-fx="right"] { translate: 60px 0; }
.js .rv[data-fx="right"].out { translate: -60px 0; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 260; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--green), var(--purple), var(--pink)); box-shadow: 0 0 12px var(--purple); }
@supports (animation-timeline: scroll()) {
    .progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
    @keyframes progress-grow { to { transform: scaleX(1); } }
}

/* hero leaves the screen with the scroll (progressive enhancement) */
@supports (animation-timeline: view()) {
    .hero-content { animation: hero-exit linear both; animation-timeline: view(); animation-range: exit 5% exit 75%; }
    @keyframes hero-exit { to { opacity: 0; transform: translateY(-70px) scale(0.96); filter: blur(8px); } }
}

/* dialogs close with an exit animation */
@keyframes pop-out { to { opacity: 0; transform: translateY(24px) scale(0.96); } }
dialog.closing .modal-panel, dialog.closing .reel-panel { animation: pop-out 0.3s var(--ease) both; }
dialog.closing::backdrop { opacity: 0; transition: opacity 0.3s; }

/* ---------- Cursor glow (fine pointers only) ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgba(188, 19, 254, 0.16), transparent 65%); opacity: 0; transition: opacity 0.4s; will-change: transform; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .js .rv, .js .rv.out, .js .rv[data-fx] { opacity: 1; translate: none; scale: 1; filter: none; clip-path: none; }
    .progress, .hero-content { animation: none !important; }
    .hero-media video { transform: none; }
}
