/* ============================================================
   COREFLIX — design system
   Signature colour: ember orange #F2542D on ink navy.
   Display face: Bebas Neue (poster lockups). UI face: Manrope.
   ============================================================ */

:root {
  --ink: #05060a;
  --ink-2: #0b0d14;
  --ink-3: #12151f;
  --surface: #171b26;
  --hair: rgba(255, 255, 255, .10);
  --hair-2: rgba(255, 255, 255, .18);
  --text: #f4f5f7;
  --text-2: #a9b0bf;
  --text-3: #6d7688;
  --ember: #f2542d;
  --ember-lit: #ff7a3d;
  --ember-deep: #c33a1a;
  --mint: #37d6a0;
  --gold: #f0b429;
  --violet: #7c5cff;
  --shadow-1: 0 2px 10px rgba(0, 0, 0, .4);
  --shadow-2: 0 18px 50px -12px rgba(0, 0, 0, .8);
  --shadow-3: 0 40px 90px -20px rgba(0, 0, 0, .9);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --rail-gap: 14px;
  --card-w: 172px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: 'Bebas Neue', 'Haettenschweiler', 'Impact', sans-serif;
  --font-ui: 'Manrope', -apple-system, 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
:focus-visible { outline: 2px solid var(--ember-lit); outline-offset: 3px; }

/* first-visit Instagram invitation */
.adpop {
  position: fixed; inset: 0; z-index: 9500; display: none; place-items: center; padding: 22px;
  background: rgba(2, 3, 7, .72); backdrop-filter: blur(10px);
}
.adpop.is-on { display: grid; }
.adpop__card {
  width: min(720px, 100%); overflow: hidden; border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px; background: var(--ink-3); box-shadow: var(--shadow-3);
}
.adpop__banner { position: relative; display: block; min-height: 360px; overflow: hidden; color: #fff; }
.adpop__banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.adpop__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 5, 10, .96) 0%, rgba(4, 5, 10, .78) 42%, rgba(4, 5, 10, .08) 82%),
    linear-gradient(0deg, rgba(4, 5, 10, .55), transparent 48%);
}
.adpop__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 360px; width: min(360px, 70%); padding: 42px; }
.adpop__eyebrow { color: var(--ember-lit); font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.adpop__copy strong { margin-top: 10px; font-family: var(--font-display); font-size: clamp(38px, 7vw, 70px); font-weight: 400; line-height: .9; letter-spacing: .015em; }
.adpop__handle { margin-top: 14px; font-size: 17px; font-weight: 800; }
.adpop__hint { margin-top: 10px; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.adpop__close { display: flex; min-height: 54px; align-items: center; justify-content: center; border-top: 1px solid var(--hair); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.adpop__close:hover { background: var(--ember); color: #fff; }

.wrap { width: min(1680px, 100%); margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 56px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* grain + vignette film overlay */
.filmgrain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) }
  40% { transform: translate(2%, -3%) } 60% { transform: translate(-2%, -2%) }
  80% { transform: translate(3%, 1%) } 100% { transform: translate(0, 0) }
}

/* ============================================================ MASTHEAD */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(5, 6, 10, .92), rgba(5, 6, 10, .55) 55%, transparent);
  transition: background .35s var(--ease), backdrop-filter .35s;
}
.masthead.is-solid {
  background: rgba(5, 6, 10, .88);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hair);
}
.masthead__inner { width: 100%; display: flex; align-items: center; gap: 26px; }

.wordmark { display: flex; align-items: center; gap: 9px; flex: none; }
.wordmark svg { height: 30px; width: auto; display: block; }
.wordmark__aperture { transform-origin: 50% 50%; animation: aperture 14s linear infinite; }
@keyframes aperture { to { transform: rotate(360deg) } }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-size: 14px; color: var(--text-2); letter-spacing: .01em; position: relative;
  padding: 6px 0; transition: color .2s;
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); font-weight: 700; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--ember); border-radius: 2px;
}

