/* ======================================================
   Rian & Leni — Wedding Invitation
   Mobile-first, modern minimalist, soft romantic
   ====================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --cream: #faf5ec;
  --cream-2: #f5efe6;
  --sand: #efe3d0;
  --blush: #e8c5b8;
  --blush-soft: #f3dfd7;
  --sage: #a8b5a0;
  --sage-soft: #c9d2c2;
  --gold: #c9a961;
  --gold-soft: #dfc48a;
  --gold-dark: #a8894a;
  --ink: #3a342c;
  --ink-soft: #6b5842;
  --muted: #8c7f6e;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(58, 52, 44, 0.06);
  --shadow-md: 0 8px 30px rgba(58, 52, 44, 0.08);
  --shadow-lg: 0 20px 60px rgba(58, 52, 44, 0.14);

  --font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Jost', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-script: 'Imperial Script', 'Pinyon Script', cursive;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --max-w: 1120px;

  --safe-b: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-optical-sizing: auto;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
  letter-spacing: .005em;
}

body.is-locked { overflow: hidden; height: 100vh; }

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold-soft); color: var(--ink); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 8vw, 3.6rem);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: .5px;
  margin-bottom: 14px;
}

.section-sub {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--muted);
  max-width: 40ch;
  margin: 0 auto;
  line-height: 1.6;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-head.light .section-title,
.section-head.light .section-sub { color: var(--cream); }
.section-head.light .section-sub { opacity: .85; }
.section-head.light .eyebrow { color: var(--gold-soft); }

/* ---------- Layout ---------- */
.section {
  padding: 72px 0;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  min-height: 50px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              background .3s var(--ease), color .3s var(--ease);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--cream);
  box-shadow: 0 10px 30px rgba(168, 137, 74, .28);
}
.btn--primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-100%);
  transition: transform .8s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(168, 137, 74, .38); }
.btn--primary:hover::before { transform: translateX(100%); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gold);
}
.btn--outline:hover { background: var(--gold); color: var(--cream); }

.btn--soft {
  background: var(--cream-2);
  color: var(--ink);
  border: 1px solid rgba(201, 169, 97, .2);
}
.btn--soft:hover { background: var(--sand); border-color: var(--gold); }

/* ======================================================
   Loading Screen
   ====================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, var(--cream) 0%, var(--cream-2) 100%);
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.loader-ring {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 169, 97, .2);
  border-top-color: var(--gold);
  animation: ringSpin 1.2s linear infinite;
}

@keyframes ringSpin { to { transform: rotate(360deg); } }

.loader-monogram {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 300;
}
.loader-monogram span { animation: fadeUp 1s var(--ease-out) both; }
.loader-monogram .monogram-amp {
  color: var(--gold-dark);
  font-style: italic;
  animation-delay: .15s;
}
.loader-monogram span:nth-child(3) { animation-delay: .3s; }

.loader-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .9rem;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 12px;
}

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

/* ======================================================
   Cover / Envelope Overlay
   ====================================================== */
.cover {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  transition: opacity 1s var(--ease), transform 1s var(--ease), visibility 1s var(--ease);
}
.cover.is-gone {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
  pointer-events: none;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 22, 16, .55), rgba(28, 22, 16, .78)),
    url('../images/cover.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: slowZoom 14s ease-in-out infinite alternate;
}
.cover-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, .5) 100%);
  z-index: -1;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.cover-card {
  position: relative;
  width: min(92vw, 420px);
  padding: 46px 28px 42px;
  text-align: center;
  color: var(--cream);
  border: 1px solid rgba(223, 196, 138, .35);
  border-radius: var(--radius-md);
  background: rgba(58, 52, 44, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: coverIn 1.2s var(--ease-out) both;
}

@keyframes coverIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cover-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--gold-soft);
  opacity: .85;
}
.cover-corner--tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.cover-corner--tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.cover-corner--bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.cover-corner--br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

.cover-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
  color: var(--gold-soft);
}

.cover-names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 16vw, 5.6rem);
  line-height: .95;
  margin-bottom: 14px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cover-names > span { display: block; }
