/* ============================================================
   Georgia & Harry. Provence wedding information site
   Sage green on cream, refined serif type, hand-drawn accents.

   EDIT COLOURS & FONTS in the :root block below.
   ============================================================ */

:root {
  /* --- palette --- */
  --cream:        #efeee4;   /* page background        */
  --cream-2:      #e8e6da;   /* alternating sections   */
  --cream-card:   #f6f5ee;   /* card surfaces          */
  --green:        #5c6b4a;   /* primary olive          */
  --green-deep:   #404a34;   /* darker green for text  */
  --green-soft:   #8c997b;   /* muted sage             */
  --ink:          #3b4231;   /* body text              */
  --line:         #c3c6b2;   /* hairlines / borders    */
  --sand:         #c9b79c;   /* warm accent            */

  /* --- type (two families, no script) --- */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body:    "EB Garamond", Georgia, serif;

  /* --- layout --- */
  --wrap:        1080px;
  --wrap-narrow: 720px;
  --header-h:    66px;
  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-deep); }

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: -1;
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(140,153,123,.10), transparent 60%),
    radial-gradient(700px 500px at -10% 105%, rgba(140,153,123,.10), transparent 60%);
}

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: var(--wrap-narrow); }
.center { text-align: center; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--cream { background: var(--cream-2); }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: .72rem;
  color: var(--green-soft);
  margin: 0 0 .6rem;
}
.eyebrow.center { text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  color: var(--green-deep);
  margin: 0;
  letter-spacing: .01em;
}
.section-head { max-width: 660px; margin: 0 auto clamp(40px,5vw,60px); text-align: center; }
.section-intro { color: var(--ink); margin: 1rem auto 0; max-width: 60ch; }
.lead { font-size: 1.18rem; color: var(--ink); }
.muted { color: var(--green-soft); }

.head-icon { display: block; width: 72px; height: 72px; object-fit: contain; margin: 0 auto .8rem; }

/* leaf divider */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 1.4rem auto 1.8rem; }
.divider span { height: 1px; width: 64px; background: var(--line); }
.div-mark { width: 34px; height: 40px; object-fit: contain; opacity: .85; }

.text-link {
  color: var(--green); font-style: italic; text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
  transition: border-color .25s, color .25s;
}
.text-link:hover { color: var(--green-deep); border-color: var(--green); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  background: rgba(239,238,228,.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(239,238,228,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(60,66,49,.06);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  height: var(--header-h); padding: 0 24px;
  display: flex; align-items: center; gap: 22px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.25rem; letter-spacing: .02em;
  color: var(--green-deep); text-decoration: none;
  margin-right: auto;   /* pushes the nav links + RSVP button to the right */
}

/* RSVP button, always visible in the top bar, on desktop and mobile */
.nav-cta {
  font-family: var(--font-display); font-weight: 600;
  font-size: .98rem; letter-spacing: .1em;
  color: #f4f3ea; background: var(--green); border: 1px solid var(--green);
  padding: .44rem 1.25rem; border-radius: 999px; text-decoration: none;
  white-space: nowrap; box-shadow: 0 6px 16px rgba(64,74,52,.16);
  transition: background .25s, transform .15s var(--ease), box-shadow .25s;
}
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); color: #fff; }
.nav-cta.active { background: var(--green-deep); border-color: var(--green-deep); }
.nav-menu { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav-menu a {
  font-family: var(--font-body);
  font-size: .96rem; letter-spacing: .06em;
  color: var(--green-deep); text-decoration: none;
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--green); transition: right .3s var(--ease);
}
.nav-menu a:hover::after, .nav-menu a.active::after { right: 0; }
.nav-menu a:hover, .nav-menu a.active { color: var(--green); }

/* mobile toggle */
.nav-toggle {
  display: none; width: 40px; height: 34px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 26px; background: var(--green-deep);
  transition: transform .3s var(--ease), opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO  (clean info-site banner)
   ============================================================ */
.hero {
  position: relative;
  min-height: 90svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--header-h) + 40px) 22px 56px;
  background: radial-gradient(120% 90% at 50% 0%, #f4f3ea 0%, var(--cream) 55%, var(--cream-2) 100%);
}
.hero-content { max-width: 780px; position: relative; z-index: 1; }
.hero-mark { display: block; width: 104px; height: 104px; object-fit: contain; margin: 0 auto .6rem; }
.hero-eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .32em; font-size: .82rem;
  color: var(--green-soft); margin: 0 0 1rem;
}
.hero-names {
  font-family: var(--font-display);
  font-weight: 500; color: var(--green-deep);
  font-size: clamp(3rem, 9vw, 6rem); line-height: 1.02; letter-spacing: .01em;
  margin: 0;
}
.divider--hero { margin: 1.6rem auto; }
.hero-meta {
  font-family: var(--font-display);
  font-weight: 500; letter-spacing: .06em;
  font-size: clamp(1.05rem, 2.4vw, 1.32rem);
  color: var(--green); margin: 0 0 1.1rem;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: 1.12rem; color: var(--ink);
  max-width: 56ch; margin: 0 auto 2rem;
}

