/* Joshua & Lucia — letterpress stationery aesthetic
   cream paper · gold foil · embossed leaves · wide-tracked serif caps
   Cormorant Garamond (display) · EB Garamond (body) · Pinyon Script (accents) */

:root {
  --paper: #f2eee6;
  --paper-soft: #faf8f2;
  --ink: #3b3a36;
  --ink-soft: #5c5952;
  --muted: #8a8478;
  --gold: #a8843c;
  --gold-soft: #c9a86a;
  --gold-line: #d9cbaa;
  --emboss: #e9e4d8;
  --dark: #37322b;
  --dark-2: #2c2823;
  --cream-on-dark: #ece5d6;
  --line: #e2dccd;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 68px; overflow-x: clip; }

body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18.5px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

/* paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .025;
}

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

/* ================= live banner ================= */
.live-banner[hidden] { display: none; }
.live-banner {
  display: block; text-align: center;
  background: #8e2f22; color: var(--cream-on-dark);
  font-weight: 600; letter-spacing: 2.5px; font-size: 13px; text-transform: uppercase;
  padding: 12px 16px; text-decoration: none;
}
.live-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; margin-right: 8px; animation: pulse 1.2s infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

/* ================= nav ================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 22px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.nav.scrolled, .nav.open {
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav-brand {
  flex: 0 0 auto; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.nav-brand img { width: 36px; height: 36px; object-fit: contain; display: block; }
.nav-links {
  display: flex; gap: clamp(12px, 2vw, 26px);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: 2.4px; text-transform: uppercase;
  padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); border-bottom-color: var(--gold-soft); }

/* hamburger — phones only */
.nav-burger {
  display: none;
  margin-left: auto;
  background: none; border: 0; cursor: pointer;
  padding: 10px; width: 44px; height: 44px;
}
.nav-burger span {
  display: block; height: 2px; width: 24px; margin: 5px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav.open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav { flex-wrap: wrap; }
  .nav-burger { display: block; }
  .nav-links {
    display: none;
    flex-basis: 100%; flex-direction: column; gap: 0;
    padding: 8px 0 14px; overflow: visible;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a {
    padding: 14px 4px; border-bottom: 1px solid var(--line);
    font-size: 13px; min-height: 44px;
    display: flex; align-items: center;
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a.active { border-bottom-color: var(--line); }
}

/* ================= cover — the save-the-date card ================= */
.cover {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 108px 0 96px;
  background: radial-gradient(130% 100% at 50% 0%, var(--paper-soft) 0%, var(--paper) 100%);
  overflow: hidden;
}
.cover-damask {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("../assets/floral-cream-gold.png");
  background-size: clamp(320px, 34vw, 460px) auto;
  background-repeat: repeat;
  opacity: .025;
}
.section-floral .cover-damask {
  opacity: .04;
}
.cover-inner {
  position: relative; z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
  left: auto; right: auto;
}

/* static gold emblem — no draw-in, no spin */
.hero-mark {
  width: clamp(132px, 22vw, 200px); height: auto; aspect-ratio: 1;
  margin: 0 auto 28px; display: block;
  filter: drop-shadow(0 10px 18px rgba(122, 92, 40, .16));
  pointer-events: none; user-select: none;
}
.cover .hero-mark {
  margin: 0 auto 28px; display: block;
}
.fund-mark {
  width: clamp(88px, 16vw, 132px);
  margin: 0 auto 28px; display: block;
  filter: drop-shadow(0 12px 28px rgba(55, 50, 43, .45));
}
.hero-mark-legal { width: clamp(72px, 14vw, 96px); margin-bottom: 18px; }
.footer-mark {
  width: 72px; height: 72px; margin: 0 auto 22px; display: block;
  pointer-events: none; user-select: none;
}

.cover-script {
  font-family: var(--script); font-size: clamp(30px, 5vw, 44px);
  color: var(--gold); line-height: 1.1;
  opacity: 0; animation: coverRise 1s ease .35s forwards;
}
.cover-names {
  margin-top: 18px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(34px, 7.4vw, 66px);
  letter-spacing: clamp(4px, 1.4vw, 12px);
  margin-right: calc(-1 * clamp(4px, 1.4vw, 12px));
  text-transform: uppercase; color: var(--ink); line-height: 1.15;
  opacity: 0; animation: coverRise 1s ease .55s forwards;
}
.cover-date {
  margin-top: 22px;
  font-family: var(--display);
  font-size: clamp(16px, 2.6vw, 22px); font-weight: 500;
  letter-spacing: clamp(3px, .9vw, 7px);
  margin-right: calc(-1 * clamp(3px, .9vw, 7px));
  text-transform: uppercase; color: var(--ink-soft);
  opacity: 0; animation: coverRise 1s ease .75s forwards;
}
.cover-date .bar { color: var(--gold-soft); padding: 0 .35em; font-weight: 400; }
.cover-rule {
  width: 74px; height: 1px; background: var(--gold-soft);
  margin: 26px auto 0; position: relative;
  opacity: 0; animation: coverRise 1s ease .9s forwards;
}
.cover-rule::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
  background: var(--gold-soft); transform: translate(-50%, -50%) rotate(45deg);
}
.cover-place {
  margin-top: 24px; font-style: italic;
  font-size: clamp(15.5px, 2.3vw, 19px); letter-spacing: 2.5px; color: var(--ink-soft);
  opacity: 0; animation: coverRise 1s ease 1.05s forwards;
}
@keyframes coverRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .cover-script, .cover-names, .cover-date, .cover-rule, .cover-place, .cover-hint { opacity: 1; animation: none; }
}

.cover-hint {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10.5px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  opacity: 0; animation: coverRise 1s ease 1.3s forwards;
}
.cover-hint-line {
  width: 1px; height: 32px; background: var(--gold-soft);
  animation: hintSlide 1.6s ease-in-out 2.4s infinite;
}
@keyframes hintSlide {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================= embossed leaves (blind letterpress) ================= */
.has-emboss { overflow: hidden; }
.emboss {
  position: absolute; z-index: 0; pointer-events: none;
  color: var(--emboss);
  filter: drop-shadow(1px 1px 0 rgba(255, 255, 255, .85)) drop-shadow(-1px -1px 1px rgba(59, 58, 54, .1));
}
.emboss svg { width: 100%; height: auto; display: block; fill: currentColor; }

/* ================= sections ================= */
.section {
  position: relative;
  padding: clamp(76px, 10vw, 130px) clamp(20px, 6vw, 64px);
  max-width: 980px; margin: 0 auto; text-align: center;
}
.sec-script {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 42px); letter-spacing: 0;
  color: var(--gold); line-height: 1.15;
}
.sec-script.light { color: var(--gold-soft); }
.sec-title {
  font-family: var(--display);
  font-weight: 500; font-size: clamp(28px, 5vw, 46px);
  letter-spacing: clamp(4px, 1.1vw, 9px); text-transform: uppercase;
  color: var(--ink); margin: 10px 0 26px;
}
.sec-title.light { color: var(--cream-on-dark); }
.sec-rule {
  width: 64px; height: 1px; background: var(--gold-soft);
  margin: -8px auto 26px; position: relative;
}
.sec-rule::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px;
  background: var(--gold-soft); transform: translate(-50%, -50%) rotate(45deg);
}
.sec-body { max-width: 620px; margin: 0 auto 20px; color: var(--ink-soft); font-size: clamp(16px, 2.3vw, 18px); }
.sec-body b { color: var(--gold); font-weight: 600; }

