/* ==========================================================================
   Rio Grande City — one stylesheet, no framework.

   Type and layout follow the CiVQ system: Fraunces for display, Public Sans
   for everything else, uppercase tracked eyebrows, bordered cards on warm
   paper. The palette is the city's own — the navy of the seal's ring, the
   sand of its hills, and Starr County brick as the accent.

   Everything is rem-based so the text-size control is a root scale and not a
   zoom hack. prefers-reduced-motion and prefers-contrast are honoured before
   any control here is touched.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. type */
@font-face{
  font-family:"Fraunces";
  src:url("/rgc/assets/fonts/fraunces.woff2") format("woff2");
  font-weight:300 900; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Public Sans";
  src:url("/rgc/assets/fonts/publicsans.woff2") format("woff2");
  font-weight:100 900; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Public Sans";
  src:url("/rgc/assets/fonts/publicsans-italic.woff2") format("woff2");
  font-weight:100 900; font-style:italic; font-display:swap;
}
/* Metric-matched fallbacks, so nothing reflows when the webfonts land. */
@font-face{font-family:"Fraunces Fallback";src:local("Georgia"),local("Times New Roman"),local("Liberation Serif");
  ascent-override:84.71%;descent-override:22.09%;line-gap-override:0%;size-adjust:115.45%}
@font-face{font-family:"PS Fallback";src:local("Arial"),local("Helvetica Neue"),local("Liberation Sans");
  ascent-override:90.59%;descent-override:21.46%;line-gap-override:0%;size-adjust:104.87%}

/* -------------------------------------------------------------- 2. tokens */
:root{
  /* Every colour here is the city's own seal, measured off the file rather
     than picked by eye: the ring is #21366f and the block E is #db011c. Both
     are dark enough to carry text as they are — 10.9:1 and 4.9:1 on this page
     — so unlike most identity palettes neither one had to be darkened to be
     used honestly. Checked by tools/contrast.py before every build. */
  --brand:#21366f;         /* the seal navy, exactly as the seal has it — 10.9:1 */
  --brand-2:#16264f;
  --brand-3:#2f4a94;       /* the navy lightened, for fills only */
  --accent:#db011c;        /* the seal red, exactly as the seal has it — 4.9:1 */
  --accent-bright:#db011c;
  --accent-soft:#fdeaec;
  --green:#146c43;
  --gold:#8a5a00;
  --red:#96121a;

  --cream:#f7f9fb;         /* the page */
  --band:#eaf1f6;          /* alternating band */
  --paper:#ffffff;
  --ink:#1a1d20;           /* 16.0:1 on the page — AAA */
  --ink-2:#525a61;         /* 6.7:1 on the page */
  --line:#dde6ec;
  --line-2:#c2d0da;
  --focus:#21366f;
  --link:#1a4b96;

  --measure:38rem;
  --gap:clamp(1.25rem,3vw,2rem);
  --pad:clamp(1rem,4vw,2rem);
  --r:10px;
  --r-lg:16px;
  --r-pill:999px;
  --scale:1;

  --display:"Fraunces","Fraunces Fallback",Georgia,serif;
  --sans:"Public Sans","PS Fallback",Arial,sans-serif;
  --shadow:0 1px 2px rgba(10,30,45,.05), 0 8px 24px -16px rgba(10,30,45,.20);
}
html[data-text="m"]{--scale:1.15}
html[data-text="l"]{--scale:1.32}
html[data-contrast="more"]{
  --ink:#000; --ink-2:#12161a; --cream:#fff; --band:#e9f0f5; --paper:#fff;
  --line:#000; --line-2:#000; --brand:#101d40; --accent:#8f0011; --link:#10306b;
}

/* --------------------------------------------------------------- 3. reset */
*,*::before,*::after{box-sizing:border-box}
html{font-size:calc(100% * var(--scale));-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream);color:var(--ink);
  font-family:var(--sans);font-size:1.0625rem;line-height:1.65;
  font-synthesis-weight:none;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
svg{display:block}
h1,h2,h3,h4{font-family:var(--display);line-height:1.12;margin:0 0 .45em;
  letter-spacing:-.018em;font-weight:600;text-wrap:balance;color:var(--ink)}
h1{font-size:clamp(2.3rem,5.4vw,3.6rem);line-height:1.06}
h2{font-size:clamp(1.6rem,3.4vw,2.3rem)}
h3{font-size:1.3rem}
h4{font-size:1.05rem}
p,ul,ol,dl,table,figure{margin:0 0 1.1em}
p,li{max-width:var(--measure)}
a{color:var(--link);text-decoration:none}
/* Inside running text, colour alone is not enough of a signal (WCAG 1.4.1),
   so a prose link also carries weight — and an underline on hover and focus. */
.prose a,p a:not(.btn):not(.ulink),li a:not(.btn):not(.ulink):not(.pill),
dd a,td a,figcaption a{font-weight:600}
.rows a,.card,.nav a,.crumbs a,footer.site a,.seg-lang a,.brand{font-weight:inherit}
a:hover{text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.06em}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:4px}
:target{scroll-margin-top:2rem}
hr{border:0;border-top:1px solid var(--line);margin:2.2rem 0}

/* ------------------------------------------------------------ 4. fragments */
.wrap{width:min(74rem,100% - 2*var(--pad));margin-inline:auto}
.wrap-narrow{width:min(46rem,100% - 2*var(--pad));margin-inline:auto}
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--brand);
  color:#fff;padding:.7rem 1rem;font-weight:600;border-radius:0 0 var(--r) 0}
.skip:focus{left:0;top:0}

.eyebrow{font-family:var(--sans);font-size:.75rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--accent);
  margin:0 0 .9rem;display:flex;align-items:center;gap:.7rem;max-width:none}
.eyebrow::before{content:"";width:1.6rem;height:2px;background:currentColor;flex:0 0 auto}
.eyebrow.plain::before{display:none}

.ulink{font-size:.76rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  display:inline-flex;align-items:center;gap:.45rem;color:var(--brand)}
.ulink .ar{transition:transform .18s ease}
.ulink:hover .ar{transform:translateX(3px)}

