:root {
  --nw-bg: #fffefb;
  --nw-bg-soft: #faf8f5;
  --nw-bg-warm: #f5f1eb;
  --nw-ink: #1c1c1c;
  --nw-ink-soft: #5c5856;
  --nw-border: #e8e4df;
  --nw-border-muted: #dcd7cf;
  --nw-accent: #3a3836;
  --nw-accent-hover: #252423;
  --nw-shadow: rgba(28, 26, 24, 0.06);
}

html {
  position: relative;
  min-height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin-bottom: 60px;
  background: radial-gradient(circle at 12% 0%, #ffffff 0%, var(--nw-bg) 42%, var(--nw-bg-soft) 100%);
  color: var(--nw-ink);
  font-family: "Georgia", "Times New Roman", serif;
}

.letter-spacing-wide {
  letter-spacing: 0.14em;
}

body.intro-lock {
  overflow: hidden;
}

body.menu-gallery-open {
  overflow: hidden;
}

.hero {
  background: linear-gradient(165deg, #ffffff 0%, var(--nw-bg-soft) 45%, var(--nw-bg-warm) 100%);
  overflow: hidden;
  border: 1px solid var(--nw-border);
  color: var(--nw-ink);
  box-shadow: 0 12px 40px var(--nw-shadow);
}

.countdown-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  /* Photo stays clear in the upper area; bottom scrim carries type + countdown */
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 38%,
      rgba(18, 14, 12, 0.22) 62%,
      rgba(12, 10, 9, 0.62) 88%,
      rgba(10, 8, 7, 0.78) 100%
    ),
    linear-gradient(
      rgba(255, 253, 250, 0.06) 0%,
      rgba(255, 253, 250, 0.02) 35%,
      rgba(0, 0, 0, 0) 55%
    ),
    url("/images/our-photo.jpg");
  background-size: cover;
  background-position: center 22%;
}

.countdown-hero-overlay {
  width: 100%;
  padding: clamp(0.75rem, 3vw, 1.25rem) clamp(0.75rem, 3vw, 1.25rem) clamp(1.25rem, 5vh, 2.75rem);
}

.countdown-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* No solid card — names float over the photo + lower scrim */
.countdown-hero-head {
  display: block;
  width: 100%;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(0.75rem, 2.5vw, 1.25rem);
  padding: 0 0.35rem;
  animation: countdown-hero-enter 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.countdown-hero-title {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(2.85rem, 11vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: #fffefb;
  margin: 0;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(0, 0, 0, 0.35),
    0 0 1px rgba(0, 0, 0, 0.8);
  animation: countdown-hero-title-glow 5s ease-in-out 1.2s infinite alternate;
}

/* Date / location — Playfair, scales with viewport */
.countdown-hero-date {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.02rem, 3.6vw, 1.35rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255, 254, 252, 0.96);
  margin: 0.5rem 0 0;
  line-height: 1.45;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(0, 0, 0, 0.3);
}

.countdown-hero-date-line {
  display: inline;
}

.countdown-hero-date-sep {
  display: inline;
  margin: 0 0.35em;
  opacity: 0.65;
  font-weight: 500;
}

.countdown-hero-date-loc {
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 252, 248, 0.92);
}

@keyframes countdown-hero-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countdown-hero-title-glow {
  from {
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.55),
      0 0 28px rgba(0, 0, 0, 0.35),
      0 0 1px rgba(0, 0, 0, 0.8);
  }

  to {
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.5),
      0 0 36px rgba(255, 248, 240, 0.22),
      0 0 1px rgba(0, 0, 0, 0.75);
  }
}

@media (max-width: 480px) {
  .countdown-hero-date-line {
    display: block;
  }

  .countdown-hero-date-loc {
    margin-top: 0.2rem;
  }

  .countdown-hero-date-sep {
    display: none;
  }

  .countdown-hero-date {
    letter-spacing: 0.07em;
  }
}

