:root {
  color-scheme: dark;
  --lf8-void: #04050b;
  --lf8-midnight: #070914;
  --lf8-slate: #11152b;
  --lf8-elevated: #181c35;
  --lf8-moon: #ececf6;
  --lf8-muted: #a8aac0;
  --lf8-magenta: #ff2daa;
  --lf8-cyan: #18e7ff;
  --lf8-violet: #845cff;
  --lf8-lime: #c7ff3d;
  --lf8-correction: #ff5a68;
  --lf8-line: rgba(168, 170, 192, 0.22);
  --lf8-panel: linear-gradient(145deg, rgba(24, 28, 53, 0.96), rgba(10, 12, 27, 0.98));
  --lf8-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --lf8-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lf8-reading: Georgia, "Times New Roman", serif;
  --lf8-shell: min(1280px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body,
.editor-styles-wrapper {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% -10%, rgba(132, 92, 255, .19), transparent 32rem),
    radial-gradient(circle at 90% 12%, rgba(255, 45, 170, .13), transparent 28rem),
    linear-gradient(180deg, var(--lf8-void), var(--lf8-midnight) 14rem, #090c19 55%, var(--lf8-void));
  color: var(--lf8-moon);
  font-family: var(--lf8-body);
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(24, 231, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 45, 170, .07) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 70%);
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

body::after {
  position: absolute;
  z-index: -1;
  top: 34rem;
  right: 0;
  left: 0;
  height: 11rem;
  content: "";
  pointer-events: none;
  opacity: .1;
  background: linear-gradient(90deg, transparent 2%, var(--lf8-cyan) 3% 6%, transparent 7% 14%, var(--lf8-magenta) 15% 21%, transparent 22% 34%, var(--lf8-violet) 35% 40%, transparent 41% 52%, var(--lf8-cyan) 53% 60%, transparent 61% 74%, var(--lf8-magenta) 75% 84%, transparent 85% 91%, var(--lf8-violet) 92% 97%, transparent 98%);
  clip-path: polygon(0 100%,0 78%,3% 78%,3% 34%,6% 34%,6% 81%,15% 81%,15% 49%,21% 49%,21% 72%,35% 72%,35% 23%,40% 23%,40% 82%,53% 82%,53% 39%,60% 39%,60% 76%,75% 76%,75% 18%,84% 18%,84% 81%,92% 81%,92% 43%,97% 43%,97% 72%,100% 72%,100% 100%);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
a, button, input[type="submit"] { -webkit-tap-highlight-color: transparent; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid var(--lf8-cyan);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--lf8-midnight), 0 0 20px rgba(24, 231, 255, .5);
}

.wp-site-blocks { min-height: 100vh; }
.neon-shell { width: var(--lf8-shell); margin-inline: auto; }
.neon-section { padding-block: clamp(3.5rem, 6vw, 5rem); }
.neon-panel {
  border: 1px solid rgba(24, 231, 255, .24);
  border-radius: 18px 4px 18px 4px;
  background: var(--lf8-panel);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03);
}

.screen-reader-text,
.skip-link.screen-reader-text {
  position: fixed !important;
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 18px;
  clip: auto;
  transform: translateY(-180%);
  border: 0;
  background: var(--lf8-cyan);
  color: #02040a;
  font-weight: 900;
}
.skip-link.screen-reader-text:focus { transform: translateY(0); }

/* Header and navigation */
.neon-site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(24, 231, 255, .18);
  background: rgba(4, 5, 11, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.neon-header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.neon-brand { line-height: 1; }
.neon-brand-kicker {
  margin: 0 0 .35rem;
  color: var(--lf8-cyan);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .27em;
  text-transform: uppercase;
}
.neon-site-title,
.neon-site-title a {
  margin: 0;
  color: var(--lf8-moon);
  font-family: var(--lf8-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .9;
  text-decoration: none;
  text-shadow: 0 0 22px rgba(236, 236, 246, .16), 0 0 30px rgba(255, 45, 170, .25);
}
.neon-primary-nav { flex: 1; justify-content: flex-end; }
.neon-primary-nav .wp-block-navigation-item__content {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--lf8-muted);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}
.neon-primary-nav .wp-block-navigation-item__content:hover,
.neon-primary-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--lf8-cyan); }
.wp-block-navigation__responsive-container.is-menu-open {
  padding: 24px;
  background: rgba(7, 9, 20, .98) !important;
  color: var(--lf8-moon) !important;
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; }

