/* Istari Solutions — Lumen Light
   ---------------------------------------------------------------
   Bright, professional, modern boutique. Cool-paper page with teal
   accents pulled from the logo. Subtle diamond motifs throughout.

   Token values below are the design's saved settings resolved to
   literals: Space Grotesk display + body, JetBrains Mono, the teal
   (logo-native) palette at 130% accent intensity, cool paper, and
   700-weight headlines tracked at -1.3%.

   Accent intensity >100% deepens each accent toward ink (#0f1419)
   by (intensity-100)/100 * 0.35 — so at 130% the three teals are
   mixed 10.5% toward ink. Those mixes are baked in here:
     tealDark   #1f7a7a -> #1d6f70
     tealBright #2aa3c0 -> #2794ae
     tealLight  #a7dee0 -> #97c9cb
   The blues and --teal (the staff wrap in the mark) are unaffected.
   --------------------------------------------------------------- */

/* ── Fonts ─────────────────────────────────────────────────────────
   Self-hosted so the page makes no third-party requests and renders
   correctly without a route to Google. Both families are variable
   fonts: one file per subset spans the whole weight range, which is
   why `font-weight` is declared as a range rather than a number.

   The latin-ext files only download when a glyph outside the latin
   subset is used — accented names, Eastern European spellings — so
   ordinary English copy costs 54KB of font, not 88KB.

   Space Grotesk © 2020 The Space Grotesk Project Authors.
   JetBrains Mono © 2020 The JetBrains Mono Project Authors.
   Both under the SIL Open Font License 1.1; the full texts are in
   assets/fonts/. Keep those files alongside the woff2s — the licence
   requires them to be redistributed together.

   A handful of glyphs the design uses (→ ↗ ◆ ●) sit outside both
   subsets and fall back to a system face, exactly as they did when
   the fonts were served from Google.
──────────────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Logo-sampled palette */
  --ink:        #1f262c;   /* primary dark surface */
  --ink-2:      #2a313a;   /* elevated surface on dark */
  --ink-3:      #3a424d;   /* dividers on dark */
  --ink-text:   #0f1419;   /* body on light */
  --ink-soft:   #4a5260;   /* muted text on light */

  --teal:       #3aa8a0;   /* staff wrap — not accent-adjusted */
  --teal-dark:  #1d6f70;   /* eyebrow / link */
  --teal-bright:#2794ae;   /* motif primary */
  --teal-light: #97c9cb;   /* motif glow */

  --blue-deep:  #0f4080;
  --blue-mid:   #1a5a9a;
  --blue-light: #3a7fc4;

  --paper:      #fafafa;
  --paper-cool: #f3f6f7;
  --rule:       #e2e6ea;

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Space Grotesk', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --wrap-max: 1240px;
  --wrap-pad: 56px;

  /* Easing */
  --e-out: cubic-bezier(0.23, 1, 0.32, 1);
  --e-io:  cubic-bezier(0.77, 0, 0.175, 1);
}

/* ── Base ──────────────────────────────────────────────────────── */

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  min-height: 100vh;
}

body {
  background: var(--paper-cool);
  color: var(--ink-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* The design tracks every headline identically; individual sections
   set size and leading only, never letter-spacing. */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.013em;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
  transition: color 150ms ease;
}
a:hover { color: var(--teal-bright); }

img { display: block; }

/* Clear the sticky nav when jumping to an in-page anchor. */
[id] { scroll-margin-top: 88px; }

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--wrap-pad);
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal-dark);
  text-transform: uppercase;
}
.eyebrow--light { color: var(--teal-light); }

/* Non-heading elements that borrow the display face keep the
   design's tighter -0.025em tracking. */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── Brand lockup ──────────────────────────────────────────────── */

