/*
Theme Name: AI Safety Aotearoa
Theme URI: https://aisafetyaotearoa.org
Author: AI Safety Aotearoa
Description: A dark-themed, editorial WordPress theme for AI Safety Aotearoa — replicating the original Next.js site with full functionality.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ai-safety-aotearoa
*/

/* ====================================================
   GOOGLE FONTS + VARIABLES
   ==================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200;12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=IBM+Plex+Mono:wght@300;400;500;600&family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  --bg:         #0a1129;
  --bg-card:    #131e42;
  --bg-nav:     #0a112980;
  --bg-mid:     #131e4266;
  --bg-signal:  #1a2654;
  --border:     #283360;
  --border-mid: #3a4781;
  --text:       #f4f6fb;
  --muted:      #a6b1cc;
  --teal:       #19e5c6;
  --teal-hover: #34f3d6;
  --teal-dim:   #19e5c619;
  --amber:      #f5b947;
  --blue-link:  #5a9dd7;
  --radius:     0.25rem;
  --max-w:      80rem;
  --px:         1.5rem;
}

/* ====================================================
   RESET / BASE
   ==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select {
  font: inherit;
  outline: none;
  border: none;
  background: none;
}
button { cursor: pointer; }

/* ====================================================
   TYPOGRAPHY HELPERS
   ==================================================== */
.font-display {
  font-family: 'Bricolage Grotesque', 'IBM Plex Sans', sans-serif;
  font-feature-settings: "ss01","ss02";
  letter-spacing: -0.02em;
}
.font-mono {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.font-serif {
  font-family: 'Cormorant Garamond', Times New Roman, serif;
}
.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-family: 'IBM Plex Sans', sans-serif;
}
.label-teal {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--teal);
  font-family: 'IBM Plex Mono', monospace;
}
.glow-teal { text-shadow: 0 0 40px rgba(25, 229, 198, 0.45); }

/* ====================================================
   LAYOUT UTILITIES
   ==================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}
.section { padding: 6rem 0; border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .section { padding: 8rem 0; } }

/* ====================================================
   ANIMATIONS
   ==================================================== */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.animate-fade-up { animation: fadeUp 0.65s ease both; }
.animate-fade-up.delay-200 { animation-delay: 0.2s; }

/* ====================================================
   HEADER / NAV
   ==================================================== */
#site-header {
  position: relative;
  z-index: 50;
}
/* Announcement bar sits ABOVE nav, scrolls away */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10,17,41,0.92);
  border-bottom: 1px solid var(--border);
}
/* Announcement bar sits BELOW nav, inside sticky header */
.announcement-bar {
  display: block;
  background: var(--teal);
  color: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .nav-inner { height: 80px; padding: 0 2.5rem; }
}
/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.site-logo:hover .logo-nz-map svg,
.site-logo:hover .logo-word,
.site-logo:hover .logo-plus {
  color: var(--teal);
}
.logo-nz-map {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 1;
}
.logo-nz-map svg { display: block; }
.logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text);
  min-width: 0;
}
@media (min-width: 768px) { .logo-text { font-size: 14px; min-width: 94px; } }
.logo-line {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--text);
}
.logo-line-primary { flex-wrap: nowrap; }
.logo-word { color: var(--text); }
.logo-plus {
  display: inline-block;
  color: var(--teal);
  margin-left: 1px;
  line-height: 1;
}
.logo-aotearoa { color: var(--text); font-weight: 800; }


/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.875rem;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue-link); }
.nav-links a.current-menu-item { color: var(--teal); }

/* CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--teal);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--teal-hover); color: var(--bg); }
.btn-primary svg { width: 16px; height: 16px; }
.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: block; } }

/* Mobile hamburger */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: none;
}
@media (min-width: 1024px) { .nav-hamburger { display: none; } }
.nav-hamburger svg { width: 24px; height: 24px; }

/* Mobile menu */
#mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem;
  gap: 1.5rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  font-size: 1rem;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--teal); }
#mobile-menu .btn-primary { margin-top: 0.5rem; width: fit-content; }

/* ====================================================
   ANNOUNCEMENT BANNER — styling (position handled in header)
   ==================================================== */