.navbar-brand {
  letter-spacing: 0.02em;
}

/* Inner pages — match neutral bright shell */
.navbar.bg-white,
footer.bg-white.border-top {
  background-color: var(--nw-bg) !important;
  border-color: var(--nw-border) !important;
}

.card {
  border-radius: 1rem;
  transition: transform 220ms ease, box-shadow 220ms ease;
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--nw-border) !important;
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 24px var(--nw-shadow);
}

h1, h2, h3, .navbar-brand {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.wedding-card {
  border: 1px solid var(--nw-border) !important;
}

/* RSVP — reception payment checkbox (high contrast, larger hit target) */
.rsvp-payment-confirm {
  padding: 1rem 1.15rem;
  border: 1px solid var(--nw-border-muted);
  border-radius: 0.65rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--nw-bg-soft) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.98) inset,
    0 2px 12px var(--nw-shadow);
}

.rsvp-payment-confirm__check.form-check {
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.rsvp-payment-confirm__check .form-check-input {
  float: none;
  margin-left: 0;
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.12rem;
  border: 2px solid var(--nw-accent);
  cursor: pointer;
  background-color: #fff;
}

.rsvp-payment-confirm__check .form-check-input:checked {
  background-color: var(--nw-accent);
  border-color: var(--nw-accent-hover);
}

.rsvp-payment-confirm__check .form-check-input:focus {
  border-color: var(--nw-accent);
  box-shadow: 0 0 0 0.22rem rgba(58, 56, 54, 0.28);
}

.rsvp-payment-confirm__check .form-check-label {
  cursor: pointer;
  font-weight: 600;
  color: var(--nw-ink);
  line-height: 1.35;
  padding-top: 0.02rem;
}

.rsvp-payment-confirm__details {
  font-weight: 600;
  border-width: 2px;
  flex-shrink: 0;
}

.rsvp-confirmation-card {
  border-radius: 1.1rem;
}

.rsvp-confirmation-accent {
  background: linear-gradient(180deg, var(--nw-bg-soft) 0%, #f0ebe4 100%);
  border-bottom: 1px solid var(--nw-border);
}

.rsvp-confirmation-icon {
  width: 3.5rem;
  height: 3.5rem;
  line-height: 3.5rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--nw-border-muted);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--nw-accent);
  box-shadow: 0 4px 14px var(--nw-shadow);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.85rem 1.75rem var(--nw-shadow);
}

.info-card-event {
  border: none;
  border-radius: 0.35rem;
  background: #ffffff;
  box-shadow: 0 10px 28px var(--nw-shadow);
  outline: 4px solid var(--nw-bg-warm);
  outline-offset: 0;
  width: 100%;
}

.event-cards-row {
  max-width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

/* Ceremony / reception — full-width graphic, zoom trigger matches menu */
.event-detail-gallery-trigger.menu-image-gallery-trigger {
  display: block;
  width: 100%;
}

.event-detail-gallery-trigger img {
  vertical-align: top;
}

.event-detail-row {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  gap: 0.6rem 1rem;
  padding: 0.62rem 0;
  border-top: 1px solid var(--nw-border);
}

.event-detail-row:first-of-type {
  border-top: 1px solid var(--nw-border-muted);
}

.event-detail-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nw-ink);
}

.event-detail-label::after {
  content: ":";
  margin-left: 0.18rem;
}

.event-detail-value {
  font-size: 1.02rem;
  color: var(--nw-ink-soft);
  line-height: 1.35;
}

.event-address-link {
  display: inline-grid;
  justify-items: center;
  gap: 0.45rem;
  color: var(--nw-accent);
  text-decoration: none;
  font-size: 2rem;
  line-height: 1;
}

.event-address-link:hover {
  color: var(--nw-accent-hover);
}

.event-address-icon {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  background: var(--nw-accent);
  transform: rotate(-45deg);
}