.section-dark {
  max-width: none;
  background: linear-gradient(180deg, var(--dark), var(--dark-2));
  color: var(--cream-on-dark);
}
.section-dark.section-floral {
  background: linear-gradient(180deg, var(--dark), var(--dark-2));
  overflow: hidden;
}
.section-dark .sec-body { color: #cfc6b4; }
.section-dark .sec-body b { color: var(--gold-soft); }

/* ================= background silhouettes ================= */
.has-sil { overflow: hidden; }
.sil, .sil-svg {
  position: absolute; z-index: 0; pointer-events: none;
  opacity: 0; transform: translateY(30px) scale(.97);
  transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.2, .7, .3, 1);
}
.sil.in, .sil-svg.in { opacity: var(--sil-op, .1); transform: none; }
.sil {
  background: var(--sil-color, var(--gold));
  -webkit-mask: var(--sil-img) no-repeat center / var(--sil-fit, contain);
          mask: var(--sil-img) no-repeat center / var(--sil-fit, contain);
}
.sil-svg { color: var(--sil-color, var(--gold)); }
.sil-svg svg { width: 100%; height: 100%; display: block; }
.sil-draw { clip-path: inset(0 100% 0 0); transition: clip-path 2.8s ease, opacity 1.4s ease; }
.sil-draw.in { clip-path: inset(0 0 0 0); }
.section > *:not(.sil):not(.sil-svg):not(.emboss):not(.cover-damask) { position: relative; z-index: 1; }

