/* =============================================================
   OMER QURESHI — Personal Brand Design System
   3-Pillar Palette: Navy • Cloud • Steel
   Typography: Fraunces (display) + Inter (body)
   ============================================================= */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* PILLAR 1 — NAVY (Ink): authority, depth, executive presence */
  --ink-900: #061427;
  --ink-800: #0B2240;
  --ink-700: #142E54;
  --ink-600: #1F3F6D;
  --ink-500: #3D547A;
  --ink-400: #6B7E9C;

  /* PILLAR 2 — CLOUD (Bone): warm off-white, light editorial surface */
  --bone-50:  #FFFFFF;
  --bone-100: #F8FAFC;
  --bone-200: #EEF2F7;
  --bone-300: #DDE3EC;
  --bone-400: #B7BFCC;
  --bone-500: #7A8294;

  /* PILLAR 3 — STEEL (accent): cool blue, professional energy */
  --ember-300: #7CA0CC;
  --ember-500: #3B6FA3;
  --ember-600: #2A5887;
  --ember-700: #1E4267;

  /* Semantic roles */
  --bg:            var(--bone-100);
  --bg-alt:        var(--bone-50);
  --bg-inverted:   var(--ink-800);
  --surface:       #FFFFFF;
  --surface-alt:   var(--bone-200);
  --border:        var(--bone-300);
  --border-strong: var(--bone-400);
  --text:          var(--ink-800);
  --text-muted:    var(--ink-500);
  --text-faint:    var(--bone-500);
  --text-inverted: #FFFFFF;
  --accent:        var(--ember-500);
  --accent-hover:  var(--ember-600);

  /* Convenience aliases used across components */
  --ink:    var(--ink-800);
  --bone:   var(--bone-100);
  --ember:  var(--ember-500);

  /* Type scale (fluid) */
  --text-xs:    clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm:    clamp(0.875rem, 0.84rem + 0.2vw, 0.9375rem);
  --text-base:  clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  --text-lg:    clamp(1.125rem, 1.06rem + 0.4vw, 1.25rem);
  --text-xl:    clamp(1.375rem, 1.2rem + 0.8vw, 1.625rem);
  --text-2xl:   clamp(1.75rem, 1.45rem + 1.4vw, 2.25rem);
  --text-3xl:   clamp(2.25rem, 1.8rem + 2.2vw, 3rem);
  --text-hero:  clamp(2.75rem, 2rem + 3.8vw, 5rem);

  /* Spacing scale */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container:        1240px;
  --container-narrow: 880px;
  --container-prose:  680px;

  /* Radius */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows — soft, editorial (navy-tinted) */
  --shadow-sm: 0 1px 2px rgba(11,34,64,0.06), 0 1px 3px rgba(11,34,64,0.04);
  --shadow-md: 0 4px 12px rgba(11,34,64,0.06), 0 2px 4px rgba(11,34,64,0.04);
  --shadow-lg: 0 20px 40px -16px rgba(11,34,64,0.14), 0 8px 16px -8px rgba(11,34,64,0.06);

  /* Motion */
  --ease:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:     400ms;
  --dur-fast: 200ms;

  /* Type */
  --font-display: "Fraunces", "Times New Roman", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- 2. RESET + BASE ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ember-500); color: var(--bone-50); }

/* ---------- 3. TYPOGRAPHY UTILITIES ---------- */
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.05; }
.display--italic { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; }
.eyebrow {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-xl);
  line-height: 1.4;
  color: var(--text-muted);
  max-width: 60ch;
}
.text-muted { color: var(--text-muted); }

/* ---------- 4. LAYOUT PRIMITIVES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-12));
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(var(--space-16), 10vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 7vw, var(--space-20)); }
.section--inverted { background: var(--bg-inverted); color: var(--text-inverted); }
.section--inverted .text-muted { color: var(--bone-400); }
.section--inverted .eyebrow { color: var(--bone-400); }
.section--alt { background: var(--bg-alt); }

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

/* ---------- 5. NAVIGATION ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.is-scrolled { border-color: var(--border); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
}
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--ink-800);
  transition: opacity var(--dur-fast) var(--ease);
}
.brand:hover { opacity: 0.78; }
.brand__mark {
  width: 144px; height: 144px;
  display: grid; place-items: center;
  flex: none;
}
.brand__mark svg { width: 144px; height: 144px; }
.brand__word {
  height: 72px;
  width: auto;
  display: block;
}
@media (max-width: 900px) {
  .brand__mark { width: 96px; height: 96px; }
  .brand__mark svg { width: 96px; height: 96px; }
  .brand__word { height: 52px; }
}
@media (max-width: 480px) {
  .brand__word { width: 160px; height: 44px; }
  .brand__mark { width: 72px; height: 72px; }
  .brand__mark svg { width: 72px; height: 72px; }
}

/* Orbit logo animation — satellite travels around a fixed elliptical orbit (SVG animateMotion) */
.orbit-logo__satellite {
  filter: drop-shadow(0 0 2px rgba(59, 111, 163, 0.35));
}
@media (prefers-reduced-motion: reduce) {
  .orbit-logo__motion { animation: none; }
  .orbit-logo__satellite { transform: translate(30px, 0); }
}
.nav__links {
  display: flex;
  gap: var(--space-8);
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--text-muted);
  padding-block: var(--space-2);
  transition: color var(--dur-fast) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 6px; }
