/* ============================================================
   Waterglen Homeowners Awareness — landing page styles
   Investigative-editorial theme: warm near-black, off-white,
   signal red accent, Fraunces display + Inter body.
   ============================================================ */

:root {
  --ink-950: #141110;
  --ink-900: #1b1715;
  --ink-850: #221d1a;
  --ink-800: #2b2521;
  --line: rgba(242, 237, 230, 0.1);
  --line-strong: rgba(242, 237, 230, 0.2);
  --paper: #f2ede6;
  --paper-dim: #b3a99d;
  --paper-faint: #877e73;
  --red: #e5484d;
  --red-deep: #c73439;
  --amber: #e0a33e;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 72rem;
  --radius: 10px;
  --header-h: 4.25rem;
  --notice-h: 2.1rem;
}

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

/* The hidden attribute must always win, even over classes that set
   display (e.g. .signup-success's flex overlay). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--notice-h) + 1rem);
}

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

::selection { background: var(--red); color: #fff; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.muted { color: var(--paper-dim); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease,
              border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-deep);
  box-shadow: 0 6px 24px rgba(229, 72, 77, 0.35);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn-ghost:hover {
  border-color: var(--paper);
  background: rgba(242, 237, 230, 0.06);
}

.btn-small { padding: 0.5rem 1.15rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

:where(a, button, input):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Hero video ---------- */

.hero-video {
  width: 100%;
  max-width: 52rem;
  margin: 2.5rem auto 2.75rem;
}

.hero-video-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.7rem;
  text-align: center;
}

.hero-video-frame { position: relative; }

.hero-video video {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(229, 72, 77, 0.35);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(229, 72, 77, 0.12);
}

.hero-unmute {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(224, 163, 62, 0.6);
  background: rgba(20, 17, 16, 0.82);
  color: var(--amber);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.hero-unmute:hover { background: rgba(20, 17, 16, 0.95); }

/* ---------- Development notice ---------- */

.dev-notice {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--notice-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: #2b2015;
  border-bottom: 1px solid rgba(224, 163, 62, 0.35);
}

.dev-notice p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  text-align: center;
  color: var(--paper-dim);
}

.dev-notice strong {
  color: var(--amber);
  font-weight: 600;
}

@media (max-width: 36rem) {
  :root { --notice-h: 3.2rem; }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  top: var(--notice-h);
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(20, 17, 16, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--paper);
}

.wordmark-glyph {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--red);
  flex-shrink: 0;
}

.wordmark-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark-text em {
  font-style: italic;
  font-weight: 600;
  color: var(--paper-dim);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--paper-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-nav a:not(.btn):hover { color: var(--paper); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--notice-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 40rem at 15% 0%, rgba(229, 72, 77, 0.12), transparent 60%),
    radial-gradient(50rem 35rem at 90% 90%, rgba(224, 163, 62, 0.07), transparent 60%);
}
.hero-backdrop::after {
  /* film-grain texture */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  max-width: 56rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 900;
  margin-bottom: 0.5em;
}

.accent-underline {
  position: relative;
  white-space: nowrap;
  color: var(--red);
}
.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.09em;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-draw 0.9s ease 1s forwards;
}
@keyframes underline-draw { to { transform: scaleX(1); } }

.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--paper-dim);
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-attribution {
  font-size: 0.9rem;
  color: var(--paper-faint);
}
.hero-attribution strong { color: var(--paper-dim); }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
}
.scroll-cue-line {
  display: block;
  width: 1px;
  height: 3rem;
  background: linear-gradient(var(--paper-faint), transparent);
  animation: cue-drift 2s ease-in-out infinite;
}
@keyframes cue-drift {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(0.5rem); opacity: 0.4; }
}

/* ---------- Stats ---------- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--ink-900);
  padding: 3.25rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-number-accent { color: var(--red); }

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

/* ---------- Sections ---------- */

.section { padding: 6.5rem 0; }
.section-alt {
  background: var(--ink-900);
  border-block: 1px solid var(--line);
}

