/* Kari & Anton — Style D locked site-wide
   Dried fan palms + silver-dollar eucalyptus + pampas wreath frames
   Cream/ivory ground · Terracotta/cognac names & CTAs · Sage leaves
   Light & Elegant palette hexes retained; cognac bias for type/CTAs. */

:root {
  --ivory: #F4EBDD;
  --soft-cream: #E8D8BE;
  --muted-sage: #A7AD8A;
  --soft-olive: #858764;
  --olive-deep: #5D6347;
  --stone: #C8BBA5;
  --cognac: #9A613D;
  --wood: #9A613D;          /* cognac as warm wood / bamboo accent */
  --wood-soft: #C8BBA5;     /* stone as weathered / cane tone */
  --warm-gold: #9A613D;     /* cognac for script accents */
  --ink: #3A3228;
  --ink-soft: #52483C;
  --muted: #6E6458;
  --cream: #FCF7EF;
  --panel: #F0EBD9;
  --cognac-soft: rgba(154, 97, 61, 0.14);
  --sage-soft: rgba(167, 173, 138, 0.42);
  --olive-soft: rgba(133, 135, 100, 0.30);
  --border: rgba(133, 135, 100, 0.34);
  --border-strong: rgba(133, 135, 100, 0.62);
  --shadow-soft: 0 8px 28px rgba(83, 88, 59, 0.10);
  --shadow-clay: 0 14px 40px rgba(83, 88, 59, 0.14), 0 2px 0 rgba(251, 247, 240, 0.6) inset;
  --shadow-emboss: 0 1px 0 rgba(251, 247, 240, 0.7) inset, 0 10px 32px rgba(83, 88, 59, 0.10);
  --radius: 6px;
  --radius-card: 10px;
  --header-h: 64px;
  --sticky-cta-h: 72px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, sans-serif;
  --max: 1080px;
  --narrow: 640px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scroll-padding-bottom: calc(var(--sticky-cta-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--sticky-cta-h) + env(safe-area-inset-bottom, 0px));
}

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

a {
  color: var(--cognac);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--olive-deep);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.85rem, 11vw, 5rem); letter-spacing: 0.04em; }
h2 { font-size: clamp(2rem, 5.5vw, 2.75rem); letter-spacing: 0.02em; }
h3 { font-size: clamp(1.35rem, 3vw, 1.65rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2rem, var(--narrow));
}

.narrow { max-width: var(--narrow); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.55rem 1.15rem;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(154, 97, 61, 0.12);
  box-shadow: none;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--cognac);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand:hover { color: var(--olive-deep); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--soft-cream);
  outline: none;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cognac);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 1rem 1.25rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.nav-open .site-nav { display: flex; }

.site-nav a {
  display: block;
  padding: 0.85rem 1rem;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cognac);
  text-decoration: none;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--cognac-soft);
  color: var(--cognac);
  outline: none;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.1rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .site-nav a {
    padding: 0.5rem 0.55rem;
    min-height: auto;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--cognac);
  color: var(--cream);
  border-color: var(--cognac);
  box-shadow: 0 6px 18px rgba(154, 97, 61, 0.28);
}

.btn-primary:hover {
  background: var(--cognac);
  border-color: var(--cognac);
  color: var(--cream);
}

.btn-secondary {
  background: transparent;
  color: var(--cognac);
  border-color: var(--cognac);
}

.btn-secondary:hover {
  background: var(--cognac-soft);
  color: var(--cognac);
  border-color: var(--cognac);
}

.hero .btn-primary {
  border-radius: 4px;
  padding-inline: 2rem;
}

.hero .btn-secondary {
  color: var(--cognac);
  border-color: var(--cognac);
  background: transparent;
  border-radius: 4px;
  padding-inline: 2rem;
}

.hero .btn-secondary:hover {
  background: var(--cognac-soft);
  color: var(--cognac);
  border-color: var(--cognac);
}

.btn-arrow {
  font-weight: 400;
  letter-spacing: 0;
}

.btn-block {
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.85rem;
}

.hero-actions .btn {
  min-width: 148px;
}

