:root {
  --night: #071422;
  --ink: #0b1c33;
  --deep: #102a4a;
  --glacier: #5ea8d8;
  --frost: #b7d8f2;
  --ice: #e8f4ff;
  --snow: #f7fbff;
  --mist: #9eb6ce;
  --rose: #e7b7c8;
  --rose-soft: rgba(231, 183, 200, 0.35);
  --glow: rgba(126, 184, 224, 0.45);
  --display: "Instrument Serif", Georgia, serif;
  --script: "Birthstone", "Segoe Script", cursive;
  --body: "Sora", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --romance: 0.55;
  --tempo: 1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--night);
  color: var(--snow);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
}
body.locked { overflow: hidden; height: 100vh; }
body.slow-dance { --tempo: 0.45; }
body.touching { cursor: auto; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; background: none; }

.snow, .fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
}
.fx { z-index: 55; }
.snow { z-index: 3; }

.cursor-glow {
  position: fixed;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  background: radial-gradient(circle, rgba(232, 244, 255, 0.55), transparent 70%);
  box-shadow: 0 0 24px rgba(126, 184, 224, 0.35);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.3s;
}
body:not(.touching) .cursor-glow.is-on { opacity: 1; }

.whispers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 58;
  overflow: hidden;
}
.whisper {
  position: absolute;
  font-family: var(--script);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--ice);
  text-shadow: 0 0 18px rgba(126, 184, 224, 0.65);
  animation: whisperRise 2.8s var(--ease) forwards;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes whisperRise {
  0% { opacity: 0; transform: translateY(12px) scale(0.92); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-70px) scale(1.05); }
}

/* Sky */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% 8%, rgba(180, 215, 245, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 20% 85%, rgba(30, 70, 120, 0.45), transparent 60%),
    linear-gradient(180deg, #040b16 0%, #0a1a30 45%, #122844 100%);
}
.sky__aurora {
  position: absolute;
  inset: -10% 0 auto;
  height: 55%;
  background:
    linear-gradient(110deg, transparent 20%, rgba(94, 168, 216, 0.12) 40%, rgba(231, 183, 200, 0.1) 55%, transparent 75%);
  filter: blur(30px);
  animation: aurora 14s ease-in-out infinite alternate;
  animation-duration: calc(14s / var(--tempo));
}
.sky__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 12%, rgba(232, 244, 255, 0.14), transparent 26%),
    radial-gradient(circle at 40% 70%, rgba(16, 42, 74, 0.5), transparent 45%);
}
.sky__moon {
  position: absolute;
  top: 8vh;
  right: 16vw;
  width: min(16vw, 120px);
  height: min(16vw, 120px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 32%, #ffffff, #e4f0fb 42%, #b7cfe6 100%);
  box-shadow:
    0 0 50px rgba(200, 225, 255, 0.45),
    0 0 140px rgba(126, 184, 224, 0.28),
    inset -12px -8px 24px rgba(80, 120, 160, 0.2);
  transition: transform 0.6s var(--ease);
  animation: moonPulse calc(9s / var(--tempo)) ease-in-out infinite;
}
@keyframes aurora {
  from { transform: translateX(-4%) rotate(-2deg); opacity: 0.7; }
  to { transform: translateX(6%) rotate(2deg); opacity: 1; }
}
@keyframes moonPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}

