:root {
  --bg: #292366;
  --bg-deep: #1b2228;
  --indigo: #292366;
  --indigo-soft: rgba(27, 34, 40, 0.55);
  --surface: rgba(27, 34, 40, 0.52);
  --surface-strong: rgba(27, 34, 40, 0.78);
  --gold: #b8860b;
  --gold-bright: #daa520;
  --gold-tint: rgba(218, 165, 32, 0.16);
  --line: rgba(218, 165, 32, 0.34);
  --line-strong: rgba(218, 165, 32, 0.65);

  --contrast: #daa520;
  --muted: #e3c168;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1120px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

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

html {
  background-color: var(--bg);
  color: var(--contrast);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(218, 165, 32, 0.42) #1b2228;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #1b2228;
}

::-webkit-scrollbar-thumb {
  background: rgba(218, 165, 32, 0.36);
  border: 2px solid #1b2228;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(218, 165, 32, 0.65);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(56, 48, 132, 0.55), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 60%, rgba(27, 34, 40, 0.45), transparent 75%),
    var(--bg);
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}

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

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--contrast);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Fixed Menu Toggle (Top-Right, inspired by mikebaugh.co.uk) */
.menu-toggle {
  position: fixed;
  top: calc(1.25rem + env(safe-area-inset-top, 0px));
  right: calc(1.5rem + env(safe-area-inset-right, 0px));
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: rgba(27, 34, 40, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--contrast);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:hover {
  border-color: var(--gold-bright);
  background: var(--indigo);
  color: var(--gold-bright);
}

.menu-toggle-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  transition: transform 0.2s ease;
}

html.menu-open .menu-toggle {
  background: var(--gold);
  border-color: var(--gold-bright);
  color: #13191e;
}

html.menu-open .menu-toggle-dot {
  background: #13191e;
  transform: scale(1.2);
}

/* Full-Screen Flyout Overlay Menu */
.menu-overlay {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1.5rem calc(2.5rem + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 75% 60% at 50% 20%, rgba(41, 35, 102, 0.96), rgba(27, 34, 40, 0.98) 72%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-105%);
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

html.menu-open .menu-overlay {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay-brand {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
}

@media (hover: hover) {
  .menu-links:hover a {
    opacity: 0.5;
  }
}

.menu-links a {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.8vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.14rem 0.5rem;
}

.menu-links a:hover,
.menu-links a:focus-visible {
  opacity: 1 !important;
  color: var(--contrast);
  transform: scale(1.04);
}

.menu-overlay-footer {
  margin-top: 2.25rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Top Hero (Name + Tagline -> Immediate Music Player) */
.hero-header {
  padding: calc(3.75rem + env(safe-area-inset-top, 0px)) 0 2rem;
}

.hero-brand-block {
  max-width: 100%;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 0.85rem;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7.8vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--contrast);
  margin: 0;
}

.hero-tagline {
  margin: 1rem 0 0;
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.45vw, 0.94rem);
  line-height: 1.6;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-tagline-sep {
  color: var(--gold-bright);
  margin: 0 0.55rem;
}

/* Sections */
.band {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.band-player {
  padding: 1.25rem 0 4.5rem;
  border-top: 0;
  scroll-margin-top: 1rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 3rem;
  align-items: start;
}

.section-label-col {
  position: sticky;
  top: 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--contrast);
  margin: 0 0 0.75rem;
}

.section-title-accent {
  color: var(--gold-bright);
  font-style: italic;
}

.section-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--contrast);
  margin: 0 0 1.25rem;
}

.prose p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.78;
  margin: 0 0 1.25rem;
  max-width: 65ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* ReelCrafter Embed Card */
.embed-card {
  background: var(--bg-deep);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.embed-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  background: rgba(41, 35, 102, 0.38);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.embed-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
}

.embed-card-bar strong {
  color: var(--gold-bright);
  font-weight: 500;
}

.embed-card-sep {
  opacity: 0.55;
}

.embed-card-badge {
  white-space: nowrap;
  opacity: 0.75;
}

.embed-card iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
  overflow: hidden;
  background: var(--bg-deep);
}

/* Bio Portrait */
.bio-figure {
  margin: 0;
}

.bio-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--indigo-soft);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
}

.bio-photo-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.bio-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bio-caption::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--gold-bright);
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--gold);
  color: #13191e;
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #13191e;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-bright);
}

.btn-outline:hover {
  background: var(--gold-tint);
  color: var(--contrast);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

/* Score Showcase */
.score-showcase {
  margin-top: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.score-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.15rem;
}

.score-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--contrast);
}

