/* ============================================================
   Recovering Satellites – Static Export Stylesheet
   ============================================================ */

/* --- Google Fonts are loaded via <link> in index.html --- */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  --bg:          hsl(240, 7%, 5%);
  --fg:          hsl(220, 14%, 96%);
  --card:        hsl(240, 6%, 8%);
  --primary:     hsl(36, 91%, 44%);
  --primary-fg:  hsl(240, 7%, 5%);
  --secondary:   hsl(240, 4%, 14%);
  --muted:       hsl(240, 4%, 14%);
  --muted-fg:    hsl(220, 9%, 64%);
  --border:      hsl(240, 4%, 18%);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;
  --radius:       0.5rem;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }

/* Film grain overlay */
.film-grain::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Layout Utilities ---- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  position: relative;
  padding: 6rem 0;
}

.section-card { background-color: var(--card); }

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Section Header ---- */
.section-header { margin-bottom: 4rem; }
.section-header--center { text-align: center; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1.1;
}

.section-title--sm {
  font-size: clamp(2rem, 5vw, 3rem);
}

.section-rule {
  width: 4rem;
  height: 1px;
  background: var(--primary);
  margin-top: 1.5rem;
}
.section-rule--center { margin-left: auto; margin-right: auto; }

.section-desc {
  font-family: var(--font-body);
  color: var(--muted-fg);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover { background-color: hsl(36, 91%, 38%); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--fg);
  background: transparent;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.link-arrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  transition: color 0.3s;
}
.link-arrow:hover { color: var(--fg); }

.link-underline {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}
.link-underline:hover { color: var(--fg); }

.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
  margin-top: 1.5rem;
  display: inline-block;
}
.link-btn:hover { color: var(--fg); }

.text-primary { color: var(--primary); font-weight: 500; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.5s ease, border-color 0.5s ease;
}

#navbar.scrolled {
  background: rgba(11, 11, 14, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5px 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
}

.nav-logo img {
  height: 5rem;
  filter: invert(1) brightness(200%);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Active section indicator (desktop links) */
.nav-links a.is-active { color: var(--primary); }

/* ============================================================
   MOBILE NAVIGATION — full-screen overlay (purpose-built)
   ============================================================ */
.m-nav {
  position: fixed;
  inset: 0;
  z-index: 90;                 /* below the fixed navbar (100) so the X stays tappable */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.75rem, 5vh, 3rem);
  /* Clear the fixed bar at the top; respect notch safe-areas */
  padding: calc(5.5rem + env(safe-area-inset-top)) 1.5rem calc(2rem + env(safe-area-inset-bottom));
  background:
    radial-gradient(120% 80% at 50% 0%, hsl(240 7% 9%) 0%, var(--bg) 55%);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0s linear 0.32s;
}
.m-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.32s ease, transform 0.32s ease;
}

/* Primary links — large serif, music-site feel */
.m-nav-links { display: flex; flex-direction: column; }
.m-nav-links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: clamp(0.55rem, 1.5vh, 0.85rem) 0.25rem;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8.5vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--fg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  /* Staggered entrance */
  opacity: 0;
  transform: translateX(-14px);
  transition: color 0.25s ease;
}
.m-nav.open .m-nav-links a {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease, color 0.25s ease;
}
.m-nav.open .m-nav-links a:nth-child(1) { transition-delay: 0.05s; }
.m-nav.open .m-nav-links a:nth-child(2) { transition-delay: 0.09s; }
.m-nav.open .m-nav-links a:nth-child(3) { transition-delay: 0.13s; }
.m-nav.open .m-nav-links a:nth-child(4) { transition-delay: 0.17s; }
.m-nav.open .m-nav-links a:nth-child(5) { transition-delay: 0.21s; }
.m-nav.open .m-nav-links a:nth-child(6) { transition-delay: 0.25s; }

.m-nav-num {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--primary);
  min-width: 1.6rem;
  flex: none;
}
.m-nav-links a:hover .m-nav-label,
.m-nav-links a:active .m-nav-label { color: var(--primary); }
.m-nav-links a.is-active { color: var(--primary); }
.m-nav-links a.is-active .m-nav-num { color: var(--fg); }