.announcement-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) { .announcement-inner { padding: 0.75rem 2.5rem; } }
.announcement-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}
.announcement-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
.announcement-title { font-weight: 600; }
.announcement-sep { opacity: 0.5; }
.announcement-subtitle { opacity: 0.8; }
.announcement-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg);
  flex-shrink: 0;
  transition: gap 0.2s;
}
.announcement-link:hover { gap: 0.5rem; }
.announcement-link svg { width: 14px; height: 14px; }

/* ====================================================
   HERO SECTION
   ==================================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-ripple {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 80% at 70% 50%, rgba(25,229,198,0.06) 0%, transparent 65%),
              radial-gradient(ellipse 80% 60% at 20% 80%, rgba(90,157,215,0.05) 0%, transparent 60%);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px) 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
  position: relative;
}
@media (min-width: 768px) { .hero-inner { padding: 8rem 2.5rem 7rem; } }
@media (min-width: 1024px) {
  .hero-inner {
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
}
.hero-main {
  grid-column: 1 / -1;
  animation: fadeUp 0.65s ease both;
}
@media (min-width: 1024px) { .hero-main { grid-column: span 8; } }

.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--teal);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 2rem;
}
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.25rem, 6.5vw, 5.5rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: uppercase;
  font-weight: 800;
}
.hero-title .teal { color: var(--teal); }
.hero-desc {
  margin-top: 2.5rem;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 42rem;
}
@media (min-width: 768px) { .hero-desc { font-size: 1.25rem; } }
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-hero-primary {
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-sidebar {
  grid-column: 1 / -1;
  animation: fadeUp 0.65s 0.2s ease both;
}
@media (min-width: 1024px) { .hero-sidebar { grid-column: span 4; } }
.hero-sidebar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-family: 'IBM Plex Mono', monospace;
}
/* "What we work on" list style — Research+, Policy+, Public literacy+ */
.hero-work-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-work-item {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.hero-work-item:last-of-type { border-bottom: 1px solid var(--border); }
.hero-work-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.75rem;
  color: var(--text);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
@media (min-width: 768px) { .hero-work-title { font-size: 2rem; } }
.hero-work-title .teal { color: var(--teal); }
.hero-work-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}
/* legacy card styles kept for other use */
.hero-cards { display: flex; flex-direction: column; gap: 1.25rem; border-left: 1px solid var(--border); padding-left: 1.5rem; }
.hero-card-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.5rem; color: var(--text); line-height: 1.2; }
@media (min-width: 768px) { .hero-card-title { font-size: 1.875rem; } }
.hero-card-title .teal { color: var(--teal); }
.hero-card-desc { margin-top: 0.375rem; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.hero-card-link {
  margin-top: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.hero-card-link:hover { border-color: var(--teal); gap: 0.75rem; }

/* ====================================================
   MARQUEE / TICKER
   ==================================================== */
.marquee-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  background: #131e42;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}
.marquee-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  color: var(--teal);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.marquee-list li::before { content: "+ "; }

/* ====================================================
   WHAT WE DO / ABOUT SECTION
   ==================================================== */
.about-section {
  border-bottom: 1px solid var(--border);
}
.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .about-inner {
    grid-template-columns: repeat(12, 1fr);
    padding: 8rem 2.5rem;
  }
  .about-col-label { grid-column: span 4; }
  .about-col-content { grid-column: span 8; max-width: 48rem; }
}
.about-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-family: 'IBM Plex Sans', sans-serif;
  position: sticky;
  top: 7rem;
}
.about-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .about-heading { font-size: 3rem; } }
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.125rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .about-pillars { font-size: 1.25rem; } }
.about-pillar strong { color: var(--teal); }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.about-link:hover { border-color: var(--teal); gap: 0.75rem; }

/* ====================================================
   WHAT WE WORK ON (3-col pillars)
   ==================================================== */