/* countdown */
.countdown {
  display: inline-flex; gap: clamp(14px, 4vw, 34px);
  padding: 18px 8px; margin: 0 auto 1.6rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 52px; }
.cd-num {
  font-family: var(--font-display);
  font-weight: 500; font-size: clamp(1.6rem, 5vw, 2.4rem);
  color: var(--green-deep); line-height: 1; font-variant-numeric: tabular-nums;
}
.cd-label {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .2em;
  font-size: .62rem; color: var(--green-soft); margin-top: .5rem;
}

.scroll-cue {
  display: inline-block; margin-top: 1rem;
  color: var(--green); text-decoration: none; font-size: 1.4rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(6px); } }

/* hero entrance, gentle staggered rise on load */
@keyframes heroRise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-mark, .hero-eyebrow, .hero-names, .divider--hero, .hero-meta, .hero-lead, .countdown {
  animation: heroRise .85s var(--ease) both;
}
.hero-eyebrow  { animation-delay: .10s; }
.hero-names    { animation-delay: .20s; }
.divider--hero { animation-delay: .30s; }
.hero-meta     { animation-delay: .40s; }
.hero-lead     { animation-delay: .50s; }
.countdown     { animation-delay: .60s; }

/* ============================================================
   VENUE landscape photo
   ============================================================ */
.venue { padding: clamp(28px, 4vw, 48px) 0; background: var(--cream); }
.venue-photo { margin: 0; }
.venue-frame {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(60,66,49,.12);
}
.venue-photo img {
  width: 100%; display: block;
  aspect-ratio: 2 / 1; object-fit: cover; object-position: center 45%;
  transition: transform .7s var(--ease);
}
.venue-frame:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .venue-photo img { aspect-ratio: 16 / 10; } }
.venue-caption {
  text-align: center; font-family: var(--font-display); font-style: italic;
  letter-spacing: .04em; color: var(--green-soft); font-size: 1.05rem; margin-top: 1rem;
}

/* ============================================================
   IMAGE PLACEHOLDERS (venue + inspiration)
   ============================================================ */
.img-placeholder {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; text-align: center; padding: 22px;
  color: var(--green-soft);
  background:
    repeating-linear-gradient(45deg, rgba(140,153,123,.05) 0 14px, transparent 14px 28px),
    var(--cream-card);
  border: 1.5px dashed var(--line); border-radius: 8px;
}
.img-placeholder--wide { aspect-ratio: 16 / 6; }
.img-placeholder--portrait { aspect-ratio: 3 / 4; border-radius: 5px; padding: 12px; }
.img-icon { width: 64px; height: 64px; opacity: .7; }
.img-placeholder--portrait .img-icon { width: 56px; height: 56px; }
.img-title { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--green-deep); margin: 0; }
.img-hint { font-size: .92rem; font-style: italic; margin: 0; }
.img-placeholder--portrait span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }

@media (max-width: 760px) { .img-placeholder--wide { aspect-ratio: 4 / 3; } }

/* ============================================================
   WELCOME facts + post note
   ============================================================ */
.post-note {
  max-width: 56ch; margin: 1.4rem auto 0;
  font-size: 1rem; color: var(--ink);
  background: rgba(92,107,74,.06);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 14px 20px;
}
.post-note strong { color: var(--green-deep); }

.fact-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: clamp(36px,5vw,52px); }
.fact {
  padding: 26px 18px; background: var(--cream-card);
  border: 1px solid var(--line); border-radius: 4px;
  display: flex; flex-direction: column; gap: .35rem;
}
.fact-label { text-transform: uppercase; letter-spacing: .26em; font-size: .68rem; color: var(--green-soft); }
.fact-value { font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; color: var(--green-deep); line-height: 1.2; }
.fact-sub { font-size: .92rem; color: var(--green-soft); font-style: italic; }

