/* Two Wild — Theme Styles */
:root {
  --gold: #d3a21b;
  --blush: #f2b8c6;
  --blush-ink: #7a4d5a;
  --sage: #9ec5a3;
  --forest: #2e5d50;
  --paper: #faf9f7;
  --ink: #1f1f1f;
  --ink-soft: #4a4a4a;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,249,247,.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.site-header .nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { text-decoration: none; color: var(--ink); display: inline-flex; align-items: baseline; gap: 8px; }
.brand-word { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.brand-script { font-family: 'Great Vibes', cursive; font-size: 26px; color: var(--forest); }
.main-nav a { color: var(--ink-soft); text-decoration: none; margin-left: 20px; padding: 6px 2px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.is-active { border-color: var(--gold); color: var(--ink); }
.scroll-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--blush)); }

/* Decorative botanicals (corners) */
.corner-botanicals { position: fixed; width: 240px; height: 240px; pointer-events: none; opacity: .65; }
.corner-botanicals.tl { top: -30px; left: -10px; }
.corner-botanicals.tr { top: -30px; right: -10px; transform: scaleX(-1); }

/* Sections */
.section { position: relative; padding: 80px 0; }
.section[data-theme="paper"] { background:
  linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.65)),
  var(--paper);
}
.section[data-theme="blush"] { background: radial-gradient(1200px 1200px at 10% -10%, #ffeef4 0%, transparent 60%), var(--paper); }
.section[data-theme="sage"] { background: radial-gradient(1200px 1200px at 90% -20%, #e6f2ea 0%, transparent 60%), var(--paper); }
.section[data-theme="leafy"] { background: radial-gradient(1200px 1200px at 50% -20%, #eaf6ef 0%, transparent 60%), var(--paper); }

.section h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 44px); margin: 0 0 18px; letter-spacing: .02em; }
.section p { margin: 10px 0 0; }

/* Hero */
.hero { text-align: center; padding-top: 120px; padding-bottom: 110px; }
.hero .container { position: relative; }
.eyebrow { letter-spacing: .22em; text-transform: uppercase; font-size: 12px; color: var(--ink-soft); }
.two-wild { position: relative; margin: 8px 0 6px; }
.two-wild .two {
  font-family: 'Cormorant Garamond', serif; font-weight: 700;
  display: inline-block; font-size: clamp(84px, 12vw, 150px);
  line-height: .8; letter-spacing: .05em; color: var(--gold);
  position: relative; margin: 0 .04em; text-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.two-wild .two::after { /* tiny floral dots in the letters */
  content: ""; position: absolute; top: 16%; right: 8%; width: .25em; height: .25em; border-radius: 50%; background: var(--blush); box-shadow: -0.4em .2em 0 0 var(--blush), .35em .35em 0 0 #e9a6b8;
}
.two-wild .wild {
  display: block; margin-top: -18px; font-family: 'Great Vibes', cursive;
  color: var(--ink); font-size: clamp(42px, 6.5vw, 82px);
}
.subtitle { font-size: 20px; color: var(--ink-soft); margin-top: 2px; letter-spacing: .06em; text-transform: uppercase; }
.hero-cta { margin-top: 20px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Blended invite image */
.invite-card { position: absolute; right: -120px; top: 40px; width: min(460px, 40vw); margin: 0; z-index: 0; transform: rotate(-2deg); }
.invite-card img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: var(--shadow); filter: saturate(.98) contrast(.98); mix-blend-mode: multiply; }
/* Soften the edges to blend with paper */
.invite-card img { -webkit-mask-image: radial-gradient(90% 90% at 50% 50%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%); mask-image: radial-gradient(90% 90% at 50% 50%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%); }

/* Keep text readable over the invite */
.hero .eyebrow, .hero .two-wild, .hero .subtitle, .hero .hero-cta { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .invite-card { position: relative; top: 10px; right: auto; margin: 18px auto 0; width: min(520px, 85%); transform: none; }
}

/* Floaters */
.floaters { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.floaters span { position: absolute; left: var(--x); width: 24px; height: 10px; background: linear-gradient(90deg, #7aa88f, #2e5d50); border-radius: 50% 50% 50% 0 / 60% 60% 40% 0; opacity: .28; animation: drift var(--d) ease-in-out infinite; }
@keyframes drift { 0% { transform: translateY(20%) rotate(12deg); } 50% { transform: translateY(-5%) rotate(-6deg);} 100% { transform: translateY(20%) rotate(12deg);} }

/* Buttons */
.btn { --b: var(--forest); --c: #fff; display: inline-block; padding: 10px 18px; border-radius: 999px; text-decoration: none; color: var(--b); border: 2px solid var(--b); background: transparent; transition: transform .12s ease, background .2s ease, color .2s ease; font-weight: 600; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--forest); color: #fff; }
.btn.outline { background: transparent; color: var(--forest); }
.btn.ghost { border-color: rgba(0,0,0,.2); color: var(--ink); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* Lists, details */
.fact-list { list-style: none; padding: 0; margin: 10px 0 0; columns: 1; column-gap: 30px; }
.fact-list li { break-inside: avoid; margin: 4px 0; }
.fact-list li strong { display: inline-block; min-width: 9ch; margin-right: 8px; }
@media (min-width: 700px) { .fact-list { columns: 2; } }
@media (max-width: 520px) { .fact-list li strong { min-width: 0; width: auto; } }

/* RSVP Callout */
.rsvp-callout {
  margin: 14px 0 0;
  background: linear-gradient(180deg, #fff7fa, #fff); /* blush wash */
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
  color: var(--ink);
}
.rsvp-callout .tel { color: var(--forest); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(46,93,80,.2); }
.rsvp-callout .tel:hover { border-color: var(--forest); }

/* Location */
.address { font-size: 18px; color: var(--ink-soft); }
.map-wrap { margin-top: 16px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #e7efe9; border: 1px solid rgba(0,0,0,.06); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: 0; }

/* RSVP */
.rsvp .fine-print { color: var(--ink-soft); font-size: 14px; margin-top: 10px; }

/* Parade */
.animals { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(8px, 1.5vw, 16px); padding: 0; margin: 18px 0 0; list-style: none; }
.animals li { text-align: center; background: #fff; border-radius: 18px; padding: 24px 12px 18px; position: relative; box-shadow: var(--shadow); border: 1px solid rgba(0,0,0,.05); overflow: hidden; transition: transform .15s ease; }
.animals li:hover { transform: translateY(-3px); }
/* Watercolor wash inside each card */
.animals li::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .9; background:
  radial-gradient(120px 70px at 85% -8%, rgba(242,184,198,.28), transparent 65%),
  radial-gradient(160px 90px at 8% -10%, rgba(158,197,163,.22), transparent 60%),
  radial-gradient(180px 120px at 50% 120%, rgba(246,240,243,.8), transparent 70%);
}
.animals li:nth-child(1)::before { /* giraffe - warm honey */
  background:
    radial-gradient(120px 70px at 85% -8%, rgba(242,184,198,.26), transparent 65%),
    radial-gradient(160px 90px at 8% -10%, rgba(250,220,150,.28), transparent 60%),
    radial-gradient(180px 120px at 50% 120%, rgba(246,240,243,.8), transparent 70%);
}
.animals li:nth-child(2)::before { /* rhino - soft lavender + sage */
  background:
    radial-gradient(120px 70px at 85% -8%, rgba(210,200,240,.28), transparent 65%),
    radial-gradient(160px 90px at 8% -10%, rgba(158,197,163,.22), transparent 60%),
    radial-gradient(180px 120px at 50% 120%, rgba(246,240,243,.8), transparent 70%);
}
.animals li:nth-child(3)::before { /* elephant - blush + gray */
  background:
    radial-gradient(120px 70px at 85% -8%, rgba(242,184,198,.3), transparent 65%),
    radial-gradient(160px 90px at 8% -10%, rgba(200,205,215,.23), transparent 60%),
    radial-gradient(180px 120px at 50% 120%, rgba(246,240,243,.8), transparent 70%);
}
.animals li:nth-child(4)::before { /* lion - honey + blush */
  background:
    radial-gradient(120px 70px at 85% -8%, rgba(250,220,150,.32), transparent 65%),
    radial-gradient(160px 90px at 8% -10%, rgba(242,184,198,.22), transparent 60%),
    radial-gradient(180px 120px at 50% 120%, rgba(246,240,243,.8), transparent 70%);
}
.animals li:nth-child(5)::before { /* zebra - mint + blush */
  background:
    radial-gradient(120px 70px at 85% -8%, rgba(158,197,163,.28), transparent 65%),
    radial-gradient(160px 90px at 8% -10%, rgba(242,184,198,.22), transparent 60%),
    radial-gradient(180px 120px at 50% 120%, rgba(246,240,243,.8), transparent 70%);
}
.animals span[role="img"] { font-size: clamp(42px, 5vw, 64px); display: block; filter: saturate(.85) contrast(.9) brightness(1.06); position: relative; z-index: 1; }
.animals em { display: block; margin-top: 8px; font-style: normal; color: var(--ink-soft); position: relative; z-index: 1; }
/* Floral crown: soft pink blooms + little sage leaves */
.animals .crown { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 62%; height: 22px; border-radius: 999px; z-index: 2; pointer-events: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.06));
  background:
    radial-gradient(circle at 10% 55%, #f6c5d3 0 9px, transparent 10px),
    radial-gradient(circle at 30% 45%, #f2b8c6 0 9px, transparent 10px),
    radial-gradient(circle at 50% 55%, #f1a9bb 0 9px, transparent 10px),
    radial-gradient(circle at 70% 45%, #f2b8c6 0 9px, transparent 10px),
    radial-gradient(circle at 90% 55%, #f6c5d3 0 9px, transparent 10px),
    radial-gradient(60% 100% at 18% 95%, rgba(158,197,163,.9) 0 8px, transparent 9px),
    radial-gradient(60% 100% at 82% 95%, rgba(158,197,163,.9) 0 8px, transparent 9px);
}
@media (max-width: 900px) { .animals { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .animals { grid-template-columns: repeat(2, 1fr); } }

/* Gallery placeholders */
/* (Gallery styles removed per request) */

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }

/* Footer */
.site-footer { padding: 40px 0; text-align: center; color: var(--ink-soft); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .floaters span { animation: none; }
  .reveal { transition: none; }
}
