/* Bedrock Leverage v2 — "the survey"
   Chalk ground, strata navy, one ultramarine vein.
   Display: Archivo (expanded). Utility: Martian Mono. */

@font-face {
  font-family: "Archivo";
  src: url("/v2/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("/v2/fonts/martian-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
}

:root {
  --chalk: #EEF1F0;
  --chalk-hi: #F6F8F7;
  --core: #E2E7E5;
  --ink: #0F2A38;
  --navy: #183342;
  --bedrock: #0B1E28;
  --slate: #55656E;
  --ultra: #3445F0;
  --ultra-lite: #8A96FF;
  --line: rgba(15, 42, 56, .14);
  --line-strong: rgba(15, 42, 56, .3);
  --on-dark: #EEF1F0;
  --on-dark-muted: rgba(238, 241, 240, .7);
  --line-dark: rgba(238, 241, 240, .16);

  --f-text: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1440px;
  --gutter: clamp(20px, 3.4vw, 48px);
  --col-gap: clamp(16px, 1.7vw, 24px);
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
::selection { background: var(--ultra); color: var(--chalk); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.mono {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.5;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.display {
  font-stretch: 125%;
  font-weight: 300;
  letter-spacing: -.042em;
  line-height: .98;
}
.h2 { font-size: clamp(34px, 4.4vw, 64px); text-wrap: balance; }
.lede { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; max-width: 42ch; text-wrap: pretty; }

.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--slate); }
.eyebrow::before {
  content: "";
  flex: none;
  width: 16px;
  height: 5px;
  background: var(--ultra);
  transform: skewY(-10deg);
}

:focus-visible { outline: 2px solid var(--ultra); outline-offset: 3px; }

.skip {
  position: fixed;
  z-index: 100;
  left: 12px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--chalk);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: stretch;
  height: var(--h);
  background: var(--ink);
  color: var(--chalk);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  border-radius: 3px;
  overflow: hidden;
  white-space: nowrap;
  transition: background-color .3s var(--ease);
}
.btn > span:first-child { display: flex; align-items: center; padding: 0 20px 0 22px; }
.btn__arr {
  display: grid;
  place-items: center;
  width: var(--h);
  border-left: 1px solid rgba(238, 241, 240, .18);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.btn__arr svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .btn__arr { background: var(--ultra); color: var(--chalk); }
.btn:hover .btn__arr svg { transform: translateX(3px); }
.btn--sm { --h: 42px; font-size: 14px; }
.btn--sm > span:first-child { padding: 0 16px 0 18px; }
.btn--lg { --h: 58px; font-size: 16px; }
.btn--light { background: var(--chalk); color: var(--ink); }
.btn--light .btn__arr { border-left-color: var(--line-strong); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .3s var(--ease), background-size .45s var(--ease);
}
.link svg { width: 14px; height: 14px; flex: none; transition: transform .45s var(--ease); }
.link:hover { color: var(--ultra); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--hdr-h);
  transition: transform .5s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.hdr.is-scrolled {
  background: rgba(238, 241, 240, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.hdr.is-hidden { transform: translateY(-101%); }
.hdr__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; }
.brand__name { font-stretch: 125%; font-weight: 500; font-size: 15.5px; letter-spacing: -.02em; white-space: nowrap; }
.nav { display: flex; gap: clamp(16px, 1.8vw, 28px); font-size: 14.5px; font-weight: 450; }
.nav a { position: relative; padding: 6px 0; text-decoration: none; white-space: nowrap; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hdr__end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 6px; color: var(--slate); }
.lang a { text-decoration: none; }
.lang a[aria-current] { color: var(--ink); font-weight: 500; }
.lang a:hover { color: var(--ultra); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}
.menu-btn i {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.menu-btn i:first-of-type { top: 17px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 28px;
  background: var(--chalk);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__links a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-stretch: 125%;
  font-weight: 300;
  font-size: clamp(30px, 8.4vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.1;
  text-decoration: none;
}
.menu__end { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.menu__end .btn { white-space: normal; height: auto; min-height: 54px; }
html.menu-open { overflow: hidden; }
html.menu-open .hdr { background: var(--chalk); box-shadow: 0 1px 0 var(--line); transform: none; }

@media (max-width: 1180px) {
  .nav, .hdr .lang { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 600px) {
  .hdr__cta { display: none; }
  :root { --hdr-h: 66px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--hdr-h) + clamp(18px, 4vh, 44px)); }
.hero__top { position: relative; z-index: 2; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; color: var(--slate); margin-bottom: clamp(22px, 4vh, 44px); }
.hero__title { font-size: clamp(44px, 8.9vw, 140px); letter-spacing: -.048em; line-height: .9; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .04em .08em 0; margin-bottom: -.08em; }
.hero__title .line > span { display: block; }
.hero__title em { font-style: normal; color: var(--ultra); }
.hero__row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 32px;
  align-items: end;
  margin-top: clamp(28px, 4.5vh, 52px);
  padding-bottom: clamp(100px, 12vh, 118px);
}
.hero__lede { grid-column: 1 / span 5; }
.hero__ctas { grid-column: 8 / span 5; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.hero__note { display: none; color: var(--slate); text-align: right; text-wrap: balance; }

/* Hero photo: people on the surface, standing on the ground line of Fig. 01 */
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero__main { min-width: 0; }
.hero__photo {
  position: relative;
  margin: 40px 0 clamp(100px, 12vh, 118px);
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 3px;
  background: var(--core);
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 42, 56, 0) 58%, rgba(15, 42, 56, .34));
  pointer-events: none;
}
.hero__photo figcaption {
  position: absolute;
  z-index: 1;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  background: rgba(246, 248, 247, .92);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-weight: 500;
}
@media (min-width: 1181px) {
  .hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .hero__main { grid-column: 1 / span 8; }
  .hero__title { font-size: clamp(44px, 6.9vw, 100px); }
  .hero__row { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .hero__lede { grid-column: 1 / span 4; }
  .hero__ctas { grid-column: 5 / span 4; justify-self: start; align-items: flex-start; }
  .hero__note { text-align: left; }
  .hero__photo { grid-column: 9 / span 4; margin: 0; aspect-ratio: auto; border-radius: 3px 3px 0 0; }
}
@media (max-width: 1180px) {
  .hero__row { padding-bottom: 0; }
}
@media (max-width: 767px) {
  .hero__photo { aspect-ratio: 3 / 2; margin-top: 32px; }
}

.tblock {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 30px;
  /* Same width as the four-column hero photo above the ground line */
  width: calc((100% - 2 * var(--gutter) - 11 * var(--col-gap)) / 12 * 4 + 3 * var(--col-gap));
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-strong);
  background: var(--chalk-hi);
  box-shadow: 0 18px 40px -18px rgba(11, 30, 40, .45);
  font-size: 14.5px;
  line-height: 1.35;
}
.tblock > div { padding: 11px 14px 12px; border-top: 1px solid var(--line); min-width: 0; }
.tblock > div:nth-child(odd):not(.tblock__wide) { border-left: 1px solid var(--line); }
.tblock dt { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.tblock dd { font-weight: 500; }
.tblock__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--chalk);
  border-top: 0 !important;
}
.tblock__head dd { display: flex; align-items: center; gap: 10px; font-stretch: 125%; font-weight: 450; letter-spacing: -.015em; }
.tblock__head svg { width: 22px; height: 22px; flex: none; }
.tblock__wide { grid-column: 1 / -1; }

/* Fig. 01 — the cross-section */
.fig1 { position: relative; margin: 0; overflow-x: clip; }
.fig1__canvas { position: relative; width: 100%; max-width: var(--maxw); margin-inline: auto; aspect-ratio: 1440 / 480; }
.fig1__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fig1 .band { transition: opacity .45s var(--ease); }
.fig1.is-focus .band:not(.is-on) { opacity: .28; }
.vein { fill: none; stroke: url(#vein-grad); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.vein-glow { fill: none; stroke: url(#vein-grad); stroke-width: 8; stroke-opacity: .45; stroke-linejoin: round; }
.vein-pulse { fill: none; stroke: #DDE1FF; stroke-width: 3; stroke-linecap: round; opacity: 0; stroke-dasharray: 16px var(--len, 1000px); }
.fig1.is-live .vein-pulse { opacity: 1; animation: vein-pulse 5.5s linear infinite; }
@keyframes vein-pulse {
  from { stroke-dashoffset: 16px; }
  70%, to { stroke-dashoffset: calc(-1 * var(--len, 1000px)); }
}
.branch { fill: none; stroke: var(--ultra); stroke-width: 1.5; stroke-linejoin: round; }
.branch--lite { stroke: var(--ultra-lite); }
.pad { fill: var(--chalk); stroke: var(--ultra); stroke-width: 1.5; }
.pad--lite { fill: var(--ink); stroke: var(--ultra-lite); }
.node { fill: var(--ultra); stroke: var(--chalk); stroke-width: 2; transform-box: fill-box; transform-origin: center; }

.fig1__labels li {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  translate: 0 -50%;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 11px 6px 10px;
  background: rgba(246, 248, 247, .92);
  border: 1px solid var(--line);
  border-radius: 2px;
  white-space: nowrap;
  cursor: default;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.fig1__labels b { font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.fig1__labels span { font-size: 13px; color: var(--slate); }
.fig1__labels li[data-band="people"] { background: rgba(11, 30, 40, .72); border-color: var(--line-dark); color: var(--on-dark); }
.fig1__labels li[data-band="people"] span { color: var(--on-dark-muted); }
.fig1__labels li.is-on { border-color: var(--ultra); }

.fig1__rise {
  position: absolute;
  bottom: 100%;
  width: 2px;
  height: clamp(56px, 8vh, 84px);
  margin-left: -1px;
  background: var(--ultra);
  transform-origin: bottom;
}
.fig1__rise::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--chalk);
  border: 2px solid var(--ultra);
}
.fig1__rise span { position: absolute; top: -8px; left: 16px; color: var(--ultra); font-weight: 500; white-space: nowrap; }

.fig1__cap {
  position: absolute;
  left: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  bottom: 30px;
  max-width: 46%;
  color: var(--on-dark-muted);
}
@media (max-width: 1279px) {
  .tblock { display: none; }
  .hero__note { display: block; }
}

@media (max-width: 959px) {
  .fig1 { padding-bottom: 60px; background: linear-gradient(var(--ink), var(--ink)) bottom / 100% 61px no-repeat; }
  .fig1__canvas { width: 960px; max-width: none; margin-left: calc(50% - 400px); }
  .fig1__cap { left: var(--gutter); right: var(--gutter); bottom: 12px; max-width: none; text-align: left; }
}
@media (max-width: 739px) {
  .fig1__labels li { left: calc(var(--xm) * 1%); top: calc(var(--ym) * 1%); }
  .fig1__labels span { display: none; }
}

/* Clients strip — continues the people band */
.clients { background: var(--ink); color: var(--on-dark); }
.clients__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: 30px 44px;
}
.clients__label { color: var(--on-dark-muted); }
.clients__list { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 80px); }
.clients__list img { height: var(--h, 22px); width: auto; filter: brightness(0) invert(1); opacity: .82; }

/* Pre-intro state (removed by JS or a 2.6s failsafe) */
html.intro-pending .hero__top,
html.intro-pending .fig1__svg,
html.intro-pending .fig1__labels,
html.intro-pending .fig1__rise { visibility: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 8.5vw, 124px); }
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  row-gap: 22px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 84px);
}
.sec-head .eyebrow { grid-column: 1 / -1; }
.sec-head .h2 { grid-column: 1 / span 7; }
.sec-head__lead { grid-column: 9 / span 4; color: var(--slate); max-width: 40ch; }

/* ---------- Services ---------- */
.svc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 48px; }
.svc__head { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--hdr-h) + 32px); }
.svc__head .h2 { margin-top: 22px; }
.svc__intro { margin-top: 24px; color: var(--slate); max-width: 36ch; }
.svc__workshop { margin-top: 28px; color: var(--slate); font-size: 15.5px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.svc__workshop .link { color: var(--ink); }
.svc__list { grid-column: 6 / span 7; border-top: 1px solid var(--line-strong); }
.svc__link {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 46px;
  column-gap: clamp(18px, 2vw, 32px);
  align-items: start;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  isolation: isolate;
}
.svc__link::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: -1;
  background: var(--chalk-hi);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.svc__link:hover::before { transform: scaleY(1); }
.sw { width: 64px; height: 44px; outline: 1px solid var(--line-strong); outline-offset: -1px; margin-top: 4px; }
.svc__title { display: block; font-stretch: 125%; font-weight: 350; font-size: clamp(22px, 2vw, 30px); letter-spacing: -.035em; line-height: 1.08; }
.svc__text { display: block; margin-top: 10px; color: var(--slate); max-width: 50ch; }
.svc__layer { display: block; margin-top: 16px; color: var(--ink); }
.svc__arr {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.svc__arr svg { width: 15px; height: 15px; transition: transform .45s var(--ease); }
.svc__link:hover .svc__arr { background: var(--ultra); border-color: var(--ultra); color: var(--chalk); }
.svc__link:hover .svc__arr svg { transform: rotate(-45deg); }

/* ---------- Work ---------- */
.work__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 32px; }
.feature { grid-column: 1 / span 7; }
.feature__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 600px;
  padding: clamp(26px, 3vw, 44px);
  border-radius: 4px;
  background-color: var(--navy);
  background-image: repeating-linear-gradient(-5.7deg, transparent 0 83px, rgba(238, 241, 240, .07) 83px 84px);
  color: var(--on-dark);
  text-decoration: none;
  overflow: hidden;
}
.feature__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.feature__logo { height: 24px; width: auto; }
.feature__sector { color: var(--on-dark-muted); }
.feature__title { margin-top: auto; padding-top: 56px; font-size: clamp(30px, 3.2vw, 48px); letter-spacing: -.04em; line-height: 1.02; max-width: 17ch; text-wrap: balance; }
.ruler { margin-top: 40px; }
.ruler__track { position: relative; height: 6px; background: rgba(238, 241, 240, .12); }
.ruler__fill { position: absolute; inset: 0; background: var(--ultra-lite); transform-origin: left; }
.ruler__ticks { display: flex; justify-content: space-between; }
.ruler__ticks i { width: 1px; height: 9px; background: rgba(238, 241, 240, .45); }
.ruler__labels { display: flex; justify-content: space-between; gap: 16px; margin-top: 8px; color: var(--on-dark-muted); }
.ruler__labels span:first-child { white-space: nowrap; }
.ruler__labels span:last-child { color: var(--on-dark); text-align: right; }
.feature__scope { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.feature__scope li { padding: 6px 10px; border: 1px solid var(--line-dark); border-radius: 2px; color: var(--on-dark); }
.feature__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.feature__role { display: flex; flex-direction: column; gap: 4px; }
.feature__role .mono { color: var(--on-dark-muted); }
.feature__cta { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.feature__cta svg { width: 15px; height: 15px; transition: transform .45s var(--ease); }
.feature__link:hover .feature__cta svg { transform: translateX(4px); }

.work__list { grid-column: 8 / span 5; display: flex; flex-direction: column; border-top: 1px solid var(--line-strong); }
.case { flex: 1; border-bottom: 1px solid var(--line); }
.case__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 64px 28px 0;
  text-decoration: none;
  isolation: isolate;
}
.case__link::before {
  content: "";
  position: absolute;
  inset: 0 -18px;
  z-index: -1;
  background: var(--chalk-hi);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.case__link:hover::before { transform: scaleY(1); }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.case__logo { height: 20px; width: auto; }
.case__sector { color: var(--slate); text-align: right; }
.case__title { margin-top: 20px; font-stretch: 125%; font-weight: 350; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.case__text { margin-top: 10px; color: var(--slate); font-size: 15.5px; }
.case__facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; }
.case__facts div { display: flex; gap: 6px; }
.case__facts dt { color: var(--slate); }
.case__facts dd { color: var(--ink); }
.case__arr {
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.case__arr svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.case__link:hover .case__arr { background: var(--ultra); border-color: var(--ultra); color: var(--chalk); }
.case__link:hover .case__arr svg { transform: rotate(-45deg); }

/* ---------- About (dark) ---------- */
.about { background: var(--bedrock); color: var(--on-dark); padding-block: clamp(96px, 12vw, 176px); }
.about .eyebrow { color: var(--on-dark-muted); font-weight: 400; }
.manifesto { margin-top: 34px; font-size: clamp(30px, 4.1vw, 62px); line-height: 1.06; letter-spacing: -.038em; max-width: 21ch; text-wrap: pretty; }
.manifesto .w { display: inline-block; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(64px, 8vw, 116px); }
.principles li { padding-top: 24px; border-top: 1px solid var(--line-dark); }
.principles h3 { font-stretch: 125%; font-weight: 400; font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.028em; line-height: 1.15; }
.principles p { margin-top: 14px; color: var(--on-dark-muted); font-size: 16px; max-width: 40ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin-top: clamp(56px, 6vw, 88px); padding-top: 22px; border-top: 1px solid var(--line-dark); }
.facts dt { color: var(--on-dark-muted); }
.facts dd { margin-top: 6px; font-size: 16px; }

/* ---------- Approach ---------- */
.steps-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 44px; padding-top: 48px; }
.steps__line { position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.steps__fill { position: absolute; inset: 0; background: var(--ultra); transform-origin: left center; }
.step { position: relative; }
.step__node {
  position: absolute;
  top: -48px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--chalk);
  border: 1.5px solid var(--ink);
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.step.is-on .step__node { border-color: var(--ultra); }
.step--free .step__node { background: var(--ultra); border-color: var(--ultra); box-shadow: 0 0 0 5px rgba(52, 69, 240, .14); }
.step__no { color: var(--slate); }
.step__tag { margin-top: 4px; color: var(--ink); }
.step--free .step__tag { color: var(--ultra); }
.step h3 { margin-top: 22px; font-stretch: 125%; font-weight: 350; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.035em; line-height: 1.1; }
.step__text { margin-top: 12px; color: var(--slate); max-width: 34ch; }

/* ---------- Testimonials ---------- */
.quotes { background: var(--core); }
.quotes__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; }
.quotes__side { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.quotes__side .h2 { margin-top: 22px; }
.quotes__ctrl { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 48px; }
.qbtn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.qbtn svg { width: 15px; height: 15px; }
.qbtn--prev svg { transform: scaleX(-1); }
.qbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.quotes__count { min-width: 64px; text-align: center; }
.quotes__bars { display: flex; gap: 6px; margin-top: 18px; max-width: 200px; }
.quotes__bars i { flex: 1; height: 2px; background: var(--line-strong); transition: background-color .4s var(--ease); }
.quotes__bars i.is-on { background: var(--ultra); }
.quotes__stage { grid-column: 6 / span 7; display: grid; row-gap: 56px; }
.quote { display: flex; flex-direction: column; }
/* Carousel only once the script has taken over; otherwise all quotes are listed. */
.quotes:not(.is-carousel) .quotes__ctrl,
.quotes:not(.is-carousel) .quotes__bars { display: none; }
.quotes.is-carousel .quote { grid-area: 1 / 1; }
.quotes.is-carousel .quote:not(.is-active) { visibility: hidden; opacity: 0; }
.quote blockquote p { font-size: clamp(22px, 2.35vw, 35px); line-height: 1.28; letter-spacing: -.018em; font-weight: 350; text-wrap: pretty; }
.quote figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 40px; }
.quote figcaption img { height: 18px; width: auto; filter: brightness(0); opacity: .82; }
.quote__who { font-weight: 600; }
.quote figcaption .mono { color: var(--slate); }

/* ---------- Session ---------- */
.session__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 56px; align-items: start; }
.session__copy { grid-column: 1 / span 6; }
.session__copy .h2 { margin-top: 22px; max-width: 13ch; }
.session__copy .lede { margin-top: 28px; }
.session__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.session__facts li { padding: 7px 11px; border: 1px solid var(--line-strong); border-radius: 2px; }
.session__action { margin-top: 40px; }
.session__fine { margin-top: 16px; color: var(--slate); font-size: 14.5px; max-width: 46ch; }
.host { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); max-width: 520px; }
.host img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.host strong { display: block; font-weight: 600; }
.host span { display: block; color: var(--slate); font-size: 15px; }

