/* ============================================================
   Emmanuel & Natalia — full gated site
   Palette: white + muted sage green, floral accents throughout.
   Type: Spectral (rustic serif body) + Playfair Display italic
   (headers) + Pinyon Script (name/ampersand accent).
   ============================================================ */
:root {
  --paper:      #FFFFFF;
  --paper-deep: #F1F4EC;
  --ink:        #2E362A;
  --muted:      #74806B;
  --accent:     #7C8B67;
  --accent-ink: #566146;
  --line:       #DEE5D3;
  --card:       #FFFFFF;
  --cream:      #FBFBF7;

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --script:  "Pinyon Script", "Playfair Display", cursive;
  --body:    "Spectral", Georgia, serif;
  --numeral: "Cinzel", "Playfair Display", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { max-width: 680px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  font-family: var(--display);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-ink);
  margin: 0;
}

.rule { width: 52px; height: 1px; background: var(--accent); opacity: .6; margin: 0 auto 20px; }

/* ================================================================
   FLORAL ACCENTS — injected by JS into any [data-floral] element,
   so the same hand-drawn line-art can be reused everywhere without
   repeating giant SVG markup throughout the HTML.
   ================================================================ */
.floral { position: absolute; pointer-events: none; z-index: 0; color: var(--accent); opacity: .55; }
.floral--corner-tl { top: 18px; left: 18px; width: 96px; height: 96px; }
.floral--corner-br { bottom: 18px; right: 18px; width: 96px; height: 96px; transform: rotate(180deg); }
.floral--side-l { top: 50%; left: 6px; width: 46px; height: 220px; transform: translateY(-50%); }
.floral--side-r { top: 50%; right: 6px; width: 46px; height: 220px; transform: translateY(-50%) scaleX(-1); }
@media (max-width: 720px) { .floral--side-l, .floral--side-r { display: none; } }

/* ---- warm photo treatment ---- */
.photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: sepia(.12) saturate(.92) contrast(1.02) brightness(.93);
  transition: transform .1s linear;
}
.photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,54,42,.18), rgba(46,54,42,.42));
}
.photo.no-shade::after { background: linear-gradient(180deg, rgba(46,54,42,.02), rgba(46,54,42,.1)); }

/* The hero carousel uses real <img> tags (see home.html) so the browser can
   lazy-load the photos that aren't visible yet, instead of every hero photo
   downloading the instant the page opens. object-fit reproduces the same
   "cover" crop the background-image version used; the darkening gradient
   moves to a real sibling element (.photo-shade) rather than a ::after
   pseudo-element, since ::after isn't reliably supported on <img> across
   mobile browsers — same look, just a markup change to keep it working on
   phones specifically, which is the whole point of this change. */
img.photo { object-fit: cover; width: 100%; height: 100%; display: block; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,54,42,.18), rgba(46,54,42,.42)); pointer-events: none; }

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

/* ================================================================
   SECTION INTRO — the shared "which section am I in" motif: a big
   numeral + eyebrow that scales and fades in with a floral flourish
   either side. Reused (with a different numeral/label) at the top
   of every numbered section, so the whole site shares one confident
   entrance rhythm instead of one bespoke animation per section.
   ================================================================ */
.section-intro {
  position: relative; text-align: center; margin: 0 0 22px;
  opacity: 0; transform: scale(.82) translateY(16px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1);
}
.section-intro.in { opacity: 1; transform: none; }
.section-intro .intro-row { display: flex; align-items: center; justify-content: center; gap: 16px; }
.section-intro .intro-num {
  font-family: var(--numeral); font-style: normal; font-weight: 700;
  font-size: 38px; line-height: 1; color: var(--accent-ink); letter-spacing: .02em;
}
.section-intro .intro-sprig { width: 26px; height: 15px; color: var(--accent); opacity: .65; }
.section-intro .intro-sprig--flip { transform: scaleX(-1); }
.section-intro .eyebrow { margin-top: 8px; }
@media (max-width: 640px) {
  .section-intro .intro-num { font-size: 32px; }
  .section-intro .intro-sprig { width: 18px; height: 11px; }
}

