/* Daily Bugle — editorial newspaper × comic tabloid */

:root {
  --ink: #121212;
  --ink-muted: #3a3a3a;
  --ink-soft: #6b6b6b;
  --rule: #e0e0e0;
  --rule-strong: #121212;
  --paper: #ffffff;
  --newsprint: #f7f3ea;
  --wash: #f4f4f4;
  --bugle-red: #e21b22;
  --bugle-blue: #005daa;
  --max: 1120px;
  --gutter: 24px;
  --font-masthead: "Playfair Display", "Times New Roman", Times, Georgia, serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  --font-sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-impact: "Oswald", Impact, "Arial Narrow", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(226, 27, 34, 0.18);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--bugle-red);
}

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

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  font-family: var(--font-sans);
}

.skip-link:focus {
  left: 0;
}

.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ——— Excelsior ——— */
.excelsior {
  background: var(--bugle-red);
  color: #fff;
  text-align: center;
  font-family: var(--font-masthead);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  padding: 7px 12px 6px;
  cursor: pointer;
  user-select: none;
}

/* ——— Utility ——— */
.utility {
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-muted);
  background: var(--newsprint);
}

.utility-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.utility a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 600;
}

.utility a:hover {
  color: var(--bugle-red);
}

.utility-left,
.utility-right {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.utility .sep {
  color: #c8c8c8;
}

.edition-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.edition-chip::before {
  content: "★★★★";
  font-size: 0.55rem;
  letter-spacing: 1px;
}

/* ——— Masthead (comic lockup, editorial scale) ——— */
.masthead {
  text-align: center;
  padding: 20px var(--gutter) 14px;
  border-bottom: 1px solid var(--rule-strong);
  background: #fff;
}

.masthead-logo {
  display: inline-block;
  max-width: min(720px, 96vw);
  text-decoration: none;
}

.masthead-logo img {
  width: 100%;
  height: auto;
}

.masthead-logo:hover {
  opacity: 0.92;
}

.masthead-meta {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ——— Section nav ——— */
.section-nav {
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 40;
  transition: box-shadow 0.2s ease;
}

.section-nav.is-stuck {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.section-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.section-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

.section-nav ul::-webkit-scrollbar {
  display: none;
}

.section-nav a {
  display: block;
  padding: 12px 13px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.section-nav a:hover,
.section-nav a[aria-current="page"] {
  color: var(--bugle-red);
  border-bottom-color: var(--bugle-red);
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 !important;
  border-bottom: none !important;
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, width 0.25s ease;
}

.nav-logo img {
  width: 118px;
  height: auto;
  display: block;
}

.section-nav.is-stuck .nav-logo {
  width: 118px;
  opacity: 1;
  pointer-events: auto;
}

.section-nav.is-stuck .nav-logo:hover {
  opacity: 0.85;
  color: inherit;
  border-bottom-color: transparent;
}

@media (max-width: 640px) {
  .section-nav.is-stuck .nav-logo {
    width: 88px;
  }

  .nav-logo img {
    width: 88px;
  }
}

/* ——— Live ——— */
.live-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: baseline;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--rule);
}

.live-rotator {
  flex: 1;
  min-width: 0;
  position: relative;
  min-height: 1.35em;
}

.live-rotator a {
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  animation: live-in 0.45s ease;
}

.live-rotator a[hidden] {
  display: none !important;
}

@keyframes live-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bugle-red);
  flex-shrink: 0;
}

.live-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bugle-red);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.live-strip a {
  text-decoration: none;
  font-weight: 600;
}

.live-strip a:hover {
  text-decoration: underline;
}

.live-strip .time {
  color: var(--ink-soft);
  font-weight: 400;
  margin-left: 0.35rem;
}

/* ——— Lead feature (big picture) ——— */
.lead-feature {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--gutter) 28px;
  display: block;
  border-bottom: 1px solid var(--rule-strong);
}

.lead-body {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.lead-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lead-copy {
  max-width: none;
  margin-bottom: 0;
}

.lead-copy .dek {
  max-width: none;
}

.lead-art {
  margin: 0;
  position: relative;
  background: #0a1020;
  overflow: hidden;
  border: 1px solid var(--ink);
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 300px;
}

.lead-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.7s ease;
}

