/* Design Tokens: Garry's List Editorial Aesthetic meets Melbourne Broadsheet Satire */
:root {
  --bg: #faf7f2;
  --bg-card: #ffffff;
  --bg-warm: #f2ece1;
  --bg-tint: #eae2d3;
  --bg-dark: #161513;
  --ink: #181614;
  --ink-muted: #5e574f;
  --ink-subtle: #8a8277;
  --ink-inverse: #f7f4ed;
  --border: #dfd7c9;
  --border-dark: #181614;
  --border-soft: #ede6da;
  --blue: #0077dd;
  --blue-dark: #005bb0;
  --blue-subtle: #e8f3fc;
  --red: #d32f2f;
  --yellow: #fef08a;
  --serif: "Newsreader", "Charter", "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", Menlo, Consolas, Monaco, monospace;
  --max-w: 1240px;
  --article-w: 920px;
  --prose-w: 680px;
  --gutter: clamp(16px, 3vw, 32px);
  --space-section: clamp(32px, 4vw, 48px);
  --space-block: clamp(24px, 3vw, 40px);
  --space-panel: clamp(20px, 3vw, 32px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
:where(h1, h2, h3) { text-wrap: balance; }
:where(p, h1, h2, h3, a, span) { overflow-wrap: break-word; }
:where(.hero-layout, .street-grid, .community-feed, .footer-grid, .next-docket-grid) > * { min-width: 0; }

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--max-w));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: var(--gutter);
  transform: translateY(-160%);
  z-index: 1100;
  background: var(--bg);
  padding: 12px 16px;
  border: 2px solid var(--ink);
}
.skip-link:focus { transform: translateY(0); }

/* Top Utility Notice */
.top-bar {
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-family: var(--mono);
  color: var(--ink-muted);
  padding: 6px 0;
  background: var(--bg-warm);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-tag {
  background: var(--ink);
  color: var(--bg);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 700;
}

/* Masthead */
.header-main {
  border-bottom: 2px solid var(--border-dark);
  padding: 24px 0 16px;
}
.masthead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 20px;
}
.brand-title {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7.5vw, 6.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--blue);
  text-transform: none;
}
.brand-title span {
  color: var(--ink);
}
.masthead-tagline {
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 260px;
  line-height: 1.25;
}

/* Nav Bar */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border-dark);
  padding-top: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  border-bottom-color: var(--blue);
  color: var(--blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-submit-issue {
  display: inline-block;
  min-height: 40px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.15s;
}
.btn-submit-issue:hover {
  background: var(--blue-dark);
  color: #fff;
}
.btn-submit-issue.full-w {
  width: 100%;
  text-align: center;
}
.btn-white {
  background: #fff;
  color: var(--ink);
}

/* Sections Shared */
.section-spacing {
  padding: var(--space-section) 0;
  border-bottom: 1px solid var(--border);
}
.section-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

/* Lead Story Hero Layout */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(300px, 1fr);
  gap: 48px;
  align-items: start;
}

.lead-story {
  position: relative;
}
.lead-story .hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  color: var(--ink);
}
.lead-story .hero-dek {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink-muted);
  line-height: 1.35;
  margin-bottom: 20px;
  max-width: 720px;
}
.hero-image-wrap {
  position: relative;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  overflow: hidden;
}
.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.03);
}
.media-overlay-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  background: rgba(22, 21, 19, 0.88);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--ink-muted);
}
.hero-story-meta a.cta-link {
  font-weight: 700;
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sidebar / Rail */
.hero-rail {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rail-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.rail-box-warm {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-top: 4px solid var(--blue);
}
.rail-heading {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rank-tag-live {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-subtle);
}

/* Ranked Upvote List */
.ranked-list {
  list-style: none;
}
.ranked-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.92rem;
}
.ranked-item:last-child { border-bottom: none; }
.rank-num {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-subtle);
}
.rank-title {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.25;
}
.rank-vote-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-family: var(--mono);
  color: var(--ink-muted);
  transition: all 0.15s;
}
.rank-vote-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* Tip Box CTA */
.tip-box-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 8px;
}
.tip-box-p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

