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

:root {
  --ivory: #f7f3ec;
  --paper: #f2ece3;
  --cream: #ebe2d5;
  --stone: #ded3c5;
  --champagne: #cbb79a;

  --gold: #a8895f;
  --gold-dark: #856b49;

  --ink: #292622;
  --ink-soft: #504b45;
  --muted: #81786e;

  --line: rgba(47, 42, 37, 0.16);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
}


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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--ivory);
  color: var(--ink);

  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;

  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

a {
  color: inherit;
}

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

::selection {
  color: #fff;
  background: var(--gold);
}


/* =========================================================
   GLOBAL
========================================================= */

.section {
  position: relative;
  padding: 140px 6vw;
}

.section-number {
  position: absolute;
  top: 38px;
  right: 6vw;

  color: rgba(41, 38, 34, 0.36);

  font-size: 9px;
  letter-spacing: 0.25em;
}

.eyebrow {
  display: inline-block;

  color: var(--gold-dark);

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.28em;

  text-transform: uppercase;
}

.line {
  width: 100%;
  height: 1px;

  background: var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.noise {
  position: absolute;
  inset: 0;

  opacity: 0.05;
  pointer-events: none;

  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.5'/%3E%3C/svg%3E");
}


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

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

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

  min-height: 100vh;
  min-height: 100svh;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #fbf8f2,
      #e9dfd1
    );

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

.welcome.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome__glow {
  position: absolute;

  top: -20%;
  left: 50%;

  width: 70vw;
  height: 70vw;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(208, 180, 139, 0.28),
      transparent 68%
    );

  transform: translateX(-50%);
}

.welcome::before,
.welcome::after {
  content: "";

  position: absolute;

  top: 5%;
  bottom: 5%;

  width: 1px;

  background:
    linear-gradient(
      transparent,
      rgba(75, 65, 55, 0.17),
      transparent
    );
}

.welcome::before {
  left: 4vw;
}

.welcome::after {
  right: 4vw;
}

.welcome__top {
  position: absolute;
  z-index: 2;

  top: 35px;
  left: 50%;

  transform: translateX(-50%);
}

.welcome__logo {
  width: auto;
  max-width: 130px;
  height: 38px;

  object-fit: contain;
}

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

  width: min(850px, 88vw);

  text-align: center;
}

.welcome__title {
  margin: 25px 0 22px;

  font-family: var(--display);
  font-size: clamp(55px, 10vw, 125px);
  font-weight: 300;

  line-height: 0.88;
  letter-spacing: -0.075em;
}

.welcome__text {
  margin: 0 auto 42px;

  color: var(--muted);

  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.welcome__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;

  min-height: 60px;

  padding: 0 27px;

  border: 1px solid rgba(41, 38, 34, 0.32);

  color: var(--ink);
  background: rgba(255, 255, 255, 0.22);

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

  cursor: pointer;

  font-size: 9px;
  letter-spacing: 0.2em;

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

.welcome__button:hover {
  color: #fff;
  background: var(--ink);
}

.arrow {
  font-size: 17px;
}

.welcome__date {
  position: absolute;

  right: 6vw;
  bottom: 32px;

  color: rgba(41, 38, 34, 0.45);

  font-size: 8px;
  letter-spacing: 0.3em;
}


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

.hero {
  position: relative;

  display: flex;
  align-items: flex-end;

  min-height: 100vh;
  min-height: 100svh;

  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: -3%;

  background-position: center;
  background-size: cover;

  transform: scale(1.02);

  transition: transform 10s ease;
}

body.loaded .hero__image {
  transform: scale(1.07);
}

.hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(249, 245, 237, 0.05) 0%,
      rgba(249, 245, 237, 0.06) 40%,
      rgba(239, 229, 215, 0.87) 100%
    );
}

.hero__header {
  position: absolute;

  z-index: 3;

  top: 0;
  left: 0;

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

  width: 100%;

  padding: 25px 5vw;

  border-bottom:
    1px solid rgba(41, 38, 34, 0.14);

  background:
    rgba(247, 243, 236, 0.53);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.company-logo {
  width: auto;
  max-width: 130px;
  height: 34px;

  object-fit: contain;
}

.hero__header span {
  font-size: 8px;
  letter-spacing: 0.27em;
}

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

  width: 100%;

  padding:
    0 5vw
    clamp(45px, 7vh, 80px);
}