.lead{font-size:1.15rem;color:var(--ink-2);max-width:44rem}
.muted{color:var(--ink-2)}
.stack>*+*{margin-top:1rem}
.vh{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
[hidden]{display:none!important}

/* ---------------------------------------------------------------- 5. chrome */
.demo{background:var(--brand-2);color:#e7edf8;font-size:.84rem;line-height:1.5;padding:.5rem 0}
.demo .wrap{display:flex;gap:.5rem 1rem;flex-wrap:wrap;align-items:baseline}
.demo b{font-weight:700}
.demo a{color:#ffd08a}
.demo p{margin:0;max-width:none}

.live{background:var(--band);color:var(--ink-2);font-size:.85rem;
  border-bottom:1px solid var(--line)}
.live .wrap{display:flex;flex-wrap:wrap;gap:.3rem 1.6rem;align-items:baseline;
  padding:.45rem 0;min-height:2.1rem}
.live dl{display:flex;gap:.4rem;margin:0;align-items:baseline}
.live dt{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2)}
.live dd{margin:0;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.live a{margin-inline-start:auto;color:var(--brand);font-size:.8rem}
.live .live-empty{color:var(--ink-2)}

/* The header sticks as one unit. Scrolling shrinks the mark so it stays out of
   the way on a phone; without JavaScript it simply stays at full size. */
.site-head{position:sticky;top:0;z-index:40;background:var(--cream);
  box-shadow:0 1px 0 var(--line)}
.site-head.compact{box-shadow:0 1px 12px -4px rgba(28,24,16,.22)}
.masthead{background:var(--cream);border-bottom:1px solid var(--line)}
.site-head.compact .masthead{border-bottom-color:transparent}
.site-head.compact .brand img{width:44px;height:44px}
.site-head.compact .brand .bt{font-size:1.1rem}
.site-head.compact .brand .bs{display:none}
.site-head.compact .masthead .wrap{padding:.3rem 0}
html:not([data-motion="less"]) .brand img{transition:width .18s ease,height .18s ease}
@media (prefers-reduced-motion:reduce){.brand img{transition:none}}
.masthead .wrap{display:flex;align-items:center;gap:1rem;padding:.5rem 0}
.brand{display:flex;align-items:center;gap:.7rem;color:var(--ink);text-decoration:none;flex:0 0 auto}
.brand:hover{text-decoration:none}
.brand img{width:96px;height:96px;flex:0 0 auto}
.brand .bt{font-family:var(--display);font-weight:600;font-size:1.45rem;line-height:1.1;
  letter-spacing:-.015em;display:block}
.brand .bs{display:block;font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;
  color:var(--ink-2);margin-top:.1rem}
.mast-actions{display:flex;gap:.5rem;align-items:center;margin-inline-start:auto}

.seg-lang{display:inline-flex;border:1px solid var(--line-2);border-radius:var(--r-pill);
  padding:2px;background:var(--paper)}
.seg-lang a,.seg-lang span{font-size:.72rem;font-weight:700;letter-spacing:.1em;
  text-transform:uppercase;padding:.3rem .65rem;border-radius:var(--r-pill);
  color:var(--ink-2);text-decoration:none;line-height:1.4}
.seg-lang a:hover{color:var(--brand);text-decoration:none;background:var(--band)}
.seg-lang [aria-current="true"]{background:var(--brand);color:#fff}

.btn-plain{font:inherit;font-family:var(--sans);font-size:.82rem;font-weight:600;
  background:var(--paper);color:var(--ink);border:1px solid var(--line-2);
  padding:.42rem .75rem;border-radius:var(--r-pill);cursor:pointer;text-decoration:none;
  display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.btn-plain:hover{border-color:var(--brand);color:var(--brand);text-decoration:none}
.btn-plain[aria-expanded="true"],.btn-plain[aria-pressed="true"]{background:var(--brand);color:#fff;border-color:var(--brand)}

.nav{background:var(--cream);border-bottom:1px solid var(--line)}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap}
.nav li{max-width:none}
.nav a{display:block;color:var(--ink-2);text-decoration:none;padding:.6rem .85rem;
  font-size:.9rem;font-weight:500;border-bottom:2px solid transparent}
.nav a:hover{color:var(--brand);border-bottom-color:var(--line-2);text-decoration:none}
.nav a[aria-current="page"]{color:var(--brand);border-bottom-color:var(--accent);font-weight:600}
@media (max-width:52rem){
  .masthead .wrap{flex-wrap:wrap;gap:.6rem}
  .mast-signin{order:2;flex:1 1 100%}
  .mast-signin a{flex:1 1 auto;justify-content:center}
  .brand{flex:1 1 auto}
  .mast-actions{flex-wrap:wrap}
  .nav{max-height:0;overflow:hidden;border-bottom:0}
  .nav[data-open="true"]{max-height:none;border-bottom:1px solid var(--line)}
  .nav ul{flex-direction:column}
  .nav a{border-bottom:1px solid var(--line);border-left:3px solid transparent;padding:.7rem .2rem}
  .nav a[aria-current="page"]{border-left-color:var(--accent);border-bottom-color:var(--line)}
  .no-js .nav{max-height:none}
}
@media (min-width:52.001rem){ .nav-toggle{display:none} }

.prefs{background:var(--band);border-bottom:1px solid var(--line)}
.prefs .wrap{padding:1rem 0 1.15rem}
.prefs h2{font-size:1rem;margin-bottom:.75rem}
.prefgrid{display:grid;gap:1rem 2rem;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr))}
.prefgrid fieldset{border:0;margin:0;padding:0;min-width:0}
.prefgrid legend{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;
  font-weight:600;padding:0 0 .4rem;color:var(--ink-2)}
.seg{display:flex;flex-wrap:wrap;gap:.35rem}
.seg button,.seg a{font:inherit;font-family:var(--sans);font-size:.85rem;background:var(--paper);
  border:1px solid var(--line-2);color:var(--ink);padding:.32rem .7rem;
  border-radius:var(--r-pill);cursor:pointer;text-decoration:none}
.seg button:hover,.seg a:hover{border-color:var(--brand);text-decoration:none}
.seg button[aria-pressed="true"],.seg a[aria-current="true"]{background:var(--brand);color:#fff;border-color:var(--brand)}
.pref-note{font-size:.83rem;color:var(--ink-2);margin:.8rem 0 0;max-width:44rem}

/* --------------------------------------------------------------- 6. layout */
main{display:block}
section{padding:clamp(2rem,5vw,3.5rem) 0}
section.band{background:var(--band)}
section.tight{padding-top:1.5rem}
.phead{padding:clamp(1.75rem,4vw,3rem) 0 clamp(1.25rem,3vw,2rem);border-bottom:1px solid var(--line)}
.phead .sub{font-size:1.12rem;color:var(--ink-2);max-width:46rem}
.crumbs{font-size:.78rem;letter-spacing:.06em;color:var(--ink-2);margin:0 0 1rem;max-width:none;
  text-transform:uppercase}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0}
.crumbs li{max-width:none}
.crumbs a{color:var(--ink-2)}
.crumbs a:hover{color:var(--brand)}
.crumbs li+li::before{content:"/";margin-inline-end:.35rem;color:var(--line-2)}
.grid{display:grid;gap:var(--gap)}
.g2{grid-template-columns:repeat(auto-fit,minmax(min(20rem,100%),1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr))}
@media (min-width:62rem){.g2.wide{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}}
.prose>*:last-child{margin-bottom:0}

/* ----------------------------------------------------------------- 7. hero */
.hero{background:var(--cream);padding:clamp(2rem,5vw,3.75rem) 0 clamp(2rem,5vw,3.25rem);
  border-bottom:1px solid var(--line)}
.hero .wrap{display:grid;gap:clamp(1.5rem,4vw,3rem);align-items:center}
@media (min-width:60rem){.hero .wrap{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}}
.hero h1{font-size:clamp(2.3rem,4.9vw,3.5rem);margin-bottom:.35em}
.hero h1 .accent{color:var(--accent)}
.hero p{font-size:1.15rem;color:var(--ink-2);max-width:34rem}
.hero-figure{position:relative;border-radius:var(--r-lg);overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow);background:var(--band)}
.hero-figure img{width:100%;height:auto;display:block;object-fit:cover;aspect-ratio:16/9}
/* The hero on this site is the district's wordmark, not a photograph, so it is
   set to fit whole rather than be cropped to 16/9 like a picture would be. */
.hero-figure.mark{background:var(--paper);display:flex;align-items:center;
  justify-content:center;padding:clamp(1.25rem,4vw,2.5rem)}
.hero-figure.mark img{aspect-ratio:auto;object-fit:contain;max-height:14rem}
.hero-figure figcaption{position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(transparent,rgba(13,31,61,.86));
  color:#f2f5fb;font-size:.8rem;padding:2.4rem .9rem .7rem;margin:0}
.hero-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.6rem 0 0}
.hero-facts{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;margin:1.5rem 0 0;padding:0;list-style:none}
.hero-facts li{max-width:none;display:flex;align-items:center;gap:.45rem;
  font-size:.9rem;color:var(--ink-2)}
.hero-facts svg{width:1rem;height:1rem;color:var(--green);flex:0 0 auto}

/* --------------------------------------------------------------- 8. buttons */
.btn{font:inherit;font-family:var(--sans);font-weight:600;font-size:.98rem;
  background:var(--brand);color:#fff;border:1px solid var(--brand);
  padding:.72rem 1.25rem;border-radius:var(--r);cursor:pointer;text-decoration:none;
  display:inline-flex;align-items:center;gap:.5rem;line-height:1.3}
.btn:hover{background:var(--brand-2);border-color:var(--brand-2);color:#fff;text-decoration:none}
.btn .ar{transition:transform .18s ease}
.btn:hover .ar{transform:translateX(3px)}
.btn.ghost{background:var(--paper);color:var(--brand);border-color:var(--line-2)}
.btn.ghost:hover{background:var(--band);border-color:var(--brand);color:var(--brand)}

/* ----------------------------------------------------------------- 9. cards */
.cards{list-style:none;margin:0;padding:0;display:grid;gap:var(--gap);
  grid-template-columns:repeat(auto-fit,minmax(min(19rem,100%),1fr))}
.cards li{max-width:none}
@media (min-width:64rem){.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}}
.card{display:flex;flex-direction:column;gap:.15rem;height:100%;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(1.1rem,2.4vw,1.6rem);
  color:var(--ink);text-decoration:none;position:relative}
a.card:hover{border-color:var(--line-2);box-shadow:var(--shadow);text-decoration:none}
.card .card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.card h3,.card .ct{font-family:var(--display);font-weight:600;font-size:1.22rem;
  margin:.2rem 0 .35rem;letter-spacing:-.015em;color:var(--ink);line-height:1.2}
a.card:hover .ct,a.card:hover h3{color:var(--brand)}
.card p{color:var(--ink-2);font-size:.97rem;margin:0 0 .8rem;max-width:34rem}
.card .num{font-size:.78rem;font-weight:700;letter-spacing:.1em;color:var(--accent)}
.card-foot{margin-top:auto;padding-top:.9rem;border-top:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.card-foot .meta{font-size:.8rem;color:var(--ink-2)}
.spot{display:block;width:74px;height:74px;flex:0 0 auto;border:1px solid var(--line);
  border-radius:12px;background:var(--band);padding:6px}
.spot svg{width:100%;height:100%}
.card-media{margin:.25rem 0 1.1rem;border-radius:var(--r);overflow:hidden;
  border:1px solid var(--line);background:var(--band)}
.card-media img{width:100%;aspect-ratio:16/9;object-fit:cover}

.pills{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0 0 1rem;padding:0}
.pills li{max-width:none}
.pill{display:inline-block;font-size:.78rem;color:var(--ink-2);background:var(--cream);
  border:1px solid var(--line);border-radius:var(--r-pill);padding:.2rem .6rem;line-height:1.5}

/* -------------------------------------------------------------- 10. stats */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr));
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--paper);overflow:hidden}
/* The stat strip is written as a <div> grid on some pages and a <ul> on
   others. Both shapes get the padding, and .n/.l are forced to block — as
   inline spans they ran together, so a tile read "79,715Residentes". */