.nav__cta { display: none; }
@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
}

/* ---------- 6. BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary { background: var(--ink-800); color: var(--bone-100); }
.btn--primary:hover { background: var(--ink-700); transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--ink-800); background: var(--ink-800); color: var(--bone-100); }
.btn--inverted { background: var(--bone-100); color: var(--ink-800); }
.btn--inverted:hover { background: var(--bone-50); transform: translateY(-1px); }
.btn__arrow { transition: transform var(--dur-fast) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- 7. HERO ---------- */
.hero {
  padding-top: clamp(var(--space-12), 8vw, var(--space-20));
  padding-bottom: clamp(var(--space-16), 10vw, var(--space-24));
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(var(--space-10), 6vw, var(--space-20));
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}
.hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-8);
}
.hero__meta-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(59, 111, 163, 0.18);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink-800);
  margin-bottom: var(--space-8);
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
/* Hero entity-definition sentence (SEO/AEO line under the headline) */
.hero__definition {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--text-muted);
  margin: var(--space-4) 0 var(--space-5);
  max-width: 56ch;
}
.hero__definition strong { color: var(--ink-900); font-weight: 600; }

.hero__lede {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-10);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink-800);
  display: block;
  line-height: 1.1;
}
.stat__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: var(--space-2);
  display: block;
}

/* Hero portrait carousel */
.hero__carousel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-700);
  box-shadow: var(--shadow-lg);
  margin: 0;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.hero__slide[data-fit="contain"] img {
  object-fit: contain;
  object-position: center;
  background: #1a1d24;
}
.hero__slide[data-fit="action"] img {
  object-fit: cover;
  object-position: center center;
}
.hero__slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11,34,64,0.78) 100%);
  pointer-events: none;
}

/* Mini infographic overlay */
.hero__infographic {
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: 70px; /* sit above badge */
  z-index: 3;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-3);
  row-gap: 2px;
  align-items: center;
  padding: var(--space-4) var(--space-5);
  background: rgba(11, 34, 64, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.hero__infographic-icon {
  grid-row: 1 / span 2;
  width: 44px; height: 44px;
  padding: 9px;
  background: rgba(59, 111, 163, 0.95);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(59,111,163,0.35);
}
.hero__infographic-number {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.01em;
}
.hero__infographic-label {
  font-size: var(--text-xs);
  line-height: 1.35;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.01em;
}

/* Badge sits on top of carousel */
.hero__badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: var(--text-xs);
  color: var(--ink-800);
  box-shadow: 0 6px 18px rgba(11,34,64,0.18);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.22);
  flex: none;
}

/* Right column wrapper: carousel + role card stacked */
.hero__media {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Role card: sits below the carousel, never overlapping the image/infographic */
.hero__role-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--ink-100, rgba(11,34,64,0.10));
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(11,34,64,0.08);
}
.hero__role-dot {
  width: 8px; height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.22);
  flex: none;
  margin-top: 7px;
}
.hero__role-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hero__role-line {
  display: block;
  color: var(--ink-800);
  font-size: var(--text-sm, 0.95rem);
  line-height: 1.4;
}
.hero__role-line strong {
  color: var(--ink-900);
  font-weight: 600;
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  z-index: 4;
  display: flex;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(11,34,64,0.45);
  backdrop-filter: blur(8px);
  border-radius: 999px;
}
.hero__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  padding: 0;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.hero__dot:hover { background: rgba(255,255,255,0.75); }
.hero__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}
.hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
}