/* —— Sticky bottom CTA bar —— */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
  min-height: var(--sticky-cta-h);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(244, 235, 221, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(154, 97, 61, 0.28);
  box-shadow: 0 -6px 24px rgba(154, 97, 61, 0.08);
}

.sticky-cta .btn {
  flex: 1 1 0;
  max-width: 280px;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
}

.sticky-cta .btn-secondary {
  background: transparent;
  border-color: var(--cognac);
  color: var(--cognac);
}

.sticky-cta .btn-secondary:hover {
  background: var(--cognac-soft);
  color: var(--cognac);
}

/* —— Hero landing (first viewport) — match mockup —— */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--cream);
}

/* First screen: cream + wreath top/bottom + invite stack */
.hero-landing {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100svh - var(--header-h) - var(--sticky-cta-h));
  padding: 0 1rem 0;
  overflow: hidden;
  background: var(--cream);
}

.hero-ground {
  position: absolute;
  inset: 0;
  background: var(--cream);
  pointer-events: none;
}

.hero-botanical {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.botanical {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.botanical-wreath-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(118vw, 720px);
  max-width: none;
  height: auto;
  opacity: 1;
  z-index: 0;
  object-fit: contain;
  object-position: top center;
  background: transparent;
  /* organic PNG — no cream box, no crop */
}

.botanical-wreath-bot {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(122vw, 760px);
  max-width: none;
  height: auto;
  opacity: 1;
  z-index: 0;
  object-fit: contain;
  object-position: bottom center;
  background: transparent;
}

/* Corner frames / pampas no longer used on landing */
.botanical-tl,
.botanical-tr,
.botanical-bl,
.botanical-br,
.botanical-pampa-l,
.botanical-pampa-r {
  display: none !important;
}

.invite-stage {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin-top: clamp(4.5rem, 14vw, 7.5rem);
  padding: 0 0.25rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.invite-inner {
  position: relative;
  z-index: 1;
  padding: 0.25rem 0.75rem 7.5rem;
  text-align: center;
  background: transparent;
}

/* Slim all-caps spaced nav under greenery */
.landing-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem 1.15rem;
  margin: 0 auto 1.35rem;
  padding: 0;
}

.landing-nav a {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.35rem 0;
}

.landing-nav a:hover,
.landing-nav a:focus-visible {
  color: var(--cognac);
  outline: none;
}

.hero-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cognac);
}

.hero-date span {
  white-space: nowrap;
}

.date-flourish {
  width: 88px;
  height: auto;
  flex-shrink: 0;
  opacity: 0.95;
}

.date-flourish-flip {
  transform: scaleX(-1);
}

.hero-leaf {
  display: block;
  width: 44px;
  height: auto;
  margin: 0 auto 0.85rem;
  opacity: 0.95;
}

.hero h1 {
  display: block;
  color: var(--cognac);
  margin: 0.05em 0 0.55em;
  text-shadow: none;
  font-weight: 600;
  font-size: clamp(2.85rem, 12vw, 4.8rem);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.05;
  font-family: var(--font-display);
}

.hero h1 .amp {
  font-style: italic;
  font-weight: 400;
  padding: 0 0.08em;
}

.hero-heart {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin: 0 0.2rem;
}

.diamond-divider {
  display: block;
  width: min(200px, 55vw);
  height: auto;
  margin: 0.95rem auto;
  opacity: 0.9;
}

.diamond-divider-sm {
  width: min(140px, 40vw);
  margin: 0.65rem auto 0;
}

.hero-tagline-frame {
  margin: 0.35rem auto 0.15rem;
  max-width: 26rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.02rem, 2.6vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 26rem;
  margin: 0 auto;
}

.hero-closing-wrap {
  margin-top: 1.75rem;
  position: relative;
  z-index: 1;
}

.hero-closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.02rem, 2.6vw, 1.2rem);
  color: var(--cognac);
  margin: 0;
}

.hero-closing .hero-heart {
  margin: 0;
}

/* Primary location line (spaced caps) */
.hero-place-sub {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cognac);
  margin: 0 0 0.35em;
}

