/* ==========================================================================
   AMOTH & SAYURI — WEDDING INVITATION
   Strict Design System:
   - Olive: #66724D
   - Deep Olive: #3F4931
   - Ivory: #FAF8F1
   - White: #FFFFFF
   Fonts:
   - Montserrat
   - Great Vibes
   ========================================================================== */

:root {
  --olive: #66724d;
  --deep-olive: #3f4931;
  --ivory: #faf8f1;
  --white: #fff;
  --olive-rgb: 102, 114, 77;
  --font-body: "Montserrat", sans-serif;
  --font-script: "Great Vibes", cursive;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ivory);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ivory);
  color: var(--deep-olive);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  font-weight: 400;
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button, a {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--deep-olive);
  outline-offset: 4px;
}

/* ==========================================================================
   CINEMATIC 3D ENTRANCE OVERLAY & PRELOADER
   ========================================================================== */
.intro-overlay {
  z-index: 100;
  background: var(--ivory);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.intro-overlay.intro-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader {
  background: radial-gradient(circle at 50% 40%, var(--white) 0%, rgba(250, 248, 241, 0.95) 60%), var(--ivory);
  place-content: center;
  justify-items: center;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  z-index: 110;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.welcome-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--olive-rgb), 0.25);
  border-radius: 24px;
  padding: clamp(36px, 8vw, 56px) clamp(28px, 6vw, 48px);
  text-align: center;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(63, 73, 49, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: welcomeFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes welcomeFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.botanical-crest {
  opacity: 0.85;
  margin-bottom: 8px;
}

.welcome-eyebrow {
  color: var(--olive);
  letter-spacing: .25em;
  text-transform: uppercase;
  font-size: .65rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.preloader-monogram {
  color: var(--deep-olive);
  font-family: var(--font-script);
  letter-spacing: .02em;
  font-size: clamp(2.8rem, 8vw, 4.2rem);
  line-height: 1.1;
}

.preloader-monogram span {
  color: var(--olive);
  font-size: .75em;
}

.welcome-divider {
  width: 45px;
  height: 1px;
  background: rgba(var(--olive-rgb), 0.35);
  margin: 16px auto;
}

.welcome-tagline {
  color: rgba(63, 73, 49, 0.75);
  font-size: clamp(0.78rem, 2vw, 0.88rem);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 26px;
}

.open-invitation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--deep-olive);
  color: var(--ivory);
  border: 1px solid var(--deep-olive);
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(63, 73, 49, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.open-invitation-btn svg {
  width: 16px;
  height: 16px;
  color: #E8E0D0;
  transition: transform 0.3s ease;
}

.open-invitation-btn:hover {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(63, 73, 49, 0.25);
}

.open-invitation-btn:hover svg {
  transform: rotate(15deg) scale(1.15);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 3D WebGL Canvas */
.cinematic-scene {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: 105;
}

.cinematic-scene canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  animation: 1.4s forwards scene-in;
}

@keyframes scene-in {
  to { opacity: 1; }
}

.intro-whisper {
  z-index: 108;
  left: 50%;
  bottom: max(29px, env(safe-area-inset-bottom));
  color: var(--deep-olive);
  font-family: var(--font-script);
  white-space: nowrap;
  text-shadow: 0 1px 14px var(--white);
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 1.8rem);
  animation: 1.8s .7s both whisper-in;
  position: absolute;
  transform: translate(-50%);
  pointer-events: none;
}

@keyframes whisper-in {
  0% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: .9;
    transform: translate(-50%);
  }
}

.skip-intro, .replay-intro {
  z-index: 120;
  border: 1px solid rgba(var(--olive-rgb), .42);
  color: var(--deep-olive);
  letter-spacing: .15em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  background: #faf8f1c7;
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 600;
  transition: background .24s, color .24s, transform .24s;
}

.skip-intro {
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  padding: 11px 17px;
  position: absolute;
}

