/* =====================================================================
   Nick & Lauren — Wedding Site
   ===================================================================== */

/* ----- design tokens ------------------------------------------------- */
:root {
  --display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --serif:   "Cormorant Garamond", Georgia, serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --italic:  "Italiana", Georgia, serif;

  /* Primary palette */
  --chartreuse: #d4e85c;
  --lime:       #84bd00;
  --moss:       #4a6741;
  --forest:     #1f3a28;
  --pearl:      #f4f0e6;
  --pearl-warm: #ebe5d2;

  /* Semantic */
  --bg:        var(--pearl);
  --bg-alt:    var(--pearl-warm);
  --ink:       var(--forest);
  --ink-soft:  var(--moss);
  --muted:     #7a8870;
  --rule:      #c9c8b3;
  --accent:    var(--lime);
  --accent-soft: var(--chartreuse);

  /* Lime-and-pearl stripe — retro-glam stationery accent */
  --stripe: repeating-linear-gradient(
    90deg,
    var(--lime) 0 10px,
    var(--pearl) 10px 20px
  );

  --container: 1080px;
  --gutter:    clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius:    2px;

  --ease:      cubic-bezier(.2, .7, .2, 1);
}

/* ----- reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; line-height: 1.1; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
ol, ul { list-style: none; padding: 0; margin: 0; }

/* small util */
.amp { font-family: var(--display); font-style: italic; font-weight: 300; }

