/* Tipografía alineada con capitankirk.es (Poppins + TrashHand) */
@font-face {
  font-family: "TrashHand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/trashhand.woff2") format("woff2");
}

:root {
  --ink: #0a0a0a;
  --paper: #ebe6dc;
  --paper-dim: #c9c2b6;
  --tape: #d9c84a;
  --rust: #b83228;
  --teal: #3d8f96;
  --bg: #0a0a0a;
  --bg-panel: #111214;
  --text: var(--paper);
  --muted: #9a9288;
  --line: rgba(235, 230, 220, 0.14);
  --border: 3px solid var(--paper);
  --border-thin: 2px solid var(--paper);
  --header: 4.25rem;
  --font-display: "TrashHand", Arial, sans-serif;
  --font-body: "Poppins", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --space: clamp(1rem, 3vw, 1.5rem);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 0.75rem);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #121212 0%, var(--bg) 220px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body > :where(:not(dialog)) {
  position: relative;
  z-index: 1;
}

body.nav-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

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

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

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--tape);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--tape);
  outline-offset: 3px;
}

::selection {
  background: var(--rust);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--tape);
  color: var(--ink);
  padding: 0.6rem 1rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.skip:focus {
  top: 0.6rem;
}

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

.wrap {
  width: min(1140px, calc(100% - 2.25rem));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 12vw, 6.5rem) 0;
  border-top: var(--border-thin);
  position: relative;
}

.section[data-section]::after {
  content: attr(data-section);
  position: absolute;
  top: 1.25rem;
  right: max(1rem, calc((100vw - 1140px) / 2 + 1rem));
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(235, 230, 220, 0.12);
  pointer-events: none;
  user-select: none;
}

.section--stripe {
  background:
    repeating-linear-gradient(
      -8deg,
      var(--ink) 0,
      var(--ink) 14px,
      #141414 14px,
      #141414 28px
    );
}

.section-head {
  margin-bottom: 2rem;
  max-width: 48rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.55rem;
  background: var(--tape);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

h1,
h2,
h3,
.subhead,
.hero-title,
.hero-next,
.track-title,
.member h3,
.video-title,
.contact-lead {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

h2 {
  font-size: clamp(2.25rem, 6vw, 2.8125rem);
  line-height: 1.35;
}

.subhead {
  margin-bottom: 1rem;
  font-size: clamp(1.875rem, 4.8vw, 2.25rem);
  line-height: 1.35;
}

.lead {
  max-width: 40rem;
  margin-top: 0.75rem;
  color: var(--muted);
}

.noscript {
  padding: 1rem 0;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.7rem 1.35rem;
  border: var(--border-thin);
  text-align: center;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translate(2px, 2px);
}

.btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn-primary:hover {
  background: var(--tape);
  border-color: var(--tape);
}

.btn-ghost {
  background: transparent;
  color: var(--paper);
}

.btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
  padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
  background: var(--ink);
  border-bottom: var(--border-thin);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 5.5vw, 1.72rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
}

.nav-toggle {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  color: var(--paper);
  border: var(--border-thin);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.social {
  display: flex;
  gap: 0.45rem;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: var(--border-thin);
  color: var(--paper);
  text-decoration: none;
}

.social a:hover {
  background: var(--tape);
  color: var(--ink);
}

.social svg {
  display: block;
}

@media (max-width: 999px) {
  .site-nav {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    z-index: 25;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
    height: calc(100svh - var(--header));
    padding: 1.25rem 1.4rem calc(1.5rem + env(safe-area-inset-bottom));
    background: var(--ink);
    border-top: var(--border-thin);
    visibility: hidden;
    opacity: 0;
    overflow: auto;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .site-nav > a {
    color: var(--paper);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav > a[aria-current="true"] {
    color: var(--tape);
  }

  .nav-social {
    margin-top: auto;
    padding-top: 1.5rem;
  }
}

@media (min-width: 1000px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.55rem;
    color: var(--paper);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

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

  .site-nav > a[aria-current="true"] {
    color: var(--tape);
    box-shadow: inset 0 -3px 0 var(--tape);
  }

  .nav-social {
    margin-left: 0.35rem;
  }
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100svh;
  color: var(--paper);
  border-bottom: var(--border);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 42%;
  filter: contrast(1.12) saturate(0.85);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.1) 38%, rgba(10, 10, 10, 0.94) 100%);
}

.hero-tape {
  position: absolute;
  top: calc(var(--header) + 0.75rem);
  left: -0.25rem;
  z-index: 2;
  padding: 0.45rem 1.25rem;
  background: var(--tape);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--ink);
}

.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  border-top: var(--border-thin);
  background: var(--ink);
  padding: 0.55rem 0;
  z-index: 3;
}

.marquee-track {
  --marquee-duration: 24s;
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration) linear infinite;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.marquee-group span {
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 2.25rem));
  margin: 0 auto;
  padding: calc(var(--header) + 1.5rem) 0 4.5rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.475rem, 7.5vw, 3.375rem);
  line-height: 1.35;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.85);
}

.hero-pitch {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.1rem;
}

