/* ============================================================
   CITY OF STOVER v2 — Design System
   Elevated. Refined. Small-town at its best.
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

/* ── Design Tokens ── */
:root {
  /* Colors */
  --navy:       #1B3A5C;
  --navy-dark:  #122840;
  --navy-light: #2a5480;
  --sage:       #5A8F7B;
  --sage-light: #7ab5a0;
  --sage-pale:  #e8f3ef;
  --amber:      #D4904E;
  --amber-dark: #b87840;
  --amber-pale: #fdf0e4;
  --charcoal:   #2D3436;
  --gray-700:   #4a5568;
  --gray-500:   #718096;
  --gray-300:   #cbd5e0;
  --gray-100:   #f7f6f4;
  --mist:       #F0EDEA;
  --cream:      #FFF8F0;
  --warm-white: #FAF9F6;
  --white:      #ffffff;
  --error:      #c0392b;
  --success:    #27ae60;

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing (8px grid) */
  --sp-1:  0.5rem;   /* 8px */
  --sp-2:  1rem;     /* 16px */
  --sp-3:  1.5rem;   /* 24px */
  --sp-4:  2rem;     /* 32px */
  --sp-5:  2.5rem;   /* 40px */
  --sp-6:  3rem;     /* 48px */
  --sp-8:  4rem;     /* 64px */
  --sp-10: 5rem;     /* 80px */
  --sp-12: 6rem;     /* 96px */

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(27,58,92,0.08), 0 1px 2px rgba(27,58,92,0.05);
  --shadow-md:  0 4px 12px rgba(27,58,92,0.10), 0 2px 4px rgba(27,58,92,0.06);
  --shadow-lg:  0 8px 28px rgba(27,58,92,0.12), 0 4px 8px rgba(27,58,92,0.08);
  --shadow-xl:  0 20px 60px rgba(27,58,92,0.15);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 220ms var(--ease);

  /* Layout */
  --max-width: 1140px;
  --header-height: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }
input, textarea, select {
  font-family: var(--font-sans);
  font-size: 1rem;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--sp-4);
}
@media (max-width: 768px) {
  .container { padding-inline: var(--sp-2); }
}

.section { padding-block: var(--sp-10); }
.section--sm { padding-block: var(--sp-6); }
.section--lg { padding-block: var(--sp-12); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--sp-1);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: var(--sp-2);
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 600px;
}
.section-header {
  margin-bottom: var(--sp-6);
}
.section-header--center {
  text-align: center;
}
.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* Grid helpers */
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.25; }
.text-serif { font-family: var(--font-serif); }
.text-navy { color: var(--navy); }
.text-amber { color: var(--amber); }
.text-sage { color: var(--sage); }
.text-muted { color: var(--gray-500); }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-amber {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-amber:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}
.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-full);
  justify-content: center;
  font-size: 1rem;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-body { padding: var(--sp-4); }
.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: var(--sp-1);
}
.card-text {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-navy    { background: rgba(27,58,92,0.1);  color: var(--navy); }
.badge-sage    { background: var(--sage-pale);     color: var(--sage); }
.badge-amber   { background: var(--amber-pale);    color: var(--amber-dark); }
.badge-red     { background: #fdecea;              color: #c0392b; }
.badge-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ── Forms ── */
.form-group { margin-bottom: var(--sp-3); }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,92,0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a5568' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 0.3rem; }
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 0.3rem; display: none; }
.form-control.is-invalid { border-color: var(--error); }
.form-control.is-invalid + .form-error { display: block; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-300), transparent);
  border: none;
  margin: var(--sp-6) 0;
}

/* ── Alert / Announcement Banner ── */
.alert {
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin-bottom: var(--sp-3);
}
.alert-amber { background: var(--amber-pale); border-color: var(--amber); }
.alert-sage  { background: var(--sage-pale);  border-color: var(--sage); }
.alert-navy  { background: rgba(27,58,92,0.06); border-color: var(--navy); }
.alert-title { font-weight: 700; color: var(--charcoal); margin-bottom: 0.25rem; }

