/* ============================================================
   Mullen & Bone — shared styles
   Palette: deep oxblood + ivory + soft blush-red accent
   ============================================================ */
:root {
  --wine: #3f1119;
  --wine-deep: #2e0c12;
  --cream: #ece5d5;
  --cream-light: #f3eee2;
  --accent: #bf6f63;       /* soft blush-red */
  --accent-deep: #7a3b37;  /* deep accent for type on ivory */
  --ink: #2e0c12;
  --display: "Bodoni Moda", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;
  --title: "Pinyon Script", cursive;
  --diamond: 24px;
  --diamond-img: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MiIgaGVpZ2h0PSI3MiIgdmlld0JveD0iMCAwIDcyIDcyIj48cmVjdCB3aWR0aD0iNzIiIGhlaWdodD0iNzIiIGZpbGw9IiNlY2U1ZDUiLz48cGF0aCBkPSJNMTIgMEwyNCAxMkwxMiAyNEwwIDEyWiIgZmlsbD0iIzNmMTExOSIvPjxwYXRoIGQ9Ik0zNiAwTDQ4IDEyTDM2IDI0TDI0IDEyWiIgZmlsbD0iIzNmMTExOSIvPjxwYXRoIGQ9Ik02MCAwTDcyIDEyTDYwIDI0TDQ4IDEyWiIgZmlsbD0iIzNmMTExOSIvPjxwYXRoIGQ9Ik0xMiAyNEwyNCAzNkwxMiA0OEwwIDM2WiIgZmlsbD0iIzNmMTExOSIvPjxwYXRoIGQ9Ik0zNiAyNEw0OCAzNkwzNiA0OEwyNCAzNloiIGZpbGw9IiMzZjExMTkiLz48cGF0aCBkPSJNNjAgMjRMNzIgMzZMNjAgNDhMNDggMzZaIiBmaWxsPSIjM2YxMTE5Ii8+PHBhdGggZD0iTTEyIDQ4TDI0IDYwTDEyIDcyTDAgNjBaIiBmaWxsPSIjM2YxMTE5Ii8+PHBhdGggZD0iTTM2IDQ4TDQ4IDYwTDM2IDcyTDI0IDYwWiIgZmlsbD0iIzNmMTExOSIvPjxwYXRoIGQ9Ik02MCA0OEw3MiA2MEw2MCA3Mkw0OCA2MFoiIGZpbGw9IiMzZjExMTkiLz48L3N2Zz4=");
  --strip-img: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IiNlY2U1ZDUiLz48cGF0aCBkPSJNMTIgMEwyNCAxMkwxMiAyNEwwIDEyWiIgZmlsbD0iIzNmMTExOSIvPjwvc3ZnPg==");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* the [hidden] attribute must win over any explicit display rule
   (e.g. .add-guest is inline-block; without this it ignores `hidden`) */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* subtle film grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* skip link (accessibility) */
.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--accent); color: var(--cream-light);
  font-family: var(--display); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 0.7rem 1.2rem; border-radius: 0 0 3px 3px; transition: transform 0.2s ease;
}
.skip-link:focus { transform: translate(-50%, 0); outline: none; }
#main:focus { outline: none; }

/* ---------- HARLEQUIN PATTERN ---------- */
.harlequin {
  background-color: var(--cream);
  background-image: var(--strip-img);
  background-size: var(--diamond) var(--diamond);
  background-position: center;
}
.harlequin-strip { height: var(--diamond); width: 100%; background-repeat: repeat-x; }

/* ---------- TYPE HELPERS ---------- */
.script { font-family: var(--display); font-style: italic; font-weight: 400; line-height: 1; }
.italic { font-style: italic; }
.label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ---------- NAV ---------- */
/* scoped to #nav (the fixed top bar) so the footer's <nav> isn't also pinned to the top */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem clamp(1.5rem, 5vw, 4rem);
  transition: background 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}
