/* ============================================================
   ENGAGEMENT PARTY — Premium Boho Luxury Design System
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lato:wght@300;400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;0,6..96,700;0,6..96,800;1,6..96,400&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Colors */
  --cream: #FDF8F0;
  --warm-white: #FEFCF8;
  --sand: #E8DDD3;
  --sand-light: #F0E9E1;
  --muted-gold: #C9A96E;
  --gold-light: #D4BC8B;
  --gold-dark: #B8944F;
  --charcoal: #3A3632;
  --charcoal-light: #5A5650;
  --soft-rose: #D4A59A;
  --rose-light: #E8C8C0;
  --sage: #A8B5A0;
  --taupe: #B5A898;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;
  --font-logo: 'Bodoni Moda', 'Playfair Display', serif;

  /* Spacing */
  --section-pad-y: clamp(60px, 10vw, 120px);
  --section-pad-x: clamp(20px, 5vw, 80px);
  --container-max: 1100px;

  /* Transitions */
  --ease-elegant: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-slow: 0.8s;
  --duration-med: 0.5s;
  --duration-fast: 0.3s;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-soft);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-heading);
  margin-bottom: 1.2rem;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--muted-gold);
  margin: 0 auto 2rem;
  border: none;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

/* ============================================================
   LOADING SCREEN (Elegant Entrance)
   ============================================================ */
.loader-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.5s var(--ease-soft), visibility 1.5s var(--ease-soft);
}

.loader-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: loaderFadeIn 1.5s var(--ease-soft) forwards;
}

.loader-img {
  width: min(80vw, 300px);
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  border: 4px solid var(--warm-white);
}

.loader-names {
  font-family: var(--font-logo);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.05em;
  opacity: 0.9;
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--duration-med) var(--ease-soft);
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}

.nav.scrolled {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(58, 54, 50, 0.06);
  padding: 0.8rem 2rem;
}

.nav__logo {
  font-family: var(--font-logo);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  transition: opacity var(--duration-fast) var(--ease-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--muted-gold);
  box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.4);
  animation: avatarGlow 3s ease-in-out infinite;
  transition: transform var(--duration-fast) var(--ease-soft);
}

.nav__avatar:hover {
  transform: scale(1.1);
}

@keyframes avatarGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 169, 110, 0.3);
  }

  50% {
    box-shadow: 0 0 12px 4px rgba(201, 169, 110, 0.25);
  }
}

.nav__logo:hover {
  opacity: 0.7;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  padding: 0.3rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--muted-gold);
  transition: width var(--duration-fast) var(--ease-elegant);
}

.nav__link:hover::after {
  width: 100%;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all var(--duration-fast) var(--ease-soft);
  transform-origin: center;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: var(--warm-white);
  overflow: hidden;
  padding: 70px 0 0 0;
}

/* Decorative background circles completely removed as per request */

/* Video Background */
.hero__video {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  z-index: 1;
  display: block;
}

.hero__video-fallback {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Dark overlay completely removed */

/* Floating botanical decorations */
.hero__botanical {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
}

.hero__botanical--left {
  top: 15%;
  left: 3%;
  font-size: 8rem;
  transform: rotate(-15deg);
  animation: floatSlow 8s ease-in-out infinite;
}

.hero__botanical--right {
  bottom: 20%;
  right: 3%;
  font-size: 6rem;
  transform: rotate(15deg) scaleX(-1);
  animation: floatSlow 10s ease-in-out 2s infinite;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 10;
  animation: heroFadeIn 1s var(--ease-elegant) 2s forwards;
}

.hero__scroll-cue span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 8px;
  text-align: center;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--taupe), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ============================================================
   COUNTDOWN SECTION
   ============================================================ */
.countdown {
  padding: 3.5rem 0;
  background: var(--warm-white);
  text-align: center;
}

.countdown__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.countdown__grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown__number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--muted-gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.countdown__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ============================================================
   RSVP SECTION
   ============================================================ */
.rsvp {
  background: var(--warm-white);
  padding: var(--section-pad-y) 0;
  text-align: center;
}

.rsvp__inner {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.rsvp__form {
  margin-top: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 4px;
  outline: none;
  transition: all var(--duration-fast) var(--ease-soft);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--muted-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group input::placeholder {
  color: var(--taupe);
  font-weight: 300;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group--guests {
  margin-bottom: 1rem;
}

.guest-counter {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--sand);
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
  max-width: 200px;
}

.guest-counter__btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--charcoal-light);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-soft);
  user-select: none;
}

.guest-counter__btn:hover {
  background: var(--sand-light);
  color: var(--muted-gold);
}

