/* =============================================
   GEMMA & MIKE · Festival Wedding 2027
   ============================================= */

:root {
  --g-deep:    #1e3a0f;
  --g-mid:     #3d6b22;
  --g-bright:  #5e9e35;
  --g-pale:    #a8d470;
  --g-wash:    #eaf4d8;
  --g-mist:    #f3faea;
  --cream:     #fdf8ef;
  --cream-dk:  #f0e8d6;
  --br:        #7a5430;
  --br-lt:     #b8864a;
  --br-pale:   #eedcc0;
  --txt:       #1a2e0d;
  --txt-mid:   #3a5220;
  --txt-muted: #6b8558;
  --border:    rgba(62,107,34,.18);
  --shadow:    0 4px 28px rgba(30,58,15,.1);
  --nav-h:     60px;
  --r:         12px;
  --r-sm:      8px;
  --ff-head:   'Playfair Display', Georgia, serif;
  --ff-hand:   'Caveat', cursive;
  --ff-body:   'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--txt);
  min-height: 100vh;
  overflow-x: hidden;
}

/* =============================================
   GATE
   ============================================= */

.gate {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--g-deep);
  display: flex; align-items: center; justify-content: center;
  background-image:
    radial-gradient(ellipse at 15% 25%, rgba(94,158,53,.2) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(122,84,48,.15) 0%, transparent 55%);
}

.gate-inner {
  text-align: center; padding: 3rem 2rem; max-width: 440px; width: 100%;
}

.gate-emblem { font-size: 3.5rem; display: block; margin-bottom: 1.5rem; }

.gate-title {
  font-family: var(--ff-head); font-size: clamp(3.5rem, 9vw, 5.5rem);
  font-weight: 400; color: var(--cream); line-height: 1.05; margin-bottom: .4rem;
}
.gate-title em { font-style: italic; color: var(--g-pale); }

.gate-date {
  font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(168,212,112,.7); margin-bottom: 2rem; font-weight: 300;
}

.gate-hint {
  font-size: .85rem; color: rgba(253,248,239,.5); margin-bottom: 1rem; font-weight: 300;
}

.gate-form {
  display: flex; gap: .4rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(168,212,112,.25);
  border-radius: 50px; padding: 5px;
}

.gate-form input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--cream); font-family: var(--ff-body); font-size: 1rem;
  padding: .5rem 1rem; letter-spacing: .08em;
}
.gate-form input::placeholder { color: rgba(253,248,239,.3); }

.gate-form button {
  background: var(--g-bright); color: #fff; border: none;
  border-radius: 40px; padding: .55rem 1.4rem;
  font-family: var(--ff-body); font-size: .875rem; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: background .2s;
}
.gate-form button:hover { background: var(--g-mid); }

.gate-error {
  color: #ffaaaa; font-size: .82rem; margin-top: 1rem;
  opacity: 0; transition: opacity .3s;
}
.gate-error.show { opacity: 1; }

/* =============================================
   UTILITIES
   ============================================= */

.hidden { display: none !important; }
.site { min-height: 100vh; }

.content-wrap {
  max-width: 960px; margin: 0 auto; padding: 3rem 2rem 5rem;
}

.prose-block {
  max-width: 680px; margin-bottom: 2.5rem;
}
.prose-block p {
  font-size: 1rem; color: var(--txt-muted); line-height: 1.75;
  margin-bottom: .75rem;
}
.prose-block strong { color: var(--txt-mid); }

/* =============================================
   NAV
   ============================================= */

.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 200;
  background: rgba(253,248,239,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; gap: 1rem;
}

.nav-brand {
  font-family: var(--ff-head); font-size: 1.4rem; font-weight: 400;
  color: var(--g-deep); background: none; border: none; cursor: pointer;
  padding: 0; white-space: nowrap;
}
.nav-brand em { font-style: italic; color: var(--br); }

.nav-links {
  display: flex; list-style: none; gap: .1rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; flex: 1; justify-content: flex-end;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links button {
  display: block; padding: .35rem .75rem;
  color: var(--txt-muted); background: none; border: none;
  font-family: var(--ff-body); font-size: .82rem; font-weight: 400;
  letter-spacing: .03em; border-radius: 40px; cursor: pointer;
  white-space: nowrap; transition: all .2s;
}
.nav-links button:hover { background: var(--g-wash); color: var(--g-deep); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  flex-shrink: 0; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; user-select: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--g-deep); border-radius: 2px; transition: all .2s;
}