/* ============================================================
   CARDS / GRID
   ============================================================ */
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); }
#travel .card-grid, #stay .card-grid { align-items: start; }
.card {
  position: relative; background: var(--cream-card);
  border: 1px solid var(--line); border-radius: 5px; padding: 30px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,66,49,.09); border-color: var(--green-soft); }
.card-title { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--green-deep); margin: 0 0 .55rem; letter-spacing: .01em; }
.card p { margin: 0 0 .8rem; }
.card p:last-child { margin-bottom: 0; }
.card-note { font-size: .92rem; color: var(--green-soft); font-style: italic; border-top: 1px dashed var(--line); padding-top: .8rem; margin-top: 1rem !important; }
.card strong { color: var(--green-deep); font-weight: 600; }

.pill {
  display: inline-block; align-self: flex-start;
  text-transform: uppercase; letter-spacing: .18em; font-size: .64rem;
  color: var(--green); background: rgba(92,107,74,.09);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px; margin-bottom: .9rem;
}
.card--explore .card-title { font-size: 1.28rem; }

.callout { margin-top: 26px; padding: 22px 26px; background: rgba(92,107,74,.06); border-left: 3px solid var(--green); border-radius: 4px; }
.callout p { margin: 0; }

/* ============================================================
   DRESS, split + palette + inspiration
   ============================================================ */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.split-text .card-title { margin-top: 1.6rem; }
.split-text .card-title:first-child { margin-top: 0; }
.split-text p { margin: .3rem 0 0; }

.palette-card { background: var(--cream-card); border: 1px solid var(--line); border-radius: 5px; padding: 30px 28px; position: sticky; top: 90px; }
.palette-title { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--green-deep); margin: 0 0 1rem; }
.swatches { display: flex; gap: 10px; margin-bottom: 1.1rem; }
.sw { width: 100%; height: 46px; border-radius: 3px; background: var(--sw); border: 1px solid rgba(0,0,0,.06); }
.palette-note { font-size: .98rem; margin: 0 0 .8rem; }
.palette-aside { font-size: .9rem; color: var(--green-soft); font-style: italic; margin: 0; }

.inspo { margin-top: clamp(40px,5vw,56px); text-align: center; }
.inspo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-top: 1rem; }
.inspo-note { font-size: .92rem; font-style: italic; color: var(--green-soft); margin: 1.1rem 0 0; }

/* ============================================================
   ITINERARY timeline
   ============================================================ */
.timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.day { background: var(--cream-card); border: 1px solid var(--line); border-radius: 5px; padding: 30px 28px; }
.day--feature { background: var(--green); color: #f1f0e6; border-color: var(--green); box-shadow: 0 16px 36px rgba(64,74,52,.18); }
.day-head { border-bottom: 1px solid var(--line); padding-bottom: .9rem; margin-bottom: 1.1rem; }
.day--feature .day-head { border-color: rgba(255,255,255,.28); }
.day-date { display: block; text-transform: uppercase; letter-spacing: .22em; font-size: .7rem; color: var(--green-soft); margin-bottom: .3rem; }
.day--feature .day-date { color: #d9e0c8; }
.day-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin: 0; color: var(--green-deep); }
.day--feature .day-title { color: #fff; }
.day-list { list-style: none; margin: 0; padding: 0; }
.day-list li { padding: .42rem 0; border-bottom: 1px dotted var(--line); font-size: 1.02rem; }
.day--feature .day-list li { border-color: rgba(255,255,255,.2); }
.day-list li:last-child { border-bottom: 0; }
.day-list .t { display: inline-block; min-width: 76px; font-family: var(--font-display); font-weight: 600; color: var(--green); }
.day--feature .day-list .t { color: #d9e0c8; }

/* order-of-events style rows, icon + time + label */
.day-list--order li.has-icon { display: flex; align-items: center; gap: 12px; }
.day-list--order li.has-icon .t { min-width: 68px; }
.day-icon { width: 32px; height: 32px; flex: 0 0 auto; object-fit: contain; }
.day--feature .day-icon { filter: brightness(0) invert(1); opacity: .9; }
.day-note { font-size: .9rem; font-style: italic; color: var(--green-soft); margin: 1rem 0 0; }
.day--feature .day-note { color: #cdd6bc; }

/* ============================================================
   MENU, food & drink
   ============================================================ */
.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 26px; max-width: 880px; margin: 0 auto; align-items: stretch; }
.menu-card--full { grid-column: 1 / -1; }
/* two columns: the long cocktail card on the left, mains + cheese stacked beside it,
   then dessert and included side by side, so no card is left with empty space */
@media (min-width: 760px) {
  .menu-cols { grid-template-columns: 1fr 1fr; }
  .menu-cols > .menu-card:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .menu-cols > .menu-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .menu-cols > .menu-card:nth-child(3) { grid-column: 2; grid-row: 2; }
  .menu-cols > .menu-card:nth-child(4) { grid-column: 1; grid-row: 3; }
  .menu-cols > .menu-card:nth-child(5) { grid-column: 2; grid-row: 3; }
}
.menu-card {
  background: var(--cream-card); border: 1px solid var(--line);
  border-radius: 5px; padding: 36px 34px;
  display: flex; flex-direction: column;   /* equal-height cards, footer sits at the bottom */
}
.menu-flow {
  text-align: center; color: var(--ink); line-height: 1.8;
  margin: .5rem auto 1.1rem; max-width: 40ch; text-wrap: balance;
}
/* the long canapé line: a touch wider + more line spacing so it wraps evenly */
.menu-flow--wrap { max-width: 46ch; line-height: 2; word-spacing: .06em; }
.menu-heading {
  font-family: var(--font-display); font-weight: 600; font-size: 1.7rem;
  color: var(--green-deep); margin: 0; text-align: center;
}
.menu-sub {
  text-align: center; font-style: italic; color: var(--green-soft);
  margin: .3rem 0 1.4rem; font-size: 1rem;
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex; flex-direction: column; gap: .12rem;
  padding: .85rem 0; border-bottom: 1px dotted var(--line);
  text-align: center;
}
.menu-list li:last-child { border-bottom: 0; }
.dish { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--green-deep); }
.dish-desc { font-size: .98rem; color: var(--ink); font-style: italic; }
.menu-foot { margin: auto 0 0; padding-top: 1.3rem; font-size: .94rem; color: var(--green-soft); font-style: italic; text-align: center; }

/* ============================================================
   FAQ accordion
   ============================================================ */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; cursor: pointer;
  background: none; border: 0; padding: 22px 44px 22px 0;
  font-family: var(--font-display); font-weight: 500; font-size: 1.3rem;
  color: var(--green-deep); position: relative; transition: color .25s;
}
.acc-q:hover { color: var(--green); }
.acc-icon { position: absolute; right: 4px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 0;
  width: 16px; height: 1.6px; background: var(--green); transition: transform .3s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-q[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-a { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.acc-a p { margin: 0; padding: 0 0 22px; color: var(--ink); max-width: 64ch; }

/* ============================================================
   RSVP
   ============================================================ */
.section--rsvp { background: rgba(92,107,74,.055); }

/* standalone rsvp.html page: clear the fixed header, keep footer down */
.rsvp-page { padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); min-height: 72vh; }
.rsvp-back { margin-top: 30px; }

.rsvp-shell { max-width: 640px; margin: 0 auto; }

.rsvp-card {
  background: var(--cream-card); border: 1px solid var(--line);
  border-radius: 6px; padding: clamp(26px, 4.5vw, 44px);
  box-shadow: 0 16px 40px rgba(60,66,49,.07);
}
.rsvp-greeting {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 3.4vw, 1.85rem); color: var(--green-deep);
  text-align: center; margin: 0 0 1.6rem; line-height: 1.25;
}

/* form controls */
.rsvp-input, .rsvp-select, .rsvp-text {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 5px;
  padding: .68rem .85rem; transition: border-color .2s, box-shadow .2s;
}
.rsvp-text { min-height: 2.7rem; resize: vertical; line-height: 1.5; }
.rsvp-input:focus, .rsvp-select:focus, .rsvp-text:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(92,107,74,.16);
}
.rsvp-label {
  display: block; font-family: var(--font-body); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .18em; color: var(--green-soft);
  margin: 0 0 .4rem;
}

/* fieldset reset */
.rsvp-attend, .rsvp-party-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.rsvp-attend legend, .rsvp-party-q legend {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  color: var(--green-deep); padding: 0; margin: 0 0 .65rem;
}

/* segmented Yes/No control */
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg label {
  position: relative; cursor: pointer; user-select: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--cream); color: var(--green-deep);
  transition: background .2s var(--ease), border-color .2s, color .2s, box-shadow .2s, transform .15s;
}
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label:hover { border-color: var(--green-soft); }
.seg label:focus-within { box-shadow: 0 0 0 3px rgba(92,107,74,.22); }
.seg label.is-on {
  background: var(--green); border-color: var(--green); color: #f4f3ea;
  box-shadow: 0 6px 16px rgba(64,74,52,.18);
}
.seg label.is-on.is-no { background: var(--green-soft); border-color: var(--green-soft); box-shadow: none; }