/* ================= countdown ================= */
.countdown {
  display: flex; justify-content: center; gap: clamp(10px, 3vw, 22px);
  margin: 46px 0 38px;
}
.countdown div {
  min-width: clamp(72px, 14vw, 96px);
  background: var(--paper-soft); border: 1px solid var(--gold-line); border-radius: 4px;
  padding: 18px 8px 14px;
  box-shadow: 0 12px 26px -20px rgba(59, 58, 54, .5);
}
.countdown b {
  display: block; font-weight: 500; font-family: var(--display);
  font-size: clamp(26px, 5vw, 40px); color: var(--ink);
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.countdown span { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); }

/* ================= buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; line-height: 1;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase; text-align: center;
  color: var(--paper-soft); background: var(--ink);
  padding: 18px 44px 17px; border-radius: 2px; border: 1px solid var(--ink); cursor: pointer;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .18s ease;
}
.btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn-light { background: var(--cream-on-dark); color: var(--dark); border-color: var(--cream-on-dark); }
.btn-light:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--dark); }
.btn-live { background: #8e2f22; border-color: #8e2f22; font-size: 14px; padding: 18px 44px; }
.btn-live:hover { background: #a53a2b; border-color: #a53a2b; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--gold-line); }
.btn-ghost:hover { background: var(--paper-soft); color: var(--ink); border-color: var(--gold-soft); transform: none; }
.cover-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.quiet-ctas {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 8px auto 28px; max-width: 560px;
}
.quiet-ctas .btn { padding: 12px 28px 11px; font-size: 12px; letter-spacing: 2.2px; }

/* ================= our story ================= */
.story-text { max-width: 620px; margin: 4px auto 0; }
.story-text p { color: var(--ink-soft); font-size: clamp(16px, 2.3vw, 18px); margin-bottom: 18px; }
.story-verse {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 3.4vw, 30px); color: var(--gold); line-height: 1.35;
  margin-top: 28px !important;
}
.story-verse span {
  display: block; font-family: var(--serif); font-style: normal;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); margin-top: 8px;
}

/* ================= polaroids ================= */
.polaroid {
  --tilt: 3deg;
  --drift: 0px;
  width: clamp(150px, 15vw, 215px);
  background: #fffdf8;
  padding: 10px 10px 38px;
  box-shadow: 0 18px 38px -14px rgba(59, 58, 54, .45);
  transform: translateY(var(--drift)) rotate(var(--tilt));
  will-change: transform;
  z-index: 6;
  position: relative;
}
.polaroid::before {
  content: "";
  position: absolute; top: -12px; left: 50%;
  width: 74px; height: 24px;
  transform: translateX(-50%) rotate(-5deg);
  background: rgba(224, 214, 190, .85);
  box-shadow: 0 2px 5px rgba(59, 58, 54, .18);
}
.polaroid img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .polaroid:hover { animation: polaroidShake .55s ease; }
}
@keyframes polaroidShake {
  0%   { transform: translateY(var(--drift)) rotate(var(--tilt)); }
  20%  { transform: translateY(var(--drift)) rotate(calc(var(--tilt) + 4deg)); }
  45%  { transform: translateY(var(--drift)) rotate(calc(var(--tilt) - 3.5deg)); }
  70%  { transform: translateY(var(--drift)) rotate(calc(var(--tilt) + 2deg)); }
  100% { transform: translateY(var(--drift)) rotate(var(--tilt)); }
}
.polaroid-row {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(8px, 2.5vw, 34px); flex-wrap: wrap;
  margin-top: 50px;
}
.polaroid-row .polaroid { width: clamp(150px, 21vw, 244px); }
.polaroid-row .polaroid:nth-child(2) { margin-top: clamp(18px, 3vw, 40px); }