.stats{list-style:none;padding:0}
.stats>div,.stats>li{padding:1.15rem 1.25rem;border-inline-end:1px solid var(--line);
  max-width:none}
.stats>div:last-child,.stats>li:last-child{border-inline-end:0}
.stats .n,.stats .l{display:block}
.stats .n{font-family:var(--display);font-size:2rem;font-weight:600;color:var(--brand);
  line-height:1.05;letter-spacing:-.02em}
.stats .l{font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-2);
  margin:.35rem 0 0}

/* --------------------------------------------------------------- 11. rows */
.rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.rows li{max-width:none;border-bottom:1px solid var(--line)}
.rows a{display:block;padding:1rem .9rem 1rem .1rem;text-decoration:none;
  border-left:3px solid transparent;color:var(--ink)}
.rows a:hover{border-left-color:var(--accent);background:var(--paper);
  padding-left:.8rem;text-decoration:none}
.rows .t{font-family:var(--display);font-weight:600;font-size:1.1rem;color:var(--ink);
  letter-spacing:-.015em}
.rows a:hover .t{color:var(--brand)}
.rows .d{color:var(--ink-2);font-size:.95rem;margin:.2rem 0 0;max-width:44rem}
.rows .m{color:var(--ink-2);font-size:.82rem;margin:.4rem 0 0;
  display:flex;flex-wrap:wrap;gap:.35rem .9rem;align-items:center}

.tiles{list-style:none;margin:0;padding:0;display:grid;gap:var(--gap);
  grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr))}
.tiles li{max-width:none}

/* --------------------------------------------------------------- 12. notes */
.note{border:1px solid var(--line);border-left:3px solid var(--accent);
  background:var(--paper);border-radius:var(--r);padding:1rem 1.15rem;margin:0 0 1.4rem}
.note>*:last-child{margin-bottom:0}
.note.warn{border-left-color:var(--red)}
.note.ok{border-left-color:var(--green)}
.note h2,.note h3{font-size:1.02rem;margin-bottom:.3rem;font-family:var(--display)}

.badge{display:inline-flex;align-items:center;gap:.3rem;font-size:.72rem;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;padding:.15rem .55rem;
  border-radius:var(--r-pill);border:1px solid currentColor;white-space:nowrap}
