/*
  Verônica & Fellipe — desktop reconstruction from the layered PSD.
  Source artboard: 3535 × 11142 px.
  Desktop geometry below is derived from the actual PSD layer bounds/text settings.

  Licensed font binaries are not bundled. Run install-fonts.command after placing
  the original Saans and Adobe Garamond ZIPs next to the site folder.
*/
@font-face{font-family:"Saans-TRIAL";src:url("fonts/Saans-TRIAL-Light.otf") format("opentype");font-style:normal;font-weight:300;font-display:block}
@font-face{font-family:"Saans-TRIAL";src:url("fonts/Saans-TRIAL-Regular.otf") format("opentype");font-style:normal;font-weight:400;font-display:block}
@font-face{font-family:"Saans-TRIAL";src:url("fonts/Saans-TRIAL-Medium.otf") format("opentype");font-style:normal;font-weight:500;font-display:block}
@font-face{font-family:"Saans-TRIAL";src:url("fonts/Saans-TRIAL-SemiBold.otf") format("opentype");font-style:normal;font-weight:600;font-display:block}
@font-face{font-family:"Saans-TRIAL";src:url("fonts/Saans-TRIAL-RegularItalic.otf") format("opentype");font-style:italic;font-weight:400;font-display:block}
@font-face{font-family:"Adobe Garamond Pro";src:url("fonts/AGaramondPro-Regular.otf") format("opentype");font-style:normal;font-weight:400;font-display:block}
@font-face{font-family:"Adobe Garamond Pro";src:url("fonts/AGaramondPro-Italic.otf") format("opentype");font-style:italic;font-weight:400;font-display:block}
@font-face{font-family:"Adobe Garamond Pro";src:url("fonts/AGaramondPro-Bold.otf") format("opentype");font-style:normal;font-weight:700;font-display:block}