/* per-guest block */
.rsvp-guest { padding: 24px 0; border-top: 1px solid var(--line); }
.rsvp-guest:first-child { border-top: 0; padding-top: 4px; }
.rsvp-guest-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  color: var(--green-deep); margin: 0 0 .9rem; letter-spacing: .01em;
}
.rsvp-when { margin-top: 1.1rem; display: grid; gap: 1rem 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.rsvp-when[hidden] { display: none; }
.rsvp-field--full { grid-column: 1 / -1; }   /* +1 name field spans the row */

/* party-level question + message */
.rsvp-party-q { margin-top: 6px; padding-top: 24px; border-top: 1px solid var(--line); }
.rsvp-hint { font-size: .9rem; color: var(--green-soft); font-style: italic; margin: .65rem 0 0; }
.rsvp-message { margin-top: 22px; }

/* actions + status */
.rsvp-actions { margin-top: 28px; text-align: center; }
.rsvp-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; letter-spacing: .02em;
  color: #f4f3ea; background: var(--green); border: 1px solid var(--green);
  border-radius: 999px; padding: .82rem 2.3rem; cursor: pointer;
  box-shadow: 0 10px 24px rgba(64,74,52,.18);
  transition: background .25s, transform .15s var(--ease), box-shadow .25s, opacity .2s;
}
.rsvp-btn:hover { background: var(--green-deep); transform: translateY(-2px); }
.rsvp-btn:disabled { opacity: .55; cursor: default; transform: none; box-shadow: none; }
.rsvp-status { margin: 1.1rem 0 0; text-align: center; font-style: italic; color: var(--green-soft); min-height: 1.2em; }
.rsvp-status.err { color: #9a3b2f; font-style: normal; }

/* code-entry panel (shown when no valid code in the link) */
.rsvp-codebox { text-align: center; }
.rsvp-codebox .rsvp-label { text-align: center; }
.rsvp-code-input {
  font-family: var(--font-display); font-weight: 600;
  font-size: 2rem; letter-spacing: .55em; text-indent: .55em;
  text-align: center; width: 100%; max-width: 260px;
  margin: .2rem auto 0; padding: .5rem .4rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 6px; color: var(--green-deep);
}
.rsvp-code-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(92,107,74,.16); }
.rsvp-codebox .rsvp-actions { margin-top: 20px; }
.rsvp-note { text-align: center; color: var(--green-soft); font-style: italic; margin: 0; }

/* success state */
.rsvp-success { text-align: center; padding: 6px 0; }
.rsvp-success .tick { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--green); }
.rsvp-success h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem,4vw,2.1rem); color: var(--green-deep); margin: 0 0 .5rem; }
.rsvp-success p { margin: .4rem auto 0; max-width: 48ch; }
.rsvp-success .rsvp-again {
  margin-top: 1.4rem; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-style: italic; font-size: 1rem; color: var(--green);
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
}
.rsvp-success .rsvp-again:hover { color: var(--green-deep); border-color: var(--green); }

/* ============================================================
   MAP placeholder
   ============================================================ */
