/* 15th Avenue Christian Church design system
   Warm, simple, traditional. Fonts loaded in base.njk head. */

:root {
  /* Color tokens */
  --bg:        #FBF7F1;   /* warm ivory page background */
  --surface:   #FFFFFF;   /* cards */
  --ink:       #2B2523;   /* primary text, warm near-black */
  --ink-soft:  #5A5049;   /* secondary text */
  --primary:   #6B2D3C;   /* deep burgundy, heading accents, buttons */
  --primary-d: #542330;   /* darker burgundy for hover */
  --accent:    #B98A34;   /* warm gold, small accents and rules */
  --line:      #E7DFD3;   /* warm hairline borders */

  /* Type */
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --measure: 68ch;        /* comfortable reading width */
  --wide: 1120px;         /* max width for wide sections */
  --radius-btn: 6px;
  --radius-card: 8px;
  --shadow-card: 0 2px 10px rgba(43, 37, 35, 0.06);
  --shadow-nav: 0 1px 0 var(--line);
  --space: 1.25rem;
}

/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Section heading with a short gold rule underneath, used sparingly */
.section-title { position: relative; }
.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.5rem;
  background: var(--accent);
  border-radius: 2px;
}

/* Visually hidden, still available to screen readers */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* Focus visibility */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Layout containers */
.container { width: 100%; max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2.25rem; }
.prose h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.45rem;
  background: var(--accent);
  border-radius: 2px;
}
.prose h3 { margin-top: 1.75rem; color: var(--primary); }
.prose ul, .prose ol { padding-left: 1.35rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 0.5rem 1.25rem;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}
main { display: block; }
.section { padding: 3.5rem 0; }
.section--tight { padding: 2.25rem 0; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-btn);
  border: 2px solid var(--primary);
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--primary-d); border-color: var(--primary-d); color: #fff; text-decoration: none; }
.btn--outline {
  background: transparent;
  color: var(--primary);
}
.btn--outline:hover { background: var(--primary); color: #fff; }

/* Emphasized invitation line on the home page */
.lead-invite {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--primary);
  margin: 1.5rem 0 1.25rem;
}

/* Callout box, used for the newsletter nudge */
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 2rem;
  max-width: var(--measure);
  margin: 0 auto;
}
.callout h2 { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

/* Cards */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.card-grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .card-grid--three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .card-grid--three { grid-template-columns: 1fr; } }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.card { color: inherit; }
a.card:hover { text-decoration: none; box-shadow: 0 6px 18px rgba(43,37,35,0.1); transform: translateY(-2px); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.1rem 1.25rem 1.25rem; }
.card__title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; margin: 0 0 0.25rem; color: var(--primary); }
.card__text { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

/* Contact layout and forms */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }
.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 2rem;
}
.contact-info h2 { margin-top: 0; }
.contact-info__name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--primary); margin: 0 0 0.75rem; }
.contact-info address { font-style: normal; line-height: 1.9; color: var(--ink); }
.contact-info address a { color: var(--primary); }
.contact-info__directions { margin-top: 1.25rem; }

.form-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--radius-btn);
  padding: 0.6rem 0.9rem;
  margin-bottom: 1.5rem;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.req { color: var(--primary); font-weight: 700; }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.form-field textarea { min-height: 150px; resize: vertical; }

/* Admin tool */
.admin-note {
  background: #FBEFD6;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  padding: 0.75rem 1rem;
  color: #6a4c12;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}
.admin-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 2rem;
  max-width: 36rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-field select { width: 100%; padding: 0.7rem 0.8rem; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-btn); }
.admin-issue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  margin-bottom: 0.6rem;
}
.admin-issue__label { font-weight: 600; }
.admin-issue__file { color: var(--ink-soft); font-size: 0.85rem; font-family: monospace; }