.cover-names .cover-amp {
  color: var(--gold-soft);
  font-size: .55em;
  line-height: 1;
  margin: -.05em 0;
  text-shadow: 0 2px 14px rgba(201, 169, 97, .45);
}

.cover-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-soft);
  margin: 10px 0 18px;
}
.ornament-line {
  display: block;
  width: 60px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.cover-date {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 3px;
  margin-bottom: 4px;
}
.cover-venue {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  opacity: .85;
  margin-bottom: 22px;
}

.cover-to {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(223, 196, 138, .25);
}
.cover-to-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.cover-to-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--cream);
}

.cover-btn {
  animation: btnPulse 2.2s ease-in-out infinite;
}
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(168, 137, 74, .35), 0 0 0 0 rgba(223, 196, 138, .35); }
  50% { box-shadow: 0 10px 30px rgba(168, 137, 74, .45), 0 0 0 12px rgba(223, 196, 138, 0); }
}

/* ======================================================
   Petals
   ====================================================== */
.petal-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.petal-layer--global {
  position: fixed;
  z-index: 4;
}

.petal {
  position: absolute;
  top: -10%;
  width: 14px;
  height: 14px;
  border-radius: 70% 15% 70% 15%;
  background: radial-gradient(circle at 30% 30%,
    rgba(255, 230, 220, .9),
    rgba(232, 197, 184, .85) 40%,
    rgba(201, 169, 97, .6) 100%);
  opacity: .7;
  filter: blur(.3px);
  animation: petalFall linear infinite;
  transform-origin: center;
  will-change: transform, opacity;
}
.petal--gold { background: radial-gradient(circle at 30% 30%, rgba(255, 240, 200, .9), rgba(223, 196, 138, .85)); }
.petal--sage { background: radial-gradient(circle at 30% 30%, rgba(210, 220, 200, .9), rgba(168, 181, 160, .85)); }

@keyframes petalFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: .7; }
  100% { transform: translate3d(60px, 110vh, 0) rotate(540deg); opacity: 0; }
}

/* ======================================================
   Hero — Stacked Editorial
   ====================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  padding: 70px 22px 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 22, 16, .42), rgba(28, 22, 16, .68)),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center 65%;
  z-index: -3;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at center, transparent 0%, rgba(28, 22, 16, .55) 100%),
    linear-gradient(180deg, rgba(28, 22, 16, .35) 0%, transparent 25%, transparent 75%, rgba(28, 22, 16, .55) 100%);
  z-index: -2;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .15;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Vertical side labels */
.hero-side-label {
  position: absolute;
  top: 50%;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: .55;
  white-space: nowrap;
  font-weight: 500;
}
.hero-side-label--l {
  left: 14px;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: left top;
}
.hero-side-label--r {
  right: 14px;
  transform: rotate(90deg) translateY(50%);
  transform-origin: right bottom;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: min(94vw, 600px);
}

/* "Save The Date" marker */
.hero-marker {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-line {
  display: block;
  width: clamp(36px, 10vw, 64px);
  height: 1px;
  background: var(--gold-soft);
  opacity: .7;
}
.hero-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
  white-space: nowrap;
}

/* Stacked Names with line ampersand */
.hero-names-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
}
.hero-name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(4.2rem, 22vw, 8rem);
  line-height: 1;
  color: var(--cream);
  text-shadow: 0 4px 36px rgba(0, 0, 0, .55);
  margin: 0;
  letter-spacing: .02em;
}
.hero-name--top { margin-bottom: -6px; }
.hero-name--bot { margin-top: -6px; }

.hero-amp {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 280px;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.hero-amp .amp-line {
  flex: 1;
  height: 1px;
  background: var(--gold-soft);
  opacity: .8;
}
.hero-amp .amp-char {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  color: var(--gold-soft);
  line-height: 1;
  text-shadow: 0 2px 14px rgba(201, 169, 97, .45);
}

/* Date Block */
.hero-date-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 8px 0;
  border-top: 1px solid rgba(223, 196, 138, .28);
  width: 100%;
  max-width: 360px;
}

.hero-date-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .9;
  font-weight: 500;
}
.hero-date-side--right { align-items: flex-start; }

