:root {
  --display-font: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --mono-font: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --ink: #070707;
  --paper: #efefeb;
  --paper-2: #f7f6f1;
  --line: rgba(7,7,7,.20);
  --muted: rgba(7,7,7,.52);
  --mouse-x: 50%;
  --mouse-y: 44%;
  --mouse-x2: 72%;
  --mouse-y2: 36%;
  --drift-x: 0px;
  --drift-y: 0px;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; background: #000; }
html { overflow: hidden; }
body {
  margin: 0;
  min-height: 100svh;
  overflow: hidden;
  color: var(--ink);
  font-family: var(--body-font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.micro-copy {
  font-family: var(--mono-font);
  font-size: clamp(6.5px, 1.8vw, 8px);
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
  font-weight: 300;
}

.ticket {
  width: 100vw;
  height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  background: var(--paper);
}

 .ticket-hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  padding: max(18px, env(safe-area-inset-top)) clamp(18px, 5vw, 32px) 22px;
  background: #02050a;
  box-shadow: inset 0 0 160px rgba(0,0,0,.68);
  --pointer-x: 0px;
  --pointer-y: 0px;
}

/* The reference image provides the optical ribs. Keep this layer GPU-friendly:
   only transform and opacity animate; its filters stay static. */
.ticket-hero::before {
  content: "";
  position: absolute;
  z-index: -5;
  inset: -12%;
  background:
    linear-gradient(rgba(0,0,0,.26), rgba(0,0,0,.34)),
    url("/assets/fluted-gradient.jpg") center / cover no-repeat;
  filter: saturate(.78) brightness(.50) contrast(1.08);
  transform-origin: center;
  will-change: transform;
  animation: flute-base-drift 22s cubic-bezier(.45,.04,.55,.96) infinite alternate;
}

/* One broad colour field moves behind the flutes. This replaces the previous
   per-frame gradient-position updates, which were expensive to repaint. */
.ticket-hero::after {
  content: "";
  position: absolute;
  z-index: -4;
  inset: -34%;
  background:
    radial-gradient(ellipse 58% 52% at 24% 28%, rgba(207,77,37,.32), transparent 70%),
    radial-gradient(ellipse 64% 62% at 76% 56%, rgba(35,91,192,.34), transparent 72%),
    radial-gradient(ellipse 52% 46% at 52% 84%, rgba(28,105,220,.22), transparent 72%),
    linear-gradient(145deg, rgba(0,3,8,.94), rgba(5,16,34,.76) 52%, rgba(0,3,8,.96));
  filter: blur(34px) saturate(.88);
  opacity: .72;
  mix-blend-mode: screen;
  transform-origin: center;
  will-change: transform, opacity;
  animation: colour-field-drift 16s cubic-bezier(.42,.02,.58,.98) infinite alternate;
}

@keyframes flute-base-drift {
  0% {
    transform: translate3d(calc(-3% + var(--pointer-x)), calc(-2% + var(--pointer-y)), 0) scale(1.10);
  }
  48% {
    transform: translate3d(calc(2% + var(--pointer-x)), calc(1% + var(--pointer-y)), 0) scale(1.14);
  }
  100% {
    transform: translate3d(calc(-1% + var(--pointer-x)), calc(2.5% + var(--pointer-y)), 0) scale(1.11);
  }
}

@keyframes colour-field-drift {
  0% {
    transform: translate3d(calc(-13% + var(--pointer-x)), calc(-8% + var(--pointer-y)), 0) scale(1.10) rotate(-4deg);
    opacity: .62;
  }
  35% {
    transform: translate3d(calc(8% + var(--pointer-x)), calc(-10% + var(--pointer-y)), 0) scale(1.18) rotate(1deg);
    opacity: .76;
  }
  68% {
    transform: translate3d(calc(12% + var(--pointer-x)), calc(8% + var(--pointer-y)), 0) scale(1.13) rotate(3deg);
    opacity: .68;
  }
  100% {
    transform: translate3d(calc(-8% + var(--pointer-x)), calc(10% + var(--pointer-y)), 0) scale(1.18) rotate(-2deg);
    opacity: .74;
  }
}

.hero-noise {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: soft-light;
  opacity: .07;
}
.hero-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
}

/* Lightweight refractive highlights: no animated blur or background-position.
   The whole layer simply glides across the hero on the compositor. */
.hero-flutes {
  position: absolute;
  z-index: -2;
  inset: -12% -18%;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.015) 0 28px,
    rgba(255,255,255,.075) 28px 50px,
    rgba(0,0,0,.15) 50px 72px,
    rgba(255,255,255,.025) 72px 108px,
    rgba(0,0,0,.11) 108px 142px
  );
  mix-blend-mode: soft-light;
  opacity: .54;
  transform-origin: center;
  will-change: transform, opacity;
  animation: flute-glide 18s cubic-bezier(.42,.02,.58,.98) infinite alternate;
}

.hero-flutes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(0,0,0,.52) 0 24%, transparent 42% 66%, rgba(0,0,0,.40) 92%);
}

