/* bluebone.ai site styles
   Brand tokens: blue #327DFF, near-black #00071F, pale blue #EBF3F7, grey #5E6B64.
   Type: Outfit (display), Poppins (text). All colors come from the tokens below. */

@font-face { font-family: "Outfit"; src: url("/assets/fonts/outfit-latin.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* brand */
  --blue: #327DFF;
  --ink: #00071F;
  --pale: #EBF3F7;
  --grey: #5E6B64;
  --white: #FFFFFF;

  /* derived */
  --blue-strong: color-mix(in srgb, var(--blue) 82%, var(--ink));
  --blue-soft: color-mix(in srgb, var(--blue) 14%, var(--white));
  --ink-80: color-mix(in srgb, var(--ink) 80%, var(--white));
  --line: color-mix(in srgb, var(--ink) 10%, transparent);
  --line-strong: color-mix(in srgb, var(--ink) 18%, transparent);
  --surface: var(--white);
  --surface-alt: var(--pale);
  --on-dark: var(--white);
  --on-dark-muted: color-mix(in srgb, var(--white) 68%, var(--ink));
  --on-dark-line: color-mix(in srgb, var(--white) 14%, transparent);
  --live: color-mix(in srgb, var(--blue) 40%, #7BE3B5);
  --action: #1B63E0; /* deeper brand blue so white button text stays readable */
  --hover: color-mix(in srgb, var(--ink) 5%, transparent);

  /* type */
  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 56px;
  --shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent), 0 8px 24px color-mix(in srgb, var(--ink) 6%, transparent);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.center .btn { margin-inline: auto; }

/* ---------- type scale ---------- */
.display-1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 400; line-height: 1.02; letter-spacing: -0.035em; }
.display-2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.06; letter-spacing: -0.03em; }
.display-3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; }
.lead { font-size: 1.0625rem; color: var(--grey); max-width: 60ch; }
.center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 20px; padding: 5px 14px;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink-80); background: var(--pale);
  border: 1px solid var(--line); border-radius: 999px;
}
.eyebrow--dark { color: var(--on-dark); background: color-mix(in srgb, var(--white) 8%, transparent); border-color: var(--on-dark-line); backdrop-filter: blur(8px); }
.eyebrow--dark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 25%, transparent); }

.tag { display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; color: var(--blue-strong); background: var(--blue-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font: 500 0.9375rem/1.2 var(--font-text);
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--action); color: var(--white); box-shadow: 0 6px 18px color-mix(in srgb, var(--action) 28%, transparent); }
.btn--primary:hover { background: color-mix(in srgb, var(--action) 86%, var(--ink)); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { background: var(--pale); }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--blue); }

/* ---------- header (56px bar, mega menus, frosted glass) ---------- */
.hdr { position: sticky; top: 0; z-index: 500; height: var(--header-h); }
.page-home .hdr { margin-bottom: calc(-1 * var(--header-h)); }

.hdr__backdrop {
  position: fixed; inset: 0; z-index: 1;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .33s, visibility .33s;
}
.hdr__panel {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  padding: 120px 0 64px;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: inset 0 -1px 0 var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .33s, transform .33s, visibility .33s;
}
.hdr.is-open .hdr__backdrop { opacity: 1; visibility: visible; }
.hdr.is-open .hdr__panel { opacity: 1; visibility: visible; transform: none; }

.hdr__bar {
  position: relative; z-index: 3; height: var(--header-h); padding: 0 32px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background-color .33s, border-color .33s, color .33s;
}
.hdr:not(.is-open) .hdr__bar {
  background: color-mix(in srgb, var(--white) 62%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.hdr.on-dark:not(.is-open) .hdr__bar {
  --hover: color-mix(in srgb, var(--white) 14%, transparent);
  color: var(--white);
  background: color-mix(in srgb, var(--ink) 28%, transparent);
  border-bottom-color: color-mix(in srgb, var(--white) 12%, transparent);
}

.hdr__brand { justify-self: start; display: flex; align-items: center; padding: 0 16px; }
.hdr__logo { display: block; width: 120px; height: auto; }
.hdr__logo--white { display: none; }
.hdr.on-dark:not(.is-open) .hdr__logo--blue { display: none; }
.hdr.on-dark:not(.is-open) .hdr__logo--white { display: block; }

.hdr__nav { display: flex; align-items: center; }
.hdr__item {
  display: inline-flex; align-items: center; height: 32px; padding: 4px 16px;
  border: 0; border-radius: 4px; background: transparent; color: inherit;
  font: 500 14px/24px var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color .33s;
}
.hdr__item:hover, .hdr__item[aria-expanded="true"], .hdr__item[aria-current="page"] { background: var(--hover); }

.hdr__icons { justify-self: end; display: flex; gap: 4px; padding: 0 16px; }
.hdr__icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: inherit; cursor: pointer; transition: background-color .33s;
}
.hdr__icon .icon { width: 24px; height: 24px; }
.hdr__icon:hover { background: var(--hover); }
.hdr__icon::after, .hdr__menu-btn::after { content: ""; position: absolute; inset: -6px; }
.hdr__menu-btn {
  position: relative; display: none; align-items: center; height: 32px; padding: 4px 16px;
  border: 0; border-radius: 4px; background: var(--hover); color: inherit;
  font: 500 14px/24px var(--font-text); cursor: pointer;
}

.hdr__panel-inner { max-width: 1168px; margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; }
.hdr__panel-inner[hidden] { display: none; }
.tiles { flex: 0 1 840px; min-width: 0; padding-right: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 184px)); column-gap: 16px; row-gap: 28px; align-content: start; }
.tile { text-align: center; }
.tile__img { display: flex; align-items: center; justify-content: center; height: 104px; border-radius: 4px; background: var(--pale); color: var(--blue); overflow: hidden; }
.glyph { width: 184px; height: 104px; max-width: 100%; }
.tile__title { margin: 12px 0 0; font: 500 17px/24px var(--font-text); }
.tile__links { display: flex; justify-content: center; gap: 16px; margin: 6px 0 0; font: 400 14px/16px var(--font-text); }
.tile__links a { color: var(--grey); text-decoration: underline; text-underline-offset: 2px; }
.tile__links a:hover { color: var(--ink); }
.hdr__side { flex: 0 0 280px; border-left: 1px solid var(--line); padding: 2px 0 0 56px; }
.hdr__side a { display: block; font: 500 14px/32px var(--font-text); text-decoration: none; }
.hdr__side a:hover { color: var(--action); }

/* mobile full-screen menu */
.mmenu { position: fixed; inset: 0; z-index: 600; overflow-y: auto; background: var(--white); color: var(--ink); }
.mmenu[hidden] { display: none; }
.mmenu__top { height: 64px; display: flex; align-items: center; padding: 0 12px; }
.mmenu__top .hdr__icon { width: 40px; height: 40px; }
.mmenu__close { margin-left: auto; }
.mmenu__back[hidden] { display: none; }
.mmenu__view { padding: 8px 0 32px; }
.mmenu__view[hidden] { display: none; }
.m-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; height: 72px;
  padding: 0 20px 0 28px; border: 0; background: transparent; color: inherit;
  font: 500 17px/24px var(--font-text); text-align: left; text-decoration: none; cursor: pointer;
}
.m-row .icon { width: 24px; height: 24px; }
.m-row:hover, .m-util:hover { background: var(--hover); }
.m-sub { display: flex; align-items: center; width: 100%; height: 56px; padding: 0 28px; font: 500 17px/24px var(--font-text); text-decoration: none; }
.m-sub-2 { display: flex; align-items: center; width: 100%; height: 48px; padding: 0 28px; color: var(--grey); font: 400 15px/24px var(--font-text); text-decoration: none; }
.mmenu__utils { padding: 16px 0 24px; }
.m-util { display: flex; align-items: center; gap: 20px; width: 100%; height: 72px; padding: 0 28px 0 24px; font: 500 15px/24px var(--font-text); text-decoration: none; }
.m-util .icon { width: 24px; height: 24px; }
.m-rule { height: 1px; margin: 12px 28px; background: var(--line); }

@media (max-width: 1023px) {
  .hdr__nav, .hdr__icons, .hdr__panel, .hdr__backdrop { display: none; }
  .hdr__menu-btn { display: inline-flex; }
  .hdr__bar { display: flex; justify-content: space-between; padding: 0 20px; }
  .hdr__brand { padding: 0; }
}
@media (min-width: 1024px) { .mmenu { display: none !important; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }
.section--first { padding-block: clamp(56px, 8vw, 104px) clamp(72px, 10vw, 128px); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .display-2 { margin-bottom: 16px; }

.page-hero { padding-block: clamp(64px, 9vw, 120px) clamp(32px, 5vw, 56px); }
.page-hero .display-1 { margin-bottom: 18px; }
.page-hero--article .display-1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.page-hero--404 { min-height: 60vh; display: grid; align-items: center; }
.page-hero--404 .lead { margin-bottom: 28px; }
.meta { color: var(--grey); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.link-back { display: inline-flex; margin-bottom: 20px; font-size: 0.875rem; color: var(--grey); text-decoration: none; }
.link-back::before { content: "\2190"; margin-right: 8px; }
.link-back:hover { color: var(--blue); }

/* ---------- hero (full bleed under the glass header) ---------- */
.hero {
  position: relative; min-height: 600px;
  padding: calc(var(--header-h) + 72px) 24px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--white);
}
.hero .eyebrow { margin-bottom: 20px; }
.hero__title { margin: 0; max-width: 760px; font: 500 clamp(32px, 3.6vw, 44px)/1.15 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; }
.hero__lead { margin: 16px 0 0; max-width: 560px; font: 400 17px/1.5 var(--font-text); color: color-mix(in srgb, var(--white) 80%, transparent); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero__cta .btn { min-width: 200px; }
.btn--glass {
  background: color-mix(in srgb, var(--white) 16%, transparent); color: var(--white);
  border-color: color-mix(in srgb, var(--white) 28%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: color-mix(in srgb, var(--white) 26%, transparent); }
.hero__stats { margin-top: auto; padding-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__stats li {
  min-width: 150px; padding: 10px 16px; text-align: left;
  border: 1px solid color-mix(in srgb, var(--white) 18%, transparent); border-radius: 4px;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 14%, transparent);
}
.hero__stats span { display: block; font: 400 12px/16px var(--font-text); color: color-mix(in srgb, var(--white) 70%, transparent); }
.hero__stats strong { display: block; font: 500 16px/24px var(--font-display); }
.hero__stats .is-live { color: var(--live); }
.hero__title { max-width: 900px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.025em; }
.hero__accent { color: color-mix(in srgb, var(--blue) 75%, var(--white)); }
.hero__lead { max-width: 640px; }
.hero__stats--metrics { gap: 0; padding-top: 56px; width: 100%; max-width: 980px; }
.hero__stats--metrics li { flex: 1 1 0; min-width: 130px; border-radius: 0; border-right-width: 0; text-align: left; padding: 16px 18px; }
.hero__stats--metrics li:first-child { border-radius: 6px 0 0 6px; }
.hero__stats--metrics li:last-child { border-radius: 0 6px 6px 0; border-right-width: 1px; }
.hero__stats--metrics strong { font: 400 clamp(24px, 2.6vw, 32px)/1 var(--font-display); letter-spacing: -0.02em; }
.hero__stats--metrics span { margin-top: 8px; }
@media (max-width: 760px) {
  .hero__stats--metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero__stats--metrics li, .hero__stats--metrics li:first-child, .hero__stats--metrics li:last-child { border-radius: 6px; border-right-width: 1px; min-width: 0; }
  .hero__stats--metrics li:first-child { grid-column: 1 / -1; }
}

/* ---------- section scaffolding ---------- */
.section--alt { background: var(--pale); }
.sec-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .display-2, .sec-head .display-1 { margin: 0; }
.sec-head .lead { margin: 0; }
.sec-head--hero { margin-bottom: 0; }
.page-hero .sec-head--hero .display-1 { font-size: clamp(2.5rem, 5.4vw, 4rem); }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; align-items: start; } }
.lead--strong { color: var(--ink) !important; font-weight: 500; font-size: 1.125rem; }
.kicker { margin: 0 0 10px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--action); }
.note { margin: 24px 0 0; max-width: 72ch; color: var(--grey); }
.source { margin: 16px 0 0; font-size: 0.8125rem; color: var(--grey); }
.source a { color: var(--action); }
.section-link { margin: 36px 0 0; }
.link-arrow { text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }
.split .display-2 { margin-bottom: 20px; }

/* ---------- cards & grids ---------- */
.card { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); }
.card--white { background: var(--white); }
.card p { color: var(--grey); margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.grid-3 > .card, .grid-2 > .card { display: flex; flex-direction: column; }
.meta-row { display: flex; gap: 24px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.grid-3 .card p + .meta-row { margin-top: 20px; }
.meta-row div { display: flex; gap: 8px; align-items: baseline; }
.meta-row dt { font-size: 0.75rem; color: var(--grey); }
.meta-row dd { margin: 0; font-size: 0.875rem; font-weight: 500; color: var(--action); }

/* ---------- why this exists ---------- */
.bigstats { display: grid; gap: 16px; }
.bigstat { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.bigstat strong { display: block; font: 400 clamp(3.5rem, 7vw, 5.5rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--white); }
.bigstat span { display: block; margin-top: 10px; color: var(--on-dark-muted); }
.bigstat--muted { background: var(--pale); color: var(--ink); border: 1px solid var(--line); }
.bigstat--muted strong { color: var(--action); }
.bigstat--muted span { color: var(--grey); }

/* ---------- practice + industry tiles ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { display: block; padding: 12px 12px 20px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.svc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.svc .tile__img { height: 120px; border-radius: var(--radius-sm); }
.svc__n { margin: 16px 8px 4px; font-size: 0.8125rem; font-weight: 500; color: var(--action); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- stage list (home) ---------- */
.stage-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.stage-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.stage-list span { font-size: 0.8125rem; font-weight: 500; color: var(--action); }
.stage-list b { font: 400 clamp(1.25rem, 2vw, 1.5rem)/1.25 var(--font-display); letter-spacing: -0.015em; }
.stage-list em { font-style: normal; font-size: 0.875rem; color: var(--grey); white-space: nowrap; }
@media (max-width: 600px) { .stage-list li { grid-template-columns: 36px 1fr; } .stage-list em { grid-column: 2; white-space: normal; } }

/* ---------- capability rows (services) ---------- */
.caps { display: grid; gap: 16px; }
.cap { display: grid; grid-template-columns: 200px minmax(0, 1fr) 240px; gap: clamp(20px, 3vw, 40px); align-items: start; padding: clamp(20px, 2.6vw, 28px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); scroll-margin-top: calc(var(--header-h) + 24px); }
.cap__glyph { height: 112px; border-radius: var(--radius-sm); }
.cap__body p { color: var(--grey); margin: 0; max-width: 60ch; }
.cap__body .kicker { margin-bottom: 6px; }
.taglist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-content: start; }
.taglist li { padding: 5px 12px; border-radius: 999px; font-size: 0.8125rem; color: var(--ink-80); background: var(--pale); border: 1px solid var(--line); }
.taglist--row { margin: 20px 0; }
@media (max-width: 960px) { .cap { grid-template-columns: 160px minmax(0, 1fr); } .cap .taglist { grid-column: 2; } }
@media (max-width: 640px) { .cap { grid-template-columns: 1fr; } .cap .taglist { grid-column: auto; } .cap__glyph { height: 96px; } }

/* ---------- engagement timeline (approach) ---------- */
.gantt-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: clamp(18px, 2.6vw, 28px); }
.gantt { min-width: 680px; }
.gantt__ruler, .gantt__track { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; align-items: center; }
.gantt__ruler { padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); align-items: end; }
.gantt__label { font-size: 0.75rem; color: var(--grey); }
.gantt__scale { display: grid; grid-template-columns: repeat(20, 1fr); font-size: 0.75rem; color: var(--grey); }
.gantt__scale span { grid-column: span 4; border-left: 1px solid var(--line); padding-left: 6px; }
.gantt__scale span:first-child { border-left: 0; padding-left: 0; }
.gantt__track { padding-block: 14px; border-bottom: 1px solid var(--line); }
.gantt__track:last-child { border-bottom: 0; }
.gantt__name b { display: block; font-weight: 500; font-size: 0.9375rem; }
.gantt__name span { font-size: 0.75rem; color: var(--grey); }
.gantt__lane { display: grid; grid-template-columns: repeat(20, 1fr); height: 30px; }
.gantt__bar { display: flex; align-items: center; padding-inline: 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 500; white-space: nowrap; background: var(--blue-soft); color: var(--action); font-variant-numeric: tabular-nums; }
.gantt__bar--solid { background: var(--ink); color: var(--white); }
.gantt__bar--open { background: transparent; color: var(--grey); border: 1px dashed var(--line-strong); }
.gantt__bar--s1 { grid-column: 1 / 4; }
.gantt__bar--s2 { grid-column: 4 / 10; }
.gantt__bar--s3 { grid-column: 8 / 20; }
.gantt__bar--s4 { grid-column: 11 / 21; }