.hero-date-day {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.95rem, 3vw, 1.1rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
}
.hero-date-mon {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.95rem, 3vw, 1.1rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 400;
}
.hero-date-yr {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--cream);
  opacity: .85;
}

.hero-date-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(3.6rem, 13vw, 5rem);
  line-height: .9;
  color: var(--cream);
  letter-spacing: -.02em;
  position: relative;
  padding: 0 8px;
  font-variant-numeric: lining-nums;
}
.hero-date-num::before,
.hero-date-num::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 1px;
  height: 70%;
  background: var(--gold-soft);
  opacity: .35;
  transform: translateY(-50%);
}
.hero-date-num::before { left: 0; }
.hero-date-num::after { right: 0; }

/* Venue */
.hero-venue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .85;
  font-weight: 500;
  padding: 0 8px;
}
.hero-venue svg { color: var(--gold-soft); flex-shrink: 0; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cream);
  opacity: .65;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.scroll-indicator:hover { opacity: 1; transform: translate(-50%, -2px); }

.scroll-text {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.scroll-arrow {
  display: block;
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, var(--gold-soft), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-soft);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ======================================================
   Ornament Divider (between sections)
   ====================================================== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 34px 24px;
  color: var(--gold);
}
.ornament .ornament-line {
  display: block;
  width: 50px;
  height: 1px;
  background: currentColor;
  opacity: .35;
}
.ornament svg { flex-shrink: 0; }

.ornament--light { color: var(--gold-soft); }
.ornament--light .ornament-line { opacity: .4; }

/* ======================================================
   Bride & Groom
   ====================================================== */
.couple {
  background: var(--cream);
  position: relative;
}

.couple-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.profile {
  text-align: center;
  padding: 22px 18px 26px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 97, .12);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.profile::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .7;
}

.profile-frame {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 12px auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .35), var(--shadow-md);
}
.profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.profile--bride .profile-frame img { object-position: center 35%; }
.profile--groom .profile-frame img { object-position: center 35%; }
.profile:hover .profile-frame img { transform: scale(1.08); }

.profile-halo {
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(201, 169, 97, .4);
  border-radius: 50%;
  animation: haloSpin 30s linear infinite;
  pointer-events: none;
}
@keyframes haloSpin { to { transform: rotate(360deg); } }

.profile-role {
  font-size: 10px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 8px;
}
.profile-name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}
.profile-bio {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  margin-bottom: 16px;
}
.profile-parents {
  color: var(--ink-soft);
  font-style: normal;
  font-weight: 500;
}

.profile-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--cream-2);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 1px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.profile-social:hover {
  background: var(--gold);
  color: var(--cream);
  transform: translateY(-2px);
}

.couple-amp {
  text-align: center;
  font-family: var(--font-script);
  color: var(--gold-dark);
  font-size: clamp(3rem, 12vw, 4.5rem);
  line-height: 1;
  position: relative;
}
.couple-amp::before,
.couple-amp::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: .4;
  vertical-align: middle;
  margin: 0 12px;
}

/* ======================================================
   Story / Timeline
   ====================================================== */
.story {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 6px; bottom: 6px;
  left: 22px;
  width: 1.5px;
  background: linear-gradient(180deg, transparent, var(--gold-soft) 10%, var(--gold-soft) 90%, transparent);
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  margin-bottom: 44px;
  display: grid;
  gap: 18px;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 14px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px var(--cream), 0 0 12px rgba(201, 169, 97, .4);
}

.timeline-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  position: relative;
  border: 1px solid rgba(201, 169, 97, .15);
}
.timeline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.timeline-item:hover .timeline-media img { transform: scale(1.05); }

.timeline-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 6px 12px;
  background: rgba(250, 245, 236, .92);
  backdrop-filter: blur(6px);
  color: var(--gold-dark);
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.timeline-body {
  padding: 0 4px;
}
.timeline-date {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
  font-weight: 500;
}
.timeline-body h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 4.4vw, 1.8rem);
  margin-bottom: 10px;
  color: var(--ink);
  line-height: 1.2;
}
.timeline-body p {
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.75;
}

