:root {
  --paper: #f7f5ef;
  --paper-bright: #fffefa;
  --ink: #17312d;
  --forest: #0c574f;
  --forest-light: #2d7469;
  --red: #c45f78;
  --blue: #255ca8;
  --gold: #e0a84b;
  --line: rgba(23, 49, 45, 0.18);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.gate {
  position: fixed;
  z-index: 100;
  inset: 0;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  transition: opacity 800ms ease, visibility 800ms ease;
}

.gate.is-open { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__photo, .gate__shade, .hero__photo, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.gate__photo, .hero__photo { object-fit: cover; object-position: 50% 46%; }
.gate__shade { background: linear-gradient(180deg, rgba(5, 32, 29, 0.18), rgba(5, 32, 29, 0.04) 42%, rgba(5, 32, 29, 0.72)); }
.gate__top, .gate__footer { position: absolute; left: 0; width: 100%; text-align: center; font-size: 10px; letter-spacing: 0; }
.gate__top { top: max(28px, env(safe-area-inset-top)); }
.gate__footer { bottom: max(22px, env(safe-area-inset-bottom)); opacity: 0.72; }
.gate__content { position: absolute; inset: 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gate__eyebrow { margin: 0 0 18px; font-family: var(--serif); font-size: 14px; }
.gate h1, .hero h1 { margin: 0; display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 400; }
.gate h1 { gap: 8px; font-size: 36px; white-space: nowrap; }
.gate h1 i, .hero h1 i { color: #f0bd5d; font-family: Georgia, serif; font-size: 0.65em; font-weight: 400; }
.gate__date { margin: 20px 0 34px; font-family: Georgia, serif; font-size: 13px; }
.gate__button { width: 164px; height: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,0.72); border-radius: 0; background: rgba(9, 69, 62, 0.22); color: #fff; display: flex; justify-content: space-between; align-items: center; cursor: pointer; backdrop-filter: blur(6px); }

.site { opacity: 0; transition: opacity 600ms ease 300ms; }
.site.is-visible { opacity: 1; }
.preview-mode .site { transition: none; }
.preview-mode .reveal { transition: none; }

.hero { position: relative; height: 92svh; min-height: 620px; color: #fff; overflow: hidden; }
.hero__shade { background: linear-gradient(180deg, rgba(7, 35, 31, 0.28), transparent 34%, rgba(7, 35, 31, 0.7)); }
.nav { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; padding: max(22px, env(safe-area-inset-top)) 20px 0; display: flex; justify-content: space-between; align-items: center; }
.nav__mark { font-family: Georgia, serif; font-size: 17px; }
.nav__mark span { color: #f0bd5d; }
.nav__rsvp { padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.7); font-size: 12px; }
.hero__content { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 104px; }
.hero__content > p { margin: 0 0 12px; font-family: Georgia, serif; font-size: 10px; }
.hero h1 { font-size: 40px; }
.hero__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--serif); font-size: 13px; }
.hero__scroll { position: absolute; z-index: 2; right: 23px; bottom: 24px; width: 36px; height: 52px; border: 1px solid rgba(255,255,255,0.55); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 10px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; animation: scrollDot 1.8s infinite; }

.section-pad { padding: 84px 24px; }
.section-kicker { color: var(--red); font-family: Georgia, serif; font-size: 10px; }
.section-kicker--light { color: #dec58f; }
.section-title { margin: 20px 0 0; font-family: var(--serif); font-size: 34px; line-height: 1.45; font-weight: 400; }

.letter { background-image: linear-gradient(rgba(255,254,250,0.9), rgba(246,240,239,0.94)), url("/assets/photos/scenes/bg-garden.jpg"); background-position: center; background-size: cover; text-align: center; }
.letter__lead { margin: 30px auto 0; font-family: var(--serif); font-size: 28px; line-height: 1.7; }
.letter__rule { width: 1px; height: 64px; margin: 32px auto; background: var(--red); }
.letter__copy { max-width: 490px; margin: 0 auto; color: #4f5b56; font-family: var(--serif); font-size: 15px; line-height: 2.1; text-align: left; }
.letter__sign { margin: 28px 0 0; color: var(--red); font-family: Georgia, var(--serif); font-size: 13px; }

.photo-story { background: var(--paper); }
.photo-story__intro {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(255,254,250,0.84), rgba(241,246,243,0.92)), url("/assets/photos/scenes/bg-comic.jpg");
  background-position: center;
  background-size: cover;
}
.scene {
  --scene-ink: #17312d;
  --scene-frame: rgba(255,255,255,0.64);
  --scene-frame-line: rgba(255,255,255,0.72);
  --scene-photo: url("/assets/photos/scenes/bg-garden.jpg");
  --scene-wash: linear-gradient(rgba(244,237,239,0.8), rgba(235,241,237,0.9));
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 18px 94px;
  color: var(--scene-ink);
}
.scene::before, .scene::after { content: ""; position: absolute; inset: -20px; pointer-events: none; }
.scene::before { z-index: -2; background-image: var(--scene-photo); background-position: center; background-size: cover; filter: blur(10px) saturate(0.76); transform: scale(1.08); }
.scene::after { z-index: -1; background: var(--scene-wash); }
.scene--garden { --scene-photo: url("/assets/photos/scenes/bg-garden.jpg"); --scene-wash: linear-gradient(145deg, rgba(248,230,235,0.86), rgba(219,235,224,0.88)); --scene-frame: rgba(255,247,249,0.6); --scene-frame-line: rgba(134,86,98,0.38); }
.scene--chapel { --scene-photo: url("/assets/photos/scenes/bg-chapel.jpg"); --scene-wash: linear-gradient(155deg, rgba(245,235,213,0.87), rgba(218,205,185,0.9)); --scene-ink: #3b3328; --scene-frame: rgba(255,250,236,0.52); --scene-frame-line: rgba(103,81,50,0.42); }
.scene--lake { --scene-photo: url("/assets/photos/scenes/bg-lake.jpg"); --scene-wash: linear-gradient(150deg, rgba(12,63,57,0.8), rgba(21,75,76,0.86)); --scene-ink: #f5f3e9; --scene-frame: rgba(221,241,232,0.13); --scene-frame-line: rgba(210,236,225,0.55); }
.scene--mountain { --scene-photo: url("/assets/photos/scenes/bg-mountain.jpg"); --scene-wash: linear-gradient(150deg, rgba(52,43,67,0.78), rgba(105,72,61,0.78)); --scene-ink: #fff8ed; --scene-frame: rgba(255,239,217,0.14); --scene-frame-line: rgba(255,226,184,0.58); }
.scene--studio { --scene-photo: url("/assets/photos/scenes/bg-studio.jpg"); --scene-wash: linear-gradient(150deg, rgba(15,35,54,0.88), rgba(37,54,76,0.9)); --scene-ink: #f6eee2; --scene-frame: rgba(222,230,239,0.12); --scene-frame-line: rgba(216,226,237,0.48); }
.scene__inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }
.scene__head { max-width: 560px; margin: 0 6px 34px; }
.scene__head p { width: 38px; height: 38px; margin: 0 0 16px; border: 1px solid currentColor; border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-size: 21px; opacity: 0.62; box-shadow: inset 0 0 0 4px rgba(255,255,255,0.12); }
.scene__head h3 { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.45; font-weight: 400; }
.scene__head span { display: block; max-width: 430px; margin-top: 15px; padding-left: 28px; position: relative; font-family: var(--serif); font-size: 13px; line-height: 1.8; opacity: 0.78; }
.scene__head span::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 18px; height: 1px; background: currentColor; opacity: 0.55; }
.scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.scene-photo { position: relative; min-width: 0; padding: 8px; border: 2px solid var(--scene-frame-line); border-radius: 4px; overflow: hidden; background: var(--scene-frame); box-shadow: 0 22px 46px rgba(21,28,27,0.24), 0 5px 10px rgba(21,28,27,0.18), inset 0 1px 0 rgba(255,255,255,0.72), inset 0 -3px 7px rgba(48,34,28,0.14); cursor: zoom-in; }
.scene-photo::before { content: ""; position: absolute; z-index: 2; inset: 4px; border: 1px solid rgba(255,255,255,0.58); border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(72,52,42,0.16); pointer-events: none; }
.scene-photo::after { content: "✦"; position: absolute; z-index: 3; top: -2px; left: 50%; width: 24px; height: 16px; display: grid; place-items: center; transform: translateX(-50%); background: var(--scene-frame); color: var(--scene-ink); font-size: 9px; line-height: 1; pointer-events: none; }
.scene-photo img { width: 100%; height: 100%; border-radius: 1px; object-fit: cover; transition: transform 500ms ease; }
.scene-photo:active img { transform: scale(1.015); }
.scene-photo:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.scene-photo--wide, .scene-photo--landscape { grid-column: 1 / -1; }
.scene-photo--wide { aspect-ratio: 16 / 10; }
.scene-photo--landscape { aspect-ratio: 3 / 2; }
.scene-photo--portrait { aspect-ratio: 2 / 3; }
.scene-photo--portrait-centered { grid-column: 1 / -1; justify-self: center; width: min(72%, 320px); aspect-ratio: 2 / 3; }
.scene-grid--chapel .scene-photo { grid-column: 1 / -1; justify-self: center; width: min(76%, 340px); }
.scene-grid--studio .scene-photo:first-child { grid-column: 1 / -1; justify-self: center; width: min(76%, 340px); }

.scene--garden .scene-grid { gap: 18px; padding: 8px 4px; }
.scene--garden .scene-photo { padding: 11px 11px 34px; border: 1px solid rgba(155,105,119,0.38); border-radius: 3px; overflow: visible; background: rgba(255,249,247,0.94); box-shadow: 0 18px 36px rgba(86,54,63,0.2), 0 3px 7px rgba(86,54,63,0.12); }
.scene--garden .scene-photo:nth-child(2) { rotate: -1.4deg; }
.scene--garden .scene-photo:nth-child(3) { rotate: 1.4deg; }
.scene--garden .scene-photo::before { inset: auto; top: -11px; left: 50%; width: 62px; height: 23px; border: 0; border-radius: 1px; transform: translateX(-50%) rotate(-3deg); background: rgba(218,194,173,0.66); box-shadow: 0 2px 4px rgba(66,47,40,0.12); }
.scene--garden .scene-photo::after { content: "❀"; top: auto; bottom: 7px; width: 28px; height: 18px; background: transparent; color: #b45f78; font-size: 14px; }

.scene--chapel .scene-photo { padding: 12px; border: 4px ridge #c79b53; border-radius: 3px; background: rgba(255,245,218,0.72); box-shadow: 0 26px 48px rgba(73,48,29,0.3), inset 0 0 0 3px rgba(255,230,165,0.6); }
.scene--chapel .scene-photo::before { inset: 6px; border: 1px solid rgba(255,239,190,0.9); border-radius: 1px; box-shadow: inset 0 0 0 2px rgba(106,70,35,0.22); }
.scene--chapel .scene-photo::after { content: "✦"; top: 5px; width: 28px; height: 24px; border: 1px solid #be8c43; border-radius: 50%; background: #f4dfae; color: #805225; font-size: 11px; }

.scene--lake .scene-grid { gap: 20px; }
.scene--lake .scene-photo { isolation: isolate; padding: 9px; border: 0; border-radius: 2px; overflow: hidden; background: linear-gradient(135deg, rgba(220,241,234,0.46), rgba(48,105,98,0.22) 52%, rgba(223,194,133,0.42)); box-shadow: none; backdrop-filter: blur(4px); }
.scene--lake .scene-photo::before { display: none; }
.scene--lake .scene-photo::after { display: none; }
.scene--lake .scene-photo img { position: relative; z-index: 1; }
.scene-grid--lake .scene-photo:nth-child(2) { grid-column: 1; grid-row: 2; align-self: start; }
.scene-grid--lake .scene-photo:nth-child(3) { grid-column: 2; grid-row: 2; align-self: end; width: 76%; top: 40px; }
.scene-grid--lake .scene-photo:nth-child(4) { margin-top: 58px; }
.scene-photo--cameo { align-self: center; justify-self: center; width: 82%; aspect-ratio: 2 / 3; }
.lake-rotator { position: relative; }
.lake-rotator__track { width: 100%; height: 100%; display: flex; flex-direction: column; transition: transform 650ms cubic-bezier(0.22, 0.7, 0.24, 1); }
.lake-rotator__slide { flex: 0 0 100%; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; overflow: hidden; background: transparent; cursor: zoom-in; }
.lake-rotator__slide img { width: 100%; height: 100%; object-fit: cover; }
.lake-rotator__slide:focus-visible { outline: 2px solid #f1d18a; outline-offset: -5px; }
.lake-rotator__count { position: absolute; z-index: 3; right: 14px; bottom: 12px; padding: 4px 7px; background: rgba(5,48,44,0.58); color: #fff; font-family: Georgia, serif; font-size: 10px; backdrop-filter: blur(5px); }
.lake-rotator__count b { font-weight: 400; }

.scene-grid--mountain { padding: 28px 20px; gap: 16px; background-color: #0d0d0d; background-image: radial-gradient(circle, #d8d0bd 0 2px, transparent 2.5px), radial-gradient(circle, #d8d0bd 0 2px, transparent 2.5px); background-size: 12px 28px; background-position: 4px 0, calc(100% - 4px) 0; background-repeat: repeat-y; box-shadow: 0 28px 58px rgba(20,13,17,0.4); }
.scene--mountain .scene-photo { padding: 5px 5px 25px; border: 2px solid #242424; border-radius: 0; background: #090909; box-shadow: none; }
.scene--mountain .scene-photo::before { inset: 4px 4px 24px; border-color: rgba(255,255,255,0.24); border-radius: 0; box-shadow: none; }
.scene--mountain .scene-photo::after { display: none; }

.scene-grid--studio { padding: 32px 20px 44px; gap: 18px; background-image: linear-gradient(rgba(246,241,238,0.76), rgba(236,229,236,0.82)), url("/assets/photos/scenes/bg-comic.jpg"); background-position: center; background-size: cover; }
.scene--studio .scene-photo { padding: 11px 11px 42px; border: 0; border-radius: 2px; overflow: visible; background: #fffdf9; box-shadow: 0 20px 36px rgba(5,18,30,0.34); }
.scene--studio .scene-photo:nth-child(1) { rotate: -1.6deg; }
.scene--studio .scene-photo:nth-child(2) { rotate: 1.8deg; }
.scene--studio .scene-photo:nth-child(3) { rotate: -1deg; }
.scene--studio .scene-photo::before { inset: auto; top: -10px; left: 50%; width: 56px; height: 22px; border: 0; transform: translateX(-50%) rotate(2deg); background: rgba(176,163,158,0.6); box-shadow: none; }
.scene--studio .scene-photo::after { display: none; }

.heart-frame { grid-column: 1 / -1; position: relative; justify-self: center; width: min(calc(100% + 36px), 720px); margin: 20px auto 8px; padding: 32px 0 38px; display: grid; place-items: center; }
.heart-frame::before, .heart-frame::after { content: ""; position: absolute; top: 25%; width: 32px; height: 50%; border-top: 2px solid #c69b56; border-bottom: 2px solid #8f642e; border-radius: 50%; opacity: 0.88; }
.heart-frame::before { left: 2px; border-left: 1px solid #e4c27a; transform: rotate(-9deg); }
.heart-frame::after { right: 2px; border-right: 1px solid #e4c27a; transform: rotate(9deg); }
.heart-frame__portrait { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 18px 18px rgba(57,38,24,0.3)); }
.heart-frame__edge { fill: none; vector-effect: non-scaling-stroke; }
.heart-frame__edge--shadow { stroke: #5d3b22; stroke-width: 6; }
.heart-frame__edge--gold { stroke: #b9873f; stroke-width: 4; }
.heart-frame__edge--light { stroke: #ffe3a0; stroke-width: 1.4; }
.heart-frame__ornament { position: absolute; z-index: 2; left: 50%; width: 34px; height: 34px; border: 1px solid #be914d; border-radius: 50%; display: grid; place-items: center; transform: translateX(-50%); background: rgba(246,229,196,0.82); color: #8b5e2b; box-shadow: inset 0 0 0 4px rgba(255,250,230,0.55), 0 5px 12px rgba(74,48,25,0.18); font-size: 13px; }
.heart-frame__ornament--top { top: 0; }
.heart-frame__ornament--bottom { bottom: 0; }

.moments-gallery { position: relative; overflow: hidden; padding-bottom: 96px; background-image: linear-gradient(rgba(248,240,237,0.86), rgba(229,239,235,0.9)), url("/assets/photos/scenes/bg-comic.jpg"); background-position: center; background-size: cover; color: var(--ink); }
.moments-gallery__head { text-align: center; }
.moments-gallery__head > span { width: 38px; height: 38px; margin: 0 auto 18px; border: 1px solid #b5813c; border-radius: 50%; display: grid; place-items: center; color: #9a682c; box-shadow: inset 0 0 0 5px rgba(255,255,255,0.45); }
.moments-gallery__head h3 { margin: 0; font-family: var(--serif); font-size: 30px; line-height: 1.5; font-weight: 400; }
.moments-gallery__head p { margin: 16px 0 0; font-family: var(--serif); font-size: 13px; line-height: 1.8; opacity: 0.72; }
.slider { position: relative; width: 100vw; max-width: 100%; min-width: 0; overflow: hidden; background: #0d2521; color: #fff; }
.moments-carousel { width: calc(100% - 32px); max-width: 1080px; margin: 0 auto; border: 8px solid rgba(255,250,242,0.86); outline: 1px solid rgba(142,91,52,0.52); box-shadow: 0 30px 64px rgba(49,31,27,0.28), inset 0 0 0 2px rgba(255,255,255,0.55); background: #173b37; }
.moments-carousel .slider__slide { isolation: isolate; }
.moments-carousel .slider__slide::before { content: ""; position: absolute; z-index: -1; inset: -22px; background-position: center; background-size: cover; filter: blur(18px) saturate(0.74); transform: scale(1.1); opacity: 0.72; }
.moments-carousel .slider__slide--chapel-one::before { background-image: url("/assets/photos/scenes/chapel-04.jpg"); }
.moments-carousel .slider__slide--chapel-two::before { background-image: url("/assets/photos/scenes/chapel-03.jpg"); }
.moments-carousel .slider__slide--lake-one::before { background-image: url("/assets/photos/scenes/lake-02.jpg"); }
.moments-carousel .slider__slide--mountain-one::before { background-image: url("/assets/photos/scenes/mountain-04.jpg"); }
.moments-carousel .slider__slide--mountain-two::before { background-image: url("/assets/photos/scenes/mountain-05.jpg"); }
.moments-carousel .slider__slide img { position: relative; z-index: 1; padding: 0; object-fit: cover; }
.moments-carousel .slider__slide::after { z-index: 2; }
.slider__lightbox { width: 100%; height: 100%; padding: 0; border: 0; display: block; overflow: hidden; background: transparent; cursor: zoom-in; }
.slider__lightbox:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.moments-carousel .slider__dot { width: 20px; }
.moments-carousel .slider__dot[aria-current="true"]::after { width: 16px; }
.slider__viewport { width: 100%; min-width: 0; height: min(78svh, 720px); min-height: 520px; display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__viewport:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.slider__slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.slider__slide::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(transparent, rgba(4,18,15,0.62)); pointer-events: none; }
.slider__slide picture, .slider__slide img { width: 100%; height: 100%; }
.slider__slide picture { display: block; }
.slider__slide img { object-fit: cover; }
.slider__controls { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; align-items: center; }
.slider__arrow { width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,0.7); border-radius: 50%; display: grid; place-items: center; background: rgba(7,37,32,0.3); color: #fff; cursor: pointer; font-size: 18px; backdrop-filter: blur(6px); }
.slider__arrow[data-slider-next] { grid-column: 3; }
.slider__dots { display: flex; align-items: center; justify-content: center; gap: 2px; }
.slider__dot { position: relative; width: 24px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.slider__dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: rgba(255,255,255,0.48); transform: translate(-50%, -50%); transition: width 220ms ease, background-color 220ms ease; }
.slider__dot[aria-current="true"]::after { width: 20px; background: #fff; }
.slider__count { position: absolute; right: 0; bottom: 52px; margin: 0; font-family: Georgia, serif; font-size: 11px; white-space: nowrap; }

.date-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #174f52;
  color: #fff;
  text-align: center;
}
.date-band::before, .date-band::after { content: ""; position: absolute; pointer-events: none; }
.date-band::before { z-index: -2; inset: -28px; background-image: linear-gradient(rgba(7,71,65,0.66), rgba(24,57,87,0.76)), url("/assets/photos/comic-wide.jpg"); background-position: center; background-size: cover; filter: blur(20px) saturate(0.76); transform: scale(1.08); }
.date-band::after { z-index: -1; inset: 0; background-color: rgba(10,69,68,0.42); background-image: url("/assets/photos/comic-wide.jpg"); background-position: center 64%; background-repeat: no-repeat; background-size: 110% auto; background-blend-mode: multiply; opacity: 0.78; -webkit-mask-image: linear-gradient(to bottom, transparent 27%, #000 40%, #000 60%, transparent 73%); mask-image: linear-gradient(to bottom, transparent 27%, #000 40%, #000 60%, transparent 73%); }
.date-band > * { position: relative; z-index: 1; }
.date-band__month { margin: 32px 0 2px; color: #f2ce7b; font-family: Georgia, serif; font-size: 14px; }
.date-band__date { display: flex; align-items: center; justify-content: center; gap: 24px; }
.date-band__date strong { font-family: Georgia, serif; font-size: 108px; line-height: 1.05; font-weight: 400; }
.date-band__date span { width: 42px; font-family: Georgia, serif; font-size: 10px; }
.date-band__time { margin: 10px 0 56px; font-family: var(--serif); font-size: 14px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 520px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.35); border-bottom: 1px solid rgba(255,255,255,0.35); background: rgba(4, 35, 45, 0.14); backdrop-filter: blur(2px); }
.countdown div { min-width: 0; padding: 19px 2px 17px; border-right: 1px solid rgba(255,255,255,0.18); }
.countdown div:last-child { border-right: 0; }
.countdown strong, .countdown span { display: block; }
.countdown strong { font-family: Georgia, serif; font-size: 23px; font-weight: 400; }
.countdown span { margin-top: 4px; font-family: var(--serif); font-size: 10px; opacity: 0.7; }
.text-action { margin-top: 30px; padding: 8px 0; border: 0; border-bottom: 1px solid currentColor; border-radius: 0; background: none; cursor: pointer; font-size: 12px; }
.text-action--light { color: #fff; }

.schedule {
  background-image: linear-gradient(rgba(255, 254, 250, 0.84), rgba(255, 254, 250, 0.9)), url("/assets/photos/story-mist.jpg");
  background-position: center;
  background-size: cover;
}
.timeline { margin: 52px 0 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 72px 1fr; min-height: 105px; }
.timeline time { padding-top: 5px; color: var(--red); font-family: Georgia, serif; font-size: 16px; }
.timeline li div { position: relative; padding: 0 0 34px 30px; border-left: 1px solid var(--line); }
.timeline li div::before { content: ""; position: absolute; left: -4px; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.timeline li:last-child div { border-left-color: transparent; }
.timeline h3 { margin: 0; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.timeline p { margin: 9px 0 0; color: #75807b; font-size: 12px; }

.venue { background-image: linear-gradient(rgba(228,239,237,0.88), rgba(228,239,237,0.94)), url("/assets/photos/scenes/bg-lake.jpg"); background-position: center; background-size: cover; }
.venue__photo { height: 66vw; max-height: 560px; overflow: hidden; }
.venue__photo img { height: 100%; object-fit: cover; }
.venue__content { padding-top: 62px; }
.venue__content .section-title { max-width: 500px; }
.venue__room { margin: 18px 0 8px; color: var(--red); font-family: var(--serif); font-size: 16px; }
.venue address { color: #4e5d57; font-family: var(--serif); font-size: 14px; font-style: normal; }
.venue__note { max-width: 480px; margin: 26px 0 0; padding-top: 24px; border-top: 1px solid var(--line); color: #65716c; font-size: 12px; line-height: 1.9; }
.primary-action { width: min(100%, 320px); height: 54px; margin-top: 34px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; background: var(--forest); color: #fff; font-size: 13px; }

.rsvp { background-image: linear-gradient(rgba(247,245,239,0.92), rgba(255,254,250,0.94)), url("/assets/photos/scenes/bg-chapel.jpg"); background-position: center; background-size: cover; }
.rsvp__intro > p { margin: 22px 0 0; color: #5b6762; font-family: var(--serif); font-size: 14px; line-height: 1.9; }
.rsvp-form { margin-top: 54px; padding: 34px 20px; border: 1px solid var(--line); background: var(--paper-bright); }
.field { min-width: 0; margin: 0 0 30px; padding: 0; border: 0; }
.field label:not(.segmented label), .field legend { display: block; margin: 0 0 10px; font-family: var(--serif); font-size: 13px; }
.field label span, .field legend span { color: var(--red); }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #9ba29e; border-radius: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px;
}
.field textarea { resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--red); }
.field__error { display: none; margin: 7px 0 0; color: var(--red); font-size: 11px; }
.field.is-invalid .field__error { display: block; }
.field.is-invalid input { border-bottom-color: var(--red); }
.segmented { display: grid; gap: 8px; }
.segmented--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.segmented label { position: relative; min-width: 0; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label > span { height: 46px; border: 1px solid #aeb5b1; display: flex; align-items: center; justify-content: center; color: #58635e; font-size: 13px; }
.segmented input:checked + span { border-color: var(--forest); background: var(--forest); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.stepper { width: 150px; height: 44px; display: grid; grid-template-columns: 44px 1fr 44px; border: 1px solid #aeb5b1; }
.stepper button { padding: 0; border: 0; background: transparent; cursor: pointer; font-size: 20px; }
.stepper input { min-width: 0; border: 0; border-left: 1px solid #d1d5d2; border-right: 1px solid #d1d5d2; background: transparent; text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.submit-action { width: 100%; height: 54px; padding: 0 18px; border: 0; border-radius: 0; display: flex; justify-content: space-between; align-items: center; background: var(--red); color: #fff; cursor: pointer; }
.submit-action:disabled { opacity: 0.55; cursor: wait; }
.form-status { min-height: 18px; margin: 14px 0 0; color: var(--red); font-size: 12px; text-align: center; }
.rsvp-success { margin-top: 54px; padding: 52px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.rsvp-success > span { width: 42px; height: 42px; margin: 0 auto; border: 1px solid var(--red); border-radius: 50%; display: grid; place-items: center; color: var(--red); }
.rsvp-success h3 { margin: 20px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.rsvp-success p { color: #68736e; font-family: var(--serif); font-size: 13px; }
.rsvp-success button { margin-top: 14px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); background: none; cursor: pointer; font-size: 12px; }

.footer { position: relative; height: 68svh; min-height: 520px; overflow: hidden; color: #fff; }
.footer > img, .footer__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.footer > img { object-fit: cover; object-position: 50% 38%; }
.footer__shade { background: rgba(7, 42, 37, 0.5); }
.footer__content { position: absolute; inset: 0 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.footer__content p { margin: 0; font-family: Georgia, serif; font-size: 9px; }
.footer__content h2 { margin: 24px 0 16px; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.footer__content > span { font-family: var(--serif); font-size: 12px; }

.floating-rsvp { position: fixed; z-index: 20; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 52px; height: 52px; border: 1px solid rgba(255,255,255,0.45); border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 8px 28px rgba(44,28,26,0.24); font-family: var(--serif); font-size: 12px; transform: translateY(90px); transition: transform 350ms ease; }
.floating-rsvp.is-visible { transform: none; }

.lightbox { position: fixed; z-index: 200; inset: 0; padding: 56px 16px 20px; background: rgba(8,14,12,0.94); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { width: auto; max-width: 100%; max-height: calc(100svh - 76px); object-fit: contain; }
.lightbox__close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; font-size: 30px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.is-revealed { opacity: 1; transform: none; }

@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(25px); } }

@media (min-width: 760px) {
  .gate h1 { font-size: 68px; }
  .hero { height: 94svh; }
  .gate__photo, .hero__photo { object-position: center; }
  .hero__content { left: auto; right: 7vw; bottom: 12vh; width: 46%; text-align: right; }
  .hero__meta { justify-content: flex-end; }
  .hero h1 { font-size: 60px; }
  .section-pad { padding: 110px max(7vw, 48px); }
  .section-title { font-size: 46px; }
  .letter__lead { font-size: 36px; }
  .scene { padding: 120px max(5vw, 36px) 132px; }
  .scene__head { margin-bottom: 48px; }
  .scene__head h3 { font-size: 42px; }
  .scene-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
  .scene-photo { padding: 10px; }
  .scene-grid--garden .scene-photo:nth-child(1) { grid-column: 1 / 13; height: 650px; aspect-ratio: auto; }
  .scene-grid--garden .scene-photo:nth-child(2) { grid-column: 1 / 7; }
  .scene-grid--garden .scene-photo:nth-child(3) { grid-column: 7 / 13; }
  .scene-grid--garden .scene-photo:nth-child(4) { grid-column: 2 / 12; height: 560px; aspect-ratio: auto; }
  .scene-grid--chapel { align-items: center; }
  .scene-grid--chapel .scene-photo { grid-column: 1 / 4; justify-self: stretch; width: 100%; height: 640px; aspect-ratio: auto; }
  .scene-grid--chapel .heart-frame { grid-column: 4 / 13; width: min(112%, 920px); }
  .scene-grid--lake .scene-photo:nth-child(1) { grid-column: 1 / 13; height: 650px; aspect-ratio: auto; }
  .scene-grid--lake .scene-photo:nth-child(2) { grid-column: 1 / 8; width: 100%; height: 720px; aspect-ratio: auto; }
  .scene-grid--lake .scene-photo:nth-child(3) { grid-column: 9 / 12; width: 100%; height: 470px; top: 88px; aspect-ratio: auto; }
  .scene-grid--lake .scene-photo:nth-child(4) { grid-column: 1 / 13; height: 650px; margin-top: 102px; aspect-ratio: auto; }
  .scene-grid--mountain .scene-photo:nth-child(1) { grid-column: 1 / 13; height: 650px; aspect-ratio: auto; }
  .scene-grid--mountain .scene-photo:nth-child(2) { grid-column: 1 / 7; }
  .scene-grid--mountain .scene-photo:nth-child(3) { grid-column: 7 / 13; }
  .scene-grid--studio .scene-photo, .scene-grid--studio .scene-photo:first-child { grid-column: span 4; width: 100%; }
  .moments-gallery__head h3 { font-size: 42px; }
  .moments-carousel { width: calc(100% - 10vw); border-width: 12px; }
  .slider__viewport { height: min(78vh, 780px); }
  .slider__controls { left: 4vw; right: 4vw; bottom: 28px; grid-template-columns: 48px 1fr auto 48px; gap: 14px; }
  .slider__arrow { width: 48px; height: 48px; }
  .slider__arrow[data-slider-next] { grid-column: 4; }
  .slider__count { position: static; }
  .date-band::before { inset: 0; background-image: linear-gradient(rgba(7,71,65,0.78), rgba(24,57,87,0.84)), url("/assets/photos/comic-wide.jpg"); filter: none; transform: none; }
  .date-band::after { display: none; }
  .schedule { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1fr; gap: 10vw; }
  .timeline { margin-top: 0; }
  .venue { display: grid; grid-template-columns: 1.12fr 0.88fr; min-height: 720px; }
  .venue__photo { height: auto; max-height: none; }
  .venue__content { align-self: center; }
  .rsvp { display: grid; grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1fr); gap: 10vw; align-items: start; }
  .rsvp-form { margin-top: 0; padding: 44px; }
  .rsvp-success { margin-top: 0; }
  .footer { height: 78svh; }
}

@media (min-width: 1180px) {
  .nav { padding-left: 4vw; padding-right: 4vw; }
  .hero__photo { object-position: center; }
  .section-pad { padding-left: max(calc((100vw - 1160px) / 2), 7vw); padding-right: max(calc((100vw - 1160px) / 2), 7vw); }
  .date-band__date strong { font-size: 126px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