/* Prev/Next arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(11,34,64,0.55);
  backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease, opacity 200ms ease;
  opacity: 0.85;
}
.hero__arrow svg {
  width: 22px;
  height: 22px;
  display: block;
}
.hero__arrow:hover {
  background: rgba(11,34,64,0.75);
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}
.hero__arrow:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hero__arrow--prev { left: var(--space-4); }
.hero__arrow--next { right: var(--space-4); }

/* Small screens: place infographic higher so dots/badge don’t collide */
@media (max-width: 540px) {
  .hero__infographic {
    left: var(--space-4);
    right: var(--space-4);
    bottom: 64px;
    padding: var(--space-3) var(--space-4);
    grid-template-columns: 36px 1fr;
  }
  .hero__infographic-icon { width: 36px; height: 36px; padding: 7px; }
  .hero__infographic-number { font-size: 1.4rem; }
  .hero__badge { left: var(--space-4); bottom: var(--space-4); }
  .hero__dots { right: var(--space-4); bottom: var(--space-4); }
  .hero__arrow { width: 38px; height: 38px; }
  .hero__arrow svg { width: 18px; height: 18px; }
  .hero__arrow--prev { left: var(--space-3); }
  .hero__arrow--next { right: var(--space-3); }
}

/* ---------- 8. LOGO WALL (auto-scrolling, full color) ---------- */
.logowall {
  border-block: 1px solid var(--border);
  padding-block: var(--space-10);
  background: var(--bg-alt);
  overflow: hidden;
}
.logowall__label {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-6);
}
.logowall__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade out the edges so the loop seam never shows */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logowall__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--space-5);
  width: max-content;
  animation: logowall-scroll 42s linear infinite;
  will-change: transform;
}
.logowall__viewport:hover .logowall__track {
  animation-play-state: paused;
}
.logowall__card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 200px;
  padding: var(--space-3) var(--space-5);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 10px);
  box-shadow: 0 1px 0 rgba(11, 34, 64, 0.02);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.logowall__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -16px rgba(11, 34, 64, 0.28);
  border-color: rgba(59, 111, 163, 0.55);
}
.logowall__card img {
  max-height: 92px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Full color — no grayscale */
  filter: none;
  opacity: 1;
}
@keyframes logowall-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .logowall__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}
@media (max-width: 640px) {
  .logowall__card { height: 96px; width: 160px; padding: var(--space-2) var(--space-4); }
  .logowall__card img { max-height: 72px; }
  .logowall__track { animation-duration: 32s; gap: var(--space-4); }
}

/* ---------- 8b. INSIGHTS CAROUSEL ---------- */
.insights {
  padding-block: clamp(var(--space-16), 10vw, var(--space-24));
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.insights__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}
.insights__head .section-header { margin-bottom: 0; }
.insights__controls {
  display: flex;
  gap: var(--space-3);
}
.insights__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.insights__btn:hover {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.insights__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: var(--bg-alt);
  color: var(--ink);
  border-color: var(--border);
}
.insights__btn svg { width: 18px; height: 18px; }
.insights__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter, 1.5rem));
  padding-inline: var(--gutter, 1.5rem);
}
.insights__viewport::-webkit-scrollbar { display: none; }
.insights__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(420px, 82vw);
  gap: var(--space-6);
  padding-block: var(--space-2);
}
.insight-card {
  scroll-snap-align: start;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(11, 34, 64, 0.02);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px -28px rgba(11, 34, 64, 0.35);
  border-color: rgba(59, 111, 163, 0.5);
}
.insight-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
}
.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 600ms var(--ease);
}
.insight-card:hover .insight-card__media img { transform: scale(1.04); }
.insight-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(11, 34, 64, 0.55), transparent);
  pointer-events: none;
}
/* Logo-grid variant: no dark overlay, no zoom — keep logos clean and centered */
.insight-card--logos .insight-card__media { background: #faf7f2; }
.insight-card--logos .insight-card__media::after { display: none; }
.insight-card--logos .insight-card__media img { object-fit: contain; padding: var(--space-3); }
.insight-card--logos:hover .insight-card__media img { transform: none; }
.insight-card__tag {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
  background: rgba(11, 34, 64, 0.72);
  backdrop-filter: blur(4px);
  padding: 6px 10px;
  border-radius: 999px;
}
.insight-card__body {
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
  min-width: 0;
}
.insight-card__stat {
  font-family: var(--font-display), Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1;
  color: var(--ember);
  font-variation-settings: "SOFT" 50, "WONK" 1;
  letter-spacing: -0.01em;
}
.insight-card__headline {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}
.insight-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
@media (max-width: 640px) {
  .insights__track { grid-auto-columns: 86vw; }
  .insights__head { margin-bottom: var(--space-8); }
  .insight-card__body { padding: var(--space-5); }
}

/* ---------- 9. SECTION HEADER ---------- */
.section-header {
  display: grid;
  gap: var(--space-6);
  margin-bottom: clamp(var(--space-12), 6vw, var(--space-16));
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .section-header {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(var(--space-10), 6vw, var(--space-20));
    align-items: end;
  }
}
.section-header__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  line-height: 1;
  letter-spacing: -0.02em;
}
.section-header__title em {
  font-style: italic;
  color: var(--accent);
}
.section-header__lede {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}

