/* ========================================
   Ellen & Alex — Wedding Website
   Refined & Elevated Edition
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffe2e2;
  --bg-warm: #ffd6d6;
  --bg-soft: #fff0f0;
  --text-primary: #5b5b5b;
  --text-accent: #a34641;
  --text-accent-dark: #8a3936;
  --white: #ffffff;
  --cream: #fff8f6;
  --border-light: rgba(91, 91, 91, 0.08);
  --border-mid: rgba(91, 91, 91, 0.12);
  --border-form: rgba(91, 91, 91, 0.25);
  --glass: rgba(255, 226, 226, 0.6);
  --glass-strong: rgba(255, 226, 226, 0.92);
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain texture overlay for atmosphere */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--text-accent-dark);
  text-decoration: underline;
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* --- Hero Entrance Animations --- */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes heroPhotoReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* --- Lemon Float --- */
@keyframes lemonFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(1.5deg); }
}

@keyframes lemonBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--glass-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s ease;
}

.nav--hidden {
  transform: translateY(-100%);
}

.nav--scrolled {
  box-shadow: 0 1px 20px rgba(163, 70, 65, 0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.8rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}

.nav__links .nav__link {
  padding: 0.5rem 0.4rem;
}

.nav__header {
  display: none;
}

.nav__link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--text-accent);
  transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              left 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav__link:hover {
  color: var(--text-accent);
  text-decoration: none;
}

.nav__link:hover::after {
  width: 100%;
  left: 0;
}

/* Active nav link */
.nav__link--active {
  color: var(--text-accent);
}

.nav__link--active::after {
  width: 100%;
  left: 0;
  opacity: 0.5;
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  width: 30px;
  height: 24px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  position: absolute;
  left: 3px;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav__toggle span:nth-child(1) { top: 4px; }
.nav__toggle span:nth-child(2) { top: 11px; }
.nav__toggle span:nth-child(3) { top: 18px; }

.nav__toggle.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.nav__toggle.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}

/* --- Sections --- */
.section {
  padding: 7rem 2rem;
  position: relative;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem 4rem;
  position: relative;
}

/* Subtle radial warmth behind hero content */
.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 200, 200, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.hero__content {
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero__lemon {
  width: 280px;
  margin-bottom: 0.5rem;
  animation: heroFadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.1s both,
             lemonFloat 6s ease-in-out 2s infinite;
}

.hero__names {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 5rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  animation: heroFadeUp 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.hero__and {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2rem;
  color: var(--text-accent);
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}

.hero__invite {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.65s both;
}

.hero__date {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  margin-bottom: 0;
  color: var(--text-accent);
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s both;
}

.hero__date sup,
.hero__details sup {
  font-size: 0.55em;
  text-transform: none;
}

.hero__details {
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  line-height: 1.8;
  margin-top: 1.2rem;
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.95s both;
}

.hero__reception {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.15rem;
  color: var(--text-accent);
  animation: heroFadeUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1.1s both;
}


/* --- Countdown --- */
.countdown {
  text-align: center;
  padding: 3rem 2rem 3.5rem;
}

.countdown__label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--text-accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.countdown__units {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.countdown__number {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1;
  min-width: 3ch;
}

.countdown__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.6;
}

/* --- Our Story Section --- */
.story {
  padding: 6rem 2rem;
}

.story__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.story__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 4rem;
}

.story__timeline {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
}

/* Vertical thread connecting the moments */
.story__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(163, 70, 65, 0.2), transparent);
  transform: translateX(-50%);
}

.story__moment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.story__moment--reverse {
  direction: rtl;
}

.story__moment--reverse > * {
  direction: ltr;
}

.story__photo {
  overflow: visible;
  aspect-ratio: 4/5;
  position: relative;
  border-radius: 8px;
}

.story__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(50, 20, 18, 0.5), 0 4px 15px rgba(50, 20, 18, 0.3);
  pointer-events: none;
  z-index: -1;
}

.story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.story__photo:hover img {
  transform: scale(1.03);
}

