/* ============================================================
   Arno & Simoné · 22 November 2026
   Bushveld palette · cream / sage / warm brown / golden hour
   ============================================================ */

:root {
  /* palette */
  --cream:       #faf6ef;
  --cream-2:     #f4ecdd;
  --bone:        #ece1ca;
  --sand:        #d8c4a3;
  --taupe:       #b8997a;
  --acacia:      #8a7657;
  --bark:        #5a4632;
  --ink:         #2a2520;
  --sage:        #8a9a7b;
  --sage-deep:   #5e6e52;
  --gold:        #c89b5b;

  /* type */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Italianno", "Cormorant Garamond", cursive;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* spacing scale */
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--bark);
  letter-spacing: 0.005em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
}
h2 em {
  font-family: var(--script);
  font-style: normal;
  font-size: 1.35em;
  color: var(--acacia);
  font-weight: 400;
  line-height: 0.8;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acacia);
  margin: 0 0 1rem;
  font-weight: 500;
}
.lede {
  font-size: 1.08rem;
  color: var(--bark);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.muted { color: var(--acacia); font-weight: 400; }
.fine { font-size: 0.85rem; color: var(--acacia); }

a { color: inherit; }

/* ============================ NAV ============================ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--pad-x);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
.topnav.scrolled {
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 rgba(90, 70, 50, 0.08);
}
.topnav .brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.4s ease;
  /* lives over the photo side */
  text-shadow: 0 1px 4px rgba(0,0,0,0.45);
}
.topnav.scrolled .brand { color: var(--bark); text-shadow: none; }
.topnav nav { display: flex; gap: clamp(0.8rem, 2.5vw, 1.8rem); align-items: center; }
.topnav nav a {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bark);
  transition: color 0.3s ease;
  font-weight: 500;
}
.topnav.scrolled nav a { color: var(--bark); }
.topnav nav a:hover { color: var(--acacia); }
@media (max-width: 900px) {
  .topnav .brand { color: var(--cream); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
  .topnav nav a { color: var(--bark); }
  .topnav.scrolled .brand { color: var(--bark); text-shadow: none; }
}
.topnav .cta {
  border: 1px solid currentColor;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
@media (max-width: 640px) {
  .topnav nav a:not(.cta) { display: none; }
}

/* ============================ HERO — editorial split ============================ */
.hero-split {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--cream);
  isolation: isolate;
  overflow: hidden;
}

/* ----- Image side ----- */
.hero-photo {
  position: relative;
  overflow: hidden;
  background: var(--bone);
}
.hero-img {
  position: absolute; inset: -8% 0 0 0;
  background-image: url("images/hero-v2.jpg");
  background-size: cover;
  background-position: center 35%;
  will-change: transform;
  filter: saturate(1.05) contrast(1.02);
}
/* subtle warm gradient on right edge to ease into cream panel */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(250, 246, 239, 0.18) 100%);
  pointer-events: none;
}
/* thin gold inset frame */
.hero-frame {
  position: absolute;
  inset: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid rgba(250, 246, 239, 0.35);
  pointer-events: none;
  z-index: 2;
}

/* ----- Postage-stamp "Save the Date" seal (proper SVG textPath) ----- */
.hero-stamp {
  position: absolute;
  bottom: clamp(2.5rem, 5vw, 4rem);
  left: clamp(2.5rem, 5vw, 4rem);
  width: clamp(120px, 14vw, 170px);
  height: clamp(120px, 14vw, 170px);
  z-index: 3;
  color: var(--cream);
  overflow: visible;
  transform: rotate(-8deg);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.25));
  animation-name: stampDrop;
}
.hero-stamp .hs-ring-outer {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.9;
  opacity: 0.85;
}
.hero-stamp .hs-ring-inner {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.6;
  stroke-dasharray: 1.4 3;
  opacity: 0.55;
}
.hero-stamp .hs-arc {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-weight: 500;
  fill: currentColor;
}
.hero-stamp .hs-arc-bottom {
  font-size: 8px;
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: none;
  font-weight: 400;
  opacity: 0.85;
}
.hero-stamp .hs-mono {
  font-family: "Pinyon Script", var(--script);
  font-style: normal;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0;
  fill: var(--gold);
}
.hero-stamp .hs-sub {
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  fill: currentColor;
  opacity: 0.85;
}
@keyframes stampDrop {
  from { opacity: 0; transform: rotate(-20deg) scale(0.85); }
  to   { opacity: 1; transform: rotate(-8deg) scale(1); }
}

