:root {
  --ink: #0f0a0c;
  --ink-surface: #1a1014;
  --paper: #f5f7f8;
  --web-deep: #0b2a3a;
  --web-glow: #4fd1c5;

  /* Music palette: plum nights, marigold spotlight */
  --music-deep: #2a1838;
  --music-deep-gradient: #1a1122;
  --music-glow: #ffb627;
  --music-glow-soft: #ffd27a;
  --music-glow-hover: #ffc752;

  --stage-bg: #1a1122;
  --stage-surface: #261833;
  --stage-raised: #32204a;
  --stage-line: rgba(255, 226, 170, 0.14);
  --stage-pop: #8a5cc4;
  --cream: #fbf1df;
  --stage-muted: #cfc2db;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --stage-display: "Fraunces", Georgia, "Times New Roman", serif;
  --stage-body: "DM Sans", "Segoe UI", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--body);
  background-color: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ink);
}
::-webkit-scrollbar-thumb {
  background: #3d2756;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--music-glow);
}

/* Landing Page (index.html) Styles */
.site-head {
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: var(--ink);
}
.site-head h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}
.site-head p {
  margin: 0.35rem 0 0;
  color: #b8c4cc;
  font-size: 1.05rem;
}

.banners { flex: 1 1 auto; }
.banners .row { height: 100%; }

.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 52svh;
  height: 100%;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.banner:hover, .banner:focus-visible { color: #fff; }
.banner:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -8px;
}

.banner-art, .banner-img, .banner-shade {
  position: absolute;
  inset: 0;
}
.banner-art { z-index: 0; }
.banner-art svg { width: 100%; height: 100%; display: block; }

.banner-img {
  z-index: 1;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.banner-web .banner-img   { background-image: url("images/web-development.jpg"); }
.banner-music .banner-img { background-image: url("images/music.jpg"); }

.banner-shade { z-index: 2; transition: opacity 0.4s ease; }
.banner-web .banner-shade {
  background: linear-gradient(to top, rgba(11,42,58,0.92) 0%, rgba(11,42,58,0.45) 55%, rgba(11,42,58,0.2) 100%);
}
.banner-music .banner-shade {
  background: linear-gradient(to top, rgba(42,24,56,0.92) 0%, rgba(42,24,56,0.45) 55%, rgba(42,24,56,0.2) 100%);
}

.banner-body {
  position: relative;
  z-index: 3;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 36rem;
}
.banner-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 0.75rem;
}
.banner-text {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  color: #e6edf0;
}
.banner-cta {
  display: inline-block;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.banner-web .banner-cta   { color: var(--web-glow); }
.banner-music .banner-cta { color: var(--music-glow); }

.banner:hover .banner-img,
.banner:focus-visible .banner-img { transform: scale(1.05); }
.banner:hover .banner-shade,
.banner:focus-visible .banner-shade { opacity: 0.85; }
.banner-web:hover .banner-cta,
.banner-web:focus-visible .banner-cta   { background: var(--web-glow); color: var(--web-deep); }
.banner-music:hover .banner-cta,
.banner-music:focus-visible .banner-cta { background: var(--music-glow); color: var(--music-deep); }

@media (min-width: 768px) {
  .banner { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .banner-img, .banner-shade, .banner-cta { transition: none; }
  .banner:hover .banner-img,
  .banner:focus-visible .banner-img { transform: none; }
}

/* ==========================================================
   Music page (music.html) — everything below is scoped to
   body.music-page or to classes only the music page uses
   ========================================================== */

.music-page {
  background-color: var(--stage-bg);
  color: var(--cream);
  font-family: var(--stage-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

.music-page h1,
.music-page h2,
.music-page h3,
.music-page h4,
.music-page h5 {
  font-family: var(--stage-display);
  font-variation-settings: "SOFT" 100;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.music-page h1,
.music-page h2 { font-weight: 800; }
.music-page h3,
.music-page h4,
.music-page h5 { font-weight: 700; }

/* Bootstrap's grey utility text is too dim on plum, so lift it */
.music-page .text-secondary,
.music-page .text-muted { color: var(--stage-muted) !important; }
.music-page .text-white { color: var(--cream) !important; }
.music-page .border-secondary { border-color: var(--stage-line) !important; }

.music-page a:focus-visible,
.music-page button:focus-visible,
.music-page [role="button"]:focus-visible,
.music-page .btn:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
  box-shadow: none;
}

/* Navbar */
.navbar-custom {
  background: rgba(26, 17, 34, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stage-line);
}

.navbar-brand-title {
  font-family: var(--stage-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 800;
  color: var(--cream);
  font-size: 1.4rem;
}

.navbar-brand-title span {
  color: var(--music-glow);
}

.music-page .nav-link {
  color: var(--stage-muted);
  font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  text-decoration: underline transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.music-page .nav-link:hover,
.music-page .nav-link.active {
  color: var(--cream);
  text-decoration-color: var(--music-glow);
}

/* Buttons: chunky, a little sticker-ish */
.btn-glow,
.btn-outline-glow {
  font-family: var(--stage-body);
  font-weight: 700;
  border-radius: 12px;
  padding: 0.65rem 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-glow {
  background-color: var(--music-glow);
  color: var(--music-deep);
  border: 2px solid var(--music-glow);
  box-shadow: 3px 3px 0 var(--stage-pop);
}

.btn-glow:hover {
  background-color: var(--music-glow-hover);
  border-color: var(--music-glow-hover);
  color: var(--music-deep);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--stage-pop);
}

.btn-glow:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--stage-pop);
}

.btn-outline-glow {
  background-color: transparent;
  color: var(--cream);
  border: 2px solid var(--cream);
}

.btn-outline-glow:hover {
  background-color: var(--cream);
  border-color: var(--cream);
  color: var(--music-deep);
  transform: translate(-1px, -1px);
}

.btn-outline-glow:active {
  transform: translate(1px, 1px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--stage-bg);
  padding: 6.5rem 0 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--stage-line);
}

/* A record peeking in from the bottom-right corner */
.hero-stage-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 94% 112%, rgba(255, 182, 39, 0.16) 0 6%, transparent 6.2%),
    repeating-radial-gradient(circle at 94% 112%, transparent 0 15px, rgba(255, 182, 39, 0.08) 15px 16px);
}

.hero-badge {
  display: inline-block;
  background: var(--music-glow);
  color: var(--music-deep);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--stage-pop);
}

