:root {
  color-scheme: dark;
  --night: #0c1511;
  --night-deep: #08110e;
  --cream: #fbf6ee;
  --cream-deep: #f3e6d4;
  --ink: #2c221b;
  --ink-soft: #5c4a3a;
  --foil: #a67c45;
  --foil-bright: #c6a36a;
  --foil-soft: rgba(166, 124, 69, 0.42);
  --rose: #7a2433;
  --rose-deep: #5c1b28;
  --muted: #7a6248;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--cream);
  background:
    radial-gradient(1100px 640px at 50% -12%, rgba(212, 175, 112, 0.22), transparent 58%),
    radial-gradient(780px 540px at 108% 12%, rgba(52, 110, 82, 0.32), transparent 52%),
    radial-gradient(720px 520px at -8% 88%, rgba(122, 36, 51, 0.24), transparent 48%),
    radial-gradient(480px 360px at 78% 96%, rgba(198, 163, 106, 0.1), transparent 50%),
    linear-gradient(180deg, #121c17 0%, var(--night) 40%, var(--night-deep) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(246, 231, 193, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 28% 68%, rgba(246, 231, 193, 0.45), transparent),
    radial-gradient(1.2px 1.2px at 72% 18%, rgba(246, 231, 193, 0.55), transparent),
    radial-gradient(1.4px 1.4px at 84% 62%, rgba(246, 231, 193, 0.4), transparent),
    radial-gradient(1.2px 1.2px at 46% 88%, rgba(246, 231, 193, 0.35), transparent),
    radial-gradient(1200px 700px at 50% 40%, transparent 40%, rgba(0, 0, 0, 0.28) 100%);
}

::selection {
  background: #e7cfc3;
  color: var(--ink);
}

button,
input,
textarea {
  font: inherit;
}

.sky {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.firefly {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f8edd4;
  box-shadow: 0 0 12px 4px rgba(246, 220, 160, 0.7);
  opacity: 0;
  animation: drift linear infinite;
}

@keyframes drift {
  0% { transform: translate3d(0, 12px, 0) scale(0.5); opacity: 0; }
  18% { opacity: 0.95; }
  55% { transform: translate3d(24px, -48px, 0) scale(1); }
  100% { transform: translate3d(-16px, -110px, 0) scale(0.4); opacity: 0; }
}

#gate {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 380px at 50% 46%, rgba(198, 163, 106, 0.22), transparent 68%),
    radial-gradient(900px 600px at 50% 50%, rgba(12, 21, 17, 0.2), rgba(8, 17, 14, 0.55)),
    var(--night);
}

body.is-ready #gate {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.6s ease;
}

body.is-open #gate {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.gate-inner { text-align: center; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.light {
  color: #f0e2c8;
  text-shadow: 0 0 18px rgba(198, 163, 106, 0.35);
}

