.experience { height: 100svh; min-height: 100svh; overflow: hidden; overscroll-behavior: none; }
.invitation-host { height: 100svh; min-height: 100svh; }
.invitation { --moon-size: clamp(175px, 59vw, 260px); background: #060a13; }
.invitation-ui { position: fixed; inset: calc(1rem + var(--safe-top)) auto auto calc(1rem + var(--safe-left)); }
.invitation-ui .sound-toggle { width: 44px; height: 44px; justify-content: center; padding: 0; color: rgb(213 201 180 / 65%); }
.invitation-ui .sound-toggle:disabled { opacity: 0.25; }
.invitation-stage { perspective-origin: 50% 38%; }
.night-gradient { position: absolute; inset: -35%; background: radial-gradient(ellipse at 51% 37%, #111e34 0%, #0b1425 33%, #080D19 62%); opacity: 0.1; }
.star-field { position: absolute; inset: -10%; width: 120%; height: 120%; opacity: 0.32; }
.distant-light { position: absolute; inset: -30%; background: radial-gradient(ellipse at 50% 34%, rgb(115 136 168 / 18%), transparent 42%); opacity: 0; }
.lunar-composition { position: absolute; top: 33%; left: 50%; width: var(--moon-size); height: var(--moon-size); transform: translate(-50%, -50%); opacity: 0; }
.lunar-scale { position: absolute; inset: 0; transform-origin: 50% 50%; }
.lunar-disc { position: absolute; inset: 0; }
.lunar-disc > img, .lunar-disc > canvas { display: block; width: 100%; height: 100%; }
.lunar-halo { position: absolute; inset: -70%; border-radius: 50%; background: radial-gradient(circle, rgb(179 198 220 / 17%) 0%, rgb(115 136 168 / 9%) 27%, rgb(115 136 168 / 4%) 46%, transparent 69%); }
.lunar-rays { position: absolute; top: -30%; left: -55%; width: 210%; height: 270%; background: conic-gradient(from 140deg at 50% 28%, transparent, rgb(115 136 168 / 5%) 13deg, transparent 24deg, rgb(115 136 168 / 4%) 36deg, transparent 48deg, rgb(115 136 168 / 4%) 64deg, transparent 79deg); filter: blur(10px); opacity: 0; }
.cloud { position: absolute; pointer-events: none; opacity: 0; }
.cloud-texture { display: block; width: 100%; height: 100%; }
.cloud-far { width: 220%; height: 60%; left: -60%; top: 7%; opacity: 0.04; }
.cloud-middle { width: 230%; height: 60%; left: -70%; top: 4%; }
.cloud-near { width: 220%; height: 63%; left: -42%; top: 37%; }
.foreground-haze { position: absolute; inset: 0; background: linear-gradient(0deg, #080D19 0%, rgb(8 13 25 / 30%) 27%, transparent 56%); opacity: 0.9; }
.sky-watchers { pointer-events: none; }
.watchers-haze { position: absolute; inset: auto 0 14vh; height: 30vh; background: radial-gradient(ellipse 55% 70% at 47% 100%, rgb(126 147 180 / 22%), transparent 70%), radial-gradient(ellipse 34% 44% at 52% 88%, rgb(150 170 200 / 9%), transparent 72%); opacity: 0; }
.watchers-ground { position: absolute; inset: auto 0 0; height: 38vh; opacity: 0; }
.watchers-ground svg { display: block; width: 100%; height: 100%; }
.watchers-ridge { fill: #030610; }
.watchers-ridge-edge { fill: none; stroke: rgb(140 162 197 / 28%); stroke-width: 1.4; }
.watchers-ridge-light { fill: url("#watchers-ground-sheen"); }
.watchers-figures { position: absolute; left: 50%; bottom: 12vh; width: clamp(260px, 36vw, 500px); transform: translateX(-50%); opacity: 0; }
.watchers-pose { transform-origin: 50% 100%; }
.watchers-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(1.2px -1px 0 rgb(160 180 212 / 22%)); }
.reading-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgb(6 10 19 / 70%), transparent 48%); opacity: 0.25; }
.film-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.028; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23ffffff' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.sky-touch { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; border: none; background: transparent; cursor: pointer; touch-action: pan-y pinch-zoom; }
.sky-touch:focus-visible { outline-offset: -10px; outline-color: rgb(115 136 168 / 45%); }
.invitation-copy { position: absolute; z-index: 5; top: 59%; left: 50%; transform: translateX(-50%); width: calc(100% - 3rem); max-width: 22rem; text-align: center; pointer-events: none; }
.first-message { font-family: Sahel, sans-serif; font-size: clamp(1.5rem, 6.2vw, 1.75rem); font-weight: 700; line-height: 1.8; letter-spacing: normal; color: var(--ivory); opacity: 0; }
.message-line { display: block; line-height: inherit; text-wrap: balance; }
.small-message { margin-block-start: 1.25rem; font-family: Sahel, sans-serif; font-size: 0.9375rem; font-weight: 700; line-height: 1.9; text-wrap: balance; color: rgb(213 201 180 / 80%); opacity: 0; }
.invitation-action { position: absolute; z-index: 6; inset: auto 0 calc(2.4rem + var(--safe-bottom)); display: grid; place-items: center; min-height: 60px; pointer-events: none; }
.touch-hint { position: absolute; margin: 0; font-size: 0.75rem; font-weight: 700; color: rgb(213 201 180 / 70%); opacity: 0; }
.begin-button { display: inline-flex; align-items: center; gap: 1.1rem; min-width: 110px; min-height: 56px; padding: 0; border: none; background: none; font-family: Sahel, sans-serif; font-size: 0.9375rem; font-weight: 700; opacity: 0; visibility: hidden; pointer-events: auto; }
.begin-mark { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgb(213 201 180 / 35%); border-radius: 50%; transition: border-color 250ms, background 250ms; }
.begin-button:hover .begin-mark, .begin-button:focus-visible .begin-mark { border-color: var(--ivory); background: rgb(213 201 180 / 5%); }
.invitation[data-stage="departing"] .sky-touch { cursor: default; }
@media (min-width: 601px) {
  .invitation { --moon-size: clamp(230px, 23vw, 390px); }
  .lunar-composition { top: 34%; }
  .cloud-far { width: 145%; height: 90%; left: -24%; top: -12%; }
  .cloud-middle { width: 160%; height: 87%; left: -30%; top: -16%; }
  .cloud-near { width: 150%; height: 95%; left: -22%; top: 32%; }
  .watchers-figures { left: 50%; bottom: 11vh; width: clamp(280px, 38vw, 540px); }
  .watchers-ground { height: 24vh; }
  .watchers-haze { inset-block-end: 4vh; height: 36vh; }
  .invitation-copy { top: 62%; max-width: 30rem; }
  .first-message { font-size: clamp(1.65rem, 2.2vw, 2rem); line-height: 1.8; }
  .small-message { margin-block-start: 1rem; }
  .invitation-action { inset-block-end: calc(2rem + var(--safe-bottom)); }
}
@media (max-width: 600px) {
  .watchers-figures { left: 50%; bottom: 7vh; width: min(88vw, 360px); }
  .watchers-ground { height: 26vh; }
  .watchers-haze { inset-block-end: 4vh; height: 34vh; }
}
@media (max-width: 600px) and (min-height: 801px) {
  .watchers-figures { bottom: 12vh; width: min(78vw, 320px); }
}
@media (max-height: 720px) and (max-width: 600px) {
  .invitation { --moon-size: clamp(165px, 49vw, 200px); }
  .lunar-composition { top: 32%; }
  .watchers-figures { left: 50%; bottom: 6vh; width: min(80vw, 320px); }
  .watchers-ground { height: 24vh; }
  .watchers-haze { inset-block-end: 3vh; height: 32vh; }
  .invitation-copy { top: 55%; }
  .first-message { font-size: 1.375rem; line-height: 1.7; }
  .small-message { margin-block-start: 0.75rem; }
  .invitation-action { inset-block-end: calc(1.3rem + var(--safe-bottom)); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .invitation { --moon-size: 160px; }
  .lunar-composition { top: 48%; left: 29%; }
  .watchers-figures { left: 50%; bottom: 5vh; width: min(72vh, 460px); }
  .watchers-ground { height: 22vh; }
  .watchers-haze { inset-block-end: 3vh; height: 46vh; }
  .invitation-copy { top: 28%; left: 69%; width: 43%; }
  .first-message { font-size: 1.25rem; line-height: 1.7; }
  .small-message { margin-block-start: 0.75rem; }
  .invitation-action { inset-inline: 50% 0; inset-block-end: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lunar-rays { filter: none; }
  .begin-mark { transition: none; }
}
