/* ============================================================
   RONNIE MAULDIN — DESIGN SYSTEM v11
   Palette extracted from the control room hero banner.
   Anchor: deep slate.  Accent: warm amber/gold.
   Font: Aptos (Microsoft default) → Lato (Google fallback)
         → Segoe UI / system.
   ============================================================ */

:root {
  /* ---- Color tokens (pulled from control room photo) ---- */
  --bg:           #fafaf7;   /* warm white surface */
  --bg-soft:      #f3f0e9;   /* sand panel */
  --bg-deep:      #131b22;   /* dominant control-room dark */
  --bg-deep-2:    #1f2933;   /* slightly lifted slate */

  --surface:      #ffffff;
  --surface-soft: #f7f4ec;

  --text:         #1f2933;   /* deep charcoal-slate */
  --text-soft:    #3d4753;
  --muted:        #6b7480;

  --line:         #e3ddd0;   /* warm hairline */
  --line-strong:  #c9c0ad;

  --brand:        #1f2933;   /* deep slate — primary brand anchor */
  --brand-2:      #2c3a48;   /* lifted slate for links */
  --accent:       #c9954a;   /* amber/gold — pulled from screens */
  --accent-2:     #b07d33;   /* deeper amber for hover */
  --accent-soft:  #f1e3c9;   /* soft amber tint */

  --shadow:    0 14px 32px rgba(19, 27, 34, 0.10);
  --shadow-lg: 0 28px 60px rgba(19, 27, 34, 0.16);

  --radius:    12px;
  --radius-lg: 20px;

  /* ---- Typography ---- */
  --font: "Aptos", "Lato", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand-2);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--accent); }

img { max-width: 100%; display: block; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 250, 247, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.005em;
}
.brand span { color: var(--brand); }

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
nav a {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
}
nav a.active, nav a:hover { color: var(--brand); }

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 9px 14px;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 149, 74, 0.08), transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(31, 41, 51, 0.06), transparent 42%);
}

.hero-banner-wrap {
  margin: 0 auto 36px;
  max-width: 720px;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(19, 27, 34, 0.10);
}

.hero-copy-panel {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 22px;
}

.hero-subheadline {
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 22px;
  line-height: 1.35;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  max-width: 760px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 32px;
}

.hero-badge {
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(19, 27, 34, 0.04);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  transition: all .18s ease;
  min-height: 44px;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--brand);
}
.btn-secondary:hover {
  color: var(--accent-2);
  border-color: var(--accent);
}

.btn-large { padding: 16px 28px; font-size: 1rem; }

/* ============================================================
   SECTIONS — shared
   ============================================================ */

.section    { padding: 72px 0; }
.section-lg { padding: 96px 0; }

.section-header { margin-bottom: 36px; max-width: 820px; }
.section-header.centered { margin-left: auto; margin-right: auto; text-align: center; }

.section-header h1, .section-header h2 {
  font-weight: 800;
  letter-spacing: -0.018em;
  margin: 8px 0 14px;
  line-height: 1.12;
  color: var(--text);
}

.section-header h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
.section-header h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }

.section-header p, .muted {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ============================================================
   THE FOUR CHAIRS — the conceptual centerpiece
   ============================================================ */

.section-chairs {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chairs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.chair {
  padding: 32px 26px;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.chair:last-child { border-right: none; }

.chair-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.chair-role {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 6px;
}

.chair-where {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1.4;
}

.chair p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 18px;
  flex-grow: 1;
}

.chair-captured {
  font-size: 0.88rem;
  color: var(--text);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  line-height: 1.5;
}
.chair-captured em {
  color: var(--accent-2);
  font-style: normal;
  font-weight: 800;
}

.chair-current {
  background: linear-gradient(180deg, #fff, var(--accent-soft));
  border-top: 3px solid var(--accent);
  margin-top: -2px;
}

.chairs-tagline {
  margin-top: 36px;
  text-align: center;
  font-size: clamp(1.1rem, 1.9vw, 1.4rem);
  color: var(--brand);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.005em;
  line-height: 1.45;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   SOLUTIONS GRID
   ============================================================ */

.section-solutions { background: var(--bg); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.solution-tag {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.solution-card h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.018em;
  margin: 0 0 14px;
  line-height: 1.15;
}

.solution-lede {
  font-size: 1rem;
  color: var(--text-soft);
  margin: 0 0 16px;
  line-height: 1.6;
}

.solution-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex-grow: 1;
}
.solution-bullets li {
  font-size: 0.94rem;
  color: var(--text);
  padding: 9px 0 9px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.solution-bullets li:last-child { border-bottom: none; }
.solution-bullets li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.4;
}

.solution-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: inline-block;
}
.solution-link:hover { color: var(--accent-2); }

/* ============================================================
   FOOTPRINT STATS
   ============================================================ */

.section-footprint {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footprint-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.stat-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.footprint-cta { text-align: center; margin-top: 36px; }

/* ============================================================
   WHY NOW (dark panel — uses the deep slate from the photo)
   ============================================================ */

.section-whynow {
  background: var(--bg-deep);
  color: #ece6d8;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-whynow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(201, 149, 74, 0.10), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 149, 74, 0.06), transparent 40%);
  pointer-events: none;
}

.section-whynow .container { position: relative; }

.section-whynow .kicker { color: var(--accent); }

.whynow-panel { max-width: 1000px; margin: 0 auto; text-align: center; }

.section-whynow h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 12px 0 40px;
  line-height: 1.12;
}

.whynow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 40px 0;
  text-align: left;
}

.whynow-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 149, 74, 0.20);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(4px);
}