/* Key actions — booking + gigs front and centre */
.m-nav-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.m-nav-cta { width: 100%; height: 3.25rem; letter-spacing: 0.16em; }

/* Social discovery footer */
.m-nav-foot { text-align: center; }
.m-nav-foot-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}
.m-nav-socials { display: flex; justify-content: center; gap: 1rem; }
.m-nav-socials a {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-fg);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.m-nav-socials a:hover,
.m-nav-socials a:active { color: var(--primary); border-color: var(--primary); }

/* ---- Breakpoint: swap desktop links for the mobile system ---- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  /* Solid bar so the logo + X read cleanly over the overlay */
  #navbar.menu-open {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  body.nav-open { overflow: hidden; }
}

/* The overlay only exists on mobile — never render it on desktop */
@media (min-width: 861px) {
  .m-nav { display: none; }
}

/* Short / landscape screens: top-align and tighten so nothing clips */
@media (max-height: 640px) {
  .m-nav { justify-content: flex-start; gap: 1.25rem; }
  .m-nav-links a { font-size: clamp(1.5rem, 7vw, 2rem); }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;       /* fallback for older browsers */
  min-height: 100dvh;      /* fill the full viewport on first load (accounts for mobile toolbars) */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay-v {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,11,14,0.7) 0%, rgba(11,11,14,0.4) 50%, rgba(11,11,14,1) 100%);
}
.hero-overlay-h {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,11,14,0.5), transparent, rgba(11,11,14,0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 1000px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  line-height: 1;
}
.hero-title span { font-weight: 600; }

.hero-btns {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.hero-horizon {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(217,119,6,0.3), transparent);
}

/* Animate in on load */
.animate-in { animation: fadeUp 1s ease both; animation-delay: 0.3s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MUSIC SECTION
   ============================================================ */
.music-bg-img {
  position: absolute; inset: 0; opacity: 0.1;
}
.music-bg-img img { width: 100%; height: 100%; object-fit: cover; }
.music-bg-overlay {
  position: absolute; inset: 0;
  background: rgba(11,11,14,0.6);
}

.featured-release { margin-bottom: 3rem; }
.featured-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted-fg);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.featured-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  color: var(--fg);
}
.featured-chart {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted-fg);
  margin-top: 0.5rem;
}

.embeds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .embeds-grid { grid-template-columns: 1fr; } }

.embed-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}
.embed-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ============================================================
   VIDEOS SECTION
   ============================================================ */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-wrap iframe {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
}

.video-featured { margin-bottom: 3rem; }
.video-meta { margin-top: 1rem; }
.video-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--fg);
}
.video-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) { .videos-grid { grid-template-columns: 1fr; } }

.more-link { margin-top: 3rem; text-align: center; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 5rem;
  align-items: start;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.about-images { position: relative; }
.about-img-main {
  width: 100%;
  height: auto;            /* honour intrinsic ratio (width/height attrs) — prevents CLS */
  border-radius: var(--radius);
}
/* Secondary image: a smaller, bordered card that sits at the end of the text
   column, right-aligned. Previously absolutely-positioned over the main image,
   which covered a band member's face. */
.about-img-overlay {
  display: none;
  width: 66%;
  height: auto;
  align-self: flex-end;       /* right-aligned within the text column */
  margin-top: 0.5rem;
  border-radius: var(--radius);
  border: 4px solid var(--bg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
@media (min-width: 768px) { .about-img-overlay { display: block; } }

.about-text {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--muted-fg);
  line-height: 1.8;
}
.about-lead {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--fg);
  line-height: 1.6;
}

/* ============================================================
   GIGS SECTION
   ============================================================ */
.gigs-bg {
  position: absolute; inset: 0;
}
.gigs-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.gigs-overlay { position: absolute; inset: 0; background: rgba(11,11,14,0.5); }

.gigs-card {
  background: rgba(20,20,25,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-body);
  color: var(--muted-fg);
}
.gigs-sub {
  font-size: 0.75rem;
  color: var(--muted-fg);
  letter-spacing: 0.05em;
}
.gigs-cta {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--muted-fg);
}
.gigs-cta-btn { margin-top: 0.25rem; }

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery-masonry {
  columns: 2;
  column-gap: 0.75rem;
}
@media (min-width: 768px)  { .gallery-masonry { columns: 3; } }
@media (min-width: 1024px) { .gallery-masonry { columns: 4; } }