/* ----- Invitation panel ----- */
.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(232, 217, 187, 0.35) 0%, transparent 60%),
    var(--cream);
  position: relative;
}
/* subtle vertical seam between photo and panel */
.hero-panel::before {
  content: "";
  position: absolute;
  left: 0; top: 8%; bottom: 8%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(200, 155, 91, 0.4), transparent);
}
.hero-panel-inner {
  max-width: 460px;
  width: 100%;
  text-align: center;
}

/* eyebrow */
.panel-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--acacia);
  margin: 0 0 1.8rem;
  font-weight: 500;
}

/* names — stacked, large, editorial */
.panel-names {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.92;
  color: var(--bark);
  letter-spacing: -0.01em;
}
.panel-line-1, .panel-line-2 {
  display: block;
  font-size: clamp(3.4rem, 7vw, 5.6rem);
}
.panel-amp {
  display: block;
  font-family: "Pinyon Script", var(--script);
  font-size: clamp(3.2rem, 6vw, 4.8rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 0.7;
  margin: 0.05em 0 0.1em;
}

/* script under-line */
.panel-script {
  font-family: "Pinyon Script", var(--script);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--acacia);
  margin: 1.5rem 0 1.4rem;
  line-height: 1;
}

/* decorative rule */
.panel-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 auto 1.6rem;
  max-width: 240px;
  color: var(--gold);
}
.panel-rule .rule-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, currentColor 50%, transparent 100%);
  opacity: 0.85;
}
.panel-rule .rule-diamond {
  width: 6px; height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

/* meta block */
.panel-meta {
  margin-bottom: 2rem;
  color: var(--bark);
}
.panel-day {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.panel-date {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bark);
  margin: 0 0 1.1rem;
  font-weight: 500;
}
.panel-where {
  font-family: var(--serif);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--acacia);
  margin: 0;
}
.panel-where em { font-style: italic; }

/* actions */
.panel-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.panel-link {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--acacia);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.panel-link:hover { color: var(--bark); transform: translateX(3px); }

/* ----- Sequenced reveal (panel side) ----- */
[data-anim] {
  opacity: 0;
  transform: translateY(14px);
  animation: panelIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
[data-anim="1"] { animation-delay: 0.2s; }
[data-anim="2"] { animation-delay: 0.4s; }
[data-anim="3"] { animation-delay: 0.6s; }
[data-anim="4"] { animation-delay: 0.85s; }
[data-anim="5"] { animation-delay: 1.05s; }
[data-anim="6"] { animation-delay: 1.2s; }
[data-anim="7"] { animation-delay: 1.45s; }
@keyframes panelIn {
  to { opacity: 1; transform: none; }
}
/* stamp uses its own keyframes — keep both opacity AND rotation */
.hero-stamp[data-anim] {
  animation: stampDrop 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  transform: rotate(-20deg) scale(0.85);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; animation: none; }
  .hero-stamp[data-anim] { opacity: 1; transform: rotate(-8deg); animation: none; }
}

/* ----- Mobile: stack vertically ----- */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: 52vh auto;
    min-height: auto;
  }
  .hero-photo { min-height: 52vh; }
  .hero-img { background-position: center 30%; }
  .hero-frame { inset: 1rem; }
  .hero-panel {
    padding: clamp(2.5rem, 7vw, 4rem) 1.5rem;
  }
  .hero-panel::before {
    left: 8%; right: 8%; top: 0;
    height: 1px; width: auto; bottom: auto;
    background: linear-gradient(90deg, transparent, rgba(200, 155, 91, 0.4), transparent);
  }
  .hero-stamp {
    bottom: 1.2rem;
    left: 1.2rem;
    width: 100px; height: 100px;
  }
}