.session__card { grid-column: 8 / span 5; padding: clamp(22px, 2.4vw, 32px); background: var(--chalk-hi); border: 1px solid var(--line-strong); border-radius: 4px; }
.fig2 svg { width: 100%; height: auto; border: 1px solid var(--line); }
.fig2 text { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; fill: var(--ink); }
.fig2 .find { transform-box: fill-box; transform-origin: 0 50%; }
.fig2 figcaption { margin-top: 12px; color: var(--slate); }
.session__takehead { margin-top: 30px; color: var(--slate); font-weight: 400; }
.takeaways { margin-top: 10px; }
.takeaways li { display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); font-size: 17px; font-weight: 500; }
.takeaways li::before { content: ""; flex: none; width: 14px; height: 5px; background: var(--ultra); transform: translateY(-3px) skewY(-10deg); }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; padding-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--line-strong); }
.faq__side { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--hdr-h) + 32px); }
.faq__side .h2 { margin-top: 22px; max-width: 11ch; }
.faq__more { margin-top: 26px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.faq__more .link { color: var(--ink); }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(18px, 1.45vw, 21px);
  font-weight: 450;
  letter-spacing: -.01em;
  transition: color .3s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ultra); }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0deg); }
.qa__a { padding-bottom: 26px; color: var(--slate); max-width: 62ch; }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.qa[open]::details-content { block-size: auto; }