/* Investigation Grid (3 Columns) */
.investigation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 28px;
}
.inv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.inv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}
.inv-card-img-wrap {
  position: relative;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}
.inv-card-img-wrap img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.inv-card-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #eee8dc;
  padding: 20px;
  text-align: center;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}
.inv-card-placeholder svg {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  opacity: 0.6;
}
.placeholder-tag {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.placeholder-sub {
  font-size: 0.75rem;
  margin-top: 4px;
}
.inv-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.inv-card-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
}
.inv-card-dek {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 16px;
  flex: 1;
}
.inv-card-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}
.inv-tag {
  font-family: var(--mono);
  color: var(--blue-dark);
  font-weight: 600;
}

/* Street Takes Section */
.street-section {
  background: var(--bg-dark);
  color: var(--ink-inverse);
  padding: var(--space-section) 0;
  margin: 0;
}
.street-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: start;
}
.street-kicker {
  color: #60a5fa;
}
.street-lead-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
}
.street-lead-dek {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #c5beb4;
  line-height: 1.4;
  margin-bottom: 24px;
}
.street-quotes-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.street-quote-card {
  background: #22201d;
  border: 1px solid #38342e;
  border-radius: 6px;
  padding: 20px;
  transition: border-color 0.15s;
}
.street-quote-card:hover {
  border-color: #555047;
}
.street-quote-text {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 10px;
  font-style: italic;
}
.street-quote-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 0.76rem;
  font-family: var(--mono);
  color: #9c9488;
  text-transform: uppercase;
}

/* Community Board Section */
.community-feed {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}
.filter-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-pill-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
  border: 1px solid transparent;
  background: var(--bg-card);
  text-align: left;
  transition: all 0.15s;
}
.filter-pill-btn:hover, .filter-pill-btn.active {
  background: var(--ink);
  color: #fff;
}
.pill-count {
  font-family: var(--mono);
  font-size: 0.72rem;
  opacity: 0.7;
}

.community-threads {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.thread-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  transition: border-color 0.15s;
}
.thread-row:hover {
  border-color: var(--blue);
}
.thread-vote-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 4px;
  min-width: 44px;
  padding: 6px 4px;
}
.thread-vote-arrow {
  font-size: 0.8rem;
  color: var(--blue);
}
.thread-vote-count {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
}
.thread-content-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.thread-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--blue-dark);
  font-weight: 700;
}
.thread-text {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink);
}
.thread-meta {
  font-size: 0.76rem;
  color: var(--ink-subtle);
}
.thread-comment-pill {
  font-size: 0.76rem;
  font-family: var(--mono);
  background: var(--bg-warm);
  padding: 4px 10px;
  border-radius: 100px;
  color: var(--ink-muted);
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 16, 14, 0.65);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal-box {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 8px;
  width: min(100%, 640px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  padding: 28px;
  position: relative;
}
.modal-title { font-family: var(--serif); font-size: 1.8rem; margin: 4px 0 16px; }
.modal-intro { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 20px; }
.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}
.form-input:focus, .form-textarea:focus {
  outline: 2px solid var(--blue);
  border-color: transparent;
}

/* Footer */
.site-footer {
  background: var(--bg-warm);
  border-top: 2px solid var(--border-dark);
  padding: 48px 0 32px;
  margin-top: var(--space-section);
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-disclosure { margin-top: 12px; font-size: 0.78rem; }
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom {
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  font-family: var(--mono);
}

/* Responsive */
@media (max-width: 880px) {
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .street-grid { grid-template-columns: 1fr; }
  .community-feed { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .masthead-row { flex-direction: column; align-items: flex-start; }
  .masthead-tagline { text-align: left; }
}

/* ==========================================================================
   Full Article & Editorial Inquiries Styling (Garry's List Broadsheet Spec)
   ========================================================================== */

.article-shell {
  width: min(100%, var(--article-w));
  margin-inline: auto;
  padding: var(--space-section) 0;
}
.article-shell.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--article-w));
}

.article-breadcrumb {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-breadcrumb a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-breadcrumb a:hover {
  color: var(--blue);
}

.article-header {
  margin-bottom: var(--space-block);
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-block);
}

.article-kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.article-dek {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-muted);
  font-style: italic;
  margin-bottom: 20px;
}

