:root {
  --bg: #0a1220;
  --bg-soft: #111d2f;
  --panel: #f5f0e7;
  --panel-strong: #fffaf2;
  --ink: #172132;
  --text: #f5f2eb;
  --muted: #b8c3d4;
  --accent: #7fa4c7;
  --accent-strong: #cce0f5;
  --danger: #7e1f2a;
  --danger-soft: rgba(126, 31, 42, 0.2);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  --radius: 20px;
  --max-width: 1200px;
  --nav-height: 72px;
  --hero-max-width: 1440px;
  --nav-offset: calc(var(--nav-height) + 1.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(127, 164, 199, 0.12), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(126, 31, 42, 0.16), transparent 24%),
    linear-gradient(180deg, #08111d 0%, #0f1a2d 38%, #132138 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  padding-top: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.15;
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.8rem 1rem;
  background: var(--panel-strong);
  color: var(--ink);
  border-radius: 999px;
  z-index: 200;
}

.skip-link:focus {
  top: 1rem;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}

.hero {
  width: min(calc(100% - 2rem), var(--hero-max-width));
}

.political-disclaimer {
  margin: 0;
  border: 1px solid rgba(127, 164, 199, 0.16);
  border-radius: 14px;
  background: rgba(11, 20, 35, 0.88);
  color: rgba(245, 242, 235, 0.9);
  font-size: 0.83rem;
  line-height: 1.45;
}

.political-disclaimer-footer {
  padding: 0.7rem 0.15rem 0 0.15rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  background: transparent;
  color: rgba(221, 229, 240, 0.88);
  font-size: 0.86rem;
  line-height: 1.5;
}

.top-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-height);
  width: 100%;
  margin: 0;
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(7, 14, 26, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.brand-mark {
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-label {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(11, 20, 35, 0.98);
  box-shadow: var(--shadow);
}

.nav-links.is-open {
  display: flex;
}

.nav-links a {
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  background: rgba(127, 164, 199, 0.14);
  color: var(--text);
}

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0 3rem;
}

.hero-copy,
.hero-dossier,
.hero-visual,
.panel,
.card,
.callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy {
  grid-column: 1 / -1;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 44%),
    linear-gradient(180deg, rgba(17, 29, 47, 0.95), rgba(8, 16, 28, 0.92));
}

.hero-visual {
  position: relative;
  display: block;
  grid-column: 1 / -1;
  overflow: clip;
  min-height: clamp(20rem, 58vw, 26rem);
  height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 236, 211, 0.72), transparent 34%),
    linear-gradient(145deg, rgba(247, 239, 227, 0.92), rgba(216, 188, 150, 0.8) 42%, rgba(88, 54, 35, 0.94));
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 28%, rgba(9, 17, 30, 0.18) 100%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%);
  pointer-events: none;
}

.hero-visual::after {
  content: "Public records\\A City issue notes\\A Accountability checklist";
  position: absolute;
  inset: auto 1.4rem 1.4rem;
  max-width: 14rem;
  color: rgba(31, 24, 17, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.55;
  text-transform: uppercase;
  white-space: pre-line;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 1;
  pointer-events: none;
}

.hero-visual.is-missing::after {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-visual.is-missing .hero-visual-image {
  opacity: 0;
}

.eyebrow,
.section-kicker,
.dossier-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.3rem);
  max-width: 16ch;
}

.hero-copy > * {
  max-width: 72rem;
}

.hero-subheadline,
.section-intro,
.footer-disclaimer,
.hero-disclaimer {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--danger);
  color: #fff6f4;
}

.button-secondary {
  background: rgba(127, 164, 199, 0.14);
  border: 1px solid rgba(127, 164, 199, 0.26);
}

.hero-dossier {
  grid-column: 1 / -1;
  padding: 1.5rem;
  background: rgba(11, 20, 35, 0.84);
}

.dossier-header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.dossier-intro {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
}

.dossier-grid {
  display: grid;
  gap: 0.85rem;
}

.dossier-item {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(127, 164, 199, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(127, 164, 199, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(17, 29, 47, 0.88);
  color: var(--panel-strong);
  font-weight: 600;
}

.dossier-points {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.section {
  padding: 2.5rem 0;
  scroll-margin-top: var(--nav-offset);
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 1.4rem;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 0.5rem;
}

.panel,
.card {
  background: rgba(17, 29, 47, 0.86);
}

.panel {
  padding: 1.5rem;
}

.panel-light {
  background: var(--panel);
  color: var(--ink);
  border-color: rgba(23, 33, 50, 0.08);
}

.card {
  overflow: clip;
}

.case-grid,
.split-layout,
.business-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

.callout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(126, 31, 42, 0.92), rgba(84, 17, 26, 0.95));
}

.compact-callout {
  min-height: 7.5rem;
}

.callout p,
.compact-callout p {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 700;
  line-height: 1.2;
}

.contrast-grid,
.issue-grid {
  display: grid;
  gap: 1rem;
}

.contrast-card h3,
.parking-panel h3,
.placeholder-title {
  margin-top: 0;
}

.contrast-card ul,
.question-list,
.detailed,
.source-links {
  margin: 0;
  padding-left: 1.2rem;
}

.contrast-problem {
  background: linear-gradient(180deg, rgba(126, 31, 42, 0.2), rgba(17, 29, 47, 0.9));
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.35rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-icon {
  position: relative;
  flex: 0 0 1rem;
  width: 1rem;
  height: 1rem;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1rem;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, opacity 180ms ease;
}

.accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  opacity: 0;
}

.accordion-panel {
  padding: 0 1.35rem 1.35rem;
}

.accordion-panel p:first-child {
  margin-top: 0;
}

.parking-panel,
.questions-panel {
  background: rgba(12, 21, 36, 0.88);
}

.updates-list {
  display: grid;
  gap: 0.9rem;
}

.update-row {
  padding: 0;
  border: 1px solid rgba(127, 164, 199, 0.14);
  background:
    linear-gradient(180deg, rgba(127, 164, 199, 0.06), rgba(17, 29, 47, 0.88)),
    rgba(17, 29, 47, 0.9);
}

.update-row-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  padding: 0;
}

