/* ===== ZEEKULUS — STYLES ===== */

:root {
  --bg: #050505;
  --bg-alt: #0c0c0e;
  --panel: #131316;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8e6e3;
  --muted: #9a9790;
  --steel: #b9bcc4;
  --ember: #e0702a;      /* rust-orange from the logo edges */
  --ember-hot: #ffa052;
  --violet: #8e4bd8;     /* from the banner nebula */
  --font-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1140px;
  --nav-h: 68px;
  --player-h: 78px;
  /* live music values, written by js/main.js while a track plays (0..1) */
  --bass: 0; --mid: 0; --high: 0; --beat: 0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  background: linear-gradient(to bottom, rgba(5,5,5,0.92), rgba(5,5,5,0.6));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 0 8px rgba(255,255,255,0.12)); transition: filter .3s; }
.nav__brand:hover .nav__logo { filter: drop-shadow(0 0 10px rgba(255,160,82,0.55)); }
body.is-listening .nav__logo { filter: drop-shadow(0 0 calc(4px + var(--beat) * 14px) rgba(255,160,82,calc(0.25 + var(--beat) * 0.7))); }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.14em;
  color: var(--muted); transition: color .2s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--steel); margin: 6px 0; transition: .25s; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden; padding: calc(var(--nav-h) + 40px) 20px 110px;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url("../assets/img/hero-poster.jpg") center / cover no-repeat; /* shows until the video is ready */
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* the vertical light column in the banner, lit up by the bass */
.hero__beam {
  position: absolute; top: -10%; bottom: -10%; left: 50%; width: 44%; z-index: 1; pointer-events: none;
  transform: translateX(-50%) scaleX(calc(0.7 + var(--beat) * 0.5));
  background:
    linear-gradient(to right, transparent 44%, rgba(255,235,210,0.55) 49.2%, rgba(255,255,255,0.95) 50%, rgba(255,235,210,0.55) 50.8%, transparent 56%),
    radial-gradient(ellipse 30% 60% at 50% 48%, rgba(255,190,120,0.95) 0%, rgba(210,100,255,0.55) 35%, rgba(224,112,42,0) 70%);
  mix-blend-mode: screen;
  opacity: calc(var(--bass) * 1.05);
  filter: blur(calc(2px + var(--beat) * 6px));
  transition: opacity .06s linear;
}
/* whole-hero flash on each beat */
.hero__flash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 45%, rgba(255,210,160,0.9) 0%, rgba(224,112,42,0.35) 45%, rgba(0,0,0,0) 75%);
  opacity: calc(var(--beat) * 0.42);
}
.hero__bg { transform: scale(calc(1 + var(--bass) * 0.035)); transform-origin: center; }
.hero__cta .btn--primary { box-shadow: 0 8px 28px rgba(224,112,42,calc(0.35 + var(--beat) * 0.5)), 0 0 calc(var(--bass) * 40px) rgba(255,160,82,calc(var(--bass) * 0.6)); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse at center, rgba(5,5,5,0) 0%, rgba(5,5,5,0.35) 70%, rgba(5,5,5,0.8) 100%),
    linear-gradient(to bottom, rgba(5,5,5,0.5) 0%, rgba(5,5,5,0) 25%, rgba(5,5,5,0) 55%, rgba(5,5,5,0.85) 85%, var(--bg) 100%);
}
.hero__content { position: relative; z-index: 1; text-align: center; max-width: 900px; }
.hero__logo {
  display: none; /* the banner carries the logo on desktop; shown on phones where the banner is cropped */
  width: min(820px, 92vw); margin: 0 auto 28px;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,0.9)) drop-shadow(0 0 30px rgba(224,112,42,0.25));
  animation: rise 1.1s cubic-bezier(.2,.8,.2,1) both;
}

.hero__tagline:empty { display: none; }
.hero__tagline {
  font-family: var(--font-display); font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.22em;
  color: var(--steel); text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,0.9);
  animation: rise 1.1s .15s cubic-bezier(.2,.8,.2,1) both;
}
.hero__cta { display: flex; gap: 16px; justify-content: center; margin-top: 26px; flex-wrap: wrap;
  animation: rise 1.1s .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.35); border-radius: 14px; z-index: 1;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--ember-hot); border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ===== AMBIENT PULSE (music-driven) ===== */
