:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --paper-light: #fbfaf7;
  --ink: #282821;
  --muted: #716e64;
  --olive: #6f7257;
  --olive-dark: #4b503d;
  --rose: #a76f67;
  --line: #d8d2c5;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", sans-serif;
  --script: "Italianno", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper-light);
  background-image: radial-gradient(rgba(95, 88, 66, .09) .55px, transparent .55px);
  background-size: 7px 7px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
}
body.envelope-locked { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: white; background: var(--olive); }

.envelope-overlay { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; overflow: hidden; padding: 28px; background-color: var(--paper); background-image: radial-gradient(rgba(95, 88, 66, .11) .55px, transparent .55px); background-size: 7px 7px; opacity: 1; visibility: visible; transition: opacity .65s ease, visibility .65s ease; }
.envelope-overlay.is-opening { opacity: 0; visibility: hidden; pointer-events: none; }
.envelope-invitation { display: grid; justify-items: center; width: min(100%, 440px); text-align: center; }
.envelope-eyebrow { margin: 0 0 7px; color: var(--olive); font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.envelope-couple { margin: 0 0 30px; color: var(--olive-dark); font-family: var(--serif); font-size: clamp(30px, 8vw, 42px); line-height: 1.15; }
.envelope-couple span { color: var(--rose); font-family: var(--script); }
.envelope-button { position: relative; display: block; width: min(76vw, 330px); aspect-ratio: 1.48; padding: 0; border: 0; background: transparent; cursor: pointer; perspective: 900px; }
.envelope-button:focus-visible { outline: 2px solid var(--rose); outline-offset: 9px; }
.envelope-flap { position: absolute; z-index: 4; inset: 0 0 auto; height: 62%; clip-path: polygon(0 0, 100% 0, 50% 100%); background: #d3c7b2; transform-origin: 50% 0; transition: transform .75s cubic-bezier(.2,.7,.25,1), z-index 0s .35s; }
.envelope-letter { position: absolute; z-index: 2; top: 10%; left: 10%; display: grid; width: 80%; height: 85%; place-items: center; border: 1px solid rgba(111,114,87,.24); background: var(--paper-light); color: var(--olive-dark); font-family: var(--serif); font-size: 38px; transition: transform .8s .25s cubic-bezier(.2,.7,.25,1); }
.envelope-letter span { color: var(--rose); font-family: var(--script); }
.envelope-pocket { position: absolute; z-index: 3; inset: 0; background: #e6ddcd; clip-path: polygon(0 0, 50% 55%, 100% 0, 100% 100%, 0 100%); }
.envelope-seal { position: absolute; z-index: 5; top: 45%; left: 50%; display: grid; width: 46px; aspect-ratio: 1; place-content: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: var(--rose); color: white; font-family: var(--serif); font-size: 15px; line-height: 1; transform: translate(-50%, -50%); transition: opacity .2s, transform .3s; }
.envelope-seal span { font-family: var(--script); }
.envelope-recipient:not([hidden]) { position: absolute; z-index: 4; right: 12%; bottom: 12%; left: 12%; color: var(--olive-dark); font-family: var(--serif); font-size: clamp(14px, 4vw, 18px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; text-align: center; }
.envelope-hint { margin: 25px 0 0; color: var(--muted); font-family: var(--serif); font-size: 17px; font-style: italic; }
.envelope-button:hover .envelope-seal { transform: translate(-50%, -50%) scale(1.08); }
.envelope-overlay.is-opening .envelope-flap { z-index: 1; transform: rotateX(180deg); }
.envelope-overlay.is-opening .envelope-letter { transform: translateY(-42%); }
.envelope-overlay.is-opening .envelope-seal { opacity: 0; transform: translate(-50%, -50%) scale(.6); }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.3%;
  border-bottom: 1px solid rgba(111, 114, 87, .18);
}
.brand { color: var(--olive-dark); font-family: var(--serif); font-size: 27px; font-weight: 600; text-decoration: none; }
.brand span { color: var(--rose); font-family: var(--script); font-size: 30px; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3.2vw, 48px); }
.main-nav a, .eyebrow, .event-label, .site-footer > span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.main-nav a { color: #555449; letter-spacing: .8px; text-decoration: none; transition: color .2s ease; }
.main-nav a:hover, .text-link:hover { color: var(--rose); }
.menu-toggle { display: none; }

.section-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
main { overflow-x: hidden; }
.hero {
  position: relative;
  display: grid;
  min-height: min(840px, 100svh);
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 5%;
  padding-top: 90px;
  padding-bottom: 68px;
}
.hero-copy { position: relative; z-index: 1; padding: 24px 0 15px 7%; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 21px; color: var(--olive); }
.eyebrow-line { display: inline-block; width: 24px; height: 1px; background: var(--rose); }
.hero-kicker { margin: 0 0 16px; color: var(--muted); font-family: var(--serif); font-size: 22px; font-style: italic; }
.guest-name { display: block; margin-bottom: 4px; color: var(--olive-dark); font-size: 1.2em; font-style: normal; font-weight: 700; }
.hero h1 { display: flex; flex-direction: column; margin: 0; color: var(--olive-dark); font-family: var(--script); font-size: clamp(66px, 8vw, 112px); font-weight: 400; line-height: .73; }
.hero h1 i { margin: 7px 0 8px 10%; color: var(--rose); font-size: .59em; font-weight: 400; }
.hero-message { max-width: 385px; margin: 33px 0 22px; color: var(--muted); font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 11px; color: var(--olive-dark); font-size: 11px; font-weight: 700; text-decoration: none; transition: color .2s ease; }
.text-link span { font-size: 17px; }
.hero-date { display: flex; width: fit-content; align-items: center; gap: 13px; margin-top: 37px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.hero-date strong { color: var(--rose); font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1; }
.hero-art { position: relative; width: 100%; max-width: 560px; justify-self: end; padding: 0 14% 10% 3%; }
.photo-frame { overflow: hidden; background: #e4dfd5; box-shadow: 0 14px 40px rgba(58, 53, 43, .12); }
.photo-frame img { height: 100%; object-fit: cover; }
.photo-frame-main { position: relative; z-index: 1; width: 100%; aspect-ratio: .79; border: 8px solid var(--paper-light); }
.photo-frame-main img { object-position: center; }
.photo-frame-small { position: absolute; z-index: 2; right: 0; bottom: 0; width: 39%; aspect-ratio: .78; border: 7px solid var(--paper-light); transform: rotate(5deg); }
.photo-frame-small img { object-position: center; }
.hero-stamp { position: absolute; z-index: 3; top: 10%; right: 5%; display: grid; width: 72px; aspect-ratio: 1; place-content: center; border: 1px solid rgba(111, 114, 87, .6); border-radius: 50%; color: var(--olive-dark); font-family: var(--serif); font-size: 22px; line-height: 1; text-align: center; transform: rotate(9deg); }
.hero-stamp small { padding-top: 3px; font-family: var(--sans); font-size: 8px; letter-spacing: 2px; }
.hero-caption { position: absolute; right: 15%; bottom: -27px; color: var(--muted); font-family: var(--serif); font-size: 16px; font-style: italic; }
.scroll-cue { position: absolute; bottom: 20px; left: 7%; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.scroll-cue span { width: 25px; height: 1px; background: var(--rose); }

.families { padding-top: 10px; padding-bottom: 12px; }
.families-intro { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 760px; margin: 0 auto; padding: 8px 10px 0; }
.family-block { padding: 24px 18px 20px; border: 1px solid rgba(111, 114, 87, .14); background: rgba(255,255,255,.18); text-align: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.family-title { margin: 0 0 12px; color: var(--olive-dark); font-family: var(--serif); font-size: clamp(24px, 2vw, 32px); font-weight: 600; letter-spacing: .02em; }
.family-name { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(18px, 1.7vw, 24px); line-height: 1.7; }
.family-address { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase; }

.story {
  position: relative;
  padding-top: 72px;
  padding-bottom: 110px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(244,240,233,.55));
}
.section-heading { max-width: 620px; margin: 0 auto; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
h2 { margin: 0; color: var(--olive-dark); font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); font-weight: 500; line-height: 1.03; }
h2 em { color: var(--rose); font-weight: 400; }
.section-heading > p:last-child { margin: 14px 0 0; color: var(--muted); font-family: var(--serif); font-size: 18px; }
.timeline { position: relative; display: grid; max-width: 920px; grid-template-columns: repeat(4, 1fr); margin: 72px auto 78px; }
.timeline::before { position: absolute; top: 7px; right: 8%; left: 8%; height: 1px; background: var(--line); content: ""; }
.timeline-item { position: relative; padding: 31px 20px 0; text-align: center; }
.timeline-dot { position: absolute; top: 0; left: 50%; width: 14px; height: 14px; border: 1px solid var(--rose); border-radius: 50%; background: var(--paper-light); transform: translateX(-50%); }
.timeline-item time { color: var(--rose); font-family: var(--serif); font-size: 19px; }
.timeline-item h3 { margin: 6px 0; color: var(--olive-dark); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.timeline-item p { max-width: 195px; margin: 0 auto; color: var(--muted); font-size: 12px; line-height: 1.6; }
.wedding-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 4px 8px 4px 4px; }
.gallery-photo { overflow: hidden; margin: 0; aspect-ratio: .78; border-radius: 18px; background: #e4dfd5; cursor: zoom-in; opacity: 0; transform: translateY(20px) scale(.98); filter: blur(7px); transition: opacity .75s ease, transform .75s ease, filter .75s ease; }
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transform: scale(1.04); filter: saturate(.88) contrast(1.02); transition: transform .8s ease, filter .35s ease; }
.gallery-photo.is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
.gallery-photo.is-visible img { transform: scale(1); }
.gallery-photo:hover img,
.gallery-photo:focus-visible img { transform: scale(1.06); filter: saturate(1.05) contrast(1.06) blur(.2px); }
.gallery-photo:nth-child(2n) { transition-delay: .08s; }
.gallery-photo:nth-child(3n) { transition-delay: .16s; }
.gallery-photo:nth-child(4n) { transition-delay: .24s; }
.gallery-photo:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.countdown { padding-top: 18px; padding-bottom: 0; text-align: center; }
.countdown .eyebrow { justify-content: center; }
.countdown h2 { max-width: 760px; margin: 0 auto 24px; font-size: clamp(30px, 3.4vw, 48px); }
.countdown-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 680px; margin: 0 auto; }
.countdown-item { display: grid; gap: 10px; min-height: 130px; padding: 18px 10px 14px; border: 1px solid rgba(111, 114, 87, .2); background: rgba(255,255,255,.18); }
.countdown-item span { color: var(--olive-dark); font-family: var(--serif); font-size: clamp(32px, 3.8vw, 48px); font-weight: 600; line-height: 1; }
.countdown-item small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.gallery-lightbox { position: fixed; inset: 0; box-sizing: border-box; width: min(94vw, 680px); max-width: none; max-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px); max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px); margin: auto; overflow: auto; padding: 54px 12px 12px; border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); box-shadow: 0 18px 70px rgba(0, 0, 0, .35); }
.gallery-lightbox::backdrop { background: rgba(25, 26, 22, .82); }
.gallery-lightbox figure { display: grid; justify-items: center; gap: 10px; margin: 0; }
.gallery-lightbox img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 140px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); max-height: calc(100dvh - 140px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); object-fit: contain; }
.gallery-lightbox figcaption { color: var(--olive-dark); font-family: var(--serif); font-size: 17px; text-align: center; }
.gallery-lightbox-close { position: absolute; z-index: 1; top: 8px; right: 8px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); cursor: pointer; font-size: 26px; line-height: 1; }