/* ---- CTA (dark pill, lives on cream panel) ---- */
.hero-cta {
  display: inline-block;
  padding: 0.95rem 2.6rem;
  border: 1px solid var(--bark);
  border-radius: 999px;
  color: var(--cream);
  background: var(--bark);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.hero-cta span { position: relative; z-index: 1; }
.hero-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(42, 37, 32, 0.45); }
.hero-cta:hover::before { transform: scaleX(1); }

/* scroll cue lives below the photo, hides on mobile */
.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 40px;
  background: rgba(184, 153, 122, 0.4);
  overflow: hidden;
  z-index: 4;
}
.scroll-cue span {
  display: block;
  width: 100%;
  height: 30%;
  background: var(--acacia);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(330%); }
  100% { transform: translateY(330%); }
}
@media (max-width: 900px) {
  .scroll-cue { display: none; }
}

/* ============================ COUNTDOWN — chocolate band ============================ */
.countdown-strip {
  background: var(--bark);
  padding: 2.4rem var(--pad-x);
  border-top: 1px solid rgba(200, 155, 91, 0.18);
  border-bottom: 1px solid rgba(200, 155, 91, 0.18);
  color: var(--cream);
}
.cd {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 720px;
  margin: 0 auto;
  gap: 1rem;
  text-align: center;
}
.cd > div {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.4rem 0;
  border-right: 1px solid rgba(250, 246, 239, 0.18);
}
.cd > div:last-child { border-right: 0; }
.cd .num {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  color: var(--cream);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.cd .lbl {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.6);
  font-weight: 400;
}

/* ============================ SECTION SHARED ============================ */
section.story,
section.weekend,
section.stay,
section.gallery,
section.rsvp {
  padding: var(--section-y) var(--pad-x);
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { margin-bottom: 0.8rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { display: none; }
}

/* ============================ STORY ============================ */
.story {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.story-img {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -25px rgba(90, 70, 50, 0.35);
}
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-text h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.story-text .signoff {
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--acacia);
  margin-top: 1.5rem;
  line-height: 1;
}
@media (max-width: 760px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-img { aspect-ratio: 4 / 3; max-height: 460px; }
}

/* ============================ PHOTO SNIPPETS ============================ */
/* Small editorial polaroid-style photos scattered across the page. */
.snippet {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bone);
  box-shadow:
    0 2px 6px rgba(42, 37, 32, 0.18),
    0 22px 42px -22px rgba(42, 37, 32, 0.55);
  margin: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.snippet::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--gold);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  border-radius: 1px;
}
.snippet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.snippet:hover img { transform: scale(1.05); }

/* Slight hand-placed rotations */
.snippet-rot   { transform: rotate(-1.8deg); }
.snippet-rot:hover { transform: rotate(0); }
.snippet-rot-r { transform: rotate(1.8deg); }
.snippet-rot-r:hover { transform: rotate(0); }

/* ── Weekend (floats top-right of the chocolate section) ── */
.snippet-weekend {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  top: clamp(3.5rem, 7vw, 7rem);
  width: clamp(130px, 14vw, 190px);
  aspect-ratio: 3 / 4;
  z-index: 2;
}
.snippet-weekend::before { border-color: var(--cream); opacity: 0.35; }
@media (max-width: 900px) { .snippet-weekend { display: none; } }

/* ── Stay (right column: string of snippets + cost callout) ── */
.stay-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ── String of polaroid snippets (used in Stay + Details/Venue) ── */
.snippet-string {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.2vw, 0.9rem);
  margin: 1.4rem auto 0.6rem;
  width: 100%;
  padding: 0.5rem 0.3rem;
}
.snippet-string > .snippet {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 3 / 4;
}
/* hand-placed rotations + vertical offsets */
.snippet-string > .snippet:nth-child(1) {
  transform: rotate(-2.5deg) translateY(2px);
}
.snippet-string > .snippet:nth-child(2) {
  transform: rotate(1.6deg) translateY(10px);
  z-index: 1;
}
.snippet-string > .snippet:nth-child(3) {
  transform: rotate(-1deg) translateY(-4px);
}
.snippet-string > .snippet:hover {
  transform: rotate(0) translateY(-3px);
  z-index: 2;
}