.whynow-num {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.whynow-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.whynow-item p {
  font-size: 0.94rem;
  color: #c9c0ad;
  line-height: 1.55;
  margin: 0;
}

.whynow-close {
  font-size: 1.15rem;
  font-style: italic;
  color: #ece6d8;
  max-width: 760px;
  margin: 36px auto 0;
  line-height: 1.5;
  font-weight: 600;
}

/* ============================================================
   CLOSING CTA
   ============================================================ */

.section-close { background: var(--bg); padding: 96px 0 80px; }

.close-panel {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.close-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
}

.close-panel h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  line-height: 1.15;
}

.close-panel p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 28px;
}

.close-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--bg-deep);
  color: #c9c0ad;
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.footer-brand span { color: var(--accent); }

.footer-tag { font-size: 0.9rem; color: #8a8270; }

.footer-right {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-right a {
  color: #c9c0ad;
  font-weight: 600;
  font-size: 0.92rem;
}
.footer-right a:hover { color: var(--accent); }

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(201, 149, 74, 0.15);
  padding-top: 22px;
  margin-top: 22px;
  font-size: 0.84rem;
  color: #8a8270;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.animated-fade { animation: fadeUp .8s ease both; }
.animated-fade.delay-1 { animation-delay: .08s; }
.animated-fade.delay-2 { animation-delay: .16s; }
.animated-fade.delay-3 { animation-delay: .24s; }
.animated-fade.delay-4 { animation-delay: .32s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   LEGACY COMPONENTS — kept so existing pages still render
   while we migrate them one at a time.
   ============================================================ */

.page-hero {
  padding: 64px 0 32px;
  background: linear-gradient(180deg, var(--surface-soft), transparent);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 8px 0 14px;
}
.page-hero .lead { max-width: 820px; }

.card, .case-card, .contact-card, .resume-card, .timeline-card, .client-card, .post-card, .engagement-item, .stat, .logo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card h2, .card h3, .case-card h3, .post-card h3, .engagement-item h3 {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 0;
}

.grid    { display: grid; gap: 20px; }
.grid-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.timeline { position: relative; display: grid; gap: 18px; }
.timeline:before {
  content: ""; position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px; background: var(--line-strong);
}
.timeline-item, .timeline-card {
  position: relative;
  margin-left: 34px;
  padding: 22px 24px;
}
.timeline-item:before, .timeline-card:before {
  content: ""; position: absolute; left: -26px; top: 28px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 6px var(--surface-soft);
}

.meta, .case-meta {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tag {
  background: var(--surface-soft);
  color: var(--brand);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid var(--line);
}

.list-clean { margin: 0; padding-left: 18px; }
.list-clean li { margin-bottom: 8px; }

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.highlight {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.highlight strong {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.highlight span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.logo-card { padding: 20px; text-align: center; }
.logo-wrap {
  width: 88px; height: 88px; margin: 0 auto 14px;
  border-radius: var(--radius);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
}
.logo-wrap img { width: 56px; height: 56px; object-fit: contain; }
.logo-card h3 { margin: 8px 0 0; font-size: 0.98rem; line-height: 1.3; }

.engagement-group { margin-bottom: 28px; }
.engagement-list  { display: grid; gap: 16px; }
.engagement-item-link, .logo-card-link, .case-list a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.engagement-item-link:hover .engagement-item,
.logo-card-link:hover .logo-card,
.case-list a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.case-list { display: grid; gap: 12px; }
.case-list a {
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--brand);
}
.case-list a span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  font-size: 0.92rem;
}

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.search-bar {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font);
  font-size: 1rem;
}

.section-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.feature-list { display: grid; gap: 14px; }
.feature-list .card { padding: 22px; }

.snapshot-note {
  margin-top: 18px;
  padding: 26px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  margin-top: 12px;
  color: var(--brand);
}

.inline-note { color: var(--muted); font-size: 0.95rem; }

.speaking-grid, .insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resume-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* ============================================================
   ABOUT PAGE — editorial chapters layout
   ============================================================ */

.about-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(circle at 20% 15%, rgba(201, 149, 74, 0.07), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(31, 41, 51, 0.05), transparent 45%);
  border-bottom: 1px solid var(--line);
}

.about-hero-inner {
  max-width: 920px;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--text);
  margin: 0 0 28px;
}

.about-hero .lead {
  font-size: 1.1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-hero .lead-emphasis {
  margin-top: 22px;
  color: var(--text);
  font-size: 1.12rem;
}

.about-hero .lead-emphasis strong {
  color: var(--brand);
  font-weight: 800;
}

/* Chapters */

.chapter {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.chapter:nth-child(odd of .chapter) {
  background: var(--surface);
}

.chapter:nth-child(even of .chapter) {
  background: var(--surface-soft);
}

/* Fallback for older browsers without :nth-child(of) — alternate by class */
.chapter-left  { background: var(--surface); }
.chapter-right { background: var(--surface-soft); }

.chapter-current {
  background: linear-gradient(180deg, var(--surface) 0%, var(--accent-soft) 100%) !important;
  border-bottom: none;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.chapter-right .chapter-grid {
  grid-template-columns: 1fr 220px;
}

.chapter-right .chapter-num-col {
  order: 2;
  text-align: right;
}

.chapter-right .chapter-body {
  order: 1;
}

.chapter-num-col {
  position: sticky;
  top: 100px;
}

.chapter-num {
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  opacity: 0.85;
}

.chapter-marker {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  border-top: 2px solid var(--brand);
  padding-top: 12px;
  display: inline-block;
}

.chapter-right .chapter-marker {
  border-top: 2px solid var(--accent);
  color: var(--accent-2);
}

.chapter-body {
  max-width: 760px;
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.chapter-company {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
}

.chapter-divider {
  color: var(--muted);
  opacity: 0.5;
}

.chapter-dates {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.chapter-current-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin-left: auto;
}

.chapter-title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.18;
  color: var(--text);
  margin: 0 0 22px;
}

.chapter-body p {
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 18px;
}

.chapter-body p strong {
  color: var(--text);
  font-weight: 800;
}

.chapter-callout {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}

.chapter-right .chapter-callout {
  background: #fff;
}

.callout-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}

.chapter-callout p {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}

.chapter-captured {
  background: var(--bg-deep);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-top: 28px;
  color: #ece6d8;
  position: relative;
}

.chapter-captured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--accent);
  border-radius: var(--radius) var(--radius) 0 0;
}

.captured-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.chapter-captured p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: #ece6d8;
}

