.hero-background { position: absolute; z-index: 1; inset: 1.25rem; overflow: hidden; border: 1px solid rgb(255 224 160 / 65%); border-radius: clamp(3rem, 8vw, 9rem) clamp(3rem, 8vw, 9rem) 2rem 2rem; box-shadow: 0 1.5rem 4rem rgb(55 35 27 / 28%); background: #c6a783; }
html:has(body.wedding-page), body.wedding-page { overflow-x: clip; }
html.lenis.lenis-smooth { scroll-behavior: auto; }
.details-layout .event-list--single { margin-top: 0; }
.wedding-page .countdown-label { margin: .9rem 0 0; padding-top: .8rem; padding-inline: .6rem; border-top: 1px solid var(--w-line); color: #987044; font-family: 'Great Vibes', cursive; font-size: clamp(1.5rem, 3.5vw, 1.9rem); font-weight: 400; line-height: 1.2; letter-spacing: normal; text-align: left; text-transform: none; }
.details-layout .countdown-label + .countdown { margin-top: 0; padding-top: .6rem; border-top: 0; }
.details-layout .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 0; border-top: 1px solid var(--w-line); margin-top: .8rem; }
.details-layout .countdown div { min-width: 0; border-top: 0; }
.details-layout .countdown div:nth-child(3), .details-layout .countdown div:nth-child(4) { border-top: 0; }
.details-layout .countdown div + div { border-left: 1px solid var(--w-line); }
@media (max-width: 640px) {
  .details-layout .countdown { padding: .8rem .2rem; }
  .details-layout .countdown div { padding: .25rem .1rem; }
  .details-layout .countdown strong { font-size: clamp(1.7rem, 8vw, 2.7rem); }
  .details-layout .countdown span { font-size: clamp(.45rem, 1.8vw, .56rem); letter-spacing: .08em; }
}
.hero-content { position: absolute; inset: clamp(4rem, 12svh, 7rem) 2rem 3rem; display: flex; flex-direction: column; align-items: center; width: auto; }
.wedding-page [hidden] { display: none !important; }
.hero-common-story { display: none; }
.story-copy .story-love-note { font-family: 'Dancing Script', cursive; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.65; color: #795323; }
@media (min-width: 900px) {
  .hero-common-story { display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: center; gap: 1.2rem; width: 100%; margin-top: clamp(1.5rem, 4svh, 3rem); padding: 1rem .5rem; color: #fff8e8; text-shadow: 0 2px 6px rgb(65 39 19 / 50%); }
  .hero-story-photos { position: relative; height: clamp(12rem, 28svh, 19rem); }
  .hero-story-photos figure { position: absolute; top: 0; left: 0; width: 65%; margin: 0; padding: .4rem .4rem 1.1rem; background: #fffaf1; box-shadow: 0 .5rem 1.2rem rgb(65 39 19 / 25%); transform: rotate(-8deg); }
  .hero-story-photos figure + figure { top: 22%; left: 35%; transform: rotate(9deg); }
  .hero-story-photos img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
  .hero-story-copy { position: relative; }
  .hero-common-story__title { margin: 0 0 .6rem; font-family: 'Great Vibes', cursive; font-size: clamp(2rem, 3vw, 3rem); }
  .hero-common-story__lead { margin: 0 0 .8rem; font-family: 'Dancing Script', cursive; font-size: clamp(1.25rem, 1.8vw, 2rem); line-height: 1.5; }
  .hero-common-story__message { margin: 0; font-family: 'Dancing Script', cursive; font-size: clamp(1rem, 1.4vw, 1.5rem); line-height: 1.6; text-wrap: balance; }
}
.personal-invitation { container-type: inline-size; width: min(90%, 60rem); max-width: 100%; margin: clamp(1rem, 3vh, 1.75rem) auto 0; padding: .85rem 1.8rem; border: 1px solid rgb(245 223 172 / 70%); border-radius: 18px; color: #fffaf1; background: rgb(42 39 33 / 60%); backdrop-filter: blur(12px); text-align: center; }
.personal-invitation > span { display: block; margin-bottom: .65rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.hero-content .personal-invitation { margin-top: auto; }
.hero-content .scroll-cue { margin-top: auto; padding-top: 1.25rem; }
.hero-content:has(.personal-invitation:not([hidden])) .scroll-cue { margin-top: 0; }
@media (max-width: 640px) {
  .personal-invitation { width: 100%; padding: .75rem .6rem; }
  .hero-content:has(.personal-invitation:not([hidden])) { padding: 0; }
}
.personal-invitation > strong { display: block; max-width: 100%; padding: .1em .15em; color: #ffe3a8; font-family: 'Dancing Script', cursive; font-size: clamp(1.6rem, 5.5cqi, 2.8rem); font-weight: 600; line-height: 1.3; text-shadow: 0 2px 6px rgb(38 25 13 / 45%); overflow-wrap: anywhere; }
.personal-invitation-message { max-width: 100%; margin: .65rem auto 0; font-size: clamp(.5rem, 3.3cqi, 1.35rem); line-height: 1.6; font-style: italic; font-synthesis: style; white-space: nowrap; text-wrap: nowrap; }
.personal-invitation { display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.personal-invitation > span, .personal-invitation > strong, .wedding-page .personal-invitation-message { margin: 0; }
.personal-rsvp-name { color: #795323; font-family: 'Times New Roman', serif; font-size: clamp(1.1rem, 2vw, 1.5rem); overflow-wrap: anywhere; }
.rsvp-card, .rsvp-form-panel, .rsvp-dialog { --w-invite-serif: 'Segoe UI Variable Text', 'Segoe UI', Arial, sans-serif; font-family: var(--w-sans); }
.rsvp-card .personal-rsvp-name { max-width: 32rem; margin: 0 auto 1rem; padding-inline: .5rem; color: #987044; font-family: var(--w-sans); font-size: clamp(.85rem, 1.2vw, 1rem); font-weight: 400; font-style: italic; font-synthesis: style; line-height: 1.65; letter-spacing: .015em; text-align: center; text-wrap: balance; }
.hero-background picture, .hero-background img, .portrait-responsive picture, .portrait-responsive img { display: block; width: 100%; height: 100%; }
.hero-background img { object-fit: cover; object-position: 50% 12%; transform-origin: 50% 0; }
@media (min-width: 641px) {
  .hero-background img { object-position: 25% 50%; }
  .wedding-page .hero-wash { background: linear-gradient(90deg, transparent 52%, rgb(225 174 100 / 24%) 75%), linear-gradient(90deg, transparent 52%, rgb(83 57 38 / 28%) 72%, rgb(83 57 38 / 32%)); }
}
@media (min-width: 900px) {
  .hero-content { inset: clamp(5rem, 16svh, 9rem) 4% 3rem 57%; }
  .wedding-page .hero-content h1 { font-size: clamp(1.6rem, 2.8vw, 3.7rem); gap: .35em; white-space: nowrap; }
  .wedding-page .hero-content h1 span { font-weight: 600; letter-spacing: .025em; filter: drop-shadow(0 2px 2px rgb(65 39 19 / 55%)) drop-shadow(0 5px 10px rgb(65 39 19 / 30%)); }
  .wedding-page .hero-content h1 i { color: #ffe0a0; text-shadow: 0 2px 4px rgb(65 39 19 / 55%); }
  .hero-content .personal-invitation { width: 100%; margin-bottom: clamp(4rem, 11svh, 7rem); }
}
.hero-content .hero-occasion { margin: 0 0 1rem; color: #fff0cb; font-family: 'Dancing Script', cursive; font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 500; line-height: 1.3; text-shadow: 0 2px 12px rgb(42 29 17 / 55%); }
.hero-content h1 { gap: clamp(.75rem, 2vw, 1.8rem); font-size: clamp(2.2rem, 5.2vw, 4.6rem); line-height: 1.15; }
.hero-content h1 span { font-size: 1em; }
.hero-content h1 i { color: #f3cf88; font-size: .65em; }
.hero-content .hero-date { margin: 1.15rem 0 0; color: #fff1d4; font-size: clamp(.8rem, 1.2vw, 1rem); font-weight: 600; letter-spacing: .22em; text-shadow: 0 2px 8px rgb(42 29 17 / 65%); }
@media (max-width: 640px) {
  .hero-content .hero-occasion { margin-bottom: .7rem; font-size: 1.8rem; }
  .hero-content h1 { flex-direction: row; flex-wrap: nowrap; gap: .25rem; font-size: clamp(.9rem, 6vw, 2.4rem); line-height: 1.15; }
  .hero-content h1 i { margin: 0; font-size: .7em; line-height: 1; }
  .hero-content .hero-date { margin-top: .85rem; font-size: .8rem; }
  .personal-invitation-message { max-width: none; font-size: clamp(.5rem, 3.3cqi, 1.35rem); white-space: nowrap; text-wrap: nowrap; }
}
.portrait-responsive { position: absolute; inset: 1.5rem; overflow: hidden; border: 1px solid rgb(255 224 160 / 45%); border-radius: 5rem 1.5rem; }
.portrait-responsive img { object-fit: cover; object-position: 50% 38%; }
.wedding-gallery { padding: clamp(4rem, 7vw, 7rem) 0 0; color: #29465d; background: #fffaf1; }
.wedding-gallery-heading { max-width: 1100px; margin: 0 auto 3.5rem; padding-inline: 1.25rem; text-align: center; }
.wedding-gallery-heading h2 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.1; }
.wedding-gallery-heading h2 em { display: inline-block; margin-top: .3rem; }
.wedding-gallery-heading > p:last-child { color: #71685d; font-size: .85rem; }
.gallery-chapter { padding: clamp(2rem, 5vw, 5rem) max(1.25rem, calc((100vw - 1280px) / 2)); }
.gallery-chapter--sunset { background: linear-gradient(145deg, #fbf1df, #f1dbb8); }
.chapter-heading { display: flex; align-items: center; gap: 1.5rem; max-width: 1280px; margin: 0 auto 2rem; }
.chapter-number { display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border: 1px solid #c79a59; border-radius: 50%; color: #a1753c; font-family: 'Times New Roman', serif; font-size: 1.2rem; }
.chapter-heading .eyebrow { margin-bottom: .4rem; color: #987140; }
.chapter-heading h3 { margin: 0; font-family: 'Times New Roman', serif; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: 400; }
.chapter-heading > p { margin: 0 0 0 auto; color: #7d6b55; font-size: .85rem; line-height: 1.8; }
.wedding-bento { display: grid; grid-template-columns: 1.1fr 1.1fr 1fr 1fr; grid-template-rows: repeat(2, clamp(200px, 23vw, 300px)); grid-template-areas: 'featured featured walk together' 'featured featured embrace lake'; gap: 14px; max-width: 1280px; margin-inline: auto; }
.wedding-photo { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; border-radius: 16px; background: #baa48b; text-decoration: none; isolation: isolate; }
.wedding-photo--featured { grid-area: featured; background: #bfa48c; }
.wedding-photo--walk { grid-area: walk; background: #b4a186; }
.wedding-photo--together { grid-area: together; background: #bfa685; }
.wedding-photo--embrace { grid-area: embrace; background: #b9a089; }
.wedding-photo--lake { grid-area: lake; background: #c4a67d; }
.photo-parallax { position: absolute; inset: -4% 0; display: block; }
.wedding-photo picture { display: block; width: 100%; height: 100%; }
.wedding-photo img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform 350ms ease, opacity 400ms ease; }
.wedding-photo.is-loading:not(.is-loaded) img { opacity: 0; }
.wedding-photo.is-loaded img { opacity: 1; }
.wedding-photo--featured img { object-position: 48% 38%; }
.wedding-photo--walk img { object-position: 50% 57%; }
.wedding-photo--together img { object-position: 54% 42%; }
.wedding-photo--embrace img { object-position: 50% 38%; }
.wedding-photo--lake img { object-position: 50% 58%; }
.photo-open { position: absolute; right: 12px; bottom: 12px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; color: #fffaf1; background: rgb(30 33 33 / 40%); font-size: 1.15rem; pointer-events: none; }
.wedding-photo:focus-visible { outline: 3px solid #29465d; outline-offset: 5px; }
.gallery-chapter--studio { background: #fff; }
.studio-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); max-width: 1050px; margin-inline: auto; }
.studio-photo { width: 100%; }
.wedding-photo--studio { aspect-ratio: 1707 / 2234; background: #e2e0da; border: 1px solid #ece9e3; border-radius: 120px 120px 16px 16px; }
.wedding-photo--studio .photo-parallax { inset: 0; }
.wedding-photo--studio img { object-position: 50% 45%; }
.studio-note { text-align: center; }
.studio-note > span { display: block; margin-bottom: 2rem; color: #b7863f; font-size: 2.2rem; }
.studio-note .eyebrow { color: #987140; }
.studio-note h4 { margin: 1.5rem 0; font-family: 'Times New Roman', serif; font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 400; line-height: 1.3; }
.studio-note h4 em { color: #b7863f; font-family: 'Great Vibes', cursive; font-size: 1.55em; font-style: normal; }
.studio-note p { color: #71685d; font-size: .9rem; line-height: 1.9; }
.studio-note .studio-date { margin-top: 2rem; color: #a1753c; font-size: .75rem; letter-spacing: .18em; }
.studio-note--closing h3 { margin: 1.5rem 0; color: #29465d; font-family: Georgia, serif; font-size: clamp(2rem, 3.5vw, 3.4rem); font-weight: 400; line-height: 1.3; }
.studio-note--closing h3 em { display: block; color: #b7863f; font-family: 'Dancing Script', cursive; font-size: 1.35em; font-style: normal; }
.studio-note--closing .studio-closing-message { margin: 1.75rem 0; font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 2; }
.studio-note--closing .studio-closing-signature { margin: 1.75rem 0 .5rem; color: #a1753c; font-family: 'Dancing Script', cursive; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.5; }
.pswp { --pswp-bg: #1f2428; --pswp-icon-color: #fffaf1; --pswp-icon-color-secondary: #203b50; z-index: 100; }
@media (hover: hover) and (pointer: fine) { .wedding-photo:hover img { transform: scale(1.04); } }
@media (max-width: 900px) { .wedding-bento { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(320px, 60vw, 520px) repeat(2, clamp(200px, 40vw, 320px)); grid-template-areas: 'featured featured' 'walk together' 'embrace lake'; } }
@media (max-width: 640px) {
  .wedding-nav.is-scrolled .wedding-logo { font-size: clamp(1.15rem, 5.2vw, 1.6rem); }
  .hero-background { inset: 4.5rem .75rem 8rem; border-radius: 5rem 5rem 1.5rem 1.5rem; }
  .hero-background img { object-position: 50% 45%; }
  .wedding-hero { min-height: max(100svh, 44rem); }
  .hero-content { inset: 8rem 1.25rem 9rem; width: auto; margin: 0; padding: 0; pointer-events: none; }
  .hero-content a { pointer-events: auto; }
  .chapter-heading { gap: 1rem; }
  .chapter-heading > p { display: none; }
  .chapter-number { width: 40px; height: 40px; }
  .wedding-bento { gap: 10px; }
  .wedding-photo { border-radius: 12px; }
  .wedding-photo--featured img { object-position: 48% 35%; }
  .studio-layout { grid-template-columns: 1fr; gap: 2rem; }
  .wedding-photo--studio { max-width: 440px; margin-inline: auto; border-radius: 90px 90px 12px 12px; }
  .studio-note > span { margin-bottom: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .hero-background img, .wedding-photo img { animation: none !important; transition: none !important; transform: none !important; }
  .photo-parallax { transform: none !important; }
}
.vip-dedication { padding: clamp(2rem, 5vw, 5rem) max(1rem, calc((100vw - 1100px) / 2)); background: #fffaf1; }
.vip-dedication-card { overflow: hidden; border: 1px solid #dec7a2; border-radius: 24px; background: linear-gradient(145deg, #fffdf8, #f8edd9); box-shadow: 0 16px 45px rgb(105 74 35 / 8%); }
.vip-dedication.has-photo .vip-dedication-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; }
.vip-dedication-photo { padding: clamp(1rem, 3vw, 2rem); }
.vip-dedication-photo img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 16px; }
.vip-dedication-copy { min-width: 0; padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem); color: #29465d; text-align: center; }
.wedding-page .vip-dedication-heading { grid-column: 1 / -1; min-width: 0; margin: 0; padding: .75rem clamp(1rem, 3vw, 2rem) 0; color: #a1753c; font-family: 'Dancing Script', cursive; font-size: clamp(.9rem, 1.4vw, 1.2rem); font-weight: 500; line-height: 1.5; letter-spacing: normal; text-transform: none; text-align: left; text-wrap: balance; }
.vip-dedication-message { margin: 0 auto; max-width: 42rem; font-size: 1rem; line-height: 1.9; text-align: center; overflow-wrap: anywhere; }
.vip-dedication-message p, .vip-dedication-message div { margin: .6rem 0; }
.vip-dedication-message ul, .vip-dedication-message ol { text-align: left; padding-left: 1.5rem; }
.wedding-page .vip-dedication-signature { margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid #dec7a2; color: #92672e; font-family: 'Great Vibes', cursive; font-size: 1.8rem; }
@media (max-width: 640px) { .vip-dedication.has-photo .vip-dedication-card { grid-template-columns: minmax(0, 1fr); } .vip-dedication.has-photo .vip-dedication-copy { padding-top: .75rem; } }

.gallery-chapter--album > .chapter-heading { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.gallery-chapter--album { background: radial-gradient(ellipse at 50% 15%, #fffaf0, transparent 65%), #f9f4eb; }
.album-introduction { max-width: 800px; margin: 0 auto clamp(2rem, 4vw, 4rem); text-align: center; }
.album-introduction .eyebrow { color: #956c36; font-size: .75rem; letter-spacing: .17em; }
.album-introduction-script { margin: 1.25rem 0 .5rem; font-family: 'Dancing Script', cursive; font-size: clamp(1.8rem, 4vw, 3rem); color: #a97637; }
.album-introduction h2 { margin: .5rem 0; color: #29465d; font-family: Georgia, serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.2; }
.album-introduction-divider { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 1.25rem 0; color: #b7863f; font-size: 1.5rem; }
.album-introduction-divider::before, .album-introduction-divider::after { content: ''; width: 75px; height: 1px; background: linear-gradient(90deg, transparent, #bda073, transparent); }
.album-introduction-copy { color: #71685d; font-size: clamp(.9rem, 1.4vw, 1rem); line-height: 1.9; }
.album-introduction-detail { margin-top: 1.25rem; color: #987140; font-size: .75rem; line-height: 1.8; }
.album-introduction-detail span { margin-inline: .6rem; }

.vip-dedication-heading p, .vip-dedication-signature p { margin: 0; }
.vip-dedication-heading strong, .vip-dedication-signature strong { font-family: inherit; }
.vip-dedication-heading, .vip-dedication-signature { font-synthesis: style weight; }

