/* ==========================================================================
   2718 Records - INITIALISATION
   Main stylesheet
   - Desktop-first structure
   - Mobile burger menu with push-down reveal
   - Tracklist beside the back cover
   - Shared error page styling
   - Comments kept in English for easier maintenance
   ========================================================================== */

/* ==========================================================================
   1. Design tokens
   ========================================================================== */

:root {
  --bg: #030812;
  --card: rgba(14, 24, 44, 0.62);
  --card-strong: rgba(12, 20, 38, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.74);
  --accent-strong: #cfe0ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.24);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --max-width: 1240px;
  --focus-ring: 0 0 0 2px rgba(207, 224, 255, 0.26);
}

/* ==========================================================================
   2. Base and reset
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 18vh;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(38, 81, 180, 0.22), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(88, 120, 220, 0.14), transparent 24%),
    linear-gradient(180deg, #02050c 0%, #071120 52%, #040811 100%);
}

img,
video {
  display: block;
  width: 100%;
  height: auto;
}

video {
  object-fit: cover;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ==========================================================================
   3. Global layout
   ========================================================================== */

.page-shell {
  position: relative;
  width: min(var(--max-width), 100%);
  margin: 0 auto;
  padding: 24px 20px 96px;
  overflow: visible;
}

main {
  display: flex;
  flex-direction: column;
  gap: 104px;
}

.site-header,
.hero,
.back-cover,
.platform-links,
.media-grid,
.contact-section,
.site-footer {
  position: relative;
  z-index: 1;
}

.ambient {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.55;
}

.ambient-1 {
  top: 80px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: rgba(73, 103, 207, 0.2);
}

.ambient-2 {
  top: 300px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(128, 169, 255, 0.12);
}

.ambient-3 {
  bottom: 120px;
  left: 20%;
  width: 300px;
  height: 300px;
  background: rgba(62, 106, 188, 0.1);
}

/* ==========================================================================
   4. Header and navigation
   ========================================================================== */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.site-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-nav::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: -12px;
  left: -12px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(
    ellipse at center,
    rgba(94, 125, 255, 0.06) 0%,
    rgba(94, 125, 255, 0.03) 48%,
    rgba(94, 125, 255, 0.012) 72%,
    transparent 100%
  );
  filter: blur(20px);
  pointer-events: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  transition: color 180ms ease, opacity 180ms ease;
}

.site-nav a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.menu-toggle-inner {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}

.menu-toggle-line {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition:
    top 220ms ease,
    transform 220ms ease,
    opacity 180ms ease;
}

.menu-toggle-line:nth-child(1) {
  top: 0;
}

.menu-toggle-line:nth-child(2) {
  top: 6px;
}

.menu-toggle-line:nth-child(3) {
  top: 12px;
}

.menu-toggle.is-active .menu-toggle-line:nth-child(1) {
  top: 6px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-toggle-line:nth-child(3) {
  top: 6px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ==========================================================================
   5. Buttons and shared text styles
   ========================================================================== */

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.82rem;
}

.hero h1,
.platform-links h2,
.contact-card h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 5rem);
}

.platform-links h2,
.contact-card h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.contact-link:hover {
  transform: translateY(-1px);
}

.button-primary,
.contact-link {
  color: #06101f;
  background: linear-gradient(135deg, #d9e6ff 0%, #8eaeff 100%);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   6. Hero section
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(620px, 1.05fr);
  grid-template-areas:
    "copy visual"
    "secondary visual";
  gap: 18px 70px;
  align-items: center;
  min-height: 78vh;
  padding-top: 10px;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
  max-width: 560px;
}

.hero-secondary {
  grid-area: secondary;
  align-self: start;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.countdown-card {
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 30%, rgba(205, 223, 255, 0.08), transparent 20%),
    linear-gradient(135deg, rgba(14, 24, 44, 0.82), rgba(10, 18, 34, 0.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.countdown-label {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.countdown-unit {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-visual {
  position: relative;
  display: flex;
  grid-area: visual;
  align-items: center;
  justify-content: center;
  min-height: 720px;
  overflow: visible;
}

.studio-blur {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 30% 50%, rgba(182, 203, 255, 0.3), transparent 22%),
    radial-gradient(circle at 64% 38%, rgba(102, 140, 255, 0.18), transparent 20%),
    linear-gradient(135deg, rgba(10, 20, 34, 0.9), rgba(10, 17, 29, 0.44));
  box-shadow: var(--shadow);
}

.studio-blur-main::before,
.studio-blur-main::after,
.studio-card::before,
.studio-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
}

.studio-blur-main::before,
.studio-card::before {
  top: 16%;
  left: 10%;
  width: 200px;
  height: 160px;
  background: rgba(136, 168, 255, 0.18);
}

.studio-blur-main::after,
.studio-card::after {
  right: 10%;
  bottom: 12%;
  width: 240px;
  height: 190px;
  background: rgba(85, 119, 222, 0.14);
}

.hero-cover-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1000px);
  margin-left: auto;
  padding-right: 160px;
}

.hero-cover-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 34px;
  background: transparent;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-image {
  width: 100%;
  max-height: 820px;
  border: none;
  border-radius: 34px;
  box-shadow: none;
  object-fit: cover;
  transition: transform 240ms ease;
}

.hero-logo-side {
  position: absolute;
  top: 50%;
  right: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-noz {
  width: 100px;
  max-width: 100px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.34));
}

/* ==========================================================================
   7. Shared card surfaces
   ========================================================================== */

.back-cover-art,
.tracklist-card,
.platform-links,
.media-card,
.contact-card,
.error-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
}

