/* =========================================================================
   No Conshy Data Centers, Stylesheet
   Aesthetic: civic-editorial. Warm cream paper, strong sans headlines,
   resolute red accents, dark warm header. Built for clarity at a glance.
   ========================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --ink:        #1a1614;   /* near-black warm */
  --ink-2:      #2a221e;   /* header bg */
  --ink-3:      #3a302b;   /* slightly lighter dark */
  --paper:      #faf6f0;   /* warm cream, primary bg */
  --paper-2:    #ffffff;   /* card bg */
  --paper-3:    #f3ede2;   /* tinted bands */
  --red:        #c8281e;   /* primary red accent */
  --red-deep:   #8a1d15;   /* hover/dark */
  --red-soft:   #fbe7e3;   /* alert backgrounds */
  --red-line:   #e6b8b3;   /* soft red borders */
  --green:      #4f7a4d;   /* action / volunteer */
  --green-soft: #e3eede;
  --gold:       #b88318;   /* highlight */
  --gold-soft:  #f7ecd0;
  --slate:      #4a453f;   /* warm body text */
  --slate-2:    #6b6359;   /* muted */
  --line:       #e5dfd6;   /* default border */
  --line-2:     #d6cfc2;   /* stronger border */

  /* Type */
  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:    'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, "SF Mono", Menlo, monospace;

  /* Sizing */
  --container:    1180px;
  --container-narrow: 760px;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(26,22,20,0.06), 0 1px 1px rgba(26,22,20,0.04);
  --shadow:     0 4px 14px rgba(26,22,20,0.08), 0 2px 4px rgba(26,22,20,0.04);
  --shadow-lg:  0 12px 40px rgba(26,22,20,0.12), 0 4px 12px rgba(26,22,20,0.06);

  /* Motion */
  --ease:       cubic-bezier(.2,.8,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
a { color: var(--red); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--red-deep); }
ul, ol { padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.028em; line-height: 1.08; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 700; letter-spacing: -0.018em; }
h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

p { margin: 0 0 1.1em; }
p.lead {
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}