/* ── Registry (string of polaroids above heading, chocolate section) ── */
.snippet-string-registry {
  max-width: 420px;
  margin: 0 auto 2.2rem;
}
.snippet-string-registry .snippet::before {
  border-color: var(--cream);
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .snippet, .snippet img { transition: none; }
  .snippet-rot, .snippet-rot-r, .snippet-venue { transform: none; }
}

/* ============================ TIMELINE ============================ */
.timeline {
  list-style: none;
  padding: 0;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(184, 153, 122, 0.5) 0 6px,
    transparent 6px 12px
  );
  z-index: 0;
}
.timeline li {
  position: relative;
  text-align: center;
  padding-top: 2rem;
}
.timeline .dot {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--acacia);
}
.timeline .when {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--acacia);
  margin-bottom: 0.5rem;
}
.timeline h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  margin-bottom: 0.5rem;
}
.timeline p:not(.when) {
  font-size: 0.95rem;
  color: var(--bark);
  margin: 0;
}
@media (max-width: 700px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before {
    top: 0; bottom: 0; left: 24px; right: auto;
    width: 1px; height: auto;
    background: repeating-linear-gradient(
      180deg,
      rgba(184, 153, 122, 0.5) 0 6px,
      transparent 6px 12px
    );
  }
  .timeline li { padding-top: 0; padding-left: 3rem; text-align: left; }
  .timeline .dot { top: 6px; left: 18px; transform: none; }
}

/* ============================ WEEKEND — chocolate bushveld ============================ */
.weekend {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(90, 70, 50, 0.85) 0%, var(--ink) 70%),
    var(--ink);
  color: var(--cream);
  position: relative;
}
/* Re-color the section head text for the dark surface */
.weekend .section-head h2 { color: var(--cream); }
.weekend .section-head .eyebrow { color: var(--gold); }
.weekend .section-head .lede { color: rgba(250, 246, 239, 0.78); }

.schedule {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 720px;
  display: flex;
  flex-direction: column;
}
.day {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-top: 1px solid rgba(250, 246, 239, 0.14);
}
.day:first-child { border-top: 0; padding-top: 0; }
.day:last-child  { padding-bottom: 0; }

.day-head {
  display: flex;
  align-items: baseline;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  flex-wrap: wrap;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.day-name {
  font-family: "Pinyon Script", var(--script);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  line-height: 0.85;
  font-weight: 400;
  text-shadow: 0 1px 12px rgba(200, 155, 91, 0.35);
}
.day-number {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.5vw, 5rem);
  font-weight: 300;
  line-height: 0.85;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.day-month {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.55);
  font-weight: 500;
  margin-left: auto;
  align-self: center;
}
.day-feature .day-month {
  color: var(--gold);
}
.day-feature .day-month::before {
  content: "★ ";
  color: var(--gold);
}
.day-feature .day-number {
  /* subtle highlight for Saturday */
  text-shadow: 0 0 30px rgba(200, 155, 91, 0.2);
}

.day-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--cream);
  margin: 0.5rem 0 0.4rem;
  line-height: 1.1;
}
.day-when {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 500;
}
.day-body {
  color: rgba(250, 246, 239, 0.82);
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 60ch;
}

/* Saturday run-sheet — small editorial timeline */
.day-runsheet {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1px solid rgba(250, 246, 239, 0.16);
  max-width: 58ch;
}
.day-runsheet li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.rs-time {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.rs-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--cream);
  line-height: 1.45;
}

@media (max-width: 540px) {
  .day-month {
    flex-basis: 100%;
    margin-left: 0;
    margin-top: 0.35rem;
  }
  .day-runsheet li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ============================ STAY — editorial 2-column ============================ */
.stay {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
}
.stay-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.stay-feature { max-width: 56ch; }
.stay-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acacia);
  margin: 0 0 1rem;
  font-weight: 500;
}
.stay-feature p {
  color: var(--bark);
  font-size: 1.04rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}
