/* ============================================================
   Town of Florida, MA — Official Website
   Stylesheet v4.0  |  2026 Redesign — Library Theme
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* --- CSS Variables --- */
:root {
  /* Navy + Amber palette */
  --clr-primary:       #1b4f72;
  --clr-primary-dk:    #0d2b45;
  --clr-primary-lt:    #5b8db8;
  --clr-emerald:       #0d3554;
  --clr-teal:          #1b4f72;
  --clr-primary-glow:  rgba(27,79,114,.10);
  --clr-emerald-glow:  rgba(13,53,84,.12);

  /* Gradient presets */
  --grad-primary: linear-gradient(135deg, #1b4f72 0%, #0d3554 100%);
  --grad-hero:    linear-gradient(160deg, #080d1a 0%, #0e1c33 45%, #0d2b45 100%);
  --grad-dark:    linear-gradient(135deg, #0a0e1a 0%, #131929 100%);

  /* Amber accent */
  --clr-gold:      #c07941;
  --clr-gold-lt:   #d4895c;
  --clr-gold-glow: rgba(192,121,65,.15);

  /* Neutrals — warm, paper-toned */
  --clr-dark:        #1a1a2e;
  --clr-body:        #2d2d3e;
  --clr-mid:         #6b6b7b;
  --clr-light:       #f5f0e8;
  --clr-bg:          #fdfaf5;
  --clr-border:      #e0d8ca;
  --clr-border-lt:   #ece5d8;
  --clr-white:       #ffffff;

  /* Navigation */
  --clr-nav:  #0e111e;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Radii */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-xs:    0 1px 3px rgba(26,26,46,.06);
  --shadow-sm:    0 2px 8px rgba(26,26,46,.08);
  --shadow-md:    0 4px 20px rgba(26,26,46,.10);
  --shadow-lg:    0 8px 40px rgba(26,26,46,.14);
  --shadow-xl:    0 20px 60px rgba(26,26,46,.18);
  --shadow-green: 0 4px 20px rgba(27,79,114,.28);
  --shadow-emerald:0 4px 24px rgba(13,53,84,.30);

  /* Layout */
  --nav-h: 68px;
  --max-w: 1160px;

  /* Easing */
  --ease: cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-body);
  background: var(--clr-white);
}
img { max-width: 100%; display: block; }
a { color: var(--clr-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--clr-emerald); }
ul { list-style: none; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.section         { padding: 92px 0; }
.text-center     { text-align: center; }
.mt-32           { margin-top: 32px; }
.section--alt    { background: var(--clr-bg); }
.section--dark   { background: var(--clr-dark); color: var(--clr-white); }
.section--green  {
  background: var(--grad-primary);
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}
.section--green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(0,0,0,.15) 0%, transparent 60%);
}

/* --- Typography --- */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--clr-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: .95rem; }
p  { margin-bottom: 1rem; color: var(--clr-body); }
p:last-child { margin-bottom: 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: rgba(192,121,65,.08);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(192,121,65,.28);
}
.section-title {
  font-family: var(--font-display);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--clr-mid);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(14,17,30,.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 1px 0 rgba(192,121,65,.15), 0 4px 24px rgba(0,0,0,.35);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand / Logo */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--clr-white);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__brand:hover { text-decoration: none; opacity: .9; }

.nav__logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.2), 0 2px 12px rgba(0,0,0,.35);
  transition: box-shadow .2s var(--ease);
}
.nav__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.nav__brand:hover .nav__logo {
  box-shadow: 0 0 0 2px rgba(192,121,65,.5), 0 2px 16px rgba(0,0,0,.4);
}

.nav__wordmark {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav__wordmark-town {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-white);
  letter-spacing: -.01em;
  line-height: 1;
}
.nav__wordmark-state {
  font-family: var(--font-sans);
  font-size: .6rem;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
}

/* Keep nav__seal for fallback / other pages */
.nav__seal {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .5rem;
  font-weight: 700;
  color: var(--clr-white);
  text-align: center;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.3;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: var(--shadow-green);
  flex-shrink: 0;
}

/* Nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__links a {
  color: rgba(255,255,255,.65);
  padding: 8px 13px;
  border-radius: var(--radius-sm);
  font-size: .855rem;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: all .2s var(--ease);
  text-decoration: none;
}
.nav__links a:hover { background: rgba(255,255,255,.07); color: var(--clr-white); }
.nav__links a.active {
  background: rgba(192,121,65,.18);
  color: #e8a87c;
  font-weight: 600;
}
.nav__cta {
  background: var(--grad-primary) !important;
  color: var(--clr-white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-green) !important;
}
.nav__cta:hover {
  background: linear-gradient(135deg, #2563a0 0%, #1b4f72 100%) !important;
  box-shadow: 0 4px 20px rgba(27,79,114,.5) !important;
  color: var(--clr-white) !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.75);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(14,17,30,.98);
  backdrop-filter: blur(20px);
  padding: 12px 0 24px;
  z-index: 999;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  color: rgba(255,255,255,.75);
  padding: 13px 28px;
  font-size: .95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.04);
  text-decoration: none;
  transition: all .15s;
}
.nav__mobile a:hover { background: rgba(192,121,65,.12); color: #fff; padding-left: 36px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--clr-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/whitcomb.jpeg');
  background-size: cover;
  background-position: 78% 42%;
  opacity: .45;
  transition: transform 10s ease;
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.15) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(0,0,0,.1) 0%, rgba(14,17,30,.75) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--clr-white);
  padding: 64px 28px;
  max-width: 800px;
  animation: fadeUp .9s var(--ease) both;
}
.hero__badge {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: #e8a87c;
  border-radius: 50%;
  box-shadow: 0 0 10px #e8a87c, 0 0 20px rgba(192,121,65,.4);
  animation: pulse 2.4s ease infinite;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 18px;
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.hero__title span {
  background: linear-gradient(135deg, #c07941 0%, #d4895c 50%, #e8a87c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
  font-weight: 400;
  letter-spacing: .01em;
}
.hero__tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.42);
  font-style: italic;
  font-family: var(--font-display);
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.3);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: scrollLine 2.2s ease infinite;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: all .22s var(--ease);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Shimmer on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
}
.btn:hover::after { transform: translateX(100%); }

.btn--primary {
  background: var(--grad-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(27,79,114,.32), 0 1px 0 rgba(255,255,255,.1) inset;
}
.btn--primary:hover {
  background: linear-gradient(135deg, #2563a0 0%, #1b4f72 100%);
  color: var(--clr-white);
  box-shadow: 0 6px 28px rgba(27,79,114,.48), 0 1px 0 rgba(255,255,255,.15) inset;
}
.btn--white {
  background: var(--clr-white);
  color: var(--clr-dark);
  box-shadow: var(--shadow-md);
}
.btn--white:hover { background: var(--clr-bg); color: var(--clr-dark); box-shadow: var(--shadow-lg); }
.btn--ghost {
  background: rgba(255,255,255,.08);
  color: var(--clr-white);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.14);
  color: var(--clr-white);
  border-color: rgba(255,255,255,.35);
}
.btn--outline {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
}
.btn--outline:hover {
  background: var(--grad-primary);
  color: var(--clr-white);
  border-color: transparent;
  box-shadow: var(--shadow-green);
}
.btn--sm   { padding: 9px 20px; font-size: .82rem; }
.btn--lg   { padding: 15px 34px; font-size: .95rem; }
.btn--pill { border-radius: 100px; }

/* Arrow indicator */
.btn--arrow::before {
  content: '→';
  opacity: .7;
  margin-left: 4px;
  transition: transform .2s var(--ease), opacity .2s;
}
.btn--arrow:hover::before { transform: translateX(4px); opacity: 1; }

/* ============================================================
   INFO STRIP
   ============================================================ */