.article-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  font-family: var(--mono);
  color: var(--ink-muted);
}
.article-byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}
.author-pill {
  max-width: 100%;
  overflow-wrap: anywhere;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
  color: var(--ink);
}
.article-meta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-share {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-family: var(--mono);
  color: var(--ink);
  transition: all 0.15s ease;
}
.btn-share:hover {
  background: var(--bg-warm);
  border-color: var(--ink-muted);
}

.article-lead-image {
  margin-bottom: var(--space-block);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-tint);
}
.article-lead-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.article-lead-image-caption {
  padding: 10px 14px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-family: var(--mono);
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Typography & Prose */
.article-prose {
  max-width: var(--prose-w);
  margin-inline: auto;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: #24211e;
}
.article-prose p {
  margin-bottom: 24px;
}
.article-prose p.lead::first-letter {
  font-family: var(--serif);
  float: left;
  font-size: 3.8rem;
  line-height: 0.82;
  font-weight: 700;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--ink);
}
.article-prose h2 {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.25;
  margin: 40px 0 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.article-prose h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 28px 0 12px;
  color: var(--ink);
}

/* Editorial Findings Box */
.findings-box {
  background: var(--bg-card);
  border: 1.5px solid var(--border-dark);
  border-radius: 4px;
  padding: var(--space-panel);
  margin: var(--space-block) 0;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.06);
}
.findings-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.findings-title {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.findings-badge {
  background: var(--yellow);
  border: 1px solid #d4c147;
  color: #713f12;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}
.findings-list {
  list-style: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.findings-list li {
  position: relative;
  padding-left: 22px;
}
.findings-list li::before {
  content: "§";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

/* Pullquote */
.editorial-pullquote {
  margin: var(--space-block) 0;
  padding: var(--space-panel);
  border-left: 4px solid var(--blue);
  background: var(--bg-warm);
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.45;
  font-style: italic;
  color: var(--ink);
}
.editorial-pullquote cite {
  display: block;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-style: normal;
  color: var(--ink-muted);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* Article Reactions & Vote */
.article-footer-dock {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 2px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--bg-warm);
  padding: 24px;
  border-radius: 4px;
}
.article-vote-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1.5px solid var(--border-dark);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  transition: transform 0.1s ease;
}
.article-vote-btn:hover {
  background: var(--blue-subtle);
  border-color: var(--blue);
}

/* Next up in the Docket */
.next-docket-row {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.next-docket-header {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.next-docket-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.next-docket-card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.next-docket-card:hover {
  border-color: var(--ink);
  box-shadow: 2px 2px 0px rgba(0,0,0,0.06);
}
.next-docket-kicker {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.next-docket-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

/* Toast alert */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-dark);
  color: var(--ink-inverse);
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease;
  pointer-events: none;
}
.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .next-docket-grid { grid-template-columns: 1fr; }
  .article-footer-dock { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   Street Video Reports & Citizen Footage Dispatch
   ========================================================================== */

.street-video-section {
  margin: 40px 0;
  padding: 32px;
  background: var(--bg-dark);
  color: var(--ink-inverse);
  border-radius: 6px;
  border: 1.5px solid #2e2b28;
}

.street-video-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #332f2a;
  padding-bottom: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

.street-video-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.street-video-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--yellow);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.street-video-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: start;
}

.video-frame-wrap {
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #3a3630;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.25);
}

.video-play-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}

.video-play-overlay:hover .video-play-btn {
  transform: scale(1.08);
  background: #ffffff;
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #181614;
  margin-left: 3px;
}

.video-hud-tag {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0,0,0,0.7);
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}

.video-meta-box {
  background: #201e1a;
  border: 1px solid #332f2a;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-meta-headline {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #ffffff;
  line-height: 1.3;
}

.video-meta-desc {
  font-size: 0.88rem;
  color: #b5ada3;
  line-height: 1.45;
}

.video-specs-list {
  list-style: none;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: #8c8275;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed #332f2a;
  padding-top: 12px;
}

/* Video Upload & Citizen Dispatch Box */
.citizen-dispatch-box {
  margin-top: 28px;
  padding: 24px;
  background: #1c1a17;
  border: 1px dashed #47413a;
  border-radius: 4px;
}

.dispatch-prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.dispatch-prompt-title {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.dispatch-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.dispatch-step-item {
  background: #26231e;
  border: 1px solid #38342d;
  padding: 12px;
  border-radius: 3px;
  font-size: 0.8rem;
  color: #ccc3b5;
}

.dispatch-step-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yellow);
  display: block;
  margin-bottom: 4px;
}