.stay-feature .stay-lead { font-size: 1.12rem; }

.cost-callout {
  border-top: 1px solid var(--taupe);
  border-bottom: 1px solid var(--taupe);
  padding: 1.6rem 0;
  text-align: center;
  color: var(--bark);
}
.callout-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acacia);
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.callout-figure {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 300;
  color: var(--bark);
  margin: 0 0 0.8rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.callout-figure span {
  color: var(--gold);
  font-style: italic;
  margin: 0 0.2em;
}
.callout-note {
  font-size: 0.96rem;
  color: var(--bark);
  margin: 0 0 0.6rem;
  line-height: 1.6;
}
.callout-fine {
  font-size: 0.82rem;
  color: var(--acacia);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .stay-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================ GALLERY (collapsible, sits at the end) ============================ */
.gallery {
  background: var(--cream-2);
}

/* Reset native <details> chrome */
.gallery-details { margin: 0 auto; max-width: 1180px; }
.gallery-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.4rem) clamp(1.5rem, 3vw, 2.4rem);
  background: var(--cream);
  border: 1px solid rgba(184, 153, 122, 0.32);
  border-radius: 16px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-summary::-webkit-details-marker { display: none; }
.gallery-summary:hover {
  background: var(--bone);
  border-color: var(--taupe);
  transform: translateY(-2px);
  box-shadow: 0 22px 38px -22px rgba(90, 70, 50, 0.32);
}
.gs-text { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.gs-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acacia);
  font-weight: 500;
}
.gs-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--bark);
  line-height: 1.1;
}
.gs-meta {
  font-size: 0.82rem;
  color: var(--acacia);
}
.gs-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bark);
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}
.gallery-details[open] .gs-icon {
  transform: rotate(180deg);
  background: var(--acacia);
}
.gallery-summary:hover .gs-icon { background: var(--ink); }

.gallery-body {
  padding-top: clamp(2rem, 4vw, 3rem);
}
.gallery-lede {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--acacia);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  max-width: 52ch;
}

/* Smooth-ish reveal of the gallery body when opened */
.gallery-details[open] .gallery-body {
  animation: galleryFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-details[open] .gallery-body { animation: none; }
}

.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.gallery-stack figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bone);
  box-shadow: 0 24px 50px -30px rgba(90, 70, 50, 0.4);
}
.gallery-stack figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-stack figure:hover img { transform: scale(1.035); }

/* Feature: full-width landscape */
.g-feature {
  aspect-ratio: 16 / 9;
}

/* Row container */
.g-row {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}

/* 2 equal columns, portrait pair */
.g-row-2 {
  grid-template-columns: 1fr 1fr;
}
.g-row-2 figure {
  aspect-ratio: 3 / 4;
}

/* Asymmetric: 1 small + 1 large */
.g-row-asym {
  grid-template-columns: 1fr 1.7fr;
  align-items: center;
}
.g-row-asym.g-reverse {
  grid-template-columns: 1.7fr 1fr;
}
.g-row-asym .g-small {
  aspect-ratio: 3 / 4;
}
.g-row-asym .g-large {
  aspect-ratio: 4 / 3;
}

/* 3 columns */
.g-row-3 {
  grid-template-columns: repeat(3, 1fr);
}
.g-row-3 figure {
  aspect-ratio: 3 / 4;
}

@media (max-width: 760px) {
  .g-row-asym, .g-row-asym.g-reverse {
    grid-template-columns: 1fr;
  }
  .g-row-asym figure { aspect-ratio: 4 / 5; }
  .g-row-3 {
    grid-template-columns: 1fr 1fr;
  }
  .g-row-3 figure:nth-child(3) {
    grid-column: span 2;
    aspect-ratio: 16 / 10;
  }
}
@media (max-width: 480px) {
  .g-row-2, .g-row-3 {
    grid-template-columns: 1fr;
  }
  .g-row-3 figure:nth-child(3) {
    grid-column: auto;
    aspect-ratio: 3 / 4;
  }
  .g-feature { aspect-ratio: 4 / 5; }
}

