/* ============================================================
   James & Jacqui — Wedding Site
   Palette: the wedding colors — deep navy & antique gold —
   on warm stone cream, with alpine/trail motifs.
   ============================================================ */

:root {
  --navy: #1c2e4a;
  --navy-deep: #111f36;
  --navy-soft: #2a4166;
  --cream: #f6f1e6;
  --parchment: #efe7d6;
  --stone: #e4dac5;
  --ink: #252b38;
  --ink-soft: #5c6373;
  --gold: #b3925a;
  --gold-bright: #cfa968;
  --gold-deep: #8a6a3a;
  --terracotta: #a75a33; /* form errors only */
  --line: rgba(28, 46, 74, 0.16);
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 50px -22px rgba(12, 22, 42, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration-color: rgba(179, 146, 90, 0.6); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }

/* Topographic contour texture (subtle, tiled) */
.topo-cream, .topo-navy { position: relative; }
.topo-cream::before, .topo-navy::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%231c2e4a' stroke-width='1'%3E%3Cpath d='M60 120c60-45 150-40 200 5s135 50 200 10'/%3E%3Cpath d='M40 160c70-55 170-48 225 2s150 55 225 8'/%3E%3Cpath d='M20 200c80-62 190-55 250 0s165 60 250 5'/%3E%3Cpath d='M-10 250c95-70 210-60 275-2s180 66 275 4'/%3E%3Cpath d='M30 330c70 40 160 35 220-10s150-48 230-2'/%3E%3Cpath d='M55 375c60 34 140 30 195-9s135-42 205-3'/%3E%3Cpath d='M85 415c50 28 118 25 165-8s115-36 172-4'/%3E%3Cpath d='M120 452c40 22 95 20 132-6s92-29 138-5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 520px;
  opacity: 0.05;
}
.topo-navy::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg fill='none' stroke='%23f6f1e6' stroke-width='1'%3E%3Cpath d='M60 120c60-45 150-40 200 5s135 50 200 10'/%3E%3Cpath d='M40 160c70-55 170-48 225 2s150 55 225 8'/%3E%3Cpath d='M20 200c80-62 190-55 250 0s165 60 250 5'/%3E%3Cpath d='M-10 250c95-70 210-60 275-2s180 66 275 4'/%3E%3Cpath d='M30 330c70 40 160 35 220-10s150-48 230-2'/%3E%3Cpath d='M55 375c60 34 140 30 195-9s135-42 205-3'/%3E%3Cpath d='M85 415c50 28 118 25 165-8s115-36 172-4'/%3E%3Cpath d='M120 452c40 22 95 20 132-6s92-29 138-5'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.06;
}
.topo-cream > *, .topo-navy > * { position: relative; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  color: var(--navy);
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy); margin: 0.6rem 0 1rem;
}
.section-head p { color: var(--ink-soft); }
.rule-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 0.75rem; margin: 1.1rem auto 0; color: var(--gold);
}
.rule-ornament::before, .rule-ornament::after {
  content: ""; width: 64px; height: 1px; background: var(--gold); opacity: 0.55;
}

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 400;
  letter-spacing: 0.28em; text-transform: uppercase;
  padding: 1rem 2.4rem; cursor: pointer;
  border: 1px solid var(--gold); border-radius: 2px;
  background: transparent; color: var(--navy);
  text-decoration: none; transition: all 0.35s var(--ease);
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn-solid { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn-solid:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--cream); }
.btn-light { border-color: rgba(246, 241, 230, 0.5); color: var(--cream); }
.btn-light:hover { background: var(--cream); border-color: var(--cream); color: var(--navy); }
.btn[disabled] { opacity: 0.55; cursor: wait; }

.field { margin-bottom: 1.4rem; }
.field > label {
  display: block; font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 0.5rem;
}
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-weight: 300;
  font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 146, 90, 0.18);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.4rem; }