/* ---------- 10. ABOUT ---------- */
.about__grid {
  display: grid;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.about__aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  background: var(--surface);
  color: var(--text-muted);
}
.tag--accent { color: var(--accent); border-color: var(--ember-300); }

.pullquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.4;
  color: var(--ink-800);
  padding-left: var(--space-6);
  border-left: 2px solid var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.pullquote__attr {
  display: block;
  margin-top: var(--space-3);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about__tagline {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  line-height: 1.35;
  color: var(--accent);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 0;
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, rgba(59, 111, 163, 0.08), rgba(59, 111, 163, 0.02));
  border-radius: 14px;
  border: 1px solid rgba(59, 111, 163, 0.18);
}
.about__tagline em {
  font-style: italic;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
}
@media (min-width: 700px) {
  .about__stats { grid-template-columns: repeat(4, 1fr); }
}
.about__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
  color: var(--ink-900);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.01em;
}
.about__stat-label {
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Press Kit / Downloads */
.presskit {
  margin-top: clamp(var(--space-12), 8vw, var(--space-16));
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  background: var(--bone-50, #F8FAFC);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.presskit__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.presskit__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink-900);
  margin: 0;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.presskit__title em { font-style: italic; color: var(--accent); }
.presskit__lede {
  font-size: var(--text-base);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0;
}
.presskit__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 720px) {
  .presskit__grid { grid-template-columns: repeat(3, 1fr); }
}
.download-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink-900);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}
.download-card:hover,
.download-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -22px rgba(11, 34, 64, 0.45);
  border-color: var(--accent);
  outline: none;
}
.download-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 111, 163, 0.14), rgba(59, 111, 163, 0.04));
  color: var(--accent);
  transition: background 220ms ease, transform 220ms ease;
}
.download-card:hover .download-card__icon {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.download-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.download-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.2;
}
.download-card__meta {
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.prose p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--text);
  max-width: 64ch;
}
.prose p + p { margin-top: var(--space-5); }
.prose p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.5em;
  line-height: 0.85;
  float: left;
  padding-right: 0.1em;
  padding-top: 0.05em;
  color: var(--accent);
  font-weight: 400;
}

/* ---------- 11. HIGHLIGHTS / KPI ---------- */
.highlights {
  display: grid;
  gap: 1px;
  background: var(--ink-700);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight {
  background: var(--ink-800);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  color: var(--bone-100);
  position: relative;
  overflow: hidden;
  cursor: default;
  transform: translateZ(0);
  transition:
    background 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Top accent bar that scales in on hover */
.highlight::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ember-400), var(--ember-300));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Radial steel-blue glow that fades in on hover */
.highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140% 90% at 100% 0%, rgba(59,111,163,0.28), transparent 55%);
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}
.highlight:hover,
.highlight:focus-within {
  background: var(--ink-900);
}
.highlight:hover::before,
.highlight:focus-within::before { transform: scaleX(1); }
.highlight:hover::after,
.highlight:focus-within::after { opacity: 1; }
.highlight:hover .highlight__value,
.highlight:focus-within .highlight__value { transform: translateY(-4px); }
.highlight:hover .highlight__value em,
.highlight:focus-within .highlight__value em { color: var(--ember-300); transform: translateX(4px); }

.highlight__value {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bone-50);
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.highlight__value em {
  font-style: italic;
  color: var(--ember-400);
  display: inline-block;
  transition: color 320ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.highlight__label {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--bone-400);
  max-width: 22ch;
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .highlight,
  .highlight::before,
  .highlight::after,
  .highlight__value,
  .highlight__value em { transition: none; }
  .highlight:hover { transform: none; }
}

