:root {
  --paper: #fbf6ee;
  --paper-deep: #f2e9dd;
  --rose-paper: #f6eeea;
  --wine: #64162b;
  --wine-deep: #4b1826;
  --rose: #bd7887;
  --sage: #788773;
  --gold: #b89963;
  --gold-ink: #714819;
  --ink: #281e1a;
  --muted: #49352e;
  --line: #d9cbb8;
  --serif: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", Arial, sans-serif;
  --script: "Great Vibes", "Noto Serif Display", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(22px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 35px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.7' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 180px; }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
::selection { background: #e8cbd0; color: var(--wine-deep); }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 6px; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lotus { width: 49px; height: 35px; stroke-width: 1.1; }
.shell { width: min(1080px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section-space { padding-block: 105px; }
.eyebrow { display: block; color: var(--wine); font-size: 12px; font-weight: 600; letter-spacing: .17em; line-height: 1.8; text-transform: uppercase; }
.section-heading { margin: 0 auto 60px; padding-inline: var(--gutter); text-align: center; }
.section-heading h2 { margin-top: 20px; color: var(--wine); font-family: var(--serif); font-size: clamp(34px, 4.3vw, 49px); line-height: 1.45; letter-spacing: -.035em; }
.section-heading h2 em { font-weight: 400; }
.section-heading > p { margin-top: 20px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.tiny-ornament { display: block; color: var(--gold); font-size: 24px; margin-top: 23px; }
.floral { position: absolute; height: auto; pointer-events: none; user-select: none; object-fit: contain; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 150; padding: 10px 16px; background: var(--wine); color: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; z-index: 110; top: 0; left: 0; right: 0; height: 2px; pointer-events: none; }
.reading-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--wine); }

/* Quiet stationery-style navigation. */
.site-header { position: relative; z-index: 5; height: 88px; border-bottom: 1px solid #d9cbb86b; }
.header-inner { height: 100%; width: min(1320px, calc(100% - var(--gutter) * 2)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 15px; min-height: 48px; }
.monogram { position: relative; display: flex; justify-content: center; align-items: center; width: 49px; height: 49px; border: 1px solid var(--gold); border-radius: 50%; color: var(--wine); font-family: var(--serif); font-size: 22px; line-height: 1; letter-spacing: -2px; }
.monogram span { margin: 8px -1px 0; font-family: var(--script); font-size: 20px; }
.brand-description { font-size: 12px; letter-spacing: .19em; color: var(--wine); }
.brand-description > span { display: block; margin-top: 3px; font-family: var(--serif); font-size: 16px; letter-spacing: 0; color: var(--muted); }
.desktop-nav { display: flex; gap: clamp(20px, 2.3vw, 35px); }
.desktop-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
.desktop-nav a::after { content: ""; position: absolute; bottom: 5px; left: 0; right: 0; height: 1px; background: var(--wine); transform: scaleX(0); transition: transform .25s var(--ease); transform-origin: left; }
.header-calendar { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 3px; background: transparent; font-size: 12px; letter-spacing: .08em; color: var(--wine); transition: background .2s; }
.header-calendar .icon { width: 17px; height: 17px; }

/* The cover keeps names and date readable above the fold on a phone. */
.hero { position: relative; display: flex; align-items: center; justify-content: center; min-height: min(820px, calc(100svh - 88px)); isolation: isolate; overflow: hidden; }
.hero-arch { position: absolute; inset: 36px calc(50% - 335px) 42px; border: 1px solid #b899635c; border-radius: 360px 360px 3px 3px; z-index: -1; }
.hero-arch::before { content: ""; position: absolute; inset: 9px; border: 1px solid #b8996329; border-radius: inherit; }
.hero-content { position: relative; z-index: 2; width: min(100%, 620px); padding: 70px 26px 54px; text-align: center; }
.hero-welcome { font-size: 12px; letter-spacing: .17em; color: var(--wine); }
.hero-lotus { display: flex; align-items: center; justify-content: center; gap: 17px; color: var(--gold); margin: 23px 0 15px; }
.hero-lotus > span { width: 37px; height: 1px; background: #b8996373; }
.hero-lotus .lotus { width: 42px; height: 29px; }
.hero-occasion { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: .1em; color: var(--wine); }
.couple-title { display: flex; align-items: center; flex-direction: column; margin-top: 22px; color: var(--wine); font-family: var(--script); font-size: clamp(65px, 7.6vw, 105px); line-height: 1.24; font-weight: 400; }
.couple-title > span:not(.couple-ampersand) { white-space: nowrap; }
.couple-title .couple-ampersand { margin: -4px 0 -5px; font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold-ink); line-height: 1.1; }
.couple-title:focus { outline: none; }
.hero-date { display: flex; align-items: center; justify-content: center; gap: 27px; margin-top: 33px; color: var(--wine); }
.date-wing { display: flex; flex-direction: column; align-items: center; min-width: 90px; gap: 5px; font-size: 12px; line-height: 1.6; letter-spacing: .15em; }
.date-wing > span + span { font-size: 12px; color: var(--muted); letter-spacing: .13em; }
.hero-day { padding: 0 23px; border-inline: 1px solid var(--line); font-family: var(--serif); font-size: 52px; font-weight: 400; line-height: 1.2; }
.hero-quote { margin-top: 23px; font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--wine); }
.hero-time { margin-top: 14px; color: var(--wine); font-size: 18px; font-weight: 600; letter-spacing: .04em; }
.hero-time:not([hidden]) + .hero-quote { margin-top: 14px; }
.venue-time { margin-top: 8px; color: var(--wine); font-size: 18px; font-weight: 600; }
.opening-date > [data-event-time] { display: block; margin-top: 5px; color: var(--wine); font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.scroll-cue { width: fit-content; display: flex; align-items: center; flex-direction: column; gap: 12px; margin: 36px auto 0; color: var(--wine); padding: 5px 15px; }
.scroll-cue > span { font-size: 12px; letter-spacing: .22em; }
.scroll-cue > .icon { width: 18px; height: 18px; animation: nudge-down 2s 3; }
.hero-floral { z-index: 1; width: clamp(340px, 34vw, 520px); max-width: none; }
.hero-floral-left { left: calc(50% - 810px); bottom: 5px; transform: rotate(-7deg); }
.hero-floral-right { right: calc(50% - 790px); top: -5px; transform: rotate(168deg); }
.hero-edition { position: absolute; left: 42px; bottom: 44px; font-size: 12px; letter-spacing: .19em; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }

/* Invitation: a composed page, rather than a stack of interface cards. */
.invitation-section { position: relative; overflow: hidden; border-top: 1px solid #d9cbb862; }
.invitation-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 90px; width: min(940px, calc(100% - var(--gutter) * 2)); }
.invitation-layout.has-no-portrait { grid-template-columns: 1fr; max-width: 600px; }
.invitation-copy { text-align: center; padding-block: 25px; }
.invited-guests { margin-top: 22px; font-family: var(--serif); font-size: 25px; line-height: 1.65; color: var(--wine); }
.invitation-body { margin-top: 25px; font-size: 16px; line-height: 2; }
.invitation-signature { display: flex; flex-direction: column; margin-top: 27px; color: var(--wine); font-family: var(--script); font-size: 45px; line-height: 1.45; }
.signature-and { font-family: var(--serif); color: var(--gold-ink); font-size: 20px; font-style: italic; line-height: 1.1; }
.copy-rule { display: block; width: 45px; height: 1px; background: var(--gold); margin: 29px auto 23px; }
.invitation-note { color: var(--muted); font-size: 16px; line-height: 2; }
.portrait-wrap { position: relative; width: 100%; margin: 10px 0 45px; isolation: isolate; }
.portrait-outline { position: absolute; inset: -13px 12px 14px -13px; border: 1px solid var(--gold); border-radius: 220px 220px 3px 3px; z-index: -1; }
.couple-portrait { width: 100%; height: auto; aspect-ratio: 4/5.2; object-fit: cover; object-position: 50% 62%; border-radius: 220px 220px 3px 3px; }
.portrait-caption { position: relative; z-index: 2; margin-top: 20px; padding: 8px 4px; background: var(--paper); text-align: center; font-family: var(--serif); font-size: 18px; font-style: italic; color: var(--wine); }
.portrait-floral { z-index: 1; width: 235px; max-width: none; bottom: 66px; right: -66px; transform: rotate(10deg); }
.portrait-stamp { position: absolute; top: 52%; left: -36px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; width: 76px; height: 76px; border-radius: 50%; background: var(--paper); outline: 1px solid var(--gold); outline-offset: -6px; color: var(--wine); transform: rotate(-12deg); }
.portrait-stamp .lotus { width: 32px; height: 23px; }
.portrait-stamp > span { font-family: var(--serif); font-size: 16px; letter-spacing: .08em; }
.family-section { display: flex; justify-content: center; gap: 80px; text-align: center; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.family-section h3 { font-family: var(--serif); color: var(--wine); font-size: 22px; margin-bottom: 12px; }
.family-section p { font-size: 16px; }

/* Date and traditional paper calendar. */
.date-section { position: relative; background: var(--rose-paper); border-block: 1px solid #d9cbb88c; }
.date-section .section-heading { margin-bottom: 52px; }
.date-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(50px, 8vw, 120px); width: min(950px, calc(100% - var(--gutter) * 2)); }
.calendar-sheet { padding: 27px 32px 23px; background: var(--paper); border: 1px solid var(--line); box-shadow: 4px 5px 0 -1px var(--rose-paper), 4px 5px 0 0 #d9cbb8a8; transform: rotate(-1.5deg); }
.calendar-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--gold); }
.calendar-caption { font-size: 12px; letter-spacing: .24em; color: var(--muted); }
.calendar-top .lotus { width: 32px; height: 23px; }
.calendar-month { color: var(--wine); font-family: var(--serif); font-size: 26px; line-height: 1.45; padding: 18px 0 21px; text-align: center; }
.calendar-month > span { display: block; margin-top: 4px; font-size: 16px; font-family: var(--sans); letter-spacing: .2em; color: var(--muted); }
.weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.weekdays { color: var(--muted); font-size: 12px; letter-spacing: .08em; margin-bottom: 8px; }
.weekdays span:last-child { color: var(--wine); }
.calendar-days { list-style: none; padding: 0; margin: 0; row-gap: 3px; }
.calendar-days li { position: relative; display: flex; align-items: center; justify-content: center; min-height: 38px; color: var(--ink); font-size: 16px; line-height: 1; }
.calendar-days li.selected { color: var(--paper); }
.calendar-days li.selected > span { position: relative; z-index: 1; }
.calendar-heart { position: absolute; width: 37px; height: 37px; color: var(--wine); fill: var(--wine); stroke-width: .8; top: 3px; }
.calendar-footnote { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); }
.calendar-footnote .icon { width: 12px; height: 12px; color: var(--wine); }
.date-details { text-align: left; }
.ceremony-date { margin: 15px 0 20px; color: var(--wine); font-family: var(--serif); font-size: clamp(31px, 3.3vw, 41px); line-height: 1.4; white-space: nowrap; font-variant-numeric: lining-nums; }
.ceremony-date > span { color: var(--gold); padding-inline: 3px; }
.ceremony-time { margin-bottom: 14px; font-family: var(--serif); color: var(--wine); font-size: 21px; }
.ceremony-description { font-size: 16px; line-height: 2; color: var(--muted); }
.countdown-block { margin-top: 32px; }
.countdown-label { font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.countdown { display: flex; justify-content: flex-start; align-items: flex-start; gap: 16px; margin-top: 14px; }
.countdown > div { text-align: center; min-width: 43px; }
.countdown strong { display: block; font-family: var(--serif); font-size: 36px; font-weight: 400; color: var(--wine); line-height: 1.3; font-variant-numeric: lining-nums tabular-nums; }
.countdown div > span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); letter-spacing: .12em; }
.count-colon { margin-top: 4px; font-family: var(--serif); font-size: 25px; color: #b89963a6; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 50px; padding: 13px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 500; line-height: 1.7; letter-spacing: .025em; transition: background .2s, transform .2s, box-shadow .2s; cursor: pointer; }
.button .icon { width: 18px; height: 18px; }
.button .button-arrow { margin-left: 20px; width: 17px; }
.button-primary { background: var(--wine); color: var(--paper); }
.calendar-button { margin-top: 32px; }

/* Native horizontal scrolling keeps the album pleasant on touch devices. */
.gallery-section { overflow: hidden; }
.gallery-section .section-heading { margin-bottom: 38px; }
.gallery-track { display: flex; align-items: flex-start; gap: 24px; width: min(1160px, 100%); margin: auto; padding: 22px 30px 34px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 30px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.photo-card { display: block; flex: 0 0 calc((100% - 72px)/4); min-width: 0; padding: 9px 9px 12px; border: 1px solid #e5d9ca; background: #fffcf6; box-shadow: 0 7px 17px #55402c0b; scroll-snap-align: center; transform: rotate(-2deg); transition: transform .3s var(--ease), box-shadow .3s; }
.photo-card:nth-child(2n) { transform: rotate(2deg) translateY(9px); }
.photo-card:nth-child(3) { transform: rotate(-1.5deg) translateY(3px); }
.photo-image { display: block; overflow: hidden; aspect-ratio: 3/4.1; }
.photo-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 63%; transition: transform .6s var(--ease); }
.photo-card:first-child .photo-image img { object-position: 50% 59%; }
.photo-caption { display: flex; align-items: center; justify-content: space-between; padding: 15px 2px 0; font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--wine); line-height: 1.5; }
.photo-caption > span { padding-left: 8px; font-family: var(--sans); font-size: 12px; font-style: normal; letter-spacing: .06em; color: var(--muted); }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.gallery-controls > p { color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.gallery-controls > div { display: flex; align-items: center; gap: 12px; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; color: var(--wine); background: transparent; transition: background .2s, transform .2s; }
.icon-button > .icon { width: 18px; height: 18px; }
.gallery-prev .icon { transform: rotate(180deg); }
.gallery-position { font-size: 12px; letter-spacing: .1em; color: var(--muted); min-width: 40px; text-align: center; }
.gallery-hint-mobile { display: none; }

/* Maps always retain a direct link, even if the embed cannot load. */
.venue-section { padding-top: 80px; border-top: 1px solid #d9cbb85e; }
.venue-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 65px; align-items: center; }
.map-wrap { position: relative; height: 398px; border: 1px solid var(--line); padding: 7px; background: var(--paper-deep); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; background: #e5e7dd; }
.map-label { display: flex; align-items: center; gap: 7px; position: absolute; left: 24px; bottom: 24px; right: 24px; width: fit-content; max-width: calc(100% - 48px); padding: 9px 14px; border: 1px solid #d9cbb8b3; background: var(--paper); color: var(--wine); font-size: 12px; pointer-events: none; }
.map-label .icon { width: 15px; height: 15px; }
.venue-copy { text-align: center; }
.venue-lotus { color: var(--gold); margin-bottom: 17px; }
.venue-copy h3 { display: flex; flex-direction: column; margin-top: 19px; font-family: var(--script); font-size: 39px; color: var(--wine); line-height: 1.4; }
.venue-and { font-family: var(--serif); font-style: italic; color: var(--gold-ink); font-size: 18px; line-height: 1.1; }
.venue-date { margin-top: 21px; font-family: var(--serif); font-size: 16px; color: var(--wine); }
.venue-name { font-weight: 500; margin-top: 15px; }
#venue-address { font-size: 16px; margin-top: 5px; }
.venue-note { margin: 18px 0 25px; font-size: 16px; line-height: 1.9; color: var(--muted); }

/* A warm burgundy closing page. */
.thank-you { position: relative; isolation: isolate; overflow: hidden; background: var(--wine-deep); color: var(--paper); padding: 78px var(--gutter) 83px; }
.thank-you::before { content: ""; position: absolute; inset: 17px; z-index: -1; border: 1px solid #d4ba8a4d; }
.thank-you-inner { position: relative; z-index: 1; text-align: center; }
.thank-you .lotus { color: #d4ba8a; margin-bottom: 23px; }
.thank-you .eyebrow { color: #fff4e5; font-size: 12px; }
.thank-you h2 { margin-top: 25px; font-family: var(--serif); font-size: clamp(38px, 5vw, 57px); line-height: 1.4; letter-spacing: -.03em; }
.thank-you h2 em { font-weight: 400; }
.thank-you-inner > p:not(.closing-signature) { margin-top: 23px; color: #fff4e5; font-size: 16px; line-height: 2; }
.closing-signature { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 12px; margin-top: 28px; color: #f5e6d0; font-family: var(--script); font-size: 34px; }
.closing-signature > span:nth-child(2) { font-family: var(--serif); font-style: italic; font-size: 20px; color: #d4ba8a; }
.button-light { margin-top: 29px; background: transparent; border-color: #ead5cd73; color: var(--paper); padding-inline: 23px; }
.thank-you :focus-visible { outline-color: var(--paper); }
.thanks-floral { z-index: -1; width: min(300px, 25vw); max-width: none; left: -80px; bottom: -85px; transform: rotate(-13deg); opacity: .48; }
.site-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 29px var(--gutter); }
.footer-monogram { font-family: var(--serif); font-size: 19px; color: var(--wine); }
.footer-monogram i { color: var(--gold); font-size: 18px; }
.site-footer > p { color: var(--muted); font-size: 12px; letter-spacing: .18em; }
.reopen-button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 0 9px 12px; min-height: 44px; background: transparent; font-size: 12px; color: var(--wine); }
.reopen-button .icon { width: 16px; height: 16px; }
.mobile-dock { display: none; }
.toast { position: fixed; z-index: 130; left: 50%; bottom: 35px; width: max-content; max-width: calc(100% - 36px); padding: 12px 20px; border: 1px solid #b8996373; border-radius: 4px; background: var(--wine-deep); color: var(--paper); font-size: 16px; text-align: center; box-shadow: 0 8px 28px #3f1b3024; opacity: 0; transform: translate(-50%, 12px); transition: opacity .22s, transform .22s; pointer-events: none; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.music-button { position: fixed; z-index: 20; right: 24px; bottom: 28px; background: var(--paper); box-shadow: 0 4px 16px #453b3612; }
.music-button[aria-pressed="true"] { background: var(--wine); color: var(--paper); }

/* Opening envelope: transform-only animation, native dialog focus handling. */
.opening-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; color: var(--ink); background: var(--paper); overflow-y: auto; overscroll-behavior: contain; opacity: 1; transition: opacity .5s ease, transform .75s var(--ease); }
.opening-dialog::backdrop { background: var(--paper); }
.opening-inner { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 100%; padding: 45px 24px; text-align: center; overflow: hidden; isolation: isolate; }
.opening-inner::before { content: ""; position: absolute; inset: 22px; z-index: -1; border: 1px solid #b8996361; }
.opening-inner::after { content: ""; position: absolute; inset: 29px; z-index: -1; border: 1px solid #b8996329; }
.opening-eyebrow { font-size: 12px; color: var(--wine); letter-spacing: .17em; }
.opening-inner h2 { color: var(--wine); font-family: var(--serif); font-size: clamp(34px, 4.5vw, 49px); line-height: 1.42; letter-spacing: -.025em; margin-top: 23px; }
.opening-inner h2 em { font-weight: 400; }
.opening-inner h2:focus { outline: none; }
.envelope-button { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; margin-top: 62px; padding: 0 4px 8px; background: transparent; }
.envelope { position: relative; display: block; width: 370px; height: 233px; perspective: 1100px; filter: drop-shadow(0 12px 20px #67503816); }
.envelope-back { position: absolute; inset: 0; z-index: 0; background: #eadccc; border: 1px solid #ccb99b; border-radius: 3px; }
.envelope-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; position: absolute; z-index: 1; left: 18px; right: 18px; top: 12px; height: 204px; padding: 18px 15px; border: 1px solid var(--line); background: #fffcf5; transition: transform .8s var(--ease); }
.envelope-card > .lotus { width: 36px; height: 26px; color: var(--gold); }
.envelope-card > span { font-size: 12px; letter-spacing: .2em; color: var(--wine); }
.envelope-card > strong { font-weight: 400; font-family: var(--script); color: var(--wine); font-size: 32px; line-height: 1.4; }
.envelope-card > small { color: var(--muted); font-size: 12px; letter-spacing: .2em; }
.envelope-front { position: absolute; inset: 0; z-index: 3; border: 1px solid #d5c1a6; border-radius: 2px; background: linear-gradient(140deg, #f4e8d8, #eadbc8); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.envelope-front::after { content: ""; position: absolute; inset: 0; background: #eee0ce; clip-path: polygon(0 100%, 50% 42%, 100% 100%); }
.envelope-flap { position: absolute; inset: 0 0 auto; height: 138px; z-index: 4; transform-origin: center top; background: linear-gradient(174deg, #f6ecdf, #e6d4bc); clip-path: polygon(0 0, 100% 0, 50% 100%); transition: transform .7s var(--ease); backface-visibility: hidden; }
.wax-seal { display: flex; align-items: center; justify-content: center; position: absolute; z-index: 5; width: 67px; height: 66px; left: calc(50% - 33.5px); top: 100px; border: 3px solid #8a3d48; border-radius: 47% 53% 49% 51% / 50% 45% 55% 50%; outline: 1px solid #bd85916e; outline-offset: -8px; background: radial-gradient(circle at 38% 28%, #a65a63, #792d3a 65%, #65232d); box-shadow: 1px 4px 7px #633d363d, inset 0 1px 3px #e8b9a55c; color: #e6c9a6; transition: opacity .25s, transform .45s var(--ease); }
.wax-seal > span { font-family: var(--serif); font-size: 22px; letter-spacing: -2px; text-shadow: 0 1px 1px #41202b; }
.wax-seal i { margin-inline: 1px; font-size: 18px; }
.envelope-address { position: absolute; z-index: 5; bottom: 26px; left: 0; right: 0; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--wine-deep); }
.open-label { display: flex; align-items: center; gap: 12px; color: var(--wine); font-size: 12px; font-weight: 500; letter-spacing: .17em; margin-top: 30px; padding: 10px 0; border-bottom: 1px solid #b899636b; }
.open-label .icon { width: 17px; height: 17px; transition: transform .3s; }
.opening-date { margin-top: 22px; font-size: 12px; letter-spacing: .15em; color: var(--muted); }
.opening-caption { position: relative; z-index: 2; margin-top: 15px; padding-inline: 8px; background: var(--paper); font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--wine); }
.opening-floral { z-index: -1; width: clamp(270px, 34vw, 470px); max-width: none; }
.opening-floral-left { left: -100px; bottom: -65px; transform: rotate(-9deg); }
.opening-floral-right { right: -100px; top: -65px; transform: rotate(171deg); }
.opening-dialog.is-opening .wax-seal { opacity: 0; transform: scale(1.2) rotate(-8deg); }
.opening-dialog.is-opening .envelope-flap { transform: rotateX(180deg); }
.opening-dialog.is-opening .envelope-card { transform: translateY(-95px); transition-delay: .25s; }
.opening-dialog.is-leaving { opacity: 0; transform: translateY(-25px); pointer-events: none; }

/* Full-size album viewer. */
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; inset: 0; margin: 0; padding: 65px 80px 35px; border: 0; background: #271d1aeb; color: var(--paper); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #271d1a; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; max-height: 100%; width: 100%; min-height: 0; }
.lightbox figure > img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - 145px); object-fit: contain; }
.lightbox figcaption { margin-top: 15px; font-family: var(--serif); font-size: 16px; font-style: italic; text-align: center; }
.lightbox .icon-button { position: absolute; color: var(--paper); border-color: #fbf6ee61; background: #271d1a55; }
.lightbox .icon-button:focus-visible { outline-color: var(--paper); }
.lightbox-close { right: max(22px, env(safe-area-inset-right)); top: max(20px, env(safe-area-inset-top)); }
.lightbox-prev { left: 20px; top: calc(50% - 22px); }
.lightbox-next { right: 20px; top: calc(50% - 22px); }
.lightbox-prev .icon { transform: rotate(180deg); }

/* Motion is progressive enhancement; content stays visible without JavaScript. */
.motion-ready .reveal { opacity: 1; transform: translateY(14px); transition: transform .65s var(--ease); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .calendar-sheet.reveal.is-visible { transform: rotate(-1.5deg); }
.hero.is-entering .hero-content > * { animation: cover-appear .9s var(--ease) both; }
.hero.is-entering .hero-lotus { animation-delay: .06s; }
.hero.is-entering .hero-occasion { animation-delay: .12s; }
.hero.is-entering .couple-title { animation-delay: .2s; }
.hero.is-entering .hero-date { animation-delay: .32s; }
.hero.is-entering .hero-quote { animation-delay: .4s; }
.hero.is-entering .scroll-cue { animation-delay: .5s; }
.petal { position: fixed; z-index: 95; top: -30px; pointer-events: none; width: 11px; height: 17px; border-radius: 75% 12% 70% 20%; background: linear-gradient(135deg, #dba3b1a3, #f2d4d97d); animation: petal-fall var(--duration, 5s) linear both; }
@keyframes nudge-down { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes cover-appear { from { transform: translateY(12px); } to { transform: translateY(0); } }
@keyframes petal-fall { from { transform: translate3d(0, -10px, 0) rotate(0); opacity: 0; } 12% { opacity: .8; } to { transform: translate3d(var(--drift, 40px), 105svh, 0) rotate(450deg); opacity: 0; } }

@media (hover: hover) {
  .desktop-nav a:hover::after { transform: scaleX(1); }
  .header-calendar:hover, .icon-button:hover { background: #eaded25c; }
  .button-primary:hover { background: var(--wine-deep); box-shadow: 0 5px 15px #792d3a19; transform: translateY(-2px); }
  .button-light:hover { background: #fbf6ee14; }
  .photo-card:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 10px 22px #55402c17; }
  .photo-card:hover .photo-image img { transform: scale(1.035); }
  .envelope-button:hover .open-label .icon { transform: translateX(5px); }
}
button:active, .button:active { transform: scale(.98); }
.envelope-button:active { transform: none; }

@media (min-width: 1500px) {
  .hero-floral-left { left: calc(50% - 840px); }
  .hero-floral-right { right: calc(50% - 810px); }
}

@media (max-width: 1100px) {
  .brand-description { display: none; }
  .hero-floral-left { left: -130px; }
  .hero-floral-right { right: -135px; }
  .hero-floral { width: 380px; }
  .invitation-layout { gap: 55px; }
  .venue-layout { gap: 38px; }
  .gallery-track { gap: 20px; }
  .photo-card { flex-basis: calc((100% - 60px)/4); }
  .photo-caption { font-size: 16px; }
}

@media (max-width: 800px) {
  .site-header { height: 76px; }
  .desktop-nav { display: none; }
  .brand-description { display: block; }
  .header-calendar { padding-inline: 12px; }
  .section-space { padding-block: 78px; }
  .section-heading { margin-bottom: 45px; }
  .hero { min-height: calc(100svh - 76px); }
  .hero-arch { inset: 30px max(40px, calc(50% - 290px)) 35px; }
  .hero-content { padding-block: 70px 55px; }
  .hero-floral { width: 300px; }
  .hero-floral-left { left: -135px; bottom: -20px; }
  .hero-floral-right { right: -145px; top: -25px; }
  .hero-edition { display: none; }
  .invitation-layout { gap: 40px; }
  .invitation-copy { padding: 0; }
  .invited-guests { font-size: 21px; }
  .invitation-signature { font-size: 39px; }
  .portrait-floral { width: 180px; right: -35px; }
  .portrait-stamp { width: 65px; height: 65px; left: -24px; }
  .date-layout { gap: 45px; }
  .calendar-sheet { padding: 22px 20px; }
  .calendar-month { font-size: 21px; }
  .ceremony-date { font-size: 29px; }
  .countdown { gap: 10px; }
  .countdown > div { min-width: 34px; }
  .countdown strong { font-size: 29px; }
  .calendar-button { padding-inline: 14px; }
  .button .button-arrow { margin-left: 9px; }
  .photo-card { flex-basis: calc((100% - 40px)/3); }
  .venue-layout { grid-template-columns: 1fr 1fr; gap: 30px; }
  .map-wrap { height: 390px; }
  .map-label { left: 15px; right: 15px; bottom: 15px; max-width: calc(100% - 30px); font-size: 12px; }
  .venue-copy h3 { font-size: 34px; }
  .venue-date { font-size: 16px; }
  .thanks-floral { width: 180px; left: -115px; bottom: -65px; }
  .site-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .site-footer > p { display: none; }
  .mobile-dock { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 8px; padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: #fbf6eef5; backdrop-filter: blur(10px); }
  .mobile-dock > a, .mobile-dock > button { display: flex; flex-direction: row; gap: 7px; align-items: center; justify-content: center; min-height: 46px; padding: 5px 7px; background: transparent; color: var(--wine); border-radius: 3px; font-size: 12px; line-height: 1.5; }
  .mobile-dock .icon { width: 18px; height: 18px; }
  .mobile-dock > .dock-maps { background: var(--wine); color: var(--paper); }
  .toast { bottom: calc(90px + env(safe-area-inset-bottom)); }
  .music-button { bottom: calc(86px + env(safe-area-inset-bottom)); right: 16px; }
}

@media (max-width: 600px) {
  body { font-size: 18px; }
  .header-inner { gap: 14px; }
  .brand { gap: 11px; }
  .monogram { width: 41px; height: 41px; font-size: 20px; }
  .monogram span { font-size: 18px; }
  .brand-description { font-size: 12px; letter-spacing: .13em; }
  .brand-description > span { font-size: 12px; margin-top: 2px; }
  .header-calendar { gap: 6px; padding-inline: 9px; font-size: 12px; }
  .header-calendar .icon { width: 15px; height: 15px; }
  .hero { min-height: max(665px, calc(100svh - 76px)); }
  .hero-content { width: 100%; padding: 55px 20px 58px; }
  .hero-arch { inset: 25px 23px 31px; border-radius: 220px 220px 2px 2px; }
  .hero-arch::before { inset: 7px; }
  .hero-welcome { font-size: 12px; letter-spacing: .1em; }
  .hero-lotus { margin: 25px 0 13px; }
  .hero-lotus > span { width: 27px; }
  .hero-occasion { font-size: 20px; }
  .couple-title { margin-top: 25px; font-size: clamp(61px, 17.5vw, 82px); line-height: 1.3; }
  .couple-title .couple-ampersand { font-size: 27px; margin-block: 0 -1px; }
  .hero-date { margin-top: 30px; gap: 17px; }
  .hero-day { font-size: 44px; padding-inline: 19px; }
  .date-wing { font-size: 12px; min-width: 75px; gap: 4px; }
  .date-wing > span + span { font-size: 12px; }
  .hero-quote { font-size: 18px; margin-top: 22px; }
  .scroll-cue { margin-top: 28px; gap: 10px; }
  .scroll-cue > span { font-size: 12px; }
  .hero-floral { width: 180px; }
  .hero-floral-left { left: -108px; bottom: -35px; }
  .hero-floral-right { right: -35px; top: -92px; transform: rotate(180deg); }
  .section-space { padding-block: 65px; }
  .eyebrow { font-size: 12px; letter-spacing: .13em; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2 { margin-top: 18px; font-size: 33px; line-height: 1.5; letter-spacing: -.035em; }
  .section-heading > p { font-size: 16px; max-width: 310px; margin: 15px auto 0; }
  .tiny-ornament { margin-top: 16px; }
  .invitation-layout { grid-template-columns: 1fr; gap: 52px; }
  .invitation-copy { padding-block: 0; }
  .invited-guests { margin-top: 18px; font-size: 25px; }
  .invitation-body { font-size: 16px; margin-top: 22px; }
  .invitation-signature { font-size: 44px; margin-top: 23px; }
  .copy-rule { margin-block: 25px 19px; }
  .invitation-note { font-size: 16px; }
  .portrait-wrap { width: min(290px, calc(100% - 32px)); justify-self: center; margin: 10px 0 20px; }
  .portrait-outline { inset: -10px 10px 18px -10px; }
  .couple-portrait { aspect-ratio: 4/5; object-position: 50% 65%; }
  .portrait-floral { width: 165px; bottom: 65px; right: -48px; }
  .portrait-caption { font-size: 18px; margin-top: 19px; }
  .portrait-stamp { top: 55%; left: -26px; width: 66px; height: 66px; }
  .family-section { flex-direction: column; gap: 28px; margin-top: 48px; }
  .date-section .section-heading { margin-bottom: 37px; }
  .date-layout { display: flex; flex-direction: column; gap: 47px; }
  .calendar-sheet { width: min(340px, 100%); padding: 23px 25px 21px; }
  .calendar-top { padding-bottom: 13px; }
  .calendar-month { font-size: 25px; padding-top: 16px; padding-bottom: 20px; }
  .calendar-days { row-gap: 1px; }
  .calendar-days li { min-height: 36px; }
  .calendar-days li { font-size: 16px; }
  .weekdays { font-size: 12px; }
  .calendar-caption { font-size: 12px; }
  .calendar-heart { width: 36px; height: 36px; top: 2px; }
  .calendar-footnote { margin-top: 16px; padding-top: 14px; }
  .date-details { width: 100%; text-align: center; }
  .ceremony-date { font-size: 35px; margin-top: 12px; margin-bottom: 17px; }
  .ceremony-description { font-size: 16px; }
  .countdown-block { margin-top: 27px; }
  .countdown-label { font-size: 12px; font-weight: 500; letter-spacing: .08em; }
  .countdown { justify-content: center; gap: 15px; margin-top: 15px; }
  .countdown > div { min-width: 42px; }
  .countdown strong { font-size: 35px; }
  .countdown div > span { font-size: 12px; font-weight: 500; }
  .button { font-size: 16px; }
  .calendar-button { margin-top: 30px; min-width: 242px; padding-inline: 20px; }
  .gallery-section { padding-bottom: 48px; }
  .gallery-section .section-heading { margin-bottom: 23px; }
  .gallery-track { padding: 20px 36px 32px; gap: 22px; scroll-padding-inline: 36px; }
  .photo-card { flex: 0 0 min(72vw, 310px); padding: 9px 9px 13px; }
  .photo-image { aspect-ratio: 3/3.9; }
  .photo-caption { padding-top: 16px; font-size: 18px; }
  .photo-caption > span { font-size: 12px; }
  .gallery-hint-desktop { display: none; }
  .gallery-hint-mobile { display: inline; }
  .gallery-controls { margin-top: 7px; }
  .gallery-controls > p { font-size: 12px; letter-spacing: .08em; max-width: 140px; }
  .gallery-controls > div { gap: 8px; }
  .gallery-position { font-size: 12px; min-width: 35px; }
  .gallery-controls .icon-button { width: 44px; height: 44px; }
  .venue-section .section-heading { margin-bottom: 32px; }
  .venue-layout { display: flex; flex-direction: column; gap: 35px; }
  .map-wrap { width: 100%; height: 285px; padding: 6px; }
  .map-label { left: 17px; bottom: 17px; right: 17px; font-size: 12px; }
  .venue-copy { width: 100%; }
  .venue-lotus { width: 40px; height: 28px; margin-bottom: 14px; }
  .venue-copy h3 { margin-top: 18px; font-size: 40px; }
  .venue-date { font-size: 16px; margin-top: 18px; }
  .venue-note { margin-top: 15px; margin-bottom: 22px; font-size: 16px; }
  .venue-copy .button { min-width: 242px; }
  .thank-you { padding: 65px 30px 62px; }
  .thank-you::before { inset: 14px; }
  .thank-you .lotus { width: 42px; height: 30px; margin-bottom: 18px; }
  .thank-you .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .thank-you h2 { margin-top: 24px; font-size: 38px; line-height: 1.5; }
  .thank-you-inner > p:not(.closing-signature) { margin-top: 20px; font-size: 16px; }
  .closing-signature { font-size: 27px; column-gap: 8px; margin-top: 24px; }
  .closing-signature > span:nth-child(2) { font-size: 18px; }
  .thanks-floral { width: 170px; left: -112px; bottom: -56px; opacity: .4; }
  .button-light { margin-top: 24px; }
  .site-footer { padding-top: 22px; }
  .footer-monogram { font-size: 18px; }
  .reopen-button { font-size: 12px; }
  .opening-inner { padding: 60px 24px 45px; }
  .opening-inner::before { inset: 14px; }
  .opening-inner::after { inset: 20px; }
  .opening-eyebrow { font-size: 12px; letter-spacing: .1em; }
  .opening-inner h2 { margin-top: 24px; font-size: 36px; line-height: 1.48; }
  .envelope-button { margin-top: 51px; }
  .envelope { width: min(300px, calc(100vw - 76px)); height: 194px; }
  .envelope-card { top: 9px; left: 14px; right: 14px; height: 175px; gap: 8px; padding: 12px; }
  .envelope-card > strong { font-size: 28px; }
  .envelope-card > .lotus { width: 31px; height: 23px; }
  .envelope-flap { height: 113px; }
  .wax-seal { width: 58px; height: 57px; left: calc(50% - 29px); top: 80px; }
  .wax-seal > span { font-size: 20px; }
  .envelope-address { bottom: 22px; font-size: 12px; letter-spacing: .05em; }
  .open-label { margin-top: 24px; font-size: 12px; gap: 10px; }
  .opening-date { font-size: 12px; margin-top: 21px; }
  .opening-caption { max-width: 270px; font-size: 16px; margin-top: 15px; }
  .opening-floral { width: 180px; }
  .opening-floral-left { left: -48px; bottom: -55px; }
  .opening-floral-right { right: -45px; top: -36px; transform: rotate(180deg); }
  .opening-dialog.is-opening .envelope-card { transform: translateY(-78px); }
  .lightbox { padding: 70px 16px 80px; }
  .lightbox figure > img { max-height: calc(100svh - 175px); }
  .lightbox-prev { left: calc(50% - 75px); top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .lightbox-next { right: calc(50% - 75px); top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); }
  .lightbox-close { right: 17px; top: max(16px, env(safe-area-inset-top)); }
  .lightbox figcaption { font-size: 16px; }
  .mobile-dock > a, .mobile-dock > button { font-size: 12px; }
}

@media (max-width: 374px) {
  .brand-description > span { display: none; }
  .hero-content { padding-inline: 16px; }
  .couple-title { font-size: 62px; }
  .hero-date { gap: 11px; }
  .hero-day { padding-inline: 15px; }
  .section-heading h2 { font-size: 30px; }
  .ceremony-date { font-size: 31px; }
  .calendar-sheet { padding-inline: 18px; }
  .gallery-controls > p { max-width: 110px; }
  .closing-signature { font-size: 24px; }
  .opening-inner h2 { font-size: 32px; }
  .mobile-dock > a, .mobile-dock > button { font-size: 12px; gap: 5px; }
}

@media (max-height: 700px) and (max-width: 600px) {
  .opening-inner { padding-top: 35px; padding-bottom: 31px; }
  .opening-inner h2 { font-size: 31px; margin-top: 17px; }
  .envelope-button { margin-top: 35px; }
  .opening-date { margin-top: 13px; }
  .opening-caption { margin-top: 10px; font-size: 12px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .opening-inner { min-height: 600px; }
  .mobile-dock { padding-block: 6px; }
  .mobile-dock > a, .mobile-dock > button { min-height: 42px; }
  .lightbox { padding-top: 15px; padding-bottom: 15px; }
  .lightbox figure > img { max-height: calc(100svh - 55px); }
  .lightbox figcaption { margin-top: 6px; font-size: 16px; }
}

/* Larger, higher-contrast text for guests reading the invitation on a phone. */
body { font-size: 18px; }
.section-heading h2, .calendar-month, .thank-you h2 { font-weight: 500; }
.section-heading > p, .invitation-body, .invitation-note,
.ceremony-description, .venue-date, .venue-note, #venue-address,
.thank-you-inner > p:not(.closing-signature) {
  font-size: 18px;
  line-height: 1.9;
}
.eyebrow, .calendar-caption, .countdown-label,
.countdown div > span, .open-label { font-weight: 600; }
.hero-time, .venue-time { font-size: 22px; font-weight: 600; }
.ceremony-time { font-size: 26px; font-weight: 500; }
.date-wing { font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.date-wing > span + span { font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.hero-quote { font-size: 21px; }
.button, .desktop-nav a, .header-calendar { font-size: 15px; font-weight: 500; }
.photo-caption { font-size: 20px; }
.portrait-caption { font-size: 18px; }
.calendar-days li { font-size: 17px; font-weight: 500; }
.opening-date { font-size: 14px; color: var(--ink); }
.opening-date > [data-event-time] { font-size: 18px; }
.opening-caption { font-size: 18px; }
.envelope-address { font-size: 12px; letter-spacing: .03em; }
.couple-title > span:not(.couple-ampersand),
.invitation-signature > span:not(.signature-and),
.venue-copy h3 > span:not(.venue-and),
.closing-signature > span:not(:nth-child(2)) {
  -webkit-text-stroke: .25px currentColor;
}
@media (max-width: 800px) {
  .hero-floral-right { width: 180px; right: -35px; top: -132px; transform: rotate(180deg); }
  .opening-floral-right { width: 180px; top: -150px; transform: rotate(180deg); }
}
@media (max-width: 600px) {
  .brand-description { font-size: 12px; letter-spacing: .07em; }
  .brand-description > span { display: none; }
  .header-calendar { font-size: 12px; padding-inline: 8px; }
  .hero-content { padding-top: 58px; padding-bottom: 70px; }
  .hero-welcome { font-size: 12px; letter-spacing: .07em; }
  .hero-occasion { font-size: 24px; }
  .hero-date { gap: 12px; }
  .date-wing { min-width: 90px; }
  .hero-day { font-size: 49px; padding-inline: 17px; }
  .eyebrow { font-size: 12px; letter-spacing: .08em; }
  .section-heading h2 { font-size: 36px; }
  .invited-guests { font-size: 27px; }
  .button { font-size: 15px; }
  .calendar-month { font-size: 28px; }
  .countdown-label { font-size: 12px; letter-spacing: .04em; }
  .countdown div > span { font-size: 12px; }
  .venue-copy h3 { font-size: 43px; }
  .opening-caption { max-width: 270px; font-size: 17px; }
  .opening-date { letter-spacing: .08em; }
  .opening-floral-left { left: -100px; bottom: -65px; }
  .mobile-dock > a, .mobile-dock > button { font-size: 14px; gap: 6px; }
}
@media (max-width: 374px) {
  .date-wing { min-width: 82px; }
  .hero-date { gap: 10px; }
  .hero-day { padding-inline: 13px; }
  .section-heading h2 { font-size: 33px; }
  .mobile-dock > a, .mobile-dock > button { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .petal { display: none; }
}

@media print {
  .site-header, .mobile-dock, .gallery-section, .venue-section, .reading-progress, .site-footer, .opening-dialog, .lightbox, .toast, .scroll-cue, .button, .music-button { display: none !important; }
  body { background: white; }
  body::before { display: none; }
  .hero { min-height: 0; break-after: page; }
  .hero-content { padding-block: 80px; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section-space { padding-block: 40px; }
  .date-section, .thank-you { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