.pulse {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0; transition: opacity .6s;
  box-shadow: inset 0 0 calc(60px + var(--bass) * 160px) rgba(224,112,42,calc(var(--beat) * 0.28 + var(--bass) * 0.12));
}
body.is-listening .pulse { opacity: 1; }
body.is-listening .section__title span { text-shadow: 0 0 calc(var(--beat) * 22px) var(--ember-hot), 0 0 calc(var(--bass) * 10px) var(--ember); }
body.is-listening .section__title::after { background: linear-gradient(to right, rgba(224,112,42,calc(0.2 + var(--high) * 0.9)), transparent); }
body.is-listening .wall:hover, body.is-listening .video:hover { border-color: rgba(224,112,42,calc(0.4 + var(--beat) * 0.6)); }

/* ===== PLAYER BAR ===== */
.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--player-h);
  background: rgba(8,8,10,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(224,112,42,calc(0.25 + var(--bass) * 0.6));
  box-shadow: 0 -10px 40px rgba(0,0,0,0.6), 0 calc(var(--beat) * -2px) calc(var(--bass) * 30px) rgba(224,112,42,calc(var(--bass) * 0.35));
  transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.player.is-open { transform: none; }
body.has-player { padding-bottom: var(--player-h); }
body.has-player .footer { padding-bottom: 60px; }
.player__viz { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.28; pointer-events: none; }
.player__inner { position: relative; height: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: auto minmax(120px, 1fr) auto minmax(180px, 2fr) auto; gap: 16px; align-items: center; }
.player__art { width: 54px; height: 54px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: #0a0a0c; box-shadow: 0 0 calc(var(--bass) * 18px) rgba(224,112,42,calc(var(--bass) * 0.7)); }
.player__meta { min-width: 0; }
.player__title { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.1em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__sub { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.player__controls { display: flex; align-items: center; gap: 6px; }
.player__btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--steel); cursor: pointer; display: grid; place-items: center; transition: color .2s, background .2s, transform .2s; font-size: 26px; line-height: 1; }
.player__btn svg { width: 22px; height: 22px; fill: currentColor; }
.player__btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.player__btn--main { width: 46px; height: 46px; background: var(--ember); color: #0b0603; box-shadow: 0 0 calc(var(--beat) * 24px) rgba(255,160,82,calc(0.3 + var(--beat) * 0.7)); }
.player__btn--main:hover { background: var(--ember-hot); color: #0b0603; transform: scale(1.06); }
.player__progress { display: flex; align-items: center; gap: 10px; min-width: 0; }
.player__time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; text-align: center; }
.player__bar { flex: 1; height: 6px; background: rgba(255,255,255,0.12); border-radius: 3px; cursor: pointer; overflow: hidden; }
.player__fill { height: 100%; width: 0; background: linear-gradient(to right, var(--ember), var(--ember-hot)); border-radius: 3px; box-shadow: 0 0 calc(var(--beat) * 10px) var(--ember-hot); }
.player__close { color: var(--muted); }


/* ===== SCENE BACKDROP ===== */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--bg); }
.scene__layer {
  position: absolute; inset: -6%; background: center / cover no-repeat; opacity: 0;
  filter: blur(14px) saturate(0.9) brightness(0.5); transform: scale(1.04);
  transition: opacity 1.4s ease;
}
.scene__layer.is-on { opacity: 1; }
.scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,5,5,0.2), rgba(5,5,5,0.75)); }
body { background: transparent; }
.hero, .section, .footer { position: relative; z-index: 1; }
.nav { position: fixed; z-index: 50; }
.hero { z-index: 2; }
.section { background: rgba(5,5,5,0.74); }
.section--alt { background: rgba(10,10,12,0.6) url("../assets/img/texture.jpg") center / cover; }
.section--alt::before { background: rgba(8,8,10,0.62); }
.footer { background: rgba(5,5,5,0.85); }

/* ===== EMBERS + PARALLAX ===== */
.hero__embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; mix-blend-mode: screen; }
.hero__bg { --px: 0px; --py: 0px; transform: translate(var(--px), var(--py)) scale(calc(1.03 + var(--bass) * 0.035)); }

/* ===== CUSTOM CURSOR ===== */
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
.trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 998; pointer-events: none; mix-blend-mode: screen; }
.cursor { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor.is-visible { opacity: 1; }
.cursor__dot {
  position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 1px;
  background: var(--ember-hot); box-shadow: 0 0 10px var(--ember-hot), 0 0 calc(4px + var(--beat) * 18px) rgba(255,160,82,0.9);
  transform: rotate(45deg) scale(calc(1 + var(--beat) * 0.6));
}
.cursor__ring {
  position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,170,90,0.7); box-shadow: 0 0 12px rgba(224,112,42,0.35), inset 0 0 8px rgba(224,112,42,0.15);
  transition: width .2s, height .2s, left .2s, top .2s, border-color .2s, background .2s;
}
.cursor.is-link .cursor__ring { width: 48px; height: 48px; left: -24px; top: -24px; border-color: var(--ember-hot); background: rgba(224,112,42,0.1); }
.cursor.is-down .cursor__ring { width: 22px; height: 22px; left: -11px; top: -11px; }

