@font-face {
  font-family: "Prata";
  src: url("./assets/fonts/prata-cyrillic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-cyrillic-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-cyrillic-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #171914;
  --ink-soft: #303329;
  --olive-950: #293126;
  --olive-900: #34402f;
  --olive-800: #43503a;
  --olive-700: #59664b;
  --olive-500: #7b876b;
  --sage: #a8b49d;
  --cream: #f3eee3;
  --cream-deep: #e8dfcf;
  --sand: #d7c9ae;
  --blush: #ddcfc2;
  --taupe: #907663;
  --cocoa: #64503e;
  --white: #fffdf7;
  --serif: "Prata", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Segoe UI", Arial, sans-serif;
  --shadow: 0 28px 80px rgb(26 32 23 / 16%);
  --page-pad: clamp(1.25rem, 5vw, 5rem);
  --section-space: clamp(5.75rem, 12vw, 10rem);
  --hero-image: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--cream);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::selection {
  color: var(--white);
  background: var(--olive-700);
}

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grain {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.botanical__linework {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.botanical__linework > *,
.botanical__linework g > * {
  vector-effect: non-scaling-stroke;
}

.botanical__stem {
  stroke-width: 1.7;
}

.botanical__stem--fine,
.botanical__tendril {
  opacity: 0.82;
  stroke-width: 1.05;
}

.botanical__leaf {
  fill: currentColor;
  fill-opacity: 0.045;
  stroke-width: 1.3;
}

.botanical__vein {
  opacity: 0.68;
  stroke-width: 0.78;
}

.botanical__grapes circle,
.botanical__berry {
  fill: currentColor;
  fill-opacity: 0.08;
  stroke-width: 1;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 4.5rem;
  padding: 0.75rem var(--page-pad);
  color: var(--white);
  transition:
    background-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgb(243 238 227 / 88%);
  box-shadow: 0 1px 0 rgb(23 25 20 / 9%);
  backdrop-filter: blur(16px);
}

.site-mark {
  display: inline-flex;
  align-items: baseline;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 2.75rem;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.site-mark span {
  margin: 0 0.08em;
  font-style: normal;
  font-weight: 400;
}

.header-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.2rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.header-rsvp:hover,
.header-rsvp:focus-visible {
  color: var(--olive-900);
  background: var(--white);
}

.site-header.is-scrolled .header-rsvp:hover,
.site-header.is-scrolled .header-rsvp:focus-visible {
  color: var(--white);
  background: var(--olive-900);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 7rem var(--page-pad) 6rem;
  color: var(--white);
  background:
    radial-gradient(circle at 26% 18%, rgb(179 193 158 / 24%), transparent 31%),
    radial-gradient(circle at 78% 77%, rgb(218 199 165 / 15%), transparent 27%),
    linear-gradient(145deg, var(--olive-950), var(--olive-800) 52%, #2f392a);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center 48%;
  background-size: cover;
  opacity: 0;
  transition: opacity 400ms ease;
}

.has-hero-image .hero::before {
  opacity: 1;
}

.has-hero-image .hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(20 26 18 / 55%), rgb(20 26 18 / 78%)),
    linear-gradient(90deg, rgb(20 26 18 / 18%), transparent 48%, rgb(20 26 18 / 16%));
}

.has-hero-image .hero__glow {
  opacity: 0.52;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 253 247 / 13%);
  border-radius: 50%;
}

.hero__glow::before,
.hero__glow::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(255 253 247 / 9%);
  border-radius: inherit;
}

.hero__glow::before {
  inset: 12%;
}

.hero__glow::after {
  inset: 26%;
}

.hero__glow--one {
  top: -13rem;
  right: -9rem;
}

.hero__glow--two {
  bottom: -17rem;
  left: -14rem;
  width: 35rem;
}

.hero__vine {
  position: absolute;
  z-index: -1;
  width: auto;
  max-width: none;
  height: min(82svh, 50rem);
  color: var(--cream-deep);
  opacity: 0.24;
}

.hero__vine--left {
  bottom: -5rem;
  left: -8rem;
  transform: rotate(-7deg);
}

.hero__vine--right {
  top: -5rem;
  right: -8rem;
  transform: rotate(174deg);
}

.hero__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 42rem);
  min-height: min(72svh, 47rem);
  padding: clamp(3rem, 10vw, 6rem) 1.5rem;
  text-align: center;
}