.wax-wrap {
  position: relative;
  width: 228px;
  height: 228px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.wax-wrap::before,
.wax-wrap::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.wax-wrap::before {
  inset: 0;
  border: 1px dashed rgba(232, 206, 154, 0.55);
  animation: spin 48s linear infinite;
}

.wax-wrap::after {
  inset: 16px;
  border: 1px solid rgba(232, 206, 154, 0.28);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.wax {
  position: relative;
  width: 156px;
  height: 156px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #f8edd4;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 236, 214, 0.38), transparent 32%),
    radial-gradient(circle at 70% 78%, rgba(0, 0, 0, 0.28), transparent 42%),
    radial-gradient(circle at 50% 48%, #b23d4e 0%, #7a2433 42%, #4a121c 78%);
  box-shadow:
    inset 0 0 0 8px rgba(74, 14, 24, 0.45),
    inset 0 0 0 10px rgba(232, 206, 154, 0.78),
    inset 0 0 0 16px rgba(90, 22, 34, 0.35),
    0 0 0 1px rgba(232, 206, 154, 0.35),
    0 22px 40px rgba(0, 0, 0, 0.45);
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 30px;
  letter-spacing: 0.12em;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.wax:hover {
  transform: scale(1.045) rotate(-3deg);
  box-shadow:
    inset 0 0 0 8px rgba(74, 14, 24, 0.45),
    inset 0 0 0 10px rgba(244, 224, 180, 0.9),
    inset 0 0 0 16px rgba(90, 22, 34, 0.35),
    0 0 0 1px rgba(232, 206, 154, 0.5),
    0 26px 48px rgba(0, 0, 0, 0.5);
}

.wax.is-pressed { transform: scale(0.9) rotate(6deg); }

.wax:focus-visible {
  outline: 2px solid #f0e2c8;
  outline-offset: 10px;
}

.gate-hint {
  margin: 26px 0 0;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 12px;
  color: #f0e2c8;
  animation: hint 2.8s ease-in-out infinite;
}

@keyframes hint {
  50% { opacity: 0.45; }
}

.invite {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 56px auto 28px;
  padding: 92px 76px 76px;
  text-align: center;
  color: var(--ink);
  color-scheme: light;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(198, 163, 106, 0.2), transparent 68%),
    radial-gradient(280px 180px at 50% 100%, rgba(122, 36, 51, 0.05), transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(166, 124, 69, 0.04) 3px, rgba(166, 124, 69, 0.04) 4px),
    linear-gradient(180deg, #fffdf9 0%, #f8f1e6 46%, #f1e4d2 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 0 0 1px rgba(166, 124, 69, 0.55),
    0 36px 90px rgba(0, 0, 0, 0.48);
  opacity: 0;
  overflow: hidden;
}

.invite::before,
.invite::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.invite::before {
  inset: 14px;
  border: 1px solid rgba(166, 124, 69, 0.62);
}

.invite::after {
  inset: 20px;
  border: 1px solid rgba(166, 124, 69, 0.28);
}

.ornaments {
  position: absolute;
  inset: 26px;
  pointer-events: none;
  color: #b08a4e;
}

.ornament {
  position: absolute;
  width: 68px;
  height: 68px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

.ornament circle { fill: currentColor; stroke: none; }

.ornament:nth-child(1) { top: 0; left: 0; }
.ornament:nth-child(2) { top: 0; right: 0; transform: scaleX(-1); }
.ornament:nth-child(3) { bottom: 0; left: 0; transform: scaleY(-1); }
.ornament:nth-child(4) { right: 0; bottom: 0; transform: scale(-1); }

.stage {
  position: fixed;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
  color: rgba(216, 186, 132, 0.78);
}

.frame {
  position: absolute;
  width: min(210px, 18vw);
  height: min(210px, 18vw);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
}

.frame circle { fill: currentColor; stroke: none; }
.frame:nth-child(1) { top: 0; left: 0; }
.frame:nth-child(2) { top: 0; right: 0; transform: scaleX(-1); }
.frame:nth-child(3) { bottom: 0; left: 0; transform: scaleY(-1); }
.frame:nth-child(4) { right: 0; bottom: 0; transform: scale(-1); }

.crest {
  display: block;
  width: min(220px, 62%);
  height: 52px;
  margin: 0 auto 6px;
  fill: none;
  stroke: #b08a4e;
  stroke-width: 1.15;
}

.crest circle { fill: #b08a4e; stroke: none; }

.where {
  max-width: 520px;
  margin: 34px auto 0;
  padding: 32px 28px 30px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.78), rgba(243, 230, 212, 0.38));
  border: 1px solid rgba(166, 124, 69, 0.4);
  box-shadow:
    inset 0 0 0 6px rgba(255, 252, 247, 0.5),
    0 18px 40px rgba(58, 42, 34, 0.06);
}

body.is-open .invite {
  animation: unfold 1.25s cubic-bezier(0.16, 0.84, 0.22, 1) forwards;
  transform-origin: 50% 0;
}

@keyframes unfold {
  0% { opacity: 0; transform: perspective(1400px) rotateX(14deg) translateY(48px) scale(0.94); }
  100% { opacity: 1; transform: none; }
}

@keyframes lift {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.monogram {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border: 1px solid #b89058;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, #fffaf3, #f4e4cc 72%);
  box-shadow:
    0 0 0 6px #f8f2e8,
    0 0 0 7px rgba(184, 144, 88, 0.7),
    0 10px 24px rgba(90, 60, 30, 0.12);
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 22px;
  letter-spacing: 0.14em;
  color: var(--rose);
}

.names { margin: 0; }

.name {
  display: block;
  font-family: "Great Vibes", "Segoe Script", cursive;
  font-weight: 400;
  font-size: clamp(72px, 12vw, 112px);
  line-height: 0.9;
  color: #3a2a22;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

@supports (font-size: 1cqi) {
  .names { container-type: inline-size; }
  .name { font-size: clamp(68px, 18cqi, 112px); }
}

.and {
  display: block;
  margin: 8px 0 2px;
  font-family: "Great Vibes", cursive;
  font-size: 48px;
  line-height: 0.6;
  color: var(--foil);
}

.tagline {
  margin: 16px 0 4px;
  font-family: "Great Vibes", cursive;
  font-size: 34px;
  color: var(--foil);
}

.flourish {
  width: min(280px, 78%);
  height: 36px;
  margin: 26px auto;
  fill: none;
  stroke: var(--foil);
  stroke-width: 0.9;
}

.flourish circle { fill: var(--foil); stroke: none; }

.headline,
.letter {
  max-width: 34ch;
  margin: 0 auto;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.45;
  color: #3d3128;
}

.date-line,
.venue {
  margin: 8px 0 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.15;
  color: #2c221b;
}

.year-line,
.time-line,
.address {
  margin: 8px 0 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 4px;
}

.unit {
  position: relative;
  padding: 16px 4px 12px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.95), rgba(243, 230, 212, 0.62));
  border: 1px solid rgba(166, 124, 69, 0.45);
  box-shadow: inset 0 0 0 4px rgba(255, 252, 247, 0.75);
}

.unit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b89058, transparent);
}

.unit strong {
  display: block;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: clamp(30px, 7vw, 44px);
  font-weight: 500;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  color: var(--rose-deep);
}

.unit span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-now {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-style: italic;
  font-size: 30px;
}

.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 42px;
  font-weight: 500;
  color: #2c221b;
}

.section-title::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 12px auto 0;
  border: 1px solid #b08a4e;
  background: rgba(198, 163, 106, 0.28);
  transform: rotate(45deg);
}

