@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  --black: #080a0c;
  --white: #ffffff;
  --silver: #dce6ed;
  --silver-dark: #8696a3;
  --glass-dark: rgba(6, 9, 12, .72);
  --glass-light: rgba(235, 242, 247, .15);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--white);
  overflow-x: hidden;
  background: var(--black);
}

/* One full-size background image across the entire site. No tiles or square repeats. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("assets/yaqi-background.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Very light contrast layer so white YAQI branding stays readable. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,10,.16), rgba(4,7,10,.28));
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

button, input { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  min-height: 82px;
  padding: 16px clamp(22px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(4,7,10,.72), rgba(4,7,10,.08));
}

/* Keep the same transparent/gradient header treatment on every page. */
.solid-header {
  background: linear-gradient(180deg, rgba(4,7,10,.72), rgba(4,7,10,.08));
  border-bottom: 0;
  backdrop-filter: none;
}

.site-logo { width: 118px; display: block; }

.site-logo img { width: 100%; filter: drop-shadow(0 2px 8px rgba(0,0,0,.55)); }

.main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--white);
  transition: right .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after { right: 0; }

.nav-merch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-merch-icon {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.menu-toggle { display: none; }

.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.home-hero::before { display: none; }

.hero-glow { display: none; }

.home-center {
  width: min(980px, 88vw);
  margin: 0 auto;
  text-align: center;
  padding: 120px 20px 110px;
}

.home-logo {
  width: min(860px, 82vw);
  margin: 0 auto clamp(34px, 6vh, 62px);
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.55));
}

.home-actions, .button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.primary-button {
  min-width: 178px;
  min-height: 50px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--black);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.primary-button:hover { transform: translateY(-2px); }

.primary-button.outline { background: rgba(0,0,0,.12); color: var(--white); backdrop-filter: blur(4px); }

.primary-button.outline:hover { background: var(--white); color: var(--black); }

.home-socials {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 36px;
  padding: 16px 22px;
  background: rgba(4,7,10,.52);
  border-top: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
}

.home-socials a,
.footer-links a {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.home-socials a:hover,
.footer-links a:hover { color: var(--silver); }

.inner-page { background: transparent; }

.page-shell {
  min-height: 100vh;
  padding-top: 82px;
  background: transparent;
}

.page-intro {
  min-height: 300px;
  padding: 100px clamp(24px, 7vw, 110px) 62px;
  display: flex;
  align-items: flex-end;
  background: transparent;
}

.page-intro h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(4.8rem, 12vw, 11rem);
  line-height: .82;
  font-weight: 900;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-shadow: 0 7px 26px rgba(0,0,0,.48);
}

.music-feature {
  padding: clamp(55px, 8vw, 110px) clamp(24px, 7vw, 110px) 120px;
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(360px, 1.15fr);
  gap: clamp(45px, 7vw, 110px);
  align-items: center;
  background: rgba(236,244,249,.76);
  color: var(--black);
  border-top: 1px solid rgba(255,255,255,.35);
  border-bottom: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}

.section-logo {
  width: min(430px, 78%);
  padding: 24px 26px;
  margin-bottom: 34px;
  background: rgba(6,9,12,.94);
}

.music-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.music-copy p {
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.7;
  font-size: .94rem;
}

.button-row { justify-content: flex-start; }