/* ============================ THE DETAILS — editorial blocks ============================ */
.details {
  background: var(--bone);
  padding: var(--section-y) var(--pad-x);
}
.detail-block {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.25rem, 4.5vw, 3.25rem) 0;
  border-top: 1px solid rgba(184, 153, 122, 0.3);
}
.detail-block:first-of-type { border-top: 0; padding-top: 0; }
.detail-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acacia);
  margin: 0 0 0.75rem;
  font-weight: 500;
}
.detail-block h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--bark);
  margin: 0 0 1.1rem;
  line-height: 1.15;
}
.detail-block p {
  margin: 0 0 1rem;
  color: var(--bark);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 62ch;
}
.detail-block p:last-child { margin-bottom: 0; }
.detail-note {
  color: var(--acacia) !important;
  font-style: italic;
  font-size: 0.96rem !important;
}

/* Ticklist used in "What to Pack" */
.ticklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.ticklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--bark);
  font-size: 1rem;
  line-height: 1.6;
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.7rem;
  height: 1px;
  background: var(--taupe);
}

/* Google Maps button */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.4rem;
  padding: 0.85rem 1.6rem;
  background: var(--bark);
  color: var(--cream);
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.25s ease;
}
.map-link:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -16px rgba(42, 37, 32, 0.5);
}
.map-link svg { flex-shrink: 0; }

/* ============================ REGISTRY — chocolate ============================ */
.registry {
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(138, 118, 87, 0.4) 0%, var(--bark) 70%),
    var(--bark);
  color: var(--cream);
  padding: var(--section-y) var(--pad-x);
  text-align: center;
}
.registry-inner {
  max-width: 640px;
  margin: 0 auto;
}
.registry .eyebrow { color: var(--gold); }
.registry h2 {
  color: var(--cream);
  font-style: italic;
  font-weight: 300;
}
.registry .lede {
  color: rgba(250, 246, 239, 0.82);
  margin-bottom: 2rem;
}
.registry-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  text-align: left;
}
@media (max-width: 720px) {
  .registry-grid { grid-template-columns: 1fr; }
}
.registry-card {
  background: rgba(250, 246, 239, 0.06);
  border: 1px solid rgba(250, 246, 239, 0.18);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.registry-card .small {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-weight: 500;
}
.registry-card .card-lede {
  font-family: var(--serif);
  font-style: italic;
  color: rgba(250, 246, 239, 0.85);
  font-size: 1rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.reg-bank {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(250, 246, 239, 0.85);
  margin: 0;
  line-height: 1.6;
}
.reg-bank em { color: var(--gold); font-style: italic; }

/* EFT details list */
.eft-details {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.eft-details > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0.85rem;
  align-items: baseline;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(250, 246, 239, 0.1);
}
.eft-details > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.eft-details dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.55);
  font-weight: 500;
}
.eft-details dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.eft-details dd em {
  color: var(--gold);
  font-style: italic;
  font-size: 0.92rem;
}