:root{--red:#d6003d;--ink:#080808;--paper:#f5f4f0}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#000}
body{margin:0;background:#000;color:var(--ink);font-family:"Saans-TRIAL",sans-serif;-webkit-font-smoothing:antialiased;text-rendering:geometricPrecision;overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
.mobile-only{display:none}
.serif{font-family:"Adobe Garamond Pro",serif}
.sans{font-family:"Saans-TRIAL",sans-serif}
.site{
  position:relative;
  width:100vw;
  height:calc(100vw * 11142 / 3535);
  overflow:clip;
  background:#fff;
}
.site>section,.footer{position:absolute;left:0;width:100%}
/* The opening portrait banner stays pinned while the following sections slide over it. */
.site>.hero{position:sticky;top:0;left:0;z-index:0}
.countdown-section,.history,.agenda,.dress,.gift,.rsvp,.footer{z-index:2}
.section-title{font-weight:400;margin:0;line-height:1;white-space:nowrap}
.short-rule{height:.14144vw;background:currentColor;width:6.44979vw}
.outline{display:inline-flex;align-items:center;justify-content:center;border:.08487vw solid currentColor;background:transparent;border-radius:.19802vw;transition:background-color .2s ease,color .2s ease,border-color .2s ease;cursor:pointer}
.outline-black:hover,.outline-black:focus-visible{background:#000;color:#fff;border-color:#000}
.outline-white:hover,.outline-white:focus-visible{background:#fff;color:#000;border-color:#fff}

/* HERO — y 0–1995 */
.hero{top:0;height:17.90522%;overflow:hidden;background:#3b3a38;color:#fff}
.hero-photo{position:absolute;left:0;top:0;width:100%;height:auto;max-width:none}
.hero-shade{position:absolute;inset:0;background:rgba(0,0,0,.702)}
.monogram{position:absolute;left:3.33805%;top:1.98020vw;width:6.02546%;z-index:4}
.top-nav{position:absolute;inset:0;z-index:5;font-family:"Saans-TRIAL",sans-serif;font-weight:500;font-size:.97058vw;line-height:1;letter-spacing:.01em}
.top-nav>a:not(.outline){position:absolute;top:4.30000vw;padding:0;white-space:nowrap}
.nav-history{left:54.45545%}
.nav-agenda{left:64.66761%}
.nav-dress{left:72.27723%}
.nav-gift{left:80.56577%}
.top-nav>a:not(.outline)::after{content:"";position:absolute;left:0;right:100%;top:1.555vw;height:.16973vw;background:#fff;transition:right .22s ease}
.top-nav>a:not(.outline):hover::after,.top-nav>a:not(.outline):focus-visible::after{right:0}
.nav-rsvp{position:absolute;left:88.45827%;top:3.11174vw;width:7.72277vw;height:4.38472vw;font-size:1.37709vw;font-weight:500;letter-spacing:.16em;border-width:.14144vw}
.hero-lettering{position:absolute;z-index:3;left:17.90665%;top:24.41301vw;width:64.18670%}
.hero-subtitle,.hero-date{position:absolute;z-index:3;left:50%;transform:translateX(-50%);font-family:"Adobe Garamond Pro",serif;font-size:1.15983vw;line-height:1;white-space:nowrap}
.hero-subtitle{top:40.90523vw}
.hero-date{top:43.16832vw}

/* COUNTDOWN — y 1995–2577 */
.countdown-section{top:17.90522%;height:5.22348%;background:#fff;text-align:center}
.eyebrow{position:absolute;top:3.59264vw;left:0;width:100%;margin:0;font-size:.79208vw;font-weight:400;line-height:1;letter-spacing:.21em;text-transform:uppercase}
.countdown{position:absolute;left:35.55870%;top:6.39321vw;width:28.23197%;height:5.85573vw}
.time-unit{position:absolute;top:0;text-align:center}
.unit-days{left:1.15983vw;width:6.47808vw}
.unit-hours{left:9.10891vw;width:5.12023vw}
.unit-minutes{left:15.72843vw;width:5.28996vw}
.unit-seconds{left:22.51768vw;width:5.28996vw}
.flip{position:relative;margin-top:.90523vw;height:3.39463vw;background:#333;color:#fff;display:grid;place-items:center;overflow:hidden;font-family:"Saans-TRIAL",sans-serif;font-weight:300;font-size:1.83876vw;line-height:1;border-radius:.19802vw;perspective:500px}
.flip::before{content:"";position:absolute;left:0;right:0;top:50%;height:.14144vw;background:rgba(255,255,255,.98);z-index:3}
.flip::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(255,255,255,.025),rgba(0,0,0,.06));pointer-events:none}
.flip span{transform:translateY(-.02em)}
.flip.is-flipping span{animation:flipPulse .5s ease}
@keyframes flipPulse{0%{transform:translateY(-.02em) rotateX(0)}45%{transform:translateY(-.02em) rotateX(-72deg);opacity:.35}55%{transform:translateY(-.02em) rotateX(65deg);opacity:.45}100%{transform:translateY(-.02em) rotateX(0);opacity:1}}
.time-unit small{display:block;margin-top:.42433vw;font-size:.65064vw;font-weight:400;line-height:1}

/* HISTORY — y 2577–4278 */
.history{top:23.12870%;height:15.26656%;background:var(--paper);overflow:visible}
.history-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo-stripe{position:absolute;z-index:4;left:15.33239%;top:-4.66770vw;width:17.05799%;will-change:transform;filter:drop-shadow(0 .10vw .08vw rgba(0,0,0,.05))}
.history-lettering{position:absolute;z-index:5;left:26.70438%;top:18.69873vw;width:17.76521%}
.history-copy{position:absolute;left:49.98586%;top:4.07355vw;width:42.26308%;z-index:3}
.history-copy .section-title{font-size:1.83876vw}
.history-copy .short-rule{position:absolute;left:.05658vw;top:2.23480vw;margin:0}
.story-body{position:absolute;left:.05658vw;top:5.51627vw;width:42.26308vw;font-size:1.04668vw;line-height:1.41443vw;font-weight:400;white-space:nowrap}
.story-body strong{font-weight:600}
.quote{position:absolute;left:.08487vw;top:27.29844vw;width:15.27581vw;margin:0;font-size:1.04668vw;line-height:1.41443vw;font-style:italic;font-weight:400;white-space:nowrap}
.signoff{position:absolute;left:.05658vw;top:37.56719vw;margin:0;font-size:1.04668vw;line-height:1.41443vw;font-weight:400;white-space:nowrap}

/* AGENDA — y 4278–6092 */
.agenda{top:38.39526%;height:16.28074%;background:#fff}
.agenda-content{position:absolute;inset:0;text-align:center}
.agenda-content .section-title{position:absolute;left:27.41160%;top:6.11033vw;width:5.74257vw;font-size:1.83876vw;text-align:center}
.agenda-content .short-rule{position:absolute;left:27.07214%;top:8.76945vw;margin:0}
.agenda-intro{position:absolute;left:18.72702%;top:11.88119vw;width:23.16832vw;margin:0;font-size:1.21641vw;line-height:1.78218vw;text-align:center}
.acts{position:absolute;left:7.24187%;top:17.14286vw;width:46.39321vw;height:16.71853vw;display:grid;grid-template-columns:22.54597vw 22.54597vw;gap:1.13154vw;text-align:center}
.act-card{position:relative;background:#eeede9;border-radius:.50919vw;height:16.71853vw;font-size:1.21641vw;line-height:2.20651vw;font-weight:400}
.act-card strong{font-weight:600}
.act-first,.act-second{position:absolute;left:0;width:100%;margin:0}
.act-one .act-first{top:3.08345vw}.act-one .act-second{top:10.24045vw}
.act-two .act-first{top:3.02687vw}.act-two .act-second{top:10.29703vw}
.dinner-line{position:absolute;left:4.83734vw;top:2.20651vw;width:7.29844vw;text-align:left;white-space:nowrap}
.mini-btn{position:absolute;left:12.92786vw;top:1.81047vw;width:4.95050vw;height:2.00849vw;border:.08487vw solid #111;background:transparent;border-radius:.19802vw;cursor:pointer;font-family:"Saans-TRIAL",sans-serif;font-weight:500;font-size:.88091vw;line-height:1;transition:background-color .2s,color .2s}
.mini-btn:hover,.mini-btn:focus-visible{background:#000;color:#fff}
.venue-address{position:absolute;left:18.01980%;top:36.35078vw;width:29.34088vw;margin:0;font-size:1.21641vw;line-height:1.78218vw;text-align:center}
.venue-actions{position:absolute;inset:0;font-size:.93352vw;line-height:1.21641vw;text-align:left}
.venue-actions .map-link{position:absolute;left:16.35078%;top:42.20651vw;width:7.21358vw;height:2.85714vw;font-size:1.22065vw;font-weight:500;border-radius:.19802vw}
.v-sep{position:absolute;top:42.17822vw;width:.14144vw;height:2.82885vw;background:#111}
.sep-one{left:25.54455%}.sep-two{left:34.37058%}
.valet{position:absolute;left:28.48656%;top:42.54597vw;width:3.76238vw;font-size:.93352vw;line-height:1.21641vw;text-align:center}
.uber{position:absolute;left:36.32249%;top:42.54597vw;width:8.00566vw;font-size:.93352vw;line-height:1.21641vw;text-align:left}
.venue-card{position:absolute;left:60.99010%;top:6.08204vw;width:31.42857%;will-change:transform;transition:filter .25s ease}
.venue-card:hover{filter:brightness(.95)}
.venue-card img{width:100%}

/* DRESS — y 6092–7599 */
.dress{top:54.67600%;height:13.52540%;background:var(--paper);overflow:hidden}
.dress-paper{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.dress-copy{position:absolute;left:19.74540%;top:0;width:60.22631%;height:100%;text-align:center;z-index:3}
.dress-copy .section-title{position:absolute;left:0;top:3.45120vw;width:100%;font-size:1.83876vw;text-align:center}
.dress-copy .short-rule{position:absolute;left:calc(50% - 3.22490vw);top:5.99717vw;margin:0}
.dress-copy p{position:absolute;left:0;top:9.25035vw;width:100%;margin:0;font-size:1.04668vw;line-height:1.41443vw;text-align:center;white-space:nowrap}
.dress-lettering{position:absolute;left:5.65771%;top:9.84441vw;width:12.67327%;z-index:4}
.dress-illustration{position:absolute;left:15.86987%;top:17.90665vw;width:68.74116%;filter:grayscale(1);transition:filter .5s ease,transform .5s ease;z-index:2;will-change:filter,transform}
.dress-illustration:hover{filter:grayscale(0);transform:translateY(-.10vw)}

/* GIFT — y 7599–9454 */
.gift{top:68.20050%;height:16.64872%;background:var(--red);overflow:hidden}
.gift-shadows{position:absolute;left:0;top:-6.98727vw;width:100%;max-width:none;pointer-events:none;opacity:.08}
.gift-photo-wrap{position:absolute;inset:0;z-index:2}
.gift-frame,.gift-car,.car-stamp{position:absolute;max-width:none}
.gift-frame{border:.08487vw solid rgb(255,45,110);background:transparent;pointer-events:none}
.frame-outer{left:16.01132%;top:11.20226vw;width:24.69590%;height:29.98586vw}
.frame-inner{left:16.54880%;top:11.76803vw;width:23.64922%;height:28.88260vw}
.gift-car{left:18.07638%;top:13.94625vw;width:20.50919%}
.car-stamp{left:12.58840%;top:15.58699vw;width:7.92079%;will-change:transform}
.gift-copy{position:absolute;inset:0;text-align:center;z-index:3}
.gift-copy .section-title{position:absolute;left:71.86421%;top:5.14851vw;transform:translateX(-50%);font-size:1.83876vw}
.gift-copy .short-rule{position:absolute;left:68.74116%;top:7.75106vw;margin:0}
.costa-lettering{position:absolute;left:63.73409%;top:11.57001vw;width:16.52051%;margin:0}
.gift-text{position:absolute;left:51.88119%;top:21.95191vw;width:40.19802%;font-size:1.21641vw;line-height:1.78218vw;text-align:center;white-space:nowrap}
.gift-action{position:absolute;inset:0;margin:0;height:100%;z-index:6}
.gift-button{position:absolute;left:67.55304%;top:41.04668vw;width:9.02405vw;height:3.30976vw;font-size:1.21641vw;font-weight:500;border-radius:.19802vw}
.gift-reveal{position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;transition:opacity .35s ease;transform:none}
.gift-reveal.is-open{opacity:1;pointer-events:auto;transform:none}
.qr-box,.qr-code,.reveal-stamp-vef,.reveal-stamp-italy,.reveal-airplane{position:absolute;max-width:none}
.qr-box{left:67.12871%;top:37.82178vw;width:9.87270%}
.qr-code{left:67.86421%;top:38.41584vw;width:8.42999%}
.reveal-stamp-vef{left:76.26591%;top:36.23762vw;width:6.90240%;transform:none}
.reveal-stamp-italy{left:80.59406%;top:41.58416vw;width:4.15842%;transform:none}
.reveal-airplane{left:80.56577%;top:36.23762vw;width:8.68458%;transform:none}

/* RSVP — y 9454–10255 */
.rsvp{top:84.84922%;height:7.18803%;background:#fff;text-align:center}
.rsvp .section-title{position:absolute;left:50%;top:7.38331vw;transform:translateX(-50%);font-size:1.83876vw}
.rsvp .short-rule{position:absolute;left:46.81754%;top:9.73126vw;margin:0}
.rsvp .outline{position:absolute;left:46.50636%;top:11.85290vw;width:7.24187vw;height:2.85714vw;font-size:1.21641vw;font-weight:500;letter-spacing:.16em;border-radius:.19802vw}

/* FOOTER — y 10255–11142 */
.footer{top:92.03734%;height:7.96266%;background:#050505;color:#fff}
.footer-couple{position:absolute;left:4.24328%;top:2.77228vw;width:8.11881%}
.footer-nav{position:absolute;left:70.83451%;top:3.33805vw;width:22.40453%;display:grid;grid-template-columns:1fr auto;column-gap:16.29420vw;font-size:.65064vw;line-height:1;white-space:nowrap}
.footer-nav div{display:flex;flex-direction:column;gap:2.35361vw}
.footer-nav a{opacity:.98;transition:opacity .2s}
.footer-nav a:hover,.footer-nav a:focus-visible{opacity:.55}
.copyright,.year{position:absolute;top:24.01697vw;font-size:.50919vw;font-weight:400;line-height:1}
.copyright{left:4.35644%}.year{left:95.07779%}

#historia,#agenda,#arrume-se,#presenteie,#rsvp{scroll-margin-top:1rem}

/* Mobile/tablet reflow. Desktop remains the reference composition; below 900px the same content becomes readable and touch-friendly. */
@media (max-width:900px){
  html,body{background:#fff}
  .site{width:100%;height:auto;overflow:visible}
  .site>.hero{position:sticky;top:0;z-index:0}
  .countdown-section,.history,.agenda,.dress,.gift,.rsvp,.footer{position:relative;z-index:2}
  .site>section,.footer{position:relative;left:auto;top:auto;width:100%;height:auto}

  .hero{min-height:92svh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:7rem 1.4rem 3rem}
  .hero-photo{inset:0;width:100%;height:100%;object-fit:cover;object-position:54% center}
  .hero-shade{background:rgba(0,0,0,.66)}
  .monogram{left:1.25rem;top:1.25rem;width:4.2rem}
  .top-nav{position:absolute;top:1.2rem;right:1rem;left:6.2rem;bottom:auto;height:auto;display:flex;align-items:center;justify-content:flex-end;gap:.85rem;font-size:.72rem;flex-wrap:wrap}
  .top-nav>a:not(.outline){position:relative;left:auto;top:auto}
  .top-nav>a:not(.outline)::after{top:auto;bottom:-.22rem;height:1px}
  .nav-rsvp{position:relative;left:auto;top:auto;width:auto;height:auto;padding:.62rem .9rem;font-size:.72rem;border-width:1px;border-radius:3px}
  .hero-lettering{position:relative;left:auto;top:auto;width:min(92%,680px);z-index:2;margin:0 auto}
  .hero-subtitle,.hero-date{position:relative;left:auto;top:auto;transform:none;font-size:1rem;margin-top:.65rem;z-index:2}
  .hero-date{font-size:.92rem;margin-top:.45rem}

  .countdown-section{padding:2.4rem 1rem 2.6rem;text-align:center}
  .eyebrow{position:relative;top:auto;left:auto;font-size:.68rem;letter-spacing:.2em;margin:0 0:1.5rem}
  .countdown{position:relative;left:auto;top:auto;width:min(34rem,100%);height:auto;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem}
  .time-unit,.unit-days,.unit-hours,.unit-minutes,.unit-seconds{position:relative;left:auto;top:auto;width:auto}
  .flip{margin-top:0;height:3.8rem;font-size:1.9rem;border-radius:3px}
  .flip::before{height:1px}
  .time-unit small{font-size:.62rem;margin-top:.45rem}

  .history{padding:4rem 1.35rem 4.5rem;background:#f5f4f0;overflow:hidden}
  .history-paper{position:absolute;inset:0;height:100%;object-fit:cover}
  .photo-stripe{position:relative;left:auto;top:auto;width:min(14rem,56vw);margin:-5.4rem auto 2rem;z-index:3}
  .history-lettering{position:absolute;left:4%;top:28%;width:9.5rem}
  .history-copy{position:relative;left:auto;top:auto;width:min(44rem,100%);margin:auto;z-index:4}
  .history-copy .section-title,.agenda-content .section-title,.dress-copy .section-title,.gift-copy .section-title,.rsvp .section-title{position:relative;left:auto;top:auto;transform:none;width:auto;font-size:2rem;text-align:center}
  .short-rule,.history-copy .short-rule,.agenda-content .short-rule,.dress-copy .short-rule,.gift-copy .short-rule,.rsvp .short-rule{position:relative;left:auto;top:auto;width:7.5rem;height:1px;margin:1rem auto 0}
  .story-body{position:relative;left:auto;top:auto;width:100%;margin-top:2.5rem;font-size:.98rem;line-height:1.45rem;white-space:normal}
  .quote{position:relative;left:auto;top:auto;width:auto;font-size:1rem;line-height:1.35rem;margin-top:2.3rem;white-space:normal}
  .signoff{position:relative;left:auto;top:auto;font-size:1rem;line-height:1.4rem;margin-top:2rem;white-space:normal}

  .agenda{padding:4.2rem 1.25rem 4.5rem;display:flex;flex-direction:column}
  .agenda-content{position:relative;inset:auto;width:min(44rem,100%);margin:auto;order:1}
  .agenda-intro{position:relative;left:auto;top:auto;width:auto;font-size:1rem;line-height:1.45rem;margin:2rem 0}
  .acts{position:relative;left:auto;top:auto;width:100%;height:auto;grid-template-columns:1fr;gap:.9rem}
  .act-card{height:17rem;border-radius:.35rem;font-size:1.15rem;line-height:1.8rem}
  .act-first{top:2.4rem!important}.act-second{top:10.2rem!important}
  .dinner-line{position:static;display:inline;margin-right:.5rem;white-space:normal}
  .mini-btn{position:static;display:inline-flex;width:auto;height:auto;padding:.35rem .65rem;font-size:.8rem;border-width:1px;border-radius:.2rem;vertical-align:middle}
  .venue-address{position:relative;left:auto;top:auto;width:auto;font-size:.98rem;line-height:1.4rem;margin:2rem 0 1.6rem}
  .venue-actions{position:relative;inset:auto;display:flex;align-items:center;justify-content:center;gap:1rem;font-size:.83rem;line-height:1.15rem;flex-wrap:wrap}
  .venue-actions .map-link{position:relative;left:auto;top:auto;width:7rem;height:2.65rem;font-size:.9rem;border-width:1px;border-radius:3px}
  .v-sep{position:relative;left:auto!important;top:auto;width:1px;height:2.5rem}
  .valet,.uber{position:relative;left:auto;top:auto;width:auto;font-size:.83rem;line-height:1.15rem;text-align:center}
  .venue-card{position:relative;left:auto;top:auto;width:min(29rem,88%);margin:2.8rem auto 0;order:2}

  .dress{padding:4rem 1.2rem 0;min-height:39rem}
  .dress-paper{position:absolute;inset:0;height:100%;object-fit:cover}
  .dress-copy{position:relative;left:auto;top:auto;width:min(46rem,100%);height:auto;margin:auto;z-index:3}
  .dress-copy p{position:relative;left:auto;top:auto;width:auto;font-size:.95rem;line-height:1.45rem;margin:1.8rem 0 0;white-space:normal}
  .dress-lettering{left:.4rem;top:16rem;width:8rem}
  .dress-illustration{position:relative;left:auto;top:auto;width:110%;max-width:none;margin:2.5rem -5% 0;filter:grayscale(1)}

  .gift{padding:4rem 1.2rem 5rem;display:flex;flex-direction:column;background:#d6003d}
  .gift-shadows{position:absolute;left:0;top:0;width:100%;height:100%;object-fit:cover}
  .gift-photo-wrap{position:relative;inset:auto;width:min(27rem,86vw);height:31rem;margin:0 auto 3rem;z-index:2}
  .frame-outer{left:0;top:0;width:100%;height:100%}.frame-inner{left:2.15%;top:1.9%;width:95.4%;height:96.3%}
  .gift-car{left:11%;top:12%;width:73%;height:auto}.car-stamp{left:-9%;top:17%;width:29%}
  .gift-copy{position:relative;inset:auto;width:min(45rem,100%);margin:auto;z-index:3}
  .gift-copy .section-title{white-space:normal}
  .costa-lettering{position:relative;left:auto;top:auto;width:min(17rem,60%);margin:2rem auto 1.5rem}
  .gift-text{position:relative;left:auto;top:auto;width:auto;font-size:.97rem;line-height:1.45rem;white-space:normal}
  .gift-action{position:relative;inset:auto;height:11rem;margin-top:1.2rem}
  .gift-button{left:50%;top:0;transform:translateX(-50%);width:9.5rem;height:3.2rem;font-size:.95rem;border-width:1px;border-radius:3px}
  .gift-reveal{position:absolute;inset:0;width:21rem;height:10rem;left:50%;transform:translateX(-50%);opacity:0}
  .gift-reveal.is-open{transform:translateX(-50%)}
  .qr-box{left:1rem;top:.5rem;width:7.8rem}.qr-code{left:1.55rem;top:1rem;width:6.7rem}
  .reveal-stamp-vef{left:9.2rem;top:-.2rem;width:5.5rem}.reveal-stamp-italy{left:13.7rem;top:4.7rem;width:3.7rem}.reveal-airplane{left:12.8rem;top:.2rem;width:7.2rem}

  .rsvp{padding:4.8rem 1rem 5.4rem}
  .rsvp .outline{position:relative;left:auto;top:auto;width:8rem;height:3rem;font-size:.9rem;border-width:1px;border-radius:3px;margin-top:1.5rem}

  .footer{min-height:25rem;padding:3rem 1.4rem;background:#050505}
  .footer-couple{position:relative;left:auto;top:auto;width:8rem}
  .footer-nav{position:relative;left:auto;top:auto;width:100%;margin-top:2.5rem;display:grid;grid-template-columns:1fr 1fr;column-gap:0;font-size:.82rem;line-height:1.1}
  .footer-nav div{gap:1.35rem}
  .copyright,.year{font-size:.65rem;top:auto;bottom:1.25rem}
  .copyright{left:1.4rem}.year{left:auto;right:1.4rem}
}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.parallax,.scroll-stamp,.dress-illustration,.gift-reveal,.flap-anim{transition:none!important;animation:none!important}}

/* =========================================================
   V4 corrections — exact local fonts, smoother split-flap,
   stacking fixes and agenda line-control.
   ========================================================= */

/* Do not synthesize fake weights/styles. The real local font files are mandatory. */
html,body{font-synthesis:none}
.serif{font-synthesis:none}
.sans{font-synthesis:none}

/* The photo strip must be able to pass over the Agenda section instead of being clipped at the History boundary. */
.history{z-index:7!important;overflow:visible!important}
.photo-stripe{z-index:40!important}
.agenda{z-index:3}

/* Split-flap clock adapted from the supplied flip-clock reference, but sized to the PSD cards. */
.split-flap{
  position:relative;
  height:3.39463vw;
  width:100%;
  color:#fff;
  background:#333;
  border-radius:.19802vw;
  box-shadow:0 .055vw .17vw rgba(0,0,0,.22);
  perspective:900px;
  transform:translateZ(0);
  font-family:"Saans-TRIAL",sans-serif;
  font-weight:300;
  font-size:1.83876vw;
  line-height:3.39463vw;
  font-variant-numeric:tabular-nums;
  -webkit-font-smoothing:antialiased;
  overflow:visible;
}
.split-flap::before{
  content:"";
  position:absolute;
  z-index:12;
  left:0;
  right:0;
  top:calc(50% - .07072vw);
  height:.14144vw;
  background:rgba(248,247,243,.98);
  pointer-events:none;
}
.flap-half,
.flap-anim{
  position:absolute;
  left:0;
  width:100%;
  height:50%;
  overflow:hidden;
  background:#333;
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}
.flap-half span,
.flap-anim span{
  position:absolute;
  left:0;
  width:100%;
  height:200%;
  text-align:center;
  white-space:nowrap;
  color:#fff;
  text-shadow:0 .025vw .06vw rgba(0,0,0,.28);
}
.flap-top,.flap-top-flip{
  top:0;
  border-radius:.19802vw .19802vw 0 0;
  transform-origin:50% 100%;
}
.flap-bottom,.flap-bottom-flip{
  bottom:0;
  border-radius:0 0 .19802vw .19802vw;
  transform-origin:50% 0;
}
.flap-top span,.flap-top-flip span{top:0}
.flap-bottom span,.flap-bottom-flip span{bottom:0}
.flap-anim{z-index:8;will-change:transform}
.flap-top-flip{animation:flapTurnUp .34s cubic-bezier(.37,.01,.94,.35) both}
.flap-bottom-flip{transform:rotateX(90deg);animation:flapTurnDown .38s .31s cubic-bezier(.15,.45,.28,1) both}
.flap-top-flip::after,.flap-bottom-flip::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
}
.flap-top-flip::after{background:linear-gradient(to bottom,rgba(0,0,0,.02),rgba(0,0,0,.58));animation:flapShadowIn .34s ease-out both}
.flap-bottom-flip::after{background:linear-gradient(to bottom,rgba(0,0,0,.52),rgba(0,0,0,.02));animation:flapShadowOut .38s .31s ease-out both}
@keyframes flapTurnUp{from{transform:rotateX(0deg)}to{transform:rotateX(-90deg)}}
@keyframes flapTurnDown{from{transform:rotateX(90deg)}to{transform:rotateX(0deg)}}
@keyframes flapShadowIn{from{opacity:.05}to{opacity:.95}}
@keyframes flapShadowOut{from{opacity:.9}to{opacity:0}}

/* Reliable dress-code color interaction: decorative/text layers don't intercept the illustration hit area. */
.dress-copy,.dress-lettering{pointer-events:none}
.dress-illustration{z-index:6!important;pointer-events:auto;transition:filter .34s ease,transform .34s ease}
.dress-illustration:hover,.dress-illustration.is-color{filter:grayscale(0)!important;transform:translateY(-.10vw)}

@media (min-width:901px){
  /* The desktop canvas remains fluid: all of these values are proportions of the live viewport width. */
  .agenda-intro{
    left:18.72702%;
    transform:none;
    width:23.16832vw;
    white-space:nowrap;
  }

  .act-two .act-first{top:3.02687vw}
  .dinner-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:.65064vw;
    width:100%;
    height:2.20651vw;
    margin-top:0;
    white-space:nowrap;
    font-weight:400;
  }
  .mini-btn{
    position:static;
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:4.95050vw;
    height:2.00849vw;
    margin:0;
    transform:none;
  }

  .venue-address{white-space:nowrap}
  .valet{
    left:28.48656%;
    width:auto;
    white-space:nowrap;
  }
  .uber{
    left:36.32249%;
    width:auto;
    white-space:nowrap;
  }
}

@media (max-width:900px){
  .split-flap{
    height:3.8rem;
    border-radius:3px;
    font-size:1.9rem;
    line-height:3.8rem;
    box-shadow:0 2px 5px rgba(0,0,0,.2);
  }
  .split-flap::before{top:calc(50% - .5px);height:1px}
  .flap-top,.flap-top-flip{border-radius:3px 3px 0 0}
  .flap-bottom,.flap-bottom-flip{border-radius:0 0 3px 3px}
  .dinner-row{display:flex;justify-content:center;align-items:center;gap:.5rem;white-space:nowrap;margin-top:.1rem}
  .mini-btn{position:static;flex:0 0 auto}
  .agenda-intro{white-space:normal}
  .valet,.uber{white-space:nowrap}
  .history{overflow:visible!important}
}

@media (prefers-reduced-motion:reduce){
  .flap-anim{animation:none!important;transition:none!important}
  .dress-illustration{transition:none!important}
}

/* v13 final fixes */
.menu-link{position:relative!important;z-index:50!important;pointer-events:auto!important;text-decoration:none}
.qr-box{display:none!important}
.qr-code{left:67.12871%!important;top:37.82178vw!important;width:9.87270%!important;height:auto!important}

/* v15 — Cardápio is a native link, but preserves the exact button geometry. */
.dinner-row > .menu-link{
  position:static!important;
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  color:#111!important;
  text-decoration:none!important;
  line-height:1!important;
}
.dinner-row > .menu-link:hover,
.dinner-row > .menu-link:focus-visible{
  background:#000!important;
  color:#fff!important;
}

/* v16 — new QR artwork already includes its own rounded white card. */
.qr-box{display:none!important;}
