/*
Theme Name:        Lormont Connect
Theme URI:         https://lormontconnect.fr
Author:            WFPI
Author URI:        https://wfpi.fr
Description:       Theme officiel du site Lormont Connect. Editorial typography (Fraunces + Inter), civic-green accent, dark-hero layout. Includes home, blog index, single post, contact, and page templates. French-first.
Version:           1.0.0
Requires at least: 6.2
Requires PHP:      7.4
Tested up to:      6.5
License:           GPL v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       lormont-connect
Tags:              one-column, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, translation-ready, blog
*/

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Color */
  --bg-light: #FEFEFE;
  --bg-dark: #080808;
  --bg-cream: #F8F6F1;
  --bg-cream-warm: #F4EFE6;
  --bg-card-dark: #111113;
  --text-primary: #2C2C2B;
  --text-display: #0D0D0D;
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.55);
  --text-on-dark-display: rgba(255, 255, 255, 0.78);
  --text-tag: #1C1D1F;
  --line-on-dark: rgba(255, 255, 255, 0.10);
  --line-on-light: rgba(0, 0, 0, 0.10);

  /* Civic accents (from app Theme.swift) */
  --civic-green: #0D7C3D;
  --civic-green-light: #2E9E5E;
  --civic-orange: #FF6F00;

  /* Status colors (IssueStatus) */
  --status-submitted: #F59E0B;
  --status-review: #3B82F6;
  --status-progress: #10B981;
  --status-resolved: #06B6D4;
  --status-closed: #9CA3AF;

  /* Alert severities (AlertSeverity) */
  --alert-info: #3B82F6;
  --alert-warning: #F59E0B;
  --alert-urgent: #EF4444;
  --alert-emergency: #991B1B;

  /* Category colors */
  --cat-astuces:    #0D7C3D;
  --cat-histoires:  #FF6F00;
  --cat-actualites: #3B82F6;
  --cat-updates:    #8B5CF6;

  /* Type scale */
  --fs-xs: 12px; --fs-sm: 13px; --fs-body: 14px; --fs-md: 15px;
  --fs-lg: 16px; --fs-xl: 18px; --fs-2xl: 20px; --fs-3xl: 24px;
  --fs-4xl: 30px; --fs-5xl: 36px; --fs-6xl: 48px;
  --fs-7xl: 56px; --fs-8xl: 66px; --fs-9xl: 72px;

  /* Fonts */
  --ff-sans: "Inter", -apple-system, "system-ui", "Segoe UI", sans-serif;
  --ff-display: "Fraunces", "Times New Roman", Georgia, serif;

  /* Layout */
  --container: 1248px;
  --gutter: 24px;
  --reading-width: 640px;
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-sm: 12px;
  --radius-input: 12px;
}

/* ============================================================
   2. BASE / RESET / TYPOGRAPHY
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--text-primary);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

/* WP-required */
.alignleft { float: left; margin: 8px 24px 8px 0; }
.alignright { float: right; margin: 8px 0 8px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide { max-width: 90%; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--fs-sm); color: #6b7280; font-style: italic; margin-top: 8px; text-align: center; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}
.screen-reader-text:focus {
  clip: auto !important;
  display: block;
  position: absolute; left: 6px; top: 6px;
  background: var(--text-display);
  color: #fff;
  padding: 12px 18px;
  font-size: var(--fs-body);
  z-index: 100000;
}

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--civic-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: 0; top: 0;
  background: var(--text-display); color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-size: var(--fs-body); font-weight: 500;
  transform: translateY(-100%);
  transition: transform .15s ease;
  z-index: 100;
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   3. UTILITIES
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-tag); margin-bottom: 18px;
}
.eyebrow--on-dark { color: rgba(255,255,255,0.55); }
.eyebrow--on-light { color: var(--civic-green); }

.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--text-display);
}
.section--dark .display { color: var(--text-on-dark-display); }

.section { padding: 96px 0; }
.section--light { background: var(--bg-light); color: var(--text-primary); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--cream { background: var(--bg-cream); color: var(--text-primary); }

/* ============================================================
   4. NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .25s ease, backdrop-filter .25s ease, color .25s ease;
}
.nav--scrolled {
  background: rgba(254, 254, 254, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-on-light);
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-size: 22px; font-weight: 400;
  color: #fff; letter-spacing: -0.4px;
}
.nav--scrolled .nav__brand { color: var(--text-display); }
.nav__brand-mark {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--civic-green); border-radius: 6px;
  color: #fff; font-family: var(--ff-display); font-size: 14px; line-height: 1;
}
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav__links li { display: inline-flex; }
.nav__link, .nav__links a {
  font-family: var(--ff-sans); font-size: var(--fs-body); font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover, .nav__links a:hover { color: #fff; }
.nav__link--active, .nav__links .current-menu-item > a, .nav__links .current_page_item > a {
  color: #fff; background: rgba(255,255,255,0.10);
}
.nav--scrolled .nav__link, .nav--scrolled .nav__links a { color: var(--text-tag); }
.nav--scrolled .nav__link:hover, .nav--scrolled .nav__links a:hover { background: rgba(0,0,0,0.04); }
.nav--scrolled .nav__link--active,
.nav--scrolled .nav__links .current-menu-item > a,
.nav--scrolled .nav__links .current_page_item > a {
  background: rgba(0,0,0,0.06); color: var(--text-display);
}

.nav__toggle {
  display: none;
  background: rgba(255,255,255,0.10);
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 999px;
  align-items: center; justify-content: center;
}
.nav--scrolled .nav__toggle { background: rgba(0,0,0,0.06); color: var(--text-display); }

/* ============================================================
   5. BUTTONS + APP STORE BADGE
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-sans);
  font-size: var(--fs-body); font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  transition: transform .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn--ghost-light { color: rgba(255, 255, 255, 0.85); background: rgba(255, 255, 255, 0.10); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.btn--primary-light { color: var(--text-display); background: #F5F1EA; }
.btn--primary-light:hover { background: #fff; }
.btn--primary-dark { color: #fff; background: var(--bg-dark); }
.btn--primary-dark:hover { transform: translateY(-1px); }
.btn--secondary-on-dark { color: rgba(255,255,255,0.85); background: transparent; border: 1px solid rgba(255, 255, 255, 0.18); }
.btn--secondary-on-dark:hover { background: rgba(255,255,255,0.06); color: #fff; }
.btn--secondary-on-light { color: var(--text-display); background: transparent; border: 1px solid rgba(0, 0, 0, 0.16); }
.btn--secondary-on-light:hover { background: rgba(0, 0, 0, 0.04); }

.appstore-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff;
  border-radius: 10px; padding: 10px 18px;
  height: 56px;
  transition: transform .15s ease;
}
.appstore-badge:hover { transform: translateY(-1px); }
.appstore-badge svg { width: 28px; height: 32px; flex-shrink: 0; }
.appstore-badge__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.appstore-badge__small { font-size: 11px; opacity: 0.85; letter-spacing: 0.02em; }
.appstore-badge__big { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; }
.appstore-badge--light { background: #F5F1EA; color: #0D0D0D; }
.appstore-badge--white { background: #fff; color: #000; }
.appstore-badge--white .appstore-badge__small { opacity: 0.7; }

/* ============================================================
   6. FOOTER (shared)
   ============================================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: 80px 0 40px; }
.footer__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px;
}
.footer__brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand { font-family: var(--ff-display); font-size: var(--fs-3xl); color: #fff; }
.footer__tag { font-size: var(--fs-md); max-width: 280px; line-height: 1.6; margin-bottom: 24px; }
.footer__col h4 {
  font-family: var(--ff-sans); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 18px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.footer__col a { font-size: var(--fs-md); color: rgba(255,255,255,0.75); }
.footer__col a:hover { color: #fff; }
.footer__legal {
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: var(--fs-sm); color: rgba(255,255,255,0.45);
}
.footer__official { display: inline-flex; align-items: center; gap: 8px; }
.footer__official-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--civic-green-light); }

/* ============================================================
   7. HOME PAGE
   ============================================================ */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 50%, rgba(13, 124, 61, 0.18), transparent 70%),
    radial-gradient(80% 60% at 20% 30%, rgba(20, 20, 20, 0.6), transparent 70%),
    linear-gradient(180deg, #0a0e0a 0%, #0d130d 60%, #080a08 100%);
  z-index: -1;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px var(--gutter) 80px;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-8xl);
  line-height: 1.0; letter-spacing: -0.02em;
  color: var(--text-on-dark-display);
  margin-bottom: 28px;
  font-variation-settings: "opsz" 144;
}
.hero__sub {
  font-size: var(--fs-lg); line-height: 1.55;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__cta-secondary { color: rgba(255,255,255,0.85); font-size: var(--fs-md); padding: 0 8px; }
.hero__cta-secondary:hover { color: #fff; }

.hero__phone {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero__phone img {
  max-height: 78vh; width: auto;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.55));
}
.hero__chip {
  position: absolute;
  background: rgba(20, 20, 20, 0.78);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.92);
  font-size: var(--fs-sm);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.06);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__chip--1 { top: 8%; right: -4%; }