/* ======================================================
   Event Details
   ====================================================== */
.event {
  background: var(--cream);
}

.event-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 97, .15);
  position: relative;
}

.event-date-block {
  padding: 32px 24px 26px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(239, 227, 208, .6) 0%, transparent 100%);
  border-bottom: 1px dashed rgba(201, 169, 97, .3);
  position: relative;
}
.event-date-block::before,
.event-date-block::after {
  content: '';
  position: absolute;
  bottom: -11px;
  width: 22px; height: 22px;
  background: var(--cream);
  border-radius: 50%;
}
.event-date-block::before { left: -11px; }
.event-date-block::after { right: -11px; }

.event-day {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-dark);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.event-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 10px;
}
.event-dm {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 13vw, 4.8rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 400;
  padding-right: 14px;
  border-right: 1px solid rgba(201, 169, 97, .35);
}
.event-mid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--font-serif);
  line-height: 1.1;
}
.event-mon {
  font-size: 1.4rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 500;
}
.event-yr {
  font-size: 1rem;
  color: var(--gold-dark);
  letter-spacing: 3px;
  font-style: italic;
}

.event-time {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: .95rem;
  letter-spacing: .5px;
}

.event-info {
  padding: 28px 24px 10px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.event-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
}

.event-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand), var(--cream));
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(201, 169, 97, .3);
}

.event-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 4px;
  font-weight: 500;
}
.event-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 4px;
}
.event-meta {
  color: var(--muted);
  font-size: .9rem;
  font-style: italic;
  font-family: var(--font-serif);
}

.event-map {
  min-height: 260px;
  background: var(--cream-2);
  position: relative;
  margin: 10px 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 97, .15);
}
.event-map iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  filter: saturate(.9) contrast(.95);
}

.event-actions {
  padding: 18px 24px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.event-actions .btn { width: 100%; }

/* ======================================================
   Gallery
   ====================================================== */
.gallery { background: var(--cream-2); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  grid-row: span 1;
  border: 1px solid rgba(201, 169, 97, .1);
}
.gallery-item--tall { grid-row: span 2; }

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(58, 52, 44, .35));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-item::before {
  content: '';
  position: absolute;
  top: 10px; right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(250, 245, 236, .9);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8894a' stroke-width='1.8' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3M11 8v6M8 11h6'/></svg>");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(.7);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 2;
}
.gallery-item:hover::before { opacity: 1; transform: scale(1); }

/* ======================================================
   Countdown
   ====================================================== */
.countdown {
  position: relative;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
  padding: 90px 0;
}

.countdown-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/countdown.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
}

.countdown-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 52, 44, .78), rgba(107, 88, 66, .78));
  backdrop-filter: blur(1px);
  z-index: -1;
}

.countdown-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.count-box {
  flex: 1;
  min-width: 0;
  background: rgba(250, 245, 236, .08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(250, 245, 236, .16);
  border-radius: var(--radius-md);
  padding: 22px 4px;
  text-align: center;
  transition: transform .4s var(--ease), background .3s var(--ease);
  position: relative;
}
.count-box::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 196, 138, .6), transparent);
}
.count-box:hover {
  transform: translateY(-4px);
  background: rgba(250, 245, 236, .12);
}

.count-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 10vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.count-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 500;
}

.count-sep {
  display: flex;
  align-items: center;
  color: var(--gold-soft);
  font-size: 1.4rem;
  opacity: .6;
  padding: 0 2px;
}

/* ======================================================
   RSVP + Wishes
   ====================================================== */
.rsvp { background: var(--cream); }

.rsvp-form {
  max-width: 560px;
  margin: 0 auto 40px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201, 169, 97, .12);
  position: relative;
}

.form-row { margin-bottom: 18px; }
.form-row:last-child { margin-bottom: 0; }

.field { display: block; }

.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
  font-weight: 500;
}
.field-label--center { text-align: center; }

.field input[type="text"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  min-height: 48px;
  border: 1.5px solid rgba(201, 169, 97, .2);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  font-size: 15px;
  transition: border .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease);
  font-family: var(--font-sans);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, .15);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: .7; }

