:root {
  --green-950: #0a2a1f;
  --green-900: #0d3527;
  --green-700: #17563f;
  --green-500: #2e7d5b;
  --green-100: #dcebe2;
  --gold: #c9a227;
  --gold-light: #e3c766;
  --gold-pale: #f3e7c3;
  --ivory: #ffffff;
  --ivory-dark: #f7f7f7;
  --text: #29271f;
  --text-soft: #6b675a;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --script: 'Great Vibes', 'Cormorant Garamond', cursive;
  --sans: 'Jost', 'Segoe UI', sans-serif;
  --blush: #e5b8c0;
  --sage: #8fae9b;
  --shadow-card: 0 10px 40px rgba(13, 53, 39, 0.08);
  --shadow-lift: 0 18px 60px rgba(13, 53, 39, 0.16);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}

section { scroll-margin-top: 70px; }

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5vw;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(13, 53, 39, 0.08);
  padding: 8px 5vw;
}

.nav-monogram {
  font-family: var(--script);
  font-size: 30px;
  font-weight: 400;
  color: var(--green-900);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-monogram span { color: var(--gold); font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-900);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-rsvp {
  border: 1px solid var(--gold);
  padding: 7px 20px;
  border-radius: 30px;
  color: var(--green-900);
  transition: background 0.3s, color 0.3s;
}

.nav-links a.nav-rsvp:hover { background: var(--gold); color: var(--white); }
.nav-links a.nav-rsvp::after { display: none; }

.nav-right { display: flex; align-items: center; gap: 14px; }

#langToggle {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--green-900);
  background: transparent;
  border: 1px solid rgba(13, 53, 39, 0.3);
  border-radius: 30px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

#langToggle:hover { background: var(--green-900); color: var(--ivory); }

#navBurger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

#navBurger span {
  width: 24px; height: 2px;
  background: var(--green-900);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Hero ---------- */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 24px 80px;
  position: relative;
  isolation: isolate;
  background: var(--ivory);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(24px, 4.5vw, 60px);
  align-items: center;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-content { min-width: 0; }

#hero .petals { z-index: -1; }

.floral {
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.floral svg { width: 100%; height: 100%; overflow: visible; }

.floral-hero-left,
.floral-hero-right {
  width: clamp(160px, 24vw, 300px);
  height: clamp(190px, 28vw, 356px);
  bottom: -8px;
}

.floral-hero-left { left: -14px; }
.floral-hero-right { right: -14px; transform: scaleX(-1); }

.floral-hero-left svg,
.floral-hero-right svg {
  animation: sway 8s ease-in-out infinite alternate;
  transform-origin: 50% 100%;
}

.floral-hero-right svg { animation-delay: 1.7s; }

.floral-corner {
  width: clamp(120px, 18vw, 240px);
  height: clamp(142px, 21vw, 285px);
  opacity: 0.2;
}

.floral-cer-tr { top: -12px; right: 10px; transform: rotate(180deg); }
.floral-cer-bl { bottom: -10px; left: 10px; }
.floral-rsvp-br { bottom: -10px; right: 10px; transform: scaleX(-1); }

@keyframes sway {
  from { transform: rotate(-1.6deg); }
  to { transform: rotate(1.8deg); }
}

.hero-guest {
  font-family: var(--script);
  font-size: clamp(32px, 5.5vw, 52px);
  line-height: 1.2;
  color: #b22334;
  margin-bottom: 8px;
  animation: fadeUp 1s ease both;
}

.hero-invite {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.9vw, 28px);
  color: var(--text-soft);
  max-width: 560px;
  line-height: 1.6;
  margin: 8px auto 0;
  padding: 0 8px;
  animation: fadeUp 1s ease 0.45s both;
}

.hero-names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 78px);
  line-height: 1.1;
  color: var(--green-900);
  animation: fadeUp 1.1s ease 0.3s both;
}