/* ---------- 11b. EXPERTISE / SKILL BARS ---------- */
.expertise {
  margin-top: clamp(var(--space-10), 6vw, var(--space-16));
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .expertise { grid-template-columns: minmax(260px, 340px) 1fr; gap: var(--space-12); align-items: start; }
}
.expertise__head { display: flex; flex-direction: column; gap: var(--space-3); }
.expertise__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
}
.expertise__title em {
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  color: var(--accent);
}
.expertise__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.skill {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.skill__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
}
.skill__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.skill__pct {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.skill__track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(11, 34, 64, 0.10);
  overflow: hidden;
}
.skill__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #5A8EC5);
  border-radius: 999px;
  transition: width 1400ms cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 0 1px rgba(59, 111, 163, 0.18) inset;
}
.skill__fill::after {
  /* trailing dot that sits at the end of the bar (matches the reference) */
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 2px var(--accent), 0 4px 10px -4px rgba(11, 34, 64, 0.35);
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 360ms ease 900ms;
}
.skill.is-visible .skill__fill { width: var(--target, 0%); }
.skill.is-visible .skill__fill::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .skill__fill { transition: none; width: var(--target, 0%); }
  .skill__fill::after { opacity: 1; transition: none; }
}

/* ---------- 12. EXPERIENCE TIMELINE ---------- */
.experience {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.role {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
  align-items: center;
}
.role:hover { background: var(--bg-alt); }
@media (min-width: 768px) {
  .role {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    gap: var(--space-6);
    padding: var(--space-6) var(--space-2);
  }
}
.role__logo {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6px;
}
.role__logo img { width: 100%; height: 100%; object-fit: contain; }
.role__body { min-width: 0; }
.role__company {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink-800);
}
.role__title {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
.role__tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--bone-200);
  color: var(--ink-700);
  border-radius: var(--radius-sm);
}
.role__period {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---------- 13. PROJECTS / PORTFOLIO GRID ---------- */
.projects {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .projects { grid-template-columns: repeat(6, 1fr); gap: var(--space-6); }
  .project:nth-child(1) { grid-column: span 4; grid-row: span 2; }
  .project:nth-child(2) { grid-column: span 2; }
  .project:nth-child(3) { grid-column: span 2; }
  .project:nth-child(4) { grid-column: span 3; }
  .project:nth-child(5) { grid-column: span 3; }
}
.project {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  min-height: 280px;
}
.project:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.project__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bone-200);
  overflow: hidden;
}
.project:nth-child(1) .project__media {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 320px;
}
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}
.project:hover .project__media img { transform: scale(1.04); }
.project__media--padded {
  display: grid; place-items: center;
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  background: var(--bone-50);
}
.project__media--padded img {
  width: auto; height: auto;
  max-height: 80px; max-width: 60%;
  object-fit: contain;
}
.project__body {
  padding: clamp(var(--space-5), 2.5vw, var(--space-8));
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.project__category {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.project__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink-800);
}
.project__desc {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--text-muted);
}
.project__meta {
  margin-top: auto;
  padding-top: var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.project__arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  transition: all var(--dur) var(--ease);
}
.project:hover .project__arrow {
  background: var(--ink-800);
  color: var(--bone-100);
  border-color: var(--ink-800);
  transform: rotate(-45deg);
}

/* Simple project card variant (no media block) — used on home page teaser */
.project--simple {
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  padding-right: clamp(72px, 8vw, 88px);
  min-height: 220px;
  gap: var(--space-3);
  justify-content: flex-start;
}
@media (min-width: 1024px) {
  .project--simple { grid-column: span 2 !important; grid-row: auto !important; }
}
.project--simple .project__tag {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.project--simple .project__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink-800);
  margin-top: var(--space-2);
}
.project--simple .project__lede {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.project--simple .project__meta {
  margin-top: auto;
  padding-top: var(--space-4);
  font-size: var(--text-xs);
  color: var(--text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project__logo {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 5px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px -4px rgba(11, 34, 64, 0.08);
  transition: transform var(--dur) var(--ease);
}
.project:hover .project__logo {
  transform: scale(1.06);
}

/* ---------- 14. CERTIFICATIONS ---------- */
.certs {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.cert {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cert:hover { border-color: var(--accent); transform: translateY(-2px); }
.cert__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bone-50);
  display: grid; place-items: center;
  overflow: hidden;
  padding: 4px;
}
.cert__icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.2;
}
.cert__desc {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: 0.125rem;
  line-height: 1.4;
}

/* ---------- 15. CONTACT / CTA ---------- */
.contact {
  text-align: center;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-6);
}
.contact__title em { font-style: italic; color: var(--ember-300); }
.contact__lede {
  font-size: var(--text-lg);
  color: var(--bone-300);
  max-width: 48ch;
  margin: 0 auto var(--space-10);
  line-height: 1.55;
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Divider between CTAs and form */
.contact__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin: clamp(var(--space-10), 6vw, var(--space-12)) auto var(--space-8);
  color: var(--bone-400);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  max-width: 480px;
}
.contact__divider::before,
.contact__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(248, 250, 252, 0.18);
}