.work-section {
  background: rgba(19,30,66,0.4);
  border-bottom: 1px solid var(--border);
}
.work-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px);
}
@media (min-width: 768px) { .work-inner { padding: 8rem 2.5rem; } }
.work-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.work-header-left .label { margin-bottom: 1rem; }
.work-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
@media (min-width: 768px) { .work-heading { font-size: 3rem; } }
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.work-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 1.5rem;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}
.work-card:hover .work-card-img img { transform: scale(1.04); }
.work-card-label { margin-bottom: 0.75rem; }
.work-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.work-card:hover .work-card-title { color: var(--teal); }
.work-card-desc {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ====================================================
   FEATURED RESEARCH
   ==================================================== */
.featured-section { border-bottom: 1px solid var(--border); }
.featured-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px);
}
@media (min-width: 768px) { .featured-inner { padding: 8rem 2.5rem; } }
.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.featured-header .label { margin-bottom: 1rem; }
.featured-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
@media (min-width: 768px) { .featured-heading { font-size: 3rem; } }
.featured-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .featured-card { grid-template-columns: repeat(12, 1fr); gap: 3rem; }
  .featured-card-img { grid-column: span 7; }
  .featured-card-body { grid-column: span 5; }
}
.featured-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--teal);
}
@media (min-width: 768px) { .featured-card-img { aspect-ratio: 16/11; } }
.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.9s ease;
}
.featured-card:hover .featured-card-img img { transform: scale(1.02); }
.featured-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top right, rgba(25,229,198,0.4), transparent, transparent);
}
.featured-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--amber);
  color: white;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.375rem 0.75rem;
  font-family: 'IBM Plex Sans', sans-serif;
}
.featured-card-label { margin-bottom: 1rem; }
.featured-card-cats {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.featured-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.featured-cat-sep { color: var(--border-mid); }
.featured-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
  transition: color 0.2s;
}
@media (min-width: 768px) { .featured-card-title { font-size: 2.25rem; } }
.featured-card:hover .featured-card-title { color: var(--teal); }
.featured-card-desc {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.6;
}
.featured-card-meta {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--muted);
}
.featured-card-link {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--teal);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, gap 0.2s;
}
.featured-card-link:hover { border-color: var(--teal); gap: 0.75rem; }

/* ====================================================
   BLOG SECTION
   ==================================================== */
.blog-section { border-bottom: 1px solid var(--border); }
.blog-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px);
}
@media (min-width: 768px) { .blog-inner { padding: 8rem 2.5rem; } }
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.blog-header .label { margin-bottom: 1rem; }
.blog-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
@media (min-width: 768px) { .blog-heading { font-size: 3rem; } }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; }
.blog-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 1.5rem;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-label { margin-bottom: 0.75rem; }
.blog-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--teal); }
.blog-card-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ====================================================
   SIGNAL / NEWS SECTION
   ==================================================== */
.signal-section {
  background: var(--bg-signal);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.signal-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px);
}
@media (min-width: 768px) { .signal-inner { padding: 8rem 2.5rem; } }
.signal-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .signal-top {
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
  }
  .signal-top-label { grid-column: span 4; }
  .signal-top-intro { grid-column: span 8; padding-left: 2.5rem; border-left: 1px solid var(--border); }
}
.signal-label .label { margin-bottom: 1rem; }
.signal-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
@media (min-width: 768px) { .signal-num { font-size: 3rem; } }
.signal-intro {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}
@media (min-width: 768px) { .signal-intro { font-size: 1.5rem; } }
.signal-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.signal-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
}
.signal-item:last-child { border-bottom: none; }
.signal-item:hover { background: var(--teal-dim); }
@media (min-width: 768px) { .signal-item { padding: 1.75rem 0.5rem; } }
.signal-item-left {}
.signal-source {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-family: 'IBM Plex Mono', monospace;
}
.signal-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.2s;
}
@media (min-width: 768px) { .signal-title { font-size: 1.5rem; } }
.signal-item:hover .signal-title { color: var(--teal); }
.signal-arrow { flex-shrink: 0; color: var(--muted); transition: color 0.2s, transform 0.2s; }
.signal-item:hover .signal-arrow { color: var(--teal); transform: translateY(-2px); }
.signal-arrow svg { width: 20px; height: 20px; }

/* ====================================================
   NEWSLETTER / CTA SECTION
   ==================================================== */
