:root {
  --pink: #ff4fa3;
  --yellow: #ffd84d;
  --blue: #4db8ff;
  --bg: #ffffff;
  --text: #101114;
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(16, 17, 20, 0.08);
  --card-shadow: 0 20px 60px rgba(16, 17, 20, 0.10);
  --muted: #343843;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: max(16px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}

html {
  scroll-behavior: smooth;
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--size);
  height: var(--size);
  opacity: 0.9;
  transform:
    translate3d(var(--x), var(--y), 0)
    rotate(0deg);
  animation:
    drift var(--drift-duration) ease-in-out infinite alternate,
    spin var(--spin-duration) linear infinite;
  animation-delay: var(--delay), var(--delay);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.06));
  will-change: transform;
}

.star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.star.pink {
  color: var(--pink);
}

.star.yellow {
  color: var(--yellow);
}

.star.blue {
  color: var(--blue);
}

@keyframes drift {
  from {
    transform:
      translate3d(var(--x), var(--y), 0)
      rotate(0deg);
  }
  to {
    transform:
      translate3d(
        calc(var(--x) + var(--dx)),
        calc(var(--y) + var(--dy)),
        0
      )
      rotate(0deg);
  }
}

@keyframes spin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: var(--spin-angle);
  }
}

.content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(8px, 2vw, 20px);
  display: grid;
  gap: 14px;
}

.top-tabs {
  position: sticky;
  top: max(8px, env(safe-area-inset-top));
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-tabs.is-centered {
  justify-content: center;
}

.top-tabs::-webkit-scrollbar {
  display: none;
}

.top-tabs a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(16, 17, 20, 0.1);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
}

.scroll-target,
.scroll-target > h2 {
  scroll-margin-top: 100px;
}

.card {
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

h1,
h2 {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 9vw, 2.8rem);
  line-height: 1.02;
  font-weight: 900;
}

h2 {
  font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  line-height: 1.15;
  font-weight: 800;
}

p {
  margin: 0;
  line-height: 1.5;
  color: var(--muted);
}

.hero-card {
  text-align: center;
  padding-top: clamp(24px, 7vw, 34px);
  padding-bottom: clamp(24px, 7vw, 34px);
}

.hero-logo {
  display: block;
  width: min(100%, 560px);
  margin: 0 auto 10px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(16, 17, 20, 0.14));
}

.tagline {
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.social-links a {
  text-decoration: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  display: block;
}

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

.section-intro {
  margin-bottom: 12px;
}

.gigs-list {
  display: grid;
  gap: 12px;
}

.gig-card {
  display: grid;
  gap: 10px;
  border-radius: 18px;
  padding: 10px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.66);
}

.gig-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 1350 / 1080;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(16, 17, 20, 0.09);
  background: rgba(255, 255, 255, 0.72);
}

.gig-meta h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.gig-meta p {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.button-link {
  appearance: none;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  font-weight: 700;
  font-size: 0.93rem;
  padding: 0 14px;
  color: #ffffff;
  background:
    linear-gradient(
      130deg,
      var(--pink),
      var(--blue)
    );
}

.about-layout {
  display: grid;
  gap: 12px;
  align-items: start;
}

.about-photo {
  width: 100%;
  border-radius: 0;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  border: 0;
  background: transparent;
  padding: 0;
}

.about-text {
  display: grid;
  gap: 0;
}

.about-text p {
  margin: 0;
}

.about-more {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.about-more summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  order: 0;
  margin-top: 12px;
  margin-bottom: 10px;
}

.about-more summary::-webkit-details-marker {
  display: none;
}

.about-more p {
  order: 1;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.22s ease, margin-top 0.3s ease;
}

.about-more[open] summary {
  order: 2;
  margin-top: 12px;
  margin-bottom: 0;
}

.about-more[open] p {
  max-height: 520px;
  opacity: 1;
  margin-top: 12px;
}

.about-more .label-collapse {
  display: none;
}

.about-more[open] .label-read-more {
  display: none;
}

.about-more[open] .label-collapse {
  display: inline;
}

.photo-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.photo-grid img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(16, 17, 20, 0.09);
  background: rgba(255, 255, 255, 0.6);
  cursor: zoom-in;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.photo-grid img:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 10px 24px rgba(16, 17, 20, 0.14);
}

.photo-grid .wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.photo-grid .tall {
  aspect-ratio: 4 / 5;
}

.photo-grid .square {
  aspect-ratio: 1 / 1;
}

.photo-controls {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.gallery-toggle {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
}

.gallery-note {
  margin-top: 8px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  padding: max(18px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(8, 10, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  display: grid;
  place-items: center;
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-inner {
  position: relative;
  width: min(100%, 1040px);
  max-height: 92svh;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.24s ease;
}

.lightbox[aria-hidden="false"] .lightbox-inner {
  transform: translateY(0) scale(1);
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: 92svh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.24);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.lightbox-open {
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.field-row {
  display: grid;
  gap: 10px;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(16, 17, 20, 0.15);
  background: rgba(255, 255, 255, 0.8);
  font: inherit;
  color: var(--text);
  padding: 10px 12px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.help-text {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.form-error {
  margin: 0;
  color: #b3103f;
  font-weight: 700;
  font-size: 0.86rem;
  min-height: 1.1em;
}

.subtle-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--pink) 12%, transparent), transparent 26%),
    radial-gradient(circle at 82% 24%, color-mix(in srgb, var(--yellow) 11%, transparent), transparent 24%),
    radial-gradient(circle at 60% 80%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 28%);
  opacity: 0.9;
}

@media (min-width: 720px) {
  .content {
    gap: 18px;
  }

  .gigs-list {
    gap: 14px;
  }

  .gig-card {
    grid-template-columns: minmax(0, 1fr) 1fr;
    gap: 14px;
  }

  .about-layout {
    grid-template-columns: minmax(0, 230px) 1fr;
    gap: 16px;
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-grid .wide {
    grid-column: span 2;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star {
    animation: none !important;
    transform:
      translate3d(var(--x), var(--y), 0)
      rotate(0deg);
  }
}
