/* Phase 3: a shared, symmetrical axis without changing the opening timeline. */
html { scrollbar-gutter: stable both-edges; }
body { width: 100%; }
.opening-stage { background: radial-gradient(ellipse at 50% 34%, #34486470, transparent 48%), linear-gradient(180deg, #071226, #112342 70%, #0b1730); }
.grand-reveal { padding: 7.5rem 1.25rem 4rem; }
.portrait-composition { width: min(86%, 360px); margin: 0 auto 1.7rem; transform-origin: 50% 50%; }
.silver-portrait-frame { width: 100%; padding: 5px; box-shadow: 0 0 0 1px #d8e1f180, 0 0 0 8px #c0c0c00c, 0 18px 55px #0006, 0 0 80px #c2d2ed28; }
.poster-window { aspect-ratio: 550 / 645; border-radius: 48% 48% 0 0; }
/* Source crop: x=275..825, y=260..905. Face axis x=550, not image midpoint 561.
   Original pixels and aspect ratio remain intact. Printed poster text stays outside. */
.poster-window img { width: 204%; height: auto; max-width: none; left: 50%; top: 0; transform: translate(-49.019608%, -18.544936%); }
.arch-halo { inset: -15px -15px 55px; border-color: #d5ddef45; box-shadow: 0 0 28px #d9e4ff0b; }
.portrait-composition::before { content: ""; position: absolute; z-index: -1; inset: -2rem -1.5rem 3rem; border-radius: 50%; background: radial-gradient(ellipse, #f1f0df20, #bfd7ff10 45%, transparent 72%); pointer-events: none; }
.reveal-cross { top: -3.1rem; font-size: 2.5rem; }
.metallic-number { position: relative; display: block; width: fit-content; right: auto; bottom: auto; margin: .3rem auto 0; font-size: clamp(4.8rem, 21vw, 6.5rem); line-height: .9; letter-spacing: -.055em; padding: 0 .055em 0 0; filter: drop-shadow(0 2px 0 #67778f) drop-shadow(0 5px 6px #0009); }
.reveal-copy { width: 100%; margin-inline: auto; }
.reveal-copy h1 { font-size: clamp(1.6rem, 6vw, 2.8rem); line-height: 1.7; }
.occasion { max-width: 36rem; font-size: 1.05rem; line-height: 1.9; margin-bottom: .7rem; }
.service-line { font-size: 1.05rem; line-height: 1.9; }
html[lang=en] .occasion { font-size: .9rem; letter-spacing: .13em; }
.text-button, .music-toggle, .continue-link, .sealed-note { font-size: .875rem; }
.continue-link { margin-top: 1.8rem; padding: .6rem 1rem; border-bottom: 1px solid #c0c0c050; }
.envelope-scene { padding-inline: 0; padding-top: 4rem; }
.envelope-space { width: min(88%, 540px); margin-inline: auto; }
.envelope { transform: none; filter: drop-shadow(0 28px 24px #0009); }
.envelope-back { box-shadow: inset 0 0 0 1px #e4eaf77a, 0 3px 0 #14233a, 0 6px 0 #081327; }
.envelope-ornament { border-color: #d4deed9c; box-shadow: 0 0 0 3px #0c1c3550, inset 0 0 0 3px #0c1c3550; }
.envelope-ornament::after { border-color: #d7ddeb55; }
.envelope-left, .envelope-right { background-image: repeating-linear-gradient(115deg, #ffffff02 0 1px, transparent 1px 4px), linear-gradient(150deg, #213a5e, #101f36 80%); }
.wax-seal { width: clamp(76px, 20vw, 91px); }
.lilies { width: 26%; }
.lilies-left { left: -3%; bottom: -15%; transform: rotate(-24deg); }
.lilies-right { right: -3%; top: -15%; transform: rotate(156deg); }
.prelude { margin-bottom: 4.5rem; padding-inline: 1rem; }
.opening-instruction { padding-inline: 1rem; }
.opening-instruction p { font-size: 1.1rem; }
.personal-inner { grid-template-columns: minmax(0, 1fr); gap: 2.7rem; }
.personal-copy { text-align: center; }
.personal-copy .eyebrow { margin-inline: auto; }
.fine-rule { margin-inline: auto; }
.cassock-frame { width: min(83%, 350px); margin-inline: auto; }
.cassock-window { position: relative; aspect-ratio: 1000 / 1448; overflow: hidden; border-radius: 48% 48% 0 0; }
/* Source x=40..1040 centers the face near x=540 while preserving natural proportions. */
.cassock-frame img { position: absolute; width: 108.6%; max-width: none; height: auto; top: 0; left: 0; transform: translateX(-3.683241%); border-radius: 0; }
.personal-section { padding: 5rem 1.5rem 7rem; }
.utility-bar { gap: .1rem 1rem; }
@media (min-width:760px) {
  .envelope-space { width: min(70%, 540px); }
  .grand-reveal { padding-top: 7.5rem; }
  .personal-inner { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
