/* ============================================================
   TOTEM Ltd. — Design System
   Version 1.0 | May 2026
   Colors: Navy #1D3461 | Steel #4478A8 | Orange #E8712A
   Fonts: Merriweather (headings) | Lato (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Lato:wght@300;400;700;900&display=swap');

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

:root {
  --navy:       #1D3461;
  --navy-dark:  #111929;
  --navy-mid:   #243d73;
  --steel:      #4478A8;
  --steel-light:#6B9BC4;
  --orange:     #E8712A;
  --orange-dark:#C55E20;
  --lgray:      #F4F6F9;
  --mgray:      #E8ECF1;
  --dgray:      #8A94A6;
  --body:       #2C2C2C;
  --white:      #FFFFFF;

  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans:  'Lato', Arial, sans-serif;

  --section-pad: 96px;
  --container:   1160px;
  --radius:      8px;
  --transition:  0.2s ease;
}

html { font-size: 20px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; color: var(--navy); font-weight: 700; }

h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 18px; font-family: var(--font-sans); font-weight: 700; }

p { font-size: 16px; line-height: 1.75; color: #444; }
p.large { font-size: 18px; line-height: 1.7; }
p.small { font-size: 16px; line-height: 1.75; }

.label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 8px;
}
.label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.label.light { color: rgba(255,255,255,0.6); }
.label.light::before { background: var(--orange); }

/* ── Layout ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.container.narrow { max-width: 800px; }
.container.wide { max-width: 1320px; }

section { padding: var(--section-pad) 0; }
section.tight { padding: 64px 0; }
section.flush { padding: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,113,42,0.3); }

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  transition: gap var(--transition);
}
.btn-text:hover { gap: 10px; }
.btn-text::after { content: '→'; }

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mgray);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(29,52,97,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo svg { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
}
/* Logo image (v14): inherit nav-logo dimensions */
.nav-logo img { height: 38px; width: auto; display: block; }
.site-nav.scrolled .nav-logo img { height: 32px; }


.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--navy); background: var(--lgray); }
.nav-link .chevron { font-size: 10px; transition: transform var(--transition); }
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--mgray);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(29,52,97,0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  transform: translateX(-50%) translateY(8px);
  min-width: 680px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}
.nav-item:hover .mega-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-col-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dgray);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mgray);
}

.mega-link {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  margin-bottom: 2px;
  transition: background var(--transition);
}
.mega-link:hover { background: var(--lgray); }
.mega-link-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.mega-link-desc {
  font-size: 12px;
  color: var(--dgray);
  line-height: 1.4;
}

.mega-featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mega-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lgray);
  border: 1px solid var(--mgray);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.mega-card:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(29,52,97,0.10); }
.mega-card-img {
  height: 90px;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.mega-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.mega-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mega-card-body { padding: 10px 12px; }
.mega-card-title { font-size: 12px; font-weight: 700; color: var(--navy); }
.mega-card-tag { font-size: 10px; color: var(--dgray); margin-top: 2px; }

.nav-cta { margin-left: 16px; }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px 24px 48px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  border-radius: var(--radius);
  border-bottom: 1px solid var(--mgray);
}
.mobile-nav-section { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dgray); padding: 20px 16px 8px; }
.mobile-nav-sublink {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  border-radius: var(--radius);
}
.mobile-nav-cta { margin-top: 24px; }

/* Page offset for fixed nav */
.page-offset { padding-top: 68px; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.hero-video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a2e5a 0%, #2d5280 50%, #1a3461 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29,52,97,0.95) 45%, rgba(29,52,97,0.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 40px;
  max-width: 720px;
  margin: 0;
  padding: 80px 40px 80px 80px;
}
.hero h1 { color: var(--white); margin: 20px 0 24px; }
.hero .hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 16px;
}
.hero .hero-body {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero short variant */
.hero-short {
  min-height: 40vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  padding: 80px 0 64px;
}
.hero-short .container { max-width: var(--container); }
.hero-short h1 { color: var(--white); margin: 16px 0 16px; }
.hero-short p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 600px; }

/* ── Stats Bar ── */
.stats-bar { background: var(--white); border-top: 1px solid var(--mgray); border-bottom: 1px solid var(--mgray); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--mgray);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: var(--dgray); font-weight: 600; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--mgray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(29,52,97,0.1); }

.card-header {
  background: var(--navy);
  padding: 28px;
}
.card-header.steel { background: var(--steel); }
.card-header.labs { background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); }

