/* Version 1. These selectors only apply to explicitly selected variants. */
body[data-variant-version="1"] { --variant-gap:clamp(24px,5vw,64px); }
body[data-variant] #heroSection { display:grid!important; grid-template-columns:minmax(0,1fr); gap:0; min-width:0; position:relative; padding:clamp(28px,5vw,64px)!important; margin:0 0 72px!important; text-align:center; background:var(--bg-parchment)!important; border:1px solid var(--atelier-rule)!important; color:var(--text-primary); isolation:isolate; }
body[data-variant] #heroSection > * { min-width:0; max-width:100%; grid-column:1!important; grid-row:auto!important; position:relative; z-index:1; }
body[data-variant] #heroSection > :is(.signature-garden,#atelierBotanical,.journey-cover-mark,.vintage-ornament) { display:none!important; }
body[data-variant] #heroSection::before,body[data-variant] #heroSection::after { display:none; }
body[data-variant] #heroSection { min-height:0; align-content:start; justify-items:stretch; }
body[data-variant] #atelierEventTitle { order:0; margin:0 0 24px; font:500 .75rem/1.7 var(--font-sans); letter-spacing:.19em; text-transform:uppercase; }
body[data-variant] #heroBlessingLine { order:1; margin:0 auto 20px; max-width:29em; font:400 .8125rem/1.8 var(--font-sans); letter-spacing:.025em; text-transform:none; }
body[data-variant] .hero-kinetic-title { order:2; display:flex; flex-direction:column; align-items:center; gap:4px; margin:0 0 24px!important; width:auto; }
body[data-variant] .hero-name-item { font-size:calc(clamp(36px,5.5vw,76px) * var(--atelier-name-scale) * var(--a11y-font-scale,1))!important; line-height:1.13!important; letter-spacing:var(--atelier-tracking); max-width:100%; overflow-wrap:anywhere; text-wrap:balance; margin:0; padding:.08em .04em; }
body[data-variant] .hero-ampersand { font:italic 1.75rem/1.4 var(--font-serif); padding:0; margin:0; }
body[data-variant] #heroSection > .hero-photo-frame { order:3; position:relative!important; inset:auto!important; height:auto; z-index:1; width:min(100%,340px); max-width:100%; aspect-ratio:4/5; margin:10px auto 26px; padding:0; border-radius:0; border:0; outline:0; background:var(--bg-card); overflow:hidden; box-shadow:none; }
body[data-variant] #heroSection > .hero-photo-frame img { width:100%; height:100%; object-fit:cover; }
body[data-variant] #heroLoveQuote { order:4; margin:12px auto 24px; max-width:26em; font:italic 1.375rem/1.6 var(--font-serif); }
body[data-variant] .hero-date-badge { order:5; border:0; border-top:1px solid var(--atelier-rule); border-radius:0; padding:18px 0 0; margin:0 auto; background:none; font:400 1.0625rem/1.7 var(--font-serif); text-wrap:balance; }
body[data-variant] #heroSection > .wedding-city-text { order:6; margin:12px auto 0!important; font:400 .75rem/1.8 var(--font-sans)!important; letter-spacing:.1em!important; }
body[data-variant] .variant-mark { display:block; width:52px; height:52px; color:var(--text-primary); pointer-events:none; }
body[data-variant] #heroSection > .variant-mark { order:-1; margin:0 auto 18px; }
body[data-variant] #envelopeScreen > .variant-mark { position:absolute; bottom:30px; left:calc(50% - 22px); width:44px; height:44px; z-index:0; }
body[data-variant] #rsvpSection .variant-mark { margin:22px auto 0; width:40px; height:40px; }
body[data-variant] [data-variant-missing="true"], body[data-variant-photo="hide"] #heroSection > .hero-photo-frame { display:none!important; }