/* Gate / snow globe */
.gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: end center;
  padding: 0 1.25rem 8vh;
  transition: opacity 1s var(--ease), visibility 1s;
}
.gate.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.globe {
  position: absolute;
  top: 10vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(260px, 62vw);
  user-select: none;
  transition: transform 0.35s var(--ease);
  z-index: 2;
}
.globe.is-shake {
  animation: globeShake 0.85s ease;
}
@keyframes globeShake {
  0%, 100% { transform: translateX(-50%) rotate(0); }
  20% { transform: translateX(-50%) rotate(-8deg) translateY(4px); }
  40% { transform: translateX(-50%) rotate(7deg); }
  60% { transform: translateX(-50%) rotate(-5deg); }
  80% { transform: translateX(-50%) rotate(4deg); }
}
.globe__glass {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.35), transparent 28%),
    radial-gradient(circle at 50% 60%, #1a3a5c 0%, #0c2238 70%);
  border: 2px solid rgba(232, 244, 255, 0.35);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(180, 215, 245, 0.15);
}
.globe__snow {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 60% 20%, #fff, transparent),
    radial-gradient(2px 2px at 80% 50%, #fff, transparent),
    radial-gradient(1px 1px at 40% 70%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 15% 60%, #fff, transparent),
    radial-gradient(2px 2px at 70% 80%, #fff, transparent);
  opacity: 0.7;
  animation: flakeDrift calc(8s / var(--tempo)) linear infinite;
}
.globe.is-shake .globe__snow {
  animation: flakeStorm 0.9s linear;
}
@keyframes flakeDrift {
  from { transform: translateY(-8%); }
  to { transform: translateY(8%); }
}
@keyframes flakeStorm {
  0% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(-8%, 20%) rotate(20deg); }
  100% { transform: translate(4%, 40%) rotate(-10deg); }
}
.globe__couple {
  position: absolute;
  left: 50%;
  bottom: 22%;
  width: 100px;
  height: 70px;
  transform: translateX(-50%);
}
.g-sil {
  position: absolute;
  bottom: 0;
  width: 28px;
  height: 52px;
  border-radius: 40% 40% 20% 20%;
  background: linear-gradient(180deg, #dceaf8, #8eb4d4);
}
.g-sil::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #e8f4ff;
}
.g-sil--him { left: 22%; animation: swayHim calc(4s / var(--tempo)) ease-in-out infinite; }
.g-sil--her {
  right: 22%;
  width: 30px;
  height: 56px;
  background: linear-gradient(180deg, #fff, #c9dff2);
  animation: swayHer calc(4s / var(--tempo)) ease-in-out infinite;
}
.globe__drift {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(232, 244, 255, 0.55));
}
.globe__base {
  margin: -8px auto 0;
  width: 72%;
  padding: 0.55rem 0.5rem 0.7rem;
  text-align: center;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #2a4a6e, #16304f);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frost);
}

.gate__copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 36rem;
  animation: riseIn 1.2s var(--ease) both;
}
.gate__kicker {
  font-family: var(--script);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--frost);
  line-height: 1.1;
}
.gate__names {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.gate__names i {
  font-style: italic;
  color: var(--rose);
  padding: 0 0.12em;
}
.gate__line {
  margin: 0.9rem auto 1.5rem;
  max-width: 26rem;
  color: var(--mist);
  font-size: 0.95rem;
}
.gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn-ice {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 216, 242, 0.45);
  color: var(--ice);
  background: rgba(16, 42, 74, 0.55);
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.btn-ice:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--glow);
}
.btn-ice--solid {
  color: var(--night);
  background: linear-gradient(180deg, #f4f9ff, #c5dff5);
  border-color: transparent;
  box-shadow: 0 10px 40px var(--glow);
}
.btn-ice strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
}
.btn-ice small {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.btn-ice__ring {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1px solid rgba(232, 244, 255, 0.35);
  animation: ringPulse calc(2.8s / var(--tempo)) ease-out infinite;
}
@keyframes ringPulse {
  0% { opacity: 0.75; transform: scale(0.98); }
  100% { opacity: 0; transform: scale(1.1); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Main chrome */
#experience { position: relative; z-index: 1; }
#experience[hidden] { display: none !important; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(180deg, rgba(7, 20, 34, 0.92), rgba(7, 20, 34, 0.4) 75%, transparent);
  backdrop-filter: blur(10px);
}
.top__mark {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.top__mark i { color: var(--rose); font-style: italic; }
.top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.top nav a:hover { color: var(--ice); }
.top__tools { display: flex; gap: 0.5rem; align-items: center; }

.tool, .music {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(183, 216, 242, 0.3);
  border-radius: 999px;
  color: var(--mist);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.tool[aria-pressed="true"],
.music[aria-pressed="true"] {
  color: var(--ice);
  border-color: rgba(126, 184, 224, 0.65);
  background: rgba(94, 168, 216, 0.12);
}
.music__bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.music__bars i {
  display: block;
  width: 2px;
  height: 40%;
  background: currentColor;
}
.music[aria-pressed="true"] .music__bars i {
  animation: barDance calc(0.9s / var(--tempo)) ease-in-out infinite;
}
.music[aria-pressed="true"] .music__bars i:nth-child(2) { animation-delay: 0.15s; height: 70%; }
.music[aria-pressed="true"] .music__bars i:nth-child(3) { animation-delay: 0.3s; height: 55%; }
@keyframes barDance {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 6rem 1.4rem 4rem;
  overflow: hidden;
}
.hero__scene { position: absolute; inset: 0; pointer-events: none; }
.hero__snowfield {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(7, 20, 34, 0.2) 45%, rgba(10, 28, 48, 0.85) 78%, var(--night) 100%),
    radial-gradient(ellipse 100% 55% at 50% 100%, rgba(200, 225, 255, 0.18), transparent 70%);
}
.hero__snowfield::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(232, 244, 255, 0.16) 40%, rgba(183, 216, 242, 0.22));
  clip-path: polygon(0 45%, 8% 30%, 16% 48%, 24% 28%, 32% 46%, 40% 25%, 48% 44%, 56% 22%, 64% 42%, 72% 28%, 80% 48%, 88% 30%, 100% 40%, 100% 100%, 0 100%);
}
.hero__flares i {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px #fff;
  animation: flare calc(5s / var(--tempo)) ease-in-out infinite;
}
.hero__flares i:nth-child(1) { top: 22%; left: 18%; }
.hero__flares i:nth-child(2) { top: 35%; right: 22%; animation-delay: 1.2s; }
.hero__flares i:nth-child(3) { top: 48%; left: 60%; animation-delay: 2s; }
@keyframes flare {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(2.2); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 42rem;
}
.hero__whisper {
  font-family: var(--script);
  font-size: clamp(1.9rem, 4.8vw, 3rem);
  color: var(--frost);
  line-height: 1.15;
}
.hero__brand {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.5rem, 11vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(126, 184, 224, 0.25);
}
.hero__brand span {
  font-style: italic;
  color: var(--rose);
  padding: 0 0.1em;
}
.hero__promise {
  margin: 0.9rem 0 1.6rem;
  color: var(--mist);
  letter-spacing: 0.04em;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.countdown div {
  min-width: 68px;
  padding: 0.7rem 0.55rem;
  border-radius: 14px;
  background: rgba(16, 42, 74, 0.55);
  border: 1px solid rgba(183, 216, 242, 0.22);
  backdrop-filter: blur(6px);
}
.countdown strong {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.1;
}
.countdown span {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
}
.hero__hint {
  font-size: 0.78rem;
  color: var(--mist);
  letter-spacing: 0.08em;
}

/* Story / constellation */
.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.2rem;
}
.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--glacier);
  margin-bottom: 0.7rem;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.15;
}
.section-head__sub {
  margin-top: 0.7rem;
  color: var(--mist);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
}

