/* Homepage storefront. The invitation editor and guest artwork are independent. */
.site-elegant .home-page { --home-green: #173c33; --home-coral: #c64937; }
.site-elegant .home-page .container { max-width: 1440px; }
.home-page .home-band { padding-block: 64px; }
.home-page .home-kicker { display: block; color: var(--text-light); font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.home-page h2 { font-size: 44px; line-height: 1.25; font-weight: 600; margin-bottom: 12px; }
.home-page h3 { font-size: 20px; line-height: 1.4; font-weight: 500; }
.home-page p { color: var(--text-light); font-size: 16px; line-height: 1.75; }
.home-page .home-text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--home-green); font-size: 16px; font-weight: 500; padding-block: 10px; }
.home-page .home-text-link:hover { text-decoration: underline; }
.home-page .home-text-link i { font-size: 12px; }
.home-page .home-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.home-page .home-section-head > p { max-width: 320px; }
.home-page .home-section-head h2 { margin-bottom: 10px; }

/* One photographic stage. Managed examples never change the hero composition. */
.home-page .home-hero { position: relative; isolation: isolate; height: min(740px, calc(100svh - 150px)); min-height: 480px; background: #faf3ec; overflow: hidden; display: flex; align-items: center; }
.home-page .home-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.home-page .home-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.home-page .home-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease-in-out; }
.home-page .home-hero-slide.is-active { opacity: 1; }
.home-page .home-hero-controls { position: absolute; bottom: 18px; inset-inline-start: max(6%, calc((100% - 1440px) / 2)); display: flex; align-items: center; padding-inline: 4px; background: #fffffff0; border-radius: 8px; }
.home-page .home-hero-controls[hidden], .home-page .home-motion-toggle[hidden] { display: none; }
.home-page .home-hero-dot, .home-page .home-motion-toggle { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--home-green); cursor: pointer; }
.home-page .home-hero-dot span { display: block; width: 7px; height: 7px; border-radius: 50%; background: #899a91; }
.home-page .home-hero-dot[aria-pressed="true"] span { width: 20px; border-radius: 4px; background: var(--home-green); }
.home-page .home-motion-toggle { font-size: 12px; }
.home-page .home-hero-dot:hover, .home-page .home-motion-toggle:hover { background: #173c330b; }
.home-page .home-hero-copy { max-width: 760px; width: 47%; text-align: right; padding: 32px 0; margin-inline-start: max(6%, calc((100% - 1440px) / 2)); }
.home-page .home-hero .home-kicker { color: var(--home-coral); font-size: 17px; margin-bottom: 22px; }
.home-page .home-hero h1 { font-size: 68px; line-height: 1.13; font-weight: 600; margin: 0 0 26px; }
.home-page .home-hero h1 span { color: var(--home-green); }
.home-page .home-hero-lead { font-size: 20px; line-height: 1.7; margin-bottom: 28px; color: #44423d; }
.home-page .home-hero-offer { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.home-page .home-hero-offer > span { font-size: 16px; line-height: 1.5; }
.home-page .home-hero-offer small { color: #655c56; font-size: 12px; }
.home-page .home-hero-offer strong { font-size: 48px; line-height: 1; font-weight: 500; color: var(--home-green); }
.home-page .home-hero-offer strong span { font-size: 24px; margin-inline-start: 3px; }
.home-page .home-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-elegant .home-page .btn-primary { background: var(--home-coral); color: #fff; }
.site-elegant .home-page .btn-primary:hover { background: #a93929; }
.site-elegant .home-page .home-hero-cta { padding: 16px 28px; min-height: 54px; font-size: 18px; gap: 18px; }
.home-page .home-example-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 0; border: 0; background: none; font: 500 15px var(--font); color: var(--home-green); cursor: pointer; }
.home-page .home-example-link:hover { text-decoration: underline; }
.home-page .home-example-link i { font-size: 11px; }
.home-page .home-hero-note { color: #5b514b; font-size: 13px; margin: 14px 0 0; }
.home-page .home-assurance { background: var(--home-green); padding-block: 22px; }
.home-page .home-assurance .container { display: flex; justify-content: center; align-items: center; gap: 40px; }
.home-page .home-assurance span { color: #fff; font-size: 14px; line-height: 1.5; }
.home-page .home-assurance span + span { border-inline-start: 1px solid #456b5e; padding-inline-start: 40px; }

.home-page #hoopa-events { scroll-margin-top: 100px; }
.home-page .home-event-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-page .home-event { min-width: 0; min-height: 220px; display: flex; flex-direction: column; padding: 28px; border-radius: 6px; background: #e8eee9; color: #244438; transition: box-shadow .2s ease, background-color .2s ease; }
.home-page .home-event[data-event="wedding"] { background: #234c3e; color: #fff; }
.home-page .home-event[data-event="hina"] { background: #f3d8cb; color: #723c2d; }
.home-page .home-event[data-event="bar"] { background: #e3eaf1; color: #344a61; }
.home-page .home-event[data-event="bat"] { background: #f3e1e7; color: #743f51; }
.home-page .home-event[data-event="brit"] { background: #f3efde; color: #5b5938; }
.home-page .home-event[data-event="save-the-date"] { background: #eee5e2; color: #654b4b; }
.home-page .home-event[data-event="video"] { background: #c64937; color: #fff; }
.home-page .home-event-note { font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.home-page .home-event h3 { color: inherit; font-size: 34px; line-height: 1.2; font-weight: 500; margin: 0 0 28px; }
.home-page .home-event-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-page .home-event-price { font-size: 20px; }
.home-page .home-event-arrow { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; transition: transform .2s ease; }
.home-page .home-event-video-label { font-size: 13px; }
.home-page .home-event:hover { box-shadow: inset 0 0 0 2px currentColor; }
.home-page .home-event:hover .home-event-arrow { transform: translateX(-4px); }
.home-page .home-event:focus-visible { outline: 3px solid var(--home-coral); outline-offset: 4px; }

.home-page .home-process { background: var(--home-green); color: #fff; }
.home-page .home-process .home-kicker { color: #eaa08c; }
.home-page .home-process p { color: #dce8e1; }
.home-page .home-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.home-page .home-process-grid article { border-top: 1px solid #517367; padding-top: 24px; }
.home-page .home-step { display: block; font-size: 40px; color: #f3ad99; font-weight: 400; margin-bottom: 24px; line-height: 1; }
.home-page .home-process-grid h3 { margin-bottom: 12px; }
.home-page .home-process-grid p { font-size: 15px; }
.home-page .home-rsvp { background: #edf1e9; }
.site-elegant .home-page .home-rsvp-layout { max-width: 1160px; }
.home-page .home-rsvp-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; grid-template-areas: 'copy visual' 'details visual'; align-items: start; gap: 20px 80px; }
.home-page .home-rsvp-copy { grid-area: copy; align-self: end; }
.home-page .home-rsvp-details { grid-area: details; }
.home-page .home-rsvp-copy h2 { font-size: 44px; }
.home-page .home-rsvp-copy > p { max-width: 460px; }
.home-page .home-rsvp-details ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.home-page .home-rsvp-details li { font-size: 13px; line-height: 1.7; color: #435948; }
.home-page .home-rsvp-offer { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 8px; }
.home-page .home-rsvp-offer strong { font-weight: 500; font-size: 32px; }
.home-page .home-rsvp-offer span { color: var(--text-light); font-size: 14px; }
.home-page .home-rsvp-visual { --live-scale: .692; --live-height: 513px; --live-travel: -387px; grid-area: visual; align-self: center; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; background: transparent; padding: 0; }
.home-page .home-live-phone { position: relative; width: 284px; max-width: 100%; padding: 7px; border-radius: 32px; background: #28332b; box-shadow: 0 18px 32px #173c3317, 0 2px 5px #173c3317; }
.home-page .home-live-phone::after { content: ''; position: absolute; top: 3px; left: 50%; transform: translateX(-50%); width: 38px; height: 3px; border-radius: 2px; background: #829181; }
.home-page .home-live-screen { position: relative; height: var(--live-height); overflow: hidden; border-radius: 26px; background: #eff0e6; }
.home-page .home-live-track { position: absolute; top: 0; left: 0; width: 100%; height: calc(1300px * var(--live-scale)); animation: homeInvitationScroll 24s ease-in-out infinite; animation-play-state: paused; }
.home-page .home-rsvp-visual.is-playing .home-live-track { animation-play-state: running; }
.home-page .home-live-frame { position: absolute; top: 0; left: 0; display: block; width: 390px; height: 1300px; border: 0; transform: scale(var(--live-scale)); transform-origin: top left; pointer-events: none; }
.home-page .home-live-controls { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }
.home-page .home-live-controls .home-motion-toggle { border-inline-start: 1px solid #cad3c7; }
.home-page .home-live-controls .home-text-link { font-size: 14px; }
@keyframes homeInvitationScroll { 0%, 12%, 100% { transform: translateY(0); } 45%, 62% { transform: translateY(var(--live-travel)); } 92% { transform: translateY(0); } }
.home-page .home-fine { font-size: 12px; line-height: 1.7; margin-top: 16px; }
.home-page .home-reviews { background: #f6f6f8; }
.home-page .home-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.home-page .home-reviews-grid figure { display: flex; flex-direction: column; margin: 0; border-top: 1px solid var(--border); padding-top: 24px; }
.home-page blockquote { font-size: 19px; line-height: 1.8; margin: 0 0 24px; }
.home-page figcaption { display: grid; gap: 4px; margin-top: auto; font-size: 14px; }
.home-page figcaption strong { font-weight: 500; }
.home-page figcaption span { color: var(--text-light); font-size: 12px; }
.home-page .home-press { border-bottom: 1px solid var(--border); }
.home-page .home-press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.home-page .home-press-grid img { max-width: 150px; height: 40px; object-fit: contain; object-position: right; margin-bottom: 20px; }
.home-page .home-press-grid h3 { margin-bottom: 12px; }
.home-page .home-press-grid p { font-size: 14px; }
.home-page .home-faq-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.home-page .home-faq-layout h2 { margin-bottom: 24px; }
.home-page .home-faq-list details { border-bottom: 1px solid var(--border); }
.home-page .home-faq-list details:first-child { border-top: 1px solid var(--border); }
.home-page .home-faq-list summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; font-size: 17px; font-weight: 500; }
.home-page .home-faq-list summary::-webkit-details-marker { display: none; }
.home-page .home-faq-list summary i { font-size: 13px; color: var(--text-light); flex-shrink: 0; transition: transform .18s; }
.home-page .home-faq-list [open] summary i { transform: rotate(45deg); }
.home-page .home-faq-list p { font-size: 15px; padding-bottom: 22px; }
.home-page .home-finish { background: #f5a18b; text-align: center; color: #233c31; }
.home-page .home-finish h2 { font-size: 48px; }
.home-page .home-finish p, .home-page .home-finish .home-kicker { color: #443b34; }
.site-elegant .home-page .home-finish .btn { background: var(--home-green); }
.site-elegant .home-page .home-finish .btn:hover { background: #245c4b; }
.home-page .home-finish .btn { margin-top: 24px; gap: 14px; }
.home-page .home-finish-note { display: block; font-size: 13px; color: #443b34; margin-top: 16px; }

.home-page .home-preview-dialog { width: min(860px, calc(100% - 40px)); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; border: 0; border-radius: 8px; background: #fff; color: var(--text); box-shadow: 0 24px 80px #00000025; overflow-y: auto; }
.home-page .home-preview-dialog::backdrop { background: #1d1d1f85; }
.home-page .home-preview-close { position: absolute; top: 12px; left: 12px; z-index: 1; width: 40px; height: 40px; background: #fff; border: 1px solid var(--border); border-radius: 50%; cursor: pointer; color: var(--text); }
.home-page .home-preview-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.home-page .home-preview-art { background: #f1f4ef; padding: 20px; display: grid; place-items: center; border-radius: 4px; }
.home-page .home-preview-art img { display: block; height: min(560px, calc(100dvh - 140px)); width: 100%; object-fit: contain; }
.home-page .home-preview-art video { width: 100%; max-height: min(560px, calc(100dvh - 140px)); }
.home-page .home-preview-art [hidden], .home-page .home-preview-price[hidden] { display: none; }
.home-page .home-preview-copy h2 { font-size: 28px; }
.home-page .home-preview-copy > p { font-size: 15px; }
.home-page .home-preview-copy .home-fine { font-size: 12px; }
.home-page .home-preview-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 22px 0; }
.home-page .home-preview-price strong { font-size: 32px; font-weight: 500; }
.home-page .home-preview-price span { font-size: 13px; color: var(--text-light); }
.home-page .home-preview-copy .btn { width: 100%; gap: 12px; }
.home-page summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }

/* This file is loaded only on the homepage. */
.site-elegant:has(.home-page) .header-main .container { max-width: 1440px; }
.site-elegant:has(.home-page) .header-buy-btn { background: #c64937; }
.site-elegant:has(.home-page) .footer-new { background: #152e27; color: #d2e1d9; border: 0; }
.site-elegant:has(.home-page) .footer-new :is(.footer-description, .footer-links a, .footer-copyright) { color: #d2e1d9; }
.site-elegant:has(.home-page) .footer-new :is(.footer-logo-text, .footer-logo-text span) { color: #fff; }
.site-elegant:has(.home-page) .footer-social a { background: none; color: #e5eee8; border-color: #597166; }
.site-elegant:has(.home-page) .footer-links a:hover { color: #f5a18b; }
.site-elegant:has(.home-page) .footer-copyright { border-color: #405d50; }

@media (max-width: 1200px) and (min-width: 901px) {
    .home-page .home-hero h1 { font-size: 44px; }
    .home-page .home-hero-lead { font-size: 16px; }
    .home-page .home-event { padding: 24px; }
    .home-page .home-event h3 { font-size: 28px; }
}
@media (max-width: 900px) {
    .home-page .home-band { padding-block: 56px; }
    .home-page .home-hero { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 0; height: auto; min-height: 0; background: #fff; }
    .home-page .home-hero-copy { grid-row: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 26px 24px 20px; text-align: center; }
    .home-page .home-hero .home-kicker { font-size: 12px; margin-bottom: 10px; }
    .home-page .home-hero h1 { font-size: 36px; margin-bottom: 12px; }
    .home-page .home-hero-lead { font-size: 14px; line-height: 1.6; max-width: 340px; margin: 0 auto 14px; }
    .home-page .home-hero-offer { justify-content: center; gap: 10px; margin-bottom: 14px; text-align: right; }
    .home-page .home-hero-offer strong { font-size: 30px; }
    .home-page .home-hero-offer strong span { font-size: 17px; }
    .home-page .home-hero-offer > span { font-size: 13px; }
    .home-page .home-hero-actions { justify-content: center; gap: 16px; }
    .home-page .home-example-link { font-size: 13px; gap: 8px; }
    .site-elegant .home-page .home-hero-cta { font-size: 16px; min-height: 46px; padding: 11px 20px; }
    .home-page .home-hero-note { margin-top: 10px; font-size: 11px; }
    .home-page .home-hero-media { position: relative; grid-row: 2; width: 100%; height: clamp(128px, calc(100svh - 470px), 280px); min-height: 0; }
    .home-page .home-hero-media img { object-position: left center; }
    .home-page .home-hero-controls { position: static; grid-row: 3; justify-content: center; min-height: 44px; padding: 0; background: #fff; border-radius: 0; }
    .home-page .home-assurance { padding-block: 16px; }
    .home-page .home-assurance .container { gap: 20px; }
    .home-page .home-assurance span { font-size: 12px; text-align: center; }
    .home-page .home-assurance span + span { padding-inline-start: 20px; }
    .home-page .home-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page .home-process-grid { gap: 24px; }
    .home-page .home-rsvp-layout { gap: 20px 32px; }
    .home-page .home-rsvp-copy h2 { font-size: 34px; }
    .home-page .home-rsvp-visual { padding: 0; }
    .home-page .home-faq-layout { grid-template-columns: 1fr 1.5fr; gap: 30px; }
    .home-page .home-reviews-grid { gap: 20px; }
}
@media (max-width: 600px) {
    .home-page h2 { font-size: 29px; }
    .home-page .home-hero h1 { font-size: 32px; }
    .home-page .home-assurance .container { gap: 12px; padding-inline: 20px; }
    .home-page .home-assurance span { flex: 1; font-size: 11px; line-height: 1.6; }
    .home-page .home-assurance span + span { padding-inline-start: 12px; }
    .home-page .home-section-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 24px; }
    .home-page .home-section-head > p { font-size: 14px; }
    .home-page .home-section-head > p br { display: none; }
    .home-page .home-event-grid { gap: 12px; }
    .home-page .home-event { padding: 18px 16px; min-height: 180px; }
    .home-page .home-event h3 { font-size: 25px; margin-bottom: 18px; }
    .home-page .home-event-note { font-size: 12px; min-height: 38px; margin-bottom: 8px; }
    .home-page .home-event-price { font-size: 17px; }
    .home-page .home-event-video-label { font-size: 12px; }
    .home-page .home-process-grid { grid-template-columns: 1fr; gap: 24px; }
    .home-page .home-process-grid article { position: relative; padding-inline-start: 54px; }
    .home-page .home-step { position: absolute; inset-inline-start: 0; top: 24px; font-size: 27px; }
    .home-page .home-process-grid h3 { font-size: 19px; }
    .home-page .home-faq-layout, .home-page .home-reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .home-page .home-rsvp-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: 'copy' 'visual' 'details'; gap: 28px; text-align: center; }
    .home-page .home-rsvp-copy h2 { font-size: 32px; }
    .home-page .home-rsvp-copy > p { font-size: 15px; max-width: 330px; margin-inline: auto; }
    .home-page .home-rsvp-visual { padding: 0 12px; gap: 10px; }
    .home-page .home-live-phone { width: 272px; }
    .home-page .home-rsvp-details ul { justify-content: center; gap: 5px 16px; }
    .home-page .home-rsvp-details li { font-size: 13px; }
    .home-page .home-rsvp-details .home-fine { max-width: 320px; margin-inline: auto; }
    .home-page .home-rsvp-offer { justify-content: center; margin-top: 18px; }
    .home-page .home-faq-layout h2 br { display: none; }
    .home-page .home-faq-list summary { font-size: 15px; padding-block: 20px; }
    .home-page .home-finish h2 { font-size: 30px; }
    .home-page .home-finish p { font-size: 15px; }
    .home-page .home-preview-dialog { width: calc(100% - 24px); padding: 48px 20px 24px; }
    .home-page .home-preview-layout { grid-template-columns: 1fr; gap: 22px; }
    .home-page .home-preview-art { padding: 16px; }
    .home-page .home-preview-art img { height: 310px; }
    .home-page .home-preview-art video { max-height: 310px; }
    .home-page .home-preview-copy h2 { font-size: 25px; }
    .home-page .home-preview-copy .home-kicker { margin-bottom: 8px; }
    .home-page .home-preview-copy > p { font-size: 14px; }
}
@media (max-width: 900px) and (max-height: 740px) {
    .home-page .home-hero-copy { padding: 18px 20px 16px; }
    .home-page .home-hero h1 { font-size: 28px; margin-bottom: 8px; }
    .home-page .home-hero-lead { font-size: 13px; margin-bottom: 10px; }
    .home-page .home-hero-offer { margin-bottom: 10px; }
    .home-page .home-hero-offer strong { font-size: 28px; }
    .home-page .home-hero-offer > span { font-size: 12px; }
    .home-page .home-hero-note { font-size: 10px; }
}
@media (max-width: 768px) {
    .home-page .home-hero-media { grid-row: 1; }
    .home-page .home-hero-copy { grid-row: 2; }
    .home-page .home-hero-controls { display: none; }
    .site-elegant:has(.home-page) .top-bar { font-size: 11px; padding-block: 6px; }
    .site-elegant:has(.home-page) .header-main { padding-block: 12px; }
}
@media (max-width: 360px) {
    .home-page .home-hero-copy { padding-inline: 16px; }
    .home-page .home-hero h1 { font-size: 26px; }
    .site-elegant .home-page .home-hero-cta { font-size: 14px; padding-inline: 16px; }
    .home-page .home-event { padding: 18px 12px; }
    .home-page .home-event h3 { font-size: 23px; }
    .home-page .home-event-bottom { gap: 6px; }
    .home-page .home-event-arrow { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page .home-hero-slide, .home-page .home-event, .home-page .home-event-arrow, .home-page .home-faq-list summary i { transition: none; }
    .home-page .home-event:hover .home-event-arrow { transform: none; }
    .home-page .home-live-track { animation: none; }
}