.story__text {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story__text h3 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--text-accent);
  margin-bottom: 1.2rem;
}

.story__text p {
  font-size: 1.2rem;
  line-height: 2;
  letter-spacing: 0.02em;
  text-align: left;
  margin-bottom: 0.6rem;
}

.story__text p:last-child {
  margin-bottom: 0;
}

/* --- Decorative Lemon Divider --- */
.divider {
  text-align: center;
  padding: 2.5rem 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 1px;
  width: calc(50% - 80px);
  background: linear-gradient(to var(--dir, right), transparent, rgba(163, 70, 65, 0.15));
}

.divider::before {
  left: 0;
  --dir: right;
}

.divider::after {
  right: 0;
  --dir: left;
}

.divider__lemon {
  width: 90px;
  margin: 0 auto;
  opacity: 0.8;
  animation: lemonBreath 5s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.divider:hover .divider__lemon {
  transform: rotate(5deg) scale(1.05);
}

/* --- Details Section --- */
.details {
  padding: 6rem 2rem;
}

.details__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.details__photo {
  overflow: hidden;
  max-height: 620px;
  position: relative;
}

.details__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(255, 226, 226, 0.3);
  pointer-events: none;
}

.details__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.details__photo:hover img {
  transform: scale(1.02);
}

.details__content {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}

.details__block {
  text-align: center;
}

.details__block h2 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--text-accent);
  margin-bottom: 1.2rem;
}

.details__block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.details__block p {
  font-size: 1.2rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.details__dresscode {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-size: 1.7rem !important;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.05em !important;
  color: var(--text-accent);
}

/* --- Venue Map --- */
.venue-map {
  padding: 0 2rem 5rem;
}

.venue-map__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.venue-map__heading {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--text-accent);
  margin-bottom: 1rem;
}

.venue-map__address {
  font-size: 1.05rem;
  font-weight: normal;
  text-transform: none;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  letter-spacing: 0.03em;
  line-height: 1.9;
}

.venue-map__embed {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.venue-map__embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  filter: saturate(0.8) contrast(0.95);
  transition: filter 0.4s ease;
}

.venue-map__embed:hover iframe {
  filter: saturate(1) contrast(1);
}

.venue-map__directions {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-accent);
  padding: 0.7rem 2rem;
  border: 1px solid var(--text-accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.venue-map__directions:hover {
  background: var(--text-accent);
  color: var(--white);
  text-decoration: none;
}

/* --- Schedule Section --- */
.schedule {
  padding: 4rem 2rem 2rem;
  position: relative;
}

.schedule__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.schedule__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--text-accent);
  margin-bottom: 1.5rem;
}

.schedule__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

/* Vertical decorative line */
.schedule__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--text-accent), transparent);
  opacity: 0.2;
  transform: translateX(-50%);
}

.schedule__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  position: relative;
}

.schedule__item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--text-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.schedule__item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.6);
}

.schedule__time {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-align: left;
  flex: 1;
}

.schedule__event {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  text-align: right;
  flex: 1;
  letter-spacing: 0.02em;
}

/* --- Photo Grid --- */
.photos {
  padding: 3rem 2rem;
}

.photos__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  grid-template-rows: auto;
  gap: 1.2rem;
}

.photos__item {
  overflow: hidden;
  position: relative;
}

.photos__item:nth-child(1) {
  aspect-ratio: 3/4;
  margin-top: 2rem;
}

.photos__item:nth-child(2) {
  aspect-ratio: 4/5;
  margin-top: 0;
}

.photos__item:nth-child(3) {
  aspect-ratio: 3/4;
  margin-top: 3rem;
}

.photos__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(255, 226, 226, 0.15) 100%
  );
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.photos__item:hover::after {
  opacity: 0;
}

.photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.photos__item:hover img {
  transform: scale(1.04);
}

/* --- FAQs Section --- */
.faqs {
  padding: 6rem 2rem;
}

