:root {
  --ink: #182033;
  --ink-soft: #3a4358;
  --navy: #14213d;
  --navy-2: #223456;
  --blush: #e9b6bd;
  --blush-deep: #c97f91;
  --blush-soft: #f8e8e9;
  --ivory: #fffaf3;
  --paper: #f5efe5;
  --champagne: #c7a56a;
  --sage: #8b9577;
  --white: #ffffff;
  --line: rgba(20, 33, 61, 0.14);
  --shadow: 0 24px 70px rgba(24, 32, 51, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  letter-spacing: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

body.invitation-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--navy);
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 14px 36px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.74), rgba(10, 16, 30, 0));
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--navy);
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 14px 38px rgba(24, 32, 51, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark,
.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 54px;
  line-height: 0;
}

.monogram-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: invert(1) brightness(1.08);
  transition: filter 220ms ease;
}

.site-header.scrolled .monogram-mark,
.site-header.open .monogram-mark {
  background: transparent;
}

.site-header.scrolled .monogram-mark img,
.site-header.open .monogram-mark img {
  filter: none;
}

.footer-mark {
  width: 98px;
  height: 82px;
}

.brand-text {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  margin: 6px 0;
}

.invitation-cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.invitation-cover::before,
.invitation-cover::after {
  content: "";
  position: absolute;
  inset: 0;
}

.invitation-cover::before {
  background:
    linear-gradient(0deg, rgba(8, 13, 26, 0.42), rgba(8, 13, 26, 0.72)),
    url("../images/hero-wedding.jpg?v=20260505-soundcloud3") center / cover;
  filter: saturate(0.82);
  transform: scale(1.04);
}

.invitation-cover::after {
  background:
    radial-gradient(circle at 50% 30%, rgba(233, 182, 189, 0.24), transparent 28%),
    linear-gradient(120deg, rgba(20, 33, 61, 0.78), rgba(8, 13, 26, 0.5));
}

.invitation-card {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  min-height: 580px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 14px;
  padding: 42px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(8, 13, 26, 0.5), rgba(8, 13, 26, 0.78)),
    rgba(20, 33, 61, 0.62);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.4);
}

.invitation-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(233, 182, 189, 0.36);
  border-radius: 6px;
  pointer-events: none;
}

.invitation-kicker {
  margin: 0;
  color: var(--blush);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.invitation-monogram {
  width: 132px;
  height: 110px;
  object-fit: contain;
  filter: invert(1) brightness(1.08);
}

.invitation-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  line-height: 0.95;
}

.invitation-date {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.invitation-seal {
  position: relative;
  margin-top: 22px;
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  outline: 0;
  transition: transform 180ms ease;
}

.seal-face {
  position: relative;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.42), transparent 24%),
    radial-gradient(circle at 68% 74%, rgba(90, 34, 52, 0.28), transparent 34%),
    linear-gradient(145deg, #e2adba 0%, #bd7f91 45%, #8b465d 100%);
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.38),
    inset 0 -12px 18px rgba(72, 24, 42, 0.38),
    inset 10px 0 20px rgba(255, 226, 232, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.22),
    0 18px 36px rgba(0, 0, 0, 0.32);
}

.seal-face::before,
.seal-face::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 236, 239, 0.62);
  border-radius: 46% 54% 50% 50% / 50% 44% 56% 50%;
}

.seal-face::after {
  inset: 8px;
  border-color: rgba(255, 255, 255, 0.28);
  transform: rotate(-12deg);
}

.seal-heart {
  position: relative;
  width: 38px;
  height: 38px;
  background: var(--white);
  transform: rotate(-45deg);
}

.seal-heart::before,
.seal-heart::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: inherit;
}

.seal-heart::before {
  top: -19px;
  left: 0;
}

.seal-heart::after {
  top: 0;
  right: -19px;
}