.event-address-icon::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  top: 6px;
  left: 6px;
}

.table td,
.table th {
  vertical-align: middle;
}

.admin-kpi-card {
  min-height: 120px;
}

.admin-menu-item {
  border-left: 3px solid var(--nw-border-muted);
  padding-left: 0.5rem;
}

.admin-dietary-note {
  display: inline-block;
  max-width: 240px;
  white-space: normal;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.14);
}

.hero-image {
  animation: floatIn 850ms ease-out both, heroDrift 6s ease-in-out 1.2s infinite;
  border: 1px solid var(--nw-border-muted);
  box-shadow: 0 12px 36px var(--nw-shadow);
}

.menu-image {
  max-height: 680px;
  width: auto;
  border: 1px solid var(--nw-border);
}

.menu-image-gallery-trigger {
  display: inline-block;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: 1rem;
  line-height: 0;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.menu-image-gallery-trigger:hover {
  transform: scale(1.01);
  box-shadow: 0 0.5rem 1.25rem rgba(47, 37, 40, 0.18);
}

.menu-image-gallery-trigger:focus-visible {
  outline: 3px solid rgba(58, 56, 54, 0.35);
  outline-offset: 4px;
}

.menu-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.menu-gallery-modal[hidden] {
  display: none !important;
}

.menu-gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: rgba(18, 12, 14, 0.82);
  cursor: pointer;
}

.menu-gallery-modal__panel {
  position: relative;
  z-index: 1;
  max-width: min(960px, 100%);
  max-height: min(92vh, 100%);
  display: flex;
  flex-direction: column;
  background: var(--nw-bg-soft);
  border-radius: 0.75rem;
  border: 1px solid var(--nw-border);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.menu-gallery-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  line-height: 1;
  font-size: 1.5rem;
  border-radius: 50%;
  opacity: 0.95;
}

.menu-gallery-modal__scroll {
  overflow: auto;
  max-height: min(88vh, 100%);
  -webkit-overflow-scrolling: touch;
}

.menu-gallery-modal__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.gift-image {
  max-height: 440px;
  width: auto;
  border: 1px solid var(--nw-border);
}

/* Gifts section — minimalist card (script title + serif body) */
.gifts-card {
  background: #ffffff !important;
  border: 1px solid var(--nw-border) !important;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.gifts-card .card-body {
  padding: 2.5rem 2rem !important;
}

@media (min-width: 992px) {
  .gifts-card .card-body {
    padding: 3rem 3.25rem !important;
  }
}

.gifts-card__hero {
  width: 100%;
  max-width: 920px;
  height: auto;
  border-radius: 0.35rem;
}

.gifts-card__registry-actions {
  padding-bottom: 0.15rem;
}

/* Great Vibes script — section titles (Ceremony, Reception, Menu, RSVP) */
.wedding-section-script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  line-height: 1.08;
  color: var(--nw-ink);
  letter-spacing: 0.02em;
}

.gifts-card__registry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin: 0.15rem 0.2rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--nw-accent-hover);
  border-radius: 999px;
  background: linear-gradient(180deg, #4a4846 0%, var(--nw-accent) 100%);
  color: #fff !important;
  font-family: "Playfair Display", Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.gifts-card__registry-link:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  filter: brightness(1.04);
}

.gifts-card__registry-link:focus-visible {
  color: #fff !important;
  outline: 3px solid rgba(58, 56, 54, 0.35);
  outline-offset: 3px;
}

/* Wedding Registry modal */
.registry-modal__content {
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
}

