/*
 * about.css — About page styles
 *
 * Uses only the shared design tokens (navy + gold) from variables.css.
 * Section rhythm: dark hero → white → subtle → white → subtle → dark CTA.
 */

/* Shared section header helpers ------------------------------------------ */
.about-eyebrow-wrap { margin-bottom: var(--space-4); }
.about-eyebrow {
  display: inline-block;
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-brand-500);
  position: relative; padding-left: var(--space-6);
}
.about-eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 22px; height: 1px; background: var(--color-brand-500); opacity: 0.5;
  transform: translateY(-50%);
}

.about-section-head { max-width: 640px; margin: 0 auto var(--space-14); text-align: center; }
.about-section-head--left { margin-inline: 0; text-align: left; }
.about-section-title {
  font-size: clamp(1.625rem, 2.8vw, 2.375rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--color-text-primary); margin: 0 0 var(--space-4);
}
.about-section-sub { font-size: var(--text-body-lg); color: var(--color-text-tertiary); line-height: 1.7; margin: 0; }
.about-section-head--left .about-eyebrow-wrap,
.about-section-head--left .about-section-sub { margin-inline: 0; }

/* ═══ 1 · HERO (dark) ═══════════════════════════════════════════════════ */
.about-hero {
  position: relative;
  margin-top: calc(-1 * var(--navbar-height));
  padding-top: calc(var(--navbar-height) + var(--space-16));
  padding-bottom: var(--space-24);
  background: linear-gradient(180deg, #ffffff 0%, #eef1f8 100%);
  overflow: hidden;
}
.about-hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.about-hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.about-hero__orb--1 { width: 520px; height: 520px; background: rgba(21, 67, 120, 0.10); top: -160px; right: -120px; }
.about-hero__orb--2 { width: 420px; height: 420px; background: rgba(21, 67, 120, 0.07); bottom: -180px; left: -100px; }
/* Blueprint grid — matches the service + homepage light heroes */
.about-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(21, 67, 120, 0.085) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 67, 120, 0.085) 1px, transparent 1px),
    linear-gradient(to right,  rgba(21, 67, 120, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(21, 67, 120, 0.038) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 88% 78% at 50% 34%, #000 22%, transparent 100%);
          mask-image: radial-gradient(ellipse 88% 78% at 50% 34%, #000 22%, transparent 100%);
}
.about-hero__grid::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21, 67, 120, 0.055), rgba(21, 67, 120, 0.055)),
    linear-gradient(rgba(21, 67, 120, 0.035), rgba(21, 67, 120, 0.035));
  background-size: 96px 96px, 96px 96px;
  background-position: 288px 192px, 480px 384px;
  background-repeat: no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 88% 78% at 50% 34%, #000 22%, transparent 100%);
          mask-image: radial-gradient(ellipse 88% 78% at 50% 34%, #000 22%, transparent 100%);
}
.about-hero__container { position: relative; z-index: 1; max-width: 820px; }