/* solid by default on interior pages; hero page toggles via .nav-transparent */
#nav { background: var(--wine); box-shadow: 0 1px 0 rgba(191,111,99,0.5); }
#nav.nav-transparent { background: transparent; box-shadow: none; }
#nav.nav-transparent.scrolled { background: var(--wine); box-shadow: 0 1px 0 rgba(191,111,99,0.5); }
#nav.scrolled { padding-top: 0.95rem; padding-bottom: 0.95rem; }

.monogram {
  font-family: var(--display); font-size: 1.15rem; font-weight: 600;
  letter-spacing: 0.2em; line-height: 1; color: var(--cream); text-decoration: none;
}
.monogram .amp { font-style: italic; font-weight: 500; font-size: 0.95em; letter-spacing: 0; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.4rem); }
.nav-links a {
  font-family: var(--display); font-weight: 500;
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); text-decoration: none; opacity: 0.85;
  transition: opacity 0.3s, color 0.3s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-links a.current { opacity: 1; color: var(--accent); }

/* hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 30px; height: 22px; position: relative; z-index: 120;
}
.nav-toggle span {
  position: absolute; left: 0; height: 1.5px; width: 100%; background: var(--cream);
  transition: transform 0.35s ease, opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 18px; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0; background: var(--wine);
    flex-direction: column; justify-content: center; gap: 1.8rem;
    transform: translateX(100%); transition: transform 0.4s ease;
  }
  body.menu-open .nav-links { transform: none; }
  .nav-links a { font-size: 1rem; letter-spacing: 0.26em; }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; padding: clamp(2rem, 5vw, 3.5rem);
  display: flex; align-items: center; justify-content: center;
  background: var(--wine);
}
.hero-frame {
  width: 100%; max-width: 880px;
  border: 24px solid transparent;
  border-image: var(--diamond-img) 24 round;
  animation: fadeIn 1.2s ease both;
  background: var(--cream);
  padding: clamp(16px, 3vw, 30px);
}
.hero-card {
  background: var(--cream-light);
  border: 1px solid var(--accent);
  outline: 1px solid var(--accent);
  outline-offset: 5px;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 6vw, 4rem);
  text-align: center; position: relative;
}
.hero-card .topline {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  color: var(--wine); margin-bottom: 1.4rem;
  opacity: 0; animation: rise 1s ease forwards 0.4s;
}
.hero-card .topline .label { color: var(--wine); }
.hero .the {
  font-family: var(--title); font-size: clamp(2.2rem, 6vw, 3.6rem);
  color: var(--accent-deep); line-height: 0.9;
  opacity: 0; animation: rise 1s ease forwards 0.5s;
}
.hero .names {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(2.6rem, 11vw, 6rem); letter-spacing: 0.04em;
  color: var(--wine); line-height: 1.05; margin: 0.1em 0 0.3rem;
  opacity: 0; animation: rise 1s ease forwards 0.65s;
}
.hero .sub {
  font-family: var(--title); font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2.3rem); color: var(--accent-deep);
  letter-spacing: 0.01em; margin-bottom: 2rem; line-height: 1;
  opacity: 0; animation: rise 1s ease forwards 0.8s;
}
.rule-row {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  color: var(--wine); margin: 0 auto 2.2rem; max-width: 360px;
  opacity: 0; animation: rise 1s ease forwards 0.9s;
}
.rule-row .ln { flex: 1; height: 1px; background: var(--accent); }
.rule-row .dot { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }

.countdown {
  display: flex; justify-content: center; gap: clamp(1.2rem, 5vw, 2.8rem);
  opacity: 0; animation: rise 1s ease forwards 1s;
}
.count-unit { display: flex; flex-direction: column; align-items: center; }
.count-num {
  font-family: var(--display); font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 500; color: var(--wine); font-variant-numeric: tabular-nums; line-height: 1;
}
.count-label {
  font-family: var(--display); font-size: 0.58rem; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--accent-deep); margin-top: 0.7rem; font-weight: 500;
}

/* ---------- PAGE HEADER (interior pages) ---------- */
.page-head {
  background: var(--wine); color: var(--cream); text-align: center;
  padding: clamp(7rem, 16vw, 10rem) 1.5rem clamp(3.5rem, 8vw, 5rem);
}
.page-head .label { color: var(--accent); display: block; margin-bottom: 0.7rem; }
.page-head h1 {
  font-family: var(--display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; line-height: 1.15; color: var(--cream);
  font-size: clamp(2rem, 6vw, 3.4rem);
}
.page-head h1 .script {
  font-family: inherit; font-style: normal; text-transform: inherit;
  font-weight: inherit; font-size: 1em; letter-spacing: inherit;
  color: inherit; vertical-align: baseline;
}
.page-head p.tagline {
  font-style: italic; max-width: 54ch; margin: 1.2rem auto 0; opacity: 0.9;
  font-size: 1.08rem;
}

/* ---------- SECTION SHELL ---------- */
section { padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3rem); }
section.wine { background: var(--wine); color: var(--cream); }
section.cream { background: var(--cream); color: var(--ink); }
.inner { max-width: 920px; margin: 0 auto; }
.inner-narrow { max-width: 640px; margin: 0 auto; }

