:root {
  --ivory: #f6f2e8;
  --ivory-light: #fcfaf4;
  --green: #18362f;
  --green-deep: #0f2923;
  --gold: #aa8246;
  --gold-light: #d7bd87;
  --ink: #20241f;
  --muted: #6d6d62;
  --line: rgba(78, 67, 46, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.show-invitation-gate,
.show-invitation-gate body {
  overflow: hidden;
}

.invitation-gate {
  display: none;
}

.show-invitation-gate .invitation-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: block;
  overflow: hidden;
  background: transparent;
  pointer-events: all;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.invitation-gate.is-leaving {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.envelope-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.envelope-back {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #fffefa;
  transition: opacity 500ms ease 360ms;
}

.envelope-flap {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  width: 100vw;
  height: 59svh;
  background: linear-gradient(180deg, #fff 0%, #fffefa 78%, #faf8f2 100%);
  box-shadow: 0 8px 14px rgba(53, 46, 35, 0.14);
  clip-path: polygon(0 0, 100% 0, 100% 31%, 50% 100%, 0 31%);
  transform: translateY(0);
  transition: transform 900ms cubic-bezier(0.76, 0, 0.24, 1) 240ms;
  will-change: transform;
}

.envelope-front {
  position: absolute;
  z-index: 3;
  inset: 0;
  background:
    linear-gradient(to bottom right, transparent 49.75%, rgba(125, 112, 86, 0.14) 49.9%, rgba(125, 112, 86, 0.14) 50.1%, transparent 50.25%) left bottom / 50% 41% no-repeat,
    linear-gradient(to bottom left, transparent 49.75%, rgba(125, 112, 86, 0.14) 49.9%, rgba(125, 112, 86, 0.14) 50.1%, transparent 50.25%) right bottom / 50% 41% no-repeat,
    linear-gradient(180deg, #fffefa 0%, #faf8f2 100%);
  clip-path: polygon(0 24%, 50% 59%, 100% 24%, 100% 100%, 0 100%);
  filter: drop-shadow(0 -2px 2px rgba(63, 56, 43, 0.11));
  pointer-events: none;
  transform: translateY(0);
  transition: transform 900ms cubic-bezier(0.76, 0, 0.24, 1) 300ms;
  will-change: transform;
}

.wax-seal {
  position: absolute;
  z-index: 7;
  top: 58.5%;
  left: 50%;
  display: grid;
  width: clamp(62px, 8vw, 88px);
  aspect-ratio: 1;
  border: 1px solid #8c642c;
  border-radius: 45% 53% 48% 55%;
  background:
    radial-gradient(circle at 34% 29%, #e7c579 0, #b88c45 35%, #936628 72%, #71481c 100%);
  box-shadow:
    0 9px 18px rgba(74, 47, 18, 0.27),
    inset 0 0 0 4px rgba(115, 77, 29, 0.2),
    inset 0 0 0 6px rgba(250, 225, 161, 0.2);
  place-items: center;
  transform: translate(-50%, -50%) rotate(-4deg);
  transition: transform 450ms cubic-bezier(0.68, -0.3, 0.32, 1.3), opacity 330ms ease 160ms;
  will-change: transform, opacity;
}

.wax-seal::before {
  position: absolute;
  width: 63%;
  aspect-ratio: 1;
  border: 1px solid rgba(87, 55, 22, 0.6);
  border-radius: 50%;
  content: "";
}

.wax-seal b {
  position: relative;
  z-index: 1;
  color: rgba(76, 49, 19, 0.78);
  font-family: var(--serif);
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 500;
  letter-spacing: -0.06em;
  text-shadow: 0 1px 0 rgba(248, 218, 150, 0.46);
}

.invitation-gate.is-opening .envelope-flap {
  transform: translateY(-108%);
}

.invitation-gate.is-opening .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-4deg) scale(0.06);
}

.invitation-gate.is-opening .envelope-front {
  transform: translateY(108%);
}

.invitation-gate.is-opening .envelope-back {
  opacity: 0;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(115deg, transparent 0, transparent 3px, rgba(72, 59, 38, 0.025) 4px),
    repeating-linear-gradient(25deg, transparent 0, transparent 6px, rgba(255, 255, 255, 0.12) 7px);
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: fixed;
  z-index: 15;
  top: 20px;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(94%, 1180px);
  min-height: 70px;
  padding: 8px 9px 8px 22px;
  border: 1px solid rgba(170, 130, 70, 0.3);
  border-radius: 100px;
  background: rgba(250, 247, 239, 0.82);
  box-shadow: 0 18px 55px rgba(38, 46, 37, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.monogram {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.monogram em {
  color: var(--gold);
  font-size: 18px;
  font-weight: 400;
}

.site-header nav {
  position: absolute;
  left: 50%;
  display: flex;
  justify-content: center;
  gap: clamp(20px, 4vw, 50px);
  transform: translateX(-50%);
}

.site-header nav a {
  position: relative;
  color: #42483f;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-header nav a::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  padding: 17px 24px;
  border-radius: 100px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 300ms ease, transform 300ms ease;
}

.header-cta:hover {
  background: var(--gold);
  transform: translateY(-2px);
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(780px, 100svh);
  padding: 160px 5vw 70px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.9) 0, rgba(246, 242, 232, 0.7) 33%, transparent 65%),
    linear-gradient(180deg, #fbf8f0 0%, var(--ivory) 88%);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.hero-eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(34px, 6vh, 64px);
}

.hero h1 {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 1200px;
  margin: 0;
  align-items: center;
  color: var(--green);
  flex-wrap: wrap;
  font-family: var(--serif);
  font-size: clamp(76px, 12.2vw, 188px);
  font-weight: 400;
  justify-content: center;
  letter-spacing: -0.065em;
  line-height: 0.72;
}

.hero h1 em {
  margin: 0 0.09em;
  color: var(--gold);
  font-size: 0.53em;
  font-weight: 400;
  transform: translateY(0.09em);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 530px;
  margin: clamp(55px, 8vh, 85px) auto 0;
  color: #55594f;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.35;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 40px;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  padding: 16px 26px;
  border: 1px solid transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease, transform 300ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--green);
  color: white;
}

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

.button-secondary {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.58);
  color: var(--green);
}

.button-secondary:hover {
  border-color: var(--green);
  background: white;
}

.scroll-note {
  position: absolute;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #77796f;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-note span {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.opening {
  padding: clamp(150px, 20vw, 280px) 5vw;
  text-align: center;
}

.opening h2,
.section-heading h2,
.promise-sticky h2,
.rsvp-copy h2,
.countdown-section h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(52px, 7.2vw, 110px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.93;
}

.opening .word-reveal {
  max-width: 900px;
  margin: clamp(75px, 10vw, 145px) auto 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(34px, 4.4vw, 68px);
  line-height: 1.12;
}

.word-reveal .word {
  opacity: 0.12;
}

.schedule-section {
  display: grid;
  width: min(90%, 1320px);
  margin: 0 auto;
  padding: clamp(130px, 15vw, 220px) 0;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(45px, 8vw, 120px);
}

.section-heading {
  align-self: start;
}

.section-heading h2 {
  font-size: clamp(50px, 5.7vw, 86px);
}

.section-heading > p:last-child {
  margin-top: 30px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.schedule-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.schedule-card {
  position: relative;
  display: flex;
  min-height: 540px;
  padding: clamp(30px, 4vw, 55px);
  border: 1px solid var(--line);
  flex-direction: column;
  grid-column: span 6;
  justify-content: space-between;
  overflow: hidden;
  transition: color 600ms ease, background 600ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.schedule-card:hover {
  border-color: var(--gold);
  background: var(--ivory-light);
}

.card-dinner {
  border-left: 0;
  background: var(--green);
  color: white;
}

.card-dinner:hover {
  border-color: var(--gold-light);
  background: var(--green);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-topline time {
  margin-left: auto;
}

.card-index {
  display: grid;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
}

.card-topline time {
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 68px);
  font-weight: 400;
}

.card-topline time small {
  font-family: var(--sans);
  font-size: 0.22em;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-card h3 {
  position: relative;
  z-index: 1;
  max-width: 470px;
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.schedule-card address {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

.card-dinner address {
  color: rgba(255, 255, 255, 0.63);
}

.text-link {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold);
  align-items: center;
  gap: 15px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link span {
  color: var(--gold);
  font-size: 17px;
  transition: transform 300ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.route-card {
  display: flex;
  min-height: 160px;
  padding: 35px clamp(30px, 5vw, 70px);
  border: 1px solid var(--line);
  border-top: 0;
  align-items: center;
  grid-column: span 12;
  justify-content: flex-end;
  gap: 24px;
}

.route-card p {
  margin: 0 auto 0 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 42px);
  font-style: italic;
}

.route-card span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.route-card i {
  display: block;
  width: clamp(45px, 7vw, 110px);
  height: 1px;
  background: var(--gold);
}

.schedule-note {
  margin: 0;
  padding: 30px clamp(24px, 4vw, 52px);
  border: 1px solid var(--line);
  border-top: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 31px);
  font-style: italic;
  grid-column: span 12;
  line-height: 1.2;
}

.promise-section {
  display: grid;
  width: min(90%, 1320px);
  min-height: 190vh;
  margin: 0 auto;
  padding: clamp(150px, 18vw, 260px) 0;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(50px, 10vw, 150px);
}

.promise-sticky {
  align-self: start;
}

.promise-sticky h2 {
  font-size: clamp(51px, 5.8vw, 88px);
}

.promise-sticky h2 em {
  color: var(--gold);
  font-weight: 400;
}

.stack-list {
  display: flex;
  padding-top: 16vh;
  flex-direction: column;
  gap: 34vh;
}

.stack-card {
  position: sticky;
  top: 22vh;
  display: flex;
  min-height: 410px;
  padding: clamp(35px, 5vw, 70px);
  border: 1px solid var(--line);
  background: var(--ivory-light);
  box-shadow: 0 30px 80px rgba(31, 44, 35, 0.12);
  flex-direction: column;
  justify-content: space-between;
  transform-origin: top center;
}

.stack-card > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 56px;
}

.stack-card h3 {
  max-width: 450px;
  margin: auto 0 20px;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 0.96;
}

.stack-card p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.stack-card-gold {
  background: #b18a4e;
  color: white;
}

.stack-card-gold > span,
.stack-card-gold p {
  color: rgba(255, 255, 255, 0.74);
}

.stack-card-dark {
  background: var(--green);
  color: white;
}

.stack-card-dark p {
  color: rgba(255, 255, 255, 0.66);
}

.marquee {
  padding: 34px 0;
  overflow: hidden;
  background: var(--gold);
  color: white;
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: marquee 22s linear infinite;
}

.marquee span {
  padding: 0 44px;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 74px);
  font-style: italic;
  white-space: nowrap;
}

.marquee i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.rsvp-section {
  display: grid;
  width: min(90%, 1240px);
  margin: 0 auto;
  padding: clamp(160px, 20vw, 290px) 0;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(60px, 10vw, 150px);
}

.rsvp-copy h2 {
  font-size: clamp(55px, 6vw, 91px);
}

.rsvp-intro {
  max-width: 470px;
  margin: 45px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.rsvp-intro strong {
  color: var(--green);
  font-weight: 500;
}

.phone-block {
  max-width: 470px;
  margin-top: 70px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.phone-block > p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.phone-placeholder {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  justify-content: space-between;
}

.phone-placeholder span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
}

.phone-placeholder strong {
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.phone-block small {
  display: block;
  margin-top: 13px;
  color: #8a887e;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.rsvp-form {
  position: relative;
  padding: clamp(35px, 6vw, 75px);
  border: 1px solid rgba(170, 130, 70, 0.34);
  background: var(--ivory-light);
  box-shadow: 0 35px 100px rgba(31, 43, 35, 0.09);
}

.rsvp-form::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(170, 130, 70, 0.14);
  content: "";
  pointer-events: none;
}

.form-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.guest-names {
  display: grid;
  margin-top: -5px;
  gap: 0;
}

.guest-names:empty {
  display: none;
}

.guest-field {
  animation: guest-field-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes guest-field-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.celebration-section {
  width: min(88%, 1040px);
  margin: 0 auto;
  padding: clamp(110px, 15vw, 190px) 0;
  text-align: center;
}

.celebration-section h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.celebration-section h2 em {
  color: var(--gold);
  font-weight: 400;
}

.celebration-line {
  display: flex;
  max-width: 620px;
  margin: 62px auto 0;
  align-items: center;
  color: var(--green);
  font-size: 10px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.celebration-line i {
  width: clamp(28px, 6vw, 85px);
  height: 1px;
  margin: 0 18px;
  background: var(--gold-light);
}

.form-heading {
  position: relative;
  display: grid;
  margin-bottom: 60px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto;
}

.form-heading > span {
  color: var(--green);
  font-family: var(--serif);
  font-size: 55px;
  grid-row: span 2;
}

.form-heading p {
  margin: 6px 0 3px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-heading strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-align: right;
}

.form-row {
  display: grid;
  gap: 22px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rsvp-form label,
.rsvp-form fieldset {
  position: relative;
  display: block;
  margin: 0 0 34px;
}

.rsvp-form label > span,
.rsvp-form legend {
  display: block;
  margin-bottom: 10px;
  color: #4b5149;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rsvp-form label > span small {
  color: #929087;
  font-weight: 400;
}

.rsvp-form input[type="text"],
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #a9a89f;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--green);
  font-family: var(--serif);
  font-size: 21px;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

.rsvp-form input[type="text"],
.rsvp-form select {
  height: 50px;
}

.rsvp-form textarea {
  min-height: 110px;
  padding: 13px 0;
  resize: vertical;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 1px 0 var(--gold);
}

.rsvp-form input[aria-invalid="true"] {
  border-color: #9b3e35;
}

.rsvp-form fieldset {
  padding: 0;
  border: 0;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.radio-group label {
  margin: 0;
}

.radio-group input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-group label span {
  display: flex;
  min-height: 58px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  align-items: center;
  color: var(--green);
  cursor: pointer;
  font-size: 12px;
  justify-content: center;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: none;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease;
}

.radio-group input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

.radio-group input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.submit-button {
  width: 100%;
  margin-top: 8px;
  border: 0;
  justify-content: space-between;
}

.submit-button span:last-child {
  font-size: 18px;
  transition: transform 250ms ease;
}

.submit-button:hover span:last-child {
  transform: translateX(5px);
}

.form-note {
  margin: 17px 0 0;
  color: #89877e;
  font-size: 10px;
  line-height: 1.6;
}

.form-note strong {
  color: #65665f;
  font-weight: 500;
}

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
}

.countdown-section {
  position: relative;
  padding: clamp(140px, 17vw, 240px) 5vw;
  overflow: hidden;
  background: var(--green);
  color: white;
  text-align: center;
}

.countdown-section::before {
  position: absolute;
  top: -70%;
  left: 50%;
  width: min(90vw, 1200px);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 189, 135, 0.25);
  border-radius: 50%;
  content: "";
  transform: translateX(-50%);
}

.countdown-section h2 {
  position: relative;
  color: white;
  font-size: clamp(54px, 7vw, 110px);
}

.countdown {
  position: relative;
  display: flex;
  max-width: 1100px;
  margin: clamp(80px, 10vw, 135px) auto 0;
  align-items: center;
  justify-content: space-between;
}

.countdown > div {
  min-width: 135px;
}

.countdown strong {
  display: block;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(68px, 9vw, 132px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.8;
}

.countdown span {
  display: block;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.countdown i {
  width: 1px;
  height: 80px;
  background: rgba(255, 255, 255, 0.18);
}

.countdown-date {
  position: relative;
  margin: 85px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
}

footer {
  display: grid;
  min-height: 260px;
  padding: 45px 5vw;
  align-items: center;
  background: #0b201b;
  color: rgba(255, 255, 255, 0.58);
  grid-template-columns: 1fr auto;
}

.footer-monogram {
  color: white;
  font-family: var(--serif);
  font-size: 42px;
}

.footer-monogram em {
  color: var(--gold-light);
  font-weight: 400;
}

footer > a {
  justify-self: end;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

footer > a span {
  margin-left: 10px;
  color: var(--gold-light);
}

@media (max-width: 980px) {
  .schedule-section,
  .rsvp-section {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .rsvp-copy {
    max-width: 650px;
  }

  .promise-section {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .promise-sticky {
    position: static !important;
  }

  .stack-list {
    padding-top: 20px;
    gap: 40px;
  }

  .stack-card {
    position: relative;
    top: auto;
  }

  .countdown > div {
    min-width: 100px;
  }
}

@media (max-width: 700px) {
  .show-invitation-gate .invitation-gate {
    padding: 0;
  }

  .site-header {
    top: 12px;
    min-height: 58px;
    padding: 6px 6px 6px 18px;
  }

  .site-header nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-cta {
    padding: 14px 17px;
    font-size: 10px;
  }

  .hero {
    min-height: 760px;
    padding-top: 125px;
  }

  .hero h1 {
    display: grid;
    font-size: clamp(74px, 24vw, 112px);
    line-height: 0.73;
  }

  .hero h1 em {
    position: absolute;
    top: 39%;
    left: 50%;
    padding: 0 12px;
    background: var(--ivory-light);
    font-size: 0.42em;
    transform: translate(-50%, -50%);
  }

  .hero h1 span + span {
    margin-top: 0.38em;
  }

  .orbit-one,
  .orbit-two {
    width: 130vw;
    aspect-ratio: 1 / 1.3;
  }

  .hero-copy {
    max-width: 360px;
    margin-top: 62px;
  }

  .hero-actions {
    width: min(100%, 380px);
    flex-direction: column;
  }

  .opening {
    padding-right: 7vw;
    padding-left: 7vw;
  }

  .opening h2 br {
    display: none;
  }

  .schedule-section,
  .promise-section,
  .rsvp-section {
    width: 88%;
  }

  .schedule-card {
    min-height: 475px;
    grid-column: span 12;
  }

  .card-dinner {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .route-card {
    padding: 32px 25px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .route-card p {
    width: 100%;
    margin-bottom: 18px;
  }

  .promise-section {
    padding-top: 140px;
  }

  .stack-card {
    min-height: 360px;
  }

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

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

  .form-heading {
    grid-template-columns: 1fr;
  }

  .form-heading > span {
    grid-row: auto;
  }

  .form-heading strong {
    text-align: left;
  }

  .phone-placeholder {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .countdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 18px;
  }

  .countdown i {
    display: none;
  }

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

  footer {
    padding: 70px 6vw;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  footer > a {
    justify-self: center;
  }
}

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

  .word-reveal .word {
    opacity: 1;
  }

  .invitation-gate.is-opening .envelope-flap {
    transform: translateY(-108%);
  }
}

.hero {
  background: linear-gradient(180deg, #fbf8f0 0%, var(--ivory) 100%);
}

.schedule-section {
  padding-bottom: 72px;
}

.rsvp-section {
  padding-top: 72px;
  padding-bottom: 80px;
}

.celebration-section {
  padding-top: 90px;
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 24px);
  }

  .monogram {
    gap: 4px;
  }

  .monogram em {
    font-size: 15px;
  }

  .hero {
    min-height: 100svh;
    padding: 118px 20px 56px;
  }

  .hero h1 {
    font-size: clamp(70px, 22vw, 98px);
  }

  .hero h1 em {
    top: 47%;
  }

  .hero h1 span + span {
    margin-top: 0.27em;
  }

  .hero-copy {
    margin-top: 46px;
    font-size: 20px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .schedule-section {
    width: calc(100% - 32px);
    padding: 88px 0 48px;
    gap: 34px;
  }

  .section-heading h2 {
    font-size: 49px;
  }

  .section-heading > p:last-child {
    margin-top: 20px;
  }

  .schedule-card {
    min-height: 390px;
    padding: 28px 25px;
  }

  .card-topline time {
    font-size: 51px;
  }

  .schedule-card h3 {
    margin-bottom: 18px;
    font-size: 41px;
  }

  .schedule-note {
    padding: 25px;
    font-size: 22px;
  }

  .rsvp-section {
    width: calc(100% - 32px);
    padding: 48px 0 64px;
    gap: 42px;
  }

  .rsvp-copy h2 {
    font-size: 51px;
  }

  .rsvp-intro {
    margin-top: 30px;
    font-size: 16px;
  }

  .phone-block {
    margin-top: 38px;
  }

  .rsvp-form {
    padding: 38px 24px;
  }

  .form-heading {
    margin-bottom: 44px;
  }

  .form-heading > span {
    font-size: 39px;
  }

  .celebration-section {
    width: calc(100% - 32px);
    padding: 72px 0 88px;
  }

  .celebration-section h2 {
    font-size: 50px;
  }

  .celebration-line {
    margin-top: 46px;
    letter-spacing: 0.14em;
  }

  .celebration-line i {
    margin: 0 10px;
  }

  .countdown-section {
    padding: 110px 18px;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .schedule-section,
  .rsvp-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: clamp(68px, 21vw, 94px);
    line-height: 0.72;
  }

  .hero h1 em {
    position: static;
    margin: 0.2em 0 0.14em;
    padding: 0;
    background: transparent;
    font-size: 0.3em;
    line-height: 0.45;
    transform: none;
  }

  .hero h1 span + span {
    margin-top: 0;
  }
}