/* Headings and reusable labels */
.neon-eyebrow {
  margin: 0 0 .45rem;
  color: var(--lf8-cyan);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.neon-section-title {
  margin: 0;
  font-family: var(--lf8-display);
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .88;
  text-transform: uppercase;
}
.neon-section-dek { max-width: 38rem; margin: .8rem 0 0; color: var(--lf8-muted); }
.neon-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }

/* Hot Topics */
.neon-topic-boulevard {
  border-block: 1px solid rgba(255, 45, 170, .18);
  background: rgba(10, 12, 27, .78);
}
.neon-topic-layout { display: flex; align-items: center; gap: 22px; padding-block: 12px; }
.neon-topic-label { flex: 0 0 auto; margin: 0; color: var(--lf8-magenta); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.neon-topic-strip {
  display: flex;
  overflow-x: auto;
  gap: 9px;
  padding: 4px 2px 8px;
  scrollbar-color: var(--lf8-violet) transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.neon-topic-strip .wp-block-button { flex: 0 0 auto; }
.neon-topic-strip .wp-block-button__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 45, 170, .5);
  border-radius: 999px;
  background: rgba(255, 45, 170, .07);
  color: var(--lf8-moon);
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.neon-topic-strip .wp-block-button__link:hover { border-color: var(--lf8-cyan); box-shadow: 0 0 18px rgba(24,231,255,.2); }

/* Story art and cards */
.neon-featured-media {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--lf8-slate) url("../images/neon-fallback.svg") center / cover no-repeat;
}
.neon-featured-media::after {
  position: absolute;
  right: 14px;
  bottom: 12px;
  content: "Image unavailable";
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(4,5,11,.86);
  color: var(--lf8-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.neon-featured-media.has-image::after,
.neon-featured-media:has(img)::after { display: none; }
.neon-featured-media .wp-block-post-featured-image,
.neon-featured-media .wp-block-post-featured-image a,
.neon-featured-media .wp-block-post-featured-image img { width: 100%; height: 100%; margin: 0; }
.neon-featured-media .wp-block-post-featured-image img { position: absolute; inset: 0; object-fit: cover; }
.neon-featured-media::before { position: absolute; z-index: 1; inset: 0; content: ""; pointer-events: none; background: linear-gradient(180deg, transparent 42%, rgba(4,5,11,.88)); }
.neon-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lf8-line);
  border-radius: 15px 3px 15px 3px;
  background: var(--lf8-panel);
}
.neon-card:hover { border-color: rgba(24,231,255,.56); box-shadow: 0 0 24px rgba(24,231,255,.13); transform: translateY(-2px); }
.neon-card-copy { padding: 20px; }
.neon-card .wp-block-post-terms { color: var(--lf8-magenta); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.neon-card .wp-block-post-title { margin: .55rem 0; font-family: var(--lf8-display); line-height: 1.02; }
.neon-card .wp-block-post-title a { text-decoration: none; }
.neon-card .wp-block-post-excerpt { color: var(--lf8-muted); font-size: .88rem; }
.neon-card .wp-block-post-date { color: var(--lf8-muted); font-size: .72rem; }
.neon-empty-state { padding: 30px; border: 1px dashed rgba(24,231,255,.36); background: rgba(17,21,43,.75); color: var(--lf8-muted); text-align: center; }

/* Main stage */
.neon-main-stage .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}
.neon-main-stage .wp-block-post:first-child { grid-column: span 2; grid-row: span 2; }
.neon-main-stage .wp-block-post:first-child .neon-featured-media { min-height: 560px; }
.neon-main-stage .wp-block-post:not(:first-child) .neon-featured-media { min-height: 185px; }
.neon-main-stage .wp-block-post:first-child .wp-block-post-title { font-size: clamp(2.2rem, 4vw, 4.7rem); }
.neon-main-stage .wp-block-post:not(:first-child) .wp-block-post-title { font-size: 1.25rem; }
.neon-main-stage .wp-block-post:first-child .wp-block-post-excerpt { display: block; }
.neon-main-stage .wp-block-post:not(:first-child) .wp-block-post-excerpt { display: none; }

