/* Church Website - Warm & Editorial */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Work+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --background: #FAF9F6;
  --foreground: #2B2620;
  --primary: #C86A53;
  --primary-hover: #b3573f;
  --primary-foreground: #FFFFFF;
  --secondary: #96A193;
  --secondary-foreground: #1A2019;
  --muted: #EFECE6;
  --muted-foreground: #6B655C;
  --border: #E5E1D8;
  --card: #FFFFFF;
  --card-foreground: #2B2620;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Work Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin: 0;
}

a { color: inherit; text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--primary); }

.font-serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.font-sans  { font-family: 'Work Sans', system-ui, sans-serif; }

/* Overline label */
.overline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 200ms ease, transform 200ms ease, color 200ms ease, border-color 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}
.btn-outline:hover { background: var(--muted); color: var(--foreground); }

.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--muted); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-square { border-radius: 8px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
.brand-mark { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--foreground);
  font-weight: 400;
  padding: 0.4rem 0;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-donate { margin-left: 0.5rem; }

.hamburger { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--background);
    border-bottom: 1px solid var(--border);
  }
  .hamburger {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--foreground);
  }
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Section spacing */
.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }

/* Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,38,32,0.15) 0%, rgba(43,38,32,0.55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 900px;
  color: #fff;
  margin-bottom: 1.5rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  max-width: 560px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Marquee */
.marquee {
  overflow: hidden;
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.15rem 0;
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--muted-foreground);
}
.marquee-track span::before { content: "•"; margin-right: 3.5rem; color: var(--primary); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Page header (non-hero) */
.page-header {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.page-header p {
  color: var(--muted-foreground);
  max-width: 600px;
  font-size: 1.05rem;
}

/* Grids */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -18px rgba(43,38,32,0.25);
  border-color: #d6d0c4;
}
.card-image {
  aspect-ratio: 16/10;
  width: 100%;
  background: var(--muted);
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--foreground);
}
.card-excerpt {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.card-cta {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-cta:hover { color: var(--primary-hover); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--foreground);
}
.form-control {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--foreground);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 106, 83, 0.15);
}
textarea.form-control { min-height: 130px; resize: vertical; }

.form-note { font-size: 0.85rem; color: var(--muted-foreground); }
.form-error { color: #b23a2a; font-size: 0.9rem; }

/* Info boxes */
.info-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}
.info-box h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.info-box p { color: var(--muted-foreground); margin: 0.3rem 0; font-size: 0.95rem; }

/* Article prose */
.prose {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--foreground);
}
.prose p { margin: 1.25rem 0; }
.prose h1, .prose h2, .prose h3 { margin: 2rem 0 1rem; }
.prose a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1.5px; }
.prose img { max-width: 100%; border-radius: 8px; }
.prose blockquote {
  border-left: 3px solid var(--primary);
  padding: 0.25rem 0 0.25rem 1.5rem;
  color: var(--muted-foreground);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  margin: 2rem 0;
}

/* Category pill */
.pill {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}
.pill-primary { background: rgba(200, 106, 83, 0.1); color: var(--primary); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}
.gallery-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: var(--muted);
}
.gallery-tile img, .gallery-tile video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-tile:hover img, .gallery-tile:hover video { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 15, 0.92);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox img, .lightbox video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 6px;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  border: none;
  width: 44px; height: 44px;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Footer */
