/* ============================================================
   Consciousness Partnership - v4
   Clean · Bold · Pro-cess.co.uk inspired
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --black:   #0a0a0a;
  --ink:     #111827;
  --muted:   #6b7280;
  --subtle:  #9ca3af;
  --border:  #e5e7eb;
  --light:   #f3f4f6;   /* visible light grey - cards pop off this */
  --lighter: #f9fafb;   /* subtler grey - alternate sections */
  --white:   #ffffff;
  --teal:    #0d9488;
  --teal-2:  #0f766e;
  --teal-bg: #f0fdfa;
  --amber:   #b45309;
  --nav-h:   64px;
  --max-w:   1100px;
  --prose-w: 740px;
  --r:       10px;
  --r-lg:    16px;
  /* Card shadow - visible depth */
  --card-shadow:       0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --card-shadow-hover: 0 4px 8px rgba(0,0,0,.1),  0 16px 40px rgba(0,0,0,.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem; line-height: 1.7;
  color: var(--ink); background: var(--white);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
ul, ol { list-style: none; }

.container { width: min(100%, var(--max-w)); margin-inline: auto; padding-inline: 1.5rem; }
.prose    { width: min(100%, var(--prose-w)); margin-inline: auto; padding-inline: 1.5rem; }
main { padding-top: var(--nav-h); }

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  height: var(--nav-h); z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,.08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); gap: 2rem;
}
.site-logo {
  font-size: .95rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; flex-shrink: 0;
  display: flex; align-items: center; gap: .5rem;
}
.logo-dot {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  background: var(--teal); display: flex; align-items: center;
  justify-content: center; font-size: .65rem; font-weight: 900;
  color: white; letter-spacing: 0;
}
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: color .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: .55rem 1.2rem;
  background: var(--ink); color: white;
  border-radius: var(--r); font-size: .825rem; font-weight: 700;
  transition: all .2s; flex-shrink: 0;
}
.nav-cta:hover { background: var(--teal); transform: translateY(-1px); }

.mobile-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 6px; width: 36px; height: 36px; flex-shrink: 0;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: all .2s;
}
.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem; z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .75rem 0; font-weight: 500;
  color: var(--ink); border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--teal); }
.mobile-menu .mobile-cta {
  margin-top: 1rem; display: inline-block;
  padding: .7rem 1.4rem; background: var(--ink);
  color: white; border-radius: var(--r); font-weight: 700;
  font-size: .9rem; border-bottom: none;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
}

/* Reading progress */
#reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--teal); z-index: 200; pointer-events: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .85rem 1.75rem; border-radius: var(--r);
  font-size: .95rem; font-weight: 700;
  transition: all .2s; white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--ink); color: white;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(13,148,136,.3); }
