/* =========================================================
   WEDDING WEBSITE TEMPLATE — 5 Styles in 1
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* =========================================================
   STYLE PRESETS — 8 wedding styles, consistent with the
   WeddingFlow Planner app for bundle/cross-promotion.
   Hex codes are estimated from the planner UI screenshot —
   adjust if exact values differ.
   ========================================================= */

/* Shared defaults (applied to all styles via body root) */
body {
  --color-surface: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --font-script:  'Allura', cursive;

  --display-weight: 400;
  --section-title-tracking: 0;
  --section-title-transform: none;
  --eyebrow-tracking: 0.4em;
  --hero-script-size: clamp(80px, 14vw, 160px);
  --hero-script-line: 1;
  --section-title-size: clamp(40px, 6vw, 62px);
  --footer-script-size: 64px;
  --paper-texture: none;
}

/* ── 1. BOHO ROMANCE — warm terracotta + dusty blue ─── */
body.style-boho-romance,
body {
  --color-primary:   #C97A5B;  /* terracotta */
  --color-bg:        #E8DCC8;  /* cream */
  --color-accent:    #5C3A2A;  /* deep brown */
  --color-text:      #3E2A20;
  --color-text-soft: #7A5C4C;
  --color-line:      #D4C4AC;
}

/* ── 2. BRIDAL SUITE — pink + deep red classic ──────── */
body.style-bridal-suite {
  --color-primary:   #C8869A;  /* dusty pink */
  --color-bg:        #FAFAFA;  /* off-white */
  --color-accent:    #8C2C3E;  /* deep red */
  --color-text:      #3A1E26;
  --color-text-soft: #7C5C66;
  --color-line:      #E8D8DC;
  --font-script:     'Pinyon Script', cursive;
  --hero-script-size: clamp(88px, 15vw, 180px);
}

/* ── 3. COASTAL DREAM — mint + coral airy ───────────── */
body.style-coastal-dream {
  --color-primary:   #5CB0B4;  /* mint teal */
  --color-bg:        #F8F4F0;  /* off-white */
  --color-accent:    #E8806C;  /* coral */
  --color-text:      #2C4A4D;
  --color-text-soft: #5C7E80;
  --color-line:      #D8E8E8;
}

/* ── 4. PROVENCE LAVENDER — lavender + deep purple ──── */
body.style-provence-lavender {
  --color-primary:   #9C8DC9;  /* lavender */
  --color-bg:        #F2EDF2;  /* lilac white */
  --color-accent:    #3C2C68;  /* deep purple */
  --color-text:      #2C1E48;
  --color-text-soft: #6C5C8A;
  --color-line:      #E0D8E4;
  --font-script:     'Pinyon Script', cursive;
}

/* ── 5. TOSCANA SUNSET — gold + sage italian ────────── */
body.style-toscana-sunset {
  --color-primary:   #C8A668;  /* warm gold */
  --color-bg:        #F0E8DC;  /* cream */
  --color-accent:    #5C3A2A;  /* deep brown */
  --color-text:      #3E2E1E;
  --color-text-soft: #7C6850;
  --color-line:      #DECDB0;
  --font-display:    'Playfair Display', Georgia, serif;
  --font-script:     'Italiana', serif;
  --display-weight:  500;
}

/* ── 6. TROPICAL PARADISE — teal + green tropical ───── */
body.style-tropical-paradise {
  --color-primary:   #2C7470;  /* deep teal */
  --color-bg:        #F4F0E8;  /* warm cream */
  --color-accent:    #84A878;  /* tropical green */
  --color-text:      #1E3A38;
  --color-text-soft: #5C7472;
  --color-line:      #C8DCD0;
}

/* ── 7. OLIVE BRANCH — sage + deep green fresh ──────── */
body.style-olive-branch {
  --color-primary:   #88A088;  /* sage */
  --color-bg:        #F8F0E8;  /* warm white */
  --color-accent:    #3C5C40;  /* deep forest */
  --color-text:      #2A3E2A;
  --color-text-soft: #5C705C;
  --color-line:      #D0DCC8;
}

/* ── 8. MARRAKESH NIGHTS — orange + dark blue drama ─── */
body.style-marrakesh-nights {
  --color-primary:   #E47030;  /* burnt orange */
  --color-bg:        #1C1C3C;  /* dark midnight blue */
  --color-surface:   #2C2C5C;
  --color-accent:    #C8A878;  /* warm beige */
  --color-text:      #F0E0C8;  /* warm cream */
  --color-text-soft: #C8B89C;
  --color-line:      #3C3C68;
  --font-display:    'Playfair Display', Georgia, serif;
  --font-script:     'Italiana', serif;
  --display-weight:  600;
  --paper-texture:   none;
}

