/* ==============================
   Irvington Hearth - Main CSS
   Converted from React/Tailwind
   ============================== */

/* --- CSS Variables --- */
:root {
  --background: hsl(30, 33%, 92%);
  --foreground: hsl(0, 0%, 17%);
  --card: hsl(30, 33%, 95%);
  --card-foreground: hsl(0, 0%, 17%);
  --primary: hsl(340, 40%, 30%);
  --primary-foreground: hsl(30, 33%, 95%);
  --secondary: hsl(30, 33%, 88%);
  --secondary-foreground: hsl(0, 0%, 17%);
  --muted: hsl(30, 20%, 85%);
  --muted-foreground: hsl(0, 0%, 40%);
  --accent: hsl(42, 60%, 56%);
  --accent-foreground: hsl(0, 0%, 17%);
  --border: hsl(30, 20%, 82%);
  --ring: hsl(340, 40%, 30%);
  --radius: 0.75rem;
  --sage: hsl(118, 14%, 54%);
  --cream: hsl(30, 33%, 92%);
  --cream-dark: hsl(30, 25%, 85%);
  --charcoal: hsl(0, 0%, 17%);
  --charcoal-foreground: hsl(30, 33%, 92%);
  --gold: hsl(42, 60%, 56%);
  --gold-foreground: hsl(0, 0%, 17%);
  --burgundy: hsl(340, 40%, 30%);
  --burgundy-foreground: hsl(30, 33%, 95%);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Lora', Georgia, serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* --- Typography --- */
.text-foreground { color: var(--foreground); }
.text-muted { color: var(--muted-foreground); }
.text-burgundy { color: var(--burgundy); }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-charcoal { color: var(--charcoal); }
.font-heading { font-family: 'Lora', Georgia, serif; }
.font-body { font-family: 'Nunito', system-ui, sans-serif; }

/* --- Sections --- */
.section { padding: 4rem 0; }
.section-lg { padding: 4rem 0; }
@media (min-width: 1024px) {
  .section-lg { padding: 6rem 0; }
}
.bg-cream { background-color: var(--cream); }
.bg-background { background-color: var(--background); }
.bg-burgundy { background-color: var(--burgundy); color: var(--burgundy-foreground); }
.bg-gold { background-color: var(--gold); }
.bg-charcoal { background-color: var(--charcoal); color: var(--charcoal-foreground); }
.bg-card { background-color: var(--card); }

/* --- Grid System --- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Flexbox Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.5;
}
.btn-gold {
  background-color: var(--gold);
  color: var(--gold-foreground);
}
.btn-gold:hover { opacity: 0.9; }
.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}
.btn-outline:hover {
  background-color: var(--secondary);
}
.btn-charcoal {
  background-color: var(--charcoal);
  color: var(--charcoal-foreground);
}
.btn-charcoal:hover { opacity: 0.9; }
.btn-burgundy {
  background-color: var(--burgundy);
  color: var(--burgundy-foreground);
}
.btn-burgundy:hover { opacity: 0.9; }
.btn-sm { font-size: 0.875rem; padding: 0.5rem 1.25rem; }
.btn-lg { font-size: 1rem; padding: 0.875rem 2.5rem; }
.btn svg { width: 1rem; height: 1rem; }

/* --- Cards --- */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); }
.card-lift:hover { transform: translateY(-4px); }
.card-content { padding: 1.5rem; }
.card-shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* --- Rounded --- */
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-lg { border-radius: var(--radius); }

/* --- Images --- */
.aspect-43 { aspect-ratio: 4/3; }
.aspect-square { aspect-ratio: 1; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-219 { aspect-ratio: 21/9; }
.img-cover { width: 100%; height: 100%; object-fit: cover; }
.overflow-hidden { overflow: hidden; }

/* --- Icon Circles --- */
.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: hsla(42, 60%, 56%, 0.15);
  margin: 0 auto 1rem;
}
.icon-circle svg { width: 1.75rem; height: 1.75rem; color: var(--gold); }
.icon-circle-sm {
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  background: hsla(42, 60%, 56%, 0.15);
}
.icon-circle-sm svg { width: 1.25rem; height: 1.25rem; color: var(--gold); }

/* --- Badge / Pill --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  background: hsla(42, 60%, 56%, 0.15);
  color: var(--foreground);
}
.badge-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
}
.badge-sage {
  background: hsla(118, 14%, 54%, 0.15);
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
}

/* --- Blockquote --- */
blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--muted-foreground);
  font-family: 'Lora', Georgia, serif;
}