.upload-dropzone {
  border: 2px dashed #4f483f;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  background: #161513;
  cursor: pointer;
  transition: all 0.15s ease;
}

.upload-dropzone:hover {
  border-color: var(--blue);
  background: #1c1e21;
}

.upload-dropzone p {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #a89f92;
  margin: 6px 0;
}

.filter-preset-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-preset-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  background: #292621;
  color: #d1c8bb;
  border: 1px solid #3d3931;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
}

.filter-preset-tag.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

@media (max-width: 800px) {
  .street-video-grid { grid-template-columns: 1fr; }
  .dispatch-steps { grid-template-columns: 1fr; }
  .street-video-section { padding: 20px; }
}

/* Social Media Video Reel Banner (Smooth Scrolling Ticker) */
.social-reel-section {
  margin: var(--space-section) 0;
  padding: 36px 0;
  background: var(--bg-warm);
  border-top: 2px solid var(--border-dark);
  border-bottom: 2px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

/* Full-bleed homepage band; its contents still follow the page grid. */
body > .social-reel-section > :is(.social-reel-header, .social-reel-track, .rant-cta-banner) {
  width: min(calc(100% - 2 * var(--gutter)), var(--max-w));
  margin-inline: auto;
}

.btn-pill-mode {
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 10px 14px;
  min-height: 40px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
}
.btn-pill-mode:hover { background: var(--ink); color: var(--bg); }

.social-reel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.social-reel-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
}

.social-reel-kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  text-transform: uppercase;
}

/* Marquee / Reel Track */
.social-reel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
}
.social-reel-track::-webkit-scrollbar {
  height: 6px;
}
.social-reel-track::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 3px;
}

.reel-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
  border: 1.5px solid var(--border-dark);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.reel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: #fff;
}