/* =========================================================
   GLOBAL STYLES
   ========================================================= */
body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-image: radial-gradient(ellipse at top, rgba(0,0,0,0.02), transparent 60%), var(--paper-texture);
  background-attachment: fixed;
  transition: background-color 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
              color 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Smooth style-switch transitions on key surfaces */
.nav, .hero__photo, .story-card__photo, .party-card__photo,
.thing-card__photo, .hotel-card, .footer, .rsvp,
.registry-btn, .botanical-divider svg, .hero__corner {
  transition: background-color 0.6s cubic-bezier(0.2,0.8,0.2,1),
              border-color 0.6s cubic-bezier(0.2,0.8,0.2,1),
              color 0.6s cubic-bezier(0.2,0.8,0.2,1),
              box-shadow 0.6s cubic-bezier(0.2,0.8,0.2,1);
}

/* Scroll fade-in (activated by IntersectionObserver in app.js) */
[data-fade] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
[data-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children inside a fade-in container */
[data-fade-stagger].is-visible > * {
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
[data-fade-stagger].is-visible > *:nth-child(1) { animation-delay: 0s; }
[data-fade-stagger].is-visible > *:nth-child(2) { animation-delay: 0.12s; }
[data-fade-stagger].is-visible > *:nth-child(3) { animation-delay: 0.24s; }
[data-fade-stagger].is-visible > *:nth-child(4) { animation-delay: 0.36s; }
[data-fade-stagger].is-visible > *:nth-child(5) { animation-delay: 0.48s; }
[data-fade-stagger].is-visible > *:nth-child(6) { animation-delay: 0.60s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-fade], [data-fade].is-visible,
  [data-fade-stagger].is-visible > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 720px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  line-height: 1.2;
  color: var(--color-text);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-title {
  font-size: var(--section-title-size);
  font-weight: var(--display-weight);
  letter-spacing: var(--section-title-tracking);
  text-transform: var(--section-title-transform);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-style: italic;
  color: var(--color-text-soft);
  margin-bottom: 64px;
}

.script-name {
  font-family: var(--font-script);
  color: var(--color-primary);
  font-weight: 400;
  line-height: var(--hero-script-line, 1);
}

section { padding: 140px 0; position: relative; }

/* Alternating subtle background rhythm — breaks the page monotony */
section:nth-child(even of section) {
  background: color-mix(in srgb, var(--color-surface) 30%, var(--color-bg));
}
/* Make the rhythm slightly stronger between obvious section breaks */
section#story, section#schedule, section#travel, section#registry, section#rsvp {
  background: color-mix(in srgb, var(--color-surface) 35%, var(--color-bg));
}

.botanical-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 64px;
  max-width: 320px;
  color: var(--color-primary);
}
.botanical-divider svg { width: 100%; height: 20px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--color-text);
}
.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--color-primary); }
.nav__toggle {
  display: none;
  background: none; border: none;
  font-size: 24px; color: var(--color-text);
  cursor: pointer;
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-bg);
    padding: 32px; gap: 16px;
    border-bottom: 1px solid var(--color-line);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  padding: 140px 32px;
  overflow: hidden;
}
/* Atmospheric vignette + subtle primary glow at top */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, color-mix(in srgb, var(--color-accent) 6%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero__corner {
  position: absolute;
  width: 200px; height: 200px;
  color: var(--color-primary);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
.hero__corner--tl { top: 32px; left: 32px; }
.hero__corner--br { bottom: 32px; right: 32px; transform: rotate(180deg); }
.hero__inner { max-width: 940px; position: relative; z-index: 1; }
.hero__names {
  font-size: var(--hero-script-size);
  margin: 40px 0 32px;
  letter-spacing: -0.01em;
}
.hero__date {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.42em;
  color: var(--color-text);
  display: inline-flex; align-items: center; gap: 28px;
  margin-bottom: 64px;
  text-transform: uppercase;
  opacity: 0.85;
}
.hero__date::before, .hero__date::after {
  content: '';
  display: inline-block;
  width: 56px; height: 1px;
  background: var(--color-text);
  opacity: 0.5;
}
.hero__photo {
  width: 100%;
  max-width: 680px;
  aspect-ratio: 4/3;
  margin: 56px auto 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-line);
  border-radius: 2px;
  box-shadow: 0 40px 100px -40px rgba(0,0,0,0.35);
  position: relative;
}
/* Subtle inner light wash on hero photo for depth */
.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.08));
  pointer-events: none;
}
body.style-marrakesh-nights .hero__photo { box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7); }
.hero__subline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--color-accent);
  margin-top: 28px;
}