.masthead__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.searchbox {
  display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px;
  border: 1px solid var(--hair); border-radius: 999px; background: rgba(0, 0, 0, .45);
  transition: width .3s var(--ease), border-color .2s;
}
.searchbox input {
  background: none; border: 0; color: var(--text); width: 0; padding: 0; transition: width .3s var(--ease);
}
.searchbox:focus-within { border-color: var(--hair-2); }
.searchbox:focus-within input, .searchbox.has-q input { width: 190px; }
.searchbox svg { flex: none; opacity: .8; }

.iconbtn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text-2); transition: background .2s, color .2s;
}
.iconbtn:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.iconbtn .dot {
  position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember); box-shadow: 0 0 0 2px var(--ink);
}
.bell { position: relative; }

.burger { display: none; }

/* ============================================================ BILLBOARD */
.billboard { position: relative; min-height: min(94vh, 860px); display: flex; align-items: flex-end; }
.billboard__media { position: absolute; inset: 0; overflow: hidden; background: var(--ink-2); }
.billboard__fill {
  position: absolute; inset: -8%; background-size: cover; background-position: 50% 35%;
  filter: blur(52px) saturate(150%) brightness(.45); transform: scale(1.16);
}
.billboard__main {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 32%; opacity: 0; transition: opacity 1.1s var(--ease);
}
.billboard__media.is-live .billboard__main { opacity: 1; }
.billboard video.billboard__main { object-position: 50% 50%; }
.billboard__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, .95) 0%, rgba(5, 6, 10, .72) 38%, rgba(5, 6, 10, .1) 72%),
    linear-gradient(0deg, var(--ink) 2%, rgba(5, 6, 10, .25) 38%, transparent 68%);
}
.billboard__body { position: relative; z-index: 3; padding: 0 0 clamp(58px, 9vh, 112px); width: 100%; }
.billboard__copy { max-width: 620px; }

