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

:root {
  --color-bg: #faf7f2;
  --color-primary: #ffffff;
  --color-secondary: #e6dfd3;
  --color-accent: #8b9d83; /* sage green */
  --color-text: #4a5346;
  --color-text-light: #8fa393;
  --font-display: 'Playfair Display', serif;
  --font-heading: 'Bodoni Moda', serif;
  --font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg);
}

/* Navigation Header */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.nav-header.scrolled {
  background-color: rgba(247, 232, 235, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

.rsvp-button {
  padding: 0.75rem 2rem;
  background-color: var(--color-accent);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.rsvp-button:hover {
  background-color: #6e8066;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 3rem 3rem 6rem;
  background-color: #faf7f2;
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Hero Sides & Watercolor Text Backgrounds */
.hero-text-overlay,
.hero-side,
.event-item {
  position: relative;
  z-index: 10;
}

.hero-side::before,
.event-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: 
    radial-gradient(circle at 35% 35%, rgba(255, 252, 248, 0.95) 10%, rgba(255, 252, 248, 0) 50%),
    radial-gradient(circle at 65% 65%, rgba(255, 252, 248, 0.9) 15%, rgba(255, 252, 248, 0) 55%),
    radial-gradient(circle at 30% 70%, rgba(255, 252, 248, 0.85) 5%, rgba(255, 252, 248, 0) 45%),
    radial-gradient(circle at 70% 30%, rgba(255, 252, 248, 0.9) 10%, rgba(255, 252, 248, 0) 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 252, 248, 1) 20%, rgba(255, 252, 248, 0) 65%);
  filter: blur(18px);
  opacity: 0.55;
  z-index: -1;
  border-radius: 40% 60% 70% 40% / 50% 50% 60% 50%;
  pointer-events: none;
}

.hero-side::before {
  top: auto;
  bottom: -2rem;
  height: 200px;
  width: 300px;
  transform: translateX(-50%);
}

.event-item::before {
  width: 160%;
  height: 180%;
  min-width: 280px;
}

.hero-side {
  padding-top: 22rem;
  position: relative;
  z-index: 10;
}

.hero-side h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.detail-primary {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.detail-secondary {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text-light);
}

@media (min-width: 641px) {
  .hero-when {
    justify-self: end;
  }
  .hero-where {
    justify-self: start;
  }
}

.hero-where {
  text-align: right;
}

/* Hero Center */
.hero-center {
  text-align: center;
  position: relative;
}

.hero-center::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -35%;
  left: 50%;
  /* Scale up and slightly rotate to create an organic, layered depth effect */
  transform: translateX(-50%) scale(1.15) rotate(3deg);
  width: 180%;
  background-image: url('image-gen/watercolor-floral-frame-large-3-4-2K.png?format=webp&maxDim=1024');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: 0.9;
}

.hero-text-overlay {
  position: relative;
  z-index: 10;
  margin-bottom: -4rem;
  padding: 0 2rem;
}

.pre-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.9);
}

.couple-names {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #2a3327;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.95), 0 0 45px rgba(255, 255, 255, 0.8), 0 0 100px rgba(255, 255, 255, 1);
}

.invitation-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #4a5346;
  margin-bottom: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  max-width: 100%;
  text-shadow: 0 2px 15px rgba(255, 255, 255, 0.95), 0 0 20px rgba(255, 255, 255, 0.8);
}

.hero-visuals-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  margin: 0 auto 4rem;
  z-index: 1;
}

.hero-image-container {
  width: 100%;
  height: 100%;
  border-radius: 300px 300px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  position: absolute;
  top: 0;
  left: 0;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.top-layer-flowers {
  position: absolute;
  top: -38%;
  left: 50%;
  transform: translateX(-51%);
  width: 220%;
  height: 180%;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
}

/* Event Details */
.event-details {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 4rem;
  margin-top: 3rem;
}

.event-item {
  text-align: center;
}

.event-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-time {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.event-venue {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.event-address {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
}

.event-divider {
  font-size: 1.25rem;
  color: var(--color-accent);
  padding-top: 5rem;
}

/* Floral Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #c5a059; /* Bright elegant gold */
  text-decoration: none;
  z-index: 20;
  opacity: 0.95;
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.9));
}

.scroll-indicator:hover {
  opacity: 1;
  color: #b38d47;
}

.scroll-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-style: italic;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

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

