/* ------------------------------
   Design tokens
------------------------------ */
:root {
  --color-bg: #070608;
  --color-pink: #ff1683;
  --color-pink-light: #ffc0df;
  --color-white: #fffafb;
  --color-muted: #c0b2bb;
  --color-chrome: #d2d3d7;
  --color-chrome-bright: #f6f6f8;
  --color-line: rgba(255, 250, 251, 0.16);
  --font-display: "Italiana", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;

  --space-md: 1.5rem;
  --space-2xl: 7rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --page-width: 72rem;
  --page-gutter: clamp(1.25rem, 5vw, 4rem);
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.021) 1px, transparent 1px),
    radial-gradient(circle at 12% 30%, rgba(255, 22, 131, 0.035), transparent 22%);
  background-repeat: repeat, no-repeat;
  background-size: 100% 5rem, 100% 100%;
  content: "";
  pointer-events: none;
}

.section-sparkles {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  opacity: 0.34;
  filter: drop-shadow(0 0 4px rgba(255, 184, 215, 0.42));
}

.sparkle::before,
.sparkle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(var(--color-chrome-bright), var(--color-pink-light));
  content: "";
  transform: translate(-50%, -50%);
}

.sparkle::before {
  width: 1px;
  height: 100%;
}

.sparkle::after {
  width: 100%;
  height: 1px;
}

.section-sparkles .sparkle:nth-child(2n) {
  width: 3px;
  height: 3px;
  opacity: 0.24;
}

.section-sparkles--hero .sparkle:first-child { top: 27%; left: 8%; }
.section-sparkles--hero .sparkle:last-child { right: 9%; bottom: 18%; }
a {
  color: inherit;
}

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

h1,
h2,
p {
  margin-block-start: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h2 {
  margin-block-end: var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

:focus-visible {
  outline: 2px solid var(--color-pink-light);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-bg);
  font-weight: 600;
  transition: transform var(--transition);
}

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

.shell {
  width: min(100% - (var(--page-gutter) * 2), var(--page-width));
  margin-inline: auto;
}

.section {
  padding-block: clamp(5.5rem, 18vw, var(--space-2xl));
}

/* ------------------------------
   Header
------------------------------ */
.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  padding-block: max(1.25rem, env(safe-area-inset-top));
  padding-inline: max(var(--page-gutter), env(safe-area-inset-left)) max(var(--page-gutter), env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(7, 6, 8, 0.76), transparent);
}

.brand {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(246, 246, 248, 0.28);
  border-radius: 50%;
  color: var(--color-pink-light);
  font-family: var(--font-display);
  font-size: 0.75rem;
  box-shadow:
    inset 0 0 1rem rgba(255, 255, 255, 0.025),
    0 0 1.25rem rgba(255, 22, 131, 0.09);
}

.brand__name {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ------------------------------
   Hero
------------------------------ */
.hero {
  --frame-opacity: 1;
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 22, 131, 0.115), transparent 30%),
    radial-gradient(circle at 76% 20%, rgba(255, 192, 223, 0.03), transparent 18%),
    linear-gradient(180deg, #0b090c 0%, var(--color-bg) 58%, #0d090d 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 5.5rem 0.9rem 0.9rem;
  background:
    linear-gradient(90deg, rgba(246, 246, 248, 0.13), transparent) top left / 4.5rem 1px no-repeat,
    linear-gradient(180deg, rgba(246, 246, 248, 0.13), transparent) top left / 1px 4.5rem no-repeat,
    linear-gradient(270deg, rgba(246, 246, 248, 0.13), transparent) bottom right / 4.5rem 1px no-repeat,
    linear-gradient(0deg, rgba(246, 246, 248, 0.13), transparent) bottom right / 1px 4.5rem no-repeat;
  content: "";
  opacity: var(--frame-opacity);
  pointer-events: none;
}

.hero__curtain {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: #050405;
  opacity: 0;
  pointer-events: none;
}