/* ================================================================
   TOP NAV
   ================================================================ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 26px; color: var(--ink);
}
.topnav .mark {
  font-family: var(--script); font-size: 20px; flex: 0 0 auto; margin-right: 4px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(46,54,42,.08); border-radius: 20px;
  padding: 4px 14px; box-shadow: 0 2px 10px rgba(46,54,42,.10); color: var(--accent-ink);
}
.topnav .tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; }
.topnav .tabs::-webkit-scrollbar { display: none; }
.topnav .tabs a {
  color: var(--ink); text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-style: italic; font-size: 13px;
  letter-spacing: .04em; opacity: .92;
  background: rgba(255,255,255,.92); border: 1px solid rgba(46,54,42,.08); border-radius: 20px;
  padding: 6px 14px; box-shadow: 0 2px 10px rgba(46,54,42,.10);
  transition: background .18s, color .18s, box-shadow .18s;
}
.topnav .tabs a.active, .topnav .tabs a:hover {
  opacity: 1; background: var(--accent); color: var(--cream); border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(86,97,70,.28);
}
.topnav .signout {
  flex: 0 0 auto; color: var(--accent-ink); text-decoration: none; font-family: var(--display); font-style: italic; font-size: 13px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(46,54,42,.08); border-radius: 20px;
  padding: 6px 14px; box-shadow: 0 2px 10px rgba(46,54,42,.10); transition: background .18s, color .18s;
}
.topnav .signout:hover { background: var(--accent); color: var(--cream); }
@media (max-width: 640px) { .topnav .mark, .topnav .tabs a, .topnav .signout { padding: 5px 11px; font-size: 12px; } }

/* ================================================================
   SIDE MINI-MENU
   ================================================================ */
/* Three-line menu button — pinned near the top, opens/closes the
   pop-out side nav panel. The lines animate into an "X" while open. */
.nav-toggle {
  position: fixed; top: 22px; right: 22px; z-index: 60; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.85);
  cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; backdrop-filter: blur(4px); transition: background .2s;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--accent-ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Side nav — tucked off-screen until the toggle button opens it, then
   slides in as a small pop-out panel; picking a section (or pressing
   the toggle again) tucks it back away. */
.sidenav {
  position: fixed; right: 20px; top: 50%; z-index: 55; display: flex; flex-direction: column; gap: 14px;
  transform: translateY(-50%) translateX(140%); opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.22,.68,.35,1), opacity .22s ease;
}
.sidenav.open { transform: translateY(-50%) translateX(0); opacity: 1; pointer-events: auto; }
.sidenav a { display: flex; align-items: center; gap: 10px; justify-content: flex-end; text-decoration: none; color: var(--accent-ink); }
.sidenav .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); border: 1px solid var(--accent); transition: background .2s; }
.sidenav a.active .dot { background: var(--accent); }
.sidenav .lab { font-family: var(--display); font-style: italic; font-size: 12px; opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; background: var(--cream); padding: 2px 8px; border-radius: 3px; }
.sidenav a.active .lab, .sidenav a:hover .lab { opacity: 1; transform: none; }
.sidenav.open a .lab { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .nav-toggle { top: 16px; right: 16px; width: 42px; height: 42px; }
  .sidenav { right: 12px; gap: 11px; }
  .sidenav .dot { width: 6px; height: 6px; }
}

/* ================================================================
   HERO — flowing photo carousel (10-15 images, continuous marquee)
   ================================================================ */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--cream); }