/* Monospace + subtle hover for the long numeric fields (so they read clearly + signal "tap to copy") */
.copy-target {
  font-family: "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  background: rgba(250, 246, 239, 0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-block;
}
.copy-target:hover {
  background: rgba(200, 155, 91, 0.22);
}
.copy-target.copied {
  background: rgba(138, 154, 123, 0.4);
}
.copy-target.copied::after {
  content: "  ✓ copied";
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-left: 0.4rem;
}
@media (max-width: 540px) {
  .eft-details > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

/* ============================ FAQ ============================ */
.faq {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: var(--section-y) var(--pad-x);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.faq-list details {
  border-bottom: 1px solid rgba(184, 153, 122, 0.3);
  padding: 1.4rem 0.25rem;
  transition: background 0.3s ease;
}
.faq-list details:first-child {
  border-top: 1px solid rgba(184, 153, 122, 0.3);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--bark);
  padding-right: 2.5rem;
  position: relative;
  transition: color 0.2s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: var(--acacia);
  font-weight: 300;
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-list details[open] summary { color: var(--acacia); }
.faq-list details p {
  margin: 1rem 0 0;
  color: var(--bark);
  line-height: 1.7;
  max-width: 65ch;
}
.faq-list summary:hover { color: var(--acacia); }

/* ============================ RSVP ============================ */
.rsvp {
  background:
    linear-gradient(180deg, var(--cream) 0%, var(--bone) 100%);
  position: relative;
}
[hidden] { display: none !important; }

/* ---- Gate (Step 1: name lookup) ---- */
.rsvp-gate {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.gate-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.gate-label-eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--acacia);
  font-weight: 500;
}
.gate-label-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  color: var(--bark);
  font-weight: 400;
}
.gate-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
  background: var(--cream);
  border: 1px solid rgba(184, 153, 122, 0.5);
  border-radius: 999px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.gate-input-row:focus-within {
  border-color: var(--acacia);
  box-shadow: 0 0 0 4px rgba(184, 153, 122, 0.18);
}
.gate-input-row input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  padding: 0.7rem 0;
  min-width: 0;
}
.gate-input-row input:focus { outline: none; }
.gate-input-row input::placeholder { color: rgba(138, 118, 87, 0.55); }

