/* ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
   Vanillaboi Weddings — editorial "invitation" theme
   ivory paper · navy ink · gold foil  (own look, shared brand)
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ */

:root {
  --navy:    #001f3e;
  --navy-2:  #082a4c;
  --gold:    #c99556;
  --gold-dk: #a8773c;
  --gold-lt: #e0bd8a;
  --ivory:   #f4ead8;
  --paper:   #fbf5e9;
  --ink:     #20242c;
  --muted:   #7a7264;
  --line:    rgba(0,31,62,.16);

  --serif: "Fraunces", Georgia, serif;
  --sans:  "Archivo", system-ui, sans-serif;
  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans); background: var(--ivory); color: var(--navy);
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: -.02em; font-optical-sizing: auto; }
em { font-style: italic; }

.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* small-caps editorial label */
.label {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .34em; text-transform: uppercase;
  font-weight: 600; color: var(--gold-dk);
}
.rule { display: inline-flex; align-items: center; gap: .8rem; color: var(--gold); }
.rule::before, .rule::after { content: ""; height: 1px; width: clamp(28px, 6vw, 64px); background: var(--gold); opacity: .6; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--sans);
  font-weight: 600; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .95rem 1.7rem; border-radius: 2px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dk); box-shadow: 0 14px 28px -14px rgba(168,119,60,.7); }
.btn-ink { background: var(--navy); color: var(--ivory); }
.btn-ink:hover { box-shadow: 0 14px 28px -14px rgba(0,31,62,.6); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--ivory); }
.btn-line.on-dark { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-line.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ════════ NAV ════════ */
.wnav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: 1rem var(--pad); background: transparent;
  border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, padding .4s, box-shadow .4s;
}
.wnav.scrolled { background: rgba(244,234,216,.9); backdrop-filter: blur(12px); border-bottom-color: var(--line); padding: .6rem var(--pad); box-shadow: 0 10px 30px -24px rgba(0,31,62,.6); }
.wbrand { display: flex; align-items: baseline; gap: .6rem; font-family: var(--serif); }
.wbrand b { font-weight: 500; font-size: 1.18rem; letter-spacing: -.01em; }
.wbrand .div { color: var(--gold); }
.wbrand .sub { font-style: italic; color: var(--gold-dk); font-size: 1.05rem; }
.wbrand, .wnav-links a, .wnav-toggle span { color: var(--navy); }
.wnav-links { display: flex; gap: 2rem; align-items: center; }
.wnav-links a { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; position: relative; }
.wnav-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0; background: var(--gold); transition: width .3s var(--ease); }
.wnav-links a:hover::after { width: 100%; }
.wnav-cta { padding: .65rem 1.2rem; }
.wnav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.wnav-toggle span { width: 26px; height: 2px; background: var(--navy); transition: .3s; }

/* ════════ HERO — invitation split ════════ */
.whero { position: relative; padding: clamp(7rem,14vh,10rem) var(--pad) clamp(3rem,6vw,5rem); }
.whero-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(2rem,6vw,5.5rem); align-items: center; }
.whero-seal { width: 74px; height: auto; margin-bottom: 1.6rem; opacity: .9; }
.whero-kicker { margin-bottom: 1.4rem; }
.whero h1 { font-size: clamp(3rem, 8.5vw, 6.4rem); line-height: .96; margin-bottom: 1.6rem; }
.whero h1 .script { font-style: italic; color: var(--gold-dk); display: block; }
.whero-lead { font-size: 1.1rem; color: var(--muted); max-width: 27rem; margin-bottom: 2.2rem; }
.whero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.whero-figure { position: relative; }
.whero-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; position: relative; z-index: 1; }
.whero-figure::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); z-index: 0; }
.whero-figure figcaption {
  position: absolute; z-index: 2; right: -10px; bottom: 26px; background: var(--navy); color: var(--ivory);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; padding: .7rem 1.3rem;
}

