/* VOICE   Fired-up, local, plain-spoken. Short sentences, real places, real times.
   IDEA    The Blue Water Bridge: navy steel, a red elephant on top, a truss band tying every section together.
   PICTURE The bridge-and-elephant flag on white beside the tagline; truss bands at every edge.
   COLOUR  Navy #041E42 dominant, white support, red #D21033 as the one hot accent. Fixed brand look.
   TYPE    Barlow Condensed 800 caps for headlines, Public Sans for reading. Self-hosted, no third parties. */

@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("../fonts/public-sans-700.woff2") format("woff2"); }

:root {
  --navy: #041e42;
  --navy-2: #0b2a55;
  --red: #d21033;
  --red-dark: #a50c27;
  --white: #ffffff;
  --mist: #eef1f5;
  --steel-300: #c3ccd8;
  --steel-600: #5b6b82;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --truss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 48' width='96' height='48'%3E%3Cpath fill='%23000' fill-rule='evenodd' d='M0.00 7.00L0.00 0.00L96.00 0.00L96.00 7.00L59.95 7.00L93.95 41.00L96.00 41.00L96.00 48.00L0.00 48.00L0.00 41.00L2.05 41.00L36.05 7.00ZM84.05 41.00L50.05 7.00L45.95 7.00L11.95 41.00Z'/%3E%3C/svg%3E");
  color-scheme: light;
}
html { font-size: clamp(1rem, calc(1rem + (100vw - 90rem) * 0.0054), 1.5rem); }
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1.125rem/1.6 var(--body); overflow-x: clip; }
h1, h2, h3, p, ul, ol { margin: 0; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .on-red :focus-visible { outline-color: var(--white); }
::selection { background: var(--red); color: var(--white); }

.wrap { max-width: 84rem; margin-inline: auto; padding-inline: max(1.25rem, env(safe-area-inset-left, 0px)) max(1.25rem, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-inline: 2.5rem; } }
.skip { position: absolute; left: 0.75rem; top: 0; transform: translateY(-120%); z-index: 10; padding: 0.625rem 1rem; background: var(--red); color: var(--white); font-weight: 700; }
.skip:focus { top: 0.75rem; transform: none; }

/* Type */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; }
h1.display { font-size: clamp(3.25rem, 9vw, 6.75rem); }
h2.display { font-size: clamp(2.5rem, 6vw, 4.5rem); text-wrap: balance; }
h3 { font-family: var(--display); font-weight: 800; font-size: 1.875rem; line-height: 1; text-transform: uppercase; }
.lead { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); line-height: 1.55; max-width: 38em; }
.muted { color: var(--steel-600); }
.on-dark .muted { color: var(--steel-300); }
.small { font-size: 0.9375rem; line-height: 1.5; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.125rem; padding: 0 1.5rem; border: 0; background: var(--red); color: var(--white); font: 700 1.375rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--red-dark); color: var(--white); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: var(--navy-2); }

/* Truss band: the bridge, tiled */
.truss { display: block; height: 1.5rem; background: var(--navy); -webkit-mask: var(--truss) left center / 3rem 1.5rem repeat-x; mask: var(--truss) left center / 3rem 1.5rem repeat-x; }
.truss--white { background: var(--white); }
.truss--red { background: var(--red); }

