/* DJ Rex Buchanan — personal showcase */

:root {
  --bg: #07070c;
  --bg-alt: #0c0c14;
  --surface: #141422;
  --surface-2: #1b1b2c;
  --text: #f5f2eb;
  --muted: #b9b6c6;
  --faint: #8a8798;
  --accent: #ff3d8e;
  --accent-2: #3de0ff;
  --accent-soft: rgba(255, 61, 142, 0.16);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --nav-h: 4.5rem;
  --max: 72rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --radius: 1rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--accent);
  color: #14010a;
  padding: 0.6rem 1rem;
  font-weight: 600;
  border-radius: 0.4rem;
}
.skip-link:focus {
  top: 1rem;
}

.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;
}

/* ----- Layout ----- */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

.section-alt {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(255, 61, 142, 0.07), transparent 60%),
    radial-gradient(900px 400px at 90% 100%, rgba(61, 224, 255, 0.06), transparent 60%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
}
.section-kicker::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-lead {
  max-width: 40rem;
  color: var(--muted);
  margin: 0 0 2.4rem;
  font-size: 1.08rem;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.btn-primary {
  background: linear-gradient(110deg, #ff4d9a, #ff2d6a 60%, #ff6b3d);
  color: #16010a;
  box-shadow: 0 8px 30px rgba(255, 45, 106, 0.32);
}
.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(255, 45, 106, 0.45);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn[disabled],
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ----- Header / Nav ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(7, 7, 12, 0.78) 0%, rgba(7, 7, 12, 0) 100%);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 7, 12, 0.86);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.logo-link {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo-link img {
  height: 1.55rem;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85));
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.3rem 0;
  position: relative;
}
.nav-list a:hover,
.nav-list a[aria-current="true"] {
  color: var(--text);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="true"]::after {
  transform: scaleX(1);
}
.nav-list .nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #16010a;
  line-height: 1.1;
}
.nav-list .nav-cta::after {
  content: none;
}
.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--text);
  position: relative;
  margin: 0 auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.is-open .nav-toggle span {
  background: transparent;
}
.site-header.is-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header.is-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
}
.hero-slide.is-on {
  opacity: 1;
  transform: scale(1);
}
.hero-slide-cervantes { background-image: url("../images/hero-cervantes.webp"); background-position: 72% 40%; }
.hero-slide-stage48 { background-image: url("../images/hero-stage48.webp"); background-position: 35% 30%; }
.hero-slide-space { background-image: url("../images/hero-space.webp"); background-position: 50% 35%; }
.hero-slide-ots { background-image: url("../images/hero-ots.webp"); background-position: 82% 35%; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 12, 0.35) 0%, rgba(7, 7, 12, 0.2) 35%, rgba(7, 7, 12, 0.82) 72%, #07070c 100%),
    linear-gradient(90deg, rgba(7, 7, 12, 0.55) 0%, rgba(7, 7, 12, 0.15) 50%, rgba(7, 7, 12, 0.35) 100%);
  pointer-events: none;
}
.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0 0 5.5rem;
  max-width: 46rem;
  margin-left: max((100% - min(100% - 2rem, var(--max))) / 2, 1rem);
}
.hero-eyebrow {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-2);
  margin: 0 0 1.1rem;
}
.hero-eyebrow span {
  white-space: nowrap;
}
.hero-eyebrow span + span::before {
  content: "•";
  margin-right: 0.65rem;
  color: var(--accent);
}
.hero-logo {
  width: min(100%, 36rem);
  height: auto;
  margin: 0 0 1.25rem;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.55));
}
.hero-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  margin: 0 0 1.8rem;
  max-width: 32rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.6rem;
}
.hero-social {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}
.social-link {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #16010a;
  transform: translateY(-2px);
}
.scroll-cue {
  position: absolute;
  right: max((100% - min(100% - 2rem, var(--max))) / 2, 1rem);
  bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.scroll-cue i {
  width: 1px;
  height: 2.2rem;
  background: linear-gradient(180deg, var(--accent-2), transparent);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.5); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.25rem;
  align-items: center;
}
.about-photo {
  position: relative;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: auto -1rem -1rem auto;
  width: 42%;
  height: 42%;
  border: 1px solid rgba(255, 61, 142, 0.45);
  border-radius: 1.25rem;
  z-index: -1;
}
.about-photo figcaption {
  margin-top: 0.75rem;
  color: var(--faint);
  font-size: 0.85rem;
}
.about-copy p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.about-copy p:last-of-type {
  margin-bottom: 1.4rem;
}
.genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.genre-list li {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

/* ----- Music ----- */
.music-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
}
.embed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1rem;
  min-width: 0;
}
.embed-card h3 {
  font-size: 1rem;
  letter-spacing: 0;
  margin: 0 0 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
}
.embed-card h3 a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--accent-2);
  letter-spacing: 0;
}
.embed-frame {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
}
.embed-frame iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* ----- Videos ----- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.video-card {
  min-width: 0;
}
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
  cursor: pointer;
  color: inherit;
  padding: 0;
  width: 100%;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}
.video-thumb:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}
.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.play-badge svg {
  width: 3.1rem;
  height: 3.1rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s var(--ease);
}
.video-thumb:hover .play-badge svg {
  transform: scale(1.08);
}
.video-card h3 {
  margin: 0.7rem 0 0;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.3;
}
.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  position: absolute;
  inset: 0;
}

