:root {
  --wine-950: #160004;
  --wine-900: #260007;
  --wine-800: #3b020c;
  --wine-700: #5c0716;
  --red: #c81435;
  --red-hot: #f02a53;
  --cream: #f6ead4;
  --cream-soft: #fff7e9;
  --ink: #241216;
  --muted: rgba(255, 247, 233, .72);
  --line: rgba(255, 255, 255, .16);
  --shadow: 0 30px 80px rgba(0, 0, 0, .36);
  --paper-shadow: 0 22px 50px rgba(15, 0, 4, .34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cream-soft);
  background:
    radial-gradient(circle at 20% 6%, rgba(168, 18, 43, .26), transparent 32rem),
    radial-gradient(circle at 85% 28%, rgba(94, 2, 14, .55), transparent 36rem),
    linear-gradient(145deg, var(--wine-950), var(--wine-900) 48%, #0b0002);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,.045) 43%, transparent 44% 100%),
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.08), transparent 32rem);
  mix-blend-mode: soft-light;
  opacity: .75;
}

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

.orb {
  position: fixed;
  pointer-events: none;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: rgba(200, 20, 53, .22);
  filter: blur(80px);
  z-index: -1;
}
.orb-one { top: 18%; left: -8rem; }
.orb-two { bottom: 8%; right: -10rem; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(calc(100% - 32px), var(--container));
  margin: 18px auto 0;
  padding: 12px 14px 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 0, 4, .64);
  box-shadow: 0 14px 45px rgba(0, 0, 0, .25);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--cream-soft);
  font-family: Pacifico, cursive;
  font-size: 22px;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  color: rgba(255, 247, 233, .82);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .2s ease;
}
.nav a:hover { color: #fff; }

.section {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 90px);
  padding: 74px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: rgba(255, 247, 233, .72);
}
.eyebrow.red { color: var(--red); }

h1, h2, p { margin-top: 0; }
h1 {
  margin-bottom: 22px;
  line-height: .94;
  letter-spacing: -.06em;
}
h1 span {
  display: block;
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 500;
  text-transform: uppercase;
}
h1 strong {
  display: block;
  margin-top: 8px;
  color: var(--red-hot);
  font-family: Pacifico, cursive;
  font-size: clamp(50px, 7vw, 108px);
  font-weight: 400;
  letter-spacing: -.03em;
  text-shadow: 0 16px 48px rgba(240, 42, 83, .24);
}

.hero-subtitle {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--muted);
  font-family: Pacifico, cursive;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.38;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  color: rgba(255, 247, 233, .9);
  font-size: 16px;
  font-weight: 600;
}
.location-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 247, 233, .5);
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.location-link:hover { color: var(--red-hot); }
.location-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}
.location-link-card strong,
.location-link-card small {
  text-decoration: underline;
  text-decoration-color: rgba(92, 7, 22, .28);
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.location-link-card:hover strong,
.location-link-card:hover small { color: var(--red); }
.hero-meta i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--red-hot);
}

.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-main, .btn-small {
  background: linear-gradient(135deg, var(--red-hot), #9a0018);
  box-shadow: 0 18px 42px rgba(200, 20, 53, .34), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-main { min-width: 260px; min-height: 64px; font-size: 18px; }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 13px; white-space: nowrap; }
.btn-outline {
  color: var(--cream-soft);
  border: 1px solid rgba(255, 247, 233, .46);
  background: rgba(200, 20, 53, .18);
}

.hero-art {
  position: relative;
  min-height: 650px;
}
.poster-frame,
.girl-card,
.section-photo,
.rsvp-photo {
  margin: 0;
  background: var(--cream-soft);
  border: 10px solid var(--cream-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.poster-frame img,
.girl-card img,
.section-photo img,
.rsvp-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main-poster {
  position: absolute;
  top: 0;
  right: 0;
  width: min(78%, 520px);
  height: 620px;
  border-radius: 28px;
  transform: rotate(2.2deg);
}
.main-poster img { object-position: center; }

.mini-childhood {
  position: absolute;
  left: 0;
  bottom: 32px;
  width: 310px;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  transform: rotate(-4deg);
}
.mini-childhood img {
  filter: grayscale(1);
}
.mini-childhood figcaption,
.girl-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px 12px;
  color: var(--ink);
  background: linear-gradient(transparent, rgba(255, 247, 233, .96) 48%);
  font-family: Pacifico, cursive;
  font-size: 22px;
  text-align: center;
}
.girl-card figcaption.girl-name {
  padding: 18px 12px 20px;
  font-size: 38px;
}

.info-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 10px;
  padding: 28px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cream-soft), var(--cream));
  border-radius: var(--radius-xl);
  box-shadow: var(--paper-shadow);
}
.info-card article {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-right: 1px dashed rgba(92, 7, 22, .22);
}
.info-card article:last-child { border-right: 0; }
.icon {
  color: var(--red);
  font-size: 34px;
  line-height: 1;
}
.info-card p {
  margin: 12px 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.info-card strong { font-size: 20px; }
.info-card small { margin-top: 6px; color: rgba(36, 18, 22, .68); font-size: 15px; }

.section-heading {
  text-align: center;
  margin-bottom: 34px;
}
.section-heading h2,
.cream-card h2,
.wishlist h2,
.rsvp-card h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: .98;
  letter-spacing: -.04em;
}