.hero__chip--2 { bottom: 22%; right: -8%; max-width: 240px; white-space: normal; line-height: 1.35; }
.hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--civic-green-light); }
.hero__chip-dot--orange { background: var(--status-submitted); }

/* HOW-TO (3 steps) */
.howto { text-align: center; }
.howto__head { max-width: 760px; margin: 0 auto 64px; }
.howto h2 { font-size: var(--fs-7xl); margin-bottom: 18px; }
.howto p.howto__sub { font-size: var(--fs-lg); color: #4a4a48; max-width: 560px; margin: 0 auto; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  align-items: stretch;
}
.step {
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: left;
  display: flex; flex-direction: column;
}
.step__num {
  font-family: var(--ff-display); font-size: var(--fs-3xl);
  color: var(--civic-green); margin-bottom: 16px; font-weight: 400;
}
.step__title {
  font-family: var(--ff-display); font-size: var(--fs-3xl); line-height: 1.15;
  margin-bottom: 14px; font-weight: 400; letter-spacing: -0.01em;
}
.step__copy { color: #4a4a48; font-size: var(--fs-md); line-height: 1.6; }

/* FEATURE ROW */
.feature { padding: 96px 0; border-top: 1px solid var(--line-on-dark); }
.feature__grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 48px; align-items: center;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter);
}
.feature__num {
  font-family: var(--ff-display); font-size: var(--fs-md);
  color: rgba(255,255,255,0.45); margin-bottom: 28px;
}
.feature__title {
  font-size: var(--fs-5xl); line-height: 1.1; margin-bottom: 22px;
  font-family: var(--ff-display); color: var(--text-on-dark-display);
  letter-spacing: -0.015em; font-weight: 400;
}
.feature__copy {
  color: rgba(255,255,255,0.65);
  font-size: var(--fs-md); line-height: 1.6;
  max-width: 460px; margin-bottom: 18px;
}
.feature__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.feature__media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: linear-gradient(135deg, #14181a, #1f2622);
  aspect-ratio: 5/4;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 36px 36px 0;
}
.feature__media img {
  width: 62%; max-height: none; height: auto; flex-shrink: 0;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.45));
}
.feature--reverse .feature__grid { grid-template-columns: 1.05fr 1fr; }
.feature--reverse .feature__media { order: -1; }

/* CATEGORY CHIPS (homepage feature) */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 320px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
}
.cat-chip__dot { width: 8px; height: 8px; border-radius: 50%; }

/* STATUS TIMELINE */
.timeline {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0; align-items: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  position: relative;
  min-width: 0;
}
.timeline-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 14px; position: relative; padding: 0 8px;
}
.timeline-step__dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #fff; font-weight: 600;
  position: relative; z-index: 1;
}
.timeline-step__label { font-family: var(--ff-display); font-size: var(--fs-md); color: var(--text-on-dark); font-weight: 400; }
.timeline-step + .timeline-step::before {
  content: ""; position: absolute;
  left: -50%; top: 18px;
  height: 2px; width: 100%;
  background: rgba(255,255,255,0.12);
  z-index: 0;
}

/* ALERT SEVERITY GRID */
.severity {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px; min-width: 0; width: 100%;
}
.severity-card {
  border-radius: var(--radius-sm); padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  min-width: 0; overflow-wrap: break-word;
}
.severity-card__bar { width: 32px; height: 4px; border-radius: 4px; margin-bottom: 18px; }
.severity-card__title {
  font-family: var(--ff-display); font-size: var(--fs-2xl);
  margin-bottom: 8px; font-weight: 400; color: var(--text-on-dark);
}
.severity-card__copy { color: rgba(255,255,255,0.6); font-size: var(--fs-body); line-height: 1.55; }

/* WORLD STATS */
.world {
  padding: 120px 0 80px; text-align: center;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(13, 124, 61, 0.20), transparent 70%),
    radial-gradient(80% 80% at 50% 100%, rgba(0,0,0,0.7), transparent 60%),
    var(--bg-dark);
}
.world__title {
  font-size: var(--fs-6xl); font-family: var(--ff-display);
  color: var(--text-on-dark-display);
  margin-bottom: 14px; font-weight: 400; letter-spacing: -0.015em;
}
.world__sub { color: rgba(255,255,255,0.60); margin-bottom: 32px; font-size: var(--fs-lg); }
.world__cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.stats {
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: var(--container); margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
.stat__num {
  font-family: var(--ff-display); font-size: var(--fs-9xl);
  color: var(--text-on-dark-display);
  line-height: 1; font-weight: 400; margin-bottom: 14px;
}
.stat__label { color: rgba(255,255,255,0.55); font-size: var(--fs-body); line-height: 1.5; max-width: 240px; margin: 0 auto; }

/* GROUPS */
.groups { padding: 120px 0; border-top: 1px solid var(--line-on-dark); }
.groups__head {
  max-width: var(--container); margin: 0 auto 60px; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end;
}
.groups__title {
  font-family: var(--ff-display); font-size: var(--fs-7xl);
  font-weight: 400; line-height: 1.05; letter-spacing: -0.015em;
  color: var(--text-on-dark-display);
}
.groups__copy { color: rgba(255,255,255,0.6); font-size: var(--fs-md); line-height: 1.6; }
.groups__grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.group-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 180px;
  transition: transform .15s ease, background .15s ease;
}
.group-card:hover { background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.group-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(13, 124, 61, 0.18);
  color: var(--civic-green-light);
  display: flex; align-items: center; justify-content: center;
}
.group-card__title {
  font-family: var(--ff-display); font-size: var(--fs-2xl);
  color: var(--text-on-dark); font-weight: 400; letter-spacing: -0.01em;
}
.group-card__copy { color: rgba(255,255,255,0.55); font-size: var(--fs-body); line-height: 1.5; margin-top: auto; }