.site-footer {
  background: var(--foreground);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-grid h4 {
  font-family: 'Work Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.55rem; font-size: 0.9rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-admin-link {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.78rem;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding-left: 0.9rem;
  margin-left: 0.9rem;
}
.footer-admin-link:hover { color: #fff !important; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer { padding: 3rem 0 1rem; }
}

/* Toast */
#toast-root {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  box-shadow: 0 10px 30px -10px rgba(43,38,32,0.2);
  font-size: 0.92rem;
  min-width: 260px;
  animation: toastIn 220ms ease;
}
.toast.success { border-left-color: #66897b; }
.toast.error { border-left-color: #b23a2a; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* Loading */
.spinner {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2.5px solid var(--muted);
  border-top-color: var(--primary);
  border-radius: 9999px;
  animation: spin 900ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block {
  padding: 3rem;
  text-align: center;
  color: var(--muted-foreground);
}

.empty-state {
  padding: 3rem;
  text-align: center;
  color: var(--muted-foreground);
  border: 1px dashed var(--border);
  border-radius: 8px;
}

/* Home welcome */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col-image {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-image { aspect-ratio: 4/3; }
}

/* ============================================================
   Pillars — Vision / Mission / Our Purpose (home page)
   ============================================================ */
.pillars-section {
  background:
    radial-gradient(1200px 400px at 15% 0%, rgba(200, 106, 83, 0.06), transparent 60%),
    radial-gradient(900px 400px at 90% 100%, rgba(150, 161, 147, 0.10), transparent 60%),
    #F5F1EA;
  position: relative;
  overflow: hidden;
}
.pillars-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='1' cy='1' r='0.6' fill='%23C86A53' fill-opacity='0.08'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.7;
}
.pillars-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; position: relative; }
.pillars-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: 0.75rem;
}
.pillars-header p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 1.02rem;
  line-height: 1.7;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
}
.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.25rem 1.75rem 2rem;
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--primary);
  transform: scaleY(0); transform-origin: top;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(43, 38, 32, 0.15);
  border-color: rgba(200, 106, 83, 0.35);
}
.pillar-card:hover::before { transform: scaleY(1); }
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.pillar-num::after {
  content: "";
  width: 28px; height: 1px; background: var(--primary); opacity: 0.5;
}
.pillar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--foreground);
}
.pillar-body {
  color: var(--muted-foreground);
  font-size: 1.02rem;
  line-height: 1.75;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
}
.pillar-chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  margin-top: 0.25rem;
}
.pillar-chip {
  background: var(--muted);
  color: var(--primary);
  border: 1px solid rgba(200, 106, 83, 0.18);
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: 'Work Sans', sans-serif;
  font-style: normal;
}
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .pillar-card { padding: 1.75rem 1.5rem; }
  .pillar-title { font-size: 1.6rem; }
}

/* ============================================================
   Social icons (footer) + WhatsApp floating button
   ============================================================ */
.footer-social {
  display: flex; gap: 0.6rem; margin-top: 1rem;
  flex-wrap: wrap;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.footer-social svg { width: 18px; height: 18px; }

.whatsapp-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0,0,0,0.15);
  z-index: 999;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.04);
  color: #fff;
  box-shadow: 0 14px 32px -8px rgba(37, 211, 102, 0.65), 0 6px 14px rgba(0,0,0,0.18);
}
.whatsapp-fab svg { width: 28px; height: 28px; }
.whatsapp-fab::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 500px) {
  .whatsapp-fab { right: 1rem; bottom: 1rem; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}

/* Admin */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--foreground);
  color: rgba(255,255,255,0.7);
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.admin-sidebar .brand {
  color: #fff;
  font-size: 1.4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
}
.admin-sidebar a, .admin-sidebar button {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}
.admin-sidebar a:hover, .admin-sidebar button:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.admin-sidebar a.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.admin-main { padding: 2.5rem; overflow-x: hidden; }
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.admin-header h1 { font-size: 2rem; margin: 0; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.admin-table th {
  background: var(--muted);
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .actions { display: flex; gap: 0.35rem; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,18,15,0.6);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 200ms ease;
}
.modal {
  background: var(--card);
  border-radius: 10px;
  padding: 2rem;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 220ms ease;
}
.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 1rem;
    gap: 0.5rem;
  }
  .admin-sidebar .brand { display: none; }
  .admin-main { padding: 1.5rem; }
}

/* Utility */
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-8 { margin-bottom: 4rem; }
.flex { display: flex; }
.gap-2 { gap: 1rem; }
.gap-4 { gap: 2rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hidden { display: none !important; }

/* Fade in-up */
[data-fade] { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
[data-fade].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-fade] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
