/* NokeNow — Roanoke, VA local news. Original identity. Sourced river, not a reprint. */

:root {
  --ink: #111111;
  --ink-2: #222222;
  --muted: #5c5c5c;
  --faint: #8a8a8a;
  --rule: #dcdcdc;
  --rule-strong: #111111;
  --paper: #ffffff;
  --paper-2: #f4f3f1;
  --paper-3: #eceae6;
  --accent: #FF5A16;          /* Now / identity orange-red */
  --accent-dark: #C44510;
  --accent-soft: #FFE8DC;
  --mark: #C9C6C1;            /* Noke syllable + tagline/place gray on dark */
  --ad-ink: #6b6b6b;
  --max: 740px;
  --header-h: 52px;
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
button, input, select, textarea { font-family: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 200;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Header (dark ink; body stays paper) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--ink);
  border-bottom: 1px solid #2a2a2a;
  color: #f2f2f2;
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.35rem 0.7rem;
  min-height: var(--header-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem; /* star icon to lockup only — not between Noke and Now */
  text-decoration: none;
  color: var(--mark);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.045em;
  line-height: 1;
  flex: 0 0 auto;
}
.wordmark:hover { color: var(--mark); }
.wordmark .now { color: var(--accent); }
.wordmark svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--accent);
}

.place {
  display: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mark);
  border-left: 1px solid #3a3a3a;
  padding-left: 0.7rem;
  line-height: 1.2;
}

.search-stub {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.search-stub input {
  width: 84px;
  max-width: 28vw;
  border: 1px solid #e8e8e8;
  border-right: 0;
  padding: 0.42rem 0.5rem;
  font-size: 16px; /* iOS Safari: avoid zoom-on-focus */
  line-height: 1.2;
  background: #ffffff;
  color: var(--ink);
  min-height: 40px;
  border-radius: 0;
}
.search-stub input:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  background: #fff;
}
.search-stub input::placeholder { color: #7a7a7a; }
.search-stub button {
  border: 1px solid #ffffff;
  background: #ffffff;
  color: var(--ink);
  padding: 0.42rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 40px;
}
.search-stub button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.search-note {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(260px, 70vw);
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.55rem 0.7rem;
  z-index: 90;
}
.search-note.is-on { display: block; }

.menu-btn {
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  padding: 0.45rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  min-height: 40px;
  min-width: 44px;
  flex: 0 0 auto;
}
.menu-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.nav-row {
  display: none;
  gap: 0.15rem 0.85rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.4rem 0.85rem 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  border-top: 1px solid #333;
}
.nav-row a {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f0f0f0;
  white-space: nowrap;
}
.nav-row a:hover { color: var(--accent); }

/* Drawer */
.drawer-back {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 100;
}
.drawer-back.is-open { display: block; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 92vw);
  background: var(--paper);
  z-index: 110;
  transform: translateX(100%);
  transition: transform .2s ease;
  overflow: auto;
  padding: 1.1rem 1.2rem 2rem;
  border-left: 2px solid var(--ink);
}
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--ink);
}
.drawer-head strong {
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.drawer-head .now { color: var(--accent); }
.drawer-close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

.drawer-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.1rem 0 0.4rem;
}

.drawer a {
  display: block;
  text-decoration: none;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 600;
  font-size: 1.05rem;
}
.drawer .util a {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-2);
}

body.menu-lock { overflow: hidden; }

