:root {
  --cycle: 60s;
  --cream: #fff4e1;
  --blush: #ffb6ae;
  --rose: #ff6d94;
  --gold: #ffd46b;
  --amber: #ff9966;
  --sky-day: #8fe1ff;
  --sky-noon: #c8f6ff;
  --sky-dawn: #f49f7a;
  --sky-night: #07101f;
  --sky-midnight: #02060f;
  --ink: #150f1c;
  --card: rgba(16, 17, 40, 0.44);
  --card-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

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

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--sky-midnight);
  color: var(--cream);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

body.trouwerij-front-page {
  overflow: hidden;
}

body:not(.trouwerij-front-page) {
  overflow-x: hidden;
  overflow-y: auto;
}

.trouwerij-front-page:not(.animations-ready) *,
.trouwerij-front-page:not(.animations-ready) *::before,
.trouwerij-front-page:not(.animations-ready) *::after {
  animation-play-state: paused !important;
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.timescape {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #040916;
}

.sky-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.sky-layer--night {
  background: linear-gradient(180deg, #030611 0%, #071123 46%, #150719 100%);
  animation: sky-night-layer var(--cycle) linear infinite;
}

.sky-layer--day {
  background: linear-gradient(180deg, #8fddff 0%, #d7f8ff 52%, #fff2c3 100%);
  animation: sky-day-layer var(--cycle) linear infinite;
}

.timescape::before,
.timescape::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.timescape::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 181, 126, 0.3), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(141, 228, 255, 0.25), transparent 28%),
    radial-gradient(circle at 50% 62%, rgba(255, 116, 171, 0.16), transparent 34%);
  filter: blur(18px);
  mix-blend-mode: screen;
  animation: atmosphere-cycle var(--cycle) linear infinite;
}

.timescape::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%),
    radial-gradient(circle at 50% 102%, rgba(255, 220, 134, 0.35), transparent 28%);
}

.sky-layer,
.stars,
.day-celebration,
.night-party,
.horizon-glow,
.searchlights,
.disco-lights {
  position: absolute;
  inset: 0;
}

.stars {
  animation: night-visibility var(--cycle) linear infinite;
}

.star {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.72),
    0 0 28px rgba(157, 224, 255, 0.42);
  animation:
    twinkle var(--twinkle-duration) ease-in-out infinite,
    night-visibility var(--cycle) linear infinite;
  animation-delay: var(--twinkle-delay), 0s;
}

.sky-orb {
  position: absolute;
  left: 50%;
  top: 108%;
  width: 1px;
  height: 1px;
  z-index: 1;
}

.sky-orb--sun {
  animation: sun-orbit var(--cycle) linear infinite;
}

.sky-orb--moon {
  animation: moon-orbit var(--cycle) linear infinite;
}

.sun-halo,
.moon-halo,
.sun,
.moon {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
}

.sun-halo {
  width: 22rem;
  height: 22rem;
  transform: translate(-50%, -108vh);
  background:
    radial-gradient(circle, rgba(255, 232, 155, 0.5), rgba(255, 191, 84, 0.18) 38%, transparent 70%);
  filter: blur(18px);
  opacity: 0.94;
  animation: halo-breathe 8s ease-in-out infinite;
}

.sun {
  width: 8.75rem;
  height: 8.75rem;
  transform: translate(-50%, -108vh);
  background: radial-gradient(circle at 30% 30%, #fff8d2 0%, #ffd66a 42%, #ff9659 100%);
  box-shadow:
    0 0 48px rgba(255, 205, 91, 0.72),
    0 0 130px rgba(255, 164, 70, 0.48);
  animation: orb-glow 8s ease-in-out infinite;
}

.moon-halo {
  width: 20rem;
  height: 20rem;
  transform: translate(-50%, -102vh);
  background:
    radial-gradient(circle, rgba(198, 223, 255, 0.32), rgba(116, 165, 255, 0.14) 42%, transparent 72%);
  filter: blur(16px);
  opacity: 0.88;
  animation: halo-breathe 10s ease-in-out infinite;
}

.moon {
  width: 7rem;
  height: 7rem;
  transform: translate(-50%, -102vh);
  background:
    radial-gradient(circle at 35% 28%, #fefefe 0%, #dde6fb 52%, #bbc7e5 100%);
  box-shadow:
    0 0 30px rgba(198, 223, 255, 0.58),
    0 0 100px rgba(148, 194, 255, 0.28);
  animation: orb-glow 10s ease-in-out infinite;
}

.moon-crater {
  position: absolute;
  border-radius: 50%;
  background: rgba(137, 159, 197, 0.28);
}

.moon-crater--one {
  top: 1.6rem;
  left: 1.25rem;
  width: 1rem;
  height: 1rem;
}

.moon-crater--two {
  top: 3.25rem;
  left: 2.9rem;
  width: 0.75rem;
  height: 0.75rem;
}

.moon-crater--three {
  top: 2.2rem;
  right: 1.15rem;
  width: 0.6rem;
  height: 0.6rem;
}

.cloud {
  position: absolute;
  width: clamp(12rem, 24vw, 24rem);
  aspect-ratio: 2.4 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.8), transparent 34%),
    radial-gradient(circle at 48% 30%, rgba(255, 255, 255, 0.92), transparent 38%),
    radial-gradient(circle at 66% 46%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
  filter: blur(3px);
  opacity: 0;
  animation:
    cloud-drift var(--duration) linear infinite,
    cloud-visibility var(--cycle) linear infinite;
}

.cloud--one {
  top: 18%;
  animation-duration: 46s, var(--cycle);
}

.cloud--two {
  top: 30%;
  animation-delay: -18s, 0s;
  animation-duration: 58s, var(--cycle);
}

.cloud--three {
  top: 10%;
  animation-delay: -30s, 0s;
  animation-duration: 64s, var(--cycle);
}

.day-celebration {
  pointer-events: none;
  animation: sun-party-visibility var(--cycle) linear infinite;
}

.confetti,
.heart {
  position: absolute;
  will-change: transform, opacity;
}

.confetti {
  top: -12vh;
  left: var(--x);
  width: var(--width);
  height: var(--height);
  border-radius: 0.25rem;
  opacity: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent 40%),
    hsl(var(--hue), 90%, 67%);
  box-shadow: 0 0 12px hsla(var(--hue), 90%, 72%, 0.34);
  animation: confetti-fall var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.heart {
  left: var(--x);
  bottom: -12vh;
  color: hsla(var(--hue), 100%, 82%, 0.68);
  font-size: var(--size);
  opacity: 0;
  text-shadow:
    0 0 22px hsla(var(--hue), 100%, 72%, 0.38),
    0 0 54px hsla(var(--hue), 100%, 76%, 0.2);
  animation: heart-rise var(--duration) ease-in infinite;
  animation-delay: var(--delay);
}

.night-party {
  pointer-events: none;
  animation: moon-party-visibility var(--cycle) linear infinite;
}

.searchlights {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-end;
  inset: auto 0 0;
  height: 72vh;
}

.beam {
  width: min(18vw, 13rem);
  height: 100%;
  border-radius: 999px 999px 0 0;
  clip-path: polygon(50% 100%, 8% 0, 92% 0);
  opacity: 0.34;
  filter: blur(5px);
  mix-blend-mode: screen;
  transform-origin: 50% 100%;
  animation: beam-sweep 10s ease-in-out infinite alternate;
}

.beam--one {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(138, 226, 255, 0.48));
}

.beam--two {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 116, 173, 0.44));
  animation-duration: 8s;
  animation-delay: -1.8s;
}

.beam--three {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 224, 119, 0.42));
  animation-duration: 11s;
  animation-delay: -3.2s;
}