.mark { display: block; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--wm-size) * 0.34);
  flex: none;
}
.wordmark--nav    { --wm-size: 32px; }
.wordmark--footer { --wm-size: 20px; }
.wordmark__mark {
  width: calc(var(--wm-size) * 1.5);
  height: calc(var(--wm-size) * 1.5);
  flex: none;
}
.wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.wordmark__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--wm-size);
  letter-spacing: -0.02em;
  color: var(--ink-text);
}
.wordmark__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(var(--wm-size) * 0.36);
  letter-spacing: 0.32em;
  color: var(--teal-bright);
  text-transform: uppercase;
  margin-top: calc(var(--wm-size) * 0.12);
}
.wordmark--light .wordmark__name { color: #fff; }
.wordmark--light .wordmark__sub  { color: var(--teal-light); }

/* ── Placeholder image box ─────────────────────────────────────── */

.ph-image {
  box-sizing: border-box;
  width: 100%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ph-image--dark {
  background: var(--ink-2);
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, #333a44 12px 13px);
  color: #9aa2ad;
  border: 1px solid var(--ink-3);
}

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  cursor: pointer;
  transition: transform 160ms var(--e-out),
              background-color 180ms ease,
              border-color 180ms ease,
              box-shadow 220ms var(--e-out);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.btn--solid {
  background: var(--ink);
  color: #fff;
  padding: 16px 26px;
  font-weight: 600;
  border-radius: 999px;
  font-size: 15px;
}
.btn--solid:hover { color: #fff; }

.btn--ghost {
  color: var(--ink-text);
  padding: 16px 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 15px;
}
.btn--ghost:hover { color: var(--ink-text); }

@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { box-shadow: 0 10px 26px rgba(15, 25, 35, 0.22); }
  .btn--ghost:hover { background: rgba(15, 25, 35, 0.05); }
  .btn--light:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3); }
}

/* ── Nav ───────────────────────────────────────────────────────── */

.nav {
  background: rgba(243, 246, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--wrap-pad);
}
/* Wrapping rather than overflowing keeps the bar intact on narrow
   phones, where four links plus the lockup will not fit on one line. */
.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 32px;
  font-size: 14px;
}
.nav__links a { color: var(--ink-text); }
.nav__links a:hover { color: var(--teal-dark); }

