/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  height: 100%;
  overflow-x: clip;
}

body {
  overflow-x: clip;
  max-width: 100vw;
  font-family: 'Inter', sans-serif;
  background: #0d1a3a;
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 28px;
  background: transparent;
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 4px;
  transition: opacity 0.2s;
}
.header-btn:hover { opacity: 0.75; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Now Playing dropdown */
.now-playing-wrap { position: relative; }
.now-playing-btn { gap: 8px; }
.chevron { transition: transform 0.3s; }
.now-playing-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.now-playing-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 300px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.now-playing-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.08); }

.dropdown-show-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dropdown-show-dates {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.65;
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════
   FULLSCREEN MENU OVERLAY
═══════════════════════════════════════════════════ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.menu-close {
  position: absolute;
  top: 24px;
  left: 28px;
  background: none;
  border: none;
  color: #cc2200;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: opacity 0.2s, transform 0.2s;
}
.menu-close:hover { opacity: 0.7; transform: scale(1.1); }

.menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.menu-nav-item {
  display: block;
  font-family: 'Bangers', cursive;
  font-size: clamp(36px, 7vw, 72px);
  letter-spacing: 0.06em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1.15;
  transition: color 0.2s, transform 0.2s;
  opacity: 0;
  transform: translateY(20px);
}
.menu-overlay.open .menu-nav-item { opacity: 1; transform: translateY(0); }
.menu-overlay.open .menu-nav-item[data-index="0"] { transition: opacity 0.35s 0.1s ease, transform 0.35s 0.1s ease; }
.menu-overlay.open .menu-nav-item[data-index="1"] { transition: opacity 0.35s 0.18s ease, transform 0.35s 0.18s ease; }
.menu-overlay.open .menu-nav-item[data-index="2"] { transition: opacity 0.35s 0.26s ease, transform 0.35s 0.26s ease; }
.menu-nav-item:hover { color: #fdd82a; transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  max-height: 100vh;
  background: #000;
  overflow: hidden;
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-video-landscape {
  aspect-ratio: 3840 / 2000;
}

.hero-video-portrait {
  display: none;
  aspect-ratio: 1080 / 1920;
}

@media (max-width: 540px) {
  .hero-video-landscape { display: none; }
  .hero-video-portrait  { display: block; }
}


.hero-leaf-edge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 110px;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  z-index: 2;
}

.see-the-show-leaf-edge {
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

.ats-top-leaf {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  z-index: 2;
}


/* ═══════════════════════════════════════════════════
   SEE THE SHOW SECTION
═══════════════════════════════════════════════════ */
#see-the-show {
  background: #00A836;
  position: relative;
  z-index: 1;
  margin-top: -2px;
  margin-bottom: -1px;
  min-height: 80px;
  display: flex;
  align-items: center;
}


.see-the-show-row {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 72px 0;
}

.see-the-show-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  padding: 0 24px;
}

.character {
  flex: 0 0 clamp(120px, 16vw, 260px);
  width: clamp(120px, 16vw, 260px);
  height: auto;
  pointer-events: none;
}

.character-jimmy {
  transform-origin: bottom center;
  animation: sway-jimmy 3.4s ease-in-out infinite;
}

.character-mojo {
  transform-origin: bottom center;
  animation: sway-mojo 3s ease-in-out infinite;
}

@keyframes sway-jimmy {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50%       { transform: rotate(1deg) translateY(-10px); }
}

@keyframes sway-mojo {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50%       { transform: rotate(-1deg) translateY(-12px); }
}

.see-the-show-heading {
  display: block;
  width: 100%;
  max-width: clamp(200px, 75%, 780px);
  height: auto;
  margin: 0 auto 32px;
}

.more-dates {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0d1a3a;
  text-align: center;
}

.seasons-list {
  display: flex;
  flex-direction: column;
}