/* Feed */
.neon-feed-zone { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .7fr); gap: 18px; }
.neon-feed-panel, .neon-spotlight { padding: clamp(22px, 3vw, 34px); }
.neon-feed-list { margin: 0; padding: 0; }
.neon-feed-list .wp-block-post {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 12px 0;
  border-top: 1px solid var(--lf8-line);
}
.neon-feed-list .wp-block-post-date { color: var(--lf8-muted); font-size: .72rem; }
.neon-feed-list .wp-block-post-title { margin: 0; font-family: var(--lf8-body); font-size: 1rem; font-weight: 800; letter-spacing: 0; line-height: 1.35; }
.neon-feed-list .wp-block-post-title a { text-decoration: none; }
.neon-feed-list .wp-block-post-terms { color: var(--lf8-cyan); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.neon-live-label::before { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--lf8-lime); box-shadow: 0 0 10px rgba(199,255,61,.5); content: ""; }
.neon-spotlight { overflow: hidden; border-color: rgba(255,45,170,.32); background: radial-gradient(circle at 90% 10%, rgba(255,45,170,.25), transparent 40%), var(--lf8-panel); }
.neon-spotlight h3 { font-size: clamp(2rem, 4vw, 3.5rem); text-transform: uppercase; }

/* Districts */
.neon-district-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.neon-district-card {
  position: relative;
  min-height: 210px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--district-color, var(--lf8-violet));
  border-radius: 14px 3px 14px 3px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--district-color, var(--lf8-violet)) 16%, var(--lf8-slate)), rgba(7,9,20,.98) 70%);
}
.neon-district-card::after { position: absolute; right: -40px; bottom: -58px; width: 150px; height: 150px; border: 2px solid var(--district-color, var(--lf8-violet)); border-radius: 50%; content: ""; opacity: .22; }
.neon-district-card .neon-district-number { margin: 0; color: var(--lf8-muted); font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.neon-district-card h3 { margin: 26px 0 6px; color: var(--district-color, var(--lf8-cyan)); font-size: 1.35rem; text-transform: uppercase; }
.neon-district-card p { margin: 0; color: var(--lf8-muted); font-size: .8rem; }
.neon-district-card .wp-block-button { position: absolute; z-index: 2; right: 16px; bottom: 14px; left: 16px; }
.neon-district-card .wp-block-button__link { min-height: 44px; width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 9px 2px; background: transparent; color: var(--lf8-moon); font-size: .72rem; text-align: left; }

/* Numbers and CTA */
.neon-numbers { display: grid; grid-template-columns: .8fr 1.7fr; gap: 32px; padding: clamp(26px, 4vw, 44px); }
.neon-metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.neon-metric-card { min-height: 160px; padding: 20px; border: 1px solid var(--lf8-line); border-radius: 12px 2px 12px 2px; background: rgba(7,9,20,.68); }
.neon-metric-card strong { display: block; margin-bottom: 10px; color: var(--lf8-lime); font-family: var(--lf8-display); font-size: 1.4rem; }
.neon-metric-card p { color: var(--lf8-muted); font-size: .78rem; }
.neon-newsletter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: clamp(28px, 5vw, 56px); border: 1px solid rgba(255,45,170,.42); border-radius: 24px 5px 24px 5px; background: radial-gradient(circle at 85% 0, rgba(255,45,170,.24), transparent 38%), linear-gradient(145deg,#13172e,#090b18); box-shadow: 0 0 42px rgba(255,45,170,.12); }
.neon-newsletter .wp-block-buttons { justify-content: flex-end; }

/* Archive, search and error surfaces */
.neon-page-hero { padding-block: clamp(3.5rem, 8vw, 7rem) 2rem; }
.neon-page-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(3rem, 8vw, 7rem); text-transform: uppercase; }
.neon-page-hero p { max-width: 50rem; color: var(--lf8-muted); }
.neon-archive-grid .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; }
.neon-pagination { margin-block: 42px; }
.neon-pagination a, .neon-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.neon-search-form .wp-block-search__inside-wrapper { max-width: 720px; }
.neon-search-form input { min-height: 52px; border: 1px solid var(--lf8-line); background: var(--lf8-slate); color: var(--lf8-moon); }
.neon-search-form button { min-height: 52px; border: 0; background: var(--lf8-magenta); color: white; font-weight: 850; }
.neon-404 { min-height: 55vh; display: grid; place-items: center; padding-block: 60px; text-align: center; }
.neon-404 h1 { margin: 0; color: var(--lf8-magenta); font-size: clamp(6rem, 22vw, 15rem); line-height: .75; text-shadow: 0 0 38px rgba(255,45,170,.28); }

