/* =====================================================================
   Sally & Adetunji — Traditional Wedding
   A tri-cultural celebration: Yorùbá · Kikuyu · Kisii
   ===================================================================== */

:root {
  /* Palette — drawn from the invitation */
  --cream:       #F4ECD7;
  --cream-2:     #EFE4C9;
  --paper:       #FAF6EA;
  --ink:         #2A1B10;   /* deep brown text */
  --brown:       #5A3A22;
  --brown-2:     #7A5230;
  --green:       #26432E;   /* forest */
  --green-2:     #1B3021;
  --green-deep:  #14261B;
  --gold:        #BE9A3E;
  --gold-2:      #D8BC6E;
  --gold-soft:   #E7D6A0;
  --terracotta:  #BB5A37;
  --terracotta-2:#A24A2C;

  /* Type */
  --serif:  "Cormorant Garamond", "Times New Roman", serif;
  --body:   "EB Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;

  /* Layout */
  --maxw: 1120px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: clamp(16px, 1.05vw + 13px, 19px);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { margin: 0; font-weight: 500; line-height: 1.1; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ---------- Shared helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }

.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section__eyebrow {
  font-family: var(--script);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gold);
  margin: 0 0 .35rem;
  line-height: 1;
}
.section__eyebrow--light { color: var(--gold-2); }
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--brown);
}
.section__title--light { color: var(--paper); }
.section__intro { margin: 1.4rem auto 0; max-width: 620px; color: var(--brown-2); }
.section__intro--light { color: var(--gold-soft); }

/* Decorative rule with centre mark */
.rule { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.1rem auto; max-width: 260px; }
.rule span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold)); }
.rule span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.rule i { color: var(--gold); font-style: normal; font-size: 1rem; }
.rule--dark span { background: linear-gradient(90deg, transparent, var(--brown-2)); }
.rule--dark span:last-child { background: linear-gradient(90deg, var(--brown-2), transparent); }
.rule--dark i { color: var(--brown-2); }
.rule--gold span { background: linear-gradient(90deg, transparent, var(--gold-2)); }
.rule--gold span:last-child { background: linear-gradient(90deg, var(--gold-2), transparent); }
.rule--gold i { color: var(--gold-2); }

.motif { width: 62px; height: 62px; color: var(--gold); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__monogram {
  font-family: var(--serif); font-size: 1.6rem; letter-spacing: .18em;
  color: var(--brown); text-transform: uppercase; transition: color .4s var(--ease);
}
.nav__amp { color: var(--gold); margin: 0 .06em; }

/* signet / monogram mark */
.nav__brand { display: inline-flex; align-items: center; }
.nav__signet {
  width: 52px; height: 52px; display: block; overflow: visible;
  color: var(--brown);
  transition: color .4s var(--ease), transform .45s var(--ease), width .4s var(--ease), height .4s var(--ease);
}
.nav__signet text   { transition: fill .4s var(--ease); }
.nav__signet circle { transition: stroke .4s var(--ease); }
.signet__letter { fill: currentColor; font-family: var(--serif); font-weight: 600; }
.signet__amp    { fill: var(--gold);  font-family: var(--script); }
.signet__ring2  { stroke: var(--gold); }
.signet__accent { fill: var(--gold); transition: fill .4s var(--ease); }
.nav__brand:hover .nav__signet { transform: scale(1.06); }

.nav.is-scrolled .nav__signet { color: var(--paper); width: 46px; height: 46px; }
.nav.is-scrolled .signet__amp,
.nav.is-scrolled .signet__accent { fill: var(--gold-2); }
.nav.is-scrolled .signet__ring2 { stroke: var(--gold-2); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.nav__links a {
  font-family: var(--serif); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown); position: relative; transition: color .3s var(--ease); white-space: nowrap;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  border: 1px solid currentColor; padding: .5em 1.25em; border-radius: 2px;
  color: var(--green) !important;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--green); border-color: var(--green); color: var(--cream) !important; }