/* =============================================
   PAGE BASE
   ============================================= */

.page { padding-top: var(--nav-h); min-height: 100vh; }

.page-header {
  background: var(--g-deep); color: var(--cream);
  padding: 4rem 2rem 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.page-header::before, .page-header::after {
  content: '🌿'; position: absolute; font-size: 9rem;
  opacity: .05; pointer-events: none;
}
.page-header::before { top: -1rem; left: -1rem; transform: rotate(-25deg); }
.page-header::after  { bottom: -1rem; right: -1rem; transform: rotate(155deg); }

.page-header h1 {
  font-family: var(--ff-head); font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400; margin-bottom: .5rem;
}
.page-header p { color: var(--g-pale); font-size: 1rem; font-weight: 300; }
.page-header strong { color: #fff; }

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-block; padding: .7rem 1.8rem; border-radius: 50px;
  font-family: var(--ff-body); font-size: .9rem; font-weight: 500;
  letter-spacing: .03em; cursor: pointer; transition: all .2s;
  text-decoration: none; border: none;
}
.btn-primary { background: var(--g-mid); color: #fff; }
.btn-primary:hover { background: var(--g-deep); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,58,15,.25); }
.btn-outline { background: transparent; color: var(--g-mid); border: 1.5px solid var(--g-mid); }
.btn-outline:hover { background: var(--g-wash); transform: translateY(-1px); }
.btn-light { color: var(--g-pale); border-color: rgba(168,212,112,.5); }
.btn-light:hover { background: rgba(168,212,112,.1); }
.btn-full { width: 100%; text-align: center; display: block; }
.btn:disabled { opacity: .38; cursor: not-allowed; transform: none !important; }

/* =============================================
   HOME — HERO
   ============================================= */

.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  background: var(--cream);
  background-image:
    radial-gradient(ellipse at 8% 50%, rgba(94,158,53,.07) 0%, transparent 50%),
    radial-gradient(ellipse at 92% 50%, rgba(200,230,160,.1) 0%, transparent 50%);
}

.hero-deco {
  position: absolute; font-size: 7rem; opacity: .09;
  pointer-events: none; user-select: none;
}
.hero-deco-tl { top: 5%; left: -1rem; transform: rotate(-20deg); }
.hero-deco-br { bottom: 5%; right: -1rem; transform: rotate(160deg); }

.hero-content { max-width: 700px; padding: 3rem 2rem; position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--br-lt); margin-bottom: 1.5rem; font-weight: 400;
}

.hero-title {
  font-family: var(--ff-head);
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 400; color: var(--g-deep); line-height: 1.0; margin-bottom: 1.25rem;
}
.hero-title .amp { font-style: italic; color: var(--br); font-size: .7em; }

.hero-tagline {
  font-family: var(--ff-hand); font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--g-mid); margin-bottom: .5rem;
}

.hero-where {
  font-size: .85rem; color: var(--txt-muted); letter-spacing: .07em;
  margin-bottom: 2.5rem; font-weight: 300;
}

/* Countdown */
.countdown { display: flex; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }

.cd-unit {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: .9rem 1rem; min-width: 66px;
  box-shadow: var(--shadow);
}
.cd-unit span {
  display: block; font-family: var(--ff-head); font-size: 1.9rem;
  font-weight: 500; color: var(--g-deep); line-height: 1; margin-bottom: .2rem;
}
.cd-unit label {
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-muted);
}

.hero-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   METER
   ============================================= */

.meter-section { background: var(--g-deep); padding: 3.5rem 2rem; }
.meter-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.meter-heading {
  font-family: var(--ff-head); font-size: 2rem; font-weight: 400;
  color: var(--cream); margin-bottom: 1.5rem;
}
.meter-numbers { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.5rem; }
.meter-stat span {
  display: block; font-family: var(--ff-head); font-size: 2.8rem;
  font-weight: 500; color: var(--g-pale); line-height: 1; margin-bottom: .2rem;
}
.meter-stat label {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(168,212,112,.65);
}
.meter-track {
  background: rgba(255,255,255,.1); border-radius: 50px; height: 10px;
  overflow: hidden; margin-bottom: .75rem;
}
.meter-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--g-bright), var(--g-pale));
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.meter-msg { font-size: .9rem; color: rgba(168,212,112,.75); font-style: italic; }

/* =============================================
   QUICK HITS
   ============================================= */