/* --- Forms --- */
.form-input {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--ring); }
.form-input-round { border-radius: 9999px; }
.form-textarea {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: white;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  resize: vertical;
  min-height: 120px;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.375rem;
  color: var(--foreground);
}
.form-select {
  width: 100%;
  padding: 0.625rem 1rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: white;
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232b2b2b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* --- Accordion --- */
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.accordion-trigger svg {
  width: 1rem; height: 1rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.accordion-trigger.active svg { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-content.open { max-height: 500px; }
.accordion-body {
  padding: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* --- Stat Cards (Burgundy section) --- */
.stat-card {
  border-radius: 0.75rem;
  background: rgba(237, 226, 220, 0.1);
  padding: 1.5rem;
  text-align: center;
}
.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  font-family: 'Lora', Georgia, serif;
  color: var(--gold);
}
.stat-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.25rem;
}
.stat-desc {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

/* --- Header / Navigation --- */
/* React: fixed top-0 left-0 right-0 z-50 transition-all duration-300 */
/* Default: bg-transparent; scrolled (or non-home): bg-cream shadow-sm border-b border-border */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
}
.site-header.scrolled {
  background-color: var(--cream);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05); /* shadow-sm */
  border-bottom: 1px solid var(--border);
}

/* React: container mx-auto flex items-center justify-between px-4 py-3 lg:px-8 */
.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem; /* px-4 py-3 */
}
@media (min-width: 1024px) {
  .header-inner { padding: 0.75rem 2rem; } /* lg:px-8 */
}

/* React: flex flex-col */
.site-brand {
  display: flex;
  flex-direction: column;
}

/* React: font-heading text-lg font-bold leading-tight text-foreground lg:text-xl */
.site-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem; /* text-lg */
  font-weight: 700;
  line-height: 1.25; /* leading-tight */
  color: var(--foreground);
}
@media (min-width: 1024px) {
  .site-title { font-size: 1.25rem; } /* lg:text-xl */
}

/* React: text-xs text-muted-foreground font-body */
.site-tagline {
  font-size: 0.75rem; /* text-xs */
  color: var(--muted-foreground);
  font-family: 'Nunito', system-ui, sans-serif;
}

/* React: hidden items-center gap-1 lg:flex */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem; /* gap-1 */
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}

/* React: rounded-md px-3 py-2 text-sm font-medium transition-colors
   hover:bg-secondary hover:text-foreground
   active: text-foreground bg-secondary
   default: text-muted-foreground */
.nav-link {
  border-radius: calc(0.75rem - 2px); /* rounded-md */
  padding: 0.5rem 0.75rem; /* px-3 py-2 */
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: var(--muted-foreground);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav-link:hover {
  background-color: var(--secondary);
  color: var(--foreground);
}
.nav-link.active {
  color: var(--foreground);
  background-color: var(--secondary);
}

/* React: hidden items-center gap-3 lg:flex */
.desktop-cta {
  display: none;
  align-items: center;
  gap: 0.75rem; /* gap-3 */
}
@media (min-width: 1024px) {
  .desktop-cta { display: flex; }
}

/* React: text-sm font-medium text-muted-foreground hover:text-foreground transition-colors */
.cta-give {
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: var(--muted-foreground);
  transition: color 0.15s ease;
}
.cta-give:hover { color: var(--foreground); }

/* React: rounded-full bg-gold text-gold-foreground hover:bg-gold/90 font-semibold px-5 */
/* This is the desktop "I'm New" button (shadcn Button default h-9) */
.cta-new-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px; /* rounded-full */
  background-color: var(--gold);
  color: var(--gold-foreground);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600; /* font-semibold */
  font-size: 0.875rem; /* text-sm (shadcn default) */
  padding: 0.5rem 1.25rem; /* px-5, h-9 approx */
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.cta-new-btn:hover { background-color: hsla(42, 60%, 56%, 0.9); }

/* React mobile: flex items-center gap-2 lg:hidden */
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
}
@media (min-width: 1024px) {
  .mobile-actions { display: none; }
}

/* React: rounded-full bg-gold text-gold-foreground hover:bg-gold/90 text-xs px-3 (size="sm") */
.cta-new-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px; /* rounded-full */
  background-color: var(--gold);
  color: var(--gold-foreground);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem; /* text-xs */
  padding: 0.375rem 0.75rem; /* px-3, size sm */
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.cta-new-btn-sm:hover { background-color: hsla(42, 60%, 56%, 0.9); }

/* React: variant="ghost" size="icon" — ghost button with icon */
.mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; /* size="icon" h-9 w-9 */
  height: 2.25rem;
  border-radius: calc(0.75rem - 2px); /* rounded-md */
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.15s ease;
}
.mobile-toggle:hover { background-color: var(--secondary); }
.mobile-toggle svg { width: 1.25rem; height: 1.25rem; } /* h-5 w-5 */
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