.rows { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 160px; gap: clamp(16px, 3vw, 40px); align-items: start; padding-block: 28px; border-bottom: 1px solid var(--line); }
.row__n { font-size: 0.8125rem; font-weight: 500; color: var(--action); padding-top: 6px; }
.row p { margin: 0; color: var(--grey); max-width: 62ch; }
.row__meta { display: grid; gap: 4px; padding-top: 6px; }
.row__meta b { font-weight: 500; color: var(--ink) !important; }
.row__meta span { font-size: 0.8125rem; }
@media (max-width: 760px) { .row { grid-template-columns: 36px 1fr; } .row__meta { grid-column: 2; } }

/* ---------- prioritization matrix (approach) ---------- */
.matrix-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .matrix-wrap { grid-template-columns: 1fr; } }
.matrix-fig { margin: 0; }
.axis-top { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 0.75rem; color: var(--grey); }
.axis-top::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.matrix { position: relative; aspect-ratio: 1 / 0.82; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.matrix__q { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.matrix__q > div { position: relative; border-right: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.matrix__q > div:nth-child(2n) { border-right: 0; }
.matrix__q > div:nth-child(n+3) { border-bottom: 0; }
.matrix__q > div:nth-child(2) { background: color-mix(in srgb, var(--blue) 5%, transparent); }
.matrix__q em { position: absolute; bottom: 10px; left: 12px; font-style: normal; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--grey); }
.matrix__q > div:nth-child(2n) em { left: auto; right: 12px; }
.dot { position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap; transform: translate(-6px, -50%); }
.dot b { width: 11px; height: 11px; flex: none; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.dot span { font-size: 0.8125rem; font-weight: 500; }
.dot--hot b { background: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 12%, transparent); }
.dot--cool b { background: var(--white); border: 1.5px solid var(--grey); box-shadow: none; }
.dot--flip { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
.d1 { left: 74%; top: 15%; } .d2 { left: 85%; top: 28%; } .d3 { left: 60%; top: 37%; } .d4 { left: 31%; top: 20%; }
.d5 { left: 26%; top: 37%; } .d6 { left: 80%; top: 62%; } .d7 { left: 66%; top: 71%; } .d8 { left: 34%; top: 81%; }
.dot::after { content: attr(data-n); display: none; font-size: 0.6875rem; color: var(--grey); font-variant-numeric: tabular-nums; }
.axis-x { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 0.75rem; color: var(--grey); }
.matrix-key { display: none; }
@media (max-width: 660px) {
  .dot span { display: none; }
  .dot::after { display: block; }
  .dot--flip { flex-direction: row; transform: translate(-6px, -50%); }
  .axis-x span:nth-child(2) { display: none; }
  .matrix-key { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 16px 0 0; padding-left: 20px; font-size: 0.8125rem; color: var(--grey); }
}
.legend p { color: var(--grey); margin: 0 0 16px; }
.legend ul { display: grid; gap: 12px; margin: 0 0 16px; padding: 16px 0 0; border-top: 1px solid var(--line-strong); }
.legend li { display: flex; gap: 10px; align-items: baseline; font-size: 0.9375rem; color: var(--grey); }
.legend li b { color: var(--ink); font-weight: 500; }
.legend li i { width: 11px; height: 11px; flex: none; border-radius: 50%; transform: translateY(1px); }
.legend__a { background: var(--ink); }
.legend__b { background: var(--blue); }
.legend__c { border: 1.5px solid var(--grey); }
.legend__note { font-size: 0.875rem; }

/* ---------- about ---------- */
.prose p { color: var(--grey); }
.prose .display-2 { margin-bottom: 24px; }
.metric-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.metric-stack li { padding: 20px; border-radius: var(--radius); background: var(--pale); border: 1px solid var(--line); }
.metric-stack li:first-child { grid-column: 1 / -1; background: var(--ink); color: var(--white); border-color: var(--ink); }
.metric-stack strong { display: block; font: 400 clamp(2rem, 3.4vw, 2.75rem)/1 var(--font-display); letter-spacing: -0.03em; }
.metric-stack span { display: block; margin-top: 8px; font-size: 0.8125rem; color: var(--grey); }
.metric-stack li:first-child span { color: var(--on-dark-muted); }

.founder { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.founder__photo { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); }
.founder__links { display: flex; gap: 8px; }
.founder__links a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); transition: background-color .15s, color .15s; }
.founder__links a:hover { background: var(--action); color: var(--white); border-color: var(--action); }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* ---------- long-form prose ---------- */
.prose--article { padding-bottom: clamp(24px, 4vw, 48px); font-size: 1.0625rem; }
.prose--article h2 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin: 2em 0 0.6em; }
.prose--article ul { margin: 0 0 1em; padding-left: 1.25em; list-style: disc; color: var(--grey); }
.prose--article li { margin-bottom: 0.4em; }
.prose--article li::marker { color: var(--blue); }
.prose--article li strong { color: var(--ink); }
.prose--article a { color: var(--blue); }

/* ---------- contact ---------- */
.contact-list { display: grid; gap: 10px; margin-top: 32px; color: var(--grey); }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--blue); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.form { display: grid; gap: 18px; }
.form__field { display: grid; gap: 6px; }
.form label { font-size: 0.875rem; font-weight: 500; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px;
  font: 400 1rem/1.4 var(--font-text); color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.form [aria-invalid="true"] { border-color: var(--blue-strong); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue-strong) 15%, transparent); }
.form__note { margin: 0; font-size: 0.8125rem; color: var(--grey) !important; text-align: center; }

/* ---------- CTA (dark card with contact rows) ---------- */
.cta {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: end;
  padding: clamp(32px, 5vw, 64px);
  background: var(--ink); color: var(--white); border-radius: var(--radius-lg);
  background-image: radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--blue) 30%, transparent), transparent 60%);
}
.cta .display-2 { margin-bottom: 18px; max-width: 18ch; }
.cta__lead { margin: 0 0 28px; color: var(--on-dark-muted); max-width: 54ch; }
.cta__contact { border-top: 1px solid var(--on-dark-line); }
.crow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 20px; padding-block: 16px; border-bottom: 1px solid var(--on-dark-line); text-decoration: none; }
.crow span { font-size: 0.8125rem; color: var(--on-dark-muted); }
.crow b { font-weight: 500; font-size: 1rem; color: var(--white); transition: color .15s; }
.crow:hover b { color: color-mix(in srgb, var(--blue) 70%, var(--white)); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; align-items: start; } }

/* ---------- footer ---------- */
.site-footer { margin: 0 12px 12px; padding-top: clamp(48px, 7vw, 80px); background: var(--ink); color: var(--on-dark); border-radius: var(--radius-lg); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; }
.site-footer__logo { width: 148px; height: auto; margin-bottom: 14px; }
.site-footer__tagline { color: var(--on-dark-muted); margin-bottom: 20px; }
.site-footer__contact { display: flex; align-items: center; gap: 8px; }
.site-footer__contact a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--on-dark-line); color: var(--on-dark); text-decoration: none; transition: background-color .15s; }
.site-footer__contact a:hover { background: color-mix(in srgb, var(--white) 10%, transparent); }
.site-footer__phone { padding-inline: 14px; font-size: 0.875rem; }
.site-footer__cols { display: flex; gap: clamp(40px, 8vw, 96px); }
.site-footer__heading { font-size: 1.125rem; margin-bottom: 16px; font-weight: 500; }
.site-footer__cols li { margin-bottom: 10px; }
.site-footer__cols a { color: var(--on-dark-muted); text-decoration: none; font-size: 0.9375rem; }
.site-footer__cols a:hover { color: var(--on-dark); }
.site-footer__legal { padding-block: 24px; border-top: 1px solid var(--on-dark-line); font-size: 0.8125rem; color: var(--on-dark-muted); }
.site-footer__legal p { margin: 0; }

/* ---------- small-screen refinements ---------- */
@media (max-width: 600px) {
  .hero { min-height: 560px; padding-top: calc(var(--header-h) + 48px); }
  .site-footer { margin: 0 8px 8px; }
  .site-footer__cols { gap: 48px; }
}
.section--first .display-1 { margin-bottom: 20px; }
.section--first .lead { margin-bottom: 28px; }

/* ---------- process steps (services, approach) ---------- */
.section--flush { padding-top: 0; }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.process li { position: relative; padding: 20px; border-radius: var(--radius-lg); background: var(--pale); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 30px; right: -12px; width: 12px; height: 1px; background: var(--line-strong); }
.process span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--action); color: var(--white); font-size: 0.75rem; font-weight: 500; }
.process li:last-child { background: var(--ink); border-color: var(--ink); }
.process li:last-child h3 { color: var(--white); }
.process li:last-child p { color: var(--on-dark-muted); }
@media (max-width: 1080px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } .process li::after { display: none; } }
@media (max-width: 700px) { .process { grid-template-columns: 1fr; } }
#process { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- CTA contact rows: button + LinkedIn ---------- */
.crow--action { align-items: center; }
.crow--action .btn { min-width: 0; }
.crow__social { display: inline-flex; align-items: center; gap: 10px; }
.social-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: color-mix(in srgb, var(--white) 10%, transparent); border: 1px solid var(--on-dark-line); color: var(--white); transition: background-color .15s, border-color .15s; }
.social-icon .icon { width: 16px; height: 16px; }
.crow:hover .social-icon { background: var(--action); border-color: var(--action); }