.replay-intro {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  padding: 11px 16px;
  position: fixed;
  box-shadow: 0 12px 35px rgba(63, 73, 49, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.replay-intro.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.skip-intro:hover, .replay-intro:hover {
  color: var(--white);
  background: var(--deep-olive);
  transform: translateY(-2px);
}

/* ==========================================================================
   AMBIENT AUDIO CONTROL
   ========================================================================== */
.ambient-audio-control {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  z-index: 120;
}

.audio-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #faf8f1c7;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--olive-rgb), .42);
  color: var(--deep-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(63, 73, 49, 0.08);
}

.audio-btn svg {
  width: 17px;
  height: 17px;
}

.audio-btn:hover {
  background: var(--deep-olive);
  color: var(--white);
  transform: scale(1.05);
}

.audio-btn.playing .audio-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--olive);
  animation: pulseAudio 2s infinite ease-out;
}

@keyframes pulseAudio {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   INVITATION PAGE
   ========================================================================== */
.invitation-page {
  background: linear-gradient(90deg, rgba(var(--olive-rgb), .025) 1px, transparent 1px),
              linear-gradient(rgba(var(--olive-rgb), .025) 1px, transparent 1px),
              var(--ivory);
  background-size: 38px 38px;
  min-height: 100vh;
  position: relative;
  overflow: clip;
}

/* Delicate Ambient December Snowfall */
.ambient-snow-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

.page-cloud {
  background: var(--white);
  filter: blur(45px);
  opacity: .72;
  pointer-events: none;
  border-radius: 50%;
  width: 480px;
  height: 260px;
  position: absolute;
}

.page-cloud-left {
  top: 10vh;
  left: -250px;
}

.page-cloud-right {
  top: 60vh;
  right: -260px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  place-items: center;
  min-height: 100svh;
  padding: 82px 22px 60px;
  display: grid;
  position: relative;
}

.hero-content {
  z-index: 2;
  text-align: center;
  width: min(100%, 770px);
  position: relative;
}

.hero-arch {
  border: 1px solid rgba(var(--olive-rgb), .34);
  border-bottom: 0;
  border-radius: 50% 50% 0 0/38% 38% 0 0;
  width: min(82vw, 620px);
  height: 78%;
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translate(-50%);
}

.hero-arch:before, .hero-arch:after {
  content: "";
  background: rgba(var(--olive-rgb), .55);
  width: 42px;
  height: 1px;
  position: absolute;
  bottom: 0;
}

.hero-arch:before { left: -21px; }
.hero-arch:after { right: -21px; }

.arch-leaf {
  border: 1px solid var(--olive);
  background: rgba(var(--olive-rgb), .08);
  border-radius: 100% 0;
  width: 27px;
  height: 12px;
  position: absolute;
}

.arch-leaf-one {
  top: 24%;
  left: -10px;
  transform: rotate(28deg);
}

.arch-leaf-two {
  top: 37%;
  left: -19px;
  transform: rotate(62deg);
}

.arch-leaf-three {
  top: 24%;
  right: -10px;
  transform: scaleX(-1) rotate(28deg);
}

.arch-leaf-four {
  top: 37%;
  right: -19px;
  transform: scaleX(-1) rotate(62deg);
}

.eyebrow {
  color: var(--olive);
  letter-spacing: .29em;
  text-transform: uppercase;
  margin: 0 0 20px;
  font-size: clamp(.62rem, 1.5vw, .74rem);
  font-weight: 600;
  line-height: 1.6;
}

.parents-line {
  color: var(--deep-olive);
  letter-spacing: .04em;
  justify-content: center;
  align-items: center;
  gap: 13px;
  font-size: clamp(.78rem, 2vw, .92rem);
  display: flex;
}

.parents-line i {
  color: var(--olive);
  font-family: var(--font-script);
  font-size: 1.55rem;
  font-style: normal;
}

.invitation-copy {
  color: rgba(63, 73, 49, 0.72);
  max-width: 540px;
  margin: 20px auto 32px;
  font-size: clamp(.76rem, 1.8vw, .9rem);
  font-weight: 300;
  line-height: 1.9;
}

.couple-names {
  color: var(--deep-olive);
  font-family: var(--font-script);
  letter-spacing: -.02em;
  text-shadow: 0 16px 45px rgba(63, 73, 49, 0.08);
  flex-direction: column;
  align-items: center;
  margin: 0 0 18px;
  font-size: clamp(5.1rem, 17vw, 9.2rem);
  font-weight: 400;
  line-height: .66;
  animation: 6s ease-in-out infinite names-float;
  display: flex;
}

.couple-names b {
  color: var(--olive);
  font-family: var(--font-body);
  letter-spacing: .04em;
  margin: .18em 0 .03em;
  font-size: .19em;
  font-weight: 300;
}

@keyframes names-float {
  50% { transform: translateY(-4px); }
}

.save-date {
  border-top: 1px solid rgba(var(--olive-rgb), .38);
  border-bottom: 1px solid rgba(var(--olive-rgb), .38);
  align-items: center;
  gap: 18px;
  margin-top: 32px;
  padding: 13px 23px;
  display: inline-flex;
}

.save-date span {
  color: var(--olive);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .62rem;
  font-weight: 600;
}

.save-date strong {
  letter-spacing: .08em;
  font-size: clamp(.72rem, 2vw, .88rem);
  font-weight: 500;
}

/* Countdown container */
.countdown-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: var(--white);
  border: 1px solid rgba(var(--olive-rgb), 0.25);
  padding: 0.8rem 1.4rem;
  border-radius: 16px;
  margin-top: 1.5rem;
  box-shadow: 0 4px 15px rgba(63, 73, 49, 0.05);
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 42px;
}