/* Newsletter issues list */
.issues { margin: 1.5rem 0 0; }
.issues__status { color: var(--ink-soft); }
.issue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.issue-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1rem 1.35rem;
  color: inherit;
}
.issue-item:hover { text-decoration: none; box-shadow: 0 6px 18px rgba(43, 37, 35, 0.1); }
.issue-item__title { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--primary); display: block; }
.issue-item__meta { color: var(--ink-soft); font-size: 0.88rem; display: block; margin-top: 0.1rem; }
.issue-item__cta { font-weight: 600; color: var(--primary); white-space: nowrap; }

/* Subscribe form */
.subscribe {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 2rem;
  max-width: 34rem;
}
.subscribe h2 { margin-top: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.2em; }
.form-status--ok { color: #2F6A3F; }
.form-status--error { color: var(--primary); }
.cf-turnstile { margin: 0.5rem 0 1rem; }

/* Site header and navigation */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0;
}
.nav__brand:hover { text-decoration: none; opacity: 0.88; }
.nav__logo,
.nav__logo picture,
.nav__logo img { display: block; }
.nav__logo--wide img { height: 44px; width: auto; }
.nav__logo--icon { display: none; }
.nav__logo--icon img { height: 44px; width: 44px; }

.nav__toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-btn);
  padding: 0.5rem 0.7rem;
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}
.nav__toggle-bars { display: inline-block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav__toggle-bars::before, .nav__toggle-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.nav__toggle-bars::before { top: -6px; }
.nav__toggle-bars::after { top: 6px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-block;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-btn);
}
.nav__link:hover { text-decoration: none; color: var(--primary); background: var(--bg); }
.nav__link[aria-current="page"] { color: var(--primary); }
.nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--accent); margin-top: 2px; border-radius: 2px;
}

/* Dropdown */
.nav__group { display: flex; align-items: center; }
.nav__caret {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0.6rem 0.5rem;
  font-size: 0.7rem;
  line-height: 1;
  border-radius: var(--radius-btn);
}
.nav__caret:hover { color: var(--primary); background: var(--bg); }
.nav__caret svg { transition: transform 0.15s ease; }
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 24px rgba(43,37,35,0.12);
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.4rem;
  display: none;
  z-index: 200;
}
.nav__item.is-open > .nav__submenu { display: block; }
.nav__item.is-open .nav__caret svg { transform: rotate(180deg); }
.nav__sublink {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
}
.nav__sublink:hover { text-decoration: none; color: var(--primary); background: var(--bg); }
.nav__sublink[aria-current="page"] { color: var(--primary); font-weight: 600; }