/* keyline framed inner */
.framed {
  border: 1px solid currentColor; position: relative;
  padding: clamp(2.2rem, 4.5vw, 3.4rem) clamp(1.5rem, 5vw, 3.5rem);
}
.framed::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid currentColor; opacity: 0.5; pointer-events: none;
}
section.wine .framed, section.wine .framed::before { border-color: var(--accent); }
section.cream .framed, section.cream .framed::before { border-color: var(--accent); }
.diamond-frame { border: 24px solid transparent; border-image: var(--diamond-img) 24 round; background: var(--cream); padding: clamp(16px, 3vw, 26px); }

.sec-head { text-align: center; margin-bottom: 2.4rem; }
.sec-head .label { display: block; margin-bottom: 0.5rem; }
section.wine .sec-head .label { color: var(--accent); }
section.cream .sec-head .label { color: var(--accent-deep); }
.sec-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 4.4vw, 2.7rem); letter-spacing: 0.05em; line-height: 1.2; text-transform: uppercase; }
.sec-head h2 .script { font-family: inherit; font-style: normal; text-transform: inherit; font-weight: inherit; font-size: 1em; letter-spacing: inherit; color: inherit; vertical-align: baseline; margin-left: 0; }
section.wine .sec-head h2 { color: var(--cream); }
section.cream .sec-head h2 { color: var(--wine); }

p.lead { text-align: center; max-width: 56ch; margin: 0 auto 1.4rem; font-size: 1.1rem; }
p.lead:last-child { margin-bottom: 0; }