.dark-button {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.dark-button:hover { background: #28313a; border-color: #28313a; }

.outline-dark { background: transparent; color: var(--black); }

.outline-dark:hover { color: var(--white); }

.spotify-frame-wrap { width: 100%; max-width: 700px; margin-left: auto; }

.spotify-frame {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.video-page {
  overflow-y: auto;
}

.video-shell {
  min-height: 100svh;
  padding-top: 82px;
  padding-bottom: 0;
  background: transparent;
  color: var(--white);
}

/* The first video and its heading are designed to fit entirely in the first viewport. */
.video-first-screen {
  min-height: calc(100svh - 82px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(12px, 2vh, 22px) 24px clamp(20px, 3vh, 34px);
}

.video-page-heading {
  flex: 0 0 auto;
  padding: 0 0 clamp(10px, 1.6vh, 18px);
  text-align: center;
}

.video-page-heading h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-shadow: 0 7px 24px rgba(0,0,0,.48);
}

.video-list {
  width: 100%;
}

.video-entry {
  min-height: calc(100svh - 82px);
  display: grid;
  place-items: center;
  padding: clamp(34px, 6vh, 70px) 24px;
}

.video-entry-first {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
}

.video-feature {
  appearance: none;
  width: min(980px, 88vw, calc((100svh - 245px) * 1.7778));
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  text-align: center;
  cursor: pointer;
}

.video-entry:not(.video-entry-first) .video-feature {
  width: min(980px, 88vw, calc((100svh - 190px) * 1.7778));
}

.video-feature-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 26px 70px rgba(3,8,13,.42),
    0 8px 24px rgba(3,8,13,.26);
  transition: transform .28s ease, box-shadow .28s ease;
}

.video-feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease, filter .28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .video-feature:hover .video-feature-thumb {
    transform: translateY(-4px) scale(1.004);
    box-shadow: 0 32px 82px rgba(3,8,13,.48),
      0 10px 28px rgba(3,8,13,.3);
  }

  .video-feature:hover .video-feature-thumb img {
    transform: scale(1.018);
    filter: brightness(.78);
  }
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(58px, 5vw, 76px);
  height: clamp(58px, 5vw, 76px);
  border: 2px solid var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 5px;
  background: rgba(0,0,0,.25);
  color: var(--white);
  font-size: 1.25rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.video-feature:hover .play-circle,
.video-feature:focus-visible .play-circle {
  background: rgba(230,238,244,.9);
  color: var(--black);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-feature-title {
  display: block;
  margin-top: clamp(10px, 1.6vh, 16px);
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0,0,0,.7);
}

.video-page-more {
  padding: 8px 24px 70px;
  text-align: center;
}

.video-youtube-link {
  color: rgba(255,255,255,.88);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.55);
  padding-bottom: 3px;
}

.video-youtube-link:hover,
.video-youtube-link:focus-visible {
  color: var(--white);
  border-color: var(--white);
}

@media (max-height: 760px) and (min-width: 781px) {
  .video-first-screen {
    padding-top: 8px;
    padding-bottom: 16px;
  }

  .video-page-heading {
    padding-bottom: 8px;
  }

  .video-page-heading h1 {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
  }

  .video-feature {
    width: min(860px, 82vw, calc((100svh - 205px) * 1.7778));
  }

  .video-feature-title {
    margin-top: 8px;
  }
}

@media (max-width: 780px) {
  .video-shell {
    padding-top: 70px;
  }

  .video-first-screen {
    min-height: calc(100svh - 70px);
    padding: 12px 14px 20px;
  }

  .video-page-heading {
    padding-bottom: 10px;
  }

  .video-page-heading h1 {
    font-size: clamp(2.5rem, 14vw, 4.3rem);
  }

  .video-entry {
    min-height: calc(100svh - 70px);
    padding: 32px 14px;
  }

  .video-entry-first {
    min-height: 0;
    padding: 0;
  }

  .video-feature,
  .video-entry:not(.video-entry-first) .video-feature {
    width: min(100%, calc((100svh - 220px) * 1.7778));
  }

  .video-feature-title {
    margin-top: 10px;
    font-size: 1.08rem;
  }
}

@media (max-width: 420px) {
  .video-page-heading h1 { font-size: 2.8rem; }

  .video-feature,
  .video-entry:not(.video-entry-first) .video-feature {
    width: min(100%, calc((100svh - 205px) * 1.7778));
  }
}

.video-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(20px, 5vw, 70px);
  background: rgba(0,0,0,.94);
}

.video-modal.open { display: grid; }

.video-modal-inner {
  width: min(1220px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 100px rgba(0,0,0,.7);
}

.video-modal iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-modal-close {
  position: fixed;
  top: 18px;
  right: 28px;
  z-index: 501;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  padding: 56px 24px 48px;
  background: rgba(5,8,11,.76);
  color: var(--white);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
}

.site-footer > img { width: 150px; margin: 0 auto 28px; }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.site-footer p { margin: 0; font-size: .62rem; letter-spacing: .12em; opacity: .55; }

@media (max-width: 780px) {
  .site-header {
    min-height: 70px;
    padding: 14px 20px;
    background: rgba(5,8,11,.84);
  }

  .site-logo { width: 96px; }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 36px;
    padding: 7px 5px;
    flex-direction: column;
    justify-content: space-between;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span { height: 2px; width: 100%; background: #fff; display: block; }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(5,8,11,.95);
  }

  .main-nav.open { display: flex; }

  .main-nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }

  .main-nav a::after { display: none; }

  .home-center { padding-top: 100px; }

  .home-logo { width: 88vw; }

  .home-socials { gap: 12px 22px; min-height: 74px; }

  .page-shell { padding-top: 70px; }

  .page-intro { min-height: 220px; padding: 72px 24px 40px; }

  .music-feature {
    grid-template-columns: 1fr;
    padding: 58px 24px 80px;
    background: rgba(236,244,249,.82);
  }

  .button-row { justify-content: flex-start; }
}

