:root {
  --bg: #070b12;
  --text: #f3eee6;
  --muted: rgba(243, 238, 230, 0.72);
  --accent: #e2c29a;
  --accent-strong: #f0d7b4;
  --glass: rgba(8, 12, 20, 0.58);
  --glass-strong: rgba(8, 12, 20, 0.78);
  --line: rgba(243, 238, 230, 0.16);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --radius: 18px;
  --pad: clamp(1rem, 4.2vw, 2.25rem);
  --max: 42rem;
  --topbar: 3.6rem;
  --tabbar: calc(4.1rem + env(safe-area-inset-bottom));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 999px;
}

.skip:focus {
  top: 0.75rem;
}

.bg,
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg {
  z-index: 0;
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 11, 18, 0.22) 0%,
      rgba(7, 11, 18, 0.32) 40%,
      rgba(7, 11, 18, 0.62) 100%
    ),
    url("assets/hero-street.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 22% 50%;
}

.grain {
  z-index: 1;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topbar,
main,
.nav-mobile {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar);
  padding: calc(0.7rem + env(safe-area-inset-top)) var(--pad) 0.4rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
}

.nav-desktop a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.nav-mobile a[aria-current="page"] {
  color: var(--accent-strong);
}

.nav-desktop a:hover,
.nav-mobile a:hover {
  color: var(--accent-strong);
}

main {
  padding: 0 0 calc(var(--tabbar) + 1rem);
}

.panel {
  min-height: calc(100dvh - var(--topbar) - var(--tabbar));
  padding: 0.6rem var(--pad) 0;
}

.panel[data-panel="music"],
.panel[data-panel="videos"],
.panel[data-panel="merch"] {
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.panel[hidden] {
  display: none;
}

.panel-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.headline {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 3rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.lede {
  margin: 0 0 1.4rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
}

.player-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
}

.player-wrap iframe {
  display: block;
  width: 100%;
  height: min(58dvh, 28rem);
  border: 0;
}

.music-inner,
.merch-inner,
.videos-inner {
  max-width: min(72rem, 100%);
  width: 100%;
}

.video-grid {
  display: grid;
  gap: 1rem;
}

.video-card {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.72);
  box-shadow: var(--shadow);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-title {
  margin: 0;
  padding: 0.75rem 0.9rem 0.85rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.music-inner .kicker,
.videos-inner .kicker {
  margin-bottom: 0.9rem;
}

.videos-lede {
  margin-bottom: 1.1rem;
  max-width: none;
  font-family: var(--font-display);
  font-size: clamp(0.82rem, 3.4vw, 1.35rem);
  font-style: normal;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.platforms-wrap {
  margin-top: 1rem;
  padding: 1rem 0.5rem 0.55rem;
  background: rgba(8, 12, 20, 0.72);
}

.own-wrap {
  min-height: 8.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.coming-soon {
  margin: 0 0.85rem 0.35rem;
  font-family: var(--font-ui);
  font-size: clamp(1.25rem, 3.6vw, 1.6rem);
  font-style: normal;
  font-weight: 400;
  color: var(--text);
}

.platforms-title {
  margin: 0 0.75rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.35rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 400;
}

.platform-list li:first-child a {
  border-top: 0;
}

.platform-list a:hover {
  color: var(--accent-strong);
  background: rgba(243, 238, 230, 0.05);
}

.platform-list a span {
  color: var(--muted);
  font-size: 0.9rem;
}

.chip,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.chip svg {
  width: 1.05rem;
  height: 1.05rem;
}

.chip:hover,
.btn:hover {
  background: rgba(226, 194, 154, 0.16);
  border-color: rgba(226, 194, 154, 0.45);
}

.chip:active,
.btn:active {
  transform: scale(0.98);
}

.chip-accent,
.btn {
  background: var(--text);
  color: var(--bg);
  border-color: transparent;
}

.chip-accent:hover,
.btn:hover {
  background: var(--accent-strong);
  color: var(--bg);
}

.btn {
  min-width: 12rem;
  padding-inline: 1.2rem;
}

.merch-inner,
.contact-inner {
  padding-top: 1.4rem;
}

.form {
  display: grid;
  gap: 0.85rem;
  max-width: 28rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.chip:focus-visible,
.btn:focus-visible,
.platform-list a:focus-visible,
.nav-desktop a:focus-visible,
.nav-mobile a:focus-visible,
.wordmark:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent);
}

.form-status.is-error {
  color: #ffb4b4;
}

.nav-mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.35rem 0.4rem calc(0.45rem + env(safe-area-inset-bottom));
  background: var(--glass-strong);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-mobile a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  min-height: 3.15rem;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-mobile svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (min-width: 840px) {
  :root {
    --tabbar: 0px;
    --max: 54rem;
  }

  .bg {
    background-position: 38% 48%;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  main {
    padding-bottom: 3rem;
  }

  .panel {
    min-height: calc(100dvh - var(--topbar));
    display: flex;
    align-items: center;
  }

  .panel[data-panel="music"],
  .panel[data-panel="videos"] {
    align-items: flex-start;
    padding-top: 1.25rem;
    padding-bottom: 2rem;
  }

  .video-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }

  .headline {
    margin-bottom: 1.35rem;
  }

  .player-wrap iframe {
    height: min(56dvh, 32rem);
  }

  .own-wrap {
    min-height: 10rem;
  }
}

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

  .chip,
  .btn {
    transition: none;
  }
}