.hero__eyebrow {
  display: block;

  margin-bottom: 20px;

  color: var(--ink);

  font-size: 9px;
  letter-spacing: 0.3em;
}

.hero__title {
  display: flex;
  flex-direction: column;

  margin: 0;

  color: var(--ink);

  font-family: var(--display);
  font-size: clamp(75px, 13vw, 205px);
  font-weight: 300;

  line-height: 0.7;
  letter-spacing: -0.08em;
}

.hero__title em {
  margin-left: 17vw;

  color: #8f6f4b;

  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;

  letter-spacing: -0.05em;
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 40px;

  margin-top: 60px;
}

.hero__subtitle {
  max-width: 440px;

  margin: 0;

  color: var(--ink-soft);

  font-size: 14px;
  font-weight: 300;

  line-height: 1.75;
}

.hero__meta {
  display: flex;
  align-items: center;

  gap: 15px;

  color: var(--ink-soft);

  font-size: 9px;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.hero__meta i {
  width: 3px;
  height: 3px;

  border-radius: 50%;

  background: var(--gold-dark);
}


/* =========================================================
   INVITATION
========================================================= */

.invitation {
  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(190, 157, 112, 0.13),
      transparent 27%
    ),
    var(--ivory);
}

.invitation__inner {
  width: min(1000px, 100%);

  margin: 0 auto;
}

.invitation h2 {
  max-width: 900px;

  margin: 28px 0 70px;

  font-family: var(--serif);
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 400;

  line-height: 1;
  letter-spacing: -0.045em;
}

.invitation__texts {
  display: grid;

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

  gap: 25px 60px;

  margin-left:
    min(20vw, 250px);
}

.invitation__texts p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
  font-weight: 300;

  line-height: 1.9;
}


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

.countdown {
  color: var(--ink);

  background: var(--stone);
}

.countdown__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 65px;
}

.countdown__heading h2 {
  max-width: 620px;

  margin: 0;

  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;

  line-height: 0.95;
  letter-spacing: -0.05em;
}

.countdown__grid {
  display: grid;

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

  border-top:
    1px solid rgba(41, 38, 34, 0.2);
}

.countdown__grid > div {
  padding: 45px 2vw 0;

  border-right:
    1px solid rgba(41, 38, 34, 0.17);

  text-align: center;
}

.countdown__grid > div:last-child {
  border-right: 0;
}

.countdown strong {
  display: block;

  font-family: var(--display);
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 300;

  line-height: 1;

  letter-spacing: -0.07em;
}

.countdown__grid span {
  display: block;

  margin-top: 13px;

  color: var(--muted);

  font-size: 8px;

  letter-spacing: 0.23em;

  text-transform: uppercase;
}


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

.location {
  display: grid;

  grid-template-columns:
    1.25fr 0.75fr;

  min-height: 780px;

  background: #faf7f1;
}

.location__visual {
  min-height: 700px;

  overflow: hidden;
}

.location__image {
  width: 100%;
  height: 100%;

  min-height: 700px;

  background-size: cover;
  background-position: center;

  transition: transform 1.2s ease;
}

.location__image:hover {
  transform: scale(1.02);
}

.location__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 75px 7vw;
}

.location__content h2 {
  margin: 25px 0 36px;

  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;

  line-height: 0.98;

  letter-spacing: -0.04em;
}

.location__address {
  margin: 30px 0 20px;

  color: var(--ink-soft);

  font-size: 13px;
  font-weight: 300;

  line-height: 1.7;
}