.disco-rig {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(46rem, 72vw);
  height: 0.45rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.12),
    0 0 44px rgba(95, 197, 255, 0.1);
}

.rig-lamp {
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px currentColor;
}

.rig-lamp--one {
  left: 8%;
  color: #72dcff;
  background: currentColor;
}

.rig-lamp--two {
  left: 28%;
  color: #ff92be;
  background: currentColor;
}

.rig-lamp--three {
  left: 50%;
  color: #ffe27e;
  background: currentColor;
}

.rig-lamp--four {
  left: 72%;
  color: #88f2bf;
  background: currentColor;
}

.rig-lamp--five {
  left: 92%;
  color: #b79dff;
  background: currentColor;
}

.disco-ball {
  position: absolute;
  top: 15%;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 0.86) 0deg 14deg,
      rgba(177, 201, 255, 0.5) 14deg 28deg,
      rgba(255, 146, 197, 0.55) 28deg 42deg
    );
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.28),
    0 0 54px rgba(132, 182, 255, 0.22);
  animation:
    disco-swing 7s ease-in-out infinite,
    disco-spin 9s linear infinite;
}

.disco-ball::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 2px;
  height: 5rem;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
}

.disco-ball--left {
  left: 12%;
}

.disco-ball--right {
  right: 12%;
  animation-duration: 8s, 11s;
  animation-delay: -2s, -1.5s;
}

.disco-lights {
  overflow: hidden;
}

.laser {
  position: absolute;
  top: calc(12% + 0.45rem);
  width: min(18vw, 11rem);
  height: 60vh;
  clip-path: polygon(50% 0, 8% 100%, 92% 100%);
  mix-blend-mode: screen;
  filter: blur(1px);
  opacity: 0.68;
  transform-origin: 50% 0;
  animation:
    laser-sweep var(--duration) ease-in-out infinite alternate,
    laser-flicker 1.3s steps(3, end) infinite;
}

.laser--one {
  left: 8%;
  --duration: 4.8s;
  background: linear-gradient(180deg, rgba(114, 220, 255, 0.84), rgba(114, 220, 255, 0.12) 72%, transparent);
  box-shadow: 0 0 28px rgba(114, 220, 255, 0.24);
}

.laser--two {
  left: 24%;
  --duration: 3.9s;
  background: linear-gradient(180deg, rgba(255, 146, 190, 0.82), rgba(255, 146, 190, 0.12) 76%, transparent);
  animation-delay: -1.1s, -0.3s;
  box-shadow: 0 0 28px rgba(255, 146, 190, 0.22);
}

.laser--three {
  left: 42%;
  --duration: 5.2s;
  background: linear-gradient(180deg, rgba(255, 226, 126, 0.86), rgba(255, 226, 126, 0.14) 74%, transparent);
  animation-delay: -2.2s, -0.8s;
  box-shadow: 0 0 28px rgba(255, 226, 126, 0.24);
}

.laser--four {
  right: 24%;
  --duration: 4.4s;
  background: linear-gradient(180deg, rgba(136, 242, 191, 0.8), rgba(136, 242, 191, 0.12) 76%, transparent);
  animation-delay: -1.8s, -0.5s;
  box-shadow: 0 0 28px rgba(136, 242, 191, 0.22);
}

.laser--five {
  right: 8%;
  --duration: 5.5s;
  background: linear-gradient(180deg, rgba(183, 157, 255, 0.8), rgba(183, 157, 255, 0.12) 74%, transparent);
  animation-delay: -2.8s, -0.9s;
  box-shadow: 0 0 28px rgba(183, 157, 255, 0.2);
}

.horizon-glow {
  inset: auto 0 -8%;
  height: 42vh;
  background:
    radial-gradient(circle at 50% 90%, rgba(255, 193, 107, 0.36), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(255, 112, 160, 0.15), transparent 36%);
  filter: blur(18px);
  animation: horizon-cycle var(--cycle) linear infinite;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  padding-top: clamp(7rem, 12vh, 8.2rem);
  padding-bottom: clamp(15rem, 28vh, 22rem);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(100%, 34rem);
  margin-top: 0;
}

.countdown-floating {
  position: absolute;
  top: clamp(1rem, 2vw, 1.6rem);
  left: 50%;
  z-index: 4;
  width: min(58rem, calc(100% - 2rem));
  transform: translateX(-50%);
}

.countdown-tag {
  position: absolute;
  top: -0.95rem;
  left: -4vw;
  margin: 0;
  z-index: 3;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 212, 107, 0.96), rgba(255, 140, 122, 0.92));
  color: #241223;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    0 0 20px rgba(255, 212, 107, 0.24);
  transform: rotate(-4deg);
}

.countdown-floating .countdown-card,
.countdown-card--wide {
  width: 100%;
}

.countdown-card--wide {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 1.15rem 1.2rem 0.95rem;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  font-size: 0.74rem;
  color: rgba(255, 244, 225, 0.72);
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Baskerville", "Palatino Linotype", serif;
  font-size: clamp(3.6rem, 8rem, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.hero-text {
  margin: 1.15rem 0 1.5rem;
  max-width: 30rem;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.7;
  color: rgba(255, 244, 225, 0.82);
}

.event-pill {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.45rem;
}

.event-pill span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.14);
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(52, 39, 46, 0.92);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 8px 20px rgba(52, 39, 46, 0.12);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.44);
  animation:
    event-pill-surface var(--cycle) linear infinite,
    event-pill-ink var(--cycle) linear infinite;
}

.page-access {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  width: min(100%, 33rem);
}

.page-access__form {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-height: 16rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.3rem;
  background: rgba(8, 13, 30, 0.32);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 36px rgba(0, 0, 0, 0.16);
  transform-origin: top center;
  transition:
    max-height 360ms ease,
    margin 360ms ease,
    opacity 260ms ease,
    padding 360ms ease,
    transform 320ms ease;
}

.page-access__form.is-verified {
  max-height: 0;
  margin: 0;
  opacity: 0;
  overflow: hidden;
  padding-bottom: 0;
  padding-top: 0;
  pointer-events: none;
  transform: translateY(-0.5rem) scale(0.98);
}

.page-access__field {
  display: grid;
  gap: 0.55rem;
}

.page-access__title {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: rgba(255, 244, 225, 0.84);
  font-family: "Cormorant Garamond", "Baskerville", "Palatino Linotype", serif;
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 0.95;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.page-access__title span {
  display: inline-block;
  position: relative;
  padding-bottom: 0.32rem;
}

.page-access__title span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100%, 11rem);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 212, 107, 0.92), transparent);
  box-shadow: 0 0 18px rgba(255, 212, 107, 0.36);
  transform: translateX(-50%);
}

.page-access__control {
  display: block;
}

.page-access__code-entry {
  --code-caret-left: 8.3333%;
  position: relative;
  width: min(100%, 21rem);
  min-height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 2px rgba(61, 33, 38, 0.14);
  overflow: hidden;
  transition:
    width 360ms cubic-bezier(0.16, 1, 0.3, 1),
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 260ms ease;
}

.page-access__code-entry input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  caret-color: transparent;
  color: transparent;
  font: inherit;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 0;
  text-align: left;
}

.page-access__code-entry:focus-within {
  border-color: rgba(255, 232, 181, 0.9);
  outline: 2px solid rgba(255, 232, 181, 0.36);
  outline-offset: 2px;
}

.page-access__code-slots {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  min-height: 3.25rem;
  padding: 0;
  pointer-events: none;
}

.page-access__code-slot {
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  min-width: 0;
  padding: 0.46rem 0 0.42rem;
  border-right: 1px solid rgba(61, 33, 38, 0.08);
}

.page-access__code-slot:last-child {
  border-right: 0;
}