/* Secondary venue name */
.hero-place {
  font-family: var(--font-body);
  font-size: clamp(0.65rem, 1.8vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.15em;
}

.hero-meta {
  display: none; /* not on mockup first screen */
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.35rem;
}

.hero-actions .btn {
  min-width: 180px;
  border-radius: 6px;
  padding-inline: 2.25rem;
}

.hero .btn-primary {
  border-radius: 6px;
  padding-inline: 2.25rem;
}

.hero .btn-secondary {
  display: none; /* Book/RSVP live in sticky bar only on first screen */
}

/* Content below first viewport */
.below-fold {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 2rem 1rem 0.5rem;
  background: var(--cream);
}

@media (min-width: 720px) {
  .hero-landing {
    min-height: calc(100svh - var(--header-h) - var(--sticky-cta-h));
  }

  .botanical-wreath-top {
    width: min(90vw, 880px);
    top: 0;
  }

  .botanical-wreath-bot {
    width: min(96vw, 940px);
    bottom: 0;
  }

  .invite-stage {
    width: min(100%, 620px);
    margin-top: clamp(6rem, 12vw, 9rem);
  }

  .invite-inner {
    padding: 0.5rem 1.5rem 8.5rem;
  }

  .landing-nav {
    gap: 0.25rem 1.75rem;
    margin-bottom: 1.6rem;
  }

  .landing-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
  }
}

/* —— Countdown —— */
.countdown {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  margin: 0 auto;
  text-align: center;
  padding: 1.15rem 1rem;
  background: rgba(244, 235, 221, 0.75);
  border: 1px solid rgba(154, 97, 61, 0.22);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-card);
}

.countdown-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cognac);
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border: none;
  background: transparent;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.35rem;
  border: 1px solid rgba(154, 97, 61, 0.22);
  border-radius: 6px;
  background: var(--cream);
  box-shadow: inset 0 1px 0 rgba(251, 247, 240, 0.7);
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 2.15rem);
  font-weight: 600;
  color: var(--cognac);
  line-height: 1;
  letter-spacing: 0.02em;
  min-width: 2ch;
}

.countdown-unit-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-done {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  color: var(--cognac);
  margin: 0.5rem 0 0;
}

/* —— Destination wavy band —— */
.destination-band {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 0;
  color: var(--ink);
  background: linear-gradient(180deg, var(--soft-cream), var(--ivory));
  border-top: 1px solid rgba(154, 97, 61, 0.18);
  border-bottom: 1px solid rgba(154, 97, 61, 0.18);
}

.destination-wave {
  display: none; /* Style D: clean stationery — no heavy olive/sand wave */
}

.destination-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.destination-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.75rem 0 2.35rem;
  display: grid;
  gap: 1.75rem;
  text-align: center;
}

.destination-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cognac);
  margin: 0 0 0.55em;
}

.destination-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 36rem;
  margin-inline: auto;
}

.destination-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  justify-items: center;
}

.destination-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  max-width: 9.5rem;
}

.dest-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(154, 97, 61, 0.4);
  border-radius: 50%;
  color: var(--cognac);
}

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

.dest-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cognac);
  line-height: 1.35;
}

.hero-mood {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 720px);
  margin: 2rem auto 2.75rem;
  border: 1px solid rgba(154, 97, 61, 0.35);
  padding: 0.55rem;
  background:
    linear-gradient(180deg, var(--soft-cream), var(--cream));
  box-shadow: var(--shadow-soft);
  border-radius: 2px;
}

.hero-mood img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.92) contrast(1.02);
}

@media (min-width: 720px) {
  .countdown {
    width: min(100%, 560px);
    padding: 1.5rem 1.5rem;
  }

  .destination-inner {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    text-align: left;
    padding: 2rem 0 2.75rem;
    gap: 2.5rem;
  }

  .destination-lead {
    margin-inline: 0;
  }

  .destination-icons {
    justify-items: center;
  }
}

@media (max-width: 520px) {
  .botanical-wreath-top {
    width: min(118vw, 640px);
    opacity: 1;
    object-fit: contain;
  }

  .botanical-wreath-bot {
    width: min(122vw, 680px);
    opacity: 1;
    object-fit: contain;
  }

  /* old corner SVG blobs stay hidden */
  .botanical-tl,
  .botanical-tr,
  .botanical-bl,
  .botanical-br,
  .botanical-pampa-l,
  .botanical-pampa-r {
    display: none !important;
  }

  .hero-leaf {
    width: 42px;
  }

  .destination-icons {
    gap: 0.65rem;
  }

  .dest-label {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(232, 216, 190, 0.4), rgba(251, 247, 240, 0.95)),
    var(--ivory);
}