/* Single article and WAW-generated article markup */
.neon-article { padding-block: clamp(3rem, 7vw, 6rem); }
.neon-article-header { max-width: 1040px; margin-inline: auto; text-align: center; }
.neon-article-header .wp-block-post-terms { color: var(--lf8-magenta); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.neon-article-header .wp-block-post-title { margin: 20px 0; font-size: clamp(2.75rem, 7.3vw, 6.4rem); letter-spacing: -.06em; }
.neon-article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; color: var(--lf8-muted); font-size: .78rem; }
.neon-article-hero { width: var(--lf8-shell); margin: 38px auto 0; border: 1px solid rgba(24,231,255,.32); border-radius: 24px 5px 24px 5px; box-shadow: 0 0 24px rgba(24,231,255,.15); }
.neon-article-hero .neon-featured-media { min-height: min(58vw, 700px); border-radius: inherit; }
.neon-article-content { max-width: 720px; margin: 54px auto 0; color: #e2e2ec; font-family: var(--lf8-reading); font-size: 1.08rem; line-height: 1.78; }
.neon-article-content > h2 { margin: 2.1em 0 .55em; color: var(--lf8-moon); font-family: var(--lf8-display); font-size: 2.15rem; line-height: 1.05; }
.neon-article-content > h3 { margin-top: 1.7em; font-family: var(--lf8-display); }
.neon-article-content > blockquote { margin: 36px 0; padding: 25px 30px; border-left: 4px solid var(--lf8-magenta); background: linear-gradient(90deg,rgba(255,45,170,.12),transparent); font-family: var(--lf8-display); font-size: 1.55rem; font-weight: 850; line-height: 1.25; }
.neon-article-content figure { max-width: 960px; margin-block: 38px; }
.neon-article-content figcaption { color: var(--lf8-muted); font-family: var(--lf8-body); font-size: .75rem; }
.waw-community-deck,
.waw-seo-deck,
.waw-ai-answer,
.waw-receipts,
.waw-confirmed,
.waw-reported,
.waw-analysis,
.waw-ai-disclosure,
.waw-correction {
  margin: 0 0 18px;
  padding: 20px 22px;
  border: 1px solid rgba(24,231,255,.34);
  border-radius: 15px 3px 15px 3px;
  background: rgba(17,21,43,.92);
  font-family: var(--lf8-body);
}
.waw-community-deck p,
.waw-seo-deck p,
.waw-ai-answer p,
.waw-ai-disclosure p,
.waw-correction p { margin: 0; }
.waw-community-deck::before { content: "COMMUNITY DECK"; }
.waw-seo-deck::before { content: "SEO DECK"; }
.waw-ai-answer::before { content: "THE SHORT VERSION"; }
.waw-ai-disclosure::before { content: "AI-GENERATED EDITORIAL ILLUSTRATION"; }
.waw-correction::before { content: "CORRECTION"; }
.waw-community-deck::before,
.waw-seo-deck::before,
.waw-ai-answer::before,
.waw-ai-disclosure::before,
.waw-correction::before { display: block; margin-bottom: 8px; color: var(--lf8-cyan); font-size: .65rem; font-weight: 900; letter-spacing: .13em; }
.waw-ai-disclosure { border-color: rgba(132,92,255,.5); }
.waw-ai-disclosure::before { color: #b7a3ff; }
.waw-correction { border-color: var(--lf8-correction); }
.waw-correction::before { color: var(--lf8-correction); }
.neon-post-navigation { max-width: 900px; margin: 54px auto 0; padding-top: 30px; border-top: 1px solid var(--lf8-line); }

/* Footer */
.neon-site-footer { border-top: 1px solid var(--lf8-line); background: rgba(4,5,11,.9); }
.neon-footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 48px; }
.neon-footer-inner .wp-block-navigation { justify-content: flex-end; }
.neon-footer-note { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--lf8-line); color: var(--lf8-muted); font-size: .74rem; }