/* detail rows */
.details { display: grid; gap: 1.6rem; text-align: center; }
@media (min-width: 720px) { .details { grid-template-columns: repeat(3, 1fr); } }
.detail .k { display: block; margin-bottom: 0.7rem; }
section.cream .detail .k { color: var(--accent-deep); }
section.wine .detail .k { color: var(--accent); }
.detail .big { font-family: var(--display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.detail .small { display: block; font-style: italic; font-size: 1rem; margin-top: 0.4rem; opacity: 0.85; }
.detail + .detail { position: relative; }
@media (min-width: 720px) {
  .detail + .detail::after {
    content: ""; position: absolute; left: 0; top: 10%; height: 80%; width: 1px;
    background: var(--accent); opacity: 0.5;
  }
}

/* ornament divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 auto 2rem; color: var(--accent); }
section.cream .ornament { color: var(--accent-deep); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: clamp(34px, 8vw, 64px); background: currentColor; opacity: 0.55; }
.ornament svg { width: 84px; height: auto; }

/* schedule / generic centered note */
.soon { text-align: center; }
.soon p { font-style: italic; opacity: 0.85; max-width: 42ch; margin: 0 auto; }

/* ---------- SCHEDULE TIMELINE ---------- */
.timeline { max-width: 540px; margin: 0 auto; }
.tl-item { display: flex; gap: 1.4rem; padding: 1.15rem 0; border-bottom: 1px solid var(--accent); }
.tl-item:last-child { border-bottom: none; }
.tl-time {
  font-family: var(--display); font-weight: 500; font-variant-numeric: tabular-nums;
  min-width: 90px; text-align: right; color: var(--accent);
  letter-spacing: 0.04em;
}
section.cream .tl-time { color: var(--accent-deep); }
.tl-body .tl-name { font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.tl-body .tl-note { font-style: italic; opacity: 0.82; font-size: 0.98rem; }

/* ---------- TRAVEL ---------- */
.stay-rows { list-style: none; max-width: 560px; margin: 0 auto 2rem; }
.stay-rows li { display: flex; gap: 1.2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--accent); }
section.cream .stay-rows li { border-bottom-color: rgba(191,111,99,0.45); }
.stay-rows li:last-child { border-bottom: none; }
.stay-rows .k {
  font-family: var(--display); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  min-width: 104px; padding-top: 0.35rem;
}
section.cream .stay-rows .k { color: var(--accent-deep); }
.stay-rows .v { flex: 1; }
.stay-rows .v a, .link { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* hotel sub-blocks (two room blocks) */
.hotel { margin-top: 1.8rem; }
.hotel + .hotel { margin-top: 2.4rem; padding-top: 2.4rem; border-top: 1px solid rgba(191,111,99,0.35); }
.hotel-name {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.3rem, 3.4vw, 1.5rem); letter-spacing: 0.02em; color: var(--wine);
  text-align: center; margin: 0 0 0.9rem;
}
.hotel-addr { text-align: center; font-size: 1.05rem; margin: 0 auto 1.4rem; max-width: 44ch; }

/* curated local tips — place name lead-in, no ragged columns */
.tips { max-width: 580px; margin: 0 auto; }
.tip { margin: 0; padding: 1rem 0; line-height: 1.6; }
.tip + .tip { border-top: 1px solid rgba(191,111,99,0.35); }
.tip-name { font-family: var(--display); font-weight: 600; color: var(--wine); }

.getting { text-align: center; margin-top: 2.4rem; }
.getting p { max-width: 56ch; margin: 0 auto 0.9rem; }
.getting .note { font-style: italic; opacity: 0.8; font-size: 0.96rem; }

/* ---------- BUTTONS / PILLS ---------- */
.cta-wrap { text-align: center; margin-top: 1.6rem; }
.book-btn, .btn {
  display: inline-block; font-family: var(--display); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cream); background: transparent; border: 1px solid var(--accent);
  padding: 1rem 2.2rem; text-decoration: none; cursor: pointer;
  transition: background 0.35s, color 0.35s;
}
.book-btn:hover, .btn:hover { background: var(--accent); color: var(--cream-light); }
section.cream .book-btn, section.cream .btn { color: var(--accent-deep); border-color: var(--accent); }
section.cream .book-btn:hover, section.cream .btn:hover { background: var(--accent); color: var(--cream-light); }
.btn-solid { background: var(--accent); color: var(--cream-light); border-color: var(--accent); }
.btn-solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.pending {
  display: inline-block; font-family: var(--display); font-weight: 500;
  font-size: 0.56rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); background: transparent; border: 1px solid var(--accent);
  padding: 0.22rem 0.6rem; border-radius: 2px;
}

/* ---------- REGISTRY ---------- */
.registry-card { max-width: 540px; margin: 0 auto; text-align: center; }
.registry-card .lead { margin-bottom: 2rem; }

/* ---------- FAQ (accordion) ---------- */
.faq { max-width: 600px; margin: 0 auto; text-align: left; }
.faq-item { border-bottom: 1px solid var(--accent); }
.faq-item:last-child { border-bottom: none; }
.faq-item > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.3rem 2.2rem 1.3rem 0;
  font-family: var(--display); font-style: italic; font-size: 1.2rem;
  transition: color 0.2s;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--accent); }
