/* ============================================================
   EOFE Business Champions — Premium Stylesheet
   eofebusinesschampions.co.uk
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colours */
  --navy:        #0D1B2A;
  --navy-mid:    #162234;
  --navy-light:  #1E3049;
  --charcoal:    #2C3E50;
  --charcoal-mid:#3D5166;
  --steel:       #5B7FA6;
  --steel-light: #8AAFD0;
  --steel-pale:  #D4E3F0;
  --emerald:     #1A8F6F;
  --emerald-mid: #22B38A;
  --emerald-light:#E6F7F2;
  --gold:        #C9A84C;
  --gold-light:  #F0DFA0;
  --gold-pale:   #FBF6E9;
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --grey-50:     #F3F5F7;
  --grey-100:    #E8ECF0;
  --grey-200:    #CDD5DE;
  --grey-300:    #A8B4C2;
  --grey-500:    #6B7A8D;
  --grey-700:    #3D4D5C;
  --text-primary:#1A2533;
  --text-secondary:#4A5C6E;
  --text-muted:  #7A8FA3;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max: 1240px;
  --container-wide: 1440px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.45, 0, 0.55, 1);
  --duration-fast: 160ms;
  --duration-med: 280ms;
  --duration-slow: 480ms;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(13,27,42,0.08);
  --shadow-sm:  0 2px 8px rgba(13,27,42,0.10);
  --shadow-md:  0 4px 20px rgba(13,27,42,0.12);
  --shadow-lg:  0 8px 40px rgba(13,27,42,0.15);
  --shadow-xl:  0 20px 60px rgba(13,27,42,0.18);

  /* Header height for offset */
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--text-primary); }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container    { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 1.5rem; }
.sr-only      { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.grid         { display: grid; }
.gap-sm       { gap: var(--space-sm); }
.gap-md       { gap: var(--space-md); }
.gap-lg       { gap: var(--space-lg); }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: fixed; top: -100%; left: 1rem; z-index: 9999;
  background: var(--navy); color: var(--white);
  padding: .75rem 1.25rem; border-radius: var(--radius-md);
  font-size: .875rem; font-weight: 600;
  transition: top var(--duration-fast);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--duration-med), box-shadow var(--duration-med);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: var(--space-md);
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.site-logo .logo-mark {
  width: 38px; height: 38px; background: linear-gradient(135deg, var(--emerald) 0%, var(--steel) 100%);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--white); letter-spacing: -.5px;
}
.site-logo .logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo .logo-text .brand { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: -.3px; }
.site-logo .logo-text .tagline { font-size: .65rem; color: var(--steel-light); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: .25rem; }
.primary-nav a {
  padding: .5rem .85rem; border-radius: var(--radius-sm);
  font-size: .875rem; font-weight: 500; color: rgba(255,255,255,.78);
  transition: color var(--duration-fast), background var(--duration-fast);
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--white); background: rgba(255,255,255,.08); }
.primary-nav .nav-highlight {
  margin-left: .5rem; padding: .45rem 1rem;
  background: var(--emerald); color: var(--white) !important;
  border-radius: var(--radius-sm); font-weight: 600;
}
.primary-nav .nav-highlight:hover { background: var(--emerald-mid); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.btn-header-search {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--duration-fast), color var(--duration-fast);
}
.btn-header-search:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-header-subscribe {
  padding: .45rem 1.1rem; background: rgba(255,255,255,.1);
  color: var(--white); border-radius: var(--radius-sm);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  border: 1px solid rgba(255,255,255,.18);
  transition: background var(--duration-fast), border-color var(--duration-fast);
}
.btn-header-subscribe:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.32); }

/* Mobile Toggle */
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--duration-med) var(--ease-out), opacity var(--duration-med); }