.gallery-item {
  break-inside: avoid;
  margin-bottom: 0.75rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item img {
  width: 100%;
  height: auto;   /* keep intrinsic ratio from width/height attrs — prevents CLS as lazy images load */
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11,11,14,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: rgba(255,255,255,0.6);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  z-index: 210;
}
.lightbox-nav:hover {
  background: rgba(0,0,0,0.7);
  border-color: rgba(255,255,255,0.35);
}
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@media (max-width: 640px) {
  .lightbox-nav { width: 2.5rem; height: 2.5rem; font-size: 1.45rem; }
  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
}


/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* Single genuine testimonial — one centred card, not a 1/3-width column */
.testimonials-grid--single {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial { text-align: center; }
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(217,119,6,0.3);
  line-height: 1;
  margin-bottom: 1rem;
}
.testimonial p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(240,243,252,0.9);
  font-style: italic;
  line-height: 1.8;
}
.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 1.5rem;
}
.testimonial-source {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--muted-fg);
  margin-top: 0.25rem;
}

/* ============================================================
   SOCIALS
   ============================================================ */
.socials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.form-field label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-fg);
}
.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(150,155,175,0.4); }
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--primary); }

.form-row .form-field { margin-bottom: 0; }

.form-error {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: hsl(0, 70%, 65%);
  border: 1px solid hsl(0, 50%, 40%);
  background: hsla(0, 60%, 30%, 0.15);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
}

.form-submit { text-align: center; padding-top: 1rem; }
.form-submit .btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 4rem 0;
}
.form-success-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.form-success p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted-fg);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
footer .container {
  padding-top: 4rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-logo img {
  height: 3.5rem;
  filter: invert(1) brightness(200%);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
.footer-socials a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.footer-socials a:hover { color: var(--primary); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.footer-legal a {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--primary); }
.footer-legal-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-fg);
  transition: color 0.3s;
}
.footer-legal-btn:hover { color: var(--primary); }

.footer-divider { width: 100%; height: 1px; background: var(--border); }

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(150,155,175,0.6);
}
.footer-credit {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(150,155,175,0.4);
  transition: color 0.3s;
}
.footer-credit:hover { color: rgba(150,155,175,0.7); }

/* ============================================================
   COOKIE CONSENT BANNER (built-in) — pinned to top of viewport
   ============================================================ */
.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;                 /* above the fixed navbar (100) */
  width: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  overflow-y: auto;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  font-family: var(--font-body);
  /* Hidden — slides up out of view until opened */
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s linear 0.35s;
}
.cookie-banner.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.35s ease;
}

.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  padding-top: calc(1rem + env(safe-area-inset-top));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.cookie-banner-main { order: 1; flex: 1 1 320px; min-width: 0; }
.cookie-banner-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 0.2rem;
}
.cookie-banner-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted-fg);
}
.cookie-banner-text a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-text a:hover { color: var(--fg); }