/* ===== LORE FRAGMENTS ===== */
.audio__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.audio__glyph {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); background: transparent;
  color: var(--muted); font-size: 15px; cursor: pointer; display: grid; place-items: center; transition: color .2s, border-color .2s, transform .3s, box-shadow .2s;
}
.audio__glyph:hover { color: var(--ember-hot); border-color: var(--ember); box-shadow: 0 0 12px rgba(224,112,42,0.4); }
.card.is-lore .audio__glyph { color: var(--ember-hot); border-color: var(--ember); transform: rotate(180deg); }
.audio__lore {
  max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s ease, opacity .35s ease, margin .3s;
  font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.6; color: #c9b7a4;
  border-left: 2px solid var(--ember); padding-left: 10px; margin-top: 0;
}
.card.is-lore .audio__lore { max-height: 200px; opacity: 1; margin-top: 10px; }

/* ===== THE TRANSMISSION ===== */
.footer__mark { background: none; border: 0; padding: 4px; cursor: pointer; display: inline-block; margin: 0 auto 16px; }
.footer__mark img { height: 44px; width: auto; opacity: 0.6; transition: opacity .3s, filter .3s; }
.footer__mark:hover img { opacity: 1; filter: drop-shadow(0 0 10px rgba(255,160,82,0.8)); }
.tx {
  position: fixed; inset: 0; z-index: 120; background: rgba(2,2,3,0.96);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.tx.is-open { opacity: 1; pointer-events: auto; }
.tx::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px); }
.tx__close { position: absolute; top: 16px; right: 22px; background: none; border: 0; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; opacity: .7; }
.tx__close:hover { opacity: 1; }
.tx__panel { position: relative; width: min(720px, 100%); border: 1px solid rgba(224,112,42,0.45); background: rgba(8,8,10,0.9); padding: 26px 30px; box-shadow: 0 0 60px rgba(224,112,42,0.15), inset 0 0 40px rgba(0,0,0,0.6); }
.tx__head { font-family: var(--font-display); letter-spacing: 0.24em; font-size: 22px; color: var(--ember-hot); display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.tx__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ember-hot); box-shadow: 0 0 12px var(--ember-hot); animation: txblink 1.4s infinite; }
@keyframes txblink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.tx__text { font-family: "SF Mono", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.75; color: #d8cbb9; white-space: pre-wrap; margin: 0; min-height: 200px; text-shadow: 0 0 8px rgba(255,160,82,0.25); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: 21px; letter-spacing: 0.16em;
  padding: 12px 34px; border: 2px solid transparent; border-radius: 3px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ember); color: #0b0603; border-color: var(--ember); box-shadow: 0 8px 28px rgba(224,112,42,0.35); }
.btn--primary:hover { background: var(--ember-hot); border-color: var(--ember-hot); box-shadow: 0 12px 36px rgba(255,160,82,0.45); }
.btn--ghost { color: var(--text); border-color: rgba(255,255,255,0.4); background: rgba(0,0,0,0.3); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.08); }

/* ===== SECTIONS ===== */
.section { padding: 110px 0; position: relative; }
.section--alt {
  background: var(--bg-alt) url("../assets/img/texture.jpg") center / cover;
  background-blend-mode: soft-light;
}
.section--alt::before { content: ""; position: absolute; inset: 0; background: rgba(8,8,10,0.86); pointer-events: none; }
.section--alt > .container { position: relative; }
.section__title {
  font-family: var(--font-display); font-size: clamp(44px, 6vw, 72px); letter-spacing: 0.1em;
  line-height: 1; margin-bottom: 44px; color: var(--text); display: flex; align-items: baseline; gap: 18px;
}
.section__title span { font-size: 0.42em; color: var(--ember); letter-spacing: 0.2em; }
.section__title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to right, var(--line), transparent); margin-left: 12px; }