.amp {
  font-weight: 400;
  color: var(--gold);
  font-size: 0.78em;
  padding: 0 0.08em;
}

.hero-date {
  font-size: clamp(16px, 2.2vw, 21px);
  letter-spacing: 2.5px;
  color: var(--green-700);
  margin-top: 6px;
  animation: fadeUp 1.1s ease 0.7s both;
}

.verse-ref {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.8em;
  letter-spacing: 2px;
  color: var(--gold);
  font-style: normal;
  font-family: var(--sans);
  text-transform: uppercase;
}

/* ---------- Cord divider ---------- */
.cord-divider {
  width: min(420px, 70vw);
  height: 44px;
  margin: 22px auto;
  position: relative;
  animation: fadeUp 1.1s ease 0.6s both;
}

.cord-divider.small { width: min(260px, 55vw); height: 34px; margin: 10px auto 40px; }

.hero-content .cord-divider { margin: 14px auto; }

.hero-content .countdown { margin-top: 26px; justify-content: center; }

.hero-content .hero-actions { margin-top: 28px; }

.cord-divider svg { width: 100%; height: 100%; overflow: visible; }

.div-line {
  stroke: var(--gold);
  stroke-width: 1.3;
  fill: none;
  stroke-linecap: round;
  opacity: 0.8;
  stroke-dasharray: 224;
  stroke-dashoffset: 224;
  animation: drawCord 1.6s ease 0.5s forwards;
}

.div-ring {
  fill: none;
  stroke-width: 1.8;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: drawCord 1.6s ease 0.9s forwards;
}

.div-ring-1 { stroke: var(--gold); }
.div-ring-2 { stroke: var(--gold-light); animation-delay: 1.1s; }

.div-leaf {
  fill: var(--sage);
  opacity: 0;
  animation: fadeIn 0.8s ease 1.5s forwards;
}

.div-dot {
  fill: var(--gold);
  opacity: 0;
  animation: fadeIn 0.8s ease 1.3s forwards;
}

@keyframes drawCord { to { stroke-dashoffset: 0; } }

@keyframes fadeIn { to { opacity: 1; } }

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

/* ---------- Countdown ---------- */
.countdown {
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
  margin-top: 38px;
  animation: fadeUp 1.1s ease 0.8s both;
}

.count-box {
  background: #faf8f1;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 14px;
  padding: clamp(10px, 1.8vw, 18px) clamp(14px, 2.4vw, 26px);
  min-width: clamp(66px, 9vw, 96px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.count-num {
  font-family: var(--serif);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.count-label {
  font-size: clamp(10px, 1.3vw, 12px);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 4px;
}

.count-sep {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--gold);
  padding-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 40px;
  padding: 14px 34px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  border: none;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover { box-shadow: 0 12px 32px rgba(201, 162, 39, 0.5); }

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(13, 53, 39, 0.35);
  color: var(--green-900);
}

.btn-ghost:hover { background: var(--green-900); color: var(--ivory); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: inherit;
  padding: 10px 26px;
  font-size: 13px;
  margin-top: auto;
}

.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-full { width: 100%; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
  animation: fadeUp 1.1s ease 0.95s both;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid rgba(13, 53, 39, 0.35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}

.scroll-hint span {
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 3px;
  margin-top: 7px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(70px, 10vw, 120px) 5vw;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.section-green {
  max-width: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(201, 162, 39, 0.08), transparent 45%),
    radial-gradient(ellipse at 85% 85%, rgba(46, 125, 91, 0.12), transparent 45%),
    var(--green-950);
  color: var(--green-100);
}

.section-green .section-title { color: var(--white); }
.section-green .section-eyebrow { color: var(--gold-light); }
.section-green .section-sub { color: var(--green-100); }

.section-ivory {
  max-width: none;
  background: var(--ivory-dark);
}

.section-eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.5vw, 56px);
  color: var(--green-900);
  line-height: 1.15;
  margin-bottom: 10px;
}

.section-sub {
  max-width: 560px;
  margin: 0 auto 44px;
  color: var(--text-soft);
  font-size: 17px;
}

/* ---------- Hero photo ---------- */
.hero-photo-frame {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  border-radius: 999px 999px 20px 20px;
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px rgba(201, 162, 39, 0.75),
    0 0 0 9px var(--white),
    0 0 0 10px rgba(201, 162, 39, 0.35),
    0 18px 55px rgba(13, 53, 39, 0.18);
  animation: fadeUp 1.1s ease 0.15s both;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px 999px 14px 14px;
  pointer-events: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* ---------- Cards (ceremony) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1060px;
  margin: 34px auto 0;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(227, 199, 102, 0.25);
  border-radius: 20px;
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(227, 199, 102, 0.55);
}

.card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(227, 199, 102, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.card-icon svg { width: 28px; height: 28px; }

.card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  color: var(--white);
}

.card p { font-size: 15.5px; color: var(--green-100); }

.card-detail {
  font-size: 14px !important;
  letter-spacing: 1px;
  color: var(--gold-light) !important;
  margin-bottom: 8px;
}

.dress-note {
  max-width: 620px;
  margin: 46px auto 0;
  padding: 22px 30px;
  border: 1px solid rgba(227, 199, 102, 0.3);
  border-radius: 16px;
  font-size: 15.5px;
  color: var(--green-100);
}

.dress-title {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--gold-light);
  margin-bottom: 4px;
}