/* scrolled state → dark bar, light text */
.nav.is-scrolled { background: rgba(24,42,29,.96); box-shadow: 0 6px 30px rgba(0,0,0,.18); height: 62px; backdrop-filter: blur(6px); }
.nav.is-scrolled .nav__monogram { color: var(--paper); }
.nav.is-scrolled .nav__amp { color: var(--gold-2); }
.nav.is-scrolled .nav__links a { color: var(--paper); }
.nav.is-scrolled .nav__links a::after { background: var(--gold-2); }
.nav.is-scrolled .nav__cta { color: var(--gold-2) !important; }
.nav.is-scrolled .nav__cta:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--green-deep) !important; }
.nav.is-scrolled .nav__toggle span { background: var(--paper); }

/* top of page now sits over the dark countdown hero → light nav even before scroll */
.nav:not(.is-scrolled) .nav__links a { color: var(--paper); }
.nav:not(.is-scrolled) .nav__links a::after { background: var(--gold-2); }
.nav:not(.is-scrolled) .nav__cta { color: var(--gold-2) !important; }
.nav:not(.is-scrolled) .nav__toggle span { background: var(--paper); }
.nav:not(.is-scrolled) .nav__signet { color: var(--paper); }
.nav:not(.is-scrolled) .signet__amp,
.nav:not(.is-scrolled) .signet__accent { fill: var(--gold-2); }
.nav:not(.is-scrolled) .signet__ring2 { stroke: var(--gold-2); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 26px; position: relative; }
.nav__toggle span { position: absolute; left: 0; height: 2px; width: 100%; background: var(--brown); transition: .3s var(--ease); }
.nav__toggle span:nth-child(1) { top: 2px; }
.nav__toggle span:nth-child(2) { top: 12px; }
.nav__toggle span:nth-child(3) { top: 22px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 24px) 16px 40px;
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -10%, #FBF7EC 0%, var(--cream) 45%, var(--cream-2) 100%);
}
/* woven side textures */
.hero::before, .hero::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(60px, 12vw, 190px);
  opacity: .5; pointer-events: none; z-index: 0;
  background-size: 26px 26px;
}
.hero::before {
  left: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(90,58,34,.18) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(45deg,  rgba(38,67,46,.14) 0 2px, transparent 2px 13px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent);
          mask-image: linear-gradient(90deg, #000, transparent);
}
.hero::after {
  right: 0;
  background-image:
    repeating-linear-gradient(45deg,  rgba(187,90,55,.18) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(135deg, rgba(190,154,62,.16) 0 2px, transparent 2px 13px);
  -webkit-mask-image: linear-gradient(270deg, #000, transparent);
          mask-image: linear-gradient(270deg, #000, transparent);
}

.hero__frame {
  position: relative; z-index: 1;
  width: min(760px, 100%);
  background: linear-gradient(180deg, rgba(255,253,247,.86), rgba(250,246,234,.82));
  border: 1px solid rgba(190,154,62,.45);
  box-shadow: 0 30px 80px -30px rgba(42,27,16,.35), inset 0 0 0 6px rgba(255,255,255,.35);
  padding: clamp(34px, 5vw, 66px) clamp(22px, 5vw, 60px) clamp(46px, 5vw, 60px);
  text-align: center;
}
.corner { position: absolute; width: 42px; height: 42px; border: 1px solid var(--gold); }
.corner--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.corner--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.corner--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.motif--star { margin: 0 auto .4rem; width: clamp(46px, 6vw, 66px); height: clamp(46px, 6vw, 66px); }

.hero__eyebrow {
  font-family: var(--script); color: var(--gold);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem); margin: 0 0 .25rem; line-height: 1;
}
.hero__title { display: flex; flex-direction: column; align-items: center; line-height: .92; }
.hero__title-main {
  font-family: var(--serif); font-weight: 600; color: var(--brown);
  font-size: clamp(3.2rem, 12vw, 7rem); letter-spacing: .04em; text-transform: uppercase;
}
.hero__title-sub {
  font-family: var(--serif); font-weight: 500; color: var(--green);
  font-size: clamp(1.2rem, 4vw, 2.1rem); letter-spacing: clamp(.16em, 1vw, .34em);
  text-transform: uppercase; padding-left: clamp(.16em,1vw,.34em); margin-bottom: .1em;
}

.hero__names { margin: .6rem 0 .2rem; }
.hero__name {
  display: block; font-family: var(--script); color: var(--brown);
  font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 1.05;
}
.hero__and { display: block; font-family: var(--script); color: var(--gold); font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1; margin: -.1em 0; }

.hero__date {
  display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.2rem);
  margin: 1.1rem 0 .2rem; flex-wrap: wrap;
}
.hero__date-day, .hero__date-time {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .28em;
  color: var(--ink); font-size: clamp(.8rem, 1.6vw, 1rem);
}
.hero__date-mid { display: flex; flex-direction: column; align-items: center; line-height: 1; position: relative; padding: 0 clamp(1rem,3vw,2.2rem); }
.hero__date-mid::before, .hero__date-mid::after {
  content: ""; position: absolute; top: 8%; bottom: 8%; width: 1px; background: var(--gold);
}
.hero__date-mid::before { left: 0; } .hero__date-mid::after { right: 0; }
.hero__date-mid em { font-style: normal; font-family: var(--serif); text-transform: uppercase; letter-spacing: .22em; color: var(--green); font-size: clamp(.78rem,1.5vw,1rem); }
.hero__date-mid strong { font-family: var(--serif); font-weight: 600; color: var(--green); font-size: clamp(2.4rem, 6vw, 3.6rem); }

.hero__known { margin: 1.4rem 0 .4rem; }
.hero__known-label { font-family: var(--script); color: var(--gold); font-size: clamp(1.3rem,3vw,1.8rem); margin: 0 0 .4rem; }
.hero__known-list { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.hero__known-list li {
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  padding: 0 clamp(1rem, 3.4vw, 2.1rem); position: relative;
}
.hero__known-list li + li::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: rgba(190,154,62,.6);
}
.hero__known-list span { font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--brown-2); }
.hero__known-list b { font-family: var(--serif); font-weight: 500; color: var(--ink); font-size: clamp(1.3rem, 3.4vw, 1.9rem); }

.hero__tagline {
  font-family: var(--script); color: var(--green); font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.25; margin: 1.2rem 0 0;
}
.hero__tagline i { color: var(--terracotta); font-style: normal; display: inline-block; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--brown-2); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--brown-2); transform: translateX(-50%); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0; transform: translate(-50%,-4px);} 40%{opacity:1;} 80%{opacity:0; transform: translate(-50%,10px);} 100%{opacity:0;} }