.lead-art:hover img {
  transform: scale(1.04);
}

.photo-credit {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 5px 8px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.lead-art:hover .photo-credit,
.lead-art:focus-within .photo-credit {
  opacity: 1;
  transform: translateY(0);
}

.lead-rail {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.lead-art .stamp {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  background: var(--bugle-red);
  color: #fff;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 2px solid #fff;
  box-shadow: 2px 2px 0 #000;
}

.lead-art figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  line-height: 1.35;
}

.lead-copy .kicker {
  margin: 0 0 8px;
}

.kicker {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bugle-red);
}

.banner-hed {
  margin: 0 0 12px;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.banner-hed a {
  text-decoration: none;
}

.banner-hed a:hover {
  color: var(--bugle-red);
}

.dek {
  margin: 0 0 14px;
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.meta {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.meta .by {
  color: var(--ink-muted);
  font-weight: 700;
}

.crime-card {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 14px;
  background: var(--bugle-red);
  color: #fff;
  padding: 14px;
  border: 1px solid var(--ink);
  margin-bottom: 18px;
  text-decoration: none;
  min-width: 0;
}

.crime-card > div {
  min-width: 0;
}

.crime-card:hover {
  color: #fff;
  filter: brightness(1.05);
}

.crime-card .big {
  margin: 0;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.crime-card .sub {
  margin: 6px 0 0;
  font-family: var(--font-impact);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.95;
}

.crime-card .more {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.crime-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center 35%;
  border: 2px solid #fff;
  background: #111;
}

.secondary-story {
  padding: 0 0 16px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--rule);
}

.secondary-story:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.story-title {
  margin: 0 0 8px;
  font-family: var(--font-masthead);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.story-title a {
  text-decoration: none;
}

.story-title a:hover {
  color: var(--bugle-red);
}

.secondary-story .story-title {
  font-size: 1.2rem;
}

.secondary-story .dek {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* ——— Three-col desk ——— */
.desk {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--rule);
}

.col + .col {
  border-left: 1px solid var(--rule);
  padding-left: 24px;
  margin-left: 24px;
}

.rail-head {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule-strong);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.latest-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}

.latest-list li:last-child {
  border-bottom: none;
}

.latest-list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  display: block;
}

.latest-list .meta {
  margin-top: 4px;
}

.badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bugle-red);
  margin-right: 4px;
}

.thumb-row {
  display: grid;
  grid-template-columns: 1fr 96px;
  gap: 12px;
  align-items: start;
}

.thumb {
  aspect-ratio: 1;
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center center;
  background: var(--wash);
  border: 1px solid var(--rule);
  display: block;
}

.thumb.from-top {
  object-position: center top;
}

.thumb.from-bottom {
  object-position: center bottom;
}

.thumb.midtown {
  background:
    linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.4)),
    repeating-linear-gradient(90deg, #3a4656 0 8px, #2e3846 8px 10px),
    linear-gradient(180deg, #7a94aa, #2a3545);
}

.thumb.bridge {
  background: linear-gradient(180deg, #8aa0b4 0 42%, #3a5568 42% 52%, #1a3040 52%);
}

/* ——— Sections ——— */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter);
  border-bottom: 1px solid var(--rule);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-strong);
}

.section-header h2 {
  margin: 0;
  font-family: var(--font-masthead);
  font-size: 1.5rem;
  font-weight: 700;
}

.section-header a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink-soft);
}

.section-header a:hover {
  color: var(--bugle-red);
}

.opinion-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.85fr;
  gap: 28px;
}

.opinion-feature {
  border-top: 4px solid var(--ink);
  padding-top: 16px;
}

.opinion-feature .story-title {
  font-size: 1.7rem;
}

.jjj-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  margin-top: 16px;
}

.jjj-portrait {
  width: 96px;
  height: 114px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--ink);
  display: block;
  background: var(--wash);
}

.opinion-quote {
  margin: 0;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.4;
}

.opinion-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tip-card {
  background: var(--newsprint);
  border: 1px solid var(--rule);
  padding: 18px;
}