/* BONUS FEATURES */
.bonus { padding: 120px 0; background: var(--bg-cream); color: var(--text-display); }
.bonus__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.bonus h2 { font-family: var(--ff-display); font-size: var(--fs-7xl); font-weight: 400; letter-spacing: -0.015em; line-height: 1.05; margin-bottom: 14px; }
.bonus p { color: #4a4a48; font-size: var(--fs-lg); }
.bonus__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.bonus-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.bonus-card__pill {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  background: rgba(13, 124, 61, 0.08);
  color: var(--civic-green);
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill);
}
.bonus-card__title { font-family: var(--ff-display); font-size: var(--fs-3xl); font-weight: 400; letter-spacing: -0.01em; line-height: 1.15; }
.bonus-card__copy { color: #4a4a48; font-size: var(--fs-md); line-height: 1.6; }

/* SPOTLIGHT */
.spotlight { padding: 120px 0; border-top: 1px solid var(--line-on-dark); }
.spotlight__grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start;
}
.spotlight__title {
  font-family: var(--ff-display); font-size: var(--fs-9xl); line-height: 1;
  color: var(--text-on-dark-display); letter-spacing: -0.02em; font-weight: 400;
}
.spotlight__title em { color: rgba(255,255,255,0.45); font-style: normal; }
.spotlight__copy { color: rgba(255,255,255,0.65); font-size: var(--fs-lg); line-height: 1.6; margin-bottom: 28px; }

.browser-mock {
  margin: 80px auto 0; max-width: 1080px;
  background: #f3f1ec;
  border-radius: 18px; padding: 0; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.browser-mock__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: #e8e6e1;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.browser-mock__dot { width: 12px; height: 12px; border-radius: 50%; }
.browser-mock__dot:nth-child(1) { background: #ff5f56; }
.browser-mock__dot:nth-child(2) { background: #ffbd2e; }
.browser-mock__dot:nth-child(3) { background: #27c93f; }
.browser-mock__url {
  margin-left: 24px;
  font-size: var(--fs-sm); color: #555;
  background: #fff; padding: 6px 14px; border-radius: var(--radius-pill);
  flex: 1; max-width: 320px;
}
.browser-mock__body { background: #fff; min-height: 540px; padding: 28px; color: #2c2c2b; }

/* HOME FAQ */
.faq { background: var(--bg-cream); padding: 120px 0; color: var(--text-display); }
.faq__inner { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }
.faq__title {
  font-family: var(--ff-display); font-size: var(--fs-7xl);
  text-align: center; margin-bottom: 56px;
  font-weight: 400; letter-spacing: -0.015em; color: var(--text-display);
}
.faq__item { border-top: 1px solid rgba(0,0,0,0.10); }
.faq__item:last-child { border-bottom: 1px solid rgba(0,0,0,0.10); }
.faq__q {
  font-family: var(--ff-display); font-size: var(--fs-3xl); font-weight: 400;
  padding: 28px 0; width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { width: 24px; height: 24px; color: rgba(0,0,0,0.5); transition: transform .2s ease; }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { color: #4a4a48; font-size: var(--fs-lg); line-height: 1.6; padding: 0 0 28px; max-width: 720px; }

/* FINAL CTA (homepage) */
.final-cta {
  padding: 120px 0; text-align: center;
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(13, 124, 61, 0.22), transparent 70%),
    var(--bg-dark);
  color: var(--text-on-dark);
}
.final-cta h2 {
  font-family: var(--ff-display); font-size: var(--fs-8xl);
  line-height: 1.0; letter-spacing: -0.02em;
  font-weight: 400; color: var(--text-on-dark-display);
  margin-bottom: 24px;
}
.final-cta p { color: rgba(255,255,255,0.65); font-size: var(--fs-lg); margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ============================================================
   8. BLOG INDEX
   ============================================================ */
.blog-hero {
  background: var(--bg-dark); color: var(--text-on-dark);
  padding: 160px var(--gutter) 80px;
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 50%, rgba(13, 124, 61, 0.18), transparent 70%),
    linear-gradient(180deg, #0a0e0a 0%, #080a08 100%);
  z-index: 0;
}
.blog-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: end;
}
.blog-hero h1 {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-8xl); line-height: 1.0;
  letter-spacing: -0.02em; color: var(--text-on-dark-display);
}
.blog-hero p {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-lg); line-height: 1.55;
  max-width: 460px;
}

/* ABOUT JOURNAL STRIP */
.about-strip {
  background: var(--bg-cream);
  padding: 32px var(--gutter);
  border-bottom: 1px solid var(--line-on-light);
}
.about-strip__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center;
  justify-content: space-between;
}
.about-strip__copy {
  font-family: var(--ff-display); font-size: var(--fs-xl);
  line-height: 1.5; color: var(--text-display); max-width: 640px;
  font-style: italic; font-weight: 400;
}
.about-strip__copy strong { font-style: normal; font-weight: 500; }
.about-strip__authors { display: flex; align-items: center; gap: 12px; }
.author-stack { display: flex; align-items: center; }
.author-stack__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--ff-display); font-size: 14px;
  border: 2px solid var(--bg-cream); margin-left: -10px;
}
.author-stack__avatar:first-child { margin-left: 0; }
.about-strip__authors-text { font-size: var(--fs-sm); color: #6b7280; line-height: 1.4; }
.about-strip__authors-text strong { color: var(--text-display); font-weight: 500; }

/* FILTER BAR */
.filters {
  background: var(--bg-light);
  border-bottom: 1px solid var(--line-on-light);
  padding: 22px var(--gutter);
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}
.filters__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between;
}
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-body); font-weight: 500;
  padding: 8px 16px;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-pill);
  background: #fff; color: var(--text-tag);
  transition: all .15s ease; cursor: pointer;
}
.chip-filter:hover { border-color: rgba(0,0,0,0.25); }
.chip-filter--active { background: var(--text-display); color: #fff; border-color: var(--text-display); }
.chip-filter__dot { width: 8px; height: 8px; border-radius: 50%; }
.chip-filter__count {
  font-size: var(--fs-xs); font-weight: 500;
  color: rgba(0,0,0,0.40); margin-left: -2px;
}
.chip-filter--active .chip-filter__count { color: rgba(255,255,255,0.55); }
.filters__sort { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: #6b7280; }
.filters__sort select {
  font: inherit; color: var(--text-display);
  background: transparent; border: 0;
  padding: 4px 0; cursor: pointer; font-weight: 500;
}

/* FEATURED ARTICLE */
.featured {
  background: var(--bg-cream-warm);
  padding: 80px var(--gutter); position: relative;
}
.featured__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
.featured__media {
  position: relative; aspect-ratio: 4/5;
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.20);
  background: linear-gradient(140deg, #B8500A 0%, #FF6F00 50%, #FFA040 100%);
  display: flex; flex-direction: column; padding: 32px;
}
.featured__media::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,0.20) 0%, transparent 50%);
  pointer-events: none;
}
.featured__pull-quote {
  font-family: var(--ff-display); font-style: italic;
  font-size: var(--fs-9xl); line-height: 0.95;
  color: rgba(255,255,255,0.95); letter-spacing: -0.02em;
  margin-top: auto; position: relative; z-index: 1; font-weight: 400;
}
.featured__pull-attr {
  font-size: var(--fs-sm); color: rgba(255,255,255,0.75);
  margin-top: 16px;
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  position: relative; z-index: 1;
}
.featured__a-la-une {
  position: absolute; top: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.40);
  backdrop-filter: blur(8px); color: #fff; z-index: 2;
}
.featured__a-la-une::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.featured__body { padding: 0; }
.featured__pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.06); color: var(--text-display);
  margin-bottom: 24px;
}
.featured__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-8xl); line-height: 1.02;
  letter-spacing: -0.022em; color: var(--text-display);
  margin-bottom: 24px;
}
.featured__title a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.featured__excerpt {
  font-size: var(--fs-xl); color: #4a4a48;
  line-height: 1.55; margin-bottom: 32px; max-width: 540px;
}
.featured__meta { display: flex; align-items: center; gap: 14px; font-size: var(--fs-body); color: #6b7280; flex-wrap: wrap; }
.featured__meta a { color: var(--text-display); font-weight: 500; }
.featured__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.featured__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6F00, #FFA040);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 14px;
}
.featured__sep { color: rgba(0,0,0,0.20); }