.section-alt::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cognac), transparent);
  opacity: 0.28;
}

/* Style D cream stationery rhythm */
#welcome,
#travel,
#schedule,
#rsvp {
  background: var(--cream);
}

#ceremony,
#stay,
#gallery,
#songs {
  background:
    linear-gradient(180deg, rgba(232, 216, 190, 0.35), rgba(251, 247, 240, 0.9)),
    var(--ivory);
}

.section-heading {
  text-align: center;
  margin-bottom: 1.75rem;
}

.section-heading h2 {
  color: var(--cognac);
  margin-bottom: 0.35rem;
}

.section-leaf {
  display: block;
  width: 48px;
  height: auto;
  margin: 0 auto 0.65rem;
  opacity: 0.95;
}

.section-divider {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--cognac);
  display: block;
  text-align: center;
  padding: 0;
  border-left: none;
  background: transparent;
  margin-bottom: 0.35rem;
}

.section-intro {
  margin-bottom: 2rem;
  color: var(--muted);
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  color: var(--ink-soft);
}

.section-welcome .lead {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink);
}


/* —— Our wedding style note (boho + rustic) —— */
.style-note {
  margin-top: 2.25rem;
  padding: 1.5rem 1.35rem 1.6rem;
  background:
    linear-gradient(180deg, rgba(251, 247, 240, 0.98), rgba(232, 216, 190, 0.45));
  border: 1px solid rgba(200, 187, 165, 0.7);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.style-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--cognac), var(--muted-sage), var(--cognac));
}

.style-note-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cognac);
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

.style-note-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.65rem;
  letter-spacing: 0.02em;
}

.style-note p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* —— Cards —— */
.card-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.card-grid.two {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .card-grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

.info-card,
.price-card {
  background: var(--cream);
  border: 1px solid rgba(154, 97, 61, 0.22);
  border-left: 3px solid var(--cognac);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.info-card::before,
.price-card::before {
  content: none;
}

.info-card-icon {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--cognac);
}

.info-card-icon img {
  display: block;
  width: 36px;
  height: auto;
  opacity: 0.9;
}

.deco-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border-strong);
  color: var(--soft-olive);
  font-size: 0.95rem;
  background: var(--sage-soft);
}

.info-card-meta {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cognac);
  margin-bottom: 0.35em;
}

.info-card-place {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.25em;
}

/* —— Split / travel —— */
.split {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.checklist li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--cognac);
  font-size: 0.65rem;
  top: 0.9rem;
}

.aside-card {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-card);
  border: 1px solid rgba(154, 97, 61, 0.28);
  box-shadow: var(--shadow-soft);
  padding: 1.75rem 1.5rem;
  position: relative;
}

.aside-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(154, 97, 61, 0.12);
  pointer-events: none;
}

.aside-card h3 {
  color: var(--cognac);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.timeline-mini {
  margin: 0 0 1.25rem;
}

.timeline-mini > div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(154, 97, 61, 0.15);
}

.timeline-mini dt {
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cognac);
}

.timeline-mini dd {
  margin: 0;
  color: var(--ink-soft);
}

.aside-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.aside-note a {
  color: var(--cognac);
  text-decoration: underline;
}

.aside-note a:hover {
  color: var(--olive-deep);
}

/* —— Schedule —— */
.schedule {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-left: 2px solid rgba(154, 97, 61, 0.35);
}

.schedule li {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 0 0 2rem 1.5rem;
}

.schedule li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  background: var(--cognac);
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 2px rgba(154, 97, 61, 0.25);
  border-radius: 1px;
}

.schedule li:last-child { padding-bottom: 0; }

.schedule-time {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cognac);
}

.schedule strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.2em;
}

.schedule p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 560px) {
  .schedule li {
    grid-template-columns: 9.5rem 1fr;
    gap: 1.25rem;
  }
}