.choice-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.choice {
  position: relative; cursor: pointer;
  border: 1px solid var(--line); border-radius: 2px;
  padding: 0.8rem 1.3rem; background: rgba(255,255,255,0.55);
  font-size: 0.95rem; transition: all 0.3s var(--ease);
  display: flex; align-items: center; gap: 0.6rem;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .tick {
  width: 16px; height: 16px; flex: 0 0 16px; border-radius: 50%;
  border: 1px solid var(--gold); position: relative; transition: background 0.25s;
}
.choice input:checked ~ .tick { background: var(--gold); box-shadow: inset 0 0 0 3px var(--cream); }
.choice input:checked ~ span:not(.tick) { color: var(--navy); }
.choice:has(input:checked) { border-color: var(--gold); background: rgba(179, 146, 90, 0.1); }
.choice:hover { border-color: var(--gold); }

.form-status { margin-top: 1.2rem; font-size: 0.95rem; display: none; }
.form-status.error { display: block; color: var(--terracotta); }
.form-status.ok { display: block; color: var(--navy); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 241, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--navy); text-decoration: none; letter-spacing: 0.05em;
}
.brand em { font-style: italic; color: var(--gold); padding: 0 0.1em; }
.nav-links { display: flex; align-items: center; gap: 2.1rem; list-style: none; }
.nav-links a {
  font-size: 0.72rem; font-weight: 400; letter-spacing: 0.26em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 0.4rem 0; border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--gold); }
.nav-links a.nav-rsvp {
  border: 1px solid var(--gold); padding: 0.55rem 1.2rem; border-radius: 2px;
}
.nav-links a.nav-rsvp:hover, .nav-links a.nav-rsvp.active { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 8px; width: 24px; height: 1.5px;
  background: var(--navy); transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span { top: 19px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0.5rem 0 1.2rem;
    background: var(--cream); border-bottom: 1px solid var(--line);
    display: none;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: inline-block; padding: 0.9rem 0; }
  .nav-links a.nav-rsvp { margin-top: 0.6rem; }
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 0.6rem 1rem;
}
.skip:focus { left: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep); color: rgba(246, 241, 230, 0.75);
  text-align: center; padding: 3.5rem 1.5rem 2.5rem;
}
.site-footer .brand { color: var(--cream); font-size: 1.8rem; }
.site-footer .foot-date {
  font-size: 0.72rem; letter-spacing: 0.4em; text-transform: uppercase;
  margin-top: 0.8rem; color: var(--gold-bright);
}
.site-footer .foot-meta { margin-top: 1.6rem; font-size: 0.85rem; }
.site-footer a { color: var(--gold-bright); }
.site-footer .ridge { margin-bottom: 2rem; opacity: 0.5; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 1.5rem; }
.container { max-width: 1160px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

.ridge-divider { display: block; width: 100%; height: auto; }

/* ---------- Gate (index.html) ---------- */
.gate-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep); padding: 2rem 1.25rem;
}
.gate-bg {
  position: fixed; inset: 0; overflow: hidden;
  background: var(--navy-deep) url("../images/gate-poster.jpg") center / cover no-repeat;
}
.gate-bg video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.5s ease;
}
.gate-bg video.playing { opacity: 1; }
.gate-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(17, 31, 54, 0.5), rgba(17, 31, 54, 0.75));
}
.gate-card { position: relative; z-index: 1; }
.gate-card {
  width: 100%; max-width: 460px; text-align: center;
  background: var(--cream); border-radius: 3px;
  padding: 3.2rem 2.6rem 2.8rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
  position: relative;
}
.gate-card::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(179, 146, 90, 0.45); border-radius: 2px;
  pointer-events: none;
}
.gate-monogram {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 500;
  color: var(--navy); line-height: 1;
}
.gate-monogram em { font-style: italic; color: var(--gold); font-size: 0.7em; }
.gate-card h1 {
  font-family: var(--serif); font-weight: 500; font-size: 1.9rem;
  color: var(--navy); margin: 1rem 0 0.2rem;
}
.gate-card .gate-date {
  font-size: 0.7rem; letter-spacing: 0.38em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.6rem;
}
.gate-card .gate-note { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.8rem; }
.gate-card form { text-align: left; }
.gate-card .btn { width: 100%; margin-top: 0.4rem; }
.gate-error {
  display: none; margin-top: 1.1rem; font-size: 0.88rem;
  color: var(--terracotta); text-align: center;
}
.gate-error.show { display: block; }
.gate-foot {
  margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--ink-soft);
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--navy-deep); color: var(--cream);
  text-align: center; padding: 6rem 1.5rem 0; overflow: hidden;
}
.hero .eyebrow { color: var(--gold-bright); }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.8rem, 7.5vw, 5.4rem);
  line-height: 1.05; margin: 1.2rem 0 0.4rem; color: var(--cream);
}
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero .hero-sub {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: rgba(246, 241, 230, 0.85);
}
.hero .hero-where {
  margin-top: 1.6rem; font-size: 0.75rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: rgba(246, 241, 230, 0.72);
}
.hero .hero-where strong { color: var(--gold-bright); font-weight: 400; }
.hero-art { margin: 3rem auto 0; max-width: 720px; display: block; }