.birthday-girls { padding: 94px 0 42px; }
.girls-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 390px));
  justify-content: center;
  gap: 42px;
}
.girl-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.girl-card {
  position: relative;
  height: 500px;
  width: 100%;
  border-radius: 26px;
}
.girl-card img { object-position: center 25%; }
.girl-card.tilt-left img { object-position: 65% 30%; }
.girl-card.tilt-right img { object-position: center 15%; }
.anya-photo {
  transform: scale(1.55);
  object-position: center 22%;
}
.tilt-left { transform: rotate(-1.6deg); }
.tilt-right { transform: rotate(1.7deg); }
.girl-wishlist {
  min-width: 240px;
  min-height: 62px;
  padding: 0 34px;
  font-size: 17px;
}

.split-section {
  padding: 46px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: stretch;
}
.split-section-reverse { grid-template-columns: 360px minmax(0, 1fr); }
.cream-card {
  color: var(--ink);
  background: linear-gradient(135deg, var(--cream-soft), var(--cream));
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius-xl);
  box-shadow: var(--paper-shadow);
}
.text-card,
.dress-card,
.rsvp-card { padding: clamp(28px, 5vw, 54px); }
.star-list {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
  font-weight: 650;
}
.star-list li { display: flex; gap: 12px; align-items: flex-start; }
.star-list li::before { content: "★"; color: var(--red); }
.section-photo {
  min-height: 460px;
  border-radius: 26px;
  transform: rotate(1.6deg);
}
.photo-program img { object-position: center; }

.dress-standalone { padding: 46px 0; display: flex; justify-content: center; }
.dress-standalone .dress-card {
  max-width: 680px;
  width: 100%;
  text-align: center;
}
.dress-standalone .color-row { justify-content: center; }
.dress-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 18px 22px;
  border: 1px dashed rgba(200, 20, 53, .4);
  border-radius: var(--radius-md);
  background: rgba(200, 20, 53, .08);
  text-align: left;
}
.dress-note-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.dress-note p {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}
.dress-note strong { color: var(--red); }