/* Attendance toggle cards */
.attend-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.attend-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.attend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 10px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(201, 169, 97, .2);
  background: var(--cream);
  cursor: pointer;
  transition: border .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
  color: var(--ink-soft);
  text-align: center;
  min-height: 96px;
  justify-content: center;
}
.attend-card svg { color: var(--gold-dark); transition: color .3s var(--ease), transform .3s var(--ease); }
.attend-title {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.attend-sub {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.attend-toggle input:checked + .attend-card {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--sand), var(--cream));
  box-shadow: 0 0 0 4px rgba(201, 169, 97, .12), var(--shadow-sm);
}
.attend-toggle input:checked + .attend-card svg {
  color: var(--blush);
  transform: scale(1.08);
}
.attend-toggle input:focus-visible + .attend-card {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Guest Stepper */
.stepper {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 0;
  border: 1.5px solid rgba(201, 169, 97, .2);
  border-radius: var(--radius-sm);
  background: var(--cream);
  overflow: hidden;
  max-width: 220px;
  margin: 0 auto;
}
.stepper input {
  border: 0 !important;
  background: transparent !important;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.3rem !important;
  min-height: 48px !important;
  padding: 0 !important;
  color: var(--ink);
}
.stepper input:focus { box-shadow: none !important; }
.stepper-btn {
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  color: var(--gold-dark);
  background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.stepper-btn:hover {
  background: var(--gold);
  color: var(--cream);
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.rsvp-submit {
  width: 100%;
  max-width: 280px;
  position: relative;
}
.rsvp-submit .btn-loader {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.rsvp-submit.is-loading .btn-text { display: none; }
.rsvp-submit.is-loading .btn-loader { display: inline-block; }

@keyframes spin { to { transform: rotate(360deg); } }

.rsvp-toast {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sage);
  opacity: 0;
  transition: opacity .4s var(--ease);
  font-size: 1.05rem;
  min-height: 1em;
}
.rsvp-toast.is-visible { opacity: 1; }

/* Wishes Wall */
.wishes {
  max-width: 680px;
  margin: 0 auto;
}
.wishes-title {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.wishes-count {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gold);
  color: var(--cream);
  font-size: .7em;
  border-radius: var(--radius-full);
  margin-left: 6px;
  letter-spacing: 1px;
  vertical-align: middle;
  font-family: var(--font-sans);
}

.wishes-list {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow-y: auto;
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-soft) transparent;
}
.wishes-list::-webkit-scrollbar { width: 6px; }
.wishes-list::-webkit-scrollbar-thumb { background: var(--gold-soft); border-radius: 6px; }

.wish {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  border: 1px solid rgba(201, 169, 97, .12);
  box-shadow: var(--shadow-sm);
  position: relative;
  animation: wishIn .5s var(--ease-out) both;
}
@keyframes wishIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.wish-msg {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.wish-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.wish-name {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  font-weight: 500;
}
.wish-badge {
  font-size: 9px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.wish-badge--yes {
  background: rgba(168, 181, 160, .22);
  color: #5d6b54;
}
.wish-badge--no {
  background: rgba(232, 197, 184, .3);
  color: #9c5f4f;
}

/* ======================================================
   Closing
   ====================================================== */
.closing {
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.closing-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/closing.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.closing-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 52, 44, .55), rgba(58, 52, 44, .75));
  z-index: -1;
}

.closing-inner {
  padding: 70px 22px;
  max-width: 680px;
}

.closing-heart {
  color: var(--gold-soft);
  margin: 0 auto 18px;
  opacity: .9;
}

.closing-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 3.8vw, 1.45rem);
  line-height: 1.65;
  color: var(--cream);
  margin-bottom: 26px;
}

.closing-divider {
  width: 80px;
  height: 1px;
  background: var(--gold-soft);
  margin: 0 auto 24px;
  position: relative;
}
.closing-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.closing-thanks {
  font-family: var(--font-serif);
  font-size: clamp(.9rem, 2.6vw, 1.05rem);
  color: var(--gold-soft);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.closing-names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 13vw, 6rem);
  line-height: 1;
  color: var(--cream);
  margin-bottom: 14px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .4);
}
.closing-names span { color: var(--gold-soft); }