/* ---------- Footer ---------- */
.ftr { background: var(--bedrock); color: var(--on-dark); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.ftr a { text-decoration: none; }
.ftr__cta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid var(--line-dark); }
.ftr__title { font-size: clamp(34px, 4.6vw, 68px); max-width: 15ch; text-wrap: balance; }
.ftr__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 40px; padding-block: 56px 64px; }
.ftr__cols > div:nth-child(1) { grid-column: 1 / span 3; }
.ftr__cols > div:nth-child(2) { grid-column: 5 / span 4; }
.ftr__cols > div:nth-child(3) { grid-column: 10 / span 3; }
.ftr__cols .mono { color: var(--on-dark-muted); margin-bottom: 16px; }
.ftr__cols li a { display: inline-block; padding: 4px 0; transition: color .3s var(--ease); }
.ftr__cols li a:hover { color: var(--ultra-lite); }
.ftr__cols address { line-height: 1.7; }
.ftr__word {
  display: flex;
  align-items: center;
  gap: .12em;
  width: max-content;
  font-size: clamp(36px, 8.6vw, 136px);
  line-height: .8;
  letter-spacing: -.055em;
  white-space: nowrap;
  color: #1B3A4C;
  padding-bottom: .28em;
}
.ftr__word svg { width: .82em; height: .82em; flex: none; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-block: 22px 28px; border-top: 1px solid var(--line-dark); color: var(--on-dark-muted); }
.ftr__legal a:hover { color: var(--on-dark); }
.ftr__legal a[aria-current] { color: var(--on-dark); }