/* ---------- Ads ---------- */
.ad {
  background:
    repeating-linear-gradient(-45deg, #f3f3f3, #f3f3f3 10px, #ececec 10px, #ececec 20px);
  border: 1px dashed #b9b9b9;
  color: var(--ad-ink);
  text-align: center;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
}
.ad span { letter-spacing: 0.04em; text-transform: none; font-weight: 500; font-size: 0.78rem; color: #888; }
.ad-leaderboard { min-height: 88px; border-left: 0; border-right: 0; }
.ad-infeed { min-height: 120px; margin: 0; }
.ad-box { min-height: 220px; margin: 1.25rem 0; }
.ad-slots { display: grid; gap: 0.75rem; }
.ad-slots .ad { min-height: 160px; }

/* ---------- River ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 0.9rem;
  overflow-wrap: break-word;
}

.kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.kicker:hover { color: var(--accent-dark); }

.river > * {
  border-bottom: 1px solid var(--rule);
}

/* Morning notes */
.briefing {
  padding: 1.25rem 0 1.4rem;
}
.briefing h2 {
  margin: 0.15rem 0 0.15rem;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.briefing h2 a { text-decoration: none; }
.briefing .meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.briefing ul {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.15rem;
}
.briefing li {
  margin: 0.45rem 0;
  padding-left: 0.15rem;
}
.briefing li strong { font-weight: 700; }
.weather-line {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
  margin: 0.6rem 0 0.9rem;
}
.sponsor-line {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px dotted var(--rule);
  padding-top: 0.7rem;
  margin-top: 0.4rem;
}
.sponsor-line em {
  font-style: normal;
  color: var(--faint);
  border-bottom: 1px dotted #bbb;
  padding: 0 2.4rem 0.05rem;
}

/* Story cards */
.card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  padding: 1.15rem 0 1.25rem;
  text-decoration: none;
  color: inherit;
}
.card-text { min-width: 0; }
.card-hed {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  line-height: 1.18;
  font-weight: 800;
}
.card-hed a { text-decoration: none; }
.card-hed a:hover { color: var(--accent); }
.dek {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.4;
}
.card-meta {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Photo blocks */
.photo { margin: 0; }
.photo-frame {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #222;
}
.photo figcaption,
.caption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
  line-height: 1.35;
}

.photo--star .photo-frame {
  background:
    radial-gradient(circle at 50% 28%, rgba(255,80,80,.45), transparent 28%),
    linear-gradient(180deg, #0a1224 0%, #1c2744 38%, #c45a28 72%, #1a1218 100%);
}
.photo--star .photo-frame::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16%;
  width: 64px;
  height: 64px;
  transform: translateX(-50%);
  background: #ff3b3b;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 14px #ff6a6a);
}

.photo--storm .photo-frame {
  background:
    linear-gradient(160deg, #3d4a5c 0%, #6d7b8c 35%, #9aa7b4 58%, #4a5564 100%);
}
.photo--storm .photo-frame::before {
  content: "";
  position: absolute;
  inset: 18% 10% auto 10%;
  height: 28%;
  background: rgba(255,255,255,.35);
  border-radius: 40% 50% 40% 50%;
  filter: blur(8px);
}
.photo--storm .photo-frame::after {
  content: "";
  position: absolute;
  left: 58%;
  top: 38%;
  width: 2px;
  height: 38%;
  background: #f4f7ff;
  transform: rotate(18deg);
  box-shadow: 12px 8px 0 -0.5px #eef, -18px 14px 0 -0.5px #e8eefc;
}

.photo--civic .photo-frame {
  background:
    linear-gradient(180deg, #c9d4de 0%, #8ea0b0 40%, #4c5c68 40%, #3a4650 100%);
}
.photo--civic .photo-frame::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 62%;
  background: #2c3640;
  clip-path: polygon(8% 100%, 8% 28%, 22% 28%, 22% 12%, 78% 12%, 78% 28%, 92% 28%, 92% 100%);
}
.photo--civic .photo-frame::after {
  content: "";
  position: absolute;
  left: 46%;
  top: 22%;
  width: 8%;
  height: 18%;
  background: var(--accent);
}

.photo--blotter .photo-frame {
  background: linear-gradient(135deg, #1c1c1c 0%, #3a3a3a 50%, #2a2a2a 100%);
}
.photo--blotter .photo-frame::before {
  content: "";
  position: absolute;
  inset: 22% 28%;
  border: 6px solid var(--accent);
  border-radius: 4px;
  opacity: 0.85;
}
.photo--blotter .photo-frame::after {
  content: "RPD";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eee;
  font-weight: 800;
  letter-spacing: 0.28em;
  font-size: 1.4rem;
}

.photo--school .photo-frame {
  background:
    linear-gradient(180deg, #87b7d9 0%, #87b7d9 48%, #d9c48a 48%, #c9b070 100%);
}
.photo--school .photo-frame::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 22%;
  bottom: 0;
  height: 54%;
  background: #8b4518;
  clip-path: polygon(0 100%, 0 32%, 50% 0, 100% 32%, 100% 100%);
}
.photo--school .photo-frame::after {
  content: "";
  position: absolute;
  left: 46%;
  bottom: 22%;
  width: 10%;
  height: 28%;
  background: #5c2e0e;
}

.photo--biscuit .photo-frame {
  background:
    radial-gradient(circle at 50% 58%, #f3d5a0 0%, #e8b86a 42%, #c47a3a 100%);
}
.photo--biscuit .photo-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46%;
  height: 38%;
  transform: translate(-50%, -46%);
  background: #f6deae;
  border-radius: 50%;
  box-shadow: inset 0 -8px 0 #e4c07a, 0 10px 0 #b56a2c;
}
.photo--biscuit .photo-frame::after {
  content: "";
  position: absolute;
  left: 28%;
  top: 40%;
  width: 8px;
  height: 8px;
  background: #c47a3a;
  border-radius: 50%;
  box-shadow: 40px 12px 0 #c47a3a, 70px -6px 0 #c47a3a, 100px 10px 0 #c47a3a;
}

.photo--build .photo-frame {
  background: linear-gradient(180deg, #b9c6d0 0%, #b9c6d0 46%, #d8c09a 46%, #c4a878 100%);
}
.photo--build .photo-frame::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0;
  width: 38%;
  height: 70%;
  background: #4d5a66;
  box-shadow: 28px 20px 0 #6a7782, 56px 40px 0 #2f3942;
}
.photo--build .photo-frame::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 18%;
  width: 28%;
  height: 10%;
  background: var(--accent);
  transform: rotate(-12deg);
}

.photo--shop .photo-frame {
  background:
    linear-gradient(180deg, #b9c4ce 0 36%, #5c4634 36%);
}
.photo--shop .photo-frame::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 12%;
  bottom: 18%;
  background: #f4efe4;
  box-shadow: inset 0 0 0 3px #2c241c;
}
.photo--shop .photo-frame::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  top: 22%;
  height: 42%;
  background:
    repeating-linear-gradient(90deg,
      #6b3a2a 0 12px,
      #c4a46a 12px 24px,
      #2f4a6e 24px 36px,
      #8a5a32 36px 48px);
  box-shadow: 0 18px 0 #d8c9ae;
}

.photo--gallery .photo-frame {
  background:
    linear-gradient(90deg, #1a1a1a 0 8%, #f2f0ea 8% 92%, #1a1a1a 92%);
}
.photo--gallery .photo-frame::before {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  top: 16%;
  bottom: 16%;
  background: linear-gradient(160deg, #3d5a80, #9b4d3a);
  box-shadow: 0 0 0 10px #fff, 0 0 0 12px #111;
}
.photo--gallery .photo-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  top: 0;
  bottom: 0;
  width: 6px;
  background: repeating-linear-gradient(var(--accent) 0 8px, transparent 8px 16px);
}

.photo--greenway .photo-frame {
  background:
    linear-gradient(180deg, #7eafd4 0%, #7eafd4 40%, #4e8f5a 40%, #2f6b3c 70%, #3a6ea5 70%, #2a5580 100%);
}
.photo--greenway .photo-frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 10%;
  background: #c9b48a;
  transform: rotate(-4deg);
}
.photo--greenway .photo-frame::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 8%;
  width: 70%;
  height: 18%;
  background: #245a96;
  border-radius: 40% 50% 40% 50%;
}

.photo--crosswalk .photo-frame {
  background: linear-gradient(180deg, #8bb8d8 0 42%, #5a5a5a 42% 58%, #8a8a8a 58%);
}
.photo--crosswalk .photo-frame::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 48%;
  height: 22%;
  background: repeating-linear-gradient(90deg, #f4f4f4 0 18px, transparent 18px 32px);
}
.photo--crosswalk .photo-frame::after {
  content: "";
  position: absolute;
  right: 22%;
  top: 12%;
  width: 18px;
  height: 36px;
  background: var(--accent);
  box-shadow: 0 36px 0 #fff, 0 72px 0 var(--accent);
}

.photo--water .photo-frame {
  background:
    linear-gradient(180deg, #6a9bb8 0%, #3d6e88 42%, #1f4a63 42%, #16384c 100%);
}
.photo--water .photo-frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  height: 18%;
  background: rgba(232, 244, 252, 0.35);
  border-radius: 40% 50% 40% 50%;
  filter: blur(6px);
}
.photo--water .photo-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 18%;
  bottom: 10%;
  height: 28%;
  background: #245a78;
  border-radius: 46% 54% 42% 58%;
}

.photo--highway .photo-frame {
  background: linear-gradient(180deg, #8bb4c8 0 36%, #4a4a4a 36% 64%, #3a3a3a 64%);
}
.photo--highway .photo-frame::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 42%;
  height: 22%;
  background: repeating-linear-gradient(90deg, #f4e27a 0 28px, transparent 28px 48px);
}
.photo--highway .photo-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 36%;
  height: 4px;
  background: #f2f2f2;
  box-shadow: 0 28px 0 #f2f2f2;
}

.photo--hotel .photo-frame {
  background: linear-gradient(180deg, #9eb4c4 0 34%, #c4a070 34%);
}
.photo--hotel .photo-frame::before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 72%;
  background: #7a3a32;
  clip-path: polygon(0 100%, 0 18%, 12% 8%, 88% 8%, 100% 18%, 100% 100%);
}
.photo--hotel .photo-frame::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 28%;
  top: 38%;
  height: 28%;
  background: repeating-linear-gradient(#d8c4a0 0 8px, #5c2a24 8px 10px);
  box-shadow: 0 0 0 4px #5c2a24;
}

.photo--hospital .photo-frame {
  background: linear-gradient(180deg, #b9cfe0 0 40%, #d8d2c4 40%);
}
.photo--hospital .photo-frame::before {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 68%;
  background: #e8eef2;
  box-shadow: inset 0 0 0 3px #6a7a86;
}
.photo--hospital .photo-frame::after {
  content: "";
  position: absolute;
  left: 46%;
  top: 28%;
  width: 8%;
  height: 32%;
  background: var(--accent);
  box-shadow: -18px 18px 0 0 var(--accent), 18px 18px 0 0 var(--accent), 0 18px 0 8px var(--accent);
}

.photo--rail .photo-frame {
  background: linear-gradient(180deg, #7ea8c0 0 44%, #5a5348 44% 58%, #3d3830 58%);
}
.photo--rail .photo-frame::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 8px;
  background: #c4c4c4;
  box-shadow: 0 14px 0 #c4c4c4;
}
.photo--rail .photo-frame::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 18%;
  width: 58%;
  height: 22%;
  background: var(--accent);
  clip-path: polygon(0 40%, 18% 40%, 22% 10%, 78% 10%, 84% 40%, 100% 40%, 100% 100%, 0 100%);
}

.lede-photo { margin: 0.85rem 0 1rem; }

/* Poll / events cards in river */
.inset {
  padding: 1.2rem 0 1.35rem;
}
.inset-box {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: 1rem 1rem 1.1rem;
}
.inset-box h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.sponsored-chip {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.poll-form label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.38rem 0;
  cursor: pointer;
  font-size: 0.95rem;
}
.poll-form button,
.btn {
  margin-top: 0.65rem;
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 0.5rem 0.9rem;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.poll-form button:hover,
.btn:hover { background: var(--accent-dark); }
.poll-thanks {
  display: none;
  padding: 0.4rem 0;
  font-weight: 600;
}
.poll-form.is-done .choices,
.poll-form.is-done button { display: none; }
.poll-form.is-done .poll-thanks { display: block; }

.event-list { list-style: none; margin: 0; padding: 0; }
.event-list li {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--rule);
  overflow-wrap: break-word;
}
.event-list li:last-child { border-bottom: 0; }
.event-when {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.event-kind {
  display: inline-block;
  margin-left: 0.4rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  vertical-align: 0.05em;
}
.event-title { display: block; font-weight: 700; }
.event-list a { text-decoration: none; font-weight: 700; }
.event-where { display: block; font-size: 0.85rem; color: var(--muted); }

.event-group { margin: 1.15rem 0 1.4rem; }
.event-group h2 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.3rem;
  margin: 0 0 0.2rem;
}

/* Openings spotlight — editorial, not an ad unit */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 0.35rem;
}
.spotlight-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.85rem 0.9rem;
  text-decoration: none;
  color: inherit;
  overflow-wrap: break-word;
}
a.spotlight-card:hover .spotlight-name { color: var(--accent); }
.spotlight-hood {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.spotlight-name {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.spotlight-card .dek { font-size: 0.92rem; }
.spotlight-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--faint);
}

.more-link {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

/* ---------- Article ---------- */
.article { padding: 1.2rem 0 2rem; }
.article h1 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.85rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.article .dek-lg {
  font-size: 1.12rem;
  color: var(--ink-2);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}
.byline {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.byline strong { color: var(--ink); }
.tags { margin: 0.8rem 0 0; }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 0.18rem 0.45rem;
  margin: 0 0.25rem 0.25rem 0;
  text-decoration: none;
  color: var(--muted);
}
.tag:hover { border-color: var(--ink); color: var(--ink); }

.body p { margin: 0.85rem 0; }
.body p:first-child { font-size: 1.05rem; }
.body h2 {
  font-size: 1.15rem;
  margin: 1.4rem 0 0.4rem;
  letter-spacing: -0.02em;
}

.author-box {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.8rem;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
  margin: 1.5rem 0;
}
.author-mark {
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: var(--mark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 0.58rem;
  text-align: center;
  line-height: 1;
}
.author-mark .now { color: var(--accent); }
.author-box p { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--muted); }
.author-box strong { color: var(--ink); font-size: 1rem; }

.related h2 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 1.4rem 0 0.4rem;
}
.related a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}