.quick-hits {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem; padding: 3rem 2rem; max-width: 1100px; margin: 0 auto;
}
.qh-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.75rem 1.5rem; text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.qh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.qh-icon { font-size: 2.4rem; display: block; margin-bottom: .85rem; }
.qh-card h3 {
  font-family: var(--ff-head); font-size: 1.15rem; font-weight: 500;
  color: var(--g-deep); margin-bottom: .4rem;
}
.qh-card p { font-size: .88rem; color: var(--txt-muted); line-height: 1.65; }

/* =============================================
   WEATHER
   ============================================= */

.weather-section { background: var(--g-mist); border-top: 1px solid var(--border); padding: 3rem 2rem; }
.weather-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.weather-heading {
  font-family: var(--ff-head); font-size: 1.7rem; font-weight: 400;
  color: var(--g-deep); margin-bottom: .3rem;
}
.weather-sub { font-size: .8rem; color: var(--txt-muted); letter-spacing: .06em; margin-bottom: 1.5rem; }
.weather-display {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.5rem; margin-bottom: 1rem; min-height: 80px;
  display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap;
}
.weather-loading { color: var(--txt-muted); font-size: .9rem; font-style: italic; }
.weather-icon { font-size: 3rem; }
.weather-info h3 { font-family: var(--ff-head); font-size: 2.2rem; color: var(--g-deep); }
.weather-info p { font-size: .9rem; color: var(--txt-muted); }
.weather-note { font-size: .82rem; color: var(--txt-muted); font-style: italic; }

/* =============================================
   ITINERARY
   ============================================= */

.day-tabs {
  display: flex; background: #fff; border-bottom: 2px solid var(--border);
  padding: 0 1.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0;
  scrollbar-width: none;
}
.day-tabs::-webkit-scrollbar { display: none; }

.day-tab {
  background: none; border: none; border-bottom: 3px solid transparent;
  padding: .9rem 1.25rem; font-family: var(--ff-body); font-size: .875rem;
  font-weight: 500; color: var(--txt-muted); cursor: pointer; white-space: nowrap;
  margin-bottom: -2px; transition: all .2s; letter-spacing: .02em;
}
.day-tab.active { color: var(--g-deep); border-bottom-color: var(--g-mid); }
.day-tab:hover:not(.active) { color: var(--txt-mid); }
.wedding-tab.active { color: var(--br); border-bottom-color: var(--br); }

.day-panel { max-width: 760px; margin: 0 auto; padding: 3rem 2rem 5rem; }

.day-header { margin-bottom: 2.5rem; }

.day-pill {
  display: inline-block; background: var(--g-wash); color: var(--g-mid);
  border: 1px solid var(--g-pale); border-radius: 50px; padding: .25rem .9rem;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 500; margin-bottom: .75rem;
}
.day-pill-wedding { background: var(--br-pale); color: var(--br); border-color: var(--br-lt); }

.day-header h2 {
  font-family: var(--ff-head); font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400; color: var(--g-deep); margin-bottom: .5rem;
}
.day-lede { font-size: 1.05rem; color: var(--txt-muted); line-height: 1.7; font-style: italic; }

/* Timeline */
.tl { position: relative; padding-left: 1.75rem; }
.tl::before {
  content: ''; position: absolute; left: 0; top: .5rem; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--g-pale), transparent);
}

.tl-item {
  display: grid; grid-template-columns: 105px 1fr; gap: 1.25rem;
  margin-bottom: 2rem; position: relative;
}
.tl-item::before {
  content: ''; position: absolute; left: -1.75rem; top: .5rem;
  width: 10px; height: 10px; background: var(--g-mid); border-radius: 50%;
  border: 2px solid var(--cream); box-shadow: 0 0 0 2px var(--g-mid);
}
.tl-highlight::before {
  background: var(--br); box-shadow: 0 0 0 2px var(--br);
  width: 13px; height: 13px; left: calc(-1.75rem - 1.5px); top: calc(.5rem - 1.5px);
}

.tl-time {
  font-size: .74rem; font-weight: 500; color: var(--txt-muted);
  letter-spacing: .06em; text-transform: uppercase; padding-top: .18rem;
}

.tl-body h4 {
  font-family: var(--ff-head); font-size: 1.18rem; font-weight: 500;
  color: var(--g-deep); margin-bottom: .3rem;
}
.tl-highlight .tl-body h4 { color: var(--br); }

.tl-body p { font-size: .92rem; color: var(--txt-muted); line-height: 1.65; margin-bottom: .5rem; }