/* —— Pricing / Stay —— */
.price-card.featured {
  border-color: var(--cognac);
  background:
    linear-gradient(180deg, rgba(154, 97, 61, 0.08), transparent 42%),
    var(--cream);
}

.price-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cognac);
  margin-bottom: 0.75rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.35em;
}

.price-amount span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.price-room {
  font-weight: 500;
  color: var(--cognac);
  margin-bottom: 1rem;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.price-card li {
  padding: 0.4rem 0 0.4rem 1.35rem;
  position: relative;
  color: var(--muted);
  font-size: 0.98rem;
}

.price-card li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--cognac);
  font-size: 0.55rem;
  top: 0.7rem;
}

.deposit-bar {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius-card);
  font-size: 0.98rem;
  border: 1px solid rgba(154, 97, 61, 0.28);
  border-top: 3px solid var(--cognac);
}

.deposit-bar a {
  color: var(--cognac);
}

.deposit-bar a:hover {
  color: var(--olive-deep);
}

@media (min-width: 700px) {
  .deposit-bar {
    grid-template-columns: 1fr 1fr;
  }
  .deposit-bar > div:last-child {
    grid-column: 1 / -1;
  }
}

/* —— Forms —— */
.wedding-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.5rem;
  padding: 1.5rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-emboss);
  border-radius: var(--radius-card);
}

.wedding-form label,
.wedding-form fieldset {
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: none;
  padding: 0;
  margin: 0;
}

.wedding-form legend {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  padding: 0;
}

.wedding-form input[type="text"],
.wedding-form input[type="email"],
.wedding-form input[type="number"],
.wedding-form select,
.wedding-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--ivory);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.wedding-form input:focus,
.wedding-form select:focus,
.wedding-form textarea:focus {
  outline: none;
  border-color: var(--cognac);
  box-shadow: 0 0 0 3px rgba(154, 97, 61, 0.18);
}

.wedding-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23858764' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.radio-row {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .radio-row {
    grid-template-columns: 1fr 1fr;
  }
}

.radio {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
}

.radio:has(input:checked) {
  border-color: var(--cognac);
  background: var(--cognac-soft);
}

.radio input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--cognac);
  flex-shrink: 0;
}

.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* —— Gallery —— */
.gallery-group-title {
  margin: 2.25rem 0 1rem;
  color: var(--cognac);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
}

.gallery-group-title:first-of-type {
  margin-top: 0.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .gallery-item-wide {
    grid-column: span 2;
  }
}

.gallery-item {
  margin: 0;
  background: var(--cream);
  border: 1px solid rgba(154, 97, 61, 0.2);
  border-left: 3px solid var(--cognac);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  padding: 0.35rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-item figcaption {
  padding: 0.65rem 0.55rem 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream);
}

.gallery-note {
  margin-top: 1.75rem;
}

.gallery-note code {
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: var(--soft-cream);
  border-radius: 2px;
  color: var(--ink);
}

/* Section underlines replaced by Style D diamond dividers in markup */

/* —— Footer —— */
.site-footer {
  padding: 3.5rem 0 2.75rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(196, 168, 130, 0.2), transparent 60%),
    var(--cream);
  color: var(--ink-soft);
  text-align: center;
  border-top: 1px solid rgba(154, 97, 61, 0.22);
  position: relative;
  overflow: hidden;
}

.footer-wreath {
  display: block;
  width: min(320px, 70vw);
  height: auto;
  margin: 0 auto 1rem;
  opacity: 0.85;
  pointer-events: none;
}

.footer-leaf {
  margin-bottom: 0.75rem;
}

.footer-names {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--cognac);
  margin-bottom: 0.35em;
  letter-spacing: 0.04em;
}

.footer-closing {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cognac);
  margin: 0.75rem 0 1rem;
}

.site-footer a {
  color: var(--cognac);
}

.site-footer a:hover {
  color: var(--olive-deep);
}

.site-footer .muted {
  color: var(--muted);
}

.footer-links {
  margin: 1rem 0;
}

.footer-fine {
  margin-top: 1.5rem;
  opacity: 0.75;
}

