/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  --bg: #f8f4ef;
  --bg-alt: #f1ebe5;

  --pink: #deb0ba;
  --pink-soft: #f3dfe2;
  --pink-deep: #a96f7c;

  --blue: #a5c2d4;
  --blue-soft: #dceaf1;
  --blue-deep: #66899d;

  --cream: #fffaf5;

  --text: #343238;
  --text-soft: #706c70;

  --gold: #b79b72;

  --line: rgba(69, 62, 65, 0.12);

  margin: 0;

  color: var(--text);

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(222, 176, 186, 0.08),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 30%,
      rgba(165, 194, 212, 0.09),
      transparent 35%
    ),
    var(--bg);

  font-family: "Manrope", sans-serif;

  font-size: 16px;

  line-height: 1.6;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  border: 0;
}

a {
  color: inherit;
}

img {
  display: block;

  max-width: 100%;
}

::selection {
  background: var(--pink);

  color: #fff;
}


/* ==========================================================
   VARIABLES / GENERAL
========================================================== */

.container {
  width: min(1180px, calc(100% - 72px));

  margin: 0 auto;
}

.section {
  position: relative;

  padding: 120px 0;
}

.eyebrow {
  margin: 0 0 18px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: 0.25em;

  text-transform: uppercase;
}

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

.section-title {
  max-width: 680px;

  margin: 0;

  color: var(--text);

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(48px, 6vw, 78px);
  font-weight: 400;

  letter-spacing: -0.045em;

  line-height: 0.95;
}

.section-title--center {
  margin-right: auto;
  margin-left: auto;

  text-align: center;
}

.section-description {
  max-width: 610px;

  margin: 25px auto 0;

  color: var(--text-soft);

  font-size: 15px;

  line-height: 1.8;

  text-align: center;
}


/* ==========================================================
   REVEAL ANIMATION
========================================================== */

.reveal {
  opacity: 0;

  transform: translateY(24px);

  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.65, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;

  transform: translateY(0);
}


/* ==========================================================
   WELCOME
========================================================== */

.welcome {
  position: fixed;
  z-index: 10000;
  inset: 0;

  display: grid;

  place-items: center;

  overflow: hidden;

  background: #f8f2ee;

  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.welcome.is-hidden {
  opacity: 0;

  visibility: hidden;

  pointer-events: none;
}

.welcome__panel {
  position: absolute;
  z-index: 1;
  top: 0;

  width: 50%;
  height: 100%;

  overflow: hidden;

  transition:
    transform 1.2s cubic-bezier(0.75, 0, 0.15, 1);
}

.welcome__panel::after {
  position: absolute;
  inset: 0;

  content: "";

  opacity: 0.34;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.2) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.14) 1px,
      transparent 1px
    );

  background-size: 70px 70px;
}

.welcome__panel--boy {
  left: 0;

  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.65),
      transparent 28%
    ),
    linear-gradient(
      145deg,
      #d7e8f0,
      #9fbfd1
    );
}

.welcome__panel--girl {
  right: 0;

  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(255, 255, 255, 0.65),
      transparent 28%
    ),
    linear-gradient(
      215deg,
      #f1d4d9,
      #dca8b3
    );
}

.welcome.is-opening .welcome__panel--boy {
  transform: translateX(-105%);
}

.welcome.is-opening .welcome__panel--girl {
  transform: translateX(105%);
}

.welcome__symbol {
  position: absolute;
  top: 50%;

  color: rgba(255, 255, 255, 0.15);

  font-family: "Cormorant Garamond", serif;

  font-size: min(60vw, 700px);
  font-weight: 400;

  line-height: 0;

  transform: translateY(-50%);
}

.welcome__symbol--boy {
  left: -8%;
}

.welcome__symbol--girl {
  right: -8%;
}

.welcome__content {
  position: relative;
  z-index: 10;

  width: min(730px, calc(100% - 40px));

  padding: 54px 55px;

  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 3px;

  background: rgba(255, 255, 255, 0.82);

  box-shadow:
    0 40px 100px rgba(70, 57, 63, 0.14);

  text-align: center;

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  transition:
    opacity 0.6s ease,
    transform 0.8s ease;
}

.welcome.is-opening .welcome__content {
  opacity: 0;

  transform: scale(0.96);
}

.welcome__mini-mark {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 14px;

  margin-bottom: 26px;

  color: var(--text-soft);

  font-family: "Cormorant Garamond", serif;

  font-size: 15px;

  letter-spacing: 0.15em;
}

.welcome__mini-mark span {
  width: 26px;
  height: 1px;

  background: var(--gold);
}

.welcome__eyebrow {
  margin: 0 0 15px;

  color: var(--gold);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.24em;

  text-transform: uppercase;
}