/* Top bar */
.top-bar {
  background: var(--navy-mid); border-bottom: 1px solid rgba(255,255,255,.05);
  padding: .4rem 0;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .75rem; color: rgba(255,255,255,.5);
}
.top-bar .top-bar-links { display: flex; gap: var(--space-md); }
.top-bar .top-bar-links a { color: rgba(255,255,255,.5); transition: color var(--duration-fast); }
.top-bar .top-bar-links a:hover { color: rgba(255,255,255,.8); }
.top-bar .top-bar-right { display: flex; gap: var(--space-md); align-items: center; }
.top-bar .issue-date { font-family: var(--font-mono); font-size: .7rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  letter-spacing: .01em; transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer; border: 2px solid transparent;
}
.btn-primary {
  background: var(--emerald); color: var(--white); border-color: var(--emerald);
}
.btn-primary:hover { background: var(--emerald-mid); border-color: var(--emerald-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,143,111,.3); }
.btn-secondary {
  background: transparent; color: var(--navy); border-color: var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-secondary-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.4);
}
.btn-secondary-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-gold {
  background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-sm { padding: .55rem 1.2rem; font-size: .82rem; }
.btn-lg { padding: .95rem 2.25rem; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   SECTION WRAPPERS
   ============================================================ */
.section { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.section-lg { padding: var(--space-3xl) 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h1,.section-dark h2,.section-dark h3,.section-dark h4 { color: var(--white); }
.section-charcoal { background: var(--charcoal); color: var(--white); }
.section-grey { background: var(--grey-50); }
.section-navy-mid { background: var(--navy-mid); color: var(--white); }

.section-header { margin-bottom: var(--space-xl); }
.section-header .eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  color: var(--emerald); margin-bottom: .75rem;
}
.section-header .eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px; background: var(--emerald);
}
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: .85rem; }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }
.section-dark .section-header .eyebrow { color: var(--emerald-mid); }
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,.65); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  padding: 5.5rem 0 5rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,143,111,.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 20% 20%, rgba(91,127,166,.1) 0%, transparent 60%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(26,143,111,.15); border: 1px solid rgba(26,143,111,.3);
  border-radius: 100px; padding: .35rem 1rem .35rem .6rem;
  font-size: .75rem; font-weight: 600; color: var(--emerald-mid);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.5rem;
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--emerald-mid); border-radius: 50%; }
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--white);
  line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 2.25rem; max-width: 520px; }
.hero-cta-row { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; margin-bottom: 2.5rem; }
.hero-trust { display: flex; align-items: center; gap: var(--space-sm); }
.hero-trust-label { font-size: .78rem; color: rgba(255,255,255,.45); font-weight: 500; }
.hero-trust-numbers { display: flex; gap: var(--space-md); }
.hero-trust-stat { text-align: center; }
.hero-trust-stat .num { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.hero-trust-stat .lbl { font-size: .68rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .06em; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-card-stack { position: relative; width: 100%; padding-bottom: 3rem; }
.hero-main-card {
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(30,48,73,.9) 100%);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg);
  padding: 2rem; box-shadow: var(--shadow-xl);
}
.hero-card-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(26,143,111,.2); border: 1px solid rgba(26,143,111,.35);
  border-radius: 100px; padding: .3rem .75rem;
  font-size: .7rem; font-weight: 600; color: var(--emerald-mid); margin-bottom: 1.25rem;
}
.hero-card-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); margin-bottom: .5rem; line-height: 1.3; }
.hero-card-meta { font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 1.25rem; }
.hero-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: .75rem; margin-bottom: 1.5rem; }
.hero-metric {
  background: rgba(255,255,255,.05); border-radius: var(--radius-sm);
  padding: .75rem; text-align: center;
}
.hero-metric .m-val { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--emerald-mid); }
.hero-metric .m-lbl { font-size: .65rem; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .05em; }
.hero-card-footer { display: flex; align-items: center; justify-content: space-between; }
.hero-card-author { display: flex; align-items: center; gap: .6rem; }
.hero-author-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--steel) 0%, var(--emerald) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--white);
}
.hero-author-name { font-size: .78rem; color: rgba(255,255,255,.7); font-weight: 500; }
.hero-card-read { font-size: .75rem; color: var(--emerald-mid); font-weight: 600; display: flex; align-items: center; gap: .3rem; }