.hero .carousel { position: absolute; inset: 0; display: flex; width: max-content; animation: marquee 150s linear infinite; }
.hero .cell { position: relative; width: 32vw; min-width: 380px; height: 100%; flex: 0 0 auto; }
@media (max-width: 640px) { .hero .cell { width: 82vw; min-width: 260px; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(46,54,42,.35), rgba(46,54,42,.55)); }
.hero .inner { position: relative; z-index: 2; padding: 0 24px; }
.hero .eyebrow { color: rgba(251,251,247,.9); margin: 0 0 22px; font-style: normal; }
.hero .names { font-family: var(--script); font-weight: 400; font-size: 108px; line-height: 1; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .date { font-family: var(--display); font-style: normal; font-size: 22px; margin: 22px 0 0; color: rgba(251,251,247,.92); }
.hero .date em { font-style: normal; }
.scrollcue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .3em;
  font-size: 11px; color: rgba(251,251,247,.8); animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* ---- generic text block ---- */
section.block { position: relative; max-width: 620px; margin: 0 auto; padding: 116px 28px; text-align: center; }
section.block .eyebrow { color: var(--accent-ink); margin: 0 0 14px; }
section.block h2 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 44px; margin: 0 0 18px; }
section.block p { color: var(--muted); font-size: 17px; line-height: 1.8; margin: 0 auto; max-width: 480px; position: relative; z-index: 1; }
.music-hint {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 26px;
  font-size: 14px; color: var(--cream); background: var(--accent); border-radius: 30px;
  font-family: var(--display); font-style: italic; cursor: pointer; border: 1px solid var(--accent);
  transition: background .18s, color .18s; animation: hintGlow 2.4s ease-in-out infinite;
}
.music-hint:hover { background: transparent; color: var(--accent-ink); }
.music-hint .note-ic { font-size: 16px; }
@keyframes hintGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(124,139,103,.35); } 50% { box-shadow: 0 0 0 8px rgba(124,139,103,0); } }

/* ---- full-bleed parallax band ---- */
.band { position: relative; min-height: 74vh; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--cream); text-align: center; padding: 70px 24px; }
.band .photo { height: 140%; top: -20%; will-change: transform; }
.band .script { position: relative; z-index: 2; font-family: var(--script); font-size: 62px; text-shadow: 0 2px 24px rgba(0,0,0,.4); padding: 0 24px; }

/* ---- countdown merged into the parallax band: transparent panel,
   cream text with a shadow so the digits read clearly over the photo ---- */