.page-access__code-char {
  min-height: 1.45rem;
  color: rgba(38, 24, 30, 0.96);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
}

.page-access__code-dot {
  justify-self: center;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: rgba(61, 33, 38, 0.24);
  box-shadow: 0 0 10px rgba(255, 212, 107, 0.14);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.page-access__code-dot.is-filled {
  background: rgba(255, 212, 107, 0.96);
  box-shadow: 0 0 14px rgba(255, 212, 107, 0.46);
  transform: scale(1.18);
}

.page-access__code-caret {
  position: absolute;
  z-index: 1;
  top: 0.55rem;
  left: var(--code-caret-left);
  width: 2px;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(61, 33, 38, 0.86);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition: left 120ms ease;
}

.page-access__code-entry:focus-within .page-access__code-caret {
  opacity: 1;
  animation: code-caret-blink 1.05s steps(2, start) infinite;
}

.page-access__code-entry::after {
  content: attr(data-unlocked-label);
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: rgba(61, 33, 38, 0.96);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  opacity: 0;
  text-transform: uppercase;
  transform: translateY(0.35rem);
  transition:
    opacity 220ms ease,
    transform 260ms ease;
}

.page-access__form.is-unlocking .page-access__code-entry {
  width: min(100%, 21rem);
  border-color: rgba(255, 231, 181, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 242, 206, 0.98), rgba(255, 199, 126, 0.94)),
    linear-gradient(135deg, rgba(255, 217, 141, 0.82), rgba(255, 109, 148, 0.36));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 18px 32px rgba(0, 0, 0, 0.16);
}

.page-access__form.is-unlocking .page-access__code-slots,
.page-access__form.is-unlocking .page-access__code-entry input,
.page-access__form.is-unlocking .page-access__code-caret {
  opacity: 0;
}

.page-access__form.is-unlocking .page-access__code-entry::after {
  opacity: 1;
  transform: translateY(0);
}

.page-access.is-checking .page-access__code-entry {
  cursor: progress;
  filter: saturate(0.82);
  opacity: 0.78;
}

.page-access__message {
  min-height: 1.35rem;
  margin: 0;
  color: rgba(255, 244, 225, 0.78);
  font-size: 0.94rem;
  line-height: 1.45;
}

.page-access__message.is-error {
  color: #ffd0cf;
}

.page-access__message.is-success {
  color: #d9ffe3;
}

.page-links {
  display: grid;
  align-self: start;
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  grid-auto-rows: max-content;
  gap: 0.85rem;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(0.9rem) scale(0.98);
  transition:
    max-height 520ms ease,
    opacity 360ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.page-links[hidden] {
  display: none;
}

.page-links.is-visible {
  max-height: 13rem;
  opacity: 1;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.page-link {
  appearance: none;
  display: inline-flex;
  align-self: start;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 1rem 1.15rem;
  border-radius: 1.3rem;
  border: 1px solid rgba(158, 119, 90, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 244, 230, 0.52)),
    linear-gradient(135deg, rgba(255, 217, 141, 0.6), rgba(255, 174, 136, 0.42) 58%, rgba(255, 244, 226, 0.88));
  color: rgba(61, 33, 38, 0.96);
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 12px 26px rgba(196, 151, 94, 0.18),
    0 0 18px rgba(255, 216, 160, 0.14);
  animation:
    page-link-theme var(--cycle) linear infinite,
    page-link-surface-warm var(--cycle) linear infinite;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease;
}

.page-link--rsvp {
  animation:
    page-link-theme-rsvp var(--cycle) linear infinite,
    page-link-surface-rsvp var(--cycle) linear infinite;
}

.page-link:nth-child(2) {
  animation:
    page-link-theme var(--cycle) linear infinite,
    page-link-surface-cool var(--cycle) linear infinite;
}

.page-link:nth-child(3) {
  animation:
    page-link-theme var(--cycle) linear infinite,
    page-link-surface-rose var(--cycle) linear infinite;
}

.page-link:hover,
.page-link:focus-visible {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255, 241, 200, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 18px 36px rgba(0, 0, 0, 0.18),
    0 0 28px rgba(255, 212, 107, 0.22);
  filter: saturate(1.08) brightness(1.02);
}

.page-link:focus-visible {
  outline: 2px solid rgba(255, 232, 181, 0.8);
  outline-offset: 3px;
}

.page-link[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
  filter: saturate(0.72);
}

.hero-setup-note {
  width: min(100%, 33rem);
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(8, 13, 30, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 244, 225, 0.84);
  line-height: 1.55;
  backdrop-filter: blur(12px);
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.modal-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 184, 118, 0.08), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(125, 179, 255, 0.08), transparent 24%),
    rgba(6, 10, 24, 0.04);
  cursor: pointer;
}

.modal-shell {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.modal-panel {
  position: relative;
  width: min(100%, 56rem);
  max-height: min(86vh, 56rem);
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.012)),
    rgba(7, 11, 28, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.18),
    0 0 30px rgba(255, 199, 123, 0.05);
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
}

.modal-panel__header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.4rem 0.9rem;
}

.modal-panel__meta {
  min-width: 0;
}

.modal-kicker {
  margin-bottom: 0.4rem;
}

.modal-panel__title {
  margin: 0;
  font-family: "Cormorant Garamond", "Baskerville", "Palatino Linotype", serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.modal-panel__body {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 1rem 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.modal-panel__loader {
  position: absolute;
  inset: 0 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.008)),
    rgba(4, 8, 22, 0.05);
  color: rgba(255, 244, 225, 0.86);
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: opacity 180ms ease;
}

.modal-panel:not(.is-loading) .modal-panel__loader {
  opacity: 0;
  pointer-events: none;
}

.modal-frame {
  display: block;
  width: 100%;
  min-height: 220px;
  border: 0;
  border-radius: 1.45rem;
  background: transparent;
  transition: opacity 120ms ease;
}

.modal-panel.is-loading .modal-frame {
  opacity: 0;
}

.modal-close {
  appearance: none;
  position: relative;
  flex-shrink: 0;
  border: 1px solid rgba(255, 228, 185, 0.5);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  background: linear-gradient(135deg, rgba(255, 212, 107, 0.96), rgba(255, 153, 102, 0.94));
  color: #2b1421;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(255, 166, 112, 0.28),
    inset 0 1px 0 rgba(255, 248, 233, 0.75);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255, 224, 140, 1), rgba(255, 171, 120, 0.98));
  border-color: rgba(255, 241, 214, 0.72);
  box-shadow:
    0 14px 28px rgba(255, 170, 116, 0.32),
    inset 0 1px 0 rgba(255, 250, 241, 0.82);
  filter: saturate(1.06);
}

.modal-close:focus-visible {
  outline: 2px solid rgba(255, 232, 181, 0.92);
  outline-offset: 3px;
}

.countdown-card {
  width: min(100%, 30rem);
  padding: 1.4rem;
  border-radius: 1.75rem;
  border: 1px solid var(--card-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    var(--card);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.countdown-unit {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.14rem;
  min-height: 5.45rem;
  padding: 0.7rem 0.75rem 0.62rem;
  border-radius: 1.1rem;
  background: rgba(6, 8, 20, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.countdown-unit span {
  display: block;
  font-family: "Cormorant Garamond", "Baskerville", "Palatino Linotype", serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 0.2rem;
}

.countdown-unit small {
  display: block;
  color: rgba(255, 244, 225, 0.66);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.venue-stage {
  --dropoff-left: 32.2%;
  --dropoff-bottom: 17.6%;
  --dropoff-width: 16%;
  --dropoff-lift: 18%;
  --dropoff-drive-x: 112vw;
  --dropoff-bounce: 0.32rem;
  --venue-aura-x: 0;
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  min-height: 60vh;
  margin: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.venue-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1%;
  width: min(88vw, 54rem);
  height: 18%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 219, 142, 0.34) 0%, rgba(255, 160, 120, 0.18) 38%, transparent 74%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
  animation: horizon-cycle var(--cycle) linear infinite;
}

.venue-aura {
  position: absolute;
  inset: auto -4vw 1% -4vw;
  height: 34%;
  z-index: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 220, 134, 0.2), transparent 54%),
    radial-gradient(circle, rgba(255, 121, 181, 0.15), transparent 68%);
  filter: blur(34px);
  pointer-events: none;
  transform: translateX(var(--venue-aura-x)) translateY(0) scaleX(0.96);
  animation: aura-shift 10s ease-in-out infinite;
}

.venue-art {
  --venue-aspect: 1.9612;
  --venue-max-height: 74vh;
  --venue-max-width: 124rem;
  --venue-fluid-width: 112vw;
  --venue-base-shift: 18%;
  --venue-float-lift: 0.9rem;
  --venue-scale: 1;
  display: inline-block;
  position: relative;
  z-index: 1;
  line-height: 0;
  width: min(
    var(--venue-max-width),
    var(--venue-fluid-width),
    calc(var(--venue-max-height) * var(--venue-aspect))
  );
  transform: translateY(var(--venue-base-shift)) scale(var(--venue-scale));
  transform-origin: 50% 100%;
  animation: venue-float 10s ease-in-out infinite;
}

.venue-art::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1%;
  z-index: 0;
  width: 108%;
  height: 24%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(15, 20, 34, 0.2), rgba(255, 214, 143, 0.12) 46%, transparent 76%);
  pointer-events: none;
  transform: translateX(-50%);
}

.venue-art > .venue-illustration {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: var(--venue-max-height);
  object-fit: contain;
  opacity: 1;
}

.dropoff-car {
  position: absolute;
  left: var(--dropoff-left);
  bottom: var(--dropoff-bottom);
  width: var(--dropoff-width);
  z-index: 2;
  pointer-events: none;
  transform: translate3d(-50%, calc(-1 * var(--dropoff-lift)), 0);
  transform-origin: 50% 100%;
  animation: car-dropoff 6.2s cubic-bezier(0.22, 0.74, 0.28, 1) 160ms 1 both;
}

.dropoff-car img {
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0.45rem 0.8rem rgba(9, 12, 26, 0.22))
    drop-shadow(0 0.9rem 1.5rem rgba(9, 12, 26, 0.18));
}

.dropoff-car-shadow {
  position: absolute;
  left: 50%;
  bottom: 0.18rem;
  width: 72%;
  height: 0.9rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(7, 10, 22, 0.26);
  filter: blur(10px);
  animation: car-shadow-dropoff 6.2s ease-in-out 160ms 1 both;
}

.night-drive-car {
  --night-car-y: calc(-1 * var(--dropoff-lift));
  position: absolute;
  left: 50%;
  bottom: var(--dropoff-bottom);
  z-index: 4;
  width: var(--dropoff-width);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(72vw, var(--night-car-y), 0);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  animation: night-car-drive var(--cycle) linear infinite;
}

.night-drive-car img {
  animation: night-car-party-suspension 0.56s ease-in-out infinite;
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 0.38rem 0.55rem rgba(2, 5, 14, 0.42))
    drop-shadow(0 0 1rem rgba(114, 220, 255, 0.14));
  transform: scaleX(-1);
}

.night-drive-car::before {
  content: "";
  position: absolute;
  left: 22%;
  right: 23%;
  top: 24%;
  bottom: 32%;
  z-index: 3;
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 20% 48%, rgba(114, 220, 255, 1), rgba(114, 220, 255, 0.58) 24%, transparent 46%),
    radial-gradient(circle at 54% 42%, rgba(255, 146, 190, 1), rgba(255, 146, 190, 0.58) 24%, transparent 46%),
    radial-gradient(circle at 83% 50%, rgba(255, 226, 126, 0.98), rgba(255, 226, 126, 0.5) 24%, transparent 44%);
  filter: blur(3.4px);
  mix-blend-mode: screen;
  opacity: 1;
  animation: night-car-cabin-pulse 0.68s steps(3, end) infinite;
}

.night-drive-car::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 15%;
  bottom: 8%;
  z-index: 1;
  height: 16%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(114, 220, 255, 0.82), transparent 52%),
    radial-gradient(ellipse at 62% 50%, rgba(255, 146, 190, 0.68), transparent 56%),
    radial-gradient(ellipse at 86% 50%, rgba(255, 226, 126, 0.58), transparent 58%);
  filter: blur(5px) saturate(1.4);
  mix-blend-mode: screen;
  opacity: 0.84;
  pointer-events: none;
  animation: night-car-neon-pulse 0.78s steps(3, end) infinite;
}

.night-drive-car__shadow {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 0;
  width: 74%;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(3, 5, 12, 0.38);
  filter: blur(9px);
  transform: translateX(-50%);
  animation: night-car-shadow-bounce 0.56s ease-in-out infinite;
}

.night-drive-car__light {
  position: absolute;
  /* top: 25%; */
  z-index: 4;
  width: 25%;
  height: 100%;
  border-radius: 44% 40% 36% 34%;
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  filter: blur(1.8px) saturate(2);
  animation: night-car-light-pulse 0.68s steps(3, end) infinite;
}

.night-drive-car__light--cyan {
  left: 34%;
  color: rgb(114, 220, 255);
  background:
    radial-gradient(circle at 48% 48%, rgba(255, 255, 255, 0.98), rgba(114, 220, 255, 1) 30%, rgba(114, 220, 255, 0.52) 74%, transparent 100%);
  box-shadow:
    0 0 1.35rem rgba(114, 220, 255, 0.9),
    0 0 2.45rem rgba(114, 220, 255, 0.46);
}

.night-drive-car__light--pink {
  left: 49%;
  /*top: 23%;*/
  width: 27%;
  color: rgb(255, 146, 190);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.96), rgba(255, 146, 190, 1) 29%, rgba(255, 146, 190, 0.54) 76%, transparent 100%);
  box-shadow:
    0 0 1.45rem rgba(255, 146, 190, 0.92),
    0 0 2.6rem rgba(255, 146, 190, 0.48);
  animation-delay: -0.22s;
}

.night-drive-car__light--gold {
  left: 64%;
  /*top: 26%;*/
  width: 22%;
  height: 31%;
  color: rgb(255, 226, 126);
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.94), rgba(255, 226, 126, 1) 30%, rgba(255, 226, 126, 0.5) 74%, transparent 100%);
  box-shadow:
    0 0 1.25rem rgba(255, 226, 126, 0.88),
    0 0 2.25rem rgba(255, 226, 126, 0.42);
  animation-delay: -0.44s;
}

.inner-page {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 180, 130, 0.28), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(115, 189, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #091223 0%, #101b31 52%, #1b0f24 100%);
}

.subpage-shell {
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.subpage {
  width: min(100%, 48rem);
  margin: 0 auto;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
    rgba(9, 13, 30, 0.48);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.subpage-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: rgba(255, 244, 225, 0.84);
  text-decoration: none;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
}

.subpage-back:hover,
.subpage-back:focus-visible {
  color: rgba(255, 244, 225, 1);
}

.subpage-kicker {
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.76rem;
  color: rgba(255, 244, 225, 0.62);
}

.subpage-title {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", "Baskerville", "Palatino Linotype", serif;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.subpage-intro {
  margin: 0 0 1.5rem;
  max-width: 38rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 244, 225, 0.82);
}

.subpage-card {
  padding: 1.15rem 1.2rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.subpage-card h2,
.subpage-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.subpage-card p {
  margin: 0;
  color: rgba(255, 244, 225, 0.78);
  line-height: 1.65;
}

.subpage-content {
  color: rgba(255, 244, 225, 0.82);
  font-size: 1.02rem;
  line-height: 1.7;
}

.subpage-content > * {
  max-width: 100%;
}

.subpage-content > * + * {
  margin-top: 1rem;
}

.subpage-content > .trouwerij-rsvp {
  margin-top: 0;
}

.subpage-content a {
  color: rgba(255, 229, 190, 0.94);
}

.subpage-content ul,
.subpage-content ol {
  padding-left: 1.25rem;
}

.trouwerij-modal-frame-view.inner-page {
  background: transparent;
}

.trouwerij-modal-frame-view .subpage-shell {
  min-height: auto;
  padding: 0;
}

.trouwerij-modal-frame-view .subpage {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.trouwerij-modal-frame-view .subpage-intro {
  margin-bottom: 1rem;
}

.trouwerij-modal-frame-view .subpage-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(7, 11, 28, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trouwerij-modal-frame-view .trouwerij-rsvp {
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 244, 225, 0.9);
  overflow: visible;
}

.trouwerij-modal-frame-view .trouwerij-rsvp::before {
  display: none;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__intro {
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__intro h2 {
  display: none;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__intro p,
.trouwerij-modal-frame-view .trouwerij-rsvp__field-help,
.trouwerij-modal-frame-view .trouwerij-rsvp__contact-pane-help {
  color: rgba(255, 244, 225, 0.76);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__lookup-card,
.trouwerij-modal-frame-view .trouwerij-rsvp__guest-card,
.trouwerij-modal-frame-view .trouwerij-rsvp__field--comments,
.trouwerij-modal-frame-view .trouwerij-rsvp__form-actions,
.trouwerij-modal-frame-view .trouwerij-rsvp__notice,
.trouwerij-modal-frame-view .trouwerij-rsvp__contact-pane {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.008)),
    rgba(7, 11, 28, 0.2);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__guest-card::before {
  background: linear-gradient(90deg, rgba(255, 212, 107, 0.96), rgba(255, 109, 148, 0.92), rgba(143, 225, 255, 0.9));
}

.trouwerij-modal-frame-view .trouwerij-rsvp__guest-card.is-absent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.008)),
    rgba(15, 15, 24, 0.06);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__guest-header h3 {
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 244, 225, 0.96);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__guest-name,
.trouwerij-modal-frame-view .trouwerij-rsvp__static-value {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 244, 225, 0.92);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field label {
  color: rgba(255, 244, 225, 0.68);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__menu-choice legend {
  margin-bottom: 0.68rem;
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 244, 225, 0.94);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__menu-options {
  gap: 0.65rem;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__menu-choice .trouwerij-rsvp__menu-option {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 244, 225, 0.9);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__menu-option-body {
  min-height: auto;
  padding: 0.84rem 0.95rem 0.9rem;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.014)),
    rgba(7, 11, 28, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__menu-option:hover .trouwerij-rsvp__menu-option-body {
  border-color: rgba(255, 244, 225, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.02)),
    rgba(7, 11, 28, 0.2);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__menu-option-title {
  color: rgba(255, 244, 225, 0.98);
  font-size: 1.03rem;
  line-height: 1.22;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__menu-option-description {
  color: rgba(255, 244, 225, 0.72);
  font-size: 0.95rem;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__meal-radio:checked + .trouwerij-rsvp__menu-option-body {
  border-color: rgba(255, 212, 107, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 212, 107, 0.16), rgba(255, 109, 148, 0.055)),
    rgba(7, 11, 28, 0.22);
  box-shadow:
    0 0 0 3px rgba(255, 212, 107, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__meal-radio:focus-visible + .trouwerij-rsvp__menu-option-body {
  border-color: rgba(255, 212, 107, 0.72);
  box-shadow:
    0 0 0 4px rgba(255, 212, 107, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__meal-radio:disabled + .trouwerij-rsvp__menu-option-body {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__meal-radio:disabled + .trouwerij-rsvp__menu-option-body .trouwerij-rsvp__menu-option-title,
.trouwerij-modal-frame-view .trouwerij-rsvp__meal-radio:disabled + .trouwerij-rsvp__menu-option-body .trouwerij-rsvp__menu-option-description {
  color: rgba(255, 244, 225, 0.4);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field input,
.trouwerij-modal-frame-view .trouwerij-rsvp__field select,
.trouwerij-modal-frame-view .trouwerij-rsvp__field textarea,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input {
  background: rgba(7, 11, 28, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 244, 225, 0.96) !important;
  caret-color: rgba(255, 244, 225, 0.96);
  color-scheme: dark;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.015);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field input,
.trouwerij-modal-frame-view .trouwerij-rsvp__field textarea,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input {
  -webkit-text-fill-color: rgba(255, 244, 225, 0.96) !important;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field select,
.trouwerij-modal-frame-view .trouwerij-rsvp__field select:hover,
.trouwerij-modal-frame-view .trouwerij-rsvp__field select:active {
  background-color: rgba(7, 11, 28, 0.86) !important;
  color: rgba(255, 244, 225, 0.98) !important;
  color-scheme: dark;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field select option,
.trouwerij-modal-frame-view .trouwerij-rsvp__field select optgroup {
  background-color: #07101f;
  color: #fff4e1;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field select option:checked,
.trouwerij-modal-frame-view .trouwerij-rsvp__field select option:hover {
  background-color: #182039;
  color: #fff4e1;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field input::placeholder,
.trouwerij-modal-frame-view .trouwerij-rsvp__field textarea::placeholder,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input::placeholder {
  color: rgba(255, 244, 225, 0.5);
  -webkit-text-fill-color: rgba(255, 244, 225, 0.5);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field input:focus,
.trouwerij-modal-frame-view .trouwerij-rsvp__field select:focus,
.trouwerij-modal-frame-view .trouwerij-rsvp__field textarea:focus,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input:focus {
  background: rgba(7, 11, 28, 0.18) !important;
  border-color: rgba(255, 212, 107, 0.56);
  color: rgba(255, 244, 225, 0.98) !important;
  box-shadow:
    0 0 0 4px rgba(255, 212, 107, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field input:focus,
.trouwerij-modal-frame-view .trouwerij-rsvp__field textarea:focus,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input:focus {
  -webkit-text-fill-color: rgba(255, 244, 225, 0.98) !important;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field select:focus {
  background: rgba(7, 11, 28, 0.86) !important;
  color: rgba(255, 244, 225, 0.98) !important;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__field input:-webkit-autofill,
.trouwerij-modal-frame-view .trouwerij-rsvp__field input:-webkit-autofill:hover,
.trouwerij-modal-frame-view .trouwerij-rsvp__field input:-webkit-autofill:focus,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input:-webkit-autofill,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input:-webkit-autofill:hover,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input:-webkit-autofill:focus {
  background-color: rgba(7, 11, 28, 0.28) !important;
  border-color: rgba(255, 212, 107, 0.56);
  -webkit-box-shadow:
    0 0 0 1000px rgba(7, 11, 28, 0.92) inset,
    0 0 0 4px rgba(255, 212, 107, 0.12) !important;
  box-shadow:
    0 0 0 1000px rgba(7, 11, 28, 0.92) inset,
    0 0 0 4px rgba(255, 212, 107, 0.12);
  caret-color: rgba(255, 244, 225, 0.98);
  -webkit-text-fill-color: rgba(255, 244, 225, 0.98) !important;
  transition: background-color 9999s ease-out, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input::-webkit-contacts-auto-fill-button,
.trouwerij-modal-frame-view .trouwerij-rsvp__grid--contact input::-webkit-credentials-auto-fill-button {
  filter: invert(1) brightness(1.35) opacity(0.72);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__dietary-notes:disabled {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.045);
  color: rgba(255, 244, 225, 0.4);
  box-shadow: none;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__notice--success {
  border-color: rgba(136, 242, 191, 0.3);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__notice--warning {
  border-color: rgba(255, 212, 107, 0.34);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__notice--error {
  border-color: rgba(255, 144, 144, 0.34);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__submit-button,
.trouwerij-modal-frame-view .trouwerij-rsvp__add-guest-button {
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.trouwerij-modal-frame-view .trouwerij-rsvp__submit-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(255, 171, 171, 0.84), rgba(255, 109, 148, 0.88) 58%, rgba(255, 212, 107, 0.82));
  color: #fffaf1;
}

.trouwerij-modal-frame-view .trouwerij-rsvp__submit-button:hover,
.trouwerij-modal-frame-view .trouwerij-rsvp__submit-button:focus {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(255, 186, 186, 0.92), rgba(255, 121, 165, 0.94) 58%, rgba(255, 224, 140, 0.9));
}

.trouwerij-modal-frame-view .trouwerij-rsvp__add-guest-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.03);
  color: rgba(255, 244, 225, 0.94);
}

body.modal-is-open {
  overflow: hidden;
}

@media (min-width: 961px) {
  .hero {
    padding-left: clamp(1.5rem, 4vw, 4.5rem);
    padding-right: clamp(1.5rem, 4vw, 4.5rem);
  }

  .hero-copy {
    width: min(34rem, calc(100% - 4rem));
    max-width: 34rem;
    margin-top: clamp(1.5rem, 4vh, 3.5rem);
    padding-left: 0.35rem;
  }

  h1 {
    max-width: 7ch;
    font-size: 6.2rem;
    line-height: 0.86;
  }
}

@media (min-width: 1280px) {
  .hero-copy {
    width: 36rem;
    max-width: 36rem;
    margin-top: 3.1rem;
    padding-left: 0.6rem;
  }

  h1 {
    font-size: 7rem;
  }
}

@media (min-width: 1540px) {
  .hero-copy {
    width: 39rem;
    max-width: 39rem;
    margin-top: 3.6rem;
    padding-left: 0.8rem;
  }

  h1 {
    font-size: 7.9rem;
  }
}

@keyframes sky-night-layer {
  0%,
  44% {
    opacity: 0;
  }
  48%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes sky-day-layer {
  0%,
  44% {
    opacity: 1;
  }
  48%,
  96% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes atmosphere-cycle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  24% {
    opacity: 0.82;
    transform: scale(1.08);
  }
  52% {
    opacity: 0.65;
    transform: scale(1.12);
  }
  76% {
    opacity: 0.4;
    transform: scale(1.02);
  }
}

@keyframes event-pill-surface {
  0%,
  44%,
  100% {
    border-color: rgba(52, 39, 46, 0.2);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.32)),
      rgba(255, 255, 255, 0.18);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 8px 20px rgba(52, 39, 46, 0.13),
      0 0 18px rgba(255, 244, 225, 0.18);
  }
  48%,
  96% {
    border-color: rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
      rgba(7, 11, 28, 0.12);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 8px 20px rgba(0, 0, 0, 0.16);
  }
}

@keyframes event-pill-ink {
  0%,
  44%,
  100% {
    color: rgba(48, 35, 42, 0.96);
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.5),
      0 5px 16px rgba(255, 244, 225, 0.16);
  }
  48%,
  96% {
    color: rgba(255, 244, 225, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  }
}

@keyframes page-link-theme {
  0%,
  44%,
  100% {
    color: rgba(61, 33, 38, 0.96);
    border-color: rgba(158, 119, 90, 0.28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.5),
      0 12px 26px rgba(196, 151, 94, 0.18),
      0 0 18px rgba(255, 216, 160, 0.14);
  }
  48%,
  96% {
    color: rgba(255, 248, 234, 0.98);
    border-color: rgba(255, 236, 205, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 18px 34px rgba(0, 0, 0, 0.22),
      0 0 24px rgba(255, 189, 134, 0.18);
  }
}

@keyframes page-link-theme-rsvp {
  0%,
  44%,
  100% {
    color: rgba(74, 24, 31, 0.97);
    border-color: rgba(174, 82, 88, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.52),
      0 14px 28px rgba(204, 95, 102, 0.2),
      0 0 20px rgba(238, 123, 129, 0.16);
  }
  48%,
  96% {
    color: rgba(255, 246, 240, 0.98);
    border-color: rgba(255, 191, 191, 0.34);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 18px 34px rgba(0, 0, 0, 0.24),
      0 0 26px rgba(255, 111, 132, 0.22);
  }
}

@keyframes page-link-surface-warm {
  0%,
  44%,
  100% {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 244, 230, 0.52)),
      linear-gradient(135deg, rgba(255, 217, 141, 0.6), rgba(255, 174, 136, 0.42) 58%, rgba(255, 244, 226, 0.88));
  }
  48%,
  96% {
    background:
      linear-gradient(180deg, rgba(255, 249, 227, 0.18), rgba(255, 255, 255, 0.03)),
      linear-gradient(135deg, rgba(255, 210, 118, 0.4), rgba(255, 132, 120, 0.3) 52%, rgba(16, 21, 42, 0.72));
  }
}

@keyframes page-link-surface-rsvp {
  0%,
  44%,
  100% {
    background:
      linear-gradient(180deg, rgba(255, 251, 249, 0.78), rgba(255, 233, 231, 0.56)),
      linear-gradient(135deg, rgba(255, 171, 171, 0.56), rgba(255, 134, 144, 0.46) 58%, rgba(255, 242, 239, 0.9));
  }
  48%,
  96% {
    background:
      linear-gradient(180deg, rgba(255, 241, 239, 0.18), rgba(255, 255, 255, 0.03)),
      linear-gradient(135deg, rgba(255, 126, 141, 0.42), rgba(255, 92, 114, 0.3) 52%, rgba(22, 18, 40, 0.74));
  }
}

@keyframes page-link-surface-cool {
  0%,
  44%,
  100% {
    background:
      linear-gradient(180deg, rgba(251, 254, 255, 0.76), rgba(240, 247, 255, 0.54)),
      linear-gradient(135deg, rgba(169, 223, 255, 0.54), rgba(207, 198, 255, 0.4) 60%, rgba(246, 249, 255, 0.9));
  }
  48%,
  96% {
    background:
      linear-gradient(180deg, rgba(244, 250, 255, 0.18), rgba(255, 255, 255, 0.03)),
      linear-gradient(135deg, rgba(133, 218, 255, 0.34), rgba(176, 155, 255, 0.28) 52%, rgba(16, 22, 46, 0.72));
  }
}

@keyframes page-link-surface-rose {
  0%,
  44%,
  100% {
    background:
      linear-gradient(180deg, rgba(255, 252, 246, 0.76), rgba(255, 241, 236, 0.54)),
      linear-gradient(135deg, rgba(255, 223, 158, 0.52), rgba(255, 196, 214, 0.42) 60%, rgba(255, 246, 244, 0.9));
  }
  48%,
  96% {
    background:
      linear-gradient(180deg, rgba(255, 250, 238, 0.18), rgba(255, 255, 255, 0.03)),
      linear-gradient(135deg, rgba(255, 226, 140, 0.34), rgba(255, 164, 212, 0.26) 54%, rgba(20, 21, 44, 0.72));
  }
}

@keyframes sun-orbit {
  0% {
    transform: rotate(-82deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.16, 0.92, 0.28, 1);
  }
  0.5% {
    transform: rotate(-82deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.16, 0.92, 0.28, 1);
  }
  1% {
    transform: rotate(-44deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.24, 0.78, 0.36, 1);
  }
  1.9% {
    transform: rotate(-28deg);
    opacity: 1;
    animation-timing-function: linear;
  }
  38% {
    transform: rotate(22deg);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.72, 0.04, 0.88, 0.24);
  }
  44% {
    transform: rotate(80deg);
    opacity: 0;
  }
  100% {
    transform: rotate(80deg);
    opacity: 0;
  }
}

@keyframes moon-orbit {
  0%,
  48% {
    transform: rotate(82deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.16, 0.92, 0.28, 1);
  }
  48.5% {
    transform: rotate(82deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.16, 0.92, 0.28, 1);
  }
  49% {
    transform: rotate(44deg);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.24, 0.78, 0.36, 1);
  }
  49.9% {
    transform: rotate(28deg);
    opacity: 1;
    animation-timing-function: linear;
  }
  86% {
    transform: rotate(-22deg);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.72, 0.04, 0.88, 0.24);
  }
  92% {
    transform: rotate(-80deg);
    opacity: 0;
  }
  100% {
    transform: rotate(-80deg);
    opacity: 0;
  }
}

@keyframes orb-glow {
  0%,
  100% {
    opacity: 0.94;
    filter: brightness(0.98);
  }
  50% {
    opacity: 1;
    filter: brightness(1.08);
  }
}

@keyframes halo-breathe {
  0%,
  100% {
    opacity: 0.78;
    filter: blur(16px);
  }
  50% {
    opacity: 1;
    filter: blur(20px);
  }
}

@keyframes cloud-drift {
  0% {
    left: -30vw;
  }
  100% {
    left: 110vw;
  }
}

@keyframes cloud-visibility {
  0%,
  40.8% {
    opacity: 0.9;
  }
  48%,
  96% {
    opacity: 0;
  }
  100% {
    opacity: 0.9;
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.84);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes sun-party-visibility {
  0%,
  2.02%,
  44%,
  100% {
    opacity: 0;
  }
  3.12%,
  39.2% {
    opacity: 1;
  }
  44% {
    opacity: 0;
  }
}

@keyframes night-visibility {
  0%,
  44% {
    opacity: 0;
  }
  48%,
  96% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes moon-party-visibility {
  0%,
  50.02%,
  92%,
  100% {
    opacity: 0;
  }
  51.12%,
  87.2% {
    opacity: 1;
  }
  92% {
    opacity: 0;
  }
}

@keyframes confetti-fall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift), 118vh, 0) rotate(var(--spin));
    opacity: 0.95;
  }
}

@keyframes heart-rise {
  0% {
    transform: translate3d(0, 8vh, 0) scale(0.7) rotate(0deg);
    opacity: 0;
  }
  18% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(var(--drift), -110vh, 0) scale(1.25) rotate(var(--spin));
    opacity: 0;
  }
}

@keyframes beam-sweep {
  0% {
    transform: rotate(-14deg) scaleY(0.92);
  }
  100% {
    transform: rotate(14deg) scaleY(1.04);
  }
}

@keyframes disco-swing {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

@keyframes disco-spin {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 4rem 4rem;
  }
}

@keyframes laser-sweep {
  0% {
    transform: rotate(-18deg) scaleY(0.84);
    opacity: 0.26;
  }
  100% {
    transform: rotate(18deg) scaleY(1.04);
    opacity: 0.82;
  }
}

@keyframes laser-flicker {
  0%,
  100% {
    filter: blur(1px) brightness(0.9);
  }
  50% {
    filter: blur(0) brightness(1.22);
  }
}

@keyframes horizon-cycle {
  0%,
  100% {
    opacity: 0.16;
  }
  32% {
    opacity: 0.55;
  }
  54% {
    opacity: 0.88;
  }
  78% {
    opacity: 0.28;
  }
}

@keyframes aura-shift {
  0%,
  100% {
    transform: translateX(var(--venue-aura-x)) translateY(0) scaleX(0.96);
    opacity: 0.7;
  }
  50% {
    transform: translateX(var(--venue-aura-x)) translateY(-0.5rem) scaleX(1.08);
    opacity: 1;
  }
}

@keyframes venue-float {
  0%,
  100% {
    transform: translateY(var(--venue-base-shift)) scale(var(--venue-scale));
  }
  50% {
    transform: translateY(calc(var(--venue-base-shift) - var(--venue-float-lift))) scale(var(--venue-scale));
  }
}

@keyframes code-caret-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}

@keyframes car-dropoff {
  0%,
  18% {
    opacity: 1;
    transform: translate3d(-50%, calc(-1 * var(--dropoff-lift)), 0);
  }
  23% {
    opacity: 1;
    transform: translate3d(-50%, calc(-1 * (var(--dropoff-lift) + var(--dropoff-bounce))), 0);
  }
  31% {
    opacity: 1;
    transform: translate3d(calc(-50% + 1.2rem), calc(-1 * var(--dropoff-lift)), 0);
    animation-timing-function: cubic-bezier(0.3, 0.7, 0.36, 1);
  }
  76% {
    opacity: 1;
    transform: translate3d(calc(-50% + var(--dropoff-drive-x)), calc(-1 * (var(--dropoff-lift) + var(--dropoff-bounce) * 0.45)), 0);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(-50% + var(--dropoff-drive-x) + 12vw), calc(-1 * (var(--dropoff-lift) + var(--dropoff-bounce) * 0.45)), 0);
  }
}

@keyframes car-shadow-dropoff {
  0%,
  20% {
    opacity: 0.28;
    transform: translateX(-50%) scaleX(1);
  }
  33% {
    opacity: 0.24;
    transform: translateX(-50%) scaleX(1.06);
  }
  76% {
    opacity: 0.12;
    transform: translateX(-50%) scaleX(0.92);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scaleX(0.88);
  }
}

@keyframes night-car-drive {
  0%,
  49% {
    opacity: 0;
    transform: translate3d(72vw, var(--night-car-y), 0) rotate(0deg);
  }
  52% {
    opacity: 0.96;
    transform: translate3d(62vw, calc(var(--night-car-y) - 0.25rem), 0) rotate(-0.9deg);
  }
  64% {
    opacity: 1;
    transform: translate3d(25vw, calc(var(--night-car-y) + 0.15rem), 0) rotate(1.2deg);
  }
  78% {
    opacity: 1;
    transform: translate3d(-25vw, calc(var(--night-car-y) - 0.31rem), 0) rotate(-1deg);
  }
  90% {
    opacity: 0.96;
    transform: translate3d(-62vw, calc(var(--night-car-y) + 0.11rem), 0) rotate(0.75deg);
  }
  94%,
  100% {
    opacity: 0;
    transform: translate3d(-74vw, var(--night-car-y), 0) rotate(0deg);
  }
}

@keyframes night-car-party-suspension {
  0%,
  100% {
    transform: scaleX(-1) translateY(0) rotate(0deg);
  }
  28% {
    transform: scaleX(-1) translateY(-0.2rem) rotate(-1.1deg);
  }
  62% {
    transform: scaleX(-1) translateY(0.08rem) rotate(0.8deg);
  }
}

@keyframes night-car-shadow-bounce {
  0%,
  100% {
    opacity: 0.38;
    transform: translateX(-50%) scaleX(1);
  }
  45% {
    opacity: 0.24;
    transform: translateX(-50%) scaleX(0.82);
  }
}

@keyframes night-car-cabin-pulse {
  0%,
  100% {
    opacity: 0.78;
    filter: blur(2px) hue-rotate(0deg);
  }
  42% {
    opacity: 1;
    filter: blur(2px) hue-rotate(78deg);
  }
  72% {
    opacity: 0.94;
    filter: blur(2px) hue-rotate(152deg);
  }
}

@keyframes night-car-light-pulse {
  0%,
  100% {
    opacity: 0.72;
  }
  38% {
    opacity: 1;
  }
  72% {
    opacity: 0.9;
  }
}

@keyframes night-car-neon-pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: translateY(0) scaleX(0.92);
  }
  40% {
    opacity: 0.94;
    transform: translateY(0.05rem) scaleX(1.08);
  }
  72% {
    opacity: 0.76;
    transform: translateY(-0.02rem) scaleX(1);
  }
}

@media (max-width: 960px) {
  body {
    overflow-y: auto;
  }

  .hero {
    display: block;
    padding-top: 9rem;
    padding-bottom: 2rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    margin-top: 0vh;
    margin-bottom: -2vh;
  }

  .page-access,
  .page-links {
    width: min(100%, 29rem);
  }

  .page-access {
    align-content: start;
  }

  .countdown-card {
    width: 100%;
  }

  .venue-stage {
    --dropoff-left: 31.6%;
    --dropoff-bottom: 15.65%;
    --dropoff-width: 19%;
    --dropoff-lift: 18%;
    --dropoff-drive-x: 118vw;
    --dropoff-bounce: 0.28rem;
    --venue-aura-x: -50%;
    position: relative;
    inset: auto;
    min-height: 46vh;
    margin: 0.75rem -2rem max(5.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
    padding-bottom: 4rem;
  }

  .venue-stage::after {
    bottom: -22%;
    left: 50%;
    width: 300vw;
    height: 76%;
    opacity: 0.72;
    filter: blur(82px);
    transform: translateX(-50%);
  }

  .venue-aura {
    left: 50%;
    right: auto;
    bottom: -22%;
    width: 320vw;
    height: 92%;
    opacity: 0.7;
    filter: blur(88px);
  }

  .venue-art {
    --venue-max-height: 62vh;
    --venue-max-width: 118vw;
    --venue-fluid-width: 118vw;
    --venue-base-shift: -8%;
    --venue-float-lift: 0.8rem;
    --venue-scale: 1.08;
  }

  .venue-art > .venue-illustration {
    max-height: var(--venue-max-height);
  }

  .night-drive-car__light {
    height: 100%;
  }

  .disco-rig {
    width: 80vw;
  }

  .countdown-floating {
    width: min(52rem, calc(100% - 2rem));
  }
}

@media (max-width: 640px) {
  .page-shell,
  .hero {
    min-height: auto;
  }

  .hero {
    padding: 7.35rem 0.85rem 1.35rem;
  }
  
  h1{
    
    font-size: 8vh;
    
  }
  
  .eyebrow {
    letter-spacing: 0.24em;
  }

  .countdown-card--wide {
    padding: 0.72rem 0.62rem 0.58rem;
    border-radius: 1.2rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.36rem;
  }

  .countdown-unit {
    min-height: 3.8rem;
    padding: 0.42rem 0.28rem 0.34rem;
    border-radius: 0.82rem;
    gap: 0.08rem;
  }

  .countdown-unit span {
    font-size: 1.72rem;
    margin-bottom: 0.02rem;
  }

  .countdown-unit small {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
  }

  .event-pill {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
    width: 100%;
    margin-bottom: 0.72rem;
  }

  .event-pill span {
    display: flex;
    align-items: center;
    min-width: 0;
    justify-content: center;
    overflow: hidden;
    padding: 0.44rem 0.16rem;
    font-size: 0.72rem;
    line-height: 1.05;
    text-align: center;
    white-space: normal;
  }

  .page-access {
    gap: 0.55rem;
  }

  .page-access__form {
    gap: 0.48rem;
    max-height: 11.5rem;
    padding: 0.68rem;
    border-radius: 1rem;
  }

  .page-access__field {
    gap: 0.38rem;
  }

  .page-access__title {
    font-size: 1.48rem;
  }

  .page-access__title span {
    padding-bottom: 0.22rem;
  }

  .page-access__control {
    display: block;
  }

  .page-access__code-entry {
    width: min(100%, 17.5rem);
    min-height: 2.72rem;
  }

  .page-access__code-entry input {
    font-size: 1rem;
  }

  .page-access__code-slots {
    min-height: 2.72rem;
    padding: 0;
  }

  .page-access__code-slot {
    padding: 0.38rem 0 0.32rem;
  }

  .page-access__code-char {
    min-height: 1.18rem;
    font-size: 1rem;
  }

  .page-access__code-dot {
    width: 0.28rem;
    height: 0.28rem;
  }

  .page-access__code-caret {
    top: 0.48rem;
    height: 1.25rem;
  }

  .page-access__message {
    min-height: 1rem;
    font-size: 0.76rem;
    line-height: 1.28;
  }

  .page-links {
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    gap: 0.62rem;
   
  }

  .page-link {
    min-height: 3.35rem;
    font-size: 0.94rem;
  }

  .modal-shell {
    align-items: flex-start;
    padding: calc(env(safe-area-inset-top, 0px) + 0.8rem) 0.8rem 0.8rem;
  }

  .modal-panel {
    width: 100%;
    max-height: min(86vh, 48rem);
    border-radius: 1.55rem;
  }

  .modal-panel__header {
    padding: 1rem 1rem 0.75rem;
  }

  .modal-panel__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .modal-panel__body {
    padding: 0 0.85rem 0.85rem;
  }

  .modal-panel__loader {
    inset: 0 0.85rem 0.85rem;
  }

  .modal-close {
    padding: 0.55rem 0.78rem;
    font-size: 0.76rem;
  }

  .beam {
    width: 32vw;
  }

  .venue-stage {
    --dropoff-left: 32%;
    --dropoff-bottom: 15.8%;
    --dropoff-width: 26%;
    --dropoff-lift: 20%;
    --dropoff-drive-x: 122vw;
    --dropoff-bounce: 0.22rem;
    margin: 0.15rem -1rem max(6.75rem, calc(env(safe-area-inset-bottom, 0px) + 5.75rem));
    min-height: 54vh;
    padding-bottom: 5.25rem;
  }

  .venue-art {
    --venue-max-height: 82vh;
    --venue-max-width: 140vw;
    --venue-fluid-width: 140vw;
    --venue-base-shift: -10%;
    --venue-float-lift: 0.52rem;
    --venue-scale: 1.2;
  }

  .venue-art > .venue-illustration {
    max-height: var(--venue-max-height);
  }

  .night-drive-car__light {
    width: 25%;
    height: 100%;
  }

  .venue-stage::after {
    bottom: -24%;
    width: 330vw;
    height: 82%;
    opacity: 0.72;
    filter: blur(88px);
  }

  .venue-aura {
    bottom: -24%;
    width: 340vw;
    height: 96%;
    opacity: 0.68;
    filter: blur(90px);
  }

  .disco-rig {
    width: 88vw;
  }

  .disco-ball {
    top: 11%;
    width: 3.8rem;
    height: 3.8rem;
  }

  .laser {
    width: 23vw;
    height: 44vh;
  }

  .countdown-floating {
    top: 0.7rem;
    width: calc(100% - 0.75rem);
  }

  .countdown-tag {
    top: -0.58rem;
    left: 0.7rem;
    font-size: 1.2rem;
    padding: 0.34rem 0.7rem;
  }

  .subpage-shell {
    padding: 1rem 0.9rem 1.25rem;
  }

  .subpage {
    border-radius: 1.5rem;
    padding: 1.15rem 1rem;
  }
}

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