/* ════════ VOW — dark band pull quote ════════ */
.wvow { background: var(--navy); color: var(--ivory); padding: clamp(4.5rem,9vw,8rem) var(--pad); text-align: center; position: relative; }
.wvow-inner { max-width: 60rem; margin: 0 auto; }
.wvow .mark { font-family: var(--serif); font-size: 6rem; line-height: .4; color: var(--gold); display: block; height: 2.2rem; }
.wvow blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem,4vw,3rem); line-height: 1.28; letter-spacing: -.01em; }
.wvow blockquote em { color: var(--gold-lt); }
.wvow cite { display: block; margin-top: 2rem; font-family: var(--sans); font-style: normal; font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(244,234,216,.65); }

/* ════════ SECTION scaffold ════════ */
.wsection { max-width: var(--maxw); margin: 0 auto; padding: clamp(4.5rem,9vw,8rem) var(--pad); }
.whead { text-align: center; max-width: 42rem; margin: 0 auto clamp(3rem,6vw,5rem); }
.whead .rule { margin-bottom: 1.2rem; }
.whead h2 { font-size: clamp(2.2rem,5.5vw,3.8rem); }
.whead h2 em { color: var(--gold-dk); }
.whead p { color: var(--muted); margin-top: 1rem; }

/* ════════ TIMELINE — how the day unfolds ════════ */
.wtimeline { position: relative; }
.wline { max-width: 880px; margin: 0 auto; position: relative; }
.wline::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: linear-gradient(var(--gold), transparent); opacity: .5; transform: translateX(-50%); }
.wstep { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); align-items: center; margin-bottom: clamp(2.5rem,5vw,4.5rem); position: relative; }
.wstep::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; background: var(--gold); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 5px var(--ivory); }
.wstep figure { overflow: hidden; }
.wstep figure img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform 1s var(--ease); }
.wstep:hover figure img { transform: scale(1.05); }
.wstep .wstep-body .time { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dk); font-weight: 600; }
.wstep .wstep-body h3 { font-size: clamp(1.6rem,3vw,2.3rem); margin: .5rem 0 .6rem; }
.wstep .wstep-body p { color: var(--muted); }
.wstep:nth-child(even) figure { order: 2; }
.wstep:nth-child(even) .wstep-body { order: 1; text-align: right; }
.wstep:nth-child(odd)  .wstep-body { padding-left: clamp(1rem,3vw,2.5rem); }
.wstep:nth-child(even) .wstep-body { padding-right: clamp(1rem,3vw,2.5rem); }

/* ════════ GALLERY collage ════════ */
.wcollage { background: var(--paper); }
.wcollage-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(12,1fr); gap: clamp(.8rem,2vw,1.4rem); }
.wcap { position: relative; overflow: hidden; }
.wcap img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.wcap:hover img { transform: scale(1.06); }
.wcap span { position: absolute; left: 1rem; bottom: .9rem; color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.1rem; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.wcap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,16,33,.5), transparent 50%); }
.wc-a { grid-column: span 7; aspect-ratio: 4/3; }
.wc-b { grid-column: span 5; aspect-ratio: 4/5; }
.wc-c { grid-column: span 4; aspect-ratio: 3/4; }
.wc-d { grid-column: span 4; aspect-ratio: 3/4; }
.wc-e { grid-column: span 4; aspect-ratio: 3/4; }

/* ════════ COLLECTIONS — editorial rows ════════ */
.wcoll { max-width: 940px; margin: 0 auto; border-top: 1px solid var(--line); }
.wrow { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: clamp(1rem,4vw,3rem); align-items: center; padding: clamp(1.8rem,4vw,2.6rem) 0; border-bottom: 1px solid var(--line); position: relative; transition: padding-left .4s var(--ease); }
.wrow:hover { padding-left: 12px; }
.wrow:hover::before { content: ""; position: absolute; left: -16px; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.wrow-name { font-size: clamp(1.5rem,3vw,2.1rem); }
.wrow-name .tag { display: inline-block; vertical-align: middle; margin-left: .8rem; font-family: var(--sans); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #fff; background: var(--gold); padding: .25rem .55rem; border-radius: 2px; }
.wrow-name p { font-family: var(--sans); font-size: .92rem; color: var(--muted); margin-top: .5rem; letter-spacing: 0; text-transform: none; }
.wrow-feat { font-size: .88rem; color: var(--muted); }
.wrow-feat span { display: block; padding-left: 1.1rem; position: relative; }
.wrow-feat span::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: .6rem; top: .35rem; }
.wrow-price { text-align: right; white-space: nowrap; }
.wrow-price .amt { font-family: var(--serif); font-size: 1.5rem; }
.wrow-price .from { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dk); display: block; }
.wrow-price a { display: inline-block; margin-top: .8rem; }