.season-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(13, 26, 58, 0.15);
  color: #0d1a3a;
  text-decoration: none;
  transition: padding-left 0.2s;
}
.season-row:first-child { border-top: 1px solid rgba(13, 26, 58, 0.15); }
.season-row:hover { padding-left: 10px; }

.season-name {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.season-dates {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.65;
  white-space: nowrap;
}

.season-tickets {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1650CC;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   WHAT PEOPLE ARE SAYING
═══════════════════════════════════════════════════ */
#what-people-say {
  background: #0c3895;
  position: relative;
  padding: 20px 40px 200px;
}

.wps-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 60px;
}

.wps-title-col {
  position: relative;
  min-width: 0;
  padding-top: calc(50vh - 245px);
}

.wps-heading-wrap {
  position: sticky;
  top: calc(50vh - 120px);
}

.wps-heading-canvas {
  width: 100%;
  height: auto;
  display: block;
}

.wps-quotes-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: calc(50vh - 245px + 280px);
  padding-bottom: 280px;
}

.quotes-cols-row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.quotes-col-left,
.quotes-col-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.quote-card {
  break-inside: avoid;
  margin-bottom: 16px;
  padding: 22px 20px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  transform: rotate(var(--rot, 0deg)) translateY(var(--slide, 40px));
  opacity: 0;
  transition: opacity 0.5s ease var(--delay, 0s);
  will-change: transform;
}

.quote-card.visible {
  opacity: 1;
  --slide: 0px;
}

.quote-text {
  font-family: 'Bangers', cursive;
  font-size: clamp(16px, 2vw, 28px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.quote-attr {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.quote-stars {
  margin-top: 8px;
  color: #fdd82a;
  font-size: 24px;
  letter-spacing: 4px;
  text-align: center;
}

.wps-video-row {
  width: 100%;
}

.wps-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.wps-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 900px) {
  .wps-inner { grid-template-columns: 1fr; gap: 40px; }
  .wps-heading-wrap { position: static; top: auto; }
  .wps-quotes-col { padding-top: 0; padding-bottom: 0; }
  .quotes-cols-row { flex-direction: column; }
  .quotes-col-right { margin-top: 0; }
}

/* ═══════════════════════════════════════════════════
   ABOUT THE SHOW
═══════════════════════════════════════════════════ */
#about-the-show {
  background: #F9D314;
  position: relative;
  padding: clamp(130px, 10vw, 180px) 5% 120px;
  margin-bottom: -1px;
}

.ats-row {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1600px;
  margin: 0 auto;
}

.ats-text-col {
  flex: 1 1 0;
  min-width: 0;
}

.ats-heading-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}


.ats-line-sub {
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  color: #0d1a3a;
  line-height: 1.7;
  text-align: center;
}


.ats-video-col {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 80px;
}

.ats-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.ats-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
}

.video-facade-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.video-facade:hover .video-facade-thumb {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-facade:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
}

.watch-trailer-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.sketch-arrow {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.watch-trailer-heading {
  width: clamp(200px, 85%, 480px);
  height: auto;
}

/* ═══════════════════════════════════════════════════
   PHOTO REVEAL
═══════════════════════════════════════════════════ */
#photo-reveal {
  height: 100vh;
  background: url('../assets/live-2.webp') center center / cover no-repeat;
  background-attachment: fixed;
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
#contact {
  background: #0c3895;
  position: relative;
  padding: 80px 40px 80px;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  text-align: center;
}

.contact-heading-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}

