

:root {
  --paper: #fbf8f1;
  --paper-deep: #eaded1;
  --ink: #211c18;
  --soft-ink: #6d6258;
  --gold: #b89156;
  --rose: #ad7c89;
  --rose-soft: #efd6d8;
  --moss: #595247;
  --cream: #fffaf2;
  --line: rgba(75, 62, 52, 0.17);
  --shadow: rgba(40, 29, 21, 0.17);
}

@theme inline {
  --color-background: var(--paper);
  --color-foreground: var(--ink);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(168, 117, 120, 0.22), transparent 30rem),
    radial-gradient(circle at 84% 22%, rgba(184, 145, 86, 0.14), transparent 24rem),
    linear-gradient(180deg, var(--paper), #faeee9 46%, var(--paper));
  color: var(--ink);
  font-family: var(--font-geist-sans), "Helvetica Neue", Arial, sans-serif;
}

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

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

main {
  overflow: clip;
}

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  padding: 12px max(18px, calc((100vw - 1240px) / 2));
  background: rgba(251, 248, 241, 0.9);
  border-bottom: 1px solid rgba(75, 62, 52, 0.1);
  backdrop-filter: blur(18px);
}

.siteCrest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  filter: drop-shadow(0 10px 22px rgba(72, 56, 39, 0.14));
}

.siteCrest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navToggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menuButton {
  display: none;
}

.primaryNav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px clamp(13px, 1.75vw, 28px);
  overflow: visible;
  padding-bottom: 2px;
}

.siteHeader a {
  position: relative;
  padding: 6px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(0.82rem, 1.18vw, 1.18rem);
  letter-spacing: 0.13em;
  white-space: nowrap;
}

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

.siteHeader a:hover::after {
  transform: scaleX(1);
}

.cover {
  position: relative;
  min-height: calc(100svh - 112px);
  display: grid;
  place-items: center;
  padding: clamp(84px, 9vw, 118px) 20px;
  background:
    linear-gradient(90deg, rgba(33, 28, 24, 0.78), rgba(33, 28, 24, 0.26), rgba(33, 28, 24, 0.78)),
    var(--ink);
  color: var(--cream);
  isolation: isolate;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 250, 242, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 242, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 82%, transparent);
}

.cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(33, 28, 24, 0.86));
  pointer-events: none;
}

.coverPhotoStack {
  position: relative;
  z-index: 2;
  --cover-stack-y: clamp(24px, 4vh, 52px);
  width: min(82vw, 900px);
  height: min(68vh, 660px);
  animation: settleIn 1100ms ease-out both;
}

.coverPhoto {
  position: absolute;
  width: 52%;
  height: 78%;
  object-fit: cover;
  border: 12px solid rgba(255, 250, 242, 0.92);
  border-bottom-width: 54px;
  background: var(--cream);
  box-shadow: 0 32px 95px rgba(0, 0, 0, 0.36);
  filter: saturate(0.94) contrast(1.02);
}

.coverPhotoMain {
  inset: 7% auto auto 24%;
  transform: rotate(-3deg);
  z-index: 2;
}

.coverPhotoSide {
  inset: 16% 2% auto auto;
  transform: rotate(7deg);
  z-index: 1;
}

.coverPhotoSmall {
  inset: 45% auto auto 2%;
  width: 38%;
  height: 46%;
  transform: rotate(-8deg);
  z-index: 3;
}

.coverText {
  position: absolute;
  inset: auto 20px clamp(76px, 8vw, 124px);
  z-index: 5;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  animation: titleLift 900ms 240ms ease-out both;
}

.kicker,
.sectionLabel {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.cover h1 {
  max-width: 1080px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.86;
  text-wrap: balance;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
}

.coverText > p:not(.kicker) {
  margin: 24px 0 0;
  color: rgba(255, 250, 242, 0.86);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.coverActions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.coverActions a,
.primaryButton,
.hotelList a,
.rsvpText a,
.proposalMoment a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(33, 28, 24, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.12);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.coverActions a,
.rsvpText a,
.proposalMoment a {
  border-color: rgba(255, 250, 242, 0.52);
  color: var(--cream);
}

.coverActions a:hover,
.primaryButton:hover,
.hotelList a:hover,
.rsvpText a:hover,
.proposalMoment a:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--cream);
}

.filmStrip {
  position: absolute;
  left: -10vw;
  right: -10vw;
  top: -18px;
  z-index: 1;
  display: flex;
  gap: 12px;
  width: max-content;
  opacity: 0.58;
  transform: rotate(-2.5deg);
  animation: reelDrift 44s linear infinite;
  pointer-events: none;
}