.countdown-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-olive);
  line-height: 1.1;
}

.countdown-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--olive);
  font-weight: 600;
}

.countdown-sep {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--olive);
  margin-top: -6px;
}

.discover-link {
  width: max-content;
  color: var(--olive);
  letter-spacing: .17em;
  text-transform: uppercase;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 38px auto 0;
  font-size: .58rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  transition: transform 0.2s ease;
}

.discover-link:hover {
  transform: translateY(2px);
}

.discover-link span {
  font-size: 1rem;
  animation: 1.8s ease-in-out infinite scroll-cue;
}

@keyframes scroll-cue {
  50% { transform: translateY(5px); }
}

/* ==========================================================================
   CELEBRATION SECTION
   ========================================================================== */
.celebration-section {
  background: var(--deep-olive);
  color: var(--ivory);
  padding: clamp(90px, 12vw, 150px) 22px;
  position: relative;
}

.celebration-section:before, .celebration-section:after {
  content: "";
  pointer-events: none;
  width: 100%;
  height: 70px;
  position: absolute;
  left: 0;
}

.celebration-section:before {
  background: linear-gradient(rgba(250, 248, 241, 0.14), transparent);
  top: 0;
}

.celebration-section:after {
  background: linear-gradient(transparent, rgba(250, 248, 241, 0.07));
  bottom: 0;
}

.section-heading {
  text-align: center;
  width: min(100%, 760px);
  margin: 0 auto 56px;
}

.celebration-section .eyebrow {
  color: rgba(250, 248, 241, 0.66);
}

.section-heading h2 {
  font-family: var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.3;
}

.decorative-rule {
  background: rgba(250, 248, 241, 0.48);
  width: 60px;
  height: 2px;
  margin: 20px auto 0;
  display: block;
}

.venue-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
}

.venue-card {
  background: rgba(250, 248, 241, 0.04);
  border: 1px solid rgba(250, 248, 241, 0.25);
  border-radius: 2px 72px 2px 2px;
  min-height: 440px;
  padding: clamp(32px, 5vw, 52px);
  transition: transform .35s, background .35s;
  position: relative;
  overflow: hidden;
}