.seal-copy {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  color: var(--blush);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.invitation-seal:hover,
.invitation-seal:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.invitation-seal:focus-visible .seal-face {
  box-shadow:
    inset 0 4px 8px rgba(255, 255, 255, 0.38),
    inset 0 -12px 18px rgba(72, 24, 42, 0.38),
    inset 10px 0 20px rgba(255, 226, 232, 0.16),
    0 18px 36px rgba(0, 0, 0, 0.32),
    0 0 0 4px rgba(233, 182, 189, 0.52);
}

.invitation-seal:hover .seal-copy,
.invitation-seal:focus-visible .seal-copy {
  color: var(--white);
}

.invitation-cover.is-opening {
  pointer-events: none;
  animation: invitationFade 920ms ease forwards;
}

.invitation-cover.is-opening .invitation-card {
  animation: invitationCardOpen 920ms cubic-bezier(0.2, 0.84, 0.24, 1) forwards;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 26, 0.58), rgba(8, 13, 26, 0.4) 48%, rgba(8, 13, 26, 0.32)),
    linear-gradient(0deg, rgba(8, 13, 26, 0.46), rgba(8, 13, 26, 0.08) 55%, rgba(8, 13, 26, 0.42));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 44px));
  margin: 0 auto;
  padding-top: 70px;
  text-align: center;
}

.eyebrow,
.venue-type,
.fact-label {
  display: block;
  margin: 0 0 10px;
  color: var(--champagne);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--serif);
  font-size: 86px;
  font-weight: 500;
  line-height: 0.9;
}

.hero h1 span {
  color: var(--blush);
  font-style: italic;
  font-weight: 400;
}

.hero-date,
.hero-place {
  margin: 18px 0 0;
  font-size: 20px;
}

.hero-place {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 154px;
  padding: 12px 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-light {
  border-color: var(--blush);
  background: var(--blush);
  color: var(--navy);
}

.button-outline-light {
  border-color: var(--blush);
  background: var(--blush);
  color: var(--navy);
}

.music-control {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 24px auto 0;
}

.music-ring-text {
  position: absolute;
  inset: 0;
  width: 118px;
  height: 118px;
  overflow: visible;
  pointer-events: none;
  transform-origin: 50% 50%;
  animation: musicRingCounter 12s linear infinite;
}

.music-ring-text text {
  fill: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.button-music {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62px;
  min-width: 62px;
  height: 62px;
  min-height: 62px;
  padding: 0;
  border-radius: 999px;
  border-color: var(--blush);
  background: var(--blush);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(20, 33, 61, 0.18);
  transform: translate(-50%, -50%);
}

.button-music:hover,
.button-music:focus-visible {
  transform: translate(-50%, calc(-50% - 2px));
}

.button-music.is-playing {
  background: var(--blush-light);
}

.button-music:disabled {
  cursor: wait;
  opacity: 0.75;
}

.play-icon {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--navy);
}

.button-music.is-playing .play-icon {
  width: 18px;
  height: 22px;
  margin-left: 0;
  border: 0;
  background:
    linear-gradient(90deg, var(--navy) 0 6px, transparent 6px 12px, var(--navy) 12px 18px);
}

.soundcloud-player {
  position: absolute;
  top: 0;
  left: -9999px;
  width: 320px;
  height: 166px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

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

.button-dark {
  background: var(--navy);
  color: var(--white);
}

.quick-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: 34px 20px 18px;
  background: var(--navy);
}

.fact,
.countdown {
  min-height: 132px;
  padding: 28px 30px;
  background: var(--ivory);
}

.fact strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}

.countdown {
  width: min(760px, calc(100% - 40px));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0;
  color: var(--blush);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.countdown div {
  text-align: center;
}

.countdown strong {
  display: block;
  min-height: 37px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.countdown span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--blush);
  opacity: 0.9;
}

.welcome-note {
  position: relative;
  padding: 72px 20px 34px;
  text-align: center;
  color: var(--white);
  background: var(--navy);
}

.welcome-note h2 {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.04;
}

.welcome-note > p:last-child {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.section {
  position: relative;
  padding: 96px 36px;
  overflow: hidden;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
}

.section-heading h2 .blush-word {
  color: var(--blush-deep);
  font-style: italic;
  font-weight: 500;
}

.section-heading p:not(.eyebrow) {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--ink-soft);
}

.details-section,
.attire-section,
.rsvp-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 250, 243, 0.94)),
    var(--ivory);
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  pointer-events: none;
  background: url("../images/floral-corner.svg?v=20260505-soundcloud3") center / contain no-repeat;
  opacity: 0.24;
  z-index: 0;
}

