/* src/static/css/home.css */
/* src/static/css/home.css
   Loaded only on the landing page. Hero, countdown, flowers, scroll
   indicator, detail cards, schedule, RSVP CTA, registry, section-dot
   nav. */

/* --- Hero --- */
.hero {
  min-height: 94vh;
  min-height: calc(var(--vh, 1vh) * 94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 8rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    var(--bg) 0%,
    var(--surface-alt) 42%,
    var(--bg) 100%
  );
}

.hero::before {
  content: "";
  position: absolute;
  inset: 5rem 1.5rem 1.5rem;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--surface) 52%, transparent),
      transparent 48%
    ),
    linear-gradient(
      315deg,
      color-mix(in srgb, var(--accent) 7%, transparent),
      transparent 54%
    );
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(to bottom, transparent, var(--section-layer-1));
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  width: min(100%, 1020px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-copy {
  min-width: 0;
  justify-self: center;
}

.hero-announcement {
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.3;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  min-height: 1.3em;
  margin-bottom: 2.75rem;
}

.hero-names {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hero-name {
  display: block;
  color: var(--primary);
  font-size: clamp(2.45rem, 4.4vw, 3.85rem);
  line-height: 0.96;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-name:last-child {
  margin-left: 4.5rem;
}

.hero-and {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--primary);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-left: 8rem;
}

.hero-and::before,
.hero-and::after {
  content: "";
  width: 3.25rem;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 70%, transparent);
}

.hero-event {
  align-self: stretch;
  justify-self: center;
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 470px;
  margin: 0;
  padding: 2.2rem;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 88%, var(--section-layer-2)),
    color-mix(in srgb, var(--surface-alt) 82%, var(--bg))
  );
  box-shadow:
    0 28px 56px color-mix(in srgb, var(--primary-dark) 18%, transparent),
    inset 0 1px 0 var(--section-glow);
}

.hero-date {
  font-family: var(--font-heading);
  font-variant-numeric: lining-nums;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.hero-location {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.2;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.hero-rsvp {
  width: 100%;
  min-width: 0;
  text-align: center;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 16%, transparent);
}

/* --- Countdown --- */
.countdown {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0 0 2rem;
  padding: 0.85rem 0;
  border-block: 1px solid var(--border);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.countdown-value {
  font-family: var(--font-heading);
  font-variant-numeric: lining-nums tabular-nums;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
}

.countdown-label {
  max-width: 100%;
  overflow-wrap: normal;
  white-space: nowrap;
  font-size: 0.5rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
}

.countdown.is-past .countdown-value {
  color: var(--text-light);
}

/* --- Flower Corner Decorations --- */
.flower-corner {
  --flower-rotate: 0deg;
  --flower-opacity: 0.68;

  position: absolute;
  display: block;
  width: 390px;
  aspect-ratio: 1553 / 1070;
  z-index: 1;
  pointer-events: none;
  background: url("../img/flower-outline.png") center / contain no-repeat;
  opacity: var(--flower-opacity);
  filter: invert(8%) sepia(80%) saturate(3850%) hue-rotate(337deg)
    brightness(78%) contrast(108%);
  transform: rotate(var(--flower-rotate)) scale(1);
}

html.dark .flower-corner {
  filter: invert(80%) sepia(40%) saturate(530%) hue-rotate(2deg) brightness(92%)
    contrast(88%);
}

.flower-br {
  right: -8.5rem;
  bottom: 0.75rem;
}

.flower-tl {
  --flower-rotate: 180deg;

  top: 2.75rem;
  left: -9rem;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-lighter);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-indicator:hover {
  color: var(--primary);
}

.scroll-arrow {
  width: 1px;
  height: 38px;
  background: var(--accent);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    transform: translateY(24px);
  }
  to {
    transform: translateY(0);
  }
}

.hero-copy > *,
.hero-event > * {
  animation: revealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-copy > :nth-child(1) {
  animation-delay: 0.12s;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.28s;
}

.hero-event > :nth-child(1) {
  animation-delay: 0.5s;
}

.hero-event > :nth-child(2) {
  animation-delay: 0.58s;
}

.hero-event > :nth-child(3) {
  animation-delay: 0.66s;
}

.hero-event > :nth-child(4) {
  animation-delay: 0.74s;
}

/* --- Section Polish --- */
.section {
  position: relative;
  overflow: hidden;
  background: var(--section-layer-1);
  border-top: 1px solid var(--section-edge);
  box-shadow: inset 0 1px 0 var(--section-glow);
}

html.dark .section {
  border-top-color: rgba(221, 187, 107, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(221, 187, 107, 0.075),
    inset 0 24px 38px rgba(255, 255, 255, 0.006);
}

.section-inner {
  position: relative;
  z-index: 1;
}

.section:not(.rsvp-cta)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7rem;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--surface) 18%, transparent),
    transparent
  );
  pointer-events: none;
}