.venue-card:nth-child(2) {
  border-radius: 72px 2px 2px;
}

.venue-card:hover {
  background: rgba(250, 248, 241, 0.09);
  transform: translateY(-5px);
}

.card-number {
  color: rgba(250, 248, 241, 0.08);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1;
  position: absolute;
  top: 18px;
  right: 24px;
}

.venue-card > p {
  color: rgba(250, 248, 241, 0.64);
  letter-spacing: .23em;
  text-transform: uppercase;
  margin: 22px 0 32px;
  font-size: .66rem;
  font-weight: 600;
}

.venue-card time {
  letter-spacing: .08em;
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 600;
  color: var(--ivory);
  display: block;
}

.venue-card h3 {
  max-width: 390px;
  font-family: var(--font-body);
  letter-spacing: .03em;
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  line-height: 1.3;
}

.venue-hall {
  color: var(--ivory);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .08em;
  margin-bottom: 2px;
  display: block;
}

.venue-place {
  color: rgba(250, 248, 241, 0.75);
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 500;
  display: block;
}

.venue-card a {
  color: var(--ivory);
  letter-spacing: .15em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(250, 248, 241, 0.5);
  align-items: center;
  gap: 12px;
  padding-bottom: 8px;
  font-size: .62rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  position: absolute;
  bottom: 42px;
  left: clamp(32px, 5vw, 52px);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.venue-card a:hover {
  border-color: var(--white);
  opacity: 0.9;
}

/* ==========================================================================
   PHOTO ALBUM COLLAGE SECTION
   ========================================================================== */
.gallery-section {
  padding: clamp(70px, 10vw, 120px) 22px;
  background: var(--ivory);
  position: relative;
}

.gallery-section .section-heading h2 {
  color: var(--deep-olive);
}

.gallery-section .decorative-rule {
  background: rgba(var(--olive-rgb), 0.4);
}

.collage-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: clamp(16px, 3vw, 28px);
  width: min(100%, 1040px);
  margin: 0 auto;
}

.collage-item {
  position: relative;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.3s ease;
}

.collage-item:hover {
  transform: translateY(-8px) scale(1.02) !important;
  z-index: 10;
}

/* Creative asymmetric masonry collage positioning */
.collage-item-1 {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
  transform: rotate(-1.5deg);
}

.collage-item-2 {
  grid-column: 8 / span 5;
  grid-row: 1 / span 1;
  transform: rotate(2deg);
}

.collage-item-3 {
  grid-column: 8 / span 5;
  grid-row: 2 / span 2;
  transform: rotate(-1deg);
}

.collage-item-4 {
  grid-column: 2 / span 6;
  grid-row: 3 / span 1;
  transform: rotate(1.8deg);
}