/* --- Mobile Slide-out Menu --- */
/* React Sheet: side="right", className="bg-cream w-72" */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}
.mobile-overlay.open { display: block; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -18rem; /* w-72 = 18rem, start off-screen */
  width: 18rem; /* w-72 */
  height: 100vh;
  background-color: var(--cream);
  z-index: 100;
  padding: 1.5rem;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  overflow-y: auto;
  transition: right 0.3s ease;
}
.mobile-menu.open { right: 0; }

/* Close button in header */
.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: calc(0.75rem - 2px);
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.15s ease;
}
.mobile-close:hover { background-color: var(--secondary); }

/* React: mt-8 flex flex-col gap-1 */
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* gap-1 */
  margin-top: 2rem; /* mt-8 */
}

/* React: rounded-md px-4 py-3 text-base font-medium transition-colors hover:bg-secondary
   active: bg-secondary text-foreground
   default: text-muted-foreground */
.mobile-nav-link {
  display: block;
  border-radius: calc(0.75rem - 2px); /* rounded-md */
  padding: 0.75rem 1rem; /* px-4 py-3 */
  font-size: 1rem; /* text-base */
  font-weight: 500; /* font-medium */
  color: var(--muted-foreground);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.mobile-nav-link:hover { background-color: var(--secondary); }
.mobile-nav-link.active {
  background-color: var(--secondary);
  color: var(--foreground);
}

/* React: mt-4 border-t border-border pt-4 flex flex-col gap-2 */
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* gap-2 */
  margin-top: 1rem; /* mt-4 */
  border-top: 1px solid var(--border);
  padding-top: 1rem; /* pt-4 */
}
.mobile-nav-cta .btn { width: 100%; justify-content: center; }

/* --- Footer --- */
/* React: bg-charcoal text-charcoal-foreground */
.site-footer {
  background-color: var(--charcoal);
  color: var(--charcoal-foreground);
}

/* React: container mx-auto px-4 py-16 lg:px-8 */
.footer-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 1rem; /* py-16 px-4 */
}
@media (min-width: 1024px) {
  .footer-inner { padding: 4rem 2rem; } /* lg:px-8 */
}

/* React: grid gap-10 md:grid-cols-2 lg:grid-cols-4 */
.footer-grid {
  display: grid;
  gap: 2.5rem; /* gap-10 */
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); } /* md:grid-cols-2 */
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); } /* lg:grid-cols-4 */
}

/* React col 1 heading: font-heading text-xl font-bold mb-4 */
.footer-heading {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.125rem; /* text-lg (for h4 headings) */
  font-weight: 600; /* font-semibold */
  margin-bottom: 1rem; /* mb-4 */
}
.footer-heading-xl {
  font-size: 1.25rem; /* text-xl (for h3 heading) */
  font-weight: 700; /* font-bold */
}

/* React: text-sm opacity-80 mb-4 font-body */
.footer-desc {
  font-size: 0.875rem; /* text-sm */
  opacity: 0.8;
  margin-bottom: 1rem; /* mb-4 / mb-3 */
  font-family: 'Nunito', system-ui, sans-serif;
}

/* React social: flex gap-3 */
.footer-social {
  display: flex;
  gap: 0.75rem; /* gap-3 */
}

/* React: rounded-full bg-charcoal-foreground/10 p-2 hover:bg-charcoal-foreground/20 transition-colors */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px; /* rounded-full */
  padding: 0.5rem; /* p-2 */
  background: hsla(30, 33%, 92%, 0.1); /* charcoal-foreground at 10% */
  transition: background-color 0.15s ease;
}
.social-btn:hover { background: hsla(30, 33%, 92%, 0.2); /* charcoal-foreground at 20% */ }
.social-btn svg { width: 1rem; height: 1rem; } /* h-4 w-4 */

/* React: space-y-2 text-sm opacity-80 */
.footer-links {
  list-style: none;
  font-size: 0.875rem; /* text-sm */
  opacity: 0.8;
}
.footer-links li + li { margin-top: 0.5rem; } /* space-y-2 */
.footer-links a { transition: color 0.15s ease; }
.footer-links a:hover { color: var(--gold); }

/* React: space-y-3 text-sm opacity-80 */
.footer-contact {
  list-style: none;
  font-size: 0.875rem; /* text-sm */
  opacity: 0.8;
}
.footer-contact li + li { margin-top: 0.75rem; } /* space-y-3 */

/* React: flex items-start gap-2 (or items-center gap-2) */
.footer-contact-item {
  display: flex;
  align-items: flex-start; /* items-start for address/hours */
  gap: 0.5rem; /* gap-2 */
}
.footer-contact-item svg {
  width: 1rem; /* h-4 w-4 */
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem; /* mt-0.5 */
}
.footer-contact-item a { transition: color 0.15s ease; }
.footer-contact-item a:hover { color: var(--gold); }

/* React newsletter form: flex gap-2 */
.newsletter-form {
  display: flex;
  gap: 0.5rem; /* gap-2 */
}

