@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@300;400;500&display=swap');

@font-face{
  font-family: 'Florise';
  src: url('https://static.tildacdn.one/tild6565-3136-4666-b566-396137323536/Floriselscript.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root{
  --dark: #0d0d0d;
  --panel: #171717;
  --paper: #f3f1ec;
  --white: #fcfbf8;
  --muted: #aaa7a0;
  --line: rgba(255,255,255,.2);
  --dark-line: rgba(13,13,13,.2);
}

*{ box-sizing: border-box; }

html{
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body{
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--dark);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.55;
}

button,
input,
a{ -webkit-tap-highlight-color: transparent; }

img{
  display: block;
  max-width: 100%;
}

.splash-body{ background: var(--dark); }

.language-splash,
.tap-screen{
  position: relative;
  min-height: 100svh;
  padding: 44px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.language-splash::before,
.tap-screen::before{
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.language-splash::after,
.tap-screen::after{
  content: '26 · 09 · 2026';
  position: absolute;
  bottom: 42px;
  left: 0;
  right: 0;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .34em;
}

.monogram{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 66px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
  opacity: 0;
  animation: fadeUp 1.1s ease-out .1s forwards;
}

.monogram span{
  color: var(--muted);
  font-family: 'Florise', cursive;
  font-size: 42px;
}

.splash__names{
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: 'Florise', cursive;
  font-size: clamp(42px, 12vw, 70px);
  font-weight: 600;
  line-height: 1.05;
  opacity: 0;
  animation: fadeUp 1.1s ease-out .35s forwards;
}

.splash__event{
  position: relative;
  z-index: 1;
  margin: 12px 0 38px;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1.1s ease-out .55s forwards;
}

.splash__langs{
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1.1s ease-out .75s forwards;
}

.splash__lang-btn,
.tap-btn{
  min-width: 142px;
  padding: 14px 22px;
  border: 1px solid rgba(255,255,255,.58);
  background: transparent;
  color: var(--white);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.splash__lang-btn:hover,
.tap-btn:hover{
  background: var(--white);
  color: var(--dark);
}

.tap-btn{
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeUp 1.1s ease-out .75s forwards;
}

.tap-screen.is-hidden{ display: none; }

.site-content{ display: none; }
.site-content.is-active{ display: block; }

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}

.reveal-up,
.reveal-photo,
.reveal-side{
  opacity: 0;
  transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}

.reveal-up{ transform: translateY(30px); }
.reveal-photo{ transform: scale(1.025); }
.reveal-side{ transform: translateX(28px); }

.reveal-up.is-visible,
.reveal-photo.is-visible,
.reveal-side.is-visible{
  opacity: 1;
  transform: none;
}

.eyebrow{
  margin: 0 0 20px;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero{
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
}

.hero__photo{
  width: 100%;
  height: 100svh;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.04);
}

.hero::after{
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.04) 35%, rgba(0,0,0,.78) 100%);
  pointer-events: none;
}

.hero__copy{
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 48px;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,.65);
}

.hero__date{
  margin-bottom: 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  letter-spacing: .32em;
}

.hero__names{
  margin: 0;
  font-family: 'Florise', cursive;
  font-size: clamp(56px, 16vw, 92px);
  font-weight: 600;
  line-height: .92;
}

.hero__amp{
  display: block;
  margin: 8px 0;
  color: rgba(255,255,255,.72);
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
}