.section-header {
  max-width: 46rem;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.section-lede {
  color: var(--paper-dim);
  font-size: 1.08rem;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5em;
}

.card p {
  font-size: 0.95rem;
  color: var(--paper-dim);
}

.card-index {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.card-grid-teaser { grid-template-columns: repeat(4, 1fr); }

.card-teaser { padding-top: 1.5rem; }

.badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(224, 163, 62, 0.45);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Get involved ---------- */

.section-cta {
  background:
    radial-gradient(50rem 30rem at 85% 15%, rgba(229, 72, 77, 0.1), transparent 60%),
    var(--ink-900);
  border-top: 1px solid var(--line);
}

.involved-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: start;
}

.involved-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }

.involved-contact {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  color: var(--paper-dim);
}
.involved-contact a {
  color: var(--paper);
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.signup {
  position: relative;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.signup-fields {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 1.4rem;
}

.field { display: block; }

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 0.45rem;
}

.field-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--paper-faint);
}

.field input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--ink-950);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease;
}
.field input::placeholder { color: var(--paper-faint); }
.field input:focus {
  outline: none;
  border-color: var(--amber);
}

.signup-error {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--red);
}

.signup-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--paper-faint);
}

.signup-success {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.75rem;
  background: var(--ink-850);
  border-radius: var(--radius);
  text-align: center;
}
.signup-success h3 { color: var(--amber); font-size: 1.5rem; }
.signup-success p { color: var(--paper-dim); font-size: 0.95rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0;
  background: var(--ink-950);
}

.footer-inner {
  display: grid;
  gap: 1.75rem;
  max-width: 46rem;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-brand .wordmark-glyph { color: var(--red); margin-top: 0.2rem; }
.footer-brand p { font-size: 0.95rem; color: var(--paper-dim); }
.footer-brand strong { color: var(--paper); }

.footer-disclaimer {
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--paper-faint);
}

.footer-legal {
  font-size: 0.82rem;
  color: var(--paper-faint);
}

/* ---------- Scroll reveals ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.12s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.24s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.36s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.48s; }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 60rem) {
  .card-grid,
  .card-grid-teaser { grid-template-columns: repeat(2, 1fr); }

  .involved-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 44rem) {
  .section { padding: 4.5rem 0; }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + var(--notice-h));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.5rem;
    background: rgba(20, 17, 16, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-0.5rem);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav a:not(.btn) {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .site-nav .btn { margin-top: 1.1rem; text-align: center; }

  .nav-toggle { display: flex; }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .card-grid,
  .card-grid-teaser { grid-template-columns: 1fr; }

  .signup { padding: 1.6rem 1.25rem; }
  .signup-success { padding: 1.6rem 1.25rem; }
}

/* ---------- Reduced motion ---------- */

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .accent-underline::after {
    animation: none;
    transform: scaleX(1);
  }

  .scroll-cue-line { animation: none; }

  .btn, .card { transition: none; }
}

/* ============================================================
   Subpage components (Surveillance, Petition)
   ============================================================ */

/* Shorter hero for interior pages */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--notice-h) + 4.5rem) 0 3.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; max-width: 52rem; }
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
}
.page-hero .lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--paper-dim);
  max-width: 42rem;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--paper-faint);
}
.breadcrumb a { color: var(--paper-dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); }

/* Prose blocks */
.prose { max-width: 44rem; }
.prose h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-top: 2.5rem;
}
.prose p { color: var(--paper-dim); }
.prose .callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--red);
  background: var(--ink-850);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
}

/* Petition demands */
.demand-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.demand-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 1.5rem;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.demand-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--red);
}
.demand-list h3 { margin: 0 0 0.25em; font-size: 1.2rem; }
.demand-list p { margin: 0; font-size: 0.95rem; color: var(--paper-dim); }

/* Petition progress meter */
.petition-progress { margin: 0 0 1.5rem; }
.petition-count {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
}
.petition-count span { color: var(--red); }
.petition-goal { font-size: 0.9rem; color: var(--paper-dim); margin-top: 0.4rem; }
.meter {
  margin-top: 0.9rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--ink-800);
  overflow: hidden;
}
.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  transition: width 1s ease;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 55rem) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   Accountability pages (group + individual board members)
   ============================================================ */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 60rem) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .people-grid { grid-template-columns: 1fr; } }

.person-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.person-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, var(--ink-800) 0 10px, var(--ink-850) 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--paper-faint);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem;
  overflow: hidden;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.person-photo--sm { max-width: 12rem; }

.person-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin: 0; }
.person-role { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); margin: 0; }

/* Individual page header */
.person-header {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 40rem) { .person-header { grid-template-columns: 1fr; } }