.countdown {
  display: flex; justify-content: center; gap: clamp(1.2rem, 4vw, 3rem);
  margin-top: 2.6rem;
}
.countdown .unit { text-align: center; min-width: 64px; }
.countdown .num {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem); color: var(--gold-bright); line-height: 1;
}
.countdown .lbl {
  margin-top: 0.5rem; font-size: 0.65rem; letter-spacing: 0.32em;
  text-transform: uppercase; color: rgba(246, 241, 230, 0.66);
}

/* ---------- Timeline ---------- */
.timeline-wrap { position: relative; padding: 1rem 0 2rem; }
.trail-svg {
  position: absolute; top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%); width: 220px; height: 100%;
  pointer-events: none;
}
.trail-svg path { vector-effect: non-scaling-stroke; }
.trail-base { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 6 7; fill: none; }
.trail-progress { stroke: var(--gold); stroke-width: 2; fill: none; }

.milestone {
  position: relative; width: 50%; padding: 0 3.4rem 4.2rem;
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.milestone.in { opacity: 1; transform: none; }
.milestone:nth-child(odd) { left: 0; text-align: right; }
.milestone:nth-child(even) { left: 50%; text-align: left; }

.milestone .marker {
  position: absolute; top: 6px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--cream);
  border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 0.82rem; color: var(--navy);
  box-shadow: 0 0 0 6px var(--cream);
  z-index: 2;
}
.milestone:nth-child(odd) .marker { right: -23px; }
.milestone:nth-child(even) .marker { left: -23px; }

.milestone .m-date {
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.milestone h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.7rem;
  color: var(--navy); margin-bottom: 0.6rem;
}
.milestone p { color: var(--ink-soft); font-size: 0.98rem; max-width: 420px; }
.milestone:nth-child(odd) p { margin-left: auto; }

.m-photo {
  margin-bottom: 1.2rem; overflow: hidden;
  border-radius: 160px 160px 3px 3px; /* Italian arch frame */
  border: 1px solid rgba(179, 146, 90, 0.5);
  padding: 8px; background: rgba(255, 255, 255, 0.6);
  max-width: 320px; display: inline-block;
}
.m-photo img, .m-photo .ph {
  border-radius: 152px 152px 2px 2px;
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.m-photo:hover img { transform: scale(1.045); }
.m-photo .ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; background: linear-gradient(160deg, var(--parchment), var(--stone));
  color: var(--ink-soft); font-size: 0.78rem; letter-spacing: 0.08em;
  text-align: center; padding: 1rem;
}
.m-photo .ph svg { opacity: 0.5; }
.m-photo .ph code { font-size: 0.72rem; color: var(--navy); }