.newsletter-section { border-bottom: 1px solid var(--border); }
.newsletter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem var(--px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .newsletter-inner {
    grid-template-columns: repeat(12, 1fr);
    padding: 8rem 2.5rem;
  }
  .newsletter-col-text { grid-column: span 8; }
  .newsletter-col-form { grid-column: span 4; }
}
.newsletter-label { margin-bottom: 1rem; }
.newsletter-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.5rem;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}
@media (min-width: 768px) { .newsletter-heading { font-size: 3.75rem; } }
.newsletter-subheading {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--teal); }
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--teal);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}
.newsletter-btn:hover { background: var(--teal-hover); }
.newsletter-note {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

.letter-form .form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-mid);
  border-radius: 0;
  padding: 0.5rem 0;
  color: var(--text);
  width: 100%;
}

.letter-form .form-input:focus {
  border-bottom-color: var(--teal);
  outline: none;
}

.letter-form .form-input::placeholder {
  color: var(--muted);
}

.letter-form .form-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.letter-form .form-field {
  margin-bottom: 1.75rem;
}



/* ====================================================
   FOOTER
   ==================================================== */
#site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
@media (min-width: 768px) { .footer-inner { padding: 0 2.5rem; } }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand .site-logo { margin-bottom: 1.25rem; }
.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 18rem;
}
.footer-col-heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1rem;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer-col-links a {
  font-size: 0.875rem;
  color: var(--text);
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--teal); }
.footer-contact-email {
  font-size: 0.875rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.footer-contact-addr {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-copyright {
  font-size: 0.8125rem;
  color: var(--muted);
}
.footer-tagline {
  font-size: 0.8125rem;
  color: var(--muted);
}

/* ====================================================
   PAGE HERO (inner pages)
   ==================================================== */
.page-hero {
  border-bottom: 1px solid var(--border);
  padding: 5rem 0 4rem;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
@media (min-width: 768px) { .page-hero-inner { padding: 0 2.5rem; } }
.page-hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-family: 'IBM Plex Sans', sans-serif;
  margin-bottom: 1.5rem;
}
.page-hero-eyebrow span { color: var(--teal); }
.page-hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.page-hero-desc {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 44rem;
}
@media (min-width: 768px) { .page-hero-desc { font-size: 1.5rem; } }

/* ====================================================
   ABOUT PAGE
   ==================================================== */
.about-page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
@media (min-width: 768px) { .about-page-content { padding: 0 2.5rem; } }
.about-section-block {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .about-section-block {
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
  }
  .about-section-label { grid-column: span 4; }
  .about-section-body  { grid-column: span 8; }
}
.about-section-label-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  font-family: 'IBM Plex Sans', sans-serif;
  position: sticky;
  top: 7rem;
}
.about-section-body h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.about-section-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.about-section-body p:last-child { margin-bottom: 0; }
.about-principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) { .about-principles { grid-template-columns: repeat(4, 1fr); } }
.about-principle-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.about-principle-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.25rem;
}
.about-principle-desc { font-size: 0.8125rem; color: var(--muted); }

/* ====================================================
   BLOG / RESEARCH ARCHIVE
   ==================================================== */
.archive-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
}
@media (min-width: 768px) { .archive-grid { padding: 5rem 2.5rem; } }
.archive-featured {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}
.archive-featured-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.archive-featured-card:hover { border-color: var(--teal); }
.archive-featured-img {
  aspect-ratio: 16/7;
  overflow: hidden;
}
.archive-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s ease;
}
.archive-featured-card:hover .archive-featured-img img { transform: scale(1.02); }
.archive-featured-body { padding: 2rem; }
.archive-featured-cats { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.archive-featured-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .archive-featured-title { font-size: 2.5rem; } }
.archive-featured-desc { font-size: 1rem; color: var(--muted); line-height: 1.65; }
.archive-featured-meta { margin-top: 1rem; font-size: 0.875rem; color: var(--muted); }