.filmStrip.reverse {
  top: auto;
  bottom: 24px;
  opacity: 0.38;
  transform: rotate(2deg);
  animation-name: reelDriftReverse;
}

.filmFrame {
  width: clamp(118px, 15vw, 220px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 8px solid rgba(255, 250, 242, 0.92);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.26);
}

.pageSection,
.subPage {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.pageSection {
  padding: clamp(76px, 10vw, 132px) 0;
}

.pageHero {
  padding: clamp(82px, 10vw, 140px) 0 clamp(44px, 7vw, 90px);
  animation: titleLift 700ms ease-out both;
}

.pageHero h1,
.dayCopy h2,
.timelineSection h2,
.storyText p:first-child::first-letter,
.dressGuide h2,
.rsvpText h2 {
  font-family: Georgia, "Times New Roman", serif;
}

.pageHero h1,
.dayCopy h2,
.timelineSection h2,
.dressGuide h2,
.rsvpText h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.pageHero p:not(.sectionLabel) {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.75;
}

.weddingDayPreview {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: end;
}

.dayCopy > p:not(.sectionLabel),
.venueBlock p {
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.venueBlock {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.dayIntro {
  margin-top: 22px;
  max-width: 620px;
}

.dayNotes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.dayNotes span,
.hotelTags span,
.dressSwatches span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.62);
  color: var(--moss);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.venueBlock time {
  display: block;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: 0.18em;
}

h3 {
  margin: 0;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.venueImage,
.travelHero img,
.registryGiftCard img,
.dressGuide img {
  width: 100%;
  object-fit: cover;
  border: 12px solid var(--cream);
  box-shadow: 0 28px 84px var(--shadow);
}

.venueImage,
.travelHero img {
  aspect-ratio: 16 / 10;
}

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

.countdown {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
  border-top: 1px solid var(--line);
}

.countdown > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.countdown article {
  display: grid;
  place-items: center;
  min-height: 150px;
  background: rgba(255, 250, 242, 0.76);
}

.countdown strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 0.9;
}

.countdown span {
  margin-top: 12px;
  color: var(--rose);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proposalMoment {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 132px) 20px;
  background:
    linear-gradient(90deg, rgba(33, 28, 24, 0.88), rgba(58, 42, 36, 0.72)),
    var(--ink);
  color: var(--cream);
}

.proposalInner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.proposalMoment h2,
.poemCard h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}

.proposalMoment p:not(.sectionLabel) {
  margin: 22px 0 0;
  color: rgba(255, 250, 242, 0.76);
  font-size: 1.1rem;
  line-height: 1.75;
}

.proposalMoment a {
  margin-top: 28px;
  border-color: rgba(255, 250, 242, 0.36);
}

.proposalPhotos {
  position: relative;
  min-height: 560px;
}

.proposalPhotos img {
  position: absolute;
  width: 58%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid rgba(255, 250, 242, 0.92);
  box-shadow: 0 28px 88px rgba(0, 0, 0, 0.38);
}

.proposalPhotos img:first-child {
  left: 2%;
  top: 8%;
  transform: rotate(-5deg);
}

.proposalPhotos img:last-child {
  right: 2%;
  top: 24%;
  transform: rotate(6deg);
}

.poemStream {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  opacity: 0.16;
  transform: rotate(-6deg) scale(1.12);
  pointer-events: none;
}

.poemStream span {
  width: max-content;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 4.8rem);
  white-space: nowrap;
  animation: poemDrift 38s linear infinite;
}

.poemStream span:nth-child(even) {
  animation-direction: reverse;
}

.timeline {
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.timeline article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  animation: cardRise linear both;
  
  
}