.timeline-cap {
  text-align: center; padding-top: 1rem;
}
.timeline-cap .summit {
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
}

@media (max-width: 860px) {
  .trail-svg { left: 23px; transform: none; width: 2px; }
  .trail-svg.straight { display: block; }
  .milestone, .milestone:nth-child(odd), .milestone:nth-child(even) {
    width: 100%; left: 0; text-align: left; padding: 0 0 3.4rem 4.2rem;
  }
  .milestone:nth-child(odd) .marker, .milestone:nth-child(even) .marker { left: 0; right: auto; }
  .milestone:nth-child(odd) p { margin-left: 0; }
  .trail-svg { width: 46px; left: 0; }
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--navy); color: var(--cream);
  padding: 4rem 1.5rem;
}
.stats-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem; text-align: center;
}
.stats-grid .num {
  font-family: var(--serif); font-weight: 500; font-size: 2.6rem; color: var(--gold-bright);
}
.stats-grid .lbl {
  margin-top: 0.4rem; font-size: 0.68rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: rgba(246, 241, 230, 0.7);
}

/* ---------- Schedule ---------- */
.day-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line); border-radius: 3px;
  margin-bottom: 2rem; overflow: hidden;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.day-card.in { opacity: 1; transform: none; }
.day-card.day-wedding { border-color: var(--gold); box-shadow: var(--shadow); background: #fffdf7; }
.day-head {
  display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap;
  padding: 1.6rem 2rem 0.4rem;
}
.day-head .day-date {
  font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.day-head h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.75rem; color: var(--navy);
}
.day-badge {
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  background: var(--navy); color: var(--cream);
  padding: 0.35rem 0.9rem; border-radius: 2px;
}
.day-desc { padding: 0.4rem 2rem 0.6rem; color: var(--ink-soft); font-size: 0.95rem; max-width: 700px; }
.day-events { list-style: none; padding: 0.8rem 2rem 1.8rem; }
.day-events li {
  display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem;
  padding: 0.75rem 0; border-top: 1px dashed var(--line);
}
.day-events li:first-child { border-top: none; }
.day-events .ev-time {
  font-size: 0.8rem; letter-spacing: 0.1em; color: var(--navy);
  font-weight: 400; white-space: nowrap;
}
.day-events .ev-what { font-size: 0.98rem; }
.day-events .ev-what strong { font-weight: 400; color: var(--navy); }
.day-events .ev-where { display: block; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }
@media (max-width: 560px) {
  .day-events li { grid-template-columns: 1fr; gap: 0.15rem; }
  .day-head, .day-desc, .day-events { padding-left: 1.3rem; padding-right: 1.3rem; }
}

.note-card {
  border-left: 2px solid var(--gold);
  background: rgba(179, 146, 90, 0.08);
  padding: 1.4rem 1.8rem; border-radius: 0 3px 3px 0;
  margin: 2.5rem 0; font-size: 0.95rem; color: var(--ink-soft);
}
.note-card strong { color: var(--navy); font-weight: 400; }

/* ---------- Travel ---------- */
.travel-section { margin-bottom: 4.5rem; }
.travel-section h3 {
  font-family: var(--serif); font-weight: 500; font-size: 1.9rem;
  color: var(--navy); margin-bottom: 0.4rem;
}
.travel-section .t-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.travel-section > p { color: var(--ink-soft); max-width: 720px; margin-bottom: 1.2rem; }

.route-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem; margin-top: 1.8rem;
}
.route-card {
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line);
  border-radius: 3px; padding: 1.6rem 1.6rem 1.4rem;
}
.route-card .codes {
  font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--navy);
  display: flex; align-items: center; gap: 0.7rem;
}
.route-card .codes svg { color: var(--gold); }
.route-card .city { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.route-card p { font-size: 0.9rem; color: var(--ink-soft); }

.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
}
.info-card {
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line);
  border-radius: 3px; padding: 1.7rem 1.7rem 1.5rem;
}
.info-card h4 {
  font-family: var(--serif); font-weight: 500; font-size: 1.3rem;
  color: var(--navy); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.info-card h4 svg { color: var(--gold); flex: 0 0 auto; }
.info-card p, .info-card li { font-size: 0.92rem; color: var(--ink-soft); }
.info-card ul { padding-left: 1.1rem; }
.info-card li { margin-bottom: 0.35rem; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.3rem 3rem 1.3rem 0;
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.5rem; top: 50%;
  transform: translateY(-50%); font-family: var(--sans); font-weight: 300;
  font-size: 1.4rem; color: var(--gold); transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-a { padding: 0 0 1.4rem; color: var(--ink-soft); font-size: 0.96rem; max-width: 680px; }

/* ---------- Forms pages ---------- */
.form-card {
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--line);
  border-radius: 3px; padding: 2.6rem 2.4rem;
}
@media (max-width: 560px) { .form-card { padding: 1.8rem 1.3rem; } }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.4rem; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; gap: 0; } }