.archive-list-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}
.archive-post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.archive-post-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.archive-post-item:hover { background: var(--teal-dim); padding-left: 0.5rem; margin-left: -0.5rem; }
.archive-post-img {
  width: 100px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.archive-post-img img { width: 100%; height: 100%; object-fit: cover; }
.archive-post-body { flex: 1; }
.archive-post-cats { display: flex; gap: 0.5rem; margin-bottom: 0.25rem; }
.archive-post-date { font-size: 0.75rem; color: var(--muted); }
.archive-post-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.3;
  margin: 0.25rem 0 0.5rem;
  transition: color 0.2s;
}
.archive-post-item:hover .archive-post-title { color: var(--teal); }
.archive-post-desc { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

/* ====================================================
   SINGLE POST / RESEARCH
   ==================================================== */
.single-header {
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
}
.single-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
@media (min-width: 768px) { .single-header-inner { padding: 0 2.5rem; } }
.single-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.single-back:hover { color: var(--teal); }
.single-back svg { width: 14px; height: 14px; }
.single-cats { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.single-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.single-desc {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 44rem;
  margin-bottom: 1.5rem;
}
.single-meta {
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.single-meta-sep { color: var(--border-mid); }

.single-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) { .single-body { padding: 5rem 2.5rem; } }
@media (min-width: 1024px) {
  .single-body {
    grid-template-columns: 1fr 260px;
    gap: 5rem;
    align-items: start;
  }
}
.single-content {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--muted);
}
.single-content h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 2.5rem 0 1rem;
}
.single-content h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.single-content p { margin-bottom: 1.25rem; }
.single-content p:last-child { margin-bottom: 0; }
.single-content blockquote {
  border-left: 3px solid var(--teal);
  padding: 0.75rem 1.5rem;
  margin: 2rem 0;
  background: var(--teal-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.single-content blockquote p { color: var(--text); font-style: italic; margin: 0; }
.single-content ul, .single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.single-content ul { list-style: disc; }
.single-content ol { list-style: decimal; }
.single-content li { margin-bottom: 0.5rem; }
.single-content strong { color: var(--text); font-weight: 600; }
.single-content a { color: var(--teal); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.single-content a:hover { border-color: var(--teal); }

.single-sidebar {
  position: sticky;
  top: 7rem;
}
.single-sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.single-sidebar-heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1rem;
}
.further-reading a {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.further-reading a:last-child { border-bottom: none; }
.further-reading a:hover { color: var(--teal); }
.further-reading a svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--muted); }

.single-next {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.single-next-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
@media (min-width: 768px) { .single-next-inner { padding: 0 2.5rem; } }
.single-next-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 0.75rem;
}
.single-next-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  color: var(--teal);
  transition: color 0.2s;
}
.single-next-title:hover { color: var(--teal-hover); }

/* ====================================================
   RESOURCES PAGE
   ==================================================== */
.resources-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
}
@media (min-width: 768px) { .resources-inner { padding: 5rem 2.5rem; } }
.resources-section { margin-bottom: 4rem; }
.resources-section-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}
.resources-section-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.resource-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.resource-item:hover { background: var(--teal-dim); padding-left: 0.5rem; margin-left: -0.5rem; }
.resource-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.resource-item:hover .resource-title { color: var(--teal); }
.resource-desc { font-size: 0.875rem; color: var(--muted); }
.resource-arrow { flex-shrink: 0; color: var(--muted); }
.resource-arrow svg { width: 16px; height: 16px; }
.resources-suggest {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}
.resources-suggest h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.resources-suggest p { font-size: 0.875rem; color: var(--muted); margin-bottom: 1.25rem; }

/* ====================================================
   CONTACT PAGE
   ==================================================== */
.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: repeat(12, 1fr);
    padding: 5rem 2.5rem;
    gap: 4rem;
  }
  .contact-main { grid-column: span 7; }
  .contact-aside { grid-column: span 5; }
}
.contact-fastest {
  margin-bottom: 2.5rem;
}
.contact-fastest-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1rem;
}
.contact-email {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
}
.contact-email-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.contact-info-item-heading {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 0.5rem;
}
.contact-info-item-value { font-size: 0.875rem; color: var(--text); line-height: 1.6; }
.contact-notes { margin-top: 3rem; }
.contact-notes-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1.25rem;
}
.contact-note {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-note-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  color: var(--teal);
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-note-title {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.contact-note-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ====================================================
   GET INVOLVED PAGE
   ==================================================== */
.get-involved-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .get-involved-inner {
    grid-template-columns: repeat(12, 1fr);
    padding: 5rem 2.5rem;
    gap: 4rem;
  }
  .get-involved-ways { grid-column: span 5; }
  .get-involved-form { grid-column: span 7; }
}
.way-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.way-item:first-child { border-top: 1px solid var(--border); }
.way-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.125rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.way-desc { font-size: 0.9375rem; color: var(--muted); line-height: 1.6; }
.form-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-subheading { font-size: 0.9375rem; color: var(--muted); margin-bottom: 2rem; line-height: 1.6; }
.form-field { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--teal); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--teal);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius);
  transition: background 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'IBM Plex Sans', sans-serif;
}
.form-submit:hover { background: var(--teal-hover); }