/* ---------- Mobile CTA ---------- */
.mcta { display: none; }
@media (max-width: 767px) {
  .mcta {
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 3px;
    background: var(--ink);
    color: var(--chalk);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(11, 30, 40, .25);
    transform: translateY(160%);
    transition: transform .5s var(--ease);
  }
  .mcta svg { width: 16px; height: 16px; flex: none; }
  .mcta.is-on { transform: none; }
}

/* ---------- Responsive layout ---------- */
@media (max-width: 1100px) {
  .hero__lede { grid-column: 1 / span 6; }
  .hero__ctas { grid-column: 7 / span 6; }
  .sec-head .h2 { grid-column: 1 / span 9; }
  .sec-head__lead { grid-column: 1 / span 7; }
  .svc__head, .faq__side, .quotes__side { grid-column: 1 / -1; position: static; }
  .svc__list, .faq__list, .quotes__stage { grid-column: 1 / -1; }
  .feature, .work__list { grid-column: 1 / -1; }
  .feature__link { min-height: 0; }
  .session__copy, .session__card { grid-column: 1 / -1; }
  .session__card { max-width: 640px; }
  .quotes__ctrl { padding-top: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps__line { display: none; }
  .step__node { position: static; display: block; margin-bottom: 18px; }
  .steps { padding-top: 0; }
}
@media (max-width: 900px) {
  .hero__lede { grid-column: 1 / span 9; }
  .hero__ctas { grid-column: 1 / -1; justify-self: start; align-items: flex-start; }
  .hero__note { text-align: left; }
  .hero__row { align-items: start; }
}
@media (max-width: 767px) {
  body { font-size: 16.5px; }
  .hero__lede { grid-column: 1 / -1; }
  .hero__ctas { align-self: stretch; }
  .hero__ctas .btn { width: 100%; white-space: normal; height: auto; min-height: 54px; }
  .hero__ctas .btn > span:first-child { flex: 1; padding-block: 14px; }
  .sec-head .h2, .sec-head__lead { grid-column: 1 / -1; }
  .svc__link { grid-template-columns: 48px minmax(0, 1fr); padding: 24px 0 26px; }
  .sw { width: 48px; height: 34px; }
  .svc__arr { display: none; }
  .case__link { padding-right: 0; }
  .case__arr { display: none; }
  .case__top { flex-wrap: wrap; }
  .principles, .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ftr__cols > div:nth-child(n) { grid-column: 1 / -1; }
  .ftr__cta .btn { width: 100%; white-space: normal; height: auto; min-height: 58px; }
  .ftr__cta .btn > span:first-child { flex: 1; padding-block: 14px; }
  .session .btn { width: 100%; }
  .session .btn > span:first-child { flex: 1; }
  .ruler__labels { font-size: 10px; }
  .ftr { padding-bottom: 80px; }
}

/* ---------- Smooth scroll library ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .vein-pulse { display: none; }
}