.hero-float-card {
  position: absolute; bottom: 0; right: -1.5rem;
  background: var(--white); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem; min-width: 220px;
  animation: floatUpDown 4s ease-in-out infinite;
}
.hero-float-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--emerald-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-float-icon svg { color: var(--emerald); }
.hero-float-text .title { font-size: .82rem; font-weight: 600; color: var(--text-primary); }
.hero-float-text .sub { font-size: .72rem; color: var(--text-muted); }

@keyframes floatUpDown {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ============================================================
   TICKER / BREAKING BAR
   ============================================================ */
.ticker-bar {
  background: var(--charcoal); color: var(--white); padding: .6rem 0; overflow: hidden;
}
.ticker-inner { display: flex; align-items: center; gap: 0; }
.ticker-label {
  flex-shrink: 0; background: var(--emerald); color: var(--white);
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  padding: .3rem .8rem; margin-right: 1.5rem;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-items { display: flex; gap: 3rem; animation: ticker 40s linear infinite; white-space: nowrap; }
.ticker-items span { font-size: .78rem; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: .5rem; }
.ticker-items span::after { content: '·'; margin-left: .5rem; color: rgba(255,255,255,.3); }
@keyframes ticker { 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.article-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100); overflow: hidden;
  transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med);
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card-image {
  aspect-ratio: 16/9; overflow: hidden; position: relative;
  background: var(--grey-100);
}


.article-card-image .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background-size: cover!important;
}
.article-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.article-card-category {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--emerald); margin-bottom: .75rem;
}
.article-card h3 { font-size: 1.1rem; margin-bottom: .6rem; line-height: 1.3; }
.article-card h3 a:hover { color: var(--emerald); }
.article-card p { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.article-card-meta { display: flex; align-items: center; justify-content: space-between; }
.article-meta-author { display: flex; align-items: center; gap: .5rem; }
.article-meta-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  font-size: .7rem; font-weight: 700; color: var(--white); display: flex; align-items: center; justify-content: center;
}
.article-meta-name { font-size: .75rem; font-weight: 500; color: var(--text-muted); }
.article-meta-date { font-size: .72rem; color: var(--text-muted); font-family: var(--font-mono); }
.article-read-time {
  font-size: .7rem; color: var(--text-muted); display: flex; align-items: center; gap: .3rem;
}

/* Featured card */
.article-card-featured { grid-column: span 2; flex-direction: row; }
.article-card-featured .article-card-image { flex: 0 0 45%; aspect-ratio: unset; }
.article-card-featured .article-card-body { padding: 2rem 2rem 2rem 2rem; }
.article-card-featured h3 { font-size: 1.5rem; }

/* ============================================================
   FEATURED SECTION
   ============================================================ */
.featured-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* ============================================================
   CATEGORY PILLS
   ============================================================ */
.category-pills { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.category-pill {
  padding: .4rem 1rem; border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  background: var(--grey-50); color: var(--text-secondary);
  border: 1px solid var(--grey-100);
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
  cursor: pointer;
}
.category-pill:hover, .category-pill.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ============================================================
   STAT / METRIC BLOCKS
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--space-md); }
.stat-block {
  text-align: center; padding: 2rem 1.5rem;
  border-right: 1px solid var(--grey-100);
}
.stat-block:last-child { border-right: none; }
.stat-block .stat-num {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
  color: var(--navy); line-height: 1; margin-bottom: .4rem; letter-spacing: -.03em;
}
.stat-block .stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.section-dark .stat-block .stat-num { color: var(--white); }
.section-dark .stat-block { border-right-color: rgba(255,255,255,.1); }
.section-dark .stat-block .stat-label { color: rgba(255,255,255,.5); }

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--grey-100); position: relative;
  transition: box-shadow var(--duration-med);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-card .quote-mark {
  font-family: var(--font-display); font-size: 5rem; color: var(--grey-100); line-height: .8;
  position: absolute; top: 1.2rem; right: 1.5rem; pointer-events: none;
}
.testimonial-card blockquote { font-size: .92rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem; color: var(--white); flex-shrink: 0;
}
.testimonial-info .name { font-weight: 600; font-size: .9rem; color: var(--text-primary); }
.testimonial-info .role { font-size: .78rem; color: var(--text-muted); }
.star-rating { display: flex; gap: 2px; margin-bottom: .75rem; }
.star-rating svg { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); }

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: var(--space-2xl) 0; position: relative; overflow: hidden;
}
.newsletter-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,143,111,.15) 0%, transparent 60%);
}
.newsletter-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { color: var(--white); margin-bottom: 1rem; }
.newsletter-inner p { color: rgba(255,255,255,.65); margin-bottom: 2rem; }
.newsletter-form { display: flex; gap: .75rem; max-width: 480px; margin: 0 auto; flex-direction: column;}
.newsletter-form input[type="email"] {
  flex: 1; padding: .85rem 1.25rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm); color: var(--white);
  font-size: .9rem;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input[type="email"]:focus { outline: none; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }
.newsletter-disclaimer { font-size: .72rem; color: rgba(255,255,255,.38); margin-top: 1rem; }

.site-footer{
  padding-top: 60px;
}

/* ============================================================
   FOUNDER SPOTLIGHT
   ============================================================ */
.founder-spotlight-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--space-2xl); align-items: center; }
.founder-portrait {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
}
.founder-portrait-inner {
  aspect-ratio: 3/4; background: linear-gradient(160deg, var(--steel) 0%, var(--navy) 100%);
  border-radius: var(--radius-xl); display: flex; align-items: flex-end; padding: 2rem;
  position: relative; overflow: hidden;
}
.founder-portrait-inner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.8) 0%, transparent 60%);
}
.founder-portrait-initials {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-65%);
  width: 100%;
  height: 100%;
  font-family: var(--font-display); font-size: 7rem; font-weight: 700;
  color: rgba(255,255,255,.12); line-height: 1;
}
.founder-portrait-initials img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-portrait-badge {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-md);
  padding: .85rem 1rem;
}
.founder-portrait-badge .company { font-weight: 600; color: var(--white); font-size: .9rem; }
.founder-portrait-badge .revenue { font-size: .78rem; color: rgba(255,255,255,.6); }
.founder-content .eyebrow { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--emerald); margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.founder-content .eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--emerald); }
.founder-content h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.founder-content .lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.75rem; }
.founder-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 2rem; }
.founder-metric {
  border-left: 3px solid var(--emerald); padding-left: 1rem;
}
.founder-metric .val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.founder-metric .lbl { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: .2rem; }

/* ============================================================
   RESOURCE CARDS
   ============================================================ */
.resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.resource-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100); padding: 1.75rem;
  transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med);
  display: flex; flex-direction: column;
}
.resource-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.resource-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; flex-shrink: 0;
}
.resource-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.resource-card p { font-size: .85rem; color: var(--text-secondary); flex: 1; margin-bottom: 1.25rem; line-height: 1.65; }
.resource-tag {
  display: inline-block; padding: .25rem .7rem;
  background: var(--grey-50); border-radius: 100px;
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted);
  margin-bottom: .85rem;
}
.resource-link {
  font-size: .83rem; font-weight: 600; color: var(--emerald); display: flex; align-items: center; gap: .35rem;
  transition: gap var(--duration-fast);
}
.resource-link:hover { gap: .6rem; }

/* ============================================================
   TOOLS SHOWCASE
   ============================================================ */
.tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.tool-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 1.5rem; text-align: center;
  transition: background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-med) var(--ease-out);
}
.tool-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); transform: translateY(-2px); }
.tool-icon { font-size: 2rem; margin-bottom: .75rem; }
.tool-card h4 { font-size: .92rem; color: var(--white); margin-bottom: .4rem; }
.tool-card p { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--emerald) 0%, #116B54 100%);
  border-radius: var(--radius-xl); padding: 3.5rem; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 100% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
}
.cta-banner-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-banner h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--white); margin-bottom: .6rem; }
.cta-banner p { color: rgba(255,255,255,.75); font-size: .95rem; }
.cta-banner-actions { display: flex; gap: 1rem; align-items: center; flex-shrink: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; color: var(--text-muted); margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--emerald); }
.breadcrumb .sep { color: var(--grey-200); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-2xl); align-items: start; }
.article-body h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.article-body h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }
.article-body p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.25rem; font-size: .97rem; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-secondary); font-size: .97rem; }
.article-body li { margin-bottom: .5rem; line-height: 1.7; }
.article-body blockquote {
  border-left: 4px solid var(--emerald); padding: 1.25rem 1.5rem; margin: 2rem 0;
  background: var(--emerald-light); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic; color: var(--text-secondary);
}
.article-hero-meta { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--grey-100); flex-wrap: wrap; }
.article-hero-meta .author { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--text-secondary); }
.article-hero-meta .author strong { color: var(--text-primary); }
.article-hero-meta .date { font-size: .82rem; color: var(--text-muted); font-family: var(--font-mono); }
.article-sidebar { position: sticky; top: calc(var(--header-h) + 2rem); }
.sidebar-card { background: var(--grey-50); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-card h4 { font-size: .95rem; margin-bottom: 1rem; }
.toc-list { display: flex; flex-direction: column; gap: .5rem; }
.toc-list a { font-size: .83rem; color: var(--text-secondary); padding: .3rem .5rem; border-radius: var(--radius-sm); transition: background var(--duration-fast), color var(--duration-fast); }
.toc-list a:hover { background: var(--white); color: var(--emerald); }

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: var(--navy); padding: var(--space-xl) 0;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 30%, rgba(26,143,111,.12) 0%, transparent 60%);
}
.page-header-inner { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .75rem; }
.page-header p { color: rgba(255,255,255,.6); max-width: 560px; font-size: 1rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.value-card {
  padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-100); background: var(--white);
  transition: box-shadow var(--duration-med);
}
.value-card:hover { box-shadow: var(--shadow-md); }
.value-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.value-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.value-card p { font-size: .88rem; color: var(--text-secondary); line-height: 1.65; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.team-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-lg);
  padding: 1.75rem; text-align: center;
  transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white);
}
.team-card .name { font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.team-card .title { font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; }
.team-card .bio { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--space-2xl); }
.contact-info h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.contact-info p { font-size: .9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-detail-icon { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--emerald-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { color: var(--emerald); }
.contact-detail-text .label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); }
.contact-detail-text .value { font-size: .9rem; color: var(--text-primary); font-weight: 500; }

/* Form */
.contact-form-card {
  background: var(--white); border: 1px solid var(--grey-100); border-radius: var(--radius-xl);
  padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-secondary); margin-bottom: .4rem; letter-spacing: .01em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1rem;
  border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
  background: var(--white); color: var(--text-primary); font-size: .9rem;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(26,143,111,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-checkbox { display: flex; align-items: flex-start; gap: .6rem; }
.form-checkbox input { width: auto; margin-top: .15rem; }
.form-checkbox label { font-size: .82rem; color: var(--text-secondary); font-weight: 400; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-2xl); align-items: start; padding: var(--space-xl) 0; }
.legal-nav { position: sticky; top: calc(var(--header-h) + 2rem); background: var(--grey-50); border-radius: var(--radius-lg); padding: 1.5rem; }
.legal-nav h4 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 1rem; }
.legal-nav ul { display: flex; flex-direction: column; gap: .25rem; }
.legal-nav li a { font-size: .85rem; color: var(--text-secondary); padding: .4rem .6rem; border-radius: var(--radius-sm); display: block; transition: background var(--duration-fast), color var(--duration-fast); }
.legal-nav li a:hover { background: var(--white); color: var(--emerald); }
.legal-content h1 { font-size: 2rem; margin-bottom: .5rem; }
.legal-content .effective-date { font-size: .82rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--grey-100); }
.legal-content h2 { font-size: 1.35rem; margin: 2.5rem 0 .85rem; padding-top: 1rem; }
.legal-content h3 { font-size: 1.1rem; margin: 1.75rem 0 .65rem; }
.legal-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 1.1rem; font-size: .93rem; }
.legal-content ul, .legal-content ol { margin: .75rem 0 1.25rem 1.5rem; color: var(--text-secondary); }
.legal-content li { margin-bottom: .4rem; line-height: 1.7; font-size: .93rem; }
.legal-highlight {
  background: var(--gold-pale); border: 1px solid var(--gold-light);
  border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin: 1.5rem 0;
  font-size: .9rem; color: var(--text-secondary);
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resources-header-stats { display: flex; gap: 2rem; margin-top: 1.5rem; }
.resources-header-stat .n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--emerald-mid); }
.resources-header-stat .l { font-size: .75rem; color: rgba(255,255,255,.5); }