/* ==========================================================================
   8. Back cover section
   ========================================================================== */

.single-cover-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.back-cover-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  align-items: center;
  width: 100%;
}

.back-cover-art {
  display: block;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

.back-cover-image {
  display: block;
  width: 100%;
  height: auto;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 240ms ease;
}

.tracklist-card {
  padding: 22px 20px;
  background:
    radial-gradient(circle at 20% 24%, rgba(224, 233, 255, 0.08), transparent 18%),
    linear-gradient(145deg, rgba(10, 17, 31, 0.96), rgba(12, 20, 38, 0.62));
}

.tracklist-head {
  margin-bottom: 18px;
}

.tracklist-title {
  margin: 0;
  font-size: clamp(1.9rem, 2.5vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.tracklist-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracklist-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tracklist-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.track-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.track-number {
  min-width: 34px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.track-body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.track-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.track-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.track-feature-prefix,
.track-meta-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.track-inline-links,
.track-producer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.track-inline-links {
  align-items: baseline;
}

.person-link,
.person-link-inline {
  color: var(--text);
  text-decoration: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.person-link:hover,
.person-link-inline:hover {
  opacity: 0.9;
}

.person-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.84rem;
  font-weight: 700;
}

.person-link-inline {
  font-size: 0.92rem;
  font-weight: 700;
}

.person-link.is-unavailable-link,
.person-link-inline.is-unavailable-link,
.platform-card.is-unavailable-link,
.video-link-card.is-unavailable-link {
  cursor: pointer;
}

.track-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

/* ==========================================================================
   9. Platform links section
   ========================================================================== */

.platform-links {
  padding: 30px;
}

.section-heading {
  margin-bottom: 20px;
}

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

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 124px;
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.platform-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.platform-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.platform-card span {
  font-size: 0.92rem;
  font-weight: 700;
}

/* ==========================================================================
   10. Media section
   ========================================================================== */

.media-grid {
  display: grid;
  gap: 34px;
}

.media-layout-v3 {
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "teaser side"
    "clip clip";
  align-items: start;
}

.teaser-card {
  grid-area: teaser;
}

.media-side-column {
  display: grid;
  grid-area: side;
  grid-template-rows: auto auto;
  gap: 22px;
}

.media-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.media-card-square,
.teaser-card {
  min-height: 0;
  aspect-ratio: 1 / 1;
}

.media-card-wide {
  grid-area: clip;
  min-height: auto;
  aspect-ratio: 16 / 9;
}

.media-card img,
.media-card video,
.video-link-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.media-card img,
.video-link-card img {
  object-fit: cover;
}

.media-backdrop {
  position: absolute;
  inset: 0;
}

.studio-card {
  background:
    radial-gradient(circle at 20% 28%, rgba(194, 212, 255, 0.24), transparent 18%),
    radial-gradient(circle at 78% 16%, rgba(84, 126, 248, 0.14), transparent 18%),
    linear-gradient(135deg, rgba(10, 17, 31, 0.94), rgba(8, 15, 26, 0.6));
}

.studio-card.light {
  background:
    radial-gradient(circle at 26% 24%, rgba(214, 226, 255, 0.28), transparent 18%),
    radial-gradient(circle at 82% 10%, rgba(118, 154, 255, 0.12), transparent 14%),
    linear-gradient(135deg, rgba(175, 187, 204, 0.25), rgba(10, 18, 34, 0.48));
}

.teaser-video,
.ep-loop-video {
  pointer-events: none;
  transition: transform 240ms ease;
}

.ep-loop-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release-card {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  min-height: 0;
  padding: 0;
}

.release-card-clean .release-card-inner {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  padding: 20px 22px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 24%, rgba(224, 233, 255, 0.1), transparent 18%),
    linear-gradient(145deg, rgba(10, 17, 31, 0.96), rgba(12, 20, 38, 0.62));
}

.release-kicker {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.release-card h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.play-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #d9e6ff 0%, #91b3ff 100%);
  color: #071120;
  font-size: 0.8rem;
  font-weight: 800;
}

.video-link-card {
  display: block;
  text-decoration: none;
}

.video-link-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.2), rgba(3, 8, 18, 0.46));
}