.registry-modal__header {
  padding: 1.5rem 1.5rem 0.5rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.registry-modal__title {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.registry-modal__close {
  opacity: 0.55;
}

.registry-modal__close:hover {
  opacity: 1;
}

.registry-modal__body {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2f2f2f;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  padding-bottom: 1.75rem;
}

.registry-modal__lede {
  font-style: italic;
  margin-bottom: 0;
}

.registry-modal__section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #d9d9d9;
}

.registry-modal__section-title:first-of-type {
  margin-top: 0.25rem;
}

.registry-modal__detail {
  margin-bottom: 0;
}

.registry-modal__label {
  font-weight: 600;
  font-style: normal;
  color: #1a1a1a;
}

.registry-modal__list {
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-size: 1rem;
}

.registry-modal__list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #efefef;
  font-style: normal;
}

.registry-modal__list li:last-child {
  border-bottom: none;
}

.registry-modal__closing {
  font-style: italic;
  color: #3a3a3a;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.countdown-item {
  background: #ffffff;
  border: 1px solid var(--nw-border-muted);
  border-radius: 0.7rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  box-shadow: 0 6px 20px var(--nw-shadow);
}

.countdown-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--nw-ink);
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nw-ink-soft);
}

/* Hero countdown — red accent (matches splash heart) */
.countdown-hero .countdown-value,
.countdown-hero .countdown-label {
  color: #c33b46;
}

.countdown-hero .countdown-item {
  border-color: rgba(195, 59, 70, 0.22);
  box-shadow:
    0 6px 20px var(--nw-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  animation: countdown-hero-enter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.countdown-hero .countdown-item:nth-child(1) {
  animation-delay: 0.22s;
}

.countdown-hero .countdown-item:nth-child(2) {
  animation-delay: 0.3s;
}

.countdown-hero .countdown-item:nth-child(3) {
  animation-delay: 0.38s;
}

.countdown-hero .countdown-item:nth-child(4) {
  animation-delay: 0.46s;
}

.countdown-hero-grid {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.scroll-down-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  color: var(--nw-accent);
  text-decoration: none;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, 0.9));
  transition: color 180ms ease, transform 180ms ease;
}

.countdown-hero .scroll-down-cue {
  color: #f4b8bd;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
  animation: countdown-hero-enter 0.75s ease 0.55s both;
}

.scroll-down-cue:hover {
  color: var(--nw-accent-hover);
  transform: scale(1.06);
}

.countdown-hero .scroll-down-cue:hover {
  color: #ffd4d8;
  filter: drop-shadow(0 0 10px rgba(255, 200, 205, 0.35));
}

.scroll-down-cue:focus-visible {
  outline: 2px solid var(--nw-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.scroll-down-cue__arrow {
  display: block;
  animation: scrollDownNudge 1.35s ease-in-out infinite;
}

@keyframes scrollDownNudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

.love-intro {
  position: fixed;
  inset: 0;
  background: #20171a;
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: clamp(1rem, 4vh, 2rem) 1rem clamp(0.5rem, 3.5vh, 2rem);
  overflow: hidden;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.love-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.love-intro-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(32, 23, 26, 0.25), rgba(32, 23, 26, 0.55)),
    url("/images/our-photo.jpg");
  background-size: cover;
  background-position: center;
  animation: introZoom 18s ease-in-out infinite alternate;
}

.intro-bottom-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(170px, 26vh, 250px);
  background: rgba(214, 219, 171, 0.46);
  backdrop-filter: blur(2px);
  z-index: 1;
  pointer-events: none;
}

