/* Premiere page: layers on top of assets/styles.css so header, hero, footer and buttons match the series site */

.desktop-nav a {
  color: #f8f8f6;
  text-decoration: none;
  padding: .7rem 0;
  font-size: .75rem;
  position: relative;
}
.desktop-nav a:after {
  content: "";
  background: #d6a756;
  height: 1px;
  transition: right .25s;
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 100%;
}
.desktop-nav a:hover:after { right: 0; }

.status-pill { text-decoration: none; color: #f8f8f6; }

.mobile-menu>a {
  color: #f8f8f6;
  text-decoration: none;
  font-family: var(--font-display);
  border-bottom: 1px solid #f8f8f629;
  grid-template-columns: 2.5rem 1fr;
  padding: 1.2rem 0;
  font-size: clamp(2rem, 9vw, 4rem);
  display: grid;
}
.mobile-menu>a span { font-family: var(--font-sans); color: #d6a756; font-size: .6rem; }

.premiere-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 1.6rem;
}
.premiere-lead h2 { font-size: clamp(2.4rem, 4.5vw, 4rem); letter-spacing: -.035em; line-height: 1.05; }
.premiere-lead h2 em { font-family: var(--font-display); font-style: italic; color: #d6a756; font-weight: 500; }
.premiere-lead .eyebrow { display: block; }
.premiere-copy { color: #6e7378; font-size: 1.05rem; margin: 1.2rem 0 1.8rem; max-width: 36rem; }

.premiere-details,
.premiere-travel { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); padding: clamp(5rem, 10vw, 9rem) max(5vw, 50vw - 660px); }
.premiere-lead, .premiere-card { min-width: 0; }

.premiere-details { background: #102a42; color: #f8f8f6; }
.premiere-card { grid-template-columns: 1fr; }
.premiere-card > div { grid-template-columns: 1fr; gap: .6rem; padding: 1.4rem 0; }
.premiere-card strong { font-size: 1.1rem; font-family: var(--font-display); font-weight: 600; }

/* Venue */
.premiere-venue-hero { position: relative; height: clamp(200px, 28vh, 300px); display: flex; align-items: flex-end; color: #f8f8f6; overflow: hidden; }
.premiere-venue-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.premiere-venue-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(5, 17, 28, .92) 100%); }
.premiere-venue-caption { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 4rem) max(5vw, 50vw - 660px); }
.premiere-venue-caption h2 { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.03em; margin-top: 1rem; }

.premiere-venue-body { background: #f8f8f6; color: #102a42; display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.premiere-venue-info { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.premiere-venue-info > div { display: grid; gap: .5rem; padding-top: 1.2rem; border-top: 2px solid #d6a756; }
.premiere-venue-info span { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #d6a756; }
.premiere-venue-info strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.25; }
.premiere-venue-body .primary-button { background: #183a5a; color: #f8f8f6; justify-self: start; }

.premiere-gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.premiere-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Getting there */
.premiere-directions { display: grid; gap: 1px; background: #183a5a22; }
.premiere-directions > div { background: #f8f8f6; padding: 2rem 1.6rem; display: grid; gap: .8rem; border-top: 2px solid #d6a756; }
.premiere-directions span { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #d6a756; }
.premiere-directions p { color: #183a5a; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; }

/* RSVP: gold section, everything sits in navy */
.premiere-rsvp { background: #d6a756; color: #102a42; padding: clamp(5rem, 10vw, 9rem) max(5vw, 50vw - 660px); display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr); }
.premiere-rsvp .eyebrow { color: #102a42; }
.premiere-rsvp h2 { color: #102a42; }
.premiere-rsvp h2 em { color: #102a42; }
.premiere-rsvp .premiere-copy { color: #102a42; }
.premiere-form { display: grid; gap: 1.6rem; }
.premiere-form label { display: grid; gap: .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #102a42; }
.premiere-form input[type="text"],
.premiere-form input[type="tel"],
.premiere-form input[type="email"] {
  font: 400 1rem/1.2 var(--font-sans);
  letter-spacing: 0;
  text-transform: none;
  color: #102a42;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #102a42;
  padding: .6rem 0;
  width: 100%;
  outline: none;
  transition: border-color .25s;
}
.premiere-form input::placeholder { color: #102a42; opacity: .9; }
.premiere-form input:focus { border-bottom-color: #102a42; border-bottom-width: 2px; }
.premiere-form fieldset { border: 0; display: grid; gap: 1rem; }
.premiere-form legend { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #102a42; margin-bottom: .2rem; }
.premiere-choices { display: grid; gap: .8rem; grid-template-columns: 1fr; }
.premiere-choice {
  display: flex !important;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #102a42;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #102a42 !important;
  cursor: pointer;
  transition: border-color .25s, background .25s, color .25s;
}
.premiere-choice:has(input:checked) { background: #102a42; color: #d6a756 !important; border-color: #102a42; }
.premiere-choice input { accent-color: #102a42; width: 18px; height: 18px; }
.premiere-form .primary-button { background: #102a42; color: #f8f8f6; justify-self: start; }
.premiere-form .primary-button:hover { background: #05111c; }

.premiere-app-links { display: grid; gap: .8rem; padding-top: .4rem; }
.premiere-app-links-label { font-size: .95rem; font-weight: 600; color: #102a42; }
.premiere-app-links-badges { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.premiere-app-links-badges img { width: auto; display: block; }
.premiere-app-links-badges .badge-google-play { height: 51px; }
.premiere-app-links-badges .badge-app-store { height: 44px; }

#top .hero-slide { object-position: 50% 50%; }

.premiere-rsvp-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-top: 2rem; }

.premiere-notice { padding: 1.1rem 1.3rem; margin-bottom: 1.8rem; font-weight: 600; }
.premiere-notice-ok { background: #102a42; color: #f8f8f6; }
.premiere-notice-error { background: #f8f8f6; color: #9a3b1f; }

@media (min-width: 900px) {
  .premiere-card { grid-template-columns: repeat(4, 1fr); }
  .premiere-details { grid-template-columns: minmax(0, 1fr); }
  .premiere-venue-body { grid-template-columns: 1fr 1.6fr; align-items: start; padding: clamp(5rem, 10vw, 9rem) max(5vw, 50vw - 660px); }
  .premiere-venue-info { grid-template-columns: 1fr 1fr; }
  .premiere-venue-body .premiere-gallery { grid-column: 1 / -1; }
  .premiere-directions { grid-template-columns: repeat(3, 1fr); }
  .premiere-rsvp { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .premiere-choices { grid-template-columns: 1fr 1fr; }
  .premiere-form-card { margin-top: 30px; }
  .premiere-venue-body .premiere-gallery img { max-width: 520px; }
}

/* Seat picker: a step inside the RSVP form */
.premiere-form .seat-fieldset { gap: .8rem; }
.seat-hint { font-size: .95rem; color: #102a42; opacity: .85; }
.premiere-form .seat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(46px, 1fr)); gap: 8px; max-height: 240px; overflow-y: auto; padding: 6px 12px 6px 2px; scrollbar-width: thin; scrollbar-color: #102a42 transparent; }
.premiere-form .seat-grid::-webkit-scrollbar { width: 6px; }
.premiere-form .seat-grid::-webkit-scrollbar-track { background: transparent; }
.premiere-form .seat-grid::-webkit-scrollbar-thumb { background: #102a42; border-radius: 999px; }
.premiere-form .seat-option { position: relative; display: block; cursor: pointer; font: inherit; letter-spacing: 0; text-transform: none; }
.premiere-form .seat-option input { position: absolute; opacity: 0; pointer-events: none; }
.premiere-form .seat-option span { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; aspect-ratio: 1; font-size: .78rem; font-weight: 600; color: #d6a756; }
.premiere-form .seat-option span::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #102a42; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12a2 2 0 0 1 2 2v9h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v2h-2v-2H8v2H6v-2H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h1V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12a2 2 0 0 1 2 2v9h1a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-1v2h-2v-2H8v2H6v-2H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1h1V5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat; transition: background .2s; }
.premiere-form .seat-option:hover span::before { background: #05111c; }
.premiere-form .seat-option input:checked + span { color: #102a42; }
.premiere-form .seat-option input:checked + span::before { background: #f8f8f6; }
.premiere-form .seat-option input:focus-visible + span { outline: 2px solid #102a42; outline-offset: 2px; }
.premiere-form .seat-option input:disabled + span { opacity: .3; text-decoration: line-through; cursor: not-allowed; }

.seat-hint-error { color: #9a3b1f; font-weight: 600; }

/* Cinematic premiere look */
#top { isolation: isolate; }
#top::before,
#top::after { content: ""; position: absolute; left: 0; right: 0; height: 7vh; background: #05111c; z-index: 3; pointer-events: none; }
#top::before { top: 0; }
#top::after { bottom: 0; }
#top .hero-slides::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
#top .hero-scrim { background: color-mix(in srgb, var(--overlay-color, #05111c) calc(var(--overlay-opacity, .6) * 100%), transparent); }
#top .hero-content { z-index: 2; }
#top .hero-credit { z-index: 4; }
.premiere-title { animation: riseIn 1.6s cubic-bezier(.2, .7, .2, 1) .3s both; text-shadow: 0 6px 40px rgba(5, 17, 28, .5); }
#top .hero-meta, #top .hero-logline, #top .hero-actions { animation: softIn 1.4s ease .9s both; }

.premiere-rsvp { position: relative; overflow: hidden; }
.premiere-rsvp::before { content: ""; position: absolute; top: -20%; left: 50%; width: 120%; height: 90%; transform: translateX(-50%); background: radial-gradient(ellipse at center top, rgba(248, 248, 246, .35) 0%, transparent 60%); pointer-events: none; }
.premiere-rsvp > * { position: relative; }
.premiere-rsvp .eyebrow { letter-spacing: .32em; }
.premiere-rsvp h2 { text-shadow: 0 2px 24px rgba(248, 248, 246, .25); }

@media (prefers-reduced-motion: reduce) {
  .premiere-title, #top .hero-meta, #top .hero-logline, #top .hero-actions { animation: none; }
}

/* Venue: cream info column beside a navy portrait photo */
.premiere-venue-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.premiere-venue-left { background: #f8f8f6; color: #102a42; padding: clamp(3.5rem, 7vw, 5rem) max(5vw, 50vw - 660px); display: grid; gap: 2.8rem; align-content: start; }
.premiere-venue-right { background: #102a42; color: #f8f8f6; padding: clamp(3.5rem, 7vw, 5rem) 5vw; display: grid; gap: 2.8rem; align-content: start; }
.premiere-venue-right h2 { color: #f8f8f6; }
.premiere-venue-right h2 em { color: #d6a756; }
.premiere-directions-stack { display: grid; }
.premiere-directions-stack > div { display: grid; gap: .6rem; padding: 1.6rem 0; border-top: 1px solid #d6a75666; }
.premiere-directions-stack > div:last-child { border-bottom: 1px solid #d6a75666; }
.premiere-directions-stack span { font-size: .68rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #d6a756; }
.premiere-directions-stack p { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.3; color: #f8f8f6; }
.premiere-venue-left .primary-button { background: #183a5a; color: #f8f8f6; justify-self: start; }

/* Countdown in the hero */
.premiere-countdown { display: flex; gap: clamp(1rem, 3vw, 2rem); margin: 0 0 2.2rem; }
.premiere-countdown > div { display: grid; gap: .3rem; min-width: 4.2rem; padding-right: clamp(1rem, 3vw, 2rem); border-right: 1px solid #d6a75666; }
.premiere-countdown > div:last-child { border-right: 0; }
.premiere-countdown strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); font-weight: 600; line-height: 1; color: #d6a756; font-variant-numeric: tabular-nums; }
.premiere-countdown span { font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #f8f8f6; opacity: .85; }

@media (min-width: 900px) {
  .premiere-venue-split { grid-template-columns: 1fr 1fr; min-height: 620px; }
}
.premiere-venue-photo { width: 100%; max-width: 520px; aspect-ratio: 4 / 3; object-fit: cover; }

/* Header actions: RSVP pill + Donate, grouped as one grid item */
.header-actions { display: flex; align-items: center; gap: .6rem; justify-self: end; }
.header-actions .status-pill { justify-self: auto; }
.donate-pill {
  text-align: center;
  color: #102a42;
  cursor: pointer;
  background: #d6a756;
  border: 1px solid #d6a756;
  padding: .65rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.donate-pill:hover { background: transparent; color: #f8f8f6; }
@media (max-width: 1050px) {
  .header-actions { display: none; }
}

/* Support / donate section */
.premiere-support {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 0%, #183a5a 0%, #102a42 55%, #05111c 100%);
  color: #f8f8f6;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 1.4rem;
}
.premiere-support-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(18rem, 42vw, 34rem);
  height: auto;
  transform: translate(-50%, -50%);
  color: #d6a756;
  opacity: .08;
  z-index: -1;
  pointer-events: none;
}
.premiere-support .eyebrow { font-size: .78rem; letter-spacing: .32em; }
.premiere-support h2 { max-width: 34rem; font-size: clamp(2.6rem, 6vw, 4.4rem); color: #f8f8f6; }
.premiere-support h2 em { color: #d6a756; }
.premiere-support .premiere-copy { max-width: 38rem; margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.7; color: #f8f8f6cc; }

.paypal-donate {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: .4rem;
  padding: 1.15rem 2.4rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #f8f8f6;
  background: #1a56c4;
  border: 0;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.paypal-donate:hover,
.paypal-donate:focus-visible {
  background: #f5c518;
  color: #102a42;
  transform: translateY(-2px);
}
.paypal-donate svg { flex-shrink: 0; }

/* Keep the golden divider behind the fixed header, not drawn on top of it */
.golden-bar { z-index: 1; }

/* RSVP welcome splash */
.rsvp-splash {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f8f8f6;
  background: #05111c;
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
}
.rsvp-splash.dragging { transition: none; }
.rsvp-splash-bg { position: absolute; inset: 0; z-index: 0; }
.rsvp-splash-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.4) saturate(1.1); }
.rsvp-splash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at 50% 38%, rgba(16, 42, 66, .35) 0%, rgba(5, 17, 28, .88) 70%, #05111c 100%);
}
.rsvp-splash-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .13;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rsvp-splash { padding-bottom: clamp(160px, 30vh, 250px); }
.rsvp-splash-content { position: relative; z-index: 3; max-width: 36rem; padding: 0 1.5rem; }
.rsvp-splash-logo { width: clamp(210px, 33vw, 320px); height: auto; margin: 0 auto .8rem; filter: drop-shadow(0 10px 30px rgba(5, 17, 28, .6)); }
.rsvp-splash-content .eyebrow { letter-spacing: .32em; }
.rsvp-splash-content h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 5.6vw, 4rem); line-height: 1.08; margin: .7rem 0 1.4rem; }
.rsvp-splash-copy { font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.75; color: #f8f8f6d9; margin: 0; }

.rsvp-splash-drag {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 7vh, 56px);
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  background: none;
  border: 0;
  color: #f8f8f6;
  cursor: grab;
  touch-action: none;
}
.rsvp-splash-drag:active { cursor: grabbing; }
.rsvp-splash-drag { bottom: clamp(16px, 4vh, 36px); gap: 0; user-select: none; -webkit-user-select: none; }

/* Bouncing anchor: arrow, line, and a ring-text medallion holding the favicon */
.rsvp-anchor {
  --badge: clamp(108px, 17vh, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #d6a756;
  animation: rsvpAnchorBounce 1.9s ease-in-out infinite;
}
.rsvp-anchor-arrow { display: block; }
.rsvp-anchor-line {
  position: relative;
  width: 1px;
  height: clamp(22px, 5vh, 44px);
  margin: 2px 0 6px;
  background: linear-gradient(#d6a756, #d6a756aa);
}
.rsvp-anchor-line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 38%;
  width: 5px;
  height: 5px;
  background: #d6a756;
  transform: translate(-50%, -50%) rotate(45deg);
}
.rsvp-anchor-badge { position: relative; width: var(--badge); height: var(--badge); display: block; }
.rsvp-anchor-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rsvp-anchor-ring text { font: 700 13px var(--font-sans); letter-spacing: .2em; }
.rsvp-anchor-ring text:first-of-type { fill: #f3d9a4; }
.rsvp-anchor-ring text:last-of-type { fill: #d6a756; }
.rsvp-anchor-disc {
  position: absolute;
  inset: 19%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0b1d30;
  box-shadow: 0 0 0 3px #d6a756, 0 0 0 5px #0b1d30, 0 0 0 6px #d6a75699, 0 10px 24px -8px rgba(0, 0, 0, .7);
}
.rsvp-anchor-disc img { width: 54%; height: auto; }
@keyframes rsvpAnchorBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (max-width: 600px) {
  .rsvp-splash { padding-bottom: clamp(170px, 27vh, 240px); }
  .rsvp-splash-logo { width: min(78vw, 300px); margin-bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .rsvp-anchor { animation: none; }
}

/* Mute FAB */
.audio-fab {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 200;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #102a42;
  border: 1px solid #d6a75666;
  color: #d6a756;
  cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(5, 17, 28, .7);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.audio-fab:hover { background: #d6a756; color: #102a42; transform: scale(1.06); }
.audio-fab[aria-pressed="true"] .icon-sound { display: none; }
.audio-fab[aria-pressed="true"] .icon-muted { display: block; }
.audio-fab .icon-muted { display: none; }
