/* ============================================================
   CHATIFY — Blog + About styles (self-contained, no CDNs)
   Static pages (/blog, /blog/<post>, /about) link only this file.
   Poppins is self-hosted from /fonts. Brand tokens mirror
   src/colors_and_type.css so the static pages match the app.
   ============================================================ */

/* ---------- Self-hosted Poppins ---------- */
@font-face { font-family:'Poppins'; font-weight:400; font-style:normal; font-display:swap; src:url('/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:500; font-style:normal; font-display:swap; src:url('/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:600; font-style:normal; font-display:swap; src:url('/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:700; font-style:normal; font-display:swap; src:url('/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family:'Poppins'; font-weight:800; font-style:normal; font-display:swap; src:url('/fonts/poppins-800.woff2') format('woff2'); }

/* ---------- Brand tokens (from src/colors_and_type.css) ---------- */
:root {
  --green-50:#F4FCF6; --green-100:#E6F8EE; --green-200:#CFF2DD; --green-300:#A7E8C2;
  --green-400:#5FD98F; --green-500:#18B454; --green-600:#12A24A; --green-700:#0E7E3A;
  --bright:#2BE06A;
  --green-grad:linear-gradient(150deg,#34D17A 0%,#05AB51 100%);
  --forest-900:#053C30; --forest-800:#06483A; --forest-700:#0B5A45; --forest-ink:#063C3D;
  --ink:#10241C; --text:#2B3A33; --text-muted:#5C6B63; --text-faint:#8A968F;
  --white:#FFFFFF; --surface:#FFFFFF; --surface-alt:#F7FAF8; --surface-grn:#F4FCF6;
  --border:#E7ECE9; --border-grn:#D5EEDF;
  --color-text:var(--text); --color-heading:var(--forest-ink); --color-muted:var(--text-muted);
  --color-link:var(--green-600);

  --font-display:'Poppins','Segoe UI',system-ui,-apple-system,sans-serif;
  --font-body:'Poppins','Segoe UI',system-ui,-apple-system,sans-serif;
  --text-display:56px; --text-h1:44px; --text-h2:32px; --text-h3:24px; --text-h4:20px;
  --text-lead:19px; --text-body:16px; --text-sm:14px; --text-xs:13px;
  --weight-regular:400; --weight-medium:500; --weight-semi:600; --weight-bold:700; --weight-x:800;
  --leading-tight:1.08; --leading-snug:1.25; --leading-body:1.6;

  --radius-sm:10px; --radius-md:16px; --radius-lg:22px; --radius-xl:28px; --radius-pill:999px;

  --shadow-sm:0 1px 2px rgba(6,60,48,.06);
  --shadow-md:0 8px 24px rgba(6,60,48,.08);
  --shadow-lg:0 20px 50px rgba(6,60,48,.10);
  --shadow-green:0 10px 22px rgba(24,180,84,.28);

  --ease-out:cubic-bezier(.22,.61,.36,1); --dur-fast:.15s; --dur:.25s;
}

/* ---------- Base type (mirrors colors_and_type.css) ---------- */
h1 { font-family:var(--font-display); font-size:var(--text-h1); font-weight:var(--weight-bold);
  line-height:var(--leading-tight); letter-spacing:-.02em; color:var(--color-heading); }
h2 { font-family:var(--font-display); font-size:var(--text-h2); font-weight:var(--weight-bold);
  line-height:var(--leading-snug); letter-spacing:-.01em; color:var(--color-heading); }
h3 { font-family:var(--font-display); font-size:var(--text-h3); font-weight:var(--weight-semi);
  line-height:var(--leading-snug); color:var(--color-heading); }
h4 { font-family:var(--font-display); font-size:var(--text-h4); font-weight:var(--weight-semi);
  line-height:var(--leading-snug); color:var(--color-heading); }
.ds-hl { color:var(--green-500); }

/* ============================================================
   BLOG — built on the brand tokens above.
   Lightweight, reading-first. Minimal JS by design.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-alt);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--green-700); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* visible focus for accessibility */
a:focus-visible, button:focus-visible, summary:focus-visible,
.filter-pill:focus-visible {
  outline: 3px solid var(--green-300);
  outline-offset: 2px;
  border-radius: 6px;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--green-500); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-pill); font-weight: 600; transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---------- buttons (mirrors marketing-site) ---------- */
.btn { font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border-radius: var(--radius-pill); border: 0; display: inline-flex; align-items: center;
  gap: 9px; padding: 13px 24px; transition: all .2s var(--ease-out); white-space: nowrap; cursor: pointer; }
.btn img, .btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green-500); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover { background: var(--green-600); color: #fff; transform: translateY(-1px); }
.btn-primary:active { background: var(--green-700); transform: translateY(1px); box-shadow: var(--shadow-sm); }
.btn-secondary { background: #fff; color: var(--green-600); border: 1.5px solid var(--green-300); }
.btn-secondary:hover { background: var(--green-50); border-color: var(--green-400); color: var(--green-700); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }

/* ---------- top nav (static pill, no JS) ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 16px 24px 0; }
.nav-inner {
  max-width: 1140px; margin: 0 auto; height: 62px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(6,60,48,.1); border-radius: 20px;
  box-shadow: 0 8px 28px rgba(6,60,48,.1);
}
.nav-logo { display: flex; align-items: center; }
.nav .logo { height: 34px; width: auto; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--text); position: relative; padding: 4px 0; }
.nav-link:hover { color: var(--green-600); }
.nav-link.active { color: var(--green-600); font-weight: 600; }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--green-500); border-radius: 2px; }
.nav-cta { font-size: 14px; padding: 10px 20px; }
.nav-cta.active::after { display: none; }

/* ============================================================
   LISTING PAGE
   ============================================================ */
.blog-hero { text-align: center; padding: 56px 0 8px; }
.eyebrow { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin: 0 0 14px; }
.blog-hero h1 { font-size: clamp(34px, 6vw, 52px); margin: 0 auto 16px; max-width: 16ch; }
.blog-hero .lead { font-size: var(--text-lead); color: var(--text-muted); max-width: 56ch;
  margin: 0 auto; line-height: var(--leading-body); }

/* filter pills */
.filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 36px auto 8px; max-width: 900px; }
.filter-pill { font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: var(--text-muted); background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-pill); padding: 9px 18px; cursor: pointer;
  transition: all .18s var(--ease-out); }
.filter-pill:hover { border-color: var(--green-300); color: var(--green-700); }
.filter-pill.active { background: var(--green-500); border-color: var(--green-500); color: #fff;
  box-shadow: var(--shadow-green); }

/* post grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding: 36px 0 8px; }
.pcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard[hidden] { display: none !important; }
.pcard-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-50); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.tag { align-self: flex-start; font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--green-700);
  background: var(--green-100); border-radius: var(--radius-pill); padding: 5px 12px; }
.pcard h2, .pcard h3 { font-size: 20px; font-weight: 700; line-height: 1.28; margin: 0;
  letter-spacing: -.01em; color: var(--forest-ink); }
.pcard a.title-link { color: inherit; }
.pcard a.title-link:hover { color: var(--green-600); }
.pcard .excerpt { font-size: 14.5px; color: var(--text-muted); margin: 0; flex: 1; }
.pcard-meta { display: flex; align-items: center; gap: 10px; margin-top: 4px;
  font-size: 13px; color: var(--text-faint); }
.pcard-meta .avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.pcard-meta .who { color: var(--text); font-weight: 500; }
.pcard-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); flex: none; }

/* featured (first) card spans full width */
.pcard.featured { grid-column: 1 / -1; flex-direction: row; }
.pcard.featured .pcard-media { aspect-ratio: auto; flex: 1 1 52%; min-height: 320px; }
.pcard.featured .pcard-body { flex: 1 1 48%; justify-content: center; padding: 40px 44px; gap: 16px; }
.pcard.featured h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.18; }
.pcard.featured .excerpt { font-size: 16px; flex: none; max-width: 46ch; }