.band .count.band-count {
  position: relative; z-index: 2; background: none; padding: 0; overflow: visible;
  --accent-ink: #FBFBF7;
}
.band .count.band-count .eyebrow { color: rgba(251,251,247,.92); }
.band .count.band-count h2 { color: var(--cream); text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.band .count.band-count .num { color: var(--cream); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.band .count.band-count .lab { color: rgba(251,251,247,.82); }
.band .count.band-count .hint { color: rgba(251,251,247,.72); }

/* ---- editorial pair (our story) ---- */
.pair { position: relative; max-width: 960px; margin: 0 auto; padding: 100px 28px 116px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.pair.reverse .frame { order: 2; }
.pair.reverse .txt { order: 1; }
.pair .frame { position: relative; height: 420px; border-radius: 3px; overflow: hidden; }
.pair .tall { height: 500px; }
.pair .txt { padding: 20px; }
.pair .txt h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 36px; margin: 0 0 14px; }
.pair .txt p { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 0; }
.pair .txt p + p { margin-top: 15px; }

/* ---- countdown ---- */
.count { position: relative; background: var(--paper-deep); padding: 100px 24px 120px; text-align: center; overflow: hidden; }
.count .eyebrow { color: var(--accent-ink); margin: 0 0 8px; }
.count h2 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: clamp(20px, 4.4vw, 38px); margin: 0 0 30px; white-space: nowrap; }
.count .clock { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; }
.count .unit { position: relative; min-width: 96px; cursor: pointer; user-select: none; perspective: 400px; }
.count .num { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 84px; line-height: 1; display: inline-block; transition: opacity .1s linear; }
.count .num-particles { position: absolute; top: 0; left: 0; pointer-events: none; opacity: 0; }
.count .unit.flip .num { animation: unitFlip .6s ease; }
@keyframes unitFlip { 0% { transform: rotateX(0); } 50% { transform: rotateX(94deg); opacity: .35; } 100% { transform: rotateX(0); opacity: 1; } }
.count .lab { font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .24em; font-size: 11px; color: var(--muted); margin-top: 10px; }
.count .hint { margin-top: 26px; font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .count h2 { margin: 0 0 22px; }
  .count .clock { gap: 12px; flex-wrap: nowrap; }
  .count .num { font-size: clamp(26px, 8vw, 40px); }
  .count .unit { min-width: 0; flex: 1 1 0; }
  .count .lab { font-size: 9px; letter-spacing: .14em; margin-top: 6px; }
}
@media (max-width: 360px) { .count .clock { gap: 7px; } }

/* ================================================================
   WEDDING PARTY — pinned scroll-reveal collage.
   Women reveal first and stack left (progress 0-0.5 of THIS
   section), then men reveal and stack right; the back half of the
   section is a deliberate hold before you can move on. Revealed
   tiles keep a gentle continuous shake rather than sitting still.
   ================================================================ */
.party { position: relative; max-width: 1100px; margin: 0 auto; padding: 116px 28px 120px; text-align: center; background: var(--paper-deep); }
.party .heading { position: relative; z-index: 1; margin-bottom: 8px; }
.party-group-label {
  font-family: var(--display); font-style: italic; color: var(--accent-ink); font-size: 15px;
  letter-spacing: .1em; margin: 44px 0 22px;
}
.party-group-label:first-of-type { margin-top: 18px; }
.party-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 18px; width: 90%; margin: 0 auto; }
.party-card {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.party-row.in .party-card { opacity: 1; transform: none; }
.party-row.in .party-card:nth-child(1) { transition-delay: .02s; }
.party-row.in .party-card:nth-child(2) { transition-delay: .09s; }
.party-row.in .party-card:nth-child(3) { transition-delay: .16s; }
.party-row.in .party-card:nth-child(4) { transition-delay: .23s; }
.party-row.in .party-card:nth-child(5) { transition-delay: .30s; }
.party-card .frame { position: relative; width: 100%; padding-top: 122%; border-radius: 3px; overflow: hidden; margin-bottom: 12px; box-shadow: 0 10px 26px rgba(46,54,42,.14); }
.party-card h4 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 17px; margin: 0 0 3px; }
.party-card .role { font-family: var(--display); font-style: italic; color: var(--accent-ink); font-size: 12px; margin: 0 0 6px; }
.party-card .note { color: var(--muted); font-size: 11.5px; line-height: 1.5; margin: 0; }
@media (max-width: 900px) { .party-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .party-row { grid-template-columns: repeat(2, 1fr); } .party { padding: 90px 22px 96px; } }

/* ================================================================
   LOCATION / CEREMONY / RECEPTION
   ================================================================ */
