/* Low Celly Times. Same layout as before, skinned to the web style sheet: night black ground, iron grey
   riveted plates, off-white type, red in the wordmark, Celly orange primary, sad blue secondary, rusty red alerts.
   Marker-style section labels, iron mugshot frames, the silhouette frame for no photo. */
:root {
  --night: #1b1c20; --night-2: #141518; --iron: #2b2e33; --iron-2: #3a3e44; --iron-3: #5c6168; --line: #0f1012;
  --off: #f2ead8; --off-2: #cfc6b2; --muted: #9a958a;
  --orange: #e8762b; --blue: #4a8fc4; --red: #b8311f; --ok: #6fae6a;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif; --cond: "Oswald", "Arial Narrow", sans-serif; --mark: "Permanent Marker", "Comic Sans MS", cursive;
  --body: "Inter", system-ui, Arial, sans-serif; --ui: "Inter", system-ui, Arial, sans-serif;
  --sev-critical: #b8311f; --sev-serious: #e8762b; --sev-moderate: #d9a21b; --sev-minor: #6b7075;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--off); font-family: var(--body); font-size: 15.5px; line-height: 1.5; }
a { color: var(--off); } a:hover { color: var(--orange); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); font-size: 13.5px; }

/* plates: the riveted iron panel used for cards, boxes, inputs */
.card, .side-box, .filters, .movement, .stats, .svc, .vgroup, .story { background: var(--iron); border: 2px solid var(--line); box-shadow: inset 0 0 0 1px var(--iron-2), 0 3px 0 rgba(0,0,0,.45); border-radius: 4px; }