.faqs__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.faqs__photo {
  overflow: hidden;
  max-height: 550px;
  position: relative;
}

.faqs__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 40px rgba(255, 226, 226, 0.3);
  pointer-events: none;
}

.faqs__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.faqs__photo:hover img {
  transform: scale(1.02);
}

.faqs__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.faqs__content h2 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-align: center;
}

.faqs__block {
  text-align: center;
}

.faqs__block h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: var(--text-accent);
  margin-bottom: 0.75rem;
}

.faqs__block p {
  font-size: 1.2rem;
  line-height: 1.9;
}

/* --- Accommodation Section --- */
.accommodation {
  padding: 6rem 2rem;
}

.accommodation__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.accommodation__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.accommodation__note {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 3.5rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

.accommodation__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.accommodation__item {
  padding: 2.2rem 2rem;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 3px solid var(--text-accent);
  border-radius: 2px;
  text-align: left;
  transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
}

.accommodation__item:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(163, 70, 65, 0.06);
}

.accommodation__item h3 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--text-accent);
  margin-bottom: 0.8rem;
}

.accommodation__item p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.accommodation__item .discount {
  display: inline-block;
  margin-top: 0.3rem;
  color: var(--text-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- RSVP Section --- */
.rsvp {
  padding: 6rem 2rem;
  position: relative;
}

/* Soft radial accent behind the form */
.rsvp::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 200, 200, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.rsvp__inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.rsvp__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.rsvp__subtitle {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-accent);
  margin-bottom: 3rem;
}

.rsvp__form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  text-align: left;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.form__group label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.form__group:focus-within label {
  color: var(--text-accent);
}

.form__group input,
.form__group select,
.form__group textarea {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-form);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--text-accent);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(163, 70, 65, 0.06);
}

.form__group textarea {
  resize: vertical;
  min-height: 90px;
}

.form__radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.3rem;
}

.form__radio-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 400;
  cursor: pointer;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border-form);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  flex: 1;
  justify-content: center;
}

.form__radio-group label:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--text-accent);
}

.form__radio-group input[type="radio"] {
  accent-color: var(--text-accent);
  width: 15px;
  height: 15px;
  padding: 0;
  border: none;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.form__radio-group input[type="radio"]:checked + span,
.form__radio-group input[type="radio"]:checked ~ * {
  color: var(--text-accent);
}

.form__radio-group label:has(input:checked) {
  border-color: var(--text-accent);
  background: rgba(163, 70, 65, 0.06);
}

.form__submit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 1.1rem 2.5rem;
  background: var(--text-accent);
  color: var(--white);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.form__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.form__submit:hover {
  background: var(--text-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(163, 70, 65, 0.2);
}

.form__submit:hover::before {
  transform: translateX(100%);
}

.form__submit:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(163, 70, 65, 0.15);
}

.form__message {
  text-align: center;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-accent);
  display: none;
  margin-top: 1rem;
  animation: heroFadeUp 0.5s ease both;
}

/* --- Zeus & Goose --- */
.pups {
  display: flex;
  justify-content: center;
  padding: 3rem 2rem 4rem;
}

.pups__photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(50, 20, 18, 0.5), 0 4px 15px rgba(50, 20, 18, 0.3);
}

.pups__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
.footer {
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(163, 70, 65, 0.15), transparent);
}


.footer__lemon {
  width: 70px;
  margin: 0 auto 1.5rem;
  opacity: 0.75;
  animation: lemonBreath 5s ease-in-out infinite;
}