.tagline {
  max-width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  border: var(--border-thin);
  background: rgba(10, 10, 10, 0.72);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 4.2vw, 1.38rem);
  font-weight: 400;
  line-height: 1.45;
  text-transform: none;
}

.hero-next {
  margin-top: 1.2rem;
  font-size: clamp(1.8rem, 5.25vw, 2.25rem);
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.band-layout {
  display: grid;
  gap: 3rem;
}

.band-story {
  margin-bottom: 0;
}

.history-grid {
  display: grid;
  gap: 1.5rem;
}

.history-copy p + p {
  margin-top: 1rem;
}

.band-photo-block {
  display: grid;
  gap: 1.35rem;
  justify-items: center;
}

.band-logo {
  width: min(78vw, 300px);
  height: auto;
  filter: drop-shadow(6px 6px 0 rgba(0, 0, 0, 0.85));
}

.history-photo,
.sticker {
  width: 100%;
  border: var(--border);
  box-shadow: 8px 8px 0 var(--rust);
  transform: rotate(1.25deg);
}

.music-layout {
  display: grid;
  gap: 1.5rem;
}

.release {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
}

.cover {
  width: min(100%, 320px);
  margin-inline: auto;
  border: var(--border);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-2deg);
}

.embed-slot {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: var(--border-thin);
  background: var(--bg-panel);
}

.embed-slot iframe {
  display: block;
  width: 100%;
  border: 0;
}

#artist-player {
  min-height: 352px;
}

#artist-player:empty::after {
  content: "SPOTIFY";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.tracks {
  display: grid;
  gap: 0.65rem;
}

.track {
  padding: 1rem;
  border: var(--border-thin);
  background: var(--bg-panel);
  transition: transform 0.15s ease;
}

.track.is-open {
  border-color: var(--tape);
  box-shadow: 6px 6px 0 rgba(217, 200, 74, 0.25);
}

.track-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.35rem 0.9rem;
  align-items: center;
}

.track-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--tape);
}

.track-title {
  font-size: 1.875rem;
  line-height: 1.3;
}

.track-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

.track-links a,
.tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-links a:hover,
.tab:hover {
  background: var(--paper);
  color: var(--ink);
}

.play-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: var(--border-thin);
  background: var(--rust);
  color: var(--paper);
}

.play-btn::before {
  content: "";
  margin-left: 3px;
  border-color: transparent transparent transparent currentColor;
  border-style: solid;
  border-width: 7px 0 7px 12px;
}

.track.is-open .play-btn {
  background: var(--tape);
  color: var(--ink);
}

.track.is-open .play-btn::before {
  width: 12px;
  height: 14px;
  margin: 0;
  border: 0;
  background:
    linear-gradient(currentColor, currentColor) left center / 3px 100% no-repeat,
    linear-gradient(currentColor, currentColor) right center / 3px 100% no-repeat;
}

.track-panel {
  margin-top: 0.85rem;
}

.panel-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.tab[aria-selected="true"] {
  background: var(--tape);
  color: var(--ink);
  border-color: var(--tape);
}

.panel-player .embed-slot {
  min-height: 152px;
}

.tour-season + .tour-season {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: var(--border-thin);
}

.tour-season-title {
  margin-bottom: 1.25rem;
}

.shows {
  display: grid;
  gap: 0.65rem;
}

.show {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  border: var(--border-thin);
  background: var(--bg-panel);
}

.show.is-past {
  opacity: 0.45;
}

.show.is-next {
  border-color: var(--tape);
  box-shadow: 8px 8px 0 rgba(217, 200, 74, 0.2);
}

.show-date {
  min-width: 0;
}

.show-date small {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.show-date span:last-child {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.show-venue {
  font-weight: 700;
}

.show-event {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.92rem;
}

.badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.5rem;
  background: var(--rust);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 0.85rem;
  border: var(--border-thin);
  color: var(--paper);
  font-family: var(--font-mono);
  font-weight: 700;
  text-decoration: none;
}

a.price {
  background: var(--paper);
  color: var(--ink);
}

.crew-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 0.75rem;
}

.member {
  border: var(--border-thin);
  padding: 0.45rem;
  background: var(--bg-panel);
  transition: transform 0.2s ease;
}

.member:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--rust);
}

.member img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: contrast(1.05);
}

.member h3 {
  margin-top: 0.65rem;
  font-size: 1.8rem;
  line-height: 1.3;
}

.member p {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.shot {
  display: block;
  overflow: hidden;
  border: var(--border-thin);
  cursor: zoom-in;
  background: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--tape);
}

.shot img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.92);
}

.media-carousel {
  width: 100%;
  overflow: hidden;
  touch-action: none;
}

.media-carousel-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.2rem 0 0.5rem;
  will-change: transform;
}

.media-carousel-slide {
  flex: 0 0 min(88vw, 340px);
}

.video-carousel {
  margin-top: 0.5rem;
}

.video-carousel .media-carousel-slide {
  flex-basis: min(92vw, 420px);
}

.cover-carousel .media-carousel-slide {
  flex-basis: min(100%, 320px);
}

