:root {
  --ink: #07131c;
  --deep: #0c2433;
  --teal: #143d4f;
  --mist: #8fb4c4;
  --foam: #e8f2f6;
  --amber: #f07a2e;
  --amber-hot: #ff944d;
  --sand: #d4c4a8;
  --line: rgba(232, 242, 246, 0.14);
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--foam);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(240, 122, 46, 0.18), transparent 55%),
    radial-gradient(90% 60% at -10% 30%, rgba(20, 61, 79, 0.9), transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, var(--deep) 45%, #0a1c28 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.noise {
  display: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  height: var(--header-h);
  background: transparent;
  transition: background 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(7, 19, 28, 0.92);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.site-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 242, 246, 0.72);
  transition: color 0.25s var(--ease);
}

.site-nav a:hover {
  color: var(--foam);
}

.site-nav a.is-active {
  color: var(--foam);
}

.site-nav a.is-active:not(.nav-cta)::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.2rem;
  background: var(--amber);
  transform-origin: left;
  animation: underline-in 0.45s var(--ease) both;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-hot));
  transform: scaleX(0);
  transform-origin: left center;
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(240, 122, 46, 0.55);
  color: var(--amber-hot) !important;
}

.nav-cta:hover {
  background: rgba(240, 122, 46, 0.12);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--foam);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: translate3d(0, calc(var(--hero-shift, 0) * 1px), 0) scale(1.08);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 19, 28, 0.45) 0%, rgba(7, 19, 28, 0.2) 35%, rgba(7, 19, 28, 0.92) 88%, var(--ink) 100%),
    linear-gradient(90deg, rgba(7, 19, 28, 0.55) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  transform: translate3d(0, calc(var(--hero-fade-y, 0) * 1px), 0);
  opacity: var(--hero-opacity, 1);
}

.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 242, 246, 0.55);
  opacity: var(--hero-opacity, 1);
}

.scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(180deg, var(--amber), transparent);
  transform-origin: top;
  animation: scroll-pulse 2.2s ease-in-out infinite;
}

.brand-mark {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 7vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--foam);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-chat {
  margin: 0 0 1.35rem;
  max-width: 26rem;
}

.chat-shell {
  border: 1px solid rgba(232, 242, 246, 0.16);
  background: rgba(7, 19, 28, 0.82);
  padding: 0.85rem 0.95rem 1rem;
}

.chat-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 242, 246, 0.55);
}

.chat-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #5ddea0;
}

.chat-meta-muted {
  margin-left: auto;
  color: var(--amber-hot);
  letter-spacing: 0.16em;
}

.chat-feed {
  min-height: 3.6rem;
}

.chat-bubble {
  max-width: 100%;
  padding: 0.65rem 0.85rem;
  background: rgba(232, 242, 246, 0.08);
  border: 1px solid rgba(232, 242, 246, 0.12);
  color: rgba(232, 242, 246, 0.92);
  font-size: clamp(0.95rem, 2.2vw, 1.08rem);
  line-height: 1.35;
}

.chat-bubble.is-accent {
  background: rgba(240, 122, 46, 0.16);
  border-color: rgba(240, 122, 46, 0.35);
  color: #ffe1cc;
}

.chat-bubble .chat-who {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  color: rgba(232, 242, 246, 0.72);
  font-size: 1.02rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 0;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--amber-hot);
}

.btn-ghost {
  border-color: rgba(232, 242, 246, 0.35);
  background: rgba(7, 19, 28, 0.25);
  color: var(--foam);
}

.btn-ghost:hover {
  border-color: rgba(232, 242, 246, 0.7);
  background: rgba(7, 19, 28, 0.45);
}

section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-rail {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0;
  color: rgba(232, 242, 246, 0.68);
  font-weight: 300;
  font-size: 1.05rem;
}

.event {
  border-top: 1px solid var(--line);
}

.event-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: stretch;
  max-width: 68rem;
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  min-height: 18rem;
  background:
    linear-gradient(160deg, rgba(240, 122, 46, 0.95), rgba(240, 122, 46, 0.72)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 45%);
  color: var(--ink);
}

.event-day {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 14vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.event-month,
.event-time {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-month {
  margin-top: 0.5rem;
  font-size: 1.35rem;
}

.event-time {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

.event-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(0.25rem, 1vw, 0.5rem) 0;
}

.event-details dl {
  margin: 0;
  display: grid;
  gap: 1.35rem;
}

.event-details dt {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.3rem;
}

.event-details dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.schedule {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.schedule-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.schedule-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, calc(var(--sched-shift, 0) * 1%), 0) scale(1.12);
  transform-origin: center center;
}

html.is-scrolling .hero-img,
html.is-scrolling .schedule-bg-img {
  will-change: transform;
}

html.is-scrolling .hero-content {
  will-change: transform, opacity;
}

.schedule-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 19, 28, 0.9), rgba(7, 19, 28, 0.82) 45%, rgba(7, 19, 28, 0.94)),
    linear-gradient(90deg, rgba(7, 19, 28, 0.6), transparent 75%);
}