.welcome__title {
  max-width: 600px;

  margin: 0 auto;

  color: #38343a;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(52px, 7vw, 86px);
  font-weight: 400;

  letter-spacing: -0.055em;

  line-height: 0.88;
}

.welcome__subtitle {
  max-width: 490px;

  margin: 24px auto 0;

  color: #6e686d;

  font-size: 14px;

  line-height: 1.8;
}

.welcome__button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 18px;

  min-width: 240px;

  margin-top: 34px;

  padding: 16px 24px;

  border-radius: 100px;

  background: #39363b;

  color: #fff;

  cursor: pointer;

  font-size: 12px;
  font-weight: 500;

  letter-spacing: 0.09em;

  text-transform: uppercase;

  transition:
    background 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.welcome__button:hover {
  background: #211f22;

  box-shadow:
    0 14px 30px rgba(45, 40, 44, 0.18);

  transform: translateY(-2px);
}

.welcome__button-icon {
  display: grid;

  width: 27px;
  height: 27px;

  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;

  font-size: 12px;
}

.welcome__hint {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 12px;

  margin-top: 22px;
}

.welcome__hint p {
  margin: 0;

  color: #999096;

  font-size: 9px;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}

.welcome__hint span {
  width: 18px;
  height: 1px;

  background: rgba(69, 62, 65, 0.2);
}

.welcome__bubbles {
  position: absolute;
  z-index: 3;
  inset: 0;

  overflow: hidden;

  pointer-events: none;
}

.welcome-bubble {
  position: absolute;
  bottom: -120px;

  width: var(--size);
  height: var(--size);

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.16);

  animation:
    bubbleFloat var(--duration) linear infinite;

  animation-delay: var(--delay);
}

@keyframes bubbleFloat {

  0% {
    opacity: 0;

    transform:
      translateY(0)
      translateX(0)
      scale(0.8);
  }

  15% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;

    transform:
      translateY(-120vh)
      translateX(var(--move))
      scale(1.15);
  }

}


/* ==========================================================
   HERO
========================================================== */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  overflow: hidden;

  padding: 44px 0 72px;
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__decor {
  position: absolute;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  filter: blur(2px);

  opacity: 0.34;
}

.hero__decor--pink {
  top: -240px;
  right: -180px;

  background: var(--pink-soft);
}

.hero__decor--blue {
  bottom: -300px;
  left: -220px;

  background: var(--blue-soft);
}

.hero__top {
  display: flex;

  align-items: center;

  gap: 18px;
}

.mini-logo {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  border: 1px solid var(--line);
  border-radius: 50%;

  font-family: "Cormorant Garamond", serif;

  font-size: 17px;

  letter-spacing: 0.04em;
}

.hero__top-line {
  width: 42px;
  height: 1px;

  background: var(--gold);
}

.hero__event-label {
  color: var(--text-soft);

  font-size: 9px;
  font-weight: 500;

  letter-spacing: 0.21em;
}

.hero__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.03fr)
    minmax(390px, 0.97fr);

  align-items: center;

  gap: 80px;

  margin-top: 55px;
}

.hero__title {
  display: flex;

  flex-direction: column;

  margin: 0;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(70px, 7.7vw, 116px);
  font-weight: 400;

  letter-spacing: -0.065em;

  line-height: 0.78;
}

.hero__title em {
  position: relative;

  z-index: 1;

  align-self: flex-end;

  margin: 15px 18% 13px 0;

  color: var(--pink-deep);

  font-weight: 400;

  white-space: nowrap;
}

.hero__title em::before {
  position: absolute;
  z-index: -1;
  right: -25px;
  bottom: 4px;
  left: -25px;

  height: 17px;

  border-radius: 50%;

  background: var(--pink-soft);

  content: "";

  transform: rotate(-2deg);
}

.hero__text {
  max-width: 570px;

  margin: 38px 0 0;

  color: var(--text-soft);

  font-size: 14px;

  line-height: 1.9;
}

.hero__info {
  display: flex;

  align-items: center;

  gap: 30px;

  margin-top: 40px;
}

.hero__info-item {
  display: flex;

  flex-direction: column;

  gap: 2px;
}