.celebration { padding: 104px 0 112px; background-color: #e9e7dc; background-image: radial-gradient(rgba(95, 88, 66, .12) .55px, transparent .55px); background-size: 7px 7px; }
.celebration .section-heading { margin-bottom: 48px; }
.event-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; position: relative; }
.event-timeline::before { content: ""; position: absolute; top: 46px; left: 10%; right: 10%; height: 1px; background: rgba(111, 114, 87, .25); }
.event-card { position: relative; display: grid; grid-template-columns: 90px 1fr; gap: 18px; min-height: 230px; padding: 26px 20px 20px; background: rgba(255,255,255,.22); border: 1px solid rgba(111, 114, 87, .2); }
.event-meta { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 10px; }
.event-meta::before { content: ""; position: absolute; inset: 8px auto auto 50%; width: 14px; height: 14px; border: 1px solid var(--rose); border-radius: 50%; background: #e9e7dc; transform: translateX(-50%); }
.event-day { color: var(--olive-dark); font-family: var(--serif); font-size: clamp(34px, 3vw, 48px); line-height: 1; }
.event-month { margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.event-content { display: grid; align-content: start; }
.event-label { margin: 0 0 8px; color: var(--rose); }
.event-card h3 { margin: 0; color: var(--olive-dark); font-family: var(--serif); font-size: clamp(28px, 2.2vw, 34px); font-weight: 500; }
.event-time { margin: 12px 0 10px; font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.event-time span { color: var(--rose); }
.event-card address { margin-bottom: 14px; color: var(--muted); font-size: 12px; font-style: normal; }
.event-note { margin: 24px 0 0; color: var(--muted); font-family: var(--serif); font-size: 18px; font-style: italic; text-align: center; }

.rsvp { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 9%; padding-top: 120px; padding-bottom: 120px; }
.rsvp-photo { position: relative; padding: 0 8% 8% 0; }
.rsvp-photo::after { position: absolute; z-index: -1; right: 0; bottom: 0; width: 80%; height: 83%; border: 1px solid var(--rose); content: ""; }
.rsvp-photo img { aspect-ratio: .83; object-fit: cover; }
.rsvp-content h2 { max-width: 500px; }
.rsvp-intro { max-width: 430px; margin: 17px 0 26px; color: var(--muted); font-family: var(--serif); font-size: 19px; }
.form-stack { display: grid; gap: 16px; }
.form-stack > label, .wish-form > label { display: grid; gap: 6px; color: var(--olive-dark); font-size: 11px; font-weight: 700; }
input:not([type="radio"]), select, textarea { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 0; outline: none; background: rgba(255,255,255,.55); color: var(--ink); font-size: 13px; }
input:focus, select:focus, textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 2px rgba(111, 114, 87, .12); }
input::placeholder, textarea::placeholder { color: #999589; }
fieldset { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0; border: 0; }
fieldset legend { margin-bottom: 9px; color: var(--olive-dark); font-size: 11px; font-weight: 700; }
.radio-option { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.radio-option input { accent-color: var(--olive); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 21px; padding: 0 20px; border: 1px solid var(--olive-dark); cursor: pointer; font-size: 11px; font-weight: 700; transition: background .2s, color .2s; }
.button-dark { width: fit-content; background: var(--olive-dark); color: #fff; }
.button-dark:hover { background: transparent; color: var(--olive-dark); }
.button-outline { background: transparent; color: var(--olive-dark); }
.button-outline:hover { background: var(--olive-dark); color: white; }
.form-feedback { min-height: 1.2em; margin: -5px 0 0; color: var(--olive-dark); font-size: 12px; }

.guestbook { padding: 103px 0 110px; background: var(--olive-dark); color: var(--paper-light); }
.guestbook .eyebrow { color: #d5c7a6; }
.guestbook h2 { color: var(--paper-light); }
.guestbook h2 em { color: #dba89c; }
.guestbook .section-heading > p:last-child { color: #d4d3c9; }
.guestbook-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 9%; margin-top: 57px; }
.wish-list { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 15px; }
.wish-card { min-height: 170px; padding: 18px 20px; border: 1px solid rgba(246, 243, 237, .23); }
.wish-mark { color: #dba89c; font-family: var(--serif); font-size: 43px; line-height: .8; }
.wish-card p { margin: 3px 0 15px; color: #e6e2d9; font-family: var(--serif); font-size: 17px; line-height: 1.4; }
.wish-card strong { color: #d5c7a6; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.wish-form { display: grid; align-content: start; gap: 14px; }
.wish-form > label { color: #f6f3ed; }
.wish-form input, .wish-form textarea { border-color: rgba(246, 243, 237, .35); background: rgba(255,255,255,.06); color: white; }
.wish-form input::placeholder, .wish-form textarea::placeholder { color: #c3c0b6; }
.wish-form .button-outline { justify-self: start; border-color: #d5c7a6; color: white; }
.wish-form .button-outline:hover { background: #d5c7a6; color: var(--ink); }
.wish-form .form-feedback { color: #e8d4a9; }

.site-footer { display: grid; justify-items: center; padding: 34px 24px 27px; border-top: 1px solid var(--line); text-align: center; }
.site-footer p { margin: 5px 0 15px; color: var(--muted); font-family: var(--serif); font-size: 17px; }
.site-footer > span { color: var(--olive); font-size: 8px; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 22px; max-width: calc(100% - 44px); padding: 12px 17px; background: var(--olive-dark); color: white; font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.music-toggle { position: fixed; z-index: 8; right: 20px; bottom: 20px; display: inline-flex; min-height: 46px; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--olive-dark); background: var(--paper-light); color: var(--olive-dark); box-shadow: 0 4px 16px rgba(40, 40, 33, .12); cursor: pointer; font-size: 11px; font-weight: 700; }
.music-toggle:hover { background: var(--olive-dark); color: var(--paper-light); }
.music-icon { font-family: var(--serif); font-size: 21px; line-height: 1; }
.music-toggle.is-playing .music-icon { animation: music-pulse 1.1s ease-in-out infinite alternate; }
.scroll-toggle { position: fixed; z-index: 8; right: 20px; bottom: 76px; display: inline-flex; min-height: 46px; align-items: center; gap: 9px; padding: 0 15px; border: 1px solid var(--olive-dark); background: var(--paper-light); color: var(--olive-dark); box-shadow: 0 4px 16px rgba(40, 40, 33, .12); cursor: pointer; font-size: 11px; font-weight: 700; }
.scroll-toggle:hover, .scroll-toggle.is-scrolling { background: var(--olive-dark); color: var(--paper-light); }
.scroll-icon { font-size: 17px; line-height: 1; }
@keyframes music-pulse { to { transform: translateY(-2px) rotate(9deg); } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.wedding-gallery.reveal,
.wedding-gallery.reveal.is-visible { transform: none; }

@media (max-width: 800px) {
  .site-header { min-height: 70px; padding-inline: 6%; }
  .menu-toggle { display: grid; width: 42px; height: 42px; align-content: center; justify-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper-light); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--olive-dark); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { position: absolute; top: 69px; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 6% 14px; border-bottom: 1px solid var(--line); background: var(--paper-light); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 11px 0; border-top: 1px solid rgba(216,210,197,.55); }
  .hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 2%; padding-top: 125px; padding-bottom: 82px; }
  .hero-copy { padding-left: 0; }
  .hero h1 { font-size: clamp(57px, 10vw, 85px); }
  .hero-message { font-size: 17px; }
  .hero-date { gap: 8px; font-size: 8px; }
  .hero-art { padding-right: 11%; }
  .scroll-cue { left: 0; }
  .rsvp { gap: 6%; }
  .wedding-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .section-wrap { width: min(100% - 40px, 470px); }
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 112px; padding-bottom: 76px; }
  .hero-copy { padding-top: 0; }
  .hero .eyebrow { margin-bottom: 13px; }
  .hero-kicker { margin-bottom: 14px; font-size: 19px; }
  .hero h1 { font-size: clamp(68px, 18vw, 92px); }
  .hero h1 i { margin-block: 5px; }
  .hero-message { max-width: 340px; margin-top: 23px; font-size: 17px; }
  .hero-date { margin-top: 22px; }
  .hero-art { width: 86%; max-width: 410px; justify-self: center; padding: 0 11% 11% 0; }
  .photo-frame-main { aspect-ratio: .91; }
  .photo-frame-small { right: -3%; width: 36%; }
  .hero-stamp { right: 0; width: 61px; font-size: 19px; }
  .hero-caption { right: 7%; bottom: -27px; font-size: 14px; }
  .scroll-cue { bottom: 25px; }
  .story { padding-top: 82px; padding-bottom: 83px; }
  .section-heading > p:last-child { font-size: 16px; }
  .wedding-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .wedding-gallery { grid-auto-rows: clamp(190px, 52vw, 300px); align-content: start; }
  .gallery-photo { height: 100%; aspect-ratio: auto; }
  .timeline { grid-template-columns: 1fr; row-gap: 25px; margin: 46px auto 58px; padding-left: 25px; }
  .timeline::before { top: 6px; right: auto; bottom: 6px; left: 5px; width: 1px; height: auto; }
  .timeline-item { min-height: 0; padding: 0; text-align: left; }
  .timeline-dot { top: 5px; left: -25px; right: auto; width: 12px; height: 12px; transform: none; }
  .timeline-item time { font-size: 17px; }
  .timeline-item h3 { font-size: 20px; }
  .timeline-item p { max-width: 290px; margin: 0; font-size: 12px; }
  .celebration { padding: 78px 0 80px; }
  .celebration .section-heading { margin-bottom: 37px; }
  .event-timeline { grid-template-columns: 1fr; gap: 12px; }
  .event-timeline::before { display: none; }
  .event-card { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; min-height: 0; padding: 22px 16px; }
  .event-meta { justify-content: flex-start; padding-top: 0; }
  .event-meta::before { display: none; }
  .event-number { top: 24px; right: 22px; }
  .event-card h3 { font-size: 29px; }
  .event-time { margin: 10px 0; font-size: 18px; }
  .rsvp { grid-template-columns: 1fr; gap: 41px; padding-top: 81px; padding-bottom: 83px; }
  .rsvp-photo { width: 78%; justify-self: center; }
  .rsvp-photo img { aspect-ratio: 1; }
  .rsvp-content h2 { font-size: 47px; }
  .rsvp-intro { font-size: 17px; }
  fieldset { gap: 10px 15px; }
  .guestbook { padding: 78px 0 82px; }
  .guestbook-layout { grid-template-columns: 1fr; gap: 30px; margin-top: 38px; }
  .wish-list { gap: 10px; }
  .wish-card { min-height: 150px; padding: 14px; }
  .wish-card p { font-size: 15px; }
  .site-footer { padding-inline: 20px; }
  .site-footer p { max-width: 300px; font-size: 16px; }
  .music-toggle { right: 12px; bottom: 12px; min-height: 42px; padding-inline: 12px; }
  .scroll-toggle { right: 12px; bottom: 62px; min-height: 42px; padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
