/* ═══════════════════════════════════════════════════════════════
   BIONIC BANKER — Unified Design System
   bionicbanker.tech | styles.css

   One file. Every page. No exceptions.
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── DESIGN TOKENS ── */
:root {
  /* Backgrounds — true black depth stack */
  --bg:   #020204;
  --bg2:  #080810;
  --bg3:  #0c0c14;
  --bg4:  #101018;

  /* Text */
  --text:   #e4e4ec;
  --text-2: #7a7a8c;
  --text-3: #444454;
  --text-4: #222230;

  /* Borders (green tint) */
  --b1: rgba(31,160,104,0.07);
  --b2: rgba(31,160,104,0.13);
  --b3: rgba(31,160,104,0.22);
  --b4: rgba(255,255,255,0.02);

  /* Accent (forest green) */
  --accent:        #1fa068;
  --accent-glow:   rgba(31,160,104,0.06);
  --accent-border: rgba(31,160,104,0.14);

  /* Status / Highlights */
  --green:     rgba(31,160,104,0.55);
  --green-dim: rgba(31,160,104,0.10);

  /* Depth system — card elevation shadows */
  --shadow-card: 0 2px 8px rgba(0,0,0,0.6), 0 8px 32px rgba(0,0,0,0.4);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.7), 0 16px 48px rgba(0,0,0,0.5), 0 0 40px rgba(31,160,104,0.05);
  --shadow-elevated: 0 8px 40px rgba(0,0,0,0.8), 0 0 60px rgba(31,160,104,0.04);

  /* Spacing */
  --radius:    10px;
  --radius-lg: 14px;
  --max:       1160px;

  /* Sci-fi mono */
  --mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', monospace;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, .nav-logo, .footer-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
}


/* ═══════════════════════════════════════════════════════════════
   GLOW SYSTEM — Green-tinted sci-fi glow
   ═══════════════════════════════════════════════════════════════ */
.nav-logo { text-shadow: 0 0 30px rgba(31,160,104,0.15); }

/* Article page glows */
.article-header h1 { text-shadow: 0 0 60px rgba(31,160,104,0.12); }
.article-body h2,
.article-body h3 { text-shadow: 0 0 40px rgba(31,160,104,0.10); }
.lede { text-shadow: 0 0 28px rgba(31,160,104,0.08); }

/* Homepage glows */
.hero h1 {
  text-shadow: 0 0 80px rgba(31,160,104,0.12), 0 0 160px rgba(31,160,104,0.06);
}
.section-title-text { text-shadow: 0 0 50px rgba(31,160,104,0.12); }
.article-card h3,
.article-card-featured h3,
.thoughts-card h3,
.about-name,
.hcard-title,
.nl-text h3 { text-shadow: 0 0 30px rgba(31,160,104,0.10); }
.hstat-n, .astat-n { text-shadow: 0 0 35px rgba(31,160,104,0.25); color: var(--accent); }
.section-label-text, .hero-card-label,
.about-role, .hcard-tag, .featured-badge,
.page-label { text-shadow: 0 0 20px rgba(31,160,104,0.12); }
.tag-pill { text-shadow: none; }
.hero-eyebrow {
  box-shadow: 0 0 20px rgba(31,160,104,0.06), inset 0 0 16px rgba(31,160,104,0.04);
}
.article-card:hover h3 { text-shadow: 0 0 36px rgba(31,160,104,0.18); }
.article-card-featured:hover h3 { text-shadow: 0 0 50px rgba(31,160,104,0.20); }
.section-divider h2 { text-shadow: 0 0 20px rgba(31,160,104,0.10); }