.timeline time {
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

.timeline p,
.faqList p,
.hotelList p,
.dressGuide li {
  color: var(--soft-ink);
  font-size: 1.02rem;
  line-height: 1.7;
}

.storyLayout,
.travelHero,
.dressGuide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: start;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.storyPhotos {
  position: sticky;
  top: 120px;
  min-height: 620px;
}

.storyPhotos img {
  position: absolute;
  width: 64%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid var(--cream);
  box-shadow: 0 26px 76px var(--shadow);
  animation: revealPhoto 800ms ease-out both;
}

.storyPhotos img:nth-child(1) {
  left: 8%;
  top: 0;
  transform: rotate(-5deg);
}

.storyPhotos img:nth-child(2) {
  right: 0;
  top: 190px;
  transform: rotate(6deg);
}

.storyPhotos img:nth-child(3) {
  left: 0;
  top: 370px;
  transform: rotate(-3deg);
}

.storyText {
  padding-top: 24px;
}

.storyText p {
  margin: 0 0 30px;
  color: var(--soft-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.65;
  animation: revealText linear both;
  
  
}

.storyText p:first-child::first-letter {
  float: left;
  padding-right: 10px;
  color: var(--gold);
  font-size: 5.6rem;
  line-height: 0.78;
}

.poemSection {
  width: min(960px, 100%);
  margin: 0 auto;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.poemCard {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(255, 250, 242, 0.72)),
    var(--cream);
  box-shadow: 0 24px 78px rgba(40, 29, 21, 0.07);
}

.poemIntro {
  max-width: 680px;
  margin: 0 auto clamp(28px, 5vw, 46px);
  text-align: center;
}

.poemCard p {
  color: var(--soft-ink);
  line-height: 1.55;
}

.poemText {
  width: min(680px, 100%);
  margin: 0 auto;
  padding-top: clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.poemStanza {
  margin: 0 0 clamp(20px, 3vw, 32px);
  text-align: center;
}

.poemText p {
  margin: 0 0 6px;
  color: #5f514b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.poemStanza:last-child {
  margin-bottom: 0;
}

.poemStanza:last-child p:last-child {
  margin-top: 14px;
  color: var(--rose);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.galleryGrid {
  columns: 4 220px;
  column-gap: 12px;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.galleryGrid figure {
  margin: 0;
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--paper-deep);
  animation: cardRise linear both;
  
  
}

.galleryGrid button {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.galleryGrid a {
  display: block;
}

.galleryGrid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 450ms ease, filter 450ms ease;
}

.galleryGrid figure:hover img {
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.035);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 72px 18px 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.isOpen,
.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}

.lightboxBackdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 15, 12, 0.9);
  backdrop-filter: blur(18px);
  cursor: zoom-out;
}

.lightboxFrame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(100%, 980px);
}

.lightboxFrame img {
  width: auto;
  max-width: 100%;
  max-height: 78svh;
  object-fit: contain;
  border: 10px solid var(--cream);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.lightboxFrame p {
  margin: 14px 0 0;
  color: rgba(255, 250, 242, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.18em;
}

.lightboxClose,
.lightboxNav {
  appearance: none;
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 250, 242, 0.34);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.12);
  color: var(--cream);
  cursor: pointer;
  font-family: var(--font-geist-sans), "Helvetica Neue", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightboxClose {
  top: -54px;
  right: 0;
}

.lightboxNav {
  top: 50%;
  transform: translateY(-50%);
}

.lightboxNav.previous {
  left: -86px;
}

.lightboxNav.next {
  right: -86px;
}

.partyGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 72px;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.partyGrid article {
  padding: clamp(28px, 5vw, 58px) 0;
  border-top: 1px solid var(--line);
  animation: cardRise linear both;
  
  
}

.partyGrid h2,
.faqList h2,
.hotelList h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  overflow-wrap: anywhere;
}

.partyGrid p {
  margin: 12px 0 0;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.faqList,
.hotelList {
  display: grid;
  gap: 18px;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.faqList details,
.hotelList article {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 24px 78px rgba(40, 29, 21, 0.07);
  animation: cardRise linear both;
  
  
}

.faqList p,
.hotelList p {
  margin: 16px 0 0;
}

.faqList details {
  padding: 0;
  overflow: hidden;
}

.faqList summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 24px clamp(22px, 4vw, 36px);
  cursor: pointer;
  list-style: none;
}

.faqList summary::-webkit-details-marker {
  display: none;
}

.faqList summary span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: 0.08em;
}

.faqList summary span:last-child {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--rose);
  font-weight: 800;
  transition: transform 180ms ease;
}

.faqList details[open] summary span:last-child {
  transform: rotate(45deg);
}

.faqList details p {
  padding: 0 clamp(22px, 4vw, 36px) 28px;
}

.travelHero {
  align-items: center;
}

.travelHero h1 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  letter-spacing: 0.07em;
}