/* Light form card on inverted bg */
.contact__form-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  text-align: left;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  color: var(--ink-900);
  max-width: 620px;
  margin: 0 auto;
}
.contact__form-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 500;
  color: var(--ink-900);
  margin: 0 0 var(--space-2);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.contact__form-lede {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 var(--space-6);
}
.contact__form-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.contact__form-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin: var(--space-4) 0 0;
}

/* Contact section: PDF downloads block (inverted/dark bg) */
.contact__downloads {
  margin-top: var(--space-10);
  text-align: center;
}
.contact__downloads-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.62);
  margin: 0 0 var(--space-5);
}
.contact__downloads-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 720px) {
  .contact__downloads-grid { grid-template-columns: repeat(3, 1fr); }
}
.download-card--inverted {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: #F8FAFC;
  text-align: left;
}
.download-card--inverted .download-card__icon {
  background: linear-gradient(135deg, rgba(59, 111, 163, 0.42), rgba(59, 111, 163, 0.18));
  color: #F8FAFC;
}
.download-card--inverted .download-card__title { color: #F8FAFC; }
.download-card--inverted .download-card__meta { color: rgba(248, 250, 252, 0.6); }
.download-card--inverted:hover,
.download-card--inverted:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent);
  box-shadow: 0 14px 36px -22px rgba(0, 0, 0, 0.6);
}
.download-card--inverted:hover .download-card__icon {
  background: var(--accent);
  color: #fff;
}

/* Footer: compact downloads row */
.footer__downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}
.footer__downloads-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}
.footer__downloads-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}
.footer__download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-sm);
  color: var(--ink-800);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}
.footer__download-link:hover,
.footer__download-link:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
  outline: none;
}
.footer__download-link svg {
  flex: 0 0 auto;
  color: var(--accent);
}

/* HubSpot form polish to match site design system */
.contact__form-card .hs-form-frame { color: var(--ink-900); }
.contact__form-card form { font-family: var(--font-body) !important; }
.contact__form-card label,
.contact__form-card .hs-form-field > label {
  font-size: var(--text-xs) !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  color: var(--ink-800) !important;
  margin-bottom: 6px !important;
  display: block;
}
.contact__form-card input[type="text"],
.contact__form-card input[type="email"],
.contact__form-card input[type="tel"],
.contact__form-card input[type="number"],
.contact__form-card input[type="url"],
.contact__form-card select,
.contact__form-card textarea {
  width: 100% !important;
  padding: 0.75rem 0.875rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--ink-900) !important;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  box-sizing: border-box;
}
.contact__form-card input:focus,
.contact__form-card select:focus,
.contact__form-card textarea:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(59, 111, 163, 0.18) !important;
}
.contact__form-card textarea { min-height: 120px !important; resize: vertical; }
.contact__form-card .hs-form-field { margin-bottom: var(--space-4) !important; }
.contact__form-card .hs-error-msgs,
.contact__form-card .hs-error-msg {
  color: #b91c1c !important;
  font-size: var(--text-xs) !important;
  margin-top: 4px !important;
  list-style: none;
  padding-left: 0;
}
.contact__form-card .hs-submit { margin-top: var(--space-4); }
.contact__form-card .hs-button,
.contact__form-card input[type="submit"] {
  background: var(--ink-900) !important;
  color: #fff !important;
  border: 1px solid var(--ink-900) !important;
  padding: 0.85rem 1.5rem !important;
  border-radius: 999px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.contact__form-card .hs-button:hover,
.contact__form-card input[type="submit"]:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -12px rgba(11, 34, 64, 0.5);
}
.contact__form-card .legal-consent-container,
.contact__form-card .hs-richtext {
  font-size: var(--text-xs) !important;
  color: var(--text-muted) !important;
  line-height: 1.5 !important;
}
.contact__form-card .legal-consent-container a,
.contact__form-card .hs-richtext a { color: var(--accent) !important; text-decoration: underline; }
.contact__form-card .submitted-message {
  font-size: var(--text-base) !important;
  color: var(--ink-900) !important;
  padding: var(--space-4) 0;
}