.location__meta {
  display: flex;
  flex-direction: column;

  gap: 6px;

  margin-bottom: 45px;

  color: var(--muted);

  font-size: 9px;

  line-height: 1.7;
  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.outline-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 300px;

  padding: 19px 20px;

  border:
    1px solid rgba(41, 38, 34, 0.28);

  font-size: 8px;
  letter-spacing: 0.2em;

  text-decoration: none;

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

.outline-button:hover {
  color: #fff;
  background: var(--ink);
}


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

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

.schedule__heading {
  max-width: 780px;

  margin:
    0 0 95px 9vw;
}

.schedule__heading h2 {
  margin: 25px 0 28px;

  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 400;

  line-height: 0.95;
  letter-spacing: -0.05em;
}

.schedule__heading p {
  max-width: 520px;

  margin: 0;

  color: var(--muted);

  font-size: 13px;
  font-weight: 300;

  line-height: 1.8;
}

.schedule__list {
  max-width: 1100px;

  margin: 0 auto;

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

.schedule__item {
  display: grid;

  grid-template-columns:
    150px 1fr 1fr;

  gap: 40px;

  padding: 32px 0;

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

.schedule__time {
  color: var(--gold-dark);

  font-family: var(--serif);
  font-size: 27px;
  font-style: italic;
}

.schedule__item h3 {
  margin: 0;

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

  letter-spacing: 0.03em;
}

.schedule__item p {
  max-width: 420px;

  margin: 0;

  color: var(--muted);

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

  line-height: 1.75;
}


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

.dress {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  min-height: 900px;

  background: #e5dbce;
}

.dress__visual {
  position: relative;

  min-height: 900px;

  overflow: hidden;
}

.dress__photo {
  position: absolute;

  background-size: cover;
  background-position: center;
}

.dress__photo--woman {
  top: 0;
  left: 0;

  width: 68%;
  height: 88%;
}

.dress__photo--man {
  right: 0;
  bottom: 0;

  width: 47%;
  height: 59%;

  border:
    10px solid #e5dbce;
}

.dress__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 80px 8vw;
}

.dress__content h2 {
  margin: 25px 0;

  font-family: var(--display);
  font-size: clamp(58px, 7vw, 105px);
  font-weight: 300;

  line-height: 0.85;

  letter-spacing: -0.075em;
}

.dress__lead {
  max-width: 500px;

  color: var(--ink-soft);

  font-family: var(--serif);
  font-size: 20px;

  line-height: 1.55;
}

.dress__colors {
  display: flex;
  flex-wrap: wrap;

  gap: 22px;

  margin: 50px 0 36px;
}

.dress__color {
  display: flex;
  flex-direction: column;

  gap: 10px;
}

.dress__swatch {
  width: 54px;
  height: 54px;

  border-radius: 50%;

  border:
    1px solid rgba(41, 38, 34, 0.12);

  box-shadow:
    0 8px 25px
    rgba(70, 57, 43, 0.08);
}

.dress__color-name {
  color: var(--muted);

  font-size: 8px;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.dress__note {
  max-width: 440px;

  color: var(--muted);

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

  line-height: 1.8;
}


/* =========================================================
   MOOD
========================================================= */

.mood {
  background:
    radial-gradient(
      circle at 85% 25%,
      rgba(186, 151, 105, 0.14),
      transparent 28%
    ),
    #faf7f1;
}

.mood__heading {
  max-width: 750px;

  margin-bottom: 65px;
}

.mood__heading h2 {
  margin: 25px 0;

  font-family: var(--serif);
  font-size: clamp(50px, 7vw, 103px);
  font-weight: 400;

  line-height: 0.95;

  letter-spacing: -0.05em;
}

.mood__heading p {
  max-width: 540px;

  color: var(--muted);

  font-size: 13px;
  font-weight: 300;

  line-height: 1.8;
}

.mood__options {
  max-width: 1050px;

  margin-left: auto;

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

.mood__option {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  padding: 27px 4px;

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

  color: var(--ink);
  background: transparent;

  text-align: left;

  cursor: pointer;

  transition:
    padding 0.25s ease,
    color 0.25s ease;
}

.mood__option:hover {
  padding-left: 14px;

  color: var(--gold-dark);
}

.mood__option span:first-child {
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 27px);
}

.mood__option span:last-child {
  font-size: 20px;
}

.mood__option.is-selected {
  color: var(--gold-dark);
}

.mood__result {
  min-height: 45px;

  max-width: 1050px;

  margin:
    28px 0 0 auto;

  color: var(--muted);

  font-size: 11px;

  line-height: 1.7;
}


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

.rsvp {
  position: relative;

  padding: 145px 6vw;

  overflow: hidden;

  background: #d7c9b8;
}

.rsvp__decor {
  position: absolute;

  width: 55vw;
  height: 55vw;

  top: -25vw;
  right: -15vw;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 250, 240, 0.4),
      transparent 70%
    );
}

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

  display: grid;

  grid-template-columns:
    0.8fr 1.2fr;

  gap: 10vw;

  max-width: 1200px;

  margin: 0 auto;
}

.rsvp__heading {
  position: sticky;

  top: 50px;

  align-self: start;
}

.rsvp__heading h2 {
  margin: 25px 0;

  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 105px);
  font-weight: 400;

  line-height: 0.95;

  letter-spacing: -0.06em;
}