/* ---------- RSVP ---------- */
.rsvp-form {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(227, 199, 102, 0.3);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 44px);
  text-align: left;
}

.form-row { margin-bottom: 20px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 16px;
}

.rsvp-form label {
  display: block;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 7px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(227, 199, 102, 0.3);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder { color: rgba(220, 235, 226, 0.45); }

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: var(--gold-light);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.rsvp-form select option { color: var(--text); background: var(--ivory); }

.rsvp-form textarea { resize: vertical; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 15px;
  text-align: center;
}

.form-status.ok {
  background: rgba(46, 125, 91, 0.25);
  border: 1px solid rgba(46, 125, 91, 0.6);
  color: #bfe8d2;
}

.form-status.err {
  background: rgba(160, 60, 60, 0.22);
  border: 1px solid rgba(200, 90, 90, 0.55);
  color: #f3c8c8;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ivory);
  text-align: center;
  padding: 70px 24px 46px;
}

.footer-names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(42px, 6.5vw, 66px);
  color: var(--green-900);
}

.footer-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--text-soft);
}

.footer-verse .verse-ref { margin-left: 8px; }

.footer-thanks { margin-top: 14px; color: var(--text-soft); font-size: 15.5px; }

.footer-date {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
}

/* ---------- Falling petals ---------- */
.petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petal {
  position: absolute;
  top: -28px;
  display: block;
  border-radius: 78% 8% 78% 8%;
  opacity: 0;
  animation: petalFall var(--dur, 10s) linear var(--delay, 0s) infinite;
}