.story { padding: 5.5rem 1.4rem 4rem; position: relative; }
.constellation {
  position: relative;
  max-width: 860px;
  height: min(52vh, 420px);
  margin: 0 auto;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 40%, rgba(94, 168, 216, 0.12), transparent 55%),
    rgba(11, 28, 51, 0.55);
  border: 1px solid rgba(183, 216, 242, 0.18);
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(7, 20, 34, 0.5);
}
.constellation__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.constellation__lines line {
  stroke: rgba(183, 216, 242, 0.28);
  stroke-width: 0.35;
  stroke-dasharray: 2 2;
}
.star-btn {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ice);
  font-size: 1.1rem;
  text-shadow: 0 0 12px rgba(200, 230, 255, 0.9);
  transition: transform 0.25s, color 0.25s, text-shadow 0.25s;
  animation: starTwinkle calc(3.2s / var(--tempo)) ease-in-out infinite;
  cursor: pointer;
  z-index: 2;
}
.star-btn:hover,
.star-btn.is-lit {
  color: #fff;
  transform: translate(-50%, -50%) scale(1.35);
  text-shadow: 0 0 22px rgba(231, 183, 200, 0.95), 0 0 40px rgba(126, 184, 224, 0.8);
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.story__readout {
  text-align: center;
  margin-top: 1.4rem;
  min-height: 2.4em;
  font-family: var(--script);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--frost);
  line-height: 1.2;
}