.btn-teal { background: var(--teal); color: white; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.btn-teal:hover { background: var(--teal-2); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(13,148,136,.3); }
.btn-outline { border: 2px solid var(--border); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.3); color: white; background: transparent; }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,.06); }
.btn-amber { background: var(--amber); color: white; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.btn-amber:hover { background: #92400e; transform: translateY(-2px); }
.btn-sm  { padding: .55rem 1.1rem; font-size: .825rem; }
.btn-lg  { padding: 1rem 2.25rem; font-size: 1rem; }

/* ============================================================
   HERO - clean, bold, gradient tint
   ============================================================ */
.hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  background: linear-gradient(160deg, #f0fdfa 0%, #ecfdf5 20%, #ffffff 55%);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--teal); margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.04em;
  color: var(--ink); max-width: 18ch; margin-bottom: 1.5rem;
}
.hero h1 .teal { color: var(--teal); }
.hero-lead {
  font-size: 1.15rem; color: var(--muted); max-width: 50ch;
  line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-meta span { display: flex; align-items: center; gap: .4rem; }
.hero-meta strong { color: var(--ink); font-size: 1rem; font-weight: 800; }

/* ============================================================
   NUMBERED FEATURES - the pro-cess structure
   ============================================================ */
.features { border-bottom: 1px solid var(--border); }

.feature {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 4rem; padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: none; }

/* Alternate row shading - visual rhythm between panels */
.feature:nth-child(odd)  { background: var(--lighter); margin-inline: -1.5rem; padding-inline: 1.5rem; }
.feature:nth-child(even) { background: var(--white); }
.feature-num {
  font-size: 5rem; font-weight: 900; line-height: 1;
  letter-spacing: -.06em; color: var(--border);
  padding-top: .25rem; flex-shrink: 0;
}
.feature-body {}
.feature-label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--teal); margin-bottom: .75rem;
}
.feature-body h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900; letter-spacing: -.03em; color: var(--ink);
  margin-bottom: 1rem; line-height: 1.15;
}
.feature-body > p {
  font-size: 1.05rem; color: var(--muted); line-height: 1.75;
  max-width: 60ch; margin-bottom: 2rem;
}
.feature-link {
  font-weight: 700; font-size: .9rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: .4rem;
  transition: gap .15s, color .15s;
}
.feature-link:hover { color: var(--teal); gap: .65rem; }
@media (max-width: 768px) {
  .feature { grid-template-columns: 1fr; gap: 1rem; }
  .feature-num { font-size: 3rem; }
}

/* ============================================================
   STATS ROW - inline, not a big strip
   ============================================================ */
.stats-row {
  display: flex; gap: 3rem; flex-wrap: wrap;
  padding: 2.5rem 0; border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.stat-item { }
.stat-n {
  font-size: 2.25rem; font-weight: 900; color: var(--ink);
  letter-spacing: -.04em; display: block; line-height: 1;
  margin-bottom: .2rem;
}
.stat-label { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* ============================================================
   ARTICLES - editorial grid
   ============================================================ */
.articles-section { padding: 6rem 0; background: linear-gradient(180deg, #f3f4f6 0%, #e8edf2 100%); }
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem; margin-top: 3rem;
}
.article-card {
  border: none; border-radius: var(--r-lg);
  border-left: 4px solid var(--teal);
  padding: 2rem; background: #ffffff;
  display: flex; flex-direction: column;
  transition: all .25s;
  box-shadow: var(--card-shadow);
  margin-bottom: 1.25rem;
}
.article-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
  border-left-color: var(--teal-2);
}
.article-card h2 {
  font-size: 1.15rem; font-weight: 800; color: var(--ink);
  line-height: 1.35; margin-bottom: .6rem; transition: color .15s;
}
.article-card:hover h2 { color: var(--teal); }
.article-meta, .article-card-meta {
  font-size: .75rem; color: var(--muted); font-weight: 500;
  margin-bottom: .6rem; display: flex; gap: .75rem;
}
.article-card-title {
  font-size: 1rem; font-weight: 800; color: var(--ink);
  line-height: 1.35; margin-bottom: .6rem; transition: color .15s;
  flex: 1;
}
.article-excerpt, .article-card-excerpt {
  font-size: .88rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 1.25rem; flex: 1;
}
.article-read {
  font-size: .82rem; font-weight: 700; color: var(--teal);
  display: inline-flex; align-items: center; gap: .3rem;
  transition: gap .15s;
}
.article-read:hover { gap: .5rem; }
@media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .articles-grid { grid-template-columns: 1fr; } }

/* Articles listing page full cards */
.article-list-card {
  border: none; border-radius: var(--r-lg);
  padding: 2.25rem; background: linear-gradient(145deg,#f0fdfa 0%,#e0f2fe 100%);
  margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow);
  transition: all .25s;
}
.article-list-card:hover {
  border-color: var(--teal);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}
.article-list-card:hover h2 { color: var(--teal); }
.article-list-card .article-meta {
  display: flex; gap: 1.25rem;
  font-size: .78rem; color: var(--muted); margin-bottom: .9rem; flex-wrap: wrap;
}
.article-list-card h2 {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: .9rem; line-height: 1.3;
  transition: color .15s;
}
.article-list-card .article-excerpt {
  font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem;
}

/* Filter/search */
.search-wrap { position: relative; max-width: 440px; margin-bottom: 1rem; }
.search-icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-input {
  width: 100%; padding: .75rem 1rem .75rem 2.5rem;
  border: 1.5px solid var(--border); border-radius: var(--r);
  font: inherit; font-size: .92rem; color: var(--ink); outline: none;
  transition: border-color .15s;
}
.search-input:focus { border-color: var(--teal); }
.filter-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .4rem .9rem; border: 1.5px solid var(--border); border-radius: 100px;
  font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--white); transition: all .15s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-bg); }