.tip-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-masthead);
  font-size: 1.2rem;
}

.tip-card p {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.tip-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-form input,
.tip-form textarea {
  width: 100%;
  font: inherit;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 9px 10px;
  border: 1px solid var(--chrome-dark, #bbb);
  border-color: var(--rule);
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.tip-form input:focus,
.tip-form textarea:focus {
  outline: 2px solid var(--bugle-red);
  outline-offset: 1px;
}

.tip-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-actions .btn {
  width: 100%;
  text-align: center;
  margin: 0;
}

.guestbook {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

.guestbook-head {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.guestbook-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow: auto;
}

.guestbook-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.85rem;
}

.guestbook-list li:last-child {
  border-bottom: none;
}

.guestbook-list .who {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--bugle-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guestbook-list .when {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  margin-left: 6px;
}

.guestbook-list .empty {
  color: var(--ink-soft);
  font-style: italic;
  border: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff !important;
  border: 1px solid var(--ink);
  cursor: pointer;
  text-decoration: none !important;
}

.btn:hover {
  background: var(--bugle-red);
  border-color: var(--bugle-red);
}

.btn-red {
  background: var(--bugle-red);
  border-color: var(--bugle-red);
}

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}

.btn-ghost:hover {
  border-color: var(--bugle-red);
  color: var(--bugle-red) !important;
  background: transparent;
}

/* Picture grid */
.picture-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.pic-card {
  text-decoration: none;
}

.pic-card:hover .story-title {
  color: var(--bugle-red);
}

.pic-card .media {
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--wash);
}

.pic-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pic-card .media img.from-bottom {
  object-position: center bottom;
}

.pic-card .media.skyline {
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.45)),
    repeating-linear-gradient(90deg, #2c3644 0 12px, #232b36 12px 14px),
    linear-gradient(165deg, #6a849c, #1a2030);
  min-height: 160px;
}

.pic-card .media.ferry {
  background: linear-gradient(180deg, #87a0b8 0 45%, #3a5568 45% 55%, #1a3040 55%);
  min-height: 160px;
}

.pic-card.featured .media {
  aspect-ratio: 16 / 10;
}

.pic-card .story-title {
  font-size: 1.15rem;
}

.pic-card.featured .story-title {
  font-size: 1.45rem;
}

/* Metro */
.metro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

.blotter {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blotter li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.blotter time {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--bugle-red);
  padding-top: 2px;
}

.conditions-box {
  border: 1px solid var(--rule);
  padding: 16px;
  background: var(--newsprint);
}

.conditions-box h3 {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-line {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--bugle-red);
  margin-bottom: 8px;
}

.density-shot {
  margin: 12px 0 0;
  border: 1px solid var(--rule);
  background: #111;
}

.density-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.density-shot figcaption {
  padding: 8px 10px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--ink-soft);
  background: var(--paper);
  border-top: 1px solid var(--rule);
  line-height: 1.35;
}

.roof-cam {
  margin: 16px 0 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.roof-cam-art {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1a1a;
  overflow: hidden;
}

.roof-cam-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.18) 2px,
    rgba(0, 0, 0, 0.18) 3px
  );
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.7;
  animation: scan-drift 6s linear infinite;
}

@keyframes scan-drift {
  to {
    background-position: 0 24px;
  }
}

.standby {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, #4a5560 0%, #2a3038 42%, #12161c 70%);
}

.standby-pattern {
  position: absolute;
  inset: 8%;
  display: grid;
  place-items: center;
}

.standby-ring {
  width: min(56%, 160px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 3px solid rgba(220, 220, 220, 0.55);
  box-shadow:
    inset 0 0 0 12px rgba(180, 180, 180, 0.12),
    inset 0 0 0 14px rgba(220, 220, 220, 0.35),
    0 0 0 18px rgba(140, 140, 140, 0.08);
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(200, 200, 200, 0.2) 0deg 10deg,
      transparent 10deg 20deg
    );
}

.standby-cross {
  position: absolute;
  width: min(70%, 200px);
  height: min(70%, 200px);
}

.standby-cross::before,
.standby-cross::after {
  content: "";
  position: absolute;
  background: rgba(220, 220, 220, 0.45);
}