@media (max-width: 1040px) {
  .neon-main-stage .wp-block-post-template { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .neon-main-stage .wp-block-post:first-child { grid-column: 1 / -1; grid-row: auto; }
  .neon-main-stage .wp-block-post:first-child .neon-featured-media { min-height: 500px; }
  .neon-district-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .neon-archive-grid .wp-block-post-template { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 782px) {
  :root { --lf8-shell: min(100% - 28px, 720px); }
  .neon-header-inner { min-height: 78px; gap: 14px; }
  .neon-brand-kicker { display: none; }
  .neon-site-title, .neon-site-title a { font-size: 2rem; }
  .neon-primary-nav { flex: 0 0 auto; }
  .neon-section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .neon-topic-layout { align-items: flex-start; flex-direction: column; gap: 3px; }
  .neon-topic-strip { width: 100%; }
  .neon-feed-zone, .neon-numbers, .neon-newsletter { grid-template-columns: 1fr; }
  .neon-district-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .neon-metric-grid { grid-template-columns: 1fr; }
  .neon-newsletter .wp-block-buttons { justify-content: flex-start; }
  .neon-footer-inner { grid-template-columns: 1fr; }
  .neon-footer-inner .wp-block-navigation { justify-content: flex-start; }
  .neon-footer-note { grid-column: auto; }
}

@media (max-width: 520px) {
  :root { --lf8-shell: calc(100% - 22px); }
  .neon-section { padding-block: 3.2rem; }
  .neon-main-stage .wp-block-post-template,
  .neon-district-grid,
  .neon-archive-grid .wp-block-post-template { grid-template-columns: 1fr; }
  .neon-main-stage .wp-block-post:first-child { grid-column: auto; }
  .neon-main-stage .wp-block-post:first-child .neon-featured-media { min-height: 430px; }
  .neon-main-stage .wp-block-post:not(:first-child) .neon-featured-media { min-height: 210px; }
  .neon-feed-list .wp-block-post { grid-template-columns: 66px minmax(0,1fr); }
  .neon-feed-list .wp-block-post-terms { grid-column: 2; }
  .neon-article-header .wp-block-post-title { font-size: clamp(2.45rem, 13vw, 3.4rem); letter-spacing: -.045em; }
  .neon-article-content { width: var(--lf8-shell); font-size: 1rem; }
  .neon-article-content > blockquote { padding: 20px; font-size: 1.35rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .neon-card,
  .neon-district-card,
  .neon-topic-strip .wp-block-button__link,
  .wp-element-button { transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, background-color 180ms ease; }
  .neon-live-label::before { animation: lf8-live-breathe 2.6s ease-in-out infinite; }
  @keyframes lf8-live-breathe { 50% { opacity: .55; box-shadow: 0 0 3px rgba(199,255,61,.2); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  body { background: white; color: black; }
  body::before, body::after, .neon-site-header, .neon-site-footer, .neon-newsletter, .neon-post-navigation { display: none !important; }
  .neon-article-content, .neon-article-header { width: 100%; max-width: none; color: black; }
  .neon-article-content h2, .neon-article-header h1 { color: black; }
}

/* --------------------------------------------------------------------------
   Midnight Metropolis v2
   Noir editorial architecture first; neon is a signal, never the surface.
   -------------------------------------------------------------------------- */
:root {
  --lf8-void: #050507;
  --lf8-midnight: #0d0d10;
  --lf8-slate: #151519;
  --lf8-elevated: #202026;
  --lf8-moon: #f4f1ea;
  --lf8-muted: #a6a5aa;
  --lf8-paper: #f4f1ea;
  --lf8-ink: #09090b;
  --lf8-line: rgba(244, 241, 234, .2);
  --lf8-panel: linear-gradient(145deg, rgba(24, 24, 28, .96), rgba(7, 7, 9, .985));
  --lf8-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
}

body,
.editor-styles-wrapper {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 8%, rgba(24, 231, 255, .08), transparent 30rem),
    radial-gradient(circle at 88% 16%, rgba(255, 45, 170, .1), transparent 32rem),
    linear-gradient(180deg, #050507, #0d0d10 38rem, #070709 72%, #030304);
  color: var(--lf8-moon);
}

body::before {
  z-index: -2;
  opacity: .18;
  background:
    linear-gradient(180deg, rgba(5,5,7,.16), rgba(5,5,7,.9)),
    url("../images/midnight-metropolis/article-glass.webp") center top / cover no-repeat;
  background-attachment: fixed;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 50%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0 50%, transparent 92%);
}

body::after {
  z-index: -1;
  top: 11rem;
  height: min(78vw, 58rem);
  opacity: .11;
  background: url("../images/midnight-metropolis/metropolis-hero.webp") center / cover no-repeat;
  clip-path: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 62%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 62%, transparent);
}

.neon-panel,
.neon-card,
.neon-district-card,
.neon-article-hero,
.waw-community-deck,
.waw-seo-deck,
.waw-ai-answer,
.waw-receipts,
.waw-confirmed,
.waw-reported,
.waw-analysis,
.waw-ai-disclosure,
.waw-correction {
  border-radius: 0;
}

.neon-site-header {
  border-bottom-color: rgba(244,241,234,.22);
  background: rgba(5,5,7,.88);
  -webkit-backdrop-filter: blur(22px) saturate(120%);
  backdrop-filter: blur(22px) saturate(120%);
}
.neon-header-inner { min-height: 86px; }
.neon-brand-kicker { color: var(--lf8-moon); opacity: .68; }
.neon-site-title,
.neon-site-title a {
  color: var(--lf8-moon);
  text-shadow: 0 0 20px rgba(244,241,234,.12), 0 0 34px rgba(255,45,170,.2);
}
.neon-primary-nav .wp-block-navigation-item__content { color: rgba(244,241,234,.66); }

.neon-topic-boulevard {
  position: relative;
  border-block-color: rgba(244,241,234,.17);
  background: rgba(5,5,7,.84);
}
.neon-topic-label { color: var(--lf8-moon); }
.neon-topic-strip .wp-block-button__link {
  border-color: rgba(244,241,234,.38);
  border-radius: 0;
  background: transparent;
  color: var(--lf8-moon);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.neon-topic-strip .wp-block-button__link:hover {
  border-color: var(--lf8-magenta);
  background: var(--lf8-paper);
  color: var(--lf8-ink);
  box-shadow: 8px 8px 0 rgba(255,45,170,.34);
}

.neon-section { position: relative; }
.neon-eyebrow { color: var(--lf8-cyan); letter-spacing: .2em; }
.neon-section-title {
  color: var(--lf8-moon);
  font-size: clamp(3.2rem, 7vw, 7.2rem);
  letter-spacing: -.075em;
  line-height: .79;
}
.neon-section-heading { padding-bottom: 1.2rem; border-bottom: 1px solid rgba(244,241,234,.22); }
.neon-section-dek { color: rgba(244,241,234,.68); }

.neon-main-stage .wp-block-post-template {
  gap: 1px;
  padding: 1px;
  background: rgba(244,241,234,.26);
}
.neon-main-stage .wp-block-post {
  min-width: 0;
  border: 0;
  background: #09090c;
}
.neon-card:hover {
  border-color: transparent;
  box-shadow: inset 0 0 0 1px var(--lf8-cyan), 0 24px 70px rgba(0,0,0,.42);
}
.neon-featured-media {
  background:
    linear-gradient(180deg, rgba(5,5,7,.08), rgba(5,5,7,.66)),
    url("../images/midnight-metropolis/article-glass.webp") center / cover no-repeat;
}
.neon-featured-media::after { display: none; }
.neon-featured-media::before {
  background: linear-gradient(180deg, rgba(5,5,7,0) 34%, rgba(5,5,7,.12) 58%, rgba(5,5,7,.94));
}
.neon-main-stage .wp-block-post:first-child {
  position: relative;
  min-height: 650px;
}
.neon-main-stage .wp-block-post:first-child > .neon-card {
  min-height: 650px;
  height: 100%;
}
.neon-main-stage .wp-block-post:first-child .neon-featured-media {
  position: absolute;
  inset: 0;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(5,5,7,.02), rgba(5,5,7,.92)),
    url("../images/midnight-metropolis/metropolis-hero.webp") center / cover no-repeat;
}
.neon-main-stage .wp-block-post:first-child .neon-card-copy {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  max-width: 46rem;
  padding: clamp(26px, 4vw, 54px);
}
.neon-main-stage .wp-block-post:first-child .wp-block-post-title,
.neon-main-stage .wp-block-post:first-child .preview-stage-title {
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  line-height: .92;
}
.neon-main-stage .wp-block-post:not(:first-child):nth-child(2) .neon-featured-media {
  background-image: linear-gradient(180deg, transparent 32%, rgba(5,5,7,.84)), url("../images/midnight-metropolis/district-canyon.webp");
  background-position: center 64%;
}
.neon-main-stage .wp-block-post:not(:first-child):nth-child(3) .neon-featured-media {
  background-image: linear-gradient(180deg, transparent 32%, rgba(5,5,7,.84)), url("../images/midnight-metropolis/article-glass.webp");
  background-position: 70% center;
}
.neon-main-stage .wp-block-post:not(:first-child):nth-child(4) .neon-featured-media {
  background-image: linear-gradient(180deg, transparent 32%, rgba(5,5,7,.84)), url("../images/midnight-metropolis/metropolis-hero.webp");
  background-position: 24% center;
}
.neon-main-stage .wp-block-post:not(:first-child):nth-child(5) .neon-featured-media {
  background-image: linear-gradient(180deg, transparent 32%, rgba(5,5,7,.84)), url("../images/midnight-metropolis/district-canyon.webp");
  background-position: 74% center;
}

.neon-feed-panel { border-top: 4px solid var(--lf8-paper); background: rgba(7,7,9,.92); }
.neon-feed-list .wp-block-post { border-top-color: rgba(244,241,234,.2); }
.neon-spotlight {
  border: 0;
  background:
    linear-gradient(180deg, rgba(5,5,7,.32), rgba(5,5,7,.94)),
    url("../images/midnight-metropolis/article-glass.webp") 68% center / cover no-repeat;
}

#city-districts { isolation: isolate; }
#city-districts::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  content: "";
  opacity: .42;
  background:
    linear-gradient(90deg, rgba(5,5,7,.97), rgba(5,5,7,.48) 50%, rgba(5,5,7,.96)),
    linear-gradient(180deg, rgba(5,5,7,.96), transparent 24%, transparent 70%, rgba(5,5,7,.98)),
    url("../images/midnight-metropolis/district-canyon.webp") center / cover no-repeat;
}
.neon-district-grid { gap: 1px; padding: 1px; background: rgba(244,241,234,.3); }
.neon-district-card {
  min-height: 240px;
  border: 0;
  background: linear-gradient(155deg, rgba(7,7,9,.7), rgba(7,7,9,.96));
}
.neon-district-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  content: "";
  background: var(--district-color, var(--lf8-violet));
  box-shadow: 0 0 22px color-mix(in srgb, var(--district-color, var(--lf8-violet)) 50%, transparent);
}
.neon-district-card::after { border-radius: 0; transform: rotate(45deg); }
.neon-district-card h3 { color: var(--lf8-moon); }

.neon-numbers {
  border: 0;
  background: var(--lf8-paper);
  color: var(--lf8-ink);
}
.neon-numbers .neon-eyebrow,
.neon-numbers .neon-section-title,
.neon-numbers .neon-section-dek,
.neon-numbers .neon-metric-card,
.neon-numbers .neon-metric-card strong { color: var(--lf8-ink); }
.neon-numbers .neon-metric-card { border-color: rgba(9,9,11,.25); background: transparent; }

.neon-newsletter {
  border-block: 1px solid rgba(244,241,234,.26);
  background:
    linear-gradient(90deg, rgba(5,5,7,.92), rgba(5,5,7,.46), rgba(5,5,7,.93)),
    url("../images/midnight-metropolis/metropolis-hero.webp") center 58% / cover no-repeat;
}
.neon-newsletter .wp-block-button__link { background: var(--lf8-paper); color: var(--lf8-ink); }

.neon-article { padding-top: 0; }
.neon-article-header {
  position: relative;
  min-height: min(76vh, 760px);
  max-width: none;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
  padding: clamp(5rem, 12vw, 9rem) max(24px, calc((100vw - 1180px) / 2)) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(5,5,7,.92), rgba(5,5,7,.34) 56%, rgba(5,5,7,.74)),
    linear-gradient(180deg, rgba(5,5,7,.2), rgba(5,5,7,.92)),
    url("../images/midnight-metropolis/article-glass.webp") center / cover no-repeat;
}
.neon-article-header > * { width: min(100%, 980px); margin-right: auto; }
.neon-article-header .wp-block-post-title,
.neon-article-header h1 {
  max-width: 980px;
  margin: 18px 0;
  font-size: clamp(3.4rem, 8vw, 8rem);
  line-height: .87;
  text-wrap: balance;
}
.neon-article-meta { justify-content: flex-start; color: rgba(244,241,234,.72); }
.neon-article-hero { margin-top: 0; border: 0; box-shadow: none; }
.neon-article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(38px, 7vw, 86px) clamp(22px, 6vw, 72px);
  background: var(--lf8-paper);
  color: #17171a;
  box-shadow: 0 30px 100px rgba(0,0,0,.36);
}
.neon-article-content > h2,
.neon-article-content > h3 { color: var(--lf8-ink); }
.neon-article-content a { color: #9d075f; }
.neon-article-content > blockquote { color: var(--lf8-ink); background: linear-gradient(90deg,rgba(255,45,170,.14),transparent); }
.neon-article-content .waw-community-deck,
.neon-article-content .waw-seo-deck,
.neon-article-content .waw-ai-answer,
.neon-article-content .waw-receipts,
.neon-article-content .waw-confirmed,
.neon-article-content .waw-reported,
.neon-article-content .waw-analysis,
.neon-article-content .waw-ai-disclosure,
.neon-article-content .waw-correction { background: #101014; color: var(--lf8-moon); }

@media (max-width: 1040px) {
  .neon-main-stage .wp-block-post:first-child { min-height: 580px; }
  .neon-main-stage .wp-block-post:first-child > .neon-card { min-height: 580px; }
}

@media (max-width: 782px) {
  body::before { background-attachment: scroll; }
  .neon-section-title { font-size: clamp(3rem, 14vw, 5.2rem); }
  .neon-main-stage .wp-block-post:first-child { min-height: 540px; }
  .neon-main-stage .wp-block-post:first-child > .neon-card { min-height: 540px; }
  .neon-article-header { min-height: 620px; padding-inline: 24px; }
  .neon-article-header .wp-block-post-title,
  .neon-article-header h1 { font-size: clamp(3.2rem, 12vw, 5.4rem); }
}

@media (max-width: 520px) {
  .neon-section-heading { margin-bottom: 20px; }
  .neon-main-stage .wp-block-post:first-child { min-height: 510px; }
  .neon-main-stage .wp-block-post:first-child > .neon-card { min-height: 510px; }
  .neon-main-stage .wp-block-post:first-child .neon-card-copy { padding: 24px 20px; }
  .neon-main-stage .wp-block-post:first-child .wp-block-post-title,
  .neon-main-stage .wp-block-post:first-child .preview-stage-title { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .neon-district-card { min-height: 210px; }
  .neon-article-header { min-height: 560px; padding: 7rem 18px 3rem; }
  .neon-article-header .wp-block-post-title,
  .neon-article-header h1 { font-size: clamp(2.9rem, 13.5vw, 4.2rem); }
  .neon-article-content { width: calc(100% - 22px); padding-inline: 22px; }
}

/* WordPress runtime parity: constrained blocks and sparse live inventory. */
.neon-shell.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  width: 100%;
  max-width: none !important;
}

.neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}
.neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:first-child {
  grid-column: 1;
  grid-row: 1;
}
.neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}
.neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:nth-child(2) > .neon-card {
  height: 100%;
}
.neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:nth-child(2) .neon-featured-media {
  min-height: 45%;
}

@media (max-width: 1040px) {
  .neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) {
    grid-template-columns: 1fr;
  }
  .neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:first-child,
  .neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
  .neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:nth-child(2) > .neon-card {
    height: auto;
  }
  .neon-main-stage .wp-block-post-template:not(:has(> .wp-block-post:nth-child(3))) > .wp-block-post:nth-child(2) .neon-featured-media {
    min-height: 260px;
  }
}
