/* ==========================================================================
   BLACKPINK — Official Website
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop, locked screens)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --c-black: #111111;
  --c-panel: #1f1f1f;
  --c-panel-2: #191919;
  --c-chip: #343434;
  --c-tile: #474747;
  --c-tile-2: #414141;
  --c-pink: #e8a2b4;
  --c-pink-strong: #d76d8a;
  --c-plum: #4b1b34;
  --c-text: #ffffff;
  --c-body: #c4c4c4;
  --c-muted: #a9a9a9;
  --c-dim: #8b8b8b;
  --line: rgba(255, 255, 255, .26);

  --font: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;

  --header-h: 60px;
  --footer-h: 0px;          /* footer is static on mobile */
  --title-h: 104px;
  --gutter: 20px;

  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Section backgrounds — swap these for the final bg files per screen */
  --bg-default: url("../images/bg/section-bg.webp");
  --bg-profile: var(--bg-default);
  --bg-member: none;
  --bg-disco: var(--bg-default);
  --bg-gallery: var(--bg-default);
  --bg-schedule: var(--bg-default);
  --bg-news: var(--bg-default);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; --title-h: 124px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 67px; --footer-h: 57px; --title-h: 144px; --gutter: 47px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-pink); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px;
  background: var(--c-pink); color: #111; font-weight: 700;
  transform: translateY(-150%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(17, 17, 17, .96);
  border-bottom: 1px solid var(--line);
  transition: transform .6s var(--ease), background-color .4s;
}
.site-header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 0 var(--gutter);
}
.site-nav { display: none; }
.site-logo { display: block; }
.site-logo img { height: 26px; width: auto; transition: transform .5s var(--ease), filter .5s; }
.site-logo:hover img { transform: scale(1.05); filter: brightness(1.12); }