.no-results { text-align: center; color: var(--muted); padding: 4rem 0; display: none; }

/* ============================================================
   BOOKS - dark gradient band
   ============================================================ */
.books-band {
  background: linear-gradient(135deg, #080d1a 0%, #0f172a 60%, #0d2137 100%);
  padding: 6rem 0;
}
.books-band-head { margin-bottom: 3rem; }
.books-band-head .eyebrow { color: rgba(255,255,255,.4); }
.books-band-head h2 { color: white; }
.books-featured {
  display: grid; grid-template-columns: 180px 1fr;
  gap: 3rem; align-items: start;
  padding: 2.5rem; border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); background: rgba(255,255,255,.03);
  margin-bottom: 2rem; transition: all .2s;
}
.books-featured:hover { background: rgba(255,255,255,.05); border-color: rgba(13,148,136,.3); }
.books-featured-cover { border-radius: 8px; box-shadow: 0 16px 48px rgba(0,0,0,.5); width: 100%; }
.books-featured-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .6rem; }
.books-featured-title { font-size: 1.75rem; font-weight: 900; letter-spacing: -.03em; color: white; margin-bottom: .4rem; }
.books-featured-sub { font-size: .95rem; color: rgba(255,255,255,.45); font-style: italic; margin-bottom: 1.1rem; }
.books-featured-desc { font-size: .93rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 1.75rem; }
.books-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.book-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem; border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r); transition: all .2s;
}
.book-item:hover { background: rgba(255,255,255,.04); border-color: rgba(13,148,136,.25); }
.book-item-cover { width: 56px; border-radius: 5px; flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,.4); }
.book-item-label { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--amber); margin-bottom: .3rem; }
.book-item-title { font-size: .875rem; font-weight: 700; color: white; line-height: 1.3; margin-bottom: .3rem; }
.book-item-sub { font-size: .75rem; color: rgba(255,255,255,.35); font-style: italic; margin-bottom: .65rem; }
@media (max-width: 768px) {
  .books-featured { grid-template-columns: 120px 1fr; gap: 1.5rem; }
  .books-row { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .books-featured { grid-template-columns: 1fr; }
  .books-featured-cover { width: 120px; }
}

/* ============================================================
   ABOUT - simple 2-col
   ============================================================ */
.about-section { padding: 6rem 0; background: linear-gradient(180deg, #f9fafb 0%, #f1f5f9 100%); border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-text p { font-size: 1.05rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; }
.about-stats-list { display: flex; flex-direction: column; gap: 1.5rem; }
.about-stat-row {
  display: flex; align-items: baseline; gap: 1.25rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.about-stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.about-stat-n { font-size: 2.5rem; font-weight: 900; color: var(--ink); letter-spacing: -.04em; flex-shrink: 0; }
.about-stat-text { font-size: .95rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ============================================================
   PATHS - 3 col on gradient bg so white cards pop
   ============================================================ */
.paths-section { padding: 6rem 0; background: linear-gradient(160deg, #f0fdfa 0%, #e0f2fe 100%); }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.path-card {
  background: linear-gradient(145deg,#eff6ff 0%,#bfdbfe 100%); border: none; border-radius: var(--r-lg);
  padding: 2rem; display: flex; flex-direction: column;
  box-shadow: var(--card-shadow); transition: all .25s;
}
.path-card:hover { border-color: var(--teal); box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.path-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.path-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .6rem; }
.path-card p { font-size: .875rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; flex: 1; }
@media (max-width: 768px) { .paths-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HUB HERO (interior pages)
   ============================================================ */
.hub-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, #f0fdfa 0%, #ecfdf5 25%, #ffffff 60%);
}
.hub-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900;
  letter-spacing: -.04em; color: var(--ink); margin-bottom: 1rem; max-width: 20ch;
}
.hub-hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 52ch; line-height: 1.75; margin-bottom: 2rem; }

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--teal);
  display: block; margin-bottom: .75rem;
}
.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 900;
  letter-spacing: -.03em; color: var(--ink); margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 58ch; line-height: 1.75; margin-bottom: 3rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: 6rem 0; background: linear-gradient(135deg, #0d9488 0%, #0891b2 60%, #0e7490 100%); }
.cta-band h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 900; color: white; letter-spacing: -.03em; margin-bottom: 1rem; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 52ch; line-height: 1.7; margin-bottom: 2.5rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 6rem 0; border-top: 1px solid var(--border); text-align: center; background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%); }
.contact-section h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: .75rem; }
.contact-section p { font-size: 1rem; color: var(--muted); margin-bottom: 1.5rem; }
.contact-email { font-size: 1.1rem; font-weight: 700; color: var(--teal); transition: color .15s; }
.contact-email:hover { color: var(--teal-2); text-decoration: underline; }

/* ============================================================
   DONATION
   ============================================================ */
.donation-section { background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%); border-top: 1px solid var(--border); padding: 3.5rem 0; text-align: center; }
.donation-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.donation-section p { font-size: .92rem; color: var(--muted); margin-bottom: 1.5rem; }
.donation-note { font-size: .78rem; color: var(--muted); font-style: italic; margin-top: 1.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: linear-gradient(160deg, #0a0a0a 0%, #080d1a 100%); padding: 3.5rem 0 2rem; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 3rem; align-items: start; margin-bottom: 3rem;
}
.footer-logo { font-size: .95rem; font-weight: 800; color: white; margin-bottom: .35rem; }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.3); }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { font-size: .82rem; color: rgba(255,255,255,.4); font-weight: 500; transition: color .15s; }
.footer-nav a:hover { color: white; }
.footer-legal { text-align: right; }
.footer-legal p { font-size: .78rem; color: rgba(255,255,255,.2); margin-bottom: .3rem; }
.footer-legal a { font-size: .78rem; color: rgba(255,255,255,.25); transition: color .15s; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } .footer-legal { text-align: left; } }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-page { max-width: var(--prose-w); margin: 3rem auto; padding-inline: 1.5rem; }
.article-page-header { padding-bottom: 2rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--teal); }
.breadcrumb a:hover { text-decoration: underline; }
.article-page-header h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 1rem; line-height: 1.15; }
.article-page-meta { display: flex; gap: 1.5rem; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.article-page-footer { padding: 2.5rem 0; border-top: 1px solid var(--border); margin-top: 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.share-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1.1rem; border: 1.5px solid var(--border); border-radius: var(--r); font-size: .85rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.share-btn:hover { border-color: var(--teal); color: var(--teal); }

/* Legacy wrappers from existing articles */
.article-wrapper { max-width: var(--prose-w); margin: 0 auto; }
.article-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; letter-spacing: -.03em; color: var(--ink); margin-bottom: 1rem; }
.article-meta { display: flex; gap: 1.5rem; font-size: .82rem; color: var(--muted); margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.back-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--teal); font-weight: 600; margin-bottom: 1.5rem; transition: gap .15s; }
.back-link:hover { gap: .55rem; }