.hero__info-label {
  color: var(--text-soft);

  font-size: 9px;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.hero__info-item strong {
  font-family: "Cormorant Garamond", serif;

  font-size: 26px;
  font-weight: 500;
}

.hero__info-divider {
  width: 1px;
  height: 42px;

  background: var(--line);
}

.hero__visual {
  position: relative;

  display: flex;

  justify-content: center;
}

.hero__photo-wrap {
  position: relative;

  width: min(450px, 100%);
}

.hero__photo {
  position: relative;
  z-index: 2;

  width: 100%;
  aspect-ratio: 0.78;

  border-radius: 46% 46% 12px 12px;

  box-shadow:
    0 35px 80px rgba(70, 59, 64, 0.13);

  object-fit: cover;
}

.hero__circle {
  position: absolute;

  border-radius: 50%;
}

.hero__circle--one {
  z-index: 0;

  top: -42px;
  right: -42px;

  width: 210px;
  height: 210px;

  border: 1px solid rgba(183, 155, 114, 0.34);
}

.hero__circle--two {
  z-index: 3;

  bottom: 45px;
  left: -62px;

  width: 125px;
  height: 125px;

  border: 1px solid rgba(255, 255, 255, 0.8);

  background:
    linear-gradient(
      135deg,
      rgba(220, 234, 241, 0.89) 50%,
      rgba(243, 223, 226, 0.89) 50%
    );

  box-shadow:
    0 20px 50px rgba(75, 63, 68, 0.12);

  backdrop-filter: blur(10px);
}

.hero__photo-label {
  position: absolute;
  z-index: 5;
  right: -34px;
  bottom: 110px;

  display: flex;

  flex-direction: column;

  padding: 15px 12px;

  background: rgba(255, 250, 245, 0.88);

  box-shadow:
    0 15px 40px rgba(70, 59, 64, 0.08);

  font-family: "Cormorant Garamond", serif;

  font-size: 20px;

  line-height: 0.8;

  text-align: center;

  transform: rotate(3deg);

  backdrop-filter: blur(12px);
}

.hero__photo-label div {
  color: var(--gold);

  font-size: 12px;
  font-style: italic;
}

.scroll-hint {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-top: 54px;

  color: var(--text-soft);

  font-size: 8px;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.scroll-hint__line {
  width: 50px;
  height: 1px;

  background: var(--gold);
}


/* ==========================================================
   STORY
========================================================== */

.story {
  background: var(--cream);
}

.story__grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  align-items: center;

  gap: 110px;
}

.story__image-wrap {
  position: relative;
}

.story__image {
  width: 100%;
  aspect-ratio: 0.83;

  object-fit: cover;
}

/* .story__image-wrap::after {
  position: absolute;
  top: -22px;
  right: -22px;

  width: 72%;
  height: 75%;

  border: 1px solid rgba(183, 155, 114, 0.4);

  content: "";

  pointer-events: none;
} */

.story__image-number {
  position: absolute;
  z-index: 3;
  right: -38px;
  bottom: 35px;

  color: rgba(67, 60, 63, 0.11);

  font-family: "Cormorant Garamond", serif;

  font-size: 96px;

  line-height: 1;
}

.story__copy {
  max-width: 560px;

  margin-top: 35px;

  color: var(--text-soft);

  font-size: 14px;

  line-height: 1.9;
}

.story__copy p {
  margin: 0 0 17px;
}

.story__quote {
  position: relative;

  max-width: 520px;

  margin: 40px 0 0;
  padding: 6px 0 6px 30px;

  border-left: 1px solid var(--gold);

  color: var(--text);

  font-family: "Cormorant Garamond", serif;

  font-size: 27px;
  font-style: italic;

  line-height: 1.25;
}


/* ==========================================================
   PREDICTION
========================================================== */

.prediction {
  overflow: hidden;

  background: var(--bg);
}

.prediction__container {
  position: relative;
  z-index: 2;
}

.prediction__blob {
  position: absolute;

  width: 480px;
  height: 480px;

  border-radius: 50%;

  filter: blur(3px);

  opacity: 0.35;
}

.prediction__blob--blue {
  top: 10%;
  left: -280px;

  background: var(--blue-soft);
}

.prediction__blob--pink {
  right: -260px;
  bottom: 4%;

  background: var(--pink-soft);
}

.prediction__choices {
  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  gap: 26px;

  max-width: 850px;

  margin: 62px auto 0;
}

.prediction-card {
  position: relative;

  display: flex;

  min-height: 230px;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 30px;

  border: 1px solid var(--line);
  border-radius: 2px;

  color: var(--text);

  cursor: pointer;

  overflow: hidden;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.prediction-card::before {
  position: absolute;
  inset: 0;

  content: "";

  opacity: 0;

  transition: opacity 0.35s ease;
}

.prediction-card--boy {
  background: rgba(220, 234, 241, 0.35);
}

.prediction-card--boy::before {
  background:
    linear-gradient(
      145deg,
      rgba(165, 194, 212, 0.34),
      transparent
    );
}

.prediction-card--girl {
  background: rgba(243, 223, 226, 0.35);
}

.prediction-card--girl::before {
  background:
    linear-gradient(
      215deg,
      rgba(222, 176, 186, 0.34),
      transparent
    );
}

.prediction-card:hover,
.prediction-card.is-selected {
  border-color: rgba(183, 155, 114, 0.52);

  box-shadow:
    0 24px 60px rgba(69, 62, 65, 0.1);

  transform: translateY(-5px);
}

.prediction-card:hover::before,
.prediction-card.is-selected::before {
  opacity: 1;
}

.prediction-card__icon,
.prediction-card__label,
.prediction-card__small {
  position: relative;
  z-index: 2;
}

.prediction-card__icon {
  display: grid;

  width: 60px;
  height: 60px;

  place-items: center;

  margin-bottom: 20px;

  border: 1px solid rgba(69, 62, 65, 0.13);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);

  font-family: serif;

  font-size: 25px;
}

.prediction-card__label {
  font-family: "Cormorant Garamond", serif;

  font-size: 37px;
  font-weight: 500;
}

.prediction-card__small {
  margin-top: 4px;

  color: var(--text-soft);

  font-size: 9px;

  letter-spacing: 0.15em;

  text-transform: uppercase;
}

.prediction__or {
  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 24px;
  font-style: italic;
}

.prediction__result {
  margin-top: 34px;

  color: var(--text-soft);

  font-family: "Cormorant Garamond", serif;

  font-size: 24px;

  text-align: center;
}


/* ==========================================================
   DETAILS
========================================================== */

.details {
  background: var(--cream);
}

.details__heading {
  margin-bottom: 65px;
}

.details__cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-card {
  position: relative;

  min-height: 330px;

  padding: 45px;

  border-right: 1px solid var(--line);
}

.detail-card:first-child {
  border-left: 1px solid var(--line);
}

.detail-card--accent {
  background:
    linear-gradient(
      145deg,
      rgba(220, 234, 241, 0.65),
      rgba(243, 223, 226, 0.55)
    );
}

.detail-card__number {
  position: absolute;
  top: 20px;
  right: 25px;

  color: rgba(69, 62, 65, 0.13);

  font-family: "Cormorant Garamond", serif;

  font-size: 50px;
}

.detail-card__label {
  display: block;

  margin-bottom: 34px;

  color: var(--gold);

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.2em;
}

.detail-card__date {
  display: flex;

  align-items: center;

  gap: 18px;
}

.detail-card__date > strong {
  font-family: "Cormorant Garamond", serif;

  font-size: 88px;
  font-weight: 400;

  letter-spacing: -0.06em;

  line-height: 0.8;
}

.detail-card__date div {
  display: flex;

  flex-direction: column;
}

.detail-card__date span {
  font-family: "Cormorant Garamond", serif;

  font-size: 28px;

  line-height: 1;
}

.detail-card__date small {
  margin-top: 7px;

  color: var(--text-soft);

  font-size: 10px;

  letter-spacing: 0.1em;
}

.detail-card p {
  margin: 24px 0 0;

  color: var(--text-soft);

  font-size: 12px;
}

.detail-card__time {
  display: block;

  margin-top: 34px;

  font-family: "Cormorant Garamond", serif;

  font-size: 82px;
  font-weight: 400;

  letter-spacing: -0.05em;

  line-height: 0.8;
}

.detail-card h3 {
  max-width: 230px;

  margin: 38px 0 0;

  font-family: "Cormorant Garamond", serif;

  font-size: 34px;
  font-weight: 500;

  line-height: 1;
}

.text-link {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin-top: 25px;

  border-bottom: 1px solid rgba(69, 62, 65, 0.3);

  font-size: 10px;
  font-weight: 500;

  letter-spacing: 0.1em;

  text-decoration: none;

  text-transform: uppercase;

  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.text-link:hover {
  border-color: var(--gold);

  color: var(--gold);
}


/* ==========================================================
   COUNTDOWN
========================================================== */

.countdown {
  overflow: hidden;

  background:
    linear-gradient(
      105deg,
      var(--blue-soft),
      #f2ede8 50%,
      var(--pink-soft)
    );
}

.countdown::before {
  position: absolute;
  inset: 18px;

  border: 1px solid rgba(255, 255, 255, 0.6);

  content: "";
}

.countdown__container {
  position: relative;
  z-index: 2;
}

.countdown__heading {
  text-align: center;
}

.countdown__small {
  color: var(--gold);

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.22em;
}

.countdown__heading h2 {
  margin: 15px 0 0;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;

  letter-spacing: -0.04em;

  line-height: 0.95;
}

.countdown__grid {
  display: flex;

  align-items: flex-start;
  justify-content: center;

  gap: 36px;

  margin-top: 55px;
}

.countdown__item {
  min-width: 105px;

  text-align: center;
}

.countdown__item strong {
  display: block;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(50px, 7vw, 86px);
  font-weight: 400;

  letter-spacing: -0.06em;

  line-height: 0.9;
}

.countdown__item span {
  display: block;

  margin-top: 9px;

  color: var(--text-soft);

  font-size: 8px;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.countdown__divider {
  padding-top: 10px;

  color: rgba(69, 62, 65, 0.25);

  font-family: "Cormorant Garamond", serif;

  font-size: 54px;
}


/* ==========================================================
   SCHEDULE
========================================================== */

.schedule {
  background: var(--bg);
}

.schedule__heading {
  display: grid;

  grid-template-columns: 0.75fr 1.25fr;

  align-items: end;

  padding-bottom: 48px;

  border-bottom: 1px solid var(--line);
}

.schedule__list {
  max-width: 850px;

  margin: 35px 0 0 auto;
}

.schedule-item {
  display: grid;

  grid-template-columns: 120px 1fr;

  gap: 45px;

  padding: 34px 0;

  border-bottom: 1px solid var(--line);
}

.schedule-item__time {
  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 30px;
}

.schedule-item__body h3 {
  margin: 0;

  font-family: "Cormorant Garamond", serif;

  font-size: 30px;
  font-weight: 500;

  line-height: 1;
}

.schedule-item__body p {
  max-width: 550px;

  margin: 11px 0 0;

  color: var(--text-soft);

  font-size: 12px;

  line-height: 1.8;
}


/* ==========================================================
   GALLERY
========================================================== */

.gallery {
  background: var(--cream);
}

.gallery__heading {
  margin-bottom: 65px;
}

.gallery__grid {
  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  grid-template-rows:
    minmax(270px, 0.8fr)
    minmax(270px, 0.8fr);

  gap: 16px;
}

.gallery__item {
  position: relative;

  min-height: 270px;

  overflow: hidden;
}

.gallery__item:first-child {
  grid-row: 1 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 1.3s ease;
}

.gallery__item::after {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(34, 31, 33, 0.18),
      transparent 50%
    );

  content: "";

  pointer-events: none;
}

.gallery__item:hover img {
  transform: scale(1.025);
}

.gallery__number {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 15px;

  color: rgba(255, 255, 255, 0.8);

  font-family: "Cormorant Garamond", serif;

  font-size: 18px;
}


/* ==========================================================
   DRESS CODE
========================================================== */

.dress-code {
  background: var(--bg);
}

.dress-code__container {
  display: grid;

  grid-template-columns: 0.85fr 1.15fr;

  align-items: center;

  gap: 100px;
}

.dress-code__text {
  max-width: 530px;

  margin: 30px 0 0;

  color: var(--text-soft);

  font-size: 14px;

  line-height: 1.9;
}

.dress-code__palette {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 12px;
}

.dress-color {
  position: relative;

  min-height: 210px;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 23px;

  border-radius: 2px;

  overflow: hidden;
}

.dress-color::before {
  position: absolute;
  inset: 14px;

  border: 1px solid rgba(255, 255, 255, 0.38);

  content: "";
}

.dress-color span {
  position: relative;
  z-index: 2;

  color: rgba(55, 49, 52, 0.72);

  font-family: "Cormorant Garamond", serif;

  font-size: 24px;
}


/* ==========================================================
   LOCATION
========================================================== */

.location {
  padding-top: 30px;

  background: var(--bg);
}

.location__card {
  display: grid;

  min-height: 480px;

  grid-template-columns: 0.9fr 1.1fr;

  overflow: hidden;

  background: #37343a;

  color: #fff;
}

.location__visual {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  min-height: 420px;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      rgba(165, 194, 212, 0.94),
      rgba(243, 223, 226, 0.86)
    );
}

.location__visual::before,
.location__visual::after {
  position: absolute;

  width: 160%;
  height: 1px;

  background: rgba(255, 255, 255, 0.35);

  content: "";
}

.location__visual::before {
  transform: rotate(38deg);
}

.location__visual::after {
  transform: rotate(-35deg);
}

.location__pin {
  position: relative;
  z-index: 3;

  display: grid;

  width: 100px;
  height: 100px;

  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.25);

  box-shadow:
    0 20px 60px rgba(57, 50, 55, 0.14);

  backdrop-filter: blur(12px);
}

