:root {
  color-scheme: light;
  --olive: #4b5320;
  --olive-deep: #2d3518;
  --olive-mid: #77804a;
  --olive-light: #e7eadb;
  --cream: #f8f6ef;
  --cream-deep: #efeee2;
  --ink: #30322c;
  --muted: #77786d;
  --gold: #b89e68;
  --white: #fffefa;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
  --groom-x: 5%;
  --bride-x: 95%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.invitation-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
::selection { background: #dce2ce; color: var(--olive-deep); }

.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-160%); background: var(--olive-deep); color: white; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 10; top: 0; display: flex; min-height: 76px; align-items: center; justify-content: space-between; padding: 0 max(32px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid rgb(73 81 59 / 10%); background: rgb(248 246 239 / 94%); backdrop-filter: blur(14px); }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 49px; height: 49px; object-fit: contain; mix-blend-mode: multiply; }
.wordmark-caption { color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a { color: #55564d; font-size: 12px; letter-spacing: .04em; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--olive-mid); }
.site-nav .nav-calendar { padding: 10px 16px; border: 1px solid rgb(79 92 66 / 35%); border-radius: 2px; color: var(--olive); }
.nav-calendar span { padding-left: 8px; color: var(--gold); }
.menu-toggle { display: none; }

.invitation-cover { position: fixed; z-index: 30; inset: 0; display: grid; overflow: auto; place-items: center; padding: 32px 20px; background: radial-gradient(ellipse at center, #f8f6ef 0%, #efeee2 100%); transition: opacity .65s ease, visibility .65s ease; }
.invitation-cover[hidden] { display: none; }
.cover-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cover-content > .eyebrow { margin-bottom: 12px; }
.cover-content h1 { margin: 0 0 30px; color: var(--olive-deep); font-family: var(--serif); font-size: clamp(48px, 8vw, 76px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.cover-content h1 em { color: var(--olive-mid); font-weight: 400; }
.envelope-button { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.envelope-button:focus-visible { outline: 2px solid var(--olive); outline-offset: 9px; }
.envelope { position: relative; display: block; width: min(74vw, 330px); height: min(47vw, 220px); min-height: 180px; perspective: 700px; filter: drop-shadow(0 16px 21px rgb(45 53 24 / 14%)); }
.envelope-back, .envelope-front, .envelope-flap { position: absolute; inset: 0; }
.envelope-back { border: 1px solid #d9d4c3; background: #e8e3d3; }
.envelope-letter { position: absolute; z-index: 1; right: 8%; bottom: 8%; left: 8%; display: grid; height: 85%; place-items: center; background: #f8f6ef; transition: transform 1.5s cubic-bezier(.2,.7,.2,1); }
.envelope-letter img { width: 78px; height: 78px; object-fit: contain; mix-blend-mode: multiply; }
.envelope-flap { z-index: 3; height: 61%; transform-origin: top center; background: #d7d1bd; clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform 1.25s ease, z-index 0s .3s; }
.envelope-front { z-index: 2; background: #e9e4d6; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.envelope-seal { position: absolute; z-index: 4; top: 50%; left: 50%; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgb(75 83 32 / 22%); border-radius: 50%; background: #f4f1e7; transform: translate(-50%, -10%); transition: opacity .25s ease, transform .35s ease; }
.envelope-seal img { width: 31px; height: 31px; object-fit: contain; mix-blend-mode: multiply; }
.cover-prompt { color: var(--olive); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.cover-prompt span { padding-left: 8px; color: var(--gold); }
.cover-names { margin: 24px 0 0; color: var(--muted); font-family: var(--serif); font-size: 17px; font-style: italic; }
.cover-names span { color: var(--gold); }
.invitation-cover.is-revealing { opacity: 0; visibility: hidden; pointer-events: none; }
.invitation-cover.is-opening .envelope-flap { z-index: 0; transform: rotateX(180deg); }
.invitation-cover.is-opening .envelope-letter { transform: translateY(-42%); }
.invitation-cover.is-opening .envelope-seal { opacity: 0; transform: translate(-50%, -10%) scale(.6); }
.envelope-button:disabled { cursor: default; }
.wordmark-caption { display: flex; flex-direction: column; gap: 3px; }
.wordmark-caption strong { color: var(--olive); font-size: 10px; font-weight: 600; letter-spacing: .04em; }

.hero { position: relative; display: grid; min-height: 660px; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; padding-block: 74px 90px; }
.hero-copy { position: relative; z-index: 2; padding: 24px 0 28px 5%; text-align: center; }
.eyebrow { margin: 0 0 16px; color: var(--olive); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-rule { display: inline-block; width: 23px; height: 1px; margin: 0 9px 3px; background: var(--gold); }
.hero-invite { margin: 24px 0 5px; color: var(--muted); font-size: 13px; letter-spacing: .1em; }
h1, h2, p { margin-top: 0; }
.hero h1 { margin: 0; color: var(--olive-deep); font-family: var(--serif); font-size: clamp(76px, 9vw, 123px); font-weight: 500; letter-spacing: -.055em; line-height: .78; }
.hero h1 .ampersand { display: inline-block; margin: 0 .11em 0 .17em; color: var(--gold); font-size: .58em; font-style: italic; font-weight: 400; vertical-align: .16em; }
.hero-subtitle { margin: 22px 0 20px; color: #65665c; font-family: var(--serif); font-size: clamp(21px, 2.3vw, 27px); line-height: 1.14; }
.hero-date { display: flex; justify-content: center; align-items: center; gap: 11px; margin: 22px 0 24px; color: var(--olive); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.date-leaf { color: var(--gold); font-size: 12px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 25px; padding: 0 19px; border: 1px solid transparent; border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--olive); color: var(--white); }
.button-dark:hover { background: var(--olive-deep); }
.hero-time { margin: 15px 0 0; color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.hero-visual { position: relative; width: min(100%, 465px); justify-self: center; padding: 8px 21px 8px 0; }
.hero-photo-frame { position: relative; overflow: hidden; width: 100%; max-width: 390px; height: clamp(425px, 51vw, 565px); margin-left: auto; border: 1px solid rgb(184 158 104 / 62%); border-radius: 220px 220px 5px 5px; padding: 9px; background: #fdfbf6; }
.hero-photo-frame::before { position: absolute; z-index: 1; inset: 9px; border: 1px solid rgb(255 255 255 / 65%); border-radius: inherit; content: ''; pointer-events: none; }
.hero-photo-frame img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; object-position: center 38%; }
.hero-photo-caption { position: absolute; right: 5px; bottom: 14px; color: var(--muted); font-family: var(--serif); font-size: 15px; font-style: italic; }
.round-stamp { position: absolute; top: 11%; left: -4%; display: grid; width: 104px; aspect-ratio: 1; place-items: center; border: 1px solid rgb(79 92 66 / 18%); border-radius: 50%; background: #e9eadf; color: var(--olive); text-align: center; }
.stamp-type { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--olive); font-family: var(--sans); font-size: 9px; letter-spacing: 1.8px; }
.round-stamp > span { margin-top: 7px; font-family: var(--serif); font-size: 31px; font-weight: 600; line-height: .8; }
.round-stamp small { font-family: var(--sans); font-size: 9px; letter-spacing: .17em; }
.hero-sprig { position: absolute; right: -23px; bottom: 41px; width: 91px; color: var(--olive-mid); transform: rotate(9deg); }
.hero-side-note { position: absolute; right: -21px; top: 46%; color: #989687; font-size: 10px; letter-spacing: .18em; writing-mode: vertical-rl; }

.countdown-section { margin-block: 6px 118px; }
.countdown-card { position: relative; display: grid; min-height: 235px; grid-template-columns: .84fr 1.16fr; align-items: center; gap: 28px; overflow: hidden; padding: 42px 58px; background: var(--olive); color: var(--white); }
.countdown-card::before, .countdown-card::after { position: absolute; width: 255px; height: 255px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 50%; content: ''; }
.countdown-card::before { top: -155px; left: -80px; }
.countdown-card::after { right: 100px; bottom: -225px; width: 320px; height: 320px; }
.countdown-intro, .countdown-clock { position: relative; z-index: 1; }
.eyebrow-light { color: #d9decf; }
.countdown-intro .eyebrow { margin-bottom: 9px; }
.countdown-intro h2, .section-heading h2, .our-day-copy h2, .gallery-heading h2, .final-note h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 60px); font-weight: 500; letter-spacing: -.035em; line-height: .95; }
.countdown-intro h2 em, .section-heading h2 em, .our-day-copy h2 em, .gallery-heading h2 em, .final-note h2 em { color: #d4c498; font-weight: 400; }
.countdown-intro > p:last-child { margin: 15px 0 0; color: #e2e2d9; font-size: 12px; }
.countdown-clock { display: flex; align-items: center; justify-content: flex-end; gap: clamp(9px, 1.8vw, 23px); }
.time-unit { display: flex; min-width: 62px; flex-direction: column; align-items: center; }
.time-unit > span { min-width: 1.5em; color: white; font-family: var(--serif); font-size: clamp(39px, 5vw, 62px); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.05em; line-height: 1; text-align: center; }
.time-unit small { margin-top: 7px; color: #d2d8ca; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.time-divider { padding-bottom: 18px; color: #c5b687; font-family: var(--serif); font-size: 25px; }
.countdown-flower { position: absolute; right: 19px; top: 12px; color: rgb(255 255 255 / 22%); font-size: 22px; }

.meeting-section { padding-bottom: 120px; }
.section-heading { max-width: 480px; margin: 0 auto 35px; text-align: center; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading h2, .our-day-copy h2 { color: var(--olive-deep); font-size: clamp(51px, 6vw, 70px); }
.section-heading > p:last-child { margin: 13px auto 0; color: var(--muted); font-size: 12px; }
.meeting-scene { position: relative; height: 310px; overflow: hidden; border: 1px solid #d9ddc8; background: linear-gradient(180deg, #e9ebdc 0%, #f0f0e4 60%, #d9ddc8 100%); isolation: isolate; }
.scene-sun { position: absolute; top: 28px; left: 50%; width: 100px; height: 100px; transform: translateX(-50%); border-radius: 50%; background: #e9d9a8; opacity: .73; }
.scene-hill { position: absolute; right: -8%; bottom: 52px; left: -8%; height: 145px; border-radius: 50% 50% 0 0 / 78% 78% 0 0; }
.scene-hill-back { bottom: 72px; background: #c4c9a9; transform: rotate(-3deg) scale(1.1); }
.scene-hill-front { bottom: -62px; background: #818a50; transform: rotate(2.2deg) scale(1.1); }
.scene-path { position: absolute; z-index: 1; right: 35%; bottom: -24px; left: 35%; height: 145px; border-radius: 50% 50% 0 0 / 80% 80% 0 0; background: #eee9db; clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); }
.scene-label { position: absolute; z-index: 3; bottom: 17px; color: #f7f4e9; font-size: 10px; font-weight: 600; letter-spacing: .2em; }
.scene-label-left { left: 7%; }
.scene-label-right { right: 7%; }
.walker { position: absolute; z-index: 4; bottom: 48px; height: 152px; background-repeat: no-repeat; background-position: 0 0; transition: left 1s cubic-bezier(.2,.7,.2,1); }
.walker-groom { left: var(--groom-x); width: 75px; background-image: url('assets/walking-groom-sprite.png'); background-size: 600% 100%; animation: groom-walk .72s steps(5) infinite; }
.walker-bride { left: var(--bride-x); width: 130px; background-image: url('assets/walking-bride-sprite.png'); background-size: 1400% 100%; animation: bride-walk 1s steps(13) infinite; }
.scene-heart { position: absolute; z-index: 5; bottom: 156px; left: 50%; color: #a76856; font-size: 19px; opacity: 0; transform: translate(-50%, 10px) scale(.6); transition: opacity .7s ease, transform .7s ease; }
.meeting-scene.is-close .scene-heart { opacity: .95; transform: translate(-50%, 0) scale(1); animation: heart-beat 1.4s ease-in-out infinite; }
.scene-date { position: absolute; z-index: 5; right: 10px; bottom: 3px; left: 10px; margin: 0; color: #515949; font-family: var(--serif); font-size: 16px; font-style: italic; text-align: center; }
.journey-line { height: 1px; margin-top: 25px; background: #dedfce; }
.journey-line span { display: block; width: 54px; height: 1px; margin: auto; background: var(--gold); }

.people-section { padding-bottom: 126px; }
.people-heading { max-width: 520px; margin: 0 auto 34px; text-align: center; }
.people-heading .eyebrow { margin-bottom: 14px; }
.people-heading h2 { margin: 0; color: var(--olive-deep); font-family: var(--serif); font-size: clamp(48px, 5.6vw, 66px); font-weight: 500; letter-spacing: -.035em; line-height: .98; }
.people-heading h2 em { color: var(--olive-mid); font-weight: 400; }
.people-heading > p:last-child { margin: 13px auto 0; color: var(--muted); font-size: 12px; }
.guest-note { max-width: 650px; margin: 0 auto 30px; padding: 14px 20px; border-block: 1px solid #d5d9c8; color: #68695e; font-family: var(--serif); font-size: 17px; font-style: italic; line-height: 1.45; text-align: center; }
.people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.people-card { position: relative; padding: 18px 22px 20px; border: 0; border-top: 1px solid #d5d9c8; background: transparent; text-align: center; }
.people-card::before { position: absolute; top: -1px; left: 50%; width: 34px; height: 2px; background: var(--gold); content: ''; transform: translateX(-50%); }
.people-card h3 { margin: 0 0 10px; color: var(--olive); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.people-list { margin: 0; padding: 0; color: #535649; font-size: 13px; line-height: 1.8; list-style: none; }
.people-card-wide { grid-column: 1 / -1; }
.people-card-wide .people-list-columns { columns: 2; column-gap: 30px; }
.people-list-columns li { break-inside: avoid; }
.sponsor-columns { display: grid; max-width: 720px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-inline: auto; }
.sponsor-group + .sponsor-group { border-left: 1px solid #d5d9c8; }
.sponsor-group h4 { margin: 0 0 8px; color: var(--olive-mid); font-family: var(--serif); font-size: 19px; font-weight: 600; }
.party-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 12px; }
.party-member { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 4px; padding: 13px 8px; border-top: 1px solid #e1e3d8; }
.party-role { color: #858876; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.party-name { color: #535649; font-family: var(--serif); font-size: 17px; line-height: 1.2; }

.gift-note { max-width: 435px; margin: 24px 0 0 46px; padding: 15px 18px; border-left: 2px solid var(--olive-mid); background: #f0f0e5; }
.gift-note h3 { margin: 0 0 5px; color: var(--olive); font-family: var(--serif); font-size: 20px; font-weight: 600; }
.gift-note p { margin: 0; color: #5f6255; font-size: 13px; line-height: 1.7; }

.palette-section { padding-bottom: 112px; }
.palette-heading { margin-bottom: 23px; text-align: center; }
.palette-heading .eyebrow { margin-bottom: 10px; }
.palette-heading h2 { margin: 0; color: var(--olive-deep); font-family: var(--serif); font-size: clamp(42px, 5vw, 58px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.palette-heading h2 em { color: var(--olive-mid); font-weight: 400; }
.palette-swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.palette-swatch { display: grid; gap: 4px; color: #4c4f43; font-size: 12px; font-weight: 600; }
.swatch-color { display: block; height: 78px; margin-bottom: 5px; border: 1px solid rgb(45 53 24 / 10%); }
.swatch-army { background: #4b5320; }
.swatch-olive { background: #2d3518; }
.swatch-sage { background: #77804a; }
.swatch-champagne { background: #b89e68; }
.palette-swatch small { color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .05em; }

.venue-section { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 7vw, 92px); padding-block: 0 128px; }
.venue-photo { position: relative; padding: 12px; border: 1px solid rgb(184 158 104 / 55%); }
.venue-photo::after { position: absolute; z-index: -1; inset: 18px -12px -12px 22px; border: 1px solid #d7dccb; content: ''; }
.venue-photo img { width: 100%; height: clamp(330px, 38vw, 460px); object-fit: cover; object-position: center; }
.venue-copy .eyebrow { margin-bottom: 15px; }
.venue-copy h2, .gifts-heading h2 { margin: 0; color: var(--olive-deep); font-family: var(--serif); font-size: clamp(50px, 6vw, 70px); font-weight: 500; letter-spacing: -.04em; line-height: .96; }
.venue-copy h2 em, .gifts-heading h2 em { color: var(--olive-mid); font-weight: 400; }
.venue-name { margin: 20px 0 0; color: var(--olive); font-family: var(--serif); font-size: 24px; font-weight: 600; }
.venue-address { margin: 0; color: var(--muted); font-size: 12px; }
.venue-schedule { display: grid; gap: 0; max-width: 360px; margin-top: 24px; border-top: 1px solid #d9ddca; }
.venue-schedule > div { display: flex; align-items: baseline; gap: 18px; padding: 13px 0; border-bottom: 1px solid #d9ddca; }
.venue-schedule time { min-width: 76px; color: var(--olive); font-family: var(--serif); font-size: 21px; font-weight: 600; }
.venue-schedule span { color: #5f6255; font-size: 12px; }
.venue-map-link { margin-left: 0; }

.faith-section { padding-bottom: 120px; }
.faith-card { display: grid; max-width: 900px; grid-template-columns: 90px 1fr; align-items: center; gap: clamp(30px, 6vw, 72px); margin-inline: auto; padding: 36px clamp(22px, 6vw, 64px); border-block: 1px solid #d5d9c8; background: rgb(243 242 233 / 55%); }
.faith-strands { width: 76px; height: 126px; justify-self: center; overflow: visible; }
.faith-strands path { stroke-width: 4; stroke-linecap: round; }
.strand-god { stroke: var(--olive); }
.strand-wife { stroke: var(--gold); }
.strand-husband { stroke: #a76856; }
.faith-copy .eyebrow { margin-bottom: 10px; }
.faith-copy h2 { margin: 0; color: var(--olive-deep); font-family: var(--serif); font-size: clamp(43px, 5vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: .96; }
.faith-copy h2 em { color: var(--olive-mid); font-weight: 400; }
.faith-copy blockquote { margin: 17px 0 0; }
.faith-copy blockquote p { margin: 0; color: #55564d; font-family: var(--serif); font-size: clamp(20px, 2.5vw, 26px); font-style: italic; line-height: 1.2; }
.faith-copy cite { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.faith-order { margin: 16px 0 0; color: var(--olive); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.faith-order span { padding-inline: 8px; color: var(--gold); }
.faith-note { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.gifts-section { padding-bottom: 118px; }
.gifts-heading { max-width: 600px; margin: 0 auto 30px; text-align: center; }
.gifts-heading .eyebrow { margin-bottom: 13px; }
.gifts-heading h2 { font-size: clamp(42px, 5vw, 57px); }
.gifts-heading > p:last-child { max-width: 490px; margin: 14px auto 0; color: var(--muted); font-size: 12px; }
.gift-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 690px; margin-inline: auto; }
.gift-option { display: flex; flex-direction: column; align-items: center; padding: 22px; border-top: 1px solid #d5d9c8; background: rgb(243 242 233 / 55%); text-align: center; }
.gift-option h3 { margin: 0 0 12px; color: var(--olive); font-family: var(--serif); font-size: 25px; font-weight: 600; }
.gift-option img { width: min(100%, 220px); aspect-ratio: 1; border: 7px solid #f8f6ef; background: #f8f6ef; }
.gift-option p { margin: 11px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .04em; }

.our-day { display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(50px, 8vw, 105px); padding-block: 10px 138px; }
.our-day-photo { position: relative; width: 100%; max-width: 435px; justify-self: center; padding: 13px; border: 1px solid rgb(184 158 104 / 55%); }
.our-day-photo::after { position: absolute; inset: -12px 23px 20px -12px; z-index: -1; border: 1px solid #d7dccb; content: ''; }
.our-day-photo img { width: 100%; height: clamp(380px, 43vw, 520px); object-fit: cover; object-position: 50% 38%; }
.photo-note { position: absolute; right: 3px; bottom: -20px; padding: 8px 13px; background: var(--cream); color: var(--muted); font-family: var(--serif); font-size: 16px; font-style: italic; }
.our-day-copy { padding-block: 10px; }
.our-day-copy .eyebrow { margin-bottom: 17px; }
.day-intro { max-width: 390px; margin: 18px 0 24px; color: #717267; font-size: 13px; line-height: 1.8; }
.event-detail { display: flex; align-items: flex-start; gap: 15px; margin: 18px 0; }
.detail-icon { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; border: 1px solid #c9cebd; border-radius: 50%; color: var(--olive); font-size: 13px; }
.detail-icon-pin { font-size: 19px; }
.detail-label { color: #929183; font-size: 10px; font-weight: 600; letter-spacing: .17em; }
.event-detail p { margin: 3px 0 0; color: #68695e; font-size: 12px; line-height: 1.65; }
.event-detail strong { color: var(--olive-deep); font-size: 13px; font-weight: 600; }
.text-link { display: inline-flex; gap: 15px; margin: 10px 0 0 46px; padding-bottom: 4px; border-bottom: 1px solid #b8c0aa; color: var(--olive); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.text-link span { color: var(--gold); }

.gallery-section { padding-block: 0 130px; }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 27px; }
.gallery-heading .eyebrow { margin-bottom: 13px; }
.gallery-heading h2 { color: var(--olive-deep); font-size: clamp(46px, 5vw, 61px); }
.gallery-heading h2 em { color: var(--olive-mid); }
.gallery-heading > p { max-width: 225px; margin: 0 0 5px; color: var(--muted); font-size: 12px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 185px; gap: 13px; }
.gallery-photo { position: relative; display: block; min-width: 0; overflow: hidden; padding: 0; border: 0; background: #e8e5d8; cursor: zoom-in; text-align: left; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 34%; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.gallery-photo.photo-uncropped img { object-fit: contain; object-position: center; background: #f4f1e7; }
.gallery-photo.photo-uncropped:hover img, .gallery-photo.photo-uncropped:focus-visible img { transform: none; }
.gallery-photo:hover img, .gallery-photo:focus-visible img { transform: scale(1.045); filter: saturate(.88); }
.gallery-photo::after { position: absolute; inset: 35% 0 0; background: linear-gradient(180deg, transparent, rgb(31 39 29 / 67%)); content: ''; opacity: .82; transition: opacity .2s ease; }
.gallery-photo:hover::after { opacity: 1; }
.gallery-photo span { position: absolute; z-index: 1; right: 14px; bottom: 12px; left: 14px; color: white; font-family: var(--serif); font-size: 18px; font-style: italic; }
.photo-tall { grid-row: span 2; }
.photo-wide { grid-column: span 2; }
.photo-wide img { object-position: center 52%; }

.final-note { position: relative; display: flex; min-height: 405px; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 65px 25px; background: var(--olive-deep); color: var(--white); text-align: center; }
.final-note::before, .final-note::after { position: absolute; width: 265px; height: 265px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 50%; content: ''; }
.final-note::before { top: -205px; left: -34px; }
.final-note::after { right: -76px; bottom: -215px; width: 340px; height: 340px; }
.final-note .eyebrow, .final-note h2, .final-note > p, .final-note .button, .final-flower, .final-names { position: relative; z-index: 1; }
.final-note .eyebrow { margin-bottom: 13px; color: #d5d9cb; }
.final-note h2 { color: var(--white); font-size: clamp(48px, 5.5vw, 66px); }
.final-note h2 em { color: #d3c393; }
.final-note > p:not(.eyebrow) { margin: 16px 0 21px; color: #dfe2d7; font-size: 12px; letter-spacing: .1em; }
.button-light { border-color: rgb(255 255 255 / 52%); color: white; }
.button-light:hover { background: white; color: var(--olive-deep); }
.final-flower { position: absolute; top: 29px; right: 12%; color: #c4b27f; font-size: 26px; }
.final-names { margin-top: 26px; color: #d5d9cb; font-family: var(--serif); font-size: 19px; font-style: italic; }
.final-names span { padding-inline: 5px; color: #cbb77b; }
.site-footer { display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding-inline: max(32px, calc((100vw - 1160px) / 2)); color: #838477; font-size: 9px; letter-spacing: .14em; }
.site-footer i { color: var(--gold); font-family: var(--serif); font-size: 13px; }
.site-footer a { color: var(--olive); text-decoration: none; }

.lightbox { position: fixed; inset: 0; width: min(92vw, 920px); max-width: none; max-height: 92dvh; overflow: visible; padding: 24px; border: 1px solid rgb(255 255 255 / 25%); background: #22261f; color: white; }
.lightbox::backdrop { background: rgb(22 26 20 / 83%); backdrop-filter: blur(5px); }
.lightbox figure { display: flex; height: min(82dvh, 840px); flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 0; }
.lightbox figure img { max-width: calc(100% - 88px); max-height: calc(100% - 32px); object-fit: contain; }
.lightbox figcaption { color: #ebe8df; font-family: var(--serif); font-size: 19px; font-style: italic; }
.lightbox-close, .lightbox-arrow { position: absolute; z-index: 1; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgb(255 255 255 / 35%); border-radius: 50%; background: rgb(24 29 23 / 60%); color: white; cursor: pointer; }
.lightbox-close { top: -16px; right: -16px; font-size: 26px; }
.lightbox-arrow { top: 50%; font-family: var(--serif); font-size: 30px; transform: translateY(-50%); }
.lightbox-prev { left: -18px; }
.lightbox-next { right: -18px; }

@keyframes groom-walk { to { background-position: 100% 0; } }
@keyframes bride-walk { to { background-position: 100% 0; } }
@keyframes heart-beat { 50% { transform: translate(-50%, 0) scale(1.13); } }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1440px) {
  .hero h1 { font-size: 128px; }
}

@media (max-width: 1100px) {
  .site-nav { gap: 16px; }
}

@media (max-width: 900px) {
  .section-shell { width: min(100% - 48px, 720px); }
  .menu-toggle { display: flex; width: 39px; height: 39px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dce0d3; background: transparent; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--olive); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 9px 24px 18px; border-bottom: 1px solid #dfe2d7; background: var(--cream); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #e9e7de; font-size: 12px; }
  .site-nav .nav-calendar { display: inline-flex; align-self: flex-start; gap: 8px; margin-top: 12px; padding: 10px 15px; border: 1px solid #bbc4ad; }
  .hero { min-height: 600px; grid-template-columns: 1fr .85fr; gap: 20px; padding-block: 52px 65px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(68px, 10vw, 96px); }
  .hero-photo-frame { height: 440px; }
  .countdown-card { padding: 36px 35px; }
  .countdown-clock { gap: 9px; }
  .time-unit { min-width: 49px; }
  .time-unit > span { font-size: 43px; }
  .our-day { gap: 48px; }
  .photo-grid { grid-auto-rows: 160px; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 67px; }
  body { font-size: 15px; }
  .section-shell { width: calc(100% - 36px); }
  .site-header { min-height: 65px; padding-inline: 18px; }
  .brand-logo { width: 43px; height: 43px; }
  .wordmark-caption { font-size: 9px; }
  .menu-toggle { display: flex; width: 39px; height: 39px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dce0d3; background: transparent; }
  .menu-toggle span { width: 16px; height: 1px; background: var(--olive); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 9px 18px 18px; border-bottom: 1px solid #dfe2d7; background: var(--cream); }
  .site-nav.is-open { display: flex; flex-direction: column; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid #e9e7de; font-size: 12px; }
  .site-nav .nav-calendar { display: inline-flex; align-self: flex-start; gap: 8px; margin-top: 12px; padding: 10px 15px; border: 1px solid #bbc4ad; }
  .hero { display: flex; flex-direction: column; gap: 35px; padding-block: 46px 67px; }
  .hero-copy { order: 1; width: 100%; padding: 0; }
  .hero-visual { order: 2; width: min(100% - 20px, 375px); padding: 0 14px 12px 0; }
  .hero h1 { font-size: clamp(73px, 17vw, 106px); }
  .hero-invite { margin-top: 20px; font-size: 12px; }
  .hero-subtitle { margin-top: 18px; font-size: 22px; }
  .hero-date { margin-block: 17px 19px; font-size: 11px; }
  .hero-photo-frame { max-width: none; height: clamp(410px, 130vw, 560px); }
  .round-stamp { left: -13px; width: 87px; }
  .round-stamp > span { font-size: 26px; }
  .hero-sprig { right: -24px; bottom: 24px; width: 73px; }
  .hero-side-note { right: -16px; }
  .countdown-section { margin-block: 0 91px; }
  .countdown-card { display: flex; min-height: 0; flex-direction: column; align-items: flex-start; gap: 24px; padding: 31px 23px 32px; }
  .countdown-intro h2 { font-size: 49px; }
  .countdown-intro > p:last-child { font-size: 12px; }
  .countdown-clock { width: 100%; justify-content: space-between; gap: 3px; }
  .time-unit { min-width: 0; }
  .time-unit > span { font-size: clamp(35px, 10vw, 49px); }
  .time-unit small { font-size: 9px; letter-spacing: .11em; }
  .time-divider { padding-bottom: 18px; font-size: 21px; }
  .meeting-section { padding-bottom: 82px; }
  .section-heading { margin-bottom: 26px; }
  .section-heading .eyebrow { font-size: 10px; letter-spacing: .15em; }
  .section-heading h2, .our-day-copy h2 { font-size: 57px; }
  .meeting-scene { height: 260px; }
  .walker { bottom: 44px; height: 132px; }
  .walker-groom { width: 65px; }
  .walker-bride { width: 112px; }
  .scene-date { bottom: 1px; font-size: 14px; }
  .scene-heart { bottom: 142px; }
  .scene-path { right: 27%; left: 27%; }
  .people-section { padding-bottom: 91px; }
  .people-heading { margin-bottom: 25px; }
  .people-heading .eyebrow { font-size: 10px; letter-spacing: .15em; }
  .people-heading h2 { font-size: 54px; }
  .people-grid { grid-template-columns: 1fr; gap: 10px; }
  .people-card { padding: 21px 20px; }
  .people-card h3 { font-size: 22px; }
  .people-card-wide .people-list-columns { columns: 2; column-gap: 18px; }
  .party-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sponsor-columns { gap: 12px; }
  .sponsor-group + .sponsor-group { padding-left: 8px; }
  .gift-note { margin-left: 0; padding: 14px 16px; }
  .palette-section { padding-bottom: 85px; }
  .palette-heading h2 { font-size: 48px; }
  .palette-swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
  .swatch-color { height: 68px; }
  .palette-swatch { font-size: 12px; }
  .our-day { grid-template-columns: 1fr; gap: 44px; padding-block: 8px 93px; }
  .our-day-photo { width: min(100% - 12px, 410px); }
  .our-day-photo img { height: clamp(360px, 112vw, 500px); }
  .our-day-copy { padding-inline: 6px; }
  .day-intro { font-size: 13px; }
  .venue-section { grid-template-columns: 1fr; gap: 34px; padding-bottom: 90px; }
  .venue-photo { width: calc(100% - 12px); }
  .venue-photo img { height: clamp(280px, 84vw, 410px); }
  .venue-copy { padding-inline: 6px; }
  .venue-copy h2 { font-size: 57px; }
  .faith-section { padding-bottom: 90px; }
  .faith-card { grid-template-columns: 1fr; gap: 19px; padding: 29px 22px; text-align: center; }
  .faith-strands { width: 58px; height: 95px; }
  .faith-copy h2 { font-size: 49px; }
  .faith-copy blockquote p { font-size: 22px; }
  .gifts-section { padding-bottom: 85px; }
  .gifts-heading h2 { font-size: 46px; }
  .gift-options { gap: 10px; }
  .gift-option { padding: 16px 10px; }
  .gift-option img { width: min(100%, 180px); }
  .gallery-section { padding-bottom: 85px; }
  .gallery-heading { display: block; margin-bottom: 19px; }
  .gallery-heading h2 { font-size: 48px; }
  .gallery-heading > p { margin-top: 8px; font-size: 12px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 176px; gap: 9px; }
  .gallery-photo span { right: 9px; bottom: 8px; left: 9px; font-size: 16px; }
  .final-note { width: 100%; min-height: 375px; }
  .final-note h2 { font-size: 57px; }
  .site-footer { min-height: 65px; flex-wrap: wrap; gap: 8px 18px; padding: 16px 18px; font-size: 9px; letter-spacing: .08em; }
  .lightbox { width: calc(100vw - 34px); padding: 14px; }
  .lightbox figure img { max-width: calc(100% - 46px); }
  .lightbox-arrow { width: 32px; height: 32px; }
  .lightbox-prev { left: -8px; }
  .lightbox-next { right: -8px; }
  .lightbox-close { top: -12px; right: -9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