.guest-counter__btn:active {
  transform: scale(0.95);
}

.guest-counter__value {
  flex: 1;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  border-left: 1px solid var(--sand);
  border-right: 1px solid var(--sand);
  padding: 0.6rem 0;
  min-width: 60px;
}

.guest-counter__input {
  display: none;
}

/* Submit button */
.rsvp__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 1rem 3.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-white);
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--duration-med) var(--ease-elegant);
  position: relative;
  overflow: hidden;
}

.rsvp__submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.15), transparent);
  transition: left 0.6s var(--ease-elegant);
}

.rsvp__submit:hover {
  background: var(--muted-gold);
  border-color: var(--muted-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.rsvp__submit:hover::before {
  left: 100%;
}

.rsvp__submit:active {
  transform: translateY(0);
}

.rsvp__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.rsvp__submit:disabled:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
}

/* Textarea */
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 4px;
  outline: none;
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
  transition: all var(--duration-fast) var(--ease-soft);
  -webkit-appearance: none;
  appearance: none;
}

.form-group textarea:focus {
  border-color: var(--muted-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group textarea::placeholder {
  color: var(--taupe);
  font-weight: 300;
}

/* Attendance toggle */
.form-group--attendance {
  margin-bottom: 1rem;
}

.attendance-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--sand);
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream);
}

.attendance-toggle__btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-soft);
}

.attendance-toggle__btn:first-child {
  border-right: 1px solid var(--sand);
}

.attendance-toggle__btn.active {
  background: var(--charcoal);
  color: var(--warm-white);
}

.attendance-toggle__btn:hover:not(.active) {
  background: var(--sand-light);
}

/* Message group */
.form-group--message {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1rem;
}

/* Form feedback */
.rsvp__message {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-med) var(--ease-elegant);
}

.rsvp__message.show {
  opacity: 1;
  transform: translateY(0);
}

.rsvp__message.success {
  background: rgba(168, 181, 160, 0.15);
  border: 1px solid rgba(168, 181, 160, 0.3);
  color: #5a6d52;
}

.rsvp__message.error {
  background: rgba(212, 165, 154, 0.15);
  border: 1px solid rgba(212, 165, 154, 0.3);
  color: #8b5a50;
}

.rsvp__deadline-box {
  background: var(--warm-white);
  border: 1px solid var(--muted-gold);
  border-radius: 8px;
  padding: 1.2rem;
  margin: 1.5rem auto 2.5rem;
  max-width: 320px;
  box-shadow: 0 4px 15px rgba(201, 169, 110, 0.1);
  position: relative;
}

.rsvp__deadline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted-gold);
  letter-spacing: 0.02em;
  margin: 0;
}

.rsvp__instruction {
  font-size: 0.85rem;
  color: var(--taupe);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.rsvp__deadline-box::before {
  content: 'Important';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--muted-gold);
  color: white;
  padding: 2px 12px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* PARTY IDENTITY QUIZ STYLE */
.rsvp__quiz-container {
  background: var(--cream);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.quiz__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
  text-align: center;
}

.quiz__subtitle {
  font-size: 0.8rem;
  color: var(--taupe);
  margin-bottom: 1.5rem;
  text-align: center;
}

.quiz__step {
  display: none;
}

.quiz__step.active {
  display: block;
  animation: quizFadeIn 0.5s var(--ease-soft);
}

@keyframes quizFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz__question {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

.quiz__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.quiz__option {
  padding: 0.8rem;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--charcoal);
  text-align: left;
  transition: all var(--duration-fast) var(--ease-soft);
}

.quiz__option:hover {
  border-color: var(--muted-gold);
  background: var(--sand-light);
}

.quiz__option.selected {
  background: var(--charcoal);
  color: white;
  border-color: var(--charcoal);
}

.quiz__result-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--warm-white);
  border: 1px solid var(--muted-gold);
  border-radius: 6px;
  text-align: center;
  display: none;
}

.quiz__result-preview.show {
  display: block;
  animation: quizFadeIn 0.5s var(--ease-soft);
}

.result__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--taupe);
  margin-bottom: 0.3rem;
}

.result__identity {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--muted-gold);
  font-weight: 500;
}

@media (max-width: 480px) {
  .quiz__options {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   WEATHER SECTION
   ============================================================ */
.weather {
  padding: var(--section-pad-y) 0;
  background: var(--cream);
  text-align: center;
}

.weather__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.weather__note {
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--taupe);
  margin-top: 0.8rem;
  line-height: 1.6;
}

.weather__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  margin-top: 2rem;
}