/* Quote Section */
.quote-section {
  padding: 8rem 2rem;
  background: linear-gradient(135deg, #f5e6e6 0%, #ebd4d4 100%);
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-content {
  max-width: 1100px;
  margin: 0 auto;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  font-style: normal;
  letter-spacing: -0.02em;
}

.quote-text em {
  font-style: italic;
  font-weight: 700;
}

/* Section Styles */
.section {
  padding: 6rem 2rem;
}

.section:nth-child(even) {
  background-color: var(--color-primary);
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-content.narrow {
  max-width: 700px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

/* Our Story Section */
.our-story {
  background-color: #ffffff;
}

#auto-id-18-48 {
  background-color: #ffffff !important;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-text h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

.story-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.story-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Wedding Details Section */
.wedding-details {
  background-color: #ffffff;
}

.details-layout {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 6rem;
  margin: 4rem 0;
  padding: 0 2rem;
}

.detail-block {
  flex: 1;
  max-width: 400px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-secondary);
}

.detail-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.detail-time {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.detail-venue {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.detail-address {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.7;
}

.detail-divider-vertical {
  font-size: 1.5rem;
  color: var(--color-accent);
  align-self: center;
  opacity: 0.6;
}

/* Dress Code Block */
.dress-code-block {
  text-align: center;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--color-secondary);
}

.dress-code-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 1rem;
}

.dress-code-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

/* Our Song Section */
.our-song-section {
  background-color: #ffffff;
}

.song-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.song-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.song-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin: 0;
}

.song-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  font-style: italic;
  text-align: left;
  margin: 0;
}

.song-player-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.song-cover {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.audio-player {
  width: 100%;
  max-width: 350px;
}

.audio-player audio {
  width: 100%;
  height: 54px;
  border-radius: 50px;
  outline: none;
}

.audio-player audio::-webkit-media-controls-panel {
  background-color: var(--color-primary);
}

.song-credit {
  font-size: 0.95rem;
  color: var(--color-text-light);
  text-align: center;
}

.song-credit em {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-accent);
  font-style: italic;
  font-weight: 500;
}

@media (max-width: 900px) {
  .song-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .song-text {
    text-align: center;
  }

  .song-description {
    text-align: center;
  }

  .song-cover {
    max-width: 300px;
  }

  .audio-player {
    max-width: 300px;
  }
}

/* RSVP Section */
.rsvp-section {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rsvp-section .section-content {
  width: 100%;
}

.rsvp-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -15%;
  width: 50%;
  height: 70%;
  background-image: url('image-gen/watercolor-floral-frame-3-4-2K.png?format=webp&maxDim=512');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
  transform: rotate(-15deg);
  pointer-events: none;
}

.rsvp-section::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -15%;
  width: 50%;
  height: 70%;
  background-image: url('image-gen/watercolor-floral-frame-3-4-2K.png?format=webp&maxDim=512');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  z-index: 0;
  transform: rotate(165deg);
  pointer-events: none;
}

.rsvp-section .section-title {
  color: var(--color-accent);
  position: relative;
  z-index: 2;
}

.rsvp-intro {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.rsvp-form {
  position: relative;
  z-index: 10;
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 2px;
  border: 1px solid var(--color-secondary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.25rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid var(--color-secondary);
  border-radius: 0;
  background-color: transparent;
  color: var(--color-text);
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9d83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 1.2em;
  padding-right: 2rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cbd5ce;
  font-family: var(--font-body);
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 157, 131, 0.2);
}

.submit-button:hover {
  background-color: #7a8c72;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 157, 131, 0.3);
}

/* RSVP Modal */
.open-modal-button {
  padding: 1.25rem 3rem;
  background-color: #f5f0eb;
  color: #4a5346;
  border: 2px solid #f5f0eb;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.open-modal-button:hover {
  background-color: transparent;
  color: #f5f0eb;
  border-color: #f5f0eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow-y: auto;
}

.modal-content {
  background-color: var(--color-primary);
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-accent);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--color-text);
  transform: none;
  background: none;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.modal-content .rsvp-form {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
  }

  .modal-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .modal-content .rsvp-form {
    padding: 1.5rem;
  }
}

/* Archive RSVP Style */
.archive-rsvp-container {
  background-color: transparent;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  margin-top: 1rem;
  position: relative;
  z-index: 10;
}

.archive-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 0.5rem;
}

.archive-intro {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.archive-auth-message {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-style: italic;
}

.archive-auth-message strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0;
}

.archive-rsvp-form {
  max-width: 600px;
  margin: 0 auto;
}