html.dark .section:not(.rsvp-cta)::before {
  height: 9rem;
  background: linear-gradient(
    to bottom,
    rgba(221, 187, 107, 0.018),
    rgba(255, 255, 255, 0.005) 42%,
    transparent
  );
}

#details {
  background: var(--section-layer-1);
}

#rsvp {
  background: var(--section-layer-2);
}

#travel {
  background: var(--section-layer-3);
}

#registry {
  background: var(--section-layer-2);
}

.section-eyebrow {
  color: var(--text-light);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.details-layout,
.travel-layout,
.registry-layout {
  max-width: 1060px;
  text-align: left;
}

.details-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 4.5rem;
}

.details-heading,
.travel-copy,
.registry-copy {
  min-width: 0;
}

.details-heading .section-divider,
.travel-copy .section-divider,
.registry-copy .section-divider,
.rsvp-cta .section-divider {
  justify-content: flex-start;
}

/* --- Detail Cards --- */
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.detail-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.detail-card-centered {
  max-width: 450px;
  margin: 3rem auto;
  text-align: center;
}

.detail-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.detail-time {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.detail-venue {
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.detail-address {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

.detail-note {
  font-family: var(--font-heading);
  color: var(--text-light);
  font-size: 1.1rem;
  font-style: italic;
  margin: 1rem 0;
}

.travel-airport {
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 92%, var(--section-layer-2)),
    color-mix(in srgb, var(--surface-alt) 78%, var(--section-layer-1))
  );
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 var(--section-glow);
}

html.dark .travel-airport,
html.dark .registry-card {
  border-color: rgba(221, 187, 107, 0.18);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(221, 187, 107, 0.025),
    inset 0 1px 0 rgba(221, 187, 107, 0.055);
}

.travel-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 4.5rem;
}

.travel-items {
  display: grid;
}

.travel-item {
  padding: 0 0 1.55rem;
}

.travel-item + .travel-item {
  padding-top: 1.55rem;
  border-top: 1px solid var(--border);
}

.travel-item:last-child {
  padding-bottom: 0;
}

.travel-item-label {
  color: var(--primary);
}

.travel-item-name {
  display: inline-block;
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.travel-item-name:hover {
  color: var(--primary);
}

.travel-item-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.travel-room-blocks {
  padding-top: 1.55rem;
  border-top: 1px solid var(--border);
}

.travel-room-blocks-note {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.55rem;
  padding-bottom: 1.55rem;
  border-bottom: 1px solid var(--border);
}

.travel-item-link {
  margin-top: 0.95rem;
  white-space: normal;
  line-height: 1.25;
}

/* --- Schedule --- */
.schedule {
  width: 100%;
  margin: 0;
  text-align: left;
}

.schedule-header {
  text-align: left;
  margin-bottom: 1.1rem;
}

.schedule h3 {
  font-size: 1.9rem;
  line-height: 1.2;
  color: var(--primary);
}

.schedule-items {
  width: 100%;
  padding: 0.35rem 0;
  border-block: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 42%, transparent);
  box-shadow: inset 0 1px 0 var(--section-glow);
}

html.dark .schedule-items {
  border-color: rgba(221, 187, 107, 0.14);
  background:
    linear-gradient(180deg, rgba(221, 187, 107, 0.014), rgba(0, 0, 0, 0.12)),
    rgba(70, 16, 28, 0.28);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(221, 187, 107, 0.12);
}