/* ----- buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.btn--primary:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn--ghost:hover { border-color: var(--ink); }

/* ===================================================================== */
/* NAV                                                                   */
/* ===================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 240, 230, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom-color: var(--rule);
}
.nav.scrolled::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 4px;
  background: var(--stripe);
  opacity: 0.85;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .25s var(--ease), left .25s var(--ease);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after { left: 0; width: 100%; }

.nav-cta { padding: 0.7em 1.3em; font-size: 0.72rem; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ===================================================================== */
/* HERO                                                                  */
/* ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 14vh, 160px) var(--gutter) 80px;
  text-align: center;
  overflow: hidden;
  color: var(--pearl);
  background:
    linear-gradient(rgba(31, 58, 40, 0.45), rgba(31, 58, 40, 0.55)),
    url("photos/palm-springs-bg.jpeg") center/cover no-repeat,
    var(--forest);
}
.hero .hero-eyebrow,
.hero .hero-meta,
.hero .hero-scroll,
.hero .countdown-label { color: var(--pearl); }
.hero .hero-names { color: var(--pearl); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero .hero-names .amp,
.hero .hero-meta .dot { color: var(--chartreuse); }
.hero .countdown { border-color: rgba(244, 240, 230, 0.55); }
.hero .countdown-cell { border-right-color: rgba(244, 240, 230, 0.4); }
.hero .countdown-cell:last-child { border-right: 0; }
.hero .countdown-num { color: var(--pearl); }
.hero .hero-scroll-line { background: linear-gradient(rgba(244, 240, 230, 0.85), transparent); }
.hero .orn::before, .hero .orn::after { background: var(--chartreuse); }
.hero-ornaments {
  position: absolute; inset: 28px;
  pointer-events: none;
}
.orn {
  position: absolute;
  width: 56px; height: 56px;
  opacity: 0.55;
}
.orn::before, .orn::after {
  content: ""; position: absolute; background: var(--accent);
}
.orn::before { width: 56px; height: 1px; }
.orn::after  { width: 1px;  height: 56px; }

.orn--tl { top: 0; left: 0; }
.orn--tl::before { top: 0; left: 0; }
.orn--tl::after  { top: 0; left: 0; }

.orn--tr { top: 0; right: 0; }
.orn--tr::before { top: 0; right: 0; }
.orn--tr::after  { top: 0; right: 0; }

.orn--bl { bottom: 0; left: 0; }
.orn--bl::before { bottom: 0; left: 0; }
.orn--bl::after  { bottom: 0; left: 0; }

.orn--br { bottom: 0; right: 0; }
.orn--br::before { bottom: 0; right: 0; }
.orn--br::after  { bottom: 0; right: 0; }

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero-names {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.6rem, 12vw, 8rem);
  letter-spacing: 0.005em;
  line-height: 0.95;
  margin: 0 0 28px;
}
.hero-names .amp {
  display: inline-block;
  margin: 0 0.08em;
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 56px;
}
.hero-meta .dot { color: var(--accent); }

/* countdown */
.countdown {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 18px 8px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(18px, 5vw, 36px);
  border-right: 1px solid var(--rule);
}
.countdown-cell:last-child { border-right: 0; }
.countdown-num {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}
.countdown-label {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(var(--rule), transparent);
  animation: scroll-pulse 2.4s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================================================== */
/* SECTION shell                                                         */
/* ===================================================================== */
.section {
  padding: var(--section-y) var(--gutter);
}
.section--parchment { background: var(--bg-alt); }

.section--striped {
  background-color: var(--pearl);
  background-image: url("photos/tile-stripes.png");
  background-repeat: repeat;
}
.section--striped .events-block,
.section--striped .rsvp-block {
  background: var(--pearl);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  box-shadow: 0 12px 48px -28px rgba(31, 58, 40, 0.35);
}

.section--lace {
  background-color: var(--pearl-warm);
  background-image: url("photos/tile-stripes.png");
  background-repeat: repeat;
}
.section--lace .dress-block {
  background: var(--pearl);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  box-shadow: 0 12px 48px -28px rgba(31, 58, 40, 0.35);
}
.section--lace .dress-block--note {
  max-width: 760px;
  margin: 0 auto;
}
.section--lace .dress-block--note .section-eyebrow { justify-content: center; }
.section--lace .dress-block--note .section-title { text-align: center; }

/* "A note from the bride" card */
.bride-note {
  position: relative;
  margin-top: 32px;
  padding: clamp(32px, 5vw, 56px) clamp(28px, 5vw, 56px) clamp(40px, 6vw, 64px);
  background: #fffaf0;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(31, 58, 40, 0.04),
    0 18px 40px -28px rgba(31, 58, 40, 0.4);
  text-align: center;
}
.bride-note::before,
.bride-note::after {
  content: "";
  position: absolute;
  width: 64px; height: 4px;
  background: var(--stripe);
  opacity: 0.85;
}
.bride-note::before { top: 18px; left: 50%; transform: translateX(-50%); }
.bride-note::after  { bottom: 18px; left: 50%; transform: translateX(-50%); }

.bride-note-salutation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 18px;
}
.bride-note-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.bride-note-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink);
  margin: 0 0 24px;
}
.bride-note-body {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 32px;
}
.bride-note-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.bride-note-em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
}
.bride-note-name {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-eyebrow .num {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0;
  color: var(--accent);
  text-transform: lowercase;
}
.section-eyebrow .rule {
  flex: 1;
  height: 4px;
  background: var(--stripe);
  border-radius: 1px;
  opacity: 0.9;
}
.section-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 18px;
}
.section-lede {
  max-width: 640px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 56px;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================== */
/* EVENTS                                                                */
/* ===================================================================== */
.events {
  display: grid;
  gap: 0;
  margin-top: 24px;
}
.event {
  display: grid;
  grid-template-columns: 90px 1fr clamp(180px, 24vw, 240px);
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--rule);
}
.event:last-child { border-bottom: 1px solid var(--rule); }
.event-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
}
.event-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.event-image img[src*="martini"] { transform: scale(0.9); }
.event-num {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}
.event-name {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 8px;
}
.event-when {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.event-where {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.event-where strong { font-style: normal; font-weight: 500; color: var(--ink); }
.event-attire {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  margin: 0;
}

@media (max-width: 820px) {
  .event {
    grid-template-columns: 90px 1fr;
    grid-template-areas:
      "num   image"
      "num   body";
    gap: 16px 24px;
  }
  .event-num   { grid-area: num; }
  .event-body  { grid-area: body; }
  .event-image { grid-area: image; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .event {
    grid-template-columns: 1fr;
    grid-template-areas: "num" "image" "body";
    gap: 12px;
  }
  .event-num { font-size: 1.6rem; }
  .event-image { aspect-ratio: 16 / 9; }
}

/* ===================================================================== */
/* TRAVEL                                                                */
/* ===================================================================== */
.travel-image {
  position: relative;
  margin: 8px 0 64px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--bg);
}
.travel-image img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 460px);
  object-fit: cover;
}
.travel-image::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 64px; height: 4px;
  background: var(--lime);
  z-index: 1;
}
.travel-image figcaption {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 20px;
  background: var(--bg);
  border-top: 1px solid var(--rule);
}

.travel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}
.travel-h {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.travel-col p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 24px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--lime);
}
.info-label {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-value {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink);
}
.info-sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .travel-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-cards { grid-template-columns: 1fr; }
}

/* ===================================================================== */
/* DRESS                                                                 */
/* ===================================================================== */
.dress-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}
.dress-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "num   label"
    "num   title"
    "num   note";
  align-items: start;
  gap: 4px 32px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
}
.dress-row:last-child { border-bottom: 1px solid var(--rule); }
.dress-num {
  grid-area: num;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}