.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 1.5rem;
  max-width: 14ch;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--stage-muted);
  line-height: 1.6;
  max-width: 34rem;
  margin-bottom: 2rem;
}

/* Skill chips */
.skill-chip {
  background: var(--stage-surface);
  border: 1px solid var(--stage-line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 100%;
}
.skill-chip i {
  color: var(--music-glow);
  font-size: 1.1rem;
}

/* Cards */
.card-dark {
  background-color: var(--stage-surface);
  border: 1px solid var(--stage-line);
  border-radius: 18px;
  overflow: hidden;
}

/* The hero spec card doubles as a gig ticket */
.ticket-card {
  overflow: visible;
  background: var(--stage-raised);
  border-color: rgba(255, 210, 122, 0.3);
}
@media (min-width: 992px) {
  .ticket-card { transform: rotate(1.6deg); }
}

.ticket-icon {
  background: var(--music-glow);
  color: var(--music-deep);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ticket-tear {
  position: relative;
  margin: 1.5rem -1.5rem 0;
  padding: 1.25rem 1.5rem 0;
  border-top: 2px dashed rgba(255, 210, 122, 0.4);
}
.ticket-tear::before,
.ticket-tear::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--stage-bg);
}
.ticket-tear::before { left: -12px; }
.ticket-tear::after  { right: -12px; }

.ticket-tagline {
  font-family: var(--stage-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--cream);
  margin: 0;
}

/* Section headings */
.section-intro {
  max-width: 38rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  margin-bottom: 0.75rem;
}
.sub-heading {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* Video cards */
.video-card-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 17, 34, 0.85) 0%, rgba(26, 17, 34, 0.15) 65%);
}

.play-btn {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  background: var(--music-glow);
  color: var(--music-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  padding-left: 4px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 3px 3px 0 var(--stage-pop);
}

.video-card-thumb:hover .play-btn,
.video-card-thumb:focus-visible .play-btn {
  transform: scale(1.1);
  background: var(--cream);
}

/* Photo gallery: scattered snapshots */
.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 6px solid var(--cream);
  border-radius: 4px;
  cursor: pointer;
  transform: rotate(-1.5deg);
}
.col-6:nth-child(even) .gallery-img-wrapper { transform: rotate(1.3deg); }

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 24, 56, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: var(--music-glow);
  font-size: 2rem;
}

.gallery-img-wrapper:hover .gallery-img,
.gallery-img-wrapper:focus-visible .gallery-img {
  transform: scale(1.06);
}

.gallery-img-wrapper:hover .gallery-overlay,
.gallery-img-wrapper:focus-visible .gallery-overlay {
  opacity: 1;
}

/* Audio demos */
.audio-bar {
  background: var(--stage-raised);
  border: 1px solid var(--stage-line);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}

.audio-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--music-glow);
  color: var(--music-deep);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.audio-play-btn:hover {
  transform: scale(1.06);
  background: var(--music-glow-hover);
}

.waveform-visualizer {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
  flex-grow: 1;
}

.waveform-bar {
  width: 4px;
  background: rgba(255, 182, 39, 0.35);
  border-radius: 2px;
  height: 30%;
  transition: height 0.2s ease, background-color 0.2s ease;
}

.waveform-bar.active {
  background: var(--music-glow);
  height: 80%;
}

/* Gear section */
.gear-section {
  background: var(--stage-surface);
  border-top: 1px solid var(--stage-line);
  border-bottom: 1px solid var(--stage-line);
}
.gear-section .card-dark {
  background: var(--stage-bg);
}

.gear-list strong {
  color: var(--cream);
}

.tone-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 182, 39, 0.13);
  color: var(--music-glow-soft);
  border: 1px solid rgba(255, 182, 39, 0.3);
}

/* Contact form */
.form-control, .form-select {
  background-color: #140c1b;
  border: 1px solid rgba(255, 226, 170, 0.22);
  color: var(--cream);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color-scheme: dark;
}

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffd27a' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-control:focus, .form-select:focus {
  background-color: #140c1b;
  border-color: var(--music-glow);
  color: var(--cream);
  box-shadow: 0 0 0 0.25rem rgba(255, 182, 39, 0.25);
}

.form-control::placeholder {
  color: #9a8aa8;
}

.form-label {
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--music-glow);
  color: var(--music-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Footer */
.site-foot {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--stage-muted);
  background: #120b19;
  border-top: 1px solid var(--stage-line);
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--stage-surface);
  color: var(--stage-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--music-glow);
  color: var(--music-deep);
}

/* Modals and toast */
.modal-content {
  background-color: var(--stage-surface);
  border: 1px solid var(--stage-line);
  border-radius: 16px;
  color: var(--cream);
}

.toast-glow {
  background: var(--music-glow);
  color: var(--music-deep);
  border-radius: 12px;
}

.text-glow {
  color: var(--music-glow) !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-glow, .btn-outline-glow, .play-btn, .audio-play-btn,
  .gallery-img, .gallery-overlay, .waveform-bar { transition: none; }
}