.dress-card p:not(.eyebrow) { color: rgba(36, 18, 22, .72); font-size: 18px; line-height: 1.6; }
.color-row { display: flex; gap: 20px; margin-top: 36px; }
.color-heart {
  width: 74px;
  height: 74px;
  display: block;
  transform: rotate(-45deg);
  border-radius: 18px 18px 8px 18px;
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
}
.color-heart::before,
.color-heart::after {
  content: "";
  position: absolute;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: inherit;
}
.color-heart::before { top: -37px; left: 0; }
.color-heart::after { left: 37px; top: 0; }
.red-heart { background: #c81435; }
.white-heart { background: #fffaf0; }
.black-heart { background: #111; }

.wishlist {
  margin-top: 46px;
  padding: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  border: 1px solid rgba(255, 247, 233, .18);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(92, 7, 22, .82), rgba(22, 0, 4, .76));
  box-shadow: var(--shadow);
}
.wishlist p:not(.eyebrow) { color: var(--muted); margin: 0; }
.wishlist-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.wishlist-actions small {
  width: 100%;
  text-align: center;
  color: var(--muted);
}

.rsvp-section {
  padding: 58px 0 42px;
  display: flex;
  justify-content: center;
}
.rsvp-card { position: relative; z-index: 2; max-width: 760px; width: 100%; }
.rsvp-copy { text-align: center; }
.rsvp-copy p:not(.eyebrow) { color: rgba(36, 18, 22, .68); }
.rsvp-form {
  display: grid;
  gap: 16px;
  width: min(100%, 650px);
  margin: 28px auto 0;
}
.rsvp-form label span,
.rsvp-form legend {
  display: block;
  margin-bottom: 8px;
  color: rgba(36, 18, 22, .72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
input,
textarea,
fieldset {
  width: 100%;
  border: 1px solid rgba(36, 18, 22, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
  font: inherit;
  outline: none;
}
input { height: 54px; padding: 0 16px; }
textarea { min-height: 112px; padding: 16px; resize: vertical; }
input:focus,
textarea:focus,
fieldset:focus-within { border-color: rgba(200, 20, 53, .55); box-shadow: 0 0 0 4px rgba(200, 20, 53, .12); }
fieldset { margin: 0; padding: 16px; }
.radio-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: var(--ink);
}
.radio-line input { width: 18px; height: 18px; accent-color: var(--red); }
.rsvp-form .btn-main { width: 100%; min-height: 58px; }
.form-message { min-height: 24px; margin: 0; text-align: center; color: var(--red); font-weight: 800; }
.rsvp-photos {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}
.rsvp-photo {
  height: 200px;
  width: 260px;
  border-radius: 24px;
}
.rsvp-photo-anya { transform: rotate(-4deg) translateX(10px); }
.rsvp-photo-liza { transform: rotate(4deg) translateX(-16px); }

.footer {
  padding: 18px 0 62px;
  text-align: center;
  color: var(--cream-soft);
  font-family: Pacifico, cursive;
  font-size: clamp(22px, 3vw, 34px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav { display: none; }
  .header { width: min(calc(100% - 24px), var(--container)); }
  .hero {
    min-height: auto;
    padding-top: 52px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-art { min-height: 640px; }
  .main-poster { left: 8%; right: auto; width: 78%; height: 560px; }
  .mini-childhood { width: 280px; bottom: 4px; left: 0; }
  .split-section,
  .split-section-reverse,
  .rsvp-section,
  .wishlist { grid-template-columns: 1fr; }
  .split-section-reverse .section-photo { order: 2; }
  .section-photo { min-height: 520px; }
  .wishlist-actions { justify-content: flex-start; }
  .rsvp-photos { display: none; }
}

@media (max-width: 640px) {
  .section { width: min(calc(100% - 22px), var(--container)); }
  .header { padding: 10px 10px 10px 16px; }
  .brand { font-size: 19px; }
  .btn-small { min-height: 40px; padding: 0 14px; font-size: 12px; }
  .hero { padding-top: 38px; }
  .hero-copy { text-align: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-meta { justify-content: center; font-size: 14px; }
  .btn-main { width: 100%; min-width: 0; }
  .hero-art { min-height: 520px; }
  .main-poster { left: 3%; width: 92%; height: 440px; border-width: 7px; border-radius: 22px; }
  .mini-childhood { width: 230px; bottom: 0; left: 50%; transform: translateX(-50%) rotate(-3deg); border-width: 7px; }
  .mini-childhood figcaption { font-size: 18px; }
  .info-card { grid-template-columns: 1fr; padding: 12px; }
  .info-card article { min-height: 118px; border-right: 0; border-bottom: 1px dashed rgba(92, 7, 22, .22); }
  .info-card article:last-child { border-bottom: 0; }
  .birthday-girls { padding-top: 66px; }
  .girls-grid { grid-template-columns: 1fr; gap: 24px; }
  .girl-card { height: 430px; border-width: 8px; }
  .girl-card figcaption.girl-name { font-size: 30px; padding: 14px 10px 16px; }
  .girl-col { gap: 16px; }
  .girl-wishlist { width: 100%; min-height: 58px; font-size: 16px; }
  .split-section { padding: 26px 0; gap: 18px; }
  .dress-standalone { padding: 26px 0; }
  .dress-note { margin-top: 22px; padding: 14px 16px; gap: 10px; }
  .dress-note p { font-size: 14px; }
  .text-card, .dress-card, .rsvp-card, .wishlist { padding: 24px; }
  .section-photo { min-height: 430px; border-width: 8px; }
  .color-row { justify-content: center; gap: 18px; }
  .color-heart { width: 52px; height: 52px; border-radius: 13px 13px 7px 13px; }
  .color-heart::before, .color-heart::after { width: 52px; height: 52px; }
  .color-heart::before { top: -26px; }
  .color-heart::after { left: 26px; }
  .wishlist { margin-top: 26px; text-align: center; }
  .wishlist-actions { justify-content: center; }
  .wishlist-actions .btn { width: 100%; }
  .rsvp-section { padding-top: 34px; }
  .rsvp-form { gap: 14px; }
  .footer { padding-bottom: 42px; }
}