/* ====================================================
   ELECTIONS CAMPAIGN PAGE
   ==================================================== */
.campaign-hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 6rem 0;
}
@media (min-width: 768px) { .campaign-hero { padding: 8rem 0; } }
.campaign-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 80% at 50% 100%, rgba(25,229,198,0.08), transparent 70%);
  pointer-events: none;
}
.campaign-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
  text-align: center;
  position: relative;
}
@media (min-width: 768px) { .campaign-hero-inner { padding: 0 2.5rem; } }
.campaign-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--teal);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 2rem;
}
.campaign-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.campaign-title .highlight { color: var(--teal); }
.campaign-desc {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 44rem;
  margin: 0 auto 2.5rem;
}
.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.campaign-section {
  border-bottom: 1px solid var(--border);
}
.campaign-section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--px);
}
@media (min-width: 768px) { .campaign-section-inner { padding: 6rem 2.5rem; } }
.campaign-section-num {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--teal);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1rem;
}
.campaign-section-heading {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.campaign-section-subheading {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.stakes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .stakes-grid { grid-template-columns: repeat(3, 1fr); } }
.stake-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stake-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.stake-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.asks-list { display: flex; flex-direction: column; gap: 1.5rem; }
.ask-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ask-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.5rem;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
}
.ask-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.ask-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* Letter generator */

.letter-preview {
  background: rgba(0, 0, 0, 0.25);
}

.letter-textarea {
  background: transparent;
  border: none;
  resize: none;
  width: 100%;
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

.letter-generator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.letter-form {
  border-bottom: none;
  border-right: 1px solid var(--border);
}

.letter-preview {
  padding: 2rem;
}

@media (max-width: 767px) {
  .letter-generator {
    grid-template-columns: 1fr;
  }
  .letter-form {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

.letter-generator {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.letter-form { padding: 2rem; border-bottom: 1px solid var(--border); }
.letter-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) { .letter-form-grid { grid-template-columns: 1fr 1fr; } }
.letter-tone-group { margin-bottom: 1.25rem; }
.letter-tone-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 0.75rem;
  display: block;
}
.tone-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tone-btn {
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.8125rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: 'IBM Plex Sans', sans-serif;
  background: transparent;
}
.tone-btn:hover, .tone-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-dim);
}
.letter-preview {
  padding: 2rem;
}
.letter-preview-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 1rem;
}
.letter-textarea {
  width: 100%;
  min-height: 620px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.7;
  font-family: 'IBM Plex Mono', monospace;
  resize: vertical;
}
.letter-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: var(--teal);
  color: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  font-family: 'IBM Plex Sans', sans-serif;
}
.btn-copy:hover { background: var(--teal-hover); }
.btn-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border-mid);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  font-family: 'IBM Plex Sans', sans-serif;
}
.btn-email:hover { border-color: var(--teal); color: var(--teal); }
.letter-privacy-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ====================================================
   WORDPRESS SPECIFIC ADJUSTMENTS
   ==================================================== */
.wp-caption { max-width: 100%; }
.aligncenter { text-align: center; }
.alignleft { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Gutenberg block support */
.wp-block-image img { border-radius: var(--radius); }

/* ====================================================
   RESPONSIVE TWEAKS
   ==================================================== */
@media (max-width: 767px) {
  .hero-title { letter-spacing: -0.02em; }
  .signal-title { font-size: 1rem; }
  .single-content { font-size: 1rem; }
  .footer-top { gap: 2rem; }
}

.letter-form-grid {
  grid-template-columns: 1fr;
}

.letter-generator {
  grid-template-columns: 1fr 1.75fr;
}

.single-body {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Instagram Feed ─────────────────────────────── */
.instagram-section {
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.instagram-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.instagram-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

#sb_instagram {
    width: 100% !important;
}

.sbi_header_img,
.sbi_header_text,
.sbi_header {
    display: none !important;
}