.section::before {
  left: -88px;
  top: 34px;
  transform: rotate(-8deg);
}

.section::after {
  right: -88px;
  bottom: 34px;
  transform: rotate(180deg);
}

.timeline-section::before,
.sponsors-section::before,
.wishlist-section::before {
  top: auto;
  bottom: 42px;
  transform: rotate(-96deg);
}

.timeline-section::after,
.sponsors-section::after,
.wishlist-section::after {
  top: 42px;
  bottom: auto;
  transform: rotate(92deg);
}

.entourage-section::before,
.entourage-section::after {
  opacity: 0.16;
}

.details-layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.venue-card,
.detail-panel,
.people-card,
.rsvp-form,
.timeline-group,
.love-gift-card,
.wishlist-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.venue-card {
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.venue-copy {
  width: 100%;
  padding: 34px;
}

.venue-copy h3,
.detail-panel h3,
.people-card h3,
.timeline-group h3,
.love-gift-card h3,
.wishlist-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.05;
}

.venue-copy p,
.detail-panel p {
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.venue-copy .time {
  color: var(--navy);
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--champagne);
  text-underline-offset: 5px;
}

.map-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 18px;
  margin-top: 20px;
}

.map-qr {
  width: 112px;
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(201, 127, 145, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.map-qr img {
  display: block;
  width: 100%;
  height: auto;
  padding: 5px;
  border-radius: 5px;
  background: var(--white);
}

.map-qr figcaption {
  margin-top: 4px;
  color: var(--navy);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.ceremony-qr {
  background: var(--navy);
  border-color: rgba(20, 33, 61, 0.3);
}

.reception-qr {
  background: var(--blush);
  border-color: rgba(201, 127, 145, 0.36);
}

.ceremony-qr figcaption,
.reception-qr figcaption {
  color: var(--white);
}

.image-card {
  position: relative;
  color: var(--white);
  background: var(--navy);
}

.image-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 18, 33, 0.78), rgba(12, 18, 33, 0.2));
}

.image-card .venue-copy {
  position: relative;
  z-index: 1;
}

.image-card p,
.image-card .venue-type,
.image-card .text-link {
  color: rgba(255, 255, 255, 0.88);
}

.image-card .map-qr {
  border-color: rgba(255, 255, 255, 0.28);
}

.image-card .venue-copy .time {
  color: var(--blush);
  text-shadow: 0 2px 14px rgba(20, 33, 61, 0.34);
}

.detail-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.detail-panel img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center center;
}

.detail-panel div {
  padding: 38px;
  align-self: center;
}

.timeline-section {
  background: var(--paper);
}

.timeline-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline-group {
  padding: 30px;
  box-shadow: none;
  background: var(--white);
}

.timeline-group h3 {
  margin-bottom: 22px;
}

.timeline-group ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-group li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.timeline-group time {
  color: var(--champagne);
  font-weight: 600;
  line-height: 1.35;
}

.timeline-group strong {
  display: block;
  color: var(--navy);
  line-height: 1.35;
}

.timeline-group span {
  color: var(--ink-soft);
}

.entourage-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(20, 33, 61, 0.98), rgba(30, 48, 79, 0.96)),
    var(--navy);
}

.entourage-section .section-heading p:not(.eyebrow),
.entourage-section .people-card p {
  color: rgba(255, 255, 255, 0.74);
}

.entourage-section .section-heading h2 .blush-word {
  color: var(--blush);
}

.people-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.people-card {
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(233, 182, 189, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  border-color: rgba(233, 182, 189, 0.28);
  box-shadow: none;
}

.people-card h3 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 16px;
}

.people-card p {
  margin: 6px 0;
}