/* =========================================================
   OUR STORY
   ========================================================= */
.story__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  margin-top: 32px;
}
.story-card { text-align: center; }
.story-card__photo {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 16px;
  background-size: cover; background-position: center;
  background-color: var(--color-line);
  border: 10px solid var(--color-surface);
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.15);
  transform: rotate(-1.5deg);
  transition: transform 0.3s;
}
.story-card:nth-child(2) .story-card__photo { transform: rotate(1.5deg); }
.story-card:nth-child(3) .story-card__photo { transform: rotate(-0.5deg); }
.story-card:hover .story-card__photo { transform: rotate(0deg) scale(1.02); }

.story-card__date {
  font-family: var(--font-script);
  font-size: 34px;
  color: var(--color-primary);
  margin: 16px 0 4px;
  line-height: 1;
}
body.style-marrakesh-nights .story-card__date,
body.style-toscana-sunset .story-card__date {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.story-card__title { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; }
.story-card__body { font-size: 14px; color: var(--color-text-soft); line-height: 1.75; }

/* Editorial drop-cap on the first story body — instant magazine signal */
.story-card:first-child .story-card__body::first-letter {
  font-family: var(--font-display);
  font-size: 2.6em;
  font-weight: 500;
  float: left;
  line-height: 0.95;
  margin: 4px 8px 0 0;
  color: var(--color-primary);
}
@media (max-width: 768px) { .story__grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   THE BIG DAY
   ========================================================= */
.bigday__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 64px;
  align-items: start;
}
.bigday__divider {
  width: 1px; height: 100%;
  background: var(--color-primary);
  min-height: 240px;
  opacity: 0.5;
}
.bigday-block { text-align: center; }
.bigday-block__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.bigday-block__time {
  font-family: var(--font-display);
  font-size: 42px;
  margin-bottom: 12px;
  line-height: 1;
}
.bigday-block__venue { font-weight: 500; font-size: 16px; margin-bottom: 6px; }
.bigday-block__address { font-size: 14px; color: var(--color-text-soft); margin-bottom: 16px; font-style: italic; }
.bigday-block__map {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 4px;
}
.bigday__dresscode { margin-top: 64px; text-align: center; font-style: italic; color: var(--color-accent); }
@media (max-width: 768px) {
  .bigday__grid { grid-template-columns: 1fr; }
  .bigday__divider { width: 100%; height: 1px; min-height: auto; }
}

/* =========================================================
   SCHEDULE
   ========================================================= */
.schedule { max-width: 540px; margin: 0 auto; position: relative; }
.schedule::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: var(--color-primary);
  opacity: 0.4;
}
.schedule-item {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  align-items: center;
  margin-bottom: 36px;
}
.schedule-item__time {
  font-family: var(--font-display);
  font-size: 22px;
  text-align: right;
  padding-right: 28px;
  color: var(--color-text);
}
.schedule-item__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-primary);
  justify-self: center;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--color-bg);
}
.schedule-item__event { font-size: 15px; padding-left: 28px; color: var(--color-text); }
@media (max-width: 480px) {
  .schedule-item { grid-template-columns: 80px 24px 1fr; }
  .schedule-item__time { font-size: 16px; padding-right: 12px; }
  .schedule-item__event { padding-left: 12px; font-size: 14px; }
  .schedule::before { left: 92px; }
  .schedule-item__dot { justify-self: start; margin-left: 6px; }
}

/* =========================================================
   WEDDING PARTY
   ========================================================= */
.party__group { margin-bottom: 64px; }
.party__label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 32px;
}
.party__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.party-card { text-align: center; }
.party-card__photo {
  width: 170px; height: 170px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background-size: cover; background-position: center;
  background-color: var(--color-line);
  position: relative;
}
.party-card__photo::after {
  content: '';
  position: absolute; inset: -10px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0.4;
}
.party-card__name { font-family: var(--font-display); font-size: 20px; margin-bottom: 2px; }
.party-card__role { font-style: italic; font-size: 13px; color: var(--color-text-soft); }
@media (max-width: 480px) {
  .party__grid { grid-template-columns: repeat(2, 1fr); }
  .party-card__photo { width: 130px; height: 130px; }
}

/* =========================================================
   TRAVEL & STAY
   ========================================================= */