/* ----- Highlights ----- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem 1.5rem;
  min-width: 0;
}
.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip-list li {
  padding: 0.32rem 0.7rem;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 61, 142, 0.22);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.3;
}
.highlight-card:nth-child(2) .chip-list li {
  background: rgba(61, 224, 255, 0.1);
  border-color: rgba(61, 224, 255, 0.22);
}
.highlight-card:nth-child(3) .chip-list li {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

/* ----- Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 8.5rem;
  gap: 0.65rem;
}
.gallery-item {
  position: relative;
  display: block;
  grid-row: span 2;
  border-radius: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
  padding: 0;
  cursor: zoom-in;
  color: inherit;
}
.gallery-item.feature {
  grid-column: span 2;
  grid-row: span 3;
}
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item.tall {
  grid-row: span 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}
.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
  filter: brightness(0.78);
}
.gallery-item figcaption,
.gallery-item .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.8rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .caption,
.gallery-item:focus-visible .caption {
  opacity: 1;
  transform: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.25rem 1.5rem;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: min(100%, 1100px);
  max-height: calc(100svh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.4rem;
  box-shadow: var(--shadow);
}
.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.9rem;
}
.lightbox-btn {
  position: absolute;
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 28, 0.8);
  color: var(--text);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; margin-top: -1.4rem; }
.lightbox-next { right: 1rem; top: 50%; margin-top: -1.4rem; }
.lightbox-btn:hover {
  background: var(--accent);
  color: #16010a;
  border-color: var(--accent);
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-copy p {
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.contact-points {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-points a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 61, 142, 0.5);
}
.contact-points a:hover {
  color: var(--accent);
}
.contact-points span {
  display: block;
  color: var(--faint);
  font-size: 0.82rem;
  font-weight: 400;
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.form-note {
  margin: 0 0 1.1rem;
  padding: 0.8rem 0.95rem;
  background: rgba(61, 224, 255, 0.08);
  border: 1px solid rgba(61, 224, 255, 0.25);
  border-radius: 0.7rem;
  color: var(--text);
  font-size: 0.92rem;
}
.form-note strong {
  color: var(--accent-2);
  font-weight: 600;
}
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.35rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}
.field label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.field input,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
}
.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.form-status {
  margin: 0.8rem 0 0;
  color: var(--accent-2);
  font-size: 0.92rem;
  display: none;
}
.form-status.is-on {
  display: block;
}

/* ----- Footer ----- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  color: var(--faint);
  font-size: 0.88rem;
}
.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-inner .social-link {
  width: 2.15rem;
  height: 2.15rem;
}

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .about-grid,
  .music-grid,
  .highlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 8rem;
  }
  .about-photo img {
    aspect-ratio: 16 / 12;
    object-position: 50% 18%;
  }
  .about-photo::after {
    display: none;
  }
  .hero-slide-cervantes { background-position: 85% 40%; }
  .hero-slide-ots { background-position: 90% 30%; }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    background: rgba(7, 7, 12, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1.2rem;
    display: none;
  }
  .site-header.is-open .nav {
    display: block;
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav-list a {
    display: block;
    padding: 0.85rem 0.2rem;
    font-size: 1.05rem;
  }
  .nav-list a::after {
    display: none;
  }
  .nav-cta {
    margin: 0.85rem 0 0;
    width: auto;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.75rem 0;
  }
  .video-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-auto-rows: 7.2rem;
  }
  .gallery-item.feature,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 2;
  }
  .hero-inner {
    padding-bottom: 4.2rem;
  }
  .hero-logo {
    width: min(100%, 22rem);
  }
  .scroll-cue {
    display: none;
  }
  .logo-link img {
    height: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide,
  .gallery-item img,
  .video-thumb img,
  .btn,
  .scroll-cue i {
    transition: none !important;
    animation: none !important;
  }
  .hero-slide { transform: none; }
}

/* Inline text links */
.about-copy a,
.section-lead a,
.site-footer a,
.form-note a,
.contact-copy p a {
  color: var(--text);
  border-bottom: 1px solid rgba(255, 61, 142, 0.7);
  transition: color 0.2s, border-color 0.2s;
}
.about-copy a:hover,
.section-lead a:hover,
.site-footer a:hover,
.form-note a:hover,
.contact-copy p a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Music click-to-load fallback */
.embed-frame {
  position: relative;
  min-height: 22rem;
}
.embed-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.25rem;
  background-color: #12121c;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.embed-fallback-soundcloud {
  background-image:
    linear-gradient(180deg, rgba(7, 7, 12, 0.25), rgba(7, 7, 12, 0.62)),
    url("../images/gallery-studio.webp");
}
.embed-fallback-spotify {
  background-image:
    linear-gradient(180deg, rgba(7, 7, 12, 0.25), rgba(7, 7, 12, 0.62)),
    url("../images/gallery-space.webp");
}
.embed-fallback p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}
.embed-fallback .btn {
  cursor: pointer;
}
.embed-frame.is-loaded .embed-fallback {
  display: none;
}
.embed-frame.is-loaded {
  min-height: 0;
}
.embed-frame iframe {
  position: relative;
  z-index: 1;
  background: #000;
}

/* YouTube channel card */
.video-more {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem;
  background:
    linear-gradient(160deg, rgba(255, 61, 142, 0.22), rgba(7, 7, 12, 0.2) 50%, rgba(61, 224, 255, 0.1)),
    var(--surface);
  color: inherit;
}
.video-more strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.3rem;
}
.video-more span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Form fields a bit more visible */
.field input,
.field textarea {
  background: #161622;
}

@media (max-width: 600px) {
  .hero-eyebrow {
    letter-spacing: 0.12em;
    gap: 0.45rem;
    font-size: 0.68rem;
  }
  .hero {
    align-items: center;
  }
  .hero-inner {
    padding-top: calc(var(--nav-h) + 1.5rem);
    padding-bottom: 3rem;
  }
}