.tl-tag {
  display: inline-block; background: var(--g-wash); color: var(--g-mid);
  border-radius: var(--r-sm); padding: .3rem .75rem; font-size: .78rem;
  font-weight: 500; margin-top: .25rem;
}

/* =============================================
   RSVP
   ============================================= */

.rsvp-wrap { max-width: 640px; margin: 0 auto; padding: 3rem 2rem 5rem; }

.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block; font-size: .78rem; font-weight: 500; color: var(--txt-mid);
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: .45rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); padding: .7rem .95rem;
  font-family: var(--ff-body); font-size: .95rem; color: var(--txt); outline: none;
  transition: border-color .2s; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--g-mid); box-shadow: 0 0 0 3px rgba(62,107,34,.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.field-note { font-size: .78rem; color: var(--txt-muted); margin-top: .3rem; font-style: italic; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.radio-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.radio-opt { flex: 1; min-width: 180px; cursor: pointer; }
.radio-opt input { display: none; }
.radio-opt span {
  display: block; text-align: center; padding: .9rem 1.25rem;
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  background: #fff; font-size: .92rem; color: var(--txt-mid); transition: all .2s; cursor: pointer;
}
.radio-opt input:checked + span {
  border-color: var(--g-mid); background: var(--g-wash);
  color: var(--g-deep); font-weight: 500;
}
.radio-opt span:hover { border-color: var(--g-bright); }

.check-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.check-opt {
  display: flex; align-items: center; gap: .4rem; cursor: pointer;
  padding: .4rem .75rem; border: 1px solid var(--border); border-radius: 50px;
  font-size: .85rem; color: var(--txt-muted); background: #fff; transition: all .2s;
}
.check-opt input { accent-color: var(--g-mid); }
.check-opt:has(input:checked) {
  background: var(--g-wash); border-color: var(--g-mid); color: var(--g-deep);
}

.extra-fields { padding-top: .5rem; }

.thanks { text-align: center; padding: 4rem 0; }
.thanks-emoji { font-size: 4rem; display: block; margin-bottom: 1rem; }
.thanks h2 { font-family: var(--ff-head); font-size: 2.5rem; font-weight: 400; color: var(--g-deep); margin-bottom: .75rem; }
.thanks p { color: var(--txt-muted); font-size: 1rem; margin-bottom: 2rem; line-height: 1.7; }

/* =============================================
   ACCOMMODATION
   ============================================= */

.accom-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.accom-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.4rem; transition: transform .2s, box-shadow .2s;
}
.accom-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.accom-card.big { border-color: var(--g-pale); }

.accom-cap {
  display: inline-block; background: var(--g-wash); color: var(--g-mid);
  border-radius: 50px; padding: .18rem .7rem; font-size: .7rem;
  font-weight: 500; letter-spacing: .05em; margin-bottom: .5rem;
}
.accom-cap.sm { background: var(--br-pale); color: var(--br); }

.accom-card h3 {
  font-family: var(--ff-head); font-size: 1.15rem; font-weight: 500;
  color: var(--g-deep); margin-bottom: .2rem;
}
.accom-type { font-size: .78rem; color: var(--txt-muted); margin-bottom: .6rem; }
.accom-card ul { list-style: none; font-size: .83rem; color: var(--txt-muted); line-height: 1.85; }
.accom-card li::before { content: '·'; color: var(--g-bright); font-weight: 700; margin-right: .35rem; }

.accom-total {
  text-align: center; border-top: 1px solid var(--border); padding-top: 1.5rem;
  font-size: .9rem; color: var(--txt-muted); margin-top: 1rem;
}
.accom-total strong { color: var(--g-deep); }

/* =============================================
   GETTING HERE
   ============================================= */

.map-box { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); margin-bottom: 2rem; }
.travel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.travel-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.4rem;
}
.ti { font-size: 1.8rem; display: block; margin-bottom: .65rem; }
.travel-card h3 { font-family: var(--ff-head); font-size: 1.05rem; font-weight: 500; color: var(--g-deep); margin-bottom: .4rem; }
.travel-card p { font-size: .86rem; color: var(--txt-muted); line-height: 1.65; margin-bottom: .35rem; }
.travel-card strong { color: var(--txt-mid); }

/* =============================================
   DRESS CODE
   ============================================= */

.dress-hero {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem;
  align-items: start; margin-bottom: 2.5rem;
}
.dress-hero-text h2 {
  font-family: var(--ff-head); font-size: 2rem; font-weight: 400;
  color: var(--g-deep); margin-bottom: 1rem;
}
.dress-hero-text p { font-size: .95rem; color: var(--txt-muted); line-height: 1.75; margin-bottom: .65rem; }
.dress-hero-text strong { color: var(--txt-mid); }

