/* ==========================================================================
   Ashlyn & Tyler — Wedding Website
   Botanical Design System (Aug 2026) — styled after the invitation suite:
   flat moss / wine panels, ivory cards with fine double rules, palmette
   friezes, diamond separators. Palash / Nourd / Symphony Pro.
   ========================================================================== */

@font-face { font-family: "Palash"; src: url("../assets/fonts/Palash-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nourd"; src: url("../assets/fonts/Nourd-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nourd"; src: url("../assets/fonts/Nourd-Medium.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Symphony Pro"; src: url("../assets/fonts/SymphonyPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* Earth tones */
  --moss: #706B00;
  --moss-deep: #5E5812;
  --gold: #BBA200;
  --wheat: #D4C361;
  /* Accents */
  --slate-blue: #86A8BA;
  --crimson: #C33C4E;
  /* Blush */
  --rose: #E19A9C;
  --blush: #E7CACB;
  /* Wine — the deep oxblood from the invitation suite */
  --wine: #5F2332;
  /* Neutrals */
  --linen: #E5D9CC;
  --ivory: #F1EFE6;
  --ink: #211E17;

  --ink-soft: color-mix(in srgb, var(--ink) 78%, var(--ivory));
  --gold-ink: color-mix(in srgb, var(--gold) 70%, var(--moss)); /* gold that reads on ivory */

  --font-display: "Palash", "Bodoni Moda", "Times New Roman", serif;
  --font-script: "Symphony Pro", "Pinyon Script", cursive;
  --font-sans: "Nourd", "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1120px;
  --gutter: clamp(16px, 5vw, 72px);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
sup { font-size: 0.6em; line-height: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 760px; }
section { position: relative; }
[hidden] { display: none !important; }
/* Audience-tagged content stays hidden until js/rsvp.js knows who's visiting */
body:not(.audience-ready) [data-for] { display: none !important; }

/* ---------- Type ---------- */
.heading {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--moss);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
/* Script word set inside a Palash heading ("How We got Here") */
.heading .script {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8em;
  color: var(--gold-ink);
  padding: 0 0.08em;
}
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }
.caps {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.caps.accent { color: var(--moss); }
.small { font-size: 0.82rem; }
.lede { font-size: 1.08rem; color: var(--ink-soft); }
.diamonds {
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin: 16px 0;
  padding-left: 0.35em;
}
.section-head { text-align: center; margin-bottom: 56px; display: grid; gap: 14px; justify-items: center; }
.section-intro { max-width: 560px; color: var(--ink-soft); }

/* ---------- Ornaments ----------
   The motif SVGs are single-colour, so they're used as masks and tinted
   with currentColor — one file, any palette colour. */
.orn {
  display: block;
  margin: 0 auto;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
          mask: var(--m) center / contain no-repeat;
  color: var(--gold);
}
.orn.flip { transform: scaleY(-1); }
.orn-palmette { --m: url("../assets/img/motifs/palmette-gold.svg"); aspect-ratio: 1366 / 232; width: 100%; }
.orn-crest    { --m: url("../assets/img/motifs/oval-gold.svg");     aspect-ratio: 1366 / 784; width: 96px; }
.orn-diamond  { --m: url("../assets/img/motifs/diamond-gold.svg");  aspect-ratio: 1366 / 861; }
.orn-badge    { --m: url("../assets/img/motifs/badge-gold.svg");    aspect-ratio: 1069 / 1366; }
.orn-flower   { --m: url("../assets/img/motifs/flower-a-gold.svg"); aspect-ratio: 594 / 1366; width: 34px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid var(--moss);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: transparent;
  color: var(--moss);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--moss); color: var(--ivory); }
.btn-solid { background: var(--moss); color: var(--ivory); }
.btn-solid:hover { background: var(--moss-deep); border-color: var(--moss-deep); }
.btn-light { border-color: var(--wheat); color: var(--ivory); }
.btn-light:hover { background: var(--wheat); color: var(--moss-deep); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; }

/* ---------- Nav ---------- */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled { box-shadow: 0 6px 24px rgba(33, 30, 23, 0.06); }
.nav-mark { font-family: var(--font-script); font-size: 1.8rem; line-height: 1; color: var(--moss); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); }
.nav-links a {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--crimson); }
.nav-links .nav-rsvp { border: 1px solid var(--moss); padding: 8px 16px; }
.nav-links .nav-rsvp:hover { background: var(--moss); color: var(--ivory); }

.nav-toggle { display: none; background: none; border: none; width: 28px; height: 20px; position: relative; z-index: 110; }
.nav-toggle span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--moss); transition: all 0.3s ease; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-open .nav-toggle span { background: var(--ivory); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero: the invitation card on a palmette field ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 110px var(--gutter) 70px;
  background:
    linear-gradient(rgba(60, 55, 5, 0.42), rgba(60, 55, 5, 0.42)),
    var(--moss-deep) url("../assets/img/pattern-palmette-tile.jpg") 0 0 / 402px auto repeat;
}
.invite-card {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(34px, 6vw, 56px) clamp(24px, 6vw, 60px);
  background: var(--ivory);
  text-align: center;
  color: var(--moss);
  /* fine double rule: gold outer, crimson inner — as on the invitation */
  box-shadow:
    0 0 0 10px var(--ivory),
    0 0 0 11px var(--gold),
    0 0 0 14px var(--ivory),
    0 0 0 15px var(--crimson),
    0 30px 60px rgba(20, 18, 0, 0.35);
  margin: 15px;
}
.hero-names {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-size: clamp(3.2rem, 10vw, 4.8rem);
}
.hero-names span { display: block; font-size: 0.8em; }
.hero-script { font-size: clamp(1.5rem, 4vw, 1.9rem); color: var(--moss); line-height: 1.2; }
.hero-when {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 24px;
}
.hero-when > div { flex: 1 1 0; max-width: 50%; }
.hero-when .caps { color: var(--moss); }
.hero-when .script { font-size: 1.55rem; line-height: 1.3; color: var(--ink); }
.hero-when .small { color: var(--ink-soft); }

/* Landing page has no nav, so the invitation card sits centered */
body:has(.site-nav[hidden]) .hero { padding-top: 70px; }

/* ---------- Welcome ---------- */
.welcome { padding: 96px 0 88px; text-align: center; background: var(--ivory); }
.welcome .orn-crest { margin-bottom: 20px; }
.welcome-names { font-size: clamp(2.2rem, 6vw, 3rem); line-height: 1.2; color: var(--moss); margin-bottom: 18px; }
.not-you { margin-top: 44px; color: var(--ink-soft); }
.not-you .link-btn { font-size: inherit; }
.hero-year { color: var(--moss); margin-bottom: 26px; }
#findApp { text-align: left; max-width: 360px; margin: 0 auto; }
#findApp .rsvp-note { margin-top: 2px; }
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 6vw, 64px);
  margin-top: 48px;
}
.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  color: var(--crimson);
}
.countdown .caps { margin-top: 10px; color: var(--moss); font-size: 0.64rem; }
.countdown-sep { color: var(--gold); font-size: 0.6rem; }