/* =====================================================================
   COUNTDOWN
   ===================================================================== */
.count {
  color: var(--paper); position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + clamp(28px,6vw,60px)) 16px clamp(48px,8vw,88px);
  background:
    linear-gradient(rgba(20,38,27,.82), rgba(27,48,33,.9)),
    url("../assets/img/setup-lakeside.jpg") center/cover no-repeat fixed;
}
.count::before, .count::after { content:""; position:absolute; left:0; right:0; height:8px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 20px); opacity:.5; }
.count::before { display: none; } .count::after { bottom: 0; }
.count__inner { text-align: center; }
.count .section__eyebrow { color: var(--gold-2); }
.count__grid { display: flex; justify-content: center; gap: clamp(.6rem, 3vw, 2.4rem); flex-wrap: wrap; margin-top: 1rem; }
.count__cell {
  min-width: clamp(70px, 18vw, 120px); padding: 1rem .5rem;
  border: 1px solid rgba(216,188,110,.35); border-radius: 3px;
  background: rgba(0,0,0,.12);
}
.count__num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 7vw, 4rem); color: var(--gold-2); line-height: 1; font-variant-numeric: tabular-nums; }
.count__lbl { display: block; font-family: var(--serif); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; margin-top: .5rem; color: var(--gold-soft); }
.count__note { margin-top: 1.6rem; font-family: var(--serif); letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; color: var(--gold-soft); }