.dress-mike-card {
  text-align: center; background: var(--g-wash); border: 1px solid var(--g-pale);
  border-radius: var(--r); padding: 1.5rem 1.25rem; min-width: 140px;
}
.mike-suit { font-size: 4rem; display: block; margin-bottom: .5rem; filter: hue-rotate(100deg) saturate(1.5); }
.mike-label { font-size: .78rem; color: var(--g-mid); font-weight: 500; line-height: 1.4; }
.mike-sub { font-size: .72rem; color: var(--txt-muted); font-style: italic; margin-top: .25rem; }

.dress-tips {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem; margin-bottom: 2.5rem;
}
.dress-tip {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.4rem;
}
.dress-tip span { font-size: 1.8rem; display: block; margin-bottom: .6rem; }
.dress-tip h4 { font-family: var(--ff-head); font-size: 1rem; font-weight: 500; color: var(--g-deep); margin-bottom: .35rem; }
.dress-tip p { font-size: .85rem; color: var(--txt-muted); line-height: 1.65; }

.dress-palette h3 { font-family: var(--ff-head); font-size: 1.3rem; font-weight: 400; color: var(--g-deep); margin-bottom: 1rem; }
.palette-swatches { display: flex; gap: .5rem; flex-wrap: wrap; }
.swatch {
  flex: 1; min-width: 80px; height: 70px; border-radius: var(--r-sm);
  display: flex; align-items: flex-end; padding: .4rem .5rem;
}
.swatch span { font-size: .65rem; color: rgba(255,255,255,.85); font-weight: 500; letter-spacing: .04em; }

/* =============================================
   MUSIC
   ============================================= */

.music-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.75rem; margin-bottom: 2.5rem;
}

.song-list-wrap h3 { font-family: var(--ff-head); font-size: 1.4rem; font-weight: 400; color: var(--g-deep); margin-bottom: 1rem; }
.song-empty { color: var(--txt-muted); font-style: italic; font-size: .9rem; }
.song-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: .9rem 1.1rem; margin-bottom: .5rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.song-item-track { flex: 1; }
.song-item-track strong { font-size: .95rem; color: var(--g-deep); display: block; margin-bottom: .1rem; }
.song-item-track span { font-size: .8rem; color: var(--txt-muted); }
.song-item-from { font-size: .75rem; color: var(--br-lt); white-space: nowrap; }
.song-note { color: var(--txt-muted); font-size: .78rem; font-style: italic; margin-top: .3rem; }

/* =============================================
   MENU
   ============================================= */

.menu-note {
  background: var(--g-wash); border: 1px solid var(--g-pale); border-radius: var(--r);
  padding: 1.5rem 1.75rem; margin-bottom: 2rem;
}
.menu-note p { font-size: .95rem; color: var(--txt-muted); line-height: 1.75; margin-bottom: .5rem; }
.menu-note strong { color: var(--g-mid); }

.menu-placeholder { text-align: center; padding: 3rem; }
.menu-coming span { font-size: 3rem; display: block; margin-bottom: 1rem; }
.menu-coming h3 { font-family: var(--ff-head); font-size: 1.6rem; color: var(--g-deep); margin-bottom: .5rem; }
.menu-coming p { color: var(--txt-muted); font-size: .95rem; }

.menu-section { margin-bottom: 2.5rem; }
.menu-section h3 { font-family: var(--ff-head); font-size: 1.4rem; font-weight: 400; color: var(--g-deep); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.menu-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: .75rem; }
.menu-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); padding: 1rem 1.1rem; }
.menu-item h4 { font-size: .95rem; font-weight: 500; color: var(--g-deep); margin-bottom: .2rem; }
.menu-item p { font-size: .82rem; color: var(--txt-muted); }

/* =============================================
   GUESTBOOK
   ============================================= */

.gb-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.75rem; margin-bottom: 2.5rem;
}

.gb-entries h3 { font-family: var(--ff-head); font-size: 1.4rem; color: var(--g-deep); margin-bottom: 1rem; }
.gb-empty { color: var(--txt-muted); font-style: italic; font-size: .9rem; }
.gb-entry {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.1rem 1.3rem; margin-bottom: .75rem; position: relative;
}
.gb-entry-msg {
  font-family: var(--ff-hand); font-size: 1.15rem; color: var(--txt);
  line-height: 1.5; margin-bottom: .4rem;
}
.gb-entry-from { font-size: .78rem; color: var(--txt-muted); }
.gb-entry::before {
  content: '"'; font-family: var(--ff-head); font-size: 4rem; color: var(--g-pale);
  position: absolute; top: -.3rem; left: .75rem; line-height: 1; pointer-events: none;
}