/* Calculator card */
.calculator-card {
  background: var(--navy); border-radius: var(--radius-xl); padding: 2.5rem;
  color: var(--white);
}
.calculator-card h3 { color: var(--white); margin-bottom: .5rem; }
.calculator-card p { color: rgba(255,255,255,.6); font-size: .88rem; margin-bottom: 1.5rem; }
.calculator-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.calc-group label { font-size: .75rem; font-weight: 600; color: rgba(255,255,255,.6); display: block; margin-bottom: .4rem; text-transform: uppercase; letter-spacing: .05em; }
.calc-group input {
  width: 100%; padding: .7rem 1rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); color: var(--white); font-size: .9rem;
}
.calc-group input:focus { outline: none; border-color: var(--emerald); }
.calculator-result {
  background: rgba(26,143,111,.2); border: 1px solid rgba(26,143,111,.35);
  border-radius: var(--radius-md); padding: 1.25rem; text-align: center;
}
.calculator-result .result-label { font-size: .75rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; }
.calculator-result .result-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--emerald-mid); }

/* ============================================================
   DISCLOSURE / TRUST BADGES
   ============================================================ */
.disclosure-bar {
  background: var(--gold-pale); border: 1px solid var(--gold-light);
  border-radius: var(--radius-md); padding: .75rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  font-size: .8rem; color: var(--text-secondary); margin-bottom: 2rem;
}
.disclosure-bar svg { color: var(--gold); flex-shrink: 0; }
.disclosure-bar strong { color: var(--text-primary); }

.trust-badges { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.trust-badge {
  display: flex; align-items: center; gap: .5rem;
  font-size: .75rem; color: rgba(255,255,255,.5);
}
.trust-badge svg { width: 14px; height: 14px; color: var(--emerald-mid); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy); color: var(--white);
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-main { padding: var(--space-2xl) 0 var(--space-xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--space-xl); }
.footer-brand .footer-logo-text {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--white); margin-bottom: .5rem;
}
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 1.5rem; max-width: 300px; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: background var(--duration-fast), color var(--duration-fast);
}
.footer-social a:hover { background: rgba(255,255,255,.14); color: var(--white); }
.footer-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col li a { font-size: .85rem; color: rgba(255,255,255,.6); transition: color var(--duration-fast); }
.footer-col li a:hover { color: var(--white); }
.footer-newsletter h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: .75rem; }
.footer-newsletter p { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 1rem; line-height: 1.6; }
.footer-subscribe-form { display: flex; flex-direction: column; gap: .6rem; }
.footer-subscribe-form input[type="email"] {
  padding: .65rem 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); color: var(--white); font-size: .82rem;
  transition: border-color var(--duration-fast);
}
.footer-subscribe-form input[type="email"]:focus { outline: none; border-color: var(--emerald); }
.footer-subscribe-form input::placeholder { color: rgba(255,255,255,.3); }
.footer-subscribe-form button {
  padding: .6rem 1rem; background: var(--emerald); color: var(--white); border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600; transition: background var(--duration-fast);
}
.footer-subscribe-form button:hover { background: var(--emerald-mid); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom .legal-links { display: flex; gap: var(--space-md); }
.footer-bottom .legal-links a { font-size: .75rem; color: rgba(255,255,255,.4); transition: color var(--duration-fast); }
.footer-bottom .legal-links a:hover { color: rgba(255,255,255,.7); }
.footer-bottom .copyright { font-size: .75rem; color: rgba(255,255,255,.3); }
.footer-disclaimer {
  padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.05);
  font-size: .72rem; color: rgba(255,255,255,.28); line-height: 1.65;
}

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(13,27,42,.85); backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 8rem;
  opacity: 0; pointer-events: none; transition: opacity var(--duration-med);
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box {
  background: var(--white); border-radius: var(--radius-xl);
  width: min(640px, 90vw); overflow: hidden; box-shadow: var(--shadow-xl);
  transform: translateY(-20px); transition: transform var(--duration-med) var(--ease-out);
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-input-wrap {
  display: flex; align-items: center; padding: 1.25rem 1.5rem; gap: 1rem;
  border-bottom: 1px solid var(--grey-100);
}
.search-input-wrap input {
  flex: 1; font-size: 1.1rem; border: none; color: var(--text-primary); background: none;
}
.search-input-wrap input:focus { outline: none; }
.search-input-wrap button { color: var(--text-muted); transition: color var(--duration-fast); }
.search-input-wrap button:hover { color: var(--text-primary); }
.search-suggestions { padding: 1rem 1.5rem 1.5rem; }
.search-suggestions-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .75rem; }
.search-suggestion-list { display: flex; flex-direction: column; gap: .25rem; }
.search-suggestion-list a { padding: .6rem .75rem; border-radius: var(--radius-sm); font-size: .9rem; color: var(--text-secondary); transition: background var(--duration-fast), color var(--duration-fast); display: flex; align-items: center; gap: .75rem; }
.search-suggestion-list a:hover { background: var(--grey-50); color: var(--emerald); }
.search-suggestion-list a svg { width: 14px; height: 14px; color: var(--grey-300); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; z-index: 8000;
  background: var(--navy); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl); padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 2rem; box-shadow: var(--shadow-xl);
  transform: translateY(120%); transition: transform var(--duration-slow) var(--ease-out);
  max-width: 900px; margin: 0 auto;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { flex: 1; font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.65; }
