:root {
  --ink: #132c38;
  --ink-2: #1e3b47;
  --cream: #f7f1e7;
  --paper: #fffdf8;
  --sand: #d8b98b;
  --gold: #bb8c4b;
  --rust: #a94f35;
  --sage: #6c8076;
  --line: rgba(19, 44, 56, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Assistant", Arial, sans-serif;
  --page: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 18px; line-height: 1.55; overflow-x: hidden; }
body.menu-open, body.lightbox-open { overflow: hidden; }
body.music-gate-open { overflow: hidden; }
img { display: block; width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 201; width: 100%; height: 3px; }
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--sand); }

.music-gate { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; color: white; background: var(--ink); opacity: 0; transition: opacity .55s ease; }
.music-gate[hidden] { display: none; }
.music-gate.visible { opacity: 1; }
.music-gate > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.music-gate-shade { position: absolute; inset: 0; background: rgba(8,28,37,.68); }
.music-gate-content { position: relative; z-index: 1; width: min(620px, calc(100vw - 40px)); text-align: center; }
.music-gate-content > p { margin: 0 0 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .32em; }
.music-gate-content h2 { margin: 0 0 42px; font: 400 clamp(60px, 9vw, 112px)/.78 var(--serif); letter-spacing: -.05em; }
.music-gate-content h2 em { display: block; margin-left: .45em; color: var(--sand); font-weight: 400; }
.music-gate-logo { width: min(450px, 78vw); height: auto; margin: 12px auto 46px; }
.music-gate-content button { display: inline-flex; align-items: center; gap: 24px; padding: 14px 15px 14px 24px; color: var(--ink); background: var(--sand); border: 0; cursor: pointer; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.music-gate-content button i { display: grid; place-items: center; width: 38px; height: 38px; color: var(--sand); background: var(--ink); border-radius: 50%; font-style: normal; font-size: 15px; }
.music-gate-content small { display: block; margin-top: 18px; color: rgba(255,255,255,.65); font: italic 16px var(--serif); }

.site-header { position: fixed; z-index: 200; top: 0; left: 0; width: 100%; height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 0 4.5vw; color: white; transition: background .4s, height .4s, color .4s, box-shadow .4s; }
.site-header.scrolled { height: 72px; color: var(--ink); background: rgba(247, 241, 231, .94); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(19,44,56,.08); }
.monogram { text-decoration: none; display: flex; align-items: center; gap: 13px; }
.monogram img { width: 98px; height: auto; transition: filter .4s; }
.site-header.scrolled .monogram img { filter: brightness(0) saturate(100%) invert(15%) sepia(19%) saturate(1050%) hue-rotate(151deg) brightness(91%) contrast(91%); }
.monogram small { font-size: 10px; letter-spacing: .2em; padding-left: 13px; border-left: 1px solid currentColor; }
.site-header nav { display: flex; gap: clamp(18px, 3vw, 46px); align-items: center; }
.site-header nav a { position: relative; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; text-decoration: none; }
.site-header nav a:not(.nav-rsvp)::after { content: ""; position: absolute; bottom: -8px; left: 0; width: 0; height: 1px; background: currentColor; transition: width .25s; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { width: 100%; }
.nav-rsvp { border: 1px solid currentColor; padding: 11px 18px; }
.menu-toggle { display: none; }

.music-button { position: fixed; z-index: 190; right: 26px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 11px 15px; color: var(--paper); background: rgba(19,44,56,.88); border: 1px solid rgba(255,255,255,.25); border-radius: 40px; cursor: pointer; backdrop-filter: blur(10px); box-shadow: 0 8px 30px rgba(19,44,56,.2); }
.music-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.music-icon { width: 21px; height: 15px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.music-icon i { display: block; width: 2px; height: 5px; background: var(--sand); border-radius: 2px; }
.music-button[aria-pressed="true"] .music-icon i { animation: equalize .7s ease-in-out infinite alternate; }
.music-button[aria-pressed="true"] .music-icon i:nth-child(2) { animation-delay: -.3s; }
.music-button[aria-pressed="true"] .music-icon i:nth-child(3) { animation-delay: -.5s; }
@keyframes equalize { to { height: 15px; } }

.hero { position: relative; height: max(740px, 100svh); min-height: 680px; display: flex; align-items: center; color: white; overflow: hidden; background: var(--ink); }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 48%; scale: 1.025; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,27,35,.78) 0%, rgba(9,27,35,.48) 44%, rgba(9,27,35,.05) 78%), linear-gradient(0deg, rgba(9,27,35,.4), transparent 40%); }
.hero-grain { position: absolute; inset: 0; opacity: .12; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.65) .45px, transparent .55px), radial-gradient(rgba(0,0,0,.5) .45px, transparent .55px); background-position: 0 0, 3px 3px; background-size: 6px 6px; mix-blend-mode: soft-light; }
.hero-content { position: relative; z-index: 2; width: var(--page); margin: 0 auto; padding-top: 70px; }
.eyebrow { margin: 0 0 26px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .35em; }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .78; letter-spacing: -.045em; }
.hero h1 span { display: block; font-size: clamp(58px, 8vw, 122px); }
.hero h1 em { display: block; margin-left: clamp(80px, 13vw, 220px); color: var(--sand); font-size: clamp(78px, 11vw, 164px); font-weight: 400; }
.hero-intro { margin: 38px 0 38px; font-family: var(--serif); font-size: clamp(21px, 2vw, 29px); line-height: 1.25; font-style: italic; }
.hero-cta { display: inline-flex; align-items: center; gap: 26px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.hero-cta i { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font: normal 18px/1 var(--sans); transition: background .3s, color .3s; }
.hero-cta:hover i { background: white; color: var(--ink); }
.hero-date { position: absolute; z-index: 2; right: 4.5vw; top: 50%; display: grid; grid-template-columns: auto 52px auto; align-items: center; gap: 12px; transform: rotate(90deg) translateX(50%); transform-origin: right center; font-size: 13px; letter-spacing: .12em; }
.hero-date i { height: 1px; background: rgba(255,255,255,.65); }
.hero-date small { grid-column: 1 / -1; text-align: center; font-size: 9px; letter-spacing: .35em; }
.hero-caption { position: absolute; z-index: 2; right: 4.5vw; bottom: 36px; margin: 0; font: italic 17px var(--serif); }

.section-kicker { display: flex; align-items: center; gap: 15px; margin-bottom: 35px; color: var(--rust); }
.section-kicker span, .section-kicker p { margin: 0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.section-kicker i { width: 38px; height: 1px; background: currentColor; }
.section-kicker.light { color: var(--sand); }

.invitation { position: relative; padding: 150px 0 170px; overflow: hidden; }
.invitation-mark { position: absolute; top: 45px; right: 2vw; color: rgba(19,44,56,.035); font: 500 min(40vw, 610px)/.8 var(--serif); }
.invitation > .section-kicker { width: var(--page); margin-left: auto; margin-right: auto; }
.invitation-layout { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: 1fr .78fr; gap: 11vw; align-items: center; }
.hebrew { margin: 0 0 14px; color: var(--gold); font-size: 17px; letter-spacing: .28em; }
.invitation h2, .section-heading h2, .practical h2, .rsvp h2 { margin: 0; font: 500 clamp(52px, 6vw, 86px)/.88 var(--serif); letter-spacing: -.04em; }
.invitation h2 em, .section-heading h2 em, .practical h2 em, .rsvp h2 em { font-weight: 400; color: var(--rust); }
.invitation .lead { max-width: 590px; margin: 45px 0 36px; color: #334b53; font: 400 clamp(22px, 2vw, 29px)/1.5 var(--serif); }
.signature { display: flex; align-items: center; gap: 22px; }
.signature span { width: 60px; height: 1px; background: var(--gold); }
.signature p { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1.7; }
.invitation-photo { margin: 0; position: relative; }
.photo-frame { position: relative; padding: 18px 18px 0 0; }
.photo-frame::before { content: ""; position: absolute; top: 0; right: 0; width: calc(100% - 18px); height: calc(100% - 18px); border: 1px solid var(--gold); }
.photo-frame img { position: relative; aspect-ratio: .69; object-fit: cover; object-position: center; filter: saturate(.82); }
.invitation-photo figcaption { display: flex; align-items: center; gap: 12px; width: 80%; margin: 18px auto 0; color: #617079; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; }
.invitation-photo figcaption i { flex: 1; height: 1px; background: var(--line); }

.quote-band { position: relative; min-height: 690px; display: grid; place-items: center; color: white; overflow: hidden; }
.quote-band > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 46%; }
.quote-overlay { position: absolute; inset: 0; background: rgba(12,35,45,.48); }
.quote-band blockquote { position: relative; z-index: 1; width: var(--page); margin: 0; text-align: center; }
.quote-band blockquote > span { display: block; height: 40px; color: var(--sand); font: 100px/1 var(--serif); }
.quote-band blockquote p { margin: 28px 0 0; font: 400 clamp(36px, 5vw, 70px)/1.1 var(--serif); letter-spacing: -.025em; }
.quote-band blockquote em { color: var(--sand); }

.programme { padding: 145px 0 180px; color: var(--paper); background: var(--ink); }
.section-heading { width: var(--page); margin: 0 auto 120px; }
.section-heading h2 em { color: var(--sand); }
.event { width: var(--page); margin: 0 auto 170px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(60px, 9vw, 145px); align-items: center; }
.event:last-child { margin-bottom: 0; }
.event-visual { position: relative; }
.event-visual > img { height: min(720px, 70vw); max-height: 720px; object-fit: cover; filter: saturate(.76); }
.event-orient .event-visual img { object-position: center 34%; }
.event-party .event-visual img { object-position: center 42%; }
.event-shabbat .event-visual img { object-position: center 45%; }
.event-number { position: absolute; margin: 0; right: -42px; bottom: -60px; color: transparent; -webkit-text-stroke: 1px rgba(216,185,139,.5); font: 500 140px/.8 var(--serif); }
.event:nth-of-type(odd) .event-number { right: auto; left: -42px; }
.event-date { margin: 0 0 25px; color: var(--sand); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; }
.event-date span { color: white; }
.event h3 { margin: 0 0 35px; font: 500 clamp(52px, 6vw, 83px)/.86 var(--serif); letter-spacing: -.035em; }
.event h3 em { color: var(--sand); font-weight: 400; }
.event-copy > p:not(.event-date,.event-callout) { color: rgba(255,255,255,.7); font-size: 17px; font-weight: 300; line-height: 1.7; }
.event-place { display: flex; gap: 17px; align-items: center; margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.14); }
.event-place > span { color: var(--sand); font-size: 26px; }
.event-place p { margin: 0; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.event-place small { color: rgba(255,255,255,.5); font-size: 10px; font-weight: 400; }
.event-visual.duo { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 13px; }
.event-visual.duo img { height: 660px; }
.event-visual.duo img:first-child { height: 540px; margin-bottom: 50px; filter: grayscale(1); }
.event-callout { margin-top: 34px; color: var(--sand); font: italic 27px var(--serif); }
.event-note { display: grid; grid-template-columns: 75px 1fr; gap: 20px; margin-top: 35px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
.event-note b { color: var(--sand); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.event-note p { margin: 0; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.6; }

.gallery { padding: 140px 0; background: var(--paper); }
.gallery-heading { width: var(--page); margin: 0 auto 70px; }
.gallery-heading > p { margin: 0 0 5px; color: var(--rust); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.gallery-heading h2 { margin: 0; font: 500 clamp(52px, 6vw, 84px)/1 var(--serif); }
.gallery-heading h2 em { color: var(--rust); font-weight: 400; }
.gallery-grid { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 13px; }
.gallery-item { position: relative; padding: 0; overflow: hidden; border: 0; background: var(--ink); cursor: zoom-in; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .7s, opacity .7s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.045); opacity: .88; }
.gallery-item::after { content: "+"; position: absolute; right: 15px; bottom: 15px; display: grid; place-items: center; width: 34px; height: 34px; color: white; background: rgba(19,44,56,.55); border: 1px solid rgba(255,255,255,.55); border-radius: 50%; opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.lightbox { width: min(92vw, 1200px); max-width: none; height: 90vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(7,20,27,.94); backdrop-filter: blur(8px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: fixed; z-index: 1; top: 22px; right: 28px; width: 48px; height: 48px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; font-size: 30px; cursor: pointer; }

.practical { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 900px; background: var(--cream); }
.practical-image { position: relative; min-height: 750px; overflow: hidden; }
.practical-image img { height: 100%; object-fit: cover; object-position: center; filter: saturate(.75); }
.practical-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,29,39,.45), transparent 55%); }
.practical-image > p { position: absolute; z-index: 1; left: 9%; bottom: 7%; margin: 0; color: white; font: 500 clamp(70px, 8vw, 120px)/.65 var(--serif); letter-spacing: -.05em; }
.practical-image > p em { margin-left: 1.1em; color: var(--sand); font-size: .5em; font-weight: 400; }
.practical-content { padding: 130px clamp(45px, 7vw, 120px); align-self: center; }
.practical h2 em { color: var(--rust); }
.info-list { margin-top: 65px; }
.info-list article { display: grid; grid-template-columns: 45px 1fr; gap: 20px; padding: 27px 0; border-top: 1px solid var(--line); }
.info-list article:last-child { border-bottom: 1px solid var(--line); }
.info-index { padding-top: 6px; color: var(--gold); font: italic 15px var(--serif); }
.info-list h3 { margin: 0 0 7px; font: 600 25px var(--serif); }
.info-list p { max-width: 520px; margin: 0; color: #56686e; font-size: 15px; line-height: 1.65; }
.practical-note { margin: 30px 0 0 65px; color: var(--rust); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }

.rsvp { position: relative; padding: 150px max(24px, calc((100vw - 1180px) / 2)) 160px; display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 8vw, 130px); color: white; background: var(--ink-2); }
.rsvp::before { content: "Z"; position: absolute; top: 100px; left: 1vw; color: rgba(255,255,255,.025); font: 500 460px/.8 var(--serif); }
.rsvp-intro { position: sticky; top: 130px; align-self: start; }
.rsvp h2 em { color: var(--sand); }
.rsvp-intro > p { max-width: 360px; margin: 35px 0; color: rgba(255,255,255,.6); font-size: 16px; }
.rsvp-deadline { display: inline-flex; flex-direction: column; padding: 16px 22px; border-left: 2px solid var(--sand); background: rgba(255,255,255,.055); }
.rsvp-deadline span { color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.rsvp-deadline strong { margin-top: 3px; font: 500 21px var(--serif); }
.rsvp-form { position: relative; }
.honey-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-step { margin-bottom: 90px; }
.step-heading { display: flex; gap: 20px; align-items: center; margin-bottom: 35px; }
.step-heading > span { display: grid; place-items: center; width: 46px; height: 46px; color: var(--sand); border: 1px solid rgba(216,185,139,.6); border-radius: 50%; font: italic 15px var(--serif); }
.step-heading p { margin: 0; color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .17em; }
.step-heading h3 { margin: 1px 0 0; font: 500 30px var(--serif); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row label, .count-field { display: flex; flex-direction: column; gap: 9px; color: rgba(255,255,255,.65); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.field-row input, .count-field input { width: 100%; padding: 16px 17px; color: white; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); outline: 0; border-radius: 0; text-transform: none; letter-spacing: normal; }
.field-row input::placeholder { color: rgba(255,255,255,.3); }
input:focus { border-color: var(--sand); box-shadow: 0 0 0 2px rgba(216,185,139,.15); }
input.invalid { border-color: #e8a58e; }
.question-card { margin: 0 0 16px; padding: 27px 30px 30px; border: 1px solid rgba(255,255,255,.14); }
.question-card legend { padding: 0 12px 0 0; color: white; font: 500 26px var(--serif); }
.question-card legend small { display: block; color: var(--sand); font: 600 9px var(--sans); text-transform: uppercase; letter-spacing: .18em; }
.legend-note { margin: 0 0 17px; color: rgba(255,255,255,.5); font-size: 13px; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { cursor: pointer; }
.choice input, .check-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; place-items: center; min-height: 50px; padding: 8px 14px; color: rgba(255,255,255,.67); border: 1px solid rgba(255,255,255,.16); font-size: 13px; text-align: center; transition: .2s; }
.choice:hover span { border-color: rgba(216,185,139,.6); }
.choice input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }
.choice input:checked + span { color: var(--ink); background: var(--sand); border-color: var(--sand); font-weight: 700; }
.conditional { display: none; }
.question-card.is-yes .conditional { display: flex; animation: appear .3s ease; }
@keyframes appear { from { opacity: 0; transform: translateY(-5px); } }
.count-field { max-width: 230px; margin-top: 18px; }
.morning-reminder { display: grid; grid-template-columns: 110px 1fr; gap: 20px; margin: 22px 0; padding: 20px 22px; color: var(--ink); background: var(--sand); }
.morning-reminder span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.morning-reminder p { margin: 0; font: italic 16px var(--serif); }
.check-group { margin-top: 22px; display: none; grid-template-columns: 1fr 1fr; gap: 9px; }
.question-card.is-yes .check-group { display: grid; }
.check-group > p, .check-group > small { grid-column: 1 / -1; }
.check-group > p { margin: 0 0 3px; color: rgba(255,255,255,.64); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; }
.check-group label span { display: block; padding: 11px 14px 11px 38px; border: 1px solid rgba(255,255,255,.16); font-size: 12px; cursor: pointer; position: relative; }
.check-group label span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 12px; height: 12px; border: 1px solid rgba(255,255,255,.55); transform: translateY(-50%); }
.check-group input:checked + span { color: var(--ink); background: var(--sand); border-color: var(--sand); font-weight: 700; }
.check-group input:checked + span::before { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--sand); }
.check-group > small { color: rgba(255,255,255,.45); font-size: 11px; }
.transport-card { background: rgba(255,255,255,.025); }
.recap { padding: 8px 27px; background: rgba(255,255,255,.055); border-left: 2px solid var(--sand); }
.recap-empty { color: rgba(255,255,255,.45); font-style: italic; }
.recap-row { display: grid; grid-template-columns: 1.3fr .7fr; gap: 15px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.recap-row:last-child { border-bottom: 0; }
.recap-row span { color: rgba(255,255,255,.55); font-size: 12px; }
.recap-row strong { font-size: 12px; text-align: right; }
.form-error { margin-top: 18px; padding: 12px 15px; color: #ffe0d5; background: rgba(169,79,53,.4); font-size: 13px; }
.submit-button { width: 100%; margin-top: 18px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; color: var(--ink); background: var(--sand); border: 0; cursor: pointer; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }
.submit-button i { font: normal 24px var(--sans); transition: transform .25s; }
.submit-button:hover i { transform: translateX(6px); }
.submit-button:disabled { cursor: wait; opacity: .68; }
.prototype-note { margin: 12px 0 0; color: rgba(255,255,255,.35); font-size: 10px; text-align: center; }
.confirmation { padding: 55px 35px; text-align: center; background: rgba(255,255,255,.055); border: 1px solid rgba(216,185,139,.45); }
.confirmation > span { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 26px; color: var(--ink); background: var(--sand); border-radius: 50%; font-size: 28px; }
.confirmation p { margin: 0; color: var(--sand); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.confirmation h3 { margin: 10px auto 30px; font: 500 38px/1.1 var(--serif); }
.edit-response { color: white; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.5); cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }

footer { position: relative; height: 740px; display: grid; place-items: center; color: white; overflow: hidden; }
footer > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; }
.footer-overlay { position: absolute; inset: 0; background: rgba(9,29,38,.56); }
.footer-content { position: relative; z-index: 1; text-align: center; }
.footer-kicker { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .3em; }
.footer-logo { width: min(590px, 78vw); height: auto; margin: 24px auto 18px; }
.footer-date { margin: 0 0 55px; font: italic 24px var(--serif); }
.footer-content a { display: inline-flex; gap: 20px; align-items: center; font-size: 10px; text-decoration: none; text-transform: uppercase; letter-spacing: .15em; }
.footer-content a span { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .85s ease, transform .85s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  :root { --page: min(100% - 36px, 720px); }
  .site-header { height: 72px; padding: 0 22px; }
  .menu-toggle { display: grid; grid-template-columns: 22px auto; align-items: center; column-gap: 10px; padding: 8px; color: inherit; background: transparent; border: 0; }
  .menu-toggle span { grid-column: 1; display: block; width: 22px; height: 1px; margin: 2px 0; background: currentColor; }
  .menu-toggle b { grid-column: 2; grid-row: 1 / span 3; font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
  .site-header nav { position: fixed; inset: 72px 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 28px; color: var(--ink); background: var(--cream); transform: translateY(-130%); transition: transform .35s; }
  .menu-open .site-header nav { transform: translateY(0); box-shadow: 0 20px 40px rgba(19,44,56,.15); }
  .site-header nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-rsvp { border: 0; }
  .hero-date { display: none; }
  .invitation-layout { grid-template-columns: 1fr 1fr; gap: 7vw; }
  .event { gap: 50px; }
  .event-visual > img { height: 600px; }
  .practical { grid-template-columns: 1fr; }
  .practical-image { height: 780px; }
  .rsvp { grid-template-columns: 1fr; padding-left: max(24px, calc((100vw - 720px) / 2)); padding-right: max(24px, calc((100vw - 720px) / 2)); }
  .rsvp-intro { position: static; }
  .rsvp-intro > p { max-width: 550px; }
}

@media (max-width: 700px) {
  :root { --page: calc(100vw - 36px); }
  body { font-size: 16px; }
  .music-button { right: 14px; bottom: 14px; }
  .music-label { display: none; }
  .music-gate-logo { width: min(390px, 82vw); margin-bottom: 38px; }
  .music-button { width: 46px; height: 46px; justify-content: center; padding: 0; }
  .hero { min-height: 680px; height: 100svh; }
  .hero-image { object-position: 60% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(9,27,35,.72), rgba(9,27,35,.16)), linear-gradient(0deg, rgba(9,27,35,.65), transparent 55%); }
  .hero h1 span { font-size: clamp(48px, 15vw, 72px); }
  .hero h1 em { margin: 7px 0 0 30px; font-size: clamp(74px, 23vw, 108px); }
  .hero-caption { display: none; }
  .hero-intro { margin-top: 32px; font-size: 20px; }
  .invitation { padding: 100px 0; }
  .invitation-layout { grid-template-columns: 1fr; gap: 65px; }
  .invitation h2, .section-heading h2, .practical h2, .rsvp h2 { font-size: clamp(47px, 14vw, 68px); }
  .invitation .lead { font-size: 21px; }
  .invitation-photo { width: 88%; margin-left: auto; }
  .quote-band { min-height: 620px; }
  .quote-band > img { object-position: 58% center; }
  .quote-band blockquote p { font-size: 37px; }
  .programme { padding: 100px 0 110px; }
  .section-heading { margin-bottom: 80px; }
  .event, .event.event-tefilin, .event.event-shabbat { grid-template-columns: 1fr; gap: 60px; margin-bottom: 125px; }
  .event-tefilin .event-copy, .event-shabbat .event-copy { order: 2; }
  .event-tefilin .event-visual, .event-shabbat .event-visual { order: 1; }
  .event-visual > img { height: 560px; max-height: none; }
  .event h3 { font-size: 62px; }
  .event-number { right: 5px; bottom: -45px; font-size: 100px; }
  .event:nth-of-type(odd) .event-number { left: 5px; }
  .event-visual.duo img { height: 510px; }
  .event-visual.duo img:first-child { height: 420px; }
  .gallery { padding: 100px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; gap: 7px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 2; }
  .practical-image { height: 620px; min-height: 0; }
  .practical-content { padding: 90px 24px; }
  .practical-note { margin-left: 0; }
  .rsvp { padding-top: 100px; padding-bottom: 100px; }
  .field-row, .choice-row { grid-template-columns: 1fr; }
  .question-card { padding: 24px 18px; }
  .morning-reminder { grid-template-columns: 1fr; gap: 7px; }
  .check-group { grid-template-columns: 1fr; }
  .check-group > p, .check-group > small { grid-column: 1; }
  .recap-row { grid-template-columns: 1fr; gap: 3px; }
  .recap-row strong { text-align: left; }
  footer { height: 650px; }
  .footer-logo { width: 82vw; }
}

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