/* Five complete layouts. Shared RSVP, audio, map and photo behavior live in app.js. */
body[class^="theme-"] { background: #ddd8cf; }
.paged { overflow: hidden; scroll-behavior: auto; }
.paged body { height: 100dvh; overflow: hidden; }
.paged .invitation { height: 100dvh; margin: 0 auto; overflow: hidden; }
.paged .slide { display: none; position: relative; height: 100%; overflow-y: auto; overscroll-behavior-y: contain; padding: 57px 28px 124px; scrollbar-width: thin; }
.paged .slide.is-active { display: block; animation: page-appear .5s ease both; }
.paged .hero.slide { padding: 0; min-height: 0; max-height: none; height: 100%; overflow: hidden; }
.paged .hero-heading { top: 10%; }
.paged .hero-bottom { bottom: 144px; }
.paged .hero-top { top: max(24px, env(safe-area-inset-top)); left: 25px; right: 25px; font-size: 7px; letter-spacing: 1.4px; }
.paged .section-kicker { margin-bottom: 22px; font-size: 8px; letter-spacing: 1.8px; }
.paged .section-title h2 { font-size: 30px; line-height: 1.5; }
.paged .section-title > p { font-size: 15px; margin-top: 9px; }
.paged .music-toggle { top: max(17px, env(safe-area-inset-top)); background: var(--paper); color: var(--wine); border-color: var(--line); }
.paged .letter-content { padding: 0; }
.paged .letter-content h2 { margin: 7px 0 12px; font-size: 28px; line-height: 1.5; }
.paged .letter-content > p { font-size: 11px; line-height: 2.2; margin-bottom: 10px; letter-spacing: .6px; }
.paged .signature { margin-top: 13px; gap: 3px; }
.paged .signature .script { font-size: 24px; }
.paged .letter-photo { max-width: 280px; margin: 20px auto 0; padding: 7px; }
.paged .letter-photo.reveal.shown { transform: none; }
.paged .letter-photo img { height: auto; aspect-ratio: 1.15; object-position: 50% 42%; }
.paged .letter-photo figcaption { padding: 9px 0 2px; font-size: 9px; }
.paged .photo-grid { gap: 12px; margin-top: 27px; }
.paged .photo.portrait { aspect-ratio: 2/3; }
.paged .photo.offset { margin-top: 0; }
.paged .photo-caption { margin: 19px 0 0; line-height: 2; font-size: 10px; }
.paged .moments-collage { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 13px; }
.paged .moments-collage .photo.wide { grid-column: 1/-1; aspect-ratio: 1.65; }
.paged .window-photo { grid-column: 2; min-width: 0; position: relative; margin: -35px 7px 0 0; border: 7px solid var(--paper); box-shadow: 0 8px 28px #0002; transform: rotate(4deg); }
.paged .window-photo img { width: 100%; height: auto; aspect-ratio: 2/3; }
.paged .window-photo figcaption { position: absolute; bottom: 12px; left: 9px; color: #fff; font: italic 23px Georgia, serif; text-shadow: 0 1px 5px #0005; }
.paged .date-card h2 { margin-top: 17px; }
.paged .calendar { margin-top: 25px; }
.paged .rsvp .section-title h2 { font-size: 26px; }
.paged .rsvp-intro { margin-top: 15px; font-size: 11px; }
.paged .rsvp-form { margin-top: 25px; }
.paged .attendance legend .required { display: inline; border: 0; background: none; padding: 0; font: inherit; color: var(--wine); }
.paged .closing { padding: 42px 0 8px; }
.paged .closing > .script { font-size: 25px; }
.paged .bottom-nav { box-shadow: none; background: var(--paper); border-color: var(--line); }
.paged .bottom-nav > a { min-height: 55px; font-size: 10px; }
.page-controls { display: none; }
.paged .page-controls { position: fixed; z-index: 16; left: 50%; transform: translateX(-50%); bottom: calc(55px + env(safe-area-inset-bottom)); width: 100%; max-width: 520px; padding: 7px 21px 8px; display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-controls > button { width: 31px; height: 32px; border: 0; background: transparent; font: 21px Georgia, serif; }
.page-controls > button:disabled { opacity: .23; }
.page-dots { flex: 1; display: flex; justify-content: center; gap: 7px; align-items: center; }
.page-dots button { position: relative; width: 12px; height: 28px; border: 0; padding: 0; background: transparent; }
.page-dots button::after { content: ""; display: block; width: 12px; height: 2px; background: var(--line); transition: background .2s, height .2s; }
.page-dots button[aria-current="true"]::after { background: var(--wine); height: 4px; }
#page-counter { font: 9px Georgia, serif; white-space: nowrap; letter-spacing: 1px; }
@keyframes page-appear { from { opacity: .25; transform: translateY(9px); } to { opacity: 1; transform: none; } }

/* Editorial: monochrome cover, oversized typography, full-bleed photo stories. */
.theme-magazine { --paper: #f6f5f1; --ink: #252523; --muted: #7c7b74; --wine: #252523; --line: #cecdc6; }
.theme-magazine .hero-image { filter: grayscale(1); object-position: 50% 42%; }
.theme-magazine .hero-shade { background: linear-gradient(180deg, #0006, transparent 45%, #0009); }
.theme-magazine .hero-heading { text-align: left; left: 24px; right: 19px; }
.theme-magazine .hero .eyebrow { font-size: 9px; letter-spacing: 2.1px; margin-bottom: 12px; }
.theme-magazine .hero h1 { font: 400 clamp(52px, 17vw, 86px)/.93 "Bodoni 72", "Didot", Georgia, serif; letter-spacing: -4px; }
.theme-magazine .hero h1 span { display: inline; font: inherit; padding: 0; letter-spacing: inherit; font-style: italic; }
.theme-magazine .hero-script { font: 11px var(--sans); letter-spacing: 4px; margin-top: 18px; }
.theme-magazine .hero-bottom { text-align: left; left: 26px; right: 26px; }
.theme-magazine .hero-date { justify-content: flex-start; font-size: 25px; }
.theme-magazine .hero-city { letter-spacing: 3px; }
.theme-magazine .open-invitation { margin-left: 0; border-color: #fff7; background: #fff; color: #262625; }
.theme-magazine .letter .letter-content { text-align: left; }
.theme-magazine .letter .tiny-heart { display: none; }
.theme-magazine .signature { align-items: flex-start; }
.theme-magazine .letter-photo { max-width: none; border: 0; background: none; padding: 0; transform: none; }
.theme-magazine .letter-photo img { aspect-ratio: 1.15; }
.theme-magazine .letter-photo figcaption { align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.theme-magazine .photo-page .photo-grid { display: block; margin-left: -28px; margin-right: -28px; }
.theme-magazine .photo-page .photo { width: 100%; display: block; aspect-ratio: 1.15; }
.theme-magazine .photo-page .photo img { object-position: 50% 28%; }
.theme-magazine .photo-page .photo + .photo { width: 61%; margin: -48px 22px 0 auto; border: 7px solid var(--paper); aspect-ratio: 2/3; transform: rotate(3deg); }
.theme-magazine .day { background: #e8e7e0; }
.theme-magazine .date-card h2 { font-size: 55px; letter-spacing: -1px; }
.theme-magazine .date-card h2 span { font-size: 62px; }
.theme-magazine .rsvp { background: #edede7; }
.theme-magazine .map-entry { background: #e3e3db; color: #444540; }
.theme-magazine .attendance input:checked + span { background: #e6e6e0; }

/* Cream: a generous arch, pearl circles and softly rounded cards. */
.theme-cream { --paper: #f8f3e9; --ink: #625344; --muted: #9c8c77; --wine: #aa8663; --line: #dfd1bc; }
.theme-cream .hero { color: var(--ink); background: radial-gradient(circle at 15% 17%, #fff9ed 0, transparent 35%), var(--paper); }
.theme-cream .hero::before { content: ""; position: absolute; width: 83%; height: 50%; border: 1px solid #c8b190; border-radius: 48% 48% 0 0; top: 23%; left: 8.5%; }
.theme-cream .hero-image { inset: 24% 11% auto; width: 78%; height: 48%; border-radius: 48% 48% 0 0; object-position: 50% 47%; }
.theme-cream .hero-shade { display: none; }
.theme-cream .hero-heading { top: 7%; text-shadow: none; }
.theme-cream .eyebrow { font-size: 8px; letter-spacing: 1.7px; margin-bottom: 5px; }
.theme-cream .hero h1 { font-size: 29px; letter-spacing: 5px; }
.theme-cream .hero h1 span { display: inline; font-size: inherit; letter-spacing: inherit; padding-left: 4px; }
.theme-cream .hero-script { margin-top: 3px; font-size: 19px; }
.theme-cream .hero-bottom { bottom: 114px; }
.theme-cream .hero-date { font-size: 23px; }
.theme-cream .hero-date i { background: var(--wine); }
.theme-cream .hero-city { margin-top: 3px; font-size: 8px; }
.theme-cream .open-invitation { margin-top: 11px; border-color: var(--wine); background: transparent; color: var(--ink); border-radius: 25px; padding: 8px 14px; width: 200px; }
.theme-cream .audio-hint { margin-top: 5px; }
.theme-cream .vertical-word { right: 13px; color: var(--wine); font-size: 7px; letter-spacing: 2px; }
.theme-cream .letter-photo { border-radius: 150px 150px 4px 4px; padding: 7px; background: #fffbf2; transform: none; }
.theme-cream .letter-photo img { border-radius: 150px 150px 2px 2px; aspect-ratio: 1.1; }
.theme-cream .photo-page .photo-grid { padding-top: 15px; }
.theme-cream .photo-page .photo { border-radius: 110px 110px 8px 8px; border: 6px solid #fffcf6; box-shadow: 0 6px 20px #8b6b3512; }
.theme-cream .photo-page .photo:nth-child(2) { margin-top: 64px; }
.theme-cream .photo-page::after { content: "♡"; position: absolute; top: 220px; right: 32px; font: 38px Georgia, serif; color: #bc9b7490; }
.theme-cream .day { background: #f1e8d7; }
.theme-cream .venue-card { padding: 22px 19px; background: #fffcf5; border-radius: 120px 120px 10px 10px; border: 1px solid var(--line); }
.theme-cream .venue-label { justify-content: center; margin-top: 5px; }
.theme-cream .venue-card h3, .theme-cream #venue-address { text-align: center; }
.theme-cream .map-container, .theme-cream .button, .theme-cream .rsvp-form input:not([type=radio]), .theme-cream .rsvp-form textarea, .theme-cream .attendance span { border-radius: 8px; }
.theme-cream .rsvp { background: #f1e8d7; }

/* Woodland: a framed oval portrait, botanical linework and postcard photographs. */
.theme-forest { --paper: #eef2e9; --ink: #384c3b; --muted: #81917b; --wine: #53764e; --line: #c4d0bd; }
.theme-forest .hero { background: var(--paper); color: var(--ink); }
.theme-forest .hero-image { inset: 22% 12% auto; width: 76%; height: 50%; border-radius: 48% 48% 46% 46%; object-position: 50% 46%; border: 8px solid #f9fcf4; box-shadow: 0 0 0 1px #b1c2a8, 0 15px 35px #39572b15; }
.theme-forest .hero-shade { display: none; }
.theme-forest .hero-heading { top: 7%; text-shadow: none; }
.theme-forest .eyebrow { font-size: 8px; letter-spacing: 1.6px; margin-bottom: 6px; }
.theme-forest .hero h1 { font-size: 29px; letter-spacing: 5px; }
.theme-forest .hero h1 span { display: inline; font-size: inherit; padding-left: 6px; letter-spacing: inherit; }
.theme-forest .hero-script { font-size: 19px; margin-top: 5px; }
.theme-forest .hero-bottom { bottom: 114px; }
.theme-forest .hero-date { font-size: 23px; }
.theme-forest .hero-date i { background: var(--wine); }
.theme-forest .hero-city { margin-top: 3px; font-size: 8px; }
.theme-forest .open-invitation { margin-top: 11px; border-color: var(--wine); background: #fff5; color: var(--ink); width: 200px; padding: 8px 14px; }
.theme-forest .audio-hint { margin-top: 5px; }
.theme-forest .hero::before, .theme-forest .hero::after { content: ""; position: absolute; width: 85px; height: 210px; background: radial-gradient(ellipse at 65% 12%, #8aab6d55 0 10%, transparent 11%), radial-gradient(ellipse at 22% 30%, #8aab6d55 0 11%, transparent 12%), radial-gradient(ellipse at 70% 49%, #8aab6d55 0 11%, transparent 12%), radial-gradient(ellipse at 20% 68%, #8aab6d55 0 11%, transparent 12%), linear-gradient(100deg, transparent 49%, #749a5e66 50%, transparent 51%); transform: rotate(-13deg); left: 24px; top: 42%; }
.theme-forest .hero::after { left: auto; right: 24px; top: 18%; transform: rotate(167deg); }
.theme-forest .letter-photo { background: #fcfff6; padding: 10px; border-color: var(--line); }
.theme-forest .photo-page .photo { border: 8px solid #fbfff6; border-bottom-width: 27px; box-shadow: 0 8px 25px #3a4e3418; transform: rotate(-5deg); }
.theme-forest .photo-page .photo:nth-child(2) { margin-top: 64px; transform: rotate(5deg); }
.theme-forest .photo-page .photo-grid { gap: 9px; padding: 11px 2px; }
.theme-forest .day, .theme-forest .rsvp { background: #e2e9db; }
.theme-forest .map-entry { background: #e1e9d8; color: var(--wine); }
.theme-forest .attendance input:checked + span { background: #e3edda; }
.theme-forest .signature .script { color: var(--wine); }

/* Vermilion: gold double borders, a round portrait and Chinese invitation typography. */
.theme-chinese { --paper: #861f2d; --ink: #f7e9cb; --muted: #d5b588; --wine: #e6c282; --line: #d6b27760; }
.theme-chinese .hero { background: #861f2d; color: #f8e7c4; }
.theme-chinese .hero::before { content: ""; position: absolute; inset: 57px 17px 113px; border: 1px solid #e9c88a80; outline: 1px solid #e9c88a50; outline-offset: -6px; pointer-events: none; }
.theme-chinese .hero-image { inset: 31% 16% auto; width: 68%; height: 33%; border-radius: 50%; object-position: 50% 48%; border: 5px solid #dbb477; box-shadow: 0 0 0 6px #d1a36324; }
.theme-chinese .hero-shade { display: none; }
.theme-chinese .hero-heading { top: 11%; text-shadow: none; }
.theme-chinese .eyebrow { letter-spacing: 3px; font-size: 9px; margin-bottom: 9px; color: var(--muted); }
.theme-chinese .hero h1 { font-size: 40px; letter-spacing: 10px; line-height: 1.2; }
.theme-chinese .hero h1 span { display: inline; font-size: inherit; letter-spacing: inherit; padding-left: 0; }
.theme-chinese .hero-script { margin-top: 15px; font: 10px var(--serif); letter-spacing: 4px; }
.theme-chinese .hero-bottom { bottom: 136px; }
.theme-chinese .hero-date { font-size: 26px; }
.theme-chinese .hero-date i { background: var(--wine); }
.theme-chinese .hero-city { margin-top: 5px; font-size: 8px; letter-spacing: 4px; }
.theme-chinese .open-invitation { border-color: var(--wine); color: var(--ink); margin-top: 16px; background: #9b303a; padding: 9px 16px; }
.theme-chinese .vertical-word { color: var(--muted); right: 25px; }
.theme-chinese .slide:not(.hero)::before { content: ""; position: absolute; top: 47px; bottom: 115px; left: 15px; right: 15px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); pointer-events: none; }
.theme-chinese .section-kicker { color: var(--muted); }
.theme-chinese .letter-content > p, .theme-chinese .day-week, .theme-chinese #venue-address, .theme-chinese .rsvp-intro { color: #ead4ae; }
.theme-chinese .letter-photo { background: #f8e9c9; color: #6f2831; border: 4px double #d4ad70; transform: none; padding: 7px; }
.theme-chinese .photo-page .photo { border: 4px double #dfbd83; }
.theme-chinese .photo-page .photo:nth-child(2) { margin-top: 32px; }
.theme-chinese .day, .theme-chinese .rsvp { background: #791b27; }
.theme-chinese .calendar, .theme-chinese .countdown { border-color: var(--line); }
.theme-chinese .calendar .wedding-day { color: #791b27; }
.theme-chinese .map-entry { color: #edcc90; background: #922d37; border-color: var(--line); }
.theme-chinese .location-emblem { border-color: var(--line); }
.theme-chinese .button.primary, .theme-chinese .bottom-nav > a.nav-rsvp { background: #e6c282; color: #741c27; }
.theme-chinese .button.secondary { color: #f0d49c; }
.theme-chinese .rsvp-form input:not([type=radio]), .theme-chinese .rsvp-form textarea, .theme-chinese .attendance span, .theme-chinese .stepper button, .theme-chinese .rsvp-success { background: #f9eed8; color: #662631; border-color: #d8bd90; }
.theme-chinese .rsvp-form input::placeholder, .theme-chinese .rsvp-form textarea::placeholder { color: #9b8170; }
.theme-chinese .stepper button { color: #792532; }
.theme-chinese .attendance input:checked + span { color: #70202b; background: #e6c282; border-color: #e6c282; }
.theme-chinese .rsvp-success { color: #6f2831; }
.theme-chinese .success-icon, .theme-chinese .rsvp-success .text-link { color: #862735; border-color: #862735; }
.theme-chinese .rsvp-success > p { color: #917660; }

/* The envelope is built from paper shapes, with no extra photograph. */
.theme-envelope { --paper: #f6f0e5; --ink: #695849; --muted: #9b8b77; --wine: #957451; --line: #d9cbb4; }
.theme-envelope .hero-image { inset: 19% 10% auto; width: 80%; height: 48%; border: 9px solid #fffaf1; box-shadow: 0 10px 30px #59402620; transform: rotate(-3deg); object-position: 50% 47%; }
.theme-envelope .hero { background: var(--paper); color: var(--ink); }
.theme-envelope .hero-shade { display: none; }
.theme-envelope .hero-heading { top: 7%; text-shadow: none; }
.theme-envelope .eyebrow { font-size: 8px; letter-spacing: 2px; margin-bottom: 5px; }
.theme-envelope .hero h1 { font-size: 31px; letter-spacing: 4px; }
.theme-envelope .hero h1 span { display: inline; font: inherit; letter-spacing: inherit; padding-left: 6px; }
.theme-envelope .hero-script { display: none; }
.theme-envelope .hero-bottom { bottom: 133px; }
.theme-envelope .hero-date { font-size: 24px; }
.theme-envelope .hero-date i { background: var(--wine); }
.theme-envelope .hero-city { font-size: 8px; margin-top: 4px; }
.theme-envelope .open-invitation { color: var(--ink); border-color: var(--wine); background: #fff7; padding: 9px 16px; margin-top: 13px; }
.theme-envelope .letter-content { background: #fffcf4; padding: 24px 15px 17px; border: 1px solid var(--line); box-shadow: 0 5px 20px #65462e0b; }
.theme-envelope .day, .theme-envelope .rsvp { background: #eee4d4; }
.theme-envelope .photo-page .photo-grid { display: block; }
.theme-envelope .photo-page .photo { display: block; width: 67%; border: 8px solid #fffaf0; border-bottom-width: 27px; transform: rotate(-5deg); box-shadow: 0 7px 25px #4e392c1a; }
.theme-envelope .photo-page .photo:nth-child(2) { margin: -85px 0 0 auto; transform: rotate(6deg); }
.envelope-gate { display: none; }
.paged .theme-envelope:not(.envelope-open) .hero > :not(.envelope-gate) { visibility: hidden; }
.paged .envelope-gate { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 22px 155px; background: radial-gradient(ellipse at 50% 38%, #fffaf0, #eee4d3); perspective: 1000px; }
.envelope-overline { font-size: 8px; letter-spacing: 3px; color: var(--muted); margin-bottom: 26px; }
.envelope-gate h2 { text-align: center; font-size: 30px; letter-spacing: 3px; line-height: 1.8; }
.envelope-object { position: relative; width: min(320px, 90%); height: 205px; border: 0; background: transparent; margin: 83px 0 30px; perspective: 900px; filter: drop-shadow(0 14px 20px #69513720); }
.envelope-back { position: absolute; inset: 0; background: #ddcdb1; border-radius: 4px; }
.envelope-card { position: absolute; z-index: 1; left: 8%; right: 8%; top: 5%; height: 90%; border: 1px solid #d5b98c; background: #fffaf0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; transition: transform .75s .4s; }
.envelope-card > span { font: italic 33px Georgia, serif; color: #92724f; }
.envelope-card strong { font: 21px Georgia, serif; letter-spacing: 3px; }
.envelope-card small { font-size: 9px; letter-spacing: 1px; }
.envelope-front { position: absolute; z-index: 3; inset: 0; background: #e9dcc2; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); border-radius: 3px; }
.envelope-front::after { content: ""; position: absolute; inset: 0; background: #eee2ca; clip-path: polygon(0 100%, 50% 47%, 100% 100%); }
.envelope-flap { position: absolute; z-index: 4; inset: 0; background: #f0e3c9; clip-path: polygon(0 0, 100% 0, 50% 57%); transform-origin: center top; transition: transform .6s ease, z-index 0s .3s; }
.wax-seal { position: absolute; z-index: 5; left: calc(50% - 25px); top: 84px; width: 50px; height: 50px; border: 3px double #9b3e43; border-radius: 48% 52% 46% 54%; background: #9e4549; box-shadow: inset 0 2px 5px #e88e8780, 0 3px 6px #583a3230; color: #e2b08a; font: 31px/44px Georgia, serif; transition: opacity .2s, transform .3s; }
.envelope-tap { font-size: 10px; letter-spacing: 2px; color: #8e765e; }
.envelope-postscript { font-size: 7px; letter-spacing: 2px; color: var(--muted); margin-top: 25px; }
.envelope-opening .wax-seal { opacity: 0; transform: scale(.7); }
.envelope-opening .envelope-flap { transform: rotateX(180deg); z-index: 0; }
.envelope-opening .envelope-card { transform: translateY(-93px); }
.envelope-opening .envelope-gate { animation: gate-fade .4s 1.15s forwards; }
@keyframes gate-fade { to { opacity: 0; } }

@media (min-width: 600px) {
  .paged .hero-heading { top: 10%; }
  .paged .theme-cream .hero-heading, .paged .theme-forest .hero-heading, .paged .theme-envelope .hero-heading { top: 7%; }
  .paged .music-toggle { top: 17px; }
}
@media (max-width: 360px) {
  .paged .slide { padding-left: 24px; padding-right: 24px; }
  .paged .section-title h2 { font-size: 26px; }
  .paged .section-title > p { font-size: 13px; }
  .paged .rsvp .section-title h2 { font-size: 23px; }
  .paged .page-controls { padding-left: 13px; padding-right: 13px; gap: 5px; }
  .page-dots { gap: 5px; }
  .theme-chinese .hero h1 { font-size: 34px; letter-spacing: 7px; }
  .theme-cream .hero h1, .theme-forest .hero h1, .theme-envelope .hero h1 { font-size: 25px; letter-spacing: 3px; }
  .theme-magazine .photo-page .photo-grid { margin-left: -24px; margin-right: -24px; }
  .envelope-gate h2 { font-size: 26px; }
}
@media (max-height: 760px) {
  .paged .hero-heading { top: 9%; }
  .paged .hero-bottom { bottom: 124px; }
  .theme-cream .hero-heading, .theme-forest .hero-heading, .theme-envelope .hero-heading { top: 8%; }
  .theme-cream .hero-bottom, .theme-forest .hero-bottom { bottom: 108px; }
  .theme-cream .hero-image { top: 27%; height: 41%; }
  .theme-cream .hero::before { top: 26%; height: 43%; }
  .theme-forest .hero-image { top: 25%; height: 43%; }
  .theme-envelope .hero-image { top: 24%; height: 39%; }
  .theme-envelope .hero-bottom { bottom: 116px; }
  .theme-chinese .hero-image { top: 31%; height: 31%; }
  .theme-chinese .hero-script { margin-top: 8px; }
  .envelope-object { margin-top: 50px; height: 170px; }
  .wax-seal { top: 67px; }
  .envelope-overline { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .paged .slide.is-active, .envelope-opening .envelope-gate { animation: none; }
  .envelope-card, .envelope-flap, .wax-seal { transition: none; }
}