/* masthead */
header.mast { background: var(--night-2); border-bottom: 3px solid var(--line); box-shadow: 0 2px 0 var(--iron-2); }
.ears { display: flex; justify-content: space-between; gap: 12px; font-family: var(--cond); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--iron-2); padding: 7px 20px; }
.ears .brand { display: inline-flex; align-items: center; gap: 8px; } .brand img { height: 22px; width: auto; }
.mast-inner { max-width: 1200px; margin: 0 auto; padding: 16px 20px 14px; display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.lockup { margin: 0; line-height: 0; } .lockup .nameplate { display: block; height: 128px; width: auto; max-width: 100%; }
.lockup.small .nameplate { height: 64px; }
.counts { display: flex; gap: 0; justify-content: flex-end; flex-wrap: wrap; }
.count { font-family: var(--cond); font-size: 34px; font-weight: 500; line-height: 1; color: var(--off); padding: 2px 24px; border-left: 1px solid var(--iron-2); }
.count:first-child { border-left: 0; padding-left: 0; }
.count small { display: block; font-family: var(--ui); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.quick { display: flex; gap: 0; justify-content: flex-end; margin: 12px 0 0; }
.quick input { flex: 1; max-width: 420px; min-width: 0; font-size: 15px; border-radius: 4px 0 0 4px; }
.quick .btn { border-radius: 0 4px 4px 0; }

/* tabs: BLOCK A / BLOCK B plates */
nav.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 8px 12px; position: sticky; top: 0; z-index: 20; background: var(--night-2); border-bottom: 2px solid var(--line); box-shadow: 0 2px 0 var(--iron-2); }
nav.tabs button { font-family: var(--cond); font-size: 15px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--off-2); background: var(--iron); border: 2px solid var(--line); box-shadow: inset 0 0 0 1px var(--iron-2); border-radius: 4px; padding: 8px 16px; cursor: pointer; }
nav.tabs button:hover { color: var(--off); background: var(--iron-2); }
nav.tabs button.active { background: var(--orange); color: #111; box-shadow: inset 0 0 0 1px #ffb27a; }
nav.tabs button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ticker: the lockdown band, hazard stripe on top */
.ticker-wrap { position: relative; overflow: hidden; background: var(--red); color: #fff; min-height: 40px; display: flex; align-items: center; border-top: 6px solid transparent; border-image: repeating-linear-gradient(135deg, var(--orange) 0 14px, #111 14px 28px) 6; }
.ticker-label { font-family: var(--cond); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; background: #111; color: var(--off); padding: 10px 14px; flex: none; z-index: 2; }
.ticker { display: flex; gap: 40px; white-space: nowrap; padding: 8px 0; animation: scroll 220s linear infinite; width: max-content; }
.ticker:hover { animation-play-state: paused; }
.ticker span { font-family: var(--cond); font-size: 15px; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.ticker span b { color: #ffd8c4; font-weight: 500; margin-right: 8px; }
.ticker span i { font-style: normal; color: #f3cfc4; font-family: var(--ui); font-size: 12px; text-transform: none; letter-spacing: 0; }
.ticker span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: middle; opacity: .8; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

main { padding: 20px 0 60px; }
section { display: none; } section.active { display: block; }
h2.sec { font-family: var(--mark); font-weight: 400; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; margin: 8px 0 14px; padding-bottom: 6px; border-bottom: 2px solid var(--off-2); color: var(--off); }
h2.sec small { font-family: var(--ui); font-weight: 400; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 10px; }
.lede { font-size: 17px; line-height: 1.5; color: var(--off-2); max-width: 760px; }
.disc { font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--iron-2); padding: 10px 0 0; margin: 20px 0; }
.illus { display: block; width: 100%; max-width: 520px; height: auto; border-radius: 4px; margin: 0 0 14px; }
video.illus { aspect-ratio: 16/9; object-fit: cover; background: var(--night-2); border: 2px solid var(--line); box-shadow: inset 0 0 0 1px var(--iron-2); }

/* notice cards from the card studio */
.notices { margin: 0 0 14px; } .notices:empty { display: none; }
.notice h3 img { height: 34px; width: auto; vertical-align: middle; margin-right: 8px; }
.notice-wide h3 { font-family: var(--cond); font-size: 18px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; display: flex; align-items: center; }
.notice p { font-size: 14px; color: var(--off-2); margin: 0 0 8px; }
.notice .btn { margin-top: 4px; }

/* columns */
.paper { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.side-box { padding: 12px 14px 14px; margin-bottom: 12px; position: relative; }
.side-box h3 { font-family: var(--cond); font-size: 16px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; color: var(--off); display: flex; align-items: center; gap: 10px; }
.side-box h3 img { height: 34px; width: auto; }
.side-box p { font-size: 14px; color: var(--off-2); margin: 0 0 10px; }
.wire { list-style: none; margin: 0; padding: 0; }
.wire li { padding: 6px 0; border-bottom: 1px solid var(--iron-2); font-family: var(--cond); font-size: 15px; letter-spacing: .02em; text-transform: uppercase; line-height: 1.25; }
.wire li:last-child { border-bottom: 0; }
.wire li a { text-decoration: none; font-weight: 500; } .wire li a:hover { color: var(--orange); }
.wire li a::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sev, var(--sev-minor)); margin-right: 7px; vertical-align: middle; }
.wire li span { display: block; font-family: var(--ui); font-size: 11.5px; text-transform: none; letter-spacing: 0; color: var(--muted); }

/* lead story */
.lead { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; padding: 6px 0 22px; border-bottom: 2px solid var(--iron-2); margin-bottom: 20px; }
.lead .media, .media.small { background: var(--night-2); aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; border: 2px solid var(--line); box-shadow: inset 0 0 0 1px var(--iron-2); border-radius: 4px; }
.lead .media iframe, .lead .media video, .lead .media img, .media.small iframe, .media.small video, .media.small img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.lead .media.plate img { object-fit: contain; }
.media.collage { background: var(--night-2) url("assets/brand/life-cell.webp") center/cover; } .media.small { margin-bottom: 8px; }
.lead h1 { font-family: var(--head); font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; margin: 0 0 12px; color: var(--off); }
.lead h1 b { color: #d8251b; font-weight: inherit; }
.lead .dek { font-size: 18px; color: var(--off-2); margin: 0 0 12px; line-height: 1.4; }
.lead .body p { margin: 0 0 10px; }
.kicker { font-family: var(--cond); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.story { padding: 12px 14px; border-top: 6px solid var(--orange); }
.story h3 { font-family: var(--head); font-weight: 500; font-size: 20px; line-height: 1.15; text-transform: uppercase; margin: 4px 0 6px; }
.story p { font-size: 14px; color: var(--off-2); margin: 0 0 8px; }
.story .links a, .story details summary { font-size: 12.5px; margin-right: 10px; color: var(--orange); cursor: pointer; }
.story .body p { font-size: 14.5px; } .story-full { max-width: 780px; }

/* booking records: iron plates, severity stripe, mugshot in an iron frame */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 14px; }
.card { padding: 12px 14px; position: relative; border-left: 6px solid var(--sev, var(--sev-minor)); }
.card.framed { display: grid; grid-template-columns: 148px 1fr; gap: 14px; }
.frame { width: 148px; height: 178px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 4px;
  border: 7px solid #5a5e64; box-shadow: inset 0 0 0 2px #26282c, 0 0 0 2px #111, 0 3px 0 rgba(0,0,0,.5);
  background: var(--off) repeating-linear-gradient(0deg, transparent 0 17px, #c9bfa6 17px 18px); }
.frame::before, .frame::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9aa0a8, #3a3e44); z-index: 2; }
.frame::before { left: 3px; top: 3px; box-shadow: 122px 0 0 #6b7078; } .frame::after { left: 3px; bottom: 3px; box-shadow: 122px 0 0 #6b7078; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.frame .empty { width: 100%; height: 100%; background: var(--off) url("assets/brand/frame-iron-nophoto.webp") center/cover; }
.frame.released { border-color: #3d4146; } .frame.released .empty { background: var(--iron-2) url("assets/brand/frame-bars.webp") center/cover; }
.card h3 { font-family: var(--head); font-weight: 500; font-size: 21px; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; margin: 6px 0 6px; color: var(--off); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 1px 10px; font-size: 13px; margin-bottom: 8px; }
.facts dt { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; padding-top: 3px; } .facts dd { margin: 0; color: var(--off); }
.facts dd b { font-weight: 600; color: var(--off); }
.chg { display: flex; align-items: flex-start; gap: 8px; margin: 3px 0; font-size: 13px; line-height: 1.3; color: var(--off-2); }
.chg > span:nth-child(2) { flex: 1; min-width: 0; }
.chg .ic { width: 16px; height: 16px; flex: none; background-color: var(--sev-icon, var(--off-2)); -webkit-mask: var(--f1) center/contain no-repeat; mask: var(--f1) center/contain no-repeat; margin-top: 1px; }
.chg .bond { margin-left: auto; white-space: nowrap; color: var(--muted); font-size: 12px; }
.sev-critical { --sev: var(--sev-critical); } .sev-serious { --sev: var(--sev-serious); } .sev-moderate { --sev: var(--sev-moderate); } .sev-minor { --sev: var(--sev-minor); }
.sevtag, .stamp { display: inline-block; font-family: var(--cond); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; border: 2px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.sevtag { color: #111; background: var(--sev, var(--sev-minor)); margin-left: 6px; vertical-align: middle; }
.sev-critical .sevtag, .sev-minor .sevtag { color: #fff; }
.stamp { background: var(--blue); color: #fff; } .stamp.rel { background: var(--iron-3); }
.ticker span.sev-critical b { color: #ffd0c8; } .ticker span.sev-serious b { color: #ffd6b8; } .ticker span.sev-moderate b { color: #fbe7a8; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--off-2); margin: 6px 0 12px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.movement { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 18px; }
.movement > div { padding: 10px 14px; border-right: 1px solid var(--iron-2); font-size: 13px; color: var(--off-2); }
.movement > div:last-child { border-right: 0; }
.movement b.j { font-family: var(--cond); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 2px; color: var(--off); }
.movement .in { color: var(--orange); font-weight: 600; } .movement .out { color: var(--ok); font-weight: 600; }
.card .actions { margin-top: 8px; font-size: 13px; } .card .actions a { color: var(--orange); }
.card .outcome { margin-top: 6px; font-size: 13px; border-top: 1px solid var(--iron-2); padding-top: 6px; color: var(--off-2); }
.jail-tag { display: inline-block; font-family: var(--cond); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.jail-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--c); vertical-align: middle; }
.j-berkeley { --c: #4a8fc4; } .j-charleston { --c: #e8762b; } .j-dorchester { --c: #6fae6a; }

/* controls */
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; align-items: end; padding: 14px; margin-bottom: 14px; }
.filters label, .alert-form label, label { display: flex; flex-direction: column; gap: 4px; font-family: var(--cond); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--off-2); }
input, select { font-family: var(--ui); background: var(--night-2); color: var(--off); border: 2px solid var(--line); box-shadow: inset 0 0 0 1px var(--iron-2); border-radius: 4px; padding: 9px 10px; font-size: 15px; min-width: 0; text-transform: none; letter-spacing: 0; }
select option { background: var(--off); color: #111; }
input::placeholder { color: var(--muted); }
input:focus, select:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.btn { font-family: var(--cond); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #111; cursor: pointer; padding: 10px 20px; border: 2px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 3px 0 rgba(0,0,0,.45); border-radius: 4px; background: var(--orange); text-decoration: none; display: inline-block; }
.btn:hover { background: #f28a45; } .btn:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25), 0 1px 0 rgba(0,0,0,.45); }
.btn:focus-visible { outline: 2px solid var(--off); outline-offset: 2px; }
.btn.chalk { background: var(--blue); color: #fff; } .btn.chalk:hover { background: #5ea2d6; }
.btn.neon { background: var(--red); color: #fff; } .btn.neon:hover { background: #d13d28; }
.pager { display: flex; gap: 6px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.pager button { background: var(--iron); border: 2px solid var(--line); box-shadow: inset 0 0 0 1px var(--iron-2); color: var(--off); padding: 6px 12px; cursor: pointer; font-family: var(--cond); font-size: 14px; border-radius: 4px; }
.pager button.on { background: var(--orange); color: #111; }

/* stats and bars */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat { padding: 16px; border-right: 1px solid var(--iron-2); } .stat:last-child { border-right: 0; }
.stat .n { font-family: var(--cond); font-size: 40px; line-height: 1; color: var(--off); }
.stat .l { font-family: var(--cond); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.hbar { display: grid; grid-template-columns: 20px 1fr 56px; gap: 10px; align-items: center; margin: 6px 0; font-size: 13.5px; color: var(--off-2); }
.hbar .ic { width: 18px; height: 18px; background: var(--off-2); -webkit-mask: var(--f1) center/contain no-repeat; mask: var(--f1) center/contain no-repeat; }
.hbar .track { height: 10px; background: var(--night-2); border: 2px solid var(--line); border-radius: 3px; } .hbar .fill { height: 100%; background: var(--orange); }
.hbar .lab { display: block; font-size: 12.5px; color: var(--off-2); text-transform: capitalize; }

/* services, faq, victim lists */
.svc { margin-bottom: 20px; padding: 12px 14px; border-top: 6px solid var(--blue); }
.svc h3 { font-family: var(--head); font-weight: 500; font-size: 20px; text-transform: uppercase; margin: 0 0 2px; }
.svc .addr { font-size: 13.5px; color: var(--off-2); margin-bottom: 8px; }
.svc dl { display: grid; grid-template-columns: 180px 1fr; gap: 6px 14px; margin: 0; font-size: 14.5px; }
.svc dt { font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--off); } .svc dd { margin: 0; color: var(--off-2); }
.verify { font-size: 12px; color: var(--orange); }
.faq details { border-bottom: 1px solid var(--iron-2); padding: 10px 0; } .faq summary { font-family: var(--cond); font-size: 17px; cursor: pointer; color: var(--off); } .faq p { color: var(--off-2); margin: 8px 0 0; }
.vgroup { margin-bottom: 18px; padding: 12px 14px; border-top: 6px solid var(--red); } .vgroup h3 { font-family: var(--head); font-weight: 500; font-size: 19px; text-transform: uppercase; border-bottom: 1px solid var(--iron-2); padding-bottom: 4px; margin: 0 0 8px; }
.vitem { padding: 8px 0; border-bottom: 1px solid var(--iron-2); } .vitem b { font-family: var(--cond); font-size: 16px; letter-spacing: .03em; color: var(--off); }
.vitem .ph { font-family: var(--cond); font-size: 17px; color: var(--orange); margin-left: 8px; } .vitem p { margin: 2px 0 0; color: var(--off-2); font-size: 14px; }
.alert-form { display: grid; gap: 12px; max-width: 520px; }
.about p { max-width: 760px; color: var(--off-2); }
.policy { max-width: 760px; margin: 12px 0; border-top: 1px solid var(--iron-2); padding-top: 8px; } .policy summary { font-family: var(--cond); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; color: var(--off); } .policy textarea { font-family: var(--ui); background: var(--night-2); color: var(--off); border: 2px solid var(--line); border-radius: 4px; padding: 9px 10px; font-size: 15px; }
.install { font-family: var(--cond); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #111; background: var(--orange); border: 0; border-radius: 3px; padding: 4px 9px; cursor: pointer; margin-right: 10px; } .install:hover { background: #f28a45; }
footer { background: var(--night-2); color: var(--muted); border-top: 3px solid var(--line); box-shadow: inset 0 2px 0 var(--iron-2); padding: 22px 16px; font-size: 12.5px; text-align: center; margin-top: 30px; }
footer .lockup { display: flex; justify-content: center; margin-bottom: 10px; }
@media (max-width: 900px) { .mast-inner { grid-template-columns: 1fr; text-align: center; } .counts, .quick { justify-content: center; } .count { padding: 2px 16px; } .lockup .nameplate { height: auto; width: min(560px, 92vw); margin: 0 auto; } }
@media (max-width: 860px) { .paper, .lead { grid-template-columns: 1fr; } .lead h1 { font-size: 32px; } }
@media (max-width: 700px) { .movement { grid-template-columns: 1fr; } .movement > div { border-right: 0; border-bottom: 1px solid var(--iron-2); } }
@media (max-width: 640px) { .card.framed { grid-template-columns: 1fr; } .frame { margin: 0 auto; } nav.tabs button { padding: 8px 10px; font-size: 13px; } .counts { flex-wrap: nowrap; } .count { flex: 1; font-size: 24px; padding: 2px 6px; } .count small { font-size: 9px; letter-spacing: .1em; } .ears { font-size: 10.5px; letter-spacing: .12em; } }
@media (prefers-reduced-motion: reduce) { .ticker { animation: none; white-space: normal; width: auto; } }

/* honeypot field: off-screen for people, visible to form-filling bots */
.hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;opacity:0;pointer-events:none}