.about-breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); margin-bottom: var(--space-6); }
.about-breadcrumb a { color: rgba(21, 34, 66, 0.62); text-decoration: none; transition: color 180ms ease; }
.about-breadcrumb a:hover { color: var(--color-brand-900, #0b2543); }
.about-breadcrumb span[aria-current] { color: var(--color-brand-600); font-weight: 600; }
.about-breadcrumb__sep { color: rgba(21, 34, 66, 0.30); }

.about-hero__headline {
  font-size: clamp(1.95rem, 4vw, 3rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--color-brand-900, #0b2543); margin: 0 0 var(--space-5);
}
.about-hero__sub { font-size: var(--text-body-lg); color: rgba(21, 34, 66, 0.66); line-height: 1.7; max-width: 60ch; margin: 0 0 var(--space-8); }
.about-hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.about-hero .eyebrow { color: var(--color-brand-600); }
/* Hero stays light in both themes → keep its accent text on-brand */
:root[data-theme="dark"] .about-hero .about-hero__headline { color: #0b2543; }
:root[data-theme="dark"] .about-hero .about-hero__sub { color: rgba(21, 34, 66, 0.66); }
:root[data-theme="dark"] .about-hero .eyebrow { color: var(--color-brand-600); }

/* ═══ 2 · WHO WE ARE (white) ════════════════════════════════════════════ */
.about-intro { background: var(--color-bg); padding: var(--space-24) 0; }
.about-intro__split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-12);
  align-items: center; margin-bottom: var(--space-16);
}
.about-intro__eyebrow-wrap { margin-bottom: var(--space-4); }
.about-intro__headline {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--color-text-primary); margin: 0 0 var(--space-5);
}
.about-intro__copy p { font-size: var(--text-body); color: var(--color-text-tertiary); line-height: 1.8; margin: 0 0 var(--space-4); max-width: 52ch; }
.about-intro__tagline {
  font-weight: 600; font-style: italic; color: var(--color-text-secondary) !important;
  border-left: 2px solid var(--color-violet-500); padding-left: var(--space-4); margin-top: var(--space-6) !important;
}

/* Abstract engineering visual */
.about-intro__visual { display: flex; justify-content: center; }
.about-visual-card {
  position: relative; width: 100%; max-width: 400px; aspect-ratio: 4/3.4;
  border-radius: var(--radius-3xl); padding: var(--space-8);
  background: linear-gradient(150deg, #0c1f35 0%, #12233f 60%, #154378 100%);
  box-shadow: 0 30px 70px rgba(12,31,53,0.28); overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: var(--space-5);
}
.about-visual-card__glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(21, 67, 120,0.4), transparent 65%); filter: blur(30px); top: -40px; right: -30px; }
.about-visual-card__row { display: flex; gap: var(--space-2); position: relative; z-index: 1; }
.about-visual-chip { font-size: var(--text-xs); font-weight: 600; color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-full); padding: 4px var(--space-3); }
.about-visual-card__bars { display: flex; flex-direction: column; gap: var(--space-2); position: relative; z-index: 1; }
.about-visual-card__bars span { height: 8px; width: var(--w); border-radius: var(--radius-full); background: linear-gradient(to right, var(--color-brand-400), var(--color-violet-400)); }
.about-visual-card__mono { position: absolute; bottom: -20px; right: 8px; font-family: var(--font-display); font-weight: 800; font-size: 150px; color: rgba(255,255,255,0.05); line-height: 1; }

/* Highlight stats */
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.about-stat {
  background: var(--color-bg-subtle); border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); padding: var(--space-7);
  display: flex; flex-direction: column; gap: var(--space-1);
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}
.about-stat:hover { transform: translateY(-4px); border-color: rgba(21, 67, 120,0.24); box-shadow: 0 16px 36px rgba(21, 67, 120,0.10); }
.about-stat__num { font-size: clamp(var(--text-h3), 3.5vw, 44px); font-weight: 800; color: var(--color-brand-500); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.about-stat__suffix { color: var(--color-violet-500); }
.about-stat__label { font-size: var(--text-sm); color: var(--color-text-tertiary); font-weight: 500; }

/* ═══ 3 · CORE VALUES (subtle) ══════════════════════════════════════════ */
.about-values { background: var(--color-bg-subtle); padding: var(--space-24) 0; }

/* ── Core-values zigzag flow (infographic) ───────────────────────────── */
.cv-flow {
  list-style: none; margin: var(--space-16) 0 0; padding: 0;
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr);
  min-height: 360px; align-items: center;
}
/* Dashed baseline threaded through every disc centre */
.cv-flow__line {
  position: absolute; left: 7%; right: 7%; top: 50%;
  border-top: 2px dashed var(--color-border-strong);
  transform: translateY(-1px);
}

.cv-node { position: relative; height: 100%; }

/* The circular disc — absolutely centred on the baseline for every node */
.cv-node__disc {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 94px; height: 94px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  box-shadow: 0 8px 22px rgba(21, 67, 120, 0.08);
  transition: transform 340ms var(--ease-out), box-shadow 340ms ease;
  z-index: 2;
}
.cv-node__icon { color: var(--color-brand-500); display: flex; }