.schedule-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.35rem 1rem 1.35rem 1.2rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition:
    background 0.2s ease,
    padding-left 0.2s ease;
}

.schedule-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
  opacity: 0.65;
}

.schedule-item:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  padding-left: 1.5rem;
}

.schedule-item:last-child {
  border-bottom: 0;
}

.schedule-time {
  font-family: var(--font-heading);
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--accent-dark);
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.schedule-event {
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 1.1rem 0.85rem 1.1rem 1.1rem;
  }

  .schedule-item:hover {
    padding-left: 1.1rem;
  }

  .schedule-time {
    font-size: 0.88rem;
    letter-spacing: 0.12em;
  }

  .schedule-event {
    font-size: 1.25rem;
  }
}

/* --- RSVP CTA --- */
.rsvp-cta {
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 var(--section-glow),
    inset 0 -1px 0 color-mix(in srgb, var(--section-layer-3) 72%, transparent);
}

html.dark .rsvp-cta {
  border-block-color: rgba(221, 187, 107, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(221, 187, 107, 0.06),
    inset 0 34px 64px rgba(255, 255, 255, 0.006);
}

.rsvp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--surface) 30%, transparent),
    transparent
  );
  opacity: 0.45;
  pointer-events: none;
}

html.dark .rsvp-cta::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(221, 187, 107, 0.014),
    transparent
  );
  opacity: 1;
}

.rsvp-cta::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid var(--section-frame);
  pointer-events: none;
}

html.dark .rsvp-cta::after {
  border-color: rgba(221, 187, 107, 0.18);
  box-shadow: inset 0 0 42px rgba(221, 187, 107, 0.008);
}

.rsvp-cta .section-inner {
  max-width: 1000px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
  text-align: left;
}

.rsvp-cta-eyebrow {
  color: var(--text-light);
}

.rsvp-cta-title {
  color: var(--primary);
  font-size: 3.5rem;
  line-height: 1;
}

.rsvp-cta-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-light);
}

.rsvp-cta-action {
  text-align: right;
}

.rsvp-cta-action .btn {
  width: 100%;
  text-align: center;
}

.rsvp-deadline {
  font-family: var(--font-heading);
  font-variant-numeric: lining-nums;
  font-size: 1.05rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* --- Registry --- */
.registry-text {
  color: var(--text-light);
  max-width: 560px;
  margin: 0;
  font-size: 1rem;
}

.registry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 4rem;
}

.registry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: none;
  margin: 0;
}

.registry-card {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--surface) 92%, var(--section-layer-1)),
      color-mix(in srgb, var(--surface-alt) 72%, var(--section-layer-2))
    ),
    var(--surface);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 var(--section-glow);
  transition:
    border-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.registry-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-lift);
}

.registry-card:nth-child(2) {
  transform: translateY(1.25rem);
}

.registry-card:nth-child(2):hover {
  transform: translateY(0.9rem);
}

.registry-name {
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--primary);
}

/* --- Section Dot Nav --- */
.section-dots {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  padding: 0 0.75rem 0 2.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.section-dots.visible {
  opacity: 1;
  pointer-events: auto;
}

.section-dots .dot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  text-decoration: none;
}

.section-dots .dot::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.25;
  flex-shrink: 0;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.section-dots .dot.active::after {
  opacity: 1;
  transform: scale(1.4);
}

.section-dots .dot-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-lighter);
  white-space: nowrap;
  transition: color 0.3s;
}

.section-dots .dot.active .dot-label {
  color: var(--primary);
  font-weight: 400;
}

.section-dots.on-dark .dot::after {
  background: var(--dot-on-dark);
}

.section-dots.on-dark .dot-label {
  color: var(--dot-on-dark-label);
}

.section-dots.on-dark .dot.active .dot-label {
  color: var(--dot-on-dark-label-active);
}