#schedule,
#rsvp {
  margin-top: 28px;
}

.reply-link,
.text-link,
.text-btn,
.host-link a {
  color: var(--foil);
  text-decoration: none;
}

.reply-link {
  display: inline-block;
  margin-top: 26px;
  padding: 14px 26px;
  border: 1px solid var(--foil);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.2), rgba(198, 163, 106, 0.14));
  color: var(--ink);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.reply-link:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fbf6ee;
}

.text-link:hover,
.text-btn:hover,
.host-link a:hover { color: var(--rose); }

.text-link {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

.letter { margin: 36px auto 8px; }

.events {
  position: relative;
  max-width: 480px;
  margin: 26px auto 0;
  text-align: left;
}

.events::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 99px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(166, 124, 69, 0.7), transparent);
}

.event {
  position: relative;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 15px 0;
}

.event::before {
  content: "";
  position: absolute;
  left: 95px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fbf6ee;
  border: 1.5px solid #b08a4e;
  box-shadow: 0 0 0 4px rgba(184, 144, 88, 0.14);
}

.event time {
  padding-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foil);
}

.event h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 26px;
  font-weight: 500;
  color: #2c221b;
}

.event p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}

.gathering {
  max-width: 42ch;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

#rsvp { margin-top: 20px; }

.rsvp-card,
.thanks {
  max-width: 480px;
  margin: 26px auto 0;
  text-align: left;
}

.rsvp-card,
.thanks {
  padding: 28px 26px 26px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.78), rgba(243, 230, 212, 0.42));
  border: 1px solid rgba(166, 124, 69, 0.34);
  box-shadow:
    inset 0 0 0 5px rgba(255, 252, 247, 0.45),
    0 16px 36px rgba(58, 42, 34, 0.06);
}

.field { margin-bottom: 18px; }