/* ---------- 16. FOOTER ---------- */
.footer {
  background: var(--bg-alt);
  padding-block: clamp(var(--space-12), 6vw, var(--space-16));
  border-top: 1px solid var(--border);
}
.footer__top {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  align-items: start;
  margin-bottom: var(--space-10);
}
@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-16);
    align-items: center;
  }
}
.footer__lockup {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.footer__tag {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 44ch;
}
.footer .divider { margin-block: var(--space-8); }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.social {
  --social-color: var(--ink-800);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--text-xs);
  letter-spacing: 0.02em;
  color: var(--ink-800);
  transition: all var(--dur-fast) var(--ease);
}
.social svg { color: var(--social-color); transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.social:hover {
  background: var(--social-color);
  border-color: var(--social-color);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11,34,64,0.12);
}
.social:hover svg { color: #fff; }
.social--gradient:hover {
  background: var(--social-gradient, var(--social-color));
  border-color: transparent;
  color: #fff;
}

/* Brand colors */
.social--linkedin { --social-color: #0A66C2; }
.social--x        { --social-color: #000000; }
.social--facebook { --social-color: #1877F2; }
.social--instagram {
  --social-color: #E4405F;
  --social-gradient: linear-gradient(135deg, #FEDA75 0%, #FA7E1E 25%, #D62976 50%, #962FBF 75%, #4F5BD5 100%);
}
.social--forbes   { --social-color: #000000; }

/* Image-based social icons (e.g. Forbes F mark) */
.social__img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  transition: filter var(--dur-fast) var(--ease);
}
.social:hover .social__img {
  filter: brightness(0) invert(1);
}

/* Icon-only variant (used in nav) */
.social--icon {
  padding: 0;
  width: 36px;
  height: 36px;
  justify-content: center;
  gap: 0;
}
.social--icon .social__img { width: 16px; height: 16px; }

/* Nav socials row (second row of header) */
.nav__social-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-5);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
  border-top: 1px solid var(--border);
}
.nav__social-row .nav__cta {
  padding: 8px 18px;
  font-size: var(--text-sm);
}
.socials--nav {
  gap: 6px;
}
@media (max-width: 600px) {
  .nav__social-row {
    justify-content: center;
    gap: var(--space-3);
    flex-wrap: wrap;
  }
}

/* XL orbit logo for footer (2x) */
.orbit-logo--xl {
  width: 96px;
  height: 96px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.footer__links a:hover { color: var(--text); }

/* ---------- 17. ANIMATIONS ---------- */
/* Only hide if JS has marked the page ready — otherwise content remains visible */
@media (prefers-reduced-motion: no-preference) {
  .js-ready .fade-up { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
  .js-ready .fade-up.is-visible { opacity: 1; transform: none; }
}

/* ---------- 18. RESPONSIVE FINETUNING ---------- */
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero__stats .stat { padding-bottom: var(--space-5); border-bottom: 1px solid var(--border); }
  .hero__stats .stat:last-child { border-bottom: 0; padding-bottom: 0; }
  .role { grid-template-columns: 56px 1fr; }
  .role__period { grid-column: 2; font-size: 0.7rem; }
}

/* ---------- MOBILE NAV TOGGLE ---------- */
.nav__toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-left: auto;
}
.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900, #0B2240);
  border-radius: 1px;
  transition: transform 220ms ease, opacity 180ms ease;
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__inner { flex-wrap: wrap; }
  .nav__links {
    display: none;
    flex-direction: column;
    flex-basis: 100%;
    gap: var(--space-3);
    padding: var(--space-4) 0 var(--space-2);
    border-top: 1px solid var(--border);
    margin-top: var(--space-3);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a {
    padding-block: var(--space-3);
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__links a:last-child { border-bottom: 0; }
}

/* ---------- FAQ SECTION ---------- */
.faq__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}
.faq__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0;
}
.faq__title em {
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  color: var(--accent);
}
.faq__lede {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-muted);
  margin: 0;
}
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: var(--space-5) var(--space-6);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.faq__item[open] {
  border-color: var(--accent);
  box-shadow: 0 18px 40px -28px rgba(11, 34, 64, 0.35);
}
.faq__q {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  line-height: 1.4;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--accent);
  flex: 0 0 auto;
  line-height: 1;
  transition: transform 200ms ease;
}
.faq__item[open] .faq__q::after {
  content: "\2013";  /* en dash */
  transform: rotate(0deg);
}
.faq__a {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-800);
}
.faq__a p { margin: 0; }
.faq__a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq__a a:hover { color: var(--ink-900); }

@media (max-width: 600px) {
  .faq__item { padding: var(--space-4) var(--space-5); }
  .faq__q { font-size: var(--text-base); }
}

