/* Culture Pulse 360 · Research & Reporting
   Visual lineage: BHSC Thrive (navy + teal + warm earth)
   Elevated typography pairing: Gambarino display + Cormorant Garamond editorial accents + Satoshi text + Inter for data.
*/

:root {
  --navy-900: #0f1e33;
  --navy-800: #12253b;
  --navy-700: #1b3556;
  --navy-600: #2a4670;
  --navy-300: #b6c2d4;
  --navy-200: #d5deeb;
  --navy-100: #e9eef6;
  --navy-50:  #f4f7fb;

  --teal-700: #0a5f5e;
  --teal-600: #0f7a7a;
  --teal-500: #15938f;
  --teal-400: #3bb2ad;
  --teal-200: #a8dedb;
  --teal-100: #d6f0ee;

  --earth-terracotta: #c5704a;
  --earth-clay: #b85c3a;
  --earth-ochre: #d9a441;
  --earth-honey: #e6b860;
  --earth-sand: #e8dcc4;
  --earth-moss: #6b7a4a;
  --earth-cream: #faf6ef;

  --ink: #12253b;
  --ink-soft: #4a5a72;
  --ink-muted: #7c8699;

  --bg: #f7f4ed;
  --surface: #ffffff;
  --surface-2: #fbf8f1;
  --border: #e5ddd0;
  --border-strong: #cfc4b1;

  --shadow-sm: 0 1px 2px rgba(18, 37, 59, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 37, 59, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 37, 59, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --font-sans: 'Satoshi', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Gambarino', 'Cormorant Garamond', ui-serif, Georgia, serif;
  --font-editorial: 'Cormorant Garamond', 'Gambarino', ui-serif, Georgia, serif;
  --font-data: 'Inter', 'Satoshi', ui-sans-serif, system-ui, sans-serif;
}

[data-theme="dark"] {
  --navy-900: #e9eef6;
  --navy-800: #eef1f7;
  --navy-700: #c9d3e2;
  --navy-600: #9dacc2;
  --navy-300: #5a6b86;
  --navy-200: #2a3a52;
  --navy-100: #1d2c44;
  --navy-50:  #18253b;

  --teal-700: #6fd5d0;
  --teal-600: #4ec8c3;
  --teal-500: #3bb2ad;
  --teal-400: #2a8783;
  --teal-200: #2a4f4e;
  --teal-100: #1a3a3a;

  --earth-terracotta: #d98565;
  --earth-clay: #c67050;
  --earth-ochre: #e6b860;
  --earth-honey: #efc97e;
  --earth-sand: #3d3424;
  --earth-moss: #8b9a6a;
  --earth-cream: #1a2334;

  --ink: #e9eef6;
  --ink-soft: #b8c2d4;
  --ink-muted: #8594a8;

  --bg: #0d1626;
  --surface: #15213a;
  --surface-2: #19274a;
  --border: #24344f;
  --border-strong: #324564;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a { color: var(--teal-600); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- TOP BAR ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .topbar { background: rgba(13, 22, 38, 0.85); }

.topbar-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 32px;
  display: flex; align-items: center; gap: 24px; justify-content: space-between;
}
.brand {
  display: flex; align-items: baseline; gap: 14px; color: var(--navy-800); white-space: nowrap;
}
.brand-title {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; letter-spacing: -0.015em;
}
.brand-sub {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-soft); font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
}
.nav a:hover { color: var(--teal-600); text-decoration: none; }

.theme-toggle {
  width: 36px; height: 36px; padding: 0; border-radius: var(--radius-sm);
  background: var(--surface); color: var(--navy-800); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all 0.15s;
}
.theme-toggle:hover { background: var(--navy-100); border-color: var(--navy-200); }
.theme-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .nav { display: none; }
}

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-600); font-weight: 600; margin: 0 0 12px;
}
.eyebrow.center, .display-md.center, .display-sm.center, .lede.center { text-align: center; }
.eyebrow.light { color: var(--teal-400); }