/* Cover architecture: each variant has an independent arrangement. */
body[data-variant-cover="letter"] #heroSection > .hero-photo-frame { width:62%; padding:9px 9px 26px; border:1px solid var(--atelier-rule); }
body[data-variant-cover="type"] #heroSection { text-align:left; border-inline:0!important; }
body[data-variant-cover="type"] .hero-kinetic-title { align-items:flex-start; }
body[data-variant-cover="type"] #heroSection > :is(#atelierEventTitle,#heroBlessingLine,#heroLoveQuote,.hero-date-badge,.wedding-city-text) { margin-left:0!important; text-align:left; }
body[data-variant-cover="archive"] #heroSection > .hero-photo-frame { order:1; width:82%; padding:8px 8px 28px; transform:rotate(-2deg); box-shadow:0 12px 28px #00000012; }
body[data-variant-cover="archive"] #heroSection { border:0!important; }
body[data-variant-cover="masthead"] .hero-name-item { font-family:var(--font-serif); font-style:normal; }
body[data-variant-cover="masthead"] #heroSection > .hero-photo-frame { width:100%; max-width:none; aspect-ratio:5/4; }
body[data-variant-cover="manifesto"] #heroSection { border-block:3px solid var(--text-primary)!important; border-inline:0!important; }
body[data-variant-cover="manifesto"] #heroLoveQuote { font-size:calc(clamp(27px,4vw,42px) * var(--a11y-font-scale,1)); font-style:normal; }
body[data-variant-cover="reportage"] #heroSection > .hero-photo-frame { order:0; width:100%; aspect-ratio:3/2; }
body[data-variant-cover="reportage"] .hero-kinetic-title { border-bottom:1px solid var(--atelier-rule); padding-bottom:20px; }
body[data-variant-cover="arch"] #heroSection > .hero-photo-frame { border-radius:48% 48% 0 0; padding:10px; border:1px solid var(--atelier-rule); }
body[data-variant-cover="branch"] #heroSection { border:0!important; text-align:left; padding-left:clamp(30px,7vw,90px)!important; }
body[data-variant-cover="branch"] .hero-kinetic-title { align-items:flex-start; }
body[data-variant-cover="branch"] #heroSection > .variant-mark { position:absolute; right:22px; top:35px; width:88px; height:120px; opacity:.45; }
body[data-variant-cover="specimen"] #heroSection { outline:1px solid var(--atelier-rule); outline-offset:-12px; }
body[data-variant-cover="specimen"] #heroSection > .variant-mark { width:105px; height:105px; margin:8px auto 22px; }
body[data-variant-cover="specimen"] #heroSection > .hero-photo-frame { width:47%; aspect-ratio:1; padding:5px; border:1px solid var(--atelier-rule); }
body[data-variant-cover="cinema"] #heroSection { min-height:850px; align-content:end; }
body[data-variant-cover="cinema"] #heroSection > .hero-photo-frame { position:absolute!important; inset:0!important; width:100%; height:100%; max-width:none; aspect-ratio:auto; margin:0; z-index:-2; }
body[data-variant-cover="cinema"] #heroSection::after { display:block; content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,#0002,#000b 65%,#000e); }
body[data-variant-cover="cinema"] .hero-kinetic-title { padding-top:12px; }
body[data-variant-cover="vow"] #heroSection { border:1px solid var(--atelier-rule)!important; padding-block:80px!important; }
body[data-variant-cover="vow"] #heroLoveQuote { font-size:calc(clamp(25px,4vw,36px) * var(--a11y-font-scale,1)); }
body[data-variant-cover="vow"] #heroSection > .variant-mark { width:76px; height:76px; }
body[data-variant-cover="exhibit"] #heroSection > .hero-photo-frame { order:0; width:68%; aspect-ratio:3/4; padding:16px; border:1px solid var(--atelier-rule); }
body[data-variant-cover="exhibit"] .hero-name-item { font-size:calc(clamp(32px,4.8vw,62px) * var(--atelier-name-scale) * var(--a11y-font-scale,1))!important; }
body[data-variant-cover="panorama"] #heroSection { border-block:2px solid var(--text-primary)!important; border-inline:0!important; }
body[data-variant-cover="panorama"] #heroSection > .hero-photo-frame { width:100%; max-width:none; aspect-ratio:16/9; }
body[data-variant-cover="portico"] #heroSection { border-radius:42% 42% 0 0; padding-top:85px!important; outline:1px solid var(--atelier-rule); outline-offset:-12px; }
body[data-variant-cover="portico"] #heroSection > .hero-photo-frame { width:64%; border-radius:42% 42% 0 0; }
body[data-variant-cover="route"] #heroSection { border-inline:0!important; border-top:0!important; }
body[data-variant-cover="route"] .hero-date-badge { order:0; font-size:1.4375rem; border-block:1px solid var(--text-primary); padding:15px; margin:0 0 30px; }
body[data-variant-cover="route"] #heroSection > .hero-photo-frame { width:75%; aspect-ratio:3/2; }
body[data-variant-cover="oval"] #heroSection > .hero-photo-frame { border-radius:50%; width:70%; outline:1px solid var(--atelier-rule); outline-offset:10px; }
body[data-variant-cover="courtyard"] #heroSection { border-radius:80px 80px 0 0; border-bottom-width:4px!important; }
body[data-variant-cover="courtyard"] #heroSection > .hero-photo-frame { aspect-ratio:1; width:76%; }
body[data-variant-cover="offset"] #heroSection { border:0!important; text-align:left; }
body[data-variant-cover="offset"] #heroSection > .hero-photo-frame { margin-left:auto; margin-right:0; width:78%; }
body[data-variant-cover="offset"] .hero-kinetic-title { align-items:flex-start; }
body[data-variant-cover="medallion"] #heroSection { outline:1px solid var(--atelier-rule); outline-offset:-10px; }
body[data-variant-cover="medallion"] #heroSection > .hero-photo-frame { width:62%; border-radius:50%; aspect-ratio:1; padding:8px; border:1px solid var(--text-primary); }
body[data-variant-cover="playbill"] #heroSection { border-block:4px double var(--text-primary)!important; border-inline:0!important; }
body[data-variant-cover="playbill"] #atelierEventTitle { border-bottom:1px solid var(--atelier-rule); padding-bottom:20px; }
body[data-variant-cover="playbill"] .hero-date-badge { font:500 .8125rem/1.8 var(--font-sans); letter-spacing:.12em; text-transform:uppercase; }
body[data-variant-cover="angles"] #heroSection { border-top:5px solid var(--text-primary)!important; border-right:0!important; text-align:left; }
body[data-variant-cover="angles"] .hero-kinetic-title { align-items:flex-start; }
body[data-variant-cover="angles"] #heroSection > .hero-photo-frame { margin-left:0; width:86%; aspect-ratio:5/4; }
body[data-variant-cover="split-wide"] #heroSection > .hero-photo-frame { width:100%; aspect-ratio:16/10; }
body[data-variant-cover="split-wide"] .hero-kinetic-title { align-items:flex-start; }
body[data-variant-cover="paired-card"] #heroSection > .hero-photo-frame { width:60%; order:0; padding:8px; border:1px solid var(--atelier-rule); }
body[data-variant-cover="paired-card"] .hero-kinetic-title { padding:22px 12px; border-block:1px solid var(--atelier-rule); }
body[data-variant-cover="tall"] #heroSection { outline:1px solid var(--atelier-rule); outline-offset:-12px; }
body[data-variant-cover="tall"] #heroSection > .hero-photo-frame { width:65%; aspect-ratio:2/3; order:1; }
body[data-variant-cover="open-round"] #heroSection { border:0!important; }
body[data-variant-cover="open-round"] #heroSection > .hero-photo-frame { width:66%; aspect-ratio:1; border-radius:50%; }
body[data-variant-cover="open-round"] #heroSection > .variant-mark { position:absolute; right:14px; top:30%; width:85px; height:85px; opacity:.4; }
body[data-variant-cover="windows"] #heroSection > .hero-photo-frame { border-radius:90px 90px 0 0; padding:9px; border:1px solid var(--atelier-rule); }
body[data-variant-cover="windows"] #heroSection { border-radius:100px 100px 0 0; background:linear-gradient(90deg,transparent 32.9%,var(--atelier-rule) 33%,transparent 33.1%,transparent 66.9%,var(--atelier-rule) 67%,transparent 67.1%),var(--bg-parchment)!important; }
body[data-variant-cover="gate"] #heroSection { border-inline:6px double var(--atelier-rule)!important; border-block:0!important; }
body[data-variant-cover="gate"] #heroSection > .hero-photo-frame { aspect-ratio:2/3; width:66%; }
body[data-variant-cover="stone"] #heroSection { border-width:12px!important; border-color:color-mix(in srgb,var(--text-primary) 12%,var(--bg-parchment))!important; }
body[data-variant-cover="stone"] #heroSection > .hero-photo-frame { width:60%; aspect-ratio:1; }
body[data-variant-cover="strip"] #heroSection > .hero-photo-frame { order:0; width:100%; aspect-ratio:2/1; }
body[data-variant-cover="strip"] .hero-date-badge { width:100%; border-block:1px solid var(--text-primary); padding-block:15px; }
body[data-variant-cover="city"] #heroSection > .hero-photo-frame { order:0; aspect-ratio:3/4; width:76%; margin-right:0; }
body[data-variant-cover="city"] .hero-kinetic-title { align-items:flex-start; border-left:2px solid var(--text-primary); padding-left:18px; }
body[data-variant-cover="welcome"] #heroSection > .hero-photo-frame { order:0; width:100%; aspect-ratio:3/2; padding:7px; border:1px solid var(--atelier-rule); }
body[data-variant-cover="welcome"] #heroLoveQuote { border-left:1px solid var(--atelier-rule); padding-left:20px; text-align:left; }
body[data-variant-cover="layers"] #heroSection { border:0!important; box-shadow:8px 8px 0 var(--bg-card),9px 9px 0 var(--atelier-rule); margin-right:12px!important; }
body[data-variant-cover="layers"] #heroSection > .hero-photo-frame { padding:7px 7px 26px; width:72%; transform:rotate(2deg); }
body[data-variant-cover="wave"] #heroSection { border-radius:45% 8% 40% 5% / 3% 3% 3% 3%; border-block:2px solid var(--atelier-rule)!important; }
body[data-variant-cover="wave"] #heroSection > .hero-photo-frame { width:100%; aspect-ratio:16/10; border-radius:45% 5% 42% 7% / 7% 3% 7% 3%; }
body[data-variant-cover="palm"] #heroSection > .variant-mark { width:100px; height:100px; position:absolute; top:22px; right:12px; opacity:.35; }
body[data-variant-cover="palm"] #heroSection > .hero-photo-frame { border-radius:46% 46% 0 0; width:70%; }
body[data-variant-cover="palm"] #heroSection { border-inline:0!important; }
body[data-variant-cover="placecard"] #heroSection { padding-block:80px!important; outline:1px solid var(--atelier-rule); outline-offset:-16px; }
body[data-variant-cover="placecard"] #heroLoveQuote { font-size:1.25rem; max-width:18em; }
body[data-variant-cover="gazette"] #heroSection { border-top:4px double var(--text-primary)!important; border-inline:0!important; text-align:left; }
body[data-variant-cover="gazette"] .hero-kinetic-title { align-items:flex-start; border-block:1px solid var(--atelier-rule); padding-block:20px; }
body[data-variant-cover="gazette"] #heroSection > .hero-photo-frame { width:57%; aspect-ratio:1; margin-left:0; }
body[data-variant-cover="rows"] #heroSection > .hero-photo-frame { width:100%; aspect-ratio:16/10; padding-block:8px; border-block:3px double var(--atelier-rule); }
body[data-variant-cover="rows"] .hero-date-badge { border-top:3px double var(--text-primary); width:100%; }
body[data-variant-cover="vine"] #heroSection > .variant-mark { width:92px; height:92px; }
body[data-variant-cover="vine"] #heroSection > .hero-photo-frame { width:62%; padding:8px; border:3px double var(--atelier-rule); }
body[data-variant-cover="vine"] #heroSection { outline:1px solid var(--atelier-rule); outline-offset:-12px; }
body[data-variant-cover="landscape"] #heroSection { border:0!important; padding-inline:0!important; }
body[data-variant-cover="landscape"] #heroSection > .hero-photo-frame { order:0; width:100%; max-width:none; aspect-ratio:16/9; }
body[data-variant-cover="landscape"] #heroSection > :not(.hero-photo-frame) { margin-inline:24px!important; }
body[data-variant-cover="crest"] #heroSection > .variant-mark { width:76px; height:76px; padding:10px; border:1px solid var(--atelier-rule); border-radius:50%; }
body[data-variant-cover="crest"] #heroSection > .hero-photo-frame { width:44%; aspect-ratio:1; padding:5px; border:1px solid var(--atelier-rule); }