.collage-frame {
  background: var(--white);
  padding: 12px 12px 28px 12px;
  border-radius: 12px;
  border: 1px solid rgba(var(--olive-rgb), 0.18);
  box-shadow: 0 15px 35px rgba(63, 73, 49, 0.1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.collage-img {
  width: 100%;
  height: clamp(200px, 32vw, 340px);
  object-fit: cover;
  object-position: center 20%; /* Prioritizes faces */
  border-radius: 6px;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

/* Specific 4:3 Aspect Ratio for Cherished Love (Collage Item 1) */
.collage-item-1 .collage-img {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 240px;
}

.collage-item:hover .collage-img {
  transform: scale(1.04);
}

.collage-overlay {
  margin-top: 10px;
  text-align: center;
}

.collage-caption {
  font-family: var(--font-script);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  color: var(--deep-olive);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RSVP SECTION
   ========================================================================== */
.rsvp-section {
  background: var(--ivory);
  padding: clamp(90px, 13vw, 160px) 22px;
}

.rsvp-panel {
  border: 1px solid rgba(var(--olive-rgb), .3);
  background: radial-gradient(circle at 8% 8%, rgba(var(--olive-rgb), .11), transparent 28%), var(--white);
  border-radius: 100px 2px;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: clamp(34px, 7vw, 80px);
  display: grid;
  box-shadow: 0 30px 90px rgba(63, 73, 49, 0.08);
}

.rsvp-copy h2 {
  color: var(--deep-olive);
  font-family: var(--font-body);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.rsvp-copy > p:last-child {
  color: rgba(63, 73, 49, 0.75);
  margin: 0;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.8;
}

.contact-list {
  gap: 14px;
  display: grid;
}

.contact-card {
  border: 1px solid rgba(var(--olive-rgb), .21);
  background: var(--ivory);
  padding: 22px;
  border-radius: 4px;
}

.contact-card strong {
  letter-spacing: .08em;
  margin-bottom: 17px;
  font-size: clamp(1rem, 3vw, 1.22rem);
  font-weight: 500;
  display: block;
}

.contact-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  display: grid;
}

.contact-actions a {
  border: 1px solid var(--olive);
  min-height: 44px;
  color: var(--olive);
  letter-spacing: .14em;
  text-transform: uppercase;
  place-items: center;
  font-size: .6rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .22s, color .22s;
  display: grid;
}

.contact-actions a:last-child, .contact-actions a:hover {
  color: var(--white);
  background: var(--olive);
}

.contact-actions a:last-child:hover {
  background: var(--deep-olive);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.invitation-footer {
  color: var(--ivory);
  background: var(--olive);
  text-align: center;
  padding: 70px 22px 90px;
}

.invitation-footer p {
  letter-spacing: .19em;
  text-transform: uppercase;
  margin: 0;
  font-size: .62rem;
  font-weight: 500;
}

.invitation-footer h2 {
  font-family: var(--font-script);
  margin: 18px 0 28px;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 400;
  line-height: 1;
}

.invitation-footer h2 span {
  font-family: var(--font-body);
  font-size: .22em;
  font-weight: 300;
}

.invitation-footer a {
  letter-spacing: .15em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(250, 248, 241, 0.5);
  padding-bottom: 7px;
  font-size: .58rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s ease;
}

.invitation-footer a:hover {
  border-color: var(--white);
}

/* ==========================================================================
   SCROLL REVEAL UTILITIES
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transition: opacity .9s var(--delay, 0s) ease, transform .9s var(--delay, 0s) cubic-bezier(.22, 1, .36, 1);
  transform: translateY(26px);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 760px) {
  .hero-section {
    min-height: 100svh;
    padding-top: 96px;
  }

  .hero-arch {
    width: min(86vw, 460px);
    height: 82%;
    top: 7%;
  }

  .parents-line {
    flex-direction: column;
    gap: 2px;
  }

  .parents-line i {
    line-height: .9;
  }

  .invitation-copy {
    max-width: 330px;
  }

  .couple-names {
    line-height: .7;
  }

  .save-date {
    flex-direction: column;
    gap: 7px;
    width: min(100%, 300px);
  }

  .collage-container {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .collage-item-1, .collage-item-2, .collage-item-3, .collage-item-4 {
    grid-column: span 1;
    grid-row: auto;
    transform: none !important;
  }

  .collage-item-1 {
    grid-column: 1 / span 2;
  }

  .collage-img {
    height: 220px;
  }

  .venue-grid, .rsvp-panel {
    grid-template-columns: 1fr;
  }

  .venue-card, .venue-card:nth-child(2) {
    border-radius: 2px 54px 2px 2px;
    min-height: 390px;
  }

  .rsvp-panel {
    border-radius: 60px 2px;
    gap: 34px;
  }

  .intro-whisper {
    white-space: normal;
    text-align: center;
    max-width: 75vw;
    bottom: 72px;
  }
}

@media (max-width: 390px) {
  .hero-section, .celebration-section, .rsvp-section {
    padding-left: 17px;
    padding-right: 17px;
  }

  .couple-names {
    font-size: 4.5rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