.intro-bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -12%;
  width: clamp(12px, 2.8vw, 22px);
  height: clamp(12px, 2.8vw, 22px);
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.95),
    rgba(255, 245, 250, 0.45) 45%,
    rgba(255, 200, 210, 0.22) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.55),
    inset 0 0 8px rgba(255, 255, 255, 0.35);
  animation: bubbleUp linear infinite;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.bubble.b1 {
  left: 5%;
  animation-duration: 11s;
  animation-delay: 0s;
  animation-name: bubbleUp;
}
.bubble.b2 {
  left: 14%;
  width: clamp(10px, 2.2vw, 16px);
  height: clamp(10px, 2.2vw, 16px);
  animation-duration: 9s;
  animation-delay: 0.6s;
  animation-name: bubbleUpAlt;
}
.bubble.b3 {
  left: 22%;
  animation-duration: 13s;
  animation-delay: 1.8s;
}
.bubble.b4 {
  left: 31%;
  width: clamp(14px, 3vw, 24px);
  height: clamp(14px, 3vw, 24px);
  animation-duration: 10s;
  animation-delay: 0.4s;
  animation-name: bubbleUpAlt;
}
.bubble.b5 {
  left: 38%;
  animation-duration: 12s;
  animation-delay: 2.2s;
}
.bubble.b6 {
  left: 46%;
  width: clamp(11px, 2.4vw, 18px);
  height: clamp(11px, 2.4vw, 18px);
  animation-duration: 8.5s;
  animation-delay: 1s;
  animation-name: bubbleUpAlt;
}
.bubble.b7 {
  left: 54%;
  animation-duration: 14s;
  animation-delay: 0.2s;
}
.bubble.b8 {
  left: 61%;
  width: clamp(16px, 3.2vw, 26px);
  height: clamp(16px, 3.2vw, 26px);
  animation-duration: 11s;
  animation-delay: 1.4s;
}
.bubble.b9 {
  left: 68%;
  animation-duration: 9.5s;
  animation-delay: 2.8s;
  animation-name: bubbleUpAlt;
}
.bubble.b10 {
  left: 74%;
  width: clamp(10px, 2.2vw, 15px);
  height: clamp(10px, 2.2vw, 15px);
  animation-duration: 12s;
  animation-delay: 0.9s;
}
.bubble.b11 {
  left: 80%;
  animation-duration: 10s;
  animation-delay: 1.7s;
  animation-name: bubbleUpAlt;
}
.bubble.b12 {
  left: 86%;
  width: clamp(13px, 2.6vw, 20px);
  height: clamp(13px, 2.6vw, 20px);
  animation-duration: 13s;
  animation-delay: 0.15s;
}
.bubble.b13 {
  left: 92%;
  animation-duration: 9s;
  animation-delay: 2.4s;
}
.bubble.b14 {
  left: 11%;
  width: clamp(9px, 2vw, 14px);
  height: clamp(9px, 2vw, 14px);
  animation-duration: 14s;
  animation-delay: 3s;
  animation-name: bubbleUpAlt;
}
.bubble.b15 {
  left: 49%;
  animation-duration: 8s;
  animation-delay: 1.1s;
}
.bubble.b16 {
  left: 58%;
  width: clamp(15px, 3vw, 23px);
  height: clamp(15px, 3vw, 23px);
  animation-duration: 11.5s;
  animation-delay: 2s;
}
.bubble.b17 {
  left: 35%;
  animation-duration: 12.5s;
  animation-delay: 0.55s;
  animation-name: bubbleUpAlt;
}
.bubble.b18 {
  left: 97%;
  width: clamp(11px, 2.5vw, 17px);
  height: clamp(11px, 2.5vw, 17px);
  animation-duration: 10.5s;
  animation-delay: 1.85s;
}

.intro-heart-card {
  position: relative;
  z-index: 3;
  border: none;
  background: transparent;
  width: min(420px, 84vw);
  height: min(385px, 76vw);
  padding: 0;
  cursor: pointer;
  transition: transform 240ms ease;
}

.intro-heart-card-inner {
  position: relative;
  width: min(300px, 62vw);
  height: min(300px, 62vw);
  margin: 0 auto;
  top: clamp(24px, 5vh, 64px);
  background: #c33b46;
  transform: rotate(45deg);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-heart-card-inner::before,
.intro-heart-card-inner::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #c33b46;
  border-radius: 50%;
}

.intro-heart-card-inner::before {
  top: -50%;
  left: 0;
}

.intro-heart-card-inner::after {
  left: -50%;
  top: 0;
}