.cover-carousel .cover {
  width: 100%;
  margin: 0;
}

.video-card {
  display: grid;
  gap: 0.65rem;
}

.video-title {
  font-size: 1.725rem;
  line-height: 1.3;
}

.contact-panel {
  width: 100%;
  max-width: none;
  padding: 1.35rem 1.5rem;
  border: var(--border);
  background: var(--bg-panel);
  box-shadow: 10px 10px 0 var(--rust);
}

.contact-lead {
  font-size: 2.25rem;
  line-height: 1.35;
}

.contact-meta {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.contact-actions .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.contact-actions .contact-note {
  flex: 1 1 100%;
}

@media (max-width: 720px) {
  .contact-actions {
    flex-wrap: wrap;
  }
}

/* Móvil y tablet estrecha: hero con foto legible y tipografía proporcionada */
@media (max-width: 899px) {
  :root {
    --header: 3.65rem;
  }

  .wrap {
    width: min(1140px, calc(100% - 1.5rem));
  }

  .brand {
    gap: 0.45rem;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .section {
    padding: clamp(2.75rem, 11vw, 3.75rem) 0;
  }

  .section[data-section]::after {
    font-size: clamp(2.35rem, 16vw, 3.5rem);
    top: 0.65rem;
    right: 0.75rem;
  }

  .section-head {
    margin-bottom: 1.5rem;
  }

  .hero {
    min-height: 0;
    display: block;
    overflow: hidden;
  }

  .hero-photo {
    position: relative;
    inset: auto;
    display: block;
    width: 158.4%;
    max-width: none;
    margin-left: calc(-29.2% - 20px);
    height: clamp(398px, 98.2vw, 634px);
    object-fit: cover;
    object-position: 50% 24%;
  }

  .hero-shade {
    display: none;
  }

  .hero-content {
    width: 100%;
    margin: 0;
    padding: 1.2rem 0.75rem 1.1rem;
    background: var(--ink);
  }

  .hero-title {
    display: none;
  }

  .hero-next {
    margin-top: 0.85rem;
    font-size: clamp(1.28rem, 5.5vw, 1.55rem);
  }

  .hero-pitch {
    margin-top: 0.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .marquee {
    position: relative;
  }

  .hero-tape {
    top: calc(var(--header) + 0.45rem);
    max-width: calc(100vw - 1.5rem);
    font-size: 0.62rem;
  }

  h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.25rem);
  }

  .subhead {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
  }
}

.yt {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: var(--border-thin);
  background: #111;
}

.yt img,
.yt-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.yt-frame {
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}

.yt-play {
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  margin: auto;
  border: var(--border-thin);
  background: var(--paper);
}

.yt-play::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 22px;
  border-color: transparent transparent transparent var(--ink);
  border-style: solid;
  border-width: 10px 0 10px 16px;
}

#lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 4rem 1rem 1.25rem;
  border: 0;
  background: transparent;
}

#lightbox:not([open]) {
  display: none;
}

#lightbox[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

#lightbox::backdrop {
  background: rgba(5, 5, 5, 0.94);
}

#lightbox-img {
  width: auto;
  max-width: min(1100px, calc(100vw - 6.5rem));
  height: auto;
  max-height: calc(100dvh - 8.5rem);
  object-fit: contain;
  flex-shrink: 0;
  border: var(--border);
  position: relative;
  z-index: 1;
}

.lightbox-caption {
  max-width: 40rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: var(--border-thin);
  background: var(--ink);
  color: var(--paper);
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-close {
  top: max(0.75rem, env(safe-area-inset-top));
  right: max(0.75rem, env(safe-area-inset-right));
}

.lightbox-prev {
  top: 50%;
  left: max(0.6rem, env(safe-area-inset-left));
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: max(0.6rem, env(safe-area-inset-right));
  transform: translateY(-50%);
}

.site-footer {
  padding: 2rem 0 calc(2rem + env(safe-area-inset-bottom));
  border-top: var(--border);
  background: var(--ink);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--paper);
}

@media (min-width: 760px) {
  .show {
    grid-template-columns: minmax(14.5rem, auto) 1fr auto;
    align-items: center;
  }

  .price {
    justify-self: end;
  }
}

@media (min-width: 800px) {
  .crew-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .brand {
    font-size: 3rem;
  }

  .tagline {
    font-size: 2.6rem;
  }

  .music-layout {
    grid-template-columns: minmax(260px, 360px) 1fr;
    gap: 2.2rem;
    align-items: start;
  }

  .release {
    position: sticky;
    top: calc(var(--header) + 1rem);
  }

  .cover {
    width: 100%;
  }

  .history-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
    align-items: start;
  }

  .hero-pitch {
    flex-direction: row;
    align-items: stretch;
    gap: 1.1rem;
  }

  .tagline {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    line-height: 1.42;
  }

  .hero-actions {
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 11.5rem;
  }
}

@media (max-height: 520px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

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

  .marquee-track {
    animation: none;
  }

  .shot,
  .member,
  .btn,
  .track,
  .nav-toggle span {
    transition: none;
  }
}
