/* Save the Date — mobile-first */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #1a1510;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  max-width: 100%;
  position: relative;
}

/* Intro screen — true fullscreen, then fade to main */
#intro-screen {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  z-index: 10000;
  background: #000;
  overflow: hidden;
  transition: opacity 0.6s ease;
}

#intro-screen.intro-hidden {
  opacity: 0;
  pointer-events: none;
}

.intro-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Cover over video hides native play button until user taps Tap to Start */
.intro-video-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.intro-video-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hide native video play button / controls */
#intro-video::-webkit-media-controls-start-playback-button,
#intro-video::-webkit-media-controls-play-button,
#intro-video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
#intro-video::-webkit-media-controls,
#intro-video::-webkit-media-controls-panel,
#intro-video::-webkit-media-controls-enclosure {
  display: none !important;
}

.intro-white-fade {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.intro-white-fade.is-visible {
  opacity: 1;
}

.intro-skip {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: clamp(0.75rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
  padding-top: max(clamp(0.75rem, 3vw, 1rem), env(safe-area-inset-top));
  padding-right: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-right));
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
}

.intro-skip:hover,
.intro-skip:focus {
  opacity: 1;
  color: #fff;
  outline: none;
}

.intro-tap-to-start {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(1.5rem, 5vw, 3rem);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  background: #000;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  opacity: 1;
  transition: opacity 0.5s ease;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 255, 255, 0.5),
    0 0 40px rgba(255, 255, 255, 0.3),
    0 0 60px rgba(255, 255, 255, 0.2);
  animation: tap-to-start-glow 2.5s ease-in-out infinite;
}

.intro-tap-to-start.is-fading {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.intro-tap-to-start:hover,
.intro-tap-to-start:focus {
  color: #fff;
  outline: none;
}

@keyframes tap-to-start-glow {
  0%, 100% {
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.8),
      0 0 20px rgba(255, 255, 255, 0.5),
      0 0 40px rgba(255, 255, 255, 0.3),
      0 0 60px rgba(255, 255, 255, 0.2);
  }
  50% {
    text-shadow:
      0 0 12px rgba(255, 255, 255, 0.95),
      0 0 28px rgba(255, 255, 255, 0.6),
      0 0 50px rgba(255, 255, 255, 0.4),
      0 0 80px rgba(255, 255, 255, 0.25);
  }
}

body.intro-active #main-content {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

#main-content {
  opacity: 0;
  transition: opacity 0.8s ease;
}

#main-content.main-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.intro-active .sound-toggle {
  visibility: hidden;
  pointer-events: none;
}

/* Sound toggle — speaker icon, top of screen, same style */
.sound-toggle {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  margin: 0;
  padding: clamp(0.75rem, 3vw, 1rem) clamp(1rem, 4vw, 1.5rem);
  padding-top: max(clamp(0.75rem, 3vw, 1rem), env(safe-area-inset-top));
  padding-right: max(clamp(1rem, 4vw, 1.5rem), env(safe-area-inset-right));
  color: #fff;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.sound-toggle:hover,
.sound-toggle:focus {
  opacity: 0.9;
  color: #fff;
  outline: none;
}

.sound-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

/* Only one icon visible: muted = X, unmuted = speaker */
.sound-toggle .sound-icon {
  display: none;
  align-items: center;
  justify-content: center;
}

.sound-toggle.is-muted .sound-icon-muted {
  display: inline-flex;
}

.sound-toggle:not(.is-muted) .sound-icon-unmuted {
  display: inline-flex;
}

.sound-icon svg {
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

/* Single continuous background — no seam between hero and RSVP */
.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('background.jpeg') center center no-repeat;
  background-size: cover;
  z-index: -1;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  overflow: hidden;
  flex-shrink: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 1;
}

.stack {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  /* Opacity-only animation avoids transform; Safari composites transformed elements and blurs text */
  animation: fadeIn 1s ease-out both;
}

/* Scroll prompt fixed at bottom of hero — doesn’t affect main content centering */
.scroll-prompt {
  position: absolute;
  bottom: clamp(1.25rem, 4vw, 2rem);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: #fff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(0.8rem, 2.8vw, 0.95rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
  z-index: 3;
}

.scroll-prompt:hover,
.scroll-prompt:focus {
  opacity: 0.9;
  color: #fff;
}

.scroll-prompt:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
}

.scroll-prompt-icon {
  font-size: 1.6em;
  opacity: 0.95;
  animation: scrollArrowDown 1.8s ease-in-out infinite;
}

@keyframes scrollArrowDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Top block */
.top {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  width: 100%;
}

.label,
.names,
.venue {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(0.65rem, 2.2vw, 0.85rem);
  line-height: 1.5;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 255, 255, 0.12);
  color: #fff;
  user-select: text;
}

.label {
  margin-bottom: 0.35em;
}

.names {
  letter-spacing: 0.28em;
}

/* Date block with dividers */
.date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.5vw, 1.35rem);
  width: 100%;
}

.divider-line {
  display: block;
  width: 1px;
  height: clamp(1.2rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
}

.date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.05em;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 255, 255, 0.15);
  user-select: text;
  width: 100%;
  text-align: center;
}