/* ================= venue ================= */
.venue-card {
  max-width: 520px; margin: 20px auto 0;
  background: rgba(236, 229, 214, .05);
  border: 1px solid rgba(201, 168, 106, .35);
  border-radius: 4px;
  padding: clamp(32px, 5vw, 48px);
  backdrop-filter: blur(3px);
}
.venue-name { font-family: var(--display); font-size: clamp(24px, 4vw, 32px); font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--cream-on-dark); }
.venue-addr { margin: 14px 0 6px; font-size: 18px; color: #d8cfbc; }
.venue-note { font-size: 15px; color: #b3a88f; margin-bottom: 26px; }

/* ================= timeline ================= */
.timeline {
  max-width: 560px; margin: 40px auto 0; text-align: left;
  position: relative;
}
.t-item {
  display: grid; grid-template-columns: 130px 34px 1fr;
  gap: 0 6px; position: relative; padding-bottom: 44px;
}
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
  content: ""; position: absolute; left: 146px; top: 22px; bottom: -4px;
  width: 1px; background: var(--gold-line);
}
.t-item:last-child::before { display: none; }
.t-time {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); text-align: right; padding-top: 3px; line-height: 1.5;
}
.t-dot {
  width: 9px; height: 9px;
  background: var(--gold-soft); transform: rotate(45deg);
  margin: 8px auto 0; position: relative; z-index: 1;
}
.t-body h3 { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: 1px; }
.t-body p { color: var(--ink-soft); font-size: 15.5px; margin-top: 4px; }
.t-body p b { color: var(--gold); font-weight: 600; }
@media (max-width: 560px) {
  .t-item { grid-template-columns: 92px 28px 1fr; }
  .t-item::before { left: 105px; }
  .t-time { font-size: 11px; }
}