/* ---------- Story ---------- */
.story { padding: 110px 0; background: var(--linen); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.story-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.story-photos .p1 { margin-top: 48px; }
.matted {
  background: var(--ivory);
  padding: 10px;
  box-shadow: inset 0 0 0 1px var(--gold), 0 18px 40px rgba(33, 30, 23, 0.12);
}
.matted img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.story-text { display: grid; gap: 18px; }
.story-text .heading { margin-bottom: 10px; }
.story-beats { display: grid; gap: 22px; }
.story-beat h3 { font-size: 1.9rem; line-height: 1.1; color: var(--wine); margin-bottom: 4px; }
.story-beat p { color: var(--ink-soft); }

/* ---------- Two celebrations: oval cards on wine ---------- */
.celebrations { padding: 110px 0 120px; background: var(--wine); color: var(--ivory); }
.section-head.on-dark .caps { color: var(--wheat); }
.section-head.on-dark .heading { color: var(--ivory); }
.section-head.on-dark .heading .script { color: var(--wheat); }
.section-head.on-dark .section-intro { color: var(--blush); }
.ovals { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px, 4vw, 48px); max-width: 900px; margin: 0 auto; }
.ovals > .oval-card { flex: 0 1 426px; }
.oval-card {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--moss);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16% 13%;
}
/* dotted gold inner oval */
.oval-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px dotted var(--gold);
  pointer-events: none;
}
.oval-card .orn-crest { width: 76px; margin-bottom: 10px; }
.oval-card .heading { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 8px; }
.oval-card .caps { color: var(--moss); }
.oval-card .caps.small { font-size: 0.66rem; line-height: 1.7; color: var(--ink-soft); }
.oval-card .script { font-size: 1.7rem; line-height: 1.2; color: var(--moss); margin-bottom: 4px; }
.oval-card .diamonds { margin: 12px 0; }