/* ── Announcement Cards ── */
.announcement-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--amber);
}
.announcement-card h3 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.25rem;
  margin-bottom: var(--sp-2);
}
.announcement-card ul {
  list-style: disc;
  padding-left: var(--sp-3);
  color: var(--gray-700);
  font-size: 0.95rem;
}
.announcement-card ul li { margin-bottom: 0.4rem; }
.announcement-card .cannot { color: var(--error); font-weight: 700; text-decoration: underline; }
.announcement-date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: var(--sp-1);
}

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(27,58,92,0.08);
  box-shadow: 0 1px 8px rgba(27,58,92,0.06);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(27,58,92,0.12);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--sp-4);
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 48px;
  width: auto;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--navy);
  background: var(--mist);
}
.nav-link.active {
  color: var(--navy);
  background: rgba(27,58,92,0.08);
  font-weight: 600;
}

/* Water Bill CTA in nav */
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--navy-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--mist); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-4);
    gap: 0.25rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 999;
    border-top: 1px solid var(--mist);
  }
  .site-nav.open { transform: translateX(0); }
  .nav-link { width: 100%; font-size: 1rem; padding: 0.75rem 1rem; }
  .nav-cta { width: 100%; justify-content: center; text-align: center; margin-left: 0; margin-top: 0.5rem; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero--tall { height: 360px; }
.hero--short { height: 200px; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  background-attachment: scroll;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18,40,64,0.75) 0%,
    rgba(27,58,92,0.55) 50%,
    rgba(18,40,64,0.45) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--amber);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-5);
  line-height: 1.6;
}
.hero-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }

@media (max-width: 768px) {
  .hero { height: auto; min-height: 280px; padding-block: var(--sp-6); }
  .hero-bg { background-attachment: scroll; }
}

/* ═══════════════════════════════════════════
   QUICK LINKS BAR
═══════════════════════════════════════════ */
.quick-links {
  background: var(--navy);
  padding-block: var(--sp-6);
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.quick-link-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  color: var(--white);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.quick-link-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.quick-link-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-2);
  display: block;
}
.quick-link-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.quick-link-desc {
  font-size: 0.78rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════
   ABOUT / INFO SECTION
═══════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}
.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.about-image:hover img { transform: scale(1.03); }

/* ═══════════════════════════════════════════
   COUNCIL BANNER
═══════════════════════════════════════════ */
.council-banner {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.council-banner-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.council-banner-content {
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.council-banner-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.council-banner-text {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  margin-bottom: var(--sp-4);
  line-height: 1.7;
}
.council-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: var(--sp-4);
}
.council-meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.council-meta-item strong { color: var(--white); }
@media (max-width: 768px) {
  .council-banner { grid-template-columns: 1fr; }
  .council-banner-image img { min-height: 200px; }
}

/* ═══════════════════════════════════════════
   EVENTS PREVIEW
═══════════════════════════════════════════ */
.event-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.event-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.event-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
  border-left-color: var(--amber);
}
.event-date-badge {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  background: var(--mist);
  border-radius: var(--radius-md);
  padding: 0.4rem;
}
.event-date-badge .month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber-dark);
}
.event-date-badge .day {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.event-info { flex: 1; }
.event-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.event-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   GALLERY PREVIEW
═══════════════════════════════════════════ */
.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,58,92,0);
  transition: background var(--transition);
}
.gallery-thumb:hover img { transform: scale(1.08); }
.gallery-thumb:hover::after { background: rgba(27,58,92,0.25); }
@media (max-width: 600px) {
  .gallery-grid-preview { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════
   CALENDAR PAGE
═══════════════════════════════════════════ */
.calendar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-6);
  align-items: start;
}
@media (max-width: 1024px) {
  .calendar-layout { grid-template-columns: 1fr; }
}