.section-welcome,
#songs,
#rsvp {
  text-align: left;
}

@media (min-width: 640px) {
  .section {
    padding: 5.5rem 0;
  }

  .wedding-form {
    padding: 1.85rem 1.75rem;
  }
}

/* —— Visually hidden (a11y) —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* —— Altar-inspired section accents (rose + eucalyptus + pampa) —— */
.section-accent {
  display: block;
  width: min(200px, 55vw);
  height: auto;
  margin: 0.15rem auto 1.1rem;
  opacity: 0.92;
  pointer-events: none;
  user-select: none;
}



/* —— Style D extras —— */
.orn-line {
  display: inline-block;
  height: 1px;
  width: 48px;
  background: var(--cognac);
  opacity: 0.55;
  vertical-align: middle;
}

.orn-diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--cognac);
  transform: rotate(45deg);
  vertical-align: middle;
}

.section-accent {
  display: none; /* replaced by leaf sprig + diamond divider */
}

.hero-mood {
  border-color: rgba(154, 97, 61, 0.28);
}

.price-amount {
  color: var(--cognac);
}

.deco-glyph {
  color: var(--cognac);
  border-color: rgba(154, 97, 61, 0.35);
  background: var(--cognac-soft);
}

.sticky-cta {
  background: rgba(251, 247, 240, 0.96);
}

.hero {
  background: var(--cream);
}

.hero-ornate {
  background: var(--cream);
  padding-bottom: 3rem;
}

.invite-inner {
  padding-top: clamp(3.5rem, 10vw, 5.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.section-welcome .lead,
.section-welcome > .container > p,
#rsvp .section-intro,
#songs .section-intro {
  text-align: left;
}
.section-welcome .section-heading,
#rsvp .section-heading,
#songs .section-heading,
#schedule .section-heading {
  text-align: center;
}


/* —— Landing viewport polish (mockup match) —— */
.hero-landing {
  min-height: calc(100svh - var(--header-h) - var(--sticky-cta-h));
  justify-content: space-between;
}

.invite-stage {
  margin-top: clamp(11rem, 28vw, 14rem);
  width: min(100%, 520px);
}

.invite-inner {
  padding: 0.15rem 0.5rem 8.5rem;
}

.landing-nav {
  margin-bottom: 0.95rem;
  gap: 0.1rem 0.95rem;
}

.landing-nav a {
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  color: var(--ink-soft);
}

.hero-leaf {
  width: 40px;
  margin-bottom: 0.55rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 11.5vw, 4.4rem);
  margin: 0.05em 0 0.35em;
}

.hero-date {
  margin-bottom: 0.45rem;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  letter-spacing: 0.26em;
}

.hero-place-sub {
  letter-spacing: 0.3em;
  font-size: clamp(0.7rem, 1.9vw, 0.8rem);
  margin-bottom: 0.2em;
}

.hero-place {
  margin-bottom: 0.55em;
  opacity: 0.85;
}

.hero-tagline-frame {
  margin: 0.15rem auto 0.05rem;
}

.diamond-divider {
  margin: 0.7rem auto;
  width: min(180px, 50vw);
}

.hero-tagline {
  font-size: clamp(0.98rem, 2.5vw, 1.12rem);
  line-height: 1.5;
  max-width: 22rem;
}

.hero-actions {
  margin-top: 1.05rem;
}

.hero-actions .btn-primary {
  min-width: 168px;
  min-height: 48px;
  border-radius: 6px;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  padding: 0.7rem 1.75rem;
}

.hero-closing-wrap {
  margin-top: 1.25rem;
}

.hero-closing {
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
}

.botanical-wreath-top {
  top: 0;
  width: min(118vw, 720px);
  object-fit: contain;
  background: transparent;
}

.botanical-wreath-bot {
  bottom: 0;
  width: min(122vw, 760px);
  opacity: 1;
  object-fit: contain;
  background: transparent;
}

.hero-ornate { display: none !important; }

@media (max-height: 780px) {
  .invite-inner { padding-bottom: 5.5rem; }
  .landing-nav { margin-bottom: 0.7rem; }
  .hero-closing-wrap { margin-top: 0.85rem; }
  .hero-actions { margin-top: 0.85rem; }
  .botanical-wreath-bot { bottom: 0; }
}