/* Dance floor */
.dance { padding: 5rem 1.4rem 4rem; }
.floor {
  position: relative;
  max-width: 720px;
  height: min(48vh, 380px);
  margin: 0 auto 1.5rem;
  border-radius: 28px;
  overflow: hidden;
  touch-action: none;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(126, 184, 224, 0.2), transparent 50%),
    linear-gradient(180deg, #0d223d, #071422 70%);
  border: 1px solid rgba(183, 216, 242, 0.22);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.floor.is-united {
  box-shadow: 0 0 50px rgba(231, 183, 200, 0.25), 0 20px 60px rgba(0, 0, 0, 0.35);
}
.floor__glow {
  position: absolute;
  inset: auto 10% 0;
  height: 40%;
  background: radial-gradient(ellipse at 50% 100%, rgba(232, 244, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.floor__hint {
  position: absolute;
  top: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--mist);
  letter-spacing: 0.06em;
  pointer-events: none;
  transition: opacity 0.4s;
}
.floor.is-united .floor__hint { opacity: 0; }
.dancer {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  width: 72px;
  padding: 0;
  z-index: 2;
  touch-action: none;
  cursor: grab;
}
.dancer:active { cursor: grabbing; }
.dancer__body {
  display: block;
  width: 42px;
  height: 78px;
  margin: 0 auto;
  border-radius: 40% 40% 18% 18%;
  background: linear-gradient(180deg, #e8f4ff, #7eb0d4);
  box-shadow: 0 8px 24px rgba(94, 168, 216, 0.35);
  position: relative;
}
.dancer__body::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #f4f9ff;
}
.dancer--her .dancer__body {
  width: 46px;
  height: 84px;
  background: linear-gradient(180deg, #fff, #d7b4c4 70%, #e7b7c8);
}
.dancer__name {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--frost);
  text-align: center;
}
.dancer.is-spinning .dancer__body {
  animation: spinDance calc(2.4s / var(--tempo)) ease-in-out infinite;
}
@keyframes spinDance {
  0%, 100% { transform: rotate(-8deg) translateX(0); }
  50% { transform: rotate(10deg) translateX(6px); }
}
.floor__heart {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-size: 2.4rem;
  color: var(--rose);
  text-shadow: 0 0 24px rgba(231, 183, 200, 0.8);
  animation: heartBeat calc(1.2s / var(--tempo)) ease-in-out infinite;
  pointer-events: none;
}
@keyframes heartBeat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
}
.dance__controls {
  max-width: 420px;
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}
.romance-dial {
  width: 100%;
  display: grid;
  gap: 0.4rem;
  text-align: center;
}
.romance-dial span {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}
.romance-dial em {
  font-style: normal;
  font-family: var(--script);
  font-size: 1.5rem;
  color: var(--frost);
}
.romance-dial input[type="range"] {
  width: 100%;
  accent-color: var(--glacier);
  cursor: pointer;
}

/* Kiss / letter */
.kiss { padding: 5rem 1.4rem 4rem; }
.letter {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.kiss-hold {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.25), transparent 40%),
    linear-gradient(160deg, #2a5a84, #122844);
  border: 1px solid rgba(232, 244, 255, 0.35);
  box-shadow: 0 16px 50px rgba(94, 168, 216, 0.3);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.kiss-hold__ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: conic-gradient(from -90deg, var(--rose) var(--p, 0%), rgba(255, 255, 255, 0.08) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  opacity: 0.95;
  pointer-events: none;
}
.kiss-hold__core {
  font-family: var(--display);
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
}
.kiss-hold__sub {
  position: absolute;
  bottom: 28px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  opacity: 0.8;
}
.kiss__help {
  margin-top: 1rem;
  color: var(--mist);
  font-size: 0.88rem;
}
.letter__seal {
  margin-top: 1.8rem;
  padding: 1.8rem 1.4rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.1), rgba(16, 42, 74, 0.55));
  border: 1px solid rgba(183, 216, 242, 0.28);
  animation: riseIn 0.8s var(--ease) both;
}
.letter__seal[hidden] { display: none !important; }
.letter__from {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--glacier);
  margin-bottom: 1rem;
}
.letter__seal blockquote {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ice);
}
.letter__perfect {
  margin: 1.2rem 0 1.4rem;
  font-family: var(--script);
  font-size: 2rem;
  color: var(--rose);
  line-height: 1.15;
}
.btn-soft {
  display: inline-block;
  padding: 0.7rem 1.3rem;
  border: 1px solid rgba(232, 244, 255, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
}

/* Wishes */
.wishes { padding: 5rem 1.4rem 3rem; }
.wish-form {
  max-width: 420px;
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 0.9rem;
}
.wish-form label { display: grid; gap: 0.35rem; text-align: left; }
.wish-form span,
.rsvp label span,
.rsvp legend {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
}
.wish-form input,
.rsvp input[type="text"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(183, 216, 242, 0.28);
  background: rgba(11, 28, 51, 0.7);
  color: var(--snow);
  outline: none;
}
.wish-form input:focus,
.rsvp input[type="text"]:focus {
  border-color: rgba(126, 184, 224, 0.7);
  box-shadow: 0 0 0 3px rgba(94, 168, 216, 0.15);
}
.wish-sky {
  position: relative;
  min-height: 220px;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}
.lantern {
  position: absolute;
  bottom: 0;
  left: var(--x, 40%);
  width: min(200px, 70vw);
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.18), rgba(94, 168, 216, 0.2));
  border: 1px solid rgba(232, 244, 255, 0.3);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 24px rgba(126, 184, 224, 0.25);
  animation: lanternRise 12s linear forwards;
  pointer-events: none;
}
.lantern strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frost);
  margin-bottom: 0.25rem;
}
.lantern p {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.35;
}
@keyframes lanternRise {
  0% { opacity: 0; transform: translateY(20px) scale(0.9); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-240px) translateX(20px) scale(1.05); }
}