.faq-item > summary:focus-visible { outline: none; color: var(--accent); }
.faq-item > summary::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform 0.25s;
}
.faq-item[open] > summary::after { content: "\2013"; }
.faq-a { opacity: 0.92; padding: 0 0 1.4rem; }
.faq-a a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* add-to-calendar link */
.cal-wrap { text-align: center; margin-top: 2.2rem; }
.cal-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--display); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
  text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.25s;
}
.cal-link:hover { border-bottom-color: var(--accent); }
.cal-link svg { width: 15px; height: 15px; }

/* ---------- RSVP FORM ---------- */
.form { max-width: 600px; margin: 0 auto; text-align: left; }
.field { margin-bottom: 1.6rem; }
.field > label {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 0.55rem;
}
section.wine .field > label { color: var(--accent); }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 1.02rem; color: var(--ink);
  background: var(--cream-light); border: 1px solid var(--accent);
  padding: 0.8rem 0.9rem; border-radius: 2px; outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent-deep); box-shadow: 0 0 0 2px rgba(191,111,99,0.25);
}
.field .hint { font-style: italic; font-size: 0.9rem; opacity: 0.75; margin-top: 0.4rem; }

/* segmented radio (Attending yes/no) */
.choice { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.choice label {
  flex: 1; min-width: 140px; text-align: center; cursor: pointer;
  font-family: var(--display); font-weight: 500; font-size: 0.74rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--accent); padding: 0.85rem 1rem; border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice input:checked + span { color: inherit; }
.choice label:has(input:checked) { background: var(--accent); color: var(--cream-light); border-color: var(--accent); }
.choice label:hover { border-color: var(--accent-deep); }
.choice label:has(input:focus-visible) { border-color: var(--accent-deep); box-shadow: 0 0 0 2px rgba(191,111,99,0.4); }

/* fieldset groups (attending / who's coming) styled like a labelled field */
.form fieldset.field { border: 0; padding: 0; min-width: 0; }
.form legend {
  display: block; font-family: var(--display); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 0.55rem; padding: 0;
}
section.wine .form legend { color: var(--accent); }

/* ---------- RSVP: find-invitation lookup ---------- */
.find-row { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.find-row input { flex: 1; min-width: 220px; }
.find-row .btn { white-space: nowrap; padding: 0.8rem 1.6rem; }
.manual-prompt { text-align: center; font-size: 0.96rem; margin-top: 1.6rem; opacity: 0.9; }
.text-link {
  background: none; border: none; cursor: pointer; padding: 0; font: inherit;
  color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}
.text-link:hover { color: var(--accent); }

/* match chooser */
.match-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 0.4rem 0 0.2rem; }
.match-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; text-align: left; cursor: pointer; background: var(--cream-light);
  border: 1px solid var(--accent); border-radius: 2px; padding: 0.85rem 1.1rem;
  transition: background 0.2s, border-color 0.2s;
}
.match-btn:hover { background: rgba(191,111,99,0.1); border-color: var(--accent-deep); }
.match-btn .match-env { font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.match-btn .match-seats {
  font-family: var(--display); font-size: 0.6rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-deep); white-space: nowrap;
}