.archive-form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.archive-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.archive-form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.archive-form-group input,
.archive-select-wrapper select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(74, 83, 70, 0.3);
  padding: 0.25rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--color-text);
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.archive-form-group input:focus,
.archive-select-wrapper select:focus {
  outline: none;
  border-bottom: 1px solid var(--color-text);
}

.archive-form-group input::placeholder {
  color: rgba(74, 83, 70, 0.3);
  font-family: var(--font-display);
  font-style: italic;
}

.archive-select-wrapper {
  position: relative;
}

.archive-select-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--color-text);
  pointer-events: none;
}

.archive-submit-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.archive-submit-btn {
  background: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  padding: 0.75rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.archive-submit-btn:hover {
  background: var(--color-text);
  color: var(--color-primary);
}

.archive-form-message {
  text-align: center;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .archive-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* FAQ Section */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-secondary);
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* Footer */
.footer {
  background-color: #3d4a39;
  color: #ffffff;
  padding: 3rem 2rem 1.5rem;
  text-align: center;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-names {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.footer-date {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.footer-hashtag {
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.9;
}

.starborn-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

.starborn-footer a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.starborn-footer a:hover {
  opacity: 1;
}

/* Utility Classes */
.hidden { display: none !important; }

/* Responsive Design */

/* Mobile breakpoint - 640px and below */
@media (max-width: 640px) {
  body {
    padding: 0;
  }

  .quote-section {
    padding: 4rem 1.5rem;
    min-height: 45vh;
  }

  .quote-text {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .nav-header {
    padding: 1rem 1.5rem;
  }

  .nav-logo {
    font-size: 1.5rem;
  }

  .nav-menu {
    display: none;
  }

  .nav-actions .rsvp-button {
    padding: 0.6rem 1.25rem;
    font-size: 0.75rem;
  }

  .hero {
    padding: 2rem 1rem 2rem;
  }

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

  .hero-center {
    order: -1;
  }

  .hero-side {
    padding-top: 0;
    text-align: center;
  }

  .hero-side::before {
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    height: 160px;
    width: 250px;
  }

  .hero-where {
    text-align: center;
  }

  .couple-names {
    font-size: 4.5rem;
    white-space: normal;
    line-height: 0.95;
  }

  .name-part {
    display: block;
  }

  /* Target the "and" specifically to reduce its size */
  #auto-id-27 {
    font-size: 0.4em;
    font-style: italic;
    opacity: 0.8;
  }

  .hero-text-overlay {
    margin-bottom: -2.5rem;
    padding: 0 0.5rem;
  }

  .invitation-text {
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    max-width: 250px;
    margin: 3rem auto 0;
    line-height: 1.4;
  }

  .hero-visuals-wrapper {
    margin-bottom: 3rem;
    max-width: 100%;
  }

  .scroll-indicator {
    bottom: 1rem;
  }
  
  .scroll-indicator svg {
    height: 45px;
  }

  .event-details {
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .event-divider {
    display: block;
    padding-top: 1.5rem;
    font-size: 1rem;
  }

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

  .event-item h4 {
    font-size: 0.75rem;
  }

  .event-venue {
    font-size: 0.95rem;
  }

  .event-address {
    font-size: 0.85rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

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

  .story-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .story-text p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .details-layout {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  .detail-block {
    max-width: 100%;
    text-align: center;
  }

  .detail-header {
    justify-content: center;
    gap: 2rem;
  }

  .detail-divider-vertical {
    display: none;
  }

  .detail-venue {
    font-size: 1.75rem;
  }

  .dress-code-block {
    padding: 2.5rem 1rem 1rem;
    margin-top: 1.5rem;
  }

  .dress-code-value {
    font-size: 1.5rem;
  }

  .rsvp-form {
    padding: 1.25rem;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.25rem 0;
    font-size: 1rem;
  }

  .submit-button {
    padding: 1rem;
    font-size: 0.85rem;
  }

  .open-modal-button {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }

  .modal-content {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
  }

  .modal-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }

  .modal-content .rsvp-form {
    padding: 1.25rem;
  }

  .faq-item h3 {
    font-size: 1.25rem;
  }

  .faq-item p {
    font-size: 0.95rem;
  }

  .footer {
    padding: 2.5rem 1rem 1rem;
  }

  .footer-names {
    font-size: 1.75rem;
  }

  .footer-date {
    font-size: 0.95rem;
  }

  .footer-hashtag {
    font-size: 0.85rem;
  }
}