/* opening-hero content */
.count__names { font-family: var(--script); color: var(--paper); font-size: clamp(2.6rem, 7.5vw, 4.6rem); line-height: 1; margin: 0 0 .35rem; }
.count__names span { color: var(--gold-2); }
.count__eyebrow { font-family: var(--serif); text-transform: uppercase; letter-spacing: .26em; font-size: clamp(.72rem, 1.6vw, .86rem); color: var(--gold-2); margin: 0 0 1.7rem; }
.count__event { margin-top: 2rem; }
.count__date { font-family: var(--serif); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.55rem); letter-spacing: .08em; color: var(--paper); margin: 0; }
.count__loc { font-family: var(--serif); text-transform: uppercase; letter-spacing: .2em; font-size: clamp(.82rem, 1.7vw, 1rem); color: var(--gold-2); margin: .55rem 0 0; }

/* =====================================================================
   OUR STORY
   ===================================================================== */
.story { background: var(--cream); }
.story__lead { max-width: 640px; margin: 0 auto clamp(40px,5vw,60px); text-align: center; }
.story__lead p { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--brown); font-style: italic; }

.timeline { max-width: 640px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before { content:""; position:absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), rgba(190,154,62,.2)); }
.timeline__item { position: relative; padding-bottom: 2.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot { position: absolute; left: -34px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--cream); }
.timeline__dot::after { content:""; position:absolute; inset: 3px; border-radius:50%; background: var(--terracotta); }
.timeline__body h3 { font-family: var(--serif); font-weight: 600; color: var(--green); font-size: clamp(1.35rem,3vw,1.7rem); letter-spacing: .02em; margin-bottom: .2rem; }
.timeline__body p { color: var(--brown-2); margin: 0; }
.timeline__body em { color: var(--terracotta-2); font-style: italic; }

/* Story two-column with photo collage */
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1040px; margin: 0 auto; }
.story__grid .timeline { margin: 0; max-width: none; }
.story__collage { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(.6rem, 1.4vw, 1rem); aspect-ratio: 1 / 1.06; }
.story__fig { margin: 0; border-radius: 5px; overflow: hidden; box-shadow: 0 18px 40px -26px rgba(42,27,16,.7); }
.story__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__fig--tall { grid-row: 1 / 3; }

/* The Proposal band */
.proposal {
  position: relative; min-height: clamp(460px, 88vh, 760px);
  display: flex; align-items: flex-start; justify-content: center; text-align: center;
  color: var(--paper); padding: clamp(48px, 8vh, 96px) 20px clamp(60px, 12vh, 140px);
  background:
    linear-gradient(rgba(20,14,8,.5), rgba(20,14,8,.15) 42%, rgba(20,14,8,.15) 62%, rgba(20,14,8,.5)),
    url("../assets/img/proposal.jpg") center 62%/cover no-repeat;
  background-attachment: scroll;
}
.proposal__inner { max-width: 640px; }
.proposal__eyebrow { font-family: var(--serif); text-transform: uppercase; letter-spacing: .28em; font-size: clamp(.72rem,1.6vw,.85rem); color: var(--gold-soft); margin: 0 0 .8rem; }
.proposal__title { font-family: var(--script); font-size: clamp(3.4rem, 10vw, 6rem); color: #fff; line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.proposal .rule { margin-block: 1.2rem; }
.proposal__text { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--paper); text-shadow: 0 2px 16px rgba(0,0,0,.5); margin: 0; }

/* =====================================================================
   CEREMONY
   ===================================================================== */
.ceremony { background: var(--green); color: var(--paper); position: relative; overflow: hidden; }
.ceremony::before {
  content:""; position:absolute; inset:0; opacity:.14; pointer-events:none;
  background-image: radial-gradient(circle at 1px 1px, var(--gold-2) 1px, transparent 0);
  background-size: 28px 28px;
}
.ceremony .container { position: relative; z-index: 1; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.card {
  background: linear-gradient(180deg, rgba(255,253,247,.07), rgba(0,0,0,.14));
  border: 1px solid rgba(216,188,110,.34);
  border-radius: 4px; padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem,2.6vw,2rem);
  text-align: center; position: relative; transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-2); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.card--center { background: linear-gradient(180deg, rgba(216,188,110,.14), rgba(0,0,0,.2)); }