.weather__card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  padding: 1rem 0.5rem;
  text-align: center;
  transition: all var(--duration-fast) var(--ease-soft);
}

.weather__card:hover {
  border-color: var(--muted-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.12);
}

.weather__card--today {
  border-color: var(--muted-gold);
  background: rgba(201, 169, 110, 0.06);
}

.weather__day {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-light);
  margin-bottom: 0.5rem;
}

.weather__icon {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.weather__temp {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.weather__desc {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 300;
  color: var(--taupe);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .weather__grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .weather__grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.location {
  padding: var(--section-pad-y) 0;
  background: var(--warm-white);
  text-align: center;
}

.location__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.location__address {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--charcoal-light);
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.location__map-wrap {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.15);
}

@media (max-width: 768px) {
  .location__map-wrap {
    height: 300px;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-pad-y) 0;
  background: var(--cream);
  text-align: center;
}

.about__content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
}

.about__quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--muted-gold);
  opacity: 0.35;
  margin-bottom: 0.5rem;
  user-select: none;
}

.about__text {
  font-family: var(--font-accent);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 300;
  line-height: 2.5;
  color: var(--charcoal-light);
  letter-spacing: 0.04em;
  text-align: left;
}

.about__text p {
  margin-bottom: 3.5rem;
  position: relative;
}

.about__text p:first-child::first-letter {
  font-family: var(--font-heading);
  font-size: 2.6em;
  float: left;
  line-height: 0.8;
  margin-right: 0.08em;
  margin-top: 0.1em;
  color: var(--muted-gold);
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__place-link {
  color: var(--muted-gold);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--muted-gold);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: all var(--duration-fast) var(--ease-soft);
}

.about__place-link:hover {
  color: var(--charcoal);
  text-decoration-color: var(--charcoal);
}

/* Loading state */
.loading-shimmer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}

.shimmer-line {
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(90deg,
      var(--sand-light) 25%,
      var(--sand) 50%,
      var(--sand-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
}

.shimmer-line:nth-child(1) {
  width: 80%;
}

.shimmer-line:nth-child(2) {
  width: 95%;
}

.shimmer-line:nth-child(3) {
  width: 70%;
}

.shimmer-line:nth-child(4) {
  width: 85%;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
  padding: var(--section-pad-y) 0;
  background: var(--warm-white);
  text-align: center;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  max-width: var(--container-max);
  margin: 2.5rem auto 0;
  padding: 0 var(--section-pad-x);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4 / 5;
  background: var(--sand-light);
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-elegant);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(58, 54, 50, 0.08) 100%);
  pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-soft);
}

.gallery__item:hover::after {
  opacity: 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(58, 54, 50, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-med) var(--ease-soft);
  cursor: pointer;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.95);
  transition: transform var(--duration-med) var(--ease-elegant);
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cream);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: 50%;
  transition: all var(--duration-fast) var(--ease-soft);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 3rem 0;
  text-align: center;
  background: var(--cream);
  border-top: 1px solid var(--sand-light);
}

.footer__text {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--taupe);
  font-style: italic;
}

.footer__names {
  font-family: var(--font-logo);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes floatSlow {

  0%,
  100% {
    transform: rotate(-15deg) translateY(0);
  }

  50% {
    transform: rotate(-15deg) translateY(-15px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.8;
    transform: scaleY(1.1);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-elegant),
    transform var(--duration-slow) var(--ease-elegant);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Desktop Video Scaling Inherits Global Settings for Proportional Scaling */
@media (min-width: 769px) {

  .hero__botanical {
    z-index: 2;
  }
}

@media (max-width: 768px) {
  .hero__video {
    max-width: 100%;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(253, 248, 240, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -4px 0 30px rgba(58, 54, 50, 0.08);
    transition: right var(--duration-med) var(--ease-elegant);
    padding: 2rem;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__link {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero__botanical {
    display: none;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .gallery__item {
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   FLOATING PETALS ANIMATION
   ============================================================ */
.petals-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -10vh;
  width: 14px;
  height: 14px;
  background: rgba(201, 169, 110, 0.5);
  /* muted gold tone */
  border-radius: 0 50% 50% 50%;
  /* distinct teardrop/petal shape */
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: fall linear forwards;
}

@keyframes fall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
    transform: translateY(10vh) translateX(20px) rotate(45deg) scale(1);
  }

  90% {
    opacity: 0.6;
  }

  100% {
    transform: translateY(110vh) translateX(-50px) rotate(360deg) scale(0.8);
    opacity: 0;
  }
}

/* Overlay for mobile menu */
.nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(58, 54, 50, 0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-med) var(--ease-soft);
}

.nav__overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Spinner for submit button */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}