.travel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.travel__col h3 {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 24px;
}
.hotel-card {
  background: var(--color-surface);
  padding: 28px;
  margin-bottom: 16px;
  border-left: 2px solid var(--color-primary);
}
.hotel-card__name { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.hotel-card__meta { font-size: 13px; color: var(--color-text-soft); margin-bottom: 14px; }
.hotel-card__link {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
}
.travel-info-item { margin-bottom: 28px; }
.travel-info-item__label { font-family: var(--font-display); font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.travel-info-item__body { font-size: 14px; color: var(--color-text-soft); }
@media (max-width: 768px) { .travel__grid { grid-template-columns: 1fr; } }

/* =========================================================
   THINGS TO DO
   ========================================================= */
.things__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.thing-card { text-align: center; }
.thing-card__photo {
  width: 100%;
  aspect-ratio: 3/2;
  background-size: cover; background-position: center;
  background-color: var(--color-line);
  margin-bottom: 16px;
}
.thing-card__title { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.thing-card__body { font-size: 14px; color: var(--color-text-soft); }
@media (max-width: 768px) { .things__grid { grid-template-columns: 1fr; } }

/* =========================================================
   REGISTRY
   ========================================================= */
.registry__intro {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 48px;
  font-style: italic;
  color: var(--color-accent);
}
.registry__buttons {
  display: flex; gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.registry-btn {
  position: relative;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 18px 36px;
  background: transparent;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  z-index: 0;
}
.registry-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}
.registry-btn:hover { color: var(--color-bg); }
.registry-btn:hover::before { transform: scaleY(1); }

/* Map link & hotel link underlines refined */
.bigday-block__map, .hotel-card__link {
  position: relative;
  transition: color 0.25s;
}
.bigday-block__map::after, .hotel-card__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--color-primary);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bigday-block__map:hover::after, .hotel-card__link:hover::after {
  transform: scaleX(1);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-line);
  padding: 24px 0;
  cursor: pointer;
}
.faq-item__question {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--color-text);
}
.faq-item__question::before {
  content: 'Q.';
  color: var(--color-primary);
  font-style: italic;
  margin-right: 14px;
}
.faq-item__toggle {
  font-size: 22px;
  color: var(--color-primary);
  transition: transform 0.25s;
  font-weight: 300;
}
.faq-item.is-open .faq-item__toggle { transform: rotate(45deg); }
.faq-item__answer {
  margin-top: 0;
  padding-left: 32px;
  font-size: 14px;
  color: var(--color-text-soft);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}
.faq-item.is-open .faq-item__answer { max-height: 240px; margin-top: 14px; }

/* =========================================================
   RSVP
   ========================================================= */
.rsvp {
  text-align: center;
  background: var(--color-surface);
  padding: 100px 32px;
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
}
.rsvp__deadline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 48px;
}
.rsvp__embed {
  min-height: 320px;
  background: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 24px 0;
  padding: 32px;
  text-align: center;
  color: var(--color-text-soft);
  font-style: italic;
  font-size: 14px;
  border: 1px dashed var(--color-line);
}
.rsvp__email { margin-top: 24px; font-size: 14px; }
.rsvp__email a {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary);
  text-decoration: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--color-primary);
  color: var(--color-bg);
  text-align: center;
  padding: 100px 32px;
  position: relative;
}
body.style-marrakesh-nights .footer { background: var(--color-surface); color: var(--color-primary); }
.footer__sign { font-family: var(--font-display); font-style: italic; font-size: 17px; margin-bottom: 16px; }
.footer__names { font-family: var(--font-script); font-size: var(--footer-script-size); line-height: 1; margin-bottom: 24px; }
.footer__date {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* =========================================================
   LAYOUT — sidebar offset for desktop
   ========================================================= */
@media (min-width: 901px) {
  body { padding-left: 380px; }
}

/* =========================================================
   AI SETUP OVERLAY — first-visit welcome screen
   ========================================================= */
.setup-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(var(--primary-rgb), 0.08), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(var(--primary-rgb), 0.05), transparent 70%);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow-y: auto;
  font-family: var(--font-body);
}
.setup-overlay[hidden] { display: none; }
body.setup-active { padding-left: 0 !important; overflow: hidden; }

.setup-card {
  max-width: 680px;
  width: 100%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: 56px 56px 40px;
  box-shadow: var(--shadow-floating);
  animation: setupCardIn 0.6s var(--ease-out);
}
@keyframes setupCardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.setup-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.setup-brand i { color: var(--primary); font-size: 22px; }
.setup-brand em { color: var(--primary); font-style: italic; font-weight: 600; }

.setup-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}

.setup-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 20px;
}
.setup-headline em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

.setup-lead {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 32px;
}

