:root {
  color-scheme: dark;
  --bg: #05070c;
  --text: #f3f4f2;
  --muted: rgba(243, 244, 242, 0.76);
  --faint: rgba(243, 244, 242, 0.54);
  --ice: #a9c7d8;
  --panel: rgba(5, 7, 12, 0.82);
  --sans: "Instrument Sans", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hand: "Reenie Beanie", "Illusion Script", "Segoe Print", "Bradley Hand", cursive;
}

@font-face {
  font-display: swap;
  font-family: "Illusion Script";
  font-style: normal;
  font-weight: 400;
  src: url("../../assets/fonts/IllusionScript-Regular.otf") format("opentype");
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.stage-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  margin: 0;
  border: 0;
  background-image: url("../../assets/hero-iceberg.png");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

.stage-bg img {
  display: none;
}

.stage::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.18), rgba(5, 7, 12, 0.02) 32%, rgba(5, 7, 12, 0.1) 62%, rgba(5, 7, 12, 0.58)),
    linear-gradient(90deg, rgba(5, 7, 12, 0.34), rgba(5, 7, 12, 0.04) 28%, rgba(5, 7, 12, 0.02) 50%, rgba(5, 7, 12, 0.04) 72%, rgba(5, 7, 12, 0.34));
  content: "";
}

.stage::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 48%, rgba(0, 0, 0, 0.5), transparent 62%);
  content: "";
  opacity: 0.48;
}

.corner-nav {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.corner-link {
  position: fixed;
  z-index: 11;
  padding: clamp(18px, 2.4vw, 30px);
  color: var(--text);
  font-family: "Illusion Script", Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1;
  pointer-events: auto;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.36);
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.corner-link:hover,
.corner-link:focus-visible {
  color: var(--ice);
}

.top-left {
  top: 0;
  left: 0;
}

.top-right {
  top: 0;
  right: 0;
}

.bottom-left {
  bottom: 0;
  left: 0;
}

.bottom-right {
  right: 0;
  bottom: 0;
}

.stage-center {
  position: fixed;
  bottom: clamp(104px, 15svh, 170px);
  left: 50%;
  z-index: 9;
  width: min(100% - 48px, 620px);
  text-align: center;
  transform: translateX(-50%);
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin: 0 0 clamp(18px, 2.8vw, 32px);
  font-family: "Illusion Script", Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 11vw, 9.2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  text-shadow:
    0 1px 24px rgba(0, 0, 0, 0.34),
    0 2px 56px rgba(0, 0, 0, 0.28);
}

.hero-title {
  display: flex;
  justify-content: center;
}

.hero-wordmark {
  display: block;
  width: min(100%, clamp(320px, 48vw, 620px));
  height: auto;
  filter: drop-shadow(0 1px 24px rgba(0, 0, 0, 0.34)) drop-shadow(0 2px 56px rgba(0, 0, 0, 0.28));
}

.primary-action,
.panel-close,
.text-links a,
.email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid rgba(243, 244, 242, 0.9);
  border-radius: 2px;
  background: rgba(243, 244, 242, 0.94);
  color: #05070c;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.primary-action {
  min-height: 48px;
  padding: 0 28px 2px;
  border: 0;
  background: rgba(243, 244, 242, 0.13);
  backdrop-filter: blur(16px);
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 34px rgba(0, 0, 0, 0.16);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.28);
}

.primary-action:hover {
  background: rgba(243, 244, 242, 0.2);
}

.panel-close:hover,
.text-links a:hover,
.email-link:hover {
  border-color: var(--ice);
  background: rgba(169, 199, 216, 0.9);
}

.platform-dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 12;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: auto;
  max-width: min(86vw, 520px);
  transform: translateX(-50%);
  color: var(--text);
}

.platform-dock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  opacity: 0.92;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.platform-dock img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dock-contact {
  width: auto !important;
  height: auto !important;
  margin-left: 6px;
  padding-left: 16px;
  border-left: 1px solid rgba(243, 244, 242, 0.28);
  color: rgba(243, 244, 242, 0.78);
  font-family: var(--sans);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.platform-dock a[aria-label="Apple Music"] {
  width: 24px;
  height: 24px;
}

.platform-dock a[aria-label="NetEase Cloud Music"] {
  width: 19px;
  height: 19px;
}

.platform-dock a:not(.dock-contact):hover,
.platform-dock a:not(.dock-contact):focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.dock-contact:hover,
.dock-contact:focus-visible {
  opacity: 1;
  color: var(--text);
}

.panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.64), rgba(5, 7, 12, 0.88)),
    rgba(5, 7, 12, 0.72);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 280ms ease,
    transform 280ms ease;
  backdrop-filter: blur(10px);
}