/* Calendar widget */
.cal-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.cal-header {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cal-month-label {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
}
.cal-nav-btn {
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.cal-nav-btn:hover { background: rgba(255,255,255,0.22); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-day-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 0.75rem 0 0.5rem;
  background: var(--gray-100);
}
.cal-day {
  min-height: 80px;
  padding: 0.4rem;
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
  vertical-align: top;
}
.cal-day:hover { background: var(--mist); }
.cal-day.today { background: rgba(90,143,123,0.08); }
.cal-day.today .cal-day-num { 
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.cal-day.other-month { background: var(--gray-100); opacity: 0.5; }
.cal-day-num {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}
.cal-event-dot {
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  font-weight: 500;
}
.cal-event-dot.cat-government { background: rgba(27,58,92,0.12); color: var(--navy); }
.cal-event-dot.cat-community  { background: var(--sage-pale); color: var(--sage); }
.cal-event-dot.cat-services   { background: var(--amber-pale); color: var(--amber-dark); }

/* List view */
.cal-list-view { display: flex; flex-direction: column; gap: var(--sp-2); }

/* View toggles */
.view-toggle {
  display: flex;
  gap: 0.25rem;
  background: var(--mist);
  border-radius: var(--radius-full);
  padding: 3px;
}
.view-btn {
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
}
.view-btn.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

/* ═══════════════════════════════════════════
   GALLERY PAGE
═══════════════════════════════════════════ */
.gallery-filters {
  display: flex;
  gap: var(--sp-1);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.gallery-masonry {
  columns: 3;
  gap: var(--sp-2);
  column-gap: var(--sp-2);
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--sp-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.gallery-item:hover { box-shadow: var(--shadow-md); transform: scale(1.01); }
.gallery-item img { width: 100%; display: block; }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,40,64,0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-2);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-caption { color: var(--white); font-size: 0.82rem; font-weight: 500; }

@media (max-width: 768px) { .gallery-masonry { columns: 2; } }
@media (max-width: 480px) { .gallery-masonry { columns: 1; } }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12,22,36,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  max-width: 900px;
  width: 100%;
  position: relative;
}
.lightbox-img { 
  border-radius: var(--radius-lg);
  max-height: 80vh;
  width: 100%;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-meta {
  color: rgba(255,255,255,0.85);
  margin-top: var(--sp-2);
  font-size: 0.9rem;
}
.lightbox-caption { font-size: 1rem; font-weight: 500; color: var(--white); margin-bottom: 0.25rem; }

/* ═══════════════════════════════════════════
   DOCUMENT LIBRARY
═══════════════════════════════════════════ */
.doc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--gray-100);
}
.doc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.doc-card-header {
  background: var(--navy);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.doc-icon {
  font-size: 1.8rem;
  opacity: 0.9;
}
.doc-card-title {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.1rem;
  flex: 1;
}
.doc-card-body { padding: var(--sp-4); }
.doc-meta { font-size: 0.82rem; color: var(--gray-500); margin-bottom: var(--sp-3); }
.doc-embed {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--mist);
  margin-bottom: var(--sp-3);
  display: none;
}
.doc-embed.visible { display: block; }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-6);
  align-items: start;
}
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  color: var(--white);
}
.contact-info-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: var(--sp-4);
  color: var(--white);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.contact-info-icon {
  font-size: 1.1rem;
  margin-top: 0.1rem;
  opacity: 0.8;
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  display: block;
  margin-bottom: 0.15rem;
}
.contact-info-value {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.5;
}
.contact-info-value a { color: rgba(255,255,255,0.9); }
.contact-info-value a:hover { color: var(--amber); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-md);
}
.map-embed {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: var(--radius-md);
  margin-top: var(--sp-4);
  display: block;
}

/* ═══════════════════════════════════════════
   SUBMISSION FORMS
═══════════════════════════════════════════ */
.submit-page {
  max-width: 680px;
  margin-inline: auto;
}
.submit-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
}
.submit-note {
  background: var(--sage-pale);
  border-radius: var(--radius-md);
  padding: var(--sp-3);
  font-size: 0.875rem;
  color: var(--sage);
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  margin-bottom: var(--sp-4);
}