/* Coloured arc cap that hugs the disc — top for --top nodes, bottom for --bottom */
.cv-node__arc {
  position: absolute; left: -5px; right: -5px; height: 52px;
  border: 3px solid var(--cv, var(--color-brand-500));
  pointer-events: none;
}
.cv-node--top .cv-node__arc {
  top: -5px; border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.cv-node--bottom .cv-node__arc {
  bottom: -5px; border-top: 0;
  border-radius: 0 0 999px 999px;
}

/* Dashed stem from the disc out to the label, ending in a ring dot */
.cv-node__stem {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 0; border-left: 2px dashed var(--color-border-strong);
  height: 44px; z-index: 1;
}
.cv-node--top .cv-node__stem { bottom: calc(50% + 47px); }
.cv-node--bottom .cv-node__stem { top: calc(50% + 47px); }
.cv-node__stem::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--color-bg); border: 2px solid var(--cv, var(--color-brand-500));
}
.cv-node--top .cv-node__stem::after { top: -6px; }
.cv-node--bottom .cv-node__stem::after { bottom: -6px; }

/* Label block, offset above or below the baseline */
.cv-node__label {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: min(200px, 92%); text-align: center;
}
.cv-node--top .cv-node__label { bottom: calc(50% + 100px); }
.cv-node--bottom .cv-node__label { top: calc(50% + 100px); }
.cv-node__title {
  font-size: var(--text-body); font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--color-text-primary); margin: 0 0 var(--space-2);
}
.cv-node__desc { font-size: var(--text-xs); color: var(--color-text-tertiary); line-height: 1.6; margin: 0; }

/* Hover lifts the disc and warms its arc */
.cv-node__disc:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 16px 36px rgba(21, 67, 120, 0.18); }

/* Dark theme: lift contrast so discs, icons, arcs and dots stay legible */
:root[data-theme="dark"] .cv-node__disc {
  background: var(--color-surface); border-color: var(--color-border-strong);
}
:root[data-theme="dark"] .cv-node__icon { color: var(--color-brand-300); }
:root[data-theme="dark"] .cv-node__arc { filter: brightness(1.55) saturate(0.9); }
:root[data-theme="dark"] .cv-node__stem::after { background: var(--color-surface); filter: brightness(1.55); }

/* ═══ 4 · WHY CHOOSE (white) ════════════════════════════════════════════ */
.about-why { background: var(--color-bg); padding: var(--space-24) 0; }
.about-why__split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.about-why__list { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5) var(--space-6); }
.about-why__item { display: flex; gap: var(--space-3); align-items: flex-start; }
.about-why__check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(21, 67, 120,0.10); color: var(--color-brand-500); margin-top: 2px;
}
.about-why__item h3 { font-size: var(--text-body-sm); font-weight: 700; color: var(--color-text-primary); margin: 0 0 2px; }
.about-why__item p { font-size: var(--text-xs); color: var(--color-text-tertiary); line-height: 1.55; margin: 0; }

/* Dashboard mockup */
.about-why__visual { display: flex; justify-content: center; }
.about-dash {
  width: 100%; max-width: 440px; border-radius: var(--radius-2xl); overflow: hidden;
  background: var(--color-bg); border: 1px solid var(--color-border);
  box-shadow: 0 30px 70px rgba(12,31,53,0.14);
}
.about-dash__bar { display: flex; gap: 6px; padding: var(--space-3) var(--space-4); background: var(--color-bg-subtle); border-bottom: 1px solid var(--color-border); }
.about-dash__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border-strong); }
.about-dash__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-5); }
.about-dash__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.about-dash__kpi { background: var(--color-bg-subtle); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-4); display: flex; flex-direction: column; gap: 2px; }
.about-dash__kpi-num { font-size: var(--text-h4); font-weight: 800; color: var(--color-brand-500); letter-spacing: -0.02em; }
.about-dash__kpi-lbl { font-size: var(--text-xs); color: var(--color-text-tertiary); }
.about-dash__chart { display: flex; align-items: flex-end; gap: var(--space-2); height: 96px; padding: var(--space-3); background: var(--color-bg-subtle); border-radius: var(--radius-lg); }
.about-dash__chart span { flex: 1; height: var(--h); border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: linear-gradient(to top, var(--color-brand-600), var(--color-brand-400)); }
.about-dash__chart span:last-child { background: linear-gradient(to top, var(--color-violet-600), var(--color-violet-400)); }
.about-dash__lines { display: flex; flex-direction: column; gap: var(--space-2); }
.about-dash__lines span { height: 8px; border-radius: var(--radius-full); background: var(--color-bg-muted); }
.about-dash__lines span:nth-child(1) { width: 90%; } .about-dash__lines span:nth-child(2) { width: 70%; } .about-dash__lines span:nth-child(3) { width: 80%; }