.display-xl {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.02;
  color: var(--navy-900);
  margin: 8px 0 18px;
}
.display-md {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  color: var(--navy-900);
  margin: 4px 0 16px;
}
.display-sm {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--navy-900);
  margin: 6px 0 12px;
}
.display-md.light, .display-sm.light, .display-xl.light { color: #f3ece0; }

.hero-tagline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--earth-clay);
  margin: 0 0 24px;
  letter-spacing: 0.005em;
}
.hero-tagline.light { color: var(--earth-honey); }

.lede {
  font-size: 19px; line-height: 1.65;
  color: var(--ink-soft);
  max-width: 70ch;
  margin: 0 0 22px;
}
.lede.light { color: #d8d3c6; }
.narrow-block { max-width: 70ch; }

.sub-heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; color: var(--navy-800);
  margin: 48px 0 18px;
}

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; position: relative; }
.section-tinted { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-deep {
  background: linear-gradient(180deg, #0f1e33 0%, #12253b 100%);
  color: #d8d3c6;
}
[data-theme="dark"] .section-deep {
  background: linear-gradient(180deg, #050b18 0%, #0a1428 100%);
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: 820px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 120px 32px 96px;
  background:
    radial-gradient(circle at 20% 10%, rgba(15, 122, 122, 0.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(217, 164, 65, 0.10), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-inner {
  max-width: 1180px; margin: 0 auto;
  position: relative; z-index: 2;
}
.hero-decoration {
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 70%, rgba(15, 122, 122, 0.06) 100%);
  pointer-events: none;
}
.hero-lede {
  font-family: var(--font-sans);
  font-size: 21px; line-height: 1.6;
  color: var(--ink-soft);
  max-width: 68ch;
  margin: 6px 0 32px;
}
.hero-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 24px 0 32px;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.meta-value {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--navy-800); letter-spacing: -0.01em;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  cursor: pointer; transition: all 0.18s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--navy-800); color: #fff;
}
.btn-primary:hover { background: var(--navy-700); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--navy-800);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); text-decoration: none; }

/* ---------- STAT GRID ---------- */
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px; margin-top: 36px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600; color: var(--teal-600);
  letter-spacing: -0.02em; line-height: 1;
}
.stat-figure .pct { font-size: 0.6em; font-weight: 600; }
.stat-figure .arrow { color: var(--ink-muted); margin: 0 6px; font-weight: 400; }
.stat-label {
  margin-top: 14px; font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- METHOD GRID ---------- */
.method-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px; margin-top: 30px;
}
.method-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.2s;
}
.method-card:hover { border-color: var(--teal-200); box-shadow: var(--shadow-md); }
.method-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.method-icon svg { width: 24px; height: 24px; }
.method-card h3 {
  font-family: var(--font-display); font-size: 22px; margin: 0 0 10px;
  color: var(--navy-800); font-weight: 600;
}
.method-card p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- ACTION RESEARCH CYCLE ---------- */
.cycle {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.cycle li {
  display: flex; gap: 16px; padding: 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cycle-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy-800); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
.cycle h4 { margin: 0 0 6px; font-family: var(--font-display); font-size: 17px; color: var(--navy-800); font-weight: 600; }
.cycle p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }

/* ---------- RELIABILITY STRIP ---------- */
.reliability-strip {
  margin-top: 56px; padding: 36px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.reliability-strip h3 {
  font-family: var(--font-display); font-size: 22px; margin: 0 0 20px;
  color: var(--navy-800); font-weight: 600;
}
.reliability-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}
.reliability-grid > div {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.rl-num {
  font-family: var(--font-display); font-weight: 600;
  font-size: 26px; color: var(--teal-600); letter-spacing: -0.01em;
}
.rl-lbl {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}
.reliability-note {
  margin: 22px 0 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55;
}

/* ---------- IC-IPP DEEP SECTION ---------- */
.section-deep .display-md, .section-deep .display-sm, .section-deep .display-xl {
  color: #f3ece0;
}
.pullquote {
  margin: 48px auto; max-width: 720px;
  padding: 28px 36px;
  border-left: 3px solid var(--teal-400);
  font-family: var(--font-editorial); font-style: italic;
}
.pullquote p { font-size: 26px; line-height: 1.4; margin: 0 0 12px; color: #f3ece0; }
.pullquote cite { font-style: normal; font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-400); font-weight: 600; }
.pullquote.light p { color: #f3ece0; }

.ipp-domains { margin-top: 64px; }
.ipp-grid {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.ipp-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  transition: all 0.2s;
  position: relative;
}
.ipp-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--teal-400);
  transform: translateY(-2px);
}
.ipp-num {
  font-family: var(--font-display); font-size: 28px;
  color: var(--teal-400); font-weight: 600; letter-spacing: -0.01em;
  display: block; margin-bottom: 8px;
}
.ipp-card h4 {
  font-family: var(--font-display); font-size: 20px;
  color: #f3ece0; margin: 0 0 8px; font-weight: 600;
}
.ipp-card p { margin: 0; color: #c4bfb1; font-size: 14.5px; line-height: 1.55; }

.ipp-distinction { margin-top: 64px; max-width: 760px; }
.ipp-distinction p { color: #d8d3c6; font-size: 17px; line-height: 1.7; }

.theory { margin-top: 80px; }
.scholar-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin-top: 36px;
}
.scholar {
  perspective: 1000px;
  height: 200px;
  cursor: pointer;
}
.scholar-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.6s; transform-style: preserve-3d;
}
.scholar.flipped .scholar-inner { transform: rotateY(180deg); }
.scholar-face {
  position: absolute; inset: 0;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.scholar-face.back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, rgba(15, 122, 122, 0.18), rgba(217, 164, 65, 0.10));
  border-color: var(--teal-400);
  justify-content: flex-start;
  text-align: left;
}
.scholar-face h4 {
  font-family: var(--font-display); font-size: 22px; color: #f3ece0;
  margin: 0 0 6px; font-weight: 600;
}
.scholar-face p {
  margin: 0; font-size: 13.5px; color: #c4bfb1; line-height: 1.5;
}
.scholar-face .scholar-tag {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal-400); font-weight: 600;
}
.scholar-face.back blockquote {
  font-family: var(--font-editorial); font-style: italic;
  font-size: 15.5px; color: #f3ece0; margin: 0 0 10px; line-height: 1.45;
}
.scholar-face.back .scholar-name {
  font-family: var(--font-sans); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal-400); font-weight: 600;
}
.scholar-face.back .scholar-contrib {
  margin-top: auto; font-size: 13px; color: #c4bfb1; line-height: 1.5;
}

.leadership-link {
  margin-top: 80px; padding: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
}
.leadership-link p { color: #d8d3c6; font-size: 16.5px; line-height: 1.7; margin: 0 0 14px; }
.leadership-link a { color: var(--teal-400); }
.leadership-link a:hover { color: var(--earth-honey); }

/* ---------- DASHBOARD ---------- */
.dashboard {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-top: 36px;
}
.chart-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.chart-card.chart-wide { grid-column: 1 / -1; }
.chart-card h3 {
  font-family: var(--font-display); font-size: 20px; margin: 0 0 6px;
  color: var(--navy-800); font-weight: 600;
}
.chart-sub {
  font-size: 13.5px; color: var(--ink-muted); margin: 0 0 18px; line-height: 1.5;
}
.chart-controls {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 13px; color: var(--ink-soft);
}
.chart-controls select {
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--border-strong); background: var(--surface-2);
  font-family: var(--font-data); font-size: 13.5px; color: var(--ink);
  cursor: pointer;
}
.chart-wrap { position: relative; height: 320px; }
.chart-tall { height: 460px; }

@media (max-width: 880px) {
  .dashboard { grid-template-columns: 1fr; }
}