.panel:target {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.panel-inner {
  width: min(100%, 980px);
  text-align: center;
}

.music-panel {
  width: min(100%, 1080px);
}

.panel h2 {
  max-width: 900px;
  margin: 0 auto 24px;
  font-size: clamp(3rem, 7.5vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
}

.panel h3 {
  margin: 0;
}

.panel p {
  max-width: 690px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 300;
  line-height: 1.55;
}

.panel-close {
  position: fixed;
  top: clamp(18px, 2.4vw, 30px);
  right: clamp(18px, 2.4vw, 30px);
  width: 42px;
  height: 42px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(5, 7, 12, 0.22);
  backdrop-filter: blur(10px);
}

.panel-close::before,
.panel-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  background: rgba(243, 244, 242, 0.72);
  content: "";
}

.panel-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.panel-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.panel-close:hover,
.panel-close:focus-visible {
  background: rgba(243, 244, 242, 0.12);
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.featured-music {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  text-align: left;
}

.release-art {
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 244, 242, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.release-art img,
.cover-grid img,
.label-logo img,
.label-lockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-info .kicker,
.release-info h2,
.release-info p {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.release-info h2 {
  font-size: clamp(2.9rem, 6vw, 6.2rem);
}

.release-info .text-links {
  justify-content: flex-start;
}

.cover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: clamp(30px, 5vw, 56px);
}

.cover-grid article {
  text-align: left;
}

.cover-link {
  display: block;
  color: inherit;
}

.cover-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  margin-bottom: 14px;
  border: 1px solid rgba(243, 244, 242, 0.14);
  object-fit: cover;
}

.cover-grid h3 {
  margin-bottom: 5px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.1;
}

.cover-grid h3 a {
  color: inherit;
  text-decoration: none;
}

.cover-grid h3 a:hover,
.cover-grid h3 a:focus-visible {
  color: var(--ice);
}

.cover-grid p {
  margin: 0;
  color: var(--faint);
  font-size: 0.84rem;
}

.label-panel {
  width: min(100%, 1080px);
}

.artist-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  width: min(100%, 1080px);
  text-align: left;
}

.artist-copy h2,
.artist-copy p,
.artist-copy .kicker {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.artist-copy h2 {
  font-size: clamp(3.6rem, 8vw, 7rem);
}

.artist-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.artist-photos figure {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 244, 242, 0.14);
  background:
    linear-gradient(135deg, rgba(169, 199, 216, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

.artist-photos figure:nth-child(2) {
  margin-top: clamp(28px, 5vw, 64px);
}

.artist-photos img {
  opacity: 0.78;
  filter: saturate(0.7) contrast(1.02) brightness(0.88) hue-rotate(342deg);
}

.artist-photos .artist-photo-portrait {
  object-position: 50% 28%;
  transform: scale(1.16);
}

.artist-photos .artist-photo-live {
  object-position: 43% 50%;
  filter: saturate(0.7) contrast(1.02) brightness(0.88) hue-rotate(342deg);
}

.label-logo {
  width: min(58vw, 360px);
  margin: 0 auto 18px;
  aspect-ratio: 1;
}

.label-logo img {
  object-fit: contain;
}

.label-intro {
  max-width: 680px;
  margin-bottom: clamp(30px, 5vw, 48px);
}

.label-section + .label-section {
  margin-top: clamp(28px, 5vw, 46px);
}

.label-cover-grid {
  margin-top: 0;
}

.label-collab-note {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  padding-top: clamp(12px, 3vw, 24px);
  border-top: 1px solid rgba(243, 244, 242, 0.12);
}

.label-collab-note p {
  margin-bottom: 0;
  font-size: clamp(0.96rem, 1.5vw, 1.12rem);
  letter-spacing: 0.02em;
}

.label-section .kicker {
  margin-bottom: 14px;
  text-align: left;
}

.mini-release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mini-release-grid article {
  display: grid;
  align-content: end;
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(243, 244, 242, 0.16);
  background: rgba(255, 255, 255, 0.035);
  text-align: left;
}

.mini-release-grid span {
  margin-bottom: 6px;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.1;
}

.mini-release-grid small {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-links a,
.email-link {
  min-height: 44px;
  padding: 0 18px;
  font-size: 1rem;
}

.still-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 38px;
}

.still-strip figure {
  aspect-ratio: 4 / 5;
}

.ice-media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(169, 199, 216, 0.2), transparent 38%),
    linear-gradient(180deg, #0b111c, #05070c);
}

.ice-media::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(243, 244, 242, 0.08) 43%, transparent 44%),
    radial-gradient(circle at 50% 40%, rgba(169, 199, 216, 0.1), transparent 20rem);
  content: "";
}

.ice-media img {
  position: relative;
  z-index: 1;
  opacity: 0.88;
}

.work-list {
  display: grid;
  gap: 0;
  max-width: 820px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(243, 244, 242, 0.24);
}

.compact-list {
  max-width: 700px;
  margin-top: 42px;
}

.work-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(243, 244, 242, 0.24);
  text-align: left;
}