.badge.open{color:#15603f}
.badge.closing{color:#8a5406}
.badge.closed{color:#5c5751}
.badge.html{color:#15603f}
.badge.pdf{color:#8a5406}
.badge.scan{color:#93211f}
.badge.mock{color:var(--accent)}

dl.facts{display:grid;grid-template-columns:auto 1fr;gap:.4rem 1.1rem;margin:0 0 1.4rem;max-width:44rem}
dl.facts dt{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;
  font-weight:600;color:var(--ink-2);padding-top:.18rem}
dl.facts dd{margin:0}

table{border-collapse:collapse;width:100%;font-size:.95rem;background:var(--paper)}
.tablewrap{overflow-x:auto;margin:0 0 1.4rem;border:1px solid var(--line);border-radius:var(--r-lg)}
th,td{text-align:left;padding:.7rem .85rem;border-bottom:1px solid var(--line);vertical-align:top}
tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}
thead th{background:var(--band);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;
  white-space:nowrap;color:var(--ink-2)}
caption{text-align:left;font-size:.85rem;color:var(--ink-2);padding:.75rem .85rem}

/* ------------------------------------------------------------- 13. agenda */
.agenda{max-width:48rem;padding:0;margin:0}
.agenda>li{margin:0 0 1.2rem;max-width:none;list-style:none}
.agenda li{list-style:none}
.agenda ol{padding-left:1.7rem;margin:.65rem 0 0}
.agenda ol li+li{margin-top:.6rem}
.agenda ol li{max-width:44rem}
.agenda .num{font-family:var(--display);font-weight:700;color:var(--accent);
  display:inline-block;min-width:2.1rem}
.agenda>li>.txt{font-weight:600}
.plain{background:var(--accent-soft);border:1px solid #ecd9cf;border-radius:var(--r);
  padding:1.05rem 1.2rem;margin:0 0 1.5rem}
.plain h2{font-size:1.02rem;margin-bottom:.35rem}
.plain>*:last-child{margin-bottom:0}
html[data-plain="on"] .official-only{display:none}
html:not([data-plain="on"]) .plain-only{display:none}

/* --------------------------------------------------------------- 14. forms */
form.civic{max-width:38rem}
.field{margin:0 0 1.25rem}
.field label,.field .lbl{display:block;font-weight:600;margin-bottom:.3rem;font-size:.95rem}
.field .hint{display:block;color:var(--ink-2);font-size:.9rem;margin-bottom:.4rem;font-weight:400}
input[type=text],input[type=email],input[type=tel],input[type=search],select,textarea{
  font:inherit;font-family:var(--sans);width:100%;padding:.62rem .7rem;
  border:1px solid var(--line-2);border-radius:var(--r);background:var(--paper);color:var(--ink)}
textarea{min-height:9rem;resize:vertical}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:1px}
.field[data-invalid] input,.field[data-invalid] select,.field[data-invalid] textarea{border-color:var(--red);border-width:2px}
.err{color:var(--red);font-weight:600;font-size:.9rem;margin:.35rem 0 0}
.errsum{border:2px solid var(--red);border-radius:var(--r);background:var(--paper);
  padding:1rem 1.15rem;margin:0 0 1.5rem}
.errsum h2{color:var(--red);font-size:1.05rem}
.errsum ul{margin:0;padding-left:1.2rem}
.radios{display:grid;gap:.45rem}
.radios label{display:flex;gap:.55rem;align-items:flex-start;font-weight:400}
.radios input{margin-top:.35rem}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.filters{display:flex;flex-wrap:wrap;gap:.75rem 1rem;align-items:flex-end;margin:0 0 1.5rem;
  padding:1rem;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg)}
.filters .field{margin:0;min-width:12rem}
.filters .field label{font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2)}
.count{font-size:.88rem;color:var(--ink-2);margin:0 0 1rem}

/* --------------------------------------------------------------- 15. media */
figure.photo{margin:1.5rem 0;border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;background:var(--band)}
figure.photo img{width:100%}
figure.photo figcaption{font-size:.85rem;color:var(--ink-2);padding:.7rem .9rem;background:var(--paper)}
.band-photo{margin:1.5rem 0;position:relative;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--line)}
.band-photo img{width:100%;aspect-ratio:21/9;object-fit:cover}
.landform{display:block;width:100%;height:auto;color:var(--band)}

/* --------------------------------------------------------------- 16. footer */
footer.site{background:var(--brand-2);color:#dbe3f2;padding:clamp(2.25rem,5vw,3.25rem) 0 1.5rem;
  margin-top:3.5rem}
footer.site a{color:#cddcf7}
footer.site a:hover{color:#fff}
footer.site h2{color:#fff;font-family:var(--sans);font-size:.74rem;letter-spacing:.13em;
  text-transform:uppercase;margin-bottom:.85rem;font-weight:600}
footer.site ul{list-style:none;margin:0;padding:0}
footer.site li{margin-bottom:.45rem;max-width:none;font-size:.94rem}
footer.site .fgrid{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(13rem,100%),1fr))}
footer.site address{font-style:normal;color:#c3cfe8;line-height:1.75;font-size:.94rem}
.foot-bottom{border-top:1px solid #23406e;margin-top:2.25rem;padding-top:1.25rem;
  display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;font-size:.86rem;color:#aebbd6}
.foot-bottom p{margin:0;max-width:none}
.foot-bottom .credit{flex:1 1 100%;color:#c9d5ec}
.foot-bottom .credit a{font-weight:600}

@media (prefers-reduced-motion:no-preference){
  html:not([data-motion="less"]){scroll-behavior:smooth}
}
html[data-motion="less"] *,html[data-motion="less"] *::before{transition:none!important;animation:none!important}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
@media (prefers-contrast:more){
  :root{--ink:#000;--ink-2:#26241f;--line:#8c8477;--line-2:#000;--brand:#0c1f3f;--accent:#7d2d17}
}
@media print{
  .demo,.live,.nav,.prefs,.mast-actions,footer.site,.hero-figure{display:none}
  body{font-size:11pt;background:#fff}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt;word-break:break-all}
}

/* -------------------------------------------------------- 17. mock screens
   A demonstration screen is drawn in the page's own HTML, not screenshotted:
   it reads on a phone, it works in a screen reader, and it cannot go blurry. */
.screen{border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;
  background:var(--paper);margin:0 0 1.5rem}
.screen-bar{display:flex;align-items:center;gap:.6rem;padding:.6rem .9rem;
  background:var(--brand);color:#fff;flex-wrap:wrap}
.screen-bar .dot{width:9px;height:9px;border-radius:50%;background:#ffffff40;flex:0 0 auto}
.screen-bar .nm{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.screen-bar .tag{margin-inline-start:auto;font-size:.7rem;letter-spacing:.1em;
  text-transform:uppercase;background:#ffffff26;padding:.16rem .55rem;border-radius:var(--r-pill)}
.screen-tools{display:flex;flex-wrap:wrap;gap:.4rem;padding:.7rem .9rem;background:var(--band);
  border-bottom:1px solid var(--line)}
.screen-tools span{font-size:.78rem;border:1px solid var(--line-2);background:var(--paper);
  border-radius:var(--r-pill);padding:.15rem .6rem;color:var(--ink-2)}
.screen-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(9rem,100%),1fr));
  border-bottom:1px solid var(--line)}
.screen-stats>div{padding:.85rem .9rem;border-inline-end:1px solid var(--line)}
.screen-stats>div:last-child{border-inline-end:0}
.screen-stats .n{font-family:var(--display);font-size:1.45rem;font-weight:600;color:var(--brand);
  line-height:1.1}
.screen-stats .l{font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-2);margin-top:.2rem}
.screen table{font-size:.9rem}
.screen thead th{background:var(--paper);border-bottom:1px solid var(--line)}
.screen .tablewrap{border:0;border-radius:0;margin:0}
.chip{display:inline-block;font-size:.75rem;font-weight:600;padding:.1rem .55rem;
  border-radius:var(--r-pill);border:1px solid currentColor;white-space:nowrap}
.chip.ok{color:#15603f}.chip.warn{color:#8a5406}.chip.bad{color:#93211f}.chip.plain{color:var(--ink-2)}
.screen-note{padding:.85rem .95rem;border-top:1px solid var(--line);background:var(--band);
  font-size:.9rem;color:var(--ink-2);margin:0}
.screen-note p{margin:0;max-width:none}

/* ---------------------------------------------------------- 18. people */
.people{list-style:none;margin:0;padding:0;display:grid;gap:var(--gap);
  grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr))}
.people li{max-width:none}
.person{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;height:100%;display:flex;flex-direction:column}
.person img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--band);
  border-bottom:1px solid var(--line)}
.person .who{padding:.8rem .9rem 1rem}
.person .nm{font-family:var(--display);font-weight:600;font-size:1.02rem;line-height:1.25;
  letter-spacing:-.01em}
.person .rl{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--accent);
  margin:.3rem 0 0;font-weight:600}
.person .noimg{aspect-ratio:4/5;background:var(--band);display:grid;place-items:center;
  font-family:var(--display);font-size:2.4rem;color:var(--brand-3);font-weight:600;
  border-bottom:1px solid var(--line)}
.person.compact .noimg{aspect-ratio:16/6;font-size:1.5rem}

/* ------------------------------------------------------- 19. vendor table */
.vendor-swap{display:grid;gap:var(--gap)}
@media (min-width:52rem){.vendor-swap{grid-template-columns:1fr 1fr}}
.vlist{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.vlist li{max-width:none;border-bottom:1px solid var(--line);padding:.6rem 0;
  display:flex;gap:.75rem;align-items:baseline;justify-content:space-between}
.vlist .v{font-weight:600}
.vlist .w{font-size:.87rem;color:var(--ink-2);text-align:right}

/* ------------------------------------------------------- 20. hero slideshow
   A slideshow is a Level A trap unless it can be stopped (WCAG 2.2.2), so this
   one never starts moving when the reader's system asks for reduced motion,
   carries a visible pause control whenever it is moving, and works as a single
   still image with JavaScript switched off. */
.hero{padding-bottom:clamp(1.5rem,4vw,2.5rem)}
@media (min-width:60rem){.hero .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.22fr)}}
.slides{position:relative;margin:0;border-radius:var(--r-lg);overflow:hidden;
  border:1px solid var(--line);background:var(--band);box-shadow:var(--shadow)}
.slides .slide{position:relative;margin:0;display:block}
.slides .slide img{width:100%;height:auto;object-fit:cover;aspect-ratio:4/3;background:var(--band)}
@media (max-width:60rem){.slides .slide img{aspect-ratio:16/10}}
.slides figcaption{position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(transparent,rgba(13,31,61,.9));
  color:#f4f7fd;font-size:.86rem;padding:3rem .95rem .8rem;margin:0}
.no-js .slides .slide:not(:first-child){display:none}
.js .slides .slide{position:absolute;inset:0}
.js .slides .slide img{height:100%;aspect-ratio:auto}
.js .slides .slide[hidden]{display:none}
.js .slides{aspect-ratio:4/3}
@media (max-width:60rem){.js .slides{aspect-ratio:16/10}}
.slide-controls{display:flex;align-items:center;gap:.4rem;margin:.7rem 0 0;flex-wrap:wrap}
.slide-btn{font:inherit;font-family:var(--sans);font-size:.8rem;font-weight:600;
  background:var(--paper);color:var(--ink);border:1px solid var(--line-2);
  width:2.1rem;height:2.1rem;border-radius:var(--r-pill);cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;padding:0}
.slide-btn:hover{border-color:var(--brand);color:var(--brand)}
.slide-btn svg{width:1rem;height:1rem}
.slide-btn.wide{width:auto;padding:0 .8rem;gap:.4rem}
.slide-dots{display:flex;gap:.35rem;margin-inline-start:.3rem}
.slide-dots button{width:24px;height:24px;padding:0;border:0;background:none;
  cursor:pointer;display:grid;place-items:center}
.slide-dots button::before{content:"";width:.62rem;height:.62rem;border-radius:50%;
  border:1px solid var(--line-2);background:var(--paper)}
.slide-dots button[aria-current="true"]::before{background:var(--brand);border-color:var(--brand)}
.slide-count{margin-inline-start:auto;font-size:.78rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--ink-2);font-variant-numeric:tabular-nums}

/* ----------------------------------------------------- 21. sign-in mock-ups
   A picture of a sign-in screen, never a working one: this is a prototype on a
   vendor's domain, and a page that asks a resident for a password would be
   phishing-shaped no matter how good the intentions. There is no password
   field on this site. */
.signin-mock{max-width:26rem;margin:0 auto;padding:1.6rem 1.5rem 1.8rem;background:var(--paper);
  border:1px solid var(--line);border-radius:var(--r-lg)}
.signin-mock img{margin:0 auto .9rem}
.signin-mock .t{font-family:var(--display);font-size:1.2rem;font-weight:600;text-align:center;
  margin:0 0 .2rem}
.signin-mock .s{font-size:.9rem;color:var(--ink-2);text-align:center;margin:0 0 1.2rem}
.signin-mock .fld{border:1px solid var(--line-2);border-radius:var(--r);padding:.6rem .7rem;
  color:var(--ink-2);font-size:.95rem;margin:0 0 .7rem;background:var(--cream)}
.signin-mock .fld small{display:block;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;
  margin-bottom:.15rem}
.signin-mock .go{background:var(--brand);color:#fff;border-radius:var(--r);padding:.65rem;
  text-align:center;font-weight:600;margin:.9rem 0 0}
.signin-mock .alt{text-align:center;font-size:.85rem;color:var(--ink-2);margin:.9rem 0 0}
.dash{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);
  border-radius:var(--r-lg);overflow:hidden;
  grid-template-columns:repeat(auto-fit,minmax(min(11rem,100%),1fr))}