.lockup { font-family: var(--font-display); line-height: .92; margin: 0 0 14px; }
.lockup__orig {
  display: block; font-family: var(--font-ui); font-size: 12px; font-weight: 800;
  letter-spacing: .34em; color: var(--ember); margin-bottom: 6px;
}
.lockup__title {
  font-size: clamp(52px, 8.4vw, 118px); letter-spacing: .012em; font-weight: 400;
  text-shadow: 0 8px 40px rgba(0, 0, 0, .85);
}
.lockup__title.is-outline {
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85);
}
.bb__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13.5px; }
.bb__tag { font-style: italic; color: var(--text-2); font-size: 15px; margin: 0 0 18px; }
.bb__syn { color: #d7dbe3; font-size: 15.5px; max-width: 560px; margin: 0 0 24px; }
.bb__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--hair); color: var(--text-2); background: rgba(0, 0, 0, .4);
}
.badge--ember { color: #0b0b0b; background: var(--ember); border-color: transparent; }
.badge--gold { color: #161202; background: var(--gold); border-color: transparent; }
.badge--mint { color: #04150f; background: var(--mint); border-color: transparent; }
.badge--match { color: var(--mint); border-color: transparent; background: none; font-size: 12.5px; letter-spacing: 0; text-transform: none; }
.cert { border: 1px solid var(--hair-2); padding: 0 6px; border-radius: 3px; font-size: 11px; font-weight: 700; color: var(--text-2); }

/* ============================================================ BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 24px; border-radius: var(--r-sm); font-weight: 800; font-size: 15px;
  letter-spacing: .01em; transition: transform .18s var(--ease), background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--play { background: #fff; color: #0b0b0b; }
.btn--play:hover { background: var(--ember-lit); color: #0b0b0b; box-shadow: 0 10px 30px -8px rgba(242, 84, 45, .6); }
.btn--ghost { background: rgba(109, 122, 140, .35); color: #fff; backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(109, 122, 140, .55); }
.btn--outline { border: 1px solid var(--hair-2); color: var(--text); }
.btn--outline:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--ember { background: var(--ember); color: #0b0b0b; }
.btn--ember:hover { background: var(--ember-lit); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn__ico {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hair-2);
  display: grid; place-items: center; background: rgba(5, 6, 10, .5); transition: .2s;
}
.btn__ico:hover { border-color: #fff; background: rgba(255, 255, 255, .12); transform: scale(1.06); }
.btn__ico.is-on { border-color: var(--ember); color: var(--ember-lit); }

/* ============================================================ RAILS */
.rails { position: relative; z-index: 4; margin-top: -70px; padding-bottom: 40px; }
.rail { margin-bottom: 44px; }
.rail__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.rail__title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.rail__title em { font-style: normal; color: var(--ember); }
.rail__sub { font-size: 12.5px; color: var(--text-3); }
.rail__all { margin-left: auto; font-size: 12.5px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.rail__all:hover { color: var(--ember-lit); }
.rail__viewport { position: relative; }
.rail__track {
  display: flex; gap: var(--rail-gap); overflow-x: auto; scroll-behavior: smooth;
  padding: 14px clamp(16px, 3.4vw, 56px) 22px; scrollbar-width: none; scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(16px, 3.4vw, 56px);
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__nav {
  position: absolute; top: 14px; bottom: 22px; width: clamp(54px, 6vw, 84px); z-index: 6; display: grid; place-items: center;
  background: linear-gradient(90deg, rgba(5, 6, 10, .9), rgba(5, 6, 10, .3)); opacity: 0; transition: opacity .25s;
}
.rail__nav--r { right: 0; transform: scaleX(-1); }
.rail__nav--l { left: 0; }
.rail__viewport:hover .rail__nav { opacity: 1; }
.rail__nav:disabled { opacity: 0 !important; }

/* card */
.card { position: relative; flex: none; width: var(--card-w); scroll-snap-align: start; cursor: pointer; }
.card__art {
  position: relative; aspect-ratio: 2 / 3; border-radius: var(--r-md); overflow: hidden;
  background: var(--ink-3); box-shadow: var(--shadow-1);
  transition: transform .34s var(--ease), box-shadow .34s var(--ease);
}
.card__art img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__art { transform: translateY(-6px) scale(1.03); box-shadow: var(--shadow-2); }
.card__shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 10, .96) 4%, rgba(5, 6, 10, .5) 26%, transparent 58%);
}
.card__txt { position: absolute; left: 12px; right: 12px; bottom: 11px; }
.card__name {
  font-family: var(--font-display); font-size: 20px; letter-spacing: .02em; line-height: 1.05;
  font-weight: 400; text-transform: uppercase;
}
.card__kind { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-top: 3px; }
.card__ribbon {
  position: absolute; top: 10px; left: 0; padding: 3px 9px 3px 8px; font-size: 9.5px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #0b0b0b; background: var(--ember);
  border-radius: 0 4px 4px 0;
}
.card__badge {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(5, 6, 10, .7); border: 1px solid var(--hair);
  font-size: 11px; font-weight: 800; color: var(--gold);
}
.card__bar { position: absolute; left: 12px; right: 12px; bottom: 6px; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 2px; }
.card__bar span { display: block; height: 100%; background: var(--ember); border-radius: 2px; }

/* hover pop */
.card__pop {
  position: absolute; z-index: 20; left: -34px; right: -34px; top: -14px; padding: 0 0 14px;
  border-radius: var(--r-lg); background: var(--ink-3); box-shadow: var(--shadow-3);
  opacity: 0; pointer-events: none; transform: translateY(8px) scale(.97);
  transition: opacity .22s var(--ease), transform .28s var(--ease);
}
.card:hover .card__pop, .card:focus-within .card__pop {
  opacity: 1; pointer-events: auto; transform: translateY(0) scale(1.045); transition-delay: .3s;
}
.card__popArt { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg) var(--r-lg) 0 0; position: relative; background: var(--surface); }
.card__popArt img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.card__popArt .card__shade { background: linear-gradient(0deg, var(--ink-3), transparent 52%); }
.card__popArt video { width: 100%; height: 100%; object-fit: cover; }
.card__popBody { padding: 12px 14px 4px; }
.card__acts { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.card__act {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--hair-2); background: rgba(5, 6, 10, .6); transition: .18s;
}
.card__act:hover { border-color: #fff; transform: scale(1.08); }
.card__act--play { background: #fff; color: #0b0b0b; border-color: transparent; }
.card__act--play:hover { background: var(--ember-lit); }
.card__act.is-on { color: var(--ember-lit); border-color: var(--ember); }
.card__more { margin-left: auto; }
.card__facts { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--text-2); margin-bottom: 8px; flex-wrap: wrap; }
.card__moods { display: flex; flex-wrap: wrap; gap: 6px; font-size: 11px; color: var(--text-3); }
.card__moods span + span::before { content: "•"; margin-right: 6px; color: var(--hair-2); }

/* top-10 rail */
.rail--top10 { --card-w: 150px; }
.rail--top10 .rail__track { gap: 4px; padding-bottom: 8px; }
.rail--top10 .card { display: flex; align-items: flex-end; width: auto; }
.rail--top10 .card__num {
  font-family: var(--font-display); font-size: 168px; line-height: .74; font-weight: 400;
  color: var(--ink-3); -webkit-text-stroke: 2px #3a4152; margin-right: -26px; padding-left: 8px;
  flex: none; transition: -webkit-text-stroke .3s, color .3s;
}
.rail--top10 .card:hover .card__num { -webkit-text-stroke: 2px var(--ember); color: rgba(242, 84, 45, .18); }
.rail--top10 .card__art { width: var(--card-w); }
.rail--top10 .card__pop { left: -10px; }

/* typographic art card (announced titles) */
.artcard { --art: 20; }
.artcard .card__art { background: linear-gradient(155deg, hsl(var(--art) 78% 46%), hsl(calc(var(--art) + 34) 60% 12%) 62%, #05060a); }
.artcard .card__art::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay;
  background-image: var(--motif); background-size: cover; background-position: center;
}
.artcard .card__motif { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.artcard .card__name { font-size: 27px; text-shadow: 0 4px 22px rgba(0, 0, 0, .7); }
.artcard .card__txt { bottom: 20px; }
.artcard .card__tagline { font-size: 11px; color: rgba(255, 255, 255, .82); font-style: italic; margin-top: 5px; }

/* chip rail (languages / genres) */
.rail--chips { --card-w: 216px; }
.chipcard .card__art {
  aspect-ratio: 16 / 10; border-radius: var(--r-md);
  background: radial-gradient(120% 130% at 12% 0%, hsl(var(--h, 18) 74% 42%), #0a0c12 72%);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.chipcard .card__art::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 16px);
}
.chipcard__label { position: relative; font-family: var(--font-display); font-size: 28px; letter-spacing: .03em; }
.chipcard__n { position: absolute; bottom: 8px; right: 10px; font-size: 10.5px; color: rgba(255, 255, 255, .65); letter-spacing: .1em; }

/* ============================================================ SECTIONS */
.band { padding: clamp(44px, 6vw, 84px) 0; border-top: 1px solid var(--hair); }
.band__head { max-width: 720px; margin-bottom: 28px; }
.band__kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .3em; color: var(--ember); margin-bottom: 10px; }
.band__title { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 58px); font-weight: 400; letter-spacing: .02em; line-height: 1; }
.band__lede { color: var(--text-2); margin-top: 12px; font-size: 16px; }

.genres { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.gtile {
  position: relative; overflow: hidden; border-radius: var(--r-md); padding: 18px 16px 22px;
  min-height: 92px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(150deg, hsl(var(--h) 72% 34%), #0c0e14 78%);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.gtile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.gtile b { font-size: 15.5px; font-weight: 800; position: relative; z-index: 2; }
.gtile i { font-style: normal; font-size: 11px; color: rgba(255, 255, 255, .7); position: relative; z-index: 2; }
.gtile::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background: repeating-linear-gradient(125deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 13px);
}

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.quote {
  border-left: 2px solid var(--ember); padding-left: 18px; margin: 0 0 22px; color: #dfe3ea;
  font-size: 17px; line-height: 1.5; font-weight: 500;
}
.quote footer { margin-top: 8px; font-size: 12px; color: var(--text-3); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.soon__item {
  border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  background: linear-gradient(160deg, hsl(var(--h, 18) 60% 22%), #080a0f 70%);
  border: 1px solid var(--hair);
}
.soon__item::after { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 60% at 80% 10%, hsla(var(--h, 18), 90%, 60%, .35), transparent); }
.soon__date { font-family: var(--font-display); font-size: 42px; letter-spacing: .03em; position: relative; z-index: 2; }
.soon__t { font-weight: 800; position: relative; z-index: 2; }
.soon__n { font-size: 12.5px; color: var(--text-2); position: relative; z-index: 2; }
.soon__art { position: absolute; right: -30px; top: -20px; width: 62%; opacity: .5; z-index: 1; }

.faq__item { border-bottom: 1px solid var(--hair); }
.faq__q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 4px; font-size: 17px; font-weight: 600;
}
.faq__q:hover { color: var(--ember-lit); }
.faq__q i { font-style: normal; font-size: 22px; color: var(--text-3); transition: transform .25s; }
.faq__item.is-open .faq__q i { transform: rotate(45deg); color: var(--ember); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); color: var(--text-2); }
.faq__a p { margin: 0 0 20px; max-width: 900px; }

/* ============================================================ PAGE SCAFFOLD */
.page { padding-top: var(--header-h); min-height: 100vh; }
.pagehead { padding: clamp(28px, 5vw, 56px) 0 26px; }
.pagehead__t { font-family: var(--font-display); font-size: clamp(38px, 5.4vw, 66px); font-weight: 400; letter-spacing: .02em; }
.pagehead__s { color: var(--text-3); margin-top: 6px; }
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 0; position: sticky;
  top: var(--header-h); z-index: 90; background: linear-gradient(180deg, rgba(5, 6, 10, .96), rgba(5, 6, 10, .7));
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair);
}
.pill {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hair); font-size: 12.5px;
  color: var(--text-2); background: rgba(255, 255, 255, .03); transition: .2s; white-space: nowrap;
}
.pill:hover { border-color: var(--hair-2); color: var(--text); }
.pill.is-on { background: var(--ember); border-color: transparent; color: #0b0b0b; font-weight: 800; }
.tool__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.select {
  height: 34px; padding: 0 30px 0 12px; border-radius: 6px; color: var(--text-2);
  border: 1px solid var(--hair); background: rgba(255, 255, 255, .04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M5 7 0 0h10z' fill='%23a9b0bf'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
}
.count { font-size: 12.5px; color: var(--text-3); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--card-w), 1fr)); gap: 20px 16px; padding: 26px 0 60px; }
.grid .card { width: 100%; }
.grid .card__pop { display: none; }
.empty { text-align: center; padding: 80px 20px; color: var(--text-3); }
.empty h3 { font-family: var(--font-display); font-size: 34px; font-weight: 400; color: var(--text-2); }