.success-panel {
  display: none; text-align: center; padding: 3rem 1.5rem;
}
.success-panel.show { display: block; }
.success-panel h3 {
  font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--navy);
  margin: 1rem 0 0.6rem;
}
.success-panel p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 1.6rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy-deep); color: var(--cream);
  text-align: center; padding: 4.5rem 1.5rem 3.5rem;
}
.page-hero .eyebrow { color: var(--gold-bright); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-top: 0.9rem; color: var(--cream);
}
.page-hero p {
  margin: 1rem auto 0; max-width: 560px;
  color: rgba(246, 241, 230, 0.78);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
}

/* ---------- Gallery ---------- */
.gallery-grid { columns: 3 280px; column-gap: 1.2rem; }
.gallery-item {
  break-inside: avoid; margin: 0 0 1.2rem; cursor: zoom-in;
  border-radius: 3px; overflow: hidden; position: relative;
  border: 1px solid var(--line); background: var(--parchment);
}
.gallery-item img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item .g-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem; font-size: 0.8rem; color: var(--cream);
  background: linear-gradient(transparent, rgba(17, 31, 54, 0.75));
  opacity: 0; transition: opacity 0.4s;
}
.gallery-item:hover .g-cap { opacity: 1; }
.gallery-item .g-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--cream); background: rgba(17, 31, 54, 0.35);
}
.gallery-empty {
  text-align: center; padding: 4rem 1.5rem; color: var(--ink-soft);
  border: 1px dashed var(--line); border-radius: 3px;
}
.gallery-empty svg { color: var(--gold); margin-bottom: 1rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; flex-direction: column;
  background: rgba(9, 16, 28, 0.94); padding: 3.5rem 1rem 2rem;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox iframe {
  max-width: min(1100px, 94vw); max-height: 78vh; border-radius: 3px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.lightbox iframe { width: min(1100px, 94vw); height: min(62vw, 70vh); border: 0; }
.lightbox .lb-cap {
  margin-top: 1rem; color: rgba(246, 241, 230, 0.85);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; text-align: center;
}
.lightbox button {
  position: absolute; background: none; border: 1px solid rgba(246, 241, 230, 0.35);
  border-radius: 50%; width: 46px; height: 46px; cursor: pointer;
  color: var(--cream); font-size: 1.2rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.lightbox button:hover { border-color: var(--gold-bright); background: rgba(179, 146, 90, 0.25); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox .lb-prev { left: 0.4rem; }
  .lightbox .lb-next { right: 0.4rem; }
}

/* ---------- Reveal helper ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .milestone, .day-card { opacity: 1; transform: none; transition: none; }
  .m-photo:hover img { transform: none; }
}