/* React input: bg-charcoal-foreground/10 border-charcoal-foreground/20 text-charcoal-foreground placeholder:text-charcoal-foreground/50 text-sm */
.newsletter-form input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border-radius: calc(0.75rem - 2px); /* shadcn input rounded-md */
  border: 1px solid hsla(30, 33%, 92%, 0.2); /* charcoal-foreground/20 */
  background: hsla(30, 33%, 92%, 0.1); /* charcoal-foreground/10 */
  color: var(--charcoal-foreground);
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.875rem; /* text-sm */
  outline: none;
}
.newsletter-form input::placeholder { color: hsla(30, 33%, 92%, 0.5); /* charcoal-foreground/50 */ }

/* React button: bg-gold text-gold-foreground hover:bg-gold/90 shrink-0 text-sm */
.newsletter-btn {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: calc(0.75rem - 2px); /* shadcn button rounded-md */
  background-color: var(--gold);
  color: var(--gold-foreground);
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 500;
  font-size: 0.875rem; /* text-sm */
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.newsletter-btn:hover { background-color: hsla(42, 60%, 56%, 0.9); }

/* React: mt-12 border-t border-charcoal-foreground/20 pt-6 text-center text-xs opacity-60 */
.footer-bottom {
  margin-top: 3rem; /* mt-12 */
  border-top: 1px solid hsla(30, 33%, 92%, 0.2); /* border-charcoal-foreground/20 */
  padding-top: 1.5rem; /* pt-6 */
  text-align: center;
  font-size: 0.75rem; /* text-xs */
  opacity: 0.6;
}

/* React: mt-1 */
.footer-bottom-sub {
  margin-top: 0.25rem;
}

/* --- Scroll Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--burgundy);
  color: var(--burgundy-foreground);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { transform: scale(1.05); }
.back-to-top svg { width: 1.25rem; height: 1.25rem; }

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: var(--cream);
  padding: 8rem 0 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
}
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive Helpers --- */
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.w-full { width: 100%; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.opacity-80 { opacity: 0.8; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* --- Divider --- */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

/* --- YouTube Embed --- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* --- Sermon Play Button Overlay --- */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background 0.2s;
}
.play-overlay:hover { background: rgba(0,0,0,0.4); }
.play-btn-circle {
  width: 4rem; height: 4rem;
  border-radius: 9999px;
  background: hsla(42, 60%, 56%, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.play-overlay:hover .play-btn-circle { transform: scale(1.1); }
.play-btn-circle svg { width: 1.5rem; height: 1.5rem; color: var(--gold-foreground); margin-left: 3px; }

/* --- Timeline (About page) --- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-dot {
  position: absolute;
  left: -1.625rem;
  top: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: var(--gold);
  border: 2px solid var(--cream);
}
.timeline-year {
  font-family: 'Lora', Georgia, serif;
  font-weight: 700;
  color: var(--burgundy);
  font-size: 1.125rem;
}
.timeline-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .timeline { padding-left: 0; max-width: 48rem; margin: 0 auto; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { padding-bottom: 3rem; }
  .timeline-item:nth-child(odd) { padding-right: calc(50% + 2rem); text-align: right; }
  .timeline-item:nth-child(even) { padding-left: calc(50% + 2rem); }
  .timeline-item:nth-child(odd) .timeline-dot { left: auto; right: calc(-50% - 0.375rem); left: calc(50% - 0.375rem); }
  .timeline-item:nth-child(even) .timeline-dot { left: calc(50% - 0.375rem); }
}

/* --- Staff Photos --- */
.staff-photo {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto 1rem;
}
.elder-photo {
  width: 6rem;
  height: 6rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

/* --- Event Category Pills --- */
.pill-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--secondary-foreground);
  transition: all 0.2s;
}
.pill.active {
  background: var(--burgundy);
  color: var(--burgundy-foreground);
}

/* --- Map Embed --- */
.map-embed {
  border-radius: 0.75rem;
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  border: none;
}

/* --- Numbered Steps (I'm New page) --- */
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--burgundy);
  color: var(--burgundy-foreground);
  font-weight: 700;
  font-size: 0.875rem;
  margin: 0 auto 0.75rem;
}

/* --- Pull Quote --- */
.pull-quote {
  background: var(--burgundy);
  color: var(--burgundy-foreground);
  padding: 4rem 0;
  text-align: center;
}
.pull-quote blockquote {
  border-left: none;
  font-size: 1.25rem;
  color: var(--burgundy-foreground);
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .pull-quote blockquote { font-size: 1.5rem; }
}

/* --- Misc --- */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.border-gold { border-color: var(--gold); }

/* --- 404 Page --- */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 4rem;
}
.page-404 h1 { font-size: 6rem; color: var(--burgundy); }
.page-404 p { font-size: 1.25rem; color: var(--muted-foreground); margin: 1rem 0 2rem; }