.card__badge {
  display: inline-block; font-family: var(--serif); text-transform: uppercase; letter-spacing: .28em;
  font-size: .72rem; color: var(--green-deep); background: var(--gold-2);
  padding: .3em 1em; border-radius: 2px; margin-bottom: 1rem;
}
.card__title { font-family: var(--serif); font-weight: 600; color: var(--gold-soft); font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: .7rem; }
.card__text { color: #EBE6D4; font-size: 1rem; }
.card__text em { color: var(--gold-2); font-style: italic; }
.card__tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1.3rem; }
.card__tags li { font-family: var(--serif); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; color: var(--gold-soft); border: 1px solid rgba(216,188,110,.4); border-radius: 20px; padding: .35em .9em; }

/* =====================================================================
   DETAILS
   ===================================================================== */
.details { background: var(--cream); }
.details__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); margin-bottom: clamp(48px,6vw,72px); }
.detail-card {
  background: var(--paper); border: 1px solid rgba(190,154,62,.4); border-radius: 4px;
  padding: clamp(1.8rem,3vw,2.6rem) 1.5rem; text-align: center;
  box-shadow: 0 20px 40px -30px rgba(42,27,16,.5);
}
.detail-card__icon { display:block; font-size: 1.6rem; color: var(--gold); margin-bottom: .6rem; }
.detail-card h3 { font-family: var(--serif); text-transform: uppercase; letter-spacing: .24em; font-size: .95rem; color: var(--brown-2); margin-bottom: .8rem; }
.detail-card__big { font-family: var(--serif); font-weight: 600; color: var(--green); font-size: clamp(1.3rem,3vw,1.7rem); margin: 0 0 .4rem; line-height: 1.2; }
.detail-card p { margin: 0; color: var(--brown-2); }
.detail-card__link { display: inline-block; margin-top: 1rem; font-family: var(--serif); letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; color: var(--terracotta-2); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .3s; }
.detail-card__link:hover { color: var(--gold); }

.schedule { max-width: 640px; margin: 0 auto; text-align: center; }
.schedule__title { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--brown); font-size: clamp(1.3rem,3vw,1.7rem); }
.schedule__hint { color: var(--brown-2); font-style: italic; margin: .3rem 0 1.8rem; font-size: .95rem; }
.schedule__list { text-align: left; }
.schedule__list li { display: grid; grid-template-columns: 62px 24px 1fr; align-items: center; padding: .85rem 0; border-bottom: 1px dashed rgba(122,82,48,.35); }
.schedule__list li:last-child { border-bottom: 0; }
.schedule__time { font-family: var(--serif); font-weight: 600; color: var(--green); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.schedule__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); justify-self: center; }
.schedule__what { color: var(--ink); }

/* =====================================================================
   PALETTE / DRESS
   ===================================================================== */
.palette { background: var(--brown); color: var(--paper); text-align: center; }
.palette__inner { max-width: 760px; }
.swatches { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(.8rem, 2.4vw, 1.6rem); margin: 2rem 0 1.5rem; }
.swatch { display: flex; align-items: flex-end; justify-content: center; width: clamp(90px, 18vw, 130px); height: clamp(90px, 18vw, 130px); border-radius: 4px; background: var(--c); box-shadow: 0 14px 30px -16px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15); padding-bottom: .7rem; }
.swatch b { font-family: var(--serif); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.swatch b.swatch--dark { color: var(--ink); text-shadow: none; }
.palette__note { color: var(--gold-soft); max-width: 620px; margin: 0 auto; font-style: italic; }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery { background: var(--cream); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: row dense; gap: clamp(.6rem, 1.4vw, 1rem); }
.gallery__tile {
  margin: 0; padding: 0; border: 0; cursor: pointer; border-radius: 4px; overflow: hidden;
  position: relative; background: var(--paper);
  box-shadow: 0 12px 30px -22px rgba(42,27,16,.6);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.gallery__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease); }