.info-strip {
  background: rgba(14,17,30,.97);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 13px 0;
}
.info-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  justify-content: center;
  align-items: center;
}
.info-strip__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.info-strip__item a { color: rgba(255,255,255,.6); }
.info-strip__item a:hover { color: var(--clr-white); }
.info-strip__icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: rgba(255,255,255,.35);
}
.info-strip__icon svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  display: block;
}
.info-strip__dot {
  width: 3px; height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
}

/* ============================================================
   QUICK LINKS / BENTO GRID
   ============================================================ */
.quick-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: -52px;
  position: relative;
  z-index: 10;
}
.quick-link {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 22px 14px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(26,26,46,.08), 0 1px 0 rgba(255,255,255,.8) inset;
  transition: all .25s var(--ease);
  text-decoration: none;
  color: var(--clr-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.quick-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(192,121,65,.18), 0 1px 0 rgba(255,255,255,.8) inset;
  border-color: rgba(192,121,65,.35);
  color: var(--clr-primary);
  text-decoration: none;
}
.quick-link__icon {
  width: 46px; height: 46px;
  background: var(--clr-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease);
  border: 1px solid var(--clr-border);
  color: var(--clr-mid);
}
.quick-link__icon svg {
  width: 22px; height: 22px;
  stroke: currentColor;
  transition: stroke .25s var(--ease);
}
.quick-link:hover .quick-link__icon {
  background: var(--clr-primary-glow);
  border-color: rgba(27,79,114,.25);
  transform: scale(1.08);
  color: var(--clr-primary);
}
.quick-link__label {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.25;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 64px;
}
.stat-item {
  background: var(--clr-white);
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid var(--clr-border);
  transition: background .2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--clr-light); }
.stat-item__number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__number span {
  font-size: 1rem;
  letter-spacing: 0;
}
.stat-item__label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--clr-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(27,79,114,.12);
  transform: translateY(-3px);
  border-color: rgba(27,79,114,.2);
}
.card:hover::before { transform: scaleX(1); }
.card__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 8px;
}
.card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; color: var(--clr-dark); font-family: var(--font-display); }
.card__meta { font-size: .875rem; color: var(--clr-mid); line-height: 1.65; }
.card__meta a { color: var(--clr-primary); }
.card__divider {
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-primary));
  margin: 10px 0 14px;
  border-radius: 2px;
}

/* ============================================================
   OFFICIALS PAGE
   ============================================================ */
.dept-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 44px;
  justify-content: center;
}
.dept-filter__btn {
  padding: 8px 20px;
  border: 1.5px solid var(--clr-border);
  border-radius: 100px;
  background: var(--clr-white);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s var(--ease);
  color: var(--clr-mid);
  letter-spacing: -.01em;
}
.dept-filter__btn:hover { border-color: var(--clr-primary); color: var(--clr-primary); background: var(--clr-primary-glow); }
.dept-filter__btn.active {
  background: var(--grad-primary);
  border-color: transparent;
  color: var(--clr-white);
  box-shadow: var(--shadow-green);
}

.dept-section { margin-bottom: 60px; scroll-margin-top: 96px; }
.dept-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
}
.dept-section__icon {
  width: 44px; height: 44px;
  background: var(--clr-primary-glow);
  border: 1px solid rgba(27,79,114,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary);
}
.dept-section__icon svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  display: block;
}
.dept-section__title { font-size: 1.15rem; font-weight: 700; color: var(--clr-dark); }
.dept-section__sub { font-size: .82rem; color: var(--clr-mid); margin-top: 2px; }