/* ARTICLE GRID — 12-col asymmetric */
.articles { padding: 80px var(--gutter) 64px; background: var(--bg-light); }
.articles__inner { max-width: var(--container); margin: 0 auto; }
.articles__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px;
}
.article-card {
  grid-column: span 4;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform .2s ease; min-width: 0;
}
.article-card:hover { transform: translateY(-2px); }
.article-card:hover .article-card__title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-card--wide {
  grid-column: span 8;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 28px; align-items: center;
}
.article-card--wide .article-card__thumb { aspect-ratio: 4/5; }
.article-card--wide .article-card__title { font-size: var(--fs-4xl); line-height: 1.15; }
.article-card--wide .article-card__excerpt { display: -webkit-box; }
.article-card--half { grid-column: span 6; }
.article-card--half .article-card__thumb { aspect-ratio: 16/10; }
.article-card--half .article-card__title { font-size: var(--fs-3xl); }
.article-card__pill {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.05); color: var(--text-display);
}
.article-card__pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.article-card__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-3xl); line-height: 1.2;
  letter-spacing: -0.012em; color: var(--text-display);
}
.article-card__excerpt {
  color: #4a4a48; font-size: var(--fs-md); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.article-card__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--fs-sm); color: #6b7280;
  margin-top: auto; flex-wrap: wrap;
}
.article-card__meta a { color: var(--text-display); font-weight: 500; }
.article-card__meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-card__sep { color: rgba(0,0,0,0.20); }

/* THUMBNAIL SYSTEM */
.thumb {
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px; color: #fff;
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.10) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(0,0,0,0.18) 0%, transparent 50%);
  pointer-events: none;
}
/* When the card has a featured image, hide the thumb gradient and show the image */
.thumb--has-image {
  background: #14181a !important;
  padding: 0;
}
.thumb--has-image::after { display: none; }
.thumb--has-image > * { display: none; }
.thumb--has-image > img {
  display: block !important;
  width: 100%; height: 100%;
  object-fit: cover;
}
.thumb-astuces    { background: linear-gradient(140deg, #074826 0%, #0D7C3D 50%, #2E9E5E 100%); }
.thumb-astuces--alt { background: linear-gradient(160deg, #0D7C3D 0%, #2E9E5E 60%, #4DB87A 100%); }
.thumb-histoires  { background: linear-gradient(140deg, #B8500A 0%, #FF6F00 50%, #FFA040 100%); }
.thumb-histoires--alt { background: linear-gradient(160deg, #8B3A05 0%, #D85B00 60%, #FF8533 100%); }
.thumb-actualites { background: linear-gradient(140deg, #1E3A8A 0%, #3B82F6 50%, #60A5FA 100%); }
.thumb-actualites--alt { background: linear-gradient(160deg, #1B2D6B 0%, #2563EB 60%, #4F94F8 100%); }
.thumb-updates    { background: linear-gradient(140deg, #5B21B6 0%, #8B5CF6 50%, #A78BFA 100%); }
.thumb-updates--alt { background: linear-gradient(160deg, #432078 0%, #7C3AED 60%, #9F75ED 100%); }

.thumb__overline {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative; z-index: 1;
}
.thumb__display {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 0.95;
  color: rgba(255,255,255,0.96);
  letter-spacing: -0.025em;
  position: relative; z-index: 1; margin: auto 0;
}
.thumb__display--quote { font-style: italic; }
.thumb__display--small { font-size: clamp(32px, 6vw, 56px); }
.thumb__caption {
  font-size: var(--fs-sm); color: rgba(255,255,255,0.85);
  font-weight: 500; letter-spacing: 0.02em;
  position: relative; z-index: 1;
}
.thumb__corner-icon {
  position: absolute; right: 18px; bottom: 18px;
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; z-index: 1;
}

/* MID-PAGE CTA BANNER (inside grid) */
.mid-cta {
  grid-column: 1 / -1;
  background: var(--bg-dark); color: var(--text-on-dark);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.mid-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 0% 50%, rgba(13, 124, 61, 0.25), transparent 60%);
}
.mid-cta__copy { position: relative; z-index: 1; max-width: 560px; }
.mid-cta__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-4xl); line-height: 1.15;
  letter-spacing: -0.015em; color: var(--text-on-dark-display);
  margin-bottom: 6px;
}
.mid-cta__sub { color: rgba(255,255,255,0.60); font-size: var(--fs-md); }
.mid-cta__action { position: relative; z-index: 1; }

/* ENDCAP */
.endcap {
  text-align: center; padding: 64px 0 32px;
  border-top: 1px solid var(--line-on-light); margin-top: 64px;
}
.endcap__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-4xl); line-height: 1.2;
  color: var(--text-display); margin-bottom: 8px; letter-spacing: -0.012em;
}
.endcap__sub { color: #6b7280; font-size: var(--fs-md); margin-bottom: 24px; }
.endcap__links { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.endcap__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--civic-green); font-size: var(--fs-md); font-weight: 500;
  padding: 10px 18px;
  border: 1px solid rgba(13, 124, 61, 0.30);
  border-radius: var(--radius-pill);
  transition: background .15s ease;
}
.endcap__link:hover { background: rgba(13, 124, 61, 0.06); }

/* WP PAGINATION */
.wp-pagination {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin-top: 48px;
}
.wp-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-body); font-weight: 500;
  color: var(--text-tag);
  transition: background .15s ease;
}
.wp-pagination .page-numbers:hover { background: rgba(0,0,0,0.05); }
.wp-pagination .page-numbers.current { background: var(--text-display); color: #fff; }
.wp-pagination .page-numbers.dots { color: #9ca3af; }

/* NEWSLETTER STRIP */
.newsletter-strip { background: var(--bg-cream); padding: 80px var(--gutter); }
.newsletter-strip__inner {
  max-width: 760px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.newsletter-strip__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-5xl); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--text-display); margin-bottom: 12px;
}
.newsletter-strip__copy { color: #4a4a48; font-size: var(--fs-md); line-height: 1.6; }
.newsletter-strip__copy strong { color: var(--text-display); font-weight: 500; }
.newsletter-strip__form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-strip__field { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-strip__input {
  flex: 1; min-width: 220px;
  padding: 12px 18px;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-pill);
  font-family: inherit; font-size: var(--fs-body); background: #fff;
}
.newsletter-strip__input:focus {
  outline: none; border-color: var(--civic-green);
  box-shadow: 0 0 0 3px rgba(13, 124, 61, 0.12);
}
.newsletter-strip__btn {
  background: var(--text-display); color: #fff;
  font-size: var(--fs-body); font-weight: 500;
  padding: 12px 22px; border-radius: var(--radius-pill);
  cursor: pointer; transition: transform .15s ease;
}
.newsletter-strip__btn:hover { transform: translateY(-1px); }
.newsletter-strip__legal {
  font-size: var(--fs-xs); color: #6b7280; line-height: 1.5;
  display: flex; align-items: center; gap: 6px;
}
.newsletter-strip__legal::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--civic-green);
}

/* ============================================================
   9. SINGLE POST
   ============================================================ */
.reading-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; background: var(--civic-green);
  width: 0%; z-index: 51;
  transition: width .1s ease;
}

.article { display: block; }

.article-header {
  background: var(--bg-dark); color: var(--text-on-dark);
  padding: 160px var(--gutter) 80px;
  position: relative; overflow: hidden;
}
.article-header::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 80% 50%, rgba(255, 111, 0, 0.10), transparent 70%),
    linear-gradient(180deg, #0a0a0a 0%, #060606 100%);
  z-index: 0;
}
.article-header__inner {
  position: relative; z-index: 1;
  max-width: var(--reading-width); margin: 0 auto;
  text-align: left;
}
.article-header__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-body); color: var(--text-on-dark-muted);
  margin-bottom: 36px; transition: color .15s ease;
}
.article-header__back:hover { color: #fff; }
.article-header__pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.10); color: #fff;
  margin-bottom: 24px;
}
.article-header__pill-dot { width: 8px; height: 8px; border-radius: 50%; }
.article-header h1 {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-8xl); line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text-on-dark-display); margin-bottom: 24px;
}
.article-header__dek {
  font-size: var(--fs-xl); line-height: 1.55;
  color: rgba(255,255,255,0.65); max-width: 600px;
  margin-bottom: 36px;
  font-family: var(--ff-display); font-style: italic; font-weight: 400;
}
.article-header__meta {
  display: flex; align-items: center; gap: 14px;
  font-size: var(--fs-body); color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
}
.article-header__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6F00, #FFA040);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 16px;
}
.article-header__author { color: rgba(255,255,255,0.85); }
.article-header__author a { color: #fff; font-weight: 500; }
.article-header__author a:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-header__sep { color: rgba(255,255,255,0.20); }
.article-header__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 20px;
}
.article-header__tag {
  display: inline-flex; align-items: center;
  font-size: var(--fs-xs); color: rgba(255,255,255,0.50);
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  transition: color .15s ease, border-color .15s ease;
}
.article-header__tag:hover { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.28); }
.article-header__tag::before { content: "#"; opacity: 0.5; margin-right: 2px; }