.gallery__tile::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s var(--ease);
  background: linear-gradient(transparent 55%, rgba(20,38,27,.35));
}
.gallery__tile:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -22px rgba(42,27,16,.6); }
.gallery__tile:hover img { transform: scale(1.06); }
.gallery__tile:hover::after { opacity: 1; }
.gallery__tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery__tile--tall { grid-row: span 2; }
.gallery__tile--wide { grid-column: span 2; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(16,12,8,.94); padding: clamp(12px, 4vw, 48px); opacity: 0; transition: opacity .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 0; color: var(--gold-soft); cursor: pointer;
  font-family: var(--serif); line-height: 1; transition: color .3s var(--ease), transform .2s var(--ease);
}
.lightbox__close { top: clamp(10px,3vw,24px); right: clamp(14px,3vw,30px); font-size: 2.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: clamp(2.5rem, 6vw, 4rem); padding: .3em; }
.lightbox__nav--prev { left: clamp(4px,2vw,20px); }
.lightbox__nav--next { right: clamp(4px,2vw,20px); }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--paper); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.15); }

/* =====================================================================
   RSVP
   ===================================================================== */
.rsvp { background: var(--green-2); color: var(--paper); }
.rsvp__inner { max-width: 760px; }
.rsvp__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; margin-top: .5rem; }
/* Honeypot — off-screen and out of the grid flow (absolute children aren't grid items) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Activities checklist */
.checks { border: 1px solid rgba(216,188,110,.4); border-radius: 3px; margin: 0; padding: .3rem 1.1rem 1rem; }
.checks legend { font-family: var(--serif); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gold-soft); padding: 0 .5rem; }
.checks__list { display: flex; flex-wrap: wrap; gap: .2rem 1.8rem; }
.check { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; color: var(--paper); cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--gold); flex: none; cursor: pointer; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--serif); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; color: var(--gold-soft); margin-bottom: .45rem; }
.field label span { text-transform: none; letter-spacing: 0; opacity: .7; font-style: italic; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--paper);
  background: rgba(255,255,255,.06); border: 1px solid rgba(216,188,110,.4);
  border-radius: 3px; padding: .75em .9em; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); background: rgba(255,255,255,.1); }
.field select option { color: #222; }

.btn {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: .22em; font-size: .92rem;
  color: var(--green-deep); background: var(--gold-2); border: 1px solid var(--gold-2);
  padding: .95em 2.4em; border-radius: 3px; cursor: pointer; transition: background .3s var(--ease), color .3s, transform .2s;
}
.btn:hover { background: transparent; color: var(--gold-2); }
.btn:active { transform: translateY(1px); }
.rsvp__submit { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: .4rem; }
.rsvp__status { min-height: 1.4em; margin: 0; font-style: italic; color: var(--gold-2); text-align: center; }
.rsvp__status.is-error { color: #F0B7A0; }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { background: var(--cream); }
.faq__inner { max-width: 760px; }
.accordion { display: flex; flex-direction: column; gap: .8rem; }
.acc { border: 1px solid rgba(190,154,62,.45); border-radius: 4px; background: var(--paper); overflow: hidden; }
.acc summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.05rem,2.4vw,1.25rem); color: var(--green);
  padding-right: 3rem;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; transition: transform .3s var(--ease); }