.hero__backdrop {
  position: absolute;
  z-index: -2;
  top: 48%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
  color: transparent;
  font-family: var(--font-body);
  font-size: clamp(5rem, 26vw, 22rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(255, 192, 223, 0.022);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: clamp(7rem, 16vh, 9rem) clamp(2.75rem, 7vh, 4rem);
  text-align: center;
}

.hero__kicker {
  margin-block-end: clamp(1.25rem, 3vh, 2rem);
  color: var(--color-pink-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  line-height: 1;
  text-transform: uppercase;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block-end: clamp(1.1rem, 2.6vh, 1.75rem);
}

.hero__number {
  position: relative;
  display: block;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(12rem, 58vw, 23rem);
  font-weight: 400;
  letter-spacing: -0.105em;
  line-height: 0.62;
  left: -0.035em;
  background:
    linear-gradient(
      112deg,
      #706b70 4%,
      #fff 21%,
      #b7b2b8 36%,
      #fff8fb 49%,
      #ff9cc9 64%,
      #e7e4e7 78%,
      #777278 96%
    );
  background-clip: text;
  -webkit-background-clip: text;
  filter:
    drop-shadow(0 0 1.6rem rgba(255, 22, 131, 0.2))
    drop-shadow(0 0.08em 0.08em rgba(0, 0, 0, 0.7));
}

.hero__number::before,
.hero__number::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
}

.hero__number::before {
  z-index: -1;
  transform: translate(0.025em, 0.035em);
  color: rgba(255, 22, 131, 0.2);
  filter: blur(0.03em);
}

.hero__number::after {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  text-shadow:
    0 -1px 0 rgba(255, 255, 255, 0.3),
    0 0.04em 0.08em rgba(0, 0, 0, 0.75);
}

.hero__name {
  display: block;
  margin-block-start: clamp(0.85rem, 2.4vh, 1.4rem);
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 10vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 1.8rem rgba(255, 22, 131, 0.11);
  text-transform: uppercase;
}

.hero__details {
  margin-block-end: clamp(1.35rem, 3.4vh, 2.1rem);
}

.hero__intro {
  margin: 0 0 0.7rem;
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 4vw, 1.2rem);
  letter-spacing: 0.025em;
  line-height: 1.45;
}

.hero__date {
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.9rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(246, 246, 248, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__cta-line {
  position: relative;
  display: block;
  width: 2.75rem;
  height: 1px;
  overflow: visible;
  background: linear-gradient(90deg, var(--color-pink), var(--color-chrome));
}

.hero__cta-line::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  border-top: 1px solid var(--color-chrome);
  border-right: 1px solid var(--color-chrome);
  content: "";
}

@media (prefers-reduced-motion: no-preference) {
  .js .site-header,
  .js .hero__backdrop,
  .js .hero__kicker,
  .js .hero__number,
  .js .hero__name,
  .js .hero__intro,
  .js .hero__date,
  .js .hero__cta {
    opacity: 0;
    visibility: hidden;
  }

  .js .hero {
    --frame-opacity: 0;
  }

  .js .hero__curtain {
    opacity: 1;
  }
}

/* ------------------------------
   Statement
------------------------------ */
.statement {
  position: relative;
  display: grid;
  min-height: clamp(22rem, 60svh, 34rem);
  place-items: center;
  overflow: hidden;
  border-block: 1px solid rgba(246, 246, 248, 0.11);
  background: #080709;
}

.statement__inner {
  position: relative;
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 10vh, 6rem);
}

.statement__monogram {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  color: var(--color-chrome);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  opacity: 0.72;
}

.statement__title {
  max-width: 12ch;
  margin: 0;
  line-height: 0.86;
  text-transform: uppercase;
}

.statement__title span,
.statement__title strong {
  display: block;
}

.statement__title span {
  margin-block-end: 0.5rem;
  color: var(--color-white);
  font-size: clamp(2.25rem, 11vw, 5.5rem);
  font-weight: 400;
}

