/* ============================================================
   Thinkbridge Partners — Global Stylesheet
   Editorial · consulting-grade · lead-gen focused
   Breakpoint ladder: 1180 · 1024 · 880 · 640 · 480
   ============================================================ */

:root {
  /* Color — Thinkbridge brand (light) */
  --bone:        #F4F1EA;
  --bone-2:      #ECE7DA;
  --bone-3:      #DCD4C0;
  --ink:         #0E2244;
  --ink-2:       #1F3458;
  --ink-3:       #4A5B7C;
  --ink-4:       #7384A1;
  --rule:        #C8C0AC;
  --rule-soft:   #D9D2C0;
  --accent:      #6E8FC2;
  --accent-ink:  #3D5B8F;
  --paper:       #FAF6EC;
  --navy-deep:   #0A1A36;
  --positive:    #2C6E49;

  /* Surface tokens (theme-aware) */
  --footer-bg:   var(--ink);
  --footer-fg:   var(--bone);
  --cta-bg:      var(--ink);
  --cta-fg:      var(--bone);

  /* Type */
  --serif:         "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --serif-display: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --sans:          "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* Label/eyebrow role — kept on the sans family so each page ships only 2 fonts
     (Instrument Serif + Geist). Tracking + uppercase give the "mono label" feel. */
  --mono:          "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Scale */
  --container: 1480px;
  --gutter: clamp(20px, 3.2vw, 48px);
  --section-y: clamp(52px, 6.5vw, 104px);

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
}

/* ----- Dark theme ----- */
[data-theme="dark"] {
  --bone:        #0D1726;
  --bone-2:      #13203360;
  --bone-3:      #1C2C44;
  --ink:         #EDE8DC;
  --ink-2:       #C7D0DF;
  --ink-3:       #93A1B8;
  --ink-4:       #6E7C95;
  --rule:        #2A3A54;
  --rule-soft:   #233247;
  --accent:      #7CA0D6;
  --accent-ink:  #A9C0E6;
  --paper:       #111E32;
  --navy-deep:   #060E1C;

  --footer-bg:   #060E1C;
  --footer-fg:   #EDE8DC;
  --cta-bg:      #EDE8DC;
  --cta-fg:      #0D1726;
  color-scheme: dark;
}

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body, .nav, .footer, .cta-band, .credstrip, .marquee,
.metric, .testi, .field, .founder-bridge, .svc-row {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--ink); color: var(--bone); }

/* ----- Type ----- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 9vw, 144px); letter-spacing: -0.03em; }
h2 { font-size: clamp(36px, 5.6vw, 88px); }
h3 { font-size: clamp(24px, 2.6vw, 40px); }
h4 { font-size: clamp(20px, 1.6vw, 26px); }
p  { margin: 0; text-wrap: pretty; }

.italic-serif { font-family: var(--serif); font-style: italic; }
.serif        { font-family: var(--serif); }
.mono         { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.lead         { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.eyebrow      { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section + .section { padding-top: 0; }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

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

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bone) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 32px);
  padding-block: 16px;
  position: relative;
}

.nav-brand {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}
.nav-brand .mark { width: 52px; height: 52px; border-radius: 50%; display: block; flex-shrink: 0; }
.nav-brand .name { display: flex; flex-direction: column; gap: 5px; color: var(--ink); }
.nav-brand .name .word {
  font-family: var(--serif);
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.nav-brand .name .word b { font-weight: 400; }
.nav-brand .name .word .sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-left: 8px;
  vertical-align: 3px;
}
.nav-brand .tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-links .nav-book { display: none; }

/* Hover-to-highlight the matching on-page section */
.spy-highlight {
  position: relative;
}
.spy-highlight::before {
  content: "";
  position: absolute;
  inset: clamp(8px, 1.5vw, 20px) calc(var(--gutter) * -0.4);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border-radius: 6px;
  pointer-events: none;
  z-index: 0;
  animation: spyPulse .3s ease both;
}
@keyframes spyPulse { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spy-highlight::before { animation: none; } }
.nav-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav-link:hover { color: var(--ink); background: color-mix(in oklab, var(--ink) 4%, transparent); }
.nav-link.active {
  color: var(--ink);
  background: color-mix(in oklab, var(--ink) 8%, transparent);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 1px;
  background: var(--accent-ink);
}

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--cta-fg);
  background: var(--cta-bg);
  padding: 11px 18px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.nav-cta:hover { background: var(--accent-ink); color: var(--bone); }
.nav-cta:hover .dot { background: var(--bone); }