.rsvp__heading p {
  max-width: 430px;

  color: var(--ink-soft);

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

  line-height: 1.9;
}

.form-field {
  min-width: 0;

  margin: 0 0 40px;

  padding: 0;

  border: 0;
}

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

  margin-bottom: 13px;

  color: var(--ink-soft);

  font-size: 8px;

  letter-spacing: 0.17em;

  text-transform: uppercase;
}

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

  padding: 15px 0;

  border: 0;

  border-bottom:
    1px solid rgba(41, 38, 34, 0.28);

  border-radius: 0;

  outline: none;

  color: var(--ink);
  background: transparent;

  font-size: 14px;

  transition:
    border-color 0.25s ease;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color:
    rgba(41, 38, 34, 0.36);
}

.form-field textarea {
  resize: vertical;
}

.radio-group {
  display: grid;

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

  gap: 8px;
}

.radio-option,
.checkbox-option {
  position: relative;
}

.radio-option input,
.checkbox-option input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}

.radio-option span {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;

  padding: 10px;

  border:
    1px solid rgba(41, 38, 34, 0.21);

  color: var(--ink-soft);

  font-size: 9px;

  text-align: center;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.radio-option input:checked + span {
  color: #fff;
  background: var(--ink);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}

.checkbox-option span {
  display: block;

  padding: 11px 15px;

  border:
    1px solid rgba(41, 38, 34, 0.2);

  color: var(--ink-soft);

  font-size: 9px;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.checkbox-option input:checked + span {
  color: #fff;
  background: var(--ink);
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;

  min-height: 66px;

  padding: 0 24px;

  border: 0;

  color: #fff;
  background: var(--ink);

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

  letter-spacing: 0.2em;

  cursor: pointer;

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

.submit-button:hover {
  background: var(--gold-dark);
}

.submit-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.form-status {
  min-height: 20px;

  margin-top: 18px;

  color: #874f47;

  font-size: 10px;
}

.honeypot {
  position: absolute !important;

  left: -9999px !important;

  opacity: 0 !important;
}

.rsvp-success {
  display: none;

  align-self: center;
}

.rsvp-success.is-visible {
  display: block;
}

.rsvp-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  margin-bottom: 28px;

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

  border-radius: 50%;

  color: var(--gold-dark);
}

.rsvp-success h3 {
  margin: 0 0 20px;

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

.rsvp-success p {
  max-width: 480px;

  color: var(--ink-soft);

  font-size: 12px;

  line-height: 1.8;
}


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

.final {
  position: relative;

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

  min-height: 90vh;

  overflow: hidden;

  text-align: center;
}

.final__image {
  position: absolute;

  inset: -3%;

  background-position: center;
  background-size: cover;
}

.final__overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(244, 237, 226, 0.65),
      rgba(229, 215, 195, 0.86)
    );
}

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

  width: min(1050px, 90vw);
}

.final__content h2 {
  display: flex;
  flex-direction: column;

  margin: 28px 0;

  color: var(--ink);

  font-family: var(--display);
  font-size: clamp(60px, 10vw, 145px);
  font-weight: 300;

  line-height: 0.8;

  letter-spacing: -0.075em;
}

.final__content h2 em {
  margin-top: 15px;

  color: var(--gold-dark);

  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;

  letter-spacing: -0.05em;
}

.final__content p {
  color: var(--ink-soft);

  font-size: 11px;

  letter-spacing: 0.05em;
}


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

.footer {
  padding:
    65px 6vw 40px;

  background: #ded3c5;

  text-align: center;
}

.footer__text {
  margin: 0;

  color: var(--ink-soft);

  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
}

.footer__line {
  width: 100%;
  height: 1px;

  margin:
    43px 0 34px;

  background:
    rgba(41, 38, 34, 0.12);
}

.footer__creator {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 13px;

  color: var(--muted);

  font-size: 7px;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}