/* Details */
.details { padding: 4.5rem 1.4rem 3rem; }
.details__row {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.detail {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 18px;
  background: rgba(11, 28, 51, 0.45);
  border: 1px solid rgba(183, 216, 242, 0.18);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.detail:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 184, 224, 0.55);
  box-shadow: 0 14px 40px rgba(94, 168, 216, 0.18);
}
.detail__key {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--glacier);
  margin-bottom: 0.6rem;
}
.detail strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  line-height: 1.25;
}
.detail p { color: var(--mist); font-size: 0.85rem; }

/* RSVP */
.rsvp { padding: 4rem 1.4rem 5rem; }
.rsvp__panel {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}
.rsvp__panel h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.7rem;
}
.rsvp__lead {
  color: var(--mist);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}
.rsvp form { display: grid; gap: 1.1rem; text-align: left; }
.rsvp label, .rsvp fieldset { display: grid; gap: 0.4rem; border: 0; }
.rsvp fieldset label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}
.rsvp input[type="radio"] { accent-color: var(--glacier); }
.rsvp__status {
  margin-top: 1rem;
  min-height: 1.4em;
  color: var(--rose);
  font-family: var(--script);
  font-size: 1.5rem;
}

.foot {
  padding: 2.5rem 1.4rem 3.5rem;
  text-align: center;
  border-top: 1px solid rgba(183, 216, 242, 0.12);
}
.foot__script {
  font-family: var(--script);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  color: var(--frost);
  line-height: 1.15;
}
.foot__names {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}
.foot__tip {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: rgba(158, 182, 206, 0.75);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 70;
  max-width: min(90vw, 360px);
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  background: rgba(11, 28, 51, 0.92);
  border: 1px solid rgba(183, 216, 242, 0.35);
  color: var(--ice);
  font-size: 0.88rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.45s var(--ease);
  pointer-events: none;
}
.toast.is-on { transform: translateX(-50%) translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes swayHim {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(3deg) translateX(4px); }
}
@keyframes swayHer {
  0%, 100% { transform: rotate(4deg); }
  50% { transform: rotate(-3deg) translateX(-4px); }
}

@media (max-width: 860px) {
  body { cursor: auto; }
  .cursor-glow { display: none; }
  .top nav { display: none; }
  .details__row { grid-template-columns: 1fr; }
  .globe { top: 6vh; width: min(200px, 52vw); }
  .gate { padding-bottom: 6vh; align-content: end; }
  .tool { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  body { cursor: auto; }
  .cursor-glow { display: none; }
}