.chapter-captured p strong {
  color: #fff;
  font-weight: 800;
}

/* Tagline section */

.section-tagline {
  background: var(--bg-deep);
  color: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-tagline::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 149, 74, 0.10), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(201, 149, 74, 0.06), transparent 50%);
  pointer-events: none;
}

.tagline-panel {
  max-width: 900px;
  position: relative;
}

.tagline-text {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 18px;
}

.tagline-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--accent);
  font-weight: 700;
  font-style: italic;
  margin: 0;
}

/* Where this background creates the most value */

.section-value {
  background: var(--bg);
  padding: 96px 0;
}

.section-value .section-header {
  margin: 0 auto 48px;
  text-align: center;
  max-width: 880px;
}

.section-value .section-header.centered,
.section-value .section-header { margin-left: auto; margin-right: auto; text-align: center; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 48px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.012em;
  line-height: 1.3;
  margin: 0 0 14px;
}

.value-card p {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.value-why-now {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 920px;
  margin: 36px auto 0;
  text-align: center;
  padding: 28px 32px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent);
}

/* About page closing */

.section-close .close-oneliner {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto 28px;
}

/* ============================================================
   SOLUTIONS HUB & DETAIL PAGES
   ============================================================ */

.solutions-hero {
  text-align: center;
}

.solutions-hero h1 { max-width: 900px; margin-left: auto; margin-right: auto; }
.solutions-hero .lead {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.section-solutions-hub {
  background: var(--bg);
  padding: 80px 0 96px;
}

.hub-solution {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hub-solution:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.hub-solution-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
}

.hub-solution-num {
  background: var(--bg-deep);
  color: var(--accent);
  font-size: clamp(5rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.hub-solution-num::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 149, 74, 0.10), transparent 50%);
  pointer-events: none;
}

.hub-solution-body {
  padding: 36px 40px;
}

.hub-solution-body .solution-tag {
  margin-bottom: 12px;
}

.hub-solution-body h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  line-height: 1.15;
}

.hub-solution-tagline {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--accent-2);
  font-style: italic;
  margin: 0 0 16px;
}

.hub-solution-body > p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 20px;
}

.hub-solution-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.hub-solution-points li {
  font-size: 0.96rem;
  color: var(--text);
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.hub-solution-points li:last-child { border-bottom: none; }

.hub-solution-points li::before {
  content: "›";
  position: absolute;
  left: 4px;
  top: 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
}

.hub-solution-points li strong {
  color: var(--brand);
  font-weight: 800;
}

/* Solution detail pages */

.solution-hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 149, 74, 0.07), transparent 42%),
    radial-gradient(circle at 82% 28%, rgba(31, 41, 51, 0.05), transparent 42%);
  border-bottom: 1px solid var(--line);
}

.solution-hero .container { max-width: 920px; }

.solution-hero .back-link {
  font-size: 0.92rem;
  margin-bottom: 24px;
  color: var(--brand-2);
}

.solution-hero .solution-tag {
  margin-bottom: 14px;
}

.solution-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 18px;
}

.solution-hero-tagline {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  font-style: italic;
  color: var(--accent-2);
  margin: 0 0 22px;
  line-height: 1.35;
}

.solution-hero .lead {
  font-size: 1.08rem;
  max-width: 820px;
  line-height: 1.7;
  margin: 0;
}

.solution-hero .lead strong {
  color: var(--brand);
  font-weight: 800;
}

/* Modules grid (GridVISION) */

.section-modules { background: var(--bg); padding: 80px 0; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.module-card-wide { grid-column: 1 / -1; }

.module-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.module-card h3 {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.module-sub {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent-2);
  margin: 0 0 14px;
}

.module-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-card ul li {
  font-size: 0.94rem;
  color: var(--text-soft);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.module-card ul li:last-child { border-bottom: none; }

.module-card ul li::before {
  content: "›";
  position: absolute;
  left: 4px;
  color: var(--accent);
  font-weight: 800;
}

/* "What I architected" numbered list */

.section-architected {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}

.architected-list {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}

.architected-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  box-shadow: var(--shadow);
}

.architected-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.architected-item p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}

.architected-item p strong {
  color: var(--brand);
  font-weight: 800;
}

/* Proof panels */

.section-proof { background: var(--bg); padding: 80px 0; }

.proof-panel {
  background: linear-gradient(135deg, var(--surface) 0%, var(--accent-soft) 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.proof-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
}

.proof-panel h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin: 12px 0 18px;
}