.footer__creator a {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 150px;
  min-height: 52px;

  padding: 10px 20px;

  border-radius: 3px;

  /* background: #282522; */

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

.footer__creator a:hover {
  transform: translateY(-3px);

  background: #8e704d;
}

.footer__creator img {
  width: auto;
  max-width: 115px;
  height: 28px;

  object-fit: contain;
}


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

@media (max-width: 1000px) {

  .section {
    padding:
      110px 6vw;
  }

  .hero__title em {
    margin-left: 10vw;
  }

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

  .location__visual,
  .location__image {
    min-height: 65vh;
  }

  .location__content {
    padding:
      90px 7vw;
  }

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

  .dress__visual {
    min-height: 78vh;
  }

  .dress__content {
    padding:
      100px 8vw;
  }

  .rsvp__inner {
    gap: 6vw;
  }
}


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

@media (max-width: 720px) {

  .section {
    padding:
      90px 22px;
  }

  .section-number {
    top: 25px;
    right: 22px;
  }


  /* WELCOME */

  .welcome::before {
    left: 16px;
  }

  .welcome::after {
    right: 16px;
  }

  .welcome__top {
    top: 27px;
  }

  .welcome__logo {
    max-width: 105px;
    height: 30px;
  }

  .welcome__title {
    font-size:
      clamp(53px, 17vw, 78px);
  }

  .welcome__text {
    max-width: 280px;

    line-height: 1.7;
  }

  .welcome__button {
    min-height: 55px;

    gap: 18px;

    padding:
      0 20px;
  }

  .welcome__date {
    left: 50%;
    right: auto;

    bottom: 24px;

    transform:
      translateX(-50%);

    white-space: nowrap;
  }


  /* HERO */

  .hero__header {
    padding:
      20px 22px;
  }

  .company-logo {
    max-width: 100px;
    height: 28px;
  }

  .hero__header span {
    font-size: 6px;
  }

  .hero__content {
    padding:
      0 22px 50px;
  }

  .hero__image {
    background-position:
      62% center;
  }

  .hero__title {
    font-size:
      clamp(68px, 22vw, 105px);

    line-height: 0.77;
  }

  .hero__title em {
    margin-left: 0;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 24px;

    margin-top: 43px;
  }

  .hero__meta {
    flex-wrap: wrap;

    gap: 9px;

    font-size: 7px;
  }


  /* INVITATION */

  .invitation h2 {
    margin-bottom: 50px;
  }

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

    gap: 21px;

    margin-left: 0;
  }


  /* COUNTDOWN */

  .countdown__heading {
    display: block;

    margin-bottom: 50px;
  }

  .countdown__heading .eyebrow {
    margin-bottom: 22px;
  }

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

  .countdown__grid > div {
    padding:
      30px 8px;

    border-bottom:
      1px solid
      rgba(41, 38, 34, 0.15);
  }

  .countdown__grid > div:nth-child(2) {
    border-right: 0;
  }

  .countdown__grid > div:nth-child(3),
  .countdown__grid > div:nth-child(4) {
    border-bottom: 0;
  }

  .countdown strong {
    font-size: 53px;
  }


  /* LOCATION */

  .location__visual,
  .location__image {
    min-height: 58vh;
  }

  .location__content {
    padding:
      75px 22px;
  }


  /* SCHEDULE */

  .schedule__heading {
    margin:
      0 0 65px;
  }

  .schedule__item {
    grid-template-columns:
      80px 1fr;

    gap:
      14px 18px;

    padding:
      25px 0;
  }

  .schedule__item p {
    grid-column: 2;
  }

  .schedule__time {
    font-size: 21px;
  }


  /* DRESS */

  .dress__visual {
    min-height: 73vh;
  }

  .dress__photo--woman {
    width: 72%;
    height: 88%;
  }

  .dress__photo--man {
    width: 48%;
    height: 53%;

    border-width: 6px;
  }

  .dress__content {
    padding:
      80px 22px;
  }

  .dress__colors {
    gap: 15px;
  }

  .dress__swatch {
    width: 48px;
    height: 48px;
  }


  /* MOOD */

  .mood__options,
  .mood__result {
    margin-left: 0;
  }


  /* RSVP */

  .rsvp {
    padding:
      95px 22px;
  }

  .rsvp__inner {
    display: block;
  }

  .rsvp__heading {
    position: static;

    margin-bottom: 65px;
  }

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

  .radio-option span {
    justify-content: flex-start;

    padding-left: 18px;
  }


  /* FINAL */

  .final {
    min-height: 75vh;
  }

  .final__content h2 {
    font-size:
      clamp(57px, 18vw, 94px);
  }


  /* FOOTER */

  .footer {
    padding:
      55px 22px 35px;
  }
}


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

@media (max-width: 390px) {

  .hero__title {
    font-size: 64px;
  }

  .dress__swatch {
    width: 42px;
    height: 42px;
  }

}


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

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

  html {
    scroll-behavior: auto;
  }

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

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }
}