/* Quick-pick structured inputs (above the free-text) */
.setup-quick {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.setup-quick__row {
  display: grid;
  gap: 12px;
}
.setup-quick__row--two { grid-template-columns: 1fr 1fr; }

.setup-quick__field { display: flex; flex-direction: column; }
.setup-quick__label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.setup-quick__input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  width: 100%;
}
.setup-quick__input:hover { border-color: rgba(var(--primary-rgb), 0.4); }
.setup-quick__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}
.setup-quick__name-pair {
  display: flex;
  align-items: center;
  gap: 12px;
}
.setup-quick__name-pair .setup-quick__input { flex: 1; }
.setup-quick__and {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--primary);
  font-size: 22px;
  line-height: 1;
}
.setup-quick__styles {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 6px;
}
.setup-quick__styles .style-chip__swatch { height: 28px; }
.setup-quick__styles .style-chip__name { font-size: 8px; padding: 3px 1px; }

/* Soft divider between quick-picks and the free-text area */
.setup-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 18px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 14px;
  color: var(--text-muted);
}
.setup-divider::before,
.setup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.setup-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  min-height: 130px;
  resize: vertical;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.setup-input::placeholder {
  color: var(--text-subtle);
  font-style: italic;
}
.setup-input:hover { border-color: rgba(var(--primary-rgb), 0.4); }
.setup-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}

.setup-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.setup-generate {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
  transition: transform var(--duration-normal) var(--ease-out),
              background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}
.setup-generate i { font-size: 20px; }
.setup-generate:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.4);
}
.setup-generate:disabled {
  background: var(--text-muted);
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.setup-generate.is-loading i {
  animation: spinPulse 1.2s linear infinite;
}
@keyframes spinPulse {
  from { transform: rotate(0); opacity: 0.6; }
  50%  { opacity: 1; }
  to   { transform: rotate(360deg); opacity: 0.6; }
}

.setup-fallback {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
}
.setup-fallback a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dotted var(--text-muted);
  padding-bottom: 1px;
  transition: color var(--duration-fast);
}
.setup-fallback a:hover { color: var(--primary); border-color: var(--primary); }

.setup-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-subtle);
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.setup-hint i { font-size: 14px; color: var(--text-muted); }

/* Regenerate button in sidebar (post-AI-generation) */
.sidebar__regenerate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 48px);
  margin: 8px 24px 16px;
  background: transparent;
  color: var(--primary);
  border: 1px dashed rgba(var(--primary-rgb), 0.5);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.sidebar__regenerate:hover {
  background: rgba(var(--primary-rgb), 0.05);
  border-style: solid;
}
.sidebar__regenerate i { font-size: 16px; }

@media (max-width: 640px) {
  .setup-card { padding: 32px 24px; }
  .setup-headline { font-size: 32px; }
  .setup-lead { font-size: 16px; }
  .setup-quick__row--two { grid-template-columns: 1fr; }
  .setup-quick__styles { grid-template-columns: repeat(4, 1fr); }
}

/* Toast — "Saved" / "Reset" feedback (WeddingFlow brand tokens) */
.toast {
  position: fixed;
  bottom: 96px;
  right: 24px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.18), 0 2px 6px rgba(0,0,0,0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SIDEBAR EDITOR — fixed left, slide-in drawer on mobile
   All values reference brand-tokens.css
   ========================================================= */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 100vh;
  background: var(--bg);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  z-index: 100;
  font-family: var(--font-body);
  color: var(--text);
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.sidebar__brand > span { flex: 1; }
.sidebar__brand i { color: var(--primary); font-size: 22px; }
.sidebar__brand em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}
.sidebar__close {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  padding: 4px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.sidebar__close:hover { color: var(--ink); }

.sidebar__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
}

.sidebar__section { padding: 16px 24px; }
.sidebar__sections { padding: 0; }

.sidebar__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.sidebar__heading i {
  font-size: 14px;
  color: var(--primary);
}

.sidebar__styles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.style-chip {
  border: 2px solid transparent;
  background: none;
  padding: 0;
  border-radius: var(--radius-md);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}