.article-hero-image {
  max-width: 1080px; margin: -40px auto 0; padding: 0 var(--gutter);
}
.article-hero-image__inner {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.30);
  background: linear-gradient(135deg, #14181a, #1f2622);
  aspect-ratio: 16/9;
}
.article-hero-image__inner img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.article-hero-image__caption {
  font-size: var(--fs-sm); color: #6b7280;
  text-align: left; margin-top: 14px; font-style: italic;
  max-width: 1080px; padding: 0 var(--gutter);
}
.article-hero-image__caption strong { color: var(--text-display); font-style: normal; font-weight: 500; }

.article-body-wrap {
  display: grid;
  grid-template-columns: 1fr min(var(--reading-width), 92%) 1fr;
  padding: 80px 0 100px;
  gap: 0;
}
.article-body-wrap > * { grid-column: 2; }

/* SIDE TOC */
.toc-side {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  right: 32px; width: 220px;
  font-size: var(--fs-sm);
  display: none; z-index: 30;
}
.toc-side h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #6b7280; margin-bottom: 12px;
}
.toc-side ul { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; }
.toc-side a {
  color: #6b7280; font-size: var(--fs-body); line-height: 1.4;
  padding-left: 12px;
  border-left: 2px solid var(--line-on-light);
  transition: color .15s ease, border-color .15s ease;
  display: block;
}
.toc-side a:hover { color: var(--text-display); border-color: var(--text-display); }
.toc-side a.is-active { color: var(--civic-green); border-color: var(--civic-green); font-weight: 500; }
@media (min-width: 1280px) { .toc-side { display: block; } }

/* SIDE SHARE */
.share-side {
  position: fixed; top: 50%; transform: translateY(-50%);
  left: 32px;
  display: none;
  flex-direction: column; gap: 8px; z-index: 30;
}
@media (min-width: 1280px) { .share-side { display: flex; } }
.share-side__label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #6b7280;
  writing-mode: vertical-rl;
  margin: 0 auto 12px;
}
.share-side button {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.share-side button:hover { background: rgba(13, 124, 61, 0.10); color: var(--civic-green); transform: scale(1.05); }

/* ARTICLE BODY TYPOGRAPHY */
.article-body p, .article-body ul, .article-body ol {
  font-size: var(--fs-xl); line-height: 1.7;
  color: #2c2c2b; margin-bottom: 28px;
}
.article-body p.lead {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-3xl); line-height: 1.5;
  color: var(--text-display);
  letter-spacing: -0.005em;
  margin-bottom: 36px;
}
.article-body h2 {
  font-family: var(--ff-display); font-weight: 500;
  font-size: var(--fs-5xl); line-height: 1.15;
  letter-spacing: -0.018em; color: var(--text-display);
  margin: 64px 0 24px;
  scroll-margin-top: 96px; position: relative;
}
.article-body h3 {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-3xl); line-height: 1.25;
  color: var(--civic-green); margin: 40px 0 16px;
  scroll-margin-top: 96px;
}
.heading-anchor {
  opacity: 0; margin-left: 8px;
  color: #9ca3af; font-weight: 400; font-size: 0.55em;
  transition: opacity .15s ease, color .15s ease;
}
.article-body h2:hover .heading-anchor,
.article-body h3:hover .heading-anchor { opacity: 1; }
.heading-anchor:hover { color: var(--civic-green); }