/* ---------- Ireland weekend: ruled card ---------- */
.weekend { padding: 110px 0; background: var(--linen); }
.ruled-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--ivory);
  padding: clamp(40px, 7vw, 72px) clamp(22px, 6vw, 72px);
  text-align: center;
  /* thin gold hairlines inside, crimson hairline outside — the "Weekend Details" card */
  box-shadow:
    inset 0 0 0 10px var(--ivory),
    inset 0 0 0 11px var(--gold),
    inset 0 0 0 14px var(--ivory),
    inset 0 0 0 15px var(--gold),
    0 0 0 1px var(--crimson);
}
.cartouche {
  position: relative;
  width: min(380px, 100%);
  aspect-ratio: 1366 / 861;
  margin: 0 auto;
  display: grid;
  place-content: center;
}
.cartouche .orn-diamond { position: absolute; inset: 0; }
.cartouche .script { font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 0.8; color: var(--moss); position: relative; }
.cartouche .heading { font-size: clamp(2.4rem, 7vw, 3.6rem); position: relative; }
.weekend-where { margin: 18px 0 44px; color: var(--crimson) !important; }
/* Stacked timeline, one event after another, separated by gold diamonds */
.weekend-items { display: grid; gap: 0; text-align: center; max-width: 480px; margin: 0 auto; }
.weekend-item + .weekend-item::before {
  content: "◆◆◆◆";
  display: block;
  margin: 30px 0;
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  padding-left: 0.35em;
  color: var(--gold);
}
.weekend-item .heading { font-size: clamp(2rem, 4vw, 2.6rem); }
.weekend-item .caps { margin: 10px 0 8px; color: var(--moss); }
.weekend-item > p:not(.caps):not(.weekend-link) { color: var(--ink-soft); font-size: 0.95rem; max-width: 360px; margin: 0 auto; }
.weekend-link { margin-top: 12px !important; }
.weekend-link a {
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--crimson); border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.weekend-link a::after { content: " \2192"; }
.weekend-link a:hover { color: var(--moss); }
.day-plan { display: grid; gap: 6px; color: var(--ink-soft); font-size: 0.95rem; }
.day-plan .time { display: block; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--crimson); }

/* ---------- Where to stay: standalone room-block card on the palmette field ---------- */
.stay {
  padding: clamp(80px, 10vw, 120px) var(--gutter);
  background:
    linear-gradient(rgba(60, 55, 5, 0.42), rgba(60, 55, 5, 0.42)),
    var(--moss-deep) url("../assets/img/pattern-palmette-tile.jpg") 0 0 / 402px auto repeat;
}
.stay-card {
  max-width: 620px;
  margin: 15px auto;
  padding: clamp(40px, 6vw, 60px) clamp(22px, 6vw, 60px);
  background: var(--ivory);
  text-align: center;
  color: var(--moss);
  box-shadow:
    0 0 0 10px var(--ivory),
    0 0 0 11px var(--gold),
    0 0 0 14px var(--ivory),
    0 0 0 15px var(--crimson),
    0 30px 60px rgba(20, 18, 0, 0.35);
}
.stay-card .orn-crest { margin-bottom: 18px; }
.stay-card .heading { margin-top: 10px; }
.stay-lede { color: var(--ink-soft); max-width: 440px; margin: 0 auto; }
.stay-facts { display: flex; justify-content: center; gap: clamp(24px, 6vw, 56px); margin: 28px 0 32px; }
.stay-facts .caps { color: var(--moss); }
.stay-facts .script { font-size: 1.6rem; line-height: 1.3; color: var(--ink); }
.btn-lg { padding: 18px 46px; font-size: 0.78rem; }
.stay .booking-soon { color: var(--ink-soft); font-style: italic; }