/* ═══ 5 · TEAM (subtle) ═════════════════════════════════════════════════ */
.about-team { background: var(--color-bg-subtle); padding: var(--space-24) 0; }
.about-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); list-style: none; margin: 0; padding: 0; max-width: 960px; margin-inline: auto; }
.about-team-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); padding: var(--space-8); text-align: center;
  transition: transform 320ms var(--ease-out), box-shadow 320ms ease, border-color 320ms ease;
}
.about-team-card:hover { transform: translateY(-6px); border-color: rgba(21, 67, 120,0.24); box-shadow: 0 18px 44px rgba(21, 67, 120,0.10); }
.about-team-card__avatar {
  width: 72px; height: 72px; border-radius: var(--radius-2xl); margin: 0 auto var(--space-4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #fff;
  background: linear-gradient(145deg, var(--color-brand-500), var(--color-brand-700));
  box-shadow: 0 10px 24px rgba(21, 67, 120,0.30);
  position: relative; overflow: hidden;
}
.about-team-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.about-team-card__avatar--b { background: linear-gradient(145deg, #154378, #154378); box-shadow: 0 10px 24px rgba(21, 67, 120,0.30); }
.about-team-card__avatar--c { background: linear-gradient(145deg, #154378, #154378); box-shadow: 0 10px 24px rgba(21, 67, 120,0.24); }
.about-team-card__name { font-size: var(--text-h6); font-weight: 700; color: var(--color-text-primary); margin: 0 0 2px; }
.about-team-card__role { font-size: var(--text-sm); font-weight: 600; color: var(--color-brand-500); margin: 0 0 var(--space-3); }
.about-team-card__bio { font-size: var(--text-body-sm); color: var(--color-text-tertiary); line-height: 1.6; margin: 0 0 var(--space-5); }
.about-team-card__social {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: var(--radius-md); color: var(--color-text-tertiary);
  background: var(--color-bg-subtle); border: 1px solid var(--color-border);
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}
.about-team-card__social:hover { color: #fff; background: var(--color-brand-500); transform: translateY(-2px); }

/* ═══ 6 · FINAL CTA (dark) ══════════════════════════════════════════════ */
.about-cta { position: relative; overflow: hidden; padding: var(--space-24) 0; background: linear-gradient(150deg, #071322 0%, #0c1f35 55%, #154378 120%); }
.about-cta__bg { position: absolute; inset: 0; pointer-events: none; }
.about-cta__orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.about-cta__orb--1 { width: 460px; height: 460px; background: var(--color-brand-400); opacity: 0.18; top: -160px; left: -80px; }
.about-cta__orb--2 { width: 380px; height: 380px; background: var(--color-violet-500); opacity: 0.16; bottom: -160px; right: -60px; }
.about-cta__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; }
.about-cta__headline { font-size: clamp(1.625rem, 2.8vw, 2.375rem); font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; color: #fff; margin: 0 0 var(--space-5); }
.about-cta__accent { color: #6E93BE; }
.about-cta__sub { font-size: var(--text-body-lg); color: rgba(255,255,255,0.72); line-height: 1.7; max-width: 52ch; margin: 0 auto var(--space-8); }
.about-cta__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
.about-cta__primary { background: #fff; color: var(--color-brand-700); border: 1px solid #fff; }
.about-cta__primary:hover { background: rgba(255,255,255,0.9); color: var(--color-brand-800); }
.about-cta__secondary { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.about-cta__secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); color: #fff; }

/* ═══ Responsive ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-intro__split { grid-template-columns: 1fr; gap: var(--space-10); }
  .about-why__split   { grid-template-columns: 1fr; gap: var(--space-10); }
  .about-stats        { grid-template-columns: repeat(2, 1fr); }
}

/* Core-values flow → vertical timeline on smaller screens */
@media (max-width: 900px) {
  .cv-flow {
    display: flex; flex-direction: column; gap: var(--space-7);
    min-height: 0; margin-top: var(--space-10); padding-left: 0;
  }
  /* Vertical dashed line threaded through every disc centre (disc centre = 47px) */
  .cv-flow__line { left: 47px; right: auto; top: 10px; bottom: 10px; width: 0;
    border-top: 0; border-left: 2px dashed var(--color-border-strong); transform: none; }
  .cv-node { height: auto; min-height: 94px; position: relative;
    padding-left: 124px; display: flex; align-items: center; }
  .cv-node__disc { position: absolute; top: 50%; left: 0; transform: translateY(-50%); }
  .cv-node__disc:hover { transform: translateY(-50%) scale(1.06); }
  /* Arc caps read as a right-side half-ring in the vertical layout */
  .cv-node--top .cv-node__arc, .cv-node--bottom .cv-node__arc {
    top: -5px; bottom: -5px; left: auto; right: -5px; height: auto; width: 52px;
    border: 3px solid var(--cv, var(--color-brand-500)); border-left: 0;
    border-radius: 0 999px 999px 0;
  }
  .cv-node__stem { display: none; }
  .cv-node__label { position: static; transform: none; width: auto; text-align: left; }
  .cv-node--top .cv-node__label, .cv-node--bottom .cv-node__label { inset: auto; }
}
@media (max-width: 767px) {
  .about-hero { padding-bottom: var(--space-16); }
  .about-intro, .about-values, .about-why, .about-team, .about-cta { padding: var(--space-16) 0; }
  .about-why__list { grid-template-columns: 1fr; }
  .about-team__grid { grid-template-columns: 1fr; max-width: 380px; }
  .about-hero__actions .btn, .about-cta__actions .btn { width: 100%; }
}
@media (max-width: 479px) {
  .about-stats { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   TEAM GRID — designed 4:5 member cards (name/role are part of the artwork)
═══════════════════════════════════════════════════════════════════════ */
.team-grid {
  list-style: none; margin: var(--space-12) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  max-width: 1080px; margin-inline: auto;
}

/* Compact variant — smaller cards joined into one continuous strip, with
   only the outer corners (first + last) rounded. */
.team-grid--compact {
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  max-width: 940px;
}
.team-grid--compact .team-card__fig {
  border-radius: 0;
  border-inline-width: 0.5px;
}
.team-grid--compact .team-card:first-child .team-card__fig {
  border-start-start-radius: var(--radius-2xl);
  border-end-start-radius: var(--radius-2xl);
  border-inline-start-width: 1px;
}
.team-grid--compact .team-card:last-child .team-card__fig {
  border-start-end-radius: var(--radius-2xl);
  border-end-end-radius: var(--radius-2xl);
  border-inline-end-width: 1px;
}
/* Lift is per-strip rather than per-card — hover a card, it still reads as one unit */
.team-grid--compact .team-card__fig:hover { transform: translateY(-4px); z-index: 1; }

.team-card { margin: 0; }

.team-card__fig {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 30px rgba(21, 67, 120, 0.06);
  transition: transform 340ms var(--ease-out), box-shadow 340ms ease, border-color 340ms ease;
}
.team-card__fig:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 67, 120, 0.28);
  box-shadow: 0 26px 56px rgba(21, 67, 120, 0.16);
}

.team-card__img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.team-card__fig:hover .team-card__img { transform: scale(1.03); }

/* Founder gets a subtle brand ring so the lead reads first */
.team-card--lead .team-card__fig { border-color: rgba(21, 67, 120, 0.35); }

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; max-width: 380px; } }

/* Compact team grid keeps more columns for longer before collapsing.
   gap stays 0 so the strip reads as one joined unit at every width. */
@media (max-width: 920px) { .team-grid--compact { grid-template-columns: repeat(3, 1fr); max-width: 600px; gap: 0; } }
@media (max-width: 520px) { .team-grid--compact { grid-template-columns: repeat(2, 1fr); max-width: 360px; gap: 0; } }

/* ── How we work ─────────────────────────────────────────────────────── */
.about-how { padding: var(--space-24) 0; }
.about-how__steps {
  list-style: none; margin: var(--space-14) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6);
}
.about-how__step {
  position: relative;
  padding: var(--space-7) var(--space-6) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  transition: transform 340ms var(--ease-out), box-shadow 340ms ease, border-color 340ms ease;
}
.about-how__step:hover {
  transform: translateY(-6px);
  border-color: rgba(21, 67, 120, 0.24);
  box-shadow: 0 22px 48px rgba(21, 67, 120, 0.10);
}
.about-how__num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  line-height: 1; color: var(--color-brand-500); opacity: 0.28;
  display: block; margin-bottom: var(--space-4);
}
.about-how__title { font-size: var(--text-h5); font-weight: 700; color: var(--color-text-primary); margin: 0 0 var(--space-2); }
.about-how__desc { font-size: var(--text-body-sm); color: var(--color-text-tertiary); line-height: 1.65; margin: 0; }

@media (max-width: 900px) { .about-how__steps { grid-template-columns: repeat(2, 1fr); } .about-how { padding: var(--space-16) 0; } }
@media (max-width: 520px) { .about-how__steps { grid-template-columns: 1fr; } }

/* ── Founder ─────────────────────────────────────────────────────────── */
.about-founder { padding: var(--space-24) 0; background: var(--color-bg-subtle); }
.about-founder__split {
  display: grid; grid-template-columns: minmax(0, 360px) 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start;
}
.about-founder__media { margin: 0; position: sticky; top: calc(var(--navbar-height) + var(--space-8)); }
.about-founder__img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-3xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 26px 60px rgba(21, 67, 120, 0.16);
}
.about-founder__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem); font-weight: 800; line-height: 1.12;
  letter-spacing: -0.025em; color: var(--color-text-primary); margin: 0 0 var(--space-5);
}
.about-founder__copy p {
  font-size: var(--text-body); color: var(--color-text-secondary);
  line-height: 1.75; margin: 0 0 var(--space-4);
}
.about-founder__copy p em { color: var(--color-text-primary); font-style: italic; }
.about-founder__quote {
  margin: 0 0 var(--space-6); padding: var(--space-4) 0 var(--space-4) var(--space-6);
  border-left: 3px solid var(--color-brand-500);
  font-family: 'Instrument Serif', Georgia, serif; font-style: italic;
  font-size: var(--text-h5); line-height: 1.4; color: var(--color-text-primary);
}

/* Three commitments */
.about-founder__commit { list-style: none; margin: var(--space-6) 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.about-founder__commit li { display: flex; gap: var(--space-3); align-items: flex-start; }
.about-founder__commit-ic {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(21, 67, 120, 0.10); color: var(--color-brand-500);
}
.about-founder__commit li div { font-size: var(--text-body-sm); color: var(--color-text-secondary); line-height: 1.65; }
.about-founder__commit li strong { color: var(--color-text-primary); font-weight: 700; }

/* Callout */
.about-founder__callout {
  margin: var(--space-6) 0; padding: var(--space-5) var(--space-6);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-brand-500); border-radius: var(--radius-lg);
  font-size: var(--text-body); font-weight: 600; color: var(--color-text-primary); line-height: 1.6;
}

/* Signature */
.about-founder__sign { display: flex; flex-direction: column; margin: var(--space-6) 0 0; }
.about-founder__name { font-family: var(--font-display); font-size: var(--text-h6); font-weight: 800; color: var(--color-text-primary); line-height: 1.2; }
.about-founder__role { font-size: var(--text-body-sm); font-weight: 600; letter-spacing: 0.02em; color: var(--color-brand-500); }

.about-founder__actions { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-3); }
.about-founder__linkedin { display: inline-flex; align-items: center; gap: var(--space-2); }

@media (max-width: 820px) {
  .about-founder { padding: var(--space-16) 0; }
  .about-founder__split { grid-template-columns: 1fr; gap: var(--space-8); }
  .about-founder__media { position: static; max-width: 300px; }
  .about-founder__actions .btn { flex: 1 1 auto; justify-content: center; }
}