.style-chip:hover { transform: scale(1.04); }
.style-chip.is-active { border-color: var(--primary); }
.style-chip:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}
.style-chip__swatch { display: flex; height: 32px; }
.style-chip__swatch span { flex: 1; }
.style-chip__name {
  font-size: 9px;
  padding: 4px 2px;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

/* Accordion section */
.accordion {
  border-top: 1px solid var(--border-light);
}
.accordion__header {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  transition: background var(--duration-fast) var(--ease-out);
}
.accordion__header:hover { background: rgba(var(--primary-rgb), 0.04); }
.accordion__icon {
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}
.accordion__title { flex: 1; }
.accordion__chevron {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1;
  transition: transform var(--duration-normal) var(--ease-out);
}
.accordion.is-open .accordion__chevron { transform: rotate(90deg); }
.accordion__body {
  padding: 0 24px 16px;
  display: none;
}
.accordion.is-open .accordion__body { display: block; }

/* Form fields */
.field { margin-bottom: 14px; }
.field__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.field__input,
.field__textarea {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.field__textarea {
  font-family: var(--font-body);
  min-height: 72px;
  resize: vertical;
  line-height: 1.5;
}
.field__input:hover,
.field__textarea:hover { border-color: rgba(var(--primary-rgb), 0.4); }
.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-focus);
}

/* Photo upload slot */
.photo-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--ease-out);
}
.photo-slot:hover { border-color: var(--primary); }
.photo-slot__preview {
  width: 48px;
  height: 48px;
  background-size: cover;
  background-position: center;
  background-color: var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.photo-slot__label {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.photo-slot__status {
  font-size: 11px;
  color: var(--text-muted);
}
.photo-slot__icon {
  color: var(--primary);
  font-size: 16px;
}

/* Array items (story, schedule, etc.) */
.array-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 10px;
}
.array-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.array-item .field { margin-bottom: 10px; }
.array-item .field:last-child { margin-bottom: 0; }

/* Sidebar footer */
.sidebar__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  background: var(--bg);
  flex-shrink: 0;
}
.sidebar__save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}
.sidebar__save i { font-size: 14px; }
.sidebar__save.is-pending { color: var(--text-muted); }
.sidebar__save.is-pending i { color: var(--warning); }

.sidebar__reset {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.sidebar__reset:hover {
  border-color: var(--danger);
  color: var(--danger);
}
.sidebar__reset i { font-size: 14px; }

/* Mobile toggle button — visible only when sidebar is closed on small screens */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(var(--primary-rgb), 0.35);
  transition: transform var(--duration-normal) var(--ease-out);
}
.sidebar-toggle:hover { transform: translateY(-2px); }
.sidebar-toggle i { font-size: 18px; }

/* Mobile: sidebar becomes drawer */
@media (max-width: 900px) {
  .sidebar {
    width: 100%;
    max-width: 380px;
    transform: translateX(-100%);
    transition: transform var(--duration-slow) var(--ease-out);
    box-shadow: var(--shadow-floating);
  }
  .sidebar.is-open { transform: translateX(0); }
  .sidebar__close { display: block; }
  .sidebar-toggle { display: inline-flex; }
  body.sidebar-open { overflow: hidden; }
}

/* =========================================================
   TOSCANA SUNSET — full layout override (magazine editorial)
   ========================================================= */

/* Hero: split-screen layout, text left + photo right with gold offset frame */
body.style-toscana-sunset .hero {
  text-align: left;
  min-height: 100vh;
  padding: 80px 32px;
}
body.style-toscana-sunset .hero__corner { display: none; }
body.style-toscana-sunset .hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
}
body.style-toscana-sunset .hero__photo {
  grid-column: 2;
  grid-row: 1 / 6;
  margin: 0;
  max-width: none;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--color-primary);
  box-shadow: -18px 18px 0 var(--color-primary), 0 30px 80px -30px rgba(60, 30, 0, 0.25);
  border-radius: 0;
}
body.style-toscana-sunset .hero__names { font-size: clamp(72px, 11vw, 140px); margin: 24px 0 16px; }
body.style-toscana-sunset .hero__date  { margin-bottom: 36px; }
body.style-toscana-sunset .hero__date::before,
body.style-toscana-sunset .hero__date::after { width: 32px; }
body.style-toscana-sunset .hero__subline {
  text-align: left;
  font-size: 19px;
  margin-top: 24px;
  max-width: 320px;
}

/* Magazine-editorial section titles: extra dramatic */
body.style-toscana-sunset .section-title {
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Story cards: less polaroid-tilt, more editorial cards */
body.style-toscana-sunset .story-card__photo,
body.style-toscana-sunset .story-card:nth-child(2) .story-card__photo,
body.style-toscana-sunset .story-card:nth-child(3) .story-card__photo {
  transform: none;
  border: 1px solid var(--color-primary);
  box-shadow: -8px 8px 0 var(--color-primary);
  border-width: 1px;
}
body.style-toscana-sunset .story-card:hover .story-card__photo {
  transform: translate(-4px, -4px);
  box-shadow: -12px 12px 0 var(--color-primary);
}

/* Hotel cards: gold corner accent instead of straight left border */
body.style-toscana-sunset .hotel-card {
  border-left: none;
  border-top: 1px solid var(--color-primary);
  position: relative;
}
body.style-toscana-sunset .hotel-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px; height: 1px;
  background: var(--color-accent);
}