/* ---------- Travel: wine panel with wheat hairline frame ---------- */
.travel { padding: 110px 0; background: var(--ivory); }
.framed-panel {
  background: var(--wine);
  color: var(--ivory);
  text-align: center;
  padding: clamp(28px, 4vw, 44px) clamp(22px, 6vw, 72px);
  box-shadow: inset 0 0 0 10px var(--wine), inset 0 0 0 11px var(--wheat), 0 0 0 1px color-mix(in srgb, var(--wine) 80%, var(--ink));
}
.panel-title { font-size: clamp(3rem, 8vw, 4.6rem); line-height: 1.2; color: var(--ivory); margin: 16px 0 36px; }
.travel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-bottom: 20px; }
.travel-grid.two { grid-template-columns: 1fr 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.travel-item .heading { color: var(--wheat); font-size: clamp(1.6rem, 2.2vw, 1.9rem); margin-bottom: 14px; }
.travel-item p { font-size: 0.93rem; color: var(--blush); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 10px;
  background: var(--ivory);
}
.gallery a { overflow: hidden; display: block; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.6s ease; }
.gallery a:hover img { transform: scale(1.05); }

/* ---------- Attire & registry ---------- */
.notes { padding: 100px 0; background: var(--ivory); }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: color-mix(in srgb, var(--gold) 50%, transparent); max-width: 900px; }
.note { background: var(--ivory); padding: 20px clamp(20px, 5vw, 56px); text-align: center; display: grid; gap: 14px; justify-items: center; }
.note .heading { font-size: clamp(2rem, 4vw, 2.8rem); }
.note p:not(.caps) { color: var(--ink-soft); max-width: 360px; }

/* ---------- FAQ ---------- */
.faq { padding: 110px 0; background: var(--linen); }
.faq-list { max-width: 720px; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--moss) 30%, transparent); }
.faq-item { border-bottom: 1px solid color-mix(in srgb, var(--moss) 30%, transparent); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.02rem;
  color: var(--moss);
}
.faq-question .plus { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--crimson); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p { padding: 0 4px 24px; color: var(--ink-soft); max-width: 620px; }
.faq-answer a { color: var(--crimson); border-bottom: 1px solid currentColor; }

/* ---------- RSVP: harlequin field + ivory card ---------- */
.rsvp {
  padding: 110px 0;
  background: var(--wine) url("../assets/img/pattern-harlequin-tile.png") 0 0 / 300px auto repeat;
}
.rsvp-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--ivory);
  padding: clamp(36px, 6vw, 60px) clamp(20px, 6vw, 60px);
  box-shadow: 0 0 0 8px var(--ivory), 0 0 0 10px var(--gold), 0 30px 60px rgba(40, 10, 20, 0.35);
  margin-top: 10px;
}
.rsvp-card .orn-crest { width: 84px; color: var(--wine); }
.rsvp-card .orn-crest.flip { margin-top: 30px; }
.rsvp-title { text-align: center; font-size: clamp(3rem, 9vw, 4.2rem); line-height: 1.2; color: var(--wine); margin: 8px 0 18px; }