.work-list a {
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.1;
}

.work-list span {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.4;
}

.labs-panel {
  width: min(100%, 940px);
}

.labs-panel h2 {
  margin-bottom: clamp(28px, 5vw, 44px);
}

.labs-intro {
  margin-bottom: clamp(30px, 5vw, 52px);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.app-grid article {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 300px;
  padding: 22px;
  border: 1px solid rgba(243, 244, 242, 0.16);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.app-grid img,
.app-placeholder {
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 22px;
}

.app-placeholder {
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 244, 242, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--faint);
  font-family: var(--hand);
  font-size: 3rem;
}

.app-grid h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 400;
}

.app-grid p {
  margin: 0 auto;
  font-size: 0.95rem;
}

.contact-popover {
  background:
    linear-gradient(180deg, rgba(5, 7, 12, 0.38), rgba(5, 7, 12, 0.7)),
    rgba(5, 7, 12, 0.5);
}

.contact-card {
  width: min(100%, 460px);
  padding: clamp(28px, 5vw, 42px);
  border: 1px solid rgba(243, 244, 242, 0.16);
  background: rgba(5, 7, 12, 0.58);
  backdrop-filter: blur(18px);
  text-align: center;
}

.contact-card .kicker {
  margin-bottom: 18px;
}

.contact-card h2 {
  margin-bottom: 28px;
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

@keyframes slow-drift {
  from {
    transform: translate3d(-0.4%, -0.2%, 0);
  }

  to {
    transform: translate3d(0.5%, 0.25%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (orientation: portrait) {
  .stage-bg {
    inset: 0;
    background-position: 50% 50%;
    background-size: cover;
  }

  .stage-center {
    bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(112px, 16svh, 150px));
    width: min(100% - 32px, 390px);
  }

  .stage::before {
    background:
      linear-gradient(180deg, rgba(5, 7, 12, 0.22), rgba(5, 7, 12, 0.02) 28%, rgba(5, 7, 12, 0.08) 58%, rgba(5, 7, 12, 0.64)),
      linear-gradient(90deg, rgba(5, 7, 12, 0.22), rgba(5, 7, 12, 0.02) 30%, rgba(5, 7, 12, 0.02) 70%, rgba(5, 7, 12, 0.22));
  }
}

@media (orientation: landscape) and (max-height: 620px) {
  .stage-center {
    bottom: clamp(64px, 12svh, 92px);
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(4rem, 10vw, 7.4rem);
  }
}

@media (max-width: 760px) {
  .corner-link {
    padding: 18px 16px;
    font-size: clamp(1.28rem, 7vw, 1.75rem);
  }

  .stage-center {
    width: min(100% - 36px, 420px);
  }

  h1 {
    font-size: clamp(4.1rem, 19vw, 6.8rem);
  }

  .primary-action {
    min-height: 42px;
    font-size: clamp(0.68rem, 3.2vw, 0.82rem);
  }

  .platform-dock {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 70px);
    max-width: min(88vw, 360px);
    gap: 12px;
  }

  .platform-dock a {
    width: 20px;
    height: 20px;
  }

  .dock-contact {
    margin-left: 2px;
    padding-left: 12px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .panel {
    padding: 86px 18px 48px;
  }

  .panel h2 {
    font-size: clamp(2.5rem, 15vw, 4.8rem);
  }

  .still-strip {
    grid-template-columns: 1fr;
  }

  .featured-music,
  .cover-grid,
  .mini-release-grid,
  .artist-panel,
  .app-grid {
    grid-template-columns: 1fr;
  }

  .featured-music,
  .artist-copy .kicker,
  .artist-copy h2,
  .artist-copy p,
  .release-info .kicker,
  .release-info h2,
  .release-info p,
  .cover-grid article {
    text-align: center;
  }

  .artist-photos {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .release-info .text-links {
    justify-content: center;
  }

  .release-art {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .label-logo {
    width: min(78vw, 280px);
  }

  .label-section .kicker {
    text-align: center;
  }

  .still-strip figure {
    aspect-ratio: 16 / 10;
  }

  .work-list li {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
}