.reel-top-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reel-badge-live {
  background: rgba(220, 38, 38, 0.9);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.reel-badge-time {
  background: rgba(0,0,0,0.65);
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 2px;
}

.reel-center-play {
  align-self: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}
.reel-card:hover .reel-center-play {
  transform: scale(1.12);
  background: #ffffff;
}
.reel-center-play svg {
  width: 18px;
  height: 18px;
  fill: #181614;
  margin-left: 2px;
}

.reel-bottom-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reel-meta-loc {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reel-meta-text {
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.25;
  font-weight: 600;
}

/* Call-to-Action Bar: Connect Your Rant */
.rant-cta-banner {
  background: var(--bg-dark);
  color: var(--ink-inverse);
  border-radius: 8px;
  padding: 32px 36px;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  border: 1px solid #332f2a;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.15);
}

.rant-cta-copy h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.rant-cta-copy p {
  font-size: 0.92rem;
  color: #b5ada3;
  line-height: 1.4;
  max-width: 520px;
}

.btn-connect-rant {
  background: #ffcc00;
  color: #181614;
  font-family: var(--mono);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 4px;
  border: 1px solid #d4a700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.15s ease;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.2);
  cursor: pointer;
  white-space: nowrap;
}
.btn-connect-rant:hover {
  background: #ffd633;
  transform: translateY(-2px);
  box-shadow: 2px 4px 0px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .rant-cta-banner { padding: 24px 20px; flex-direction: column; align-items: stretch; text-align: center; }
  .btn-connect-rant { text-align: center; }
  .social-reel-track { gap: 14px; }
  .reel-card { flex: 0 0 200px; }
}

/* ==========================================================================
   Citizen Fact-Check Docket & Community Claim Voting
   ========================================================================== */
.factcheck-section {
  margin: 56px 0 32px;
  padding: 32px;
  background: var(--bg-warm, #f8f6f0);
  border: 2px solid var(--border, #ded8cc);
  border-top: 4px solid var(--ink, #181614);
  border-radius: 6px;
  font-family: var(--sans, -apple-system, sans-serif);
}

.factcheck-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border, #ded8cc);
}

.factcheck-kicker {
  font-family: var(--mono, monospace);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.factcheck-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink, #181614);
  margin: 0;
}

.factcheck-subtitle {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 6px 0 0;
  max-width: 650px;
  line-height: 1.5;
}

.factcheck-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.factcheck-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 6px;
  border: 1px solid var(--border, #ded8cc);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.factcheck-item:hover {
  border-color: #b0a898;
  transform: translateY(-1px);
}

.factcheck-item-content {
  flex: 1;
  padding-right: 16px;
}

.factcheck-claim-badge {
  display: inline-block;
  font-family: var(--mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  background: #f1ede4;
  color: #635b4f;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.factcheck-claim-badge.priority {
  background: #fee2e2;
  color: #991b1b;
}

.factcheck-claim-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink, #181614);
  line-height: 1.4;
  margin: 0;
}

.factcheck-claim-meta {
  font-size: 0.78rem;
  color: var(--ink-muted, #7a7368);
  margin-top: 4px;
}

.factcheck-vote-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 8px 12px;
  background: #f8f6f0;
  border: 1px solid #d4cdc2;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--mono, monospace);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink, #181614);
  transition: all 0.15s ease;
}

.factcheck-vote-btn:hover {
  background: #ffcc00;
  border-color: #cca300;
}

.factcheck-vote-btn.voted {
  background: #ffcc00;
  border-color: #cca300;
  color: #181614;
}

.factcheck-vote-btn .arrow {
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 2px;
}

.factcheck-form-wrap {
  padding-top: 20px;
  border-top: 1px dashed var(--border, #ded8cc);
}

.factcheck-form-wrap h4 {
  font-family: var(--sans, sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink, #181614);
}

.factcheck-form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.factcheck-input {
  flex: 1;
  padding: 12px 14px;
  font-size: 0.9rem;
  border: 1px solid #c9c2b4;
  border-radius: 4px;
  background: #ffffff;
  color: var(--ink, #181614);
}

.factcheck-input:focus {
  outline: none;
  border-color: var(--ink, #181614);
  box-shadow: 0 0 0 2px rgba(24,22,20,0.1);
}

.factcheck-submit-btn {
  padding: 12px 20px;
  background: var(--ink, #181614);
  color: #ffffff;
  border: 1px solid var(--ink, #181614);
  border-radius: 4px;
  font-family: var(--mono, monospace);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.factcheck-submit-btn:hover {
  background: #332f2b;
}

@media (max-width: 640px) {
  .masthead-row { gap: 16px; }
  .brand-title { font-size: clamp(2.25rem, 10vw, 3.8rem); }
  .masthead-tagline { max-width: 32ch; font-size: 1rem; }
  .nav-bar { gap: 12px; }
  .nav-links { gap: 4px 16px; font-size: 0.72rem; }
  .nav-actions { width: 100%; }
  .hero-layout { gap: 24px; }
  .hero-rail { gap: 20px; }
  .rail-heading { flex-wrap: wrap; gap: 8px; }
  .article-breadcrumb, .article-kicker { flex-wrap: wrap; }
  .article-title { letter-spacing: -0.02em; }
  .article-vote-wrap { flex-wrap: wrap; }
  .article-meta-actions { flex-wrap: wrap; }
  .article-prose h2 { font-size: 1.5rem; }
  .editorial-pullquote { font-size: 1.2rem; }
  .thread-row { grid-template-columns: auto minmax(0, 1fr); padding: 16px; gap: 12px; }
  .thread-comment-pill { grid-column: 2; justify-self: start; }
  .modal-box { padding: 24px 20px; }
  .modal-box h2, .modal-header { padding-right: 24px; }
  .toast-notice { left: 16px; right: 16px; bottom: 16px; }
  .factcheck-section { padding: 20px 16px; }
  .factcheck-item { flex-direction: column; align-items: stretch; gap: 12px; }
  .factcheck-vote-btn { flex-direction: row; gap: 8px; width: 100%; }
  .factcheck-form { flex-direction: column; }
  .factcheck-submit-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none; animation: none; }
}