.dash div{background:var(--paper);padding:.95rem 1rem}
.dash .k{font-size:.7rem;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2)}
.dash .v{font-family:var(--display);font-size:1.35rem;font-weight:600;color:var(--brand);
  line-height:1.15;margin-top:.2rem}
.dash .m{font-size:.85rem;color:var(--ink-2);margin-top:.15rem}
.compare{display:grid;gap:var(--gap)}
@media (min-width:52rem){.compare{grid-template-columns:1fr 1fr}}
.compare>div{border:1px solid var(--line);border-radius:var(--r-lg);padding:1.3rem 1.4rem;
  background:var(--paper)}
.compare>div.bad{background:var(--band)}
.compare h3{font-size:1.15rem;margin-bottom:.2rem}
.compare .n{font-family:var(--display);font-size:2.6rem;font-weight:600;line-height:1;
  color:var(--brand);margin:.2rem 0 .5rem}
.compare.bad .n,.compare>div.bad .n{color:var(--accent)}
.compare ul{list-style:none;margin:1rem 0 0;padding:0}
.compare li{max-width:none;display:flex;gap:.6rem;align-items:flex-start;
  padding:.45rem 0;border-top:1px solid var(--line);font-size:.94rem}
.compare li svg{width:1rem;height:1rem;flex:0 0 auto;margin-top:.28rem}
.compare li.no{color:var(--ink-2)}
.mast-signin{display:flex;gap:.4rem;align-items:center}
.mast-signin a{font-size:.8rem;font-weight:600;color:var(--brand);border:1px solid var(--line-2);
  background:var(--paper);border-radius:var(--r-pill);padding:.42rem .75rem;
  display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}