/* ===== MUSIC ===== */
.music { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.music__empty { color: var(--muted); border: 1px dashed var(--line); padding: 30px; border-radius: 6px; text-align: center; grid-column: 1 / -1; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(224,112,42,0.5); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }
.card__title { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.1em; padding: 16px 18px 6px; }
.card__embed { position: relative; width: 100%; }
.card__embed iframe { display: block; width: 100%; border: 0; }
.card__embed--video { aspect-ratio: 16 / 9; }
.card__embed--video iframe { height: 100%; position: absolute; inset: 0; }

/* local audio card */
.audio { display: flex; flex-direction: column; }
.audio__artbtn { display: block; position: relative; width: 100%; padding: 0; border: 0; background: #0a0a0c; cursor: pointer; aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid var(--line); }
.audio__art { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, filter .4s; }
.card:hover .audio__art { transform: scale(1.04); }
.card.is-playing .audio__art { filter: saturate(1.15) brightness(calc(0.95 + var(--bass) * 0.25)); }
.audio__eq { position: absolute; right: 12px; bottom: 12px; display: none; align-items: flex-end; gap: 3px; height: 22px; padding: 6px; background: rgba(0,0,0,0.6); border-radius: 3px; }
.audio__eq i { width: 3px; height: 30%; background: var(--ember-hot); border-radius: 1px; animation: eq 0.9s ease-in-out infinite; }
.audio__eq i:nth-child(2) { animation-delay: .15s; } .audio__eq i:nth-child(3) { animation-delay: .3s; } .audio__eq i:nth-child(4) { animation-delay: .45s; }
@keyframes eq { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.card.is-playing .audio__eq { display: flex; }
.audio__body { padding: 16px 18px 18px; }
.audio__links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.audio__links a {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600;
  padding: 4px 9px; border: 1px solid rgba(255,255,255,0.16); border-radius: 3px; color: var(--muted);
  transition: color .2s, border-color .2s;
}
.audio__links a:hover { color: var(--ember-hot); border-color: var(--ember); }
.audio__controls { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.audio__play {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; flex-shrink: 0;
  background: var(--ember); color: #0b0603; display: grid; place-items: center; transition: background .2s, transform .2s;
}
.audio__play:hover { background: var(--ember-hot); transform: scale(1.06); }
.audio__play svg { width: 20px; height: 20px; fill: currentColor; }
.audio__hint { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.14em; color: var(--muted); }
.card.is-active .audio__hint { color: var(--ember-hot); }
.card.is-active .audio__hint::before { content: "Now playing"; }
.card.is-active .audio__hint { font-size: 0; }
.card.is-active .audio__hint::before { font-size: 17px; }
.card.is-active:not(.is-playing) .audio__hint::before { content: "Paused"; }
.card.is-active { border-color: rgba(224,112,42,0.7); }
.card.is-playing { box-shadow: 0 0 0 1px rgba(224,112,42,0.3), 0 0 calc(10px + var(--bass) * 50px) rgba(224,112,42,calc(0.15 + var(--bass) * 0.45)), 0 18px 40px rgba(0,0,0,0.6); }

.streaming { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; justify-content: center; }
.streaming:empty { display: none; }
.streaming .btn { font-size: 19px; padding: 10px 26px; }

/* ===== VIDEOS ===== */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.video__thumb { display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; filter: brightness(0.85); }
.video:hover .video__thumb img { transform: scale(1.05); filter: brightness(1); }
.video__play {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 50%; background: var(--ember); color: #0b0603; display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.6); transition: transform .2s, background .2s;
}
.video__play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 3px; }
.video:hover .video__play { transform: scale(1.08); background: var(--ember-hot); }
.video__frame { aspect-ratio: 16 / 9; position: relative; background: #000; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .card__title { padding: 14px 16px 16px; font-size: 22px; }
.videos__cta { display: flex; justify-content: center; margin-top: 40px; }
.videos__cta:empty { display: none; }

/* ===== ABOUT ===== */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.about__image { position: relative; }
.about__image img { border-radius: 6px; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.7); }
.about__image::before {
  content: ""; position: absolute; inset: -14px; border: 1px solid rgba(224,112,42,0.35); border-radius: 8px; z-index: -1;
  transform: translate(14px, 14px);
}
.about__text p { color: var(--muted); font-size: 18px; margin-bottom: 18px; max-width: 58ch; }
.about__text p:first-of-type { color: var(--text); font-size: 20px; }
.about__text strong { color: var(--text); font-weight: 600; letter-spacing: 0.02em; }
.about__text p:last-of-type strong {
  display: inline-block; margin-top: 6px; font-family: var(--font-display); font-weight: 400;
  font-size: 26px; letter-spacing: 0.12em; color: var(--ember-hot); text-shadow: 0 0 18px rgba(224,112,42,0.35);
}

/* ===== WALLPAPERS ===== */
.section__intro { color: var(--muted); font-size: 18px; margin: -22px 0 36px; max-width: 60ch; }
.walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.wall {
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.wall:hover { transform: translateY(-4px); border-color: rgba(224,112,42,0.5); box-shadow: 0 18px 40px rgba(0,0,0,0.6); }
.wall__open { display: block; width: 100%; padding: 0; border: 0; background: #0a0a0c; cursor: zoom-in; aspect-ratio: 16 / 9; overflow: hidden; }
.wall__open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.wall:hover .wall__open img { transform: scale(1.05); }
.wall__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.wall__name { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.1em; line-height: 1.1; }
.wall__size { font-size: 12px; color: var(--muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
.wall__dl {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.12em;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,0.2); border-radius: 3px; color: var(--steel);
  transition: border-color .2s, color .2s, background .2s;
}
.wall__dl svg { width: 16px; height: 16px; fill: currentColor; }
.wall__dl:hover { border-color: var(--ember); color: var(--ember-hot); background: rgba(224,112,42,0.08); }

/* ===== CONTACT ===== */
.contact { text-align: center; }
.contact .section__title { justify-content: center; }
.contact .section__title::after { display: none; }
.contact__blurb { color: var(--muted); font-size: 19px; max-width: 54ch; margin: -14px auto 30px; }
.contact__blurb:empty { display: none; }
.contact__email { font-size: 26px; padding: 14px 40px; margin-bottom: 34px; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.socials:empty { display: none; }
.socials a {
  font-family: var(--font-display); font-size: 19px; letter-spacing: 0.14em;
  padding: 10px 22px; border: 1px solid rgba(255,255,255,0.18); border-radius: 3px; color: var(--steel);
  transition: border-color .2s, color .2s, background .2s;
}
.socials a:hover { border-color: var(--ember); color: var(--ember-hot); background: rgba(224,112,42,0.08); }
.socials--small a { font-size: 15px; padding: 6px 14px; }
.contact__hint { color: var(--muted); font-size: 14px; margin-top: 22px; opacity: 0.7; }

/* ===== FOOTER ===== */
.footer { padding: 50px 20px 40px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.footer .socials { margin-top: 16px; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.9); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .7; transition: opacity .2s; line-height: 1;
}
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 22px; font-size: 44px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 64px; padding: 20px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__bar {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.12em; color: var(--steel);
}
.btn--small { font-size: 17px; padding: 8px 20px; }
.lightbox img { max-height: 80vh; }

/* ===== REVEAL ON SCROLL ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__image { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .nav { padding: 0 16px; }
  .nav__logo { height: 32px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(5,5,5,0.97);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav__links.is-open { max-height: 400px; }
  .nav__links a { padding: 16px; border-top: 1px solid var(--line); font-size: 22px; }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  /* Phone hero: the banner video as a 4:3 block (whole logo stays in frame), buttons below it */
  .hero { display: block; min-height: 0; padding: var(--nav-h) 0 40px; }
  .hero__bg { position: relative; width: 100%; aspect-ratio: 4 / 3; transform: none; }
  .hero__bg::after {
    background:
      linear-gradient(to bottom, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0) 22%, rgba(5,5,5,0) 70%, var(--bg) 100%);
  }
  .hero__video { object-position: center 45%; }
  .hero__content { margin-top: 18px; padding: 0 16px; }
  .hero__logo { display: none; }
  .hero__cta { margin-top: 0; }
  .hero__scroll { display: none; }
  .hero__embers { height: 100%; }
  .hero__tagline { letter-spacing: 0.14em; }
  .section__title { gap: 12px; margin-bottom: 30px; }
  .music { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
  .contact__email { font-size: 20px; padding: 12px 24px; }
  .lightbox__nav { font-size: 48px; padding: 10px; }
  :root { --player-h: 112px; }
  .player__inner { grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; row-gap: 6px; padding: 8px 12px 0; }
  .player__art { width: 42px; height: 42px; }
  .player__title { font-size: 17px; }
  .player__progress { grid-column: 1 / -1; }
  .player__close { position: absolute; top: -2px; right: 4px; width: 30px; height: 30px; font-size: 20px; }
  .player__controls { margin-right: 28px; }
  .hero__beam { width: 60%; }
  .tx__panel { padding: 20px 16px; }
  .tx__text { font-size: 13px; }
  .walls { grid-template-columns: 1fr; gap: 16px; }
  .wall__name { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__logo, .hero__tagline, .hero__cta { animation: none; }
  .hero__video { display: none; } /* static poster instead of motion */
  .hero__beam, .hero__flash, .pulse, .player__viz, .hero__embers, .trail, .cursor { display: none; }
  .scene__layer { transition: none; }
  .audio__eq i { animation: none; height: 60%; }
  .player { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