/* household summary */
.household-summary {
  text-align: center; border: 1px solid var(--accent); border-radius: 2px;
  background: var(--cream-light); padding: 1.3rem 1.2rem; margin-bottom: 2rem;
}
.household-summary .hs-label {
  display: block; font-family: var(--display); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 0.5rem;
}
.household-summary .hs-name { display: block; font-family: var(--display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; }
.household-summary .hs-seats {
  display: block; font-style: italic; font-size: 0.98rem; opacity: 0.82; margin-top: 0.4rem;
}
.household-summary .hs-input { width: 100%; max-width: 360px; margin: 0 auto 0.2rem; text-align: center; }

/* per-guest cards (built by JS) */
.guest-row {
  border: 1px solid var(--accent); border-radius: 2px;
  padding: 1.1rem 1.2rem 1.3rem; margin-bottom: 1.1rem;
  background: var(--cream-light);
}
.guest-row-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.guest-row .guest-num {
  font-family: var(--display); font-weight: 500; font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep);
}
.guest-row .gname { margin-bottom: 1rem; }
.guest-row .gname input { width: 100%; }
.sub-label {
  display: block; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-family: var(--display); font-weight: 500; color: var(--accent-deep); margin-bottom: 0.45rem;
}
.sub-label em { font-style: italic; text-transform: none; letter-spacing: 0.02em; opacity: 0.7; }
.guest-row .gmeal { margin-bottom: 1rem; }
.guest-row .gdiet { margin-top: 0.2rem; }
.diet-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.6rem; }
.diet-chip {
  cursor: pointer; font-family: var(--display); font-weight: 500;
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid var(--accent); border-radius: 2px; padding: 0.4rem 0.75rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.diet-chip input { position: absolute; opacity: 0; pointer-events: none; }
.diet-chip:hover { border-color: var(--accent-deep); }
.diet-chip:has(input:checked) { background: var(--accent); color: var(--cream-light); border-color: var(--accent); }
.diet-chip:has(input:focus-visible) { box-shadow: 0 0 0 2px rgba(191,111,99,0.4); }
.guest-row .g-diet-other { width: 100%; margin-top: 0.2rem; }
.guest-row .rm {
  background: none; border: none; cursor: pointer; color: var(--accent);
  font-family: var(--display); font-size: 1.5rem; line-height: 1; padding: 0 0.3rem;
}
.guest-row .rm:hover { color: var(--accent-deep); }
.add-guest {
  display: inline-block; font-family: var(--display); font-weight: 500;
  font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep); background: none; border: 1px dashed var(--accent);
  padding: 0.6rem 1.1rem; border-radius: 2px; cursor: pointer; margin-top: 0.2rem;
}
.add-guest:hover { background: rgba(191,111,99,0.1); }
.guest-row .g-name-locked { font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.guest-row .gattend { margin-bottom: 1rem; }
.choice-sm label { min-width: 110px; padding: 0.6rem 0.9rem; font-size: 0.66rem; }
.gmeal-wrap { /* shown/hidden by JS via the attendance toggle */ }

#attending-section { display: none; }
.form-status { text-align: center; margin-top: 1.4rem; font-style: italic; min-height: 1.5em; }
.form-status.error { color: #b3262e; font-style: normal; }
.thanks { text-align: center; max-width: 480px; margin: 0 auto; }
.thanks h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.05em; color: var(--wine); margin-bottom: 1rem; }

/* ---------- FOOTER ---------- */
footer { background: var(--wine); color: var(--cream); text-align: center; padding: clamp(3.5rem, 9vw, 6rem) 1.5rem; }
.cats-msg { font-family: var(--title); font-size: clamp(2rem, 6vw, 3rem); color: var(--accent); line-height: 1; }
/* commissioned cat art (recolored ivory) — the signature, tucked under "We do too!".
   Sized by width to roughly match the "Kaitlin & Kyle" wordmark, tracking the same scale. */
.cats-art {
  display: block; width: clamp(14rem, 36vw, 22.5rem); height: auto;
  margin: 0.5rem auto 0;
}
.cats-rule { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin: 2.2rem auto 2.4rem; max-width: 240px; color: var(--accent); }
.cats-rule span { height: 1px; flex: 1; background: currentColor; opacity: 0.5; }
.cats-rule .d { flex: 0 0 auto; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); opacity: 1; }
footer .mono { font-family: var(--title); font-size: clamp(2.8rem, 7vw, 4.4rem); color: var(--cream); line-height: 1; letter-spacing: 0; }
footer .mono .amp { color: var(--accent); }
footer .footnav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin: 1.6rem auto 0; }
footer .footnav a {
  font-family: var(--display); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); opacity: 0.7; text-decoration: none; transition: opacity 0.3s, color 0.3s;
}
footer .footnav a:hover { opacity: 1; color: var(--accent); }
footer .date { font-family: var(--display); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin-top: 1.4rem; }

/* ---------- REVEAL / MOTION ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

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