/* ==========================================================================
   Consistency layer: one type scale for every card, panel and tile
   ========================================================================== */
:root {
  --fs-h3: clamp(1.1875rem, 1.5vw, 1.375rem);   /* card and row titles */
  --fs-h4: 1.0625rem;                            /* small tile titles */
  --fs-body-card: 0.9375rem;                     /* text in cards and rows */
  --fs-body-tile: 0.875rem;                      /* text in small tiles */
}
.lead { font-size: 1.0625rem; line-height: 1.6; }
.section-link { margin: 32px 0 0; }

/* titles */
.card h3, .ind-card h3, .cap__body h2, .row h3, .legend h3 {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h3);
  line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 8px;
}
.svc h3, .process h3, .panel-dark__list b {
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4);
  line-height: 1.3; letter-spacing: -0.005em; margin: 0 0 6px;
}

/* body text */
.card p, .ind-card p, .cap__body p, .row p { font-size: var(--fs-body-card); line-height: 1.6; color: var(--grey); margin: 0; }
.svc p:not(.svc__n), .process p, .panel-dark__list span { font-size: var(--fs-body-tile); line-height: 1.55; }

/* numbered labels, all the same */
.kicker, .svc__n, .row__n, .stage-list span { font-size: 0.8125rem; font-weight: 500; color: var(--action); letter-spacing: 0.02em; }

/* practice tiles */
.svc { display: flex; flex-direction: column; }
.svc__n { margin: 16px 8px 6px; }
.svc h3 { margin: 0 8px 6px; }
.svc p:not(.svc__n) { margin: 0 8px; color: var(--grey); }