/* Header */
.site-head { background: var(--white); border-bottom: 1px solid var(--steel-300); }
.site-head__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.625rem 1.75rem; padding-block: 0.875rem; }
.brand { display: block; width: clamp(13.75rem, 30vw, 18.75rem); }
.nav { display: flex; align-items: center; gap: 0.25rem 1.375rem; font-weight: 700; font-size: 1.0625rem; }
.nav > * { flex: none; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; white-space: nowrap; }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--red); }
.nav .btn { min-height: 2.75rem; padding: 0 1.125rem; font-size: 1.25rem; }
.nav .btn[aria-current="page"], .head-cta[aria-current="page"] { box-shadow: none; background: var(--navy); }
.head-cta { display: none; min-height: 2.75rem; padding: 0 1rem; font-size: 1.1875rem; }
@media (max-width: 899px) {
  .site-head__in { padding-bottom: 0; }
  .nav { width: calc(100% + 2.5rem); margin-inline: -20px; padding: 0.25rem 1.25rem 0.5rem; overflow-x: auto; scrollbar-width: none; gap: 0.25rem 1.125rem; }
  .nav::-webkit-scrollbar { display: none; }
  .nav .btn { display: none; }
  .site-head__in { column-gap: 0.75rem; }
  .head-cta { display: inline-flex; padding: 0 0.75rem; font-size: 1.0625rem; }
  .brand { width: min(13.125rem, 54vw); }
}
@media (min-width: 760px) and (max-width: 899px) { .nav { width: calc(100% + 5rem); margin-inline: -40px; padding-inline: 2.5rem; } }

/* Home hero: the tagline in the same navy band the other pages use */
h1.tag { font-size: clamp(3.5rem, 11vw, 7.5rem); }
.tag span { display: block; width: fit-content; }
.tag .tag__red { margin: 0.07em 0 0 -0.14em; padding: 0.09em 0.14em 0.03em; background: var(--red); animation: wipe 0.55s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .tag .tag__red { animation: none; } }
@media (min-width: 600px) { .tag span { white-space: nowrap; } }
.page-head__in.hero__in { gap: 1.5rem; }

/* Interior page head */
.page-head { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.page-head::before { content: ""; position: absolute; left: 0; right: -4%; bottom: 1.5rem; height: min(21.6vw, 23.8rem); background: url("../img/logo-mark-bg.svg") right bottom / auto 100% no-repeat; pointer-events: none; }
@media (max-width: 899px) { .page-head::before { right: -12%; height: 40vw; } }
.page-head__in, .page-head .truss { position: relative; }
.page-head__in { display: grid; gap: 1.25rem; padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 .red { display: block; width: fit-content; max-width: calc(100% + 0.14em); margin: 0.07em 0 0 -0.14em; padding: 0.09em 0.14em 0.03em; background: var(--red); color: var(--white); }

/* Bands */
.band { padding-block: clamp(3rem, 7vw, 6rem); }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy); color: var(--white); }
.band--red { background: var(--red); color: var(--white); }
.band__head { display: grid; gap: 0.875rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }

/* What we do */
.do-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.625rem), 1fr)); gap: 1rem; }
.do { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.75rem 1.5rem 1.5rem; background: var(--white); color: var(--navy); text-decoration: none; transition: background-color .15s, color .15s; }
.do p { flex: 1; }
.do__icon { width: 3.5rem; height: 3.5rem; display: grid; place-items: center; background: var(--navy); color: var(--white); transition: background-color .15s; }
.do__icon svg { width: 2rem; height: 2rem; }
.do h3 { margin-top: 0.5rem; font-size: 2rem; }
.do__more { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a.do:hover { background: var(--navy); color: var(--white); }
a.do:hover .do__icon { background: var(--red); }
@media (prefers-reduced-motion: reduce) { .do, .do__icon { transition: none; } }

/* Meetings */
.meets { display: grid; gap: 0; }
.meet { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.25rem; padding-block: 1.375rem; border-top: 2px solid var(--steel-300); }
.on-dark .meet { border-top-color: rgba(195, 204, 216, 0.35); }
.meet:last-child { border-bottom: 2px solid var(--steel-300); }
.on-dark .meet:last-child { border-bottom-color: rgba(195, 204, 216, 0.35); }
.date { display: grid; align-content: center; justify-items: center; min-height: 6rem; padding: 0.625rem 0; background: var(--red); color: var(--white); font-family: var(--display); font-weight: 800; line-height: 1; text-transform: uppercase; text-align: center; }
.date__dow { font-size: 1.25rem; letter-spacing: 0.06em; }
.date__day { font-size: 2.875rem; }
.date__mon { font-size: 1.125rem; letter-spacing: 0.06em; }
.date--rule .date__day { font-size: 1.875rem; }
.date { align-self: start; }
.meet__body { display: grid; gap: 0.375rem; align-content: center; }
.meet__when { font-weight: 700; font-size: 1.125rem; }
.meet__next { font-weight: 700; color: var(--red); }
.on-dark .meet__next { color: var(--white); }
.meet__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-weight: 700; font-size: 1rem; }
.meet__links a { display: inline-flex; align-items: center; min-height: 2.5rem; }
.meet--card { grid-template-columns: 7.5rem minmax(0, 1fr); }
.meet--card .date { min-height: 7.5rem; }
@media (max-width: 520px) {
  .meet, .meet--card { grid-template-columns: 4.75rem minmax(0, 1fr); gap: 0.875rem; }
  .date, .meet--card .date { min-height: 5.25rem; }
  .date__day { font-size: 2.375rem; }
}
.note { margin-top: 1.25rem; max-width: 48em; }