.cookie-text a { color: var(--emerald-mid); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 850;
  background: rgba(13,27,42,.7); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity var(--duration-med);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }
.mobile-nav-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 860;
  width: min(320px, 85vw); background: var(--navy);
  padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: .25rem;
  transform: translateX(100%); transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav-overlay.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-nav-close { color: rgba(255,255,255,.6); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.mobile-nav-links { display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.mobile-nav-links a {
  padding: .85rem 1rem; border-radius: var(--radius-md);
  font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.75);
  transition: background var(--duration-fast), color var(--duration-fast);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-nav-links a:hover { background: rgba(255,255,255,.07); color: var(--white); }

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.read-progress {
  position: fixed; top: 0; left: 0; z-index: 1000;
  height: 3px; background: var(--emerald); width: 0%;
  transition: width .1s linear;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out); }
.fade-up.visible { opacity: 1; transform: none; }

/* Stagger helpers */
.stagger-1 { transition-delay: 80ms; }
.stagger-2 { transition-delay: 160ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 320ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: repeat(2,1fr); }
  .article-card-featured { grid-column: span 2; flex-direction: column; }
  .article-card-featured .article-card-image { aspect-ratio: 16/9; }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .founder-spotlight-grid { grid-template-columns: 1fr; }
  .founder-portrait { display: none; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .primary-nav, .header-actions .btn-header-subscribe { display: none; }
  .nav-toggle { display: flex; }
  .featured-grid { grid-template-columns: 1fr; }
  .article-card-featured { grid-column: span 1; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { display: none; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-banner-actions { justify-content: flex-start; }
  .newsletter-form { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-block { border-right: none; border-bottom: 1px solid var(--grey-100); }
  .hero { padding: 3.5rem 0 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .75rem; }
  .top-bar-right { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner { flex-direction: column; }
  .cookie-actions { width: 100%; justify-content: stretch; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   INLINE SVG PLACEHOLDERS / ILLUSTRATIONS
   ============================================================ */
.svg-chart-bg {
  fill: none; stroke: rgba(26,143,111,.35); stroke-width: 2;
}
.svg-chart-line { fill: none; stroke: var(--emerald-mid); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.svg-chart-area { fill: url(#chartGrad); opacity: .3; }


.footer-social{
  display: none!important;
}