/* ============================================================ TITLE PAGE */
.tp__hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; overflow: hidden; }
.tp__bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 26%; }
.tp__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 2%, rgba(5, 6, 10, .35) 45%, rgba(5, 6, 10, .7)); }
.tp__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tp__inner { position: relative; z-index: 2; width: 100%; padding-bottom: 40px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: end; }
.tp__poster { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-3); }
.tp__poster img { width: 100%; }
.tp__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0 18px; }
.tp__syn { max-width: 640px; color: #dbe0e8; font-size: 16.5px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--hair); margin: 34px 0 22px; overflow-x: auto; }
.tab { padding: 12px 18px; font-size: 14px; font-weight: 700; color: var(--text-3); border-bottom: 2px solid transparent; white-space: nowrap; }
.tab:hover { color: var(--text-2); }
.tab.is-on { color: #fff; border-color: var(--ember); }
.tabpane { display: none; animation: fade .3s var(--ease); }
.tabpane.is-on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px) } }

.ep {
  display: grid; grid-template-columns: 42px 168px 1fr auto; gap: 18px; align-items: center;
  padding: 16px 12px; border-bottom: 1px solid var(--hair); border-radius: var(--r-md);
  transition: background .2s;
}
.ep:hover { background: rgba(255, 255, 255, .04); }
.ep.is-playing { background: rgba(242, 84, 45, .1); }
.ep__n { font-family: var(--font-display); font-size: 26px; color: var(--text-3); text-align: center; }
.ep__t { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16/9; background: var(--ink-3); }
.ep__t img { width: 100%; height: 100%; object-fit: cover; }
.ep__t::after {
  content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  font-size: 20px; background: rgba(5, 6, 10, .35); opacity: 0; transition: opacity .2s;
}
.ep:hover .ep__t::after { opacity: 1; }
.ep__b h4 { font-size: 15px; margin-bottom: 4px; }
.ep__b p { margin: 0; font-size: 13px; color: var(--text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep__d { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }

.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 20px; font-size: 14.5px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; }
.people { display: flex; flex-wrap: wrap; gap: 22px; }
.person { text-align: center; width: 108px; }
.person__av {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 8px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 30px; color: #0a0a0a; background: hsl(var(--h) 70% 58%);
  border: 2px solid var(--hair);
}
.person b { font-size: 13.5px; display: block; }
.person span { font-size: 11.5px; color: var(--text-3); }

/* ============================================================ PLAYER */
.player { position: fixed; inset: 0; z-index: 950; background: #000; }
.player__stage { position: absolute; inset: 0; overflow: hidden; }
.player__stage img { width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: kenburns 34s var(--ease) infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0) } to { transform: scale(1.16) translate(-2%, -3%) } }
.player__vig { position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 45%, transparent, rgba(0, 0, 0, .72)); }
.player__sub {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 128px; max-width: 78%;
  text-align: center; font-size: clamp(18px, 2.6vw, 30px); font-weight: 600; line-height: 1.35;
  color: #fff; text-shadow: 0 2px 8px #000; background: rgba(0, 0, 0, .55); padding: 4px 14px; border-radius: 4px;
}
.player__sub.is-off { display: none; }
.player__ctl {
  position: absolute; inset: auto 0 0 0; padding: 60px clamp(16px, 3vw, 40px) 22px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .88), transparent);
  display: grid; gap: 14px; transition: opacity .3s, transform .3s;
}
.player__top {
  position: absolute; inset: 0 0 auto 0; padding: 22px clamp(16px, 3vw, 40px);
  display: flex; align-items: center; gap: 16px; background: linear-gradient(180deg, rgba(0, 0, 0, .8), transparent);
}
.player.is-idle .player__ctl, .player.is-idle .player__top, .player.is-idle .player__cursor { opacity: 0; transform: translateY(10px); pointer-events: none; }
.player.is-idle { cursor: none; }
.scrub { position: relative; height: 22px; display: flex; align-items: center; cursor: pointer; }
.scrub__rail { position: absolute; left: 0; right: 0; height: 4px; background: rgba(255, 255, 255, .28); border-radius: 3px; }
.scrub__buf { position: absolute; left: 0; height: 4px; width: 78%; background: rgba(255, 255, 255, .4); border-radius: 3px; }
.scrub__fill { position: absolute; left: 0; height: 4px; background: var(--ember); border-radius: 3px; }
.scrub__thumb { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--ember); transform: scale(0); transition: transform .18s; box-shadow: 0 0 0 4px rgba(242, 84, 45, .25); }
.scrub:hover .scrub__thumb { transform: scale(1); }
.scrub__marks { position: absolute; inset: 0; }
.scrub__mark { position: absolute; width: 3px; height: 12px; background: rgba(255, 255, 255, .5); border-radius: 2px; transform: translateY(-4px); }
.ctl__row { display: flex; align-items: center; gap: 16px; }
.ctl__btn { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border-radius: 50%; transition: .18s; }
.ctl__btn:hover { background: rgba(255, 255, 255, .14); transform: scale(1.08); }
.ctl__time { font-size: 13px; color: #d6dae2; font-variant-numeric: tabular-nums; }
.ctl__spacer { flex: 1; }
.vol { display: flex; align-items: center; gap: 8px; }
.vol input[type=range] { width: 84px; accent-color: var(--ember); }
.ctl__title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); letter-spacing: .02em; }
.ctl__sub { color: var(--text-2); font-size: 13px; }
.skipintro {
  margin-left: auto; padding: 10px 20px; border: 1px solid #fff; background: rgba(255, 255, 255, .92);
  color: #0b0b0b; font-weight: 800; font-size: 13px; border-radius: 3px; transition: .2s;
}
.skipintro:hover { background: #fff; transform: translateX(-2px); }
.nextup {
  position: absolute; right: 32px; bottom: 120px; width: 340px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink-3); box-shadow: var(--shadow-3); border: 1px solid var(--hair);
}
.nextup__art { aspect-ratio: 16/9; }
.nextup__art img { width: 100%; height: 100%; object-fit: cover; }
.nextup__b { padding: 14px; }
.buffering { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .5); }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .2); border-top-color: var(--ember); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.captions-off .player__sub { display: none; }