/* =============================================
   PHOTOS
   ============================================= */

.photo-intro { margin-bottom: 2rem; }
.photo-intro p { font-size: 1rem; color: var(--txt-muted); line-height: 1.75; margin-bottom: .6rem; }
.photo-intro em { color: var(--g-mid); font-style: normal; font-weight: 500; }

.photo-cta { margin-bottom: 2.5rem; }
.photo-box {
  background: var(--g-deep); border-radius: var(--r); padding: 2.5rem;
  text-align: center; color: var(--cream);
}
.photo-icon { font-size: 3.5rem; display: block; margin-bottom: 1rem; }
.photo-box h3 { font-family: var(--ff-head); font-size: 1.8rem; font-weight: 400; margin-bottom: .5rem; }
.photo-box p { color: var(--g-pale); font-size: .95rem; margin-bottom: 1.25rem; line-height: 1.65; }
.photo-note { font-size: .78rem; color: rgba(168,212,112,.6); margin-top: .6rem; font-style: italic; }

.photo-tips h3 { font-family: var(--ff-head); font-size: 1.4rem; color: var(--g-deep); margin-bottom: 1rem; }
.photo-tip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: .75rem; }
.photo-tip {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 1.1rem; display: flex; gap: .75rem; align-items: flex-start;
}
.photo-tip span { font-size: 1.5rem; flex-shrink: 0; }
.photo-tip p { font-size: .85rem; color: var(--txt-muted); line-height: 1.55; }

/* =============================================
   FAQ
   ============================================= */

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.15rem 0; font-family: var(--ff-body); font-size: .97rem;
  font-weight: 500; color: var(--txt); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color .2s;
}
.faq-q:hover { color: var(--g-mid); }
.faq-q span { color: var(--txt-muted); font-size: 1.1rem; transition: transform .2s; flex-shrink: 0; }
.faq-q.open span { transform: rotate(180deg); }
.faq-a { display: none; padding-bottom: 1.25rem; }
.faq-a.open { display: block; }
.faq-a p { font-size: .93rem; color: var(--txt-muted); line-height: 1.75; margin-bottom: .4rem; }
.faq-a a { color: var(--g-mid); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--g-deep); color: var(--g-pale); text-align: center;
  padding: 2rem; font-size: .82rem; letter-spacing: .04em;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 680px) {
  .nav { padding: 0 1rem; }
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--cream); flex-direction: column; padding: 1rem; gap: .2rem; overflow-y: auto; justify-content: flex-start; z-index: 199; -webkit-overflow-scrolling: touch; }
  .nav-links.open { display: flex !important; }
  .nav-links button { text-align: left; padding: .7rem 1rem; font-size: 1rem; border-radius: var(--r-sm); }
  .nav-toggle { display: flex; }

  .countdown { gap: .4rem; }
  .cd-unit { min-width: 58px; padding: .75rem .65rem; }
  .cd-unit span { font-size: 1.6rem; }

  .tl-item { grid-template-columns: 1fr; gap: .2rem; }
  .tl-time { font-size: .7rem; }

  .form-row { grid-template-columns: 1fr; }
  .radio-row { flex-direction: column; }
  .radio-opt { min-width: unset; }

  .dress-hero { grid-template-columns: 1fr; }
  .dress-mike-card { justify-self: center; }

  .meter-numbers { gap: 1rem; }
  .meter-stat span { font-size: 2rem; }

  .page-header { padding: 2.5rem 1.5rem 1.75rem; }
  .content-wrap { padding: 2rem 1rem 4rem; }
  .day-panel { padding: 2rem 1rem 4rem; }
  .rsvp-wrap { padding: 2rem 1rem 4rem; }
  .music-form { padding: 1.25rem; }
  .gb-form { padding: 1.25rem; }
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page.active .hero-content { animation: fadeUp .5s ease both; }
.page.active .page-header  { animation: fadeUp .4s ease both; }

.nav-links.open {
  display: flex !important;
  position: fixed !important;
  top: 60px !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 999 !important;
  background: #fdf8ef !important;
  flex-direction: column !important;
  padding: 1rem !important;
  overflow-y: auto !important;
}

.nav-links.open {
  height: 100vh !important;
}