.standby-cross::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
}

.standby-cross::after {
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
}

.standby-bars {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 10%;
  height: 14%;
  border: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: linear-gradient(
    90deg,
    #c4c4c4 0 14.28%,
    #c4c400 14.28% 28.56%,
    #00c4c4 28.56% 42.84%,
    #00c400 42.84% 57.12%,
    #c400c4 57.12% 71.4%,
    #c40000 71.4% 85.68%,
    #0000c4 85.68% 100%
  );
}

.standby-banner {
  position: relative;
  z-index: 2;
  text-align: center;
  background: #0a0a0a;
  color: #f5f5f5;
  border: 2px solid #f5f5f5;
  padding: 8px 14px 10px;
  max-width: 88%;
  box-shadow: 0 0 0 3px #0a0a0a;
}

.standby-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6666;
  margin-bottom: 2px;
}

.standby-title {
  display: block;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(0.95rem, 3.2vw, 1.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}

.roof-cam-live {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffaa66;
  text-shadow: 0 1px 2px #000;
}

.roof-cam figcaption {
  padding: 8px 10px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  line-height: 1.35;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.retry-feed {
  font: inherit;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
}

.retry-feed:hover {
  background: var(--bugle-red);
}

.roof-cam.is-glitching .roof-cam-art {
  animation: cam-glitch 0.45s steps(2) infinite;
}

.roof-cam.is-glitching .standby-banner {
  filter: hue-rotate(90deg) contrast(1.4);
}

@keyframes cam-glitch {
  0% {
    transform: translate(0);
    filter: none;
  }
  50% {
    transform: translate(-2px, 1px);
    filter: saturate(2) contrast(1.3);
  }
  100% {
    transform: translate(1px, -1px);
  }
}

.visitor-line {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.visitor-line .counter {
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: #f0f0f0;
  padding: 2px 6px;
  border: 1px solid var(--rule);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 18px;
  border: 2px solid var(--bugle-red);
  z-index: 100;
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  max-width: min(420px, 92vw);
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.bugle-bar {
  background: var(--bugle-blue);
  color: #fff;
  text-align: center;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px var(--gutter);
  margin-top: 8px;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--rule-strong);
  padding: 36px var(--gutter) 48px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
  max-width: 400px;
  text-decoration: none;
  background: transparent;
  padding: 0;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-brand:hover {
  opacity: 0.9;
}

.footer-tag {
  margin: 0 0 18px;
  font-style: italic;
  color: var(--ink-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-nav a {
  text-decoration: none;
}

.disclaimer {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 760px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

@media (max-width: 960px) {
  .desk,
  .opinion-grid,
  .picture-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lead-body {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .desk .col.rail,
  .picture-grid .pic-card.featured,
  .opinion-grid > :first-child {
    grid-column: 1 / -1;
  }

  .desk .col.rail {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 20px;
    margin-top: 8px;
  }

  .col + .col.mid {
    border-left: 1px solid var(--rule);
  }
}

@media (max-width: 640px) {
  .desk,
  .opinion-grid,
  .picture-grid,
  .metro-grid,
  .lead-body {
    grid-template-columns: 1fr;
  }

  .col + .col,
  .col + .col.mid {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 20px;
  }

  .crime-card {
    grid-template-columns: 1fr 96px;
  }

  .crime-card img {
    width: 96px;
    height: 96px;
  }

  .lead-body {
    grid-template-columns: 1fr;
  }

  .lead-art {
    max-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-badge::before,
  .roof-cam-art::after,
  .live-rotator a,
  .roof-cam.is-glitching .roof-cam-art {
    animation: none;
  }

  .lead-art img {
    transition: none;
  }

  .lead-art:hover img {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .section-nav,
  .nav-logo,
  .toast {
    transition: none;
  }
}

@media print {
  .excelsior,
  .utility,
  .section-nav,
  .live-strip,
  .tip-actions,
  .bugle-bar {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .lead-art,
  .pic-card .media,
  .density-shot,
  .roof-cam {
    break-inside: avoid;
  }

  a {
    color: #000 !important;
    text-decoration: none !important;
  }
}
