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

:root {
  --color-bg: #f7e8eb;
  --color-primary: #f5f0eb;
  --color-secondary: #d4c5b9;
  --color-accent: #8b4513;
  --color-text: #6b4226;
  --color-text-light: #9b6b4f;
  --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: #6b3410;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 8rem 3rem 6rem;
  background-color: #e6f0fa; /* Pale blue base fallback */
  background-image: 
    /* Long diagonal light streaks (frosted glass reflection) */
    linear-gradient(115deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0.5) 65%, rgba(255, 255, 255, 0) 70%),
    /* Lavender reflection */
    radial-gradient(circle at 85% 15%, rgba(210, 200, 255, 0.7) 0%, rgba(210, 200, 255, 0) 50%),
    /* Pastel pink reflection */
    radial-gradient(circle at 15% 85%, rgba(255, 205, 225, 0.7) 0%, rgba(255, 205, 225, 0) 50%),
    /* Pale blue ethereal base */
    linear-gradient(135deg, rgba(235, 245, 255, 0.9) 0%, rgba(215, 235, 255, 0.9) 100%);
  background-size: 200% 200%;
  animation: iridescentFlow 15s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes iridescentFlow {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 50% 100%;
  }
}

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

/* Hero Sides */
.hero-side {
  padding-top: 22rem;
}

.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-text-overlay {
  position: relative;
  z-index: 2;
  margin-bottom: -4rem;
  padding: 0 2rem;
}

.couple-names {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #4a1a2c;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.invitation-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 400;
  color: #4a1a2c;
  margin-bottom: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 100%;
}

.hero-image-container {
  width: 100%;
  max-width: 600px;
  height: 650px;
  margin: 0 auto 4rem;
  border-radius: 300px 300px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 1;
}

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

/* 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;
}

/* Calendar Menu */
.calendar-menu-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 640px) {
  .calendar-menu-container {
    align-items: center;
  }
}

.calendar-button {
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.calendar-button:hover {
  opacity: 1;
  color: var(--color-accent);
}

.calendar-button:hover {
  color: var(--color-accent);
}

.calendar-button svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.calendar-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  width: 220px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-secondary);
  z-index: 50;
  text-align: left;
}

@media (max-width: 640px) {
  .calendar-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

.calendar-dropdown.hidden {
  display: none !important;
}

.calendar-dropdown .p-1 {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* Force override injected Tailwind classes for the calendar links */
.calendar-dropdown .p-1 a {
  display: block !important;
  padding: 0.75rem 1rem !important;
  color: var(--color-text) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  background-color: transparent !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
  text-align: left !important;
}

.calendar-dropdown .p-1 a:hover {
  background-color: var(--color-primary) !important;
  color: var(--color-accent) !important;
}

@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, #d4a574 0%, #c18a5e 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: #ffffff;
  font-style: normal;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.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(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  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;
}

/* Gallery Section - Editorial Magazine Style */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 80px);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Large hero image - dominant focal point */
.gallery-large {
  grid-column: 1 / 8;
  grid-row: 1 / 6;
}

/* Small top-right image - offset positioning */
.gallery-small-top {
  grid-column: 8 / 13;
  grid-row: 2 / 5;
}

/* Medium tall image - overlapping visual interest */
.gallery-medium {
  grid-column: 3 / 7;
  grid-row: 5 / 9;
  z-index: 2;
}

/* Small bottom-right image - asymmetric balance */
.gallery-small-bottom {
  grid-column: 7 / 13;
  grid-row: 6 / 9;
  z-index: 1;
}

/* Responsive Gallery */
@media (max-width: 900px) {
  .gallery-editorial {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(12, 60px);
    gap: 1rem;
  }

  .gallery-large {
    grid-column: 1 / 6;
    grid-row: 1 / 5;
  }

  .gallery-small-top {
    grid-column: 6 / 9;
    grid-row: 1 / 4;
  }

  .gallery-medium {
    grid-column: 1 / 5;
    grid-row: 5 / 9;
  }

  .gallery-small-bottom {
    grid-column: 5 / 9;
    grid-row: 6 / 9;
  }
}

@media (max-width: 768px) {
  .gallery-editorial {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(16, 50px);
    gap: 0.75rem;
  }

  .gallery-large {
    grid-column: 1 / 7;
    grid-row: 1 / 6;
  }

  .gallery-small-top {
    grid-column: 1 / 4;
    grid-row: 6 / 9;
  }

  .gallery-medium {
    grid-column: 4 / 7;
    grid-row: 6 / 10;
  }

  .gallery-small-bottom {
    grid-column: 1 / 7;
    grid-row: 10 / 13;
  }
}

/* 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: 768px) {
  .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: linear-gradient(135deg, #8b4513 0%, #6b3410 100%) !important;
}

.rsvp-section .section-title {
  color: #f5f0eb;
}

.rsvp-intro {
  text-align: center;
  font-size: 1.1rem;
  color: #f5f0eb;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.rsvp-form {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
  background-color: #ffffff;
  color: var(--color-text);
  transition: border-color 0.3s ease;
}

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

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

.submit-button {
  width: 100%;
  padding: 1rem;
  background-color: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #6f5a42;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* RSVP Modal */
.open-modal-button {
  padding: 1.25rem 3rem;
  background-color: #f5f0eb;
  color: #6b3410;
  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: none;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  overflow-y: auto;
}

@media (max-width: 640px) {
  .modal-overlay {
    padding: 1rem 0.5rem;
  }
}

.modal-overlay.flex {
  display: flex;
}

.modal-content {
  background-color: var(--color-primary);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  padding: 2rem;
  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.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

.modal-content .rsvp-form {
  background-color: transparent;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  box-shadow: none;
}

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

  .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;
  }
}

/* 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: var(--color-accent);
  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;
}

/* 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: 5rem 1rem 2rem;
  }

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

  .hero-center {
    order: -1;
  }

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

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

  .couple-names {
    font-size: 4.5rem;
    white-space: normal;
    line-height: 0.85; /* Tighten overall line height */
  }

  .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: 1rem;
    letter-spacing: 0.03em;
    max-width: 250px;
    margin: 3rem auto 0;
    line-height: 1.4;
  }

  .hero-image-container {
    height: 500px;
    margin-bottom: 3rem;
  }

  .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.5rem 1rem;
  }

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

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.875rem;
    font-size: 0.95rem;
  }

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

  .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;
  }
}
