:root {
  color-scheme: light;
  --paper: #fbf3e7;
  --ivory: #fff9ef;
  --sage: #4c533c;
  --dark: #371523;
  --plum: #632640;
  --ink: #402d28;
  --muted: #705c51;
  --gold: #9b6c40;
  --line: #d0ae8a;
  --foil: #bf9566;
  --arch: 1.45rem 1.45rem .24rem .24rem / .76rem .76rem .24rem .24rem;
  --paper-wash: linear-gradient(142deg, #fff9ef 8%, #f9ead6 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
body.invite-closed { overflow: hidden; }
[hidden] { display: none !important; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #aa4a70; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .98; text-wrap: balance; }
h1, h2, h3 { color: var(--plum); }
h2 { font-size: clamp(3.25rem, 7.4vw, 6.5rem); letter-spacing: -.046em; }
h3 { font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.025em; }
.wrap { width: min(100% - 3rem, 68rem); margin-inline: auto; }
.section-pad { padding-block: clamp(4.5rem, 10vw, 9rem); }
.eyebrow { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .19em; line-height: 1.5; }
.section-heading { text-align: center; margin: 0 auto 3.1rem; }
.section-heading h2 { margin-block: .6rem .9rem; }
.section-heading > p:last-child:not(:first-child) { color: var(--muted); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .48rem; min-height: 46px; padding: .54rem 1.18rem; border: 1px solid #a97755; border-radius: var(--arch); background: linear-gradient(145deg,#7a3750,var(--plum) 65%,#4e2136); box-shadow: inset 0 0 0 3px #d6ac7940, 0 2px 4px #482a301e; color: #fff3df; font: 600 1.22rem/1.12 var(--serif); text-decoration: none; transition: background .22s, color .22s, box-shadow .22s; }
.button:hover { background: var(--dark); box-shadow: inset 0 0 0 3px #e2b9865f, 0 3px 9px #482a3033; }
.button.outline { background: var(--paper-wash); color: var(--plum); border-color: #ad825e; box-shadow: inset 0 0 0 3px #bc956626; }
.button.outline:hover { background: #f2ddc3; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 20; transform: translateY(-160%); background: var(--ivory); padding: .5rem 1rem; }
.skip:focus { transform: translateY(0); }

.nav { height: 62px; position: sticky; top: 0; z-index: 15; display: flex; justify-content: space-between; align-items: center; padding-inline: max(1.2rem, calc((100vw - 70rem) / 2)); border-bottom: 1px solid #b6865a; box-shadow: 0 3px 0 #f5e3c68c; background: #fff3e3f4; backdrop-filter: blur(12px); }
.monogram { font: 600 2rem/.9 var(--serif); text-decoration: none; color: var(--plum); letter-spacing: -.08em; }
.monogram span { font-style: italic; font-size: .7em; padding: 0 .12em; }
.nav nav { display: flex; align-items: center; gap: clamp(.65rem,3vw,2.7rem); }
.nav nav a { font-size: .88rem; text-decoration: none; color: var(--plum); white-space: nowrap; }
.nav nav a:hover { text-decoration: underline; }
.nav nav .nav-rsvp { border: 1px solid #a97f58; border-radius: var(--arch); padding: .35rem .8rem; font-weight: 600; background: #62253a; color: #fff6e2; box-shadow: inset 0 0 0 2px #dec39c49; }
.music-control { position: fixed; z-index: 16; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #a48261; border-radius: 50%; background: #f8eddf; color: #74533a; box-shadow: 0 2px 10px #52342e26, inset 0 0 0 2px #fff6e8; }
.music-control[aria-pressed="true"] { background: #8a684b; color: #fff6e9; border-color: #76563d; box-shadow: 0 2px 10px #52342e26, inset 0 0 0 2px #fff2d830; }
.music-control > span { font: 600 1.35rem/1 Georgia, serif; }
.music-control[aria-pressed="false"]::after { content: ""; position: absolute; width: 1.05rem; height: 1px; transform: rotate(-49deg); background: currentColor; box-shadow: 0 1px #f8eddf; }
.music-control:focus-visible { outline-color: #74533a; }
.hero { min-height: min(830px, calc(100svh - 62px)); position: relative; display: grid; place-items: center; overflow: hidden; background: #f6e3cf; isolation: isolate; text-align: center; }
.hero-art { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%,#fff4e3fa 3%,#fff4e3dc 32%,#fff4e36a 55%,transparent 74%),url("media/palace.jpg") center 57% / cover; }
.hero-frame { width: min(100% - 2.1rem, 73rem); margin: 1.05rem 0; min-height: inherit; padding: clamp(4rem,13vh,8rem) 1rem; display: grid; align-content: center; justify-items: center; }
.hero-eyebrow { color: var(--plum); margin-bottom: 1.05rem; }
.hero h1 { font-size: clamp(4.45rem,10.2vw,9.4rem); font-weight: 500; letter-spacing: -.07em; }
.hero h1 i { font-size: .65em; color: #98683d; font-weight: 400; display: inline-block; padding: 0 .08em; }
.otterly { color: var(--plum); font: italic 500 clamp(1.7rem,3.2vw,2.8rem)/1.2 var(--serif); margin-top: 1.1rem; }
.ornament { margin: .95rem 0 .75rem; color: var(--gold); font-size: 1.25rem; }
.ornament::before,.ornament::after { content: ""; display: inline-block; width: 2.55rem; height: 1px; background: #b58e69; vertical-align: middle; margin: 0 .65rem; }
.hero-date { font: 600 clamp(1.45rem,3vw,2rem)/1.1 var(--serif); color: #512631; }
.hero-venue { margin-top: .6rem; }
.hero-start { margin-top: 2rem; }
.journeys { padding-block: clamp(4rem,9vw,7.4rem); display: grid; grid-template-columns: 1.02fr .98fr; gap: 5rem; align-items: center; }
.intro-text h2 { margin: .5rem 0 1rem; }
.intro-text > p:last-child { max-width: 27rem; color: var(--muted); }
.chapter-links { display: grid; gap: .64rem; }
.chapter-links a { display: grid; grid-template-columns: 1.8rem 1fr; align-items: baseline; padding: .85rem 1.32rem; border: 1px solid var(--line); border-radius: var(--arch); box-shadow: inset 0 0 0 3px #b4845420; text-decoration: none; gap: 0 .65rem; background: var(--paper-wash); }
.chapter-links a:hover strong { text-decoration: underline; }
.chapter-links span { color: var(--gold); font-size: .94rem; }
.chapter-links strong { font: 600 2rem/1.08 var(--serif); color: var(--plum); }
.chapter-links small { grid-column: 2; color: var(--muted); font-size: .875rem; }
.story-band { background: radial-gradient(ellipse at 50% 0%,#f9eddd,#efe2d0 75%); border-block: 1px solid #dcc2a4; }
.story-timeline { position: relative; max-width: 54rem; margin: 0 auto 5rem; }
.story-timeline::before,.story-timeline::after { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 100%; background: #bf997c; }
.story-timeline::after { height: var(--thread,100%); background: var(--plum); width: 2px; }
.memory { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4.6rem; padding: 1.25rem 0; }
.memory::before { content: ""; border: 2px solid #d5b389; background: var(--plum); width: .65rem; height: .65rem; transform: rotate(45deg) translate(-35%,35%); position: absolute; z-index: 1; left: 50%; top: 50%; }
.memory:nth-child(even) .memory-media { order: 2; }
.memory:nth-child(even) .memory-copy { text-align: right; }
.memory-copy h3 { margin: .28rem 0 .6rem; }
.memory-copy .date { color: var(--muted); }
.placeholder { background: radial-gradient(ellipse at 70% 20%,#faf1e5,#e5c8ad); border: 1px solid #b58b68; color: #664935; display: grid; align-content: center; justify-items: center; }
.picture-glyph { color: #9f744d; font-size: 1.65rem; line-height: 1; margin-bottom: .5rem; }
.memory-media { position: relative; isolation: isolate; padding: .48rem; border: 1px solid #bc956e; border-radius: 37% 37% 4px 4px / 21% 21% 4px 4px; background: #fff5e4; box-shadow: 0 6px 16px #5e362d26; }
.memory-media::before { content: ""; position: absolute; z-index: -1; inset: 5% -2% -3% 2%; transform: rotate(2.7deg); border: 1px solid #b88e6575; border-radius: inherit; background: #f3e1c8; }
.memory-frame { position: relative; aspect-ratio: 1.53; overflow: hidden; border-radius: 37% 37% 3px 3px / 24% 24% 3px 3px; touch-action: pan-y; }
.memory-photo { width: 100%; height: 100%; background: #f9e6cc; }
.memory-photo:focus-visible { outline: 2px solid #fff8ea; outline-offset: -4px; }
.memory-photo img,.family-frame img { width: 100%; height: 100%; object-fit: cover; }
.memory-scratch { position: absolute; inset: 0; display: grid; place-items: end center; width: 100%; height: 100%; padding: 0 0 .65rem; border: 0; border-radius: inherit; background: transparent; cursor: crosshair; touch-action: none; user-select: none; -webkit-touch-callout: none; transition: opacity .36s ease; }
.memory-scratch:focus-visible { outline: 2px solid #fff8ea; outline-offset: -5px; }
.memory-scratch canvas,.memory-scratch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.memory-scratch-hint { position: relative; padding: .14rem .58rem; border: 1px solid #ae8a66; border-radius: 1rem; background: #fff4e1ed; color: #67482f; font: 500 .72rem/1.2 var(--sans); pointer-events: none; transition: opacity .22s ease; }
.memory-scratch.is-scratching .memory-scratch-hint { opacity: 0; }
.memory-scratch.is-revealed { opacity: 0; pointer-events: none; }
.memory-caption { display: flex; align-items: center; justify-content: space-between; gap: .25rem; min-height: 3.3rem; padding: .36rem .12rem .08rem .4rem; }
.memory-description { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .08rem .55rem; }
.memory-caption-text { color: var(--plum); font: 600 1.15rem/1.04 var(--serif); }
.memory-counter { color: var(--muted); white-space: nowrap; font: 500 .76rem var(--sans); }
.photo-controls { display: flex; flex: none; gap: .18rem; }
.photo-control { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #af8259; border-radius: var(--arch); background: var(--paper-wash); color: var(--plum); box-shadow: inset 0 0 0 2px #b98a5a27; font: 600 1.65rem/1 var(--serif); }
.photo-control:hover { background: #efd9bd; }
figcaption { font-size: .84rem; }
.proposal { display: grid; grid-template-columns: 1.45fr 1fr; align-items: stretch; border: 1px solid #b89575; border-radius: var(--arch); overflow: hidden; max-width: 54rem; margin: auto; background: var(--paper-wash); box-shadow: 0 7px 16px #5535281f; }
.proposal-art { display: grid; place-content: center; text-align: center; min-height: 15rem; background: linear-gradient(#3f232a33,#3f232a88),url("media/cover.jpg") center 85% / cover; color: white; }
.proposal-art > span { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin: 0 auto .4rem; border: 1px solid #fff9; border-radius: 50%; background: #53273d9e; }
.proposal-art small { text-shadow: 0 1px 4px #2a1717; font-size: .88rem; }
.proposal iframe { display: block; border: 0; width: 100%; height: 100%; min-height: 15rem; aspect-ratio: 16/9; }
.proposal-copy { align-self: center; padding: 2rem; }
.proposal-copy h3 { margin: .35rem 0 .6rem; }
.celebrations .wrap { max-width: 62rem; }
.day-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: -1rem 0 2.65rem; }
.day-links a,.album-filters button { font: 600 1.12rem/1.2 var(--serif); min-height: 44px; display: inline-flex; align-items: center; padding: .45rem .92rem; border: 1px solid #ac8769; box-shadow: inset 0 0 0 3px #bd956622; border-radius: var(--arch); text-decoration: none; background: var(--paper-wash); color: var(--plum); }
.day-links a:hover,.day-links a[aria-current="location"],.album-filters button[aria-pressed="true"] { background: var(--sage); color: #fff8ec; border-color: var(--sage); box-shadow: inset 0 0 0 3px #f1d7a346; }
.day { scroll-margin-top: 1rem; margin-bottom: 2.7rem; }
.day-heading { display: flex; align-items: center; gap: 1.15rem; margin-bottom: .8rem; }
.day-heading::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.day-heading h3 { font-size: clamp(2rem, 4vw, 3rem); }
.event-stack { display: grid; gap: .65rem; }
.event { border: 1px solid var(--line); border-radius: var(--arch); background: var(--paper-wash); box-shadow: inset 0 0 0 3px #be93631f, 0 3px 9px #7c4f3814; }
.event summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(5rem, 9rem) minmax(0,1fr) auto; gap: 1.5rem; align-items: center; min-height: 112px; padding: .54rem 1.1rem .54rem .54rem; border-radius: inherit; }
.event summary::-webkit-details-marker { display: none; }
.event summary img { height: 112px; object-fit: cover; object-position: center 45%; align-self: stretch; border: 1px solid #c59c72; border-radius: 43% 43% 3px 3px / 23% 23% 3px 3px; }
.event summary:hover { background: #e8c9a43d; }
.event summary strong { display: block; color: var(--plum); font: 600 clamp(1.8rem,4vw,3rem)/1 var(--serif); margin: .18rem 0; }
.event summary .theme { display: block; color: var(--muted); font: italic 600 1.22rem/1.1 var(--serif); }
.event-icon { display: grid; place-items: center; color: var(--plum); border: 1px solid #b38d65; border-radius: 50%; background: #fbf1df; width: 2.2rem; height: 2.2rem; font: 500 1.45rem/1 var(--serif); transition: transform .24s ease; }
.event[open] .event-icon { transform: rotate(45deg); }
.event-info { border-top: 1px solid #e5cab2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.3rem 1.65rem; }
.event-info h4 { margin: 0 0 .25rem; color: var(--plum); font-weight: 600; }
.event-info p,.schedule-note { color: var(--muted); }
.swatches { display: flex; gap: .3rem; margin-top: .65rem; }
.swatches i { display: block; width: 20px; aspect-ratio: 1; border-radius: 50%; border: 1px solid #4c392a35; background: var(--swatch); }
.schedule-note { grid-column: 1/-1; font-size: .88rem; }
.venue { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; background: linear-gradient(120deg,#eeecdb,#e2e4ce); border: 1px solid #aaa080; border-radius: var(--arch); box-shadow: inset 0 0 0 4px #faf2dfb3; padding: 1.75rem 2rem; }
.venue h3 { margin: .25rem 0; }
.venue-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.gift { background: linear-gradient(100deg,#3d1528ec,#642a42e8),url("media/palace-doors.jpg") center 44% / cover,#60263b; border-block: 1px solid #e3c098; color: #fbecda; }
.gift h2 { color: #fff1e3; font-size: clamp(3.1rem,6.7vw,5.6rem); margin: .65rem 0 1rem; }
.gift h2 i { color: #ecc0bc; font-weight: 400; }
.gift-layout { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 3rem; }
.gift-choices { display: grid; gap: .8rem; }
.pledge { border: 1px solid #deb68496; border-radius: var(--arch); box-shadow: inset 0 0 0 3px #ffdeac26; padding: 1rem; display: flex; align-items: center; gap: 1rem; text-decoration: none; transition: background .2s; }
.pledge:hover { background: #f9d4d31f; }
.gift-mark { color: #ecc3a4; font-size: 1.6rem; width: 2rem; text-align: center; flex: none; }
.pledge strong { display: block; font: 600 1.85rem/1.08 var(--serif); }
.pledge small { color: #f2d3ce; font-size: .88rem; }
.album { background: #f5e9db; }
.album-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: -1.3rem 0 2rem; }
.album-spread { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.05rem; padding: 1rem .6rem 1.4rem; }
.polaroid { min-width: 0; flex: 0 0 clamp(12.25rem,28vw,17rem); scroll-snap-align: center; background: var(--ivory); box-shadow: 0 7px 17px #69423723; border: 1px solid #d6bca4; color: var(--ink); padding: .55rem .55rem .95rem; text-align: left; transform: rotate(-2deg); transition: transform .25s; }
.polaroid:nth-child(even) { transform: rotate(2deg); margin-top: .8rem; }
.polaroid:hover,.polaroid:focus-visible { transform: translateY(-.35rem) rotate(0); }
.polaroid strong { display: block; font: 600 1.42rem/1.05 var(--serif); color: var(--plum); margin: .65rem .2rem .2rem; }
.polaroid small { font-size: .8rem; margin-left: .2rem; color: var(--muted); }
.print-photo { display: grid; place-content: center; aspect-ratio: 1.14; overflow: hidden; text-align: center; }
.print-photo img { height: 100%; width: 100%; object-fit: cover; }
.print-photo:has(img) { display: block; }
.polaroid:nth-child(3n+2) .placeholder { background: #e2e4cd; }
.polaroid:nth-child(3n) .placeholder { background: #edd5ce; }
.lightbox { width: min(94vw, 48rem); max-height: 92svh; background: var(--ivory); color: var(--plum); padding: 2.8rem clamp(.85rem, 3vw, 2rem) 1.3rem; border: 1px solid var(--gold); box-shadow: 0 10px 60px #291a1b66; }
.lightbox::backdrop { background: #312626bb; }
.light-close { position: absolute; top: .3rem; right: .5rem; border: 0; width: 44px; height: 44px; font-size: 1.8rem; line-height: 1; background: transparent; color: var(--plum); }
.lightbox .print-photo { max-height: 52vh; }
.lightbox img { object-fit: contain; }
.lightbox figcaption { text-align: center; margin-top: .8rem; font: 600 1.7rem/1.15 var(--serif); }
.light-controls { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: 1rem; font-size: .85rem; }
.rsvp { background: radial-gradient(ellipse at center,#f4e6d4,#eedcc75c),url("media/cover.jpg") center 76% / cover; }
.rsvp-card { width: min(100% - 2rem, 45rem); margin: auto; padding: clamp(1.6rem,6vw,4.3rem); background: #fff6e9f7; border: 1px solid #ad825b; border-radius: 4rem 4rem 4px 4px / 2.6rem 2.6rem 4px 4px; box-shadow: inset 0 0 0 5px #c2915a31, 0 14px 36px #6f422a26; text-align: center; }
.rsvp-card h2 { margin-block: .6rem .9rem; }
.rsvp-intro { max-width: 28rem; margin: auto auto 1.8rem; }
.quiz-progress { color: var(--muted); margin-bottom: .5rem; }
.quiz-options { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-top: 1.1rem; }
.status { margin-top: .65rem; color: var(--plum); min-height: 1.5em; font-size: .9rem; }
#quiz-result { border-top: 1px solid var(--line); padding-block: .9rem 1.3rem; }
.score { font: 600 3rem/1 var(--serif); color: var(--plum); }
#quiz-result .button { margin-top: .55rem; }
#reply { border-top: 1px solid var(--line); display: grid; gap: .8rem; padding-top: 1.3rem; text-align: left; }
#reply h3 { text-align: left; }
.form-note { font-size: .91rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
#reply label { display: grid; gap: .24rem; font-size: .88rem; font-weight: 500; }
#reply input:not([type=checkbox]),#reply select,#reply textarea { width: 100%; border: 1px solid #b89477; color: var(--ink); background: #fffaf2; padding: .55rem .65rem; border-radius: 2px; }
#reply input:not([type=checkbox]),#reply select { min-height: 44px; }
#reply textarea { resize: vertical; }
#reply fieldset { margin: .75rem 0 0; border: 1px solid #d6ba9c; }
#reply label.check { display: flex; align-items: center; gap: .38rem; min-height: 34px; }
input[type=checkbox] { accent-color: var(--sage); width: 1rem; height: 1rem; }
#reply .button { justify-self: start; }
.muted { color: var(--muted); }
.family { background: #fbf3e7; }
.family .wrap { max-width: 54rem; }
.family-frame { aspect-ratio: 1.85; padding: .6rem; border: 1px solid #b79170; outline: 1px solid #d5ad88; outline-offset: 5px; }
.family-frame:has(img) { padding: 0; aspect-ratio: auto; }
.family-frame img { height: auto; }
.family-signoff { text-align: center; color: var(--plum); margin: 2rem 0 0; font: 600 1.8rem/1.12 var(--serif); }
.objections { background: radial-gradient(ellipse at 58% 25%,#f1daca,#e8c5b8 86%); border-block: 1px solid #c29279; }
.objections-card { width: min(100% - 3rem, 54rem); display: grid; grid-template-columns: minmax(11rem,.85fr) minmax(0,1.15fr); align-items: center; gap: clamp(1.3rem,5vw,4rem); }
.reaction-portrait { position: relative; isolation: isolate; overflow: hidden; width: 100%; aspect-ratio: 3/3.5; border: 1px solid #b8835a; border-radius: 46% 46% 4px 4px / 27% 27% 4px 4px; box-shadow: 0 10px 30px #55253431; background: #eab79f; }
.reaction-portrait::after { content: ""; position: absolute; inset: 5px; pointer-events: none; border: 1px solid #ffe5caaf; border-radius: inherit; }
.reaction-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; opacity: 0; transition: opacity .27s ease; }
.reaction-portrait img.current { opacity: 1; }
.objections-copy { color: var(--plum); min-width: 0; }
.objections-copy h2 { display: flex; align-items: center; min-height: clamp(7.3rem, 15vw, 12.1rem); margin-block: .45rem .65rem; }
.objections-copy h2.reacting { font: italic 600 clamp(2.35rem, 5.7vw, 4.75rem)/.96 var(--serif); }
.objection-line { min-height: 2.55em; font: italic 600 clamp(1.25rem,2.8vw,1.75rem)/1.24 var(--serif); }
.runaway-stage { position: relative; height: 6.7rem; container-type: inline-size; }
.runaway-stage .runaway-button { --spot-x: 0; --spot-y: .48; position: absolute; inset: 0 auto auto 0; width: min(10rem,100cqi); height: 46px; padding-inline: .42rem; transform: translate(calc((100cqi - min(10rem,100cqi)) * var(--spot-x)),calc(61px * var(--spot-y))); transition: transform .30s cubic-bezier(.2,.85,.25,1), background .2s; }
footer { background: #e9decc; border-top: 1px solid #d0b292; padding: 2.2rem 1.25rem; text-align: center; color: #5f3945; }
footer p { font-family: var(--serif); font-size: 1.36rem; }
footer small { display: block; margin-top: .25rem; }
.text-button { border: 0; background: transparent; color: inherit; text-decoration: underline; font-size: .9rem; min-height: 44px; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 2rem); }
  .nav { height: 56px; }
  .nav nav a { font-size: .77rem; }
  .nav nav { gap: .65rem; }
  .hero { min-height: calc(98svh - 56px); align-items: start; }
  .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3.75rem; background: linear-gradient(transparent, var(--paper)); pointer-events: none; }
  .hero-frame { min-height: calc(85svh - 56px); }
  .hero h1 { max-width: 9ch; font-size: clamp(4.3rem,13.2vw,6.4rem); }
  .hero h1 i { display: inline; }
  .journeys,.gift-layout { grid-template-columns: 1fr; gap: 2rem; }
  .section-heading { margin-bottom: 2.25rem; }
  .story-timeline::before,.story-timeline::after { left: .35rem; }
  .memory { grid-template-columns: 1fr; column-gap: 0; row-gap: .85rem; padding: 0 0 2.05rem 1.65rem; }
  .memory::before { left: .35rem; top: .95rem; }
  .memory:nth-child(even) .memory-media { order: 0; }
  .memory:nth-child(even) .memory-copy { text-align: left; }
  .memory-media { max-width: 24rem; }
  .proposal { grid-template-columns: 1fr; }
  .proposal-copy { padding: 1.25rem; }
  .event summary { gap: .65rem; grid-template-columns: minmax(4.4rem, 24%) minmax(0,1fr) auto; min-height: 96px; padding: .35rem .5rem .35rem .35rem; }
  .event summary img { height: 96px; }
  .event summary strong { font-size: 1.67rem; }
  .event summary .theme { font-size: 1.07rem; }
  .event summary .eyebrow { font-size: .68rem; }
  .event-icon { width: 1.66rem; height: 1.66rem; }
  .event-info { gap: .75rem; padding: 1rem; grid-template-columns: 1fr; }
  .venue { padding: 1.1rem; }
  .form-grid { grid-template-columns: 1fr; }
  .objections-card { grid-template-columns: 1fr; text-align: center; width: calc(100% - 2rem); }
  .objections-copy h2 { justify-content: center; }
  .reaction-portrait { width: min(65vw, 18rem); margin-inline: auto; }
  .runaway-stage { width: min(100%, 25rem); margin-inline: auto; }
  .runaway-stage .runaway-button:not([style]) { --spot-x: .5; }
}
@media (max-width: 360px) {
  .nav { padding-inline: .66rem; }
  .nav nav { gap: .47rem; }
  .nav nav .nav-rsvp { padding-inline: .61rem; }
  .hero-frame { width: calc(100% - 1.4rem); }
  .hero h1 { font-size: 4.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body.lightbox-open { overflow: hidden; }

.hero:focus { outline: none; }
.proposal-art { background: linear-gradient(#2c1b2820,#2c1b2859),url("media/photos/proposal-2.jpg") center 45% / cover; }
.event summary { grid-template-areas: "art headings icon"; }
.event-art { grid-area: art; height: 112px; align-self: stretch; overflow: hidden; transform-origin: top left; border: 1px solid #c59c72; border-radius: 43% 43% 3px 3px / 23% 23% 3px 3px; }
.event summary .event-art img { height: 100%; object-fit: cover; object-position: center 45%; border: 0; border-radius: 0; }
.event-headings { grid-area: headings; }
.event-icon { grid-area: icon; }
.event[open] summary { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "headings icon" "art art"; gap: .85rem; padding: .85rem; }
.event[open] .event-headings { padding-inline-start: .25rem; }
.event[open] .event-art { height: clamp(9rem, 35vw, 19rem); border-radius: 27% 27% .24rem .24rem / 14% 14% .24rem .24rem; box-shadow: 0 4px 14px #5e362d21; }
.event[open] .event-info { animation: event-info-in .42s ease-out; }
@keyframes event-info-in { from { opacity: 0; transform: translateY(-.3rem); } }
.album-nav { display: flex; gap: .5rem; justify-content: center; margin-top: .9rem; }
.album-nav button:disabled { opacity: .45; cursor: default; }
.rsvp-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.keepsake-photo { filter: saturate(.94) sepia(.045); }
.lightbox img { touch-action: pan-y; }
.reaction-card > .eyebrow { margin-bottom: .7rem; text-align: center; color: var(--plum); }
@media (max-width: 700px) {
  .event-art { height: 96px; }
  .objections { padding-block: 3.5rem; }
  .objections-card { gap: 1rem; }
  .objections-copy h2 { min-height: 5.7rem; margin-block: .35rem; }
  .reaction-portrait { width: min(52vw, 13rem); }
}