.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.card-title { font-family: var(--font-serif); font-size: 20px; color: var(--white); line-height: 1.3; margin-bottom: 6px; }
.card-partner { font-size: 12px; color: rgba(255,255,255,0.5); }
.card-body { padding: 24px 28px; }
.card-body p { font-size: 14px; line-height: 1.65; color: #555; margin-bottom: 20px; }

.card-stat { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.card-stat-num { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--navy); }
.card-stat-label { font-size: 12px; color: var(--dgray); }

/* Pillar cards */
.pillar-card {
  background: var(--white);
  border: 1px solid var(--mgray);
  border-radius: var(--radius);
  padding: 32px;
  border-top: 3px solid var(--steel);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(29,52,97,0.08); }
.pillar-icon { font-size: 28px; margin-bottom: 16px; }
.pillar-card h4 { color: var(--navy); margin-bottom: 10px; font-size: 16px; }
.pillar-card p { font-size: 14px; color: #555; line-height: 1.65; }

/* Initiative flagship card */
.flagship {
  background: var(--lgray);
  border-radius: var(--radius);
  padding: 48px;
  border-left: 6px solid var(--navy);
  margin-bottom: 48px;
}
.flagship-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.flagship h2 { margin-bottom: 8px; }
.flagship-partner { font-size: 13px; color: var(--dgray); margin-bottom: 20px; font-weight: 600; }
.flagship p { font-size: 16px; margin-bottom: 24px; max-width: 680px; }

.flagship-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--mgray);
}
.flagship-metric-num { font-family: var(--font-serif); font-size: 36px; font-weight: 700; color: var(--navy); }
.flagship-metric-label { font-size: 13px; color: var(--dgray); margin-top: 4px; }

/* Service tier cards */
.service-tier {
  background: var(--white);
  border: 1px solid var(--mgray);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.service-tier.featured {
  border-color: var(--navy);
  border-width: 2px;
}
.service-tier-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
}
.service-tier h3 { margin-bottom: 12px; }
.service-tier .tier-desc { font-size: 15px; margin-bottom: 24px; color: #444; }
.tier-includes { margin-top: 24px; }
.tier-includes-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dgray); margin-bottom: 12px; }
.tier-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #444;
}
.tier-item::before { content: '→'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Partner logos */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.partner-badge {
  background: var(--white);
  border: 1px solid var(--mgray);
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #777;
  transition: border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.partner-badge:hover { border-color: var(--steel); color: var(--navy); }

/* Person cards */
.person-card { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid var(--mgray); }
.person-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.person-photo { width: 200px; height: 200px; border-radius: var(--radius); background: var(--lgray); overflow: hidden; flex-shrink: 0; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--steel)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.3); font-size: 48px; font-family: var(--font-serif); font-weight: 700; }
.person-name { font-size: 22px; margin-bottom: 4px; }
.person-title { font-size: 14px; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
.person-subtitle { font-size: 13px; color: var(--dgray); margin-bottom: 20px; }
.person-bio { font-size: 15px; line-height: 1.75; color: #444; margin-bottom: 16px; }
.person-links { display: flex; gap: 12px; }
.person-link { font-size: 13px; font-weight: 700; color: var(--steel); border-bottom: 1px solid var(--mgray); padding-bottom: 2px; transition: color var(--transition); }
.person-link:hover { color: var(--navy); border-color: var(--navy); }

/* Totem Labs section */
.labs-section {
  background: var(--navy-dark);
  padding: var(--section-pad) 0;
}
.labs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.labs-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.labs-section h2 { color: var(--white); margin-bottom: 16px; }
.labs-section p { color: rgba(255,255,255,0.7); margin-bottom: 16px; font-size: 16px; }
.labs-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 8px;
}
.labs-panel-item {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
  border-radius: 6px;
}
.labs-panel-item:last-child { border-bottom: none; }
.labs-panel-item:hover { background: rgba(255,255,255,0.06); }
.labs-panel-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.labs-panel-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }

/* Belief statements */
.belief-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--mgray);
  max-width: 680px;
}
.belief-item:last-child { border-bottom: none; }
.belief-item p { font-size: 17px; line-height: 1.7; color: var(--body); }

/* CTA sections */
.cta-section {
  background: var(--navy);
  color: white;
  padding: 100px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 17px; max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Contact section */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; }
.contact-detail-icon { font-size: 18px; margin-top: 2px; flex-shrink: 0; color: var(--orange); }
.contact-detail-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dgray); margin-bottom: 4px; }
.contact-detail-value { font-size: 15px; color: var(--body); font-weight: 600; }
.contact-detail-value a { color: var(--body); }
.contact-detail-value a:hover { color: var(--navy); }