.dress-label {
  grid-area: label;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.dress-title {
  grid-area: title;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 6px 0 8px;
}
.dress-note {
  grid-area: note;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 520px;
}

@media (max-width: 600px) {
  .dress-row { grid-template-columns: 1fr; grid-template-areas: "num" "label" "title" "note"; gap: 6px; }
}

/* ===================================================================== */
/* FAQ                                                                   */
/* ===================================================================== */
.faq-list {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 28px 4px;
}
.faq-q {
  width: 100%;
  display: block;
  padding: 0;
  text-align: left;
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--ink);
  cursor: default;
  pointer-events: none;
}
.faq-icon { display: none; }
.faq-a {
  margin-top: 12px;
}
.faq-a > p {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
  max-width: 720px;
}

/* ===================================================================== */
/* RSVP                                                                  */
/* ===================================================================== */
.rsvp-section.section--striped { background-color: var(--pearl); }

.rsvp-embed {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.rsvp-embed iframe {
  width: 100%;
  max-width: 640px;
  height: 1136px;
  border: 0;
  display: block;
}

/* center the heading area and form content within the rsvp block */
.section--striped .rsvp-block .section-eyebrow { justify-content: center; }
.section--striped .rsvp-block .section-title  { text-align: center; }
.section--striped .rsvp-block .section-lede   { margin-left: auto; margin-right: auto; text-align: center; }
.rsvp-form { display: flex; justify-content: center; }
.rsvp-card { width: 100%; text-align: center; }
.rsvp-card .rsvp-field label,
.rsvp-card .rsvp-field legend { text-align: center; }
.rsvp-card .rsvp-field input[type="text"],
.rsvp-card .rsvp-field input[type="email"],
.rsvp-card .rsvp-field textarea { text-align: center; }
.rsvp-card .rsvp-attending-grid { max-width: 480px; margin-left: auto; margin-right: auto; }
.rsvp-card .rsvp-choice { align-items: center; text-align: center; }
.rsvp-card .rsvp-stepper { margin-left: auto; margin-right: auto; }
.rsvp-card .rsvp-actions { justify-content: center; }

.rsvp-form { margin-top: 24px; }
.rsvp-card {
  position: relative;
  max-width: 640px;
  /* margin: 0 auto; */
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
}
.rsvp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--stripe);
}
.rsvp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  border: 0;
}
.rsvp-field label,
.rsvp-field legend {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
}
.rsvp-field .muted { letter-spacing: 0.12em; text-transform: none; color: var(--muted); }
.rsvp-field input[type="text"],
.rsvp-field input[type="email"],
.rsvp-field input[type="number"],
.rsvp-field textarea,
.rsvp-field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 10px 2px;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color .2s var(--ease);
}
.rsvp-field input:focus,
.rsvp-field textarea:focus,
.rsvp-field select:focus { border-color: var(--accent); }
.rsvp-field textarea { resize: vertical; min-height: 70px; }

/* attending choices */
.rsvp-attending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}
.rsvp-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.rsvp-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rsvp-choice:hover { border-color: var(--accent-soft); }
.rsvp-choice:has(input:checked) { border-color: var(--accent); background: rgba(132,189,0,.06); }
.rsvp-choice-title {
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--ink);
}
.rsvp-choice-sub {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 540px) {
  .rsvp-attending-grid { grid-template-columns: 1fr; }
}

/* stepper */
.rsvp-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  width: max-content;
}
.rsvp-step-btn {
  width: 36px; height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
  transition: background .15s var(--ease);
}
.rsvp-step-btn:hover { background: rgba(132,189,0,.12); }
.rsvp-stepper input {
  width: 56px;
  text-align: center;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--ink);
  -moz-appearance: textfield;
}
.rsvp-stepper input::-webkit-outer-spin-button,
.rsvp-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.rsvp-yes-only {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.rsvp-yes-only[hidden] { display: none; }

.rsvp-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.rsvp-status {
  margin: 0;
  min-height: 1.4em;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

/* ===================================================================== */
/* FOOTER                                                                */
/* ===================================================================== */
.footer {
  padding: 80px var(--gutter);
  background: var(--ink);
  color: var(--bg);
  text-align: center;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-mark {
  font-family: var(--display);
  font-size: 2.2rem;
  margin: 0;
}
.footer-mark .amp { color: var(--accent-soft); }
.footer-date {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0;
}
.footer-rule {
  width: 96px; height: 4px;
  background: var(--stripe);
  border-radius: 1px;
  margin: 12px 0;
}
.footer-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(244, 240, 230, 0.78);
  margin: 0;
}