/* ============================================================ MODAL */
.scrim { position: fixed; inset: 0; z-index: 900; background: rgba(5, 6, 10, .78); backdrop-filter: blur(6px); display: none; }
.scrim.is-on { display: block; animation: fade .25s; }
.modal {
  position: fixed; z-index: 910; left: 50%; top: 40px; transform: translateX(-50%) scale(.96);
  width: min(900px, calc(100% - 32px)); max-height: calc(100vh - 80px); overflow-y: auto;
  background: var(--ink-2); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
  border: 1px solid var(--hair); opacity: 0; visibility: hidden; transition: .3s var(--ease);
}
.modal.is-on { opacity: 1; visibility: visible; transform: translateX(-50%) scale(1); }
.modal__hero { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.modal__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink-2) 3%, transparent 60%); }
.modal__heroTxt { position: absolute; left: clamp(18px, 3vw, 34px); right: clamp(18px, 3vw, 34px); bottom: 18px; z-index: 2; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 36px; height: 36px; border-radius: 50%; background: rgba(5, 6, 10, .8); display: grid; place-items: center; border: 1px solid var(--hair); }
.modal__close:hover { background: var(--ember); color: #0b0b0b; }
.modal__body { padding: 22px clamp(18px, 3vw, 34px) 34px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; }
.modal__acts { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }

/* ============================================================ OVERLAYS */
.drawer { position: fixed; inset: 0 40% 0 0; z-index: 880; background: var(--ink-2); border-right: 1px solid var(--hair); transform: translateX(-100%); transition: transform .3s var(--ease); padding: 90px 30px 30px; }
.drawer.is-on { transform: none; }
.drawer a { display: block; padding: 13px 0; font-size: 17px; color: var(--text-2); border-bottom: 1px solid var(--hair); }
.drawer a:hover, .drawer a.is-active { color: #fff; }

.toasts { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 990; display: grid; gap: 8px; justify-items: center; }
.toast {
  padding: 11px 18px; border-radius: 999px; background: rgba(18, 21, 31, .95); border: 1px solid var(--hair-2);
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-2); animation: up .3s var(--ease);
}
.toast b { color: var(--ember-lit); }
@keyframes up { from { opacity: 0; transform: translateY(12px) } }

.kbd {
  position: fixed; inset: 0; z-index: 970; background: rgba(5, 6, 10, .9); display: none;
  place-items: center; padding: 40px;
}
.kbd.is-on { display: grid; }
.kbd__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 28px; max-width: 760px; }
.kbd__row { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--text-2); }
.kbd__row kbd {
  min-width: 34px; text-align: center; padding: 4px 8px; border-radius: 5px; background: var(--surface);
  border: 1px solid var(--hair-2); font-family: var(--font-ui); font-size: 12px; color: #fff;
}