.day,
.year {
  font-size: clamp(3.5rem, 14vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.month {
  font-size: clamp(1.25rem, 5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: 0.08em;
  font-weight: 400;
  text-transform: uppercase;
}

/* Bottom block */
.bottom {
  margin-top: clamp(2rem, 5vw, 3.25rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 3.5vw, 1.75rem);
  width: 100%;
}

.venue {
  letter-spacing: 0.32em;
}

/* Add to Calendar button */
.add-to-calendar {
  display: inline-block;
  padding: 0.5em 1.25em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(0.7rem, 2vw, 0.8rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.add-to-calendar:hover,
.add-to-calendar:focus {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.add-to-calendar:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

/* Countdown */
.countdown {
  margin: 0;
  margin-top: clamp(0.5rem, 1.5vw, 0.75rem);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
  color: #fff;
  user-select: text;
}

/* Responsive: tablet and up */
@media (min-width: 768px) {
  .stack {
    padding: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-overlay {
    background: rgba(0, 0, 0, 0.4);
  }
}

/* RSVP section — same style as hero */
.rsvp-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.rsvp-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 1;
}

.rsvp-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.5vw, 1.35rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  width: 100%;
  max-width: 100%;
}

.rsvp-stack .divider-line {
  margin: 0;
}

.rsvp-card {
  width: min(92vw, 26rem);
  padding: clamp(1.25rem, 5vw, 2rem);
  border-radius: 18px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.rsvp-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 10vw, 5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 255, 255, 0.15);
}

.rsvp-deadline {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(0.6rem, 2vw, 0.75rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.rsvp-form-wrap {
  margin-top: clamp(0.5rem, 2vw, 1rem);
  transition: opacity 0.45s ease-out;
}

.rsvp-form-wrap.is-fading-out {
  opacity: 0;
  pointer-events: none;
}

.rsvp-thanks,
.rsvp-error {
  margin-top: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.rsvp-thanks.is-visible {
  opacity: 1;
}

.rsvp-thanks-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  letter-spacing: 0.06em;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 24px rgba(255, 255, 255, 0.12);
}

.rsvp-thanks-text {
  margin: 0.75rem 0 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.rsvp-thanks-see-you {
  margin: 1rem 0 0;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.rsvp-thanks-registry {
  margin: 0.75rem 0 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: clamp(0.75rem, 2.2vw, 0.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.rsvp-error-text {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  color: rgba(255, 255, 255, 0.95);
}

/* RSVP form — same theme */
.rsvp-form {
  width: 100%;
  max-width: 22rem;
  margin-top: clamp(0.5rem, 2vw, 1rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.form-label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}

.form-label-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.65rem, 2.1vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08);
}

.form-optional {
  font-style: normal;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.15em;
}

.form-input {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 0.5em 0 0.6em;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:hover {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  outline: none;
  border-bottom-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.75);
}

.form-textarea {
  resize: vertical;
  min-height: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.form-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-legend {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.65rem, 2.1vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08);
  margin-bottom: 0.2rem;
}

.form-radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(0.88rem, 2.4vw, 1rem);
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-radio-label:hover {
  border-color: rgba(255,255,255,.18);
  background: rgba(0,0,0,.24);
}

/* Editorial radio — transparent, thin border, matches inputs */
.form-radio-label input {
  -webkit-appearance: none;
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.form-radio-label input:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.form-radio-label input:checked {
  border-color: rgba(255, 255, 255, 0.75);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.95) 0, rgba(255, 255, 255, 0.95) 35%, transparent 40%);
}

.form-radio-label input:focus {
  outline: none;
}

.form-radio-label input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.form-submit {
  margin-top: clamp(0.75rem, 2.5vw, 1.25rem);
  padding: 0.6em 0 0.7em;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.form-submit:hover,
.form-submit:focus {
  border-bottom-color: rgba(255, 255, 255, 0.9);
  color: #fff;
  opacity: 1;
  outline: none;
}

.form-submit:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 4px;
}

/* Wedding registry link — below form */
.registry-cta {
  margin: 0;
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(1.5rem, 4vw, 2rem);
}

.registry-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.65rem, 2.1vw, 0.78rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4em 0 0.35em;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.registry-link:hover,
.registry-link:focus {
  border-bottom-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  outline: none;
}

.registry-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

/* Registry page — same treatment as RSVP: glass card + scroll prompt */
.registry-main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.registry-page .hero-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
}

.registry-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1.5rem, 5vw, 3rem);
}

.registry-card {
  width: min(92vw, 26rem);
  padding: clamp(1.25rem, 5vw, 2rem);
  border-radius: 18px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.registry-card .divider-line {
  margin: 0;
}

.registry-page .registry-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 10vw, 4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 32px rgba(255, 255, 255, 0.15);
}

.registry-page .registry-link {
  margin-top: 0.25rem;
}

/* Back prompt at bottom — same style as RSVP scroll prompt */
.registry-page .scroll-prompt {
  position: absolute;
  bottom: clamp(1.25rem, 4vw, 2rem);
  left: 0;
  right: 0;
}