/* Underline sweeps in from the left on hover. */
.nav-link { position: relative; cursor: pointer; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 220ms var(--e-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover::after { clip-path: inset(0); }
}

/* ── Hero ──────────────────────────────────────────────────────── */

.hero {
  padding: 120px 0 80px;
  background: var(--paper-cool);
  position: relative;
  overflow: hidden;
}
.hero__motif {
  position: absolute;
  right: -120px;
  top: 60px;
  width: 600px;
  height: 600px;
  opacity: 0.5;
  pointer-events: none;
}
.hero__wrap { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: 76px;
  line-height: 1.02;
  margin: 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-dark);
}
.hero__lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 28px 0 0;
  max-width: 52ch;
}
.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}
.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.hero__stat-k {
  font-size: 22px;
  color: var(--teal-dark);
}
.hero__stat-v {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* Hero dashboard mock — flat, no card backing behind the stack. */
.mock { display: flex; flex-direction: column; gap: 16px; }
.mock__head { display: flex; align-items: center; gap: 10px; }
.mock__head .mark { width: 32px; height: 32px; flex: none; }
.mock__label { font-size: 10px; color: var(--ink-soft); }
.mock__status { margin-left: auto; font-size: 10px; color: var(--teal-dark); }
.mock__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mock__card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 14px;
}
.mock__n { font-size: 26px; color: var(--ink-text); }
.mock__n--accent { color: var(--teal-bright); }
.mock__l { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.mock__chart-label { font-size: 9.5px; color: var(--ink-soft); }
.mock__chart { width: 100%; height: 80px; margin-top: 8px; }
.mock__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock__pair .mock__card { padding: 12px; }
.mock__pair-v { font-size: 18px; color: var(--ink-text); margin-top: 4px; }

/* ── Services ──────────────────────────────────────────────────── */

.services {
  padding: 100px 0;
  background: var(--teal-dark);
  color: #fff;
}
.services__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.services h2 {
  font-size: 52px;
  line-height: 1.05;
  margin: 16px 0 0;
  max-width: 20ch;
  color: #fff;
}
.services__all {
  font-size: 12px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
}
.services__all:hover { color: #fff; }

/* Asymmetric editorial grid — varied spans, image positions, and one
   card carrying a motif instead of a photograph. */
.services__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 520px;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.card {
  padding: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 240ms ease;
}
.card--rule-right { border-right: 1px solid rgba(255, 255, 255, 0.18); }
.card--no-rule-bottom { border-bottom: none; }

.card__media {
  overflow: hidden;
  background: var(--ink-2);
  position: relative;
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--e-io);
}
.card__badge {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 5px 10px;
  background: rgba(15, 25, 35, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--teal-light);
}
.card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card__meta { display: flex; align-items: center; gap: 14px; }
.card__index {
  font-size: 10.5px;
  color: var(--teal-light);
  opacity: 0.7;
}
.card__kicker { font-size: 11px; color: var(--teal-light); }
.card h3 { margin: 0; color: #fff; }
.card p { margin: 0; }

.more {
  font-size: 11px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.more__arrow {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 11px;
  transition: transform 180ms var(--e-out),
              background-color 180ms ease,
              border-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover { background: rgba(255, 255, 255, 0.05); }
  .card:hover .card__img { transform: scale(1.035); }
  .card:hover .more__arrow {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
  }
}

/* 01 — headline practice. Image on top, seven columns wide. */
.card--01 { grid-column: span 7; flex-direction: column; }
.card--01 .card__media { flex: 0 0 56%; }
.card--01 .card__body {
  padding: 26px 30px 28px;
  gap: 12px;
  flex: 1;
  min-height: 0;
}
.card--01 h3 { font-size: 30px; line-height: 1.05; max-width: 18ch; }
.card--01 p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  max-width: 52ch;
}

/* 02 — horizontal, image right, image bounded to under half the card. */
.card--02 { grid-column: span 5; flex-direction: row; }
.card--02 .card__body {
  flex: 1;
  padding: 30px 28px;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.card--02 h3 { font-size: 26px; line-height: 1.1; }
.card--02 p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}
.card--02 .card__media { flex: 0 0 46%; }

/* 03 — no photograph. Typographic, with the diamond motif bleeding
   off the top-right corner. */
.card--03 {
  grid-column: span 4;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  padding: 36px 28px 32px;
  position: relative;
}
.card--03__motif {
  position: absolute;
  right: -50px;
  top: -30px;
  width: 260px;
  height: 260px;
  opacity: 0.2;
  pointer-events: none;
}
.card--03 .card__body {
  position: relative;
  gap: 14px;
  flex: 1;
}
.card--03 h3 { font-size: 28px; line-height: 1.06; max-width: 12ch; }
.card--03 p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}
.card--03__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
}
.card--03__stat {
  font-size: 34px;
  color: var(--teal-light);
  line-height: 1;
}
.card--03__stat-l {
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}
.card--03__more { margin-left: auto; }

/* 04 — image left, content right with capability tags. */
.card--04 { grid-column: span 8; flex-direction: row; }
.card--04 .card__media {
  flex: 0 0 38%;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.card--04 .card__body {
  flex: 1;
  padding: 36px 36px 32px;
  gap: 14px;
}
.card--04 h3 { font-size: 30px; line-height: 1.06; max-width: 18ch; }
.card--04 p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
  max-width: 50ch;
}

.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__tag {
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
}

.card__foot { margin-top: auto; }

/* ── Split section (Smartsheet / Engineering) ──────────────────── */

