/* Eldred Township — site styles
   Colors and type are defined once here; change them in :root. */

:root {
  --green-950: #0f2016;
  --green-900: #14291d;
  --green-800: #1d3a29;
  --green-700: #25503a;
  --green-600: #2f6648;
  --green-100: #e3eee6;
  --green-50: #f1f6f2;
  --gold-400: #e2b04a;
  --gold-500: #d49a2a;
  --gold-700: #8a5d0c;
  --gold-50: #fbf3e2;
  --red-700: #a8261d;
  --red-50: #fdf0ee;
  --ink: #18201b;
  --ink-2: #364039;
  --muted: #5a665e;
  --line: #e0e4dd;
  --bg: #fbfaf6;
  --surface: #ffffff;

  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 32, 22, .06);
  --shadow: 0 1px 2px rgba(15, 32, 22, .05), 0 10px 30px -12px rgba(15, 32, 22, .18);
  --shadow-lg: 0 2px 4px rgba(15, 32, 22, .06), 0 24px 48px -20px rgba(15, 32, 22, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* Sprite icons (<svg><use href="assets/img/icons.svg#name"/></svg>) draw as outlines in the current text color. */
svg:has(> use) { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--green-900); line-height: 1.15; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-500); color: var(--green-950); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); margin-bottom: .6rem; }
.lead { font-size: clamp(1.15rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .925rem; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-gold { background: var(--gold-500); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-400); color: var(--green-950); }
.btn-outline { border-color: currentColor; color: var(--green-700); background: transparent; }
.btn-outline:hover { background: var(--green-50); color: var(--green-900); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-950); color: #d9e4dc; font-size: .875rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar-911 { color: #ffd7d2; font-weight: 600; }
.topbar-911 strong { color: #fff; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(15,32,22,.35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); margin-right: auto; }
.brand:hover { color: var(--green-900); }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { display: block; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
.brand-sub { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 1rem; text-decoration: none; }
.nav a:hover { background: var(--green-50); color: var(--green-900); }
.nav a[aria-current="page"] { color: var(--green-900); background: var(--green-100); }
.nav .btn { margin-left: 8px; padding-inline: 1.1em; min-height: 44px; font-size: .95rem; white-space: nowrap; }
.nav .btn:hover { background: var(--gold-400); }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--green-900); font: 700 1rem var(--font-sans); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; min-height: 52px; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--green-900); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,24,16,.88) 0%, rgba(14,34,22,.72) 45%, rgba(14,34,22,.35) 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(56px, 9vw, 112px) clamp(72px, 10vw, 128px); }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero-kicker { font-size: clamp(.85rem, 1.6vw, 1.05rem); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 1rem; }
.hero .lead { color: #e4ece6; margin-bottom: 1.6em; }
.hero-card { background: var(--surface); color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: 28px; box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); margin-bottom: 14px; }
.next-meeting-date { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.date-badge { flex: none; display: grid; place-items: center; align-content: center; width: 72px; height: 76px; border-radius: 12px; background: var(--green-700); color: #fff; line-height: 1; text-align: center; }
.date-badge .m { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); }
.date-badge .d { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; margin-top: 4px; }
.next-meeting-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--green-900); line-height: 1.2; }
.next-meeting-meta { color: var(--muted); font-size: .98rem; margin-top: 4px; }
.hero-card .btn-row { margin-top: 18px; }
.hero-card .btn { min-height: 44px; font-size: .95rem; }
.hero-card-foot { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 14px; font-size: .92rem; color: var(--muted); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--green-800); color: #fff; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 96px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: url("../img/treeline.svg") repeat-x left bottom / auto 64px; opacity: .55; pointer-events: none; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: #dbe6de; margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 18px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li { margin: 0; color: #b9cbbf; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #7f9a88; }
.breadcrumb a { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-green { background: var(--green-50); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin: 0; }
.section-head p { margin: .4em 0 0; color: var(--muted); max-width: 60ch; }
.lift { margin-top: -56px; position: relative; z-index: 2; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-media { align-items: center; }
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner, .split, .split-even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: .4em; }
.card-media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-media .card-body { padding: 20px 22px 24px; }
.card-media .card-body > :last-child { margin-bottom: 0; }

.action-card { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s, transform .15s; }
.action-card:hover { border-color: var(--green-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.action-card:focus-within { border-color: var(--green-600); box-shadow: var(--shadow); }
.action-card h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; margin: 0; }
.action-card h3 a { color: var(--green-900); text-decoration: none; }
.action-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.action-card h3 a:focus-visible { outline: none; }
.action-card:has(a:focus-visible) { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.action-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.action-card .arrow { margin-top: auto; padding-top: 6px; font-size: .92rem; font-weight: 700; color: var(--green-700); }
.icon-tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--green-100); color: var(--green-700); }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.gold { background: var(--gold-50); color: var(--gold-700); }
.icon-tile.red { background: var(--red-50); color: var(--red-700); }
.action-card.featured { background: var(--green-800); border-color: var(--green-800); }
.action-card.featured h3 a, .action-card.featured .arrow { color: #fff; }
.action-card.featured p { color: #cfdcd3; }
.action-card.featured .icon-tile { background: rgba(255,255,255,.12); color: var(--gold-400); }
.action-card.featured:hover { border-color: var(--gold-500); }

/* ---------- Notices ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; border-radius: var(--radius); padding: 20px 22px; border: 1px solid; }
.notice > svg { flex: none; width: 26px; height: 26px; margin-top: 2px; }
.notice > div > :last-child { margin-bottom: 0; }
.notice h3, .notice h2 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; margin: 0 0 .3em; letter-spacing: 0; }
.notice-info { background: var(--green-50); border-color: #c8dccd; }
.notice-info > svg { color: var(--green-700); }
.notice-warn { background: var(--gold-50); border-color: #ecd6a6; }
.notice-warn > svg { color: var(--gold-700); }
.notice-warn h3, .notice-warn h2 { color: #5c3e06; }
.notice-alert { background: var(--red-50); border-color: #f1c6c1; }
.notice-alert > svg { color: var(--red-700); }
.notice-alert h3, .notice-alert h2 { color: var(--red-700); }

/* ---------- Content blocks ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.eyebrow + h2, .eyebrow + h3 { margin-top: 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.content-layout > aside { position: sticky; top: 100px; display: grid; gap: 20px; }
@media (max-width: 960px) { .content-layout { grid-template-columns: minmax(0, 1fr); } .content-layout > aside { position: static; } }
.content-block + .content-block { margin-top: clamp(40px, 6vw, 64px); }

.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.fact-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.fact-list li:last-child { border-bottom: 0; }
.fact-list .k { color: var(--muted); }
.fact-list .v { font-weight: 700; text-align: right; }

.check-list, .x-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.check-list li, .x-list li { position: relative; padding-left: 32px; margin: 0; }
.check-list li::before, .x-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 14px; }
.check-list li::before { background-color: var(--green-100); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325503a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.x-list li::before { background-color: var(--red-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8261d' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.x-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
@media (max-width: 620px) { .x-list.cols { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin: 0; min-height: 38px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 700; }
.steps strong { display: block; }

.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; color: var(--green-800); line-height: 1; }
.stat .label { color: var(--muted); font-size: .95rem; margin-top: 8px; }
@media (max-width: 760px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
.figure figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.data-table caption { text-align: left; padding: 16px 20px 0; font-weight: 700; color: var(--green-900); }
.data-table th, .data-table td { padding: 12px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table thead th { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--green-50); }
.data-table tbody tr:last-child td, .data-table tbody tr:last-child th { border-bottom: 0; }
.data-table td.num, .data-table th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- People / contacts ---------- */
.person { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.person .name { font-weight: 700; font-size: 1.08rem; color: var(--green-900); }
.person .role { font-size: .9rem; color: var(--muted); }
.person a { font-weight: 600; margin-top: 6px; white-space: nowrap; }
.people-list { display: grid; gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.people-list .person { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--line); }
.people-list .person:last-child { border-bottom: 0; }
.people-list .person a { margin: 0; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line svg { flex: none; width: 22px; height: 22px; color: var(--green-700); margin-top: 3px; }
.contact-line .k { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-line .v { font-weight: 600; }
.contact-line a { text-decoration: none; }
.contact-line a:hover { text-decoration: underline; }

/* ---------- Events ---------- */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.event .date-badge { width: 64px; height: 68px; }
.event .date-badge .d { font-size: 1.7rem; }
.event-title { font-weight: 700; color: var(--green-900); line-height: 1.3; }
.event-meta { font-size: .95rem; color: var(--muted); margin-top: 2px; }
.event-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--gold-50); color: #6b4708; margin-left: 6px; vertical-align: 2px; }
.event.is-next { border-color: var(--green-600); box-shadow: 0 0 0 1px var(--green-600), var(--shadow); }
.event.is-past { opacity: .7; }
.event.is-past .date-badge { background: var(--muted); }
.event .ics-link { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.event-election .date-badge { background: var(--gold-700); }
.event-election .date-badge .m { color: #fde7b8; }
@media (max-width: 620px) {
  .event { grid-template-columns: auto minmax(0, 1fr); }
  .event .ics-link { grid-column: 2; }
}
.past-events { margin-top: 28px; }
.past-events summary { cursor: pointer; font-weight: 700; color: var(--green-700); padding: 8px 0; }
.past-events .event-list { margin-top: 12px; }

.agenda { counter-reset: none; }
.agenda h3 { font-family: var(--font-sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-700); margin: 1.4em 0 .5em; }
.agenda h3:first-child { margin-top: 0; }
.agenda ol { margin: 0; }
.agenda-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: baseline; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.agenda-head h2 { margin: 0; font-size: 1.6rem; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--green-100); color: var(--green-800); }
.pill.old { background: var(--gold-50); color: #6b4708; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--green-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--green-700); border-bottom: 2.5px solid var(--green-700); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.field label { display: block; font-weight: 700; font-size: .98rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: var(--red-700); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #c9d0c8; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(47, 102, 72, .18); }
.field .hint { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.ok { background: var(--green-100); color: var(--green-900); }
.form-status.err { background: var(--red-50); color: var(--red-700); }

/* ---------- Supervisors band ---------- */
.supervisors-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.supervisors-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Alert band ---------- */
.alert-band { background: var(--green-900); color: #dfe8e2; border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.alert-band h2 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: .3em; }
.alert-band p { margin: 0; }
.alert-band a:not(.btn) { color: #fff; }
.alert-band .icon-tile { width: 64px; height: 64px; border-radius: 16px; background: rgba(226, 176, 74, .16); color: var(--gold-400); }
.alert-band .icon-tile svg { width: 32px; height: 32px; }
@media (max-width: 860px) { .alert-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #c4d2c8; margin-top: 0; font-size: .98rem; position: relative; }
.site-footer::before { content: ""; display: block; height: 56px; background: url("../img/treeline.svg") repeat-x left bottom / auto 56px; background-color: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 40px; }
.site-footer h2 { font-family: var(--font-sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 14px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #9fb3a6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .88rem; color: #93a89a; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Misc ---------- */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.anchor-nav a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--green-800); }
.anchor-nav a:hover { border-color: var(--green-600); background: var(--green-50); }
.doc-link { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.doc-link:hover { border-color: var(--green-600); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.doc-link .icon-tile { width: 52px; height: 52px; }
.doc-link .t { display: block; font-weight: 700; color: var(--green-900); }
.doc-link .s { display: block; font-size: .9rem; color: var(--muted); }
.history-quote { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.5vw, 1.6rem); line-height: 1.4; color: var(--green-900); border-left: 4px solid var(--gold-500); padding-left: 22px; margin: 0 0 1.4em; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 36px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--green-600); }
.timeline .yr { font-family: var(--font-serif); font-weight: 700; color: var(--green-800); font-size: 1.15rem; display: block; }
.not-found { text-align: center; padding-block: 96px; }
@media (max-width: 620px) { .hide-sm { display: none; } }

/* ---------- Utilities ---------- */
.h3 { font-size: 1.3rem; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 44px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 36px; }
.my-md { margin-block: 20px 28px; }
.req { color: var(--red-700); }
.page-hero .lead a { color: #fff; }
.fire-photos { grid-template-columns: 2fr 3fr; }
.fire-photos img { object-fit: cover; aspect-ratio: 8 / 9; }
.fire-photos figure + figure img { aspect-ratio: 4 / 3; }
.not-found .lead { margin-inline: auto; }
.not-found .btn-row { justify-content: center; margin-top: 24px; }
.calc-result output { font-size: 1.1rem; }
.mb-0 { margin-bottom: 0; }
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand-sub { font-size: .7rem; letter-spacing: 0; white-space: nowrap; }
  .menu-toggle { padding-inline: 12px; }
}
@media (max-width: 620px) {
  .notice { flex-direction: column; gap: 10px; padding: 18px; }
}

/* ---------- Announcement banner (set in the site editor) ---------- */
.site-banner { background: var(--gold-50); border-bottom: 1px solid #ecd6a6; color: #4a3305; }
.site-banner .wrap { display: flex; gap: 12px; align-items: flex-start; padding-block: 12px; }
.site-banner svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--gold-700); }
.site-banner p { margin: 0; font-weight: 600; font-size: 1rem; }
.site-banner a { color: inherit; font-weight: 700; }
.site-banner.is-urgent { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.site-banner.is-urgent svg { color: #fff; }
.agenda-file { margin: 0 0 18px; }