.official-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
  transition: all .2s var(--ease);
}
.official-card:hover { box-shadow: var(--shadow-sm); border-color: rgba(27,79,114,.2); }
.official-card__name { font-size: .95rem; font-weight: 700; margin-bottom: 3px; color: var(--clr-dark); }
.official-card__role {
  font-size: .7rem;
  color: var(--clr-gold);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.official-card__divider { width: 24px; height: 2px; background: linear-gradient(90deg, var(--clr-gold), var(--clr-primary)); margin-bottom: 10px; border-radius: 2px; }
.official-card__info { font-size: .84rem; color: var(--clr-mid); line-height: 1.7; }
.official-card__info a { color: var(--clr-primary); }

/* ============================================================
   MINUTES PAGE
   ============================================================ */
.minutes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.minutes-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-left: 3px solid var(--clr-gold);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: all .2s var(--ease);
}
.minutes-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.minutes-card__year { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--clr-gold); margin-bottom: 5px; }
.minutes-card__title { font-size: .95rem; font-weight: 700; margin-bottom: 6px; color: var(--clr-dark); }
.minutes-card__desc { font-size: .84rem; color: var(--clr-mid); margin-bottom: 14px; }
.minutes-card__link { font-size: .84rem; font-weight: 600; color: var(--clr-primary); }
.minutes-card__link:hover { color: var(--clr-emerald); }

/* ============================================================
   ANNOUNCEMENTS PAGE
   ============================================================ */
.announcement-list { display: flex; flex-direction: column; gap: 14px; }
.announcement {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-xs);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all .2s var(--ease);
}
.announcement:hover {
  box-shadow: 0 4px 20px rgba(27,79,114,.1);
  border-color: rgba(27,79,114,.2);
  transform: translateX(4px);
}
.announcement__icon {
  width: 44px; height: 44px;
  background: var(--clr-primary-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(27,79,114,.15);
  color: var(--clr-primary);
}
.announcement__icon svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  display: block;
}
.announcement__body { flex: 1; }
.announcement__title { font-size: 1rem; font-weight: 700; color: var(--clr-dark); margin-bottom: 5px; }
.announcement__title a { color: var(--clr-dark); }
.announcement__title a:hover { color: var(--clr-primary); }
.announcement__desc { font-size: .875rem; color: var(--clr-mid); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: start; }
.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--clr-border-lt);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__icon {
  width: 40px; height: 40px;
  background: var(--clr-primary-glow);
  border: 1px solid rgba(27,79,114,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-primary);
}
.contact-info__icon svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  display: block;
}
.contact-info__label { font-size: .7rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--clr-mid); margin-bottom: 4px; }
.contact-info__value { font-size: .92rem; color: var(--clr-body); line-height: 1.6; }
.contact-info__value a { color: var(--clr-primary); }

.contact-form {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; color: var(--clr-dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font-sans);
  background: var(--clr-white);
  transition: border-color .2s, box-shadow .2s;
  color: var(--clr-dark);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(27,79,114,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   FORMS PAGE
   ============================================================ */
.forms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.form-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.form-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(27,79,114,.2); }
.form-card:hover::before { transform: scaleX(1); }
.form-card__icon {
  width: 60px; height: 60px;
  background: var(--clr-primary-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 1px solid rgba(27,79,114,.15);
  transition: transform .2s var(--ease);
  color: var(--clr-primary);
}
.form-card__icon svg {
  width: 28px; height: 28px;
  stroke: currentColor;
  display: block;
}
.form-card:hover .form-card__icon { transform: scale(1.1); }
.form-card__title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--clr-dark); }
.form-card__desc { font-size: .875rem; color: var(--clr-mid); margin-bottom: 20px; }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 72px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(27,79,114,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 50%, rgba(192,121,65,.18) 0%, transparent 55%),
    linear-gradient(rgba(10,14,30,.80), rgba(10,14,30,.85)),
    url('../images/whitcomb.jpeg') center 40% / cover no-repeat;
}
.page-header::before { display: none; }
.page-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e8a87c;
  background: rgba(192,121,65,.12);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
  border: 1px solid rgba(192,121,65,.25);
  position: relative;
}
.page-header__title {
  font-family: var(--font-display);
  color: var(--clr-white);
  margin-bottom: 12px;
  position: relative;
}
.page-header__desc { color: rgba(255,255,255,.5); font-size: .95rem; max-width: 520px; margin: 0 auto; position: relative; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 13px 28px;
  font-size: .8rem;
  color: var(--clr-mid);
  border-bottom: 1px solid var(--clr-border-lt);
  background: var(--clr-bg);
}
.breadcrumb a { color: var(--clr-primary); font-weight: 500; }
.breadcrumb span { margin: 0 8px; color: var(--clr-border); }