/* Party portraits: gold ring instead of decorative outer ring */
body.style-toscana-sunset .party-card__photo {
  border-radius: 0; /* squared portrait — magazine style */
}
body.style-toscana-sunset .party-card__photo::after {
  border-radius: 0;
  inset: -8px;
  border-color: var(--color-accent);
  opacity: 0.6;
}

/* Things-to-do: framed by gold thin border */
body.style-toscana-sunset .thing-card__photo {
  border: 1px solid var(--color-primary);
}

/* Footer: tighter and more editorial */
body.style-toscana-sunset .footer { padding: 80px 32px; }

/* Mobile: collapse to single column */
@media (max-width: 768px) {
  body.style-toscana-sunset .hero { text-align: center; }
  body.style-toscana-sunset .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  body.style-toscana-sunset .hero__photo {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
    box-shadow: -10px 10px 0 var(--color-primary);
  }
  body.style-toscana-sunset .hero__subline { text-align: center; max-width: none; }
}


/* =========================================================
   BOHO ROMANCE — paper-texture emphasis + asymmetric tilts
   ========================================================= */
body.style-boho-romance {
  --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.62 0 0 0 0 0.58 0 0 0 0 0.52 0 0 0 0.18 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.style-boho-romance .story-card:nth-child(1) .story-card__photo { transform: rotate(-3deg); }
body.style-boho-romance .story-card:nth-child(2) .story-card__photo { transform: rotate(2.5deg); }
body.style-boho-romance .story-card:nth-child(3) .story-card__photo { transform: rotate(-1deg); }


/* =========================================================
   BRIDAL SUITE — classic formal, oval portraits, monogram
   ========================================================= */
body.style-bridal-suite .hero__photo {
  border-radius: 50%;
  aspect-ratio: 3/4;
  max-width: 480px;
  border: 1px solid var(--color-primary);
  padding: 12px;
  background-color: var(--color-bg);
  background-clip: content-box;
}
body.style-bridal-suite .hero__names {
  font-size: clamp(96px, 16vw, 180px);
  letter-spacing: -0.01em;
}
body.style-bridal-suite .hero__names::after {
  content: '✦';
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--color-accent);
  margin-top: 24px;
  letter-spacing: 0;
}
body.style-bridal-suite .story-card__photo,
body.style-bridal-suite .story-card:nth-child(2) .story-card__photo,
body.style-bridal-suite .story-card:nth-child(3) .story-card__photo {
  transform: none;
  border-radius: 50%;
  aspect-ratio: 1;
  border: 1px solid var(--color-primary);
  padding: 8px;
  background-color: var(--color-bg);
  background-clip: content-box;
  box-shadow: none;
}
body.style-bridal-suite .party-card__photo {
  /* already round — add subtle inner ring */
}
body.style-bridal-suite .party-card__photo::after {
  border-color: var(--color-accent);
  border-width: 1px;
  inset: -6px;
  opacity: 0.7;
}
body.style-bridal-suite .registry-btn {
  border-radius: 999px;
}


/* =========================================================
   COASTAL DREAM — soft rounded, watercolor airy
   ========================================================= */
body.style-coastal-dream .hero {
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%, rgba(92, 176, 180, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 100%, rgba(232, 128, 108, 0.15), transparent 70%);
}
body.style-coastal-dream .hero__photo {
  border-radius: 24px;
}
body.style-coastal-dream .story-card__photo,
body.style-coastal-dream .story-card:nth-child(2) .story-card__photo,
body.style-coastal-dream .story-card:nth-child(3) .story-card__photo {
  transform: none;
  border-radius: 18px;
  border-width: 6px;
}
body.style-coastal-dream .story-card:hover .story-card__photo {
  transform: translateY(-4px);
}
body.style-coastal-dream .thing-card__photo {
  border-radius: 18px;
}
body.style-coastal-dream .hotel-card {
  border-radius: 14px;
  border-left: none;
  background: var(--color-surface);
  box-shadow: 0 4px 14px rgba(92, 176, 180, 0.1);
}
body.style-coastal-dream .registry-btn {
  border-radius: 999px;
}


/* =========================================================
   PROVENCE LAVENDER — arched window photo frames
   ========================================================= */