/* —— Pixabay photographic section accents (Style D) —— */
.section {
  position: relative;
  overflow: hidden;
}

.section-florals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.section > .container,
.section > .container.narrow {
  position: relative;
  z-index: 1;
}

.section-floral {
  position: absolute;
  display: block;
  width: clamp(88px, 18vw, 160px);
  height: auto;
  opacity: 0.42;
  user-select: none;
  -webkit-user-drag: none;
  filter: saturate(0.92);
}

.section-floral-tl {
  top: 0.75rem;
  left: -0.35rem;
  transform: rotate(-8deg);
}

.section-floral-br {
  right: -0.5rem;
  bottom: 0.5rem;
  transform: rotate(12deg) scaleX(-1);
  width: clamp(72px, 15vw, 140px);
  opacity: 0.38;
}

#ceremony .section-floral-tl { width: clamp(70px, 14vw, 120px); opacity: 0.4; }
#travel .section-floral-br { width: clamp(90px, 16vw, 150px); }
#stay .section-floral-tl { transform: rotate(6deg); }
#gallery .section-floral-br { opacity: 0.35; }
#rsvp .section-floral-tl { opacity: 0.36; }

@media (min-width: 900px) {
  .section-floral {
    width: clamp(110px, 12vw, 180px);
    opacity: 0.48;
  }
  .section-floral-tl { left: 0.5rem; top: 1rem; }
  .section-floral-br { right: 0.75rem; bottom: 1rem; width: clamp(100px, 11vw, 160px); }
}

@media (max-width: 520px) {
  .section-floral {
    width: clamp(64px, 22vw, 100px);
    opacity: 0.34;
  }
}

/* Footer photographic strip */
.footer-wreath {
  width: min(320px, 72vw);
  margin: 0 auto 0.75rem;
  opacity: 0.9;
  object-fit: contain;
  object-position: bottom center;
  max-height: none;
  height: auto;
  background: transparent;
}

/* —— Desktop organic wreath polish (critical) —— */
@media (min-width: 900px) {
  .hero-landing {
    min-height: calc(100svh - var(--header-h) - var(--sticky-cta-h));
    padding: 0 1.5rem;
    overflow: hidden;
  }

  .hero-botanical {
    overflow: visible;
  }

  .botanical-wreath-top {
    top: -1.5%;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 1100px);
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: top center;
    background: transparent;
  }

  .botanical-wreath-bot {
    bottom: -2%;
    left: 50%;
    transform: translateX(-50%);
    width: min(94vw, 1150px);
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    background: transparent;
  }

  .invite-stage {
    width: min(100%, 640px);
    margin-top: clamp(7.5rem, 11vw, 11rem);
    margin-inline: auto;
  }

  .invite-inner {
    padding: 0.75rem 1.75rem 9.5rem;
  }

  .landing-nav {
    gap: 0.35rem 2rem;
    margin-bottom: 1.5rem;
  }

  .landing-nav a {
    font-size: 0.74rem;
    letter-spacing: 0.3em;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 5.5vw, 4.85rem);
  }

  .hero-tagline {
    max-width: 26rem;
    font-size: 1.12rem;
  }

  /* Sticky RSVP + Book trip remains fixed at bottom */
  .sticky-cta {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .botanical-wreath-top {
    width: min(92vw, 1180px);
  }

  .botanical-wreath-bot {
    width: min(96vw, 1240px);
  }

  .invite-stage {
    width: min(100%, 680px);
    margin-top: clamp(8rem, 10vw, 12rem);
  }
}

/* —— Hide Netlify Drop "Powered by" badge (covers sticky Book trip on mobile) —— */
a[href*="netlify.com"][target="_blank"]:has(img),
a[href*="netlify.com"].netlify-badge,
#netlify-badge,
[data-netlify-badge],
body > a[href*="www.netlify.com"],
body > div:has(> a[href*="netlify.com"] img) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Keep sticky RSVP / Book trip above any injected badges */
.sticky-cta {
  z-index: 9999 !important;
  bottom: 0;
  padding-bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
}