.family-people-card {
  background:
    linear-gradient(145deg, rgba(233, 182, 189, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
}

.family-people-card p {
  margin: 0 0 14px;
}

.family-people-card strong {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--blush);
  font-size: 12px;
  text-transform: uppercase;
}

.sponsors-section {
  background: var(--ivory);
}

.sponsor-list {
  width: min(980px, 100%);
  margin: 0 auto;
  columns: 3 240px;
  column-gap: 42px;
  padding: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sponsor-list span {
  display: block;
  break-inside: avoid;
  padding: 8px 0;
  color: var(--ink-soft);
}

.motif-strip {
  width: min(560px, 100%);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.motif-strip div {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.swatch {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(24, 32, 51, 0.16);
}

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

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

.attire-image-grid {
  width: min(1060px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.attire-image-card {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(201, 127, 145, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.attire-image-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.attire-image-card figcaption {
  margin: 10px 0 0;
  color: var(--ink-soft);
  text-align: center;
  font-size: 12px;
}

.rsvp-form {
  width: min(820px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 34px;
  background: var(--white);
}

.rsvp-mockup {
  position: relative;
  border-color: rgba(201, 127, 145, 0.24);
}

.mockup-banner {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(201, 127, 145, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blush-soft), rgba(255, 255, 255, 0.86));
  text-align: center;
}

.mockup-banner span {
  color: var(--blush-deep);
  font-weight: 700;
  text-transform: uppercase;
}

.mockup-banner p {
  margin: 0;
  color: var(--ink-soft);
}

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

.choice-field {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin: 0 0 2px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.choice-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: rgba(24, 32, 51, 0.72);
  background: rgba(255, 250, 243, 0.7);
}

.choice-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--blush-deep);
}

.form-row.full,
.rsvp-form .button {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--ivory);
}

.rsvp-mockup input:disabled,
.rsvp-mockup select:disabled,
.rsvp-mockup textarea:disabled {
  color: rgba(24, 32, 51, 0.48);
  background: rgba(255, 250, 243, 0.7);
  cursor: not-allowed;
}

.choice-option input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--blush-deep);
}

.rsvp-mockup .button:disabled {
  opacity: 0.82;
  cursor: not-allowed;
}

.rsvp-mockup .button:disabled:hover,
.rsvp-mockup .button:disabled:focus-visible {
  transform: none;
}

.form-row textarea {
  resize: vertical;
}

.hidden {
  display: none;
}

.wishlist-section {
  background: var(--paper);
}

.love-gift-card {
  width: min(820px, 100%);
  margin: 0 auto 24px;
  padding: 34px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(248, 232, 233, 0.86), rgba(255, 255, 255, 0.88)),
    var(--white);
}

.love-gift-card h3 {
  color: var(--navy);
}

.love-gift-card p {
  max-width: 640px;
  margin: 14px auto 0;
  color: var(--ink-soft);
}

.wishlist-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.love-gift-grid {
  width: min(920px, 100%);
}

.wishlist-category {
  grid-column: 1 / -1;
  margin: 18px 0 2px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 600;
  color: var(--navy);
}

.registry-item,
.gift-payment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.registry-item {
  min-height: 144px;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.registry-item:hover,
.registry-item:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 127, 145, 0.42);
  box-shadow: 0 18px 44px rgba(24, 32, 51, 0.1);
}

.wishlist-thumb {
  width: 116px;
  height: 116px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--blush-soft);
}

.gift-thumb {
  display: grid;
  place-items: center;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
}

.registry-item strong,
.gift-payment-card strong {
  display: block;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
}

.registry-item small,
.gift-payment-card small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.gift-payment-card {
  padding: 14px;
}

.wishlist-grid .gift-payment-panel {
  grid-column: 1 / -1;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gift-payment-card summary {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.gift-payment-card summary::-webkit-details-marker {
  display: none;
}

.payment-qr-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 148px);
  justify-content: center;
  gap: 16px;
  padding-top: 0;
  border-top: 0;
}

.payment-qr-grid figure {
  margin: 0;
  padding: 9px;
  border-radius: 8px;
  text-align: center;
}

.gcash-qr-card {
  background: var(--navy);
}

.unionbank-qr-card {
  background: var(--blush);
}

.payment-qr-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  padding: 5px;
  object-fit: contain;
  border-radius: 5px;
  background: var(--white);
}

.payment-qr-grid figcaption {
  margin-top: 7px;
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}


