:root {
  --navy: #0d2a43;
  --navy-soft: #173c59;
  --gold: #b99048;
  --gold-bright: #d8ba78;
  --ivory: #f8f2e7;
  --paper: #fffdf8;
  --ink: #15283a;
  --muted: #666b6e;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ivory); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Noto Sans Armenian", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.invitation-page { position: relative; overflow: clip; background: radial-gradient(circle at 12% 38%, rgba(185,144,72,.08), transparent 30rem), var(--ivory); }
.section-shell { width: min(100% - 32px, 1080px); margin-inline: auto; }
.eyebrow, .hero__kicker { margin: 0; color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

.armenian-cross { display: block; width: 66px; height: 80px; margin: 0 auto 16px; overflow: visible; color: var(--gold); filter: drop-shadow(0 4px 7px rgba(126,88,30,.16)); }
.armenian-cross__halo { fill: rgba(185,144,72,.12); stroke: currentColor; stroke-linejoin: round; stroke-width: 1.1; }
.armenian-cross__body { fill: currentColor; }
.armenian-cross__center { fill: #fffaf0; stroke: currentColor; stroke-width: 1.2; }
.armenian-cross__base { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }

.hero { position: relative; isolation: isolate; min-height: max(790px, 100svh); display: grid; place-items: center; overflow: hidden; padding: calc(30px + env(safe-area-inset-top)) 18px calc(34px + env(safe-area-inset-bottom)); background: #efe4d4; }
.hero__photo, .hero__glow, .hero__frame, .light-specks { position: absolute; inset: 0; pointer-events: none; }
.hero__photo { z-index: -4; inset: -2%; background: url("baptism-hero-v2.webp") 70% center / cover no-repeat; transform: scale(1.025); animation: hero-breathe 18s ease-in-out infinite alternate; }
.hero__glow { z-index: -3; background: linear-gradient(180deg, rgba(255,252,245,.62), rgba(255,250,240,.8) 62%, rgba(248,242,231,.94)), radial-gradient(circle at 48% 18%, rgba(255,255,255,.36), transparent 45%); }
.hero__frame { z-index: 4; inset: 12px; border: 1px solid rgba(174,129,55,.72); box-shadow: inset 0 0 0 4px rgba(255,252,244,.45); }
.hero__frame::before, .hero__frame::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(185,144,72,.22); }
.hero__frame::after { inset: 17px auto auto 50%; width: min(38vw,250px); border-width: 1px 0 0; transform: translateX(-50%); }
.hero__frame span { position: absolute; width: 27px; height: 27px; border-color: var(--gold); border-style: solid; }
.hero__frame span:nth-child(1) { top: -1px; left: -1px; border-width: 3px 0 0 3px; }
.hero__frame span:nth-child(2) { top: -1px; right: -1px; border-width: 3px 3px 0 0; }
.hero__frame span:nth-child(3) { right: -1px; bottom: -1px; border-width: 0 3px 3px 0; }
.hero__frame span:nth-child(4) { bottom: -1px; left: -1px; border-width: 0 0 3px 3px; }
.light-specks { z-index: -1; overflow: hidden; }
.light-specks i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,249,220,.8); box-shadow: 0 0 14px 4px rgba(255,240,188,.35); animation: light-drift 8s ease-in-out infinite; }
.light-specks i:nth-child(1) { top: 18%; left: 16%; animation-delay: -2s; }
.light-specks i:nth-child(2) { top: 31%; right: 20%; width: 3px; height: 3px; animation-delay: -5s; }
.light-specks i:nth-child(3) { bottom: 27%; left: 22%; width: 4px; height: 4px; animation-delay: -7s; }
.light-specks i:nth-child(4) { top: 14%; right: 34%; animation-delay: -4s; }
.hero__layout { position: relative; z-index: 2; width: min(100%,1200px); margin: auto; }
.hero__inner { width: 100%; max-width: 610px; margin: auto; padding: 34px 20px 32px; border: 1px solid rgba(185,144,72,.38); background: rgb(255 252 244 / 0%); box-shadow: 0 24px 60px rgba(47,39,27,.13); text-align: center; backdrop-filter: blur(9px) saturate(.9); }
.hero h1 { max-width: 590px; margin: 14px auto 20px; color: var(--navy); font-family: "Noto Serif Armenian", Georgia, serif; font-size: clamp(2.15rem,10.2vw,4.7rem); font-weight: 500; letter-spacing: -.05em; line-height: 1.12; text-wrap: balance; }
.hero__name, .hero__occasion { display: block; }
.hero__occasion { margin-top: .14em; color: #76582b; font-size: .58em; letter-spacing: -.015em; line-height: 1.25; }
.hero__rule { display: flex; align-items: center; gap: 9px; width: min(180px,62%); margin: 0 auto 19px; }
.hero__rule::before, .hero__rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero__rule::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hero__rule span { width: 5px; height: 5px; border: 1px solid var(--gold); background: rgba(255,253,247,.8); transform: rotate(45deg); }
.hero__date { margin: 0; color: var(--navy); font-size: clamp(.9rem,3.8vw,1.02rem); font-weight: 700; line-height: 1.6; }
.hero__godfather { margin: 8px 0 0; color: #72592f; font-size: .88rem; font-weight: 600; }
.hero__message { max-width: 500px; margin: 22px auto 0; color: #324252; font-family: "Noto Serif Armenian", Georgia, serif; font-size: clamp(.96rem,3.8vw,1.13rem); line-height: 1.72; }

.countdown { width: min(100%,450px); margin: 22px auto 0; padding: 13px 0 12px; border-block: 1px solid rgba(185,144,72,.38); }
.countdown__title { margin: 0 0 10px; color: #6f5732; font-size: .62rem; font-weight: 700; letter-spacing: .055em; }
.countdown__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.countdown__unit { min-width: 0; padding: 0 5px; text-align: center; }
.countdown__unit + .countdown__unit { border-left: 1px solid rgba(185,144,72,.27); }
.countdown__unit strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: clamp(1.12rem,5vw,1.45rem); font-variant-numeric: tabular-nums; font-weight: 500; line-height: 1; }
.countdown__unit span { display: block; margin-top: 6px; overflow: hidden; color: #756b5d; font-size: clamp(.5rem,2.1vw,.62rem); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.countdown__complete { margin: 4px 0 0; color: #6f5732; font-size: .76rem; font-weight: 700; }

.hero__actions { display: grid; gap: 10px; width: min(100%,350px); margin: 27px auto 0; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font-size: .79rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button svg, .map-link svg, .mobile-rsvp-dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.button--primary { border: 1px solid var(--navy); background: var(--navy); box-shadow: 0 12px 28px rgba(13,42,67,.2); color: #fffaf0; }
.button--primary:hover { background: var(--navy-soft); transform: translateY(-2px); }
.button--secondary { border: 1px solid rgba(13,42,67,.34); background: rgba(255,253,248,.55); color: var(--navy); }
.button--secondary:hover { background: var(--paper); transform: translateY(-1px); }

.details { padding: 84px 0 72px; scroll-margin-top: 20px; }
.section-heading { max-width: 670px; margin: 0 auto 38px; text-align: center; }
.section-heading__ornament { display: block; margin-bottom: 13px; color: var(--gold); font-size: .75rem; }
.section-heading h2 { margin: 11px 0 10px; color: var(--navy); font-family: "Noto Serif Armenian", Georgia, serif; font-size: clamp(1.8rem,7vw,3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.3; }
.section-heading > p:last-child { margin: 0; color: #626b71; font-size: .94rem; line-height: 1.75; }
.events-grid { display: grid; gap: 18px; }
.event-card { position: relative; min-height: 0; overflow: hidden; padding: 26px 22px 24px; border: 1px solid rgba(143,109,51,.24); border-radius: 8px; background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(250,244,233,.93)); box-shadow: 0 18px 46px rgba(56,43,24,.09); }
.event-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(var(--gold-bright),var(--navy)); }
.event-card::after { content: ""; position: absolute; right: -70px; bottom: -86px; width: 180px; height: 180px; border: 1px solid rgba(185,144,72,.12); border-radius: 50%; }
.event-card__topline { display: flex; align-items: center; gap: 16px; }
.event-card__topline > div:last-child { min-width: 0; }
.event-medallion { flex: 0 0 76px; display: grid; width: 76px; height: 76px; place-items: center; border: 2px solid var(--gold-bright); border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px #fff,0 0 0 5px rgba(185,144,72,.45),0 12px 25px rgba(13,42,67,.18); }
.event-medallion svg { width: 42px; height: 42px; fill: none; stroke: #f3d89e; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.event-card__index { display: block; margin-bottom: 5px; color: rgba(13,42,67,.42); font-family: Georgia,serif; font-size: .65rem; letter-spacing: .16em; }
.event-card h3 { max-width: 390px; margin: 24px 0 23px; color: var(--navy); font-family: "Noto Serif Armenian", Georgia, serif; font-size: clamp(1.5rem,6vw,1.9rem); font-weight: 500; line-height: 1.35; }
.event-facts { display: grid; gap: 13px; }
.event-fact { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 11px; }
.event-fact p { margin: 0; color: #25394b; font-size: .86rem; font-weight: 600; line-height: 1.55; }
.event-fact__icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(13,42,67,.075); color: var(--navy); }
.event-fact__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.event-card__venue { width: fit-content; margin: 2px 0 0 43px; padding: 5px 10px; border: 1px solid rgba(185,144,72,.34); background: rgba(185,144,72,.07); color: #72552a; font-family: Georgia,serif; font-size: .88rem; letter-spacing: .04em; }
.event-fact--address { align-items: start; }
.event-fact--address .event-fact__icon { margin-top: 1px; }
.event-card address { min-height: 0; overflow-wrap: anywhere; color: #5f676c; font-size: .82rem; font-style: normal; line-height: 1.55; }
.map-link { position: relative; z-index: 2; display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; padding: 11px 18px; border: 1px solid rgba(13,42,67,.4); border-radius: 999px; color: var(--navy); font-size: .8rem; font-weight: 700; text-decoration: none; transition: .18s ease; }
.map-link:hover { background: var(--navy); color: white; transform: translateY(-1px); }

.rsvp-section { position: relative; isolation: isolate; margin-top: 22px; overflow: hidden; padding: 74px 16px calc(78px + env(safe-area-inset-bottom)); background: var(--navy); scroll-margin-top: 0; }
.rsvp-section__photo { position: absolute; z-index: -3; inset: -2%; background: url("baptism-rsvp-v2.webp") 63% center / cover no-repeat; transform: scale(1.02); animation: rsvp-breathe 20s ease-in-out infinite alternate; }
.rsvp-section::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(180deg,rgba(8,29,46,.34),rgba(8,29,46,.78) 38%,rgba(8,29,46,.88)),radial-gradient(circle at 15% 20%,rgba(255,245,215,.28),transparent 38%); }
.rsvp-section::after { content: ""; position: absolute; z-index: -1; inset: 14px; border: 1px solid rgba(216,186,120,.42); pointer-events: none; }
.rsvp-layout { width: min(100%,1160px); margin: 0 auto; }
.rsvp-intro { max-width: 620px; margin: 0 auto 34px; padding: 10px 8px; color: #fffaf0; text-align: center; text-shadow: 0 2px 18px rgba(4,21,34,.28); }
.rsvp-intro .armenian-cross { color: #e6c57e; filter: drop-shadow(0 5px 12px rgba(0,0,0,.25)); }
.rsvp-intro .armenian-cross__halo { fill: rgba(230,197,126,.12); }
.rsvp-intro .armenian-cross__center { fill: var(--navy); }
.rsvp-intro .eyebrow { color: #e6c57e; }
.rsvp-intro h2 { margin: 13px 0 16px; color: white; font-family: "Noto Serif Armenian",Georgia,serif; font-size: clamp(1.9rem,7.6vw,3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.3; text-wrap: balance; }
.rsvp-intro > p:last-child { max-width: 500px; margin: 17px auto 0; color: rgba(255,250,240,.88); font-size: .88rem; line-height: 1.75; }
.rsvp-intro__rule { display: flex; align-items: center; gap: 8px; width: 140px; margin: 0 auto; }
.rsvp-intro__rule::before, .rsvp-intro__rule::after { content: ""; flex: 1; height: 1px; background: rgba(230,197,126,.75); }
.rsvp-intro__rule span { width: 5px; height: 5px; border: 1px solid #e6c57e; transform: rotate(45deg); }
.rsvp-shell { width: min(100%,640px); margin: 0 auto; padding: 28px 20px 24px; border: 1px solid rgba(216,186,120,.52); border-radius: 8px; background: rgba(255,253,248,.97); box-shadow: 0 30px 80px rgba(0,13,25,.3); backdrop-filter: blur(10px); }

.rsvp-form { display: grid; gap: 22px; }
.attendance-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.attendance-fieldset legend { width: 100%; margin: 0 0 12px; color: var(--navy); font-size: .9rem; font-weight: 600; }
.attendance-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.attendance-option { position: relative; display: flex; min-width: 0; min-height: 80px; align-items: center; gap: 11px; padding: 13px 12px; border: 1px solid rgba(13,42,67,.18); border-radius: 6px; background: rgba(255,255,255,.86); cursor: pointer; transition: .16s ease; }
.attendance-option:hover { border-color: var(--gold); }
.attendance-option.is-selected { border-color: var(--navy); background: #eff4f6; box-shadow: inset 0 0 0 1px var(--navy); }
.attendance-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.attendance-option__circle { flex: 0 0 19px; width: 19px; height: 19px; border: 1px solid #a9a296; border-radius: 50%; box-shadow: inset 0 0 0 4px white; }
.attendance-option.is-selected .attendance-option__circle { border-color: var(--navy); background: var(--navy); }
.attendance-option > span:last-child { min-width: 0; display: grid; gap: 3px; }
.attendance-option strong { font-size: .9rem; }
.attendance-option small { color: var(--muted); font-size: .68rem; line-height: 1.35; }
.form-grid { display: grid; gap: 18px; }
.form-field { min-width: 0; }
.form-field > label { display: block; margin-bottom: 8px; color: var(--navy); font-size: .82rem; font-weight: 600; line-height: 1.55; }
.form-field > label span { color: var(--gold); }
.form-field > input { width: 100%; height: 52px; padding: 0 14px; border: 1px solid rgba(13,42,67,.2); border-radius: 6px; outline: none; background: white; color: var(--ink); font-size: 16px; transition: .16s ease; }
.form-field > input:focus, .number-control:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,42,67,.11); }
.form-field > input[aria-invalid="true"] { border-color: #a54d42; }
.form-field--count { padding: 19px; border: 1px solid rgba(185,144,72,.3); border-radius: 6px; background: #fbf5e9; }
.number-control { display: grid; grid-template-columns: 50px 1fr 50px; height: 52px; overflow: hidden; border: 1px solid rgba(13,42,67,.2); border-radius: 6px; background: white; }
.number-control button { border: 0; background: #f1eadc; color: var(--navy); font-size: 1.4rem; cursor: pointer; }
.number-control button:hover { background: #e7dcc7; }
.number-control input { min-width: 0; width: 100%; border: 0; border-inline: 1px solid #e1dbcf; outline: 0; text-align: center; font-size: 1rem; font-weight: 600; appearance: textfield; }
.number-control input::-webkit-inner-spin-button, .number-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.field-hint, .field-error { margin: 7px 0 0; font-size: .72rem; line-height: 1.5; }
.field-hint { color: var(--muted); }
.field-error { min-height: 0; color: #94453c; }
.field-error:empty { display: none; }
.form-alert { margin: 0; padding: 12px 14px; border-left: 3px solid #a34f44; background: #fbefec; color: #7b3932; font-size: .8rem; line-height: 1.6; }
.submit-button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); box-shadow: 0 12px 26px rgba(13,42,67,.18); color: white; font-weight: 600; cursor: pointer; transition: .16s ease; }
.submit-button:hover:not(:disabled) { background: var(--navy-soft); transform: translateY(-2px); }
.submit-button:disabled { opacity: .7; cursor: wait; }
.button-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.privacy-note { margin: -8px 0 0; color: #797b7d; font-size: .68rem; line-height: 1.55; text-align: center; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.rsvp-success { padding: 42px 18px; text-align: center; }
.rsvp-success__icon { display: grid; width: 50px; height: 50px; place-items: center; margin: 0 auto 20px; border: 1px solid var(--gold); border-radius: 50%; color: var(--navy); font-size: 1.2rem; }
.rsvp-success h2 { margin: 10px 0 8px; color: var(--navy); font-family: "Noto Serif Armenian",Georgia,serif; font-size: clamp(1.5rem,6vw,2rem); font-weight: 500; line-height: 1.45; }
.rsvp-success > p:last-child { margin: 0; color: var(--muted); }

.closing { padding: 76px 0 88px; text-align: center; }
.closing__mark { color: var(--gold); }
.closing p { margin: 13px 0 0; color: var(--navy); font-family: "Noto Serif Armenian",Georgia,serif; font-size: clamp(1rem,4.2vw,1.2rem); line-height: 1.85; }
footer { position: relative; display: flex; flex-direction: column; align-items: center; padding: 52px 20px calc(42px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(216,186,120,.4); background: radial-gradient(circle at 50% -20%,rgba(185,144,72,.18),transparent 45%),#0b253b; color: #f7f1e5; text-align: center; }
footer::before { content: ""; position: absolute; top: 12px; left: 50%; width: min(50vw,270px); height: 1px; background: linear-gradient(90deg,transparent,rgba(216,186,120,.65),transparent); transform: translateX(-50%); }
.footer-cross { position: relative; width: 27px; height: 38px; margin-bottom: 18px; }
.footer-cross span, .footer-cross i { position: absolute; display: block; background: #c6a867; }
.footer-cross span { left: 13px; width: 1px; height: 38px; }
.footer-cross i { top: 12px; left: 3px; width: 21px; height: 1px; }
footer p { margin: 0; font-family: "Noto Serif Armenian",Georgia,serif; font-size: 1.05rem; }
footer > span { margin-top: 8px; color: #b9b2a3; font-size: .74rem; letter-spacing: .19em; }

.mobile-rsvp-dock { position: fixed; z-index: 50; right: 14px; bottom: max(14px,env(safe-area-inset-bottom)); left: 14px; display: flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid rgba(232,202,139,.75); border-radius: 999px; background: rgba(13,42,67,.96); box-shadow: 0 16px 38px rgba(4,22,36,.35); color: #fff9ed; font-size: .79rem; font-weight: 700; text-decoration: none; backdrop-filter: blur(12px); transition: opacity .26s ease,transform .26s ease; animation: dock-enter .8s .9s cubic-bezier(.22,1,.36,1) both; }
.mobile-rsvp-dock.is-hidden { pointer-events: none; opacity: 0; transform: translateY(calc(100% + 32px)); }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .event-card:nth-child(2) { transition-delay: .12s; }

@keyframes hero-breathe { from { transform: scale(1.025); } to { transform: scale(1.065) translate3d(-.35%,-.3%,0); } }
@keyframes rsvp-breathe { from { transform: scale(1.02); } to { transform: scale(1.055) translate3d(.3%,-.25%,0); } }
@keyframes light-drift { 0%,100% { opacity: .18; transform: translate3d(0,8px,0) scale(.8); } 50% { opacity: .85; transform: translate3d(5px,-12px,0) scale(1.15); } }
@keyframes dock-enter { from { opacity: 0; transform: translateY(calc(100% + 30px)); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 720px) {
  .hero { min-height: max(780px,100svh); padding: calc(44px + env(safe-area-inset-top)) 44px calc(44px + env(safe-area-inset-bottom)); }
  .hero__frame { inset: 20px; }
  .hero__glow { background: linear-gradient(90deg,rgba(255,252,245,.86),rgba(255,250,240,.7) 48%,rgba(255,250,240,.14) 78%),linear-gradient(180deg,rgba(255,255,255,.18),rgba(248,242,231,.2)); }
  .hero__inner { padding: 44px 40px 40px; }
  .hero__actions { grid-template-columns: 1.25fr 1fr; width: min(100%,530px); }
  .section-shell { width: min(100% - 64px,1080px); }
  .details { padding: 110px 0 94px; }
  .section-heading { margin-bottom: 50px; }
  .events-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .event-card { min-height: 500px; padding: 34px 32px 30px; }
  .event-card h3 { min-height: 78px; }
  .rsvp-section { padding: 96px 32px; }
  .rsvp-shell { padding: 42px 42px 34px; }
  .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mobile-rsvp-dock { display: none; }
}

@media (min-width: 980px) {
  .hero__photo { background-position: center; }
  .hero__glow { background: linear-gradient(90deg,rgba(255,252,245,.92),rgba(255,250,240,.68) 43%,rgba(255,250,240,.04) 73%),linear-gradient(180deg,rgba(255,255,255,.12),rgba(248,242,231,.18)); }
  .hero__layout { display: flex; justify-content: flex-start; padding-right: 42%; }
  .hero__inner { margin: 0; background: rgba(255,252,244,.74); }
  .rsvp-layout { display: grid; grid-template-columns: minmax(0,.84fr) minmax(540px,1fr); align-items: center; gap: clamp(44px,6vw,90px); }
  .rsvp-intro { margin: 0; padding: 24px 0; }
  .rsvp-section__photo { background-position: center; }
  .rsvp-section::before { background: linear-gradient(90deg,rgba(7,27,44,.86),rgba(7,27,44,.66) 44%,rgba(7,27,44,.28) 74%),linear-gradient(180deg,rgba(8,29,46,.12),rgba(8,29,46,.62)); }
}

@media (max-width: 359px) {
  .hero { min-height: 820px; padding-inline: 12px; }
  .hero__frame { inset: 8px; }
  .hero__inner { padding: 30px 16px 28px; }
  .hero h1 { font-size: 2.02rem; }
  .hero__message { font-size: .92rem; }
  .event-card { padding-inline: 18px; }
  .event-medallion { flex-basis: 68px; width: 68px; height: 68px; }
  .event-medallion svg { width: 37px; height: 37px; }
  .rsvp-shell { padding-inline: 17px; }
  .mobile-rsvp-dock { right: 10px; left: 10px; padding-inline: 14px; font-size: .73rem; }
}

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