.acc[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.acc p { margin: 0; padding: 0 1.4rem 1.2rem; color: var(--brown-2); }
.acc p em { color: var(--terracotta-2); font-style: italic; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--green-deep); color: var(--gold-soft); text-align: center; padding: clamp(48px,6vw,72px) 0; }
.footer__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.motif--hearts { color: var(--gold-2); width: 96px; height: 48px; margin: 0 auto .4rem; }
.footer__names { font-family: var(--script); font-size: clamp(2.4rem,6vw,3.6rem); color: var(--paper); margin: 0; }
.footer__names span { color: var(--gold-2); }
.footer__tag { font-family: var(--serif); text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; margin: .6rem 0 .3rem; }
.footer__date { font-family: var(--serif); letter-spacing: .34em; color: var(--gold-2); font-size: .9rem; margin: 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .details__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__tile--wide { grid-column: span 2; }
  .story__grid { grid-template-columns: 1fr; gap: clamp(1.8rem, 5vw, 2.6rem); max-width: 520px; }
  .story__collage { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
}

/* Fixed backgrounds are janky on touch devices — use scroll there */
@media (hover: none), (max-width: 860px) {
  .count, .proposal { background-attachment: scroll; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: var(--nav-h);
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(24,42,29,.98); padding: .5rem 0 1.2rem;
    transform: translateY(-120%); transition: transform .4s var(--ease); box-shadow: 0 20px 40px rgba(0,0,0,.3);
  }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav__links a,
  .nav.is-scrolled .nav__links a { color: var(--paper); padding: .95rem clamp(20px,5vw,48px); font-size: 1rem; }
  .nav__links a::after { display: none; }
  .nav__cta { border: 0; margin: .4rem clamp(20px,5vw,48px) 0; text-align: center; background: var(--gold-2); color: var(--green-deep) !important; }
  .nav__toggle { display: block; }
  .nav:not(.is-scrolled).is-open { background: rgba(24,42,29,.98); }
  .rsvp__form { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__date-mid { padding-inline: 1rem; }
  .hero__known-list li { padding-inline: 1rem; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__tile--wide, .gallery__tile--tall { grid-column: auto; grid-row: auto; }
}

/* =====================================================================
   TRAVEL / GUEST GUIDE
   ===================================================================== */
.travel { background: var(--cream); }
.travel__block { margin-top: clamp(52px, 8vw, 96px); }
.travel__block--first { margin-top: 0; }
.travel__subhead { text-align: center; max-width: 680px; margin: 0 auto clamp(28px, 4vw, 44px); }
.travel__eyebrow { font-family: var(--script); color: var(--gold); font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1; }
.travel__title { font-family: var(--serif); font-weight: 600; color: var(--brown); font-size: clamp(1.7rem, 4vw, 2.4rem); margin: .1rem 0 0; line-height: 1.1; }
.travel__lead { color: var(--brown-2); margin: .8rem auto 0; max-width: 620px; }
.travel__lead em { color: var(--terracotta-2); font-style: italic; }

/* link cards (stays & attractions) */
.linkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(.8rem, 1.8vw, 1.2rem); }
.linkgrid--wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.linkcard { display: flex; flex-direction: column; gap: .28rem; background: var(--paper); border: 1px solid rgba(190,154,62,.4); border-radius: 6px; padding: 1rem 1.15rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.linkcard:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 16px 34px -22px rgba(90,58,34,.5); }
.linkcard__name { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1.08rem; line-height: 1.25; }
.linkcard__name::after { content: " ↗"; color: var(--gold); font-size: .82em; }
.linkcard__note { color: var(--brown-2); font-size: .88rem; line-height: 1.45; }

/* notes & inline links */
.travel__note { font-size: .88rem; color: var(--brown-2); font-style: italic; margin: 1.2rem 0 0; line-height: 1.6; }
.travel__note strong { color: var(--green); font-weight: 600; font-style: normal; }
.travel__text a, .travel__lead a, .travel__note a { color: var(--terracotta-2); border-bottom: 1px solid rgba(162,74,44,.4); transition: color .2s var(--ease), border-color .2s var(--ease); }
.travel__text a:hover, .travel__lead a:hover, .travel__note a:hover { color: var(--gold); border-color: var(--gold); }

/* good-to-know tips */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
.tip { background: var(--paper); border: 1px solid rgba(190,154,62,.35); border-radius: 6px; padding: clamp(1.2rem, 2.2vw, 1.7rem); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tip:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(90,58,34,.5); }
.tip__icon { font-size: 1.5rem; display: block; margin-bottom: .55rem; }
.tip h4 { font-family: var(--serif); text-transform: uppercase; letter-spacing: .16em; font-size: .92rem; color: var(--brown-2); margin: 0 0 .55rem; }
.tip p { margin: 0; color: var(--brown-2); font-size: .92rem; line-height: 1.6; }
.tip p + p { margin-top: .55rem; }
.tip strong { color: var(--green); font-weight: 600; }

.travel__tabletitle { font-family: var(--serif); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .95rem; color: var(--brown); margin: clamp(1.8rem, 3.5vw, 2.6rem) 0 1rem; }
.travel__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.6rem); margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.travel__cols .travel__tabletitle { margin-top: 0; }
.travel__text { color: var(--brown-2); margin: 0; line-height: 1.65; }
.travel__text strong { color: var(--green); font-weight: 600; }
.travel__text .rate { color: var(--gold); font-style: italic; }

@media (max-width: 860px) {
  .travel__cols { grid-template-columns: 1fr; gap: 1.4rem; }
}