.petal-1 { background: #d64550; }
.petal-2 { background: #b22334; }
.petal-3 { background: #8f1e2c; }

@keyframes petalFall {
  0% { transform: translate3d(0, -4vh, 0) rotate(12deg); opacity: 0; }
  8% { opacity: 0.75; }
  85% { opacity: 0.55; }
  100% { transform: translate3d(var(--sway, 50px), 108vh, 0) rotate(340deg); opacity: 0; }
}

/* ---------- Intro overlay ---------- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: radial-gradient(ellipse at 50% 38%, #124534 0%, var(--green-950) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.9s ease;
}

#intro.leave { transform: translateY(-100%); opacity: 0.5; }

.intro-names {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(38px, 10vw, 96px);
  color: var(--gold-pale);
  line-height: 1.3;
  padding: 6px 18px 0;
  max-width: 94vw;
}

.intro-word { display: inline-block; white-space: nowrap; }

.intro-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) rotate(6deg);
  filter: blur(5px);
  animation: letterIn 0.6s ease forwards;
}

@keyframes letterIn {
  to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); }
}

.intro-cord { width: min(340px, 70vw); height: 40px; margin-top: 14px; }

.intro-cord svg { width: 100%; height: 100%; overflow: visible; }

.intro-cord .div-line,
.intro-cord .div-ring-1 { stroke: var(--gold-light); }
.intro-cord .div-ring-2 { stroke: var(--blush); }
.intro-cord .div-dot { fill: var(--gold-light); }

.intro-verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 2.8vw, 21px);
  color: var(--gold-pale);
  max-width: 520px;
  line-height: 1.6;
  margin-top: 14px;
  padding: 0 24px;
  opacity: 0;
  animation: fadeUp 0.9s ease 2.1s forwards;
}

.intro-verse-ref {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.intro-skip {
  position: absolute;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(243, 231, 195, 0.5);
  opacity: 0;
  animation: fadeUp 0.9s ease 1.6s forwards;
}

body.intro-active { overflow: hidden; }

body.intro-active #hero,
body.intro-active #hero * { animation-play-state: paused !important; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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


/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    box-shadow: -10px 0 40px rgba(13, 53, 39, 0.15);
    transform: translateX(105%);
    transition: transform 0.4s ease;
  }

  .nav-links.open { transform: translateX(0); }

  #navBurger { display: flex; }

  #navBurger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #navBurger.open span:nth-child(2) { opacity: 0; }
  #navBurger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .form-row-2 { grid-template-columns: 1fr; }

  .floral-hero-left, .floral-hero-right { opacity: 0.55; }

  .hero-grid { display: flex; flex-direction: column; gap: 12px; }

  .hero-content { display: contents; }

  .hero-guest { order: 1; margin-bottom: 0; }

  .hero-photo-frame { order: 2; max-width: min(270px, 66vw); }

  .hero-names { order: 3; }

  .hero-invite { order: 4; margin: 0 auto; }

  .hero-content .cord-divider { order: 5; margin: 0 auto; }

  .hero-date { order: 6; margin-top: 0; }

  .hero-content .countdown { order: 7; margin-top: 10px; }

  .hero-content .hero-actions { order: 8; margin-top: 10px; }
}

@media (max-width: 480px) {
  #hero { padding: 96px 16px 70px; }

  .hero-names { order: 2; font-size: clamp(44px, 13vw, 54px); }

  .hero-photo-frame { order: 3; }

  .count-sep { display: none; }

  .countdown { gap: 8px; margin-top: 30px; }

  .count-box { min-width: 0; flex: 1; max-width: 82px; padding: 10px 8px; }

  .count-num { font-size: 26px; }

  .count-label { font-size: 9.5px; letter-spacing: 1.2px; }

  .hero-actions { flex-direction: column; align-items: center; width: 100%; margin-top: 30px; }

  .hero-actions .btn { width: 100%; max-width: 300px; text-align: center; }

  .hero-invite { font-size: 19px; padding: 0 12px; }

  .cord-divider { margin: 16px auto; }

  .intro-cord { margin-top: 10px; }

  .dress-note { padding: 18px 20px; }

  .rsvp-form { border-radius: 18px; }

  .footer-names { font-size: 40px; }
}

@media (max-width: 360px) {
  #navbar { padding: 10px 12px; }

  #navbar.scrolled { padding: 8px 12px; }

  .nav-monogram { font-size: 24px; }

  #langToggle { padding: 5px 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .div-line, .div-ring { stroke-dashoffset: 0; }
  .div-leaf, .div-dot { opacity: 1; }
  #intro, .petal { display: none !important; }
  .intro-letter, .intro-verse, .intro-skip { opacity: 1; transform: none; filter: none; }
}