/* Tips */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr)); gap: 1.75rem 2rem; counter-reset: tip; list-style: none; padding: 0; }
.tips li { display: grid; gap: 0.375rem; align-content: start; padding-top: 0.875rem; border-top: 0.375rem solid var(--navy); }
.tips h3 { font-size: 1.625rem; }

/* Ways to get involved */

/* Email block */
.mailbox { display: grid; gap: 1rem; }
.mailbox__addr { font: 800 clamp(1.875rem, 6vw, 3.75rem)/1 var(--display); letter-spacing: 0.01em; overflow-wrap: anywhere; }
.mailbox__addr a { text-decoration: none; }
.mailbox__addr a:hover { color: inherit; text-decoration: underline; }
.copied { font-weight: 700; min-height: 1.6em; }
.aside .mailbox__addr { font-size: clamp(1.625rem, 2.5vw, 2.125rem); }

/* Prose pages */
.prose { display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); max-width: 47.5rem; }
.prose section { display: grid; gap: 0.75rem; }
.prose h2 { font-size: clamp(2.125rem, 4.6vw, 3.25rem); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; } }
.aside { display: grid; gap: 1rem; padding: 1.75rem; background: var(--navy); color: var(--white); }
.aside img { background: var(--white); }

/* Contact list */
.channels { display: grid; gap: 0; list-style: none; padding: 0; }
.channels li { display: grid; grid-template-columns: 8.75rem minmax(0, 1fr); gap: 0.5rem 1.25rem; padding-block: 1.125rem; border-top: 2px solid var(--steel-300); }
.channels li:last-child { border-bottom: 2px solid var(--steel-300); }
.channels .k { font: 800 1.5rem/1.2 var(--display); text-transform: uppercase; }
.channels .v { font-size: 1.1875rem; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 520px) { .channels li { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-foot { background: var(--navy); color: var(--white); }
.site-foot .truss { background: var(--white); }
.site-foot__in { display: grid; gap: 2rem; padding-block: 2.75rem 1.75rem; }
@media (min-width: 900px) { .site-foot__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-foot .brand { width: min(20rem, 100%); }
.foot-col { display: grid; gap: 0.5rem; align-content: start; }
.foot-col h2 { font: 800 1.25rem/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel-300); margin-bottom: 0.25rem; }
.foot-col a { display: inline-flex; min-height: 2.25rem; align-items: center; text-decoration: none; font-weight: 600; width: fit-content; }
.foot-col a:hover { color: var(--white); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1.125rem 1.75rem; border-top: 1px solid rgba(195, 204, 216, 0.3); color: var(--steel-300); font-size: 0.875rem; }

/* 404 */
.lost { display: grid; gap: 1.5rem; padding-block: clamp(3.5rem, 9vw, 7.5rem); }

/* Tech Tyranny Tracker */
.tagline-small { font-size: 0.9375rem; font-weight: 700; color: var(--red-dark); }
.on-dark .tagline-small { color: var(--steel-300); }
.empty { margin-top: 0.5rem; padding: 1.375rem 1.5rem; background: var(--mist); max-width: none; }
.log { list-style: none; padding: 0; display: grid; }
.log__item { display: grid; grid-template-columns: 9.375rem minmax(0, 1fr); gap: 0.375rem 1.75rem; padding-block: 1.25rem; border-top: 2px solid var(--steel-300); }
.log__item:last-child { border-bottom: 2px solid var(--steel-300); }
.log__date { font: 800 1.5rem/1.1 var(--display); text-transform: uppercase; color: var(--red); }
.log__body { display: grid; gap: 0.375rem; }
.log__body h3 { font-size: 1.625rem; }
.log--short .log__item { grid-template-columns: 6rem minmax(0, 1fr); padding-block: 1rem; }
.log--short .log__body h3 { font-size: 1.375rem; }
@media (max-width: 600px) { .log__item, .log--short .log__item { grid-template-columns: minmax(0, 1fr); } }
.aside--red { background: var(--red); }

/* Hero: pointer to the tracker */

/* Township scoreboard */
.kicker { font: 700 1.5rem/1 var(--display); color: var(--red); text-transform: uppercase; }
.tt-intro { display: grid; gap: 0.5rem 2.5rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.tt-intro .band__head { margin-bottom: 0; }
.tt-intro h2.display { font-size: clamp(2.5rem, 5.6vw, 4.75rem); max-width: 15em; }
@media (min-width: 1000px) { .tt-intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.375rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: 1rem; font-weight: 600; }
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend b { font-weight: 800; }
.swatch { display: inline-block; width: 1.125rem; height: 1.125rem; }
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.375rem; list-style: none; padding: 0; }
@media (min-width: 520px) { .board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .board { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .board { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.tile--tip { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.tile--tip .tile__status { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a.tile--tip:hover { background: var(--navy); color: var(--white); }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 0.625rem; min-height: 6.5rem; height: 100%; padding: 0.875rem 0.875rem 0.75rem; text-decoration: none; }
.tile__name { font: 800 1.5625rem/0.95 var(--display); text-transform: uppercase; }
.tile__status { font-size: 0.875rem; font-weight: 700; line-height: 1.3; }
.tile--moratorium { background: var(--red); color: var(--white); }
.tile--rules { background: var(--navy); color: var(--white); }
.tile--working { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 3px var(--red); }
.tile--none { background: var(--mist); color: var(--steel-600); }
.swatch.tile--working { box-shadow: inset 0 0 0 3px var(--red); }
.swatch.tile--none { box-shadow: inset 0 0 0 1px var(--steel-300); }
a.tile:hover { color: var(--white); outline: 3px solid var(--navy); outline-offset: 2px; }
a.tile--working:hover { color: var(--navy); }
.board--compact .tile { min-height: 5.25rem; }
.board--compact .tile__name { font-size: 1.3125rem; }
@media (max-width: 520px) { .tile__name { font-size: 1.3125rem; } .tile, .board--compact .tile { min-height: 5rem; padding: 0.75rem 0.75rem 0.625rem; } }
.latest { margin-top: 1.125rem; max-width: 60em; }
.latest a { font-weight: 700; white-space: nowrap; }
.band--mist .tile--none { background: var(--white); }
.band--mist .empty { background: var(--white); }
.band--mist .log__item { border-color: var(--steel-300); }
@media (max-width: 519px) { .board--compact .is-none, .board--compact .is-tip { display: none; } }

/* Scoreboard key: what each color means */
.key { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.875rem 1.75rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: 1rem; line-height: 1.45; }
@media (min-width: 700px) { .key { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .key { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.key li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.key .swatch { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; }
.key b { font-weight: 800; font-size: 1.0625rem; }
.tile__status { font-size: 0.9375rem; }
a.tile .tile__status::after { content: " \2192"; }

/* Data centers / Solar fields toggle */
.tt-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1.25rem; }
.tt-top h2.display { margin: 0; }
.toggle { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.25rem; background: var(--mist); }
.band--mist .toggle { background: var(--white); }
.toggle button { min-height: 2.875rem; padding: 0 1.25rem; border: 0; background: transparent; color: var(--navy); font: 800 1.375rem/1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; cursor: pointer; }
.toggle button:hover { background: var(--white); }
.band--mist .toggle button:hover { background: var(--mist); }
.toggle button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.toggle--small { margin-top: 0.5rem; }
.toggle--small button { min-height: 2.5rem; font-size: 1.125rem; padding: 0 1rem; }
.tt-view + .tt-view { margin-top: 3rem; }
.tt-view[hidden] + .tt-view, .tt-view + .tt-view[hidden] { margin-top: 0; }
.view-h { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 0.95; text-wrap: balance; max-width: 22em; }
.tile--project { background: var(--steel-600); color: var(--white); }
a.tile--project:hover { color: var(--white); }
@media (min-width: 1100px) { .key--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* Top banner: menu in caps, same face as the Get involved button */
.nav a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0.04em; text-transform: uppercase; }
@media (max-width: 519px) { .nav { gap: 4px 0.875rem; } .nav a:not(.btn) { font-size: 1.125rem; letter-spacing: 0.02em; } }
@media (max-width: 379px) { .site-head .brand { width: 47vw; } .head-cta { padding: 0 0.625rem; font-size: 0.9375rem; } .nav a:not(.btn) { font-size: 1rem; } }

/* Footer: one line, nothing repeated */
.foot-line { padding-block: 1.25rem 1.5rem; color: var(--steel-300); font-size: 0.9375rem; }

/* About: three short facts */
.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 2.5rem; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fact { display: grid; gap: 0.5rem; align-content: start; padding-top: 1rem; border-top: 0.375rem solid var(--red); }
.fact h2 { font: 800 clamp(2rem, 3vw, 2.75rem)/1 var(--display); text-transform: uppercase; }
.fact p { font-size: 1.1875rem; line-height: 1.5; }

/* Contact: three matching cards */
.channel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 900px) { .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.channel { display: flex; flex-direction: column; gap: 0.625rem; padding: 2rem 1.75rem 1.75rem; background: var(--white); }
.channel h2 { margin-top: 0.75rem; font: 800 2.25rem/1 var(--display); text-transform: uppercase; }
.channel__handle { font: 700 clamp(1.375rem, 1.9vw, 1.75rem)/1.2 var(--display); color: var(--steel-600); overflow-wrap: anywhere; }
.channel__actions { margin-top: auto; padding-top: 1rem; }
.channel__icon { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 1rem; color: var(--white); }
.channel__icon svg { width: 2.25rem; height: 2.25rem; }
.channel__icon--mail { background: var(--red); }
.channel__icon--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.channel__icon--fb { background: #0866ff; }
.channel .btn--ghost { color: var(--navy); }
.channel .btn--ghost:hover { background: var(--navy); color: var(--white); }
.channel .copied:empty { display: none; }

/* Join request form (Get involved) */
.join { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 1000px) { .join { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; } }
.join-form { display: grid; gap: 1.5rem; padding: clamp(1.5rem, 3vw, 2.75rem); background: var(--white); border-top: 6px solid var(--red); }
.join-form h2.display { font-size: clamp(2.25rem, 4vw, 3.25rem); }
.fields { display: grid; gap: 1.25rem 1.5rem; }
@media (min-width: 700px) { .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4375rem; align-content: start; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font: 700 1.3125rem/1.1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; }
.field legend { margin-bottom: 0.625rem; }
.opt { margin-left: 0.375rem; color: var(--steel-600); font: 600 0.875rem/1 var(--body); letter-spacing: 0; text-transform: none; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.25rem; padding: 0.625rem 0.875rem; border: 2px solid var(--steel-300); border-radius: 0; background: var(--white); color: var(--navy); font: 400 1.125rem/1.4 var(--body); }
.field textarea { min-height: 8rem; resize: vertical; }
.field select { appearance: none; padding-right: 2.75rem; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M5 9l7 7 7-7' fill='none' stroke='%23041e42' stroke-width='2.5'/%3E%3C/svg%3E") right 0.875rem center / 1.25rem no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-600); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid var(--red); outline-offset: 0; }
.checks { display: grid; gap: 0.625rem 1.5rem; }
@media (min-width: 700px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; align-items: center; gap: 0.75rem; min-height: 3.25rem; padding: 0.625rem 0.875rem; border: 2px solid var(--steel-300); cursor: pointer; font: 600 1.0625rem/1.3 var(--body) !important; letter-spacing: 0 !important; text-transform: none !important; }
.check:hover { border-color: var(--steel-600); }
.check input { flex: none; width: 1.375rem; height: 1.375rem; min-height: 0; margin: 0; accent-color: var(--red); }
.check:has(input:checked) { border-color: var(--navy); background: var(--mist); }
.check:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.join-send { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding-top: 0.25rem; }
.join-send .btn { min-height: 3.5rem; padding: 0 2rem; font-size: 1.5rem; }
.join-send .btn:disabled { opacity: 0.6; cursor: progress; }
.join-send p { flex: 1 1 16rem; color: var(--steel-600); }
.notice { display: none; gap: 0.25rem; padding: 1rem 1.25rem; border-left: 6px solid; scroll-margin-top: 1.5rem; }
.notice:target, .notice.is-on { display: grid; }
.join-form.js-on .notice:target:not(.is-on) { display: none; }
.notice h3 { font-size: 1.625rem; }
.notice--ok { border-color: var(--navy); background: var(--mist); }
.notice--bad { border-color: var(--red); background: #fdecef; }
.notice a { overflow-wrap: anywhere; }
.join-next h3 { font-size: 2rem; }
.steps { display: grid; gap: 0.875rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.875rem; align-items: center; font-size: 1.1875rem; font-weight: 600; line-height: 1.35; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; background: var(--red); font: 800 1.375rem/1 var(--display); }

/* Flock board: one tile per police agency, in one row on wider screens */
@media (min-width: 760px) { .board--agencies { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
@media (max-width: 759px) { .board--agencies > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 519px) { .board--compact.board--agencies .is-tip { display: block; } }
@media (max-width: 519px) {
  .toggle:not(.toggle--small) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .toggle:not(.toggle--small) button { min-height: 3.25rem; padding: 0.375rem 0.5rem; font-size: 1.125rem; line-height: 1.05; }
}

/* What's happened: one card per place */
.lgrid { columns: 1; column-gap: 1.25rem; }
@media (min-width: 1100px) { .lgrid { columns: 2; } }
.lg { break-inside: avoid; display: grid; gap: 0.375rem; margin: 0 0 1.25rem; padding: 1.25rem 1.5rem 0.375rem; background: var(--white); border-top: 4px solid var(--navy); }
.lg__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.875rem; }
.lg__head h3 { font-size: 1.75rem; }
.lg__topics { font-size: 0.875rem; font-weight: 700; color: var(--red-dark); }
.lg__list { list-style: none; margin: 0; padding: 0; }
.lg .lg__item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.25rem; padding-block: 0.875rem; border: 0; }
.lg .lg__item:not([hidden]) ~ .lg__item { border-top: 1px solid var(--steel-300); }
.lg__meta { font-size: 0.9375rem; color: var(--steel-600); }
.lg__meta b { color: var(--navy); }
.lg__date { margin-right: 0.5rem; font: 800 1.0625rem/1 var(--display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--red); }
.lg__what { font-size: 1.0625rem; line-height: 1.5; }
.lg__src { display: flex; flex-wrap: wrap; gap: 0 1rem; font-size: 0.875rem; font-weight: 700; }
.lg .lg__item:target { background: var(--mist); box-shadow: -1.5rem 0 0 var(--mist), 1.5rem 0 0 var(--mist); }
@media (max-width: 600px) { .lg { padding-inline: 1rem; } .lg .lg__item:target { box-shadow: -1rem 0 0 var(--mist), 1rem 0 0 var(--mist); } }
@media (max-width: 519px) { .toggle--small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; } }