/* industry cards: one format */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind-card {
  display: flex; flex-direction: column; padding: 12px 12px 22px;
  border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.ind-card .tile__img { height: 104px; border-radius: var(--radius-sm); margin-bottom: 18px; }
.ind-card h3, .ind-card p { margin-left: 10px; margin-right: 10px; }
.ind-card__tags { list-style: none; margin: auto 10px 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ind-card__tags li { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; color: var(--ink-80); background: var(--pale); border: 1px solid var(--line); }
.ind-card--also { background: transparent; border-style: dashed; }
.ind-card--also .tile__img { background: var(--white); }
@media (max-width: 1000px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ind-grid { grid-template-columns: 1fr; } }

/* origin panel (home) */
.origin {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-bottom: 16px;
  padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); color: var(--white);
  background: var(--ink) radial-gradient(80% 140% at 100% 0%, color-mix(in srgb, var(--blue) 28%, transparent), transparent 60%);
}
.origin .eyebrow { margin: 0; white-space: nowrap; }
.origin__text { margin: 0; font: 400 clamp(1.25rem, 2.1vw, 1.5rem)/1.35 var(--font-display); letter-spacing: -0.01em; }
.origin__sub { margin: 12px 0 0; max-width: 72ch; color: var(--on-dark-muted); font-size: var(--fs-body-card); }
@media (max-width: 760px) { .origin { grid-template-columns: 1fr; } .origin .eyebrow { justify-self: start; } }

/* shared dark panel (delivery model, extension of your team) */
.panel-dark {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: start;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: var(--white);
  background: var(--ink) radial-gradient(80% 120% at 0% 100%, color-mix(in srgb, var(--blue) 26%, transparent), transparent 60%);
}
.panel-dark__title { margin: 0 0 14px; font: 400 clamp(1.625rem, 2.8vw, 2.25rem)/1.12 var(--font-display); letter-spacing: -0.025em; }
.panel-dark__lead { margin: 0; color: var(--on-dark-muted); font-size: 1.0625rem; }
.panel-dark__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.panel-dark__list li { padding: 18px; border-radius: var(--radius); background: color-mix(in srgb, var(--white) 6%, transparent); border: 1px solid var(--on-dark-line); }
.panel-dark__list b { display: block; color: var(--white); }
.panel-dark__list span { display: block; color: var(--on-dark-muted); }
#delivery, #your-stack, #process, #sequence, #prioritization, #principles { scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .panel-dark { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .panel-dark__list { grid-template-columns: 1fr; } }

/* process steps */
.process li { display: flex; flex-direction: column; }
.process h3 { margin-top: 14px; }

/* capability rows and stage rows share spacing */
.cap__body .kicker { margin-bottom: 6px; }
.row h3 { margin-bottom: 8px; }
.legend h3 { margin-bottom: 14px; }

/* Services practice-area glyph boxes: fill the card height on desktop, never clip the icon */
.glyph { height: auto; aspect-ratio: 184 / 104; }
.cap__glyph { align-self: stretch; height: auto; min-height: 120px; }
@media (max-width: 960px) { .cap__glyph { align-self: start; height: 120px; min-height: 0; } }
@media (max-width: 640px) { .cap__glyph { height: 120px; } }

/* ==========================================================================
   Responsive polish pass
   ========================================================================== */
/* headings and labels break cleanly */
.display-2 .line { display: block; }
.hero__stats span, .metric-stack span, .bigstat span, .ind-card p, .card p { text-wrap: pretty; }
.hero__stats--metrics span, .metric-stack span { text-wrap: balance; }

/* numbered labels stay blue inside cards (card p was overriding) */
.card .kicker, .cap__body .kicker { color: var(--action); }

/* white section followed by the CTA: drop the doubled gap */
.section:not(.section--alt) + #contact { padding-top: 0; }

/* contact rows: label left, value right, on every width */
.crow { flex-wrap: nowrap; align-items: center; }
.crow > span:first-child { flex: none; }

/* origin panel: label on top, copy below */
.origin { grid-template-columns: 1fr; gap: 16px; align-items: start; }
.origin .eyebrow { justify-self: start; }
.origin__text { max-width: 44ch; }

/* founder header: role sits under the name */
.sec-head--stack { display: block; }
.sec-head--stack .display-2 { margin: 0 0 8px; }
.sec-head--stack .lead { color: var(--grey); }
@media (max-width: 860px) {
  .founder__photo { aspect-ratio: 4 / 3; object-position: 50% 25%; }
}

/* footer: legal rule aligns with content; location drops to its own line on phones */
.site-footer__legal { border-top: 0; padding-block: 0; }
.site-footer__legal p { padding-block: 24px; border-top: 1px solid var(--on-dark-line); }
.site-footer__loc::before { content: "\00B7"; margin: 0 8px 0 2px; }

/* process: 5 across on wide screens, 2 + full-width outcome on tablets */
@media (min-width: 901px) and (max-width: 1080px) {
  .process { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .process li { padding: 16px; }
  .process li::after { display: none; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process li:last-child { grid-column: 1 / -1; }
}

/* matrix: keep labels inside the frame */
.d4 { left: 37%; } .d5 { left: 34%; }
@media (min-width: 961px) and (max-width: 1180px) {
  .dot span { display: none; }
  .dot::after { display: block; }
  .dot--flip { flex-direction: row; transform: translate(-6px, -50%); }
  .matrix-key { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 16px 0 0; padding-left: 20px; font-size: 0.8125rem; color: var(--grey); }
}

/* gantt: fits tablets without sideways scroll; the stage list below covers phones */
.gantt { min-width: 600px; }
@media (max-width: 760px) { .gantt__ruler, .gantt__track { grid-template-columns: 170px minmax(0, 1fr); } }
@media (max-width: 640px) { .gantt-wrap { display: none; } .rows { margin-top: 0; } }

/* ground truth and other 3-card rows stay 3 across on tablets */
@media (min-width: 700px) {
  .grid-3:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* phones */
@media (max-width: 600px) {
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero__cta .btn { min-width: 0; }
  .site-footer__tagline span { display: block; }
  .site-footer__loc { margin-top: 2px; }
  .site-footer__loc::before { content: none; }
  .crow--action .btn { padding-inline: 18px; font-size: 0.875rem; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  .svc { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 16px; padding: 10px 14px 10px 10px; }
  .svc .tile__img { grid-row: 1 / 4; height: auto; min-height: 92px; }
  .svc__n { margin: 6px 0 2px; }
  .svc h3 { margin: 0 0 4px; }
  .svc p:not(.svc__n) { margin: 0 0 6px; }
}

/* ground-truth cards: footer pinned to the bottom, wraps in narrow columns */
.grid-3 .card p + .meta-row { margin-top: auto; }
.grid-3 .card:has(.meta-row) > p { margin-bottom: 20px; }
.meta-row { flex-wrap: wrap; gap: 6px 24px; }

/* hero metrics: room for one-line labels on desktop */
.hero__stats--metrics { max-width: 1080px; }
.hero__stats--metrics span { text-wrap: pretty; }

/* ==========================================================================
   Stone & glass: white page, cool stone grit, clear glass, light display type
   ========================================================================== */
:root {
  --grey: #5B6B78;                 /* cool slate body text (replaces the green-grey) */
  --mist: #F4F8FB;                 /* alternate sections */
  --stone-1: #F3F6F9;
  --stone-2: #E6ECF2;
  --sky-soft: #9CC4FF;             /* labels on dark */
  --stone: url("/assets/img/stone-3.svg");
  --grit: none;
  --surface-alt: var(--mist);
  --glass-bg: linear-gradient(125deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.34) 46%, rgba(255,255,255,.60) 100%);
  --glass-shadow: 0 0 0 1px rgba(0,7,31,.06), 0 24px 48px rgba(0,7,31,.07), inset 0 1px 0 #FFFFFF, inset 0 -1px 0 rgba(0,7,31,.05);
  --tint-bg: linear-gradient(135deg, rgba(50,125,255,.12), rgba(50,125,255,.04));
  --tint-line: rgba(50,125,255,.24);
  --dark-glow: radial-gradient(90% 120% at 100% 0%, rgba(50,125,255,.30), rgba(50,125,255,0) 60%);
}
.section--alt { background: var(--mist); }

/* surfaces */
.stone, .tile__img, .bigstat--muted {
  background-color: var(--stone-1);
  background-image: var(--stone), linear-gradient(180deg, var(--stone-1), var(--stone-2));
  background-size: 480px 480px, auto;
}
.ind-card--also .tile__img { background: var(--tint-bg); border: 1px solid rgba(50,125,255,.14); }
.bigstat--muted { border-color: #DCE6EE; }
.bigstat, .origin, .panel-dark, .cta, .metric-stack li:first-child {
  background-color: var(--ink);
  background-image: var(--grit), var(--dark-glow);
  background-size: 320px 320px, auto;
}

/* light display type */
.display-1, .display-2, .page-hero .sec-head--hero .display-1 { font-weight: 300; }
.display-2 { letter-spacing: -0.03em; }
.bigstat strong, .metric-stack strong, .panel-dark__title, .cta .display-2 { font-weight: 300; }

/* section labels: spaced caps with a hairline instead of pills */
.eyebrow, .eyebrow--dark {
  gap: 12px; padding: 0; border: 0; border-radius: 0; background: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--action);
}
.eyebrow::before, .eyebrow--dark::before {
  content: ""; width: 28px; height: 1px; border-radius: 0; box-shadow: none; background: currentColor;
}
.eyebrow--dark { color: var(--sky-soft); }

/* buttons: secondary becomes blue-tint glass */
.btn--secondary { background: var(--tint-bg); border-color: var(--tint-line); color: var(--ink); }
.btn--secondary:hover { background: linear-gradient(135deg, rgba(50,125,255,.18), rgba(50,125,255,.08)); }

/* header glass */
.hdr:not(.is-open) .hdr__bar {
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.64));
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
  border-bottom-color: rgba(27,99,224,.10);
}

/* hero: light, left aligned, glass column, glass stats over a stone band */
.hero {
  min-height: 0; overflow: hidden; align-items: stretch; text-align: left;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 72px);
  color: var(--ink);
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F7FD 100%);
}
.hero__stone {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(96px, 11vw, 128px);
  border-top: 1px solid #DCE6EE;
  background-color: var(--stone-1);
  background-image: var(--stone), linear-gradient(180deg, var(--stone-1), var(--stone-2));
  background-size: 480px 480px, auto;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__copy { max-width: 780px; }
.hero .eyebrow { margin-bottom: 24px; }
.hero__title { max-width: 18ch; margin: 0; font: 300 clamp(38px, 5.2vw, 68px)/1.04 var(--font-display); letter-spacing: -0.035em; }
.hero__accent { color: var(--action); }
.hero__lead { margin: 24px 0 0; max-width: 620px; font: 400 clamp(16px, 1.3vw, 18px)/1.6 var(--font-text); color: #44525F; }
.hero__cta { margin-top: 32px; justify-content: flex-start; gap: 10px; }
.hero__cta .btn { min-width: 0; }
.hero__monolith {
  display: grid; grid-template-columns: 70px 100px 70px; height: clamp(380px, 38vw, 520px);
  border-radius: 22px; overflow: hidden;
}
.hero__slab { background-color: var(--stone-1); background-image: var(--stone), linear-gradient(180deg, var(--stone-1), var(--stone-2)); background-size: 480px 480px, auto; }
.hero__slab--r { background-image: var(--stone), linear-gradient(180deg, #EEF2F6, #E1E8EF); }
.hero__glass {
  position: relative; display: grid; place-items: center;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.55) 42%, rgba(255,255,255,0) 54%, rgba(255,255,255,0) 70%, rgba(255,255,255,.3) 76%, rgba(255,255,255,0) 82%),
    linear-gradient(180deg, rgba(50,125,255,.24) 0%, rgba(160,200,245,.34) 45%, rgba(50,125,255,.18) 100%);
  border-inline: 1px solid rgba(255,255,255,.9);
  box-shadow: inset 0 0 30px rgba(255,255,255,.6);
}
.hero__glass img { width: 46px; height: auto; opacity: .6; transform: translateY(-6%); }
.hero__stats--metrics {
  position: relative; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; max-width: none; width: 100%;
  border-radius: 20px; overflow: hidden;
  background: var(--glass-bg); border: 1px solid rgba(255,255,255,.92); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.6); backdrop-filter: blur(22px) saturate(1.6);
}
.hero__stats--metrics li, .hero__stats--metrics li:first-child, .hero__stats--metrics li:last-child {
  padding: 18px 22px; border: 0; border-right: 1px solid rgba(27,99,224,.10); border-radius: 0;
  background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hero__stats--metrics li:last-child { border-right: 0; }
.hero__stats--metrics strong { font-weight: 300; font-size: clamp(26px, 2.6vw, 32px); }
.hero__stats--metrics span { color: var(--grey); }
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__monolith { display: none; }
}
@media (max-width: 900px) {
  .hero__stats--metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .hero__stats--metrics li, .hero__stats--metrics li:first-child, .hero__stats--metrics li:last-child { border: 0; border-bottom: 1px solid rgba(27,99,224,.10); }
  .hero__stats--metrics li:first-child { grid-column: 1 / -1; }
  .hero__stats--metrics li:nth-child(3), .hero__stats--metrics li:nth-child(5) { border-left: 1px solid rgba(27,99,224,.10); }
  .hero__stats--metrics li:nth-child(4), .hero__stats--metrics li:nth-child(5) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .hero__cta { flex-direction: column; align-items: stretch; max-width: 320px; }
}

/* the b mark: pressed into the call to action, signing off the footer */
.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::after {
  content: ""; position: absolute; z-index: -1; right: -30px; bottom: -90px; width: 300px; height: 475px;
  background: url("/assets/img/mark-white.svg") no-repeat center / contain; opacity: .07; pointer-events: none;
}
.bigstat.bigstat--muted {
  background-color: var(--stone-1);
  background-image: var(--stone), linear-gradient(180deg, var(--stone-1), var(--stone-2));
  background-size: 480px 480px, auto;
}
.cta::after { opacity: .05; }
.prose .eyebrow, .card .eyebrow { color: var(--action); }

/* lighter stone, bigger stat captions */
:root { --stone-1: #F8FAFC; --stone-2: #EEF2F6; }
.bigstat { display: flex; flex-direction: column; justify-content: flex-end; gap: 16px; }
.bigstat strong { line-height: .95; }
.bigstat span {
  margin: 0; max-width: 24ch;
  font: 300 clamp(1.25rem, 1.8vw, 1.5rem)/1.3 var(--font-display); letter-spacing: -0.01em;
  color: rgba(255,255,255,.88);
}
.bigstat--muted span { color: var(--ink); }

/* ==========================================================================
   Hero D (horizon) with the b, and glass-chip section labels
   ========================================================================== */
.hero { text-align: center; background: linear-gradient(180deg, #DCEBFB 0%, #EEF5FD 40%, #FFFFFF 72%); }
.hero__inner { grid-template-columns: 1fr; justify-items: center; }
.hero__copy { margin-inline: auto; max-width: 960px; display: flex; flex-direction: column; align-items: center; }
.hero__title { max-width: 16ch; margin-inline: auto; font-size: clamp(38px, 5.6vw, 72px); }
.hero__lead { margin-inline: auto; }
.hero__cta { justify-content: center; }
.hero__mark {
  position: absolute; left: 50%; top: calc(var(--header-h) + 8px); width: auto; height: min(78%, 620px);
  transform: translateX(-50%); opacity: .045; pointer-events: none; user-select: none;
}
.hero .container { position: relative; }
@media (max-width: 600px) { .hero__cta { margin-inline: auto; width: 100%; } }

.eyebrow, .eyebrow--dark {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2;
  color: var(--ink);
  background: linear-gradient(125deg, rgba(255,255,255,.92), rgba(235,243,252,.72));
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(27,99,224,.12), 0 6px 16px rgba(0,7,31,.05), inset 0 1px 0 #FFFFFF;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.eyebrow::before, .eyebrow--dark::before {
  content: ""; flex: none; width: 10px; height: 16px; border-radius: 0; box-shadow: none;
  background: url("/assets/img/mark.svg") no-repeat center / contain;
}
.eyebrow--dark {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.eyebrow--dark::before { background-image: url("/assets/img/mark-white.svg"); }
.prose .eyebrow, .card .eyebrow { color: var(--ink); }

/* ==========================================================================
   Deep blue hero, left aligned, white b watermark, white header logo on top
   ========================================================================== */
.hero.hero--deep {
  text-align: left; color: var(--white);
  background-color: #0F3F94;
  background-image:
    var(--grit),
    radial-gradient(70% 90% at 88% 8%, rgba(92,160,255,.50), rgba(50,125,255,0) 62%),
    linear-gradient(160deg, #0A2F73 0%, #0F3F94 52%, #1652C2 100%);
  background-size: 320px 320px, auto, auto;
}
.hero--deep .hero__inner { justify-items: start; }
.hero--deep .hero__copy { margin-inline: 0; align-items: flex-start; max-width: 860px; }
.hero--deep .hero__title { margin-inline: 0; max-width: 15ch; }
.hero--deep .hero__accent { color: #9CC4FF; }
.hero--deep .hero__lead { margin-inline: 0; color: rgba(255,255,255,.82); }
.hero--deep .hero__cta { justify-content: flex-start; }
.hero--deep .btn--primary { background: var(--white); color: var(--ink); box-shadow: 0 8px 24px rgba(0,7,31,.25); }
.hero--deep .btn--primary:hover { background: #EAF2FF; }
.hero--deep .hero__mark { opacity: .07; }
.hero--deep .hero__stats--metrics {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 24px 48px rgba(0,7,31,.18);
}
.hero--deep .hero__stats--metrics li { border-color: rgba(255,255,255,.12) !important; }
.hero--deep .hero__stats--metrics strong { color: var(--white); }
.hero--deep .hero__stats--metrics span { color: rgba(255,255,255,.74); }
@media (max-width: 600px) { .hero--deep .hero__cta { margin-inline: 0; } }

/* header over the hero: clear glass with the white logo; normal once scrolled past */
.hdr.on-dark:not(.is-open) .hdr__bar {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-bottom-color: rgba(255,255,255,.12);
}
@media (min-width: 1024px) { .hero--deep .hero__mark { left: 74%; } }
/* lighter blues, same proportions */
.hero.hero--deep {
  background-color: #1E5CCB;
  background-image:
    var(--grit),
    radial-gradient(70% 90% at 88% 8%, rgba(130,185,255,.50), rgba(80,150,255,0) 62%),
    linear-gradient(160deg, #1648A8 0%, #1E5CCB 52%, #2A72E6 100%);
}
.hero--deep .hero__accent { color: #C3DBFF; }
/* one step lighter again */
.hero.hero--deep {
  background-color: #2B6FE0;
  background-image:
    var(--grit),
    radial-gradient(70% 90% at 88% 8%, rgba(160,205,255,.50), rgba(110,170,255,0) 62%),
    linear-gradient(160deg, #1F58C4 0%, #2B6FE0 52%, #3C86F2 100%);
}
.hero--deep .hero__accent { color: #D6E6FF; }
.hero--deep .hero__lead { color: rgba(255,255,255,.92); }
.hero--deep .hero__stats--metrics span { color: rgba(255,255,255,.9); }

/* footer carries the hero blues and grit */
.site-footer {
  color: var(--white);
  background-color: #2B6FE0;
  background-image:
    var(--grit),
    radial-gradient(70% 90% at 88% 8%, rgba(160,205,255,.50), rgba(110,170,255,0) 62%),
    linear-gradient(160deg, #1F58C4 0%, #2B6FE0 52%, #3C86F2 100%);
  background-size: 320px 320px, auto, auto;
}
.site-footer__tagline, .site-footer__cols a, .site-footer__legal { color: rgba(255,255,255,.88); }
.site-footer__cols a:hover { color: var(--white); }
.site-footer__contact a { border-color: rgba(255,255,255,.28); color: var(--white); }
.site-footer__contact a:hover { background: rgba(255,255,255,.14); }
.site-footer__legal p { border-top-color: rgba(255,255,255,.2); }

/* "Next step" in the same blue family as the footer, one shade deeper */
.cta {
  background-color: #2563D3;
  background-image:
    var(--grit),
    radial-gradient(70% 90% at 88% 8%, rgba(160,205,255,.42), rgba(110,170,255,0) 62%),
    linear-gradient(160deg, #1A4FB6 0%, #2563D3 52%, #3479EA 100%);
  background-size: 320px 320px, auto, auto;
}
.cta__lead, .crow span { color: rgba(255,255,255,.88); }
.cta .crow { border-bottom-color: rgba(255,255,255,.22); }
.cta__contact { border-top-color: rgba(255,255,255,.22); }
.cta .btn--primary { background: var(--white); color: var(--ink); box-shadow: 0 8px 24px rgba(0,7,31,.22); }
.cta .btn--primary:hover { background: #EAF2FF; }
.cta::after { opacity: .07; }

/* "Next step" inverted: pale blue glass-stone panel with dark text */
.cta {
  color: var(--ink);
  background-color: #E3EEFD;
  background-image:
    var(--stone),
    radial-gradient(70% 90% at 88% 8%, rgba(255,255,255,.85), rgba(255,255,255,0) 62%),
    linear-gradient(160deg, #D4E5FC 0%, #E3EEFD 52%, #F1F7FF 100%);
  background-size: 480px 480px, auto, auto;
  border: 1px solid rgba(27,99,224,.14);
}
.cta__lead { color: #44525F; }
.cta .crow span { color: var(--grey); }
.cta .crow b { color: var(--ink); }
.cta .crow:hover b { color: var(--action); }
.cta .crow { border-bottom-color: rgba(27,99,224,.16); }
.cta__contact { border-top-color: rgba(27,99,224,.16); }
.cta .btn--primary { background: var(--action); color: var(--white); box-shadow: 0 8px 22px rgba(27,99,224,.28); }
.cta .btn--primary:hover { background: color-mix(in srgb, var(--action) 86%, var(--ink)); }
.cta .social-icon { background: var(--white); border-color: rgba(27,99,224,.2); color: var(--action); }
.cta .crow:hover .social-icon { background: var(--action); border-color: var(--action); color: var(--white); }
.cta::after { background-image: url("/assets/img/mark.svg"); opacity: .08; }
/* header stays light everywhere: dark text, blue logo */
.hdr:not(.is-open) .hdr__bar { background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.86)); }

/* hero inverted to match the light menu: white blending into pale blue, dark text */
.hero.hero--deep {
  color: var(--ink);
  background-color: #EEF5FE;
  background-image:
    var(--stone),
    radial-gradient(70% 90% at 88% 8%, rgba(160,205,255,.45), rgba(160,205,255,0) 62%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F7FE 45%, #DDEBFD 100%);
  background-size: 480px 480px, auto, auto;
}
.hero--deep .hero__accent { color: var(--action); }
.hero--deep .hero__lead { color: #44525F; }
.hero--deep .btn--primary { background: var(--action); color: var(--white); box-shadow: 0 8px 22px rgba(27,99,224,.28); }
.hero--deep .btn--primary:hover { background: color-mix(in srgb, var(--action) 86%, var(--ink)); }
.hero--deep .hero__mark { opacity: .06; }
.hero--deep .hero__stats--metrics {
  background: var(--glass-bg); border: 1px solid rgba(255,255,255,.92); box-shadow: var(--glass-shadow);
}
.hero--deep .hero__stats--metrics li { border-color: rgba(27,99,224,.10) !important; }
.hero--deep .hero__stats--metrics strong { color: var(--ink); }
.hero--deep .hero__stats--metrics span { color: var(--grey); }
.hero__mark { height: min(58%, 460px); top: calc(var(--header-h) + 40px); }
/* more translucent menu bar, faint line kept */
.hdr:not(.is-open) .hdr__bar {
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.42));
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: rgba(27,99,224,.10);
}
.hero__mark { top: calc(var(--header-h) + 110px); }

/* ---------- Optimal + Intelligence = b (About) ---------- */
#the-mark { padding-bottom: clamp(56px, 8vw, 104px); }
.mark-anim {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); border: 1px solid #DCE6EE;
  background-color: #EEF5FE;
  background-image: var(--stone), radial-gradient(70% 90% at 88% 8%, rgba(160,205,255,.45), rgba(160,205,255,0) 62%), linear-gradient(180deg, #FFFFFF 0%, #F2F7FE 50%, #E4EFFD 100%);
  background-size: 480px 480px, auto, auto;
}
.mark-anim__copy .display-2 { margin-bottom: 0; }
.mark-anim__copy .lead { margin: 0; }
.oi { display: block; width: 100%; height: auto; overflow: visible; }
.oi__cap { font: 300 36px var(--font-display); letter-spacing: -0.5px; fill: var(--blue); }

.oi__name { font: 300 64px var(--font-display); letter-spacing: -1px; fill: var(--blue); }
.oi__tag { font: 500 13px var(--font-text); letter-spacing: 3px; fill: var(--grey); }
.oi__o, .oi__i { transform-box: view-box; }
.oi__o { transform-origin: 127.4px 228.2px; }
.oi__i { transform-origin: 98.6px 267.8px; }
@media (prefers-reduced-motion: no-preference) {
  .oi__stage { animation: oi-stage 9s cubic-bezier(.65,0,.35,1) infinite; }
  .oi__o { animation: oi-o 9s cubic-bezier(.65,0,.35,1) infinite; }
  .oi__i { animation: oi-i 9s cubic-bezier(.65,0,.35,1) infinite; }
  .oi__cap { animation: oi-cap 9s ease infinite; }
  .oi__word { animation: oi-word 9s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { .oi__cap { opacity: 0; } }
@keyframes oi-stage { 0%, 93% { opacity: 1; } 99% { opacity: 0; } 100% { opacity: 1; } }
@keyframes oi-o { 0%, 17.1% { transform: translate(92.6px, -28.2px); } 40.4%, 100% { transform: none; } }
@keyframes oi-i {
  0%, 17.1% { transform: translate(461.4px, -26.4px) scaleY(.588); }
  28.8% { transform: translate(230px, -120px) scaleY(.588); }
  40.4%, 100% { transform: none; }
}
@keyframes oi-cap { 0%, 12.4% { opacity: 1; } 20.2%, 100% { opacity: 0; } }
/* wordmark: slow, eased left-to-right reveal (about 2.8s) with a gradual fade-in */
@keyframes oi-word {
  0%, 41% { opacity: 0; clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); animation-timing-function: cubic-bezier(.45,0,.25,1); }
  52% { opacity: .55; }
  72%, 100% { opacity: 1; clip-path: inset(0 -2% 0 0); -webkit-clip-path: inset(0 -2% 0 0); }
}
@media (max-width: 860px) { .mark-anim { grid-template-columns: 1fr; } }

/* deeper footer blues, same proportions */
.site-footer {
  background-color: #1B55C2;
  background-image:
    var(--grit),
    radial-gradient(70% 90% at 88% 8%, rgba(120,175,255,.42), rgba(80,150,255,0) 62%),
    linear-gradient(160deg, #123F9A 0%, #1B55C2 52%, #2A6ADB 100%);
}
.hero--deep .hero__title { max-width: 19ch; font-size: clamp(36px, 5vw, 64px); }

/* hero: cleaner gradient, the b as frosted glass like the stats strip */
.hero.hero--deep {
  background-color: #EEF5FE;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F1F6FE 50%, #DCEAFD 100%);
  background-size: auto;
}
.hero__glassb {
  position: absolute; z-index: 0; pointer-events: none;
  top: calc(var(--header-h) + 90px); left: 50%; transform: translateX(-50%);
  height: min(60%, 470px); aspect-ratio: 618 / 978;
}
.hero__glassb::before {
  content: ""; position: absolute; inset: -30% -60%;
  background: radial-gradient(closest-side, rgba(50,125,255,.22), rgba(50,125,255,0));
}
.hero__glassb span { position: absolute; inset: 0; -webkit-mask: url("/assets/img/mark.svg") center / contain no-repeat; mask: url("/assets/img/mark.svg") center / contain no-repeat; }
.hero__glassb-shadow { background: rgba(27,99,224,.16); transform: translate(4px, 10px); filter: blur(6px); }
.hero__glassb-glass {
  background: linear-gradient(135deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.55) 45%, rgba(214,231,252,.75) 70%, rgba(255,255,255,.9) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
}
@media (min-width: 1024px) { .hero__glassb { left: 74%; } }
@media (max-width: 760px) { .hero__glassb { opacity: .6; } }
/* fully clear menu bar at the top of the page; frosted once scrolled */
.hdr.is-top:not(.is-open) .hdr__bar {
  background: transparent; border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hdr__bar { transition: background-color .33s, border-color .33s, color .33s, -webkit-backdrop-filter .33s, backdrop-filter .33s; }
/* hero gradient spread across the whole section instead of a spot behind the b */
.hero.hero--deep {
  background-image:
    radial-gradient(120% 95% at 85% 35%, rgba(50,125,255,.20), rgba(50,125,255,0) 70%),
    linear-gradient(160deg, #FFFFFF 0%, #EEF4FE 45%, #D6E6FD 100%);
}
.hero__glassb::before { display: none; }

/* inverted: very light hero, blue glass b and blue glass stats */
.hero.hero--deep {
  background-image:
    radial-gradient(110% 90% at 85% 35%, rgba(50,125,255,.07), rgba(50,125,255,0) 70%),
    linear-gradient(160deg, #FFFFFF 0%, #F7FAFE 50%, #EEF4FD 100%);
}
.hero__glassb-glass {
  background: linear-gradient(135deg, rgba(110,170,255,.95) 0%, rgba(50,125,255,.80) 40%, rgba(27,99,224,.72) 70%, rgba(120,175,255,.90) 100%);
}
.hero__glassb-shadow { background: rgba(27,99,224,.28); }
.hero--deep .hero__stats--metrics {
  background: linear-gradient(125deg, rgba(64,138,255,.92) 0%, rgba(40,112,240,.80) 46%, rgba(27,99,224,.88) 100%);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 0 0 1px rgba(27,99,224,.20), 0 24px 48px rgba(27,99,224,.22), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(0,7,31,.10);
}
.hero--deep .hero__stats--metrics li { border-color: rgba(255,255,255,.22) !important; }
.hero--deep .hero__stats--metrics strong { color: var(--white); }
.hero--deep .hero__stats--metrics span { color: rgba(255,255,255,.88); }

/* glass b as clean vector strokes: lighter, translucent, no raster mask */
svg.hero__glassb { position: absolute; z-index: 0; pointer-events: none; top: calc(var(--header-h) + 90px); left: 50%; transform: translateX(-50%); height: min(60%, 470px); width: auto; aspect-ratio: 122 / 196; overflow: visible; }
.hero__glassb-body { opacity: .55; }
.hero__glassb-shine { opacity: .7; }
@media (min-width: 1024px) { svg.hero__glassb { left: 74%; } }

/* lighter, more translucent stats glass with dark text */
.hero--deep .hero__stats--metrics {
  background: linear-gradient(125deg, rgba(120,175,255,.30) 0%, rgba(80,150,255,.16) 50%, rgba(120,175,255,.26) 100%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 1px rgba(27,99,224,.14), 0 20px 44px rgba(27,99,224,.10), inset 0 1px 0 rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
}
.hero--deep .hero__stats--metrics li { border-color: rgba(27,99,224,.14) !important; }
.hero--deep .hero__stats--metrics strong { color: var(--ink); }
.hero--deep .hero__stats--metrics span { color: #44525F; }
/* crisp b: solid pale blue, no group opacity or filter; stats without white edge lines */
.hero__glassb-body { opacity: 1; }
svg.hero__glassb { shape-rendering: geometricPrecision; }
.hero--deep .hero__stats--metrics {
  border: 1px solid rgba(27,99,224,.14);
  box-shadow: 0 20px 44px rgba(27,99,224,.10);
}

/* hero pill: an O and an I form the b, then the words reveal left to right (plays once) */
.eyebrow--anim::before { display: none; }
.pill-b { flex: none; width: 10px; height: 16px; overflow: visible; }
.pill-b__o, .pill-b__i { transform-box: view-box; }
@media (prefers-reduced-motion: no-preference) {
  .pill-b__o { animation: pill-o 2.6s cubic-bezier(.65,0,.35,1) .6s both; }
  .pill-b__i { transform-origin: 24px 184px; animation: pill-i 2.6s cubic-bezier(.65,0,.35,1) .6s both; }
  .pill-text { animation: pill-text 2.2s ease 3.4s both; }
}
@keyframes pill-o { 0% { transform: translate(260px, 0); opacity: 0; } 25% { opacity: 1; } 100% { transform: none; } }
@keyframes pill-i {
  0% { transform: translate(1150px, 40px) scaleY(.55); opacity: 0; }
  25% { opacity: 1; }
  55% { transform: translate(420px, -90px) scaleY(.55); }
  100% { transform: none; }
}
@keyframes pill-text {
  from { opacity: 0; clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); }
}

/* hero b: oversized, cropped bottom-right, behind the stats (mirrors Next step) */
.hero.hero--deep { overflow: hidden; }
svg.hero__glassb {
  top: auto; bottom: -26%; left: auto; right: -4%; transform: none;
  height: 128%; max-height: 1180px;
}
@media (min-width: 1024px) { svg.hero__glassb { left: auto; } }
.hero--deep .container { position: relative; z-index: 1; }
@media (max-width: 760px) { svg.hero__glassb { height: 80%; right: -22%; bottom: -12%; opacity: .7; } }
svg.hero__glassb { right: -14%; bottom: -30%; height: 118%; opacity: .38; }
@media (max-width: 1023px) { svg.hero__glassb { right: -38%; bottom: -18%; height: 70%; opacity: .28; } }

/* compact stats: sized to content, left aligned, not full width */
.hero--deep .hero__stats--metrics {
  display: inline-flex; width: auto; max-width: 100%; margin-top: clamp(40px, 5vw, 64px);
  border-radius: 14px;
}
.hero--deep .hero__stats--metrics li,
.hero--deep .hero__stats--metrics li:first-child,
.hero--deep .hero__stats--metrics li:last-child { flex: 0 0 auto; min-width: 0; padding: 10px 18px; }
.hero--deep .hero__stats--metrics strong { font-size: 22px; line-height: 1.1; }
.hero--deep .hero__stats--metrics span { margin-top: 2px; font-size: 11px; line-height: 1.3; white-space: nowrap; }
@media (max-width: 900px) {
  .hero--deep .hero__stats--metrics { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 420px; }
  .hero--deep .hero__stats--metrics span { white-space: normal; }
}

/* ==========================================================================
   Dark mode: follows the visitor's system setting
   ========================================================================== */

  html.theme-dark {
    --ink: #E8EEF7;
    --ink-80: #C9D4E3;
    --grey: #9AA9BA;
    --pale: #111C33;
    --mist: #0C1629;
    --surface: #070E1E;
    --surface-alt: #0F1A30;
    --line: rgba(160,190,230,.12);
    --line-strong: rgba(160,190,230,.22);
    --hover: rgba(255,255,255,.06);
    --stone-1: #101B31;
    --stone-2: #0C1629;
    --stone: none;
    --action: #3D7EF0;
    --blue-soft: rgba(50,125,255,.16);
    --tint-bg: linear-gradient(135deg, rgba(80,150,255,.16), rgba(80,150,255,.06));
    --tint-line: rgba(120,170,255,.28);
    --glass-bg: linear-gradient(125deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
    --glass-shadow: 0 0 0 1px rgba(160,190,230,.12), 0 24px 48px rgba(0,0,0,.35);
  }
  html.theme-dark body { background: var(--surface); }
  /* white surfaces become deep navy panels */
  html.theme-dark .card--white, html.theme-dark .svc, html.theme-dark .cap, html.theme-dark .ind-card, html.theme-dark .gantt-wrap, html.theme-dark .matrix, html.theme-dark .mmenu, html.theme-dark .form input, html.theme-dark .form textarea, html.theme-dark .grid-3 .card, html.theme-dark .btn--secondary { background-color: #0F1A30; }
  html.theme-dark .ind-card--also { background: transparent; }
  html.theme-dark .ind-card--also .tile__img { background: rgba(80,150,255,.10); }
  html.theme-dark .dot--cool b { background: #0F1A30; }
  html.theme-dark .site-footer__contact a, html.theme-dark .founder__links a { color: var(--ink); }
  html.theme-dark .bigstat--muted strong { color: #7FB0FF; }
  html.theme-dark .bigstat--muted span { color: var(--ink); }
  html.theme-dark .hero__accent, html.theme-dark .hero--deep .hero__accent, html.theme-dark .link-arrow, html.theme-dark .kicker, html.theme-dark .svc__n, html.theme-dark .row__n, html.theme-dark .stage-list span { color: #7FB0FF; }

  /* header and menus */
  html.theme-dark .hdr:not(.is-open) .hdr__bar { background: linear-gradient(180deg, rgba(7,14,30,.72), rgba(7,14,30,.55)); border-bottom-color: rgba(160,190,230,.12); }
  html.theme-dark .hdr.is-top:not(.is-open) .hdr__bar { background: transparent; border-bottom-color: transparent; }
  html.theme-dark .hdr__panel { background: rgba(9,17,34,.94); }
  html.theme-dark .hdr__logo--blue { display: none; }
  html.theme-dark .hdr__logo--white { display: block; }

  /* section label pills */
  html.theme-dark .eyebrow, html.theme-dark .prose .eyebrow, html.theme-dark .card .eyebrow {
    color: var(--ink);
    background: linear-gradient(125deg, rgba(255,255,255,.08), rgba(120,170,255,.06));
    border-color: rgba(160,190,230,.18);
    box-shadow: 0 0 0 1px rgba(80,150,255,.14), inset 0 1px 0 rgba(255,255,255,.06);
  }

  /* hero */
  html.theme-dark .hero.hero--deep {
    background-color: #070E1E;
    background-image:
      radial-gradient(110% 90% at 85% 35%, rgba(50,125,255,.16), rgba(50,125,255,0) 70%),
      linear-gradient(160deg, #070E1E 0%, #0A1428 50%, #0E1C38 100%);
  }
  html.theme-dark .hero--deep .hero__lead { color: #B8C5D6; }
  html.theme-dark .hero__glassb { opacity: .22 !important; }
  html.theme-dark .hero--deep .hero__stats--metrics {
    background: linear-gradient(125deg, rgba(80,150,255,.16), rgba(80,150,255,.07));
    border-color: rgba(120,170,255,.22);
    box-shadow: 0 20px 44px rgba(0,0,0,.35);
  }
  html.theme-dark .hero--deep .hero__stats--metrics li { border-color: rgba(120,170,255,.16) !important; }
  html.theme-dark .hero--deep .hero__stats--metrics strong { color: var(--ink); }
  html.theme-dark .hero--deep .hero__stats--metrics span { color: var(--grey); }

  /* About mark panel and Next step: dark blue glass */
  html.theme-dark .mark-anim, html.theme-dark .cta {
    background-color: #0C1730;
    background-image: radial-gradient(70% 90% at 88% 8%, rgba(80,150,255,.20), rgba(80,150,255,0) 62%), linear-gradient(160deg, #0A1428 0%, #0E1C38 100%);
    border-color: rgba(120,170,255,.18);
  }
  html.theme-dark .cta__lead { color: #B8C5D6; }
  html.theme-dark .cta .crow b { color: var(--ink); }
  html.theme-dark .cta .social-icon { background: rgba(255,255,255,.06); border-color: rgba(120,170,255,.24); color: #7FB0FF; }
  html.theme-dark .cta::after { background-image: url("/assets/img/mark-white.svg"); opacity: .05; }
  html.theme-dark .oi__cap { fill: #7FB0FF; }

  /* footer: deep blue kept, slightly darker */
  html.theme-dark .site-footer {
    background-image: radial-gradient(70% 90% at 88% 8%, rgba(80,150,255,.28), rgba(80,150,255,0) 62%), linear-gradient(160deg, #0A2766 0%, #0F3A8F 52%, #1A50B8 100%);
  }


  /* panels that used ink as a background stay dark navy, not light */
  html.theme-dark .bigstat:not(.bigstat--muted), html.theme-dark .origin, html.theme-dark .panel-dark, html.theme-dark .metric-stack li:first-child, html.theme-dark .process li:last-child {
    background-color: #10204A;
    background-image: radial-gradient(90% 120% at 100% 0%, rgba(80,150,255,.28), rgba(80,150,255,0) 60%);
    background-size: auto;
    border: 1px solid rgba(120,170,255,.20);
    color: #FFFFFF;
  }
  html.theme-dark .bigstat:not(.bigstat--muted) strong, html.theme-dark .bigstat:not(.bigstat--muted) span, html.theme-dark .process li:last-child h3, html.theme-dark .metric-stack li:first-child strong { color: #FFFFFF; }
  html.theme-dark .process li:last-child p, html.theme-dark .metric-stack li:first-child span { color: rgba(255,255,255,.78); }
  html.theme-dark .gantt__bar--solid { background: #2A62C9; color: #FFFFFF; }
  html.theme-dark .dot--hot b { background: #E8EEF7; }
  /* single-layer backgrounds: no tiling bands */
  html.theme-dark .site-footer, html.theme-dark .cta, html.theme-dark .mark-anim, html.theme-dark .hero.hero--deep { background-size: auto; }
  html.theme-dark .hero__glassb-body { opacity: 1; }


  html.theme-dark #gb-fill stop { stop-color: #3D7EF0; }
  html.theme-dark .hero__glassb { opacity: .30 !important; }


html { color-scheme: light; }
html.theme-dark { color-scheme: dark; }

/* one line weight and tone across the site: 1px var(--line) */
.bigstat--muted, .mark-anim, .cta, .card, .svc, .cap, .ind-card, .process li, .metric-stack li,
.gantt-wrap, .hero--deep .hero__stats--metrics { border-width: 1px; border-style: solid; border-color: var(--line); }
.ind-card--also { border-style: dashed; border-color: var(--line-strong); }
.bigstat:not(.bigstat--muted), .origin, .panel-dark, .metric-stack li:first-child, .process li:last-child { border-color: transparent; }
.cta .crow, .cta__contact, .cta__contact .crow { border-color: var(--line); }
.hero--deep .hero__stats--metrics li { border-color: var(--line) !important; }
html.theme-dark .bigstat:not(.bigstat--muted), html.theme-dark .origin, html.theme-dark .panel-dark,
html.theme-dark .metric-stack li:first-child, html.theme-dark .process li:last-child { border-color: var(--line); }

/* hero blends into the page: no gradient, same background as the next section */
.hero.hero--deep { background: var(--surface); background-image: none; }
html.theme-dark .hero.hero--deep { background: var(--surface); background-image: none; }
svg.hero__glassb {
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 92%);
}
svg.hero__glassb {
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 73%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 73%);
}
@media (max-width: 1023px) {
  svg.hero__glassb { -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 80%); mask-image: linear-gradient(180deg, #000 45%, transparent 80%); }
}

/* hero fills exactly the first screen: everything above the fold, next section starts below it */
.hero.hero--deep {
  min-height: 100vh; min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(24px, 4vh, 56px));
  padding-bottom: clamp(24px, 5vh, 56px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero--deep .hero__stats--metrics { margin-top: clamp(28px, 5vh, 56px); }
.hero--deep .hero__cta { margin-top: clamp(20px, 3.5vh, 32px); }
.hero--deep .hero__lead { margin-top: clamp(14px, 2.4vh, 24px); }
.hero--deep .eyebrow { margin-bottom: clamp(14px, 2.4vh, 24px); }
@media (max-height: 760px) and (min-width: 1024px) {
  .hero--deep .hero__title { font-size: clamp(36px, 7.2vh, 60px); }
}
.mark-anim__copy .display-2 { margin-bottom: 16px; }
.mark-anim__copy .lead { margin: 0 0 12px; max-width: 46ch; }
.mark-anim__copy .lead:last-child { margin-bottom: 0; }
/* roadmap matrix: wider, shorter */
.matrix { aspect-ratio: 1 / 0.56; }
@media (max-width: 660px) { .matrix { aspect-ratio: 1 / 0.72; } }
/* matrix spans the full width; legend runs underneath in three columns */
.matrix-wrap { grid-template-columns: 1fr; gap: 28px; }
.matrix { aspect-ratio: 1 / 0.42; }
.legend { display: grid; grid-template-columns: 200px 1fr; gap: 8px 32px; align-items: start; }
.legend h3 { margin: 0; }
.legend ul { grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; margin: 0; padding: 0; border-top: 0; }
.legend__note { grid-column: 2; margin: 0; }
@media (max-width: 960px) {
  .matrix { aspect-ratio: 1 / 0.56; }
  .legend { grid-template-columns: 1fr; }
  .legend ul, .legend__note { grid-column: 1; }
  .legend ul { grid-template-columns: 1fr; }
}
@media (max-width: 660px) { .matrix { aspect-ratio: 1 / 0.72; } }
@media (min-width: 961px) and (max-width: 1180px) {
  .dot span { display: inline; }
  .dot::after { display: none; }
  .dot--flip { flex-direction: row-reverse; transform: translate(calc(-100% + 6px), -50%); }
  .matrix-key { display: none; }
}

/* dark theme footer: deep navy with a soft blue glow, matching the dark panels */
html.theme-dark .site-footer {
  background-color: #0A1428;
  background-image: radial-gradient(70% 120% at 88% 0%, rgba(61,126,240,.22), rgba(61,126,240,0) 62%), linear-gradient(160deg, #0A1428 0%, #0C1830 60%, #0F1E3C 100%);
  background-size: auto;
  border: 1px solid var(--line);
  color: var(--ink);
}
html.theme-dark .site-footer__tagline, html.theme-dark .site-footer__cols a, html.theme-dark .site-footer__legal { color: var(--grey); }
html.theme-dark .site-footer__cols a:hover { color: var(--ink); }
html.theme-dark .site-footer__heading { color: var(--ink); }
html.theme-dark .site-footer__contact a { border-color: var(--line-strong); color: var(--ink); }
html.theme-dark .site-footer__contact a:hover { background: rgba(61,126,240,.16); }
html.theme-dark .site-footer__legal p { border-top-color: var(--line); }

/* inner-page heroes carry the home hero's mark: large pale b, cropped bottom-right, fading out */
.page-hero--mark { position: relative; overflow: hidden; isolation: isolate; }
.page-hero--mark > .container { position: relative; z-index: 1; }
.page-mark {
  position: absolute; z-index: 0; pointer-events: none;
  right: -6%; bottom: -38%; height: 150%; width: auto; aspect-ratio: 122 / 196;
  -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent 66%);
  mask-image: linear-gradient(180deg, #000 35%, transparent 66%);
}
@media (max-width: 1023px) { .page-mark { right: -30%; height: 110%; bottom: -25%; opacity: .55; } }
html.theme-dark .page-mark { opacity: .3; }
html.theme-dark #pm-fill stop { stop-color: #3D7EF0; }
/* inner heroes laid out like the home hero: copy stacked on the left, mark on the right */
.page-hero.page-hero--mark { min-height: clamp(380px, 52vh, 560px); display: flex; align-items: center; padding-block: calc(var(--header-h) + 24px) clamp(40px, 6vh, 72px); }
.page-hero--mark .sec-head--hero { display: block; max-width: 760px; }
.page-hero--mark .sec-head--hero .lead { margin-top: 20px; max-width: 600px; }
.page-mark { right: 4%; bottom: -34%; height: 125%; }
@media (max-width: 1023px) { .page-mark { right: -24%; height: 95%; bottom: -22%; opacity: .5; } }
@media (max-width: 760px) { .page-mark { right: -42%; opacity: .3; } }

/* inner heroes, option B: compact hero; a faint watermark b runs behind the first content, cards are frosted glass */
.page-hero.page-hero--mark { min-height: 0; display: block; padding-block: calc(var(--header-h) + 56px) 40px; overflow: visible; }
.page-mark {
  right: 5%; bottom: auto; top: calc(var(--header-h) + 90px); height: 460px;
  -webkit-mask-image: none; mask-image: none; opacity: .3;
}
.page-hero--mark ~ section { position: relative; z-index: 1; }
.page-hero--mark ~ section .cap, .page-hero--mark ~ section .card, .page-hero--mark ~ section .process li:not(:last-child),
.page-hero--mark ~ section .metric-stack li:not(:first-child), .page-hero--mark ~ section .gantt-wrap, .page-hero--mark ~ section .matrix {
  background: linear-gradient(125deg, rgba(255,255,255,.84), rgba(255,255,255,.66));
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
}
html.theme-dark .page-hero--mark ~ section .cap, html.theme-dark .page-hero--mark ~ section .card,
html.theme-dark .page-hero--mark ~ section .process li:not(:last-child), html.theme-dark .page-hero--mark ~ section .metric-stack li:not(:first-child),
html.theme-dark .page-hero--mark ~ section .gantt-wrap, html.theme-dark .page-hero--mark ~ section .matrix {
  background: linear-gradient(125deg, rgba(15,26,48,.86), rgba(15,26,48,.70));
}
html.theme-dark .page-mark { opacity: .22; }
@media (max-width: 1023px) { .page-mark { right: -18%; height: 360px; opacity: .2; } }
@media (max-width: 760px) { .page-mark { right: -34%; height: 300px; opacity: .16; } }
html.theme-dark .page-mark { opacity: .12; }
/* watermark b, even fainter */
.page-mark { opacity: .16; }
html.theme-dark .page-mark { opacity: .07; }
@media (max-width: 1023px) { .page-mark { opacity: .12; } }
@media (max-width: 760px) { .page-mark { opacity: .1; } }
/* watermark b: much larger, higher, just a hint of the background */
.page-mark { top: calc(var(--header-h) + 12px); right: 2%; height: min(860px, 120vh); opacity: .11; }
html.theme-dark .page-mark { opacity: .05; }
@media (max-width: 1023px) { .page-mark { right: -20%; height: 620px; opacity: .09; } }
@media (max-width: 760px) { .page-mark { right: -40%; height: 520px; opacity: .08; } }

/* inner-page b: exactly the home hero's size, position, strength and fade (home hero = one screen tall) */
.page-mark {
  position: absolute; z-index: 0; transform: none;
  top: calc(12vh - var(--header-h)); top: calc(12svh - var(--header-h)); bottom: auto;
  right: -14%; height: 118vh; height: 118svh; max-height: none; width: auto;
  opacity: .38;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 73%);
  mask-image: linear-gradient(180deg, #000 40%, transparent 73%);
}
html.theme-dark .page-mark { opacity: .30; }
@media (max-width: 1023px) {
  .page-mark { right: -38%; height: 70vh; top: calc(48vh - var(--header-h)); opacity: .28;
    -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 80%); mask-image: linear-gradient(180deg, #000 45%, transparent 80%); }
}

/* ==== Layered glass: white page, pale blue glass section panels, white glass cards ==== */
.section--alt { background: transparent !important; }
main > section.section:not(#contact):not(.section--first) { padding-block: clamp(16px, 2.4vw, 28px); }
main > section.section:not(#contact):not(.section--first):not(:has(.panel-dark)) > .container {
  background: linear-gradient(135deg, rgba(236,244,254,.92) 0%, rgba(244,249,255,.82) 50%, rgba(232,241,254,.90) 100%);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(27,99,224,.10), 0 24px 48px rgba(27,99,224,.06), inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border-radius: 28px; padding: clamp(28px, 4vw, 56px);
  max-width: calc(var(--container) + 2 * clamp(28px, 4vw, 56px));
}
main > section.section:not(#contact):not(.section--first) .card, main > section.section:not(#contact):not(.section--first) .cap, main > section.section:not(#contact):not(.section--first) .svc,
main > section.section:not(#contact):not(.section--first) .ind-card, main > section.section:not(#contact):not(.section--first) .process li:not(:last-child),
main > section.section:not(#contact):not(.section--first) .metric-stack li:not(:first-child), main > section.section:not(#contact):not(.section--first) .bigstat--muted,
main > section.section:not(#contact):not(.section--first) .gantt-wrap, main > section.section:not(#contact):not(.section--first) .matrix {
  background: linear-gradient(125deg, rgba(255,255,255,.92), rgba(255,255,255,.72)) !important;
  border-color: rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(27,99,224,.08), 0 10px 24px rgba(27,99,224,.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html.theme-dark main > section.section:not(#contact):not(.section--first):not(:has(.panel-dark)) > .container {
  background: linear-gradient(135deg, rgba(16,30,58,.78) 0%, rgba(12,24,48,.70) 50%, rgba(18,34,66,.78) 100%);
  border-color: rgba(120,170,255,.14);
  box-shadow: 0 0 0 1px rgba(120,170,255,.08), 0 24px 48px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.05);
}
html.theme-dark main > section.section:not(#contact):not(.section--first) .card,
html.theme-dark main > section.section:not(#contact):not(.section--first) .cap,
html.theme-dark main > section.section:not(#contact):not(.section--first) .svc,
html.theme-dark main > section.section:not(#contact):not(.section--first) .ind-card,
html.theme-dark main > section.section:not(#contact):not(.section--first) .process li:not(:last-child),
html.theme-dark main > section.section:not(#contact):not(.section--first) .metric-stack li:not(:first-child),
html.theme-dark main > section.section:not(#contact):not(.section--first) .bigstat--muted,
html.theme-dark main > section.section:not(#contact):not(.section--first) .gantt-wrap,
html.theme-dark main > section.section:not(#contact):not(.section--first) .matrix {
  background: linear-gradient(125deg, rgba(28,46,82,.82), rgba(22,38,70,.70)) !important;
  border-color: rgba(120,170,255,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}

/* section glass: thinner, flatter, more transparent */
main > section.section:not(#contact):not(.section--first):not(:has(.panel-dark)) > .container {
  background: linear-gradient(135deg, rgba(232,241,254,.45), rgba(240,246,255,.35));
  border: 1px solid rgba(27,99,224,.07);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
html.theme-dark main > section.section:not(#contact):not(.section--first):not(:has(.panel-dark)) > .container {
  background: linear-gradient(135deg, rgba(18,32,62,.40), rgba(14,26,52,.32));
  border-color: rgba(120,170,255,.08);
  box-shadow: none;
}

/* the b stays fixed in place while the page scrolls over it (home and inner pages) */
svg.hero__glassb, .page-mark {
  position: fixed; z-index: 0; transform: none;
  top: 12vh; top: 12svh; bottom: auto; right: -14%; left: auto;
  height: 118vh; height: 118svh; max-height: none; width: auto;
}
main > section, main > .section { position: relative; z-index: 1; }
.hero.hero--deep { overflow: visible; }
.hero--deep > .container, .hero--deep .hero__inner { position: relative; z-index: 1; }
@media (max-width: 1023px) {
  svg.hero__glassb, .page-mark { right: -38%; top: 48vh; top: 48svh; height: 70vh; height: 70svh; }
}

/* About "The mark": no extra panel; content sits directly on the section glass */
.mark-anim, html.theme-dark .mark-anim {
  background: none !important; border: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  padding: 0; border-radius: 0;
}
.mark-anim { gap: clamp(24px, 4vw, 64px); }
#the-mark { padding-bottom: clamp(16px, 2.4vw, 28px); }

/* every card above the section layer matches the About stat cards (white glass or dark blue, 16px corners) */
.card, .cap, .svc, .ind-card, .process li, .bigstat, .bigstat--muted, .metric-stack li,
.gantt-wrap, .matrix, .origin, .panel-dark, .ind-card--also { border-radius: 16px; }
.cap__glyph, .svc .tile__img, .ind-card .tile__img { border-radius: 10px; }
/* Next step callout: no watermark b */
.cta::after { content: none; display: none; }
/* Home "What we do": icon only, no box */
.svc .tile__img, html.theme-dark .svc .tile__img {
  background: none !important; background-image: none !important; border: 0; box-shadow: none;
  height: 88px; justify-content: flex-start; padding-left: 0;
}
.svc .tile__img .glyph { width: 140px; height: auto; margin-left: -28px; }
@media (max-width: 560px) { .svc .tile__img { min-height: 64px; } .svc .tile__img .glyph { width: 100px; margin-left: -12px; } }
/* 96% / 8%: shorter cards, number and caption side by side */
.bigstats { gap: 12px; }
.bigstat, .bigstat--muted {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 2vw, 28px);
  padding: clamp(18px, 2vw, 26px) clamp(22px, 2.4vw, 32px);
}
.bigstat strong { font-size: clamp(2.75rem, 4.4vw, 3.75rem); line-height: 1; }
.bigstat span { margin: 0; max-width: 22ch; font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.35; }
.bigstat strong { min-width: 1.9em; }

/* roadmap matrix: Build now quadrant same as the rest; Build now dots in green */
:root { --go: #1FB873; }
.matrix__q > div:nth-child(2) { background: transparent; }
.dot--hot b, html.theme-dark .dot--hot b { background: var(--go); box-shadow: 0 0 0 4px rgba(31,184,115,.20); }
.legend__a, html.theme-dark .legend__a { background: var(--go); }
html.theme-dark { --go: #2FD08A; }
/* inner-page heroes start higher and tighter so the first content sits above the fold */
.page-hero.page-hero--mark { padding-block: clamp(20px, 3.5vh, 40px) clamp(8px, 1.5vh, 16px); }
.page-hero--mark .eyebrow { margin-bottom: 14px; }
.page-hero--mark .sec-head--hero .display-1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.page-hero--mark .sec-head--hero .lead { margin-top: 12px; }
/* larger menu logo, same 56px bar */
.hdr__logo { width: 140px; }

/* mega menu: icons without boxes; panel is the same frosted glass as the bar */
.hdr__panel .tile__img, html.theme-dark .hdr__panel .tile__img {
  background: none !important; background-image: none !important; border: 0; box-shadow: none; height: 76px;
}
.hdr__panel .glyph { width: 150px; height: auto; }
.hdr__panel {
  background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.76));
  -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6);
  box-shadow: inset 0 -1px 0 rgba(27,99,224,.10);
}
.hdr.is-open .hdr__bar { background: transparent; border-bottom-color: rgba(27,99,224,.10); }
html.theme-dark .hdr__panel {
  background: linear-gradient(180deg, rgba(9,17,34,.86), rgba(9,17,34,.76));
  box-shadow: inset 0 -1px 0 rgba(160,190,230,.12);
}
html.theme-dark .hdr.is-open .hdr__bar { border-bottom-color: rgba(160,190,230,.12); }

/* roadmap matrix: amber for cheap wins, slate for park */
:root { --cheap: #E8A33D; --park: #8C9AAB; }
html.theme-dark { --cheap: #F2B655; --park: #7D8DA3; }
.dot--cool b, html.theme-dark .dot--cool b { background: var(--cheap); border: 0; box-shadow: 0 0 0 4px rgba(232,163,61,.20); }
.dot--park b, html.theme-dark .dot--park b { background: var(--park); border: 0; box-shadow: 0 0 0 4px rgba(140,154,171,.20); }
.legend__c, html.theme-dark .legend__c { background: var(--cheap); border: 0; }
.legend__d { background: var(--park); }
.legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.legend ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .legend ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .legend ul { grid-template-columns: 1fr; } }

/* matrix axes: vertical axis labeled on the left with low/high ends; horizontal axis aligned under the plot */
.matrix-plot { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.axis-y { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding-block: 6px; }
.axis-y span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.75rem; color: var(--grey); white-space: nowrap; }
.axis-y__title { font-weight: 500; color: var(--ink) !important; }
.axis-x { margin-left: 46px; }
.axis-x__title { font-weight: 500; color: var(--ink); }
.matrix { aspect-ratio: 1 / 0.46; }
@media (max-width: 960px) { .matrix { aspect-ratio: 1 / 0.6; } }
@media (max-width: 660px) {
  .matrix { aspect-ratio: 1 / 0.85; }
  .matrix-plot { grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
  .axis-y__title { display: none; }
  .axis-x { margin-left: 30px; }
  .axis-x span:nth-child(2) { display: none; }
}
/* roadmap matrix: yellow for Build now, purple for Cheap wins */
:root { --go: #E3AE12; --cheap: #8B5CF6; }
html.theme-dark { --go: #F5C542; --cheap: #A78BFA; }
.dot--hot b, html.theme-dark .dot--hot b { box-shadow: 0 0 0 4px rgba(227,174,18,.22); }
.dot--cool b, html.theme-dark .dot--cool b { box-shadow: 0 0 0 4px rgba(139,92,246,.20); }
/* roadmap matrix: red for Park */
:root { --park: #E0475B; }
html.theme-dark { --park: #F36B7C; }
.dot--park b, html.theme-dark .dot--park b { box-shadow: 0 0 0 4px rgba(224,71,91,.18); }
/* About mark animation plays once on load and holds on the finished logo */
@media (prefers-reduced-motion: no-preference) {
  .oi__stage { animation: none; }
  .oi__o { animation: oi-o 9s cubic-bezier(.65,0,.35,1) 1 forwards; }
  .oi__i { animation: oi-i 9s cubic-bezier(.65,0,.35,1) 1 forwards; }
  .oi__cap { animation: oi-cap 9s ease 1 forwards; }
  .oi__word { animation: oi-word 9s linear 1 forwards; }
}
/* new square headshot: centered on the face, 16px corners like other cards */
.founder__photo { aspect-ratio: 1; object-position: 50% 40%; border-radius: 16px; max-width: 520px; }
@media (max-width: 860px) { .founder__photo { aspect-ratio: 1; object-position: 50% 40%; max-width: 420px; } }
/* headshot height follows the bio beside it */
.founder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.founder__photo { aspect-ratio: auto; height: 100%; min-height: 360px; max-width: none; object-fit: cover; object-position: 50% 35%; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo { aspect-ratio: 1; height: auto; min-height: 0; max-width: 420px; }
}
.founder__links a.founder__phone { display: inline-flex; align-items: center; width: auto; gap: 8px; padding-inline: 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; text-decoration: none; }
.founder__phone .icon { width: 16px; height: 16px; }

/* ---------- Book page (bare layout: back button + calendar) ---------- */
body.page-book { min-height: 100vh; }
.book { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding: 16px clamp(16px, 3vw, 32px) clamp(16px, 3vw, 32px); box-sizing: border-box; gap: 12px; }
.book__bar { display: flex; align-items: center; }
.book__back { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink, #00071F); background: rgba(255,255,255,.78); border: 1px solid rgba(27,99,224,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, border-color .2s; }
.book__back:hover { background: #fff; border-color: rgba(27,99,224,.32); }
.book__back .icon { width: 18px; height: 18px; }
.book__frame { flex: 1 1 auto; display: flex; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(27,99,224,.1); }
.book__frame iframe { flex: 1 1 auto; width: 100%; min-height: 640px; border: 0; display: block; }
.book__fallback { margin: auto; }
html.theme-dark .book__back { color: #fff; background: rgba(12,22,48,.72); border-color: rgba(156,196,255,.18); }
html.theme-dark .book__back:hover { background: rgba(18,32,66,.9); }
html.theme-dark .book__frame { background: #101010; border-color: rgba(156,196,255,.14); }

/* Founder headshot: smaller */
.founder { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; }
.founder__photo { height: auto; min-height: 0; aspect-ratio: 4 / 5; max-width: 300px; object-position: 50% 30%; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo { aspect-ratio: 4 / 5; max-width: 260px; }
}

/* Five industries: 3 + 2 rows with no empty slots */
@media (min-width: 1001px) {
  .ind-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ind-grid > .ind-card { grid-column: span 2; }
  .ind-grid > .ind-card:nth-last-child(-n+2):nth-child(n+4) { grid-column: span 3; }
}
@media (min-width: 641px) and (max-width: 1000px) {
  .ind-grid > .ind-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
[data-panel="industries"] .tiles { grid-template-columns: repeat(3, minmax(0, 184px)); }

/* Industries menu: one row of compact buttons */
.tiles.ind-btns { display: flex; flex-wrap: nowrap; gap: 10px; align-items: stretch; align-content: center; }
.ind-btn { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px 10px 14px; border-radius: 14px; text-align: center; text-decoration: none; color: var(--ink); font: 500 14px/18px var(--font-text); background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(240,246,255,.7)); border: 1px solid rgba(27,99,224,.12); box-shadow: 0 1px 2px rgba(0,7,31,.04); transition: border-color .15s, box-shadow .15s, transform .15s, color .15s; }
.ind-btn .glyph { width: 72px; height: 40px; color: var(--blue); }
.ind-btn:hover, .ind-btn:focus-visible { border-color: rgba(27,99,224,.45); color: var(--action); box-shadow: 0 6px 18px rgba(27,99,224,.12); transform: translateY(-1px); }
html.theme-dark .ind-btn { color: var(--ink); background: linear-gradient(160deg, rgba(22,36,70,.85), rgba(12,22,48,.75)); border-color: rgba(156,196,255,.16); }
html.theme-dark .ind-btn:hover, html.theme-dark .ind-btn:focus-visible { border-color: rgba(156,196,255,.5); color: #fff; }
.tiles.ind-btns { align-self: flex-start; }
.ind-btn { gap: 2px; padding: 4px 10px 14px; }
.ind-btn .glyph { width: 116px; height: 66px; margin: 0 -22px -6px; flex: none; }

/* Services menu: whole tile is the link */
.tile--link { display: block; text-decoration: none; color: var(--ink); border-radius: 12px; transition: color .15s; }
.tile--link .tile__img { display: flex; }
.tile--link .tile__title { display: block; }
.tile--link:hover, .tile--link:focus-visible { color: var(--action); }

/* Mega menu panel: same glass as the scrolled menu bar */
.hdr__panel {
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.42));
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 -1px 0 rgba(27,99,224,.10);
}
.hdr.is-open .hdr__bar {
  background-image: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.42));
  -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  border-bottom-color: rgba(27,99,224,.10);
}
html.theme-dark .hdr__panel {
  background: linear-gradient(180deg, rgba(7,14,30,.72), rgba(7,14,30,.55));
  box-shadow: inset 0 -1px 0 rgba(160,190,230,.12);
}
html.theme-dark .hdr.is-open .hdr__bar { background-image: linear-gradient(180deg, rgba(7,14,30,.72), rgba(7,14,30,.55)); }

/* Home industry cards: icon without the box */
.ind-card .tile__img, html.theme-dark .ind-card .tile__img {
  background: none !important; background-image: none !important; border: 0 !important; box-shadow: none !important;
  height: 72px; margin-bottom: 8px; justify-content: flex-start;
}
.ind-card .tile__img .glyph { width: 128px; height: 72px; margin-left: -42px; }
/* lighter page dim so the open panel reads like the scrolled bar */
.hdr__backdrop { background: color-mix(in srgb, var(--ink) 10%, transparent); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
/* home industry icons: drawing aligned to the card text */
#pharma .tile__img .glyph { margin-left: -36px; }
#medical-practices .tile__img .glyph { margin-left: -33px; }
#automotive .tile__img .glyph { margin-left: -25px; }
#cannabis .tile__img .glyph, #luxury-retail .tile__img .glyph { margin-left: -29px; }

/* Services and Industries menu buttons share one size: a fifth of the row */
.tiles.ind-btns .ind-btn { flex: 0 0 calc((100% - 40px) / 5); }
.tiles.ind-btns .ind-btn { min-height: 118px; }
[data-panel="services"] .tiles.ind-btns { justify-content: flex-end; }

/* Light mode: dark navy blocks use the footer's blue instead */
html:not(.theme-dark) .origin,
html:not(.theme-dark) .panel-dark,
html:not(.theme-dark) .bigstat:not(.bigstat--muted),
html:not(.theme-dark) .metric-stack li:first-child,
html:not(.theme-dark) .process li:last-child {
  background-color: #1B55C2;
  background-image:
    radial-gradient(70% 90% at 88% 8%, rgba(120,175,255,.42), rgba(80,150,255,0) 62%),
    linear-gradient(160deg, #123F9A 0%, #1B55C2 52%, #2A6ADB 100%);
  background-size: auto;
  border-color: transparent;
}
html:not(.theme-dark) :is(.origin, .panel-dark) p:not(.eyebrow),
html:not(.theme-dark) .panel-dark__lead,
html:not(.theme-dark) .panel-dark__list span,
html:not(.theme-dark) .bigstat:not(.bigstat--muted) span,
html:not(.theme-dark) .metric-stack li:first-child span,
html:not(.theme-dark) .process li:last-child p { color: rgba(255,255,255,.84); }
html:not(.theme-dark) .panel-dark__list li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
html:not(.theme-dark) .process li:last-child span { background: #FFFFFF; color: #1B55C2; }

/* Light mode: blue blocks as translucent glass (footer stays solid) */
html:not(.theme-dark) .origin,
html:not(.theme-dark) .panel-dark,
html:not(.theme-dark) .bigstat:not(.bigstat--muted),
html:not(.theme-dark) .metric-stack li:first-child,
html:not(.theme-dark) .process li:last-child {
  background-color: transparent;
  background-image:
    radial-gradient(70% 90% at 88% 8%, rgba(120,175,255,.36), rgba(80,150,255,0) 62%),
    linear-gradient(160deg, rgba(18,63,154,.88) 0%, rgba(27,85,194,.84) 52%, rgba(42,106,219,.80) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.18);
}
/* blue blocks: a step darker */
html:not(.theme-dark) .origin,
html:not(.theme-dark) .panel-dark,
html:not(.theme-dark) .bigstat:not(.bigstat--muted),
html:not(.theme-dark) .metric-stack li:first-child,
html:not(.theme-dark) .process li:last-child {
  background-image:
    radial-gradient(70% 90% at 88% 8%, rgba(110,165,255,.28), rgba(80,150,255,0) 62%),
    linear-gradient(160deg, rgba(12,46,122,.90) 0%, rgba(20,68,166,.87) 52%, rgba(32,90,196,.84) 100%);
}
.section--first > .container { position: relative; z-index: 1; }
/* Get Started form: same glass card as the rest of the site */
.card.form { background: linear-gradient(125deg, rgba(255,255,255,.80), rgba(255,255,255,.58)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(27,99,224,.10); }
html.theme-dark .card.form { background: linear-gradient(125deg, rgba(22,36,70,.72), rgba(12,22,48,.58)); border-color: rgba(156,196,255,.14); }

/* Get Started form: two glass layers like "Our process" (pale panel + white boxes) */
.card.form {
  background: linear-gradient(135deg, rgba(232,241,254,.45), rgba(240,246,255,.35));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(27,99,224,.07); border-radius: 28px; box-shadow: none;
}
.card.form :is(input, textarea, select) {
  background: linear-gradient(125deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(27,99,224,.08), 0 10px 24px rgba(27,99,224,.06);
}
.card.form :is(input, textarea, select):focus { box-shadow: 0 0 0 2px rgba(27,99,224,.45), 0 10px 24px rgba(27,99,224,.08); outline: none; }
html.theme-dark .card.form {
  background: linear-gradient(135deg, rgba(18,32,62,.40), rgba(14,26,52,.32));
  border-color: rgba(120,170,255,.08);
}
html.theme-dark .card.form :is(input, textarea, select) {
  background: linear-gradient(125deg, rgba(28,46,82,.82), rgba(22,38,70,.70));
  border-color: rgba(120,170,255,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
html.theme-dark .card.form :is(input, textarea, select):focus { box-shadow: 0 0 0 2px rgba(120,170,255,.55), 0 10px 24px rgba(0,0,0,.25); }
/* form fields: whiter, like the Our process cards */
.card.form :is(input, textarea, select) { background: linear-gradient(125deg, rgba(255,255,255,.98), rgba(255,255,255,.90)); }

/* Course correction: entry-point bar in the engagement gantt */
.gantt__bar--entry { background: var(--blue); color: #FFFFFF; }
html.theme-dark .gantt__bar--entry { background: #3D7EF0; color: #FFFFFF; }

/* ---------- Case studies ---------- */
.cases { display: grid; gap: 20px; }
.case {
  padding: clamp(22px, 3vw, 36px); border-radius: 16px;
  background: linear-gradient(125deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(27,99,224,.08), 0 10px 24px rgba(27,99,224,.06);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.case__tag { margin: 0 0 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--action); }
.case__title { margin: 0 0 24px; max-width: 34ch; font: 300 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.case__grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; }
.case__col { padding: 18px 20px; border-radius: 12px; background: rgba(232,241,254,.45); border: 1px solid rgba(27,99,224,.07); }
.case__col--did { background: rgba(232,241,254,.85); }
.case__col h3 { margin: 0 0 10px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.case__col p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-80); }
.case__col ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 0.9375rem; line-height: 1.5; color: var(--ink-80); }
.case__col li::marker { color: var(--blue); }
.case__caps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.case__caps li { padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; color: var(--action); background: rgba(50,125,255,.08); border: 1px solid rgba(50,125,255,.18); }
@media (max-width: 900px) { .case__grid { grid-template-columns: 1fr; } }
html.theme-dark .case { background: linear-gradient(125deg, rgba(28,46,82,.82), rgba(22,38,70,.70)); border-color: rgba(120,170,255,.16); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
html.theme-dark .case__col { background: rgba(18,32,62,.55); border-color: rgba(120,170,255,.10); }
html.theme-dark .case__col--did { background: rgba(30,52,96,.65); }
html.theme-dark .case__tag { color: #7FB0FF; }
html.theme-dark .case__caps li { color: #9CC4FF; background: rgba(80,150,255,.12); border-color: rgba(120,170,255,.24); }

/* Home: selected work teasers and investor callout */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 16px; text-decoration: none; color: var(--ink);
  background: linear-gradient(125deg, rgba(255,255,255,.92), rgba(255,255,255,.72)); border: 1px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(27,99,224,.08), 0 10px 24px rgba(27,99,224,.06); transition: transform .15s, box-shadow .15s; }
.work-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(27,99,224,.25), 0 14px 28px rgba(27,99,224,.10); }
.work-card span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--action); }
.work-card b { font: 400 1.125rem/1.3 var(--font-display); letter-spacing: -0.01em; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }
html.theme-dark .work-card { color: var(--ink); background: linear-gradient(125deg, rgba(28,46,82,.82), rgba(22,38,70,.70)); border-color: rgba(120,170,255,.16); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
html.theme-dark .work-card span { color: #7FB0FF; }

.investor { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 16px; padding: 18px 22px; border-radius: 16px;
  background: rgba(50,125,255,.07); border: 1px solid rgba(50,125,255,.18); }
.investor p { margin: 0; font-size: 0.9375rem; color: var(--ink-80); }
.investor p b { color: var(--ink); font-weight: 600; }
html.theme-dark .investor { background: rgba(80,150,255,.10); border-color: rgba(120,170,255,.22); }
.src-note { margin: 16px 0 0; font-size: 0.75rem; color: var(--grey); }
.src-note a { color: inherit; }
.case__col ul { list-style: disc; } .case__col li { padding-left: 2px; }