/* ---------- CTA band (shared) ---------- */
.cta-section { padding: 56px 0 72px; }
.cta-band { background: var(--green-50); border: 1px solid var(--border-grn);
  border-radius: var(--radius-xl); padding: 44px 48px; display: flex; align-items: center;
  justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: 28px; margin: 0 0 8px; }
.cta-band p { font-size: 15.5px; color: var(--text-muted); margin: 0; max-width: 46ch; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer (shared) ---------- */
.footer { background: var(--forest-900); color: rgba(255,255,255,.72); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; }
.footer .logo { height: 30px; width: auto; flex: none; object-fit: contain; }
.footer .tag-line { font-size: 13.5px; max-width: 320px; color: rgba(255,255,255,.72);
  background: none; padding: 0; text-transform: none; letter-spacing: 0; font-weight: 400; }
.footer address { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6);
  font-style: normal; max-width: 240px; }
.footer .copy { font-size: 13px; color: rgba(255,255,255,.5); }
.footer .foot-links { display: flex; flex-direction: column; gap: 9px; }
.footer .foot-head { font-family: var(--font-display); font-size: 12.5px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1px; }
.footer .foot-links a { font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.82); }
.footer .foot-links a:hover { color: #fff; }
.footer .foot-soon { font-family: var(--font-display); font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.4); cursor: default; }

