:root {
  --night: #1B0B3A;
  --night-2: #2A0F5C;
  --grape: #5B21B6;
  --violet: #8B5CF6;
  --pink: #FF3EA5;
  --blue: #2F7BFF;
  --orange: #FF8A00;
  --gold: #FFC93C;
  --paper: #F6F0FF;
  --ink: #2A1257;
  --ink-soft: #5E4B8B;
  --line: #E4D8FF;
  --shadow-pop: 0 22px 44px -22px rgba(59, 15, 134, .55);
  --font: "M PLUS Rounded 1c", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 1em; height: 1em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.4em; border-radius: 999px; border: 0;
  font-weight: 800; font-size: 1.05rem; line-height: 1.15; text-align: center; text-decoration: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:disabled { cursor: default; }
.btn-go {
  color: #fff;
  background: linear-gradient(95deg, var(--blue) 0%, var(--violet) 52%, var(--pink) 100%);
  box-shadow: 0 6px 0 #3B0F86, 0 16px 30px -12px rgba(255, 62, 165, .7);
}
.btn-go:active:not(:disabled) { transform: translateY(4px); box-shadow: 0 2px 0 #3B0F86, 0 8px 18px -10px rgba(255, 62, 165, .7); }
.btn-glass {
  color: #fff; background: rgba(255, 255, 255, .14);
  border: 2px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:active { transform: scale(.97); }
.btn-ink { color: #fff; background: var(--ink); box-shadow: 0 5px 0 #12052b; }
.btn-ink:active { transform: translateY(3px); box-shadow: 0 2px 0 #12052b; }
.btn-line { color: var(--ink); background: #fff; border: 2px solid var(--line); }
.btn-line:active { transform: scale(.97); }
.chip {
  display: inline-flex; align-items: center; gap: .55em; min-height: 46px; padding: 0 18px;
  border-radius: 999px; background: #fff; border: 2px solid var(--line);
  color: var(--ink); font-weight: 800; text-decoration: none; font-size: 1rem;
}
.chip .ic { font-size: 1.25rem; color: var(--grape); }
.chip:active { transform: scale(.97); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  color: #fff; background: var(--night);
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: var(--night) url("/assets/v1/hero-m.webp") center / cover no-repeat;
}
@media (min-aspect-ratio: 1/1) { .hero-media { background-image: url("/assets/v1/hero-d.webp"); } }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero-media video.is-playing { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 45% at 50% 18%, rgba(27, 11, 58, .38), rgba(27, 11, 58, 0) 70%),
    linear-gradient(180deg, rgba(27, 11, 58, .45) 0%, rgba(27, 11, 58, 0) 26%, rgba(27, 11, 58, 0) 56%, rgba(27, 11, 58, .82) 82%, rgba(27, 11, 58, .95) 100%);
}
.hero-top { display: flex; justify-content: flex-end; padding: max(14px, env(safe-area-inset-top)) 16px 0; }
.lang-btn {
  min-width: 52px; height: 42px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 2px solid rgba(255, 255, 255, .6); background: rgba(27, 11, 58, .38); color: #fff;
  font-weight: 900; letter-spacing: .02em;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* title lettering: self-hosted subset of Dela Gothic One (OFL), only the capitals the names need */
@font-face {
  font-family: "Dela Gothic One";
  src: url("/assets/v1/title-font-1.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: block;
}
.hero-title { padding: 0 12px; text-align: center; }
.title { margin: 0; display: flex; flex-direction: column; align-items: center; }
.title-svg {
  width: min(94vw, 560px); height: auto; overflow: visible;
  filter: drop-shadow(0 12px 18px rgba(18, 4, 48, .5));
}
.title-svg .out, .title-svg .ext use { stroke-width: 34px; stroke-linejoin: round; }
.word-p .out { fill: #1F2694; stroke: #1F2694; }
.word-p .ext use { fill: #0E1254; stroke: #0E1254; }
.word-a .out { fill: #6A1276; stroke: #6A1276; }
.word-a .ext use { fill: #2D0739; stroke: #2D0739; }
.title-svg .ring { fill: #fff; stroke: #fff; stroke-width: 20px; stroke-linejoin: round; }
.title-svg .face { stroke-width: 6px; stroke-linejoin: round; paint-order: stroke fill; }
.word-p .face { stroke: #0B2A9A; }
.word-a .face { stroke: #8A0A5C; }
.title-svg .shine { opacity: 0; }
.title-svg .st-o { fill: #1F2694; stroke: #1F2694; stroke-width: 12px; stroke-linejoin: round; }
.title-svg .sp { fill: #fff; }
.title-svg .st-ext, .title-svg .st-out { fill: #2A0B66; stroke: #2A0B66; stroke-width: 24px; stroke-linejoin: round; }
.title-svg .st-ring { fill: #fff; stroke: #fff; stroke-width: 12px; stroke-linejoin: round; }
.title-svg .st-face { stroke: #C86A00; stroke-width: 3px; stroke-linejoin: round; paint-order: stroke fill; }
.title-svg .amp-t { font-family: var(--font); font-weight: 900; font-size: 36px; fill: #4A1500; text-anchor: middle; }
.title-svg .w-anim, .title-svg .streaks, .title-svg .amp-anim, .title-svg .sp { transform-box: fill-box; }
.title-svg .w-anim { transform-origin: 50% 100%; }
.title-svg .streaks { transform-origin: 100% 50%; }
.title-svg .amp-anim, .title-svg .sp { transform-origin: 50% 50%; }
/* the title waits (hidden) until its font is in, so it never flashes in a fallback font */
.js .hero-title { opacity: 0; animation: titleFailsafe 0s 3.5s forwards; }
.js .hero-title.ready { opacity: 1; }
@keyframes titleFailsafe { to { opacity: 1; } }
.turning {
  display: inline-block; margin-top: -.05em; transform: rotate(-3deg);
  padding: .38em 1.1em .42em;
  font-family: "Dela Gothic One", var(--font); font-weight: 400;
  font-size: clamp(1.35rem, 6.6vw, 2.3rem); line-height: 1; letter-spacing: .01em;
  color: #2A0B66; text-shadow: 0 2px 0 rgba(255, 255, 255, .35);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 110' preserveAspectRatio='none'%3E%3Cpath fill='%23FF8A00' d='M14 30C58 16 120 18 182 16C240 14 300 8 352 10C380 11 404 15 410 24C416 40 408 58 414 76C418 88 408 92 394 94C334 102 268 98 204 100C142 102 84 108 28 102C14 100 6 94 4 86C2 72 12 62 6 46C2 36 6 32 14 30Z'/%3E%3Cpath fill='%23FFB04A' opacity='.65' d='M40 32C132 24 254 20 372 26L368 36C256 30 142 34 42 42Z'/%3E%3Cpath fill='%23D96400' opacity='.45' d='M36 84C148 90 268 86 380 76L382 84C268 96 146 98 34 92Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 6px 10px rgba(18, 4, 48, .35));
}
.hero-bottom {
  margin-top: auto; padding: 0 16px max(22px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lede { margin: 0; font-weight: 800; font-size: clamp(1.1rem, 4.6vw, 1.45rem); text-align: center; text-shadow: 0 2px 14px rgba(18, 4, 48, .85); }
.countdown {
  width: min(100%, 460px); border-radius: 20px; overflow: hidden;
  background: rgba(20, 6, 46, .62); border: 1.5px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
}
.cd-flag { height: 10px; background: repeating-conic-gradient(#fff 0 25%, #14062e 0 50%) 0 0 / 10px 10px; }
.cd-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.cd-cell { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 4px 12px; }
.cd-cell + .cd-cell::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, .2); }
.cd-num { font-weight: 900; font-size: clamp(1.7rem, 8vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--gold); text-shadow: 0 0 18px rgba(255, 201, 60, .45); }
.cd-lbl { margin-top: 5px; font-size: .8rem; font-weight: 700; opacity: .88; }
.cd-msg { margin: 0; padding: 16px 14px 18px; text-align: center; font-weight: 900; font-size: 1.2rem; text-wrap: balance; }
.hero-no {
  margin-top: -2px; padding: 4px 10px; color: #fff; font-weight: 700; font-size: .95rem;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .55); text-underline-offset: 4px;
  text-shadow: 0 2px 10px rgba(18, 4, 48, .85);
}
.hero-cta { display: flex; gap: 10px; width: min(100%, 460px); }
.hero-cta .btn { flex: 1 1 auto; padding: 0 1em; font-size: 1rem; white-space: nowrap; }
@media (max-width: 370px) { .hero-cta { flex-direction: column; } }
@media (min-aspect-ratio: 1/1) and (min-width: 700px) {
  .title-svg { width: min(46vw, 580px); }
  .hero-title { padding-top: 0; }
}
@media (max-height: 620px) and (max-aspect-ratio: 1/1) {
  .title-svg { width: min(80vw, 380px); }
}

/* page-load sequence: ΠΑΡΗΣ races in, ΑΝΤΡΕΑ pops up on stage, the & star spins in */
@media (prefers-reduced-motion: no-preference) {
  .ready .word-p .w-anim { animation: carIn .8s cubic-bezier(.2, .85, .3, 1.12) both; }
  .ready .streaks { animation: streakIn .45s .5s cubic-bezier(.2, .8, .2, 1) both; }
  .ready .st-f { animation: streakRun 1.3s 1.4s ease-in-out infinite; }
  .ready .word-a .w-anim { animation: popIn .85s .22s cubic-bezier(.34, 1.56, .64, 1) both; }
  .ready .amp-anim { animation: spinIn .75s .7s cubic-bezier(.34, 1.56, .64, 1) both, ampSway 4.5s 1.8s ease-in-out infinite; }
  .ready .sp { animation: sparkIn .5s var(--d, 1s) cubic-bezier(.34, 1.8, .64, 1) both, twinkle 2.4s calc(var(--d, 1s) + .7s) ease-in-out infinite; }
  .ready .word-p .shine { animation: shine 6.5s 1.7s ease-in-out infinite; }
  .ready .word-a .shine { animation: shine 6.5s 2.15s ease-in-out infinite; }
  .ready .turning { animation: brush .6s .95s cubic-bezier(.2, .8, .2, 1) both; }
  .intro .hero-bottom { animation: fadeUp .7s .8s ease both; }
}
@keyframes carIn {
  0% { opacity: 0; transform: translateX(-80%) skewX(16deg); }
  12% { opacity: 1; }
  58% { transform: translateX(4%) skewX(-7deg); }
  80% { transform: translateX(-1.2%) skewX(2deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes streakIn { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: none; } }
@keyframes streakRun { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(-9px); opacity: .7; } }
@keyframes popIn {
  0% { opacity: 0; transform: translateY(30%) scale(.3); }
  55% { opacity: 1; transform: translateY(-4%) scale(1.06); }
  78% { transform: translateY(1%) scale(.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes spinIn {
  0% { opacity: 0; transform: scale(0) rotate(-220deg); }
  70% { opacity: 1; transform: scale(1.2) rotate(12deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes ampSway { 0%, 100% { transform: rotate(0) scale(1); } 50% { transform: rotate(10deg) scale(1.06); } }
@keyframes sparkIn { from { opacity: 0; transform: scale(0) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .6; transform: scale(.55) rotate(45deg); } }
@keyframes shine {
  0% { opacity: 1; transform: translateX(-360px) skewX(-22deg); }
  16% { opacity: 1; transform: translateX(360px) skewX(-22deg); }
  17%, 100% { opacity: 0; transform: translateX(360px) skewX(-22deg); }
}
@keyframes brush { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.finish { height: 20px; background: repeating-conic-gradient(var(--night-2) 0 25%, #fff 0 50%) 0 0 / 20px 20px; }

/* ---------- sections ---------- */
.sec { padding: clamp(56px, 10vw, 104px) 0; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(620px, 100% - 32px); }
.h2 { margin: 0 0 .4em; font-weight: 900; font-size: clamp(1.9rem, 6.4vw, 2.9rem); line-height: 1.1; letter-spacing: -.01em; }
.h2::after { content: ""; display: block; width: 68px; height: 8px; margin-top: .38em; border-radius: 8px; background: linear-gradient(90deg, var(--blue) 0 50%, var(--pink) 50% 100%); }
.sec-lede { margin: 0 0 1.5em; font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; }

/* when + where */
.when-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 880px) { .when-grid { grid-template-columns: 1.05fr 1fr; gap: 32px; } }
.ticket { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-pop); }
.ticket-head { padding: 24px 22px 18px; }
.ticket-head .h2 { margin: 0; }
.perf { position: relative; height: 0; border-top: 3px dashed var(--line); margin: 0 22px; }
.perf::before, .perf::after { content: ""; position: absolute; top: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
.perf::before { left: -40px; clip-path: inset(0 0 0 50%); }
.perf::after { right: -40px; clip-path: inset(0 50% 0 0); }
.ticket-body { padding: 20px 22px 24px; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rows li { display: flex; align-items: center; gap: 14px; }
.rows .bubble { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; color: var(--grape); background: var(--paper); }
.rows strong { display: block; font-weight: 800; font-size: 1.14rem; line-height: 1.3; }
.rows span { display: block; color: var(--ink-soft); font-size: .96rem; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ticket-actions .btn { flex: 1 1 auto; white-space: nowrap; }
.map-card { display: flex; flex-direction: column; gap: 12px; }
.map-frame { aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; border: 4px solid #fff; box-shadow: var(--shadow-pop); background: #E9E2FB; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map { width: 100%; height: 100%; }
.map-frame .maplibregl-canvas { outline: none; }
.map-frame .maplibregl-ctrl-group { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 18px -8px rgba(42, 18, 87, .45); }
.map-frame .maplibregl-ctrl-group button { width: 38px; height: 38px; }
.map-frame .maplibregl-ctrl-attrib { font-family: var(--font); font-size: 10px; }
.map-frame .maplibregl-cooperative-gesture-screen { font-family: var(--font); font-weight: 800; background: rgba(42, 18, 87, .55); }
.pin { position: relative; display: block; width: 58px; height: 74px; text-decoration: none; cursor: pointer; }
.pin-pulse { position: absolute; left: 50%; bottom: 0; width: 22px; height: 10px; margin-left: -11px; border-radius: 50%; background: rgba(91, 33, 182, .35); }
.pin-body {
  position: absolute; left: 3px; top: 0; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 4px solid #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet) 55%, var(--pink));
  box-shadow: 0 10px 18px -6px rgba(42, 18, 87, .55);
}
.pin-body img { width: 30px; height: auto; transform: rotate(45deg); filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.pin-label {
  position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); white-space: nowrap; text-align: center;
  padding: 7px 12px; border-radius: 14px; background: #fff; color: var(--ink);
  font: 800 14px/1.2 var(--font); box-shadow: 0 10px 24px -10px rgba(42, 18, 87, .5);
}
.pin-label b { font-weight: 900; }
.pin-label span { display: block; font-weight: 700; font-size: 11.5px; color: var(--ink-soft); }
.pin-label::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: #fff; transform: rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .pin-pulse::after { content: ""; position: absolute; inset: -14px -20px; border-radius: 50%; border: 3px solid rgba(255, 62, 165, .55); animation: pinRing 1.8s ease-out infinite; }
}
@keyframes pinRing { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.map-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* two worlds */
.worlds { position: relative; color: #fff; background: var(--night); overflow: hidden; }
.worlds::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(2px 2px at 12% 18%, #fff, transparent 60%), radial-gradient(2px 2px at 78% 12%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 42% 30%, #fff, transparent 60%), radial-gradient(2px 2px at 88% 64%, #fff, transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 82%, #fff, transparent 60%), radial-gradient(1.5px 1.5px at 60% 90%, #fff, transparent 60%),
    radial-gradient(60% 50% at 0% 0%, rgba(47, 123, 255, .28), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, rgba(255, 62, 165, .25), transparent 70%);
}
.worlds .wrap { position: relative; }
.worlds .sec-lede { color: rgba(255, 255, 255, .8); }
.worlds-grid { position: relative; display: grid; gap: 26px; }
@media (min-width: 760px) { .worlds-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.world { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; }
.world-p { background: linear-gradient(165deg, #3A86FF 0%, #1B3FC9 55%, #13207A 100%); box-shadow: 0 30px 60px -30px rgba(47, 123, 255, .85); }
.world-a { background: linear-gradient(165deg, #FF5CC0 0%, #B3127A 52%, #5B1199 100%); box-shadow: 0 30px 60px -30px rgba(255, 62, 165, .85); }
.world-media { aspect-ratio: 1; background: #0d0620 center / cover no-repeat; }
.world-p .world-media { background-image: url("/assets/v1/race.webp"); }
.world-a .world-media { background-image: url("/assets/v1/stage.webp"); }
.world-media video { width: 100%; height: 100%; object-fit: cover; }
.world-body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 22px; }
.world-name { margin: 0; font-weight: 900; font-size: clamp(2.1rem, 7vw, 2.7rem); line-height: 1; }
.world-like { margin: 0; font-weight: 700; opacity: .92; }
.world-play { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.btn-world { background: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .28); font-weight: 900; }
.world-p .btn-world { color: #1B3FC9; }
.world-a .btn-world { color: #B3127A; }
.btn-world:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .28); }
.worlds-five {
  position: relative; z-index: 2; justify-self: center; width: 104px; margin: -34px 0;
  transform: rotate(-7deg); pointer-events: none;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, .5));
}
@media (min-width: 760px) {
  .worlds-five { position: absolute; left: 50%; top: 50%; width: clamp(110px, 13vw, 150px); margin: 0; transform: translate(-50%, -50%) rotate(-7deg); }
}
.lights { display: flex; gap: 6px; padding: 9px 10px; border-radius: 14px; background: #0B0820; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .7); }
.lights i { width: 20px; height: 20px; border-radius: 50%; background: #2c2142; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .45); transition: background .1s, box-shadow .1s; }
.lights i.on { background: radial-gradient(circle at 35% 35%, #ffb3b3, #ff1f3d 58%, #9b0016); box-shadow: 0 0 14px 4px rgba(255, 40, 70, .75); }
.lights.go i { background: radial-gradient(circle at 35% 35%, #c9ffc4, #2ee66b 58%, #0a8a3a); box-shadow: 0 0 14px 4px rgba(46, 230, 107, .75); }
.sticks { display: flex; align-items: flex-end; gap: 11px; height: 50px; padding: 0 6px 6px; }
.sticks i { position: relative; width: 12px; height: 34px; border-radius: 8px 8px 3px 3px; background: linear-gradient(#5a3b7a, #3a2556); transform-origin: 50% 100%; transition: background .12s, box-shadow .12s; }
.sticks i::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -7px; height: 9px; border-radius: 3px; background: #1c0f33; }
.sticks i:nth-child(1) { --c: #FF4FB8; } .sticks i:nth-child(2) { --c: #7CC4FF; } .sticks i:nth-child(3) { --c: #C58BFF; }
.sticks i:nth-child(4) { --c: #FFD23F; } .sticks i:nth-child(5) { --c: #FF8AD8; }
.sticks i.on { background: linear-gradient(#fff, var(--c) 45%); box-shadow: 0 0 16px 5px var(--c); }
@media (prefers-reduced-motion: no-preference) {
  .sticks.dance i.on { animation: sway .5s ease-in-out infinite alternate; }
  .sticks.dance i.on:nth-child(even) { animation-delay: -.25s; }
}
@keyframes sway { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }

/* effects layers */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 70; pointer-events: none; }
#zoomCar { position: fixed; left: 0; top: 46%; z-index: 66; width: min(56vw, 340px); pointer-events: none; opacity: 0; transform: translate(-110%, -50%); }
#zoomCar.zoom { animation: zoomCar 1.5s cubic-bezier(.5, 0, .3, 1) forwards; }
@keyframes zoomCar {
  0% { opacity: 1; transform: translate(-110%, -50%) rotate(0); }
  18% { transform: translate(-30%, -52%) rotate(-3deg); }
  30% { transform: translate(-22%, -50%) rotate(0); }
  100% { opacity: 1; transform: translate(calc(100vw + 10%), -50%) rotate(2deg); }
}
#stageFx { position: fixed; inset: 0; z-index: 64; pointer-events: none; opacity: 0; overflow: hidden; }
#stageFx.show { animation: stageIn 3.8s ease forwards; }
#stageFx::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 75% at 50% 0%, rgba(255, 62, 165, .3), rgba(91, 33, 182, .2) 45%, rgba(27, 11, 58, 0) 78%); }
#stageFx .beam {
  position: absolute; top: -8vh; left: var(--x); width: 80vmax; height: 140vh; margin-left: -40vmax;
  transform-origin: 50% 0; opacity: .8; filter: blur(5px); mix-blend-mode: screen;
  background: conic-gradient(from 180deg at 50% 0%, var(--c) 0deg, transparent 13deg, transparent 347deg, var(--c) 360deg);
  animation: sweep 1.3s ease-in-out infinite alternate;
}
#stageFx .beam:nth-child(1) { --x: 12%; --c: rgba(255, 79, 184, .85); animation-delay: -.4s; }
#stageFx .beam:nth-child(2) { --x: 50%; --c: rgba(197, 139, 255, .85); animation-duration: 1.6s; }
#stageFx .beam:nth-child(3) { --x: 88%; --c: rgba(124, 196, 255, .85); animation-delay: -.9s; }
@keyframes sweep { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes stageIn { 0% { opacity: 0; } 10% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; } }
#riseMic { position: fixed; left: 50%; bottom: 0; z-index: 65; height: min(46vh, 340px); width: auto; pointer-events: none; opacity: 0; transform: translate(-50%, 110%); filter: drop-shadow(0 0 30px rgba(255, 79, 184, .8)); }
#riseMic.rise { animation: riseMic 3.4s cubic-bezier(.34, 1.4, .64, 1) forwards; }
@keyframes riseMic {
  0% { opacity: 1; transform: translate(-50%, 110%) rotate(-8deg); }
  22% { transform: translate(-50%, -18vh) rotate(6deg); }
  34% { transform: translate(-50%, -14vh) rotate(-4deg); }
  46% { transform: translate(-50%, -16vh) rotate(3deg); }
  78% { opacity: 1; transform: translate(-50%, -16vh) rotate(0); }
  100% { opacity: 0; transform: translate(-50%, 110%) rotate(0); }
}

/* rsvp */
.rsvp { background: linear-gradient(118deg, #E8F1FF 0 50%, #FFE8F5 50% 100%); }
.pass-wrap { position: relative; padding-top: 58px; }
.lanyard { position: absolute; top: 0; left: 50%; width: 30px; height: 84px; margin-left: -15px; border-radius: 6px; background: repeating-linear-gradient(45deg, var(--blue) 0 10px, var(--pink) 10px 20px); box-shadow: 0 4px 10px rgba(59, 15, 134, .25); }
.pass { position: relative; background: #fff; border: 2px solid var(--line); border-radius: 30px; padding: 30px 22px 24px; box-shadow: 0 30px 60px -30px rgba(59, 15, 134, .5); }
.pass-hole { width: 70px; height: 14px; margin: -12px auto 18px; border-radius: 999px; background: #EFE8FF; box-shadow: inset 0 2px 4px rgba(42, 18, 87, .22); }
.stats { margin: -.6em 0 1.2em; padding: 10px 14px; border-radius: 14px; background: #FFF6D8; font-weight: 800; }
.notice { margin: 0 0 1.2em; padding: 10px 14px; border-radius: 14px; background: var(--paper); font-weight: 700; color: var(--ink-soft); }
.attend { border: 0; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.att {
  position: relative; display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 66px; padding: 10px 12px; border-radius: 18px; border: 2.5px solid var(--line); background: #fff;
  font-weight: 900; line-height: 1.2; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
}
.att:active { transform: scale(.97); }
.att input { position: absolute; opacity: 0; pointer-events: none; }
.att:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.att-yes.is-on { color: #fff; border-color: transparent; background: linear-gradient(115deg, var(--blue), var(--violet) 55%, var(--pink)); box-shadow: 0 6px 0 #3B0F86; }
.att-no.is-on { border-color: var(--violet); background: #F1EAFF; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 800; }
.field small { font-weight: 600; font-size: .82rem; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 14px; border: 2px solid var(--line); background: #FBF9FF;
  font-size: 16px; font-weight: 600; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 92, 246, .2); }
.field ::placeholder { color: #A99BC9; font-weight: 500; }
.steppers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; row-gap: 6px; padding: 10px 8px; border-radius: 16px; border: 2px solid var(--line); background: #FBF9FF; }
.st-lbl { grid-column: 1 / -1; text-align: center; font-weight: 800; }
.st-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #fff; box-shadow: 0 3px 0 var(--line); font-size: 1.5rem; font-weight: 900; line-height: 1; color: var(--grape); cursor: pointer; }
.st-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.stepper output { text-align: center; font-weight: 900; font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.field .help { margin-top: 2px; }
.wish { margin: 0 0 16px; padding: 0 14px; border-radius: 16px; border: 2px dashed var(--line); background: #FBF9FF; }
.wish summary { padding: 14px 0; list-style: none; cursor: pointer; font-weight: 800; color: var(--grape); }
.wish summary::-webkit-details-marker { display: none; }
.wish .field { margin-bottom: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .att.pulse { animation: attPulse .6s ease; }
}
@keyframes attPulse { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #FFE4EC; color: #A3123F; font-weight: 800; }
.btn-block { width: 100%; min-height: 58px; font-size: 1.15rem; }
.privacy { margin: 14px 0 0; text-align: center; font-size: .9rem; color: var(--ink-soft); }
.done { text-align: center; outline: none; }
.done-media { width: min(100%, 320px); aspect-ratio: 1; margin: 0 auto 18px; border-radius: 26px; overflow: hidden; background: #2A0F5C url("/assets/v1/celebrate.webp") center / cover; box-shadow: var(--shadow-pop); }
.done-media video { width: 100%; height: 100%; object-fit: cover; }
.done .h2::after { margin-inline: auto; }
.done p { margin: 0 auto 20px; max-width: 40ch; color: var(--ink-soft); font-size: 1.05rem; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.alt { margin-top: 26px; text-align: center; }
.alt p { margin: 0 0 10px; font-weight: 800; }
.alt-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* wish wall: approved wishes hang from balloons */
.wishes { background: linear-gradient(180deg, #F3EDFF 0%, #FFF1FA 100%); }
.wish-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 26px 18px; align-items: start; }
.wcard { --bc: var(--blue); display: flex; flex-direction: column; align-items: center; }
.wcard.c1 { --bc: var(--pink); }
.wcard.c2 { --bc: var(--gold); }
.wcard.c3 { --bc: var(--violet); }
.w-balloon {
  position: relative; width: 60px; height: 72px; padding: 0; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .9) 0 7%, rgba(255, 255, 255, 0) 24%), var(--bc);
  box-shadow: inset -8px -10px 16px rgba(0, 0, 0, .18), 0 10px 18px -8px rgba(42, 18, 87, .45);
}
.w-balloon::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 10px; margin-left: -6px; background: var(--bc); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.w-string { width: 2px; height: 24px; margin-top: 8px; background: linear-gradient(#9A8BC4, #CFC4EE); }
.w-note {
  width: 100%; margin: 0; padding: 14px 16px 12px; border-radius: 22px; border: 2px solid var(--line);
  background: #fff; box-shadow: var(--shadow-pop); transform: rotate(var(--r, 0deg)); cursor: pointer;
}
.w-msg { margin: 0; font-weight: 700; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.w-note.open .w-msg { display: block; -webkit-line-clamp: unset; }
.w-from { margin: 8px 0 0; font-weight: 900; color: var(--grape); overflow-wrap: anywhere; }
.wish-cta { margin-top: 28px; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .wcard { animation: bob var(--d, 5s) ease-in-out var(--o, 0s) infinite alternate; }
  .w-balloon.pop { animation: balloonPop .55s cubic-bezier(.34, 1.56, .64, 1); }
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-9px); } }
@keyframes balloonPop { 0% { transform: scale(1); } 30% { transform: scale(1.28, .78); } 62% { transform: scale(.86, 1.14); } 100% { transform: scale(1); } }

/* after-party photos */
.photos-sec { background: var(--paper); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.g-item { display: block; width: 100%; height: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #E9E2FB; cursor: zoom-in; box-shadow: 0 14px 28px -18px rgba(42, 18, 87, .6); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.g-item:hover img { transform: scale(1.04); }
.photos-soon { margin: 0; padding: 26px 18px; border-radius: 22px; border: 2px dashed var(--line); background: #fff; text-align: center; font-weight: 800; font-size: 1.1rem; color: var(--ink-soft); }
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 4, 28, .96); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(12, 4, 28, .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb-close { top: max(14px, env(safe-area-inset-top)); right: 14px; font-size: 1.4rem; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 800; }

/* after the party (from 6/12 14:00, or with ?thanks to preview): thank-you page */
.hero-photos { display: none; }
.after .hero-photos:not([hidden]) { display: inline-flex; }
.after .hero-cta, .after .hero-no, .after .lede, .after #when, .after #rsvp, .after .sticky-rsvp, .after .wish-cta { display: none !important; }

/* footer */
.foot { color: #fff; background: var(--night); text-align: center; padding: 60px 0 calc(64px + env(safe-area-inset-bottom)); }
.foot img { width: 96px; margin: 0 auto 10px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .5)); }
.foot-big { margin: 0 0 18px; font-weight: 900; font-size: clamp(1.9rem, 7vw, 2.8rem); }
.foot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 80; transform: translate(-50%, 30px);
  padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800;
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* sticky rsvp (phones) */
.sticky-rsvp { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 50; transform: translate(-50%, 160%); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); white-space: nowrap; }
.sticky-rsvp.show { transform: translate(-50%, 0); }
@media (min-width: 880px) { .sticky-rsvp { display: none; } }

/* calendar sheet */
.sheet { width: min(420px, calc(100% - 24px)); padding: 0; border: 0; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(27, 11, 58, .65); }
.sheet::backdrop { background: rgba(27, 11, 58, .55); }
.sheet form { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.sheet h2 { margin: 0 0 6px; font-weight: 900; font-size: 1.4rem; }
.sheet-opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border-radius: 16px; background: var(--paper); font-weight: 800; text-decoration: none; }
.sheet-opt .ic { font-size: 1.35rem; color: var(--grape); }
.sheet-close { min-height: 48px; border: 0; border-radius: 999px; background: transparent; font-weight: 800; color: var(--ink-soft); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