.hero__event{
  margin: 22px 0 0;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.intro{
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.intro__copy{
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

.intro__title{
  margin: 0 0 28px;
  font-family: 'Florise', cursive;
  font-size: clamp(44px, 11vw, 72px);
  font-weight: 600;
  line-height: 1.06;
}

.intro__body{
  margin: 0;
  color: #d2cfc8;
  font-size: 19px;
}

.intro__photo{
  width: min(100%, 560px);
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.details{
  background: var(--paper);
  color: var(--dark);
  padding: 88px 24px 96px;
}

.details__inner{
  max-width: 920px;
  margin: 0 auto;
}

.details .eyebrow{ color: #66635e; text-align: center; }

.countdown__title{
  margin: 0 0 28px;
  text-align: center;
  font-family: 'Florise', cursive;
  font-size: clamp(40px, 10vw, 60px);
  font-weight: 600;
}

.countdown{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 470px;
  margin: 0 auto 56px;
}

.countdown__box{
  min-width: 0;
  padding: 12px 2px;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  text-align: center;
}

.countdown__num{
  display: block;
  font-size: 28px;
  line-height: 1;
}

.countdown__label{
  display: block;
  margin-top: 7px;
  color: #6e6a64;
  font-family: 'Manrope', sans-serif;
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.calendar{
  max-width: 340px;
  margin: 0 auto 64px;
}

.calendar__month{
  margin-bottom: 16px;
  text-align: center;
  font-family: 'Florise', cursive;
  font-size: 34px;
  font-weight: 600;
}

.calendar__grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 0;
  padding: 20px 10px;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  font-size: 15px;
}

.calendar__grid span{
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
}

.calendar__grid .dow{
  color: #6e6a64;
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
}

.calendar__grid .empty{ visibility: hidden; }

.calendar__grid .highlight{
  color: var(--white);
  font-weight: 600;
}

.calendar__grid .highlight::before{
  content: '';
  position: absolute;
  z-index: -1;
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 27.5C16 27.5 3.5 19.6 3.5 11.7C3.5 7.3 7 3.8 11.3 3.8C13.6 3.8 15.4 4.9 16 5.6C16.6 4.9 18.4 3.8 20.7 3.8C25 3.8 28.5 7.3 28.5 11.7C28.5 19.6 16 27.5 16 27.5Z' fill='%230d0d0d'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.details__split{
  display: grid;
  gap: 38px;
  align-items: stretch;
}

.details__photo{
  width: min(76%, 300px);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.details__list{
  display: grid;
  align-content: center;
  gap: 28px;
  text-align: center;
}

.details__item{
  padding-bottom: 24px;
  border-bottom: 1px solid var(--dark-line);
}

.details__item:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.details__label{
  margin-bottom: 7px;
  color: #6e6a64;
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.details__value{
  font-size: 25px;
  line-height: 1.25;
}

.details__value small{
  display: block;
  margin-top: 5px;
  color: #5e5b56;
  font-size: 16px;
}

.action-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 42px;
}

.action-btn{
  min-width: 210px;
  padding: 14px 22px;
  border: 1px solid var(--dark);
  background: transparent;
  color: var(--dark);
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease;
}

.action-btn:hover{
  background: var(--dark);
  color: var(--white);
}

.parents{
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.parents__photo{
  width: min(100%, 620px);
  margin: 0 auto 48px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.parents__copy{
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.parents__names{
  margin: 0 0 18px;
  font-family: 'Florise', cursive;
  font-size: clamp(44px, 11vw, 68px);
  font-weight: 600;
  line-height: 1;
}

.parents__body{
  margin: 0;
  color: #d2cfc8;
  font-size: 19px;
}

.rsvp{
  background: var(--paper);
  color: var(--dark);
  padding: 88px 24px 96px;
  text-align: center;
}

.rsvp__inner{
  max-width: 620px;
  margin: 0 auto;
}

.rsvp .eyebrow{ color: #66635e; }

.rsvp__title{
  margin: 0 0 38px;
  font-family: 'Florise', cursive;
  font-size: clamp(42px, 10vw, 62px);
  font-weight: 600;
  line-height: 1.08;
}

.rsvp__form{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.rsvp__input{
  width: 100%;
  max-width: 380px;
  padding: 13px 4px;
  border: 0;
  border-bottom: 1px solid var(--dark-line);
  border-radius: 0;
  background: transparent;
  color: var(--dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  text-align: center;
}

.rsvp__input::placeholder{ color: #77736d; }
.rsvp__input:focus{ outline: none; border-bottom-color: var(--dark); }
.rsvp__input--warn{ border-bottom-color: #9f3333; }

.rsvp__buttons{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.rsvp__btn{
  min-width: 178px;
  padding: 14px 18px;
  border: 1px solid var(--dark);
  background: transparent;
  color: var(--dark);
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.rsvp__btn:hover,
.rsvp__btn.is-selected{
  background: var(--dark);
  color: var(--white);
}

.rsvp__btn:disabled{ cursor: wait; opacity: .55; }

.rsvp__note{
  min-height: 24px;
  margin: 22px 0 0;
  font-size: 16px;
}

.rsvp__note--warn{ color: #9f3333; }

.footer{
  padding: 88px 24px 72px;
  text-align: center;
}

.footer__names{
  margin: 0 0 14px;
  font-family: 'Florise', cursive;
  font-size: clamp(46px, 12vw, 70px);
  font-weight: 600;
}

.footer__text{
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.footer__date{
  margin: 30px 0 0;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  letter-spacing: .28em;
}

@media (min-width: 720px){
  .language-splash::before,
  .tap-screen::before{ inset: 38px; }

  .hero{
    max-width: 900px;
    margin: 0 auto;
    min-height: auto;
    padding: 56px 44px;
  }

  .hero__photo{
    height: min(84vh, 900px);
    min-height: 680px;
  }

  .hero__copy{ bottom: 94px; }

  .intro{
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
    padding: 130px 40px;
  }

  .intro__copy{
    margin: 0;
    text-align: left;
  }

  .intro__photo{
    width: 100%;
    margin: 0;
  }

  .details{ padding: 120px 40px 130px; }

  .details__split{
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
  }

  .details__photo{
    width: 100%;
    max-width: 330px;
    margin: 0;
  }

  .details__list{ text-align: left; }
  .action-row{ justify-content: flex-start; }

  .parents{
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 72px;
    align-items: center;
    padding: 130px 40px;
  }

  .parents__photo{
    width: 100%;
    margin: 0;
  }

  .parents__copy{
    margin: 0;
    text-align: left;
  }

  .rsvp{ padding: 120px 40px 130px; }
}

@media (max-width: 390px){
  .language-splash::before,
  .tap-screen::before{ inset: 14px; }

  .monogram{ font-size: 54px; }
  .splash__lang-btn{ min-width: 128px; }
  .countdown__label{ font-size: 7px; letter-spacing: .04em; }
  .rsvp__btn{ width: 100%; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,
  *::before,
  *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