/* ---------- HEATMAP ---------- */
.heatmap {
  display: grid;
  grid-template-columns: 180px repeat(6, 1fr);
  gap: 2px;
  font-family: var(--font-data); font-size: 12px;
  margin-top: 6px;
}
.heatmap .hcell {
  padding: 10px 8px; text-align: center;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  min-height: 38px;
}
.heatmap .hhead {
  font-weight: 600; color: var(--ink-soft);
  background: transparent;
  font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase;
}
.heatmap .hrow {
  text-align: left; justify-content: flex-start;
  padding-left: 4px; font-weight: 500; color: var(--ink-soft);
  background: transparent;
}
.heatmap .hval { color: var(--navy-900); font-weight: 600; }

/* ---------- VOICES ---------- */
.voice-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px; margin-top: 36px;
}
.voice {
  margin: 0; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  transition: all 0.2s;
}
.voice::before {
  content: '\201C';
  position: absolute; top: 6px; left: 18px;
  font-family: var(--font-display); font-size: 56px; color: var(--teal-200);
  line-height: 1;
}
.voice-positive { border-left: 3px solid var(--teal-500); }
.voice-growth   { border-left: 3px solid var(--earth-clay); }
.voice:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.voice p {
  font-family: var(--font-editorial); font-size: 19px; line-height: 1.55;
  color: var(--ink); margin: 8px 0 14px; font-style: italic;
}
.voice cite {
  font-style: normal; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 600;
}

.convergence {
  margin-top: 56px; padding: 32px;
  background: var(--navy-800); color: #f3ece0;
  border-radius: var(--radius-lg);
}
.convergence h3 {
  font-family: var(--font-display); font-size: 22px; margin: 0 0 14px;
  color: #f3ece0; font-weight: 600;
}
.convergence p { margin: 0; font-size: 16.5px; line-height: 1.65; color: #d8d3c6; }

/* ---------- DOWNLOADS ---------- */
.dl-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px; margin-top: 36px;
}
.dl-card {
  display: block; padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: all 0.2s;
}
.dl-card:hover { border-color: var(--teal-400); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.dl-icon {
  display: inline-block; padding: 6px 12px;
  background: var(--teal-100); color: var(--teal-600);
  border-radius: 999px;
  font-family: var(--font-data); font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.dl-card h3 {
  font-family: var(--font-display); font-size: 19px; margin: 0 0 8px;
  color: var(--navy-800); font-weight: 600;
}
.dl-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

/* ---------- CITATION ---------- */
.cite-card {
  position: relative;
  padding: 28px 32px; padding-right: 90px;
  background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-top: 24px;
}
.cite-card p {
  margin: 0; font-family: var(--font-editorial);
  font-size: 17px; line-height: 1.65; color: var(--ink);
}
.cite-card a { color: var(--teal-600); }
.copy-btn {
  position: absolute; top: 18px; right: 18px;
  padding: 8px 14px; border-radius: 8px;
  background: var(--teal-100); color: var(--teal-700);
  border: 1px solid var(--teal-200);
  font-family: var(--font-sans); font-weight: 600; font-size: 12px; letter-spacing: 0.08em;
  cursor: pointer; transition: all 0.15s;
}
.copy-btn:hover { background: var(--teal-200); }

.cite-meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-top: 24px;
}
.cite-meta > div { display: flex; flex-direction: column; gap: 4px; }
.cite-meta a.meta-value { color: var(--teal-600); }

.license-note {
  margin-top: 28px; font-size: 14px; line-height: 1.6;
  color: var(--ink-muted);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-900); color: #d8d3c6;
  padding: 56px 32px 36px;
}
[data-theme="dark"] .footer { background: #050b18; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 22px; align-items: flex-start;
}
.footer-brand .brand-title { color: #f3ece0; font-size: 20px; }
.footer-brand .brand-sub { color: #8a91a3; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #c4bfb1; font-size: 14px; }
.footer-links a:hover { color: var(--teal-400); }
.footer-meta { font-size: 12.5px; color: #8a91a3; margin: 0; line-height: 1.6; }
.footer-meta a { color: var(--teal-400); }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 80px 24px 64px; }
  .container { padding: 0 22px; }
  .topbar-inner { padding: 14px 22px; }
}