/* ---------- Section / utility pages ---------- */
.page { padding: 1.2rem 0 2.4rem; }
.page h1 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.8rem;
  letter-spacing: -0.035em;
}
.lede { color: var(--ink-2); margin: 0 0 1rem; }
.page-meta {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.page-section { margin: 1.4rem 0; }
.page-section h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.3rem;
}

.empty-note {
  background: var(--paper-2);
  padding: 0.8rem 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.form-placeholder {
  display: grid;
  gap: 0.5rem;
  max-width: 420px;
}
.form-placeholder input,
.form-placeholder textarea {
  border: 1px solid var(--rule);
  padding: 0.5rem 0.6rem;
  font-size: 1rem;
}
.form-placeholder textarea { min-height: 90px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #eee;
  padding: 1.6rem 0 2rem;
  margin-top: 0;
  font-size: 0.88rem;
}
.site-footer a { color: #fff; }
.site-footer .wrap { max-width: 1100px; }
.foot-brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--mark);
}
.foot-brand .now { color: var(--accent); }
.tagline {
  font-style: italic;
  color: var(--mark);
  margin: 0.2rem 0 0.8rem;
}
.foot-grid {
  display: grid;
  gap: 1.1rem;
}
.foot-grid h2 {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9a9a;
  margin: 0 0 0.35rem;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 0.22rem 0; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; color: var(--accent); }