/* Prose */
.article-body, .article-content { font-size: 1.075rem; line-height: 1.85; color: var(--ink); }
.article-body h2, .article-content h2 { font-size: 1.45rem; font-weight: 800; margin: 3rem 0 1rem; letter-spacing: -.02em; }
.article-body h3, .article-content h3 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 .75rem; }
.article-body h4, .article-content h4 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.article-body p, .article-content p { margin-bottom: 1.5rem; }
.article-body ul, .article-content ul,
.article-body ol, .article-content ol { list-style: revert; margin: 0 0 1.5rem 1.75rem; }
.article-body li, .article-content li { margin-bottom: .5rem; }
.article-body blockquote, .article-content blockquote {
  border-left: 4px solid var(--teal); padding: 1rem 1.5rem;
  background: var(--teal-bg); border-radius: 0 8px 8px 0;
  margin: 2rem 0; font-style: italic; color: var(--muted);
}
.article-body strong, .article-content strong { color: var(--ink); font-weight: 700; }
.article-body a, .article-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.article-body a:hover, .article-content a:hover { color: var(--teal-2); }

/* Special boxes */
.highlight-box, .callout {
  background: var(--teal-bg); border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; margin: 2rem 0;
  font-size: .95rem; line-height: 1.65;
}
.highlight-box p, .callout p { margin-bottom: 0; }
.callout-amber { background: #fffbeb; border-left-color: var(--amber); }
.callout-warning { background: #fff7ed; border-left-color: #f97316; }
.resources-section { background: var(--light); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.75rem; margin: 2rem 0; }
.resources-section h3, .resources-section h4 { color: var(--teal); margin-top: 1.25rem; }
.resources-section h3:first-child, .resources-section h4:first-child { margin-top: 0; }
.stage-box, .evidence-box { background: var(--light); border: 1px solid var(--border); border-radius: var(--r); padding: 1.25rem 1.5rem; margin: 1rem 0; }
.stage-box h4 { color: var(--teal); margin-bottom: .5rem; }
.quote-box { background: var(--teal-bg); border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; margin: 2rem 0; font-style: italic; color: var(--muted); }
.warning-box { background: #fff7ed; border-left: 4px solid #f97316; border-radius: 0 8px 8px 0; padding: 1.1rem 1.4rem; margin: 2rem 0; font-size: .92rem; }
.related-section { background: var(--light); border-radius: var(--r-lg); padding: 1.5rem; margin: 2rem 0; }

/* ============================================================
   FIELD REPORTS
   ============================================================ */
.field-report-card {
  background: linear-gradient(145deg,#eff6ff 0%,#bfdbfe 100%); border: none;
  border-radius: var(--r-lg); padding: 2.25rem; margin-bottom: 1.5rem;
  box-shadow: var(--card-shadow); transition: all .25s;
}
.field-report-card:hover { border-color: var(--teal); box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.report-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .6rem; }
.field-report-card h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .65rem; }
.field-report-card .excerpt { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.5rem; }

/* ============================================================
   AI PAGE COMPONENTS
   ============================================================ */
.question-card {
  background: linear-gradient(145deg,#f0fdfa 0%,#e0f2fe 100%); border: none; border-left: 4px solid var(--teal);
  border-radius: var(--r-lg); padding: 1.75rem; margin-bottom: 1.25rem;
  box-shadow: var(--card-shadow); transition: all .2s;
}
.question-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.question-number { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .9rem; }
.question-text { font-size: .98rem; line-height: 1.7; font-style: italic; background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%); padding: 1.1rem 1.4rem; border-radius: 8px; color: var(--ink); margin-bottom: 1rem; }
.copy-btn { background: var(--ink); border: none; border-radius: 8px; padding: .55rem 1.1rem; color: white; font-weight: 700; font-size: .8rem; cursor: pointer; letter-spacing: .04em; transition: all .15s; }
.copy-btn:hover { background: var(--teal); transform: translateY(-1px); }
.copy-notification { position: fixed; top: 84px; right: 20px; background: var(--ink); color: white; padding: 12px 18px; border-radius: 10px; font-weight: 600; font-size: .875rem; opacity: 0; transition: opacity .2s; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.copy-notification.show { opacity: 1; }

.research-highlight { background: linear-gradient(145deg,#eff6ff 0%,#dbeafe 100%); border: none; border-radius: var(--r-lg); padding: 2.5rem; margin-top: 2rem; box-shadow: var(--card-shadow); }
.research-header { margin-bottom: 2rem; }
.research-header h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .4rem; }
.research-subtitle { font-size: .9rem; color: var(--muted); }
.research-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-box { background: linear-gradient(145deg,#eff6ff 0%,#bfdbfe 100%); border: none; border-radius: var(--r-lg); padding: 1.25rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.stat-box .stat-number { font-size: 1.4rem; font-weight: 800; color: var(--teal); display: block; margin-bottom: .3rem; }
.stat-box .stat-label { font-size: .78rem; color: var(--muted); }
.research-quote { background: var(--white); border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.quote-text { font-size: 1rem; line-height: 1.7; font-style: italic; color: var(--muted); margin-bottom: .6rem; }
.quote-author { font-size: .85rem; font-weight: 700; color: var(--teal); }
.research-findings h4, .research-phases h4 { font-size: 1rem; font-weight: 700; margin: 2rem 0 1rem; }
.findings-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-bottom: 2rem; }
.finding { display: flex; align-items: flex-start; gap: .875rem; background: var(--white); padding: 1rem 1.25rem; border-radius: var(--r); border: 1px solid var(--border); font-size: .88rem; color: var(--muted); line-height: 1.5; }
.finding-icon { font-size: 1.25rem; flex-shrink: 0; }
.phase-timeline { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-bottom: 2rem; }
.phase { display: flex; align-items: flex-start; gap: 1rem; background: var(--white); padding: 1.25rem; border-radius: var(--r); border: 1px solid var(--border); }
.phase-number { background: var(--ink); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .875rem; flex-shrink: 0; }
.phase-content h5 { font-size: .9rem; font-weight: 700; margin-bottom: .3rem; }
.phase-content p { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.research-cta { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 2rem; text-align: center; margin-top: 2rem; }
.research-cta p { font-size: .92rem; color: var(--muted); margin-bottom: .75rem; }
.research-cta p:first-child { color: var(--ink); font-weight: 700; }
@media (max-width: 768px) { .research-stats, .findings-grid, .phase-timeline { grid-template-columns: 1fr; } }

/* ============================================================
   PERSONAL / EMOTIONAL COMPONENTS
   ============================================================ */
.symptoms-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-bottom: 2rem; }
.symptom-card { background: #ffffff; border: none; border-top: 3px solid var(--teal); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--card-shadow); transition: all .2s; }
.symptom-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-2px); }
.symptom-title { font-size: .9rem; font-weight: 700; margin-bottom: .5rem; }
.symptom-description { font-size: .86rem; color: var(--muted); line-height: 1.55; }
.assessment-result { background: var(--teal-bg); border-left: 4px solid var(--teal); border-radius: 0 var(--r) var(--r) 0; padding: 1.25rem 1.5rem; }
.assessment-result .result-text { font-weight: 700; font-size: 1rem; margin-bottom: .4rem; }
.assessment-result p { font-size: .9rem; color: var(--muted); }
.assessment-intro { font-size: 1rem; color: var(--muted); max-width: 65ch; line-height: 1.7; margin-bottom: 2rem; }
@media (max-width: 900px) { .symptoms-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .symptoms-grid { grid-template-columns: 1fr; } }

.bites-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.bite-card { background: linear-gradient(145deg,#f0fdfa 0%,#ccfbf1 100%); border: none; border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--card-shadow); transition: all .2s; }
.bite-card:hover { border-color: var(--teal); box-shadow: var(--card-shadow-hover); transform: translateY(-4px); }
.bite-number { background: var(--teal); color: white; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; margin-bottom: .9rem; }
.bite-title { font-size: 1rem; font-weight: 800; margin-bottom: .6rem; }
.bite-description { font-size: .86rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.bite-practices { background: var(--light); border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: .9rem 1.1rem; }
.practices-title { font-size: .72rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.practices-list { list-style: none; padding: 0; }
.practices-list li { font-size: .82rem; color: var(--muted); padding-left: 1.2rem; position: relative; margin-bottom: .35rem; line-height: 1.45; }
.practices-list li::before { content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
@media (max-width: 900px) { .bites-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .bites-grid { grid-template-columns: 1fr; } }

.emotion-stages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.emotion-stage-card { background: #ffffff; border: none; border-top: 3px solid var(--teal); border-radius: var(--r-lg); padding: 1.75rem; box-shadow: var(--card-shadow); transition: all .2s; }
.emotion-stage-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.emotion-stage-number { background: var(--teal); color: white; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; margin-bottom: 1.1rem; }
.stage-title { font-size: 1rem; font-weight: 800; margin-bottom: .6rem; }
.stage-description { font-size: .88rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.stage-practices { background: var(--light); border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; padding: .9rem 1.1rem; }
@media (max-width: 768px) { .emotion-stages-grid { grid-template-columns: 1fr; } }

.emotion-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tab-btn { padding: .45rem 1rem; border: 1.5px solid var(--border); border-radius: 100px; font-size: .82rem; font-weight: 600; color: var(--muted); background: var(--white); cursor: pointer; transition: all .15s; }
.tab-btn:hover, .tab-btn.active { border-color: var(--teal); color: var(--teal); background: var(--teal-bg); }
.emotion-content, .scenario-content { display: none; }
.emotion-content.active, .scenario-content.active { display: block; }
.emotion-example, .scenario-example { background: linear-gradient(145deg,#f0fdfa 0%,#e0f2fe 100%); border: none; border-radius: var(--r-lg); padding: 1.75rem; margin-bottom: 1rem; }
.emotion-title, .scenario-title { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.emotion-example p, .scenario-example p { font-size: .91rem; color: var(--muted); line-height: 1.65; margin-bottom: .75rem; }
.emotion-example p:last-child, .scenario-example p:last-child { margin-bottom: 0; }

.sections-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.section-card { background: linear-gradient(145deg,#eff6ff 0%,#bfdbfe 100%); border: none; border-radius: var(--r-lg); padding: 2rem 1.75rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: all .2s; }
.section-card:hover { border-color: var(--teal); box-shadow: 0 4px 6px rgba(0,0,0,.05), 0 12px 28px rgba(0,0,0,.08); transform: translateY(-3px); }
.section-icon { font-size: 2rem; margin-bottom: 1rem; }
.section-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: .7rem; }
.section-card p { font-size: .87rem; color: var(--muted); line-height: 1.6; margin-bottom: 1.5rem; }
.coming-soon-badge { display: inline-block; background: #fee2e2; color: #b91c1c; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .6rem; border-radius: 100px; margin-bottom: .75rem; }
@media (max-width: 768px) { .sections-grid { grid-template-columns: 1fr; } }

.resources-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.1rem; }
.resource-card { background: #ffffff; border: none; border-top: 3px solid var(--teal); border-radius: var(--r-lg); padding: 1.75rem; text-align: center; box-shadow: var(--card-shadow); transition: all .2s; }
.resource-card:hover { box-shadow: var(--card-shadow-hover); transform: translateY(-3px); }
.resource-icon { font-size: 2rem; margin-bottom: .9rem; }
.resource-title { font-size: .95rem; font-weight: 700; margin-bottom: .6rem; }
.resource-card p { font-size: .85rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.25rem; }

.disclaimer-box { background: #fffbeb; border: 1px solid #fcd34d; border-left: 4px solid var(--amber); border-radius: 0 var(--r-lg) var(--r-lg) 0; padding: 1.5rem 1.75rem; margin: 1.5rem 0; }
.disclaimer-box p { font-size: .91rem; color: var(--muted); line-height: 1.65; margin-bottom: .65rem; }
.disclaimer-box p:last-child { margin-bottom: 0; }
.disclaimer-box strong { color: var(--ink); }

.manifesto-body { font-size: 1.075rem; line-height: 1.85; }
.manifesto-body h2 { font-size: 1.5rem; font-weight: 800; margin: 3rem 0 1rem; letter-spacing: -.02em; }
.manifesto-body h3 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 .75rem; }
.manifesto-body p { margin-bottom: 1.5rem; }
.manifesto-body ul, .manifesto-body ol { list-style: revert; margin: 0 0 1.5rem 1.75rem; }
.manifesto-body li { margin-bottom: .5rem; }
.manifesto-body blockquote { border-left: 4px solid var(--teal); padding: 1rem 1.5rem; background: var(--teal-bg); border-radius: 0 8px 8px 0; margin: 2rem 0; font-style: italic; color: var(--muted); }
.manifesto-body strong { color: var(--ink); font-weight: 700; }
.manifesto-body a { color: var(--teal); text-decoration: underline; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.will-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s cubic-bezier(0.16,1,0.3,1), transform .5s cubic-bezier(0.16,1,0.3,1); }
.will-reveal.is-revealed { opacity: 1; transform: translateY(0); }

/* ============================================================
   UTILS
   ============================================================ */
.section { padding: 6rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-light { background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%); }
.section-lighter { background: var(--lighter); }
/* Pages that list cards should have grey bg so white cards lift off */
.hub-hero + .section, .articles-listing { background: var(--lighter); }
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3rem; }

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .hero { padding: calc(var(--nav-h) + 3rem) 0 3rem; }
  .hub-hero { padding: calc(var(--nav-h) + 2.5rem) 0 2.5rem; }
  .btn { padding: .8rem 1.5rem; }
  .article-wrapper { padding: 1.5rem; margin: 1.5rem auto; }
}
@media (prefers-reduced-motion: reduce) {
  .will-reveal { transition: none; }
  .will-reveal.is-revealed { opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   Legacy inner-page classes - keep inner pages rendering
   ============================================================ */

/* section-alt still used in several inner pages */
.section-alt { background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%); }

/* section-title alias */
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; letter-spacing: -.03em; color: var(--ink); margin-bottom: 1rem; }

/* featured book card - used in ai.html */
.featured-book-card {
  display: flex; gap: 2.5rem; align-items: flex-start;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 2.5rem; margin-bottom: 2rem;
  box-shadow: var(--card-shadow); transition: all .25s;
}
.featured-book-card:hover { box-shadow: var(--card-shadow-hover); border-color: var(--teal); }
.featured-cover-img { width: 150px; border-radius: var(--r); flex-shrink: 0; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.featured-book-info { flex: 1; min-width: 0; }
.book-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .4rem; }
.book-title-text { font-size: 1.5rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: .35rem; }
.book-sub-text { font-size: .95rem; color: var(--muted); font-style: italic; margin-bottom: 1rem; }
.book-desc-text { font-size: .93rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
@media (max-width: 600px) {
  .featured-book-card { flex-direction: column; }
  .featured-cover-img { width: 120px; }
}

/* book-card used in some pages */
.book-card {
  background: linear-gradient(160deg, #ffffff 0%, #f9fafb 100%);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem; display: flex; gap: 1.25rem;
  align-items: flex-start; box-shadow: var(--card-shadow); transition: all .25s;
}
.book-card:hover { box-shadow: var(--card-shadow-hover); border-color: var(--teal); transform: translateY(-2px); }
.book-cover-img { width: 72px; border-radius: var(--r); flex-shrink: 0; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.book-info { flex: 1; min-width: 0; }
