:root {
  --background: hsl(200 40% 97%);
  --foreground: hsl(210 60% 15%);
  --card: hsl(200 50% 93%);
  --primary: hsl(199 89% 48%);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(340 82% 62%);
  --muted: hsl(200 30% 90%);
  --muted-foreground: hsl(210 20% 45%);
  --accent: hsl(45 100% 55%);
  --border: hsl(200 30% 85%);
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

main { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Baloo 2', cursive;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

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

/* === TOP NAV === */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: hsl(200 40% 97% / 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(200 30% 85% / 0.5);
}

section[id] { scroll-margin-top: 6rem; }
@media (min-width: 768px) { section[id] { scroll-margin-top: 7rem; } }

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  height: 3.5rem;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .brand img { height: 4.5rem; }
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: var(--primary-foreground) !important;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: hsl(199 89% 42%); color: var(--primary-foreground) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
}

/* === CAST PHOTO / HERO === */
.cast-photo {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-top: 5.5rem;
  padding: 0;
  overflow: hidden;
  background: #fff;
}
.cast-photo img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 767px) {
  .cast-photo { height: auto; }
  .cast-photo img { height: auto; width: 100%; object-fit: contain; }
}
@media (min-width: 768px) {
  .cast-photo { margin-top: 6.5rem; }
}
/* === MARQUEE === */
.marquee {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 0;
  margin-top: 2rem;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: clamp(1rem, 1.4vw, 1.5rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: default;
  transition: color 0.2s, transform 0.2s;
}
.marquee-track span:hover {
  color: var(--accent);
  transform: scale(1.1);
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === SECTION SHARED === */
section { padding: 4rem 1.25rem; }
@media (min-width: 768px)  { section { padding: 15vh 3rem; } }
@media (min-width: 1024px) { section { padding-left: 4rem; padding-right: 4rem; } }

.section-head { margin-bottom: 2rem; }
@media (min-width: 768px) { .section-head { margin-bottom: 4rem; } }

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.display-xl {
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 0.9;
  color: var(--foreground);
}
.display-lg {
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.95;
  color: var(--foreground);
}

.tabular-nums { font-variant-numeric: tabular-nums; }

/* === SCHEDULE === */
.schedule { padding-top: 3rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .schedule { padding-bottom: 15vh; } }
.show-list { border-bottom: 1px solid var(--border); }
.show-list[data-state="loading"],
.show-list[data-state="empty"],
.show-list[data-state="error"] {
  border-top: 1px solid var(--border);
  padding: 2rem 0.25rem;
}
.show-status {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  padding: 0.25rem 0;
}
.show-status a { color: var(--primary); font-weight: 600; }

.show {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.6rem;
  padding: 1.1rem 0.75rem;
  border-top: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0 -0.5rem;
  transition: background 0.2s, transform 0.2s;
}
.show-emoji { order: 1; }
.show-date  { order: 2; }
.show-day   { order: 3; }
.show-time  { order: 4; }
.show-book  { order: 5; margin-left: auto; }
.show-name  { order: 6; flex: 1 1 100%; padding-top: 0.1rem; }
.show-venue { order: 7; flex: 1 1 100%; }
.show-day::before, .show-time::before {
  content: "·";
  margin-right: 0.4rem;
  color: var(--border);
}
@media (max-width: 767px) {
  .show-date { font-size: 1.1rem; line-height: 1; }
  .show-day, .show-time { font-size: 0.8rem; }
  .show-emoji { font-size: 1.3rem; }
  .show-book { font-size: 0.7rem; letter-spacing: 0.18em; }
  .show-name { font-size: 0.7rem; }
  .show-venue { font-size: 0.85rem; }
}

.show:hover {
  background: hsl(199 89% 48% / 0.1);
  transform: scale(1.01);
}

.show-emoji { font-size: 1.5rem; }
.show-date {
  font-family: 'Baloo 2', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.show-day, .show-time, .show-venue {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.show-day { text-transform: uppercase; }
.show-name {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 600;
}
.show-book {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  font-weight: 600;
  transition: color 0.15s;
}
.show:hover .show-book { color: var(--secondary); }

@media (min-width: 768px) {
  .show {
    display: grid;
    grid-template-columns: 3rem 7rem 4rem 5rem minmax(0, 1fr) 16rem 5rem;
    column-gap: 1.5rem;
    padding: 1.5rem 1rem;
    margin: 0 -1rem;
  }
  .show > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .show-emoji, .show-date, .show-day, .show-time,
  .show-name, .show-venue, .show-book { order: 0; flex: initial; }
  .show-name, .show-venue { padding-top: 0; }
  .show-day::before, .show-time::before { content: none; }
  .show-book { margin-left: 0; text-align: right; }
}

.pricing {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pricing h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-grid > div {
  display: flex;
  justify-content: space-between;
}
@media (min-width: 640px) {
  .price-grid > div { flex-direction: column; gap: 0.25rem; }
}
.price-label { color: var(--muted-foreground); font-size: 0.9rem; }
.price-value { font-weight: 700; font-size: 1.1rem; }

/* === ABOUT === */
.about { border-top: 1px solid var(--border); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: repeat(12, 1fr); }
  .about-head { grid-column: span 5; }
  .about-body { grid-column: 6 / span 7; }
}
.about-body p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

/* === CAST === */
.cast { border-top: 1px solid var(--border); }
.cast-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px)  { .cast-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cast-grid { grid-template-columns: repeat(4, 1fr); } }

.cast-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
  isolation: isolate;
}
.cast-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--cast-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}
.cast-card:hover {
  transform: translateY(-4px);
  border-color: hsl(199 89% 48% / 0.4);
  box-shadow: 0 10px 30px hsl(199 89% 48% / 0.08);
}
.cast-emoji { font-size: 3rem; margin-bottom: 1.5rem; }
.cast-card h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.cast-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.cast-bio {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.cast-fact {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.cast-fact span { color: var(--secondary); font-weight: 600; }

/* === REVIEWS === */
.reviews { border-top: 1px solid var(--border); }
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.review-card:hover {
  border-color: hsl(199 89% 48% / 0.4);
  box-shadow: 0 10px 30px hsl(199 89% 48% / 0.08);
}
.quote-mark {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 2.5rem;
  color: hsl(199 89% 48% / 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}
.review-card > p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.review-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.review-name { font-weight: 600; font-size: 0.9rem; }

/* === FAQ === */
.faq { border-top: 1px solid var(--border); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: repeat(12, 1fr); }
  .faq-head { grid-column: span 5; }
  .faq-list { grid-column: 6 / span 7; }
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--muted-foreground);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: var(--primary); }
.faq-item p {
  color: var(--muted-foreground);
  line-height: 1.6;
  padding-top: 1rem;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .site-footer { padding: 4rem 3rem; } }
@media (min-width: 1024px) { .site-footer { padding: 4rem 4rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
  }
}
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; color: var(--muted-foreground); line-height: 1.6; }
.footer-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--primary); }
.footer-col p { font-size: 0.9rem; color: var(--muted-foreground); }
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* === CONTACT === */
.contact { border-top: 1px solid var(--border); }
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
}
@media (min-width: 768px) { .contact-card { padding: 3rem; } }
.contact-head { text-align: center; margin-bottom: 2.5rem; }
.contact-sub {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  font-size: 1rem;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .contact-form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.field .req { color: var(--secondary); margin-left: 0.15rem; }
.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(199 89% 48% / 0.18);
}
.contact-error {
  grid-column: 1 / -1;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
}
.contact-submit {
  grid-column: 1 / -1;
  justify-self: center;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2.25rem;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.contact-submit:hover { background: hsl(199 89% 42%); transform: translateY(-1px); }
.contact-submit:active { transform: translateY(0); }
.contact-thanks { text-align: center; padding: 1rem 0; }
.contact-thanks .thanks-emoji { font-size: 3rem; margin-bottom: 1rem; }
.contact-thanks h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.contact-thanks p { color: var(--muted-foreground); line-height: 1.6; }