.venue { position: relative; max-width: 700px; margin: 0 auto; padding: 116px 28px; text-align: center; }
.venue--tint { max-width: 100%; background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.venue--tint > * { max-width: 700px; margin-left: auto; margin-right: auto; }
.venue--tint .layout, .venue--tint .venue-map-row { max-width: 700px; }
.venue h2 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 42px; margin: 0; }
.venue .intro { color: var(--muted); font-size: 16px; max-width: 480px; margin: 16px auto 0; }
.venue .layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 50px; text-align: left; }
.venue .card { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 4px; padding: 30px 26px; }
.venue .card .card-travel { margin: 18px 0 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.venue .card .card-travel p { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 0 0 10px; }
.venue .card .card-travel p:last-child { margin-bottom: 0; }
.venue .card .card-travel strong { color: var(--ink); font-weight: 600; font-style: normal; }
.venue .card .tag { font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--accent-ink); margin: 0 0 12px; }
.venue .card h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 24px; margin: 0 0 10px; }
.venue .card address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 16px; }
.venue .card .directions { display: inline-block; color: var(--accent-ink); font-family: var(--display); font-style: italic; font-size: 13px; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid var(--accent); }
.venue .card .directions:hover { color: var(--ink); }
.venue .mini-link { display: block; margin-top: 12px; font-size: 12px; color: var(--muted); font-style: italic; text-decoration: none; border-bottom: 1px dotted var(--line); }
.venue .mini-link:hover { color: var(--accent-ink); }
.venue .mini-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); font-style: italic; }
.venue-map-row { margin-top: 40px; text-align: center; }
.venue-map-row .map-cap { font-family: var(--display); font-style: italic; color: var(--accent-ink); font-size: 13px; margin: 0 0 12px; }
.venue-map-row .map { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; aspect-ratio: 16 / 6; }
.venue-map-row .map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
@media (max-width: 640px) { .venue-map-row .map { aspect-ratio: 4 / 3; } }
.venue .mockup { border: 1px solid var(--line); border-radius: 4px; background: var(--paper-deep); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0; color: var(--muted); font-size: 13px; line-height: 1.6; overflow: hidden; }
.venue .mockup svg { width: 100%; height: 100%; color: var(--accent-ink); }
.venue .card .postcode-tag { display: inline-block; margin-top: 2px; font-size: 11px; letter-spacing: .08em; color: var(--accent-ink); font-style: italic; }
.venue .map { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.venue .map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.venue .cta--ghost { display: inline-block; margin-top: 28px; padding: 13px 30px; border: 1px solid var(--accent); border-radius: 3px; color: var(--accent-ink); text-decoration: none; font-family: var(--display); font-style: italic; font-size: 13px; letter-spacing: .06em; }
.venue .cta--ghost:hover { background: var(--accent); color: var(--cream); }
@media (max-width: 720px) { .venue .layout { grid-template-columns: 1fr; } }

/* ================================================================
   REGISTRY — a simple, static grid of household items (no scroll
   animation — kept deliberately plain after the pinned "house that
   opens" version proved too fiddly and clashy to be worth it).
   ================================================================ */
.registry-simple { position: relative; max-width: 780px; margin: 0 auto; padding: 116px 28px; text-align: center; }
.registry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 18px; margin: 46px 0 40px; }
.registry-item { text-align: center; }
.registry-item .item-sketch { width: 60px; height: 60px; color: var(--accent-ink); margin-bottom: 10px; filter: drop-shadow(0 4px 6px rgba(46,54,42,.12)); }
.registry-item .registry-item-label { display: block; font-family: var(--display); font-style: italic; font-size: 13px; color: var(--ink); }
.cta--big {
  padding: 19px 46px !important; font-size: 17px !important; letter-spacing: .08em !important;
  border-radius: 4px !important; box-shadow: 0 8px 22px rgba(86,97,70,.28);
}
@media (max-width: 720px) { .registry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .registry-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================
   SCHEDULE OF EVENTS
   ================================================================ */
.schedule { position: relative; max-width: 620px; margin: 0 auto; padding: 40px 28px 116px; text-align: center; }
.schedule-list { list-style: none; margin: 40px 0 0; padding: 0; text-align: left; border-top: 1px solid var(--line); }
.schedule-list li {
  display: flex; gap: 22px; align-items: baseline; padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.schedule-list .time {
  flex: 0 0 84px; font-family: var(--display); font-style: italic; color: var(--accent-ink);
  font-size: 15px; letter-spacing: .02em;
}
.schedule-list .event { color: var(--ink); font-size: 15.5px; }

/* ================================================================
   TRAVEL — public transport + parking
   ================================================================ */
.travel-cards { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 30px 0 6px; text-align: left; }
.travel-card { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 4px; padding: 26px 28px; width: 280px; }
.travel-card .tag { font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--accent-ink); margin: 0 0 12px; }
.travel-card h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 19px; margin: 0 0 10px; }
.travel-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
@media (max-width: 640px) { .travel-cards { flex-direction: column; align-items: center; } }

.venue .tfl-note { color: var(--muted); font-size: 13.5px; max-width: 480px; margin: 10px auto 0; }
.venue .tfl-note a { color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid var(--accent); }
.venue .tfl-note a:hover { color: var(--ink); }