.proof-panel p {
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.proof-panel p strong {
  color: var(--brand);
  font-weight: 800;
}

/* Dark proof panel for "What this proves" */

.proof-panel-dark {
  background: var(--bg-deep);
  border-color: rgba(201, 149, 74, 0.25);
}

.proof-panel-dark h2 {
  color: #fff;
}

.proof-panel-dark p {
  color: #ece6d8;
}

.proof-panel-dark p strong {
  color: var(--accent);
}

/* Why it matters */

.section-whyitmatters {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}

.whyitmatters-body {
  max-width: 880px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.75;
  text-align: center;
}

.whyitmatters-body strong {
  color: var(--brand);
  font-weight: 800;
}

/* GREAT 8 grid (MC-LLI) */

.section-great8 { background: var(--bg); padding: 80px 0; }

.great8-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.great8-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.great8-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.great8-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}

.great8-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  line-height: 1.25;
}

.great8-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* Bundles grid (MC-LLI) */

.section-bundles { background: var(--surface-soft); padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.bundles-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.bundle-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  text-align: left;
}

.bundle-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent-2);
  letter-spacing: -0.012em;
  margin: 0 0 10px;
}

.bundle-card p {
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}

/* 16-domain grid (Suite 16) */

.section-domains { background: var(--bg); padding: 80px 0; }

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.domain-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.domain-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.domain-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1;
}

.domain-card h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.3;
}

/* Standards panel (Suite 16) */

.section-standards { background: var(--bg-deep); color: #ece6d8; padding: 96px 0; }

.standards-panel { max-width: 1100px; margin: 0 auto; }

.section-standards .kicker { color: var(--accent); }

.section-standards h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 12px 0 36px;
  line-height: 1.15;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.standards-col {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 149, 74, 0.25);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.standards-col h4 {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.standards-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.standards-col ul li {
  font-size: 0.94rem;
  color: #c9c0ad;
  padding: 6px 0;
  border-bottom: 1px solid rgba(201, 149, 74, 0.12);
}

.standards-col ul li:last-child { border-bottom: none; }

/* Lifecycle (Schneider) */

.section-lifecycle { background: var(--bg); padding: 80px 0; }

.lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.lifecycle-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.lifecycle-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: var(--radius) var(--radius) 0 0;
}

.lifecycle-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.lifecycle-stage h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.012em;
  margin: 0 0 10px;
  line-height: 1.25;
}

.lifecycle-stage p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0;
}

/* Outcomes (Schneider) */

.section-outcomes { background: var(--surface-soft); padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.outcomes-list { display: grid; gap: 18px; max-width: 920px; margin: 0 auto; }

.outcome-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow);
  align-items: start;
}

.outcome-marker {
  background: var(--accent);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.outcome-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  line-height: 1.3;
}

.outcome-body p {
  font-size: 0.96rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.section-whatitproves { background: var(--bg); padding: 80px 0; }

/* Other solutions (cross-link grid at bottom) */

.section-other-solutions { background: var(--surface-soft); padding: 80px 0; border-top: 1px solid var(--line); }

.other-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.other-solution-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.other-solution-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
  text-decoration: none;
}

.other-solution-card .solution-tag { margin-bottom: 12px; }

.other-solution-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.014em;
  margin: 0 0 10px;
  line-height: 1.2;
}