.score-meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.score-trigger {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.score-trigger:hover {
  transform: translateY(-2px);
  border-color: var(--gold-bright);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

.score-caption-bar {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Testimonials */
.testimonials-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card {
  position: relative;
  margin: 0;
  padding: 2rem 2.25rem 2rem 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--gold-bright);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--contrast);
  font-size: 1rem;
  line-height: 1.75;
}

.testimonial-card blockquote p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.testimonial-card blockquote p:first-child {
  color: var(--contrast);
}

.testimonial-card blockquote p:last-child {
  margin-bottom: 0;
}

.testimonial-author {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
}

.testimonial-role {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  letter-spacing: 0;
  color: var(--muted);
}

/* Contact Grid (2 direct cards on row 1, 3 social cards on row 2) */
.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-row {
  display: grid;
  gap: 1rem;
}

.contact-row-direct {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-row-social {
  grid-template-columns: minmax(max-content, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.35rem 1.45rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--contrast);
}

.contact-card:hover {
  border-color: var(--gold-bright);
  background: var(--surface-strong);
  transform: translateY(-2px);
}

.contact-label-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-label-row svg {
  width: 15px;
  height: 15px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.contact-value {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--contrast);
  white-space: nowrap;
}

.contact-row-social .contact-card {
  padding: 1.25rem 1.2rem;
}

.contact-row-social .contact-value {
  font-size: 0.92rem;
}

.contact-sub {
  font-size: 0.84rem;
  color: var(--muted);
}

/* Social Pills */
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--contrast);
  padding: 0.46rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(27, 34, 40, 0.55);
}

.social-links a svg {
  width: 15px;
  height: 15px;
  color: var(--gold-bright);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  color: var(--contrast);
  border-color: var(--gold-bright);
  background: var(--gold-tint);
  transform: translateY(-1px);
}

.social-links a:hover svg {
  transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  height: 100dvh;
  z-index: 150;
  background: rgba(13, 18, 23, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
}

.lightbox[hidden] {
  display: none;
}

.lightbox-toolbar {
  width: 100%;
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.lightbox-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-counter {
  white-space: nowrap;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.lightbox-stage {
  position: relative;
  width: 100%;
  max-width: 1040px;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: calc(100dvh - 10rem);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.lightbox-btn {
  background: var(--bg);
  color: var(--contrast);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.05rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.lightbox-btn:hover:not(:disabled) {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.lightbox-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 calc(2.5rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg-deep);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  font-weight: 600;
  color: var(--contrast);
  margin: 0 0 0.25rem;
}

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

.back-to-top {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

/* Tablet & Mobile Responsive */
@media (max-width: 860px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .section-label-col {
    position: static;
  }

  .hero-header {
    padding: calc(4.25rem + env(safe-area-inset-top, 0px)) 0 1.4rem;
  }

  .band {
    padding: 3.25rem 0;
  }

  .band-player {
    padding: 0.75rem 0 3.25rem;
  }

  .embed-card iframe {
    height: 580px;
  }
}

@media (max-width: 1080px) {
  .contact-row-social {
    grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  }
}

/* iPhone & Small Mobile (<= 600px) */
@media (max-width: 600px) {
  .container {
    padding: 0 1.15rem;
  }

  .menu-toggle {
    top: calc(0.9rem + env(safe-area-inset-top, 0px));
    right: calc(1rem + env(safe-area-inset-right, 0px));
    padding: 0.48rem 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .hero-header {
    padding: calc(4rem + env(safe-area-inset-top, 0px)) 0 1.25rem;
  }

  .hero-tagline {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    line-height: 1.45;
  }

  .hero-tagline-sep {
    display: none;
  }

  .embed-card-bar {
    padding: 0.7rem 1rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .embed-card-title {
    flex-direction: column;
    gap: 0.15rem;
  }

  .embed-card-sep,
  .embed-card-badge {
    display: none;
  }

  .embed-card iframe {
    height: 560px;
  }

  .testimonial-card {
    padding: 1.45rem 1.35rem 1.45rem 1.65rem;
  }

  .score-showcase {
    padding: 1.15rem;
  }

  .contact-row-direct,
  .contact-row-social {
    grid-template-columns: 1fr;
  }

  .social-links {
    gap: 0.45rem;
  }

  .social-links a {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.44rem 0.72rem;
    gap: 0.35rem;
  }

  .social-links a svg {
    width: 14px;
    height: 14px;
  }

  .lightbox-title {
    display: none;
  }

  .lightbox-toolbar {
    justify-content: space-between;
  }
}