.hero__frame::before,
.hero__frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero__frame::before {
  inset: 0;
  border: 1px solid rgb(255 253 247 / 48%);
  border-radius: 50% 50% 1rem 1rem / 28% 28% 1rem 1rem;
}

.hero__frame::after {
  inset: 0.6rem;
  border: 1px solid rgb(255 253 247 / 12%);
  border-radius: 50% 50% 0.8rem 0.8rem / 28% 28% 0.8rem 0.8rem;
}

.eyebrow {
  margin: 0 0 1.15rem;
  color: var(--olive-700);
  font-size: clamp(0.64rem, 1.4vw, 0.76rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--sand);
}

.hero__eyebrow {
  position: relative;
  z-index: 1;
  align-self: end;
  margin-bottom: clamp(2rem, 6vw, 3.5rem);
  color: var(--cream-deep);
}

.hero__title {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.9rem, 11vw, 7.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-shadow: 0 0.18em 0.7em rgb(11 14 10 / 26%);
}

.hero__title i {
  margin: 0.2em 0 0.16em;
  color: var(--cream-deep);
  font-size: 0.38em;
  font-style: normal;
  font-weight: 400;
}

.hero__rule {
  position: relative;
  z-index: 1;
  align-self: end;
  width: min(12rem, 45%);
  height: 1px;
  margin: clamp(2.2rem, 6vw, 3.5rem) 0 1.6rem;
  background: rgb(255 253 247 / 32%);
}

.hero__rule span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45rem;
  aspect-ratio: 1;
  border: 1px solid rgb(255 253 247 / 65%);
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero__date {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  letter-spacing: 0.16em;
}

.hero__place {
  position: relative;
  z-index: 1;
  margin: 0.45rem 0 0;
  color: rgb(255 253 247 / 70%);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 1.35rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 7.5rem;
  min-height: 3.5rem;
  color: rgb(255 253 247 / 72%);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue svg {
  width: 0.75rem;
  margin-top: 0.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.section {
  position: relative;
  padding: var(--section-space) var(--page-pad);
}

.section-vine {
  position: absolute;
  z-index: 0;
  width: clamp(15rem, 27vw, 26rem);
  height: auto;
  color: var(--olive-700);
  pointer-events: none;
}

.invitation,
.dress-code,
.wishes,
.rsvp {
  isolation: isolate;
  overflow: hidden;
}

.invitation > :not(.section-vine),
.dress-code > :not(.section-vine),
.wishes > :not(.section-vine),
.rsvp > :not(.section-vine) {
  position: relative;
  z-index: 1;
}

.section-vine--invitation {
  bottom: -12rem;
  left: -6rem;
  opacity: 0.11;
  transform: rotate(-17deg);
}

.section-vine--dress {
  top: 1rem;
  right: -8rem;
  opacity: 0.12;
  transform: rotate(20deg);
}

.section-vine--wishes {
  right: -7rem;
  bottom: -12rem;
  color: var(--cream-deep);
  opacity: 0.075;
  transform: rotate(24deg);
}

.section-vine--rsvp {
  bottom: -13rem;
  left: -6rem;
  opacity: 0.09;
  transform: rotate(-14deg);
}

.botanical-divider {
  width: clamp(7.25rem, 15vw, 9.25rem);
  margin: 1.15rem auto -0.2rem;
  color: var(--olive-700);
  opacity: 0.72;
}

.botanical-divider--light {
  color: var(--sand);
  opacity: 0.58;
}

.invitation {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: center;
  max-width: 86rem;
  margin: 0 auto;
  background: var(--cream);
}

.invitation__copy {
  max-width: 42rem;
}

.display-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.display-title--light {
  color: var(--white);
}

.lead {
  max-width: 39rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.42rem, 3vw, 2rem);
  line-height: 1.45;
}

.signature {
  margin: 2.25rem 0 0;
  color: var(--olive-700);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-style: normal;
  letter-spacing: -0.02em;
}

.signature span {
  display: block;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.date-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 25rem);
  aspect-ratio: 0.82;
  margin: 0 auto;
  padding: clamp(2rem, 7vw, 4rem) 2rem;
  text-align: center;
  background: var(--cream-deep);
  border: 1px solid rgb(23 25 20 / 13%);
  border-radius: 48% 48% 0.5rem 0.5rem / 27% 27% 0.5rem 0.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.date-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.6rem;
  border: 1px solid rgb(67 80 58 / 22%);
  border-radius: inherit;
}

