:root {
  color-scheme: dark;
  --night: #080e1b;
  --blue: #111d3a;
  --white: #f4ede2;
  --mist: #c9cdde;
  --peach: #ffad88;
  --line: #b4c0db3b;
  --edge: clamp(20px, 5.5vw, 100px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--white); background: var(--night); font: 16px/1.5 var(--sans); }
h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; fill: none; flex: none; }
.library { display: none; }
.period { color: var(--peach); }
.hero {
  min-height: 100svh; position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden;
  background: #091121;
}
.night { position: absolute; z-index: -3; inset: 0; translate: 0 var(--photo-drift, 0px); scale: var(--photo-scale, 1); transform-origin: 50% 71%; }
.night img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: brightness(1.34); }
.hero::before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background: linear-gradient(180deg,#070d17a6 0%,#090f1e12 34%,#080e1b08 57%,#080e1b00 81%,#080e1b 100%),
    radial-gradient(ellipse at 50% 38%,#10182d12 22%,#080e1b40 90%);
}
.hero-orbits { position: absolute; z-index: -1; width: min(72vw, 78svh); height: auto; color: #9daee749; top: 43%; left: 50%; translate: -50% calc(-50% + var(--orbit-drift, 0px)); rotate: var(--orbit-turn, 0deg); pointer-events: none; }
.hero-orbits .ember { fill: var(--peach); stroke: none; }
.signature { position: absolute; top: clamp(20px, 4.4svh, 55px); left: 50%; translate: -50% 0; font: 400 clamp(15px, 1.65vw, 22px) var(--serif); letter-spacing: .32em; }
.signature::after { content: ""; display: block; margin: 13px auto 0; width: 29px; height: 1px; background: var(--peach); }
.hero h1 { position: relative; top: -10svh; width: 100%; text-align: center; font: 400 clamp(53px, 13.85vw, 234px)/.77 var(--serif); letter-spacing: -.09em; text-shadow: 0 4px 35px #05080ec9; translate: 0 var(--title-drift, 0px); opacity: var(--title-alpha, 1); padding-right: .06em; }
.hero h1 em { display: block; color: #e8e2dc; font-weight: 400; font-size: .56em; letter-spacing: -.07em; line-height: 1.09; }
.hero h1 > span { display: block; }
.hero-edge { display: flex; align-items: end; justify-content: space-between; position: absolute; inset: auto var(--edge) clamp(18px, 4svh, 46px); gap: 16px; }
.dateline, .scroll-cue, .section-label, .coordinate, .kicker, .route time, legend, .total, footer {
  font: 500 .73rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase;
}
.dateline { border-left: 2px solid var(--peach); padding-left: 12px; display: grid; color: var(--white); gap: 3px; }
.scroll-cue { display: grid; justify-items: center; gap: 5px; position: absolute; left: 50%; bottom: 0; translate: -50% 0; color: var(--white); padding: 4px 7px; }
.scroll-cue svg { color: var(--peach); width: 22px; }
.edge-cross { color: var(--white); width: 40px; height: 40px; stroke-width: .7; opacity: .67; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 em, .hero h1 > span { animation: title-open 1.3s cubic-bezier(.2,.75,.25,1) both; }
  .hero h1 > span { animation-delay: .14s; }
  .scroll-cue svg { animation: beckon 2.2s ease-in-out infinite; }
  @keyframes title-open { from { opacity: .12; transform: translateY(18px) scale(.98); filter: blur(4px); } }
  @keyframes beckon { 50% { translate: 0 4px; } }
}

.ideas { position: relative; background: var(--night); }
.observatory { position: relative; isolation: isolate; overflow: hidden; padding-inline: var(--edge); }
.constellation { position: absolute; inset: -28%; z-index: -2; pointer-events: none; translate: var(--cloud-x, 0px) var(--cloud-y, 0px); rotate: var(--cloud-turn, 0deg); background:
  radial-gradient(circle at 20% 23%,#9ec3fc9e 0 1px,transparent 2px),
  radial-gradient(circle at 79% 44%,#d5cdf298 0 1px,transparent 2px),
  radial-gradient(circle at 34% 80%,#c4b9f16e 0 1px,transparent 2px),
  radial-gradient(circle at 64% 64%,#dfddff78 0 .8px,transparent 1.8px),
  radial-gradient(ellipse at 68% 53%,#39538b91 0%,#1f356580 16%,transparent 52%),
  radial-gradient(ellipse at 31% 52%,#272a5680 0%,transparent 37%);
  background-size: 169px 149px, 321px 220px, 222px 259px, 287px 311px, auto, auto;
}
.observatory::after { content: ""; inset: 0; position: absolute; z-index: -1; pointer-events: none; background: radial-gradient(ellipse,#080e1b00 35%,#080e1b80 100%); }
.section-label { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; padding-top: clamp(17px, 4.5svh, 53px); color: var(--mist); }
.section-label svg { width: 29px; height: 29px; color: var(--peach); }
.frames { position: relative; }
.frame { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; min-height: 55svh; gap: 18px; }
.frame-copy { position: relative; z-index: 1; }
.coordinate { color: var(--peach); display: flex; align-items: center; gap: 9px; margin-bottom: clamp(10px, 3svh, 28px); }
.coordinate svg { width: 29px; height: 29px; }
.frame h3, .passage h2, .booking h2 { font: 400 clamp(71px, 10.7vw, 176px)/.84 var(--serif); letter-spacing: -.084em; }
.frame h3 i { font-size: .52em; font-weight: 400; letter-spacing: -.055em; display: block; margin-top: .21em; }
.lead { font: italic 400 clamp(20px, 3vw, 43px)/1.1 var(--serif); margin-top: 20px; color: #eeddd5; }
.frame-copy > p:last-child { font-size: clamp(.85rem,1.5vw,1.05rem); margin-top: 10px; color: var(--mist); }
.glyph { width: min(51vw, 84svh); height: auto; overflow: visible; justify-self: center; color: #a7c3f4; }
.glyph .draft { stroke: #b0b9d389; stroke-width: .7; }
.glyph .hero-shape { stroke: #fde5d3; stroke-width: 1.6; fill: #c4c5ef14; filter: drop-shadow(0 0 10px #ff996cb8); }
.glyph .ribs, .glyph .rings { fill: none; }
.glyph .anchor-dot { fill: var(--peach); stroke: none; filter: drop-shadow(0 0 9px #ffa878); }
.timeline { display: none; }
.motion .ideas { height: 408svh; }
.motion .observatory { position: sticky; top: 0; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; }
.motion .frames { z-index: 1; }
.motion .frame { position: absolute; inset: 0; min-height: 0; opacity: var(--alpha, 0); pointer-events: none; }
.motion .frame-copy { translate: var(--copy-x, 0px) var(--copy-y, 0px); }
.motion .glyph { translate: var(--glyph-x, 0px) var(--glyph-y, 0px); rotate: var(--glyph-turn, 0deg); scale: var(--glyph-size, 1); }
.motion .glyph .trace { stroke-dasharray: 1; stroke-dashoffset: var(--trace, 0); }
.motion .timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: clamp(90px, 16vw, 190px); margin-bottom: clamp(18px, 4.7svh, 55px); }
.timeline span { height: 1px; background: #e9d1c451; position: relative; }
.timeline span::after { position: absolute; inset: 0; content: ""; background: var(--peach); scale: var(--fill, 0) 1; transform-origin: left; box-shadow: 0 0 8px #ff916a7d; }

.passage { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 88svh; background: #11182b; }
.passage-background { position: absolute; pointer-events: none; z-index: -1; inset: -70px; translate: 0 var(--passage-drift, 0px); background:
  repeating-linear-gradient(117deg,transparent 0 43px,#95acd024 44px,transparent 45px 63px),
  repeating-radial-gradient(ellipse at 83% 24%,transparent 0 33px,#8194bd31 34px,transparent 35px 66px),
  radial-gradient(ellipse at 70% 69%,#2e3e6c 8%,#11192d 65%);
  opacity: .68; mask-image: linear-gradient(180deg,transparent,#000 28% 73%,transparent);
}
.passage-inner { width: min(100% - 2 * var(--edge), 1430px); padding-block: clamp(65px, 10vw, 130px); translate: 0 var(--route-drift, 0px); }
.kicker { display: flex; align-items: center; gap: 8px; color: var(--peach); margin-bottom: 18px; }
.kicker svg { width: 24px; height: 24px; }
.passage h2 { font-size: clamp(64px, 10.4vw, 149px); }
.guide { margin-top: 19px; color: var(--mist); }
.route { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(28px, 7vw, 68px); padding: 0; position: relative; }
.route li { display: grid; justify-items: start; align-content: start; gap: 4px; padding: 15px 10px 6px 0; border-top: 1px solid #ced3ed61; position: relative; }
.route li::after { position: absolute; content: ""; height: 1px; inset: -1px 0 auto; scale: var(--route-fill, 1) 1; background: var(--peach); transform-origin: left; }
.route li > svg { width: 48px; height: 48px; color: var(--peach); margin-bottom: 8px; }
.route time { color: #ddd7e5; }
.route b { font: 400 clamp(22px, 3.7vw, 47px)/1.06 var(--serif); letter-spacing: -.046em; }
.route li span { color: var(--mist); font-size: .84rem; }

.booking { position: relative; display: grid; place-items: center; min-height: 98svh; isolation: isolate; overflow: hidden; background: #171220; }
.booking-inner { width: min(100% - 2 * var(--edge), 1220px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 10vw, 154px); align-items: center; padding-block: clamp(54px, 8vw, 110px); }
.doorway { position: absolute; z-index: -1; inset: -10%; pointer-events: none; translate: 0 var(--door-drift, 0px); background:
  repeating-linear-gradient(90deg,transparent 0 48px,#ffbc9433 49px,#ffbc9400 50px 78px),
  linear-gradient(90deg,transparent 34%,#efa18051 45%,#ffc79f9a 47.4%,#ffdec4 48%,#ffc49ca3 48.4%,#ef986150 51%,transparent 62%),
  radial-gradient(ellipse at 49% 56%,#9d4e51 0%,#3a2440 29%,#1b1427 58%,#100f1d 100%);
  mask-image: radial-gradient(ellipse at center,#000 40%,transparent 79%);
  opacity: var(--door-alpha, .8);
}
.invitation { translate: 0 var(--invitation-drift, 0px); }
.invitation > p:last-child { margin-top: 23px; color: #eee2de; }
.ticket { position: relative; padding: clamp(19px, 4vw, 43px); border: 1px solid #ded0d182; background: #130f20f5; box-shadow: 0 22px 65px #0e0a1877; clip-path: polygon(10px 0,calc(100% - 10px) 0,100% 10px,100% calc(100% - 10px),calc(100% - 10px) 100%,10px 100%,0 calc(100% - 10px),0 10px); }
.ticket::before, .ticket::after { content: ""; position: absolute; pointer-events: none; width: 15px; height: 15px; border-top: 1px solid #ded0d182; rotate: -45deg; left: -6px; top: 4px; }
.ticket::after { left: auto; right: -6px; rotate: 45deg; }
fieldset { padding: 0; margin: 0 0 15px; border: 0; min-width: 0; }
legend { padding: 0 0 12px; color: var(--mist); display: flex; align-items: center; gap: 8px; }
legend svg { color: var(--peach); width: 24px; height: 24px; }
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.date { position: relative; cursor: pointer; }
.date input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.date > span { border: 1px solid #c3b7ce77; padding: 8px 10px; display: flex; align-items: baseline; gap: 5px 9px; justify-content: center; flex-wrap: wrap; }
.date input:checked + span { border-color: var(--peach); box-shadow: inset 0 -2px var(--peach); background: #ffad881c; }
.date input:focus-visible + span { outline: 2px solid var(--peach); outline-offset: 3px; }
.date b { font: 400 clamp(22px, 3vw, 37px)/1 var(--serif); letter-spacing: -.05em; }
.date small { font: .67rem var(--mono); color: var(--mist); }
.field { display: grid; gap: 3px; margin-top: 10px; font-size: .78rem; color: var(--mist); }
.field input { min-width: 0; min-height: 44px; width: 100%; padding: 8px 9px; font-size: 1rem; border: 1px solid #c3b7ce77; border-radius: 0; background: #d3bbd509; color: var(--white); }
.field input:focus { outline: 1px solid var(--peach); outline-offset: 1px; }
.total { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin: 12px 0 9px; color: var(--mist); letter-spacing: .05em; }
.total strong { color: var(--white); font: 400 1.4rem var(--serif); }
.pay { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; min-height: 46px; border: 1px solid var(--white); border-radius: 0; background: var(--white); color: #191328; font: 600 .75rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; text-align: start; }
.pay:hover:not(:disabled) { background: var(--peach); border-color: var(--peach); }
.pay:disabled { opacity: .58; }
.pay svg { width: 21px; height: 21px; }
.demo-note { color: var(--mist); font-size: .75rem; margin-top: 11px; }
#form-status { color: #ffd2bb; border-left: 1px solid var(--peach); padding-left: 8px; margin-top: 10px; font-size: .82rem; }
footer { display: flex; justify-content: space-between; gap: 10px; color: var(--mist); border-top: 1px solid var(--line); padding: 19px var(--edge); }
footer a { display: flex; align-items: center; gap: 5px; text-transform: none; }
footer a svg { width: 16px; height: 16px; color: var(--peach); }
dialog { width: min(490px, calc(100% - 28px)); max-height: calc(100% - 28px); color: var(--white); background: #171222; border: 1px solid #d0bbc59b; padding: clamp(19px, 5vw, 35px); }
dialog::backdrop { background: #080813bf; backdrop-filter: blur(8px); }
dialog h2 { font: 400 clamp(37px,7vw,58px)/.98 var(--serif); letter-spacing: -.05em; margin-bottom: 15px; }
dialog .pay { margin-top: 18px; }
.close { padding: 12px 0 0; border: 0; background: transparent; color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 700px) {
  .hero h1 { top: -12svh; font-size: clamp(51px, 14.8vw, 102px); }
  .night img { object-position: center 68%; }
  .hero-orbits { width: 122vw; }
  .hero-edge { align-items: end; }
  .dateline, .scroll-cue { font-size: .62rem; letter-spacing: .08em; }
  .dateline { padding-left: 7px; }
  .scroll-cue { position: static; translate: none; }
  .edge-cross { display: none; }
  .section-label { font-size: .63rem; }
  .frame { min-height: 0; padding: 20px 0 40px; grid-template-columns: 1fr; gap: 5px; }
  .frame-copy { align-self: end; }
  .frame h3 { font-size: clamp(51px, 14vw, 105px); }
  .frame h3 i { font-size: .57em; }
  .glyph { width: min(88vw, 47svh); align-self: start; }
  .lead { margin-top: 11px; }
  .frame-copy > p:last-child { margin-top: 5px; }
  .motion .frame { grid-template-rows: 1fr minmax(0, 1.17fr); padding: 0; }
  .motion .timeline { margin-top: 8px; }
  .route { grid-template-columns: 1fr; padding-left: 14px; border-left: 1px solid #ced3ed61; }
  .route li { grid-template-columns: 34px 1fr; gap: 2px 10px; padding: 10px 0 16px; border: 0; }
  .route li::after { display: none; }
  .route li > svg { width: 32px; height: 32px; grid-row: span 3; margin: 1px 0 0; }
  .booking-inner { grid-template-columns: 1fr; }
  .booking h2 br { display: none; }
  .doorway { inset: -7%; background-position: 22vw center; }
}
@media (max-height: 460px) and (orientation: landscape) {
  .hero { min-height: 480px; }
  .motion .ideas { height: auto; }
  .motion .observatory { height: auto; position: relative; }
  .motion .frame { position: relative; opacity: 1; }
  .motion .frame-copy, .motion .glyph { translate: none; rotate: none; scale: 1; }
  .motion .glyph .trace { stroke-dashoffset: 0; }
  .motion .timeline { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