.map-embed { margin: clamp(34px,4vw,48px) 0 0; aspect-ratio: 16 / 7; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; text-align: center; padding: 20px;
  background: repeating-linear-gradient(45deg, rgba(140,153,123,.05) 0 14px, transparent 14px 28px), var(--cream-card);
  border: 1.5px dashed var(--line);
}
.map-pin { width: 34px; height: 44px; color: var(--green); margin-bottom: .3rem; }
.map-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--green-deep); margin: 0; }
.map-hint { font-size: .9rem; color: var(--green-soft); font-style: italic; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-deep); color: #e7e6d8; text-align: center; padding: clamp(54px,7vw,80px) 24px; }
.footer-bouquet { display: block; width: 72px; height: 72px; margin: 0 auto 14px; filter: brightness(0) invert(1); opacity: .8; }
.footer-names { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem,6vw,3.1rem); color: #fff; margin: 0 0 .35rem; line-height: 1.05; letter-spacing: .02em; }
.footer-detail { font-family: var(--font-display); letter-spacing: .04em; color: #c7cdb6; margin: .2rem 0; }
.footer-foot { font-family: var(--font-body); letter-spacing: .04em; color: #a9b394; margin: 1rem 0 0; font-size: .96rem; }
.footer-credit { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: #cdd6bc; margin: 1.2rem 0 0; }

/* ============================================================
   PASSPHRASE GATE
   ============================================================ */
.site-unlocked #siteGate { display: none !important; }
body.gate-open { overflow: hidden; }

.site-gate {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(120% 90% at 50% 0%, #f4f3ea 0%, var(--cream) 55%, var(--cream-2) 100%);
  opacity: 1; transition: opacity .45s var(--ease);
}
.site-gate.gate-hide { opacity: 0; pointer-events: none; }
.gate-card {
  width: 100%; max-width: 440px; text-align: center;
  background: var(--cream-card); border: 1px solid var(--line);
  border-radius: 8px; padding: clamp(30px, 6vw, 52px) clamp(24px, 5vw, 44px);
  box-shadow: 0 22px 60px rgba(60,66,49,.12);
}
.gate-mark { display: block; width: 92px; height: 92px; margin: 0 auto .6rem; }
.gate-names {
  font-family: var(--font-display); font-weight: 500; letter-spacing: .02em;
  font-size: clamp(2rem, 7vw, 2.8rem); color: var(--green-deep); margin: 0 0 .3rem; line-height: 1.05;
}
.gate-prompt { color: var(--ink); margin: .3rem auto 1.5rem; font-size: 1.02rem; max-width: 34ch; }
.gate-form { display: flex; flex-direction: column; gap: 12px; }
.gate-input {
  font-family: var(--font-body); font-size: 1.1rem; text-align: center; letter-spacing: .02em;
  padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 6px;
  background: var(--cream); color: var(--ink);
}
.gate-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(92,107,74,.16); }
.gate-btn {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: .03em;
  color: #f4f3ea; background: var(--green); border: 1px solid var(--green);
  border-radius: 999px; padding: .72rem 1.6rem; cursor: pointer;
  transition: background .25s, transform .15s var(--ease);
}
.gate-btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.gate-error { color: #9a3b2f; font-size: .95rem; margin: 1rem 0 0; }
.gate-hint { color: var(--green-soft); font-style: italic; font-size: .88rem; margin: 1rem 0 0; }
@keyframes gateShake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-7px)} 40%,80%{transform:translateX(7px)} }
.site-gate.shake .gate-card { animation: gateShake .45s; }
@media (prefers-reduced-motion: reduce) { .site-gate { transition: none; } .site-gate.shake .gate-card { animation: none; } }

/* ============================================================
   REVEAL on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; }
  .palette-card { position: static; }
  .timeline { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  .nav-toggle { display: flex; }
  .nav-inner { gap: 14px; }
  .nav-cta { padding: .4rem 1.05rem; font-size: .92rem; letter-spacing: .08em; }
  nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(239,238,228,.98); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  nav.open { max-height: 82vh; }
  .nav-menu { flex-direction: column; gap: 0; padding: 8px 24px 22px; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-menu a { display: block; padding: 15px 0; font-size: 1.1rem; }
  .nav-menu a::after { display: none; }
  .countdown { gap: 14px; }
}

@media (max-width: 380px) {
  .cd-unit { min-width: 42px; }
  .countdown { gap: 10px; }
}

/* accessibility */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .hero-mark, .hero-eyebrow, .hero-names, .divider--hero, .hero-meta, .hero-lead, .countdown { animation: none !important; }
  .venue-frame:hover img { transform: none; }
  * { transition-duration: .01ms !important; }
}

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   EXPLORE, photo carousel
   ============================================================ */