/* ════════ FAQ ════════ */
.wfaq-list { max-width: 50rem; margin: 0 auto; border-top: 1px solid var(--line); }
.wfaq { border-bottom: 1px solid var(--line); }
.wfaq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; font-family: var(--serif); font-size: 1.25rem; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; transition: color .3s; }
.wfaq summary::-webkit-details-marker { display: none; }
.wfaq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--gold); transition: transform .35s var(--ease); }
.wfaq[open] summary::after { transform: rotate(45deg); }
.wfaq summary:hover { color: var(--gold-dk); }
.wfaq p { color: var(--muted); padding: 0 2.5rem 1.5rem 0; }

/* ════════ SAVE THE DATE footer ════════ */
.wfoot { background: var(--navy); color: var(--ivory); text-align: center; }
.wfoot-cta { padding: clamp(4.5rem,10vw,8rem) var(--pad) clamp(3.5rem,7vw,5rem); }
.wfoot-seal { width: 72px; margin: 0 auto 1.6rem; filter: drop-shadow(0 0 0 transparent); }
.wfoot-cta .rule { color: var(--gold-lt); margin-bottom: 1.4rem; }
.wfoot-cta .rule::before, .wfoot-cta .rule::after { background: var(--gold-lt); }
.wfoot-cta h2 { font-size: clamp(2.6rem,7vw,5rem); margin-bottom: .6rem; }
.wfoot-cta h2 em { color: var(--gold-lt); }
.wfoot-date { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: rgba(244,234,216,.75); margin-bottom: 2.2rem; }
.wfoot-meta { display: flex; gap: clamp(1.5rem,5vw,3.5rem); justify-content: center; flex-wrap: wrap; padding: 0 var(--pad) 2.5rem; font-size: .9rem; color: rgba(244,234,216,.7); }
.wfoot-meta a:hover { color: var(--gold-lt); }
.wfoot-base { border-top: 1px solid rgba(244,234,216,.14); padding: 1.5rem var(--pad); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: rgba(244,234,216,.5); max-width: var(--maxw); margin: 0 auto; }
.wfoot-base a:hover { color: var(--gold-lt); }

/* ════════ reveal ════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d,0s); }
.reveal-scale { opacity: 0; transform: scale(.97) translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d,0s); }
.reveal.in, .reveal-scale.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-scale { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ════════ responsive ════════ */
@media (max-width: 900px) {
  .whero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .whero-figure { max-width: 26rem; }
  .wline::before { left: 18px; }
  .wstep { grid-template-columns: 1fr; gap: 1.2rem; }
  .wstep::after { left: 18px; }
  .wstep figure, .wstep:nth-child(even) figure { order: 0; }
  .wstep .wstep-body, .wstep:nth-child(even) .wstep-body { order: 0; text-align: left; padding: 0 0 0 2.6rem; }
  .wcollage-grid { grid-template-columns: repeat(6,1fr); }
  .wc-a { grid-column: span 6; } .wc-b { grid-column: span 6; }
  .wc-c, .wc-d, .wc-e { grid-column: span 2; }
  .wrow { grid-template-columns: 1fr; gap: 1rem; }
  .wrow-price { text-align: left; }
}
@media (max-width: 680px) {
  .wnav-links { position: fixed; inset: 60px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); padding: .5rem var(--pad) 1rem; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .4s var(--ease); }
  body.nav-open .wnav-links { transform: none; }
  .wnav-links a { padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; }
  .wnav-cta { display: none; }
  .wnav-toggle { display: flex; }
  body.nav-open .wnav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .wnav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .wnav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .wcollage-grid { grid-template-columns: 1fr; }
  .wc-a,.wc-b,.wc-c,.wc-d,.wc-e { grid-column: span 1; aspect-ratio: 4/3; }
}