.split { padding: 120px 0; }
.split--light { background: var(--paper-cool); }
.split--dark { background: var(--ink); color: #fff; }

.split__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.split h2 {
  font-size: 56px;
  line-height: 1.02;
  margin: 16px 0 0;
}
.split--dark h2 { color: #fff; }
.split__lede {
  font-size: 17.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 24px 0 0;
  max-width: 44ch;
}
.split--dark .split__lede { color: #cbd0d6; }

.split__note {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px dashed var(--teal-light);
  border-radius: 10px;
  font-size: 13px;
  color: #cbd0d6;
  max-width: 44ch;
  background: var(--ink-2);
}
.split__note strong { color: var(--teal-light); }

.points { display: grid; gap: 0; }
.point {
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: start;
}
.point:first-child { border-top: 1px solid var(--rule); }
.split--dark .point { border-bottom-color: var(--ink-3); }
.split--dark .point:first-child { border-top-color: var(--ink-3); }
.point__mark {
  color: var(--teal);
  font-size: 22px;
  line-height: 1;
}
.split--dark .point__mark { color: var(--teal-bright); }
.point__t { font-size: 20px; }
.split--dark .point__t { color: #fff; }
.point__d {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 6px;
}
.split--dark .point__d { color: #cbd0d6; }

/* ── Annotated Control Center dashboard ────────────────────────── */

.annotated { margin-top: 64px; }
.annotated__label {
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.annotated__frame {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 16px;
  aspect-ratio: 16 / 6;
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
}
.annotated__side {
  border-right: 1px solid var(--rule);
  padding: 18px;
  background: var(--paper-cool);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.annotated__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.annotated__brand .mark { width: 22px; height: 22px; flex: none; }
.annotated__brand-t {
  font-size: 9px;
  color: var(--ink-soft);
  line-height: 1.1;
}
.annotated__side-h {
  font-size: 9.5px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.annotated__proj {
  font-size: 13px;
  color: var(--ink-text);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.annotated__proj--on { color: var(--teal-dark); }
.annotated__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--rule);
  flex: none;
}
.annotated__proj--on .annotated__dot { background: var(--teal-bright); }

.annotated__main {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  grid-auto-rows: min-content;
}
.annotated__tile {
  background: var(--paper-cool);
  border-radius: 10px;
  padding: 14px;
}
.annotated__tile-l { font-size: 9.5px; color: var(--ink-soft); }
.annotated__tile-v { font-size: 22px; margin-top: 4px; }
.annotated__chart {
  grid-column: span 4;
  background: var(--paper-cool);
  border-radius: 10px;
  padding: 14px;
}
.annotated__chart-head {
  font-size: 9.5px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
}
.annotated__chart-head span:last-child { color: var(--teal-dark); }
.annotated__chart svg { width: 100%; height: 70px; margin-top: 6px; }

/* ── Approach ──────────────────────────────────────────────────── */

.approach {
  padding: 120px 0;
  background: var(--paper-cool);
}
.approach h2 {
  font-size: 52px;
  line-height: 1.05;
  margin: 16px 0 64px;
}
.timeline { position: relative; }
.timeline__line {
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  border-top: 2px dashed var(--teal-light);
}
/* The mark sits at the centre of the run — the practitioner is in
   the middle of the work, not at either end of it. */
.timeline__mark {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper-cool);
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.timeline__mark .mark { width: 28px; height: 28px; }
.timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  padding-top: 60px;
  position: relative;
}
.step__n {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  border: 2px solid var(--teal-bright);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.step__ts {
  font-size: 11px;
  color: var(--teal-dark);
  text-align: center;
}
.step h3 {
  font-size: 24px;
  margin: 10px 0 8px;
  text-align: center;
}
.step p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
  text-align: center;
}

/* ── Practitioners ─────────────────────────────────────────────── */

.people {
  padding: 120px 0;
  background: var(--paper-cool);
}
.people h2 {
  font-size: 48px;
  line-height: 1.05;
  margin: 16px 0 12px;
  max-width: 22ch;
}
.people__lede {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 48px;
}
.people__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.person {
  background: var(--ink-2);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  border: 1px solid var(--ink-3);
}
.person .ph-image {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
}
.person__role-k { font-size: 11px; color: var(--teal-light); }
.person h3 {
  font-size: 24px;
  margin: 6px 0 4px;
  color: #fff;
}
.person__role { font-size: 13.5px; color: #cbd0d6; }
.person__bio {
  font-size: 14.5px;
  line-height: 1.6;
  color: #e6e9ed;
  margin: 14px 0 0;
}
.person__tags {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.person__tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--teal-light);
}

.creds__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 56px 0 12px;
}
.creds__head .mark { width: 26px; height: 26px; flex: none; }
.creds__head-t { font-size: 11px; color: var(--ink-soft); }
.creds__rule { flex: 1; height: 1px; background: var(--rule); }
.creds {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}
.creds li {
  padding: 26px 14px;
  text-align: center;
  border-right: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-text);
}
.creds li:last-child { border-right: none; }

.outcomes__label {
  font-size: 11px;
  color: var(--ink-soft);
  margin: 36px 0 12px;
}
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.outcome {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--rule);
}
.outcome__k { font-size: 11px; color: var(--teal-dark); }
.outcome blockquote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-text);
  margin: 10px 0 0;
}
.outcome__src {
  font-size: 10.5px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* ── Contact ───────────────────────────────────────────────────── */

.cta {
  background: var(--teal-dark);
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 88px;
}
.cta__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cta__kicker .mark { width: 26px; height: 26px; flex: none; }
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 12px;
}
.cta h2 {
  font-size: 64px;
  line-height: 1.02;
  margin: 0;
  color: #fff;
}
.cta h2 em {
  font-style: normal;
  color: var(--teal-light);
}
.cta__lede {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 24px 0 0;
  max-width: 44ch;
}
.cta__alt {
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}
.cta__alt-or {
  color: var(--teal-light);
  margin-right: 10px;
}
.cta__contact {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #fff;
}
.cta__contact a { color: #fff; }
.cta__contact a:hover { color: var(--teal-light); }
.cta__contact-note { color: rgba(255, 255, 255, 0.7); }

.form {
  background: var(--ink);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--ink-3);
}
.form__row { margin-bottom: 14px; }
.form label {
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10.5px;
  color: var(--teal-light);
  display: block;
  margin-bottom: 6px;
}
.field {
  box-sizing: border-box;
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  background: var(--ink-2);
  border: 1px solid var(--ink-3);
  border-radius: 8px;
  height: 44px;
  padding: 0 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 200ms var(--e-out);
}
textarea.field {
  height: 92px;
  padding: 12px 14px;
  resize: none;
  line-height: 1.5;
}
.field::placeholder { color: #7a838d; }
.field:focus {
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal-bright) 28%, transparent);
}