.contact-items {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.contact-item {
  flex: 1;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-divider {
  width: 24px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.contact-detail {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.contact-detail a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s, opacity 0.2s;
}

.contact-detail a:hover {
  border-color: #fff;
  opacity: 0.75;
}

@media (max-width: 768px) {
  #contact { padding: 60px 20px 60px; }
  .contact-items { flex-direction: column; }
  .contact-divider { width: 0; height: 16px; }
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#site-footer {
  background: #060e20;
  padding: 40px 28px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social-link {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-social-link:hover { color: #fff; }

.footer-producer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-presented-by {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.footer-gigbox-logo {
  height: 32px;
  width: auto;
  opacity: 0.6;
  filter: invert(1);
  mix-blend-mode: screen;
  transition: opacity 0.2s;
}
.footer-gigbox-logo:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  #site-header {
    display: none;
  }

  .hero {
    max-height: calc(100vh - 50px);
  }

  /* Hero leaf edge — pull down slightly to kill the seam */
  .hero-leaf-edge {
    height: 50px;
    bottom: -2px;
  }

  /* Bottom of yellow section leaf — same height as top */
  .see-the-show-leaf-edge {
    height: 50px;
  }

  .see-the-show-row {
    display: grid;
    grid-template-areas:
      "content content"
      "jimmy   mojo";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 36px 20px 0;
    gap: 0;
  }

  .see-the-show-inner {
    grid-area: content;
    padding: 0 0 28px;
    width: 100%;
    text-align: center;
  }

  .seasons-list {
    align-items: center;
  }

  .character-jimmy {
    grid-area: jimmy;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 220px;
    margin: 0 auto;
    align-self: end;
  }

  .character-mojo {
    grid-area: mojo;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 220px;
    margin: 0 auto;
    align-self: end;
  }

  .see-the-show-heading {
    max-width: 65%;
    margin-bottom: 20px;
  }

  .season-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    padding: 14px 0;
  }

  .season-name {
    font-size: 13px;
    flex: unset;
  }

  .season-dates {
    display: block;
    flex: unset;
    font-size: 12px;
    opacity: 0.65;
    white-space: normal;
  }

  .season-tickets {
    font-size: 12px;
    white-space: nowrap;
    flex: unset;
    margin-top: 4px;
  }

  .more-dates {
    font-size: 14px;
  }

  /* About the Show — single column, video first */
  #about-the-show {
    padding: 40px 20px 60px;
  }

  .ats-row {
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
  }

  /* display:contents promotes children to flex items so we can reorder freely */
  .ats-text-col {
    display: contents;
  }

  /* Order: 1 heading, 2 video, 3 text */
  .ats-heading-img {
    order: 1;
    width: 100%;
    margin-bottom: 8px;
  }

  .ats-video-col {
    flex: none;
    width: 100%;
    margin-top: 0;
    order: 2;
  }

  .ats-text-col > div.ats-fade {
    order: 3;
  }

  .ats-line-sub {
    font-size: clamp(16px, 4.2vw, 20px);
  }


  /* Quotes — bigger text, edge-to-edge, publication reviews first */
  .quote-text {
    font-size: clamp(22px, 6vw, 30px);
  }

  .quote-attr {
    font-size: 11px;
  }

  .quote-card {
    padding: 18px 16px 14px;
  }

  /* Flatten two columns into one, reorder so pub reviews are top 3 */
  .wps-quotes-col {
    gap: 0;
    align-items: stretch;
  }

  .quotes-col-left,
  .quotes-col-right {
    display: contents;
  }

  /* All cards default to back of the queue */
  .quote-card { order: 10; }

  /* Left col card 1 (One Four Review) — already position 1 */
  .quotes-col-left .quote-card:nth-child(1) { order: 1; }
  /* Left col card 2 (Mix Up Theatre Junior) — already position 2 */
  .quotes-col-left .quote-card:nth-child(2) { order: 2; }
  /* Stage Door Joe moved to position 3 */
  .quote-pub { order: 3; }

  /* Photo reveal — fixed attachment broken on iOS */
  #photo-reveal {
    background-attachment: scroll;
    height: 60vw;
    min-height: 260px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  /* Dropdown — keep on screen */
  .now-playing-dropdown {
    right: 0;
    left: auto;
    min-width: 260px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (portrait video breakpoint)
═══════════════════════════════════════════════════ */
@media (max-width: 540px) {
  .hero-leaf-edge {
    height: 30px;
  }

  .see-the-show-row {
    padding: 40px 20px 24px;
  }
}