/* Theme toggle */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.theme-toggle:hover { background: color-mix(in oklab, var(--ink) 6%, transparent); border-color: var(--ink-3); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  color: var(--ink);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.10em;
  text-transform: uppercase;
  height: 42px; padding: 0 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  align-items: center; justify-content: center; gap: 10px;
  flex-shrink: 0;          /* never shrink — prevents the label wrapping into a tall oval */
  white-space: nowrap;     /* keep "☰ Menu" on one line */
}
.nav-toggle .bars { display: inline-flex; flex-direction: column; gap: 3px; }
.nav-toggle .bars i { display:block; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav.open .nav-toggle .bars i:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav.open .nav-toggle .bars i:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle .bars i:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }
.nav.open .nav-toggle .lbl-open { display: none; }
.nav-toggle .lbl-close { display: none; }
.nav.open .nav-toggle .lbl-close { display: inline; }

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-inner { padding-block: 14px; }

  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bone);
    border-bottom: 1px solid var(--rule);
    border-top: 1px solid var(--rule);
    padding: 16px var(--gutter) 24px;
    gap: 2px;
    box-shadow: 0 12px 24px -16px rgba(14,34,68,0.18);
    animation: navDrop .25s ease both;
  }
  .nav.open .nav-link {
    padding: 14px 16px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .nav.open .nav-link::after { display: none; }
  .nav.open .nav-link.active {
    background: color-mix(in oklab, var(--ink) 9%, transparent);
    color: var(--ink);
  }
  .nav.open .nav-link.active::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 12px;
    order: -1;
  }
  .nav.open .nav-link.hover-target {
    background: color-mix(in oklab, var(--accent) 16%, transparent);
    color: var(--ink);
  }
  .nav.open .nav-links .nav-book {
    display: inline-flex;
    align-self: stretch;
    justify-content: center;
    margin-top: 12px;
    padding: 15px 18px;
    font-size: 12px;
  }
}

@media (max-width: 540px) {
  .nav-inner { gap: 12px; }
  /* Let the brand yield space first so the menu toggle is never pushed
     off-screen; the toggle + theme button keep their size (flex-shrink:0). */
  .nav-brand { gap: 12px; min-width: 0; flex-shrink: 1; }
  .nav-brand .name { min-width: 0; }
  .nav-brand .mark { width: 44px; height: 44px; }
  .nav-brand .name .word { font-size: 24px; }
  .nav-brand .tag { font-size: 9.5px; }
  .nav-actions { gap: 8px; }
  .nav-toggle { padding: 0 13px; }
  .nav-toggle .lbl-open, .nav-toggle .lbl-close { display: none; }
  .nav.open .nav-toggle .lbl-open, .nav.open .nav-toggle .lbl-close { display: none; }
}

/* Very small phones (~360–430px): keep the wordmark + controls on one row
   without clipping the menu toggle. The secondary descriptor line is dropped
   at this width — the logo and "Thinkbridge Partners" wordmark carry the brand. */
@media (max-width: 430px) {
  .nav-brand .mark { width: 40px; height: 40px; }
  .nav-brand .name .word { font-size: 21px; }
  .nav-brand .name .word .sub { font-size: 10px; margin-left: 6px; }
  .nav-brand .tag { display: none; }
  .theme-toggle { width: 40px; height: 40px; }
  .nav-toggle { height: 40px; padding: 0 12px; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary { background: var(--cta-bg); color: var(--cta-fg); }
.btn-primary:hover { background: var(--accent-ink); color: var(--bone); }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--bone); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  padding: 4px 2px 6px;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.btn-ghost:hover { color: var(--accent-ink); border-color: var(--accent-ink); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(40px, 6vw, 96px);
  position: relative;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;   /* Founded left · Offices right */
  align-items: flex-start;
  gap: clamp(20px, 4vw, 64px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(28px, 4vw, 56px);
}
/* City-above-country locations (shared: hero + footer) */
.loc-row { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.4vw, 40px); margin-top: 8px; }
.loc-row .loc { display: flex; flex-direction: column; gap: 2px; }
.loc-row .loc .city {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink);
}
.loc-row .loc .country {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
}
/* Push the Offices block to the right on wider screens */
@media (min-width: 601px) {
  .hm-offices { text-align: right; }
  .hm-offices .loc-row { justify-content: flex-end; }
  .hm-offices .loc { align-items: flex-end; }
}
@media (max-width: 600px) {
  .hero-meta { flex-direction: column; gap: 18px; }
}
.hero-title {
  font-size: clamp(48px, 10vw, 160px);
  letter-spacing: -0.035em;
  line-height: 0.96;
}
.hero-title em { font-style: italic; color: var(--ink-2); }
.hero-foot {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 80px);
  margin-top: clamp(28px, 4vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.hero-foot .actions { display: flex; gap: 12px; flex-wrap: wrap; align-self: center; }

@media (max-width: 880px) {
  .hero-foot { grid-template-columns: 1fr; gap: 28px; }
  .hero-foot .actions { align-self: start; }
}
@media (max-width: 540px) {
  .hero-meta { gap: 16px; }
  .hero-foot .actions .btn { padding: 13px 18px; font-size: 14px; }
}
/* Narrow phones (≤480px, incl. the 390px viewport): the clamp floor of 48px
   let the second headline line fill the whole column and clip its last glyph.
   Drop the floor and allow long words to break so the title can never spill
   past the gutter. Actions keep their natural width (left-aligned, wrapping)
   so they stay clear of the bottom-right WhatsApp FAB. */
@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(38px, 11vw, 52px);
    line-height: 1.0;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
}
/* Safety net for the remaining oversized display type at phone widths —
   guarantee graceful wrapping instead of horizontal overflow. */
