/* Shared rhythm below the cover; the cover keeps its approved composition. */
:root{--section-space:clamp(56px,6vw,80px);--section-heading-space:clamp(28px,3vw,40px);--page-gutter:clamp(20px,4vw,56px);--sketch-gray:#a7a79e;--selected-surface:#e7e9df}
main>section.section{padding-block:var(--section-space)}
main>section.section>.wrap,main>section.section.wrap{width:calc(100% - 2 * var(--page-gutter));max-width:1180px}
main .section-heading,main .agenda-heading{margin-bottom:var(--section-heading-space)}
main :is(.section-heading,.agenda-heading,.rsvp-intro,.faq-layout) h2{font-size:clamp(2.65rem,4.3vw,4rem);line-height:1.12;letter-spacing:-.045em;font-weight:400}
main :is(.section-heading,.agenda-heading,.rsvp-intro,.faq-layout) .eyebrow{font-size:.875rem;letter-spacing:.075em;margin-bottom:14px;color:var(--muted)}
main :is(.section-heading,.agenda-heading) h2{margin-bottom:0}
.heading-with-sketch{position:relative;padding-right:100px;min-height:94px}
.section-sketch{display:block;width:84px;height:76px;fill:none;stroke:var(--sketch-gray);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.heading-with-sketch>.section-sketch{position:absolute;right:8px;top:4px;transform:rotate(-6deg)}
.heading-with-sketch>.sketch-note{transform:rotate(8deg)}

/* Ivory carries the content; the calendar is the warm-gray interval. */
.travel-section,.rsvp-section,.faq-section{background:var(--ivory)}
.logistics-section{background:var(--background);border-radius:28px}
.travel-grid>.travel-card{background:transparent;border-color:#787f6640;border-radius:18px;box-shadow:none}
.travel-grid>.travel-card>.icon{color:var(--olive);width:30px;height:30px}
.travel-grid>.travel-card h3{font-size:clamp(1.5rem,2.2vw,1.8rem)}
.travel-grid>.travel-card>.text-button{font-size:.875rem;min-height:44px}

/* Keep the refrigerator recognisable with a flatter, softer finish. */
.photo-section .fridge{border-color:#a7aa9b;background:var(--background);background-image:none;box-shadow:3px 4px 0 #c3c3b6,0 12px 24px #34382d0b}
.photo-section .fridge-freezer{background:transparent;border-bottom:3px solid #a7aa9b;box-shadow:none}
.photo-section :is(.fridge-freezer,.fridge-main)::after{border-color:#9fa38f;background:var(--ivory);box-shadow:2px 2px 0 #34382d18}
.photo-section .fridge::before{background:#787f6630;box-shadow:none}
.fridge .photo-tile{box-shadow:0 3px 7px #34382d14}
.fridge .photo-tile.is-caption-open{box-shadow:0 8px 18px #34382d20}
.fridge .photo-tile::before{background-image:none;box-shadow:1px 2px 2px #34382d25}
.photo-section .fridge-note{background-image:none;box-shadow:2px 3px 6px #34382d16}

/* One title, three readable groups, and one primary action. */
.rsvp-section{border:0}
.rsvp-section .rsvp-layout{max-width:1180px;gap:var(--section-heading-space)}
.rsvp-section .rsvp-card{width:100%;max-width:780px;justify-self:center;min-width:0;padding:clamp(22px,4vw,44px);border:1px solid #787f6645;border-radius:22px;background:#faf6ec;box-shadow:none}
.rsvp-group{min-width:0}
.rsvp-group h3{font-family:var(--sans);font-size:1.125rem;line-height:1.4;letter-spacing:-.015em;font-weight:500;margin:0 0 20px}
.rsvp-group .form-grid{gap:20px}
.rsvp-card .attendance{margin:8px 0 30px;gap:12px}
.rsvp-card .attendance legend{font-size:1rem}
.rsvp-card .attendance label{border-radius:10px;min-height:48px;padding:12px 14px;background:transparent}
.rsvp-card .attendance label:has(input:checked){border-color:var(--olive);background:var(--selected-surface)}
#attending-fields>.rsvp-group{border-top:1px solid var(--line);padding-top:28px}
.rsvp-details-group>label{display:block;margin-bottom:20px}
.rsvp-card input:not([type=radio]):not([type=checkbox]),.rsvp-card select,.rsvp-card textarea{background:var(--ivory);border-color:#a38c6a70;border-radius:10px;min-height:48px;font-size:1rem}
.rsvp-card textarea{min-height:100px}
.rsvp-card :is(input,select,textarea):focus-visible{outline:2px solid var(--olive);outline-offset:2px}
.rsvp-card .event-multiselect{margin-block:26px 30px}
.rsvp-card #event-select{background:var(--ivory);border-color:#a38c6a70}
.rsvp-card .event-selected-tag,.rsvp-card #event-select label:has(input:checked){background:var(--selected-surface)}
.rsvp-card .form-submit{background:var(--yellow);border-color:var(--yellow);color:var(--ink);border-radius:12px;min-height:52px;font-size:1rem;margin-top:28px}
.rsvp-card .form-submit:hover{background:#e0c44f;border-color:#e0c44f}
.rsvp-card .form-footnote{font-size:.875rem;line-height:1.5}

/* Compact closing content with two small line drawings. */
main>.extras.section{padding-top:0;gap:28px}
.extras>.extra-block{display:flex;flex-direction:column;align-items:flex-start;position:relative;min-width:0;padding:30px 32px;border:1px solid #787f6640;border-radius:18px;background:transparent}
.extra-block>.section-sketch{position:absolute;right:24px;top:24px;width:68px;height:64px;transform:rotate(-5deg)}
.extra-block>.sketch-camera{transform:rotate(4deg)}
.extras .extra-block>.eyebrow{font-size:.875rem;color:var(--muted);margin-bottom:12px;padding-right:64px}
.extras .extra-block h2{font-size:clamp(2rem,3vw,2.7rem);line-height:1.15;letter-spacing:-.035em;padding-right:68px;margin-bottom:20px;font-weight:400}
.extras .extra-block p{max-width:36ch;font-size:1rem;line-height:1.65;margin-bottom:24px}
.extras .extra-block>.button{margin-top:auto;background:transparent;border:0;border-bottom:1px solid var(--olive);border-radius:0;color:var(--ink);padding:8px 0;min-height:44px;font-size:.875rem}
.extras .extra-block>.button:hover{color:#545d43;border-color:#545d43}
main>.faq-section.section{padding-top:0;padding-bottom:clamp(72px,10vw,140px)}
.faq-section .faq-layout{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:clamp(32px,6vw,80px);border-top:1px solid var(--line);padding-top:var(--section-space)}
.faq-layout>div:first-child h2{margin-bottom:22px}
.faq-layout>div:first-child>p{font-size:1rem;line-height:1.65;max-width:28ch}
.faq-list{border-top:0}
.faq-list summary{padding:22px 0;font-size:1rem;gap:20px}
.faq-list summary>span{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border:1px solid #787f6640;border-radius:50%;font-size:1.125rem;color:var(--olive)}
.faq-list details[open] summary>span{background:var(--selected-surface)}
.faq-list summary:focus-visible{outline:2px solid var(--olive);outline-offset:4px;border-radius:4px}
.faq-list details>p{font-size:1rem;line-height:1.7;color:var(--muted);padding-right:40px;margin-bottom:24px}
@media(min-width:701px){.rsvp-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .faq-section .faq-layout{grid-template-columns:minmax(0,1fr);gap:28px}
 main>.extras.section{grid-template-columns:minmax(0,1fr);gap:20px}
 .extras>.extra-block{padding:26px}
}
@media(max-width:640px){
 .heading-with-sketch{padding-right:70px;min-height:76px}
 .heading-with-sketch>.section-sketch{width:60px;height:58px;right:0;top:14px}
 .logistics-section{border-radius:22px}
 .rsvp-card .form-grid{grid-template-columns:minmax(0,1fr)}
 .rsvp-card .attendance{flex-direction:column}
 .rsvp-card .attendance label{min-width:0;flex:auto}
 .faq-list summary{padding-block:20px}
 .faq-list details>p{padding-right:0}
}
html[lang="zh-Hans"] main :is(.section-heading,.agenda-heading,.rsvp-intro,.faq-layout,.extra-block) h2{letter-spacing:0;line-height:1.25}

.extras>.extra-block:only-child{grid-column:1/-1}

.extras .extra-block .gift-pregon{max-width:68ch;font-size:clamp(1rem,1.6vw,1.25rem);line-height:1.6}