.article-body ul, .article-body ol { padding-left: 28px; list-style: disc inside; }
.article-body ol { list-style: decimal inside; }
.article-body li { margin-bottom: 10px; }
.article-body strong { font-weight: 600; color: var(--text-display); }
.article-body a {
  color: var(--civic-green);
  text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.article-body a:hover { text-decoration-thickness: 2px; }

.article-body blockquote {
  font-family: var(--ff-display); font-style: italic;
  font-size: var(--fs-5xl); line-height: 1.2;
  color: var(--text-display); letter-spacing: -0.015em;
  margin: 56px -32px;
  padding: 0 32px;
  border-left: 3px solid var(--civic-green);
  font-weight: 400;
}
.article-body blockquote cite {
  display: block; margin-top: 18px;
  font-family: var(--ff-sans); font-size: var(--fs-md);
  font-style: normal; color: #6b7280;
}

.article-body figure { margin: 56px 0; }
.article-body figure.figure--mockup {
  background: linear-gradient(135deg, #14181a, #1f2622);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  justify-content: center; align-items: flex-start;
  overflow: hidden; max-height: 520px;
}
.article-body figure.figure--mockup img {
  max-width: 60%; height: auto;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.45));
}
.article-body figure img {
  border-radius: var(--radius-sm);
  width: 100%;
}
.article-body figcaption {
  font-size: var(--fs-sm); color: #6b7280;
  text-align: center; margin-top: 12px; font-style: italic;
}

/* STAT CALLOUT */
.stat-callout {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 32px;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-card);
  background: var(--bg-cream);
  margin: 56px 0;
}
.stat-callout__cell { text-align: left; }
.stat-callout__num {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-7xl); line-height: 1;
  color: var(--civic-green); letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.stat-callout__label { font-size: var(--fs-body); color: #4a4a48; line-height: 1.45; }

/* CONTEXT CALLOUT */
.context-callout {
  background: var(--bg-cream);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin: 48px 0;
  border-left: 4px solid var(--civic-green);
}
.context-callout__label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--civic-green); margin-bottom: 12px;
}
.context-callout__title {
  font-family: var(--ff-display); font-weight: 500;
  font-size: var(--fs-2xl); line-height: 1.3;
  color: var(--text-display); margin-bottom: 10px;
}
.context-callout__copy { font-size: var(--fs-md); line-height: 1.6; color: #4a4a48; }

/* ARTICLE FOOTER */
.article-footer {
  margin-top: 64px;
  display: flex; flex-direction: column; gap: 32px;
}

.share-bar {
  display: flex; gap: 8px; align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line-on-light);
  border-bottom: 1px solid var(--line-on-light);
  font-size: var(--fs-body); color: #6b7280;
  flex-wrap: wrap;
}
.share-bar__label { margin-right: 8px; }
.share-bar button {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.05);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease;
}
.share-bar button:hover { background: rgba(13, 124, 61, 0.12); color: var(--civic-green); }
.share-bar__feedback {
  font-size: var(--fs-sm); color: var(--civic-green); font-weight: 500;
  opacity: 0; transition: opacity .2s ease;
}
.share-bar__feedback.is-visible { opacity: 1; }

/* AUTHOR CARD */
.author-card {
  padding: 32px;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-card);
  display: flex; gap: 24px; align-items: flex-start;
  background: #fff;
  text-decoration: none; color: inherit;
  transition: border-color .15s ease, transform .15s ease;
}
.author-card:hover { border-color: rgba(0,0,0,0.20); transform: translateY(-1px); }
.author-card__avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, #FF6F00, #FFA040);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display); font-size: 28px;
  flex-shrink: 0; overflow: hidden;
}
.author-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-card__name {
  font-family: var(--ff-display); font-size: var(--fs-3xl);
  color: var(--text-display); margin-bottom: 4px; font-weight: 400;
  display: inline-flex; align-items: center; gap: 8px;
}
.author-card__name::after {
  content: "→"; font-size: 18px; opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
}
.author-card:hover .author-card__name::after { opacity: 0.6; transform: translateX(2px); }
.author-card__role { font-size: var(--fs-sm); color: #6b7280; margin-bottom: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.author-card__bio { font-size: var(--fs-md); color: #4a4a48; line-height: 1.6; margin-bottom: 12px; }
.author-card__credits { font-size: var(--fs-sm); color: #6b7280; }
.author-card__credits strong { color: var(--text-display); font-weight: 500; }

/* PREV / NEXT */
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prev-next a {
  display: block; padding: 24px;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-card);
  background: #fff;
  transition: border-color .15s ease, transform .15s ease;
}
.prev-next a:hover { border-color: rgba(0,0,0,0.20); transform: translateY(-1px); }
.prev-next__direction {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #6b7280; margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.prev-next__title {
  font-family: var(--ff-display); font-size: var(--fs-xl);
  font-weight: 400; line-height: 1.3;
  color: var(--text-display); letter-spacing: -0.01em;
}
.prev-next__next { text-align: right; }
.prev-next__next .prev-next__direction { justify-content: flex-end; }

/* COMMUNITY LINK BLOCK */
.community-link {
  margin-top: 16px; padding: 20px 24px;
  background: rgba(13, 124, 61, 0.05);
  border: 1px solid rgba(13, 124, 61, 0.18);
  border-radius: var(--radius-sm);
  display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap;
}
.community-link__icon {
  width: 36px; height: 36px;
  background: rgba(13, 124, 61, 0.10);
  color: var(--civic-green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.community-link__text { font-size: var(--fs-md); color: var(--text-primary); flex: 1; min-width: 200px; }
.community-link__text strong { color: var(--text-display); font-weight: 500; }
.community-link__cta {
  color: var(--civic-green); font-size: var(--fs-md); font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}
.community-link__cta:hover { text-decoration: underline; text-underline-offset: 3px; }

/* RELATED */
.related { background: var(--bg-cream); padding: 96px var(--gutter); }
.related__inner { max-width: var(--container); margin: 0 auto; }
.related__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-5xl); line-height: 1.1;
  letter-spacing: -0.015em; margin-bottom: 8px;
  color: var(--text-display);
}
.related__sub { color: #6b7280; font-size: var(--fs-md); margin-bottom: 40px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* CTA BANNER (single) */
.cta-banner {
  background: var(--bg-dark); color: var(--text-on-dark);
  padding: 96px var(--gutter); text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 50%, rgba(13, 124, 61, 0.20), transparent 70%);
}
.cta-banner__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-banner h3, .cta-banner h2 {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-7xl); line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--text-on-dark-display);
  margin-bottom: 18px;
}
.cta-banner p { color: rgba(255,255,255,0.65); font-size: var(--fs-lg); margin-bottom: 32px; }

/* ============================================================
   10. CONTACT
   ============================================================ */
.contact-hero {
  background: var(--bg-dark); color: var(--text-on-dark);
  padding: 160px var(--gutter) 96px;
  position: relative; overflow: hidden;
}
.contact-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 70% at 80% 50%, rgba(13, 124, 61, 0.18), transparent 70%),
    linear-gradient(180deg, #0a0e0a 0%, #080a08 100%);
}
.contact-hero__inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: end;
}
.contact-hero h1 {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-9xl); line-height: 1.0;
  letter-spacing: -0.02em; color: var(--text-on-dark-display);
}
.contact-hero p {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-lg); line-height: 1.55; max-width: 460px;
}

.contact-main { padding: 96px var(--gutter); background: var(--bg-light); }
.contact-main__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 72px; align-items: start;
}