/* ============================================================ FOOTER */
.foot { border-top: 1px solid var(--hair); padding: 54px 0 40px; color: var(--text-3); font-size: 13.5px; background: linear-gradient(180deg, transparent, rgba(11, 13, 20, .8)); }
.foot__top { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 24px; margin-bottom: 30px; }
.foot__cols a { display: block; padding: 4px 0; }
.foot__cols a:hover { color: var(--text); text-decoration: underline; }
.foot__note { max-width: 780px; line-height: 1.7; padding-top: 18px; border-top: 1px solid var(--hair); }
.foot__note b { color: var(--text-2); }

/* mobile tab bar */
.tabbar { display: none; }

/* ============================================================ RESPONSIVE */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .modal__body { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .tp__inner { grid-template-columns: 1fr; }
  .tp__poster { max-width: 240px; }
}
@media (max-width: 900px) {
  :root { --card-w: 142px; --header-h: 60px; }
  .nav { display: none; }
  .burger { display: grid; }
  .searchbox:focus-within input, .searchbox.has-q input { width: 120px; }
  .billboard { min-height: 76vh; }
  .rails { margin-top: -34px; }
  .card__pop { left: -14px; right: -14px; }
  .rail--top10 .card__num { font-size: 108px; margin-right: -16px; }
  .ep { grid-template-columns: 30px 120px 1fr; }
  .ep__d { display: none; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .tabbar {
    display: grid; grid-auto-flow: column; place-items: center; position: fixed; z-index: 810;
    inset: auto 0 0 0; height: 62px; background: rgba(5, 6, 10, .96); border-top: 1px solid var(--hair);
    backdrop-filter: blur(14px); padding-bottom: env(safe-area-inset-bottom);
  }
  .tabbar a { display: grid; place-items: center; gap: 2px; font-size: 10px; color: var(--text-3); width: 100%; height: 100%; }
  .tabbar a.is-active, .tabbar a:hover { color: #fff; }
  .page { padding-bottom: 62px; }
  .player__ctl { padding-bottom: 74px; }
  .nextup { right: 12px; bottom: 180px; width: 260px; }
}
@media (max-width: 560px) {
  :root { --card-w: 126px; }
  .bb__syn { display: none; }
  .btn { height: 42px; padding: 0 18px; font-size: 14px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); }
  .masthead__inner { gap: 12px; }
  .kv { grid-template-columns: 1fr; }
}

/* ============================================================ EXTRAS */
.poplayer {
  position: fixed; top: 0; left: 0; z-index: 820; margin: 0;
  opacity: 0; visibility: hidden; transform: none !important; pointer-events: none;
}
.poplayer.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.poplayer .card__popBody { max-height: 260px; overflow: hidden; }

.notif {
  position: fixed; z-index: 885; top: calc(var(--header-h) + 8px); right: clamp(12px, 3vw, 40px);
  width: min(400px, calc(100vw - 24px)); background: var(--ink-2); border: 1px solid var(--hair);
  border-radius: var(--r-lg); box-shadow: var(--shadow-3); padding: 16px; display: none;
}
.notif.is-on { display: block; animation: fade .25s var(--ease); }
.notif h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.notif__row { display: flex; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 8px; }
.notif__row:hover { background: rgba(255, 255, 255, .05); }
.notif__row img { width: 44px; aspect-ratio: 2/3; object-fit: cover; border-radius: 4px; flex: none; }
.notif__row b { font-size: 13.5px; display: block; }
.notif__row span { font-size: 11.5px; color: var(--text-3); }
.notif__new { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-left: auto; flex: none; }

.bbdot { padding: 0; transition: width .3s var(--ease); }
.bbdot:hover { background: #fff !important; }
.hide-sm { display: inline; }
@media (max-width: 900px) { .hide-sm { display: none; } }

.suggest {
  position: fixed; z-index: 870; top: calc(var(--header-h) - 4px); right: clamp(12px, 3vw, 40px);
  width: min(420px, calc(100vw - 24px)); background: var(--ink-2); border: 1px solid var(--hair);
  border-radius: var(--r-md); box-shadow: var(--shadow-3); overflow: hidden; display: none;
}
.suggest.is-on { display: block; }
.suggest button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; }
.suggest button:hover, .suggest button.is-on { background: rgba(255, 255, 255, .07); }
.suggest img { width: 34px; aspect-ratio: 2/3; object-fit: cover; border-radius: 3px; }
.suggest b { font-size: 13.5px; } .suggest span { font-size: 11.5px; color: var(--text-3); margin-left: auto; }

.skeleton { position: relative; overflow: hidden; background: var(--ink-3); }
.skeleton::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
  animation: shim 1.4s infinite;
}
@keyframes shim { to { transform: translateX(100%) } }

.tagline-bar {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 12px 0; font-size: 12px; color: var(--text-3); border-bottom: 1px solid var(--hair);
}
.tagline-bar b { color: var(--ember-lit); letter-spacing: .04em; }