/* ---------- floating WhatsApp (static anchor) ---------- */
.fab-wa { position: fixed; bottom: calc(26px + env(safe-area-inset-bottom));
  right: calc(26px + env(safe-area-inset-right)); z-index: 300;
  display: flex; align-items: center; height: 60px; padding: 0 18px;
  border-radius: 999px; background: #25D366; color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,.42), 0 4px 12px rgba(6,60,48,.14);
  transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
.fab-wa:hover { box-shadow: 0 14px 32px rgba(37,211,102,.5), 0 6px 16px rgba(6,60,48,.18); color: #fff; }
.fab-wa:active { transform: scale(.95); }
.fab-wa .fab-ic { width: 24px; height: 24px; flex: none; }
.fab-wa .fab-ic img { width: 24px; height: 24px; }
.fab-wa .fab-label { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1;
  transition: max-width .38s var(--ease-out), opacity .28s var(--ease-out), margin-left .38s var(--ease-out); }
.fab-wa:hover .fab-label, .fab-wa:focus-visible .fab-label { max-width: 160px; opacity: 1; margin-left: 11px; }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-wrap { background: var(--surface-alt); }
.article { max-width: 740px; margin: 0 auto; padding: 0 24px; }

/* breadcrumbs */
.breadcrumbs { padding: 28px 0 0; font-size: 13.5px; color: var(--text-faint); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--green-600); }
.breadcrumbs .sep { color: var(--text-faint); }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 500; max-width: 30ch;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Kai Yang's photo: show the whole frame, no crop */
img[src$="kai-yang.png"] { object-fit: contain; background: var(--green-50); }

.article-header { padding: 20px 0 0; }
.article-header .tag { margin-bottom: 18px; }
.article-header h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.12; margin: 0 0 22px;
  letter-spacing: -.02em; }

/* meta row */
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.post-meta .author { display: flex; align-items: center; gap: 11px; }
.post-meta .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.post-meta .author .name { font-family: var(--font-display); font-weight: 600;
  color: var(--forest-ink); font-size: 15px; line-height: 1.3; }
.post-meta .author .role { font-size: 13px; color: var(--text-faint); }
.post-meta .meta-bits { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px;
  color: var(--text-muted); }
.post-meta .meta-bits .bit { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .meta-bits svg { width: 15px; height: 15px; color: var(--green-600); }

/* featured image */
.article-figure { margin: 30px 0 8px; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article-figure figcaption { font-size: 13px; color: var(--text-faint); text-align: center;
  margin-top: 12px; }

/* TL;DR / key takeaway */
.tldr { background: var(--green-50); border: 1px solid var(--border-grn);
  border-left: 4px solid var(--green-500); border-radius: var(--radius-md);
  padding: 22px 26px; margin: 32px 0; }
.tldr h2 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green-700); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.tldr h2 svg { width: 18px; height: 18px; }
.tldr p { font-size: 16.5px; color: var(--text); margin: 0; line-height: 1.6; }

/* table of contents */
.toc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 26px; margin: 28px 0 8px; }
.toc h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin: 0 0 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin: 0 0 8px; font-size: 14.5px; break-inside: avoid; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--green-600); }