.other-solution-card p {
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.other-solution-card .solution-link {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
}

/* ============================================================
   ENGAGEMENTS PAGE
   ============================================================ */

.engagements-hero {
  text-align: center;
}
.engagements-hero h1 {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.engagements-hero .lead {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.engagements-stats-section {
  background: var(--bg);
  padding: 32px 0 56px;
}

.section-engagements-table {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}

.engagements-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.engagements-controls .search-bar {
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 12px 16px;
  font-size: 1rem;
  width: 100%;
}

.engagements-controls .search-bar:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.filter-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.filter-label select {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.filter-label select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

/* The table itself */

.engagements-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.engagements-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 880px;
}

.engagements-table thead th {
  background: var(--bg-deep);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  text-align: left;
  padding: 16px 18px;
  border-bottom: 2px solid var(--accent);
}

.engagements-table tbody tr {
  border-bottom: 1px solid var(--line);
  transition: background-color .15s ease;
}

.engagements-table tbody tr:hover {
  background: var(--surface-soft);
}

.engagements-table tbody tr:last-child {
  border-bottom: none;
}

.engagements-table td {
  padding: 16px 18px;
  vertical-align: top;
  line-height: 1.45;
}

.cell-utility strong {
  color: var(--brand);
  font-weight: 800;
  display: block;
  font-size: 0.98rem;
}

.cell-sub {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.cell-engagement {
  color: var(--text);
  font-weight: 600;
  max-width: 360px;
}

.cell-platform {
  font-size: 0.88rem;
  color: var(--accent-2);
  font-weight: 700;
  white-space: nowrap;
}

.cell-period {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.cell-role {
  font-size: 0.88rem;
  color: var(--text-soft);
  font-weight: 600;
  white-space: nowrap;
}

/* Country tags */

.country-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}

.country-usa      { background: #fef3e6; border-color: #f5d49a; color: #8a5a14; }
.country-canada   { background: #fae6e6; border-color: #f5a3a3; color: #7d1e1e; }
.country-australia { background: #e6f0fa; border-color: #a3c9e8; color: #1e3a7d; }
.country-uk       { background: #efe6f7; border-color: #c8a3e8; color: #4a1e7d; }

/* Employer pills */

.employer-pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.employer-wipro              { background: var(--accent); color: #fff; }
.employer-qualus             { background: #2c3a48; color: #fff; }
.employer-cognizant          { background: #4a5568; color: #fff; }
.employer-schneider-electric { background: #1f2933; color: var(--accent); }
.employer-austin-energy      { background: #d9d4ca; color: #1f2933; }

.engagements-table-note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Spotlights */

.section-spotlights {
  background: var(--bg);
  padding: 80px 0;
}

.spotlights-grid {
  display: grid;
  gap: 22px;
}

.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.spotlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.spotlight-num {
  background: var(--bg-deep);
  color: var(--accent);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
}

.spotlight-num::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201, 149, 74, 0.12), transparent 60%);
  pointer-events: none;
}

.spotlight-body {
  padding: 26px 30px;
}

.spotlight-body .solution-tag {
  margin-bottom: 8px;
}

.spotlight-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.014em;
  margin: 0 0 12px;
  line-height: 1.25;
}

.spotlight-lede {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 12px;
}

.spotlight-details {
  font-size: 0.94rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 14px;
}

.spotlight-era {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* ============================================================
   RESUME HUB PAGE
   ============================================================ */

.resume-hero { text-align: center; }
.resume-hero h1 { max-width: 880px; margin-left: auto; margin-right: auto; }
.resume-hero .lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-resume-options {
  background: var(--bg);
  padding: 80px 0;
}

.resume-options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.resume-option {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 100px 1fr;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.resume-option:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.resume-option-num {
  background: var(--bg-deep);
  color: var(--accent);
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  position: relative;
}

.resume-option-num::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201, 149, 74, 0.12), transparent 60%);
  pointer-events: none;
}

.resume-option-body {
  padding: 30px 32px;
}

.resume-option-body .solution-tag { margin-bottom: 10px; }

.resume-option-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.018em;
  margin: 0 0 8px;
  line-height: 1.15;
}

.resume-option-tagline {
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
  color: var(--accent-2);
  margin: 0 0 14px;
}

.resume-option-body > p {
  font-size: 0.96rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 16px;
}

.resume-option-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 0.92rem;
}

.resume-option-points li {
  padding: 7px 0;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

.resume-option-points li:last-child { border-bottom: none; }

.resume-option-points li strong {
  color: var(--brand);
  font-weight: 800;
  margin-right: 6px;
}

.resume-option-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.section-resume-context {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 64px 0;
}

.resume-context-panel {
  max-width: 880px;
  text-align: center;
}

.resume-context-panel h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.018em;
  margin: 12px 0 18px;
}

.resume-context-panel p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 auto 14px;
  max-width: 760px;
  text-align: left;
}

.resume-context-panel a {
  color: var(--accent-2);
  font-weight: 700;
  border-bottom: 1px solid var(--accent-soft);
}
.resume-context-panel a:hover { color: var(--brand); border-bottom-color: var(--accent); }

/* ============================================================
   INLINE EXECUTIVE RESUME PAGE (print-ready)
   ============================================================ */

.resume-page-controls {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.resume-page-controls .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.resume-page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.resume-page-actions .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  min-height: auto;
}

.resume-doc {
  max-width: 820px;
  margin: 40px auto 80px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 56px 64px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text);
}

.resume-header {
  border-bottom: 3px solid var(--brand);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.resume-header h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  line-height: 1.05;
}

.resume-title-line {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.resume-contact-line {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.resume-contact-line a {
  color: var(--brand-2);
  font-weight: 600;
}

.resume-section {
  margin-bottom: 22px;
  page-break-inside: avoid;
}

.resume-section-title {
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  margin: 0 0 12px;
}

.resume-profile {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
}

.resume-profile strong { color: var(--brand); font-weight: 800; }

.resume-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-highlights li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.resume-highlights li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.resume-highlights li strong {
  color: var(--brand);
  font-weight: 800;
}

.resume-expertise {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.resume-role {
  margin-bottom: 14px;
  page-break-inside: avoid;
}

.resume-role:last-child { margin-bottom: 0; }

.resume-role-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.resume-role-title {
  flex: 1 1 auto;
  min-width: 0;
}

.resume-role-position {
  font-weight: 800;
  color: var(--brand);
  font-size: 0.96rem;
  display: block;
  line-height: 1.3;
}

.resume-role-company {
  font-weight: 600;
  font-style: italic;
  color: var(--accent-2);
  font-size: 0.92rem;
}

.resume-role-dates {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.resume-role-body {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 4px 0 0;
}

.resume-role-body strong {
  color: var(--brand);
  font-weight: 800;
}

.resume-credentials {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resume-credentials li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.resume-credentials li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.resume-credentials li strong {
  color: var(--brand);
  font-weight: 800;
}

/* Print styles for the inline resume */

@media print {
  .no-print { display: none !important; }

  body {
    background: #ffffff !important;
    font-size: 10.5pt;
    color: #000;
  }

  .resume-doc {
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.5in 0.5in;
    max-width: 100%;
    font-size: 9.8pt;
  }

  .resume-header h1 { font-size: 22pt; }
  .resume-section-title { font-size: 8pt; }
  .resume-section { margin-bottom: 14pt; }
  .resume-role { margin-bottom: 10pt; }
  .resume-role-position { font-size: 10.5pt; }
  .resume-role-body, .resume-profile, .resume-expertise { font-size: 9.5pt; }
  .resume-highlights li, .resume-credentials li { font-size: 9.5pt; }

  a { color: #000 !important; text-decoration: none !important; }

  @page {
    size: letter;
    margin: 0;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-hero { text-align: center; }
.contact-hero h1 { max-width: 820px; margin-left: auto; margin-right: auto; }
.contact-hero .lead {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-contact-main {
  background: var(--bg);
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-primary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-primary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.contact-primary-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.contact-primary h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.018em;
  margin: 0 0 14px;
  line-height: 1.15;
}

.contact-primary p {
  font-size: 1.02rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 0 24px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.contact-handle {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* QR card */

.contact-qr {
  background: var(--bg-deep);
  border: 1px solid rgba(201, 149, 74, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-qr::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 149, 74, 0.12), transparent 55%);
  pointer-events: none;
}

.contact-qr-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  position: relative;
}

.contact-qr-image {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 18px;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.contact-qr-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-qr-caption {
  font-size: 0.86rem;
  color: #c9c0ad;
  line-height: 1.5;
  max-width: 220px;
  margin: 0;
  position: relative;
}

/* Best-fit conversations */

.section-contact-fit {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.fit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}

.fit-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 12px;
}

.fit-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.014em;
  margin: 0 0 10px;
  line-height: 1.25;
}

.fit-card p {
  font-size: 0.96rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

/* Confidentiality note */

.section-contact-note {
  background: var(--bg);
  padding: 64px 0 80px;
}

.contact-note-panel {
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 32px 36px;
}

.contact-note-panel h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.014em;
  margin: 0 0 14px;
}

.contact-note-panel p {
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0 0 12px;
}

.contact-note-panel p:last-child { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .chairs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chair { border-right: none; border-bottom: 1px solid var(--line); }
  .chair:nth-child(odd) { border-right: 1px solid var(--line); }
  .chair:last-child { border-bottom: none; }
  .chair:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .footprint-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .whynow-grid { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .grid-2,
  .resume-links, .highlight-grid,
  .speaking-grid, .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-right { gap: 18px; }

  /* About page chapters: stack the numeral above the body */
  .chapter-grid,
  .chapter-right .chapter-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .chapter-num-col {
    position: static;
    text-align: left !important;
    order: 0 !important;
  }
  .chapter-right .chapter-body { order: 0 !important; }
  .chapter-num { font-size: clamp(3.5rem, 12vw, 5rem); }

  .value-grid { grid-template-columns: 1fr; }

  /* Solutions hub */
  .hub-solution-grid { grid-template-columns: 1fr; }
  .hub-solution-num { padding: 30px 0; font-size: 4.5rem; }
  .hub-solution-body { padding: 28px 28px 32px; }

  /* Solution detail pages */
  .modules-grid { grid-template-columns: 1fr; }
  .module-card-wide { grid-column: 1; }
  .great8-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .domains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bundles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifecycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .other-solutions-grid { grid-template-columns: 1fr; }
  .architected-item { grid-template-columns: 60px 1fr; gap: 16px; padding: 20px 22px; }
  .architected-num { font-size: 1.8rem; }
  .outcome-item { grid-template-columns: 60px 1fr; gap: 16px; padding: 20px 22px; }
  .outcome-marker { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Engagements page */
  .filter-row { grid-template-columns: 1fr; }
  .spotlight-card { grid-template-columns: 80px 1fr; }
  .spotlight-num { font-size: 2rem; }
  .spotlight-body { padding: 22px 24px; }

  /* Resume page */
  .resume-options-grid { grid-template-columns: 1fr; }
  .resume-option { grid-template-columns: 80px 1fr; }
  .resume-option-num { font-size: 2rem; }
  .resume-option-body { padding: 26px 26px; }
  .resume-doc { padding: 36px 32px; margin: 24px auto 56px; }
  .resume-header h1 { font-size: 1.8rem; }

  /* Contact page */
  .contact-grid { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }

  .menu-btn { display: inline-flex; }
  nav ul {
    display: none;
    position: absolute;
    right: 4vw;
    top: 68px;
    background: var(--surface);
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: min(280px, 90vw);
    flex-direction: column;
  }
  nav ul.open { display: flex; }
  #site-nav li { margin-bottom: 12px; }
  #site-nav li:last-child { margin-bottom: 0; }

  .hero { padding: 32px 0 48px; }
  .hero-banner-wrap { margin-bottom: 24px; border-radius: var(--radius); }

  .section { padding: 56px 0; }
  .section-lg { padding: 64px 0; }

  .chairs-grid { grid-template-columns: 1fr; }
  .chair { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .chair:last-child { border-bottom: none !important; }

  .footprint-stats { grid-template-columns: 1fr 1fr; }
  .grid-4, .grid-3, .grid-2,
  .resume-links, .highlight-grid,
  .speaking-grid, .insights-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .timeline:before { left: 12px; }
  .timeline-item, .timeline-card { margin-left: 24px; }
  .timeline-item:before, .timeline-card:before { left: -18px; }

  .hero-actions, .close-actions { width: 100%; }
  .hero-actions .btn, .close-actions .btn { flex: 1 1 100%; }

  .close-panel { padding: 32px 22px; }

  .chapter { padding: 56px 0; }
  .chapter-callout, .chapter-captured { padding: 18px 20px; }
  .chapter-meta { gap: 8px; }
  .chapter-current-badge { margin-left: 0; }
  .about-hero { padding: 48px 0 40px; }

  /* Solutions detail mobile */
  .great8-grid, .domains-grid, .bundles-grid, .lifecycle-grid, .standards-grid {
    grid-template-columns: 1fr;
  }
  .solution-hero { padding: 40px 0 48px; }
  .proof-panel { padding: 28px 22px; }
  .hub-solution-num { font-size: 3.5rem; padding: 24px 0; }
  .hub-solution-body { padding: 24px 22px 28px; }

  /* Engagements mobile */
  .spotlight-card { grid-template-columns: 1fr; }
  .spotlight-num { padding: 18px 0; font-size: 2rem; }
  .spotlight-body { padding: 22px 22px 24px; }
  .engagements-controls { padding: 16px 18px; }
  .engagements-table { font-size: 0.88rem; }
  .engagements-table td { padding: 12px 14px; }
  .engagements-table thead th { padding: 12px 14px; }

  /* Resume mobile */
  .resume-option { grid-template-columns: 1fr; }
  .resume-option-num { padding: 22px 0; font-size: 2rem; }
  .resume-option-body { padding: 24px 22px 26px; }
  .resume-doc { padding: 28px 22px; margin: 20px auto 48px; }
  .resume-role-header { flex-direction: column; gap: 4px; }

  /* Contact mobile */
  .contact-primary { padding: 32px 26px; }
  .contact-qr { padding: 28px 22px; }
  .contact-qr-image { width: 180px; height: 180px; padding: 14px; }
  .contact-note-panel { padding: 24px 26px; }
  .contact-actions { width: 100%; }
  .contact-actions .btn { flex: 1 1 100%; }
}

/* ============================================================
   GRID MODERNIZATION VISUAL LAYER — v12 additions
   Custom SVG grid art · power-flow animation · evolution timeline
   ============================================================ */

/* ---- Hero: animated power-flow backdrop ---- */
.hero { position: relative; overflow: hidden; }
.hero-gridart {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

.flowline {
  fill: none;
  stroke: rgba(201, 149, 74, 0.35);
  stroke-width: 1.6;
}
.flowline-dim { stroke: rgba(31, 41, 51, 0.12); stroke-width: 1.2; }
.flowpulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 46 640;
  animation: flowdash 7s linear infinite;
  opacity: .8;
}
.flowpulse.fp2 { animation-duration: 9.5s; animation-delay: -3s; opacity: .55; }
.flowpulse.fp3 { animation-duration: 12s; animation-delay: -6s; opacity: .4; }
@keyframes flowdash { to { stroke-dashoffset: -686; } }

.flownode { fill: rgba(201, 149, 74, 0.5); }
.flownode-pulse {
  fill: none; stroke: rgba(201, 149, 74, 0.45); stroke-width: 1.4;
  transform-origin: center; transform-box: fill-box;
  animation: nodepulse 3.6s ease-out infinite;
}
.flownode-pulse.np2 { animation-delay: 1.2s; }
.flownode-pulse.np3 { animation-delay: 2.4s; }
@keyframes nodepulse {
  0%   { opacity: .7; transform: scale(.4); }
  70%  { opacity: 0;  transform: scale(2.6); }
  100% { opacity: 0;  transform: scale(2.6); }
}

/* ---- Transmission tower silhouette strip (reusable) ---- */
.towerline {
  display: block; width: 100%; height: auto;
  color: rgba(31, 41, 51, 0.16);
  pointer-events: none;
}
.hero .towerline {
  position: absolute; bottom: -2px; left: 0; z-index: 0;
  color: rgba(31, 41, 51, 0.10);
}

/* ---- Page heroes on interior pages: subtle grid-art texture ---- */
.page-hero, .about-hero {
  position: relative;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,149,74,0.10), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(31,41,51,0.07), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260' viewBox='0 0 420 260'%3E%3Cg fill='none' stroke='%231f2933' stroke-opacity='0.055' stroke-width='1.4'%3E%3Cpath d='M60 250 L84 96 L108 250 M66 214 h72 M72 172 h60 M79 128 h46'/%3E%3Cpath d='M84 96 L84 74 M64 96 h40 M56 118 h56'/%3E%3Cpath d='M300 250 L324 96 L348 250 M306 214 h72 M312 172 h60 M319 128 h46'/%3E%3Cpath d='M324 96 L324 74 M304 96 h40 M296 118 h56'/%3E%3Cpath d='M104 112 C 180 158, 250 158, 316 112' /%3E%3Cpath d='M96 124 C 180 174, 252 174, 328 124' /%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat-x;
  background-position: center, center, center bottom;
  background-size: auto, auto, 420px 260px;
}

/* ---- Dark sections: faint node-grid texture ---- */
.section-whynow, .section-evolution {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg stroke='%23c9954a' stroke-opacity='0.06' fill='none' stroke-width='1'%3E%3Cpath d='M0 90 H360 M0 270 H360 M90 0 V360 M270 0 V360'/%3E%3C/g%3E%3Cg fill='%23c9954a' fill-opacity='0.10'%3E%3Ccircle cx='90' cy='90' r='2.5'/%3E%3Ccircle cx='270' cy='90' r='2.5'/%3E%3Ccircle cx='90' cy='270' r='2.5'/%3E%3Ccircle cx='270' cy='270' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* ============================================================
   EVOLUTION TIMELINE — from 100% manual to leading the AI evolution
   ============================================================ */
.section-evolution {
  background-color: var(--bg-deep);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.section-evolution .kicker { color: var(--accent); }
.section-evolution h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 12px 0 14px;
  line-height: 1.12;
}
.evolution-header { text-align: center; max-width: 860px; margin: 0 auto 56px; }
.evolution-sub { color: rgba(255,255,255,0.72); font-size: 1.08rem; margin: 0; }

.evo-track { position: relative; }
.evo-line {
  position: absolute; top: 34px; left: 6%; right: 6%;
  height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}
.evo-line::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #7a5a2b, var(--accent));
  transform: scaleX(0); transform-origin: left center;
  transition: transform 2.4s cubic-bezier(.22,.8,.3,1);
}
.evo-track.in-view .evo-line::after { transform: scaleX(1); }

.evo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.evo-step { text-align: center; padding: 0 6px; opacity: 0; transform: translateY(22px); }
.evo-track.in-view .evo-step { animation: fadeUp .7s ease both; }
.evo-track.in-view .evo-step:nth-child(1) { animation-delay: .15s; }
.evo-track.in-view .evo-step:nth-child(2) { animation-delay: .55s; }
.evo-track.in-view .evo-step:nth-child(3) { animation-delay: .95s; }
.evo-track.in-view .evo-step:nth-child(4) { animation-delay: 1.35s; }
.evo-track.in-view .evo-step:nth-child(5) { animation-delay: 1.75s; }

.evo-node {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-deep-2);
  border: 2px solid rgba(201,149,74,0.4);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(19,27,34,1), 0 0 24px rgba(201,149,74,0.12);
}
.evo-node svg { width: 34px; height: 34px; stroke: var(--accent); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.evo-step-current .evo-node {
  border-color: var(--accent);
  background: linear-gradient(160deg, #2a3542, #1a232c);
  box-shadow: 0 0 0 6px rgba(19,27,34,1), 0 0 34px rgba(201,149,74,0.45);
}
.evo-step-current .evo-node::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(201,149,74,0.5);
  animation: nodepulse 3s ease-out infinite;
}
.evo-era {
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.evo-title { color: #fff; font-weight: 800; font-size: 1.02rem; margin-bottom: 8px; line-height: 1.25; }
.evo-desc { color: rgba(255,255,255,0.66); font-size: 0.9rem; line-height: 1.5; margin: 0; }

.evolution-close {
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 1.12rem; font-weight: 600;
  max-width: 760px; margin: 56px auto 0;
}
.evolution-close strong { color: var(--accent); }

@media (max-width: 900px) {
  .evo-grid { grid-template-columns: 1fr; gap: 34px; max-width: 420px; margin: 0 auto; }
  .evo-line { display: none; }
  .evo-step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; text-align: left; align-items: start; }
  .evo-node { margin: 0; }
}

/* ---- Footprint section: tower art accent ---- */
.section-footprint { position: relative; overflow: hidden; }
.section-footprint .container { position: relative; z-index: 1; }

/* ---- Stat blocks: subtle amber lift ---- */
.stat-block { transition: transform .25s ease, box-shadow .25s ease; }
.stat-block:hover { transform: translateY(-4px); }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .flowpulse, .flownode-pulse, .evo-step-current .evo-node::after { animation: none; }
  .evo-line::after { transition: none; transform: scaleX(1); }
  .evo-track .evo-step { opacity: 1; transform: none; animation: none; }
}

/* ============================================================
   COMPANY LOGOS — employer marks shown where companies are named
   ============================================================ */
.company-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 10px;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(19, 27, 34, 0.05);
}
.company-logo img { height: 22px; width: auto; display: block; }

.chapter-meta .company-logo { margin-right: 10px; }
.chapter-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.chair-logo-row { margin: 0 0 12px; }
.chair-logo-row .company-logo img { height: 20px; }

.resume-role-title .company-logo { margin-right: 8px; }
.resume-role-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

.solution-card .company-logo,
.hub-solution .company-logo { margin: 0 0 12px; }
.solution-card .company-logo img,
.hub-solution .company-logo img { height: 20px; }

/* ---- Solution emblems (product logos) ---- */
.solution-emblem {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 4px 14px rgba(19, 27, 34, 0.06);
}
.solution-emblem img { height: 56px; width: auto; display: block; }

.solution-card .solution-emblem { float: right; margin: 0 0 8px 12px; }
.solution-card .solution-emblem img { height: 44px; }

.hub-solution .solution-emblem { float: right; margin: 0 0 10px 16px; }
.hub-solution .solution-emblem img { height: 64px; }

.solution-hero .solution-emblem { margin: 0 0 14px; }
.solution-hero .solution-emblem img { height: 72px; }

@media (max-width: 640px) {
  .solution-card .solution-emblem,
  .hub-solution .solution-emblem { float: none; margin: 0 0 10px; }
}

/* ---- Chair illustrations (five chairs cards) ---- */
.chair-illustration {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 0 0 16px;
  box-shadow: 0 6px 18px rgba(19, 27, 34, 0.08);
}

/* ---- Full-width infographic figures ---- */
.infographic-figure {
  margin: 48px auto 0;
  max-width: 1000px;
  text-align: center;
}
.infographic-figure a { display: block; }
.infographic-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transition: transform .25s ease;
}
.infographic-figure a:hover img { transform: translateY(-4px); }
.infographic-caption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
.section-whynow .infographic-figure img { border-color: rgba(201,149,74,0.35); }
.section-whynow .infographic-caption { color: rgba(255,255,255,0.6); }

/* ---- Chapter photos (about page) ---- */
.chapter-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 18px 0 6px;
}

/* ---- Evolution march (march-of-progress graphic) ---- */
.evolution-march {
  max-width: 1000px;
  margin: 0 auto 56px;
}
.evolution-march img { width: 100%; height: auto; display: block; }

/* grid_evolution image treatment inside evolution section */
.evolution-march a { display: block; }
.evolution-march img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 149, 74, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  transition: transform .25s ease;
}
.evolution-march a:hover img { transform: translateY(-4px); }

/* ---- Hero five-chairs visual (under the h1) ---- */
.hero-chairs-visual {
  max-width: 820px;
  margin: 0 auto 26px;
}
.hero-chairs-visual a { display: block; }
.hero-chairs-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(19, 27, 34, 0.12);
  box-shadow: var(--shadow-lg);
  transition: transform .25s ease;
}
.hero-chairs-visual a:hover img { transform: translateY(-4px); }