.update-row-trigger:hover {
  background: transparent;
}

.update-row-media {
  display: flex;
  min-width: 0;
}

.update-visual {
  display: grid;
  flex: 1;
  align-content: center;
  justify-items: center;
  gap: 0.8rem;
  min-height: 12.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(127, 164, 199, 0.12);
  background:
    radial-gradient(circle at top left, rgba(127, 164, 199, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(10, 18, 31, 0.94), rgba(21, 34, 56, 0.78));
  text-align: center;
}

.update-visual-parking {
  background:
    radial-gradient(circle at 18% 22%, rgba(127, 164, 199, 0.16), transparent 42%),
    linear-gradient(160deg, rgba(9, 17, 30, 0.96), rgba(24, 40, 64, 0.8));
}

.update-visual-questions {
  background:
    radial-gradient(circle at 82% 18%, rgba(127, 164, 199, 0.14), transparent 40%),
    linear-gradient(160deg, rgba(9, 17, 30, 0.96), rgba(22, 36, 58, 0.82));
}

.update-visual-record {
  background:
    radial-gradient(circle at 50% 0%, rgba(126, 31, 42, 0.16), transparent 40%),
    linear-gradient(160deg, rgba(9, 17, 30, 0.96), rgba(23, 35, 55, 0.82));
}

.update-visual-title {
  max-width: 12ch;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.02;
}

.update-visual-rule {
  width: min(9rem, 42%);
  height: 1px;
  background: linear-gradient(90deg, rgba(127, 164, 199, 0.12), rgba(127, 164, 199, 0.6), rgba(127, 164, 199, 0.12));
}

.update-visual-copy {
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.update-row-copy {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  padding: 1.25rem 1.35rem;
  min-width: 0;
}

.update-date {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.update-date {
  background: rgba(127, 164, 199, 0.14);
  color: var(--accent-strong);
}

.update-title {
  font-size: 1.1rem;
  line-height: 1.25;
}

.update-summary {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.5;
}

.update-readmore {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.update-row-panel {
  padding-top: 0;
  border-top: 1px solid rgba(127, 164, 199, 0.12);
}

.update-row-panel p {
  max-width: 58rem;
}

.caption,
.caution-note,
.contact-line,
.closing-line {
  font-weight: 600;
}

.caption {
  padding: 1rem;
  border-left: 4px solid var(--accent);
  background: rgba(127, 164, 199, 0.08);
}

.caution-note {
  padding: 1rem;
  border-radius: 16px;
  background: rgba(126, 31, 42, 0.08);
}

.media-placeholder {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(245, 240, 231, 0.08), rgba(127, 164, 199, 0.08)),
    rgba(11, 20, 35, 0.82);
}

.questions-panel {
  padding: 1.5rem;
}

.detailed {
  columns: 1;
  gap: 2rem;
}

.site-footer {
  display: grid;
  gap: 1rem;
  padding: 2rem 0 3rem;
  text-align: left;
}

.footer-grid {
  align-items: start;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 20, 35, 0.88);
  text-align: left;
}

.footer-brand-block {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
}

.footer-brand,
.footer-tagline,
.footer-links a,
.political-disclaimer-footer,
.footer-corrections,
.footer-source-basis,
.footer-disclaimer {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: flex-start;
}

.political-disclaimer-footer,
.footer-corrections,
.footer-source-basis,
.footer-disclaimer {
  margin: 0;
}

.footer-corrections {
  padding: 0.1rem 0.15rem 0;
}

.footer-corrections strong,
.footer-corrections a {
  font-weight: inherit;
  color: inherit;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(127, 164, 199, 0.28);
  border-radius: 999px;
  background: rgba(11, 20, 35, 0.92);
  color: var(--text);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
  }

  .hero-copy {
    grid-column: 1 / span 7;
  }

  .hero-visual {
    grid-column: 8 / -1;
    min-height: 32.5rem;
  }

  .hero-dossier {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .dossier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: 1.3fr 0.8fr;
    align-items: stretch;
  }

  .contrast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  }

  .update-row-trigger {
    grid-template-columns: minmax(15rem, 18rem) minmax(0, 1fr);
  }

  .update-visual {
    min-height: 100%;
    border-right: 1px solid rgba(127, 164, 199, 0.12);
    border-bottom: 0;
  }

  .detailed {
    columns: 2;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav-links a {
    padding-inline: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 6vw, 6.4rem);
  }

  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dossier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-corrections,
  .footer-disclaimer {
    padding-inline: 0.25rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