strong, b { color: var(--ink); font-weight: 700; }

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--red);
  background: var(--paper-2);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
}
blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--slate-2);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.wrap-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4rem 0; }
section.tight { padding: 2.5rem 0; }
section.tinted { background: var(--paper-3); }
section.cream-2 { background: var(--paper-2); }
section.dark { background: var(--ink-2); color: #ddd2c4; }
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark .eyebrow { color: #ffb3a8; }

@media (max-width: 640px) {
  section { padding: 2.5rem 0; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--ink-2);
  color: #ddd2c4;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--red);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.nav-brand:hover { color: #fff; }
.nav-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-text small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb3a8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  color: #ddd2c4;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-menu a.is-active { color: #fff; background: rgba(200,40,30,0.25); }
.nav-menu .nav-cta {
  background: var(--red);
  color: #fff;
  margin-left: 0.5rem;
  padding: 0.55rem 1rem;
  font-weight: 600;
}
.nav-menu .nav-cta:hover { background: var(--red-deep); color: #fff; }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.06);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: rgba(255,255,255,0.12); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--ink-2);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 0.5rem 1.5rem 1rem;
    gap: 0.15rem;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 0.75rem 1rem; }
  .nav-menu .nav-cta { margin: 0.5rem 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: transform .12s var(--ease), background .15s var(--ease), color .15s var(--ease), box-shadow .15s var(--ease);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); color: #fff; box-shadow: var(--shadow); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); color: #fff; box-shadow: var(--shadow); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

.btn-lg { padding: 1.05rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.85rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse at top right, rgba(200,40,30,0.06), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(184,131,24,0.04), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero::before {
  /* subtle noise / texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(26,22,20,0.018) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.hero-art {
  display: flex;
  justify-content: center;
}
.hero-art img {
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius);
}
@media (max-width: 880px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 220px; }
}

.hero h1 .accent { color: var(--red); }
.hero .lead { max-width: 38ch; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0 0;
  background: var(--paper-2);
}
.stat {
  background: var(--paper-2);
  padding: 1.5rem 1.25rem;
  text-align: left;
}
.stat .stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 0.35rem;
}
.stat .stat-num .unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-2);
  letter-spacing: 0;
}
.stat .stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.35;
}
/* Alternate stat markup: <div class="stat"><strong>X</strong><span>label</span></div> */
.stat > strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.35rem;
}
.stat > span {
  display: block;
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.35;
}
@media (max-width: 720px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 880px) {
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card-icon.green { background: var(--green-soft); color: var(--green); }
.card-icon.gold  { background: var(--gold-soft); color: var(--gold); }
.card-icon.dark  { background: var(--ink-2); color: #fff; }
.card-icon svg { width: 24px; height: 24px; }

/* Numbered story cards */
.story-card {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
}
.story-card .num {
  position: absolute;
  top: -16px;
  left: 1.75rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Pull quote / callout */
.callout {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.callout.green { background: var(--green-soft); border-color: var(--green); }
.callout.gold  { background: var(--gold-soft); border-color: var(--gold); }
.callout strong { display: block; margin-bottom: 0.25rem; }

/* ---------- Section header ---------- */
.section-head {
  max-width: 720px;
  margin: 0 0 2.5rem;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.5em; }
.section-head p {
  font-size: 1.1rem;
  color: var(--slate);
  margin: 0;
}

/* ---------- Tag / Badge ---------- */
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--paper-3);
  color: var(--slate);
  border: 1px solid var(--line);
}
.tag.red { background: var(--red-soft); color: var(--red-deep); border-color: var(--red-line); }
.tag.green { background: var(--green-soft); color: #2f4d2d; border-color: #b9d3b4; }
.tag.gold { background: var(--gold-soft); color: #6e4d0e; border-color: #ddc78a; }
.tag.dark { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Forms ---------- */
form { display: block; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.field label .req { color: var(--red); margin-left: 2px; }
.field .hint { font-size: 0.8rem; color: var(--slate-2); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,40,30,0.12);
}
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--slate);
}
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.field-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
}
@media (max-width: 640px) { .field-checks { grid-template-columns: 1fr; } }

.honeypot { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.form-success {
  display: none;
  background: var(--green-soft);
  border: 1px solid #b9d3b4;
  color: #2f4d2d;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.form-success.is-visible { display: block; }
.form-success h3 { color: #2f4d2d; margin: 0 0 0.25em; }

/* ---------- News (blog-style) ---------- */

/* Section head used at the top of card sections */
.section-head { max-width: 60ch; }
.section-head .lead { margin-top: 0.25rem; }

/* Featured post */
.featured-post {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.featured-post-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
}
@media (max-width: 960px) {
  .featured-post-grid { grid-template-columns: 1fr; }
}
.featured-post-side {
  background: var(--ink);
  color: #ddd2c4;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.featured-post-side::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.featured-stamp {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
  z-index: 1;
}
.featured-stamp-label {
  display: inline-block;
  width: max-content;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}
.featured-stamp-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #d6cabc;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}
.featured-source-line {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #d6cabc;
  margin: 1.5rem 0 0;
  position: relative;
  z-index: 1;
}
.featured-source-line strong { color: #fff; font-weight: 700; }
.featured-source-line a {
  display: inline-block;
  color: #fff;
  font-weight: 600;
  margin-top: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 0.1rem;
  word-break: break-word;
}
.featured-source-line a:hover { color: var(--red); border-bottom-color: var(--red); }
.featured-source-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a89e90;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.featured-post-main {
  padding: 2.5rem 2.75rem 2.25rem;
}
@media (max-width: 720px) {
  .featured-post-main { padding: 1.75rem 1.5rem; }
  .featured-post-side { padding: 1.75rem 1.5rem; }
}
.featured-post-main h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 28ch;
}
.featured-post-body { max-width: 66ch; }
.featured-post-body .featured-lead {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  margin: 0 0 1.5rem;
}
.featured-post-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.featured-post-body h3:first-of-type { padding-top: 0; border-top: 0; margin-top: 0; }
.featured-post-body p { margin: 0.75rem 0; color: var(--slate); }
.featured-post-body strong { color: var(--ink); }
.featured-post-body ul { margin: 0.5rem 0 1rem 1.25rem; }
.featured-post-body ul li { margin: 0.45rem 0; color: var(--slate); }
.featured-close {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink) !important;
  border-left: 2px solid var(--ink);
  padding-left: 0.85rem;
  margin-top: 1.5rem !important;
}
.featured-post-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Post grid (blog cards) */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.4rem;
  color: var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), border-color .15s var(--ease);
  position: relative;
}
.post-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.post-card-mark {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: 0.02em;
}
.post-card-meta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.post-card-source {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.post-card-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--slate-2);
  letter-spacing: 0.02em;
}
.post-card-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-3);
  color: var(--slate);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.post-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
  flex-grow: 0;
}
.post-card:hover .post-card-title { color: var(--red); }
.post-card-blurb {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
  flex: 1;
}
.post-card-arrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}

/* ---------- Home page: data-driven map CTA ---------- */
.map-cta { padding: 4rem 0 4.5rem; }
.map-cta .section-head { max-width: 56ch; margin-bottom: 1.75rem; }

.map-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.map-cta-card::before {
  /* faint grid texture across the whole card */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,22,20,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,22,20,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.map-cta-stage {
  position: relative;
  background: linear-gradient(135deg, #fbf7f0 0%, #f1e8d6 100%);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}
.map-cta-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
}
.map-cta-svg .map-cta-city circle { fill: #8a7a5e; }
.map-cta-svg .map-cta-city text {
  font-family: var(--font-mono);
  font-size: 11px;
  fill: #6b6359;
  letter-spacing: 0.04em;
}

/* Pins on the home-page silhouette */
.home-pin .home-pin-dot {
  stroke: #fff;
  stroke-width: 1.5;
  filter: drop-shadow(0 1px 1px rgba(26,22,20,0.45));
  transition: transform .15s var(--ease);
  transform-origin: center;
  transform-box: fill-box;
}
.home-pin:hover .home-pin-dot { transform: scale(1.4); }
.home-pin.sf-active    .home-pin-dot { fill: #c8281e; }
.home-pin.sf-contested .home-pin-dot { fill: #b88318; }
.home-pin.sf-emerging  .home-pin-dot { fill: #6b6359; }
.home-pin.sf-ordinance .home-pin-dot { fill: #2a4d8a; }
.home-pin.sf-stopped   .home-pin-dot { fill: #4f7a4d; }
.home-pin.sf-other     .home-pin-dot { fill: #8b8579; }
.home-pin.is-highlight .home-pin-dot {
  fill: #c8281e;
  stroke: #fff;
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 4px rgba(200,40,30,0.55));
}
.home-pin .home-pin-pulse {
  fill: none;
  stroke: #c8281e;
  stroke-width: 2;
  opacity: 0.7;
  transform-origin: center;
  transform-box: fill-box;
  animation: homePinPulse 1.8s ease-out infinite;
}
@keyframes homePinPulse {
  0%   { transform: scale(0.85); opacity: 0.85; }
  100% { transform: scale(2.4);  opacity: 0;    }
}

/* RIGHT side: stats-as-CTA */
.map-cta-side {
  position: relative;
  padding: 2.5rem 2.25rem 2.25rem;
  background: var(--ink);
  color: #ddd2c4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  border-left: 1px solid var(--line);
}
.map-cta-side::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--red) 0%, var(--gold) 50%, var(--green) 100%);
}

.map-cta-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f7c9c1;
  margin: 0;
}
.map-cta-bignum {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 6.5rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #fff;
  margin: 0.4rem 0 0;
}
.map-cta-bignum-cap {
  font-size: 1.05rem;
  color: #d6cabc;
  margin: 0 0 1.25rem;
  max-width: 28ch;
}

.map-cta-bar {
  display: flex;
  width: 100%;
  height: 14px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  margin-bottom: 1.1rem;
}
.cta-bar-seg {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  transition: filter .15s ease;
}
.cta-bar-seg:hover { filter: brightness(1.15); }
.cta-bar-seg.sf-active    { background: #c8281e; }
.cta-bar-seg.sf-contested { background: #b88318; }
.cta-bar-seg.sf-ordinance { background: #2a4d8a; }
.cta-bar-seg.sf-emerging  { background: #6b6359; }
.cta-bar-seg.sf-stopped   { background: #4f7a4d; }
.cta-bar-seg span { display: none; }

.map-cta-legend {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1.25rem;
  font-size: 0.88rem;
  color: #d6cabc;
}
.map-cta-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.map-cta-legend strong {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  min-width: 1.5em;
}
.cta-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.6);
}
.cta-dot.sf-active    { background: #c8281e; }
.cta-dot.sf-contested { background: #b88318; }
.cta-dot.sf-ordinance { background: #2a4d8a; }
.cta-dot.sf-emerging  { background: #6b6359; }
.cta-dot.sf-stopped   { background: #4f7a4d; }

.map-cta-microcopy {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #b8aea0;
  margin: 0 0 1.5rem;
  max-width: 38ch;
}

.map-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}
.map-cta-actions .btn-lg {
  font-size: 1rem;
  padding: 0.85rem 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.map-cta-actions .btn-arrow {
  width: 16px; height: 16px;
  transition: transform .15s var(--ease);
}
.map-cta-actions .btn-lg:hover .btn-arrow { transform: translateX(3px); }
.map-cta-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #a89e90;
  letter-spacing: 0.04em;
}

@media (max-width: 960px) {
  .map-cta-card { grid-template-columns: 1fr; }
  .map-cta-side { padding: 2rem 1.5rem; border-left: 0; border-top: 1px solid var(--line); }
  .map-cta-side::before { width: 100%; height: 3px; left: 0; top: 0; right: 0; bottom: auto; background: linear-gradient(90deg, var(--red) 0%, var(--gold) 50%, var(--green) 100%); }
  .map-cta-stage { min-height: 260px; }
  .map-cta-legend { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .map-cta-bignum { font-size: clamp(3.4rem, 16vw, 5rem); }
  .map-cta-legend { grid-template-columns: 1fr; }
}

/* ---------- Pull/Hero strip ---------- */
.banner-action,
.action-banner {
  background: var(--ink);
  color: #ffe9e4;
  padding: 3rem 0;
  text-align: center;
}
.banner-action h2,
.action-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.banner-action p,
.action-banner p { font-size: 1.05rem; max-width: 56ch; margin: 0 auto 1.5rem; }
.banner-action .btn-row,
.action-banner .btn-row { justify-content: center; }

/* ---------- Page nav (sticky scroll-spy) ---------- */
.page-nav {
  position: sticky;
  top: 64px;            /* sits under the sticky site-header */
  z-index: 30;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
  margin: 0 0 1rem;
}
@media (max-width: 720px) {
  .page-nav { top: 56px; }
}
.page-nav-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
  margin: 0;
  list-style: none;
}
.page-nav-track::-webkit-scrollbar { display: none; }

.page-nav-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.1rem;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--slate);
  white-space: nowrap;
  transition: color .15s var(--ease), border-color .15s var(--ease);
  position: relative;
}
.page-nav-item:hover {
  color: var(--ink);
  border-bottom-color: var(--line-2);
}
.page-nav-item.is-active {
  color: var(--red);
  border-bottom-color: var(--red);
}
.page-nav-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--slate-2);
  letter-spacing: 0.04em;
  transition: color .15s var(--ease);
}
.page-nav-item:hover .page-nav-num { color: var(--ink); }
.page-nav-item.is-active .page-nav-num { color: var(--red); }
.page-nav-label {
  display: inline-block;
}
@media (max-width: 720px) {
  .page-nav-item { padding: 0.8rem 0.9rem; font-size: 0.85rem; }
  .page-nav-num { font-size: 0.65rem; }
}

/* fades on horizontal scroll edges */
.page-nav-wrap {
  position: relative;
}
.page-nav-wrap::before,
.page-nav-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 1px;
  width: 32px;
  pointer-events: none;
  z-index: 1;
}
.page-nav-wrap::before {
  left: 0;
  background: linear-gradient(to right, rgba(250,246,240,0.95), rgba(250,246,240,0));
}
.page-nav-wrap::after {
  right: 0;
  background: linear-gradient(to left, rgba(250,246,240,0.95), rgba(250,246,240,0));
}

/* ---------- Compare table (not a real table; styled list) ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-col {
  padding: 1.5rem 1.5rem 1.75rem;
}
.compare-col + .compare-col { border-left: 1px solid var(--line); }
.compare h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ink);
}
.compare-col.claim h4 { border-color: var(--gold); color: #6e4d0e; }
.compare-col.reality h4 { border-color: var(--red); color: var(--red-deep); }
.compare ul { padding-left: 1.1rem; margin: 0; }
.compare li { margin-bottom: 0.55rem; font-size: 0.95rem; }
@media (max-width: 720px) {
  .compare { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Map placeholder ---------- */
.map-placeholder {
  position: relative;
  background:
    linear-gradient(135deg, #f3ede2 0%, #e8e0cf 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 2rem 0;
}
.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,22,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,22,20,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.map-placeholder-content {
  position: relative;
  text-align: center;
  max-width: 480px;
  padding: 2rem;
}
.map-placeholder svg.map-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--red);
}
.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(200,40,30,0.25), 0 4px 8px rgba(26,22,20,0.2);
  transform: translate(-50%, -50%);
}
.map-pin.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

/* ---------- PA Map (interactive placeholder) ---------- */
.pa-map {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 1.5rem 0 1rem;
  aspect-ratio: 1000 / 460;
}
.pa-map-svg { display: block; width: 100%; height: 100%; }
.pa-map-pins { position: absolute; inset: 0; pointer-events: none; }
.pa-map-pins .map-pin {
  position: absolute;
  width: 0; height: 0;            /* anchor point only */
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  transform: none;
}
.pa-map-pins .map-pin .map-pin-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.85), 0 2px 6px rgba(26,22,20,0.25);
  transition: transform .15s ease;
}
.pa-map-pins .map-pin:hover .map-pin-dot,
.pa-map-pins .map-pin:focus-visible .map-pin-dot {
  transform: translate(-50%, -50%) scale(1.25);
}
.pa-map-pins .map-pin .map-pin-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-100% - 16px));
  background: var(--ink);
  color: #fff;
  padding: 0.35rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 4;
}
.pa-map-pins .map-pin:hover .map-pin-label,
.pa-map-pins .map-pin:focus-visible .map-pin-label {
  opacity: 1;
}
.pa-map-pins .map-pin .map-pin-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: var(--ink);
}
/* status colors for pins */
.map-pin-highlight .map-pin-dot { background: var(--red); width: 18px; height: 18px; box-shadow: 0 0 0 4px rgba(255,255,255,0.9), 0 0 0 6px rgba(200,40,30,0.35), 0 4px 10px rgba(26,22,20,0.3); }
.map-pin-highlight .map-pin-dot[data-pulse]::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulse 2s infinite;
}
.map-pin-approved  .map-pin-dot { background: var(--ink-2); }
.map-pin-contested .map-pin-dot { background: var(--gold); }
.map-pin-withdrawn .map-pin-dot { background: #9a8a72; }
.map-pin-defeated  .map-pin-dot { background: var(--green); }
.map-pin-emerging  .map-pin-dot { background: #b88318; opacity: 0.6; }

/* legend */
.map-legend {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--slate);
}
.map-legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.map-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.map-dot-highlight { background: var(--red); }
.map-dot-approved  { background: var(--ink-2); }
.map-dot-contested { background: var(--gold); }
.map-dot-withdrawn { background: #9a8a72; }
.map-dot-defeated  { background: var(--green); }
.map-dot-emerging  { background: #b88318; opacity: 0.6; }

/* badges on cards */
.map-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--line);
  color: var(--ink);
  white-space: nowrap;
}
.map-badge-highlight { background: var(--red-soft); color: var(--red-deep); }
.map-badge-approved  { background: #2a221e; color: #fff; }
.map-badge-contested { background: #f6e6c4; color: #6a4d10; }
.map-badge-withdrawn { background: #ece5d6; color: #5a4f3e; }
.map-badge-defeated  { background: #d8e4d3; color: #2f4a2d; }
.map-badge-emerging  { background: #f1e3c8; color: #8a6313; }

.map-card { padding: 1.5rem; }
.map-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.map-card-head h3 { margin: 0; font-size: 1.1rem; }
.map-card.is-active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200,40,30,0.12);
}

.stat-strip-cream { background: var(--paper-2); }

.mb-05 { margin-bottom: 0.5rem; }
.map-note { margin-top: 0.5rem; }

@media (max-width: 720px) {
  .pa-map-pins .map-pin .map-pin-label { font-size: 0.7rem; padding: 0.25rem 0.45rem; }
  .pa-map-pins .map-pin .map-pin-dot { width: 12px; height: 12px; }
  .map-pin-highlight .map-pin-dot { width: 14px; height: 14px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #b8aea0;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.4rem 0; }
.site-footer a { color: #d6cabc; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.site-footer .footer-brand img { width: 44px; height: 44px; }
.site-footer .footer-brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.022em;
  color: #fff;
}
.site-footer p.footer-tag { font-size: 0.95rem; max-width: 35ch; line-height: 1.5; }
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #8e8479;
}
.site-footer-bottom a { color: #b8aea0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.muted { color: var(--slate-2); }
.small { font-size: 0.875rem; }
.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 2.5rem 0;
}

/* skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Hero variants on inner pages ---------- */
.page-hero {
  padding: 3.5rem 0 2.75rem;
  background:
    radial-gradient(ellipse at top right, rgba(200,40,30,0.05), transparent 60%),
    var(--paper);
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5rem; }
.page-hero .lead { max-width: 56ch; margin: 0; }

/* ---------- Reveal on scroll (uses .reveal -> .is-visible toggled by JS) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