.menu-toggle {
  position: absolute; right: calc(var(--gutter) - 10px); top: 50%;
  width: 44px; height: 44px; margin-top: -22px;
  display: grid; place-content: center; gap: 7px;
}
.menu-toggle__bar {
  display: block; width: 24px; height: 2px; background: #fff;
  transition: transform .45s var(--ease);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-last-of-type(2) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55;
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  background: rgba(10, 10, 10, .97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .45s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu nav { display: grid; gap: 14px; text-align: center; }
.mobile-menu a {
  font-size: 30px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu.is-open a { opacity: 1; transform: none; }
.mobile-menu.is-open a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: .16s; }
.mobile-menu.is-open a:nth-child(6) { transition-delay: .2s; }
.mobile-menu a:hover, .mobile-menu a.is-current { color: var(--c-pink); }

@media (min-width: 1024px) {
  .site-header { background: var(--c-black); }
  .site-header.is-hidden { transform: translateY(-101%); }
  .site-header__inner {
    display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 97px;
    max-width: 1359px; margin: 0 auto; padding: 0;
  }
  .menu-toggle { display: none; }
  .site-nav { display: flex; gap: 48px; }
  .site-nav--left { justify-self: end; }
  .site-nav--right { justify-self: start; }
  .site-logo img { height: 30px; }
  .site-nav a {
    position: relative; font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
    padding: 8px 0; transition: color .3s;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--c-pink); transform: scaleX(0); transition: transform .45s var(--ease);
  }
  .site-nav a:hover, .site-nav a.is-current { color: var(--c-pink); }
  .site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--c-black);
  border-top: 1px solid var(--line);
}
.site-footer__copy { font-size: 12px; color: #d6d6d6; font-family: Helvetica, Arial, sans-serif; }
.lang { display: flex; }
.lang__btn {
  min-width: 44px; height: 35px; padding: 0 12px; font-size: 15px;
  transition: background-color .3s, color .3s;
}
.lang__btn:hover { color: var(--c-pink); }
.lang__btn.is-active { background: var(--c-chip); color: #fff; }

@media (min-width: 1024px) {
  .site-footer {
    position: fixed; inset: auto 0 0; height: var(--footer-h); padding: 0 65px 0 48px;
    transition: background-color .5s;
  }
  .site-footer__copy { font-size: 13px; }
  .lang { gap: 8px; }
  .lang__btn { min-width: 58px; }
  .site-footer.is-overlay { background: transparent; }
}

/* ---------- Sections (shared) ---------- */
.section {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  background: var(--c-black) var(--section-bg, var(--bg-default)) center / cover no-repeat;
  overflow: hidden;
}
.section-title {
  display: flex; align-items: center; justify-content: center;
  height: var(--title-h);
  font-size: clamp(32px, 7vw, 44px); font-weight: 700; letter-spacing: .01em;
  text-transform: uppercase; line-height: 1;
  text-shadow: 0 4px 14px rgba(0, 0, 0, .55);
}
@media (min-width: 1024px) { .section-title { padding-top: 8px; } }
/* the area left for a screen's main content, used by locked screens */
.section { --stage-h: calc(100svh - var(--header-h) - var(--title-h) - var(--footer-h)); }

.profile  { --section-bg: var(--bg-profile); }
.members  { --section-bg: var(--bg-member); --title-h: 0px; }
.disco    { --section-bg: var(--bg-disco); }
.gallery  { --section-bg: var(--bg-gallery); }
.schedule { --section-bg: var(--bg-schedule); }
.news     { --section-bg: var(--bg-news); }

/* Locked full-height screens on desktop: every page (or screen) is exactly one viewport */
@media (min-width: 1024px) and (min-height: 620px) {
  .hero, .section { height: 100svh; min-height: 0; }
  .section { padding-bottom: var(--footer-h); }
  /* pages with more than one screen (profile + member) snap between them */
  html.snap { scroll-snap-type: y mandatory; }
  html.snap .section { scroll-snap-align: start; scroll-snap-stop: always; }
}

/* Cross-page fade (Chrome/Edge/Safari; others just load normally) */
@view-transition { navigation: auto; }

/* ---------- Reveal & motion ---------- */
[data-reveal] {
  opacity: 0; transform: translate3d(0, 36px, 0);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.is-inview [data-reveal], [data-reveal].is-inview { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* ---------- Buttons ---------- */
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  height: 55px; padding: 0 18px;
  border: 1px solid #fff; font-size: 12.5px; letter-spacing: .03em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s;
}
.btn-outline::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff;
  transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.btn-outline:hover::before, .btn-outline:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn-outline:hover, .btn-outline:focus-visible { color: #111; }
.yt-mark { width: 72px; height: 19px; text-transform: none; }
.yt-mark rect, .yt-mark text { transition: fill .45s var(--ease); }
.yt-mark path { transition: fill .45s var(--ease); }
.btn-outline:hover .yt-mark rect { fill: #ff0000; }
.btn-outline:hover .yt-mark path { fill: #fff; }
.btn-outline:hover .yt-mark text { fill: #111; }

.chip {
  display: inline-flex; align-items: center; justify-content: center;
  height: 27px; padding: 0 19px; background: var(--c-chip);
  font-size: 13px; color: #c8c8c8; letter-spacing: .03em; text-transform: uppercase;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000;
}
.hero__media { position: absolute; inset: 0; } /* parallax moves it down only, so no bleed is needed */
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,20,.18) 0%, rgba(10,10,20,0) 50%),
    rgba(26, 26, 36, .34);
}
.hero__content {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 150px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.hero__logo { width: 150px; height: auto; }
.hero__title {
  margin: 22px 0 34px;
  font-size: clamp(40px, 10vw, 72px); font-weight: 700; line-height: 1; letter-spacing: .005em;
  text-transform: uppercase; text-shadow: 0 6px 30px rgba(0,0,0,.35);
}
.hero__pause {
  position: absolute; left: var(--gutter); bottom: 60px;
  width: 47px; height: 47px; border-radius: 50%; border: 2px solid #fff;
  display: grid; place-items: center;
  transition: background-color .35s, transform .45s var(--ease);
}
.hero__pause svg { width: 22px; height: 22px; fill: #fff; transition: fill .35s; }
.hero__pause .icon-play { display: none; }
.hero__pause.is-paused .icon-pause { display: none; }
.hero__pause.is-paused .icon-play { display: block; }
.hero__pause:hover { background: #fff; transform: scale(1.06); }
.hero__pause:hover svg { fill: #111; }
.hero__pause[hidden] { display: none; }
.hero__nav { display: none; }

/* page-load sequence */
.hero-in {
  opacity: 0; transform: translate3d(0, 28px, 0);
  animation: heroIn 1.2s var(--ease-out) forwards;
  animation-delay: calc(.25s + var(--d, 0) * .12s);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__media { animation: heroZoom 2.4s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

@media (min-width: 768px) {
  .hero__logo { width: 200px; }
  .hero__content { bottom: auto; top: 35.7%; }
}
@media (min-width: 1024px) {
  .hero__pause { bottom: calc(var(--footer-h) + 47px); }
  .hero__nav {
    position: absolute; right: var(--gutter); bottom: calc(var(--footer-h) + 48px);
    display: flex; flex-direction: column; align-items: flex-end;
  }
  .hero__nav a {
    font-size: 28px; line-height: 49px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,.35);
    transition: color .35s, letter-spacing .5s var(--ease);
  }
  .hero__nav a:hover, .hero__nav a:focus-visible { color: var(--c-pink); letter-spacing: .2em; }
}

/* ==========================================================================
   PROFILE
   ========================================================================== */

.profile { display: flex; flex-direction: column; }

/* fade the textured bg into the plain black of the member section */
.profile::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, var(--c-black) 100%);
  pointer-events: none;
}
.profile__body, .member-cue { position: relative; z-index: 1; }
.profile__banner {
  --bh: clamp(180px, 28vh, 280px);
  position: relative; height: var(--bh); overflow: hidden; flex: none;
  background: #f5f4f5;
}
/* The group shot is scaled so the four faces spread across the banner.
   Face line sits at 18.1% of the image width; we pin it to the banner's middle. */
.profile__banner-img {
  position: absolute; inset: -15% 0;
  background-image: url("../images/bg/profile-banner.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 0%;
  filter: grayscale(.2);
}
.profile__banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(120,60,95,.18) 35%, rgba(92,36,68,.62) 68%, rgba(75,27,52,.96) 92%, var(--c-plum) 100%);
}
.profile__heading {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 0 var(--gutter) clamp(14px, 2.4vh, 22px);
  text-align: center;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.profile__heading .profile__sub { color: rgba(255, 255, 255, .62); margin-top: 4px; }
.profile__body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 44px var(--gutter) 56px; text-align: center;
}
.profile__title { font-size: clamp(34px, 8vw, 44px); font-weight: 700; line-height: 1.1; }
.profile__sub { margin-top: 10px; font-size: 22px; font-weight: 700; color: var(--c-dim); }
.profile__text { max-width: 860px; margin-top: 32px; color: var(--c-body); font-size: 16px; line-height: 1.5; }
.profile__text p + p { margin-top: 22px; }
.profile__text strong { color: #e6e6e6; font-weight: 700; }
.social { display: flex; gap: 18px; list-style: none; padding: 0; margin-top: 38px; }
.social__link {
  display: grid; place-items: center; width: 48px; height: 48px; background: var(--c-tile-2);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: background .4s var(--ease), transform .45s var(--ease), box-shadow .45s;
}
.social__link svg { width: 20px; height: 20px; fill: currentColor; }
.social__link:hover, .social__link:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.45); }
.social__link--ig:hover, .social__link--ig:focus-visible { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); }
.social__link--fb:hover, .social__link--fb:focus-visible { background: #1877f2; }
.social__link--tw:hover, .social__link--tw:focus-visible { background: #55acee; }
.social__link--yt:hover, .social__link--yt:focus-visible { background: #ff0000; }

@media (min-width: 1024px) {
  .profile__body { justify-content: flex-start; padding-top: clamp(24px, 5.2vh, 44px); padding-bottom: 0; }
  .profile__text { margin-top: clamp(20px, 4vh, 40px); }
  .social { margin-top: clamp(22px, 4.3vh, 38px); }
}

/* Profile → Member cue: breathing text + nudging arrow */
.member-cue {
  flex: none; align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 24px clamp(16px, 3vh, 28px);
  color: var(--c-pink);
}
.member-cue__text {
  font-size: 15px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  animation: breathe 2.8s ease-in-out infinite;
}
.member-cue__arrow {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square;
  animation: nudge 2.8s ease-in-out infinite;
}
.member-cue:hover .member-cue__text { animation: none; opacity: 1; color: #fff; }
@keyframes breathe {
  0%, 100% { opacity: .45; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
@keyframes nudge { 50% { transform: translateY(6px); } }

/* ==========================================================================
   MEMBERS
   ========================================================================== */
.members__row { display: flex; flex-direction: column; }
.member {
  position: relative; overflow: hidden; background: #1e0010;
  height: 84px;
  transition: height .8s var(--ease), flex-grow .9s var(--ease);
}
.member.is-active { height: min(78svh, 620px); }
.member__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 0%;
  transform-origin: 50% 20%;
  transform: scale(1.12); filter: saturate(.8);
  transition: transform 1.2s var(--ease), filter .8s;
}
.member.is-active .member__img { transform: scale(1.02); filter: none; }
.member::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(70,30,54,.7) 0%, rgba(88,16,55,.78) 45%, rgba(40,0,20,.9) 75%, rgba(10,0,5,.98) 100%);
  transition: opacity .8s var(--ease);
}
.member.is-active::before { opacity: 0; }
.member::after {
  content: ""; position: absolute; inset: 35% 0 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.92) 100%);
  opacity: 0; transition: opacity .8s var(--ease);
}
.member.is-active::after { opacity: 1; }
.member__vname {
  position: absolute; z-index: 2; left: var(--gutter); top: 50%; transform: translateY(-50%);
  font-size: 44px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: rgba(255,255,255,.11);
  transition: opacity .5s var(--ease);
}
.member.is-active .member__vname { opacity: 0; }
.member__toggle { position: absolute; inset: 0; z-index: 3; width: 100%; }
.member__toggle:focus-visible { outline-offset: -4px; }
.member__info {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  padding: 0 var(--gutter) 28px;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .5s, transform .8s var(--ease), visibility 0s .5s;
  pointer-events: none;
}
.member.is-active .member__info {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .7s .3s, transform 1s .3s var(--ease), visibility 0s;
}
.member__name {
  font-size: clamp(36px, 8vw, 44px); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
}
.member__birth { margin-top: 12px; color: #bdbdbd; font-size: 16px; }
.member__meta { margin-top: 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.member__ig {
  pointer-events: auto; position: relative; z-index: 5;
  display: grid; place-items: center; width: 48px; height: 48px;
  background: rgba(90,90,90,.75); transition: background .4s, transform .45s var(--ease);
}
.member__ig svg { width: 22px; height: 22px; fill: #fff; }
.member__ig:hover, .member__ig:focus-visible { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); transform: translateY(-3px); }
.member__role { font-style: italic; font-size: 16px; color: #d0d0d0; text-align: right; }

@media (min-width: 1024px) {
  .members__row { flex-direction: row; height: var(--stage-h); }
  .member, .member.is-active { height: auto; flex: 1 1 0; min-width: 0; }
  .member.is-active { flex-grow: 1.7; }
  .member__vname {
    left: auto; right: 6px; top: auto; bottom: 58px; transform: rotate(180deg);
    writing-mode: vertical-rl;
    font-size: clamp(64px, 11.5vh, 110px); letter-spacing: .06em;
  }
  .member__info { padding: 0 42px 46px 38px; }
  .member__birth { margin-top: 14px; }
  .member__meta { margin-top: 30px; }
  .member__img { transform: scale(1.3); }
  .member.is-active .member__img { transform: scale(1.22); }
  .member:not(.is-active):hover .member__img { transform: scale(1.36); }
  .member:not(.is-active):hover::before { opacity: .8; }
}
/* Mobile: collapsed members are simple solid rows with a chevron */
@media (max-width: 1023px) {
  .member__name { font-size: 52px; }
  .member { border-bottom: 1px solid rgba(255, 255, 255, .08); }

  /* subtle solid overlay instead of the tinted photo */
  .member::before { background: #3d2632; }

  /* photo is hidden while collapsed, fades in when opened */
  .member__img { transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
  .member:not(.is-active) .member__img { opacity: 0; }

  /* readable name on the left */
  .member__vname { font-size: 26px; color: rgba(255, 255, 255, .85); }

  /* chevron on the right */
  .member__toggle::after {
    content: ""; position: absolute; top: 50%; right: calc(var(--gutter) + 4px);
    width: 10px; height: 10px;
    border-right: 2px solid rgba(255, 255, 255, .6);
    border-bottom: 2px solid rgba(255, 255, 255, .6);
    transform: translateY(-75%) rotate(45deg);
    transition: opacity .4s;
  }
  .member.is-active .member__toggle::after { opacity: 0; }
}

/* ==========================================================================
   DISCOGRAPHY
   ========================================================================== */
.disco__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  list-style: none; padding: 0;
}
.disco__grid li { position: relative; min-width: 0; }
.album {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden;
  text-align: center; isolation: isolate; background: #1a0a12;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.album img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.album::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(75,27,52,0) 10%, rgba(75,27,52,.42) 48%, rgba(28,6,17,.82) 78%, rgba(0,0,0,.96) 100%);
  transition: opacity .6s var(--ease);
}
.album__title, .album__date {
  position: absolute; z-index: 2; left: 12px; right: 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.album__title {
  bottom: 44px; font-size: clamp(15px, 3.8vw, 20px); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.album__date { bottom: 20px; font-size: 13px; color: #bdbdbd; }

@media (hover: hover) {
  .album:hover, .album:focus-visible {
    z-index: 5; transform: scale(1.17);
    box-shadow: 0 30px 70px rgba(0,0,0,.7);
  }
  .album:hover::after, .album:focus-visible::after { opacity: 0; }
  .album:hover .album__title, .album:hover .album__date,
  .album:focus-visible .album__title, .album:focus-visible .album__date { opacity: 0; transform: translateY(12px); }
  .disco__grid li:hover, .disco__grid li:focus-within { z-index: 5; }
}

@media (min-width: 768px) {
  .disco__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .disco__grid {
    grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr);
    height: var(--stage-h);
  }
  .album { aspect-ratio: auto; height: 100%; }
  .album__title { bottom: 58px; }
  .album__date { bottom: 34px; }
  /* grow inward so hovered covers at the edges stay on screen */
  .album { transform-origin: var(--ox, center) var(--oy, center); }
  .disco__grid li:nth-child(5n+1) { --ox: left; }
  .disco__grid li:nth-child(5n) { --ox: right; }
  .disco__grid li:nth-child(-n+5) { --oy: top; }
  .disco__grid li:nth-child(n+6) { --oy: bottom; }
}

/* Album detail panel */
.album-panel {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; color: #fff;
  background: var(--c-black) var(--bg-disco) center / cover;
  overflow-y: auto; overscroll-behavior: contain;
}
.album-panel::backdrop { background: transparent; }
.album-panel[open] { display: block; animation: fadeIn .4s var(--ease) both; }
.album-panel.is-closing { animation: fadeOut .35s var(--ease) both; }
.album-panel__cover { position: relative; aspect-ratio: 1; overflow: hidden; background: #e6e6e6; }
.album-panel__cover img {
  width: 100%; height: 100%; object-fit: cover;
  animation: coverIn 1.1s var(--ease-out) both;
}
.album-panel__body { padding: 28px var(--gutter) 48px; }
.album-panel__body > * { animation: slideIn .9s var(--ease-out) both; }
.album-panel__body > :nth-child(2) { animation-delay: .08s; }
.album-panel__body > :nth-child(3) { animation-delay: .16s; }
.album-panel__body > :nth-child(4) { animation-delay: .24s; }

.back-link {
  display: inline-flex; align-items: center; gap: 18px; height: 40px;
  font-size: 15px; letter-spacing: .06em; color: #9a9a9a; text-transform: uppercase;
  transition: color .3s;
}
.back-link__arrow { position: relative; width: 48px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.back-link__arrow::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 12px; height: 12px;
  border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); transform-origin: 0 100%;
  top: -12px; left: 1px;
}
.back-link:hover { color: #fff; }
.back-link:hover .back-link__arrow { width: 64px; }

.album-panel__head { margin-top: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.album-panel__title { font-size: clamp(30px, 7vw, 48px); font-weight: 700; line-height: 1.05; letter-spacing: .01em; }
.album-panel__date { margin-top: 12px; font-size: 14px; color: #bdbdbd; }
.btn-buy {
  flex: none; display: inline-grid; place-items: center; height: 46px; padding: 0 23px;
  background: var(--c-pink-strong); font-size: 15px; letter-spacing: .03em; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(215,109,138,.25);
  transition: background .35s, transform .45s var(--ease), box-shadow .45s;
}
.btn-buy:hover, .btn-buy:focus-visible { background: #e57f9b; transform: translateY(-3px); box-shadow: 0 14px 28px rgba(215,109,138,.4); }

.platforms { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 18px; }
.platforms a {
  display: grid; place-items: center; width: 48px; height: 48px; background: var(--c-tile);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: background .35s, transform .45s var(--ease);
}
.platforms img { width: 40px; height: 40px; }
.platforms a:hover, .platforms a:focus-visible { background: var(--brand); transform: translateY(-4px); }

.tracks { margin-top: 34px; }
.tracks__head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 2px solid #555;
}
.tracks__head h3 { font-size: 20px; font-weight: 700; text-transform: uppercase; }
.tracks__head span { font-size: 14px; color: #bdbdbd; }
.tracks__list { margin-top: 12px; }
.tracks__list li {
  display: grid; grid-template-columns: 47px 1fr auto; align-items: center;
  min-height: 34px; padding: 0 0 0 10px; font-size: 15px;
  transition: background .3s, color .3s;
}
.tracks__list li:hover { background: rgba(255,255,255,.04); color: var(--c-pink); }
.tracks__no { font-weight: 700; }
.tracks__time { color: #a9a9a9; font-size: 14px; }

@media (min-width: 1024px) {
  .album-panel {
    top: var(--header-h); bottom: var(--footer-h); height: auto;
    overflow: hidden;
  }
  .album-panel[open] { display: grid; grid-template-columns: 1fr 1fr; }
  .album-panel__cover { aspect-ratio: auto; height: 100%; }
  .album-panel__body { padding: clamp(24px, 6vh, 46px) 47px 32px; overflow-y: auto; }
  .album-panel__head { margin-top: 10px; }
  .platforms { margin-top: clamp(24px, 5vh, 46px); }
  .tracks { margin-top: clamp(26px, 5vh, 46px); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes coverIn { from { clip-path: inset(0 100% 0 0); transform: scale(1.12); } to { clip-path: inset(0); transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translate3d(40px, 0, 0); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  width: 100%; margin: 0 auto; list-style: none; padding: 0 0 40px;
}
.gallery__grid li { position: relative; min-width: 0; }
.gallery__wide { grid-column: span 2; }
.shot {
  position: relative; display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden;
  background: #222; isolation: isolate;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.gallery__wide .shot { aspect-ratio: 4 / 3; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.1s var(--ease); }
.shot::before {
  content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.35);
  opacity: 0; transition: opacity .5s var(--ease);
}
/* thin "+" icon */
.shot::after {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px;
  background:
    linear-gradient(#fff, #fff) center / 100% 1.5px no-repeat,
    linear-gradient(#fff, #fff) center / 1.5px 100% no-repeat;
  opacity: 0; transform: scale(.5) rotate(-90deg); transition: opacity .5s var(--ease), transform .7s var(--ease);
}
@media (hover: hover) {
  .gallery__grid li:hover, .gallery__grid li:focus-within { z-index: 5; }
  .shot:hover, .shot:focus-visible { transform: scale(1.08); box-shadow: 0 26px 60px rgba(0,0,0,.65); }
  .shot:hover::before, .shot:focus-visible::before, .shot:hover::after, .shot:focus-visible::after { opacity: 1; }
  .shot:hover::after, .shot:focus-visible::after { transform: none; }
}

@media (min-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); width: calc(100% - 2 * var(--gutter)); }
  .gallery__wide { grid-column: span 3; }
  .gallery__wide .shot { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .gallery__grid {
    width: min(1181px, calc(100% - 2 * 89px));
    grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr);
    height: var(--stage-h); padding: 0;
  }
  .gallery__wide { grid-column: span 2; }
  .shot, .gallery__wide .shot { aspect-ratio: auto; height: 100%; }
  .shot { transform-origin: var(--ox, center) var(--oy, center); }
  .gallery__grid li:nth-child(1), .gallery__grid li:nth-child(6) { --ox: left; }
  .gallery__grid li:nth-child(5), .gallery__grid li:nth-child(9) { --ox: right; }
  .gallery__grid li:nth-child(-n+5) { --oy: top; }
  .gallery__grid li:nth-child(n+6) { --oy: bottom; }
}

/* Lightbox */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff; overflow: hidden;
}
.lightbox::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(2px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .35s var(--ease) both; }
.lightbox[open]::backdrop { animation: fadeIn .35s var(--ease) both; }
.lightbox.is-closing, .lightbox.is-closing::backdrop { animation: fadeOut .3s var(--ease) both; }
.lightbox__figure { position: relative; max-width: calc(100vw - 2 * var(--gutter)); }
.lightbox__figure img {
  height: min(68svh, 760px); width: auto; max-width: calc(100vw - 2 * var(--gutter)); object-fit: contain; margin: 0 auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: lbIn .7s var(--ease-out) both;
}
.lightbox__figure img.is-swapping { animation: none; opacity: 0; transform: scale(.97); transition: opacity .25s, transform .25s; }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox__caption {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 14px;
  font-size: 14px; color: #bdbdbd; letter-spacing: .03em;
}
.lightbox__close, .article__close {
  position: absolute; width: 44px; height: 44px; top: -52px; right: -6px;
  transition: transform .5s var(--ease);
}
.lightbox__close span, .article__close span {
  position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: #fff;
}
.lightbox__close span:first-child, .article__close span:first-child { transform: rotate(45deg); }
.lightbox__close span:last-child, .article__close span:last-child { transform: rotate(-45deg); }
.lightbox__close:hover, .article__close:hover { transform: rotate(90deg); }
.lightbox__nav {
  position: fixed; top: 50%; width: 56px; height: 56px; margin-top: -28px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%;
  transition: background .3s, border-color .3s, transform .45s var(--ease);
}
.lightbox__nav::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px;
  border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.lightbox__nav--next { right: 12px; }
.lightbox__nav--next::before { transform: translate(-70%, -50%) rotate(45deg); }
.lightbox__nav:hover { background: var(--c-pink-strong); border-color: var(--c-pink-strong); }
.lightbox__nav--prev:hover { transform: translateX(-4px); }
.lightbox__nav--next:hover { transform: translateX(4px); }
@media (max-width: 767px) {
  .lightbox__nav { top: auto; bottom: 24px; margin: 0; width: 48px; height: 48px; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}
@media (min-width: 1024px) {
  .lightbox__close { top: 4px; right: -60px; }
  .lightbox__nav--prev { left: 48px; }
  .lightbox__nav--next { right: 48px; }
}

/* ==========================================================================
   SCHEDULE & NEWS (shared rows)
   ========================================================================== */
.list-wrap { width: calc(100% - 2 * var(--gutter)); max-width: 982px; margin: 0 auto; padding-bottom: 48px; }
.filters { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 23px; }
.filters__btn {
  height: 35px; padding: 0 16px; font-size: 15px; text-transform: uppercase; letter-spacing: .02em;
  transition: background .35s, color .35s;
}
.filters__btn:hover { color: var(--c-pink); }
.filters__btn.is-active { background: #3c3c3c; color: #fff; }

.rows { display: grid; gap: 16px; }
.row {
  --row-i: 0;
  opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--row-i) * 80ms);
}
.is-inview .row, .row.is-shown { opacity: 1; transform: none; }
.is-inview .row.row--enter { opacity: 0; transform: translate3d(0, 20px, 0); transition: none; }
.row.is-leaving { opacity: 0; transform: translate3d(-24px, 0, 0); transition-duration: .3s; transition-delay: 0s; }

.row__inner {
  display: grid; grid-template-columns: 1fr; width: 100%; text-align: left;
  background: var(--c-panel);
  transition: background .4s, transform .5s var(--ease), box-shadow .5s;
}
.row__main { padding: 18px 20px; min-width: 0; }
.row__title {
  font-size: 17px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
  transition: color .35s;
}
.row__meta { margin-top: 8px; font-size: 13.5px; color: #aaa; letter-spacing: .02em; }
.row__meta .sep { margin: 0 8px; opacity: .8; }
.row__side {
  display: flex; align-items: center; padding: 0 20px 18px;
  font-size: 13px; color: #aaa;
}
.row__inner:hover, .row__inner:focus-visible {
  background: #262626; transform: translateX(6px); box-shadow: -6px 0 0 var(--c-pink-strong);
}
.row__inner:hover .row__title, .row__inner:focus-visible .row__title { color: var(--c-pink); }

/* News thumb */
.row--news .row__inner { grid-template-columns: 84px 1fr; }
.row__thumb { grid-row: span 2; width: 84px; height: 100%; min-height: 84px; overflow: hidden; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.row__inner:hover .row__thumb img { transform: scale(1.12); }
.row--news .row__main { padding: 14px 16px 8px; }
.row--news .row__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.row--news .chip { margin-top: 8px; padding: 0 18px; }
.row--news .row__side { padding: 0 16px 12px; }

@media (min-width: 768px) {
  .row__inner { grid-template-columns: 1fr 168px; min-height: 87px; }
  .row__main { display: flex; flex-direction: column; justify-content: center; padding: 16px 30px 16px 39px; }
  .row__title { font-size: 20px; }
  .row__side { justify-content: center; padding: 0; background: var(--c-panel-2); }
  .row--news .row__inner { grid-template-columns: 96px 1fr 142px; min-height: 95px; }
  .row__thumb { grid-row: auto; width: 96px; min-height: 95px; }
  .row--news .row__main { padding: 12px 24px 12px 18px; }
  .row--news .row__title { -webkit-line-clamp: 1; display: block; white-space: nowrap; text-overflow: ellipsis; letter-spacing: .1em; }
  .row--news .row__side { padding: 0; }
}
@media (min-width: 1024px) {
  .schedule .list-wrap { margin-top: 0; }
  .schedule .rows, .news .rows { max-height: calc(var(--stage-h) - 90px); overflow-y: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: #444 transparent; }
  .news .rows { max-height: calc(var(--stage-h) - 40px); }
  /* fade the bottom edge while there's more to scroll */
  .rows.has-more { -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(180deg, #000 calc(100% - 56px), transparent); }
}

/* News article dialog */
.article {
  width: min(760px, calc(100% - 2 * var(--gutter))); max-height: calc(100svh - 80px);
  margin: auto; padding: 0; border: 0; color: #fff;
  background: #181818; box-shadow: 0 40px 100px rgba(0,0,0,.7); overflow: visible;
}
.article::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(2px); }
.article[open] { animation: articleIn .7s var(--ease-out) both; }
.article[open]::backdrop { animation: fadeIn .35s both; }
.article.is-closing { animation: fadeOut .3s var(--ease) both; }
@keyframes articleIn { from { opacity: 0; transform: translate3d(0, 40px, 0); } to { opacity: 1; transform: none; } }
.article__inner { max-height: calc(100svh - 80px); overflow-y: auto; }
.article__img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 30%; }
.article__meta { display: flex; align-items: center; gap: 14px; padding: 28px 36px 0; color: #aaa; font-size: 14px; }
.article__title { padding: 16px 36px 0; font-size: clamp(22px, 4vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.article__body { padding: 20px 36px 40px; color: var(--c-body); font-size: 16px; line-height: 1.65; max-width: 70ch; }
.article__body p + p { margin-top: 16px; }
.article__close { top: -52px; right: -6px; }
@media (max-width: 767px) {
  .article__meta, .article__title, .article__body { padding-left: 22px; padding-right: 22px; }
  .article__close { top: 8px; right: 8px; background: rgba(0,0,0,.55); border-radius: 50%; }
}

/* pop-ups take focus themselves on open; no ring on the container */
.album-panel:focus, .lightbox:focus, .article:focus { outline: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-reveal], .row, .hero-in { opacity: 1 !important; transform: none !important; }
  [data-parallax] { transform: none !important; }
  .member-cue__text, .member-cue__arrow { animation: none !important; }
}
