/* Latest phone feedback, 11 Nov. One shared ground, balanced section rhythm,
   smaller readable body copy and an unbroken reply frame. Artwork identity is untouched. */
@media screen{
 :root{--ivory:#fff8e8;--ground:#fff8e8;--paper:#fff8e8;--fold-edge:clamp(64px,8svh,88px);--body-copy:clamp(14px,3.65vw,15px)}
 html,body,#invitation-shell,#main{background:var(--ground)}
 body{font-size:var(--body-copy);line-height:1.45}
 #main>section,#top .hero__details,#celebration .wrap,#celebration .day__body,#venue .wrap,#venue .venue__art,#venue .venue-illustration{background:transparent;border:0}
 #main>section{position:relative;padding-block:var(--fold-edge);overflow:visible;background-color:var(--ground)}
 #top{isolation:isolate;padding-top:max(var(--fold-edge),calc(var(--arch-a) * .16));padding-bottom:var(--fold-edge)}
 #top .hero-stage{--couple-w:min(100%,330px);width:min(100%,540px)}
 #top .couple-title{width:min(84%,450px);margin:12px auto 8px}
 #top .couple-title__arc text{font-size:90px}
 #top .couple-illustration{width:var(--couple-w);max-width:none;margin:calc(-1 * clamp(42px,12vw,60px)) auto 0;padding:0}
 #top .couple-illustration img{aspect-ratio:auto;width:100%;height:auto;object-fit:contain}
 #top .hero__details{max-width:520px;margin:0 auto 0;padding:0}
 #top .hero__invite{font:400 clamp(18px,4.6vw,21px)/1.35 var(--title-serif);letter-spacing:.01em;color:var(--prose-ink);gap:2px}
 #top .invite-line{display:block}
 #top .opening-arch--foot{bottom:0}
 #top:after,#celebration:after,#venue:after,#rsvp:after{
  content:'';display:block;position:absolute;left:50%;bottom:0;transform:translateX(-50%);margin:0;
  width:24px;height:24px;background:url('/assets/ornament/diamond-divider-v23.svg') center/24px 24px no-repeat;pointer-events:none;z-index:2;clip-path:none
 }
 #top .hero__details:after,#blessings:after{content:none;display:none}
 #celebration .generated-calendar{background:none;mix-blend-mode:normal}
 #celebration .day__body:before,#celebration .day__body:after{content:none;display:none}
 #celebration .generated-calendar:before{content:none;display:none}
 #celebration .generated-calendar img{mix-blend-mode:multiply}
 #venue .venue__art--bleed img{mix-blend-mode:multiply}
 #celebration .sketch-date-venue,#celebration .sketch-time{font-size:var(--body-copy);line-height:1.45}
 #venue .venue__address,#venue .venue__note,#rsvp .rsvp__intro>p:last-child,#rsvp .rsvp-form__notice,#blessings .families__parents{font-size:var(--body-copy);line-height:1.45}
 #venue .venue__note{max-width:34em}
 #venue .text-link{font-size:12px;letter-spacing:.05em}
 #rsvp .rsvp__inner{--arch-h:calc(var(--card-w) * .384);margin-block:0;padding-top:calc(var(--arch-h) * .42 + 20px)}
 /* Eight pixels of overlap on each line join prevents mobile subpixel seams. */
 #rsvp .rsvp__inner:after{
  background:url('/assets/ornament/reply-arch-line-v25.svg') 50% 0/100% auto no-repeat,
   url('/assets/ornament/reply-side-line-v22.svg') 0 calc(var(--arch-h) - 8px)/100% calc(100% - var(--arch-h) - var(--foot-h) + 16px) no-repeat,
   url('/assets/ornament/reply-foot-line-v22.svg') 50% 100%/100% auto no-repeat;
  clip-path:none;transition:none
 }
 html.motion-on.motion-ready #rsvp:has(.rsvp__intro:not(.is-visible)) .rsvp__inner:after{clip-path:none}
 #rsvp .rsvp-continuous-frame{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;overflow:visible}
 #rsvp .rsvp__inner.reply-frame-ready:after{background:none}
 #rsvp .rsvp__intro{margin-bottom:20px}
 #rsvp .rsvp__intro>p:last-child{max-width:30em;margin-inline:auto;text-wrap:pretty}
 #rsvp .mobile-copy-break{display:inline}
 #rsvp .side-choice{min-height:44px;line-height:1.35}
 #rsvp .field__label,#rsvp .side-choice span{font-size:var(--body-copy)}
 #rsvp .rsvp-form textarea.field__input{font-size:16px;min-height:48px;height:48px}
 #blessings{background:transparent}
 #blessings .sacred{margin-bottom:36px}
 #blessings .blessings__copy{max-width:680px}
 #blessings .blessings__elders{font:400 clamp(25px,6.4vw,32px)/1.25 var(--title-serif);letter-spacing:.01em;margin-bottom:18px}
 #blessings .blessings__elders strong{font-weight:400;-webkit-text-stroke:.2px currentColor}
 #blessings .blessings__text{font:400 var(--body-copy)/1.5 var(--body);letter-spacing:0;text-transform:none;max-width:40em;margin-inline:auto;text-wrap:balance}
 #blessings .blessings__text{padding-left:0}
 #blessings .blessings__line{display:block;white-space:normal;text-wrap:balance}
 #blessings .families{margin-top:32px;padding:32px 24px;gap:16px}
 #blessings .families__one{padding-block:0}
 #blessings .families__name{margin:0 auto 4px;padding:0;line-height:1.2}
 #blessings .families__parents{margin-top:8px}
 #blessings .families__rel{margin-bottom:6px}
 #blessings .closing-wishes{margin-top:32px;padding:0 12px}
 /* Remove the raster footer band: a clean continuous paper field is preferable
    to a visible light rectangle. Only the small diamond remains. */
 .site-footer{background:var(--ground);border:0;margin:0;padding:24px var(--gutter) calc(28px + env(safe-area-inset-bottom,0px));min-height:0}
 .site-footer .footer-motif{display:block;background:none;filter:none;mix-blend-mode:normal;opacity:1;-webkit-mask:none;mask:none;width:24px;height:24px;margin:0 auto 24px}
 .site-footer .footer-divider{position:static;display:block;transform:none;width:24px;height:24px;background:url('/assets/ornament/diamond-divider-v23.svg') center/24px 24px no-repeat}
 .site-footer p{background:none;margin-inline:auto}
 .site-footer .footer-couple{margin-bottom:8px}
 .site-footer .footer-essential{font-size:10px;line-height:1.5}
 @media(min-width:601px){
  #top{padding-top:max(var(--fold-edge),calc(var(--arch-a) * .12))}
  #top .hero-stage{--couple-w:min(100%,420px)}
  #top .couple-title{width:min(88%,450px)}
  #blessings .families{padding-block:40px}
 }
 @media(max-width:600px){
  /* Reserve the complete invitation copy and equal breathing space inside the
     SMALL viewport, including iPhone browser chrome. Large type may grow the fold. */
  #main>#top{--hero-pad:max(48px,calc(var(--arch-a) * .16));--hero-title-w:calc((100vw - 48px) * .84);--portrait-overlap:clamp(42px,12vw,60px);padding-block:var(--hero-pad)}
  #top .hero-stage{--couple-w:min(100%,330px,calc(max(240px,var(--fold-height) - var(--hero-pad) * 2 - var(--hero-title-w) * .3 - 84px + var(--portrait-overlap)) * .666667))}
  #top .couple-illustration{margin-top:calc(-1 * var(--portrait-overlap))}
  #top .hero__details{margin-top:0;padding-bottom:0}
  #top .hero__invite{padding-inline:4px;overflow:visible}
  #blessings .blessings__text{font-size:13px}
 }
 @media(max-width:360px){#blessings .blessings__text{font-size:12px}#blessings .families{padding-inline:16px}}
 @media(max-width:300px){#top .couple-title{width:100%}#top .hero-stage{--couple-w:100%}}
 @media(forced-colors:active){#top:after,#celebration:after,#venue:after,#rsvp:after,.site-footer .footer-motif{display:none}#blessings .blessings__elders strong{-webkit-text-stroke:0}}

 /* Latest feedback: brighter reading field, no decorative bulbs, taller crown. */
 #main>#top{background-color:var(--ground)}
 #top .couple-illustration img,.opening-home-preview__couple img{mix-blend-mode:normal;filter:none;-webkit-mask:none;mask:none}
 #main>#celebration{background:var(--ground)}
 #rsvp .rsvp__inner:before{
  -webkit-mask:url('/assets/ornament/reply-arch-mask-v25.svg') 50% 0/100% auto no-repeat,linear-gradient(#000,#000) 0 calc(var(--arch-h) - 2px)/100% 100% no-repeat;
  mask:url('/assets/ornament/reply-arch-mask-v25.svg') 50% 0/100% auto no-repeat,linear-gradient(#000,#000) 0 calc(var(--arch-h) - 2px)/100% 100% no-repeat
 }
 #blessings .families:before{background:none;border-image-source:url('/assets/ornament/family-frame-v25.svg')}
}

/* c4: the raster ornament must never brighten a rectangular paper strip.
   The inner image is whitened before its parent blends onto the shared cream. Both edges fade before the section ends. */
@media screen{
 #top .opening-arch{background:none;filter:none;mix-blend-mode:multiply}
 #top .opening-arch:before{content:'';position:absolute;inset:0;background:url('/assets/art/opening-arch-ivory-v20.webp') no-repeat;background-size:100% auto;filter:brightness(1.06)}
 #top .opening-arch--top:before{background-position:50% 0}
 #top .opening-arch--foot:before{background-position:50% 100%}
 #top .opening-arch--foot{
  -webkit-mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 24%,#000 calc(100% - 18px),transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),linear-gradient(to bottom,transparent,#000 24%,#000 calc(100% - 18px),transparent);
  mask-composite:intersect
 }
}