@media (max-width: 480px) {
  h1, h2,
  .page-title, .cta-band h2, .pullquote, .svc-row .title, .case .body-col q {
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* ============================================================
   Credibility strip
   ============================================================ */
.credstrip {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding-block: 24px;
}
.credstrip-row {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.credstrip-row .label { color: var(--ink-3); white-space: nowrap; }
/* Keep practice areas on a single row across breakpoints; scroll on overflow.
   Spread evenly so the items align flush to both gutters instead of bunching. */
.credstrip-items {
  display: flex; gap: clamp(14px, 2.2vw, 40px); flex-wrap: nowrap;
  justify-content: space-between;
  font-family: var(--serif); font-size: clamp(15px, 1.25vw, 20px);
  color: var(--ink-2);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.credstrip-items::-webkit-scrollbar { display: none; }
.credstrip-items span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; flex-shrink: 0; }
.credstrip-items span::before {
  content: ""; width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  display: inline-block; flex-shrink: 0;
}
@media (max-width: 880px) {
  .credstrip-row { grid-template-columns: 1fr; gap: 12px; }
  .credstrip { padding-block: 20px; }
  /* Stacked layout: let the practice areas wrap onto multiple lines instead of
     scrolling/clipping off-screen, so every capability stays visible on phones. */
  .credstrip-items {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
    gap: 10px 18px;
  }
}

/* ============================================================
   Section header
   ============================================================ */
.sec-head {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(20px, 3vw, 64px);
  align-items: end;
  padding-bottom: clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.sec-head .idx { display: flex; gap: 14px; align-items: baseline; }
.sec-head .idx .num,
.sec-head .idx .label { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase; }
.sec-head h2 { letter-spacing: -0.025em; }
@media (max-width: 880px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
}

/* ============================================================
   Service cards (homepage list)
   ============================================================ */
.cards-list { display: grid; grid-template-columns: 1fr; }
.svc-row {
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding-block: clamp(24px, 3vw, 44px);
  border-top: 1px solid var(--rule);
  align-items: start;
  transition: background .25s ease, padding .25s ease;
}
.svc-row:last-child { border-bottom: 1px solid var(--rule); }
.svc-row:hover { background: color-mix(in oklab, var(--ink) 3%, transparent); }
.svc-row .num { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.14em; padding-top: 8px; }
.svc-row .title { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.svc-row .body  { color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.svc-row .meta  { color: var(--ink-3); font-size: 13px; }
.svc-row .meta .item { display: block; padding-block: 2px; }
.svc-row .meta .item b { color: var(--ink); font-weight: 500; }

@media (max-width: 1024px) {
  .svc-row { grid-template-columns: 60px 1fr; gap: 20px 24px; }
  .svc-row .body, .svc-row .meta { grid-column: 2; }
}
@media (max-width: 640px) {
  .svc-row { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; }
  .svc-row .num { padding-top: 0; }
  .svc-row .body, .svc-row .meta { grid-column: 1; }
}

/* ============================================================
   Quote
   ============================================================ */
.pullquote {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.pullquote em { color: var(--ink-3); }
.quote-attrib { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 24px; }

/* ============================================================
   Outcome cards (cleaner modular metrics)
   ============================================================ */
.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
}
.outcome {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.2vw, 34px) clamp(22px, 1.8vw, 30px);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 228px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.outcome:hover {
  border-color: var(--ink-3);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px color-mix(in oklab, var(--ink) 60%, transparent);
}
.outcome .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.outcome .val { font-family: var(--serif); font-size: clamp(46px, 4.8vw, 70px); line-height: 0.92; letter-spacing: -0.03em; color: var(--ink); margin-top: auto; }
.outcome .val sup { font-size: 0.34em; font-family: var(--mono); vertical-align: top; margin-left: 4px; color: var(--ink-3); }
.outcome .lbl { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 920px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .outcomes { grid-template-columns: 1fr; } .outcome { min-height: 0; } }

/* ============================================================
   Testimonial cards
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.testi {
  background: var(--bone);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
  min-height: 340px;
}
.testi .tag {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-ink);
}
.testi q {
  font-family: var(--serif); font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.22; letter-spacing: -0.015em; color: var(--ink);
  quotes: "\201C" "\201D";
}
.testi q::before { content: open-quote; }
.testi q::after  { content: close-quote; }
.testi .who { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--rule); }
.testi .who .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bone);
  font-family: var(--mono); font-size: 13px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.testi .who .meta .n { font-weight: 500; font-size: 15px; }
.testi .who .meta .r { font-size: 13px; color: var(--ink-3); }
@media (max-width: 720px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi { min-height: 0; }
}

/* ============================================================
   Case studies (Testimonials page)
   ============================================================ */
.case {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(40px, 5.5vw, 88px);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.case:first-of-type { border-top: 0; padding-top: clamp(8px, 1.5vw, 24px); }
.case .who-col { position: sticky; top: 96px; }
.case .who-col .av {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--bone);
  font-family: var(--mono); font-weight: 600; font-size: 15px; letter-spacing: .04em;
  display: grid; place-items: center; margin-bottom: 18px;
}
.case .who-col .n { font-family: var(--serif); font-size: 26px; letter-spacing: -0.015em; line-height: 1.12; }
.case .who-col .role { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.case .who-col .c { font-weight: 500; font-size: 14px; margin-top: 14px; color: var(--ink); }
.case .who-col .loc {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.case .who-col .loc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.case .who-col .who-cta { margin-top: 22px; }

.case .body-col q {
  display: block;
  font-family: var(--serif); font-size: clamp(23px, 2.5vw, 36px);
  line-height: 1.18; letter-spacing: -0.018em; color: var(--ink);
  quotes: "\201C" "\201D"; text-wrap: balance;
}
.case .body-col q::before { content: open-quote; }
.case .body-col q::after  { content: close-quote; }

.dash-note {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-4); margin-top: 10px;
}

/* before / after */
.case-ba {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r-md);
  overflow: hidden; margin-top: 28px;
}
.case-ba .ba { background: var(--bone); padding: 20px 22px; }
.case-ba .ba.after { background: var(--paper); }
.case-ba .ba h5 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 8px; color: var(--ink-3);
}
.case-ba .ba.after h5 { color: var(--positive); }
.case-ba .ba p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* work / solution / outcome */
.case .meta {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px);
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rule);
}
.case .meta h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; }
.case .meta p { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

@media (max-width: 880px) {
  .case { grid-template-columns: 1fr; }
  .case .who-col { position: static; }
  .case .meta { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .case-ba { grid-template-columns: 1fr; }
  .case .meta { grid-template-columns: 1fr; }
}

/* ============================================================
   Client dashboards (hand-built, theme-aware — distinct per case)
   Shared window frame; each client uses a different inner layout.
   ============================================================ */
.dash {
  margin: 28px 0 0;
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  background: var(--paper);
  box-shadow: 0 24px 60px -42px color-mix(in oklab, var(--ink) 60%, transparent);
}
.dash-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; border-bottom: 1px solid var(--rule);
  background: color-mix(in oklab, var(--ink) 5%, var(--paper));
}
.dash-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); flex-shrink: 0; }
.dash-bar .dot.r { background: #E0796B; } .dash-bar .dot.y { background: #E6C170; } .dash-bar .dot.g { background: #6FBF8B; }
.dash-bar .dash-title { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .10em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; }
.dash-body { padding: clamp(14px, 1.8vw, 22px); display: grid; gap: clamp(12px, 1.6vw, 18px); }
.ct { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .10em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.up { color: var(--positive); font-style: normal; } .down { color: #B0492C; font-style: normal; }

/* D1 · Logistics — stat strip + area chart + lane status table */
.ops-stats { display: flex; flex-wrap: wrap; gap: clamp(10px, 1.6vw, 16px); }
.ostat { flex: 1; min-width: 116px; border: 1px solid var(--rule); border-radius: 8px; padding: 12px 14px; background: var(--bone); display: flex; flex-direction: column; gap: 3px; }
.ostat span { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.ostat b { font-family: var(--serif); font-size: clamp(24px, 3vw, 32px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ostat i { font-family: var(--mono); font-size: 10.5px; }
/* Shared chart card + SVG chart styling (used across dashboards) */
.chartcard { border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; background: var(--bone); }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.chart-head .ct { margin: 0; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; }
.legend .lg { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.legend .lg i { width: 14px; height: 3px; border-radius: 2px; background: var(--accent); display: inline-block; }
.legend .lg.alt i { background: var(--accent-ink); }
.legend .lg.t i { height: 0; width: 16px; border-radius: 0; border-top: 2px dashed var(--ink-4); background: none; }
.svgchart { display: block; width: 100%; height: auto; }
.svgchart .grid { stroke: var(--rule); stroke-width: 1; }
.svgchart .lbl { fill: var(--ink-4); font-family: var(--mono); font-size: 11px; letter-spacing: .02em; }
.svgchart .area { fill: var(--accent); opacity: .14; }
.svgchart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.svgchart .line2 { fill: none; stroke: var(--accent-ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.svgchart .target { fill: none; stroke: var(--ink-4); stroke-width: 1.4; stroke-dasharray: 5 5; }
.svgchart .pt { fill: var(--accent); } .svgchart .pt2 { fill: var(--accent-ink); }
.svgchart .bar { fill: var(--accent); } .svgchart .bar.hi { fill: var(--accent-ink); }
/* Waterfall / P&L bridge chart (Adroit case) — brand-palette semantics:
   greens = gains, reds = costs, navy = net result. */
.svgchart .wf-base { stroke: var(--rule); stroke-width: 1; }
.svgchart .wf-link { fill: none; stroke: var(--ink-4); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
.svgchart .wf-val { fill: var(--ink-3); font-size: 9.5px; }
.svgchart .wf-total { fill: var(--accent-ink); font-size: 11px; font-weight: 600; }
.svgchart .bar.profit { fill: var(--positive); }
.svgchart .bar.open   { fill: var(--positive); opacity: .5; }
.svgchart .bar.loss   { fill: #B0492C; }
.svgchart .bar.comm   { fill: #B0492C; opacity: .45; }
.svgchart .bar.net    { fill: var(--accent-ink); }
/* Bridge legend (below the chart) — round swatches keyed to the bars */
.wf-legend { margin-top: 14px; justify-content: flex-start; gap: 16px; }
.wf-legend .lg i { width: 9px; height: 9px; border-radius: 50%; }
.wf-legend .lg.profit i { background: var(--positive); }
.wf-legend .lg.open i   { background: var(--positive); opacity: .5; }
.wf-legend .lg.loss i   { background: #B0492C; }
.wf-legend .lg.comm i   { background: #B0492C; opacity: .45; }
.wf-legend .lg.net i    { background: var(--accent-ink); }
/* Compact unit suffix on dashboard stats */
.ostat b .unit { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--ink-3); margin-left: 4px; vertical-align: 2px; text-transform: none; }
.lane-table { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.lt-row { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 10px; padding: 10px 14px; align-items: center; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--rule); }
.lt-row:first-child { border-top: 0; }
.lt-row.lt-head { background: color-mix(in oklab, var(--ink) 5%, var(--bone)); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lt-row b { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 500; }
.pill { justify-self: start; font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.pill.ok { color: var(--positive); background: color-mix(in oklab, var(--positive) 20%, transparent); }
.pill.watch { color: #B98900; background: color-mix(in oklab, #C9A227 24%, transparent); }

/* D2 · Textiles — planning spreadsheet with inline progress bars */
.plan-summary { display: flex; flex-wrap: wrap; gap: clamp(14px, 2.4vw, 30px); padding: 2px; }
.plan-summary span { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); display: inline-flex; align-items: baseline; gap: 7px; }
.plan-summary b { font-family: var(--serif); font-size: 22px; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan-table { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.pt-row { display: grid; grid-template-columns: 1.2fr 0.6fr 1.4fr 0.8fr 0.6fr; gap: 12px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.pt-row:first-child { border-top: 0; }
.pt-row.pt-head { background: color-mix(in oklab, var(--ink) 5%, var(--bone)); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pt-row b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.pbar { display: flex; align-items: center; gap: 9px; font-variant-numeric: tabular-nums; color: var(--ink); }
.pbar i { flex: 1; height: 7px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 12%, var(--bone)); position: relative; overflow: hidden; }
.pbar i::before { content: ""; position: absolute; inset: 0; width: var(--w, 50%); background: linear-gradient(90deg, var(--accent), var(--accent-ink)); border-radius: 999px; }
.spark { display: block; width: 100%; max-width: 72px; height: 22px; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark .dot { fill: var(--accent-ink); }
.stackbar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; border: 1px solid var(--rule); }
.stackbar .seg { height: 100%; }
.stack-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 12px; }
.stack-legend .sl { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); }
.stack-legend .sl i { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.stack-legend .sl b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* D3 · Finance — donut + statement + trend bars */
.dash-fin { grid-template-columns: 0.8fr 1.2fr; align-items: center; }
.fin-left { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.donut { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--accent-ink) 0 var(--p, 72%), color-mix(in oklab, var(--ink) 14%, var(--bone)) 0); display: grid; place-items: center; position: relative; }
.donut::after { content: ""; position: absolute; inset: 20px; border-radius: 50%; background: var(--paper); }
.donut .dval { position: relative; z-index: 1; font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fin-cap { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fin-stmt { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.fs-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.fs-row:first-child { border-top: 0; }
.fs-row b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.fs-row b.good { color: var(--positive); }
.fs-row.total { background: color-mix(in oklab, var(--ink) 5%, var(--bone)); align-items: center; }
.fs-row.total span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.fs-row.total b { font-family: var(--serif); font-size: 18px; }
.fin-trend { grid-column: 1 / -1; border: 1px solid var(--rule); border-radius: 8px; padding: 14px 16px; background: var(--bone); }

/* D4 · Manufacturing — semicircle gauge + horizontal bars + heat strip */
.prod-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3.5vw, 40px); align-items: center; }
.gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gauge { --g: 80; position: relative; width: 150px; height: 79px; overflow: hidden; }
.gauge::before { content: ""; position: absolute; left: 0; top: 0; width: 150px; height: 150px; border-radius: 50%;
  background: conic-gradient(from 270deg, var(--accent) 0 calc(var(--g) * 1.8deg), color-mix(in oklab, var(--ink) 14%, var(--bone)) calc(var(--g) * 1.8deg) 180deg, transparent 180deg); }
.gauge::after { content: ""; position: absolute; left: 27px; top: 27px; width: 96px; height: 96px; border-radius: 50%; background: var(--paper); }
.gauge .gval { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; z-index: 1; font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.gauge-wrap .glab { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hbars { display: grid; gap: 10px; }
.hb { display: grid; grid-template-columns: 80px 1fr 40px; gap: 10px; align-items: center; }
.hb span { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hb i { height: 8px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 12%, var(--bone)); position: relative; }
.hb i::before { content: ""; position: absolute; inset: 0; width: var(--w, 50%); border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-ink)); }
.hb b { text-align: right; font-size: 12.5px; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.prod-charts { margin-top: 4px; }

@media (max-width: 620px) {
  .dash-fin { grid-template-columns: 1fr; }
  .prod-top { grid-template-columns: 1fr; }
  .ostat { min-width: 100px; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding-block: clamp(56px, 8vw, 112px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid color-mix(in oklab, var(--footer-fg) 18%, transparent);
}
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--footer-fg) 50%, transparent); margin: 0 0 14px; font-weight: 500; }
.footer a { display: block; padding-block: 4px; color: color-mix(in oklab, var(--footer-fg) 86%, transparent); font-size: 14px; }
.footer a:hover { color: var(--footer-fg); }
.footer .big { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; color: var(--footer-fg); }
.footer .big em { color: color-mix(in oklab, var(--footer-fg) 50%, transparent); }
.footer .tagline { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in oklab, var(--footer-fg) 50%, transparent); margin-top: 20px; }
.footer .founder-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in oklab, var(--footer-fg) 80%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--footer-fg) 30%, transparent);
  padding-bottom: 4px;
}
.footer .founder-link:hover { color: var(--footer-fg); }
/* Locations: city above country, distributed left · centre · right.
   No own border — the footer-grid border-bottom above is the single divider. */
.footer-locs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 4vw, 40px);
  padding-block: 28px;
}
.footer-locs .loc { display: flex; flex-direction: column; gap: 3px; }
.footer-locs .loc:nth-child(1) { align-items: flex-start; text-align: left; }
.footer-locs .loc:nth-child(2) { align-items: center;     text-align: center; }
.footer-locs .loc:nth-child(3) { align-items: flex-end;   text-align: right; }
.footer-locs .loc .city {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--footer-fg);
}
.footer-locs .loc .country {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase; color: color-mix(in oklab, var(--footer-fg) 55%, transparent);
}
.footer-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--footer-fg) 50%, transparent);
  gap: 16px; flex-wrap: wrap;
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
}

/* ============================================================
   Forms
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.field {
  background: var(--bone);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.field.col-2 { grid-column: span 2; }
.field label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
}
.field input, .field textarea, .field select {
  background: transparent; border: 0; outline: 0;
  font-family: var(--sans); font-size: 17px;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  resize: none;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
                    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 12px) center, calc(100% - 7px) center;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field:focus-within { background: var(--paper); }
.field:focus-within label { color: var(--accent-ink); }
.field textarea { min-height: 120px; }
.field .err { color: #B0492C; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; display: none; }
.field.invalid .err { display: block; }
.field.invalid label { color: #B0492C; }
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .field.col-2 { grid-column: span 1; }
}

/* ============================================================
   Page header (interior pages)
   ============================================================ */
.page-head {
  padding-top: clamp(48px, 7vw, 104px);
  padding-bottom: clamp(40px, 6vw, 88px);
  border-bottom: 1px solid var(--rule);
}
.crumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 28px;
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.crumb .sep { opacity: 0.5; }
.crumb a:hover { color: var(--ink); }
.page-title {
  font-size: clamp(44px, 8vw, 124px);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.page-sub {
  font-size: clamp(17px, 1.3vw, 21px);
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 24px;
  text-wrap: pretty;
}

/* ============================================================
   Approach steps
   ============================================================ */
.steps { display: grid; grid-template-columns: 1fr; }
.step {
  display: grid;
  grid-template-columns: 96px 1fr 1.4fr;
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(32px, 4.5vw, 64px);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step .num {
  font-family: var(--serif); font-size: clamp(40px, 4.5vw, 64px);
  line-height: 0.9; color: var(--ink);
  display: flex; gap: 4px; align-items: baseline;
}
.step .num span { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.14em; }
.step h3 { letter-spacing: -0.02em; font-size: clamp(24px, 2.2vw, 32px); }
.step .desc { color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 56ch; }
.step ul { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 8px; }
.step ul li {
  padding-left: 18px; position: relative;
  color: var(--ink-3); font-size: 14px;
}
.step ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--ink-3);
}
@media (max-width: 880px) {
  .step { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   Engagement-shape grid (Approach)
   ============================================================ */
.eng-shape { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.eng-grid {
  display: grid;
  grid-template-columns: 116px repeat(4, minmax(108px, 1fr));
  border-top: 1px solid var(--rule);
  min-width: 580px;
}
.eng-grid > div {
  border-left: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.eng-grid .corner { border-left: 0; }
.eng-grid .hd {
  padding: 16px 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.eng-grid .wk {
  border-left: 0;
  padding: clamp(24px, 2.6vw, 32px) 14px;
  font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px);
  color: var(--ink); line-height: 1; white-space: nowrap;
}
.eng-grid .cell { padding: clamp(22px, 2.4vw, 30px) 14px; text-align: center; display: flex; align-items: center; justify-content: center; }
.eng-grid .cell span {
  font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
}
/* Darker shading + a clear lightness gap so the phases read for everyone, including
   colour-blind viewers (lightness is preserved across all CVD types). */
.eng-grid .on-1 { background: color-mix(in oklab, var(--accent) 42%, var(--bone)); }
.eng-grid .on-1 span { color: var(--ink); }
.eng-grid .on-2 { background: color-mix(in oklab, var(--accent) 18%, var(--bone)); }

/* Legend for the engagement matrix */
.eng-legend { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 18px; }
.eng-legend .el { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3); }
.eng-legend .sw { width: 22px; height: 14px; border: 1px solid var(--rule); border-radius: 3px; flex-shrink: 0; }
.eng-legend .sw.on-1 { background: color-mix(in oklab, var(--accent) 42%, var(--bone)); }
.eng-legend .sw.on-2 { background: color-mix(in oklab, var(--accent) 18%, var(--bone)); }

/* ============================================================
   Module cards (reusable premium cards / visual modules)
   ============================================================ */
.mod-grid { display: grid; gap: clamp(12px, 1.4vw, 18px); }
.mod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.mod-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.mod-card {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  background: var(--paper);
  padding: clamp(24px, 2.2vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.mod-card:hover {
  border-color: var(--ink-3);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px color-mix(in oklab, var(--ink) 60%, transparent);
}
.mod-card .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.mod-card .t { font-family: var(--serif); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.mod-card .d { color: var(--ink-2); font-size: 14px; line-height: 1.55; }
@media (max-width: 980px) { .mod-grid.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 880px) { .mod-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .mod-grid.cols-3, .mod-grid.cols-4 { grid-template-columns: 1fr; } }

/* ============================================================
   Final CTA band
   ============================================================ */
.cta-band {
  padding-block: clamp(64px, 10vw, 168px);
  text-align: left;
  position: relative;
}
.cta-band h2 {
  font-size: clamp(40px, 7.5vw, 128px);
  letter-spacing: -0.03em;
  line-height: 0.98;
}
.cta-band .actions {
  margin-top: clamp(32px, 4vw, 56px);
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* ============================================================
   Founder bridge card (cross-link to sakettulsan.com)
   ============================================================ */
.founder-bridge {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--rule);
  background: var(--paper);
  align-items: center;
  border-radius: 4px;
}
.founder-bridge .fb-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
.founder-bridge h3 { font-size: clamp(28px, 3vw, 44px); }
.founder-bridge .ext-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink);
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  margin-top: 24px;
  transition: background .2s ease, color .2s ease;
}
.founder-bridge .ext-link:hover { background: var(--ink); color: var(--bone); }
.founder-bridge .ext-link svg { transition: transform .25s ease; }
.founder-bridge .ext-link:hover svg { transform: translate(2px, -2px); }
/* Align the two practice links (sakettulsan + practice story) on one baseline */
.founder-bridge .fb-links { align-items: center; gap: 18px; }
.founder-bridge .fb-links .ext-link { margin-top: 0; }
.founder-bridge .fb-links .btn-ghost { margin: 0; }
.founder-bridge dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.founder-bridge dt { color: var(--ink-3); }
.founder-bridge dd { color: var(--ink); margin: 0; font-family: var(--sans); font-size: 14px; letter-spacing: 0; text-transform: none; }
@media (max-width: 880px) {
  .founder-bridge { grid-template-columns: 1fr; padding: 28px; }
  .founder-bridge dl { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
}

/* Founder bridge with portrait (About) */
.founder-bridge.has-photo {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.founder-bridge.has-photo .fb-photo {
  width: 100%; height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 28%;
  display: block;
  border-right: 1px solid var(--rule);
}
.founder-bridge.has-photo .fb-content { padding: clamp(32px, 4vw, 56px); align-self: center; }
.founder-bridge.has-photo dl { border-top: 1px solid var(--rule); padding-top: 24px; margin-top: 28px; }
@media (max-width: 880px) {
  .founder-bridge.has-photo { grid-template-columns: 1fr; }
  .founder-bridge.has-photo .fb-photo { min-height: 0; aspect-ratio: 4 / 4.4; border-right: 0; border-bottom: 1px solid var(--rule); }
  .founder-bridge.has-photo .fb-content { padding: 28px; }
}

/* ============================================================
   Homepage reusable bits (replace repeated inline styles)
   ============================================================ */
/* "Why Thinkbridge" feature cards */
.why-card .mono { margin-bottom: 14px; }
.why-card h3 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 10px; }
/* Accent kicker used by Approach steps */
.k-accent { color: var(--accent-ink); margin-bottom: 10px; }

/* ============================================================
   Utility
   ============================================================ */
.row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.between { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.muted { color: var(--ink-3); }
.tiny { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }
@media (max-width: 880px) {
  .col-6, .col-7, .col-5, .col-4, .col-8 { grid-column: span 12; }
}

/* ============================================================
   Scroll reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee { overflow: hidden; }
.marquee-track {
  display: flex; gap: 56px;
  animation: marquee 50s linear infinite;
  width: max-content;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  color: var(--ink-2);
  will-change: transform;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; }
.marquee-track span::after {
  content: "/"; color: var(--ink-3); font-family: var(--mono); font-size: 14px;
}
/* Top-of-page banner variant (moving band, used as the page header banner) */
.marquee-banner {
  padding-block: clamp(18px, 2.4vw, 26px);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(120% 180% at 0% 0%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 60%),
    var(--bone-2);
}
.marquee-banner + * { margin-top: 0; }
/* Homepage: marquee sits inside the hero, below the headline — break out full-bleed */
.hero > .marquee-banner {
  margin-inline: calc(50% - 50vw);
  margin-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--rule);
}
.hero > .marquee-banner + .hero-foot {
  margin-top: 0; padding-top: 0; border-top: 0;
}
/* Inner pages: marquee sits inside page-head, below the title — break out full-bleed */
.page-head > .marquee-banner {
  margin-inline: calc(50% - 50vw);
  margin-block: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--rule);
}
.page-head > .marquee-banner + .page-sub {
  margin-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; justify-content: center; flex-wrap: wrap; gap: 28px; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Focus / skip
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--bone);
  padding: 8px 16px;
  font-family: var(--mono); font-size: 12px;
  z-index: 200;
}
.skip:focus { left: 16px; top: 16px; }

/* ============================================================
   External link icon (subtle)
   ============================================================ */
.ext-arrow { display: inline-block; width: 11px; height: 11px; vertical-align: 1px; margin-left: 4px; opacity: 0.7; }

/* ============================================================
   WhatsApp floating CTA (injected by script.js on every page)
   Brand-consistent: ink/bone pill, not a third accent colour.
   ============================================================ */
.wa-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: max(clamp(16px, 3vw, 28px), env(safe-area-inset-bottom, 0px));
  /* Layering: page content < FAB (45) < sticky nav (50). Explicit so the
     button always sits above hero/CTA copy and is never hidden behind it. */
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  background: var(--cta-bg);
  color: var(--cta-fg);
  border: 1px solid color-mix(in oklab, var(--cta-bg) 78%, var(--cta-fg));
  box-shadow: 0 16px 34px -16px color-mix(in oklab, var(--ink) 75%, transparent);
  transition: transform .2s ease, box-shadow .2s ease, background-color .35s ease, color .35s ease;
}
.wa-fab .wa-ico { flex-shrink: 0; }
.wa-label {
  display: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 22px 42px -18px color-mix(in oklab, var(--ink) 80%, transparent); }
.wa-fab:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
@media (min-width: 760px) {
  .wa-fab { width: auto; padding: 0 22px 0 18px; }
  .wa-label { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: background-color .35s ease, color .35s ease; }
  .wa-fab:hover { transform: none; }
}
@media print { .wa-fab { display: none; } }

/* On phones the FAB is a 56px puck pinned bottom-right. Reserve clearance so
   the closing content (final CTA actions, footer rows) never sits beneath it. */
@media (max-width: 759px) {
  .cta-band { padding-bottom: clamp(88px, 14vw, 168px); }
  .footer { padding-bottom: 92px; }
}