.explore-gallery { margin-top: clamp(44px, 5vw, 64px); }
.explore-gallery .eyebrow { margin-bottom: 1rem; }
.carousel { position: relative; }
.carousel-viewport {
  overflow: hidden; border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(60,66,49,.10);
}
.carousel-track { display: flex; transition: transform .6s var(--ease); }
.slide { position: relative; margin: 0; flex: 0 0 100%; aspect-ratio: 16 / 9; background: var(--cream-card); }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  color: var(--green-soft);
  background: repeating-linear-gradient(45deg, rgba(140,153,123,.05) 0 14px, transparent 14px 28px), var(--cream-card);
}
.slide-ph .img-icon { width: 72px; height: 72px; }
.slide-ph span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.slide-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 24px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .01em;
  color: #fff;
  background: linear-gradient(to top, rgba(40,46,34,.74), rgba(40,46,34,0));
}
.carousel-btn {
  position: absolute; top: calc(50% - 14px); transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(246,245,238,.88); color: var(--green-deep);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.carousel-btn:hover { background: #fff; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 16px; }
.carousel-dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--green-soft); background: transparent;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel-dots button[aria-selected="true"] { background: var(--green); border-color: var(--green); transform: scale(1.3); }
@media (max-width: 600px) {
  .carousel-btn { width: 38px; height: 38px; font-size: 1.25rem; }
  .slide-cap { font-size: 1.12rem; }
}

/* ============================================================
   HAND-DRAWN ILLUSTRATIONS (assets/illustrations/*.svg)
   ============================================================ */
.illo { user-select: none; -webkit-user-drag: none; }
.card-illo { display: block; width: 64px; height: 64px; object-fit: contain; margin: -4px 0 12px; }
.card-illo--sm { width: 50px; object-position: left center; }
/* a very small frog, on his own line under the footer sign-off */
.footer-frog-line { margin: .9rem 0 0; line-height: 0; }
.footer-frog {
  display: inline-block; width: 26px; height: 26px;
  filter: brightness(0) invert(1); opacity: .55; transition: transform .3s var(--ease), opacity .3s;
}
.footer-frog:hover { opacity: .9; transform: translateY(-4px) rotate(-6deg); }
@media (max-width: 760px) { .head-icon { width: 76px; height: 76px; } }

/* ============================================================
   PLAYLIST song requests
   ============================================================ */
.song-form { max-width: 560px; margin: 0 auto; }
.song-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.song-field--full { grid-column: 1 / -1; }
.song-fields .rsvp-field { display: flex; flex-direction: column; }
.song-fields .rsvp-label em { font-style: italic; text-transform: none; letter-spacing: 0; color: var(--green-soft); }
.song-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .song-fields { grid-template-columns: 1fr; } }

/* ============================================================
   DRESS CODE men / women switch
   ============================================================ */
.dress-toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  margin: .4rem auto 1.3rem; padding: 4px; border-radius: 999px;
  background: var(--cream-card); border: 1px solid var(--line);
}
.dress-toggle-pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--green);
  box-shadow: 0 4px 12px rgba(60,66,49,.18);
  transition: transform .4s var(--ease);
}
.dress-advice[data-show="women"] .dress-toggle-pill { transform: translateX(100%); }
.dress-toggle-btn {
  position: relative; z-index: 1; cursor: pointer;
  background: none; border: 0; border-radius: 999px; padding: 9px 30px;
  font-family: var(--font-body); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); transition: color .35s var(--ease);
}
.dress-toggle-btn[aria-checked="true"] { color: #fff; }
.dress-toggle-btn:focus-visible { outline-offset: 2px; }
/* no JavaScript: hide the switch and show both sets of advice */
.dress-advice:not([data-show]) .dress-toggle { display: none; }
.dress-advice[data-show="men"]   .dress-panel[data-for="women"],
.dress-advice[data-show="women"] .dress-panel[data-for="men"] { display: none; }
.dress-panel { animation: dressFade .45s var(--ease); }
.dress-panel .card-title:first-child { margin-top: 0; }
.dress-panel + .card-title { margin-top: 1.6rem; }
@keyframes dressFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .dress-panel { animation: none; } .dress-toggle-pill { transition: none; } }
/* outfit photos sit over the placeholder once the file exists */
.img-placeholder--portrait { position: relative; overflow: hidden; }
.inspo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