.mast-signin a:hover{border-color:var(--brand);background:var(--band);text-decoration:none}
.mast-signin a.key svg{width:.95rem;height:.95rem}
@media (max-width:52rem){.mast-signin{order:5}}

/* --------------------------------------------------------- 22. charts
   Colour follows the data-visualisation method: five categorical slots in a
   fixed order (never cycled), validated against this surface — worst adjacent
   CVD separation ΔE 9.1, worst normal-vision ΔE 22.9. Two slots sit under 3:1
   on white, which obliges relief, so every chart carries direct labels and a
   table view. Text never wears a series colour. */
.viz{--s1:#20518f;--s2:#eb6834;--s3:#1baf7a;--s4:#eda100;--s5:#6b4c8a;
  --grid:#e9e4d8;--axis:#cdc4b1;--muted:#6a6862;--ink:var(--ink);
  width:100%;height:auto;overflow:visible;
  font-family:var(--sans);font-variant-numeric:tabular-nums}
.viz .grid{stroke:var(--grid);stroke-width:1;shape-rendering:crispEdges}
.viz .axis{stroke:var(--axis);stroke-width:1;shape-rendering:crispEdges}
.viz .tick{fill:var(--muted);font-size:11px}
.viz .axlab{fill:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.viz .rowlab{fill:var(--ink-2);font-size:12px}
.viz .endlab{fill:var(--ink-2);font-size:12px;font-weight:600}
.viz .donut-n{fill:var(--ink);font-family:var(--display);font-size:26px;font-weight:600}
.viz .line{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.viz .dot{stroke:#fff;stroke-width:2}
.viz .fill{stroke:none;opacity:.10}
.viz .bar,.viz .seg{stroke:none}
.viz .s1{stroke:var(--s1)} .viz .s2{stroke:var(--s2)} .viz .s3{stroke:var(--s3)}
.viz .s4{stroke:var(--s4)} .viz .s5{stroke:var(--s5)}
.viz .bar.s1,.viz .seg.s1,.viz .fill.s1,.viz circle.s1{fill:var(--s1)}
.viz .bar.s2,.viz .seg.s2,.viz .fill.s2,.viz circle.s2{fill:var(--s2)}
.viz .bar.s3,.viz .seg.s3,.viz .fill.s3,.viz circle.s3{fill:var(--s3)}
.viz .bar.s4,.viz .seg.s4,.viz .fill.s4,.viz circle.s4{fill:var(--s4)}
.viz .bar.s5,.viz .seg.s5,.viz .fill.s5,.viz circle.s5{fill:var(--s5)}
.chart{margin:0;background:var(--paper);border:1px solid var(--line);
  border-radius:var(--r-lg);padding:1.1rem 1.2rem 1rem}
.chart figcaption{display:block;margin:0 0 .9rem}
.chart .ct{display:block;font-family:var(--display);font-weight:600;font-size:1.08rem;
  letter-spacing:-.012em}
.chart .cs{display:block;font-size:.9rem;color:var(--ink-2);margin-top:.15rem;max-width:44rem}
.legend{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;margin:0 0 .7rem;padding:0}
.legend li{max-width:none;display:flex;align-items:center;gap:.4rem;font-size:.85rem;
  color:var(--ink-2)}
.legend .key{width:.85rem;height:.6rem;border-radius:2px;flex:0 0 auto}
.legend .key.s1{background:#20518f}.legend .key.s2{background:#eb6834}
.legend .key.s3{background:#1baf7a}.legend .key.s4{background:#eda100}
.legend .key.s5{background:#6b4c8a}
.legend-note{display:block;font-size:.83rem;color:var(--ink-2);margin:0 0 .7rem}
.chart-table{margin:.8rem 0 0;border-top:1px solid var(--line);padding-top:.6rem}
.chart-table summary{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink-2);cursor:pointer;font-weight:600}
.chart-table summary:hover{color:var(--brand)}
.chart-table .tablewrap{margin:.8rem 0 0}
.chart-table table{font-size:.85rem}
.spark{width:104px;height:30px;overflow:visible}
.spark .line{fill:none;stroke-width:2}
.spark .dot{stroke:#fff;stroke-width:1.5}
.spark path.line{fill:none;stroke:#20518f}
.spark circle.dot{fill:#20518f;stroke:#fff}
.meter{width:100%;max-width:9rem;height:8px}
.meter .track{fill:#e6ecf5}
.meter .fill.ok{fill:#0ca30c}.meter .fill.warn{fill:#fab219}
.meter .fill.bad{fill:#d03b3b}.meter .fill.brand{fill:#20518f}
.charts{display:grid;gap:var(--gap);grid-template-columns:repeat(auto-fit,minmax(min(20rem,100%),1fr))}
.charts .chart.wide{grid-column:1/-1}
@media (min-width:64rem){.charts.half .chart.wide{grid-column:auto}}

/* ------------------------------------------------------- 23. dashboards */
.asof{font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2);
  margin:0 0 1.2rem}
.alerts{list-style:none;margin:0 0 .5rem;padding:0;display:grid;gap:.9rem}
.alert{max-width:none;background:var(--paper);border:1px solid var(--line);
  border-left:4px solid var(--line-2);border-radius:var(--r);padding:1rem 1.15rem}
.alert.a-bad{border-left-color:#d03b3b}
.alert.a-warn{border-left-color:#c8890f}
.alert .ah{font-family:var(--display);font-weight:600;font-size:1.05rem;margin:0 0 .3rem;
  max-width:52rem}
.alert .ab{font-size:.95rem;color:var(--ink-2);margin:0 0 .7rem;max-width:52rem}
.alert .aa{margin:0;display:flex;flex-wrap:wrap;gap:.4rem;max-width:none}
.alert .act{font-size:.8rem;font-weight:600;border:1px solid var(--line-2);
  border-radius:var(--r-pill);padding:.25rem .7rem;color:var(--brand);background:var(--cream)}
.tiles-kpi{list-style:none;margin:0;padding:0;display:grid;gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;
  grid-template-columns:repeat(auto-fit,minmax(min(15rem,100%),1fr))}
.tile{max-width:none;background:var(--paper);padding:1rem 1.1rem 1.1rem;display:flex;
  flex-direction:column;gap:.15rem}
.tile .tl{font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2);
  margin:0;max-width:none}
.tile .tv{font-family:var(--display);font-size:2rem;font-weight:600;line-height:1.05;
  margin:.15rem 0 .35rem;color:var(--ink);letter-spacing:-.02em}
.tile .ts{font-size:.85rem;color:var(--ink-2);margin:.5rem 0 0;max-width:none}
.tile .tstate{font-size:.75rem;font-weight:600;color:var(--ink-2);margin:.7rem 0 0;
  display:flex;align-items:center;gap:.4rem;max-width:none}
.dotstate{display:inline-block;width:10px;height:10px;min-width:10px;max-width:10px;
  border-radius:50%;flex:0 0 10px;background:var(--ink-2)}
.dotstate.ok{background:#0ca30c}.dotstate.warn{background:#c8890f}
.dotstate.bad{background:#d03b3b}.dotstate.plain{background:#8b8578;border-radius:2px;width:10px;height:10px}
.tile.t-bad .tv{color:#93211f}
.tile .spark{margin:.2rem 0 0}
.tile .meter{margin:.35rem 0 0}
.paybox{display:flex;flex-wrap:wrap;gap:1.2rem;align-items:center;justify-content:space-between;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);
  padding:1.3rem 1.4rem;margin:0 0 .6rem}
.paybox .pl{font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2);margin:0}
.paybox .pv{font-family:var(--display);font-size:2.6rem;font-weight:600;line-height:1;
  margin:.2rem 0 .3rem}
.paybox .pd{margin:0;color:var(--ink-2)}
.paybox .pact{display:flex;flex-wrap:wrap;gap:.6rem}
.paybox .pact .btn{cursor:default}
@media (max-width:40rem){.paybox .pact{width:100%}.paybox .pact .btn{flex:1 1 100%;justify-content:center}}

/* ------------------------------------------------- 24. agendas and votes */
.agenda-full{list-style:none;margin:0;padding:0;counter-reset:none}
.ag-item{max-width:none;border-top:1px solid var(--line);padding:1.75rem 0 .5rem}
.ag-item h3{font-size:1.28rem;margin:0 0 .8rem;max-width:48rem;display:flex;gap:.7rem;
  align-items:baseline}
.ag-item .inum{font-family:var(--display);color:var(--accent);font-weight:700;
  flex:0 0 auto;font-size:1.05rem}
.ag-item h4{font-size:.95rem;margin:1.3rem 0 .5rem;letter-spacing:.02em}
.ag-interlude{max-width:none;border-top:1px solid var(--line);padding:1rem 0;
  text-align:center;color:var(--ink-2);font-style:italic}
.ag-interlude p{max-width:none;margin:0}
.ag-item .prov{font-size:.88rem;color:var(--ink-2);border-left:3px solid var(--line-2);
  padding-left:.9rem;max-width:46rem}
.motion{border:1px solid var(--line);border-radius:var(--r);background:var(--paper);
  padding:1.05rem 1.15rem;margin:1.1rem 0}
.motion .mk{font-size:.74rem;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2);
  margin:0 0 .5rem;font-weight:600;max-width:none}
.motion .mdisp.carried{color:#15603f}
.motion .mdisp.failed{color:#93211f}
.motion blockquote{margin:0 0 .7rem;padding-left:.9rem;border-left:3px solid var(--accent);
  font-size:1rem;max-width:46rem}
.motion .mby{font-size:.9rem;color:var(--ink-2);margin:0 0 .9rem;max-width:none}
.votekind{margin:.9rem 0 .5rem;max-width:none;font-size:.85rem}
table.votes{font-variant-numeric:tabular-nums}
table.votes caption{font-weight:600;color:var(--ink);padding:.75rem .85rem .5rem}
table.votes tfoot th,table.votes tfoot td{background:var(--band);font-weight:700;border-top:2px solid var(--line-2)}
table.votes td.v-no{font-weight:700}
table.votes td.v-yes{font-weight:600}
table.votes td.v-recused,table.votes td.v-absent,table.votes td.v-abstain{color:var(--ink-2);font-style:italic}
table.votes sup a{margin-left:.15rem}
.votenote{font-size:.88rem;color:var(--ink-2);margin:.6rem 0 0;max-width:46rem}
.speakers{list-style:none;margin:0 0 1rem;padding:0}
.speakers li{max-width:46rem;border-left:3px solid var(--line-2);padding:.5rem 0 .5rem .9rem;
  margin-bottom:.6rem;font-size:.95rem}
.statement{background:var(--band);border-radius:var(--r);padding:1rem 1.15rem;margin:1.1rem 0}
.statement .sw{font-size:.74rem;letter-spacing:.11em;text-transform:uppercase;color:var(--ink-2);
  margin:0 0 .4rem;font-weight:600;max-width:none}
.statement blockquote{margin:0 0 .6rem;font-size:1.05rem;max-width:44rem}
.statement .trans{font-size:.92rem;color:var(--ink-2);margin:0;max-width:44rem}
.statement .tl{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.action{background:var(--accent-soft);border:1px solid #ecd9cf;border-radius:var(--r);
  padding:.8rem 1rem;margin:1rem 0 0;max-width:48rem}
.followup{border-left:3px solid var(--green);padding:.6rem 0 .6rem .9rem;margin:1rem 0 0}
.followup p{margin:0;max-width:46rem;font-size:.95rem}
blockquote.cert{border-left:3px solid var(--line-2);padding-left:1rem;margin:0 0 1.5rem;
  font-size:.95rem;color:var(--ink-2);max-width:46rem}

/* ------------------------------------------------------------- fleet map
   One page draws a map. The markers carry their state in shape as well as
   colour — an arrow for moving, a ring for no signal — so the map survives
   colour-blindness and a greyscale print, and every unit is in the table
   underneath regardless. */
.mapstrip{border:1px solid var(--line);border-radius:var(--r-lg) var(--r-lg) 0 0;
  border-bottom:0;background:var(--paper)}
.mapwrap{border:1px solid var(--line);border-radius:0 0 var(--r-lg) var(--r-lg);
  overflow:hidden;background:var(--band)}
.fleetmap{height:clamp(20rem,58vh,34rem);width:100%}
.fleetmap:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
.mapnote{font-size:.83rem;color:var(--ink-2);margin:.6rem 0 0;max-width:46rem}
.maplegend{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem 1.1rem;
  margin:.8rem 0 0;padding:0}
.maplegend li{max-width:none;display:flex;align-items:center;gap:.42rem;
  font-size:.85rem;color:var(--ink-2)}
.lg-mk{width:.8rem;height:.8rem;border-radius:50%;flex:0 0 auto;
  border:2px solid var(--paper);box-shadow:0 0 0 1px var(--line-2)}
.lg-move{background:#146c43}
.lg-stop{background:#1b4bb8}
.lg-load{background:#8a5a00}
.lg-depot{background:#565c66;border-radius:2px}
.lg-dead{background:var(--paper);box-shadow:0 0 0 2px #a0201f}
.lg-campus{background:#c01b00;border-radius:2px;transform:rotate(45deg)}

/* the markers themselves, inside the GL canvas */
.mk{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:2px;cursor:pointer;background:none;border:0;padding:0;
  min-width:24px;min-height:24px}
.mk:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
/* downtown genuinely is this crowded — six units inside four blocks. Whichever
   marker the reader is pointing at comes to the front rather than staying
   buried under its neighbour. */
.mk:hover,.mk:focus-within{z-index:5}
.mk-dot{width:14px;height:14px;border-radius:50%;border:2px solid #fff;
  box-shadow:0 1px 3px rgba(0,0,0,.45)}
.mk-lab{font-family:var(--sans);font-size:.68rem;font-weight:700;color:var(--ink);
  background:#fffffff2;border:1px solid var(--line-2);border-radius:var(--r-pill);
  padding:0 .34rem;white-space:nowrap;line-height:1.5}
.mk-moving .mk-dot{background:#146c43}
.mk-atstop .mk-dot{background:#1b4bb8}
.mk-loading .mk-dot{background:#8a5a00}
.mk-depot .mk-dot{background:#565c66;border-radius:3px}
.mk-nosignal .mk-dot{background:#fff;border-color:#a0201f;border-width:3px;
  border-style:dashed}
.mk-campus .mk-dot{background:#c01b00;border-radius:3px;transform:rotate(45deg);
  width:12px;height:12px}
.mk-campus .mk-lab{font-weight:600;color:var(--ink-2)}
/* a moving unit points where it is going */
.mk-arrow{border-radius:2px 50% 50% 50%}
.maplibregl-popup-content{font-family:var(--sans);font-size:.85rem;line-height:1.45;
  white-space:pre-line;border-radius:var(--r);color:var(--ink)}
@media print{.fleetmap{display:none}}

/* ------------------------------------------------- the parent's app screen
   The phone is drawn, not screenshotted, so it scales and prints. It is capped
   so it never grows past a real handset on a wide monitor. */
.phone{width:100%;max-width:372px;height:auto;display:block;margin:0 auto;
  filter:drop-shadow(0 18px 40px rgba(16,24,48,.22))}
.phones{display:grid;gap:var(--gap);grid-template-columns:1fr;
  justify-items:center;margin:0 0 1.5rem}
@media (min-width:52rem){.phones.two{grid-template-columns:1fr 1fr}}
.phone-cap{font-size:.85rem;color:var(--ink-2);text-align:center;margin:.7rem 0 0;
  max-width:26rem}

/* -------------------------------------------------------------- hero
   One of the city's own photographs, in this site's theme. There is no video
   here and nothing autoplays, so there is nothing a reader has to stop: the
   whole of WCAG 2.2.2 is satisfied by not doing the thing. The text sits on a
   solid scrim rather than on the picture, so its contrast is a fixed number
   rather than whatever happens to be behind it. */
.vhero{position:relative;overflow:hidden;background:var(--brand-2);isolation:isolate}
.vhero .vposter{position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;z-index:-2;filter:saturate(1.24) contrast(1.06) brightness(1.14)}
.vhero::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg,rgba(12,20,44,.93) 0%,rgba(12,20,44,.86) 34%,
    rgba(12,20,44,.44) 62%,rgba(12,20,44,.10) 100%)}
/* a warm lift along the bottom edge, so the frame ends on the seal's own
   colour rather than fading out */
.vhero::before{content:"";position:absolute;left:0;right:0;bottom:0;height:38%;
  z-index:-1;background:linear-gradient(to top,rgba(219,1,28,.14),transparent)}
.vhero .wrap{position:relative;padding-top:clamp(2.5rem,6vw,4.5rem);
  padding-bottom:clamp(2.5rem,6vw,4.5rem)}
.vhero .eyebrow{color:#ffd0a8}
.vhero h1{color:#fff;font-size:clamp(2.2rem,4.7vw,3.4rem);margin-bottom:.35em;max-width:18ch}
.vhero p.lead{color:#e6ecf8;max-width:42ch}
.vhero .hero-facts li{color:#e6ecf8}
.vhero .hero-facts svg{color:#ffd0a8}
.vhero .btn.ghost{background:transparent;color:#fff;border-color:#ffffff8c}
.vhero .btn.ghost:hover{background:#ffffff1a;border-color:#fff;color:#fff}
@media print{.vhero::after{background:none}
  .vhero h1,.vhero p.lead{color:#000}}

/* the gold rule the seal earns */
.goldrule{height:4px;background:var(--accent-bright);border:0;margin:0}

/* .muted is an ink-2 grey chosen against the light page. The footer is dark,
   where that same grey lands at 2.2:1 — so it is restated here rather than
   inherited. Caught by axe-core on the built pages, not by the structural
   audit, which is the reason both checks exist. */
footer.site .muted{color:#c3cfe8}

/* --------------------------------------------------------- more of the gold
   The seal is navy and gold. Used only as a hairline the gold disappears, and
   the site reads as a generic navy template — so it carries section headings,
   card edges on hover, and the eyebrow rule. Every one of these is decoration
   over a token pair already checked in tools/contrast.py. */
.tight h2::after,.band h2::after{content:"";display:block;width:2.75rem;height:4px;
  border-radius:2px;background:var(--accent-bright);margin:.55rem 0 0}
.phead h1::after{content:"";display:block;width:3.5rem;height:5px;border-radius:2.5px;
  background:var(--accent-bright);margin:.7rem 0 0}
.eyebrow::before{background:var(--accent-bright)}
.card{border-top:3px solid transparent;transition:border-color .12s,transform .12s}
.card:hover{border-top-color:var(--accent-bright)}
.stats .n{color:var(--brand)}
.stats>div,.stats>li{border-top:3px solid var(--accent-bright)}
.vhero .hero-facts svg{color:#ffd970}
.alert.a-bad{border-left-color:var(--red)}
.alert.a-warn{border-left-color:var(--accent-bright)}
.goldrule{height:5px}