.hotelList article {
  display: grid;
  grid-template-columns: minmax(210px, 0.46fr) minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.hotelPhoto {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 8px solid var(--cream);
  box-shadow: 0 18px 52px rgba(40, 29, 21, 0.12);
}

.hotelList h3 {
  margin-top: 16px;
  overflow-wrap: anywhere;
}

.hotelNumber {
  align-self: start;
  margin: 0;
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.hotelTags,
.hotelActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hotelActions {
  justify-content: flex-end;
  margin-top: 0;
}

.registryPage {
  display: block;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.registryPage .pageHero {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: clamp(34px, 5vw, 62px);
  text-align: center;
}

.registryGiftCard {
  position: relative;
  width: min(100%, 1120px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid rgba(75, 62, 52, 0.14);
  border-radius: 10px;
  background: rgba(255, 250, 242, 0.52);
  box-shadow: 0 30px 90px rgba(40, 29, 21, 0.12);
  overflow: hidden;
}

.registryPhotoPanel {
  min-height: clamp(520px, 54vw, 680px);
  padding: clamp(18px, 2.3vw, 28px);
  background:
    linear-gradient(135deg, rgba(173, 124, 137, 0.14), rgba(255, 250, 242, 0.84)),
    var(--cream);
}

.registryPhotoPanel img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid var(--cream);
  box-shadow: 0 20px 62px rgba(40, 29, 21, 0.16);
}

.registryEnvelope {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: clamp(34px, 5vw, 74px);
  border-left: 1px solid rgba(75, 62, 52, 0.14);
  background:
    radial-gradient(circle at 12% 14%, rgba(173, 124, 137, 0.13), transparent 18rem),
    linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(251, 248, 241, 0.9));
}

.registryEnvelope h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.1vw, 4.35rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.registryEnvelope p:not(.sectionLabel) {
  color: var(--soft-ink);
  line-height: 1.7;
}

.primaryButton {
  margin-top: 32px;
}

.registryRibbon {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 28px 0;
}

.registryRibbon span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 145, 86, 0.55), transparent);
}

.registryRibbon span:nth-child(2) {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--rose);
}

.registryNoteGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.registryNoteGrid article {
  padding: 16px;
  border: 1px solid rgba(75, 62, 52, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
}

.registryNoteGrid h3 {
  margin: 0;
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.registryBlessing {
  color: var(--soft-ink);
  margin: 22px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  line-height: 1.55;
}

.dressInspiration {
  width: min(100%, 1180px);
  margin: 0 auto clamp(34px, 6vw, 76px);
  padding: clamp(10px, 1.4vw, 18px);
  border: 1px solid rgba(75, 62, 52, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.9), rgba(239, 214, 216, 0.34)),
    var(--cream);
  box-shadow: 0 30px 90px rgba(40, 29, 21, 0.12);
}

.dressInspiration img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  border-radius: 6px;
}

.dressPage .dressGuide {
  display: block;
  width: min(100%, 880px);
  margin: 0 auto;
  text-align: center;
}

.dressPage .dressGuide .sectionLabel {
  justify-content: center;
}

.dressPage .dressGuide ul {
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: left;
}

.dressPage .dressSwatches,
.dressPage .vibeCards {
  justify-content: center;
}

.dressPage .vibeCards {
  text-align: left;
}

.dressGuide ul {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding-left: 20px;
}

.dressMoodBoard {
  position: relative;
  min-height: 520px;
  border: 10px solid var(--cream);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.82), rgba(239, 214, 216, 0.72)),
    repeating-linear-gradient(90deg, rgba(173, 124, 137, 0.1) 0 1px, transparent 1px 38px);
  box-shadow: 0 24px 74px rgba(40, 29, 21, 0.12);
  overflow: hidden;
}

.dressMoodBoard span {
  position: absolute;
  display: block;
  box-shadow: 0 18px 42px rgba(40, 29, 21, 0.13);
}

.gownShape {
  left: 14%;
  bottom: 11%;
  width: 34%;
  height: 62%;
  border-radius: 999px 999px 22px 22px;
  background: linear-gradient(180deg, #ead1d4, #b88996);
  clip-path: polygon(50% 0, 72% 16%, 100% 100%, 0 100%, 28% 16%);
}

.suitShape {
  right: 12%;
  bottom: 14%;
  width: 34%;
  height: 58%;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, #2d2925, #4d4640);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}

.heelShape {
  left: 17%;
  bottom: 7%;
  width: 28%;
  height: 8%;
  border-radius: 999px 999px 10px 10px;
  background: #c5a46c;
  transform: rotate(-7deg);
}

.tieShape {
  right: 25%;
  top: 28%;
  width: 8%;
  height: 35%;
  background: #b88996;
  clip-path: polygon(50% 0, 100% 24%, 70% 100%, 30% 100%, 0 24%);
}

.dressLead {
  margin: 22px 0 0;
  color: var(--soft-ink);
  font-size: 1.1rem;
  line-height: 1.75;
}

.dressSwatches,
.vibeCards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dressSwatches span {
  min-width: 86px;
  justify-content: center;
}

.vibeCards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vibeCards article,
.rsvpOptions article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.66);
}