.form__heading {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-5xl); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--text-display); margin-bottom: 14px;
}
.form__sub { color: #4a4a48; font-size: var(--fs-lg); margin-bottom: 40px; line-height: 1.55; }
.form__group { margin-bottom: 24px; }
.form__label {
  display: block; font-size: var(--fs-sm); font-weight: 600;
  color: var(--text-display); margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.form__input, .form__textarea, .wpcf7 input[type=text],
.wpcf7 input[type=email], .wpcf7 textarea, .wpcf7 select {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--ff-sans); font-size: var(--fs-md);
  color: var(--text-display);
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-input);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form__input:focus, .form__textarea:focus,
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
  outline: none;
  border-color: var(--civic-green);
  box-shadow: 0 0 0 3px rgba(13, 124, 61, 0.12);
}
.form__textarea, .wpcf7 textarea { min-height: 160px; resize: vertical; line-height: 1.6; }

.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.audience input[type="radio"] {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.audience__card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--line-on-light);
  border-radius: var(--radius-input);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  background: #fff;
}
.audience__card:hover { border-color: rgba(0,0,0,0.25); }
.audience input[type="radio"]:checked + .audience__card {
  border-color: var(--civic-green);
  background: rgba(13, 124, 61, 0.04);
}
.audience input[type="radio"]:focus-visible + .audience__card {
  box-shadow: 0 0 0 3px rgba(13, 124, 61, 0.18);
}
.audience__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(13, 124, 61, 0.10);
  color: var(--civic-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.audience__title { font-weight: 600; font-size: var(--fs-md); color: var(--text-display); margin-bottom: 2px; }
.audience__copy { font-size: var(--fs-sm); color: #6b7280; line-height: 1.45; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__submit, .wpcf7 input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--text-display); color: #fff;
  font-size: var(--fs-md); font-weight: 500;
  padding: 14px 28px; border-radius: var(--radius-pill);
  cursor: pointer; transition: transform .15s ease, opacity .15s ease;
  margin-top: 8px;
  border: 0; font-family: var(--ff-sans);
}
.form__submit:hover, .wpcf7 input[type=submit]:hover { transform: translateY(-1px); }
.form__legal { font-size: var(--fs-sm); color: #6b7280; margin-top: 16px; line-height: 1.5; }
.form__legal a { color: var(--civic-green); text-decoration: underline; text-underline-offset: 2px; }

.aside { display: flex; flex-direction: column; gap: 16px; }
.aside-card {
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-card);
  padding: 28px; background: #fff;
}
.aside-card__pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(13, 124, 61, 0.08); color: var(--civic-green);
  margin-bottom: 16px;
}
.aside-card__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-3xl); line-height: 1.2; letter-spacing: -0.01em;
  color: var(--text-display); margin-bottom: 10px;
}
.aside-card__copy { color: #4a4a48; font-size: var(--fs-md); line-height: 1.55; margin-bottom: 18px; }
.aside-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--civic-green); font-size: var(--fs-md); font-weight: 500;
}
.aside-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }

.response-time {
  background: var(--bg-cream);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.response-time__icon {
  width: 44px; height: 44px;
  background: rgba(13, 124, 61, 0.12);
  color: var(--civic-green);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.response-time__title {
  font-family: var(--ff-display); font-size: var(--fs-xl);
  color: var(--text-display); margin-bottom: 4px; font-weight: 400;
}
.response-time__copy { font-size: var(--fs-body); color: #6b7280; line-height: 1.55; }

.faq-strip { background: var(--bg-cream); padding: 80px var(--gutter); }
.faq-strip__inner { max-width: var(--container); margin: 0 auto; }
.faq-strip__head { text-align: center; margin-bottom: 48px; }
.faq-strip__head h2 {
  font-family: var(--ff-display); font-weight: 400;
  font-size: var(--fs-6xl); line-height: 1.1;
  letter-spacing: -0.015em; color: var(--text-display); margin-bottom: 12px;
}
.faq-strip__head p { color: #4a4a48; font-size: var(--fs-lg); }
.faq-strip__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 960px; margin: 0 auto;
}
.faq-shortcut {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .15s ease;
}
.faq-shortcut:hover { transform: translateY(-2px); }
.faq-shortcut__icon {
  width: 36px; height: 36px;
  background: rgba(13, 124, 61, 0.10);
  color: var(--civic-green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.faq-shortcut__title {
  font-family: var(--ff-display); font-size: var(--fs-2xl);
  color: var(--text-display); font-weight: 400; line-height: 1.2;
}
.faq-shortcut__link {
  margin-top: auto;
  font-size: var(--fs-sm); color: var(--civic-green); font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ============================================================
   11. ANIMATIONS + REDUCED MOTION
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform .9s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-inview { opacity: 1; transform: none; }
.reveal--from-right { transform: translate(36px, 0); }
.reveal--from-right.is-inview { transform: none; }

@keyframes hero-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-phone-in { from { opacity: 0; transform: translateY(36px) scale(0.98); } to { opacity: 1; transform: none; } }

.nav { animation: hero-fade .7s ease both; }
body.is-home .hero__title { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .10s; }
body.is-home .hero__sub { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .25s; }
body.is-home .hero__cta { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .40s; }
body.is-home .hero__phone img { animation: hero-phone-in 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .15s; }
body.is-home .hero__chip--1 { animation: hero-fade .8s ease both; animation-delay: 1.00s; }
body.is-home .hero__chip--2 { animation: hero-fade .8s ease both; animation-delay: 1.30s; }
body.is-blog .blog-hero h1, body.is-contact .contact-hero h1 { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .10s; }
body.is-blog .blog-hero p, body.is-contact .contact-hero p { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .25s; }
body.is-single .article-header__pill { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .10s; }
body.is-single .article-header h1 { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .20s; }
body.is-single .article-header__dek { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .35s; }
body.is-single .article-header__meta { animation: hero-rise 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .50s; }
body.is-single .article-hero-image { animation: hero-rise 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: .25s; }

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

/* ============================================================
   12. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .featured__inner { grid-template-columns: 1fr; gap: 40px; }
  .featured__media { aspect-ratio: 4/3; max-width: 600px; }
  .featured__title { font-size: var(--fs-7xl); }
  .articles__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .article-card { grid-column: span 3; }
  .article-card--wide { grid-column: span 6; grid-template-columns: 1fr; }
  .article-card--half { grid-column: span 3; }
}
@media (max-width: 960px) {
  :root { --fs-9xl: 56px; --fs-8xl: 44px; --fs-7xl: 38px; --fs-6xl: 32px; --fs-5xl: 28px; --fs-4xl: 24px; }
  .nav__toggle { display: inline-flex; }
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    position: fixed; top: 72px; left: 16px; right: 16px;
    background: rgba(254,254,254,0.96);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-card);
    padding: 16px; flex-direction: column;
    gap: 4px; box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    border: 1px solid var(--line-on-light);
  }
  .nav__links.is-open a { color: var(--text-display); padding: 10px 16px; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 110px; gap: 60px; }
  .hero__phone img { max-height: 60vh; }
  .hero__chip--1, .hero__chip--2 { display: none; }
  .steps { grid-template-columns: 1fr; }
  .feature__grid, .feature--reverse .feature__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px; }
  .timeline-step + .timeline-step::before { display: none; }
  .severity { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .groups__head { grid-template-columns: 1fr; align-items: start; }
  .groups__grid { grid-template-columns: repeat(2, 1fr); }
  .bonus__grid { grid-template-columns: 1fr; }
  .spotlight__grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-hero__inner, .contact-hero__inner { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .about-strip__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .article-header { padding-top: 130px; padding-bottom: 60px; }
  .article-body blockquote { margin: 40px 0; padding: 0 0 0 20px; }
  .article-body figure { margin: 40px 0; }
  .article-body figure.figure--mockup img { max-width: 80%; }
  .stat-callout { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .related__grid { grid-template-columns: 1fr; gap: 32px; }
  .author-card { flex-direction: column; text-align: left; }
  .prev-next { grid-template-columns: 1fr; }
  .prev-next__next { text-align: left; }
  .prev-next__next .prev-next__direction { justify-content: flex-start; }
  .articles__grid { grid-template-columns: 1fr; gap: 40px; }
  .article-card, .article-card--wide, .article-card--half { grid-column: 1; }
  .article-card--wide { display: flex; flex-direction: column; }
  .mid-cta { padding: 28px 24px; flex-direction: column; align-items: flex-start; text-align: left; }
  .newsletter-strip__inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-main__inner { grid-template-columns: 1fr; gap: 48px; }
  .audience { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .faq-strip__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) { .groups__grid { grid-template-columns: 1fr; } }

/* ============================================================
   13. PRINT
   ============================================================ */
@media print {
  .nav, .reading-progress, .toc-side, .share-side, .share-bar,
  .related, .cta-banner, .footer, .article-header__back,
  .mid-cta, .newsletter-strip, .endcap, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .article-header { background: #fff; color: #000; padding: 0 0 24pt; }
  .article-header h1 { color: #000; font-size: 24pt; }
  .article-header__pill { background: transparent; color: #000; border: 1px solid #000; }
  .article-header__dek { color: #333; }
  .article-header__meta { color: #555; }
  .article-hero-image { display: none; }
  .article-body { padding: 0; max-width: 100%; }
  .article-body p, .article-body ul, .article-body ol { font-size: 11pt; line-height: 1.5; color: #000; }
  .article-body h2, .article-body h3 { color: #000; }
  .article-body blockquote { color: #000; border-color: #000; }
  .stat-callout, .context-callout, .author-card, .prev-next, .community-link { display: none; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}


/* ============================================================
   CF7 OUTPUT STYLING (modernized)
   ============================================================ */
.wpcf7 form { display: flex; flex-direction: column; gap: 18px; }
.wpcf7 p { margin: 0; }
.wpcf7 p strong {
  display: block;
  font-size: var(--fs-sm); font-weight: 600;
  color: var(--text-display);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-transform: none;
}
.wpcf7 .wpcf7-radio {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 6px 0 4px;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 0;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid var(--line-on-light);
  border-radius: var(--radius-input);
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  font-size: var(--fs-md);
  color: var(--text-display);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item label:hover {
  border-color: rgba(0, 0, 0, 0.25);
}
.wpcf7 .wpcf7-radio .wpcf7-list-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-on-light);
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  position: relative;
  margin: 0;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item input[type="radio"]:checked {
  border-color: var(--civic-green);
  background: var(--civic-green);
  box-shadow: inset 0 0 0 4px #fff;
}
.wpcf7 .wpcf7-radio .wpcf7-list-item:has(input:checked) label {
  border-color: var(--civic-green);
  background: rgba(13, 124, 61, 0.04);
  box-shadow: 0 0 0 3px rgba(13, 124, 61, 0.10);
}
.wpcf7 .wpcf7-list-item-label { line-height: 1.3; }

.wpcf7 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wpcf7 .form-row > .wpcf7-form-control-wrap { width: 100%; }

.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--ff-sans);
  font-size: var(--fs-md);
  color: var(--text-display);
  background: #fff;
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-input);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; line-height: 1.6; }
.wpcf7 input[type=text]:focus,
.wpcf7 input[type=email]:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--civic-green);
  box-shadow: 0 0 0 3px rgba(13, 124, 61, 0.12);
}
.wpcf7 input[type=text]::placeholder,
.wpcf7 input[type=email]::placeholder,
.wpcf7 textarea::placeholder {
  color: rgba(0, 0, 0, 0.40);
}

.wpcf7 input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--text-display);
  color: #fff;
  font-family: var(--ff-sans);
  font-size: var(--fs-md); font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
  margin-top: 8px;
  align-self: flex-start;
}
.wpcf7 input[type=submit]:hover {
  transform: translateY(-1px);
  background: var(--civic-green);
}

.wpcf7 .wpcf7-response-output {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 8px 0 0;
  border: 1px solid var(--line-on-light);
  background: rgba(13, 124, 61, 0.06);
  color: var(--text-display);
  font-size: var(--fs-md);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.30);
}
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(13, 124, 61, 0.08);
  border-color: rgba(13, 124, 61, 0.30);
  color: var(--civic-green);
}
.wpcf7-not-valid-tip {
  color: var(--alert-urgent);
  font-size: var(--fs-sm);
  margin-top: 4px;
  display: block;
}

@media (max-width: 600px) {
  .wpcf7 .wpcf7-radio { grid-template-columns: 1fr; }
  .wpcf7 .form-row { grid-template-columns: 1fr; }
}


/* ============================================================
   SPACING FIX — tighten and equalize CF7 form rhythm
   ============================================================ */
.wpcf7-form {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
}
.wpcf7-form > * { margin: 0 !important; }
.wpcf7-form > p { padding: 0; }
.wpcf7-form > p:empty { display: none !important; }
.wpcf7-form > .wpcf7-response-output {
  margin: 0 !important;
}
.wpcf7-form > .wpcf7-response-output:empty {
  display: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* Make form-row work even when CF7 wraps inputs in <p> */
.wpcf7 .form-row > p {
  display: contents;
  margin: 0;
}
.wpcf7 .form-row {
  gap: 12px;
}

/* Tighten audience radio + label rhythm */
.wpcf7 .wpcf7-radio {
  margin: 4px 0 0 !important;
}

/* Submit button: small breathing room above */
.wpcf7 input[type=submit] {
  margin-top: 6px !important;
}

/* Newsletter consent checkbox */
.newsletter-strip__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #4a4a48;
  cursor: pointer;
  max-width: 460px;
}
.newsletter-strip__consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--civic-green);
  cursor: pointer;
}
.newsletter-strip__consent a {
  color: var(--civic-green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.newsletter-strip__consent a:hover {
  color: var(--text-display);
}
.newsletter-strip__message {
  margin-top: 8px;
  font-size: 13px;
  color: #ffb4b4;
  min-height: 1em;
}
.newsletter-strip__form--success .newsletter-strip__consent,
.newsletter-strip__form--success .newsletter-strip__legal {
  opacity: 0.6;
}

/* Footer socials row */
.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.footer__social:hover,
.footer__social:focus-visible {
  background: rgba(255,255,255,0.16);
  color: #fff;
  transform: translateY(-1px);
}