/* ═══════════════════════════════════════════════════════════════
   NAV — Shared across ALL pages
   ═══════════════════════════════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2,2,4,0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--b1);
  padding: 0 2rem; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.nav-logo span { color: var(--text-2); }
.nav-right { display: flex; align-items: center; gap: 1.75rem; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a {
  font-family: var(--mono); font-size: 0.72rem; color: var(--text-3);
  font-weight: 500; letter-spacing: 0.04em; transition: color 0.18s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--accent-border); color: var(--accent);
  padding: 0.3rem 0.85rem; border-radius: 4px; transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { border-color: var(--accent); color: var(--text); box-shadow: 0 0 12px rgba(31,160,104,0.15); }
.nav-back { font-size: 0.85rem; color: var(--text-2); transition: color 0.2s; }
.nav-back:hover { color: var(--accent); }


/* ═══════════════════════════════════════════════════════════════
   BUTTONS — Shared
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  padding: 0.62rem 1.4rem; letter-spacing: 0.04em;
  border-radius: 6px; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 0 20px rgba(31,160,104,0.25); }

.btn-ghost {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--text-2);
  font-family: var(--mono); font-size: 0.76rem; font-weight: 500;
  padding: 0.62rem 1.4rem; letter-spacing: 0.04em;
  border-radius: 6px; border: 1px solid var(--b2); cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--accent-border); color: var(--text); }

/* Article-style accent button */
.btn-accent {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 0.8rem; font-weight: 500;
  padding: 0.75rem 1.75rem; letter-spacing: 0.04em;
  border-radius: 6px; transition: opacity 0.2s, box-shadow 0.2s;
  text-decoration: none; border: none; cursor: pointer;
}
.btn-accent:hover { opacity: 0.92; box-shadow: 0 0 20px rgba(31,160,104,0.25); }


/* ═══════════════════════════════════════════════════════════════
   TAG PILLS — Shared across homepage, articles page, and articles
   ═══════════════════════════════════════════════════════════════ */
.article-tags { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.1rem; }
.tag-pill {
  display: inline-block; font-family: var(--mono); font-size: 0.56rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.18rem 0.55rem; border-radius: 4px; line-height: 1.4;
  background: transparent; color: var(--text-3); border: 1px solid var(--b1);
}
.tag-blue   { border-color: rgba(91,115,248,0.18); }
.tag-purple { border-color: rgba(139,108,247,0.18); }
.tag-amber  { border-color: rgba(245,158,11,0.15); }
.tag-cyan   { border-color: rgba(6,182,212,0.15); }
.tag-rose   { border-color: rgba(236,72,153,0.15); }
.tag-green  { border-color: rgba(16,185,129,0.15); }
.tag-red    { border-color: rgba(239,68,68,0.15); }


/* ═══════════════════════════════════════════════════════════════
   ARTICLE CARDS — Used on homepage + articles listing page
   ═══════════════════════════════════════════════════════════════ */
.article-card {
  background: var(--bg2); border: 1px solid var(--b1); border-radius: var(--radius);
  padding: 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer; text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.article-card:hover {
  border-color: var(--b3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.article-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--green);
}
.article-card h3 {
  font-size: 0.92rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.38; color: var(--text);
}
.article-card p { font-size: 0.8rem; color: var(--text-2); line-height: 1.64; }
.article-card.hidden { display: none; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.5rem; border-top: 1px solid var(--b1); margin-top: 0.25rem;
}
.read-time { font-family: var(--mono); font-size: 0.62rem; color: var(--text-3); letter-spacing: 0.03em; }
.read-more {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 0.2rem; transition: color 0.2s, gap 0.2s;
  letter-spacing: 0.03em;
}
.read-more:hover { color: var(--accent); gap: 0.4rem; }

.featured-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--mono); font-size: 0.58rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-border); border-radius: 4px;
  padding: 0.18rem 0.6rem; margin-bottom: 0.25rem; width: fit-content;
}


/* ═══════════════════════════════════════════════════════════════
   FEATURED CARD — Homepage magazine layout
   ═══════════════════════════════════════════════════════════════ */
.article-card-featured {
  background: var(--bg2); border: 1px solid var(--b1); border-radius: var(--radius-lg);
  padding: 1.75rem; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-card);
}
.article-card-featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--green);
}
.article-card-featured:hover {
  border-color: var(--b3);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}
.article-card-featured h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.2; color: var(--text); margin-bottom: 0.8rem;
}
.article-card-featured p {
  font-size: 0.86rem; color: var(--text-2); line-height: 1.72; margin-bottom: 1.2rem;
}
.featured-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  padding-top: 1rem; border-top: 1px solid var(--b1);
}
.featured-stats { display: flex; gap: 1.25rem; }
.featured-stat { font-size: 0.73rem; color: var(--text-3); }
.featured-stat strong { color: var(--text-2); font-weight: 600; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 600; color: var(--text-2);
  border: 1px solid var(--b2); background: var(--bg3);
  padding: 0.28rem 0.75rem; border-radius: 7px; transition: border-color 0.2s;
  text-decoration: none;
}
.demo-badge:hover { border-color: var(--b3); color: var(--text); }