.location__pin span {
  position: relative;

  width: 26px;
  height: 34px;

  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;

  transform: rotate(-45deg);
}

.location__pin span::after {
  position: absolute;
  top: 8px;
  left: 8px;

  width: 7px;
  height: 7px;

  border: 1px solid #fff;
  border-radius: 50%;

  content: "";
}

.location__rings {
  position: absolute;
  inset: 0;

  display: grid;

  place-items: center;
}

.location__rings span {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.location__rings span:nth-child(1) {
  width: 210px;
  height: 210px;
}

.location__rings span:nth-child(2) {
  width: 330px;
  height: 330px;
}

.location__rings span:nth-child(3) {
  width: 470px;
  height: 470px;
}

.location__content {
  display: flex;

  flex-direction: column;

  align-items: flex-start;
  justify-content: center;

  padding: 70px;
}

.location__content .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.location__content h2 {
  max-width: 500px;

  margin: 0;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(45px, 5vw, 70px);
  font-weight: 400;

  letter-spacing: -0.045em;

  line-height: 0.95;
}

.location__address {
  margin: 22px 0 0;

  color: rgba(255, 255, 255, 0.6);

  font-size: 13px;
}

.button {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 28px;

  min-height: 53px;

  padding: 0 28px;

  border: 0;

  border-radius: 100px;

  cursor: pointer;

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.1em;

  text-decoration: none;

  text-transform: uppercase;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.button--dark {
  margin-top: 35px;

  background: #fff;

  color: #343238;
}

.button--dark:hover {
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.16);

  transform: translateY(-2px);
}


/* ==========================================================
   RSVP
========================================================== */

.rsvp {
  background: var(--cream);
}

.rsvp__container {
  display: grid;

  grid-template-columns: 0.78fr 1.22fr;

  gap: 110px;
}

.rsvp__intro {
  position: sticky;
  top: 60px;

  align-self: start;
}

.rsvp__subtitle {
  max-width: 430px;

  margin: 30px 0 0;

  color: var(--text-soft);

  font-size: 14px;

  line-height: 1.9;
}

.rsvp__deadline {
  display: flex;

  align-items: center;

  gap: 13px;

  margin-top: 32px;
}

.rsvp__deadline span {
  width: 34px;
  height: 1px;

  background: var(--gold);
}

.rsvp__deadline p {
  margin: 0;

  color: var(--gold);

  font-size: 9px;
  font-weight: 600;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.rsvp-form {
  padding: 50px;

  border: 1px solid var(--line);

  background: var(--bg);
}

.form-field {
  margin: 0 0 34px;
  padding: 0;

  border: 0;
}

.form-field > label,
.form-field > legend {
  display: block;

  margin-bottom: 13px;

  color: var(--text);

  font-size: 10px;
  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.form-field input[type="text"],
.form-field textarea,
.form-field select {
  width: 100%;

  border: 0;
  border-bottom: 1px solid rgba(69, 62, 65, 0.22);

  border-radius: 0;

  outline: 0;

  background: transparent;

  color: var(--text);

  transition: border-color 0.3s ease;
}

.form-field input[type="text"] {
  height: 54px;
}

.form-field textarea {
  min-height: 95px;

  padding: 14px 0;

  resize: vertical;
}

.form-field select {
  height: 54px;

  appearance: none;
  -webkit-appearance: none;

  cursor: pointer;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--gold);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #aaa3a6;

  font-size: 12px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 5px;

  color: var(--text-soft);

  content: "⌄";

  pointer-events: none;

  transform: translateY(-50%);
}

.radio-group {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 8px;
}

.radio-card {
  cursor: pointer;
}

.radio-card input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.radio-card__box {
  display: flex;

  min-height: 105px;

  flex-direction: column;

  justify-content: center;

  padding: 18px;

  border: 1px solid var(--line);

  background: rgba(255, 255, 255, 0.36);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.radio-card__box strong {
  font-family: "Cormorant Garamond", serif;

  font-size: 24px;
  font-weight: 500;
}

.radio-card__box small {
  margin-top: 3px;

  color: var(--text-soft);

  font-size: 9px;

  line-height: 1.5;
}

.radio-card:hover .radio-card__box {
  transform: translateY(-2px);
}

.radio-card input:checked + .radio-card__box {
  border-color: var(--gold);

  background: #fff;
}

.checkbox-group {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 8px;
}

.checkbox-card {
  position: relative;

  display: flex;

  align-items: center;

  gap: 12px;

  min-height: 52px;

  padding: 12px 15px;

  border: 1px solid var(--line);

  cursor: pointer;

  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.checkbox-card input {
  position: absolute;

  opacity: 0;
}

.checkbox-card__mark {
  position: relative;

  width: 18px;
  height: 18px;

  flex: 0 0 18px;

  border: 1px solid rgba(69, 62, 65, 0.3);

  border-radius: 50%;
}

.checkbox-card__mark::after {
  position: absolute;
  inset: 4px;

  border-radius: 50%;

  background: var(--gold);

  content: "";

  opacity: 0;

  transform: scale(0.4);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.checkbox-card__text {
  color: var(--text-soft);

  font-size: 11px;
}

.checkbox-card:has(input:checked) {
  border-color: var(--gold);

  background: #fff;
}

.checkbox-card input:checked
+ .checkbox-card__mark::after {
  opacity: 1;

  transform: scale(1);
}

.form-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  padding: 0 !important;
  margin: -1px !important;

  overflow: hidden !important;

  clip: rect(0, 0, 0, 0) !important;

  white-space: nowrap !important;
}

.button--submit {
  position: relative;

  width: 100%;

  margin-top: 5px;

  background: #39363b;

  color: #fff;

  overflow: hidden;
}

.button--submit:hover {
  background: #242225;

  box-shadow:
    0 15px 35px rgba(49, 44, 47, 0.18);

  transform: translateY(-2px);
}

.button--submit:disabled {
  cursor: wait;

  opacity: 0.7;
}

.button__loader {
  display: none;

  width: 17px;
  height: 17px;

  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;

  animation: spinner 0.8s linear infinite;
}

.button--submit.is-loading .button__arrow {
  display: none;
}

.button--submit.is-loading .button__loader {
  display: block;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.form-status {
  display: none;

  margin-top: 20px;

  padding: 16px 18px;

  border: 1px solid var(--line);

  font-size: 12px;

  line-height: 1.6;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: rgba(92, 138, 111, 0.3);

  background: rgba(212, 232, 219, 0.42);
}

.form-status.is-error {
  border-color: rgba(172, 95, 95, 0.25);

  background: rgba(241, 213, 213, 0.38);
}


/* ==========================================================
   FINAL
========================================================== */

.final {
  min-height: 650px;

  display: flex;

  align-items: center;

  overflow: hidden;

  background: #39363b;

  color: #fff;

  text-align: center;
}

.final__pink,
.final__blue {
  position: absolute;

  width: 540px;
  height: 540px;

  border-radius: 50%;

  filter: blur(4px);

  opacity: 0.12;
}

.final__pink {
  top: -240px;
  right: -150px;

  background: var(--pink);
}

.final__blue {
  bottom: -260px;
  left: -150px;

  background: var(--blue);
}

.final__container {
  position: relative;
  z-index: 2;
}

.final__small {
  display: block;

  color: rgba(255, 255, 255, 0.44);

  font-size: 9px;

  letter-spacing: 0.25em;
}

.final__title {
  display: flex;

  flex-direction: column;

  max-width: 900px;

  margin: 25px auto 0;

  font-family: "Cormorant Garamond", serif;

  font-size: clamp(54px, 7vw, 88px);
  font-weight: 400;

  letter-spacing: -0.055em;

  line-height: 0.88;
}

.final__title em {
  margin-top: 10px;

  color: #e9ced4;

  font-weight: 400;
}

.final__text {
  margin: 30px auto 0;

  color: rgba(255, 255, 255, 0.56);

  font-size: 13px;
}

.final__names {
  margin-top: 45px;

  color: var(--gold);

  font-family: "Cormorant Garamond", serif;

  font-size: 28px;
  font-style: italic;
}


/* ==========================================================
   FOOTER
========================================================== */

.footer {
  padding: 32px 0;

  background: #252326;

  color: #fff;
}

.footer__container {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.footer__couple {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.footer__couple span {
  color: rgba(255, 255, 255, 0.42);

  font-size: 8px;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.footer__couple strong {
  font-family: "Cormorant Garamond", serif;

  font-size: 20px;
  font-weight: 400;
}

.footer__creator {
  display: flex;

  align-items: center;

  gap: 13px;

  color: rgba(255, 255, 255, 0.45);

  text-decoration: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer__creator:hover {
  opacity: 0.8;

  transform: translateY(-2px);
}

.footer__creator span {
  font-size: 7px;

  letter-spacing: 0.13em;

  text-transform: uppercase;
}

.footer__creator img {
  width: 75px;
  height: auto;

  object-fit: contain;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1024px) {

  .container {
    width: min(100% - 48px, 920px);
  }

  .section {
    padding: 95px 0;
  }

  .hero {
    padding-top: 35px;
  }

  .hero__grid {
    gap: 45px;
  }

  .hero__title {
    font-size: clamp(60px, 8vw, 88px);
  }

  .story__grid {
    gap: 65px;
  }

  .details__cards {
    grid-template-columns: 1fr;
  }

  .detail-card,
  .detail-card:first-child {
    min-height: auto;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .detail-card:last-child {
    border-bottom: 0;
  }

  .dress-code__container {
    gap: 55px;
  }

  .rsvp__container {
    gap: 60px;
  }

}


/* ==========================================================
   MOBILE / TABLET
========================================================== */

@media (max-width: 760px) {

  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 32px, 620px);
  }

  .section {
    padding: 78px 0;
  }

  .eyebrow {
    margin-bottom: 13px;

    font-size: 9px;
  }

  .section-title {
    font-size: clamp(43px, 13vw, 60px);

    line-height: 0.95;
  }

  .section-description {
    margin-top: 19px;

    font-size: 13px;
  }


  /* WELCOME */

  .welcome__content {
    width: calc(100% - 32px);

    padding: 42px 22px;
  }

  .welcome__title {
    font-size: clamp(48px, 16vw, 70px);
  }

  .welcome__subtitle {
    font-size: 12px;
  }

  .welcome__button {
    width: 100%;

    min-width: 0;

    margin-top: 28px;
  }

  .welcome__symbol {
    font-size: 80vw;
  }


  /* HERO */

  .hero {
    min-height: auto;

    padding: 27px 0 65px;
  }

  .hero__top {
    gap: 12px;
  }

  .mini-logo {
    width: 48px;
    height: 48px;

    font-size: 14px;
  }

  .hero__top-line {
    width: 25px;
  }

  .hero__grid {
    grid-template-columns: 1fr;

    gap: 60px;

    margin-top: 52px;
  }

  .hero__title {
    font-size: clamp(58px, 18vw, 90px);
  }

  .hero__title em {
    margin-right: 9%;
  }

  .hero__text {
    margin-top: 30px;

    font-size: 13px;
  }

  .hero__visual {
    padding: 0 20px;
  }

  .hero__photo-wrap {
    max-width: 410px;
  }

  .hero__circle--one {
    top: -25px;
    right: -15px;

    width: 140px;
    height: 140px;
  }

  .hero__circle--two {
    bottom: 33px;
    left: -8px;

    width: 92px;
    height: 92px;
  }

  .hero__photo-label {
    right: -10px;
    bottom: 75px;
  }

  .scroll-hint {
    display: none;
  }


  /* STORY */

  .story__grid {
    grid-template-columns: 1fr;

    gap: 65px;
  }

  .story__image-wrap {
    width: calc(100% - 18px);
  }

  .story__image-number {
    right: -25px;

    font-size: 70px;
  }

  .story__quote {
    font-size: 24px;
  }


  /* PREDICTION */

  .prediction__choices {
    grid-template-columns: 1fr;

    gap: 12px;

    margin-top: 42px;
  }

  .prediction-card {
    min-height: 180px;
  }

  .prediction__or {
    margin: 0;

    text-align: center;
  }


  /* DETAILS */

  .details__heading {
    margin-bottom: 45px;
  }

  .detail-card {
    min-height: 260px;

    padding: 35px 28px;
  }

  .detail-card__date > strong {
    font-size: 75px;
  }

  .detail-card__time {
    font-size: 70px;
  }


  /* COUNTDOWN */

  .countdown::before {
    inset: 9px;
  }

  .countdown__grid {
    gap: 10px;

    margin-top: 40px;
  }

  .countdown__item {
    min-width: 55px;
  }

  .countdown__item strong {
    font-size: clamp(38px, 12vw, 60px);
  }

  .countdown__item span {
    font-size: 6px;

    letter-spacing: 0.1em;
  }

  .countdown__divider {
    padding-top: 5px;

    font-size: 32px;
  }


  /* SCHEDULE */

  .schedule__heading {
    display: block;
  }

  .schedule__heading .section-title {
    margin-top: 10px;
  }

  .schedule__list {
    margin-top: 20px;
  }

  .schedule-item {
    grid-template-columns: 75px 1fr;

    gap: 20px;

    padding: 27px 0;
  }

  .schedule-item__time {
    font-size: 23px;
  }

  .schedule-item__body h3 {
    font-size: 25px;
  }


  /* GALLERY */

  .gallery__heading {
    margin-bottom: 43px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;

    gap: 9px;
  }

  .gallery__item,
  .gallery__item:first-child {
    min-height: 360px;

    grid-row: auto;
  }

  .gallery__item:not(:first-child) {
    min-height: 250px;
  }


  /* DRESS CODE */

  .dress-code__container {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .dress-code__palette {
    gap: 8px;
  }

  .dress-color {
    min-height: 170px;

    padding: 18px;
  }

  .dress-color span {
    font-size: 18px;
  }


  /* LOCATION */

  .location {
    padding-top: 0;
  }

  .location__card {
    grid-template-columns: 1fr;
  }

  .location__visual {
    min-height: 310px;
  }

  .location__content {
    padding: 48px 30px 55px;
  }

  .location__content h2 {
    font-size: 48px;
  }


  /* RSVP */

  .rsvp__container {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .rsvp__intro {
    position: static;
  }

  .rsvp-form {
    padding: 30px 22px;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .radio-card__box {
    min-height: 76px;
  }


  /* FINAL */

  .final {
    min-height: 560px;
  }

  .final__title {
    font-size: clamp(50px, 14vw, 68px);
  }


  /* FOOTER */

  .footer__container {
    flex-direction: column;

    align-items: flex-start;
  }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

  .container {
    width: calc(100% - 26px);
  }

  .hero__info {
    gap: 20px;
  }

  .hero__info-item strong {
    font-size: 22px;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .dress-color {
    min-height: 145px;
  }

  .countdown__grid {
    gap: 5px;
  }

  .countdown__item {
    min-width: 48px;
  }

  .countdown__divider {
    font-size: 26px;
  }

}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;

    transform: none;
  }

}

@media (max-width: 900px) {

  .footer__container {
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 24px;

    text-align: center;
  }

  .footer__couple {
    align-items: center;

    text-align: center;
  }

  .footer__creator {
    justify-content: center;

    margin: 0 auto;
  }
}