.statement__title strong {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: clamp(2.7rem, 13.5vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.statement__title em {
  color: var(--color-pink);
  font-style: normal;
}

.statement__rule {
  display: block;
  width: min(8rem, 32vw);
  height: 1px;
  margin-block-start: 2.25rem;
  margin-inline-start: auto;
  background: var(--color-line);
  transform: scaleX(var(--statement-rule-scale, 1));
  transform-origin: right;
}

/* ------------------------------
   Event details + countdown
------------------------------ */
.event-section {
  position: relative;
  padding-block: clamp(3.75rem, 9vh, 6rem);
  border-top: 0;
  background: #0a090b;
}

.event-section__header {
  margin-block-end: 1.25rem;
}

.event-section__eyebrow,
.countdown-block__header h3 {
  margin: 0;
  color: var(--color-chrome);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.event-section__rule,
.event-item__rule {
  display: block;
  height: 1px;
  background: var(--color-line);
  transform: scaleX(var(--rule-scale, 1));
  transform-origin: left;
}

.event-list {
  display: grid;
  margin: 0;
}

.event-item {
  position: relative;
  display: flex;
  min-height: 8rem;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 1rem 1.15rem;
}

.event-item__rule {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.event-item dt {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.event-item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-transform: uppercase;
}

.event-item--date dd {
  font-size: clamp(2.1rem, 9vw, 4rem);
}

.event-item--location dd {
  max-width: 17ch;
  font-size: clamp(1.7rem, 7.4vw, 3rem);
  line-height: 1;
}

.event-item time {
  color: inherit;
}

.event-item--date time span {
  display: block;
}

.event-actions {
  display: flex;
  min-height: 3.75rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block-start: 1.25rem;
}

.calendar-button {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(210, 211, 215, 0.2);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-chrome);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition:
    border-color var(--transition),
    color var(--transition);
}

.calendar-button:hover,
.calendar-button:focus-visible {
  border-color: rgba(255, 192, 223, 0.5);
  color: var(--color-white);
}

.calendar-button__mark {
  color: var(--color-pink-light);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.event-actions__feedback {
  min-height: 1rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.7rem;
  line-height: 1.4;
  opacity: 0;
  transition: opacity var(--transition);
}

.event-actions__feedback.is-visible {
  opacity: 1;
}

.countdown-block {
  margin-block-start: clamp(1.75rem, 5vw, 3rem);
  padding-block-start: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--color-line);
}

.countdown-block__header {
  margin-block-end: 1.5rem;
  text-align: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid rgba(255, 250, 251, 0.16);
}

.countdown__unit {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(1.1rem, 3.5vw, 1.85rem);
}

.countdown__unit:not(:last-child)::after {
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: linear-gradient(transparent, rgba(210, 211, 215, 0.22), transparent);
  content: "";
}

.countdown__value {
  display: block;
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 11vw, 7rem);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.85;
}

.countdown__label {
  display: block;
  margin-block-start: clamp(0.7rem, 2.4vw, 1rem);
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.countdown__label-short {
  display: none;
}

.countdown__message {
  margin: 0;
  padding-block: clamp(2rem, 6vw, 3rem);
  border-block: 1px solid rgba(255, 250, 251, 0.16);
  color: var(--color-pink-light);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.countdown__message-time {
  display: block;
  margin-block-start: 0.75rem;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

[hidden] {
  display: none !important;
}

/* ------------------------------
   Location
------------------------------ */
.location-section {
  position: relative;
  padding-block: clamp(4rem, 9vh, 6.5rem);
  overflow: hidden;
  border-top: 1px solid rgba(246, 246, 248, 0.13);
  background: var(--color-bg);
}

.location-section__inner {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.25rem);
}

.location-section__eyebrow {
  margin-block-end: 1.25rem;
  color: var(--color-chrome);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-shadow: none;
  text-transform: uppercase;
}

.location-section h2 {
  max-width: 14ch;
  margin-block-end: 1.4rem;
  font-size: clamp(2.15rem, 7.5vw, 4.75rem);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.location-section__address {
  margin-block-end: 1.65rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  font-style: normal;
  line-height: 1.75;
}

.location-section__button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(246, 246, 248, 0.18);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.025);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.location-section__button-line {
  position: relative;
  display: block;
  width: 3.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(210, 211, 215, 0.45), var(--color-chrome));
  transition: width var(--transition);
}

.location-section__button-line::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  border-top: 1px solid var(--color-chrome);
  border-right: 1px solid var(--color-chrome);
  content: "";
}

.location-section__button:hover .location-section__button-line,
.location-section__button:focus-visible .location-section__button-line {
  width: 4rem;
}

.location-graphic {
  position: relative;
  display: grid;
  width: min(64vw, 17.5rem);
  aspect-ratio: 4 / 5;
  place-content: center;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(199, 200, 204, 0.2);
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(90deg, transparent 0 2.95rem, rgba(255, 255, 255, 0.035) 3rem),
    repeating-linear-gradient(0deg, transparent 0 2.95rem, rgba(255, 255, 255, 0.035) 3rem);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.location-graphic::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 8, 0.08), transparent 55%, rgba(7, 6, 8, 0.72));
  content: "";
  pointer-events: none;
}