.discovery-box {
  background: var(--lgray);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
}
.discovery-box h3 { margin-bottom: 16px; }
.discovery-step { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.discovery-step-num {
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.discovery-step-text strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.discovery-step-text span { font-size: 13px; color: #666; }

/* Insights/Blog */
.insight-card {
  background: var(--white);
  border: 1px solid var(--mgray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(29,52,97,0.1); }
.insight-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--steel));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.insight-card-body { padding: 24px; }
.insight-card-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.insight-card-title { font-family: var(--font-serif); font-size: 18px; color: var(--navy); line-height: 1.3; margin-bottom: 12px; }
.insight-card-excerpt { font-size: 14px; color: #555; line-height: 1.65; margin-bottom: 16px; }
.insight-card-meta { font-size: 12px; color: var(--dgray); }

/* COSSAF section */
.cossaf-section { background: var(--navy); padding: 64px 0; }
.cossaf-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: center; }
.cossaf-section h3 { color: var(--white); margin-bottom: 16px; }
.cossaf-section p { color: rgba(255,255,255,0.7); font-size: 15px; }
.cossaf-items { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.cossaf-item { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 20px; }
.cossaf-item h4 { color: var(--white); font-size: 14px; margin-bottom: 8px; }
.cossaf-item p { font-size: 13px; color: rgba(255,255,255,0.55); }

/* Testimonial */
.testimonial-section { background: var(--lgray); padding: var(--section-pad) 0; }
.testimonial-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial-quote { font-family: var(--font-serif); font-size: clamp(20px, 2.5vw, 28px); color: var(--navy); line-height: 1.5; font-style: italic; margin: 24px 0; }
.testimonial-mark { font-size: 64px; color: var(--steel); line-height: 1; font-family: var(--font-serif); opacity: 0.4; }
.testimonial-attr { font-size: 14px; font-weight: 700; color: var(--dgray); }
.testimonial-placeholder { opacity: 0.5; }

/* ── Footer ── */
.site-footer { background: var(--navy-dark); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-bottom: 20px; }
.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--white); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
}
.footer-legal-text {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 900px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal-link { font-size: 12px; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-legal-link:hover { color: rgba(255,255,255,0.6); }
.footer-logo-text { font-family: var(--font-sans); font-size: 20px; font-weight: 900; color: var(--white); letter-spacing: -0.03em; }

/* Social links */
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  transition: all var(--transition);
}
.social-link:hover { border-color: var(--steel); color: var(--white); background: rgba(68,120,168,0.2); }

/* ── Utility ── */
.bg-lgray { background: var(--lgray); }
.bg-navy { background: var(--navy); }
.bg-white { background: var(--white); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-steel { color: var(--steel); }
.text-center { text-align: center; }

.section-intro { max-width: 640px; margin-bottom: 56px; }
.section-intro.centered { margin: 0 auto 56px; text-align: center; }
.section-intro h2 { margin: 12px 0 16px; }
.section-intro p { font-size: 17px; }

.divider { height: 1px; background: var(--mgray); margin: 0; }

/* IP note (for agent-powered pillar) */
.ip-note { font-size: 11px; color: var(--dgray); font-style: italic; margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .grid-2 { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .labs-inner { gap: 48px; }
  .contact-grid { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .container { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid var(--mgray); }
  .hero-content { padding: 64px 24px; }
  .person-card { grid-template-columns: 1fr; }
  .person-photo { width: 120px; height: 120px; }
  .labs-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .flagship-metrics { grid-template-columns: 1fr; gap: 16px; }
  .flagship { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cossaf-inner { grid-template-columns: 1fr; gap: 32px; }
  .cossaf-items { grid-template-columns: 1fr; }
  .mega-menu { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; }
.animate.visible { animation: fadeUp 0.5s ease forwards; }

@media (prefers-reduced-motion: reduce) {
  .animate { opacity: 1; animation: none; }
  * { transition: none !important; }
}

/* ── SVG Icon System ── */
.pillar-icon svg {
  color: var(--steel);
  stroke: var(--steel);
  width: 28px;
  height: 28px;
}

.pillar-icon {
  color: var(--steel);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

/* btn-text arrow using SVG */
.btn-text::after { content: none; }
.btn-text .btn-arrow {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.btn-text:hover .btn-arrow { transform: translateX(4px); }

/* Discovery step icons */
.discovery-step-icon {
  color: var(--orange);
  stroke: var(--orange);
  flex-shrink: 0;
}

/* Contact detail icons */
.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--orange);
}

/* Hamburger menu SVG */
.nav-hamburger svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

/* v14 — Totem Labs accordion (homepage labs panel) */
.labs-panel-accordion .labs-panel-item { display: block; padding: 0; border: 1px solid rgba(255,255,255,0.10); border-radius: 6px; margin-bottom: 12px; transition: background 160ms ease, border-color 160ms ease; background: rgba(255,255,255,0.03); }
.labs-panel-accordion .labs-panel-item:hover { background: rgba(255,255,255,0.06); border-color: rgba(232,113,42,0.45); }
.labs-panel-accordion .labs-panel-item[open] { background: rgba(255,255,255,0.06); border-color: var(--orange); }
.labs-panel-accordion .labs-panel-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px; }
.labs-panel-accordion .labs-panel-item summary::-webkit-details-marker { display: none; }
.labs-panel-accordion .labs-panel-title { color: white; font-size: 16px; font-weight: 700; letter-spacing: 0.01em; margin-bottom: 4px; }
.labs-panel-accordion .labs-panel-desc { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.55; }
.labs-panel-accordion .labs-panel-toggle { color: var(--orange); font-size: 22px; font-weight: 300; line-height: 1; align-self: center; transition: transform 200ms ease; user-select: none; }
.labs-panel-accordion .labs-panel-item[open] .labs-panel-toggle { transform: rotate(45deg); }
.labs-panel-accordion .labs-panel-more { padding: 0 22px 20px; }
.labs-panel-accordion .labs-panel-more p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.7; margin: 0; }

/* v14 — Testimonials grid (3 in a row desktop, stacks on mobile, sliding on tablet) */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.testimonial-card { background: white; border: 1px solid var(--mgray); border-radius: 8px; padding: 32px 28px 28px; position: relative; transition: transform 200ms ease, box-shadow 200ms ease; }
.testimonial-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(29,52,97,0.08); }
.testimonial-card .testimonial-mark { font-family: var(--font-serif); font-size: 56px; line-height: 1; color: var(--orange); margin-bottom: 8px; }
.testimonial-card .testimonial-quote { font-family: var(--font-serif); font-size: 17px; line-height: 1.6; color: var(--navy); margin: 0 0 18px; font-style: italic; }
.testimonial-card .testimonial-attr { font-size: 13px; color: var(--dgray); letter-spacing: 0.04em; font-weight: 600; }
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* v14 — Service tier soft-featured badges (capsules over Fractional + Facilitation) */
.service-tier.featured-soft { position: relative; border-color: var(--orange); }
.service-tier-badge-soft { background: var(--orange); color: white; padding: 6px 14px; border-radius: 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; position: absolute; top: -12px; left: 24px; }

/* v14 — Equal-width tier CTAs */
.tier-cta-wrap { width: 100%; }
.tier-cta { display: block; width: 100%; text-align: center; box-sizing: border-box; }
.service-tier { display: flex; flex-direction: column; }
.service-tier .tier-cta-wrap { margin-top: auto; padding-top: 24px; }

/* v14 — Cookie consent banner */
.totem-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; background: var(--navy); color: white; border-radius: 8px; box-shadow: 0 16px 48px rgba(0,0,0,0.25); padding: 20px 24px; animation: tcSlideUp 280ms ease-out; }
@keyframes tcSlideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.totem-consent-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.totem-consent-text { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.88); }
.totem-consent-title { color: white; }
.totem-consent-text a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.totem-consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.totem-consent-btn { font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; padding: 10px 18px; border-radius: 4px; border: 1px solid; cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.totem-consent-btn--primary { background: var(--orange); border-color: var(--orange); color: white; }
.totem-consent-btn--primary:hover { background: #d05f1c; border-color: #d05f1c; }
.totem-consent-btn--ghost { background: transparent; border-color: rgba(255,255,255,0.32); color: rgba(255,255,255,0.85); }
.totem-consent-btn--ghost:hover { border-color: white; color: white; }
@media (max-width: 720px) {
  .totem-consent { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .totem-consent-inner { grid-template-columns: 1fr; gap: 16px; }
  .totem-consent-actions { width: 100%; }
  .totem-consent-btn { flex: 1; padding: 12px 14px; }
}

/* v14 — Related perspectives row under initiative cards */
.card-related { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--mgray); display: flex; flex-direction: column; gap: 8px; }
.card-related-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dgray); margin-bottom: 4px; }
.card-related-link { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; color: var(--navy); text-decoration: none; font-size: 13px; line-height: 1.45; transition: color 160ms ease; }
.card-related-link:hover { color: var(--orange); }
.card-related-icon { color: var(--orange); flex-shrink: 0; font-size: 14px; line-height: 1.4; }
.card-related-title { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* v15 — Service tier badge color variants */
.service-tier-badge--navy { background: var(--navy) !important; color: white; }
.service-tier-badge--gray { background: var(--steel) !important; color: white; }
