@font-face{font-family:Corinthia;src:url('assets/fonts/corinthia-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url('assets/fonts/cormorant-regular.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url('assets/fonts/cormorant-medium.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Cormorant Garamond';src:url('assets/fonts/cormorant-italic.ttf') format('truetype');font-style:italic;font-weight:400;font-display:swap}

:root{
  --sc-canvas:#f7f2e9;--sc-surface:#fffaf3;--sc-ink:#3f4038;--sc-ink-soft:#6f6a5f;
  --sc-accent:#7b3044;--sc-accent-ink:#fffaf3;
  --sc-font-display:'Cormorant Garamond',Georgia,serif;
  --sc-font-text:'Cormorant Garamond',Georgia,serif;
  --heart-red:#8c3449;--ghost:#e7ddd0;--line:#bca77f;--gold:#ad9362;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--sc-canvas)}
body{margin:0;background:var(--sc-canvas);font-family:var(--sc-font-text);font-size:18px;font-weight:400;line-height:1.62;color:var(--sc-ink)}
body,h1,h2,h3,p,figure,ol{margin:0}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--sc-accent);outline-offset:5px}
.svg-library{position:absolute;width:0;height:0;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;top:12px;left:12px;z-index:10;padding:10px 16px;background:var(--sc-surface);transform:translateY(-160%);clip-path:inset(50%);color:var(--sc-accent)}
.skip-link:focus{transform:translateY(0);clip-path:none}
#invitation{width:min(100%,700px);margin-inline:auto;overflow:hidden}
.hero{text-align:center;min-height:780px;min-height:100svh;max-height:1100px;padding:clamp(70px,12svh,125px) 0 70px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:radial-gradient(circle at 50% 40%,#fffaf3 0 38%,#f7f2e9 78%)}
.hero-label{text-transform:uppercase;font-size:13px;letter-spacing:.17em;font-weight:500;line-height:1.4;padding-inline:24px;color:var(--sc-ink-soft)}
.couple-names{font-family:var(--sc-font-display);font-weight:400;font-size:clamp(80px,15vw,122px);line-height:.91;color:var(--sc-accent);width:100%;padding:38px 28px 12px;text-align:center}
.couple-names>span{display:block}
.first-name{transform:translateX(-28px)}
.second-name{transform:translateX(28px);margin-top:4px}
.ampersand{font-size:.63em;display:inline-block;margin-left:7px;vertical-align:5px}
.hands{width:100%;height:auto;max-height:370px;object-fit:cover;object-position:center;margin:16px 0 0;mix-blend-mode:multiply}
.hero-date{display:block;text-transform:uppercase;font-size:18px;line-height:1.2;padding:30px 0 0;letter-spacing:.12em;color:var(--sc-ink)}
.section{padding:68px 42px;text-align:center;position:relative}
.section::before{content:"";position:absolute;top:0;left:50%;width:46px;height:1px;background:var(--gold);transform:translateX(-50%);opacity:.75}
.section-heading{position:relative;min-height:125px;display:flex;align-items:center;justify-content:center;margin:0 -16px 35px;isolation:isolate}
.heading-script{position:absolute;font-family:var(--sc-font-display);font-weight:400;font-size:clamp(82px,17vw,110px);line-height:1;color:var(--ghost);white-space:nowrap;z-index:-1;transform:rotate(-7deg);pointer-events:none;user-select:none}
h2{font-weight:500;font-size:25px;line-height:1.2;text-transform:uppercase;letter-spacing:.08em;color:var(--sc-accent)}
.prose{max-width:435px;margin-inline:auto;font-size:18px;line-height:1.55;text-wrap:pretty}
.prose p+p{margin-top:24px}
.welcome{padding-top:28px}
.music-toggle{position:fixed;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));z-index:5;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--sc-surface);color:var(--sc-accent);padding:11px;box-shadow:0 8px 24px #51473612;transition:background 180ms ease-out,color 180ms ease-out,transform 180ms ease-out}
.music-toggle[hidden]{display:none}
.music-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.music-toggle .music-pause{display:none;stroke-width:2.5}
.music-toggle[aria-pressed="true"]{background:var(--sc-accent);color:#fff}
.music-toggle[aria-pressed="true"] .music-note{display:none}
.music-toggle[aria-pressed="true"] .music-pause{display:block}
.music-toggle:active{transform:scale(.95)}
.music-status{position:fixed;right:16px;top:68px;z-index:5;max-width:220px;font-size:12px;line-height:1.4;color:var(--sc-ink);background:var(--sc-surface);border-radius:4px;box-shadow:0 8px 24px #51473612}
.music-status:not(:empty){padding:8px 12px}
.date-keepsake{margin-top:55px}
.script{font-family:var(--sc-font-display);font-weight:400;color:var(--sc-accent)}
.month{font-size:70px;line-height:1.25;margin-bottom:18px;color:var(--sc-accent)}
.date-strip{display:flex;justify-content:center;align-items:center;gap:16px;padding:0;list-style:none;height:74px}
.date-strip li{width:44px;height:47px;border:1px solid #a89f91;border-radius:50%;display:grid;place-items:center;font-size:19px;font-variant-numeric:lining-nums tabular-nums}
.date-strip .wedding-day{position:relative;width:73px;height:70px;border:0;font-size:23px}
.wedding-day svg{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--sc-accent);stroke-width:1}
.wedding-day span{position:relative;top:-3px}
.weekday{text-transform:uppercase;font-size:12px;letter-spacing:.2em;margin-top:22px;color:var(--sc-ink-soft)}
.arrival{padding-top:44px}
.arrival-intro{margin-bottom:38px}
.arrival-times{display:flex;justify-content:center;align-items:stretch;gap:26px}
.arrival-slot{min-width:128px;padding:20px 12px 17px;border-block:1px solid var(--line)}
.arrival-slot h3{font-size:13px;font-weight:500;line-height:1.4;text-transform:uppercase;letter-spacing:.12em;margin-bottom:13px;white-space:nowrap;color:var(--sc-accent)}
.arrival-slot time{font-size:38px;line-height:1;font-weight:400;letter-spacing:-.03em;font-variant-numeric:lining-nums tabular-nums}
.heart-divider{width:17px;height:16px;fill:var(--heart-red);flex-shrink:0;margin:26px auto}
.arrival-times>.heart-divider{width:15px;margin:0}
.venue{padding-top:43px}
.venue .section-heading{margin-bottom:26px}
.venue-address h3{font-family:var(--sc-font-text);font-size:42px;font-weight:500;font-style:italic;line-height:1.05;color:var(--sc-ink);letter-spacing:-.035em}
.venue-kind{font-size:15px;margin-top:8px;color:var(--sc-ink-soft);font-style:italic}
address{font-style:normal;font-size:17px;line-height:1.65;margin-top:24px}
.venue-gallery{margin-top:35px}
.photo-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;gap:12px}
.photo-track::-webkit-scrollbar{display:none}
.venue-photo{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;border-radius:14px;box-shadow:0 18px 42px #55462e1a}
.venue-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;}
.gallery-controls{display:none;justify-content:center;gap:0;height:44px;margin-top:1px}
.gallery-ready .gallery-controls{display:flex}
.gallery-dot{border:0;background:transparent;padding:0;display:grid;place-items:center;width:44px;height:44px}
.gallery-dot span{display:block;width:18px;height:2px;background:#c6bfc0;transition:background 160ms ease-out,transform 160ms ease-out}
.gallery-dot.is-active span{background:var(--sc-accent)}
.gallery-dot:active span{transform:scaleX(.8)}
.map-link{display:flex;justify-content:center;align-items:center;min-height:50px;border:1px solid var(--line);border-radius:999px;text-decoration:none;text-transform:uppercase;font-size:13px;font-weight:500;line-height:1.2;letter-spacing:.12em;transition:color 180ms ease-out,background 180ms ease-out,transform 180ms ease-out;color:var(--sc-ink);}
.map-link:active{transform:scale(.985)}
.wishes{padding-top:54px}
.wishes .prose{max-width:420px}
.wishes .prose .heart-divider{margin:24px auto}
.closing{padding-top:60px;padding-bottom:48px}
.countdown-card{border:1px solid var(--line);border-radius:22px;padding:34px 20px 30px;background:var(--sc-surface);box-shadow:0 18px 50px #55462e12}
.countdown-title{font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:.12em;margin-bottom:26px}
.countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:340px;margin:0 auto}
.countdown[hidden]{display:none}
.countdown-heart{position:relative;width:100%;aspect-ratio:64/60;display:grid;place-items:center;max-width:64px;margin-inline:auto}
.countdown-heart svg{position:absolute;inset:0;width:100%;height:100%;fill:var(--heart-red)}
.countdown-heart>span{position:relative;color:#fff;font-size:25px;line-height:1;font-weight:400;transform:translateY(-2px);font-variant-numeric:lining-nums tabular-nums}
.countdown-label{display:block;font-size:12px;color:var(--sc-ink);margin-top:5px}
.countdown-fallback{font-size:16px;color:var(--sc-accent)}
.farewell{padding-top:60px}
.farewell>p:first-child{text-transform:uppercase;font-size:13px;letter-spacing:.12em}
.signature{font-size:64px;white-space:nowrap;line-height:1.6;margin-top:16px;letter-spacing:-.02em}
.signature span{font-size:.68em}
.farewell-heart{width:12px;height:12px;margin-top:24px;margin-bottom:0}

/* The invitation remains readable if JavaScript or the motion engine fails. */
html:not(.motion-ready) [data-sc-in]{opacity:1;transform:none}
@media(hover:hover) and (pointer:fine){.map-link:hover{background:var(--sc-accent);color:#fff}.gallery-dot:hover span{background:var(--sc-accent)}}
@media(min-width:700px){
  #invitation{width:640px}
  .hero{min-height:900px;max-height:1050px;padding-top:95px;padding-bottom:80px}
  .hero-label{font-size:14px}
  .couple-names{font-size:126px;padding-top:32px;line-height:.89}
  .first-name{transform:translateX(-36px)}.second-name{transform:translateX(42px)}
  .hands{max-height:370px;margin-top:12px}
  .hero-date{font-size:22px;padding-top:22px}
  .section{padding-left:70px;padding-right:70px;padding-bottom:75px}
  .prose{font-size:19px}
  .section-heading{margin-bottom:37px;min-height:140px}
  .heading-script{font-size:116px}
  h2{font-size:26px}
  .signature{font-size:83px}
}
@media(max-width:380px){
  .hero{padding-top:70px;padding-bottom:52px;min-height:700px}
  .couple-names{font-size:74px;padding-top:38px}
  .first-name{transform:translateX(-14px)}.second-name{transform:translateX(18px)}
  .hero-date{font-size:17px}
  .section{padding-left:26px;padding-right:26px}
  h2{font-size:21px}
  .heading-script{font-size:78px}
  .prose{font-size:17px}
  .wide-break{display:none}
  .date-strip{gap:10px}
  .date-strip li{width:40px;height:44px}
  .date-strip .wedding-day{width:66px;height:63px}
  .arrival-times{gap:12px}
  .arrival-slot{min-width:116px}
  .arrival-slot time{font-size:34px}
  .signature{font-size:45px}
  .countdown-card{padding-inline:15px}
  .countdown{gap:7px}
  .countdown-heart>span{font-size:22px}
}
@media(min-width:381px) and (max-width:480px){.signature{font-size:49px}}
@media(max-width:699px) and (max-height:740px){
  .hero{height:100svh;min-height:580px;padding-top:42px;padding-bottom:36px}
  .couple-names{font-size:70px;padding-top:26px;padding-bottom:6px}
  .hands{max-height:200px;margin-top:8px}
  .hero-date{padding-top:16px;font-size:17px}
}
/* Cyrillic display composition. */
.couple-names{font-size:clamp(47px,12.5vw,80px);font-style:italic;line-height:1.1;letter-spacing:-.04em;padding-inline:18px}
.first-name{transform:translateX(-12px)}
.second-name{transform:translateX(12px);margin-top:4px}
.heading-script{font-size:clamp(58px,14vw,80px);font-style:italic;letter-spacing:-.04em}
.script{font-style:italic}
.month{font-size:clamp(35px,9.6vw,55px)}
.signature{font-size:clamp(26px,7.3vw,44px);white-space:normal;line-height:1.25}
.hero-label{padding-inline:54px;font-size:12px}
.music-status{font-family:Georgia,serif;font-size:13px}
.arrival-times>.heart-divider{align-self:center}
@media(min-width:700px){.couple-names{font-size:80px}.heading-script{font-size:80px}.signature{font-size:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}[data-sc-in]{opacity:1!important;transform:none!important}}