/* Reading rhythms change the whole invitation, keeping a single live form. */
body[data-variant] .module-section:not(#heroSection) { min-width:0; overflow-wrap:break-word; }
/* The recipe owns its paper surfaces; inherited glass must not wash out ink chapters. */
body[data-variant] :is(.reveal-card,.venue-card,.gift-card,.rsvp-card,.timeline-milestone-card,.dress-code-card,.adults-only-card,.hashtag-card,.parents-blessing-card,.countdown-box,.bank-info-box,.rule-box,.timeline-step-card,.rsvp-glass-card) {
  background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body[data-variant] .module-section:not(#heroSection) {--gold-text:var(--text-primary);}
body[data-variant] #prohibitedBannerTitle {color:var(--text-primary)!important;}
body[data-variant] #dressCodeRuleText {color:var(--text-primary)!important;}
body[data-variant] .module-section[data-variant-panel] { padding:clamp(24px,4vw,48px); margin-block:0 56px; border-radius:0; background:var(--bg-parchment); }
body[data-variant] .module-section[data-variant-panel] .vintage-section-header { margin-bottom:28px; min-width:0; }
body[data-variant] .section-title { overflow-wrap:anywhere; text-wrap:balance; }
body[data-variant] .module-section[data-variant-panel="open"] { padding-inline:0; border:0!important; }
body[data-variant] .module-section[data-variant-panel="paper"] { border:1px solid var(--atelier-rule)!important; background:var(--bg-card); }
body[data-variant] .module-section[data-variant-panel="rule"] { border:0!important; border-top:1px solid var(--atelier-rule)!important; }
body[data-variant] .module-section[data-variant-panel="aside"] { border:0!important; border-left:2px solid var(--atelier-rule)!important; }
body[data-variant] .module-section[data-variant-panel="aside"] .vintage-section-header { text-align:left; }
body[data-variant] .module-section[data-variant-panel="note"] { border:1px solid var(--atelier-rule)!important; box-shadow:6px 6px 0 color-mix(in srgb,var(--text-primary) 5%,var(--bg-parchment)); }
body[data-variant] .module-section[data-variant-panel="index"] { border-block:2px solid var(--text-primary)!important; border-inline:0!important; }
body[data-variant] .module-section[data-variant-panel="index"] .vintage-section-header { display:grid; grid-template-columns:auto minmax(0,1fr); column-gap:20px; text-align:left; }
body[data-variant] .module-section[data-variant-panel="index"] .journey-folio { grid-row:1/4; font:italic 48px/1 var(--font-serif); }
body[data-variant] .module-section[data-variant-panel="band"] { border:0!important; background:var(--bg-card); padding-block:60px; }
body[data-variant] .module-section[data-variant-panel="arch"] { border:1px solid var(--atelier-rule)!important; border-radius:55px 55px 0 0; }
body[data-variant] .module-section[data-variant-panel="frame"] { border:1px solid var(--atelier-rule)!important; outline:1px solid var(--atelier-rule); outline-offset:-9px; }
body[data-variant] .module-section[data-variant-panel="narrow"] { width:min(100%,680px); margin-inline:auto; border:0!important; }
body[data-variant] .module-section[data-variant-panel="double"] { border:4px double var(--atelier-rule)!important; }
body[data-variant] .module-section[data-variant-panel="postcard"] { border:1px solid var(--text-primary)!important; padding-top:48px; }
body[data-variant] .module-section[data-variant-panel="route"] { border:0!important; border-left:1px solid var(--text-primary)!important; }
body[data-variant] .module-section[data-variant-panel="route"] .vintage-section-header { text-align:left; border-bottom:1px solid var(--atelier-rule); padding-bottom:20px; }
body[data-variant] .module-section[data-variant-panel="angle"] { border:0!important; border-top:5px solid var(--text-primary)!important; }
body[data-variant] .module-section[data-variant-panel="angle"] .vintage-section-header { text-align:right; }
body[data-variant] .module-section[data-variant-panel="wave"] { border-block:1px solid var(--atelier-rule)!important; border-radius:35% 4% 35% 4% / 3% 2% 3% 2%; }
body[data-variant] #historiaSection .historia-editorial-body { min-width:0; gap:30px; }
body[data-variant-story="letter"] #historiaSection .historia-editorial-body { border-left:1px solid var(--atelier-rule); padding-left:clamp(18px,4vw,40px); text-align:left; }
body[data-variant-story="column"] #historiaSection .historia-editorial-body { max-width:600px; margin:auto; text-align:left; }
body[data-variant-story="captioned"] #historiaSection .hero-photo-frame { padding:8px 8px 30px; border:1px solid var(--atelier-rule); width:min(85%,350px); }
body[data-variant-story="framed"] #historiaSection .historia-editorial-body { padding:clamp(16px,3vw,32px); border:1px solid var(--atelier-rule); }
body[data-variant-story="center"] #historiaSection .historia-editorial-body { text-align:center; max-width:680px; margin:auto; }
body[data-variant-story="band"] #historiaSection .hero-photo-frame { width:100%; max-width:none; aspect-ratio:16/10; }
body[data-variant] :is(input,select,textarea,button,a):focus-visible { outline:2px solid var(--text-primary); outline-offset:4px; }

@media(min-width:760px) {
  body[data-variant-cover]:is([data-variant-cover="masthead"],[data-variant-cover="branch"],[data-variant-cover="offset"],[data-variant-cover="angles"],[data-variant-cover="split-wide"],[data-variant-cover="paired-card"],[data-variant-cover="city"]) #heroSection { grid-template-columns:minmax(0,1fr) minmax(0,1fr); column-gap:var(--variant-gap); align-items:center; }
  body[data-variant-cover]:is([data-variant-cover="masthead"],[data-variant-cover="branch"],[data-variant-cover="offset"],[data-variant-cover="angles"],[data-variant-cover="split-wide"],[data-variant-cover="paired-card"],[data-variant-cover="city"]) #heroSection > .hero-photo-frame { grid-column:2!important; grid-row:1/7!important; width:100%; margin:0; }
  body[data-variant-cover="city"] #heroSection > .hero-photo-frame, body[data-variant-cover="paired-card"] #heroSection > .hero-photo-frame { grid-column:1!important; }
  body[data-variant-cover="city"] #heroSection > :not(.hero-photo-frame), body[data-variant-cover="paired-card"] #heroSection > :not(.hero-photo-frame) { grid-column:2!important; }
  body[data-variant-cover="panorama"] .hero-kinetic-title,body[data-variant-cover="rows"] .hero-kinetic-title,body[data-variant-cover="strip"] .hero-kinetic-title { flex-direction:row; flex-wrap:wrap; justify-content:center; gap:16px; }
  body[data-variant-cover="reportage"] #heroSection > .hero-photo-frame { width:83%; margin-left:0; }
  body[data-variant-cover="reportage"] #heroLoveQuote { margin-right:0; text-align:right; }
  body[data-variant-story="split-right"] #historiaSection .hero-photo-frame { grid-column:2; grid-row:1/4; }
  body[data-variant-story="split-right"] #historiaSection :is(#historiaShortText,.journey-signature) { grid-column:1; }
  body[data-variant-story="split-left"] #historiaSection .hero-photo-frame { grid-column:1; grid-row:1/4; }
  body[data-variant-story="split-left"] #historiaSection :is(#historiaShortText,.journey-signature) { grid-column:2; }
  body[data-variant] .module-section[data-variant-panel="aside"] { margin-left:6%; width:94%; }
}
@media(max-width:759px) {
  body[data-variant] #heroSection { padding:32px 22px!important; }
  body[data-variant] #heroSection > .hero-photo-frame { max-width:100%; }
  body[data-variant] .hero-name-item { font-size:calc(clamp(34px,10vw,62px) * var(--atelier-name-scale) * var(--a11y-font-scale,1))!important; }
  body[data-variant] .hero-quote { font-size:21px; }
  body[data-variant] .module-section[data-variant-panel] { padding:28px 18px; margin-bottom:38px; }
  body[data-variant] #historiaSection .historia-editorial-body { display:flex!important; flex-direction:column; }
  body[data-variant] #historiaSection :is(.hero-photo-frame,#historiaShortText,.journey-signature) { width:100%; max-width:100%; }
  body[data-variant-cover="portico"] #heroSection { padding-top:72px!important; }
  body[data-variant-cover="placecard"] #heroSection,body[data-variant-cover="vow"] #heroSection { padding-block:65px!important; }
  body[data-variant-cover="cinema"] #heroSection > .hero-photo-frame { margin:-12px 0 26px; width:100%; }
  body[data-variant-cover="branch"] #heroSection > .variant-mark { position:relative; top:auto; right:auto; width:65px; height:65px; margin-left:0; }
  body[data-variant-cover="open-round"] #heroSection > .variant-mark,body[data-variant-cover="palm"] #heroSection > .variant-mark { position:relative; top:auto; right:auto; width:65px; height:65px; }
  body[data-variant] .timeline-milestone-card { min-width:0; }
}
body[data-variant-photo="hide"] #heroSection { grid-template-columns:minmax(0,1fr)!important; }
body[data-variant-photo="hide"] #heroSection > * { grid-column:1!important; grid-row:auto!important; }
body[data-variant-photo-shape="rectangle"] #heroSection > .hero-photo-frame {border-radius:0!important;}
body[data-variant-photo-shape="arch"] #heroSection > .hero-photo-frame {border-radius:50% 50% 0 0!important;}
body[data-variant-photo-shape="oval"] #heroSection > .hero-photo-frame {border-radius:50%!important;}
@media(prefers-reduced-motion:reduce) { body[data-variant] .variant-mark { animation:none!important; transform:none!important; } }
/* Reader preferences override collection ink, inline chapter palettes and photo overlays. */
body[data-variant].a11y-high-contrast,
body[data-variant].a11y-high-contrast .module-section {
  --bg-parchment:#fff!important;--bg-card:#fff!important;--bg-card-alt:#fff!important;
  --text-primary:#111!important;--text-muted:#262626!important;--text-light:#333!important;
  --gold-primary:#4a3300!important;--gold-dark:#4a3300!important;--gold-text:#4a3300!important;
  --chapter-bg:#fff!important;--chapter-ink:#111!important;
  background:#fff!important;color:#111!important;
}
body[data-variant].a11y-high-contrast #heroSection :is(.hero-name-item,.hero-ampersand,#heroBlessingLine,#heroLoveQuote,.hero-date-badge,.wedding-city-text,#atelierEventTitle) {color:#111!important;}
body[data-variant].a11y-high-contrast #heroSection::after {display:none!important;}
body[data-variant].a11y-high-contrast #mainContent #rsvpSection {background:#fff!important;--bg-card:#fff!important;--bg-parchment:#fff!important;--chapter-bg:#fff!important;--chapter-ink:#111!important;}
body[data-variant-cover="cinema"].a11y-high-contrast #heroSection > .hero-photo-frame {position:relative!important;inset:auto!important;height:auto;max-width:340px;aspect-ratio:4/5;z-index:1;}