/* ============================================================
   HISTORY PAGE
   ============================================================ */
.history-body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--clr-dark);
  margin: 44px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--clr-border);
}
.history-body h2:first-child { margin-top: 0; }
.history-body p { color: var(--clr-body); font-size: .97rem; }
.history-sidebar {
  background: var(--clr-light);
  border: 1px solid rgba(27,79,114,.15);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-bottom: 16px;
}
.history-sidebar__seal {
  width: 88px; height: 88px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--clr-white);
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 0 auto 16px;
  border: 3px solid rgba(255,255,255,.25);
  line-height: 1.3;
  box-shadow: var(--shadow-emerald);
}
.history-sidebar__fact { font-size: .82rem; color: var(--clr-mid); margin-bottom: 8px; }
.history-sidebar__fact strong { color: var(--clr-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,.55);
  padding: 64px 0 28px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary-dk), var(--clr-primary), var(--clr-gold), var(--clr-primary-lt), var(--clr-gold), var(--clr-primary));
  background-size: 200% 100%;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.footer__brand-text { font-size: .875rem; line-height: 1.75; color: rgba(255,255,255,.72); }
.footer__heading {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: all .2s;
}
.footer__links a:hover { color: var(--clr-white); padding-left: 4px; }
.footer__contact-item {
  display: flex;
  gap: 10px;
  font-size: .875rem;
  margin-bottom: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,.55);
}
.footer__contact-item a { color: rgba(255,255,255,.55); }
.footer__contact-item a:hover { color: var(--clr-white); }
.footer__contact-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255,255,255,.38);
}
.footer__contact-icon svg {
  width: 16px; height: 16px;
  stroke: currentColor;
  display: block;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(255,255,255,.28);
}

/* ============================================================
   NOTICE BANNER
   ============================================================ */
.notice-banner {
  background: var(--grad-primary);
  color: var(--clr-white);
  padding: 12px 24px;
  text-align: center;
  font-size: .88rem;
  font-weight: 500;
}
.notice-banner a { color: rgba(255,255,255,.9); text-decoration: underline; }

/* ============================================================
   TAG
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--clr-primary-glow);
  border: 1px solid rgba(27,79,114,.2);
  border-radius: 100px;
  padding: 3px 12px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--clr-primary);
}

/* ============================================================
   COLLAPSIBLE SECTIONS (Minutes page)
   ============================================================ */
.collapse-section {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--clr-white);
  box-shadow: var(--shadow-xs);
}
.collapse-section summary {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-dark);
  background: var(--clr-white);
  transition: background .2s;
  user-select: none;
}
.collapse-section summary::-webkit-details-marker { display: none; }
.collapse-section summary .summary-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.collapse-section summary .summary-count {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-mid);
}
.collapse-section summary .summary-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--clr-light);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--clr-gold);
  line-height: 1;
  font-weight: 400;
  transition: background .2s, border-color .2s;
}
.collapse-section summary:hover { background: var(--clr-light); }
.collapse-section summary:hover .summary-toggle { background: var(--clr-white); border-color: var(--clr-gold); }
.collapse-section[open] summary { border-bottom: 1px solid var(--clr-border); }
.collapse-section[open] summary .summary-toggle { content: '−'; }

.collapse-body { padding: 8px 24px 16px; }
.collapse-body-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0 40px;
}

.doc-list { display: flex; flex-direction: column; gap: 0; }
.doc-item {
  display: flex;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--clr-border-lt);
  gap: 12px;
}
.doc-item:last-child { border-bottom: none; }
.doc-item__name { font-size: .875rem; color: var(--clr-body); flex: 1; line-height: 1.4; }
.doc-item__badge {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  paddin