/* ═══════════════════════════════════════════════════════════════
   SECTION HEADERS — Homepage
   ═══════════════════════════════════════════════════════════════ */
.content-wrap { max-width: var(--max); margin: 0 auto; padding: 2.75rem 2rem 3rem; }

.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem;
}
.section-label-text {
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.2rem;
}
.section-title-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem); font-weight: 700;
  letter-spacing: -0.035em; color: var(--text);
}
.view-all {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500; color: var(--text-3);
  display: inline-flex; align-items: center; gap: 0.25rem; transition: color 0.2s;
  letter-spacing: 0.03em;
}
.view-all:hover { color: var(--accent); }


/* ═══════════════════════════════════════════════════════════════
   ARTICLES LISTING PAGE — page header + filter + grid
   ═══════════════════════════════════════════════════════════════ */
.page-header {
  max-width: var(--max); margin: 0 auto; padding: 3.5rem 2rem 2rem;
  border-bottom: 1px solid var(--b1);
}
.page-label {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 0.35rem;
}
.page-title {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.045em; margin-bottom: 0.6rem; color: var(--text);
}
.page-sub { color: var(--text-2); font-size: 0.92rem; line-height: 1.7; margin-bottom: 2rem; }

.filter-bar { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-btn {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 999px; border: 1px solid var(--b1);
  background: transparent; color: var(--text-3); cursor: pointer;
  transition: all 0.18s; font-family: 'Plus Jakarta Sans', sans-serif;
}
.filter-btn:hover { border-color: var(--b2); color: var(--text-2); }
.filter-btn.active { background: var(--b1); border-color: var(--b2); color: var(--text); }

.articles-wrap { max-width: var(--max); margin: 0 auto; padding: 2.5rem 2rem 4rem; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.75rem; }

.section-divider { grid-column: 1 / -1; padding-top: 0.5rem; }
.section-divider h2 {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); padding-bottom: 0.65rem; border-bottom: 1px solid var(--b1);
}


/* ═══════════════════════════════════════════════════════════════
   ARTICLE PAGE — Header, body, pull-quotes, special blocks
   ═══════════════════════════════════════════════════════════════ */
.article-header {
  max-width: 760px; margin: 0 auto; padding: 3rem 2rem 2rem;
}
.article-meta {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.article-tag {
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-glow);
  border: 1px solid var(--accent-border); border-radius: 4px; padding: 0.25rem 0.75rem;
}
.article-date { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.03em; }
.article-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 1.25rem;
}

.lede {
  font-size: 1.1rem; color: var(--text-2); line-height: 1.7;
  border-left: 3px solid rgba(255,255,255,0.18);
  padding-left: 1.25rem; margin-bottom: 2rem;
}

.author-bar {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  margin-bottom: 2.5rem;
}
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg3); border: 2px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; color: var(--accent); flex-shrink: 0;
}
.author-info .name { font-size: 0.9rem; font-weight: 600; }
.author-info .title { font-size: 0.78rem; color: var(--text-3); }

/* Article body */
.article-body { max-width: 760px; margin: 0 auto; padding: 0 2rem 5rem; }
.article-body p { font-size: 1.05rem; line-height: 1.88; color: #cccce0; margin-bottom: 1.75rem; }
.article-body h2 {
  font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text);
  margin: 3.5rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--b1);
}
.article-body h3 {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text);
  margin: 2.5rem 0 1rem;
}
.article-body h4 {
  font-size: 1.05rem; font-weight: 700; color: var(--text);
  margin: 1.5rem 0 0.75rem;
}
.article-body ul,
.article-body ol { margin-bottom: 1.75rem; padding-left: 2rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.8; }
.article-body blockquote {
  background: var(--bg3); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem; margin: 2.5rem 0;
  font-size: 1rem; color: var(--text-2); line-height: 1.65; font-style: italic;
  box-shadow: var(--shadow-card);
}
.article-body strong { color: var(--text); }

/* Pull quote */
.pull-quote {
  background: var(--bg3); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem; margin: 2.5rem 0;
  font-size: 1.1rem; font-weight: 500; color: var(--text); line-height: 1.65; font-style: italic;
  box-shadow: var(--shadow-card);
}

/* Insight box */
.insight-box {
  background: var(--bg2); border: 1px solid var(--accent-border); border-radius: var(--radius);
  padding: 1.5rem; margin: 2rem 0;
  box-shadow: var(--shadow-card);
}
.insight-box .label {
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.75rem;
}
.insight-box p { font-size: 0.95rem !important; margin-bottom: 0 !important; line-height: 1.65 !important; }