body.style-provence-lavender .hero__photo {
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
}
body.style-provence-lavender .story-card__photo,
body.style-provence-lavender .story-card:nth-child(2) .story-card__photo,
body.style-provence-lavender .story-card:nth-child(3) .story-card__photo {
  transform: none;
  border-top-left-radius: 50% 25%;
  border-top-right-radius: 50% 25%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
body.style-provence-lavender .thing-card__photo {
  border-top-left-radius: 50% 30%;
  border-top-right-radius: 50% 30%;
}
body.style-provence-lavender .section-title { font-style: italic; }


/* =========================================================
   TROPICAL PARADISE — lush full-bleed, big confident
   ========================================================= */
body.style-tropical-paradise .hero { min-height: 100vh; }
body.style-tropical-paradise .hero__photo {
  max-width: 760px;
  aspect-ratio: 16/10;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(44, 116, 112, 0.4);
}
body.style-tropical-paradise .hero__corner { width: 220px; height: 220px; opacity: 0.45; }
body.style-tropical-paradise .section-title { font-weight: 500; }
body.style-tropical-paradise .story-card__photo,
body.style-tropical-paradise .story-card:nth-child(2) .story-card__photo,
body.style-tropical-paradise .story-card:nth-child(3) .story-card__photo {
  transform: none;
  border-width: 0;
  border-radius: 4px;
  box-shadow: 0 20px 40px -20px rgba(44, 116, 112, 0.35);
}
body.style-tropical-paradise .thing-card__photo {
  border-radius: 4px;
}


/* =========================================================
   OLIVE BRANCH — organic asymmetric, natural texture
   ========================================================= */
body.style-olive-branch {
  --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.53 0 0 0 0 0.63 0 0 0 0 0.53 0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.style-olive-branch .hero__photo {
  border-radius: 200px 12px 200px 12px;
}
body.style-olive-branch .story-card:nth-child(1) .story-card__photo {
  transform: none;
  border-radius: 100px 8px 100px 8px;
  border-width: 6px;
}
body.style-olive-branch .story-card:nth-child(2) .story-card__photo {
  transform: none;
  border-radius: 8px 100px 8px 100px;
  border-width: 6px;
  margin-top: 20px;
}
body.style-olive-branch .story-card:nth-child(3) .story-card__photo {
  transform: none;
  border-radius: 100px 8px 100px 8px;
  border-width: 6px;
}
body.style-olive-branch .thing-card__photo {
  border-radius: 80px 4px 80px 4px;
}


/* =========================================================
   MARRAKESH NIGHTS — dark luxury, tile pattern, gold frames
   ========================================================= */
body.style-marrakesh-nights {
  --paper-texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23C8A878' stroke-opacity='0.04' stroke-width='1'%3E%3Crect x='10' y='10' width='40' height='40' transform='rotate(45 30 30)'/%3E%3Crect x='15' y='15' width='30' height='30'/%3E%3Ccircle cx='30' cy='30' r='3'/%3E%3C/g%3E%3C/svg%3E");
}
body.style-marrakesh-nights .hero__photo {
  border: 1px solid var(--color-primary);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
body.style-marrakesh-nights .hero__corner { color: var(--color-primary); opacity: 0.5; }
body.style-marrakesh-nights .section-title::after {
  content: '✦';
  display: block;
  font-size: 18px;
  margin-top: 8px;
  color: var(--color-primary);
  opacity: 0.7;
}
body.style-marrakesh-nights .story-card__photo,
body.style-marrakesh-nights .story-card:nth-child(2) .story-card__photo,
body.style-marrakesh-nights .story-card:nth-child(3) .story-card__photo {
  transform: none;
  border: 1px solid var(--color-primary);
  border-width: 1px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
  background-color: var(--color-surface);
}
body.style-marrakesh-nights .party-card__photo {
  border: 1px solid var(--color-primary);
}
body.style-marrakesh-nights .party-card__photo::after {
  border-color: var(--color-primary);
  border-width: 1px;
  inset: -8px;
  opacity: 0.45;
}
body.style-marrakesh-nights .thing-card__photo {
  border: 1px solid var(--color-primary);
}
body.style-marrakesh-nights .hotel-card {
  border-left-color: var(--color-primary);
  background: rgba(255,255,255,0.04);
}
body.style-marrakesh-nights .registry-btn {
  border-width: 1px;
}
body.style-marrakesh-nights .rsvp__embed {
  background: rgba(255,255,255,0.04);
  border-color: var(--color-primary);
}


/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .nav, .editor, .registry__buttons, .rsvp__embed { display: none !important; }
  body { background: white; }
  section { padding: 32px 0; page-break-inside: avoid; }
}