.vibeCards p,
.rsvpText p,
.rsvpOptions p {
  color: var(--soft-ink);
  line-height: 1.65;
}

.outfitBoard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: clamp(72px, 10vw, 128px);
}

.outfitBoard article {
  min-height: 280px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(75, 62, 52, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 22px 62px rgba(40, 29, 21, 0.08);
}

.outfitPalette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 88px;
  margin-bottom: 26px;
  border: 8px solid var(--cream);
  box-shadow: inset 0 0 0 1px rgba(75, 62, 52, 0.1);
}

.outfitPalette span {
  display: block;
}

.outfitBoard h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.outfitBoard p {
  color: var(--soft-ink);
  line-height: 1.65;
}

.rsvpHero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
}

.rsvpHero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 12px solid var(--cream);
  box-shadow: 0 28px 84px var(--shadow);
}

.rsvpPageFresh {
  width: min(100% - 28px, 980px);
}

.rsvpIntro {
  padding: clamp(42px, 7vw, 76px) 0 0;
  text-align: center;
}

.rsvpIntro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 5.8rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 0.98;
  text-transform: uppercase;
}

.rsvpIntro p:not(.sectionLabel) {
  margin: 20px auto 0;
  max-width: 520px;
  color: var(--soft-ink);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.rsvpWizard {
  position: relative;
  margin: clamp(28px, 5vw, 54px) auto clamp(56px, 8vw, 96px);
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(184, 145, 86, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(250, 238, 233, 0.94)),
    var(--paper);
  box-shadow: 0 28px 90px rgba(40, 29, 21, 0.14);
}

.rsvpWizard::before,
.rsvpWizard::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(184, 145, 86, 0.24);
  border-radius: 999px;
  pointer-events: none;
}

.rsvpWizard::before {
  top: 18px;
  right: 18px;
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.rsvpWizard::after {
  bottom: 18px;
  left: 18px;
  border-top-color: transparent;
  border-right-color: transparent;
}

.rsvpWizardHeader {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.rsvpWizardHeader h2,
.adminPanel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.rsvpWizardHeader > p {
  margin: 6px 0 0;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.rsvpProgress {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 30px 0;
}

.rsvpProgress button,
.rsvpControls button {
  appearance: none;
  border: 1px solid rgba(75, 62, 52, 0.16);
  background: rgba(255, 250, 242, 0.72);
  color: var(--soft-ink);
  cursor: pointer;
  font: inherit;
}

.rsvpProgress button {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rsvpProgress span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(184, 145, 86, 0.13);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
}

.rsvpProgress .active,
.rsvpProgress .complete {
  border-color: rgba(168, 117, 120, 0.34);
  background: rgba(168, 117, 120, 0.1);
  color: var(--ink);
}

.rsvpSlide {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  animation: rsvpStep 500ms ease both;
}

.rsvpSlide label,
.rsvpSlide fieldset {
  display: grid;
  gap: 9px;
  margin: 0;
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rsvpSlide input,
.rsvpSlide select,
.rsvpSlide textarea {
  width: 100%;
  border: 1px solid rgba(75, 62, 52, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.84);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font-geist-sans), "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  outline: none;
  padding: 14px 15px;
  text-transform: none;
}

.rsvpSlide textarea {
  min-height: 118px;
  resize: vertical;
}

.rsvpSlide input:focus,
.rsvpSlide select:focus,
.rsvpSlide textarea:focus {
  border-color: rgba(168, 117, 120, 0.64);
  box-shadow: 0 0 0 4px rgba(168, 117, 120, 0.1);
}

.attendanceCards {
  grid-column: 1 / -1;
  border: 0;
}

.attendanceCards legend {
  margin-bottom: 12px;
}

.attendanceCards label {
  display: inline-grid;
  min-height: 72px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(75, 62, 52, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.66);
  cursor: pointer;
}

.attendanceCards input {
  position: absolute;
  opacity: 0;
}

.attendanceCards .selected {
  border-color: rgba(168, 117, 120, 0.48);
  background: rgba(168, 117, 120, 0.12);
}

.reviewSlide {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
}

.rsvpReview,
.adminPanel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
}

.rsvpReview h3 {
  margin-top: 0;
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.rsvpReview p,
.adminPanel p {
  color: var(--soft-ink);
  line-height: 1.7;
}

.rsvpControls {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 26px;
}

.rsvpControls button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rsvpControls button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.formError {
  margin: 20px 0 0;
  color: #8a3636;
  font-weight: 800;
}

.rsvpSuccess {
  max-width: 760px;
  text-align: center;
}

.rsvpSuccess p:not(.sectionLabel) {
  color: var(--soft-ink);
  font-size: 1.1rem;
  line-height: 1.7;
}

.rsvpCardWizard {
  width: min(100%, 1040px);
  min-height: min(720px, 82svh);
  display: grid;
  align-content: start;
  padding: clamp(22px, 4vw, 42px) clamp(18px, 6vw, 72px) clamp(38px, 7vw, 76px);
  background: rgba(255, 253, 248, 0.96);
}

.rsvpCardWizard::before,
.rsvpCardWizard::after {
  display: none;
}

.rsvpWizardTop {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(54px, 8vw, 96px);
  text-align: center;
}

.rsvpWizardTop p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: 0.28em;
}

.rsvpBar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9e7eb;
}

.rsvpBar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
  transition: width 420ms ease;
}