/* File upload zone */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--gray-100);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--navy);
  background: rgba(27,58,92,0.04);
}
.upload-icon { font-size: 2.5rem; margin-bottom: var(--sp-2); }
.upload-preview {
  margin-top: var(--sp-3);
  border-radius: var(--radius-md);
  max-height: 260px;
  object-fit: contain;
  display: none;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════
   ADMIN PANEL
═══════════════════════════════════════════ */
.admin-body {
  background: #f1f3f7;
  min-height: 100vh;
}
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: var(--sp-4);
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-8) var(--sp-6);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.admin-login-logo { height: 60px; margin: 0 auto var(--sp-4); }
.admin-login-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.admin-login-sub { color: var(--gray-500); font-size: 0.9rem; margin-bottom: var(--sp-5); }

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
.admin-sidebar {
  background: var(--navy);
  padding: var(--sp-4) 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.admin-sidebar-logo {
  padding: 0 var(--sp-4) var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-3);
}
.admin-sidebar-logo img { height: 40px; }
.admin-sidebar-title { color: rgba(255,255,255,0.5); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.75rem var(--sp-4) 0.25rem; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.65rem var(--sp-4);
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  border-radius: 0;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.admin-nav-item.active { background: rgba(255,255,255,0.12); color: var(--white); border-left: 3px solid var(--amber); }
.admin-nav-badge {
  margin-left: auto;
  background: var(--amber);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
}
.admin-logout {
  margin-top: auto;
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: none;
  border-left: none;
  border-right: none;
  width: 100%;
  transition: color var(--transition);
}
.admin-logout:hover { color: var(--white); }

.admin-main { padding: var(--sp-5); overflow-y: auto; }
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-5);
}
.admin-page-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
}
.admin-tab { display: none; }
.admin-tab.active { display: block; }

/* Stats row */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.stat-icon { font-size: 2rem; }
.stat-num { font-size: 1.8rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }

/* Admin tables */
.admin-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.admin-table-header {
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--mist);
}
.admin-table-title { font-weight: 700; color: var(--navy); }
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
}
.admin-table td {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  color: var(--charcoal);
  border-bottom: 1px solid var(--mist);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--gray-100); }
.action-btns { display: flex; gap: 0.4rem; }
.btn-approve { background: var(--sage-pale); color: var(--sage); border: 1.5px solid var(--sage); font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: var(--radius-full); cursor: pointer; font-weight: 600; transition: all var(--transition); }
.btn-approve:hover { background: var(--sage); color: var(--white); }
.btn-reject { background: #fdecea; color: var(--error); border: 1.5px solid var(--error); font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: var(--radius-full); cursor: pointer; font-weight: 600; transition: all var(--transition); }
.btn-reject:hover { background: var(--error); color: var(--white); }
.btn-delete { background: none; color: var(--gray-500); border: 1.5px solid var(--gray-300); font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: var(--radius-full); cursor: pointer; font-weight: 600; transition: all var(--transition); }
.btn-delete:hover { background: var(--error); color: var(--white); border-color: var(--error); }
.btn-edit { background: none; color: var(--navy); border: 1.5px solid var(--navy); font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: var(--radius-full); cursor: pointer; font-weight: 600; transition: all var(--transition); }
.btn-edit:hover { background: var(--navy); color: var(--white); }

/* Admin photo grid */
.admin-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--sp-3);
}
.admin-photo-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-photo-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.admin-photo-meta {
  padding: var(--sp-2);
}
.admin-photo-name { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.2rem; }
.admin-photo-sub { font-size: 0.72rem; color: var(--gray-500); margin-bottom: var(--sp-1); }
.admin-photo-actions { display: flex; gap: 0.3rem; }

/* Upload doc area */
.doc-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  text-align: center;
  margin-bottom: var(--sp-4);
  cursor: pointer;
  transition: all var(--transition);
}
.doc-upload-area:hover { border-color: var(--navy); background: rgba(27,58,92,0.03); }