.closing-date {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--cream);
  opacity: .85;
  font-size: 1rem;
  letter-spacing: 1.5px;
  margin-bottom: 32px;
}

.closing-credit {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-soft);
  opacity: .7;
}
.closing-credit span { color: var(--blush); }

/* ======================================================
   Floating Bottom Nav
   ====================================================== */
.floating-nav {
  position: fixed;
  left: 50%;
  bottom: calc(14px + var(--safe-b));
  transform: translate(-50%, 20px);
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: var(--radius-full);
  background: rgba(250, 245, 236, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 169, 97, .25);
  box-shadow: 0 10px 30px rgba(58, 52, 44, .14);
  z-index: 70;
  opacity: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.floating-nav.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.fn-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: background .3s var(--ease), color .3s var(--ease),
              transform .3s var(--ease);
}
.fn-link:hover { color: var(--gold-dark); transform: translateY(-2px); }
.fn-link.is-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--cream);
  box-shadow: 0 6px 16px rgba(168, 137, 74, .35);
}


/* ======================================================
   Lightbox
   ====================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 20, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { display: flex; opacity: 1; }

.lightbox-stage {
  max-width: 94vw;
  max-height: 86vh;
  display: grid;
  place-items: center;
}
.lightbox-img {
  max-width: 94vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
  animation: lightboxPop .4s var(--ease-out);
}

@keyframes lightboxPop {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  color: var(--cream);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(250, 245, 236, .1);
  border: 1px solid rgba(250, 245, 236, .18);
  backdrop-filter: blur(6px);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(250, 245, 236, .22); }
.lightbox-close:active, .lightbox-nav:active { transform: scale(.92); }

.lightbox-close {
  top: calc(16px + env(safe-area-inset-top, 0));
  right: 16px;
  font-size: 26px;
  line-height: 1;
  font-family: var(--font-sans);
}
.lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ======================================================
   Reveal / Scroll Animations
   ====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg, .cover-bg, .petal, .profile-halo { animation: none !important; }
}

/* ======================================================
   Responsive — Tablet
   ====================================================== */
@media (min-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 96px 0; }
  .container { padding: 0 32px; }

  .cover-card { padding: 56px 38px 50px; }
  .hero-content { gap: 38px; }
  .hero-date-block { max-width: 420px; }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 14px;
  }

  .event-actions { grid-template-columns: 1fr 1fr; }

  .couple-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: center;
  }
  .couple-amp { padding: 0 6px; }
  .couple-amp::before, .couple-amp::after { display: none; }

  .attend-card { padding: 22px 12px; min-height: 110px; }

  .rsvp-form { padding: 40px 36px; }
}

/* ======================================================
   Responsive — Desktop
   ====================================================== */
@media (min-width: 900px) {
  .section { padding: 120px 0; }
  .section-head { margin-bottom: 56px; }
  .ornament { padding: 44px 24px; }

  .timeline::before { left: 50%; transform: translateX(-50%); }

  .timeline-item {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-left: 0;
  }
  .timeline-item::before {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px var(--cream), 0 0 16px rgba(201, 169, 97, .4);
  }
  .timeline-item .timeline-body {
    padding-right: 40px;
    text-align: right;
  }
  .timeline-item--alt { direction: rtl; }
  .timeline-item--alt > * { direction: ltr; }
  .timeline-item--alt .timeline-body {
    padding-right: 0;
    padding-left: 40px;
    text-align: left;
  }

  .event-card { max-width: 640px; }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 18px;
  }

  .countdown-grid { gap: 12px; max-width: 680px; }
  .count-box { padding: 30px 14px; }

  .rsvp-form { padding: 48px 44px; }

  .floating-nav { bottom: calc(22px + var(--safe-b)); padding: 7px; }
  .fn-link { width: 44px; height: 44px; }
}

@media (min-width: 1200px) {
  .floating-nav { bottom: calc(28px + var(--safe-b)); }
}

/* Reveal delay helpers */
.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }
