@font-face {
  font-family: Shellyallegroc;
  src: url('../fonts/ShellyAllegroC.ttf') format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Foglihtenno 06 Vyzb";
  src: url('../fonts/Foglihtenno06-VyZB.otf') format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.08), transparent 45%),
              radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06), transparent 30%),
              linear-gradient(180deg, #120c08 0%, #1d1410 100%);
  color: #f8f1e6;
  pointer-events: all;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.preloader--hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner {
  text-align: center;
}

.preloader__ring {
  width: 78px;
  height: 78px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-top-color: #f6e7c7;
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: preloader-spin 1.2s linear infinite;
}

.preloader__text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.92;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

.save-the-date {
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 400;
}

.script {
  font-family: Shellyallegroc, Arial, sans-serif;
  font-weight: 400;
}

.dots {
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #ffffff80 1px, #0000 1.5px), radial-gradient(circle, #a68a6a24 1px, #0000 1.5px);
  position: fixed;
  inset: 0;
}

.divider {
  opacity: .9;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
  display: flex;
}

.divider.inner {
  margin-top: 1.5rem;
}

.hairline {
  width: 38px;
  height: 1px;
  margin: 18px auto;
  display: block;
}

.intro {
  z-index: 1000;
  background-image: radial-gradient(circle at 50% 30%, #3a2c1e, #1f1812 55%, #100c08);
  justify-content: center;
  align-items: center;
  padding: 24px;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.intro.hidden {
  opacity: 0;
  visibility: hidden;
}

.intro-inner {
  z-index: 2;
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  text-align: center;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 560px;
  display: flex;
  position: relative;
}

.intro-monogram {
  color: #f0e3cb;
  letter-spacing: .22em;
  text-shadow: 0 2px 20px #0006;
  font-size: clamp(50px, 8vw, 72px);
  font-weight: 400;
  line-height: 1;
  display: flex;
}

.intro-date {
  color: #fffdf9b3;
  letter-spacing: .5em;
  text-transform: uppercase;
  margin-top: -8px;
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
  font-size: 13px;
}

.env-stage {
  aspect-ratio: 440 / 300;
  cursor: pointer;
  perspective: 1400px;
  width: min(440px, 86vw);
  margin-top: 40px;
  transition-property: transform;
  transition-duration: .5s;
  transition-timing-function: ease;
  position: relative;
}

.env-stage:hover {
  transform: translate(0, -3px);
}

.envelope3d {
  position: absolute;
  inset: 0;
}

.env-back {
  z-index: 1;
  background-image: linear-gradient(135deg, #6b5038 0%, #5a4128 50%, #4a3520 100%);
  border-radius: 6px;
  position: absolute;
  inset: 0;
  box-shadow: 0 26px 60px #0000008c, 0 18px 40px #00000059, inset 0 0 60px #0000004d, inset 0 0 0 1px #0006;
}

.env-card {
  z-index: 3;
  transform-origin: bottom;
  width: 86.4%;
  height: 84%;
  transform-style: preserve-3d;
  background-image: radial-gradient(at 30% 20%, #ffffff80, #0000 55%), radial-gradient(at 70% 85%, #dac8b266, #0000 60%), linear-gradient(#fffdf7 0%, #f7f0e1 100%);
  border-radius: 4px;
  position: absolute;
  top: 8%;
  left: 6.8%;
  overflow: hidden;
  transform: translate3d(0, 0, 0)scale(.92);
  box-shadow: 0 2px 8px #00000040, inset 0 0 0 1px #ece2cce6;
}

.env-card-content {
  opacity: 1;
  color: #2a2018;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 7%;
  display: flex;
  position: absolute;
  inset: 0;
}

.env-front {
  z-index: 5;
  pointer-events: none;
  background-color: #0000;
  position: absolute;
  inset: 0;
}

.env-front-right {
  z-index: 5;
  pointer-events: none;
  clip-path: polygon(100% 0, 50% 50%, 100% 100%);
  background-image: linear-gradient(to left, #6b5038 0%, #5a4128 100%);
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px #00000026;
}

.env-flap {
  z-index: 9;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top;
  background-image: linear-gradient(#8b6c4f 0%, #6b5038 100%);
  height: 50%;
  transition-property: transform;
  transition-duration: 2.1s;
  transition-timing-function: cubic-bezier(.38, 0, .06, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: rotateX(0);
  box-shadow: 0 2px 6px #0000002e;
}

.seal {
  z-index: 10;
  filter: drop-shadow(0 6px 14px #0000008c) drop-shadow(0 2px 4px #0006);
  pointer-events: none;
  width: 96px;
  height: 96px;
  transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(.5, 0, .15, 1), opacity .38s;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.intro-hint {
  color: #e7c684a6;
  letter-spacing: .3em;
  text-transform: lowercase;
  margin-top: 18px;
  font-size: 13px;
  font-style: italic;
}

.env-shadow {
  z-index: 0;
  filter: blur(8px);
  background-image: radial-gradient(#00000080, #0000 70%);
  height: 28px;
  position: absolute;
  bottom: -22px;
  left: 8%;
  right: 8%;
}

.hero {
  z-index: 5;
  background-image: radial-gradient(circle at 25% 25%, #f5ede2d9, #0000 55%), radial-gradient(circle at 75% 80%, #e8d9c2d9, #0000 60%), linear-gradient(160deg, #f1e8dc, #e8d9c2);
  justify-content: center;
  align-items: center;
  min-height: 100svh;
  padding: 60px 24px;
  display: flex;
  position: relative;
}

.hero-card {
  z-index: 2;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: center;
  contain: layout style;
  background-color: #f5ede2db;
  border: 1px solid #ffffff8c;
  border-radius: 6px;
  width: 100%;
  max-width: 560px;
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px #1e1a162e;
}

.hero-card.hero-card-pending {
  opacity: 1;
  visibility: hidden;
}

.hero-card.card-envelope-reveal {
  visibility: visible;
  animation: 1.1s cubic-bezier(.16, .84, .44, 1) forwards cardUnfold;
}

.btn {
  color: #f5ede2;
  letter-spacing: .28em;
  text-transform: uppercase;
  cursor: pointer;
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--ink);
  border-right-color: var(--ink);
  border-bottom-color: var(--ink);
  border-left-color: var(--ink);
  background-color: var(--ink);
  border-radius: 999px;
  padding: 12px 28px;
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  transition-property: all;
  transition-duration: .25s;
  transition-timing-function: ease;
  display: inline-block;
}

.btn:hover {
  color: #fff;
  background-color: var(--accent-strong);
  border-top-color: var(--accent-strong);
  border-right-color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
  border-left-color: var(--accent-strong);
}

.btn.ghost {
  color: var(--ink);
  border-top-color: var(--ink);
  border-right-color: var(--ink);
  border-bottom-color: var(--ink);
  border-left-color: var(--ink);
  background-color: #0000;
}

.btn.ghost:hover {
  color: #f5ede2;
  background-color: var(--ink);
}

.countdown-section {
  text-align: center;
  padding: 70px 24px 30px;
}

.countdown {
  grid-column-gap: 14px;
  grid-row-gap: 14px;
  background-color: var(--paper);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--line);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  border-left-color: var(--line);
  border-radius: 6px;
  flex-wrap: wrap;
  flex: none;
  justify-content: center;
  padding: 28px 36px;
  display: inline-flex;
  box-shadow: 0 10px 30px #1e1a160f;
}

.eyebrow-c {
  text-align: center;
}

.eyebrow {
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
  font-size: 12px;
}

.section-title {
  text-align: center;
  letter-spacing: .02em;
  text-transform: capitalize;
  margin: 10px 0 14px;
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
  font-size: clamp(30px, 4.8vw, 52px);
  font-weight: 400;
}

.bg-ambient {
  z-index: -1;
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.bg-float {
  opacity: 0;
  position: absolute;
}

.bg-float.f-dust {
  filter: blur(1.5px);
  background-image: radial-gradient(circle at 30% 30%, currentColor 0%, #0000 65%);
  border-radius: 50%;
}

.section-sub {
  text-align: center;
  max-width: 620px;
  color: var(--ink-soft);
  margin: 0 auto 50px;
  font-size: 36px;
  font-style: italic;
  line-height: 1.85;
  font-family: 'Cormorant Garamond', serif;
}

.story-card {
  text-align: center;
  background-color: var(--paper);
  max-width: 780px;
  color: var(--ink);
  border-radius: 6px;
  margin: 0 auto;
  padding: 56px 48px;
  font-size: 28px;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px #1e1a160f;
}

.details {
  grid-column-gap: 22px;
  grid-row-gap: 22px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
  display: grid;
}

.detail-card {
  text-align: center;
  background-color: var(--paper);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--line);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  border-left-color: var(--line);
  border-radius: 6px;
  padding: 40px 22px;
  box-shadow: 0 10px 30px #1e1a160d;
}

.location-card {
  text-align: center;
  background-color: var(--paper);
  border-radius: 6px;
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 36px;
  box-shadow: 0 10px 30px #1e1a160f;
}

.location-card.reveal {
  opacity: 0;
}

.dress-card {
  text-align: center;
  background-color: var(--paper);
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--line);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  border-left-color: var(--line);
  border-radius: 6px;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px;
  box-shadow: 0 10px 30px #1e1a160f;
}

.dress-card.reveal {
  opacity: 0;
}

.dress-grid {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  text-align: center;
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.swatches {
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 26px;
  display: flex;
  position: relative;
}

.swatch {
  cursor: pointer;
  border: 3px solid #ffffffe6;
  border-radius: 50%;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  transition-property: transform, box-shadow, border-color;
  transition-duration: .38s, .35s, .35s;
  transition-timing-function: cubic-bezier(.34, 1.56, .64, 1), ease, ease;
  animation: .5s cubic-bezier(.34, 1.56, .64, 1) both swatchPop;
  position: relative;
  box-shadow: 0 4px 14px #1e1a1624;
}

.swatch:hover {
  z-index: 5;
  border-color: #fff;
  transform: scale(1.35)translate(0, -7px);
  box-shadow: 0 12px 28px #1e1a1638, 0 0 0 4px #ffffff8c, 0 0 20px #1e1a1614;
}

.swatch:active {
  animation: .45s forwards swatchRipple;
}

.wish-card {
  text-align: center;
  border-style: solid;
  border-width: 1px;
  border-top-color: var(--line);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  border-left-color: var(--line);
  background-image: linear-gradient(#f5ede2, #ebdfce);
  border-radius: 6px;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 44px;
  box-shadow: 0 10px 30px #1e1a160f;
}

.signature-script {
  text-align: center;
  margin: 30px 0 0 -2.19rem;
}

.signature-band {
  text-align: center;
  background-color: #0000;
  padding: 60px 24px 70px;
  position: relative;
}

.hero-env-cover {
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  transition: opacity .7s, transform .7s;
  display: flex;
  position: absolute;
  inset: 0;
}

.hero-env-wrap {
  filter: drop-shadow(0 30px 60px #1e140a47);
  perspective: 1200px;
  perspective-origin: 50% 25%;
  width: min(440px, 88vw);
  transform-style: preserve-3d;
  position: relative;
}

.hero-env-aspect {
  aspect-ratio: 3 / 2;
  position: relative;
}

.hero-env-back {
  background-image: linear-gradient(160deg, #7a5e44, #4e3822);
  border-radius: 4px 4px 8px 8px;
  position: absolute;
  inset: 0;
  box-shadow: 0 22px 55px #00000073, inset 0 0 0 1px #0003;
}

.hero-env-card-inner {
  z-index: 2;
  color: #2a2018;
  text-align: center;
  transform-origin: bottom;
  background-image: linear-gradient(160deg, #f5ede2, #e6d4bc);
  border-radius: 3px;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  inset: 8% 6%;
  overflow: hidden;
  box-shadow: 0 2px 8px #00000038, inset 0 0 0 1px #ffffff80;
}

.hero-env-card-text {
  z-index: 1;
  padding: 10%;
  position: relative;
}

.hero-env-front {
  z-index: 3;
  background-image: linear-gradient(#7a5e44, #5a4028);
  border-radius: 0 0 6px 6px;
  height: 58%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.hero-env-flap {
  z-index: 5;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top;
  backface-visibility: hidden;
  background-image: linear-gradient(#8b6c4f, #6b5038);
  height: 58%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: rotateX(0);
}

.hero-env-seal {
  z-index: 6;
  color: #f0dcb8e6;
  will-change: transform, opacity;
  background-image: radial-gradient(circle at 35% 30%, #8a6428, #5a3e1a 55%, #3a2810);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  font-size: 18px;
  display: flex;
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 16px #0000006b, inset 0 -3px 8px #0000004d;
}

.reveal {
  opacity: 0;
  transition: opacity .9s, transform .9s;
  transform: translate(0, 20px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

.lip-corner {
  z-index: 0;
  aspect-ratio: 1;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: invert() sepia() hue-rotate(355deg) saturate(.55) brightness(2.6);
  width: clamp(200px, 24vw, 340px);
  position: fixed;
}

.lip-corner.lip-tl {
  opacity: 1;
  mix-blend-mode: multiply;
  display: none;
  top: 12px;
  left: 5px;
}

.lip-corner.lip-br {
  opacity: 1;
  filter: invert() sepia() hue-rotate(355deg) saturate(.55) brightness(2.6);
  width: clamp(240px, 24vw, 340px);
  display: none;
  bottom: 11px;
  right: 19px;
}

.lip-tl {
  top: -50px;
  left: -50px;
  transform: scaleX(-1);
}

.lip-tr {
  top: -50px;
  right: -50px;
  transform: none;
}

.lip-bl {
  bottom: -50px;
  left: -50px;
  transform: scale(-1);
}

.lip-br {
  bottom: -50px;
  right: -50px;
  transform: scaleY(-1);
}

.sep {
  margin-left: 0;
  margin-right: 0;
}

.num, .lbl {
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
}

.image-main {
  max-width: 7rem;
}

.image-main.top {
  margin-top: 1rem;
}

.image {
  max-width: 16rem;
  position: fixed;
  inset: 0% auto auto 0%;
}

.script-copy {
  font-family: Shellyallegroc, Arial, sans-serif;
  font-size: 5.63rem;
  font-weight: 400;
  line-height: 1;
}

.bkg {
  z-index: 4;
  max-width: 30rem;
  position: fixed;
  inset: 0% auto auto 0%;
}

.bkg.inner {
  z-index: 0;
  inset: auto 0% 0% auto;
}

.bkg.first {
  z-index: 0;
  top: -3%;
  transform: rotate(180deg);
}

.paragraph {
  text-align: center;
  font-family: Shellyallegroc, Arial, sans-serif;
  font-size: 43px;
}

.heading {
  text-align: center;
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
}

.heading-2 {
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
}

.content-heading {
  color: #fff;
  font-family: Shellyallegroc, Arial, sans-serif;
  font-size: 5.63rem;
}

.content-heading.divi {
  margin-left: .5rem;
  margin-right: .5rem;
}

.sep-copy {
  margin-left: 0;
  margin-right: 0;
  font-size: 40px;
}

.div-block {
  justify-content: center;
  align-items: center;
  margin-left: -2.75rem;
  display: flex;
}

.paragraph-2 {
  color: #fff;
  font-family: Shellyallegroc, Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.h {
  font-family: Shellyallegroc, Arial, sans-serif;
  font-size: 2.75rem;
}

.h-2 {
  font-family: Shellyallegroc, Arial, sans-serif;
  font-size: 2.5rem;
}

.heading-3 {
  margin-left: -27px;
  font-family: Shellyallegroc, Arial, sans-serif;
  font-size: 3.5rem;
}

.text-block {
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
  font-size: 1.13rem;
}

.heading-4 {
  font-family: Shellyallegroc, Arial, sans-serif;
}

.heading-5 {
  font-family: "Foglihtenno 06 Vyzb", Arial, sans-serif;
  font-size: 50px;
}

.section {
  flex-flow: column;
  align-items: center;
  display: flex;
}

@media screen and (max-width: 991px) {
  .divider.bot {
    margin-left: 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .dress-grid {
    padding-bottom: 40px;
  }

  .script-copy {
    font-size: 3.3rem;
    line-height: 1;
  }

  .bkg.inner, .bkg.first {
    max-width: 13rem;
  }

  .paragraph, .heading {
    font-size: 1.8rem;
  }

  .content-heading {
    line-height: 1;
  }

  .div-block, .paragraph-2 {
    width: 100%;
  }

  .heading-5 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 479px) {
  .countdown {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
}


@font-face {
  font-family: 'Shellyallegroc';
  src: url('../fonts/ShellyAllegroC.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Foglihtenno 06 Vyzb';
  src: url('../fonts/Foglihtenno06-VyZB.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}