.rsvp-find, .rsvp-details, .rsvp-pick, .rsvp-thanks { display: grid; gap: 22px; }
.rsvp-lede { text-align: center; color: var(--ink-soft); }
.rsvp-party { display: inline-block; margin-top: 6px; font-family: var(--font-script); font-size: 1.8rem; line-height: 1.3; color: var(--moss); }
.rsvp-error { color: var(--crimson); font-size: 0.9rem; text-align: center; }
.rsvp-error:empty { display: none; }
.rsvp-submit { text-align: center; margin-top: 4px; }
.rsvp-note { font-size: 0.84rem; color: var(--ink-soft); text-align: center; }

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 6px;
}
.field .optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid color-mix(in srgb, var(--moss) 45%, transparent);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 8px 2px;
}
.field select { -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23706B00'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink) 40%, transparent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--crimson); }

.rsvp-event {
  margin: 0;
  padding: 24px clamp(16px, 4vw, 28px) 8px;
  border: none;
  box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 0 4px var(--ivory), inset 0 0 0 5px color-mix(in srgb, var(--gold) 50%, transparent);
  text-align: center;
}
.rsvp-event legend { display: contents; }
.event-eyebrow, .sub-label { display: block; font-weight: 600; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--crimson); }
.event-title { display: block; margin-top: 8px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.02em; font-size: 2rem; line-height: 1; color: var(--moss); }
.event-sub { display: block; margin: 8px 0 6px; font-size: 0.86rem; color: var(--ink-soft); }
.guest-row { padding: 18px 0; border-top: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); display: grid; gap: 12px; justify-items: center; }
.guest-row:first-of-type { margin-top: 14px; }
.guest-name { font-family: var(--font-script); font-size: 1.6rem; line-height: 1.1; color: var(--ink); }
.when-yes { display: grid; gap: 10px; width: 100%; max-width: 320px; text-align: left; }
.sub-label { text-align: center; color: var(--moss); }

.choice { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid color-mix(in srgb, var(--moss) 50%, transparent);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pill:hover span { border-color: var(--moss); }
.pill input:checked + span { background: var(--moss); color: var(--ivory); border-color: var(--moss); }
.pill input[value="no"]:checked + span { background: var(--wine); border-color: var(--wine); }
.pill input:focus-visible + span { outline: 2px solid var(--crimson); outline-offset: 2px; }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.94rem; color: var(--ink); }
.check input { accent-color: var(--moss); width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.check input:disabled + span { color: var(--ink-soft); }

.pick-option { background: transparent; border: 1px solid var(--gold); color: var(--moss); padding: 16px; font-size: 1rem; transition: background 0.2s; }
.pick-option:hover { background: color-mix(in srgb, var(--gold) 12%, transparent); }
.link-btn { background: none; border: none; padding: 0; color: var(--crimson); font-size: 0.84rem; text-decoration: underline; text-underline-offset: 3px; justify-self: center; }
.thanks-script { text-align: center; font-size: clamp(2.4rem, 7vw, 3.2rem); line-height: 1.2; color: var(--moss); }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 70px; text-align: center; background: var(--moss); color: var(--linen); }
.footer-mark { font-family: var(--font-script); font-size: clamp(2.6rem, 7vw, 3.6rem); line-height: 1.2; color: var(--ivory); }
.site-footer .diamonds { color: var(--wheat); }
.site-footer .caps { color: var(--wheat); margin-top: 6px; }
.footer-contact { margin-top: 26px; font-size: 0.9rem; }
.footer-contact a { border-bottom: 1px solid var(--wheat); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .travel-grid, .travel-grid.two { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .ovals > .oval-card { flex-basis: 380px; }
  .notes-grid { grid-template-columns: 1fr; }
  .note { padding: 36px 20px; }

  .nav-links {
    position: fixed;
    inset: 0;
    height: 100vh;
    background: var(--moss);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: 105;
  }
  .nav-links a { color: var(--ivory); font-size: 0.9rem; }
  .nav-links .nav-rsvp { border-color: var(--wheat); }
  .nav-open .nav-links { transform: none; }
  .nav-toggle { display: block; }
  .nav-open .nav-mark { color: var(--ivory); position: relative; z-index: 110; }
}
@media (max-width: 480px) {
  .hero-when { flex-direction: column; gap: 14px; }
  .hero-when > div { max-width: none; }
  .stay-facts { flex-direction: column; gap: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .invite-card { box-shadow: 0 0 0 6px var(--ivory), 0 0 0 7px var(--gold), 0 0 0 9px var(--ivory), 0 0 0 10px var(--crimson), 0 20px 40px rgba(20,18,0,0.35); margin: 10px 0; }
  .oval-card { padding: 17% 11%; }
}
