/* 11 Nov phone review: same invitation, clearer materials, compact controls,
   matched typography, and a homepage preview inside the envelope. */
.envelope__front{background-image:linear-gradient(to bottom,rgba(255,255,255,0) 45%,rgba(255,255,255,.48) 100%),url('/assets/art/paper-ivory-v11-768.jpg')}
.envelope__card .opening-home-preview{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;padding:8% 7% 9%;isolation:isolate;background:var(--ivory);container-type:inline-size}
.opening-home-preview__arch{position:absolute;inset:0;background:url('/assets/art/ceremonial-arch-v11.png') center 8%/130% auto no-repeat;opacity:.25;z-index:-1;mask-image:linear-gradient(#000 45%,transparent 92%);-webkit-mask-image:linear-gradient(#000 45%,transparent 92%)}
.opening-home-preview__names{display:block;width:100%;height:auto;overflow:visible;flex-shrink:0}
.opening-home-preview__names text{font-family:var(--names);font-size:96px;fill:#6c3f0e;stroke:var(--ivory);stroke-width:5px;paint-order:stroke fill}
.opening-home-preview__names tspan{font-family:var(--display);font-size:50px;font-style:italic;fill:#9a6a2c}
.opening-home-preview__couple{display:block;width:78%;margin:4% auto 3%;position:relative}
.opening-home-preview__couple img{display:block;width:100%;height:auto}
.opening-home-preview__line{display:block;font:italic 400 4.4cqw/1.5 var(--display);letter-spacing:.01em;color:var(--prose-ink);text-align:center}
/* A faint architectural setting beyond the figure, on a separate layer. */
#top .hero-stage:after{content:'';position:absolute;inset:20% -24px 3%;z-index:0;background:url('/assets/art/fairmont-ochre-v9.webp') center 80%/min(125%,740px) auto no-repeat;opacity:.09;pointer-events:none;-webkit-mask-image:radial-gradient(ellipse at 50% 55%,#000 12%,rgba(0,0,0,.65) 55%,transparent 78%);mask-image:radial-gradient(ellipse at 50% 55%,#000 12%,rgba(0,0,0,.65) 55%,transparent 78%)}
/* Smaller repeat makes the pattern denser, and a modestly stronger ink stays quiet. */
#celebration .generated-calendar:before{width:min(148%,calc(100vw - 24px),540px);top:48%;transform:translate(-50%,-50%);background-size:180px 180px;background-repeat:repeat;opacity:.30;-webkit-mask-image:radial-gradient(closest-side,#000 26%,rgba(0,0,0,.75) 58%,transparent 96%);mask-image:radial-gradient(closest-side,#000 26%,rgba(0,0,0,.75) 58%,transparent 96%)}
#venue .cta-row{flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 16px;padding-inline:18px}
#venue .cta-row .button{flex:0 0 auto;width:fit-content;max-width:100%;min-width:0;margin:0;padding:11px 18px;min-height:46px}
@media(min-width:880px){#venue .cta-row{justify-content:flex-start;padding-inline:0}}
/* Native radios retain a 44px hit area; inherited text-field padding no longer
   makes the 18px radio itself 48px tall. Labels may still grow naturally. */
#rsvp .side-choice{min-height:44px;padding:9px 12px;gap:9px;line-height:1.4}
#rsvp .side-choice input{width:18px;height:18px;min-width:18px;min-height:18px;padding:0;flex:0 0 18px}
#rsvp .side-choice span:before{width:18px;height:18px;margin-right:6px;vertical-align:-3px}
#blessings .blessings__elders{font-family:var(--title-serif);font-weight:400;line-height:1.3;letter-spacing:.02em}
#blessings .blessings__elders strong{font-weight:400}
#blessings .blessings__elders .amp{font-family:var(--title-serif);font-weight:400;font-style:normal}
#blessings{padding-bottom:clamp(96px,12vw,132px)}
.site-footer{padding-top:40px;padding-bottom:calc(42px + env(safe-area-inset-bottom,0px))}
/* Gentle irregular warm twinkle, well below flashing frequencies. Visible only
   while the reply arch is on screen, automatically, with a steady reduced-motion fallback. */
html.motion-on #rsvp .rsvp-lights__bulbs circle{opacity:.72;animation:none}
html.motion-on #rsvp .rsvp-lights.is-twinkling .rsvp-lights__bulbs circle{animation:fairy-twinkle 3.8s ease-in-out infinite both}
#rsvp .rsvp-lights.is-twinkling .rsvp-lights__bulbs circle:nth-child(3n+1){animation-delay:-1.1s;animation-duration:4.6s}
#rsvp .rsvp-lights.is-twinkling .rsvp-lights__bulbs circle:nth-child(3n+2){animation-delay:-2.7s;animation-duration:3.4s}
#rsvp .rsvp-lights.is-twinkling .rsvp-lights__bulbs circle:nth-child(3n){animation-delay:-.5s;animation-duration:4.1s}
@keyframes fairy-twinkle{0%,100%{opacity:.46;filter:drop-shadow(0 0 3px #ffc87888)}35%{opacity:1;filter:drop-shadow(0 0 6px #ffc878) drop-shadow(0 0 14px #ffaa4677)}64%{opacity:.63;filter:drop-shadow(0 0 4px #ffc878aa)}82%{opacity:.87;filter:drop-shadow(0 0 5px #ffc878) drop-shadow(0 0 10px #ffaa4655)}}
@media(prefers-reduced-motion:reduce){#rsvp .rsvp-lights__bulbs circle{animation:none!important;opacity:.72}}
@media(forced-colors:active){#top .hero-stage:after,.opening-home-preview__arch{display:none}}
@media print{#rsvp .rsvp-lights__bulbs circle{animation:none!important}}

/* The photo-based figure is taller; keep its complete outline proportionate. */
#top .hero-stage{--couple-w:min(92%,320px)}
@media(min-width:601px){#top .hero-stage{--couple-w:min(92%,380px)}}