.field label,
.party label,
.choices legend {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 8px;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label span {
  letter-spacing: 0.08em;
  text-transform: none;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(44, 34, 27, 0.22);
  background: transparent;
  color: var(--ink);
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 22px;
  padding: 8px 2px 10px;
  border-radius: 0;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(44, 34, 27, 0.14);
  background: rgba(255, 252, 247, 0.45);
  padding: 12px;
  font-size: 18px;
}

.field input:focus,
.field textarea:focus,
.stepper input:focus {
  outline: none;
  border-color: var(--foil);
}

.field input::placeholder,
.field textarea::placeholder { color: rgba(44, 34, 27, 0.36); }

.choices {
  margin: 8px 0 18px;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.choice span {
  display: block;
  min-height: 96px;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid rgba(44, 34, 27, 0.14);
  background: rgba(255, 252, 247, 0.62);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.choice em {
  display: block;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 500;
}

.choice small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.choice:hover span { border-color: rgba(166, 124, 69, 0.7); }

.choice:has(input:checked) span,
.choice.is-selected span {
  border-color: var(--rose);
  background: linear-gradient(180deg, rgba(122, 36, 51, 0.1), rgba(198, 163, 106, 0.16));
  box-shadow: inset 0 0 0 1px rgba(122, 36, 51, 0.25);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--foil);
  outline-offset: 3px;
}

.party { margin-bottom: 18px; }

.stepper {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  max-width: 220px;
  border: 1px solid rgba(166, 124, 69, 0.4);
  background: rgba(255, 252, 247, 0.55);
}

.stepper button,
.stepper input {
  height: 52px;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.stepper button {
  cursor: pointer;
  font-size: 24px;
  color: var(--rose);
}

.stepper button:hover { background: rgba(198, 163, 106, 0.2); }

.stepper input {
  width: 100%;
  text-align: center;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 28px;
  border-left: 1px solid rgba(166, 124, 69, 0.28);
  border-right: 1px solid rgba(166, 124, 69, 0.28);
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.hint,
.form-error {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.hint { color: var(--ink-soft); }

.form-error { color: #8c2433; }

.btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px 20px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #8d3342 0%, #641f2c 100%);
  color: #fbf6ee;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 400;
  box-shadow: 0 12px 24px rgba(100, 31, 44, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: linear-gradient(180deg, #9a3c4c 0%, #541824 100%);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.btn:focus-visible,
.reply-link:focus-visible,
.text-btn:focus-visible,
.host-link a:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--foil);
  outline-offset: 3px;
}

.thanks { text-align: center; }

.thanks h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 36px;
  font-weight: 500;
}

.thanks p { line-height: 1.65; }

.text-btn {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
}

.closing {
  margin: 48px 0 0;
  font-family: "Great Vibes", cursive;
  font-size: 40px;
  color: var(--foil);
}

.host-link {
  position: relative;
  z-index: 1;
  margin: 0 0 48px;
  text-align: center;
}

.host-link a {
  color: #e4c98a;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
}

.noscript {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: -12px auto 32px;
  text-align: center;
  color: #f0d7d4;
}

html.reduce-motion #gate { display: none; }

html.reduce-motion .invite,
html.reduce-motion .reveal,
html.reduce-motion .ornament {
  opacity: 1;
  animation: none;
  transform: none;
}

html.reduce-motion .flourish path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wax-wrap::before,
  .firefly,
  .gate-hint,
  .petal,
  .card-shine,
  .seal-ripple { animation: none; }
  .firefly { opacity: 0.45; }
  .gate-hint { opacity: 1; }
  .petal,
  .card-shine { display: none; }
}

@media (max-width: 1100px) {
  .lang-switch {
    top: 14px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .invite { margin-top: 76px; }

  body.is-open .lang-switch { position: absolute; }

  .stage { display: none; }
}

@media (max-width: 640px) {
  .invite {
    width: min(760px, calc(100% - 16px));
    margin-top: 72px;
    padding: 64px 20px 48px;
  }

  .invite::before { inset: 8px; }
  .invite::after { inset: 13px; }

  .ornaments { inset: 16px; }
  .ornament { width: 42px; height: 42px; }

  .choices,
  .event { grid-template-columns: 1fr; }

  .events::before,
  .event::before { display: none; }

  .event {
    border-top: 1px solid rgba(166, 124, 69, 0.28);
    padding-left: 0;
  }

  .event time { margin-bottom: -6px; }

  .where { padding: 24px 16px 22px; }

  .stage { display: none; }

  .name { font-size: clamp(58px, 18vw, 84px); }

  .countdown { gap: 8px; }
  .unit { padding: 10px 2px 8px; }

  .rsvp-card,
  .thanks { padding: 20px 16px 18px; }
}

.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: flex;
  padding: 4px;
  gap: 4px;
  border: 1px solid rgba(228, 201, 138, 0.55);
  border-radius: 999px;
  background: rgba(12, 21, 17, 0.55);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.lang-switch button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f6f0e6;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}

.lang-switch button.is-on {
  background: #fbf6ee;
  color: #2c221b;
}

.wax img,
.brand-logo {
  object-fit: cover;
}

.wax img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #f6f0e6;
  box-shadow: 0 0 0 3px rgba(248, 237, 212, 0.7);
}

.brand-logo {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fffaf3;
  box-shadow:
    0 0 0 6px #f8f2e8,
    0 0 0 7px rgba(184, 144, 88, 0.7);
}

.portrait {
  margin: 22px auto 6px;
  max-width: 460px;
  padding: 10px;
  background: #fffdf9;
  border: 1px solid rgba(166, 124, 69, 0.45);
  box-shadow: 0 18px 40px rgba(58, 42, 34, 0.1);
}

.portrait img,
.gallery img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.portrait img { max-height: 480px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.gallery img {
  height: 168px;
  padding: 6px;
  background: #fffdf9;
  border: 1px solid rgba(166, 124, 69, 0.4);
}

body.has-photo {
  background:
    linear-gradient(rgba(8, 17, 14, 0.72), rgba(8, 17, 14, 0.84)),
    var(--invite-photo) center/cover no-repeat,
    #0c1511;
}

html[lang="si"] .wax,
html[lang="si"] .monogram,
html[lang="si"] .gate-names,
html[lang="si"] .gate-and,
html[lang="si"] .name,
html[lang="si"] .and,
html[lang="si"] .tagline,
html[lang="si"] .closing {
  font-family: "Abhaya Libre", "Noto Serif Sinhala", serif;
  line-height: 1.25;
  font-weight: 700;
}

html[lang="si"] .name { font-size: clamp(46px, 11vw, 72px); }
html[lang="si"] .gate-names { font-size: clamp(40px, 8vw, 64px); }

html[lang="si"] .and,
html[lang="si"] .tagline { font-size: 34px; }

html[lang="si"] .headline,
html[lang="si"] .letter,
html[lang="si"] .section-title,
html[lang="si"] .date-line,
html[lang="si"] .gate-place,
html[lang="si"] .venue,
html[lang="si"] .choice em,
html[lang="si"] .thanks h3,
html[lang="si"] .field input,
html[lang="si"] .field textarea,
html[lang="si"] .stepper input,
html[lang="si"] .countdown-now {
  font-family: "Noto Serif Sinhala", "Noto Sans Sinhala", serif;
  font-style: normal;
}

html[lang="si"] body,
html[lang="si"] .eyebrow,
html[lang="si"] .time-line,
html[lang="si"] .year-line,
html[lang="si"] .address,
html[lang="si"] .btn,
html[lang="si"] .reply-link,
html[lang="si"] .text-link,
html[lang="si"] .contact-label,
html[lang="si"] .hotline-label,
html[lang="si"] .choice small,
html[lang="si"] .gate-date,
html[lang="si"] .gate-hint,
html[lang="si"] .unit span,
html[lang="si"] .hint,
html[lang="si"] .gathering,
html[lang="si"] .event time,
html[lang="si"] .event p,
html[lang="si"] .host-link a,
html[lang="si"] .text-btn {
  font-family: "Noto Sans Sinhala", "Outfit", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

html[lang="si"] .unit span { font-size: 12px; line-height: 1.5; }

html[lang="si"] .eyebrow,
html[lang="si"] .year-line,
html[lang="si"] .time-line,
html[lang="si"] .address,
html[lang="si"] .event time,
html[lang="si"] .gate-hint {
  font-size: 14px;
  line-height: 1.7;
}

.petal {
  position: absolute;
  top: -12%;
  height: 14px;
  width: 10px;
  border-radius: 80% 8% 75% 12%;
  background: linear-gradient(140deg, #f8e7d4 0%, #d46a78 55%, #f3d7a4 100%);
  opacity: 0;
  animation: fall linear infinite;
  will-change: transform;
}

@keyframes fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); opacity: 0; }
  12% { opacity: 0.85; }
  100% { transform: translate3d(var(--drift, 30px), 112vh, 0) rotate(var(--spin, 180deg)); opacity: 0.15; }
}

.petal.burst {
  top: 46%;
  animation-name: burst;
  animation-timing-function: cubic-bezier(0.16, 0.7, 0.3, 1);
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes burst {
  0% { transform: translate3d(0, 0, 0) scale(0.3) rotate(0deg); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translate3d(var(--drift, 40px), 38vh, 0) scale(1) rotate(var(--spin, 180deg)); opacity: 0; }
}

.seal-ripple {
  position: absolute;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.wax.is-pressed + .seal-ripple {
  animation: ripple 1s ease-out forwards;
}

@keyframes ripple {
  0% { transform: scale(0.9); border-color: rgba(248, 228, 186, 0.95); opacity: 1; }
  100% { transform: scale(2.6); border-color: rgba(248, 228, 186, 0); opacity: 0; }
}

body.is-ready:not(.is-open) .wax {
  animation: invitePulse 2.8s ease-in-out infinite;
}

body.is-ready .wax.is-pressed {
  animation: press 0.7s ease forwards;
}

@keyframes invitePulse {
  50% {
    box-shadow:
      inset 0 0 0 8px rgba(74, 14, 24, 0.45),
      inset 0 0 0 10px rgba(244, 224, 180, 0.95),
      inset 0 0 0 16px rgba(90, 22, 34, 0.35),
      0 0 0 8px rgba(232, 206, 154, 0.16),
      0 22px 48px rgba(0, 0, 0, 0.45);
  }
}

@keyframes press {
  0% { transform: scale(1) rotate(0deg); }
  45% { transform: scale(0.84) rotate(6deg); }
  100% { transform: scale(1.18) rotate(10deg); opacity: 0.2; }
}

body.is-open .gate-inner {
  transform: translateY(-28px) scale(1.08);
  transition: transform 0.7s ease;
}

.card-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.95) 50%, transparent 64%);
  transform: translateX(-130%);
  opacity: 0;
}

body.is-open .card-shine {
  animation: sheen 1.35s 0.25s ease forwards;
}

@keyframes sheen {
  0% { transform: translateX(-130%); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}

.ornaments { z-index: 3; }

.ornament { opacity: 0; }

body.is-open .ornament {
  animation: fadeIn 1s 0.45s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

body.is-open .monogram,
body.is-open .brand-logo {
  animation: popIn 0.85s 0.28s both;
}

body.is-open .crest { animation: lift 0.8s 0.12s both; }

body.is-open .monogram {
  animation: popIn 0.85s 0.28s both, halo 3.6s 1.2s ease-in-out infinite;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.55) rotate(-10deg); }
  to { opacity: 1; transform: none; }
}

@keyframes halo {
  0%, 100% {
    box-shadow:
      0 0 0 6px #f8f2e8,
      0 0 0 7px rgba(184, 144, 88, 0.7),
      0 10px 24px rgba(90, 60, 30, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 6px #f8f2e8,
      0 0 0 7px rgba(184, 144, 88, 0.95),
      0 0 28px 6px rgba(198, 163, 106, 0.55);
  }
}

body.is-open #families-line { animation: lift 0.8s 0.4s both; }
body.is-open .name:first-of-type { animation: lift 0.9s 0.5s both; }
body.is-open .and { animation: lift 0.8s 0.68s both; }
body.is-open .name:last-of-type { animation: lift 0.9s 0.82s both; }
body.is-open .tagline { animation: lift 0.8s 0.98s both, foil 4.8s 1.6s ease-in-out infinite; }
body.is-open .headline { animation: lift 0.85s 1.05s both; }
body.is-open .date-line { animation: lift 0.85s 1.15s both; }
body.is-open .year-line,
body.is-open .time-line { animation: lift 0.8s 1.25s both; }
body.is-open .countdown { animation: lift 0.85s 1.32s both; }

@keyframes foil {
  50% { color: #c6a36a; }
}

.flourish path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}

body.is-open .flourish path {
  animation: draw 1.7s ease forwards;
}

.invite > .flourish:nth-of-type(2) path { animation-delay: 0.9s; }
.invite > .flourish:nth-of-type(3) path { animation-delay: 1.15s; }
.invite > .flourish:nth-of-type(4) path { animation-delay: 1.35s; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

.reveal.is-in {
  animation: lift 0.95s cubic-bezier(0.16, 0.84, 0.24, 1) forwards;
}

.thanks.is-in { animation: lift 0.7s ease; }

.choice span { transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; }
.choice:hover span { transform: translateY(-3px); }

.choice.is-selected span { animation: pick 0.35s ease; }

@keyframes pick {
  40% { transform: scale(0.97); }
}

.btn { position: relative; overflow: hidden; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 68%);
  transform: translateX(-130%);
}

.btn:hover::after { animation: sheen 0.75s ease; }

html.reduce-motion .ornament,
html.reduce-motion .reveal,
html.reduce-motion .name,
html.reduce-motion .and,
html.reduce-motion .tagline,
html.reduce-motion .headline,
html.reduce-motion .date-line,
html.reduce-motion .monogram,
html.reduce-motion .countdown {
  opacity: 1;
  animation: none;
  transform: none;
}

html.reduce-motion .flourish path {
  stroke-dashoffset: 0;
  animation: none;
}

html.reduce-motion body.is-open .name,
html.reduce-motion body.is-open .and,
html.reduce-motion body.is-open .tagline,
html.reduce-motion body.is-open .headline,
html.reduce-motion body.is-open .date-line,
html.reduce-motion body.is-open .year-line,
html.reduce-motion body.is-open .time-line,
html.reduce-motion body.is-open .countdown,
html.reduce-motion body.is-open .monogram,
html.reduce-motion body.is-open .crest,
html.reduce-motion body.is-open .brand-logo,
html.reduce-motion body.is-open .ornament,
html.reduce-motion body.is-open #families-line,
html.reduce-motion body.is-open .invite,
html.reduce-motion .reveal,
html.reduce-motion .reveal.is-in {
  opacity: 1;
  animation: none;
  transform: none;
}

body {
  background:
    radial-gradient(980px 560px at 50% -8%, rgba(150, 46, 64, 0.55), transparent 58%),
    radial-gradient(720px 520px at 108% 18%, rgba(88, 22, 40, 0.7), transparent 52%),
    radial-gradient(680px 480px at -10% 86%, rgba(120, 64, 42, 0.32), transparent 50%),
    #14080c;
}

body::before {
  background:
    radial-gradient(1.4px 1.4px at 18% 24%, rgba(243, 214, 170, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 74% 16%, rgba(243, 214, 170, 0.5), transparent),
    radial-gradient(1.2px 1.2px at 82% 70%, rgba(243, 214, 170, 0.4), transparent),
    radial-gradient(1200px 700px at 50% 40%, transparent 42%, rgba(0, 0, 0, 0.35) 100%);
}

#gate {
  background:
    radial-gradient(560px 420px at 50% 42%, rgba(176, 64, 78, 0.28), transparent 68%),
    #14080c;
}

body.has-photo {
  background:
    linear-gradient(rgba(20, 8, 12, 0.42), rgba(20, 8, 12, 0.72)),
    var(--invite-photo) center/cover no-repeat,
    #14080c;
}

body.has-photo #gate {
  background:
    linear-gradient(rgba(20, 8, 12, 0.28), rgba(20, 8, 12, 0.62)),
    var(--invite-photo) center/cover no-repeat;
}

.gate-names {
  margin: 8px 0 10px;
  font-family: "Great Vibes", cursive;
  font-size: clamp(56px, 9vw, 92px);
  line-height: 0.9;
  color: #f6e7c8;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.gate-names span { display: block; }

.gate-and {
  margin: 4px 0;
  font-size: 42px;
  line-height: 0.6;
  color: #e4c98a;
}

.gate-date {
  margin: 0 0 22px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: #f0e2c8;
}

.invite {
  width: min(640px, calc(100% - 28px));
  margin: 36px auto 20px;
  padding: 12px 0 108px;
  background: transparent;
  box-shadow: none;
  color: #f6efe4;
  color-scheme: dark;
  overflow: visible;
}

.invite::before,
.invite::after { display: none; }

.panel {
  max-width: none;
  margin: 16px 0;
  padding: 36px 28px 32px;
  text-align: center;
  color: var(--ink);
  color-scheme: light;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.96), #f4e7d6 100%);
  border: 1px solid rgba(184, 144, 88, 0.55);
  border-radius: 28px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.65),
    0 22px 50px rgba(0, 0, 0, 0.28);
}

.panel .rsvp-card,
.panel .thanks {
  max-width: none;
  margin: 18px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.reply-link {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0d7a4, #c6a15a);
  color: #3a2416;
  box-shadow: 0 10px 20px rgba(90, 40, 20, 0.18);
}

.reply-link:hover {
  background: linear-gradient(180deg, #8d3342, #641f2c);
  color: #fbf6ee;
}

.events::before,
.event::before { display: none; }

.event {
  grid-template-columns: 96px 1fr;
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(166, 124, 69, 0.28);
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.72);
}

.portrait {
  border-radius: 22px;
  overflow: hidden;
}

.portrait img { border-radius: 14px; }

.gallery { padding: 16px; }

.gallery img {
  border-radius: 16px;
  height: 180px;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 4;
  display: none;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(255, 248, 240, 0.94);
  border: 1px solid rgba(184, 144, 88, 0.5);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

body.is-open .dock { display: flex; }

.dock a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #6e2432;
}

.dock a:hover { background: rgba(122, 36, 51, 0.1); }

.dock svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.dock a:focus-visible {
  outline: 2px solid var(--foil);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .invite { width: min(640px, calc(100% - 16px)); padding-bottom: 108px; }
  .panel { padding: 28px 16px 24px; border-radius: 22px; }
  .gate-names { font-size: clamp(48px, 14vw, 72px); }
}

body {
  color-scheme: light;
  color: #4a3140;
  background:
    radial-gradient(640px 420px at 6% 0%, rgba(255, 107, 138, 0.55), transparent 62%),
    radial-gradient(560px 400px at 100% 4%, rgba(255, 183, 3, 0.5), transparent 58%),
    radial-gradient(620px 460px at 96% 100%, rgba(76, 201, 240, 0.45), transparent 55%),
    radial-gradient(540px 400px at 0% 100%, rgba(46, 196, 182, 0.4), transparent 58%),
    radial-gradient(420px 320px at 50% 46%, rgba(199, 125, 255, 0.22), transparent 60%),
    linear-gradient(180deg, #fff1f6 0%, #fff8ec 42%, #eefcf7 100%);
}

body::before { background: none; }

#gate {
  background:
    radial-gradient(520px 360px at 18% 18%, rgba(255, 107, 138, 0.55), transparent 60%),
    radial-gradient(480px 340px at 86% 12%, rgba(255, 183, 3, 0.5), transparent 62%),
    radial-gradient(460px 380px at 80% 88%, rgba(76, 201, 240, 0.4), transparent 60%),
    radial-gradient(420px 320px at 12% 86%, rgba(46, 196, 182, 0.38), transparent 62%),
    linear-gradient(165deg, #ffe3ee 0%, #fff4d8 46%, #ddfff4 100%);
}

.stage { color: rgba(214, 72, 112, 0.72); }

.lang-switch {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 107, 138, 0.4);
}

.lang-switch button { color: #b4234a; }

.lang-switch button.is-on {
  background: linear-gradient(90deg, #ff6b8a, #c77dff);
  color: #fff;
}

#gate .eyebrow.light,
.gate-date,
.gate-place,
.gate-hint {
  color: #7a3e52;
  text-shadow: none;
}

.gate-names { color: #c2255c; text-shadow: none; }
.gate-and { color: #e09a2b; }

.gate-place {
  margin: -8px 0 20px;
  font-family: "Cormorant Garamond", Palatino, serif;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: #0f766e;
}

.invite {
  color: #5c3a45;
  color-scheme: light;
}

.name { color: #b4234a; }

.and,
.tagline,
.closing { color: #e09a2b; }

.panel {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: 0 18px 44px rgba(194, 59, 90, 0.12);
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #ff6b8a, #ffb703, #2ec4b6, #7b6cff);
}

.hero-panel::before { background: linear-gradient(90deg, #ff6b8a, #ffb703); }
.letter::before { background: linear-gradient(90deg, #c77dff, #ff6b8a); }
.where::before { background: linear-gradient(90deg, #2ec4b6, #4cc9f0); }
#schedule::before { background: linear-gradient(90deg, #ffb703, #ff8c42); }
#notes::before { background: linear-gradient(90deg, #2a9d8f, #95d5b2); }
.gallery::before { background: linear-gradient(90deg, #4cc9f0, #c77dff); }
#rsvp::before { background: linear-gradient(90deg, #ff6b8a, #7b6cff); }

.unit:nth-child(1) { background: #fff0f4; border-color: #ff8fab; }
.unit:nth-child(2) { background: #fff6df; border-color: #ffb703; }
.unit:nth-child(3) { background: #e7fff8; border-color: #2ec4b6; }
.unit:nth-child(4) { background: #f6ecff; border-color: #c77dff; }
.unit:nth-child(1) strong { color: #c2255c; }
.unit:nth-child(2) strong { color: #b86e00; }
.unit:nth-child(3) strong { color: #0f766e; }
.unit:nth-child(4) strong { color: #7c3aed; }

.venue { color: #0f766e; }

.contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 18px auto 4px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: #fff0f4;
  color: #9d174d;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(194, 59, 90, 0.14);
}

.contact[hidden] { display: none; }

.contact-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b8a, #c77dff);
  color: #fff;
}

.contact-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.contact-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c2255c;
}

.contact-number {
  font-family: Outfit, "Noto Sans Sinhala", sans-serif;
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: #9d174d;
}

.contact:hover { color: #9d174d; }

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 7;
  display: flex;
  justify-content: center;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  box-shadow: 0 -10px 28px rgba(194, 59, 90, 0.14);
}

.site-footer[hidden] { display: none; }

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b8a, #ffb703, #2ec4b6, #7b6cff);
}

.hotline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: #9d174d;
  text-decoration: none;
}

.hotline-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c2255c;
}

.hotline-number {
  font-family: Outfit, "Noto Sans Sinhala", sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: #0f766e;
}

.hotline:hover { color: #9d174d; }

body.has-hotline .host-link { margin-bottom: 132px; }

body.has-hotline.is-open .dock { bottom: 76px; }

.map-wrap {
  height: 240px;
  margin: 18px auto 6px;
  overflow: hidden;
  border-radius: 18px;
  border: 3px solid #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.18);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#maps-link {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2ec4b6, #4cc9f0);
  color: #083344;
  font-weight: 500;
  letter-spacing: 0.06em;
}

#maps-link:hover { color: #083344; }

.reply-link {
  background: linear-gradient(90deg, #ff6b8a, #ffb703);
  color: #fff;
}

.reply-link:hover {
  background: linear-gradient(90deg, #c2255c, #ff6b8a);
  color: #fff;
}

.event {
  background: #fff;
  border: 0;
  box-shadow: inset 4px 0 0 #ff6b8a;
}
.event:nth-child(2) { box-shadow: inset 4px 0 0 #ffb703; }
.event:nth-child(3) { box-shadow: inset 4px 0 0 #2ec4b6; }
.event:nth-child(4) { box-shadow: inset 4px 0 0 #c77dff; }

.event time { color: #b4234a; }

.btn {
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b8a, #c77dff);
  box-shadow: 0 12px 24px rgba(194, 59, 90, 0.28);
}

.btn:hover { background: linear-gradient(90deg, #c2255c, #7b6cff); }

.choice:has(input:checked) span,
.choice.is-selected span {
  border-color: #ff6b8a;
  background: linear-gradient(180deg, #fff0f4, #fff8ec);
}

.dock {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 107, 138, 0.35);
}

.dock a:nth-child(1) { color: #c2255c; }
.dock a:nth-child(2) { color: #0f766e; }
.dock a:nth-child(3) { color: #b86e00; }
.dock a:nth-child(4) { color: #7c3aed; }

.host-link a { color: #0f766e; }

body.has-photo,
body.has-photo #gate {
  background:
    linear-gradient(rgba(255, 244, 248, 0.78), rgba(255, 248, 236, 0.82)),
    var(--invite-photo) center/cover no-repeat,
    #fff6ef;
}