/* =========================
   MUSIC RELEASE CAROUSEL
   ========================= */

.music-page {
  overflow-y: auto;
}

.music-shell {
  min-height: 100svh;
  padding-top: 82px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.music-page-heading {
  flex: 0 0 auto;
  padding: clamp(18px, 2.8vh, 30px) 24px clamp(12px, 2vh, 22px);
  text-align: center;
}

.music-page-heading h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: .9;
  font-weight: 900;
  letter-spacing: -.05em;
  text-transform: uppercase;
  text-shadow: 0 7px 24px rgba(0,0,0,.48);
}

.release-carousel {
  position: relative;
  width: min(980px, 100%);
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 auto;
  padding: 0 clamp(68px, 8vw, 100px) clamp(12px, 2vh, 22px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.release-viewport {
  width: 100%;
  overflow: hidden;
}

.release-track {
  display: flex;
  width: 100%;
  transform: translate3d(0,0,0);
  transition: transform .56s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}

.release-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 0;
}

.release-card {
  width: min(410px, 48vw, calc(100svh - 330px));
  min-width: 280px;
  text-align: center;
  color: var(--white);
}

.release-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 26px 70px rgba(3,8,13,.42),
    0 8px 24px rgba(3,8,13,.26);
  transition: transform .28s ease, box-shadow .28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .release-card:hover .release-cover {
    transform: translateY(-4px) scale(1.006);
    box-shadow: 0 32px 82px rgba(3,8,13,.48),
      0 10px 28px rgba(3,8,13,.3);
  }
}

.release-card h2 {
  margin: clamp(12px, 1.8vh, 18px) 0 clamp(10px, 1.5vh, 14px);
  color: var(--white);
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0,0,0,.7);
}

.listen-button {
  min-width: 182px;
  min-height: 48px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,.95);
  background: rgba(5,8,11,.76);
  color: var(--white);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  backdrop-filter: blur(9px);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.listen-button:hover,
.listen-button:focus-visible {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--black);
}

.listen-play {
  font-size: .8rem;
  line-height: 1;
}

.release-arrow {
  position: absolute;
  z-index: 4;
  top: 48%;
  width: clamp(48px, 5vw, 60px);
  height: clamp(48px, 5vw, 60px);
  padding: 0;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5,8,11,.42);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transform: translateY(-50%);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.release-arrow svg {
  width: 48%;
  height: 48%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.release-arrow-left { left: clamp(10px, 2.5vw, 28px); }

.release-arrow-right { right: clamp(10px, 2.5vw, 28px); }

.release-arrow:hover,
.release-arrow:focus-visible {
  background: var(--white);
  color: var(--black);
}

.release-arrow:active {
  transform: translateY(-50%) scale(.95);
}

.release-position {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(8px, 1.2vh, 12px);
  color: rgba(255,255,255,.82);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

.release-position-divider { opacity: .45; }

@media (max-height: 760px) and (min-width: 781px) {
  .music-page-heading {
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .music-page-heading h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
  }

  .release-card {
    width: min(360px, 44vw, calc(100svh - 280px));
  }

  .release-card h2 { margin-top: 10px; margin-bottom: 9px; }

  .listen-button { min-height: 44px; }
}

@media (max-width: 780px) {
  .music-shell {
    padding-top: 70px;
  }

  .music-page-heading {
    padding: 18px 18px 14px;
  }

  .music-page-heading h1 {
    font-size: clamp(2.8rem, 15vw, 4.7rem);
  }

  .release-carousel {
    width: 100%;
    padding: 0 52px 18px;
  }

  .release-card {
    width: min(100%, 380px, calc(100svh - 300px));
    min-width: 0;
  }

  .release-card h2 { margin-top: 14px; font-size: 1.2rem; }

  .release-arrow {
    top: 47%;
    width: 44px;
    height: 44px;
  }

  .release-arrow-left { left: 4px; }

  .release-arrow-right { right: 4px; }

  .listen-button { min-width: 170px; min-height: 46px; }
}

@media (max-width: 420px) {
  .music-page-heading h1 { font-size: 2.9rem; }

  .release-carousel { padding-left: 46px; padding-right: 46px; }

  .release-card {
    width: min(100%, calc(100svh - 275px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .release-track,
  .release-cover,
  .listen-button,
  .release-arrow,
  .video-track,
  .video-feature-thumb,
  .video-feature-thumb img,
  .video-arrow {
    transition: none !important;
  }
}