.parking-block { margin-top: 50px; text-align: left; max-width: 620px; margin-left: auto; margin-right: auto; }
.parking-block > .tag { font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: var(--accent-ink); margin: 0 0 10px; text-align: center; }
.parking-block > h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 26px; margin: 0 0 14px; text-align: center; }
.parking-intro { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 20px; }
.parking-venue { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 4px; padding: 22px 26px; margin-bottom: 18px; }
.parking-venue-name { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 16px; color: var(--accent-ink); margin: 0 0 14px; }
.parking-list { list-style: none; margin: 0; padding: 0; }
.parking-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.parking-list li:first-child { border-top: 0; }
.parking-list li a { color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--line); }
.parking-list li a:hover { color: var(--accent-ink); border-color: var(--accent); }
.parking-list li span { color: var(--muted); font-size: 12.5px; text-align: right; white-space: nowrap; }
.parking-list--compact li { flex-wrap: wrap; }
.disclaimer { color: var(--muted); font-size: 12px; font-style: italic; line-height: 1.6; text-align: center; margin: 4px 0 0; }
@media (max-width: 640px) {
  .parking-list li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .parking-list li span { text-align: left; }
}

/* ================================================================
   OPEN-IN-MAPS BUTTON (replaces the old embedded map iframe)
   ================================================================ */
.venue .card .directions.cta-maps {
  display: inline-block; margin-top: 4px; padding: 11px 22px; border: 1px solid var(--accent); border-radius: 3px;
  color: var(--accent-ink); background: transparent; font-family: var(--display); font-style: italic; font-size: 13px;
  letter-spacing: .05em; text-decoration: none; transition: background .18s, color .18s;
}
.venue .card .directions.cta-maps:hover { background: var(--accent); color: var(--cream); }

/* ================================================================
   SIMPLE SECTIONS — registry CTA / honeymoon fund
   ================================================================ */
.simple-section { position: relative; max-width: 620px; margin: 0 auto; padding: 116px 28px; text-align: center; }
.simple-section--tint { max-width: 100%; background: var(--paper-deep); border-top: 1px solid var(--line); }
.simple-section--tint > * { max-width: 620px; margin-left: auto; margin-right: auto; }
.simple-section--tint .fund-options { max-width: none; }
.simple-section h2 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 42px; margin: 0 0 18px; }
.dresscode-tag { font-family: var(--display); font-style: italic; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--accent-ink); margin: -8px 0 20px; }
.simple-section p { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 480px; margin: 0 auto 26px; position: relative; z-index: 1; }
.cta {
  display: inline-block; padding: 15px 34px; border: 1px solid var(--accent); border-radius: 3px;
  background: var(--accent); color: var(--cream); text-decoration: none;
  font-family: var(--display); font-style: italic; font-size: 14px; letter-spacing: .06em;
  transition: background .18s, color .18s;
}
.cta:hover { background: transparent; color: var(--accent-ink); }
.simple-section .cta--outline { background: transparent; color: var(--accent-ink); }
.simple-section .cta--outline:hover { background: var(--accent); color: var(--cream); }
.simple-section .fine-print { font-size: 12px; color: var(--muted); font-style: italic; max-width: 420px; margin: 16px auto 0; }
.fund-options { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 30px 0 6px; text-align: left; }
.fund-card { background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 4px; padding: 26px 28px; width: 260px; }
.fund-card .tag { font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: var(--accent-ink); margin: 0 0 12px; }
.fund-card dl { margin: 0; font-size: 14px; color: var(--ink); }
.fund-card dt { font-family: var(--display); font-style: italic; font-size: 12px; color: var(--muted); margin-top: 10px; }
.fund-card dt:first-child { margin-top: 0; }
.fund-card dd { margin: 2px 0 0; font-family: var(--body); letter-spacing: .02em; }
.fund-card .provisional { display: inline-block; margin-top: 14px; font-size: 11px; color: var(--muted); font-style: italic; }
@media (max-width: 560px) { .fund-options { flex-direction: column; align-items: center; } }