/* Image placeholder */
.image-placeholder {
  background: var(--bg2); border: 2px dashed var(--accent-border); border-radius: var(--radius);
  height: 300px; display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 0.9rem; margin: 2rem 0;
}

/* Score grid (used in AML engine, SYOS articles) */
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.score-card {
  background: var(--bg2); border: 1px solid var(--accent-border);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-card);
}
.score-card .num {
  font-size: 1.5rem; font-weight: 700; color: var(--accent);
  letter-spacing: -0.02em; margin-bottom: 0.25rem;
}
.score-card .num.green { color: var(--accent); }
.score-card h4 { font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.score-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.55; margin-bottom: 0; }

/* Trait grid (used in SYOS, AML articles) */
.trait-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.trait-card {
  background: var(--bg2); border: 1px solid var(--accent-border);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow-card);
}
.trait-card .trait-name {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.trait-card .trait-val {
  font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em;
}
.trait-card p { font-size: 0.82rem; color: var(--text-2); line-height: 1.55; margin-top: 0.35rem; }

/* Article-embedded newsletter CTA */
.article-newsletter {
  background: var(--bg2); border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; margin: 3rem 0;
  box-shadow: var(--shadow-elevated);
}
.article-newsletter h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; margin-top: 0; }
.article-newsletter p { color: var(--text-2) !important; font-size: 0.9rem !important; margin-bottom: 1.5rem !important; }


/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — Hero, magazine grid, bottom split, newsletter, contact
   ═══════════════════════════════════════════════════════════════ */

/* Hero wrapper */
.hero-wrap {
  border-bottom: 1px solid var(--b1);
  position: relative; overflow: hidden;
}
.hero-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(31,160,104,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,160,104,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 5%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 5%, transparent 70%);
  pointer-events: none;
}
.hero-wrap::after {
  content: '';
  position: absolute; top: -120px; left: 0; right: 0; height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(31,160,104,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 3.5rem 2rem 3.25rem;
  display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--b2); border-radius: 999px;
  padding: 0.25rem 0.9rem; margin-bottom: 1.4rem;
}
.hero-eyebrow::before {
  content: ''; width: 5px; height: 5px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 8px rgba(31,160,104,0.5);
}
.hero-eyebrow::after {
  content: ''; width: 5px; height: 5px; background: var(--text-4); border-radius: 50%;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800;
  letter-spacing: -0.045em; line-height: 1.0; margin-bottom: 1.1rem; color: var(--text);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffffff 0%, #c8c8d8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 0.95rem; color: var(--text-2); line-height: 1.78;
  max-width: 460px; margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.hero-stats-row {
  display: flex; gap: 2rem; margin-top: 2.25rem;
  padding-top: 1.75rem; border-top: 1px solid var(--b1);
}
.hstat { display: flex; flex-direction: column; gap: 0.1rem; }
.hstat-n {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text);
}
.hstat-l { font-family: var(--mono); font-size: 0.6rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }

/* Hero right panel */
.hero-card-label {
  font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-card-label::before { content: ''; flex: 1; height: 1px; background: var(--accent-border); }
.hero-article-card {
  background: var(--bg2); border: 1px solid var(--b1); border-radius: var(--radius-lg);
  padding: 1.4rem; position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: pointer; display: block;
  box-shadow: var(--shadow-card);
}
.hero-article-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--green);
}
.hero-article-card:hover { border-color: var(--b3); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.hcard-tag {
  font-family: var(--mono); font-size: 0.56rem; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.5rem;
}
.hcard-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3;
  color: var(--text); margin-bottom: 0.55rem;
}
.hcard-desc { font-size: 0.8rem; color: var(--text-2); line-height: 1.6; margin-bottom: 0.9rem; }
.hcard-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; border-top: 1px solid var(--b1);
}
.hcard-read { font-size: 0.76rem; font-weight: 600; color: var(--text-2); transition: color 0.2s; }
.hcard-read:hover { color: var(--text); }
.hcard-time { font-size: 0.7rem; color: var(--text-3); }
.hero-mini-stack { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.6rem; }
.hero-mini-card {
  background: var(--bg2); border: 1px solid var(--b1); border-radius: 9px;
  padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.85rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: pointer; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-card);
}
.hero-mini-card:hover { border-color: var(--b3); transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.mini-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 6px rgba(31,160,104,0.4); }
.mini-title { font-size: 0.8rem; font-weight: 500; color: var(--text-2); line-height: 1.3; flex: 1; }
.mini-time { font-family: var(--mono); font-size: 0.62rem; color: var(--text-3); flex-shrink: 0; letter-spacing: 0.03em; }