/* ================= live ================= */
.live-box {
  max-width: 640px; margin: 10px auto 0;
  border: 1px dashed rgba(201, 168, 106, .5); border-radius: 4px;
  padding: clamp(36px, 6vw, 60px);
}
.live-box p { color: #cfc6b4; }
.live-badge-idle { font-weight: 700; letter-spacing: 2px; font-size: 12px; text-transform: uppercase; color: #b3a88f; margin-bottom: 14px; }
.live-badge-on { font-weight: 700; letter-spacing: 2px; font-size: 14px; text-transform: uppercase; color: #e08a72; margin-bottom: 20px; animation: pulse 1.2s infinite; }

/* ================= message wall ================= */
.wall {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.5vw, 24px);
  max-width: 900px; margin: 40px auto 10px; align-items: start;
}
.wall-slot { min-height: 190px; display: flex; }
.wall-card {
  flex: 1;
  background: var(--paper-soft);
  border: 1px solid var(--gold-line); border-radius: 4px;
  padding: 26px 24px 22px; text-align: left;
  box-shadow: 0 14px 30px -22px rgba(59, 58, 54, .5);
  opacity: 0; transform: translateY(18px) rotate(var(--card-tilt, 0deg)) scale(.98);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .3, 1);
  position: relative;
}
.wall-slot:nth-child(1) .wall-card { --card-tilt: -1.2deg; }
.wall-slot:nth-child(3) .wall-card { --card-tilt: 1.2deg; }
.wall-card.show { opacity: 1; transform: rotate(var(--card-tilt, 0deg)); }
.wall-card::before {
  content: "”";
  position: absolute; top: 6px; right: 16px;
  font-family: var(--display); font-size: 54px; line-height: 1; color: var(--gold-line);
}
.wall-text { font-size: 16.5px; color: var(--ink-soft); line-height: 1.6; font-style: italic; }
.wall-name {
  margin-top: 14px; font-family: var(--script); font-size: 24px; color: var(--gold); line-height: 1.2;
}
@media (max-width: 760px) {
  .wall { grid-template-columns: 1fr; max-width: 460px; }
  .wall-slot { min-height: 0; }
  .wall-slot:nth-child(3) { display: none; }  /* two rotating cards on phones */
}

/* message form */
.msg-form { max-width: 560px; margin: 44px auto 0; text-align: left; }

/* ================= forms (shared) ================= */
.field { margin-bottom: 24px; }
.field > label:not(.choice), .field .label {
  display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; color: var(--gold); margin-bottom: 8px;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; min-height: 48px; padding: 14px 18px; font: inherit; color: var(--ink);
  background: var(--paper-soft); border: 1px solid var(--gold-line); border-radius: 3px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(168, 132, 60, .15);
}
.phone-row { display: block; }
.field-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.choice-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 10px;
}
.choice {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px; cursor: pointer;
  background: var(--paper-soft); border: 1px solid var(--gold-line); border-radius: 3px;
  padding: 14px 16px; font-size: 16px; font-weight: 500; line-height: 1.35;
  min-height: 48px;
  transition: border-color .15s, background .15s;
}
.choice span { flex: 1; }
.choice:hover { border-color: var(--gold); }
.choice:has(input:checked) { border-color: var(--gold); background: #f4ecdd; }
.choice input { accent-color: var(--gold); width: 17px; height: 17px; flex: 0 0 auto; }
.choice-wide { grid-column: 1 / -1; width: 100%; }
.choice-consent { align-items: flex-start; }
.choice-consent input { margin-top: 3px; }
.choice-live { border-color: var(--gold-soft); background: #f7f1e4; }
.notify-nudge .choice-live {
  border-color: var(--gold); background: #f4ecdd;
  box-shadow: 0 0 0 4px rgba(168, 132, 60, .12);
}
.optional { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
@media (max-width: 560px) { .choice-row { grid-template-columns: 1fr; } }

.form-status { margin-top: 18px; font-weight: 600; min-height: 1.4em; text-align: center; }
.form-status.ok { color: #5a7a44; }
.form-status.err { color: #a53a2b; }
.section-dark .form-status.ok { color: #b9cf9e; }

/* ================= gifts ================= */
.gift-verse {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: clamp(21px, 3.2vw, 28px); color: var(--gold-soft); line-height: 1.35;
  margin: 6px auto 40px; max-width: 620px;
}
.gift-verse span {
  display: block; font-family: var(--serif); font-style: normal;
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #b3a88f; margin-top: 8px;
}
.gift-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px; max-width: 1080px; margin: 0 auto;
}
.gift-card {
  background: rgba(236, 229, 214, .05);
  border: 1px solid rgba(201, 168, 106, .35);
  border-radius: 4px; padding: 28px 26px; text-align: left;
  backdrop-filter: blur(3px);
}
.gift-card h3 {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 700; margin-bottom: 16px;
}
.gift-line { margin-bottom: 14px; }
.gift-line:last-child { margin-bottom: 0; }
.gift-line span { display: block; font-size: 13.5px; color: #b3a88f; }
.gift-line b {
  display: block; font-size: clamp(17px, 2.3vw, 20px); font-weight: 500;
  color: var(--cream-on-dark); letter-spacing: .5px; font-variant-numeric: tabular-nums;
}
.gift-line .copy {
  display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  background: none; border: 0; padding: 8px 0; cursor: pointer; text-align: left;
  min-height: 44px;
  font-family: var(--serif); font-size: clamp(17px, 2.3vw, 20px); font-weight: 500;
  color: var(--cream-on-dark); letter-spacing: .5px; font-variant-numeric: tabular-nums;
}
.gift-line .copy em {
  font-style: normal; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid rgba(201, 168, 106, .5); border-radius: 99px; padding: 2px 8px;
  transition: color .2s, border-color .2s;
}
.gift-line .copy:hover em { color: var(--cream-on-dark); border-color: var(--cream-on-dark); }
.gift-line .copy.copied em { color: #b9cf9e; border-color: #b9cf9e; }
.gift-note { font-size: 13.5px; color: #b3a88f; margin-top: 12px; }

.gift-venmo { display: flex; flex-direction: column; align-items: flex-start; }
.venmo-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #3d95ce; color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; letter-spacing: .5px;
  padding: 11px 20px 11px 12px; border-radius: 6px; margin-bottom: 16px;
  transition: transform .15s ease, background .15s ease;
}
.venmo-btn:hover { background: #2f82b8; transform: translateY(-1px); }
.venmo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px; background: #fff; color: #3d95ce;
  font-weight: 700; font-style: italic; font-size: 18px; font-family: Georgia, serif;
}
.gift-foot {
  max-width: 560px; margin: 34px auto 0;
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 2.6vw, 23px); color: #d8cfbc;
}

/* ================= q&a ================= */
.faq-list { max-width: 640px; margin: 20px auto 0; text-align: left; }
.faq-list details {
  background: var(--paper-soft); border: 1px solid var(--gold-line); border-radius: 4px;
  margin-bottom: 12px; padding: 4px 22px;
  transition: box-shadow .2s;
}
.faq-list details[open] { box-shadow: 0 16px 32px -24px rgba(59, 58, 54, .4); }
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; color: var(--ink);
  padding: 16px 30px 16px 0; list-style: none; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 24px; font-weight: 300; transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 14px; color: var(--ink-soft); font-size: 15.5px; }
.faq-list details p:last-child { padding-bottom: 18px; }
.faq-list details p b { color: var(--gold); font-weight: 600; }
.faq-link { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq-link:hover { color: var(--gold-soft); }

/* ================= footer ================= */
.footer { position: relative; text-align: center; padding: 80px 20px 70px; border-top: 1px solid var(--line); overflow: hidden; }
.footer .footer-mark { margin-bottom: 22px; }
.footer-script {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(34px, 5.6vw, 52px); color: var(--gold); line-height: 1.1;
}
.footer-date { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.footer-legal {
  margin-top: 22px;
  display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.footer-legal a {
  font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent;
}
.footer-legal a:hover { color: var(--gold); border-bottom-color: var(--gold-soft); }

/* ================= rsvp page ================= */
.rsvp-page { background: var(--paper); }
.rsvp-main {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: clamp(96px, 14vh, 150px) clamp(20px, 6vw, 40px) 40px;
}
.rsvp-main .hero-mark { width: clamp(100px, 18vw, 140px); margin-bottom: 18px; }
.rsvp-greeting {
  max-width: 560px; margin: 4px auto 30px; font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.7; color: var(--ink-soft);
}
.rsvp-greeting b { color: var(--gold); font-weight: 600; }
.rsvp-form { max-width: 560px; margin: 0 auto; text-align: left; }
.rsvp-form .btn { width: 100%; margin-top: 6px; }

.rsvp-thanks { padding-top: 20px; }
.rsvp-thanks h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(30px, 6vw, 48px);
  letter-spacing: 4px; text-transform: uppercase; color: var(--ink); margin: 12px 0 16px;
}
.rsvp-thanks .btn { margin-top: 26px; }

.rsvp-foot {
  position: relative; text-align: center; padding: 60px 20px 70px;
  border-top: 1px solid var(--line); margin-top: 40px; overflow: hidden;
}
.rsvp-foot .polaroid-row { position: relative; z-index: 1; }

/* confirm modal */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(59, 58, 54, .45); backdrop-filter: blur(3px);
}
.modal[hidden] { display: none; }
.modal-card {
  background: var(--paper-soft); border: 1px solid var(--gold-line); border-radius: 4px;
  padding: clamp(28px, 5vw, 40px); max-width: 440px; text-align: center;
  box-shadow: 0 40px 80px -30px rgba(59, 58, 54, .55);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-card h3 {
  font-family: var(--display); font-weight: 500; font-size: clamp(22px, 4vw, 28px);
  letter-spacing: 1px; color: var(--ink); margin-bottom: 12px; line-height: 1.25;
}
.modal-card p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 22px; }
.modal-card p:last-of-type { margin-bottom: 22px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-actions .btn { width: 100%; }

/* ================= privacy / terms ================= */
.legal-page { background: var(--paper); }
.legal-main {
  max-width: 680px; margin: 0 auto;
  padding: clamp(96px, 14vh, 140px) clamp(20px, 6vw, 40px) 48px;
  text-align: center;
}
.legal-main .hero-mark { margin-bottom: 18px; }
.legal {
  text-align: left; margin: 28px auto 0;
  color: var(--ink-soft); font-size: clamp(16.5px, 2.3vw, 18px);
}
.legal h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(20px, 3vw, 24px); letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink); margin: 32px 0 12px;
}
.legal p { margin-bottom: 14px; }
.legal a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--gold-soft); }

/* ================= scroll reveals ================= */
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
  .fade-up.in { opacity: 1; transform: none; }
}