/* prose */
.prose { padding: 8px 0 0; }
.prose > * { scroll-margin-top: 90px; }
.prose h2 { font-size: 27px; margin: 44px 0 14px; line-height: 1.22; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { font-size: 17px; line-height: 1.72; color: var(--text); margin: 0 0 18px;
  text-wrap: pretty; }
.prose ul, .prose ol { font-size: 17px; line-height: 1.7; color: var(--text);
  padding-left: 24px; margin: 0 0 18px; }
.prose li { margin: 0 0 9px; }
.prose strong { color: var(--forest-ink); font-weight: 600; }
.prose a { color: var(--green-600); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: var(--green-300); }
.prose a:hover { color: var(--green-700); text-decoration-color: var(--green-500); }

/* answer-first lead (GEO) */
.answer-first { font-size: 17.5px; line-height: 1.65; color: var(--forest-ink);
  font-weight: 500; padding: 16px 0 6px; border-bottom: 1px dashed var(--border-grn);
  margin-bottom: 20px; }

/* stat / data callout */
.stat-callout { background: var(--forest-900); color: #fff; border-radius: var(--radius-lg);
  padding: 32px 34px; margin: 34px 0; display: flex; align-items: center; gap: 26px;
  flex-wrap: wrap; }
.stat-callout .stat-num { font-family: var(--font-display); font-size: clamp(44px, 8vw, 60px);
  font-weight: 800; line-height: 1; color: var(--bright); letter-spacing: -.02em; flex: none; }
.stat-callout .stat-text { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.86);
  margin: 0; flex: 1 1 240px; }
.stat-callout .stat-text cite { display: block; font-size: 13px; font-style: normal;
  color: rgba(255,255,255,.55); margin-top: 8px; }

/* pull-quote */
.pullquote { margin: 36px 0; padding: 6px 0 6px 28px; border-left: 4px solid var(--green-500); }
.pullquote blockquote { margin: 0; font-family: var(--font-display); font-size: 23px;
  font-weight: 600; line-height: 1.34; color: var(--forest-ink); letter-spacing: -.01em; }
.pullquote cite { display: block; margin-top: 14px; font-size: 14px; font-style: normal;
  color: var(--text-muted); font-family: var(--font-body); font-weight: 400; }

/* FAQ (native details/summary — no JS) */
.faq { margin: 40px 0 8px; }
.faq h2 { font-size: 27px; margin: 0 0 18px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff;
  margin-bottom: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-display);
  font-weight: 600; font-size: 17px; color: var(--forest-ink); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; width: 22px; height: 22px; color: var(--green-600);
  transition: transform .25s var(--ease-out); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--green-700); }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { font-size: 16px; line-height: 1.66; color: var(--text-muted); margin: 0; }

/* author bio */
.author-box { display: flex; gap: 20px; align-items: flex-start; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px;
  margin: 44px 0; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: var(--shadow-sm); }
.author-box .ab-name { font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--forest-ink); margin: 0 0 2px; }
.author-box .ab-role { font-size: 13.5px; color: var(--green-700); font-weight: 600;
  margin: 0 0 10px; }
