/* Snap & Share and the small maker credit keep the invitation primary. */
.snap-share-section{position:relative;overflow:hidden;background:var(--warm-white);padding-top:clamp(90px,11vw,150px);padding-bottom:clamp(90px,11vw,150px)}
.snap-share-inner{display:grid;grid-template-columns:minmax(120px,.6fr) minmax(0,1fr);gap:clamp(40px,9vw,150px);align-items:center;max-width:900px;margin:0 auto}
.snap-share-art{display:flex;flex-direction:column;align-items:center;gap:24px;color:var(--antique-gold);opacity:.72}
.snap-share-monogram{font:clamp(24px,3vw,42px)/1 var(--serif);letter-spacing:.1em}
.snap-share-rule{width:1px;height:130px;background:linear-gradient(var(--antique-gold),transparent)}
.snap-share-section h2{font-size:clamp(54px,7vw,100px);margin-top:24px}
.snap-share-copy{font-size:clamp(21px,2.1vw,29px);line-height:1.35;color:var(--ink-muted);margin-top:30px}
.social-links{display:flex;gap:25px;margin-top:34px;flex-wrap:wrap}
.social-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;color:var(--ink-muted);font:500 9px/1.6 var(--sans);letter-spacing:.13em;text-transform:uppercase}
.social-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.4}
.social-link:first-child svg{fill:currentColor;stroke:none}
.social-link.is-disabled{opacity:.52;cursor:default}
.snap-share-section .field-note{margin-top:12px}
.final-section footer{padding-top:18px}
.footer-branding{display:flex;align-items:center;justify-content:center;gap:5px 12px;flex-wrap:wrap;min-width:190px;text-align:center;color:#cebeaf}
.footer-logo{display:block;width:min(105px,100%);height:auto;max-height:42px;object-fit:contain;flex-basis:100%;font:7px var(--sans)}
.footer-created{font:7px/1.5 var(--sans);letter-spacing:.13em;text-transform:uppercase;flex-basis:100%}
.footer-brand-name{font:500 9px/1.6 var(--sans);letter-spacing:.2em;color:var(--ivory);min-height:44px;display:inline-flex;align-items:center}
@media(max-width:767px){
  .snap-share-section{padding-block:85px}
  .snap-share-inner{display:block;text-align:center}
  .snap-share-art{flex-direction:row;gap:18px;justify-content:center;margin-bottom:38px}
  .snap-share-rule{height:1px;width:70px;background:linear-gradient(90deg,transparent,var(--antique-gold),transparent)}
  .snap-share-section h2{font-size:clamp(48px,14vw,70px)}
  .snap-share-copy{font-size:21px}
  .social-links{justify-content:center;gap:14px}
  .footer-branding{grid-column:1/-1;grid-row:2;min-width:0;width:100%;padding-block:12px 8px;border-top:1px solid #70574d;border-bottom:1px solid #70574d}
  .footer-logo{width:min(90px,100%);max-height:36px}
  .final-section footer{bottom:calc(50px + env(safe-area-inset-bottom));grid-template-columns:1fr 1fr;align-items:center;gap:8px 18px}
  .final-section footer .secret-trigger{grid-column:1;grid-row:1}
  .final-section footer>a{grid-column:1/-1;grid-row:3}
}
@media(prefers-reduced-motion:reduce){.snap-share-section .reveal{opacity:1;transform:none}}

/* Final section refinement: keep the altar line in the content flow so the
   footer divider can never cross it. */
.final-section.dark{min-height:95vh;min-height:95svh;min-height:95dvh;justify-content:flex-start;padding-top:clamp(105px,12vw,175px);padding-bottom:0;background:radial-gradient(circle at 50% 22%,rgba(185,148,99,.1),transparent 40%),linear-gradient(135deg,#5a0f1c 0%,#3a1f1a 55%,#2f201c 100%)}
.final-section>.reveal{width:100%;flex:0 0 auto}
.final-section .final-phrase{margin-top:55px;margin-bottom:28px}
.final-section .altar{margin-top:58px;margin-bottom:54px}
.final-section footer{position:static;left:auto;right:auto;bottom:auto;width:100%;max-width:1180px;margin:0 auto;padding:36px 24px calc(70px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;border-top:1px solid rgba(246,240,231,.25);border-bottom:0;color:#cebeaf}
.final-section footer>.secret-trigger{justify-self:start;color:#e8d8c3}
.final-section footer>.footer-branding{grid-column:2;grid-row:1;justify-self:center;min-width:210px;gap:7px 12px}
.final-section footer>.label{justify-self:end;grid-column:3;grid-row:1;transition:letter-spacing .3s ease,opacity .3s ease}
.final-section footer>.label:hover{letter-spacing:.22em;opacity:1}
.final-section .footer-logo{width:88px;height:88px;max-height:none;margin-bottom:5px;object-fit:contain}
.final-section .footer-logo{flex-basis:auto}
.final-section .footer-created{font-size:8px;letter-spacing:.18em;opacity:.65}
.final-section .footer-brand-name{font-weight:600;letter-spacing:.14em}
@media(max-width:767px){
  .final-section.dark{min-height:100svh;min-height:100dvh;padding-top:90px}
  .final-section .final-phrase{margin-top:42px;margin-bottom:25px}
  .final-section .altar{margin-top:48px;margin-bottom:58px}
  .final-section footer{position:static;display:flex;flex-direction:column;gap:18px;padding:30px 24px calc(92px + env(safe-area-inset-bottom));text-align:center}
  .final-section footer>.footer-branding{order:1;width:100%;min-width:0;padding:0 0 4px;border:0}
  .final-section footer>.secret-trigger{order:2;justify-self:auto}
  .final-section footer>.label{order:3;justify-self:auto;grid-column:auto;min-height:44px}
  .final-section .footer-logo{width:70px;height:70px;max-height:none;margin-bottom:6px}
  .final-section .footer-created{font-size:7px}
}
.final-in-view .music-control{opacity:0;pointer-events:none;transform:translateY(5px)}