/* ================================================================
   OUR TIMELINE — pinned, scrolls horizontally right-to-left, with
   nodes drifting out of focus roughly two-thirds of the way through
   their journey and sharpening again as they approach the centre.
   ================================================================ */
.story-scroll { position: relative; height: 340vh; }
.story-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: var(--cream); }
.story-pin .heading { text-align: center; margin-bottom: 6vh; position: relative; z-index: 2; }
.story-pin .heading .eyebrow { color: rgba(251,251,247,.8); }
.story-pin .heading .intro-num { color: var(--cream); }
.story-track { display: flex; align-items: center; gap: 90px; padding-left: 100vw; padding-right: 8vw; will-change: transform; }
.story-node { flex: 0 0 auto; width: 300px; text-align: center; transition: filter .15s linear, transform .15s linear, opacity .15s linear; will-change: transform, filter, opacity; }
.story-node .frame { position: relative; width: 100%; height: 230px; border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.story-node .cap { font-family: var(--body); font-style: italic; font-size: 13.5px; line-height: 1.6; color: rgba(251,251,247,.85); margin: 0; padding: 0 6px; }
.story-pin .trackwrap { position: relative; z-index: 2; }

footer.site { text-align: center; color: var(--muted); font-family: var(--display); font-style: italic; font-size: 16px; letter-spacing: .04em; padding: 70px 24px 100px; }
footer.site .signout { display: block; margin-top: 14px; font-size: 13px; color: var(--accent-ink); text-decoration: none; border-bottom: 1px solid var(--line); }

.music {
  position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.85);
  color: var(--accent-ink); font-size: 18px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.music.pulse { animation: musicPulse 1s ease-in-out 3; }
@keyframes musicPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(124,139,103,.5); } 50% { box-shadow: 0 0 0 10px rgba(124,139,103,0); } }

/* ================================================================
   LOGIN GATE
   ================================================================ */
.gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.gate-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 52px 40px 44px; text-align: center; opacity: 0; animation: rise 1s ease forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.gate-card .amp { display: block; font-family: var(--script); font-size: 44px; color: var(--accent); margin: 14px 0 6px; }
.gate-card h1 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 32px; margin: 0 0 10px; }
.gate-card .lead { color: var(--muted); font-size: 14px; margin: 0 0 34px; }
.gate .field { margin-bottom: 18px; text-align: left; }
.gate .field label { display: block; font-family: var(--display); font-style: italic; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 500; margin-bottom: 8px; color: var(--accent-ink); }
.gate .field input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 3px; font-family: var(--body); font-size: 15px; color: var(--ink); background: var(--paper); transition: border-color .18s, box-shadow .18s; }
.gate .field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124,139,103,.16); }
.gate .error { color: #a8503f; font-size: 13px; margin: -6px 0 18px; display: none; text-align: left; }
.gate .error.show { display: block; }
.gate .btn { width: 100%; padding: 16px 20px; border: 1px solid var(--accent); cursor: pointer; background: var(--accent); color: var(--cream); border-radius: 3px; font-family: var(--display); font-style: italic; font-size: 15px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; transition: background .18s, color .18s; }
.gate .btn:hover { background: transparent; color: var(--accent-ink); }
.gate .hint { margin-top: 26px; font-size: 12px; color: var(--muted); line-height: 1.6; }

@media (max-width: 640px) {
  .hero .names { font-size: 60px; }
  .hero .date { font-size: 17px; }
  .pair, .pair.reverse { grid-template-columns: 1fr; padding: 80px 24px; }
  .pair.reverse .frame, .pair.reverse .txt { order: initial; }
  .pair .frame, .pair .tall { height: 300px; }
  section.block { padding: 76px 24px; }
  section.block h2 { font-size: 32px; }
  .gate-card { padding: 40px 26px 36px; }
  .story-node { width: 230px; }
  .story-node .frame { height: 185px; }
  .party-row { grid-template-columns: repeat(2, 1fr); }
}