/* --- Responsive (home) --- */
@media (max-width: 1040px) {
  .hero {
    text-align: center;
  }

  .flower-corner {
    --flower-opacity: 0.5;

    width: 300px;
  }

  .flower-tl {
    display: none;
  }

  .flower-br {
    right: -4rem;
    bottom: 9rem;
  }

  .hero-content {
    width: min(100%, 760px);
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-name:last-child,
  .hero-and {
    margin-left: 0;
  }

  .hero-and {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 0;
    justify-content: flex-start;
    padding: 6rem 0.95rem 4rem;
    text-align: center;
  }

  .hero::before {
    inset: 5rem 0.75rem 0.75rem;
  }

  .hero-content {
    display: block;
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
  }

  .hero-announcement {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    margin-bottom: 1.35rem;
  }

  .hero-names {
    gap: 0.4rem;
    margin-bottom: 1.3rem;
  }

  .hero-name {
    font-size: 1.85rem;
    letter-spacing: 0.07em;
    line-height: 1.08;
  }

  .hero-name:last-child {
    margin-left: 0;
  }

  .hero-and {
    justify-content: center;
    font-size: 1.08rem;
    margin-left: 0;
  }

  .hero-and::before,
  .hero-and::after {
    width: 2.25rem;
  }

  .hero-event {
    min-height: 0;
    width: 100%;
    max-width: 320px;
    margin: 1.75rem auto 0;
    padding: 1.35rem 0;
    border: 0;
    text-align: center;
  }

  .hero-rsvp {
    display: block;
    width: min(100%, 260px);
    margin: 0 auto;
  }

  .hero-date {
    font-size: 1rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.3rem;
  }

  .hero-location {
    font-size: 1rem;
    margin-bottom: 1.1rem;
  }

  .countdown {
    width: min(100%, 300px);
    gap: 0.25rem;
    margin: 0 auto 1.35rem;
    padding: 0;
    border-block: 0;
  }

  .countdown-unit {
    gap: 0.25rem;
  }

  .countdown-value {
    font-size: 1.28rem;
  }

  .countdown-label {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

  .scroll-indicator {
    display: none;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .details-layout,
  .travel-layout,
  .registry-layout,
  .rsvp-cta .section-inner {
    display: block;
    max-width: 560px;
    text-align: center;
  }

  .details-heading .section-divider,
  .travel-copy .section-divider,
  .registry-copy .section-divider,
  .rsvp-cta .section-divider {
    justify-content: center;
  }

  .schedule {
    margin-top: 2.25rem;
    text-align: left;
  }

  .schedule-header {
    text-align: center;
  }

  .flower-corner {
    --flower-opacity: 0.72;

    display: block;
    width: 210px;
  }

  .flower-tl {
    display: block;
    top: 5.15rem;
    left: -7rem;
  }

  .flower-br {
    right: -5.5rem;
    bottom: 0.75rem;
  }

  .rsvp-cta::after {
    inset: 0.75rem;
  }

  .rsvp-cta-title {
    font-size: 2.6rem;
  }

  .rsvp-cta-text {
    font-size: 1.25rem;
  }

  .rsvp-cta-action {
    max-width: 300px;
    margin: 2rem auto 0;
    text-align: center;
  }

  .rsvp-deadline {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }

  .travel-airport {
    margin-top: 2.25rem;
    padding: 1.75rem 1.25rem;
    text-align: center;
  }

  .registry-grid {
    margin-top: 2.25rem;
  }

  .registry-grid {
    grid-template-columns: 1fr;
  }

  .registry-card {
    min-height: 6.5rem;
  }

  .registry-card:nth-child(2),
  .registry-card:nth-child(2):hover {
    transform: none;
  }

  .section-dots {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .hero-announcement {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .flower-corner {
    width: 178px;
  }

  .flower-tl {
    left: -6rem;
  }

  .flower-br {
    right: -4.75rem;
    bottom: 0.75rem;
  }

  .hero-name {
    font-size: 1.44rem;
    letter-spacing: 0.045em;
  }

  .hero-event {
    width: 100%;
  }

  .countdown-value {
    font-size: 1.12rem;
  }

  .countdown-label {
    font-size: 0.46rem;
  }
}