.hover-sound-indicator {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(4, 10, 20, 0.55);
  color: var(--text);
  font-size: 0.82rem;
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   11. Contact section
   ========================================================================== */

.contact-section {
  margin-bottom: 18px;
}

.contact-card {
  padding: 34px;
  background:
    radial-gradient(circle at 20% 30%, rgba(205, 223, 255, 0.08), transparent 22%),
    linear-gradient(135deg, rgba(14, 24, 44, 0.82), rgba(10, 18, 34, 0.58));
}

.contact-text {
  max-width: 760px;
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   12. Error page
   ========================================================================== */

.page-404 .page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-404 main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.error-header {
  padding-bottom: 0;
}

.error-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.error-card {
  padding: 40px 36px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 24%, rgba(224, 233, 255, 0.08), transparent 18%),
    linear-gradient(145deg, rgba(10, 17, 31, 0.96), rgba(12, 20, 38, 0.62));
}

.error-code {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: clamp(3.8rem, 11vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.error-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.error-text {
  max-width: 540px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.error-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ==========================================================================
   13. Hover and reveal utilities
   ========================================================================== */

.hover-zoom-card {
  overflow: hidden;
}

.hover-zoom-card:hover .hero-image,
.hover-zoom-card:hover .back-cover-image,
.hover-zoom-card:hover .teaser-video,
.hover-zoom-card:hover .ep-loop-video {
  transform: scale(1.035);
}

.reveal {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 1.5s ease,
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left {
  transform: translateX(-90px);
}

.reveal-right {
  transform: translateX(90px);
}

.reveal-up {
  transform: translateY(50px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ==========================================================================
   14. Back to top button
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 14, 28, 0.78);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   15. Footer
   ========================================================================== */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.footer-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

.footer-logo-2718 {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-noz {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.footer-right {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  color: var(--muted);
  text-align: right;
}

.footer-line-1,
.footer-line-2,
.footer-separator {
  display: inline;
}

/* ==========================================================================
   16. Tablet breakpoint
   ========================================================================== */

@media (max-width: 1100px) {
  main {
    gap: 92px;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "secondary";
    gap: 28px;
    min-height: auto;
  }

  .hero-copy,
  .hero-secondary {
    max-width: none;
  }

  .hero-cover-shell {
    width: min(100%, 860px);
    margin: 0 auto;
    padding-right: 140px;
  }

  .hero-logo-side {
    right: 0;
  }

  .hero-noz {
    width: 100px;
    max-width: 100px;
  }

  .back-cover-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 20px;
  }

  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .media-layout-v3 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "teaser"
      "side"
      "clip";
  }

  .media-side-column {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
}

/* ==========================================================================
   17. Mobile breakpoint
   ========================================================================== */

@media (max-width: 700px) {
  .page-shell {
    --shell-gutter: 20px;
    width: 100%;
    padding: 16px var(--shell-gutter) 72px;
  }

  main {
    gap: 84px;
  }

  .site-header {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 14px;
    padding-bottom: 10px;
  }

  .brand {
    order: 1;
  }

  .brand-logo {
    width: 138px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
  }

  .site-nav {
    order: 3;
    display: flex;
    flex: 0 0 auto;
    width: calc(100% + (var(--shell-gutter) * 2));
    max-width: none;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
    margin-top: 0;
    margin-right: calc(var(--shell-gutter) * -1);
    margin-left: calc(var(--shell-gutter) * -1);
    padding: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: linear-gradient(
      180deg,
      rgba(8, 15, 29, 0.14) 0%,
      rgba(10, 18, 34, 0.3) 18%,
      rgba(10, 18, 34, 0.3) 82%,
      rgba(8, 15, 29, 0.14) 100%
    );
    box-shadow:
      inset 0 16px 28px rgba(0, 0, 0, 0.18),
      inset 0 -16px 28px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(12px);
    transition:
      max-height 280ms ease,
      opacity 220ms ease,
      margin-top 220ms ease,
      padding 220ms ease;
  }

  .site-nav::before {
    display: none;
  }

  .site-header.menu-open .site-nav {
    max-height: 320px;
    margin-top: 12px;
    padding: 6px 0;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    font-size: 0.92rem;
  }

  .site-nav a + a {
    border-top: none;
    border-left: none;
  }

  .site-nav a + a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 62%;
    height: 1px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "secondary";
    gap: 24px;
    min-height: auto;
    padding-top: 8px;
  }

  .hero h1,
  .platform-links h2,
  .contact-card h2 {
    font-size: clamp(2.2rem, 13vw, 4.4rem);
  }

  .hero-copy,
  .hero-secondary {
    max-width: none;
  }

  .hero-visual {
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .studio-blur {
    display: none;
  }

  .hero-cover-shell {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 14px;
    padding-right: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
      radial-gradient(circle at 24% 28%, rgba(205, 223, 255, 0.06), transparent 20%),
      linear-gradient(135deg, rgba(14, 24, 44, 0.82), rgba(10, 18, 34, 0.58));
    box-shadow: var(--shadow);
  }

  .hero-cover-wrap {
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
    box-shadow: none;
  }

  .hero-image {
    width: 100%;
    max-height: 520px;
    border-radius: 22px;
  }

  .hero-logo-side {
    position: static;
    transform: none;
  }

  .hero-noz {
    width: 80px;
    max-width: 80px;
  }

  .countdown-card {
    width: 100%;
    margin-top: 0;
    padding: 16px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    flex: 1 1 100%;
  }

  .single-cover-section {
    width: 100%;
    max-width: 100%;
  }

  .back-cover-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .back-cover-art {
    min-height: auto;
  }

  .tracklist-card {
    padding: 20px 18px;
  }

  .tracklist-head {
    margin-bottom: 16px;
  }

  .tracklist-title {
    font-size: 1.8rem;
  }

  .track-row {
    gap: 12px;
  }

  .track-number {
    min-width: 30px;
    font-size: 0.84rem;
  }

  .track-name {
    font-size: 0.95rem;
  }

  .person-link {
    min-height: 26px;
    padding: 0 9px;
    font-size: 0.8rem;
  }

  .person-link-inline {
    font-size: 0.88rem;
  }

  .platform-links {
    padding: 22px;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .platform-card {
    min-height: 108px;
    padding: 14px 10px;
  }

  .platform-card img {
    width: 38px;
    height: 38px;
  }

  .platform-card span {
    font-size: 0.86rem;
  }

  .media-grid {
    gap: 28px;
  }

  .media-layout-v3 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "teaser"
      "side"
      "clip";
  }

  .media-side-column {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
  }

  .teaser-card,
  .media-card-square {
    aspect-ratio: 1 / 1;
  }

  .media-card-wide {
    aspect-ratio: 16 / 9;
  }

  .media-card {
    min-height: auto;
  }

  .release-card-clean .release-card-inner {
    padding: 14px 16px;
  }

  .release-kicker {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .release-card h3 {
    font-size: 1.35rem;
  }

  .hover-sound-indicator {
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .contact-section {
    margin-bottom: 8px;
  }

  .contact-card {
    padding: 24px 20px;
  }

  .contact-text {
    font-size: 0.96rem;
  }

  .error-card {
    padding: 30px 22px;
  }

  .error-text {
    font-size: 0.96rem;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .site-footer {
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    margin-top: 36px;
    padding-top: 28px;
    align-items: center;
  }

  .footer-logo-2718 {
    width: 84px;
  }

  .footer-noz {
    width: 50px;
  }

  .footer-right {
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    font-size: 0.9rem;
  }

  .footer-separator {
    display: none;
  }

  .footer-line-2 {
    display: block;
  }
}

/* ==========================================================================
   18. Motion preferences
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-up {
    opacity: 1;
    transform: none;
  }
}