.date-card__weekday,
.date-card__month,
.date-card__year {
  margin: 0;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.date-card__weekday {
  color: var(--olive-700);
}

.date-card__number {
  margin: 0.08em 0 -0.04em;
  font-family: var(--serif);
  font-size: clamp(8rem, 30vw, 13rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.date-card__month {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
}

.date-card__year {
  margin-top: 0.45rem;
  color: var(--olive-700);
}

.date-card__sprig {
  width: 8.6rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  color: var(--olive-700);
}

.location {
  isolation: isolate;
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  color: var(--white);
  background: var(--olive-900);
  border-radius: clamp(2rem, 6vw, 5rem) clamp(2rem, 6vw, 5rem) 0 0;
  overflow: hidden;
}

.location__contours {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1;
}

.location__intro {
  align-self: center;
  max-width: 42rem;
}

.location__subtitle {
  max-width: 30rem;
  margin: 1.75rem 0 0;
  color: rgb(255 253 247 / 70%);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.location-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  width: min(100%, 42rem);
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  background: var(--olive-950);
  border: 0.45rem solid rgb(255 253 247 / 88%);
  border-radius: 1.25rem;
  box-shadow: 0 30px 90px rgb(13 17 12 / 32%);
  overflow: hidden;
}

.location-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgb(18 23 16 / 22%));
}

.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.location-photo:hover img {
  transform: scale(1.025);
}

.location-card {
  display: grid;
  align-self: center;
  gap: 1.5rem;
  width: min(100%, 38rem);
  padding: clamp(1.75rem, 5vw, 3rem);
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 1.5rem;
  box-shadow: 0 30px 90px rgb(13 17 12 / 24%);
}

.location-card__pin {
  display: grid;
  place-items: center;
  width: 3.5rem;
  aspect-ratio: 1;
  color: var(--olive-700);
  background: var(--cream-deep);
  border-radius: 50%;
}

.location-card__pin svg {
  width: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.location-card__label {
  margin: 0;
  color: var(--olive-700);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.location-card__time {
  margin: 0.12em 0 0.3em;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 14vw, 7.4rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.location-card address {
  max-width: 30rem;
  margin: 0;
  color: var(--ink-soft);
  font-style: normal;
  line-height: 1.65;
}

.location-card__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 1.9rem;
}

.location-card__notes span {
  padding: 0.52rem 0.8rem;
  color: var(--olive-900);
  background: rgb(168 180 157 / 34%);
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button svg {
  width: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

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

.button--dark {
  width: 100%;
  color: var(--white);
  background: var(--olive-900);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--white);
  background: var(--ink);
}

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

.section-heading {
  max-width: 52rem;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  text-align: center;
}

.section-heading:not(.wishes .section-heading) {
  margin-right: auto;
  margin-left: auto;
}

.section-heading__text {
  max-width: 42rem;
  margin: 1.65rem auto 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.5;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  left: 3.35rem;
  width: 1px;
  background: rgb(67 80 58 / 22%);
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

.timeline__time {
  padding-top: 0.55rem;
  color: var(--olive-700);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.timeline__body {
  padding: 1.25rem 1.4rem;
  background: var(--cream-deep);
  border-radius: 1rem;
}

.timeline__body::before {
  content: "";
  position: absolute;
  top: 1.72rem;
  left: 3.06rem;
  width: 0.58rem;
  aspect-ratio: 1;
  background: var(--olive-700);
  border: 0.2rem solid var(--cream);
  border-radius: 50%;
}

.timeline__body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.timeline__body p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.dress-code {
  background:
    radial-gradient(circle at 15% 60%, rgb(168 180 157 / 17%), transparent 22%),
    var(--white);
}

.palette {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(0.8rem, 3vw, 1.4rem);
  row-gap: clamp(2.6rem, 8vw, 3.4rem);
  max-width: 30rem;
  margin: 0 auto;
}

.swatch {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgb(23 25 20 / 8%),
    0 10px 24px rgb(23 25 20 / 7%);
}

.swatch span {
  position: absolute;
  z-index: 2;
  top: calc(100% + 0.6rem);
  left: 50%;
  color: var(--ink-soft);
  font-size: clamp(0.55rem, 1.7vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.swatch--ink {
  background: #11120f;
}

.swatch--cocoa {
  background: var(--cocoa);
}

.swatch--taupe {
  background: var(--taupe);
}

.swatch--sand {
  background: var(--sand);
}

.swatch--blush {
  background: var(--blush);
}

.swatch--sage {
  background: var(--sage);
}

.swatch--olive {
  grid-column: 2;
  background: var(--olive-700);
}

.dress-code__note {
  max-width: 36rem;
  margin: clamp(3.25rem, 8vw, 5rem) auto 0;
  color: var(--olive-900);
  font-family: var(--sans);
  font-size: clamp(0.62rem, 1.6vw, 0.72rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.035em;
  text-align: center;
}

.dress-code__note span {
  color: var(--olive-700);
}

.wishes {
  color: var(--white);
  background: var(--ink);
}

.wishes .section-heading {
  position: relative;
  z-index: 1;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.wishes-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  max-width: 78rem;
  margin: 0 auto;
}

.wish-card {
  position: relative;
  min-height: 27rem;
  padding: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  background: var(--olive-800);
  border: 1px solid rgb(255 253 247 / 12%);
  border-radius: 1.5rem;
  overflow: hidden;
}

.wish-card--light {
  color: var(--ink);
  background: var(--cream-deep);
}

.wish-card__number {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  color: rgb(255 253 247 / 18%);
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.wish-card--light .wish-card__number {
  color: rgb(23 25 20 / 10%);
}

.wish-card__icon {
  width: 3.2rem;
  margin-bottom: clamp(3rem, 9vw, 6rem);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.wish-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.wish-card p {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: rgb(255 253 247 / 74%);
}

.wish-card--light p {
  color: var(--ink-soft);
}

.wishes-note {
  position: relative;
  z-index: 2;
  max-width: 50rem;
  margin: clamp(3rem, 8vw, 6rem) auto 0;
  padding: clamp(1.4rem, 4vw, 2rem) clamp(0.5rem, 3vw, 1.5rem);
  color: var(--white);
  border-top: 1px solid rgb(255 253 247 / 32%);
  border-bottom: 1px solid rgb(255 253 247 / 32%);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
}

.rsvp {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
  background:
    linear-gradient(130deg, transparent 60%, rgb(168 180 157 / 17%)),
    var(--cream);
}

.rsvp__copy {
  max-width: 39rem;
}

.rsvp__copy > p:not(.eyebrow) {
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.rsvp-form {
  width: min(100%, 42rem);
  padding: clamp(1.4rem, 5vw, 3rem);
  background: var(--white);
  border: 1px solid rgb(23 25 20 / 10%);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.form-field + .form-field,
.form-field + fieldset,
fieldset + .form-field {
  margin-top: 1.7rem;
}

.form-field label,
.attendance-field legend {
  display: block;
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.form-field label span {
  color: var(--olive-700);
  font-size: 0.68rem;
  font-weight: 400;
}

.form-field textarea {
  display: block;
  width: 100%;
  min-height: 7rem;
  padding: 0.95rem 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 0.9rem;
  outline: none;
  resize: vertical;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.form-field textarea::placeholder {
  color: rgb(48 51 41 / 54%);
}

.form-field textarea:focus {
  border-color: var(--olive-700);
  box-shadow: 0 0 0 3px rgb(89 102 75 / 14%);
}

.field-hint {
  display: block;
  margin-top: 0.45rem;
  color: rgb(48 51 41 / 72%);
  font-size: 0.68rem;
}

.attendance-field {
  min-width: 0;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
  border: 0;
}

.attendance-options {
  display: grid;
  gap: 0.7rem;
}

.radio-card {
  position: relative;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 0.9rem;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.radio-card:has(input:checked) {
  background: rgb(168 180 157 / 30%);
  border-color: var(--olive-700);
}

.radio-card:has(input:focus-visible) {
  outline: 3px solid rgb(89 102 75 / 24%);
  outline-offset: 2px;
}

.radio-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio-card__mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.25rem;
  aspect-ratio: 1;
  border: 1px solid var(--olive-700);
  border-radius: 50%;
}

.radio-card__mark::after {
  content: "";
  width: 0.58rem;
  aspect-ratio: 1;
  background: var(--olive-700);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.4);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.radio-card input:checked + .radio-card__mark::after {
  opacity: 1;
  transform: scale(1);
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.consent-field {
  position: relative;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 0.69rem;
  line-height: 1.5;
}

.consent-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent-field__mark {
  position: relative;
  flex: 0 0 auto;
  width: 1.3rem;
  aspect-ratio: 1;
  margin-top: 0.08rem;
  border: 1px solid var(--olive-700);
  border-radius: 0.25rem;
}

.consent-field__mark::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.39rem;
  width: 0.32rem;
  height: 0.6rem;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  opacity: 0;
  transform: rotate(45deg);
}

.consent-field input:checked + .consent-field__mark {
  background: var(--olive-700);
}

.consent-field input:checked + .consent-field__mark::after {
  opacity: 1;
}

.consent-field:has(input:focus-visible) .consent-field__mark {
  outline: 3px solid rgb(89 102 75 / 24%);
  outline-offset: 2px;
}

.button--primary {
  width: 100%;
  color: var(--white);
  background: var(--olive-900);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--ink);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--olive-800);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.form-status--error {
  color: #8c342b;
}

.form-status--success {
  padding: 0.8rem 1rem;
  background: rgb(168 180 157 / 25%);
  border-radius: 0.7rem;
}

.rsvp-form.is-complete {
  display: grid;
  place-items: center;
  min-height: 27rem;
}

.rsvp-form.is-complete > *:not(.rsvp-success) {
  display: none;
}

.rsvp-success {
  width: 100%;
  max-width: 28rem;
  padding: clamp(1.5rem, 5vw, 2.75rem) 0.5rem;
  color: var(--olive-900);
  text-align: center;
  outline: none;
}

.rsvp-success__icon {
  display: grid;
  place-items: center;
  width: 5.5rem;
  aspect-ratio: 1;
  margin: 0 auto 1.75rem;
  color: var(--olive-700);
  background: rgb(168 180 157 / 24%);
  border-radius: 50%;
}

.rsvp-success__icon svg {
  width: 3.3rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.rsvp-success__kicker {
  margin: 0 0 0.8rem;
  color: var(--olive-700);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rsvp-success h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.rsvp-success > p:last-child {
  max-width: 24rem;
  margin: 1.15rem auto 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.7;
}

.countdown {
  color: var(--white);
  background: var(--olive-900);
}

.countdown::before,
.countdown::after {
  content: "";
  position: absolute;
  border: 1px solid rgb(255 253 247 / 10%);
  border-radius: 50%;
}

.countdown::before {
  top: -8rem;
  right: -7rem;
  width: 22rem;
  aspect-ratio: 1;
}

.countdown::after {
  bottom: -11rem;
  left: -7rem;
  width: 26rem;
  aspect-ratio: 1;
}

.countdown__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.countdown__date {
  margin: 1.6rem 0 0;
  color: var(--sand);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: clamp(3rem, 8vw, 5.5rem);
}

.countdown-grid > div {
  padding: clamp(1.1rem, 4vw, 2rem) 0.5rem;
  background: rgb(255 253 247 / 55%);
  border: 1px solid rgb(255 253 247 / 13%);
  border-radius: 1rem;
}

.countdown-grid strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.1rem, 11vw, 6.8rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.countdown-grid span {
  display: block;
  margin-top: 0.75rem;
  color: rgb(255 253 247 / 62%);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.countdown__accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.finale {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 46rem;
  padding: clamp(4.5rem, 10vw, 8rem) var(--page-pad);
  color: var(--olive-900);
  background: var(--cream-deep);
  text-align: center;
  overflow: hidden;
}

.finale__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 35rem);
  min-height: min(42rem, 78svh);
  padding: clamp(4.5rem, 12vw, 7rem) clamp(1rem, 5vw, 2.5rem) 3.25rem;
  border: 1px solid rgb(67 80 58 / 22%);
  border-radius: 50% 50% 1rem 1rem / 28% 28% 1rem 1rem;
}

.finale__vine {
  width: min(16rem, 64vw);
  margin: 0 0 clamp(1.5rem, 5vw, 2.5rem);
  color: var(--olive-700);
}

.finale__message {
  max-width: 11ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 9vw, 5rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.finale__names {
  margin-top: clamp(2rem, 6vw, 3.5rem);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 5vw, 2.8rem);
}

.finale__names i {
  color: var(--taupe);
  font-size: 0.75em;
  font-style: normal;
}

.finale__date {
  margin: 0.65rem 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.site-footer {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  min-height: 5rem;
  padding: 1rem var(--page-pad);
  color: rgb(255 253 247 / 58%);
  background: var(--ink);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

:focus-visible {
  outline: 3px solid #d9b77e;
  outline-offset: 4px;
}

.reveal {
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.will-reveal {
  opacity: 0;
  transform: translateY(1.6rem);
}

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

@media (min-width: 42rem) {
  .palette {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: clamp(0.7rem, 2.5vw, 1.5rem);
    max-width: 67rem;
  }

  .swatch--olive {
    grid-column: auto;
  }

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

}

@media (max-width: 41.99rem) {
  .hero__vine {
    height: 64svh;
    opacity: 0.15;
  }

  .hero__vine--left {
    bottom: -2rem;
    left: -9rem;
  }

  .hero__vine--right {
    top: -2rem;
    right: -9rem;
  }

  .section-vine {
    width: 13rem;
  }

  .section-vine--invitation {
    bottom: -6rem;
    left: -7rem;
    opacity: 0.075;
  }

  .section-vine--dress {
    top: 2rem;
    right: -7rem;
    opacity: 0.09;
  }

  .section-vine--wishes {
    right: -7rem;
    bottom: -5rem;
    opacity: 0.06;
  }

  .section-vine--rsvp {
    display: none;
  }
}

@media (min-width: 56rem) {
  .invitation,
  .location,
  .rsvp {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.85fr);
  }

  .location {
    min-height: 48rem;
  }

  .location-card {
    justify-self: end;
  }

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

  .wish-card--light {
    transform: translateY(3rem);
  }

  .rsvp__copy {
    position: sticky;
    top: 8rem;
  }
}

@media (min-width: 72rem) {
  .location-card {
    grid-template-columns: 3.5rem 1fr;
  }

  .site-header {
    min-height: 5.25rem;
  }
}

@media (max-width: 26rem) {
  .hero__frame {
    min-height: 70svh;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero__title {
    font-size: clamp(3.35rem, 17vw, 4.35rem);
  }

  .location-card__notes {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal.will-reveal {
    opacity: 1;
    transform: none;
  }
}