.form__submit {
  margin-top: 6px;
  width: 100%;
  padding: 15px 20px;
  background: var(--paper-cool);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

/* ── Footer ────────────────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: #9aa2ad;
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer__blurb {
  font-size: 13.5px;
  margin: 14px 0 0;
  max-width: 40ch;
  line-height: 1.55;
}
.footer__h { font-size: 10.5px; color: #cbd0d6; }
.footer__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
}
.footer__list a { color: inherit; }
.footer__list a:hover { color: var(--teal-light); }
.footer__bottom {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--ink-3);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10.5px;
}

/* ── Booking dock ──────────────────────────────────────────────── */

.dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  font-family: var(--font-body);
}
.dock__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 12px 22px 12px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  box-shadow: 0 14px 32px rgba(15, 25, 35, 0.28);
}
.dock__toggle[aria-expanded="true"] {
  box-shadow: 0 10px 24px rgba(15, 25, 35, 0.25);
}
.dock__badge {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  flex: none;
}
.dock__badge .mark { width: 22px; height: 22px; }

.pop {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--rule);
  box-shadow: 0 24px 60px rgba(15, 25, 35, 0.18);
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transform-origin: bottom right;
  transition: opacity 200ms var(--e-out), transform 200ms var(--e-out);
}
.pop[hidden] { display: none; }
.pop[data-open="true"] {
  opacity: 1;
  transform: none;
}
.pop[data-open="false"] {
  transition-duration: 140ms;
  transform: scale(0.98) translateY(4px);
}
.pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pop__k { font-size: 10.5px; color: var(--teal-dark); }
.pop__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1;
  padding: 0;
  transition: transform 140ms var(--e-out), color 140ms ease;
}
.pop__close:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) {
  .pop__close:hover { color: var(--ink-text); }
}
.pop__t {
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink-text);
}
.pop p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 8px 0 14px;
}
.pop__go {
  display: block;
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.pop__go:hover { color: #fff; }
.pop__alt {
  font-size: 10px;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

/* ── Scroll reveal ─────────────────────────────────────────────── */

.is-animated [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms var(--e-out), transform 420ms var(--e-out);
}
.is-animated [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .is-animated [data-reveal],
  .is-animated [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:active { transform: none; }
  .card:hover .card__img { transform: none; }
  .pop,
  .pop[data-open="true"],
  .pop[data-open="false"] {
    transform: none;
    transition-property: opacity;
  }
}

/* ── Responsive ────────────────────────────────────────────────── */

/* The design is drawn at 1240px. Below that the fixed grids and
   display sizes step down; the composition and rhythm are kept. */

@media (max-width: 1140px) {
  :root { --wrap-pad: 40px; }

  .hero { padding: 88px 0 64px; }
  .hero__grid { gap: 44px; }
  .hero h1 { font-size: 58px; }
  .hero__motif { right: -200px; opacity: 0.35; }

  .services__grid { grid-auto-rows: 460px; }
  .card--01 h3, .card--04 h3 { font-size: 26px; }
  .card--01 .card__body { padding: 22px 24px 24px; }
  .card--04 .card__body { padding: 28px 28px 26px; }

  .split { padding: 88px 0; }
  .split__grid { gap: 44px; }
  .split h2 { font-size: 44px; }

  .approach, .people { padding: 88px 0; }
  .approach h2 { font-size: 42px; margin-bottom: 48px; }
  .people h2 { font-size: 40px; }

  .cta { padding: 88px 0; }
  .cta h2 { font-size: 50px; }
  .cta__grid { gap: 40px; }

  .person { grid-template-columns: 140px 1fr; gap: 20px; padding: 22px; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__motif { display: none; }

  /* Every card becomes a full-width stack; photographs get a fixed
     band rather than a percentage of a now-variable row height. */
  .services__grid { grid-auto-rows: auto; }
  .card,
  .card--01, .card--02, .card--03, .card--04 {
    grid-column: span 12;
    flex-direction: column;
    border-right: none;
  }
  .card--02 .card__body,
  .card--04 .card__media { border-right: none; }
  .card--01 .card__media,
  .card--02 .card__media,
  .card--04 .card__media {
    flex: none;
    height: 260px;
  }
  .card--03 { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .card--04 { border-bottom: none; }
  .card--01 h3, .card--04 h3 { max-width: none; }

  .split__grid { grid-template-columns: 1fr; }
  .annotated__frame {
    aspect-ratio: auto;
    grid-template-columns: 1fr;
  }
  .annotated__side {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .annotated__main { grid-template-columns: repeat(2, 1fr); }
  .annotated__chart { grid-column: span 2; }

  .timeline__line, .timeline__mark { display: none; }
  .timeline__steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }

  .people__grid, .outcomes { grid-template-columns: 1fr; }
  .creds { grid-template-columns: repeat(2, 1fr); }
  .creds li { border-right: none; border-bottom: 1px solid var(--rule); }

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

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

@media (max-width: 640px) {
  :root { --wrap-pad: 20px; }

  .nav__inner { padding: 14px var(--wrap-pad); gap: 16px; }
  .nav__links { gap: 8px 18px; font-size: 13px; }

  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 40px; }
  .hero__lede { font-size: 17px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .hero__stats { flex-direction: column; gap: 20px; }
  .mock__tiles { grid-template-columns: 1fr; }

  .services { padding: 72px 0; }
  .services h2, .approach h2 { font-size: 34px; }
  .split h2 { font-size: 34px; }
  .people h2 { font-size: 30px; }
  .cta h2 { font-size: 36px; }

  .split, .approach, .people, .cta { padding: 72px 0; }

  .annotated__main { grid-template-columns: 1fr; }
  .annotated__chart { grid-column: span 1; }

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

  .person { grid-template-columns: 1fr; }
  .person .ph-image { max-width: 180px; }

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

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

  .dock { bottom: 16px; right: 16px; left: 16px; }
  .pop { width: auto; left: 0; right: 0; }
}

@media (max-width: 400px) {
  .wordmark--nav { --wm-size: 24px; }
  .hero h1 { font-size: 34px; }
}
