@font-face{font-family:"Cinzel Decorative";src:url("assets/fonts/cinzel-decorative.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Cinzel Decorative";src:url("assets/fonts/cinzel-decorative-bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url("assets/fonts/cormorant-regular.woff2") format("woff2");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url("assets/fonts/cormorant-italic.woff2") format("woff2");font-style:italic;font-weight:400 700;font-display:swap}
@font-face{font-family:"Mea Culpa";src:url("assets/fonts/mea-culpa.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Montserrat;src:url("assets/fonts/montserrat.woff2") format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:"Playfair Display";src:url("assets/fonts/playfair-display.woff2") format("woff2");font-weight:500 700;font-display:swap}
@font-face{font-family:Marcellus;src:url("assets/fonts/marcellus.woff2") format("woff2");font-weight:400;font-display:swap}

:root {
  --paper: #FCF6F3;
  --ivory: #FFFAF8;
  --blush: #F4E1DC;
  --rose: #9B635F;
  --rose-dark: #86514F;
  --ink: #584345;
  --body-ink: #453739;
  --muted: #816B6C;
  --line: #CEACA9;
  --display: "Cinzel Decorative", Georgia, serif;
  --body: "Cormorant Garamond", Georgia, serif;
  --caps: Montserrat, Arial, sans-serif;
  --nav-height: 76px;
  --music-height: 64px;
  /* The main invitation's translucent surface lets the floral texture show softly. */
  --invitation-card-background: radial-gradient(ellipse 115% 92% at 50% 49%,#fdf3eff0 0%,#fdf3efdb 54%,#fdf3ef00 92%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; scroll-padding-bottom: calc(var(--nav-height) + var(--music-height) + env(safe-area-inset-bottom) + 16px); }
body { margin: 0; isolation: isolate; background: var(--paper); color: var(--body-ink); font: 18px/1.6 var(--body); overflow-x: clip; }
body.sealed { overflow: hidden; }
[hidden] { display: none !important; }
button,a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; color: inherit; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; }
button:focus-visible,a:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 5px; }
p,h1,h2,h3,figure,blockquote { margin: 0; }
.poem { white-space: pre-line; overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
button img,a img { flex-shrink: 0; }
ol,ul { padding: 0; margin: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.no-script { padding: 40px 24px; text-align: center; background: var(--ivory); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 500; padding: 10px 18px; background: var(--ivory); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.script { font: 400 1em "Mea Culpa",cursive; text-transform: none; letter-spacing: 0; color: var(--rose); }
.eyebrow { font: 500 11px/1.9 var(--caps); text-transform: uppercase; letter-spacing: .26em; color: var(--rose-dark); text-wrap: balance; }
.monogram { display: inline-flex; align-items: baseline; justify-content: center; gap: .1em; font: 400 32px/1.2 var(--display); letter-spacing: .06em; color: var(--ink); }
.monogram .script { font-size: 1.1em; }
.invitation-backdrop { position: fixed; z-index: -2; inset: 0; pointer-events: none; background: linear-gradient(#fcf6f366,#fcf6f366),url("assets/blush/backdrop-mobile.webp") center / cover no-repeat; }

/* Original Blush Seal artwork with separate, editable HTML lettering. */
.opening { position: fixed; inset: 0; z-index: 600; overflow: hidden; isolation: isolate; background: #F8E9E7; transition: opacity .9s ease; }
.opening-wash { position: absolute; z-index: -1; inset: 0; background: linear-gradient(#f8e9e759,#f8e9e759),url("assets/blush/backdrop-web.webp") center / cover; }
.envelope-art { position: absolute; inset: 0; perspective: 1200px; }
.envelope-base,.envelope-flap { position: absolute; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.envelope-flap { clip-path: polygon(0 0,100% 0,100% 3%,50% 43%,0 3%); transform-origin: 50% 0; backface-visibility: hidden; }
.seal-button { position: absolute; z-index: 3; left: 50%; top: 49%; transform: translate(-50%,-50%); width: max(34%,132px); aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; }
.seal-button::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid #9b635f66; opacity: 0; transition: opacity .3s,transform .3s; }
.seal-button:hover::after { opacity: 1; transform: scale(1.04); }
.seal-button:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 5px; }
.envelope-copy { position: absolute; isolation: isolate; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: max(6.5svh,calc(env(safe-area-inset-top) + 26px)) 24px max(6.5svh,calc(env(safe-area-inset-bottom) + 26px)); text-align: center; pointer-events: none; }
.envelope-copy::before,.envelope-copy::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; height: 40%; }
.envelope-copy::before { top: 0; background: linear-gradient(#f8e9e7eb,#f8e9e7b3 55%,transparent); }
.envelope-copy::after { bottom: 0; height: 34%; background: linear-gradient(0deg,#f8e9e7eb,#f8e9e7a6 55%,transparent); }
.envelope-introduction { display: flex; width: 100%; max-width: 448px; flex-direction: column; align-items: center; gap: clamp(6px,1.25svh,13px); text-shadow: 0 0 18px #fcf6f3f2,0 0 6px #fcf6f3e6; }
.envelope-introduction .eyebrow { max-width: 36ch; font-size: 10px; letter-spacing: .28em; }
.envelope-supporting { font: italic 16px/1.4 var(--body); color: var(--ink); }
.envelope-names { width: 100%; font: 400 clamp(22px,min(6.4vw,4.5svh),38px)/1.05 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--ink); overflow-wrap: anywhere; }
.envelope-names > span { display: block; }
.envelope-names .ampersand { margin: 6px 0; font-size: .9em; line-height: .9; }
.envelope-date { font: 12px/1.6 var(--caps); letter-spacing: .3em; }
.envelope-welcome { display: grid; gap: clamp(12px,2svh,22px); }
.envelope-message { font: italic 18px/1.5 var(--body); color: var(--ink); text-shadow: 0 0 18px #fcf6f3f2,0 0 6px #fcf6f3e6; }
.seal-hint { font: 500 11px/1.7 var(--caps); text-transform: uppercase; letter-spacing: .24em; color: var(--ink); text-shadow: 0 0 18px #fcf6f3f2,0 0 6px #fcf6f3e6; animation: hint-breathe 3s ease-in-out infinite; }
.opening.is-opening { opacity: 0; pointer-events: none; transition-delay: .2s; }
.is-opening .envelope-flap { animation: flap-open .8s ease-in forwards; }
.is-opening .envelope-base { animation: envelope-away 1.1s ease-in forwards; }
.is-opening .envelope-copy { opacity: 0; transition: opacity .35s; }
@keyframes flap-open { to { transform: rotateX(155deg); opacity: 0; } }
@keyframes envelope-away { 35% { transform: translateY(0); } to { transform: translateY(24%); opacity: 0; } }
@keyframes hint-breathe { 50% { opacity: .65; } }

.masthead { position: sticky; top: 0; z-index: 200; display: flex; align-items: center; justify-content: center; min-height: 68px; padding: max(15px,env(safe-area-inset-top)) 24px 15px; background: #fcf6f3d1; backdrop-filter: blur(10px); border-bottom: 1px solid #9b635f47; }
.masthead > .monogram { font-size: 24px; padding: 3px 10px; }
.invitation-controls { position: fixed; z-index: 300; left: 0; right: 0; bottom: 0; background: #fcf6f3f5; backdrop-filter: blur(14px); box-shadow: 0 -10px 30px -18px #43212d66; }
.music-controls { position: fixed; z-index: 301; right: max(16px,env(safe-area-inset-right)); bottom: calc(var(--nav-height) + env(safe-area-inset-bottom) + 12px); display: flex; }
.music-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 138px; min-height: 44px; padding: 9px 14px; border: 2px solid transparent; border-radius: 24px; background: linear-gradient(135deg,#fffaf8,#f4e1dc) padding-box,linear-gradient(135deg,#fffefa,#b4babe 45%,#e5e7e5 65%,#9ba1a4) border-box; box-shadow: inset 1px 1px 1px #ffffffb3,0 3px 8px #5843451a; color: var(--ink); font: 500 11px/1.4 var(--caps); }
.music-toggle:hover { color: var(--rose-dark); }
.music-icon { flex-shrink: 0; }
.music-pause { display: none; }
.music-toggle[aria-pressed="true"] .music-play { display: none; }
.music-toggle[aria-pressed="true"] .music-pause { display: block; }
.music-indicator { width: 6px; height: 6px; border-radius: 50%; background: #CEACA9; }
.music-toggle[aria-pressed="true"] .music-indicator { background: var(--rose-dark); box-shadow: 0 0 6px #9b635f66; }
.section { position: relative; width: min(100%,1152px); margin: 0 auto; padding: 64px 24px; scroll-margin-top: 18px; }
.hero { display: grid; align-items: center; gap: 40px; padding-top: 40px; padding-bottom: 56px; text-align: center; outline: 0; }
.photo-arch {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 4px solid transparent;
  border-radius: 260px 260px 18px 18px;
  background:
    linear-gradient(#c6c9c9,#c6c9c9) padding-box,
    linear-gradient(135deg,#fffefa 0%,#e8e9e8 18%,#adb3b5 40%,#f4f5f2 54%,#c4c8c9 72%,#92999c 100%) border-box;
  box-shadow: -1px -1px 1px #ffffffb3,1px 2px 3px #62696c33,0 30px 60px -34px #43212d73;
}
/* The inner silver rim meets the artwork; no inset space or hover zoom. */
.photo-arch::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #f9faf7a6;
  border-radius: 256px 256px 14px 14px;
  box-shadow: inset 1px 1px 2px #727a7d66,inset -1px -1px 1px #ffffffb3;
  pointer-events: none;
}
.photo-arch img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Source proportions keep the couple, invitation lettering and hands in view. */
.hero-portrait { width: min(88%,380px); aspect-ratio: 1086/1448; justify-self: center; }
.invitation-copy { display: flex; min-width: 0; width: min(100%,576px); justify-self: center; flex-direction: column; align-items: center; gap: 20px; padding: 36px 20px; border-radius: 36px; background: var(--invitation-card-background); backdrop-filter: blur(3px); }
.family-introduction { max-width: 32ch; line-height: 1.9; }
.couple-names { display: flex; width: 100%; flex-direction: column; align-items: center; line-height: 1.1; font-weight: 400; }
.person-name { max-width: 100%; font: 400 clamp(32px,8.2vw,66px)/1.1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); overflow-wrap: anywhere; }
.joining { margin: 10px 0 16px; font-size: clamp(32px,5vw,42px); color: #9D8082; }
.invitation-request { max-width: 30ch; font-size: 20px; font-style: italic; text-wrap: balance; }
.invitation-body { max-width: 32ch; font-size: 19px; line-height: 1.65; }
.divider { display: flex; align-items: center; justify-content: center; gap: 13px; margin: 4px 0; }
.divider::before,.divider::after { content: ""; width: 52px; height: 1px; background: linear-gradient(90deg,transparent,var(--rose)); }
.divider::after { transform: rotate(180deg); }
.divider > span { width: 6px; height: 6px; border: 1px solid var(--rose); transform: rotate(45deg); }
.wedding-date { display: flex; flex-direction: column; gap: 8px; }
.wedding-date > .eyebrow { font-size: 12px; letter-spacing: .14em; color: var(--ink); }
.wedding-date > .reception-time { font-size: 11px; color: var(--rose-dark); }
.wedding-date > .venue-line { font-size: 10px; color: var(--muted); letter-spacing: .16em; }

.countdown { position: relative; isolation: isolate; overflow: hidden; padding: 64px 24px; border-block: 1px solid #9b635f66; background: radial-gradient(130% 95% at 50% 0%,#fffaf8e6,transparent 60%),radial-gradient(95% 75% at 50% 122%,#9b635f29,transparent 60%),linear-gradient(135deg,#F7E6E1,#EED2CA); color: var(--ink); text-align: center; }
.countdown::before { content: ""; position: absolute; inset: 12px; border: 1px solid #9b635f52; border-radius: 6px; pointer-events: none; }
.countdown-ornament { position: absolute; z-index: -1; bottom: 0; left: 50%; width: min(116%,900px); max-width: none; transform: translateX(-50%); opacity: .26; }
.countdown-inner { max-width: 896px; margin: 0 auto; }
.countdown h2 { font-weight: 400; }
.countdown-intro { display: block; font-size: clamp(32px,4vw,42px); line-height: 1.35; }
.countdown-supporting { margin-top: 18px; font-size: 19px; }
.divider.light { margin: 20px 0 36px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; max-width: 512px; margin: 0 auto; }
.countdown-card { display: flex; min-width: 0; aspect-ratio: 3/4; flex-direction: column; align-items: center; justify-content: center; padding: 8px 3px; border: 1px solid #9b635f73; border-radius: 12px; background: linear-gradient(#fffaf8eb,#fdf1edb3); box-shadow: 0 16px 34px -18px #58434566,inset 0 1px #ffffffe6; }
.countdown-number { font: 600 clamp(27px,6.5vw,54px)/1 "Playfair Display",serif; font-variant-numeric: tabular-nums; }
.countdown-unit { display: flex; flex-direction: column; align-items: center; font: 10px/1.4 var(--caps); text-transform: uppercase; letter-spacing: .04em; color: var(--rose-dark); }
.countdown-unit::before { content: ""; width: 24px; height: 1px; margin: 9px 0; background: var(--line); }
.countdown-caption { margin-top: 28px; font-size: 10px; letter-spacing: .2em; color: var(--ink); }

.section-heading { margin-bottom: 44px; text-align: center; text-shadow: 0 0 15px #fcf6f3,0 0 5px #fcf6f3; }
.section-heading > .eyebrow { margin-bottom: 12px; }
.section-heading h2 { font: 400 clamp(23px,3.6vw,40px)/1.4 var(--display); text-transform: uppercase; letter-spacing: .055em; color: var(--ink); overflow-wrap: break-word; text-wrap: balance; }
.section-heading h2 > span { color: var(--rose-dark); }
.section-heading .divider { margin-top: 20px; }
.guest-note-grid { display: grid; gap: 36px; align-items: center; }
.guest-note-portrait { width: 100%; max-width: 480px; aspect-ratio: 1029/1528; justify-self: center; }
.guest-note-body { min-width: 0; padding: 28px 24px; border: 1px solid #9b635f33; border-radius: 26px; text-align: center; font-size: 21px; line-height: 1.75; }
.arch-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: clamp(56px,6vw,78px) 28px 40px; border: 1px solid #9b635f4d; border-radius: 999px 999px 18px 18px; background: var(--ivory); box-shadow: 0 16px 36px -26px #43212d66; text-align: center; }
.event-card { width: min(100%,520px); margin: 0 auto; padding-bottom: 32px; }
.icon-disc { display: grid; flex-shrink: 0; place-items: center; width: 64px; height: 64px; margin-bottom: 5px; border: 1px solid var(--line); border-radius: 50%; background: #FDF1ED; }
.icon-disc img { width: 28px; height: 28px; }
.arch-card h3,.venue-address h3 { font: 400 clamp(18px,2.9vw,23px)/1.4 Marcellus,Georgia,serif; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); }
.event-time { max-width: 100%; font: 500 clamp(21px,5.5vw,30px)/1.4 "Playfair Display",serif; color: var(--ink); text-wrap: balance; }
.event-card .event-date { margin-top: 5px; font: 500 10px/1.8 var(--caps); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.small-rule { display: block; height: 1px; width: 40px; margin: 5px 0; background: var(--line); }
.event-card p { font-size: 18px; color: var(--muted); }
.event-card .event-note { max-width: 28ch; font-size: 17px; }
.calendar-wrap { max-width: 448px; margin: 34px auto 0; text-align: center; }
.calendar-button { display: flex; width: 100%; align-items: center; gap: 14px; padding: 17px 18px; border: 1px solid #9b635f66; border-radius: 18px; box-shadow: 0 12px 24px -16px #43212d66; text-align: left; transition: transform .25s; }
.calendar-button:hover { transform: translateY(-2px); }
.calendar-button .icon-disc { width: 46px; height: 46px; margin: 0; }
.calendar-button .icon-disc img { width: 23px; height: 23px; }
.calendar-button > span:nth-child(2) { min-width: 0; }
.calendar-title { display: block; color: var(--ink); font: 19px/1.4 Marcellus,Georgia,serif; }
.calendar-description { display: block; margin-top: 4px; font-size: 15px; line-height: 1.3; color: var(--muted); }
.download-arrow { margin-left: auto; width: 18px; height: 18px; }
.time-zone { margin-top: 10px; color: var(--ink); font: 10px/1.6 var(--caps); letter-spacing: .04em; }
.action-status { font-size: 15px; color: var(--ink); }
.action-status:empty { display: none; }
.venue-welcome { margin-top: 14px; font-size: 19px; }

.venue-grid { display: grid; align-items: center; gap: 25px; }
.venue-address { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 28px; border: 1px solid #9b635f4d; border-radius: 90px 90px 18px 18px; box-shadow: 0 16px 36px -26px #43212d66; text-align: center; }
/* Reuse the main card's gradient and backdrop texture, clipped to each existing shape. */
.guest-note-body,.venue-address,.event-card,.calendar-button { position: relative; isolation: isolate; overflow: hidden; background: var(--invitation-card-background); background-clip: padding-box; backdrop-filter: blur(3px); }
.venue-address .script { font-size: 30px; line-height: 1; color: #9D8082; }
.venue-address h3 { font-size: 20px; }
.venue-address address { font-size: 18px; font-style: normal; color: var(--muted); }
.venue-directions { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.map-frame { position: relative; width: 100%; min-height: 300px; overflow: hidden; border: 1px solid #9b635f59; border-radius: 18px; background: var(--paper); box-shadow: 0 30px 60px -34px #43212d73; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) saturate(.9); }
.rose-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 28px; border-radius: 99px; background: linear-gradient(135deg,#745C5E,#483739); color: #FDF1ED; font: 600 11px/1.5 var(--caps); letter-spacing: .15em; text-transform: uppercase; box-shadow: 0 14px 26px -14px #3a2a2db3; transition: transform .25s; }
.rose-button img { filter: brightness(0) invert(.95); }
.rose-button:hover { transform: translateY(-2px); }
.map-help { color: var(--ink); font-size: 15px; line-height: 1.4; text-align: center; text-shadow: 0 0 10px var(--paper); }
.closing { padding-top: 40px; padding-bottom: calc(var(--nav-height) + var(--music-height) + env(safe-area-inset-bottom) + 56px); }
.closing-card { position: relative; isolation: isolate; overflow: hidden; padding: 56px 22px; border: 1px solid #9b635f6b; border-radius: clamp(40px,8vw,90px) clamp(40px,8vw,90px) 30px 30px; background: radial-gradient(120% 80% at 50% 0%,#fffaf8e6,transparent 58%),radial-gradient(100% 78% at 50% 120%,#9b635f29,transparent 60%),linear-gradient(165deg,#F8EAE6,#EDCFC6); box-shadow: 0 40px 80px -44px #43212d73; color: var(--ink); text-align: center; }
.closing-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid #9b635f4d; border-radius: clamp(30px,7vw,78px) clamp(30px,7vw,78px) 20px 20px; pointer-events: none; }
.closing-ornament { position: absolute; z-index: -1; bottom: 0; left: 50%; width: min(122%,640px); max-width: none; transform: translateX(-50%); opacity: .18; }
.closing-date { margin: 16px 0; font: 500 clamp(25px,7vw,76px)/1.3 "Playfair Display",serif; letter-spacing: .025em; }
.closing-note { margin-bottom: 24px; font-size: clamp(32px,4vw,40px); line-height: 1.3; }
.closing-names { margin: 10px 0 28px; font: 400 16px/1.7 var(--display); letter-spacing: .035em; text-wrap: balance; }
.closing-body { font-size: 20px; line-height: 1.7; }
.bottom-nav { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); min-height: calc(var(--nav-height) + env(safe-area-inset-bottom)); padding: 6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left)); border-top: 1px solid #9b635f73; background: #f4e1dceb; }
.bottom-nav a { display: flex; min-width: 0; min-height: 62px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 9px; color: var(--ink); font: 500 10px/1.5 var(--caps); text-transform: uppercase; letter-spacing: .06em; transition: background .25s; }
.bottom-nav a[aria-current="location"] { background: #fffaf899; color: var(--ink); }
.bottom-nav a:hover { background: #fffaf866; }
.bottom-nav a:focus-visible { outline-offset: -4px; }
.petals { position: fixed; z-index: 6; inset: 0; pointer-events: none; overflow: hidden; }
.petal-fall { position: absolute; top: -30px; animation: petal-fall var(--duration) linear var(--delay) infinite; }
.petal { display: block; width: var(--size); height: var(--size); border-radius: 52% 0 52% 52%; background: radial-gradient(circle at 32% 28%,#FFFFFF,var(--petal-colour)); opacity: .4; box-shadow: 0 1px 3px #704a4d1a; animation: petal-sway 5s ease-in-out infinite alternate; }
@keyframes petal-fall { to { transform: translateY(calc(100vh + 50px)) rotate(240deg); } }
@keyframes petal-sway { to { transform: translateX(22px) rotate(45deg); } }
.motion-ready .reveal { transition: opacity .85s ease,transform .85s ease; }
.motion-ready .reveal.is-waiting { opacity: 0; transform: translateY(18px); }

@media (min-width: 640px) {
  .section { padding: 96px 28px; }
  .hero { padding-top: 64px; padding-bottom: 80px; }
  .hero-portrait { width: min(100%,440px); }
  .invitation-copy { padding: 36px 32px; }
  .person-name { font-size: 58px; }
  .wedding-date > .eyebrow { font-size: 14px; }
  .wedding-date > .reception-time { font-size: 12px; }
  .wedding-date > .venue-line { font-size: 11px; }
  .countdown { padding-block: 96px; }
  .countdown::before { inset: 20px; }
  .countdown-grid { gap: 16px; }
  .countdown-card { border-radius: 16px; }
  .countdown-unit { font-size: 11px; letter-spacing: .16em; }
  .section-heading { margin-bottom: 56px; }
  .guest-note-body { padding: 32px; }
  .closing { padding-bottom: calc(var(--nav-height) + var(--music-height) + env(safe-area-inset-bottom) + 65px); }
  .closing-card { padding: 72px 60px; }
  .closing-names { font-size: 21px; }
}
@media (min-width: 768px) {
  .invitation-backdrop { background-image: linear-gradient(#fcf6f366,#fcf6f366),url("assets/blush/backdrop-web.webp"); }
  .hero { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 48px; }
  .hero-portrait { order: 2; }
  .invitation-copy { order: 1; padding-inline: 20px; }
  .person-name { font-size: clamp(34px,4.8vw,58px); }
  .guest-note-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
  .venue-grid { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 32px; }
  .invitation-controls { left: 50%; right: auto; width: min(560px,100%); transform: translateX(-50%); overflow: hidden; border: 1px solid #c4c8c9; border-bottom: 0; border-radius: 20px 20px 0 0; }
  .envelope-art { inset: auto; top: 50%; left: 50%; height: 92svh; aspect-ratio: 9/16; max-width: 100%; transform: translate(-50%,-50%); box-shadow: 0 40px 90px -30px #442a2d73; }
  .envelope-copy { inset: auto; top: 50%; left: 50%; height: 92svh; aspect-ratio: 9/16; max-width: 100%; transform: translate(-50%,-50%); }
}
@media (min-width: 1024px) {
  .guest-note-grid { gap: 64px; }
}
@media (min-aspect-ratio: 23/20) {
  .envelope-art { inset: auto; left: 55%; top: 50%; height: 88svh; width: auto; aspect-ratio: 9/16; transform: translateY(-50%); box-shadow: 0 40px 90px -30px #442a2d73; }
  .envelope-copy { inset: auto; right: 49%; top: 50%; width: min(41vw,500px); height: auto; aspect-ratio: auto; max-height: 92svh; transform: translateY(-50%); justify-content: center; gap: clamp(18px,4svh,38px); padding: clamp(24px,4svh,40px) 24px; border: 1px solid #9b635f52; border-radius: 22px; background: #fcf6f3db; box-shadow: 0 30px 70px -40px #442a2d73; backdrop-filter: blur(6px); }
  .envelope-copy::before,.envelope-copy::after { display: none; }
  .envelope-introduction { gap: clamp(10px,2svh,18px); }
  .envelope-names { font-size: clamp(23px,5svh,38px); }
  .seal-button { width: 36%; }
}
@media (max-height: 450px) and (min-aspect-ratio: 23/20) {
  .envelope-copy { gap: 10px; padding: 12px 20px; }
  .envelope-introduction { gap: 7px; }
  .envelope-introduction .eyebrow { font-size: 8px; }
  .envelope-names { font-size: 20px; }
  .envelope-date,.seal-hint { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .petals { display: none; }
  .motion-ready .reveal.is-waiting { opacity: 1; transform: none; }
}