/* Page header band */
.page-header {
  position: relative;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 240px;
  overflow: hidden;
}
.page-header--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(30,20,22,0.35) 0%, rgba(30,20,22,0.62) 100%);
}
.page-header__media { position: absolute; inset: 0; z-index: 0; }
.page-header__media picture { display: block; width: 100%; height: 100%; }
.page-header__img { width: 100%; height: 100%; object-fit: cover; }
.page-header__inner { position: relative; z-index: 2; padding: 3rem 0; width: 100%; }
.page-header h1 { color: #fff; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.page-header__subtitle { color: #fff; opacity: 0.95; font-size: 1.15rem; margin: 0.5rem 0 0; max-width: 60ch; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }

/* Home hero (taller variant) */
.page-header--hero { min-height: 420px; }

/* Footer */
.site-footer {
  background: var(--primary);
  color: #F0E6E2;
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.site-footer a { color: #F0E6E2; }
.site-footer a:hover { color: #fff; }
.footer__logo { display: inline-block; margin-bottom: 2rem; }
.footer__logo:hover { opacity: 0.9; }
.footer__logo picture,
.footer__logo img { display: block; width: 280px; max-width: 100%; height: auto; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: start;
}
.footer__meta { font-size: 0.98rem; line-height: 1.7; color: #F0E6E2; margin: 0; }
.footer__meta a { text-decoration: none; }
.footer h2 { color: #fff; font-size: 1.1rem; margin: 0 0 0.6rem; }
.footer__links { list-style: none; margin: 0; padding: 0; line-height: 2; }
.footer__newsletter { font-size: 0.98rem; color: #F0E6E2; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: #E4D6D1;
}
.footer__bottom a { color: #E4D6D1; }

/* Staff cards with circular photos */
.staff-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.staff-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.25rem;
}
.staff-card__photo { width: 140px; height: 140px; margin: 0 auto 1rem; }
.staff-card__photo picture,
.staff-card__photo img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.staff-card__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.15rem;
}
.staff-card__role { color: var(--ink-soft); margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; }
  .nav__logo--wide { display: none; }
  .nav__logo--icon { display: block; }
  .nav__menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(43,37,35,0.12);
    padding: 0.5rem;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav__menu.is-open { display: flex; }
  .nav__item { width: 100%; }
  .nav__group { justify-content: space-between; width: 100%; }
  .nav__link { flex: 1; padding: 0.75rem 0.85rem; }
  .nav__caret { padding: 0.75rem 1rem; }
  .nav__submenu {
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 0 0 0.25rem 1rem;
    min-width: 0;
  }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Weddings (Phase 3) */

/* Back to Weddings link at the top of each sub-page */
.wedding-back { font-weight: 600; margin-bottom: 1.5rem; }

/* Text link cards on the Weddings landing */
.link-cards {
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.link-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.4rem;
  color: var(--ink);
}
.link-card:hover { text-decoration: none; border-left-color: var(--primary); }
.link-card__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.link-card__text { color: var(--ink-soft); font-size: 0.98rem; }

/* Standard call to action block */
.wedding-cta {
  margin-top: 3rem;
  padding: 1.75rem 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.wedding-cta__line {
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--primary);
  margin: 0 0 1.25rem;
}
.wedding-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0;
}

/* Fees tables */
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; -webkit-overflow-scrolling: touch; }
.fees-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 460px;
  font-size: 1rem;
}
.fees-table caption { text-align: left; }
.fees-table th,
.fees-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fees-table thead th {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
}
.fees-table tbody th { font-weight: 600; }
.fees-table__amount { text-align: right; white-space: nowrap; }
.fees-table__sub th:first-child { padding-left: 1.9rem; font-weight: 400; color: var(--ink-soft); }
.fees-table__sub th { position: relative; }
.fees-table__sub th:first-child::before {
  content: "\2013"; /* en dash marker for a sub-item */
  position: absolute;
  left: 0.9rem;
  color: var(--accent);
}
.fee-note {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.fee-note__list { padding-left: 1.15rem; margin-bottom: 0; }
.fee-note__list li { margin-bottom: 0.25rem; }
.fees-footnote { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* FAQ disclosures */
.faq-list { margin: 1.5rem 0 0; }
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem 1rem 2.4rem;
  position: relative;
  font-weight: 600;
  color: var(--primary);
  font-size: 1.05rem;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::before {
  content: "+";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
  font-weight: 700;
}
.faq[open] > summary::before { content: "\2013"; } /* en dash when open */
.faq > summary:hover { background: var(--bg); }
.faq > summary:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.faq[open] > summary { border-bottom: 1px solid var(--line); }
.faq__answer { padding: 0.9rem 1.1rem 1.1rem 2.4rem; color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

/* Wedding rules and closing note */
.wedding-rules { padding-left: 1.35rem; }
.wedding-rules li { margin-bottom: 0.85rem; padding-left: 0.35rem; }
.closing-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  color: var(--ink-soft);
  font-style: italic;
}
.closing-note p:last-child { margin-bottom: 0; }

@media (max-width: 520px) {
  .wedding-cta { padding: 1.5rem 1.25rem; }
  .wedding-cta__actions .btn { width: 100%; }
}

/* 404 page action links */
.error-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.75rem 0;
}