.intro-heart-card-content {
  position: relative;
  z-index: 1;
  width: min(250px, 62vw);
  margin-top: -20px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.1rem;
  padding: 1.2rem 0.8rem 1.8rem;
  transform: rotate(-45deg);
}

.intro-heart-card:hover {
  transform: scale(1.03);
}

.intro-heart-card h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
}

.intro-open-text {
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.heart-wrap {
  margin-bottom: 0.8rem;
}

.heart {
  font-size: 2.1rem;
  display: inline-block;
  animation: heartbeat 1200ms ease-in-out infinite;
}

@media (max-width: 768px) {
  .love-intro {
    padding-bottom: max(0.6rem, env(safe-area-inset-bottom));
  }

  .bubble {
    bottom: -8%;
    box-shadow:
      0 0 18px rgba(255, 255, 255, 0.65),
      inset 0 0 10px rgba(255, 255, 255, 0.4);
  }

  .intro-bottom-band {
    height: clamp(145px, 28vh, 220px);
  }

  .intro-heart-card {
    width: min(340px, 92vw);
    height: min(320px, 88vw);
  }

  .intro-heart-card-inner {
    width: min(250px, 68vw);
    height: min(250px, 68vw);
    top: clamp(8px, 2vh, 20px);
  }

  .intro-heart-card-content {
    width: min(210px, 62vw);
    margin-top: -14px;
    padding: 0.8rem 0.6rem 1.2rem;
  }

  .intro-heart-card h1 {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .intro-open-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .intro-bottom-band {
    height: clamp(125px, 30vh, 180px);
  }

  .intro-heart-card {
    width: min(300px, 94vw);
    height: min(290px, 90vw);
  }

  .intro-heart-card-inner {
    width: min(220px, 70vw);
    height: min(220px, 70vw);
  }

  .intro-heart-card-content {
    width: min(190px, 64vw);
    margin-top: -10px;
  }

  .heart {
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  .event-detail-label {
    font-size: 1rem;
  }

  .event-detail-value {
    font-size: 1rem;
  }

  .event-address-link {
    font-size: 1.7rem;
  }
}

@media (max-width: 575px) {
  .info-card-event {
    outline-width: 3px;
  }

  .event-detail-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.65rem 0;
  }

  .event-detail-label {
    font-size: 0.98rem;
  }

  .event-detail-value {
    font-size: 0.96rem;
  }

  .event-address-link {
    font-size: 1.45rem;
  }

  .event-address-icon {
    width: 18px;
    height: 18px;
  }

  .event-address-icon::before {
    width: 7px;
    height: 7px;
    top: 5px;
    left: 5px;
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-dark {
  background-color: var(--nw-accent);
  border-color: var(--nw-accent-hover);
}

.btn-dark:hover {
  background-color: var(--nw-accent-hover);
  border-color: #1a1918;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.15);
  }
  40% {
    transform: scale(0.97);
  }
  60% {
    transform: scale(1.1);
  }
}

@keyframes introZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

@keyframes bubbleUp {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  8% {
    opacity: 0.75;
  }
  45% {
    opacity: 1;
  }
  72% {
    opacity: 0.72;
  }
  100% {
    transform: translate3d(10px, -118vh, 0);
    opacity: 0;
  }
}

@keyframes bubbleUpAlt {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  12% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate3d(-18px, -118vh, 0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .reveal-on-scroll,
  .hero-image,
  .heart,
  .love-intro-bg,
  .bubble,
  .scroll-down-cue__arrow,
  .countdown-hero-head,
  .countdown-hero-title,
  .countdown-hero .countdown-item,
  .countdown-hero .scroll-down-cue {
    transition: none;
    animation: none;
  }

  .countdown-hero-title {
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.55),
      0 0 28px rgba(0, 0, 0, 0.35),
      0 0 1px rgba(0, 0, 0, 0.8);
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}