.footer__text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-accent);
  letter-spacing: 0.08em;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {

  .hero__names {
    font-size: 3.5rem;
  }

  .hero__lemon {
    width: 200px;
  }

  .details__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .faqs__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story__moment,
  .story__moment--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

  .story__timeline::before {
    display: none;
  }

  .story__photo {
    max-height: 500px;
    aspect-ratio: 4/5;
  }

  .story__text {
    text-align: center;
  }

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

  .photos__item:nth-child(1),
  .photos__item:nth-child(2),
  .photos__item:nth-child(3) {
    margin-top: 0;
    aspect-ratio: 4/5;
  }

  .photos__item:nth-child(3) {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
  }

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

  .nav__inner {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 0;
  }

  .nav__header {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
  }

  .nav__toggle {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 0 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
  }

  .nav__links.active {
    display: flex;
    animation: navSlideDown 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  }

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

  .countdown__units {
    gap: 2rem;
  }

  .countdown__number {
    font-size: 2.4rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 5rem 1.25rem;
  }

  .hero {
    padding: 4rem 1.25rem 2rem;
  }

  .hero__names {
    font-size: 2.6rem;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
  }

  .hero__and {
    font-size: 1.5rem;
  }

  .hero__date {
    font-size: 1.2rem;
  }

  .hero__invite {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-indent: 0.25em;
  }

  .hero__details {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }

  .schedule__title,
  .faqs__content h2,
  .accommodation__title,
  .rsvp__title,
  .story__title {
    font-size: 2rem;
    letter-spacing: 0.18em;
  }

  .details__block h2 {
    font-size: 1.7rem;
  }

  .photos__grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .photos__item:nth-child(1),
  .photos__item:nth-child(2),
  .photos__item:nth-child(3) {
    aspect-ratio: 4/5;
    grid-column: auto;
  }

  .schedule__timeline::before {
    display: none;
  }

  .schedule__item::after {
    display: none;
  }

  .schedule__item {
    flex-direction: column;
    text-align: center;
    gap: 0.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-mid);
  }

  .form__radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .accommodation__item {
    padding: 1.5rem 1.2rem;
  }

  .divider::before,
  .divider::after {
    display: none;
  }

  .countdown__units {
    gap: 1.2rem;
  }

  .countdown__number {
    font-size: 2rem;
  }

  .countdown__text {
    font-size: 0.65rem;
  }

  .venue-map__embed iframe {
    height: 260px;
  }

  .story__text h3 {
    font-size: 1.5rem;
  }
}

/* ========================================
   Print Stylesheet
   ======================================== */

@media print {
  /* Remove non-essential elements */
  body::before,
  .nav,
  .countdown,
  .divider,
  .photos,
  .venue-map__embed,
  .form__submit,
  .footer__lemon {
    display: none !important;
  }

  /* Reset backgrounds and colours for print */
  body {
    background: white !important;
    color: #333 !important;
    font-size: 11pt;
    line-height: 1.5;
  }

  * {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }

  /* Ensure reveals are visible */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Readable links */
  a {
    color: #333 !important;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #666;
  }

  a[href^="tel:"]::after,
  a[href^="mailto:"]::after {
    content: none;
  }

  /* Hero — keep it simple */
  .hero {
    min-height: auto !important;
    padding: 2rem 0 !important;
  }

  .hero__inner {
    grid-template-columns: 1fr !important;
  }

  .hero__photo {
    display: none;
  }

  .hero__lemon {
    width: 120px;
    animation: none;
  }

  .hero__names {
    font-size: 2.5rem;
    animation: none !important;
  }

  /* Layout resets */
  .section {
    padding: 1.5rem 0 !important;
    page-break-inside: avoid;
  }

  .details__inner,
  .faqs__inner,
  .story__moment {
    grid-template-columns: 1fr !important;
  }

  .details__photo,
  .faqs__photo,
  .story__photo {
    display: none;
  }

  .accommodation__list {
    grid-template-columns: 1fr !important;
  }

  .accommodation__item {
    border: 1px solid #ccc !important;
    padding: 0.8rem !important;
    page-break-inside: avoid;
  }

  /* RSVP section — show info but not form */
  .rsvp__form {
    display: none;
  }

  .rsvp__subtitle {
    color: #333 !important;
  }

  /* Venue map directions */
  .venue-map__directions {
    border: none !important;
    padding: 0 !important;
  }

  /* Footer */
  .footer {
    padding: 1rem 0 !important;
  }

  .footer::before {
    display: none;
  }
}