.cookie-banner-actions {
  order: 2;
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.cookie-banner .btn {
  height: 2.6rem;
  padding: 0 1.1rem;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

/* Preferences panel — full-width, expands below when "Manage Preferences" is used.
   Hidden until then: the explicit [hidden] rule is required because the class's
   display:flex would otherwise override the HTML hidden attribute. */
.cookie-prefs[hidden] { display: none; }
.cookie-prefs {
  order: 3;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.cookie-pref {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}
.cookie-pref span { display: flex; flex-direction: column; gap: 0.2rem; }
.cookie-pref strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.04em;
}
.cookie-pref small { font-size: 0.72rem; color: var(--muted-fg); line-height: 1.5; }
.cookie-pref input[type="checkbox"] {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--primary);
  cursor: pointer;
}
.cookie-pref input[disabled] { cursor: not-allowed; opacity: 0.6; }

/* When the preferences panel is open, drop the buttons onto their own row
   BELOW the toggles, so the order reads: text → toggles → Save/Reject/Accept. */
.cookie-banner.prefs-open .cookie-banner-main { flex-basis: 100%; }
.cookie-banner.prefs-open .cookie-banner-actions { order: 4; flex-basis: 100%; }

/* Tablet & mobile: text on top, buttons full-width beneath it */
@media (max-width: 768px) {
  .cookie-banner-inner { align-items: stretch; }
  .cookie-banner-actions { flex-basis: 100%; }
  .cookie-banner .btn { flex: 1 1 auto; }
}

/* Floating "cookie" button — appears bottom-left once a choice has been made,
   so visitors can reopen and change their preferences any time. */
.cookie-fab {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  display: none;            /* shown via .is-visible */
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted-fg);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.cookie-fab.is-visible { display: inline-flex; }
.cookie-fab:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.cookie-fab svg { width: 22px; height: 22px; }
.cookie-fab-chip { fill: var(--card); }
@media (max-width: 480px) {
  .cookie-fab { left: 1rem; bottom: 1rem; width: 42px; height: 42px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
/* Visible keyboard focus for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.gallery-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE REFINEMENTS
   ============================================================ */
/* Tablets and below */
@media (max-width: 1024px) {
  .section { padding: 5rem 0; }
  .section-header { margin-bottom: 3rem; }
}

/* Large phones / small tablets */
@media (max-width: 767px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .nav-inner { min-height: 4rem; padding: 5px 1.25rem; }
  .nav-logo img { height: 3.5rem; }
  .gigs-card { padding: 2.25rem 1.5rem; }
  .testimonials-grid { gap: 2.5rem; }
  .hero-btns { gap: 0.75rem; }
}

/* Small phones (320–480px) */
@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .nav-logo img { height: 3rem; }
  .gallery-masonry { column-gap: 0.5rem; }
  .gallery-item { margin-bottom: 0.5rem; }
  .gigs-card { padding: 2rem 1.25rem; }
  /* Full-width buttons read as clearer tap targets on the smallest screens */
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .btn { padding: 0 1.5rem; }
  /* Keep the hero wordmark inside the viewport on the narrowest phones */
  .hero-title { font-size: clamp(2.25rem, 11vw, 3.5rem); }
  .hero-sub { font-size: 0.7rem; letter-spacing: 0.2em; }
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
}

/* Large desktops — keep content from stretching too wide */
@media (min-width: 1600px) {
  .container { max-width: 1360px; }
}

/* ============================================================
   LEGAL PAGES (privacy / cookies / terms)
   Reuses the site's tokens, navbar and footer — no new system.
   ============================================================ */
.legal-main {
  padding-top: 9rem;   /* clear the fixed navbar */
  padding-bottom: 5rem;
}
.legal-wrap { max-width: 820px; margin: 0 auto; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2.5rem;
  transition: color 0.3s;
}
.legal-back:hover { color: var(--fg); }

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.legal-updated {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted-fg);
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

.legal-prose { font-family: var(--font-body); color: var(--muted-fg); line-height: 1.8; }
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--fg);
  margin: 2.75rem 0 1rem;
}
.legal-prose h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin: 1.75rem 0 0.5rem;
}
.legal-prose p { margin-bottom: 1.1rem; font-size: 0.92rem; }
.legal-prose ul { margin: 0 0 1.1rem 1.25rem; }
.legal-prose li { margin-bottom: 0.5rem; font-size: 0.92rem; }
.legal-prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-prose a:hover { color: var(--fg); }
.legal-prose strong { color: var(--fg); font-weight: 600; }