.rsvpSingleSlide {
  width: min(100%, 560px);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 24px;
}

.apacheRsvpStep {
  display: none;
}

.apacheRsvpStep.isActive {
  display: grid;
}

.rsvpSingleSlide h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 3.6vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.09em;
  line-height: 1.16;
}

.rsvpSingleSlide > p {
  margin: 0;
  color: var(--soft-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.rsvpHint {
  margin-top: -8px !important;
  font-size: 0.98rem !important;
  font-style: italic;
}

.mealGuestList {
  display: grid;
  gap: 18px;
}

.inviteMatches,
.inviteCard {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(75, 62, 52, 0.14);
  background: rgba(255, 250, 242, 0.72);
}

.inviteMatches p,
.inviteCard p {
  margin: 0;
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inviteMatches button {
  appearance: none;
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid rgba(75, 62, 52, 0.16);
  background: rgba(255, 253, 248, 0.88);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.inviteMatches button.selected {
  border-color: rgba(173, 124, 137, 0.78);
  background: rgba(173, 124, 137, 0.12);
}

.inviteMatches span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.inviteMatches small,
.inviteCard small {
  color: var(--soft-ink);
  line-height: 1.45;
}

.inviteCard ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inviteCard li {
  padding: 12px 14px;
  border: 1px solid rgba(75, 62, 52, 0.12);
  background: rgba(255, 253, 248, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.06em;
}

.rsvpCardWizard .rsvpSlide label,
.rsvpCardWizard .rsvpSlide fieldset {
  color: var(--soft-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
}

.rsvpCardWizard .rsvpSlide input,
.rsvpCardWizard .rsvpSlide select,
.rsvpCardWizard .rsvpSlide textarea {
  border: 2px solid rgba(33, 28, 24, 0.72);
  border-radius: 2px;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  letter-spacing: 0.16em;
}

.rsvpEventDetails {
  display: grid;
  gap: 10px;
  color: var(--soft-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.rsvpEventDetails p {
  margin: 0;
}

.attendanceLine {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
}

.attendanceLine legend {
  float: left;
  min-width: 150px;
  margin: 0;
  padding-top: 20px;
  color: var(--ink);
  font-size: 1.2rem;
}

.attendanceLine label,
.mealCards label {
  display: grid;
  place-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 18px;
  border: 2px solid rgba(33, 28, 24, 0.84);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.attendanceLine .selected,
.mealCards .selected {
  border-color: rgba(173, 124, 137, 0.86);
  background: rgba(173, 124, 137, 0.13);
}

.mealCards {
  display: grid;
  gap: 12px;
  border: 0;
}

.mealCards input {
  position: absolute;
  opacity: 0;
}

.rsvpCardWizard .rsvpControls {
  width: min(100%, 560px);
  margin: 30px auto 0;
}

.rsvpCardWizard .rsvpControls button {
  border-radius: 2px;
  min-height: 60px;
  flex: 1 1 150px;
}

.rsvpCardWizard .primaryButton {
  margin-top: 0;
  background: var(--ink);
  color: var(--cream);
}

.rsvpJourney {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  padding: 0 0 clamp(72px, 10vw, 128px);
}

.rsvpJourney h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}

.rsvpJourney p {
  color: var(--soft-ink);
  line-height: 1.75;
}

.rsvpFlow {
  position: relative;
  display: grid;
  gap: 16px;
}

.rsvpFlow::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(var(--rose), var(--gold));
  opacity: 0.45;
}

.rsvpFlow article {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.78);
  box-shadow: 0 22px 68px rgba(40, 29, 21, 0.08);
  animation: rsvpStep 900ms ease both;
}

.rsvpFlow article:nth-child(2) {
  animation-delay: 160ms;
}

.rsvpFlow article:nth-child(3) {
  animation-delay: 320ms;
}

.rsvpFlow span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(168, 117, 120, 0.34);
  border-radius: 999px;
  background: var(--cream);
  color: var(--rose);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.08em;
}

.rsvpFlow h3 {
  margin-top: 5px;
}

.rsvpFlow p {
  margin: 10px 0 0;
}

.rsvpText {
  padding-bottom: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 96px);
}

.rsvpText > p:not(.sectionLabel) {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 1.1rem;
}

.rsvpOptions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.siteFooter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 34px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.7);
}

.siteFooter p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  letter-spacing: 0.08em;
}

.siteFooter span {
  display: block;
  margin-top: 8px;
  color: var(--soft-ink);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.siteFooter nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.siteFooter a {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dressGuide li::marker {
  color: var(--gold);
}

@keyframes reelDrift {
  from {
    transform: translateX(0) rotate(-2.5deg);
  }
  to {
    transform: translateX(-50%) rotate(-2.5deg);
  }
}

@keyframes reelDriftReverse {
  from {
    transform: translateX(-50%) rotate(2deg);
  }
  to {
    transform: translateX(0) rotate(2deg);
  }
}

@keyframes settleIn {
  from {
    opacity: 0;
    transform: translateY(calc(var(--cover-stack-y, 0px) + 26px)) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(var(--cover-stack-y, 0px)) scale(1);
  }
}

@keyframes titleLift {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealPhoto {
  from {
    opacity: 0;
    transform: translateY(50px) rotate(-2deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes revealText {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes poemDrift {
  from {
    transform: translateX(-10%);
  }
  to {
    transform: translateX(10%);
  }
}

@keyframes rsvpStep {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 860px) {
  .siteHeader {
    grid-template-columns: auto 1fr auto;
    padding: 14px;
    gap: 12px;
  }

  .menuButton {
    position: relative;
    z-index: 31;
    grid-column: 3;
    display: inline-flex;
    width: 48px;
    height: 48px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(184, 145, 86, 0.42);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.86);
    box-shadow: 0 12px 30px rgba(40, 29, 21, 0.1);
    cursor: pointer;
  }

  .menuButton span {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--ink);
    transform-origin: center;
    transition:
      transform 220ms ease,
      opacity 180ms ease;
  }

  .navToggle:checked + .menuButton span:nth-child(1) {
    transform: translateY(7px) rotate(42deg);
  }

  .navToggle:checked + .menuButton span:nth-child(2) {
    opacity: 0;
  }

  .navToggle:checked + .menuButton span:nth-child(3) {
    transform: translateY(-7px) rotate(-42deg);
  }

  .primaryNav {
    position: fixed;
    top: 87px;
    right: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: min(calc(100svh - 106px), 620px);
    overflow-y: auto;
    padding: 16px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(251, 248, 241, 0.98)),
      var(--paper);
    border: 1px solid rgba(184, 145, 86, 0.24);
    box-shadow: 0 22px 54px rgba(40, 29, 21, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transition:
      opacity 220ms ease,
      transform 220ms ease;
  }

  .primaryNav::before {
    content: "Jessica & Austin";
    padding: 8px 6px 14px;
    color: var(--gold);
    font-family: var(--font-geist-sans), "Helvetica Neue", Arial, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }

  .navToggle:checked ~ .primaryNav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .siteHeader a {
    font-size: 1.05rem;
  }

  .primaryNav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 13px 6px;
    border-top: 1px solid rgba(75, 62, 52, 0.12);
    font-size: clamp(1.02rem, 4.6vw, 1.38rem);
    letter-spacing: 0.14em;
  }

  .primaryNav a::after {
    display: none;
  }

  .siteCrest {
    width: 74px;
    height: 74px;
    flex: 0 0 auto;
  }

  .cover {
    min-height: calc(100svh - 98px);
    padding: 96px 14px 34px;
  }

  .coverPhotoStack {
    --cover-stack-y: 28px;
    width: min(96vw, 440px);
    height: 58vh;
  }

  .coverPhoto {
    border-width: 8px;
    border-bottom-width: 38px;
  }

  .coverPhotoMain {
    inset: 4% auto auto 16%;
    width: 68%;
    height: 74%;
  }

  .coverPhotoSide {
    inset: 26% 0 auto auto;
    width: 46%;
    height: 48%;
  }

  .coverPhotoSmall {
    inset: 42% auto auto 0;
    width: 42%;
    height: 34%;
  }

  .filmStrip {
    gap: 8px;
    top: -10px;
  }

  .filmStrip.reverse {
    display: none;
  }

  .filmFrame {
    width: 106px;
    border-width: 6px;
  }

  .coverText {
    inset: auto 14px 72px;
    width: calc(100% - 28px);
  }

  .cover h1 {
    font-size: clamp(2.85rem, 12vw, 4.65rem);
  }

  .pageSection,
  .subPage {
    width: min(100% - 28px, 1120px);
  }

  .pageHero h1,
  .dayCopy h2,
  .timelineSection h2,
  .dressGuide h2,
  .rsvpText h2 {
    font-size: clamp(1.9rem, 7.8vw, 2.85rem);
    letter-spacing: 0.06em;
  }

  .weddingDayPreview,
  .storyLayout,
  .travelHero,
  .registryPage,
  .rsvpHero,
  .dressGuide,
  .hotelList article {
    display: block;
  }

  .venueImage,
  .travelHero img,
  .registryPhotoPanel img,
  .rsvpHero img,
  .dressGuide img {
    margin-top: 32px;
    border-width: 8px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .countdown {
    width: min(100% - 28px, 1120px);
  }

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

  .countdown article {
    min-height: 118px;
  }

  .proposalInner,
  .poemCard,
  .rsvpJourney {
    display: block;
  }

  .proposalPhotos {
    min-height: 420px;
    margin-top: 34px;
  }

  .proposalMoment h2,
  .poemCard h2 {
    font-size: clamp(1.9rem, 7.8vw, 2.85rem);
  }

  .poemText {
    column-count: 1;
    margin-top: 28px;
  }

  .storyPhotos {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
    margin-bottom: 24px;
  }

  .storyPhotos img {
    position: relative;
    inset: auto;
    width: 100%;
    border-width: 7px;
    transform: none;
  }

  .storyPhotos img:nth-child(1) {
    grid-row: span 2;
  }

  .storyPhotos img:nth-child(2) {
    top: auto;
  }

  .storyPhotos img:nth-child(3) {
    top: auto;
  }

  .storyText {
    padding-top: 8px;
  }

  .galleryGrid {
    columns: 2 150px;
    column-gap: 8px;
  }

  .galleryGrid figure {
    margin-bottom: 8px;
  }

  .galleryGrid img {
    min-height: 0;
  }

  .partyGrid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hotelList a {
    margin-top: 20px;
  }

  .hotelPhoto {
    margin-bottom: 22px;
  }

  .hotelNumber {
    margin-bottom: 14px;
  }

  .hotelActions {
    justify-content: flex-start;
    margin-top: 0;
  }

  .registryEnvelope {
    width: 100%;
    margin-top: 0;
    border-left: 0;
    border-top: 1px solid rgba(75, 62, 52, 0.14);
  }

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

  .registryPhotoPanel {
    min-height: auto;
  }

  .registryPhotoPanel img {
    height: auto;
    min-height: 0;
    margin-top: 0;
  }

  .dressInspiration {
    padding: 8px;
  }

  .dressInspiration img {
    aspect-ratio: 4 / 3.1;
  }

  .dressMoodBoard {
    min-height: 390px;
    margin-top: 32px;
    border-width: 8px;
  }

  .vibeCards,
  .outfitBoard,
  .registryNoteGrid,
  .rsvpOptions {
    grid-template-columns: 1fr;
  }

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

  .rsvpSlide,
  .reviewSlide {
    grid-template-columns: 1fr;
  }

  .rsvpWizardHeader {
    display: block;
  }

  .rsvpCardWizard {
    min-height: auto;
    padding-inline: 18px;
  }

  .rsvpWizardTop {
    margin-bottom: 44px;
  }

  .rsvpSingleSlide h2 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
    letter-spacing: 0.08em;
  }

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

  .attendanceLine legend {
    float: none;
    min-width: 0;
    padding-top: 0;
  }

  .rsvpControls {
    justify-content: stretch;
  }

  .rsvpControls button {
    flex: 1 1 150px;
  }

  .lightboxFrame img {
    max-height: 72svh;
    border-width: 7px;
  }

  .lightboxNav {
    top: auto;
    bottom: -58px;
    transform: none;
  }

  .lightboxNav.previous {
    left: 0;
  }

  .lightboxNav.next {
    right: 0;
  }

  .siteFooter {
    display: block;
    padding: 30px 18px;
  }

  .siteFooter nav {
    justify-content: flex-start;
    margin-top: 24px;
  }
}