.author-box .ab-bio { font-size: 15px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* related posts */
.related { background: var(--surface-grn); border-top: 1px solid var(--border-grn);
  padding: 56px 0; margin-top: 48px; }
.related h2 { text-align: center; font-size: 30px; margin: 0 0 8px; }
.related .sub { text-align: center; color: var(--text-muted); margin: 0 0 36px; }
.related .post-grid { padding-top: 0; }

/* divider */
.rule { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { text-align:center; padding:60px 0 12px; }
.about-hero h1 { font-size:clamp(34px,6vw,54px); margin:0 auto 18px; max-width:16ch; }
.about-hero .lead { font-size:var(--text-lead); color:var(--text-muted); max-width:56ch;
  margin:0 auto; line-height:var(--leading-body); }

.story { display:grid; grid-template-columns:1.4fr 1fr; gap:48px; align-items:center; padding:64px 0; }
.story h2 { font-size:clamp(26px,3.4vw,34px); margin:0 0 18px; }
.story p { font-size:17px; line-height:1.72; color:var(--text); margin:0 0 16px; text-wrap:pretty; }
.story-stats { display:grid; gap:18px; }
.stat-card { background:var(--green-50); border:1px solid var(--border-grn); border-radius:var(--radius-lg);
  padding:26px 28px; }
.stat-card .n { font-family:var(--font-display); font-size:42px; font-weight:800; line-height:1;
  color:var(--green-600); letter-spacing:-.02em; }
.stat-card .l { font-size:14.5px; color:var(--text-muted); margin-top:8px; line-height:1.4; }

.values { background:var(--surface-grn); border-top:1px solid var(--border-grn);
  border-bottom:1px solid var(--border-grn); padding:64px 0; }
.values h2 { text-align:center; font-size:clamp(26px,3.4vw,34px); margin:0 0 8px; }
.values .sub { text-align:center; color:var(--text-muted); margin:0 0 40px; }
.value-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.value-card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:30px 28px; }
.value-card .ic { width:52px; height:52px; border-radius:14px; background:var(--green-100);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px; color:var(--green-600); }
.value-card .ic svg { width:26px; height:26px; }
.value-card h3 { font-size:19px; margin:0 0 9px; color:var(--forest-ink); }
.value-card p { font-size:15px; line-height:1.6; color:var(--text-muted); margin:0; }

.team { padding:64px 0; }
.team h2 { text-align:center; font-size:clamp(26px,3.4vw,34px); margin:0 0 8px; }
.team .sub { text-align:center; color:var(--text-muted); margin:0 0 40px; }
.team-grid { display:grid; grid-template-columns:repeat(2,minmax(0,360px)); gap:28px; justify-content:center; }
.member { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:28px; display:flex; gap:20px; align-items:center; }
.member img { width:88px; height:88px; border-radius:50%; object-fit:cover; flex:none;
  box-shadow:var(--shadow-sm); }
.member .m-name { font-family:var(--font-display); font-weight:700; font-size:19px;
  color:var(--forest-ink); margin:0 0 2px; }
.member .m-role { font-size:13.5px; color:var(--green-700); font-weight:600; margin:0 0 10px; }
.member .m-bio { font-size:14.5px; color:var(--text-muted); margin:0; line-height:1.55; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav-links .nav-link:not(.nav-cta) { display: none; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .pcard.featured { flex-direction: column; }
  .pcard.featured .pcard-media { min-height: 0; aspect-ratio: 16 / 9; }
  .pcard.featured .pcard-body { padding: 28px 26px; }
}
@media (max-width: 820px) {
  .story { grid-template-columns:1fr; gap:32px; padding:48px 0; }
  .value-grid { grid-template-columns:1fr; gap:18px; }
  .team-grid { grid-template-columns:1fr; }
  .member { flex-direction:column; text-align:center; }
}
@media (max-width: 600px) {
  .blog-hero { padding: 40px 0 4px; }
  .post-grid { grid-template-columns: 1fr; gap: 22px; }
  .toc ol { columns: 1; }
  .cta-band { padding: 30px 26px; }
  .cta-band h2 { font-size: 23px; }
  .stat-callout { padding: 26px; gap: 16px; }
  .author-box { flex-direction: column; gap: 14px; }
  .post-meta { gap: 12px; }
  .article-header h1 { font-size: 28px; }
}

/* entrance animation — staggered fade-up on page load (listing items) */
@media (prefers-reduced-motion: no-preference) {
  @keyframes blogReveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
  }
  .blog-hero .eyebrow,
  .blog-hero h1,
  .blog-hero .lead,
  .filter,
  .post-grid .pcard {
    animation: blogReveal .62s var(--ease-out) both;
  }
  .blog-hero .eyebrow { animation-delay: .04s; }
  .blog-hero h1      { animation-delay: .10s; }
  .blog-hero .lead   { animation-delay: .18s; }
  .filter            { animation-delay: .28s; }
  .post-grid .pcard               { animation-delay: .38s; }
  .post-grid .pcard:nth-child(2)  { animation-delay: .46s; }
  .post-grid .pcard:nth-child(3)  { animation-delay: .54s; }
  .post-grid .pcard:nth-child(4)  { animation-delay: .62s; }
  .post-grid .pcard:nth-child(5)  { animation-delay: .70s; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
html { scroll-behavior: smooth; }
