/* Village of Round Lake redesign prototype by Stoa Works.
   Palette drawn from the Village seal (lake blue, signal red ring, gold edge, est. 1908)
   and the Village's own sunset-on-the-lake photography.
   Type: Literata (book serif, opsz axis) + Nunito Sans, self-hosted variable woff2, OFL. */

@font-face {
  font-family: "Literata";
  src: url("/roundlake/assets/fonts/literata-var.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/roundlake/assets/fonts/nunito-sans-var.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #14304f;
  --navy-deep: #0d2238;
  --lake: #1d5e8f;
  --lake-deep: #174a72;
  --gold: #b07f14;
  --gold-bright: #e3b54a;
  --gold-soft: #f3e3bd;
  --red: #a32733;
  --cream: #fbf8f2;
  --paper: #ffffff;
  --sky: #e9f1f7;
  --ink: #1d2935;
  --muted: #51616f;
  --line: #e0dacd;
  --line-cool: #d4dfe8;
  --focus: #b3651a;
  --shadow: 0 1px 2px rgba(13, 34, 56, 0.08), 0 8px 28px rgba(13, 34, 56, 0.10);
  --radius: 10px;
  --serif: "Literata", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.18; color: var(--navy); margin: 0 0 0.5rem; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.14rem; }
h4 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--navy); }
p { margin: 0 0 1rem; }