.site-footer {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 64px 20px;
  text-align: center;
  color: var(--white);
  background: var(--navy);
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer .monogram-mark img {
  filter: invert(1) brightness(1.08);
}

.closing-verse {
  position: relative;
  padding: 92px 20px;
  text-align: center;
  color: var(--navy);
  background:
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(248, 232, 233, 0.86)),
    var(--ivory);
  overflow: hidden;
}

.closing-verse::before,
.closing-verse::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: url("../images/floral-corner.svg?v=20260505-soundcloud3") center / contain no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.closing-verse::before {
  top: -78px;
  left: -70px;
}

.closing-verse::after {
  right: -70px;
  bottom: -78px;
  transform: rotate(180deg);
}

.closing-verse p {
  position: relative;
  margin: 0 0 14px;
  color: var(--blush-deep);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.closing-verse blockquote {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 46px);
  font-style: italic;
  line-height: 1.08;
}

.thanks-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 250, 243, 0.88), rgba(255, 250, 243, 0.94)),
    url("../images/hero-wedding.jpg?v=20260505-soundcloud3") center / cover;
}

.thanks-wrap {
  width: min(640px, calc(100% - 32px));
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.thanks-wrap h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 54px;
  line-height: 1;
}

.thanks-wrap p:not(.eyebrow) {
  color: var(--ink-soft);
}

.thanks-wrap .button {
  margin-top: 16px;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes invitationFade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes invitationCardOpen {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  45% {
    opacity: 1;
    transform: scale(0.96) translateY(-8px);
  }

  100% {
    opacity: 0;
    transform: scale(1.08) translateY(-32px);
  }
}

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

  .button,
  .site-header,
  .site-nav a::after,
  .invitation-card,
  .invitation-seal,
  .invitation-cover,
  .music-ring-text,
  .reveal-ready .reveal {
    transition: none;
    animation: none;
  }
}

@media (max-width: 1080px) {
  .quick-facts {
    grid-template-columns: 1fr;
  }

  .timeline-grid,
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .site-header {
    min-height: 66px;
    padding: 10px 18px;
  }

  .brand-text {
    font-size: 20px;
  }

  .brand-mark {
    width: 54px;
    height: 46px;
  }

  .menu-toggle {
    display: inline-grid;
    align-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 66px 0 auto;
    display: grid;
    gap: 0;
    padding: 16px 18px 22px;
    color: var(--navy);
    background: rgba(255, 250, 243, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 44px rgba(24, 32, 51, 0.12);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .site-header.open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 44px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-date,
  .hero-place {
    font-size: 18px;
  }

  .section {
    padding: 76px 20px;
  }

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

  .details-layout,
  .detail-panel,
  .wishlist-grid,
  .rsvp-form {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    display: block;
  }

  .detail-panel img {
    height: 260px;
  }

  .form-row.full,
  .rsvp-form .button {
    grid-column: auto;
  }

  .motif-strip {
    grid-template-columns: 1fr;
  }

  .attire-image-grid {
    width: min(560px, 100%);
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    width: calc(100% - 30px);
    max-width: 900px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .button-music {
    width: 62px;
  }

  .quick-facts,
  .timeline-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .countdown {
    min-height: auto;
    padding: 22px;
  }

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

  .venue-copy,
  .detail-panel div,
  .timeline-group,
  .people-card,
  .love-gift-card,
  .wishlist-grid article,
  .rsvp-form,
  .thanks-wrap {
    padding: 24px;
  }

  .timeline-group li {
    grid-template-columns: 72px 1fr;
    gap: 10px;
  }

  .section-heading h2,
  .thanks-wrap h1 {
    font-size: 38px;
  }

  .venue-copy h3,
  .detail-panel h3,
  .people-card h3,
  .timeline-group h3,
  .love-gift-card h3,
  .wishlist-grid h3,
  .site-footer p {
    font-size: 28px;
  }

  .wishlist-category {
    font-size: 30px;
  }

  .registry-item,
  .gift-payment-card summary {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }

  .wishlist-thumb {
    width: 92px;
    height: 92px;
  }

  .gift-thumb {
    font-size: 38px;
  }

  .registry-item strong,
  .gift-payment-card strong {
    font-size: 17px;
  }

  .payment-qr-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .payment-qr-card {
    width: 148px;
  }
}