.location-graphic__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-graphic__marker {
  position: absolute;
  z-index: 4;
  top: 44.9286%;
  left: 53.5651%;
  width: clamp(0.55rem, 2.5vw, 0.7rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(7, 6, 8, 0.74);
  border-radius: 50%;
  background: var(--color-pink);
  box-shadow: 0 0 0.7rem rgba(255, 22, 131, 0.24);
}

.location-graphic__monogram {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 8%;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(246, 246, 248, 0.18);
}

.location-graphic__coordinates {
  position: absolute;
  z-index: 2;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(246, 246, 248, 0.72);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

/* ------------------------------
   RSVP
------------------------------ */

.rsvp {
  position: relative;
  display: grid;
  min-height: clamp(30rem, 66svh, 42rem);
  min-height: clamp(30rem, 66dvh, 42rem);
  place-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 192, 223, 0.18);
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 22, 131, 0.065), transparent 38%),
    #09070a;
  padding-block: clamp(4rem, 10vh, 5.5rem);
}

.rsvp__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.rsvp__eyebrow {
  margin-block-end: clamp(1.65rem, 4.5vw, 2.75rem);
  color: var(--color-pink-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rsvp__title {
  max-width: 9ch;
  margin: 0 auto clamp(1.65rem, 4vw, 2.5rem);
  font-size: clamp(3.5rem, 15vw, 8rem);
  line-height: 0.78;
  text-transform: uppercase;
}

.rsvp__title strong {
  display: block;
  color: var(--color-pink-light);
  font-family: var(--font-body);
  font-size: 0.67em;
  font-weight: 500;
  letter-spacing: -0.065em;
  text-shadow: 0 0 1.6rem rgba(255, 22, 131, 0.11);
}

.rsvp__copy {
  margin-block-end: clamp(1.4rem, 4vw, 2.1rem);
  color: var(--color-muted);
  font-family: var(--font-display);
  font-size: clamp(1rem, 4vw, 1.3rem);
  letter-spacing: 0.025em;
}

.rsvp__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.rsvp__button {
  display: inline-flex;
  width: min(100%, 22rem);
  min-height: 3.75rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border: 1px solid var(--color-pink);
  border-radius: var(--radius-pill);
  background: var(--color-pink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #09070a;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background-color var(--transition),
    box-shadow var(--transition),
    color var(--transition);
}

.rsvp__button:hover,
.rsvp__button:focus-visible {
  background: #e90070;
  color: #070608;
}

.rsvp__decline {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid rgba(210, 211, 215, 0.2);
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  color: var(--color-muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color var(--transition),
    color var(--transition);
}

.rsvp__decline:hover,
.rsvp__decline:focus-visible {
  border-color: rgba(255, 192, 223, 0.5);
  color: var(--color-white);
}

.rsvp__feedback {
  min-height: 1.2rem;
  margin: 0.5rem 0 0;
  color: var(--color-pink-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0;
  text-transform: uppercase;
  transition: opacity var(--transition);
}

.rsvp__feedback.is-visible {
  opacity: 1;
}

.rsvp__deadline {
  margin: 0.2rem 0 0;
  color: var(--color-muted);
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  line-height: 1.5;
}

/* ------------------------------
   RSVP bottom sheet
------------------------------ */
.has-open-sheet {
  overflow: hidden;
}

.rsvp-sheet {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  align-items: end;
  padding-top: env(safe-area-inset-top);
  isolation: isolate;
}

.rsvp-sheet__backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(4, 3, 5, 0.76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms ease;
}

.rsvp-sheet__panel {
  position: relative;
  width: min(100%, 35rem);
  max-height: min(90vh, 45rem);
  max-height: min(90dvh, 45rem);
  margin-inline: auto;
  padding:
    clamp(1.75rem, 6vw, 2.75rem)
    max(clamp(1.25rem, 5vw, 2.5rem), env(safe-area-inset-right))
    max(clamp(1.5rem, 5vw, 2.5rem), env(safe-area-inset-bottom))
    max(clamp(1.25rem, 5vw, 2.5rem), env(safe-area-inset-left));
  overflow-y: auto;
  border: 1px solid rgba(210, 211, 215, 0.2);
  border-bottom: 0;
  border-radius: 1.25rem 1.25rem 0 0;
  background: #0d0b0e;
  box-shadow: 0 -1rem 3rem rgba(0, 0, 0, 0.34);
  transform: translateY(105%);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rsvp-sheet.is-open .rsvp-sheet__backdrop {
  opacity: 1;
}

.rsvp-sheet.is-open .rsvp-sheet__panel {
  transform: translateY(0);
}

.rsvp-sheet__close {
  position: absolute;
  top: 1rem;
  right: max(1rem, env(safe-area-inset-right));
  display: grid;
  width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(210, 211, 215, 0.18);
  border-radius: 50%;
  background: transparent;
  color: var(--color-chrome);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

.rsvp-sheet__eyebrow {
  margin: 0 3.5rem 0.85rem 0;
  color: var(--color-pink-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rsvp-sheet__title {
  max-width: 12ch;
  margin: 0 3.5rem 1.75rem 0;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 0.98;
}

.rsvp-form {
  display: grid;
  gap: 1rem;
}

.rsvp-form__field {
  display: grid;
  min-width: 0;
  gap: 0.45rem;
}

.rsvp-form__field label {
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rsvp-form__field input {
  width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid rgba(210, 211, 215, 0.28);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--color-white);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.rsvp-form__field input:focus {
  border-color: var(--color-pink-light);
}

.rsvp-form__field input[aria-invalid="true"] {
  border-color: var(--color-pink);
}

.rsvp-form__error {
  min-height: 1rem;
  margin: 0;
  color: var(--color-pink-light);
  font-size: 0.7rem;
  line-height: 1.4;
}

.rsvp-form__submit {
  min-height: 3.25rem;
  margin-block-start: 0.35rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--color-pink);
  border-radius: var(--radius-pill);
  background: var(--color-pink);
  color: var(--color-bg);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.rsvp-form__submit:disabled,
.rsvp-sheet__close:disabled {
  cursor: wait;
  opacity: 0.58;
}

.rsvp-form__status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: center;
}

.rsvp-form__status[data-state="success"] {
  color: var(--color-pink-light);
}

.rsvp-form__status[data-state="error"] {
  color: var(--color-pink-light);
}

.rsvp-form__fallback {
  justify-self: center;
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-bottom: 1px solid rgba(210, 211, 215, 0.3);
  background: transparent;
  color: var(--color-chrome);
  cursor: pointer;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rsvp-form__privacy {
  max-width: 42ch;
  margin: 0.25rem auto 0;
  color: var(--color-muted);
  font-size: 0.68rem;
  line-height: 1.5;
  text-align: center;
}

/* ------------------------------
   Footer
------------------------------ */
.site-footer {
  border-top: 1px solid rgba(255, 192, 223, 0.13);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: var(--space-md);
  padding-block-end: max(var(--space-md), env(safe-area-inset-bottom));
  color: var(--color-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer__monogram {
  color: var(--color-chrome);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.16em;
}

.site-footer__details {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 1.4rem;
}

.admin-link {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  margin-block: -0.8rem;
  margin-inline: -0.45rem;
  padding-block: 0.8rem;
  padding-inline: 0.45rem;
  color: rgba(255, 250, 251, 0.22);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition);
}

.admin-link:hover,
.admin-link:focus-visible {
  color: rgba(255, 250, 251, 0.86);
}

/* ------------------------------
   Responsive
------------------------------ */
@media (min-width: 41.5rem) {
  .site-header {
    padding-block: 1.75rem;
    padding-top: max(1.75rem, env(safe-area-inset-top));
  }

  .hero::after {
    inset: 6.5rem 2rem 1.5rem;
  }

  .hero__number {
    font-size: clamp(21rem, 36vw, 29rem);
  }

  .hero__content {
    padding-block-start: 9rem;
  }

  .event-section__eyebrow {
    margin-block-end: 0;
  }

  .event-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-item {
    min-height: 11.5rem;
    padding: 1.5rem clamp(1.5rem, 3vw, 3rem) 1.75rem;
  }

  .event-item:first-child {
    padding-inline-start: 0;
  }

  .event-item:last-child {
    padding-inline-end: 0;
  }

  .event-item__rule {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 1px;
    height: 100%;
    transform: scaleY(var(--rule-scale, 1));
    transform-origin: top;
  }

  .event-item:last-child .event-item__rule {
    display: none;
  }

  .event-item dd,
  .event-item--date dd {
    font-size: clamp(2rem, 3.8vw, 3.6rem);
  }

  .event-item--location dd {
    font-size: clamp(1.75rem, 2.7vw, 2.75rem);
  }

  .location-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.8fr);
  }

  .location-graphic {
    width: min(26vw, 20rem);
  }

  .statement__title {
    margin-inline-start: 8%;
  }

  .statement__rule {
    margin-inline-end: 8%;
  }
}

@media (min-width: 64rem) {
  .event-item dd,
  .event-item--date dd {
    font-size: clamp(2.5rem, 3.5vw, 4.25rem);
  }

  .event-item--location dd {
    font-size: clamp(2rem, 2.5vw, 2.75rem);
  }
}

@media (max-width: 22rem) {
  .site-header {
    padding-inline: max(1rem, env(safe-area-inset-left)) max(1rem, env(safe-area-inset-right));
  }

  .brand {
    gap: 0.55rem;
  }

  .brand__name {
    font-size: 0.7rem;
  }

  .hero::after {
    inset-inline: 0.65rem;
    bottom: 0.65rem;
  }

  .countdown__unit {
    padding-inline: 0.1rem;
  }

  .countdown__value {
    font-size: clamp(1.9rem, 10.5vw, 2.3rem);
    letter-spacing: -0.075em;
  }

  .countdown__label {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .countdown__label-full {
    display: none;
  }

  .countdown__label-short {
    display: inline;
  }

  .site-footer__inner,
  .site-footer__details {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
  }
}

@media (min-width: 22.01rem) and (max-width: 23.4375rem) {
  .countdown__value {
    font-size: clamp(2rem, 10.8vw, 2.55rem);
  }

  .countdown__label {
    letter-spacing: 0.11em;
  }
}

@media (max-width: 47.99rem) and (max-height: 40rem) {
  .hero,
  .hero__content {
    min-height: 100svh;
  }

  .hero__content {
    padding-block: 3.75rem 0.75rem;
  }

  .hero__number {
    font-size: clamp(8.5rem, 36vh, 11rem);
  }

  .hero__kicker {
    margin-block-end: 1rem;
  }

  .hero__title,
  .hero__details {
    margin-block-end: 0.75rem;
  }

  .hero__name {
    margin-block-start: 0.35rem;
    font-size: 2rem;
  }

  .hero__intro {
    margin-block-end: 0.4rem;
    line-height: 1.25;
  }
}

@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;
  }

}