a { color: var(--lake); text-underline-offset: 2px; }
a:hover { color: var(--lake-deep); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.65rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.eyebrow {
  font-family: var(--sans); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 0.5rem;
}
.eyebrow.on-light { color: #8a4a2a; }

/* ---------- prototype banner ---------- */
.proto-banner {
  background: #2c2419; color: #f6ead0; font-size: 0.84rem;
  padding: 0.5rem 1.25rem; text-align: center; line-height: 1.45;
}
.proto-banner a { color: var(--gold-bright); }
.proto-banner strong { color: #fff; }

/* ---------- utility bar ---------- */
.util-bar { background: var(--navy-deep); color: #cfe0ee; font-size: 0.84rem; }
.util-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; padding-top: 0.25rem; padding-bottom: 0.25rem; }
.util-bar span.hours { opacity: 0.92; }
.util-bar nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.util-bar a {
  color: #e8f1f8; text-decoration: none; padding: 0.35rem 0.55rem; border-radius: 6px;
  display: inline-flex; align-items: center; min-height: 24px;
}
.util-bar a:hover, .util-bar a:focus-visible { background: rgba(255, 255, 255, 0.14); color: #fff; }
.util-bar a.lang { font-weight: 700; color: var(--gold-bright); }

/* ---------- masthead ---------- */
.masthead { background: linear-gradient(180deg, var(--navy) 0%, #112a45 100%); color: #fff; }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.masthead .brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: #fff; min-width: 0; }
.masthead .brand img.seal { width: 58px; height: 58px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(227, 181, 74, 0.55); background: #fff; }
.masthead .brand .lockup { min-width: 0; }
.masthead .brand img.wordmark { width: 196px; max-width: 52vw; height: auto; }
.masthead .brand .est { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-bright); margin-top: 0.15rem; }
.masthead .head-search { flex: 0 1 330px; position: relative; }
.masthead .head-search form { display: flex; }
.masthead .head-search input {
  flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(255, 255, 255, 0.12);
  color: #fff; border-radius: 8px 0 0 8px; padding: 0.55rem 0.8rem; font-size: 0.95rem;
}
.masthead .head-search input::placeholder { color: #b9cddd; }
.masthead .head-search button {
  border: 0; background: var(--gold-bright); color: #2c2106; font-weight: 800; padding: 0 0.95rem;
  border-radius: 0 8px 8px 0; cursor: pointer; font-size: 0.95rem; min-height: 40px;
}
.masthead .head-search button:hover { background: #efc55e; }

/* ---------- primary nav ---------- */
.primary-nav { background: var(--lake-deep); position: relative; z-index: 30; }
.primary-nav .wrap { display: flex; align-items: center; justify-content: space-between; padding: 0; }
.primary-nav ul { list-style: none; display: flex; margin: 0; padding: 0; flex-wrap: wrap; }
.primary-nav li { margin: 0; }
.primary-nav a {
  display: inline-flex; align-items: center; color: #eef5fa; text-decoration: none; font-weight: 600;
  font-size: 0.95rem; padding: 0.8rem 1.05rem; min-height: 44px; border-bottom: 3px solid transparent;
}
.primary-nav a:hover, .primary-nav a:focus-visible { background: rgba(255, 255, 255, 0.10); color: #fff; }
.primary-nav a[aria-current="page"], .primary-nav a.active { border-bottom-color: var(--gold-bright); color: #fff; background: rgba(255, 255, 255, 0.06); }
.menu-btn {
  display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff;
  font-size: 0.95rem; font-weight: 700; padding: 0.5rem 0.9rem; border-radius: 8px; margin: 0.5rem 1.25rem; cursor: pointer; min-height: 44px;
}

@media (max-width: 880px) {
  .masthead .head-search { display: none; }
  .menu-btn { display: inline-flex; align-items: center; gap: 0.4rem; }
  .primary-nav ul { display: none; flex-direction: column; width: 100%; padding-bottom: 0.5rem; }
  .primary-nav ul.open { display: flex; }
  .primary-nav .wrap { flex-direction: column; align-items: stretch; }
  .primary-nav a { width: 100%; border-bottom: 0; border-left: 3px solid transparent; }
  .primary-nav a[aria-current="page"], .primary-nav a.active { border-left-color: var(--gold-bright); }
}

/* ---------- wave divider ---------- */
.wave { display: block; width: 100%; height: 38px; }
.wave.flip { transform: scaleY(-1); }

/* ---------- home hero ---------- */
.hero {
  position: relative; color: #fff; isolation: isolate; overflow: hidden;
  background: var(--navy-deep);
}
.hero .bg { position: absolute; inset: 0; z-index: -2; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero .scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 34, 56, 0.62) 0%, rgba(13, 34, 56, 0.30) 38%, rgba(13, 34, 56, 0.78) 100%);
}
.hero .wrap { padding-top: clamp(3rem, 8vw, 5.5rem); padding-bottom: clamp(3.4rem, 9vw, 6rem); max-width: 880px; text-align: center; }
.hero .est-chip {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-bright);
  border: 1px solid rgba(227, 181, 74, 0.55); border-radius: 999px; padding: 0.34rem 0.95rem; margin-bottom: 1.1rem;
  background: rgba(13, 34, 56, 0.35);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.4rem); text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); margin-bottom: 0.65rem; }
.hero .lede { font-size: clamp(1.02rem, 2vw, 1.2rem); color: #e9f1f8; max-width: 56ch; margin: 0 auto 1.6rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }

.hero-search { position: relative; max-width: 620px; margin: 0 auto; text-align: left; }
.hero-search form { display: flex; box-shadow: var(--shadow); border-radius: 12px; }
.hero-search input {
  flex: 1; min-width: 0; font-size: 1.06rem; padding: 0.95rem 1.1rem; border: 0;
  border-radius: 12px 0 0 12px; background: #fff; color: var(--ink);
}
.hero-search button {
  border: 0; background: var(--gold-bright); color: #2c2106; font-weight: 800; font-size: 1.02rem;
  padding: 0 1.4rem; border-radius: 0 12px 12px 0; cursor: pointer;
}
.hero-search button:hover { background: #efc55e; }
.hero .try {
  display: flex; gap: 0.45rem; flex-wrap: wrap; justify-content: center; margin-top: 0.9rem;
  list-style: none; margin-bottom: 0; padding: 0;
}
.hero .try li { margin: 0; }
.hero .try a {
  color: #fff; text-decoration: none; font-size: 0.84rem; font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 999px; padding: 0.32rem 0.85rem;
  background: rgba(13, 34, 56, 0.35); min-height: 24px; display: inline-flex; align-items: center;
}
.hero .try a:hover, .hero .try a:focus-visible { background: rgba(255, 255, 255, 0.18); }
.hero .photo-credit { position: absolute; right: 0.9rem; bottom: 0.55rem; font-size: 0.7rem; color: rgba(255, 255, 255, 0.75); margin: 0; }

/* search suggestion dropdown (hero + header + search page) */
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border-radius: 12px;
  box-shadow: var(--shadow); list-style: none; margin: 0; padding: 0.4rem; z-index: 60;
  border: 1px solid var(--line-cool); max-height: 330px; overflow: auto;
}
.suggest li { margin: 0; }
.suggest a {
  display: flex; align-items: baseline; gap: 0.6rem; padding: 0.55rem 0.7rem; text-decoration: none;
  border-radius: 8px; color: var(--ink); font-size: 0.95rem;
}
.suggest a:hover, .suggest a.sel { background: var(--sky); }
.suggest .k { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #8a4a2a; flex: none; width: 4.6rem; }
.suggest mark { background: var(--gold-soft); color: inherit; border-radius: 2px; padding: 0 1px; }

/* ---------- task tiles ---------- */
.tasks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
.tasks a {
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.05rem 0.6rem 0.95rem; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9rem;
  line-height: 1.25; box-shadow: 0 1px 2px rgba(13, 34, 56, 0.05); transition: transform 120ms ease, box-shadow 120ms ease;
}
.tasks a:hover, .tasks a:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold-bright); }
.tasks .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--lake-deep); }
.tasks .ic svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .tasks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tasks { grid-template-columns: repeat(2, 1fr); } }

/* ---------- bands & cards ---------- */
.band { padding: clamp(2rem, 5vw, 3.4rem) 0; }
.band.tint { background: var(--sky); }
.band.dark { background: linear-gradient(160deg, var(--navy) 0%, var(--lake-deep) 100%); color: #e6eff7; }
.band.dark h2, .band.dark h3 { color: #fff; }
.band.dark a:not(.btn) { color: #cfe4f4; }
.band.dark .eyebrow { color: var(--gold-bright); }

.cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2.2rem; align-items: start; }
@media (max-width: 880px) { .cols { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; box-shadow: 0 1px 2px rgba(13, 34, 56, 0.05);
}
.card.accent { border-top: 4px solid var(--gold-bright); }
.card h3 { margin-top: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 0.45rem; background: var(--lake-deep); color: #fff;
  font-weight: 700; text-decoration: none; padding: 0.62rem 1.15rem; border-radius: 9px; border: 0;
  font-size: 0.96rem; cursor: pointer; min-height: 44px;
}
.btn:hover, .btn:focus-visible { background: var(--navy); color: #fff; }
.btn.gold { background: var(--gold-bright); color: #2c2106; }
.btn.gold:hover, .btn.gold:focus-visible { background: #efc55e; color: #2c2106; }
.btn.ghost { background: transparent; border: 2px solid var(--lake-deep); color: var(--lake-deep); }
.btn.ghost:hover, .btn.ghost:focus-visible { background: var(--sky); }
.band.dark .btn.ghost { border-color: #cfe4f4; color: #fff; }
.band.dark .btn.ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- alert ---------- */
.alert {
  border-left: 4px solid var(--red); background: #fdf3f1; border-radius: 8px;
  padding: 0.8rem 1rem; font-size: 0.94rem; margin-bottom: 1rem; color: #5c2026;
}
.alert strong { color: #7e232e; }
.alert a { color: #7e232e; font-weight: 700; }

.note {
  border-left: 4px solid var(--gold-bright); background: #fdf7e9; border-radius: 8px;
  padding: 0.85rem 1.05rem; font-size: 0.92rem; color: #51421a; margin: 1.1rem 0;
}
.note strong { color: #8a4a2a; }
.note a { color: #8a4a2a; }
.note .rn-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--gold-bright); color: #2c2106; border-radius: 4px; padding: 0.12rem 0.5rem; margin-right: 0.5rem; transform: translateY(-1px);
}

/* ---------- news / meetings ---------- */
.news { list-style: none; margin: 0; padding: 0; }
.news li { border-bottom: 1px solid var(--line); padding: 0.95rem 0; }
.news li:first-child { padding-top: 0.2rem; }
.news .meta { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.2rem; }
.news h3 { margin: 0 0 0.25rem; font-size: 1.06rem; }
.news h3 a { color: var(--navy); text-decoration: none; }
.news h3 a:hover { color: var(--lake); text-decoration: underline; }
.news p { margin: 0; font-size: 0.94rem; color: #37424d; }
.tag {
  display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--sky); color: var(--lake-deep); border-radius: 4px; padding: 0.14rem 0.5rem;
}
.tag.gold { background: var(--gold-soft); color: #8a4a2a; }

.meeting-list { list-style: none; margin: 0; padding: 0; }
.meeting-list li { display: flex; gap: 0.9rem; align-items: center; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
.meeting-list li:last-child { border-bottom: 0; }
.meeting-list .date {
  flex: none; width: 56px; text-align: center; background: var(--navy); color: #fff; border-radius: 9px;
  padding: 0.32rem 0.2rem; line-height: 1.12;
}
.meeting-list .date .mo { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); }
.meeting-list .date .d { display: block; font-size: 1.3rem; font-weight: 800; font-family: var(--serif); }
.meeting-list .what { min-width: 0; }
.meeting-list .what strong { display: block; color: var(--navy); line-height: 1.3; }
.meeting-list .what span { font-size: 0.85rem; color: var(--muted); }

/* ---------- pagehead (interior masthead) ---------- */
.pagehead {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 45%, var(--lake-deep) 100%);
  border-bottom: 4px solid var(--gold-bright);
}
.pagehead::after {
  content: ""; position: absolute; right: -70px; top: 50%; transform: translateY(-50%);
  width: 300px; height: 300px; background: url("/roundlake/assets/seal.png") center / contain no-repeat;
  opacity: 0.14; pointer-events: none;
}
.pagehead.photo::after { display: none; }
.pagehead .bg { position: absolute; inset: 0; z-index: 0; }
.pagehead .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.pagehead .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13, 34, 56, 0.88) 25%, rgba(13, 34, 56, 0.55) 100%); }
.pagehead .wrap { position: relative; z-index: 1; padding-top: clamp(1.7rem, 4.5vw, 2.8rem); padding-bottom: clamp(1.7rem, 4.5vw, 2.8rem); }
.pagehead .breadcrumb { font-size: 0.82rem; margin: 0 0 0.45rem; color: #b9cddd; }
.pagehead .breadcrumb a { color: #d8e6f1; }
.pagehead h1 { color: #fff; margin-bottom: 0.35rem; }
.pagehead .sub { color: #dbe7f1; max-width: 62ch; margin: 0; font-size: 1.02rem; }

/* ---------- finder (services / search facets) ---------- */
.finder-controls { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin: 0 0 1.2rem; }
.chip {
  border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: 0.4rem 0.95rem;
  font-size: 0.88rem; font-weight: 700; color: var(--navy); cursor: pointer; min-height: 24px;
}
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip:hover { border-color: var(--lake); }
.count-note { font-size: 0.88rem; color: var(--muted); margin: 0 0 1rem; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.svc .tag { align-self: flex-start; margin-bottom: 0.2rem; }
.svc h3 { margin: 0; font-size: 1.04rem; }
.svc h3 a { color: var(--navy); text-decoration: none; }
.svc h3 a:hover { color: var(--lake); text-decoration: underline; }
.svc p { margin: 0; font-size: 0.9rem; color: #37424d; }
.svc .go { margin-top: auto; padding-top: 0.5rem; font-size: 0.88rem; font-weight: 700; }

/* ---------- search results ---------- */
.search-form { display: flex; max-width: 640px; position: relative; }
.search-form input {
  flex: 1; min-width: 0; font-size: 1.05rem; padding: 0.85rem 1rem; border: 1.5px solid var(--line);
  border-right: 0; border-radius: 10px 0 0 10px; background: #fff; color: var(--ink);
}
.search-form button {
  border: 0; background: var(--lake-deep); color: #fff; font-weight: 800; padding: 0 1.3rem;
  border-radius: 0 10px 10px 0; cursor: pointer; font-size: 1rem;
}
.search-form button:hover { background: var(--navy); }
.results-meta { font-size: 0.88rem; color: var(--muted); margin: 1.1rem 0 0.6rem; }
.result { padding: 0.85rem 0; border-bottom: 1px solid var(--line); max-width: 680px; }
.result .rmeta { font-size: 0.78rem; color: var(--muted); margin: 0 0 0.15rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.result .rmeta .es { color: var(--gold); }
.result h2 { font-size: 1.12rem; margin: 0 0 0.25rem; }
.result h2 a { color: var(--lake-deep); text-decoration: none; }
.result h2 a:hover { text-decoration: underline; }
.result p { margin: 0; font-size: 0.93rem; color: #37424d; }
.result mark { background: var(--gold-soft); color: inherit; border-radius: 2px; padding: 0 1px; }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 0.94rem; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(13,34,56,0.05); }
.tbl caption { text-align: left; font-weight: 700; color: var(--navy); padding: 0 0 0.5rem; font-family: var(--serif); font-size: 1.05rem; }
.tbl th { background: var(--navy); color: #fff; text-align: left; padding: 0.6rem 0.85rem; font-size: 0.86rem; letter-spacing: 0.04em; }
.tbl td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.85rem; vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:nth-child(even) { background: #faf7ef; }

/* ---------- split (image/text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split figure { margin: 0; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.split figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; }

/* ---------- photo band ---------- */
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
@media (max-width: 880px) { .photo-band { grid-template-columns: 1fr; } }
.photo-band figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(13,34,56,0.05); }
.photo-band img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.photo-band figcaption { font-size: 0.84rem; color: #37424d; padding: 0.7rem 0.9rem 0.85rem; }

/* ---------- dl rows / contact ---------- */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.2rem; margin: 0; font-size: 0.95rem; }
.kv dt { font-weight: 700; color: var(--navy); }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: 0.05rem; } .kv dd { margin-bottom: 0.55rem; } }

/* ---------- people (officials) ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 880px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.person .role { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #8a4a2a; margin: 0 0 0.2rem; }
.person h3 { margin: 0 0 0.15rem; font-size: 1.08rem; }
.person .term { font-size: 0.84rem; color: var(--muted); margin: 0 0 0.4rem; }
.person a { font-size: 0.9rem; word-break: break-all; }

/* ---------- calendar list ---------- */
.cal-month { font-family: var(--serif); color: var(--navy); font-size: 1.3rem; margin: 1.6rem 0 0.6rem; }
.cal-month:first-of-type { margin-top: 0; }

/* ---------- accessibility audit ---------- */
.score-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 700px) { .score-cards { grid-template-columns: 1fr; } }
.score { border-radius: var(--radius); padding: 1.2rem 1.3rem; border: 1px solid var(--line); background: var(--paper); }
.score .big { font-family: var(--serif); font-size: 2.6rem; font-weight: 800; line-height: 1; display: block; }
.score.good { border-top: 4px solid #2e7d4f; }
.score.good .big { color: #2e7d4f; }
.score.warn { border-top: 4px solid var(--red); }
.score.warn .big { color: var(--red); }
.score .sub { color: var(--muted); font-size: 0.88rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c3d4e2; margin-top: 3rem; border-top: 4px solid var(--gold-bright); }
.site-footer .top-wave { margin-top: -1px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2rem; padding: 2.4rem 0 1.6rem; }
@media (max-width: 880px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.45rem; }
.site-footer a { color: #dce9f3; text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; text-decoration: underline; }
.site-footer p a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer p { font-size: 0.92rem; }
.site-footer .seal-row { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.site-footer .seal-row img { width: 54px; height: 54px; border-radius: 50%; background: #fff; }
.site-footer .footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 1rem 0 1.4rem; font-size: 0.8rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #9fb4c6;
}
.site-footer .footer-legal a { color: #c3d4e2; text-decoration: underline; }

/* ---------- misc ---------- */
.source-note { font-size: 0.78rem; color: var(--muted); }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.checklist { list-style: none; margin: 0 0 1rem; padding: 0; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: 0.5rem; }
.checklist li::before { content: "✓"; position: absolute; left: 0.2rem; top: 0; color: #2e7d4f; font-weight: 800; }
.steps { counter-reset: step; list-style: none; margin: 0 0 1rem; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: 0.85rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 1.85rem; height: 1.85rem;
  background: var(--navy); color: var(--gold-bright); font-weight: 800; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.92rem; font-family: var(--serif);
}
.weather-strip { display: flex; gap: 0.9rem; align-items: center; flex-wrap: wrap; font-size: 0.9rem; }
.weather-strip .wx-card { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 9px; padding: 0.45rem 0.85rem; color: #fff; }
.weather-strip .wx-card strong { color: var(--gold-bright); }

form.demo label { display: block; font-weight: 700; color: var(--navy); margin: 0.9rem 0 0.25rem; font-size: 0.94rem; }
form.demo input, form.demo select, form.demo textarea {
  width: 100%; padding: 0.6rem 0.75rem; border: 1.5px solid var(--line); border-radius: 8px;
  font-size: 0.97rem; font-family: var(--sans); background: #fff; color: var(--ink);
}
form.demo textarea { min-height: 110px; resize: vertical; }
form.demo .req { color: var(--red); }
form.demo .hint { font-size: 0.82rem; color: var(--muted); margin: 0.2rem 0 0; }
form.demo .err { color: #8c1d28; font-size: 0.86rem; font-weight: 600; margin: 0.25rem 0 0; }
form.demo input[aria-invalid="true"], form.demo textarea[aria-invalid="true"] { border-color: var(--red); }

.lang-banner { background: var(--gold-soft); color: #51421a; font-size: 0.88rem; padding: 0.5rem 1.25rem; text-align: center; }
.lang-banner a { color: #8a4a2a; font-weight: 700; }

@media print {
  .proto-banner, .util-bar, .primary-nav, .menu-btn, .site-footer .top-wave { display: none; }
}