.hero-flutes::after {
  content: "";
  position: absolute;
  inset: -6%;
  background: linear-gradient(90deg, transparent 8%, rgba(255,255,255,.055) 30%, transparent 48%, rgba(255,255,255,.02) 72%, transparent 92%);
  opacity: .60;
}

@keyframes flute-glide {
  0% {
    transform: translate3d(calc(-7% + var(--pointer-x)), calc(-1% + var(--pointer-y)), 0) scaleX(1.05);
    opacity: .46;
  }
  50% {
    transform: translate3d(calc(6% + var(--pointer-x)), calc(1% + var(--pointer-y)), 0) scaleX(1.09);
    opacity: .60;
  }
  100% {
    transform: translate3d(calc(-3% + var(--pointer-x)), calc(2% + var(--pointer-y)), 0) scaleX(1.07);
    opacity: .50;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticket-hero::before,
  .ticket-hero::after,
  .hero-flutes { animation: none; }
}

/* A dark optical veil protects legibility without flattening the fluted motion. */
.ticket-hero > .hero-topline,
.ticket-hero > .hero-brand,
.ticket-hero > .hero-copy,
.ticket-hero > .hero-footer {
  text-shadow: 0 2px 24px rgba(0,0,0,.72), 0 1px 4px rgba(0,0,0,.48);
}

.ticket-hero .hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: min(92vw, 720px);
  height: 150%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0,0,0,.44) 0%, rgba(0,0,0,.24) 42%, rgba(0,0,0,.07) 64%, transparent 80%);
  filter: blur(18px);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ticket-hero::after,
  .hero-flutes,
  .hero-flutes::after { animation: none; }
}

.hero-brand {
  position: absolute;
  z-index: 3;
  top: max(22px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.90);
  pointer-events: none;
  text-align: center;
}

.beyond-wordmark {
  display: block;
  width: clamp(86px, 24vw, 122px);
  height: auto;
  margin: 0 auto;
  opacity: .90;
  filter: brightness(0) invert(1);
}

.hero-topline {
  position: absolute;
  z-index: 3;
  top: calc(max(22px, env(safe-area-inset-top)) + clamp(42px, 11vw, 58px));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 36px);
  text-align: center;
  color: rgba(255,255,255,.62);
}

.beyond-icon {
  width: clamp(11px, 3.2vw, 16px);
  margin: 22px auto 0;
}
.beyond-icon img {
  display: block;
  width: 100%;
  height: auto;
  opacity: .64;
  filter: brightness(0) invert(1);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 5vw, 32px);
  right: clamp(18px, 5vw, 32px);
  top: 50%;
  transform: translateY(-49%);
  text-align: center;
}
.hero-eyebrow { margin: 0 0 10px; color: rgba(255,255,255,.72); }

h1, h2 { font-family: var(--display-font); font-weight: 300; }
h1 {
  margin: 0;
  font-size: clamp(54px, 17vw, 104px);
  line-height: .78;
  letter-spacing: -.043em;
  text-wrap: balance;
}
.hero-statement {
  margin: 18px auto 0;
  max-width: 480px;
  font-size: clamp(18px, 5.2vw, 28px);
  line-height: 1.04;
  letter-spacing: -.018em;
  font-weight: 300;
  text-wrap: balance;
}

.hero-footer {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 5vw, 32px);
  right: clamp(18px, 5vw, 32px);
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 11px;
}
.hero-footer > div:nth-child(2) { text-align: center; }
.hero-footer > div:nth-child(3) { text-align: right; }
.hero-footer span { display: block; margin-bottom: 4px; color: rgba(255,255,255,.58); }
.hero-footer strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(14px, 3.8vw, 19px);
  line-height: .95;
  letter-spacing: -.02em;
  font-weight: 300;
}

.ticket-stub {
  position: relative;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  color: var(--ink);
  padding: 0 clamp(14px, 4vw, 24px) max(14px, env(safe-area-inset-bottom));
}
.stub-perf {
  height: 0;
  border-top: 1px dashed rgba(7,7,7,.40);
  position: relative;
  margin: 0 calc(clamp(14px, 4vw, 24px) * -1);
}
.stub-perf::before,
.stub-perf::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #000;
}
.stub-perf::before { left: -11px; }
.stub-perf::after { right: -11px; }

.stub-content { padding: 15px 0 13px; }
.stub-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.stub-heading span, .stub-grid span { display: block; margin-bottom: 5px; color: var(--muted); }
.stub-heading strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(20px, 5.6vw, 28px);
  line-height: .88;
  letter-spacing: -.032em;
  font-weight: 300;
}
.stub-number { text-align: right; }

.stub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stub-grid > div {
  min-width: 0;
  padding: 9px 8px 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stub-grid strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--display-font);
  font-size: clamp(12px, 3.6vw, 18px);
  line-height: .9;
  letter-spacing: -.02em;
  font-weight: 300;
}