.foot-note {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid #333;
  color: #9a9a9a;
  font-size: 0.8rem;
}

/* ---------- Responsive ---------- */
/* Phone browser first (~390px). Cards already stack. Keep header short. */
@media (max-width: 639px) {
  .card-hed { font-size: 1.16rem; }
  .briefing h2 { font-size: 1.42rem; }
  .article h1 { font-size: 1.55rem; }
  .page h1 { font-size: 1.55rem; }
  .briefing { padding: 1rem 0 1.15rem; }
  .card { padding: 1rem 0 1.1rem; }
  .inset-box { padding: 0.9rem 0.85rem 1rem; }
  .ad-leaderboard { min-height: 72px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 640px) {
  .place { display: inline-block; }
  .search-stub input { width: 170px; max-width: none; font-size: 0.82rem; }
  .wordmark { font-size: 1.42rem; }
  .header-bar { gap: 0.65rem; padding: 0.45rem 0.85rem; }
  .card {
    grid-template-columns: 210px 1fr;
    gap: 1rem;
    align-items: start;
  }
  .card .photo-frame { aspect-ratio: 4 / 3; }
  .card-hed { font-size: 1.38rem; }
  .article h1 { font-size: 2.15rem; }
  .briefing h2 { font-size: 1.9rem; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .ad-slots { grid-template-columns: 1fr 1fr; }
  .spotlight-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .nav-row { display: flex; }
}
@media (min-width: 900px) {
  .header-bar { padding-left: 1.2rem; padding-right: 1.2rem; }
  .wordmark { font-size: 1.55rem; }
  .nav-row { padding-left: 1.2rem; padding-right: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer { transition: none; }
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}


/* ---------- Status chips (Beta / Coming Soon) ---------- */
.status-chip {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.14rem 0.38rem;
  vertical-align: middle;
  border-radius: 2px;
  line-height: 1.2;
  white-space: nowrap;
}
.status-chip--beta {
  background: #111111;
  color: #ffffff;
}
.status-chip--soon {
  background: #FF5A16;
  color: #ffffff;
}
.kicker .status-chip { margin-left: 0.35rem; }
.search-stub .status-chip {
  margin-left: 0.35rem;
  align-self: center;
}
@media (max-width: 420px) {
  .search-stub .status-chip { display: none; }
  .search-stub input { width: 72px; }
}

.source-line {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
}
.source-line a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.source-line a:hover { text-decoration: underline; }
.headline-only .dek { display: none; }

.legal-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0.85rem 0 0;
}
.legal-note a { color: var(--accent); }

.empty-desk {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0.8rem 0;
}

/* Crime map */
.crime-map-wrap {
  margin: 0.8rem 0 1.1rem;
  border: 1px solid var(--rule);
}
#crime-map {
  width: 100%;
  height: 280px;
  background: #dce4dc;
  z-index: 1;
}
@media (min-width: 640px) {
  #crime-map { height: 420px; }
}
.leaflet-container { font-family: inherit; }
.pin-popup h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.pin-popup p { margin: 0 0 0.35rem; font-size: 0.85rem; }
.pin-popup a { color: var(--accent); font-weight: 700; font-size: 0.82rem; }

.pin-list { list-style: none; margin: 0.4rem 0 1rem; padding: 0; }
.pin-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rule);
}
.pin-list .pin-place {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.disclaimer {
  background: var(--paper-2);
  border-left: 3px solid var(--ink);
  padding: 0.75rem 0.9rem;
  font-size: 0.86rem;
  color: var(--ink-2);
  margin: 1rem 0;
}

.form-placeholder label,
.alert-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.7rem 0 0.25rem;
}
.form-placeholder input,
.form-placeholder textarea,
.alert-form input,
.alert-form select {
  width: 100%;
  max-width: 420px;
  border: 1px solid #ccc;
  padding: 0.5rem 0.6rem;
  font-size: 16px;
}
.nav-row a .status-chip {
  margin-left: 0.2rem;
  font-size: 0.5rem;
  padding: 0.08rem 0.28rem;
}
.ad .status-chip { margin-bottom: 0.2rem; letter-spacing: 0.1em; }