/* Infographic */
.infographic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 40rem) { .infographic { grid-template-columns: 1fr; } }
.info-stat {
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  text-align: center;
}
.info-stat .k {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--red);
}
.info-stat .l {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.info-caption { font-size: 0.8rem; color: var(--paper-faint); margin-top: -1rem; }

/* Email action tool */
.email-tool {
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2rem;
}
.email-tool h3 { margin-top: 0; font-size: 1.3rem; }
.email-preview {
  background: var(--ink-950);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin: 1.1rem 0;
  font-size: 0.92rem;
  color: var(--paper-dim);
  white-space: pre-wrap;
  max-height: 18rem;
  overflow-y: auto;
}
.email-meta { font-size: 0.85rem; color: var(--paper-faint); margin-bottom: 0.75rem; }
.email-meta strong { color: var(--paper-dim); }

/* Testimonial slots (real quotes only) */
.testimonials { display: grid; gap: 1rem; margin: 1.5rem 0; }
.testimonial {
  border-left: 3px solid var(--line-strong);
  padding: 0.75rem 0 0.75rem 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--paper);
}
.testimonial cite { display: block; margin-top: 0.5rem; font-size: 0.82rem; font-style: normal; color: var(--paper-faint); }
.testimonial--placeholder { opacity: 0.55; }

/* ============================================================
   Landing-page data sections (national context, mgmt company)
   ============================================================ */

.bar-rows { display: grid; gap: 1.5rem; margin: 2.5rem 0 1rem; }
.bar-row .bar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
}
.bar-row .bar-label { font-size: 1rem; color: var(--paper); }
.bar-row .bar-value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.bar-track {
  height: 0.7rem;
  border-radius: 999px;
  background: var(--ink-800);
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.source-note { font-size: 0.8rem; color: var(--paper-faint); margin-top: 0.5rem; }
.source-note a { color: var(--paper-dim); text-underline-offset: 2px; }

/* Factual box: the management company */
.factbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 44rem) { .factbox { grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; } }
.factbox-figure { text-align: center; padding-right: 1.5rem; border-right: 1px solid var(--line); }
@media (max-width: 44rem) { .factbox-figure { border-right: none; padding-right: 0; } }
.factbox-figure .big {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
}
.factbox-figure .cap { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-dim); margin-top: 0.4rem; }
.factbox ul { margin: 0.75rem 0 0; padding-left: 1.1rem; }
.factbox li { color: var(--paper-dim); font-size: 0.95rem; margin-bottom: 0.4rem; }
.factbox blockquote {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--paper);
}

/* Live resident poll */
.poll { margin-top: 2.5rem; padding: 2rem; background: var(--ink-850); border: 1px solid var(--line); border-radius: var(--radius); }
.poll h3 { margin-top: 0; }
.poll-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0; }
.poll-btn {
  flex: 1 1 12rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--ink-950);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.poll-btn:hover { border-color: var(--paper); }
.poll-result { margin-top: 1rem; }
.poll-result[hidden] { display: none; }

/* ---------- Verdict callout + Waterglen dissatisfaction stat ---------- */

.verdict {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin: 0 0 2.75rem;
  padding: 1.6rem 1.75rem;
  background: linear-gradient(90deg, rgba(229, 72, 77, 0.12), transparent 80%);
  border: 1px solid rgba(229, 72, 77, 0.4);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.verdict-tag {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  padding-top: 0.2rem;
}
.verdict p { margin: 0; font-size: 1.15rem; color: var(--paper); }
.verdict p strong { color: var(--red); }
.verdict .fineprint { display: block; margin-top: 0.5rem; font-size: 0.82rem; color: var(--paper-faint); }
@media (max-width: 40rem) { .verdict { flex-direction: column; gap: 0.6rem; } }

.dissat {
  margin: 0 0 2.75rem;
  padding: 2rem;
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.dissat-figure {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.dissat-pct {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 12vw, 6rem);
  line-height: 0.9;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.dissat-pct.is-pending { color: var(--paper-faint); font-size: clamp(1.8rem, 6vw, 2.6rem); }
.dissat-cap { font-size: 1.15rem; color: var(--paper); max-width: 22rem; }
.dissat .bar-track { margin-top: 1.4rem; height: 0.9rem; }
.dissat-source { margin-top: 0.9rem; }

/* Honeypot: invisible to humans, present for bots. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