.reserve-button,
.confirm-button {
  width: 100%;
  border: 0;
  background: #050505;
  color: #fff;
  min-height: 72px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.reserve-button { border-radius: 0; }
.reserve-button:hover, .confirm-button:hover { background: #111; }
.reserve-button:active, .confirm-button:active { transform: translateY(1px); }
.reserve-button small, .confirm-button small { display: block; margin-bottom: 4px; color: rgba(255,255,255,.52); }
.reserve-button strong, .confirm-button strong {
  display: block;
  font-family: var(--display-font);
  font-size: clamp(19px, 5.4vw, 26px);
  line-height: .86;
  letter-spacing: -.03em;
  font-weight: 300;
}
.reserve-arrow {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
}
.reserve-arrow img {
  display: block;
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.reservation-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  pointer-events: none;
}
.reservation-shell.is-visible { visibility: visible; pointer-events: auto; }

.reservation-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  transform-origin: top left;
  will-change: transform, border-radius;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}

.reservation-header,
.reservation-body,
.confirm-button {
  opacity: 0;
  transition: opacity .18s ease;
}
.reservation-shell.is-open .reservation-header,
.reservation-shell.is-open .reservation-body,
.reservation-shell.is-open .confirm-button { opacity: 1; }

.reservation-header {
  min-height: 152px;
  padding: max(20px, env(safe-area-inset-top)) clamp(18px, 5vw, 30px) 19px;
  background:
    radial-gradient(circle at 14% 35%, rgba(194, 61, 28, .28), transparent 48%),
    radial-gradient(circle at 78% 42%, rgba(31, 79, 154, .30), transparent 52%),
    linear-gradient(145deg, #0c1522, #06090f 56%, #111019);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.reservation-header::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(ellipse at 35% 50%, rgba(194,61,28,.20), transparent 44%), radial-gradient(ellipse at 72% 46%, rgba(31,79,154,.22), transparent 48%);
  filter: blur(32px);
  opacity: .60;
  animation: reservation-breathe 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes reservation-breathe {
  from { transform: translate(-4%, -3%) rotate(-7deg) scale(.94); }
  to { transform: translate(5%, 4%) rotate(13deg) scale(1.09); }
}
.reservation-header > * { position: relative; z-index: 1; }
.reservation-header .micro-copy { color: rgba(255,255,255,.64); }
h2 {
  margin: 17px 0 0;
  font-size: clamp(40px, 11vw, 64px);
  line-height: .82;
  letter-spacing: -.039em;
}
.close-form {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.close-form img {
  display: block;
  width: 17px;
  height: 17px;
  filter: brightness(0) invert(1);
}

.reservation-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 17px clamp(18px, 5vw, 30px) 24px;
}
.reservation-intro {
  margin: 0 0 8px;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.18;
  letter-spacing: -.022em;
}
.hidden-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ticket-field {
  display: block;
  padding: 12px 0 11px;
  border-bottom: 1px solid var(--line);
}
.ticket-field span { display: block; margin-bottom: 5px; color: var(--muted); }
.ticket-field input {
  width: 100%;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: clamp(17px, 4.5vw, 21px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 300;
}
.ticket-field input::placeholder { color: rgba(7,7,7,.28); }
.field-row {
  display: grid;
  grid-template-columns: minmax(90px, .7fr) 1.3fr;
  gap: 18px;
}

.chauffeur-select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 14px 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  cursor: pointer;
}
.chauffeur-select small { display: block; margin-bottom: 5px; color: var(--muted); }
.chauffeur-select strong {
  display: block;
  font-size: 16px;
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 300;
}
.check-box {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border: 1px solid rgba(7,7,7,.42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .18s ease;
}
.check-box img {
  display: block;
  width: 15px;
  height: 15px;
  transition: transform .18s cubic-bezier(.2,.8,.2,1), filter .18s ease;
}
.chauffeur-select[aria-checked="true"] .check-box { background: #050505; }
.chauffeur-select[aria-checked="true"] .check-box img {
  transform: rotate(45deg);
  filter: brightness(0) invert(1);
}

.chauffeur-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .22s cubic-bezier(.2,.8,.2,1), opacity .16s ease;
}
.chauffeur-expand > .chauffeur-expand__inner { overflow: hidden; }
.chauffeur-expand.is-open { grid-template-rows: 1fr; opacity: 1; }
.chauffeur-expand[hidden] { display: none; }

.confirm-button {
  min-height: calc(76px + env(safe-area-inset-bottom));
  padding: 0 clamp(18px, 5vw, 30px) env(safe-area-inset-bottom);
  align-self: end;
}
.confirm-button:disabled { opacity: .55 !important; cursor: wait; }
.form-status {
  min-height: 14px;
  margin: 10px 0 0;
  color: var(--muted);
  font-family: var(--mono-font);
  font-size: 8px;
  line-height: 1.25;
}
body.form-open { overflow: hidden; }

@media (max-height: 650px) {
  .hero-copy { top: 48%; }
  .hero-statement { margin-top: 12px; }
  .stub-content { padding: 10px 0; }
  .stub-grid { margin-top: 10px; }
  .reserve-button { min-height: 64px; }
}

@media (max-width: 380px) {
  .stub-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-footer { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