/* Magazine grid */
.mag-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem; align-items: start;
}
.mag-featured { grid-row: 1 / 3; }

/* Bottom split */
.bottom-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 0.75rem; }

.thoughts-card {
  background: var(--bg2); border: 1px solid var(--b1); border-radius: var(--radius-lg);
  padding: 1.6rem; position: relative; overflow: hidden;
  cursor: pointer; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  text-decoration: none; color: inherit; display: block;
  box-shadow: var(--shadow-card);
}
.thoughts-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(31,160,104,0.25), transparent);
}
.thoughts-card:hover { border-color: var(--b3); transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.thoughts-card h3 {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 0.6rem;
}
.thoughts-card p { font-size: 0.83rem; color: var(--text-2); line-height: 1.68; }
.tc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--b1);
}

/* About section */
.about-col {
  background: var(--bg2); border: 1px solid var(--b1); border-radius: var(--radius-lg);
  padding: 1.6rem; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-card);
}
.about-col::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(31,160,104,0.20), transparent);
}
.about-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 0.25rem;
}
.about-role {
  font-family: var(--mono); font-size: 0.65rem; color: var(--accent); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.85rem;
}
.about-bio { font-size: 0.83rem; color: var(--text-2); line-height: 1.72; }
.about-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin-top: 1.1rem; }
.astat { background: var(--bg3); border: 1px solid var(--b1); border-radius: 9px; padding: 0.8rem 0.9rem; box-shadow: inset 0 1px 0 rgba(31,160,104,0.04); }
.astat-n {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em; color: var(--accent);
}
.astat-l { font-family: var(--mono); font-size: 0.58rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.12rem; }

/* Newsletter strip */
.newsletter-strip {
  background: var(--bg2); border: 1px solid var(--b1); border-radius: var(--radius-lg);
  padding: 1.75rem 2rem; margin-top: 0.75rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.newsletter-strip::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,160,104,0.25), transparent);
}
.nl-text h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 0.25rem;
}
.nl-text p { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

/* Beehiiv embed */
.beehiiv-wrap { flex: 1; min-width: 280px; max-width: 500px; }
.beehiiv-wrap iframe { border-radius: var(--radius) !important; background: var(--bg2) !important; }

/* Contact form */
.contact-section {
  max-width: var(--max); margin: 0 auto; padding: 2.75rem 2rem;
  border-top: 1px solid var(--b1);
}
.contact-form { max-width: 520px; display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.10em;
}
.form-group input, .form-group textarea {
  background: var(--bg3); border: 1px solid var(--b1); border-radius: 8px;
  padding: 0.72rem 1rem; color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.88rem;
  transition: border-color 0.25s, box-shadow 0.25s; outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-border); box-shadow: 0 0 8px rgba(31,160,104,0.08); }
.form-group textarea { min-height: 120px; resize: vertical; }


/* ═══════════════════════════════════════════════════════════════
   FOOTER — Shared across ALL pages
   ═══════════════════════════════════════════════════════════════ */
footer { border-top: 1px solid var(--b1); padding: 1.5rem 2rem; margin-top: 1rem; }
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-brand { font-size: 0.86rem; font-weight: 700; color: var(--text-2); letter-spacing: -0.01em; }
.footer-brand span { color: var(--text-3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: var(--mono); font-size: 0.68rem; color: var(--text-3); transition: color 0.2s; letter-spacing: 0.03em; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-family: var(--mono); font-size: 0.62rem; color: var(--text-4); width: 100%; margin-top: 0.4rem; letter-spacing: 0.02em; }


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .mag-grid { grid-template-columns: 1fr; }
  .mag-featured { grid-row: auto; }
  .bottom-split { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr; }
  .trait-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .content-wrap { padding: 2rem 1.25rem; }
  .newsletter-strip { flex-direction: column; }
  .contact-section { padding: 2rem 1.25rem; }
  .page-header, .articles-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .page-header { padding-top: 2.5rem; }
  .article-header, .article-body { padding-left: 1.25rem; padding-right: 1.25rem; }
}