/* ═══════════════════════════════════════════
   MODAL (Event detail)
═══════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12,22,36,0.6);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: translateY(8px);
  transition: transform 0.25s var(--ease);
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.modal-title { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); }
.modal-close { background: var(--mist); border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background var(--transition); color: var(--charcoal); }
.modal-close:hover { background: var(--gray-300); }
.modal-body { font-size: 0.95rem; color: var(--gray-700); }
.modal-detail-row { display: flex; gap: var(--sp-2); align-items: flex-start; margin-bottom: var(--sp-2); font-size: 0.9rem; }
.modal-detail-icon { font-size: 1rem; margin-top: 0.1rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   STOVER FAIR PAGE
═══════════════════════════════════════════ */
.fair-hero {
  height: 350px;
}
.fair-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-top: calc(-1 * var(--sp-6));
  position: relative;
  z-index: 10;
}
@media (max-width: 900px) { .fair-info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fair-info-grid { grid-template-columns: 1fr; } }
.fair-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-3);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.fair-info-icon { font-size: 2rem; margin-bottom: var(--sp-1); }
.fair-info-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--amber); margin-bottom: 0.3rem; }
.fair-info-value { font-weight: 700; color: var(--navy); font-size: 1rem; }
.fair-info-sub { font-size: 0.8rem; color: var(--gray-500); }

.schedule-timeline { position: relative; padding-left: var(--sp-5); }
.schedule-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--amber), var(--sage));
}
.schedule-item { position: relative; margin-bottom: var(--sp-4); }
.schedule-dot {
  position: absolute;
  left: calc(-1 * var(--sp-5) + 4px);
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--amber);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--amber);
}
.schedule-time { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--amber); margin-bottom: 0.2rem; }
.schedule-event { font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.schedule-desc { font-size: 0.875rem; color: var(--gray-500); }

/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: var(--sp-10) 0 var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--warm-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: var(--sp-1); }
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: var(--sp-2);
}
.page-hero-sub { color: rgba(255,255,255,0.75); font-size: 1.05rem; max-width: 560px; margin-inline: auto; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: var(--sp-10);
  margin-top: var(--sp-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}
.footer-logo { height: 52px; margin-bottom: var(--sp-3); filter: brightness(0) invert(1); opacity: 0.9; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; max-width: 280px; opacity: 0.8; }
.footer-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: var(--sp-3);
}
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: var(--sp-1); margin-bottom: 0.6rem; font-size: 0.875rem; }
.footer-contact-item span:first-child { opacity: 0.6; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  padding-block: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
  font-size: 0.8rem;
  opacity: 0.6;
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}
.footer-bottom a:hover {
  color: var(--amber);
}

/* ═══════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: var(--sp-4);
  right: var(--sp-4);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.toast {
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  min-width: 240px;
  animation: slideIn 0.3s var(--ease) forwards;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--error); }
.toast.info    { background: var(--navy); }
@keyframes slideIn {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Sample image wrapper — AI/placeholder images */
.sample-wrap {
  position: relative;
  display: block;
  line-height: 0;
}
.sample-wrap img { display: block; width: 100%; }
.sample-wrap::after {
  content: 'SAMPLE';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.4rem, 5vw, 2.8rem);
  font-weight: 900;
  font-family: var(--font-sans);
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  background: rgba(18,40,64,0.18);
  border: 4px solid rgba(255,255,255,0.35);
  border-radius: inherit;
  transform: rotate(-12deg) scale(0.65);
  pointer-events: none;
  user-select: none;
}

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.bg-mist    { background: var(--mist); }
.bg-navy    { background: var(--navy); }
.bg-cream   { background: var(--cream); }
.bg-white   { background: var(--white); }
.text-center { text-align: center; }
.mt-2 { margin-top: var(--sp-2); }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-3 { margin-bottom: var(--sp-3); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.hidden { display: none !important; }
.success-msg {
  text-align: center;
  padding: var(--sp-6);
  display: none;
}
.success-msg.visible { display: block; }
.success-icon { font-size: 3rem; margin-bottom: var(--sp-2); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: var(--sp-4);
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { opacity: 0.4; }

/* Section BG alternator */
.bg-alt { background: var(--mist); }

/* Responsive admin */
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .admin-stats { grid-template-columns: 1fr; }
}

/* Print */
@media print {
  .site-header, .site-footer, .btn, .hamburger { display: none; }
  body { background: white; }
}