.schedule-inner {
  position: relative;
  z-index: 2;
}

.schedule-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 68rem;
  border-top: 1px solid var(--line);
}

.schedule-list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.schedule-list time,
.schedule-list .tba-label {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.schedule-list .slot {
  color: rgba(232, 242, 246, 0.7);
}

.schedule-list .status {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  text-align: right;
}

.schedule-list li.past {
  opacity: 0.42;
}

.schedule-list li.featured {
  position: relative;
  padding-block: 1.45rem;
  background: linear-gradient(90deg, rgba(240, 122, 46, 0.12), transparent 70%);
}

.schedule-list li.featured time,
.schedule-list li.featured .status {
  color: var(--amber-hot);
}

.schedule-list li.tba .tba-label,
.schedule-list li.tba .status {
  color: var(--sand);
}

.location {
  border-top: 1px solid var(--line);
}

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: stretch;
  max-width: 68rem;
}

.location-copy {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.launch {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.launch-label {
  margin: 0 0 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.launch h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.launch p {
  margin: 0;
  color: rgba(232, 242, 246, 0.68);
  font-weight: 300;
}

.map-frame {
  position: relative;
  min-height: 22rem;
  border: 1px solid var(--line);
  background: rgba(7, 19, 28, 0.55);
  overflow: hidden;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.crew-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 68rem;
}

.crew-grid a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 11rem;
  padding: 1.35rem 1.25rem;
  background: rgba(7, 19, 28, 0.55);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.crew-grid a:hover {
  background: rgba(240, 122, 46, 0.92);
  color: var(--ink);
}

.handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.role {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 1.75rem);
  max-width: 68rem;
}

.media-frame {
  margin: 0;
  overflow: hidden;
}

.media-frame img {
  width: 100%;
  height: auto;
}

.book {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(240, 122, 46, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(12, 36, 51, 0.4), rgba(7, 19, 28, 0.15));
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 68rem;
}

.book-layout .section-rail {
  margin-bottom: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(232, 242, 246, 0.18);
  border-radius: 0;
  background: rgba(7, 19, 28, 0.55);
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(240, 122, 46, 0.7);
  background: rgba(7, 19, 28, 0.8);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--mist);
}

.form-note.is-success {
  color: #9fd9b0;
}

.form-note.is-error {
  color: #ff8f7a;
}

.site-footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-meta,
.footer-copy {
  margin: 0;
  color: rgba(232, 242, 246, 0.5);
  font-size: 0.85rem;
}

section[data-section]:not(.hero):not(.schedule) {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity 0.7s var(--ease),
    transform 0.85s var(--ease);
}

.reveal[data-reveal="left"] {
  transform: translate3d(-40px, 0, 0);
}

.reveal[data-reveal="right"] {
  transform: translate3d(40px, 0, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger].reveal.is-visible > * {
  animation: rise-child 0.65s var(--ease) both;
}

[data-reveal-stagger].reveal.is-visible > *:nth-child(1) { animation-delay: 0.04s; }
[data-reveal-stagger].reveal.is-visible > *:nth-child(2) { animation-delay: 0.12s; }
[data-reveal-stagger].reveal.is-visible > *:nth-child(3) { animation-delay: 0.2s; }
[data-reveal-stagger].reveal.is-visible > *:nth-child(4) { animation-delay: 0.28s; }
[data-reveal-stagger].reveal.is-visible > *:nth-child(5) { animation-delay: 0.36s; }

@keyframes rise-child {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.85;
  }
  50% {
    transform: scaleY(0.55);
    opacity: 0.35;
  }
}

@keyframes underline-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    z-index: 45;
  }

  .schedule-bg-img {
    object-position: 60% center;
    transform: translate3d(0, calc(var(--sched-shift, 0) * 1%), 0) scale(1.18);
  }

  .schedule-bg::after {
    background:
      linear-gradient(180deg, rgba(7, 19, 28, 0.92), rgba(7, 19, 28, 0.88) 50%, rgba(7, 19, 28, 0.95)),
      linear-gradient(90deg, rgba(7, 19, 28, 0.7), rgba(7, 19, 28, 0.35));
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 42;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background: rgba(7, 19, 28, 0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 1.15rem;
  }

  .event-stage,
  .book-layout,
  .crew-grid,
  .location-layout,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .map-frame {
    min-height: 18rem;
  }

  .book-layout .section-rail {
    position: static;
  }

  .crew-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .schedule-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .schedule-list .status {
    text-align: left;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .crew-grid {
    grid-template-columns: 1fr;
  }

  .brand-mark {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .scroll-progress span,
  .site-nav a.is-active:not(.nav-cta)::after,
  .scroll-line,
  [data-reveal-stagger].reveal.is-visible > * {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  [data-reveal-stagger].reveal.is-visible > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-img,
  .schedule-bg-img,
  .hero-content {
    transform: none !important;
    opacity: 1 !important;
    will-change: auto;
  }
}