/* ---------- HOME TEASER SECTION CTAs ---------- */
.section__cta {
  margin-top: var(--space-8);
  text-align: center;
}

/* ---------- BRAND LOCKUP TAGLINE (header) ---------- */
.brand__lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.brand__tag {
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-muted, #5A6A82);
  margin-top: -4px;
  padding-left: 2px;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .brand__tag { font-size: 0.66rem; }
}
@media (max-width: 480px) {
  .brand__tag {
    font-size: 0.6rem;
    white-space: normal;
    line-height: 1.25;
    max-width: 160px;
  }
}

/* Footer tag — italic Fraunces feel via emphasis */
.footer__tag em {
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-style: italic;
  font-weight: 500;
  color: var(--ink-900, #0B2240);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

/* =====================================================================
   Select Recommendations (work/index.html #recommendations)
   ===================================================================== */

/* Hero quote — large editorial pull-quote at the top of the section */
.recs__hero {
  max-width: 72ch;
  margin: var(--space-12) auto var(--space-14);
  text-align: center;
  position: relative;
}
.recs__hero::before {
  content: "\201C";
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Fraunces", serif;
  font-size: 9rem;
  line-height: 1;
  color: var(--ember-500);
  opacity: 0.16;
  pointer-events: none;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.recs__hero-quote {
  font-family: "Fraunces", serif;
  font-size: clamp(1.5rem, 2.4vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  font-weight: 400;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  margin: 0 0 var(--space-6);
}
.recs__hero-quote p { margin: 0; }
.recs__hero-cite {
  font-family: "Inter", system-ui, sans-serif;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}
.recs__hero-cite strong {
  color: var(--ink-900);
  font-weight: 600;
  font-size: 1rem;
}

/* 6-card grid of recommendations */
.recs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-14);
}
@media (max-width: 960px) {
  .recs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .recs__grid { grid-template-columns: 1fr; gap: var(--space-5); }
}

.rec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--ember-500);
  border-radius: 8px;
  padding: var(--space-6) var(--space-6) var(--space-5);
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-5);
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rec-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px -16px rgba(11, 34, 64, 0.18);
  border-color: var(--ember-500);
}
.rec-card__logo {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px -4px rgba(11, 34, 64, 0.08);
  transition: transform var(--dur) var(--ease);
}
.rec-card:hover .rec-card__logo {
  transform: scale(1.06);
}
/* For logos that have a dark/colored background (like AWS navy), keep the actual logo edge */
.rec-card__logo--dark {
  padding: 0;
  background: transparent;
  border-color: transparent;
}
.rec-card__quote {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--ink-900);
  font-weight: 400;
  letter-spacing: -0.005em;
  padding-right: 56px; /* reserve room for the absolutely-positioned logo */
}
.rec-card__quote p { margin: 0; }
.rec-card__quote p::before {
  content: "\201C";
  margin-right: 0.05em;
}
.rec-card__quote p::after {
  content: "\201D";
  margin-left: 0.02em;
}
.rec-card__cite {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: "Inter", system-ui, sans-serif;
  font-style: normal;
  border-top: 1px solid var(--border);
  padding-top: var(--space-4);
}
.rec-card__cite strong {
  color: var(--ink-900);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.rec-card__cite span {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.rec-card__org {
  margin-top: 4px;
  display: inline-block;
  width: max-content;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(59, 111, 163, 0.08);
  color: var(--ember-500) !important;
  font-size: 0.7rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Closing pull-quote on tinted band */
.recs__pull {
  background: linear-gradient(135deg, rgba(59, 111, 163, 0.06), rgba(11, 34, 64, 0.03));
  border-radius: 12px;
  padding: var(--space-10) var(--space-8);
  margin: 0 auto var(--space-12);
  max-width: 80ch;
  text-align: center;
  border-left: 4px solid var(--ember-500);
}
.recs__pull-quote {
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.4;
  color: var(--ink-900);
  font-weight: 400;
  font-style: italic;
  margin: 0 0 var(--space-5);
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.recs__pull-quote p { margin: 0; }
.recs__pull-cite {
  font-family: "Inter", system-ui, sans-serif;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.recs__pull-cite strong {
  color: var(--ink-900);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Reach stats + CTA */
.recs__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}
.recs__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-6);
  width: 100%;
  max-width: 920px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-7) var(--space-2);
}
.recs__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.recs__stats strong {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
  color: var(--ember-500);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.recs__stats span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}
@media (max-width: 720px) {
  .recs__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
    padding: var(--space-6) var(--space-2);
  }
  .recs__stats li:last-child { grid-column: span 2; }
}