.gate-submit {
  border: 0;
  background: var(--bark);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 44px;
}
.gate-submit:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -14px rgba(42, 37, 32, 0.45);
}
.gate-submit-arrow {
  width: 16px; height: 16px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.gate-submit:hover .gate-submit-arrow { transform: translateX(4px); }

.gate-hint {
  font-size: 0.82rem;
  color: var(--acacia);
  text-align: center;
  margin: 0.25rem 0 0;
}
.gate-help {
  font-size: 0.82rem;
  color: var(--acacia);
  text-align: center;
  margin: 0.25rem 0 0;
}
.gate-help a {
  color: var(--bark);
  text-decoration: underline;
  text-decoration-color: rgba(184, 153, 122, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.gate-help a:hover { text-decoration-color: var(--acacia); }
.gate-error {
  background: rgba(184, 99, 80, 0.08);
  border: 1px solid rgba(184, 99, 80, 0.35);
  color: #8a4434;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
}
.gate-error p { margin: 0; }
.gate-error a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}
@media (max-width: 520px) {
  .gate-input-row {
    flex-direction: column;
    border-radius: 18px;
    padding: 0.5rem;
    gap: 0.4rem;
  }
  .gate-input-row input {
    padding: 0.85rem 1rem;
    background: transparent;
  }
  .gate-submit { width: 100%; justify-content: center; padding: 0.95rem 1.4rem; }
}

/* ---- Greeting block above form ---- */
.rsvp-greeting {
  text-align: center;
  padding-bottom: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(184, 153, 122, 0.4);
  position: relative;
}
.rsvp-greeting .eyebrow {
  margin: 0 0 0.5rem;
  color: var(--acacia);
}
.greeting-name {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--bark);
  margin: 0 0 1rem;
  font-weight: 400;
}
.back-link {
  background: transparent;
  border: 0;
  color: var(--acacia);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease, transform 0.2s ease;
  min-height: 44px;
}
.back-link svg { width: 16px; height: 16px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.back-link:hover { color: var(--bark); }
.back-link:hover svg { transform: translateX(-3px); }

/* ---- Form (Step 2) ---- */
.rsvp-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

/* Per-attendee checkboxes */
.field-hint {
  font-size: 0.82rem;
  color: var(--acacia);
  margin: -0.1rem 0 0.65rem;
}
#attendeesList {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
label.check {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(184, 153, 122, 0.4);
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 0.98rem;
  color: var(--bark);
}
label.check:hover { border-color: var(--acacia); }
label.check:has(input:checked) {
  border-color: var(--bark);
  background: var(--bone);
}
label.check input {
  width: 18px; height: 18px;
  accent-color: var(--bark);
  flex-shrink: 0;
}
label.check .check-name {
  font-weight: 500;
  flex: 1;
}
label.check .check-state {
  font-size: 0.85rem;
  color: var(--acacia);
  letter-spacing: 0.04em;
  font-style: italic;
}
label.check .state-no { display: none; }
label.check:has(input:not(:checked)) .state-yes { display: none; }
label.check:has(input:not(:checked)) .state-no { display: inline; color: #8a4434; }
label.check:has(input:not(:checked)) {
  opacity: 0.72;
}
label.check:has(input:not(:checked)) .check-name {
  text-decoration: line-through;
  text-decoration-color: rgba(138, 68, 52, 0.4);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field > label,
fieldset > legend {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--acacia);
  font-weight: 500;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
fieldset legend { margin-bottom: 0.6rem; }

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(184, 153, 122, 0.45);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder, textarea::placeholder { color: rgba(138, 118, 87, 0.55); }
input:focus, textarea:focus {
  outline: 0;
  border-color: var(--acacia);
  box-shadow: 0 0 0 3px rgba(184, 153, 122, 0.2);
}
textarea { resize: vertical; font-family: var(--sans); }

label.radio {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184, 153, 122, 0.4);
  border-radius: 8px;
  cursor: pointer;
  background: var(--cream);
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 0.95rem;
  color: var(--bark);
  letter-spacing: normal;
  text-transform: none;
}
label.radio:hover { border-color: var(--acacia); }
label.radio input { margin-top: 0.25rem; accent-color: var(--acacia); }
label.radio input:checked ~ span { color: var(--bark); }
label.radio:has(input:checked) {
  border-color: var(--bark);
  background: var(--bone);
}

.submit {
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 1.1rem 2rem;
  background: var(--bark);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  margin-top: 0.5rem;
}
.submit:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -15px rgba(42, 37, 32, 0.45);
}
.submit:disabled {
  cursor: progress;
  opacity: 0.85;
  transform: none;
  box-shadow: none;
}
.form-error {
  background: rgba(184, 99, 80, 0.08);
  border: 1px solid rgba(184, 99, 80, 0.35);
  color: #8a4434;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  text-align: center;
}
.form-error strong { display: block; margin-bottom: 0.35rem; }
.form-error-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: var(--bark);
  color: var(--cream) !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.form-error-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -12px rgba(42, 37, 32, 0.5);
}
.form-error-cta svg { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.form-error-cta:hover svg { transform: translateX(3px); }

/* Decline-state UX */
.decline-note {
  background: linear-gradient(160deg, var(--bone) 0%, var(--cream-2) 100%);
  border: 1px solid rgba(184, 153, 122, 0.4);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  color: var(--bark);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  margin: 0;
}
.decline-note strong {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--bark);
  padding: 0.05rem 0.45rem;
  border-radius: 4px;
  background: rgba(184, 153, 122, 0.2);
}

/* Faded fields while declining */
.declining-fade {
  opacity: 0.38;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.35s ease;
}
.field, label.check, label.radio {
  transition: opacity 0.35s ease;
}
.form-error a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}
.form-note {
  font-size: 0.82rem;
  color: var(--acacia);
  text-align: center;
  margin: 0;
  line-height: 1.65;
}
.form-note a {
  color: var(--bark);
  text-decoration: underline;
  text-decoration-color: rgba(184, 153, 122, 0.4);
  text-underline-offset: 3px;
}

.rsvp-thanks {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--bark);
}
.rsvp-thanks svg { width: 64px; height: 64px; color: var(--sage-deep); margin-bottom: 1rem; }
.rsvp-thanks h3 { font-size: 2.4rem; margin-bottom: 0.5rem; }
.rsvp-thanks .signoff { font-family: var(--script); font-size: 2.4rem; color: var(--acacia); }

/* ============================ FOOTER ============================ */
.foot {
  background: var(--bark);
  color: var(--cream);
  padding: 4rem var(--pad-x);
  text-align: center;
}
.foot-mono {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}
.foot p { margin: 0.25rem 0; font-size: 0.9rem; letter-spacing: 0.1em; }
.foot .fine { color: rgba(250, 246, 239, 0.55); margin-top: 1.25rem; }

