/* Optimity — Engineered Editorial. Implements DESIGN.md. */

:root {
  --ink: #14110E;
  --paper: #F5F1EA;
  --surface: #FBF8F2;
  --muted: #6B6256;
  --hairline: #DED7CB;
  --accent: #B8550F;
  --accent-tint: #F3E2D2;
  --success: #2E7D54;
  --error: #B23A2E;
  --info: #3A5A8C;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;

  --maxw: 1180px;
  --gutter: 32px;

  --sp-2: 2px; --sp-4: 4px; --sp-8: 8px; --sp-16: 16px;
  --sp-24: 24px; --sp-32: 32px; --sp-48: 48px; --sp-64: 64px; --sp-96: 96px;

  --r-sm: 4px; --r-md: 6px; --r-lg: 12px;
  --dur-short: 180ms;
  --ease-out: cubic-bezier(.22,.61,.36,1);
}

[data-theme="dark"] {
  --ink: #F2ECE2;
  --paper: #14110E;
  --surface: #1D1915;
  --muted: #A89D8C;
  --hairline: #322B23;
  --accent: #E0853A;
  --accent-tint: #2A1E12;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .3s var(--ease-out), color .3s var(--ease-out);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { max-width: 64ch; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch; }
.accent { color: var(--accent); }

.mono {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { margin-bottom: var(--sp-24); }
.kicker { /* small section label — plain mono, no pill chrome (DESIGN.md v3) */
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: var(--sp-16);
}

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-md); z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

/* Nav */
nav.site {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
nav.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; max-width: 1440px; width: 100%; gap: 24px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; }
.brand .dot { color: var(--accent); }
.brand .logo-light, .brand .logo-dark { height: 48px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }
footer.site .brand .logo-light, footer.site .brand .logo-dark { height: 48px; max-width: 160px; }
.navlinks { display: flex; gap: 24px; align-items: center; justify-content: center; flex-grow: 1; }
.navlinks a.link { font-size: .94rem; text-decoration: none; color: var(--muted); transition: color var(--dur-short); white-space: nowrap; }
.navlinks a.link:hover, .navlinks a.link[aria-current="page"] { color: var(--ink); }
.navactions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cb { position: absolute; opacity: 0; pointer-events: none; }
.menu-btn { display: none; font-size: 1.4rem; line-height: 1; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--hairline); border-radius: var(--r-md); background: transparent; color: var(--ink); cursor: pointer; user-select: none; }
.nav-cta .cta-short { display: none; }
.mobile-nav-actions { display: none; }

/* Theme toggle */
.toggle {
  font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em;
  border: 1px solid var(--hairline); background: transparent; color: var(--muted);
  padding: 7px 11px; border-radius: var(--r-md); cursor: pointer; transition: border-color var(--dur-short), color var(--dur-short);
}
.toggle:hover { border-color: var(--ink); color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 500; font-size: .96rem;
  padding: 14px 22px; border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .12s var(--ease-out), background var(--dur-short), border-color var(--dur-short);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9d480c; }
[data-theme="dark"] .btn-primary { color: #14110E; }
[data-theme="dark"] .btn-primary:hover { background: #efa05c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 15px; font-size: .9rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* Section rhythm */
section { padding: var(--sp-96) 0; }
section.tight { padding: var(--sp-64) 0; }
.section-head { max-width: 62ch; margin-bottom: var(--sp-48); }
.section-head h2 { margin-bottom: var(--sp-16); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.divider { border: 0; border-top: 1px solid var(--hairline); }
.band { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

/* Hero */
.hero { padding: var(--sp-96) 0 var(--sp-64); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.2fr; gap: var(--sp-48); align-items: center; }
.hero h1 { margin-bottom: var(--sp-24); }
.hero .lead { margin-bottom: var(--sp-32); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-cta .note { font-size: .86rem; color: var(--muted); }

/* The teardown artifact */
.artifact {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 var(--hairline), 0 28px 56px -34px rgba(20,17,14,.45);
  overflow: hidden;
}
.artifact-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--hairline); }
.artifact-head .dots { display: flex; gap: 6px; }
.artifact-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--hairline); display: block; }
.artifact-head .tag { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.artifact-body { padding: 22px 22px 24px; }
.artifact-title { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 3px; }
.artifact-sub { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.systag { font-family: var(--mono); font-size: .72rem; padding: 4px 9px; border: 1px solid var(--hairline); border-radius: var(--r-sm); color: var(--muted); }
.finding { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--hairline); }
.finding .num { font-family: var(--mono); font-size: .72rem; color: var(--accent); padding-top: 3px; }
.finding .ftitle { font-weight: 500; font-size: .98rem; line-height: 1.35; }
.finding .fdesc { font-size: .86rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.pill { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; background: var(--accent-tint); color: var(--accent); padding: 4px 8px; border-radius: var(--r-sm); white-space: nowrap; align-self: start; }
.intervention { position: relative; }
.intervention::before { content: ""; position: absolute; left: -22px; top: 14px; bottom: 14px; width: 3px; background: var(--accent); border-radius: 2px; }


/* Before/After Operations Map (hero artifact) */
.opsmap { padding: var(--sp-24); }
.opsmap-label { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px; }
.state-label { color: var(--info); }
.target-label { color: var(--accent); }
.opsmap-boxes { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.opsmap-box { border: 1px solid var(--info); color: var(--info); border-radius: var(--r-sm); padding: 5px 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; }
.opsmap-scribble { margin-top: 6px; opacity: .55; display: block; }
.opsmap-scribble text { font-family: var(--mono); }
.opsmap-mid { display: flex; align-items: center; gap: 12px; margin: var(--sp-16) 0; }
.opsmap-line { flex: 1; border-top: 1px solid var(--hairline); }
.opsmap-fd { color: var(--accent); font-size: .72rem; }
.opsmap-target-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.opsmap-tcol { display: flex; flex-direction: column; gap: var(--sp-8); }
.opsmap-tbox { border: 1px solid var(--hairline); color: var(--muted); border-radius: var(--r-sm); padding: 5px 10px; font-family: var(--mono); font-size: .72rem; text-align: center; }
.opsmap-core { border: 1.5px solid var(--accent); color: var(--accent); border-radius: var(--r-md); padding: var(--sp-16) 14px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; text-align: center; background: var(--accent-tint); }
.opsmap-note { margin-top: var(--sp-16); color: var(--muted); font-size: .78rem; display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-8); }
.opsmap-sample { font-size: .72rem; }


.service-badge {
  font-family: var(--mono); font-size: .63rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  padding: 3px 8px; background: var(--surface); white-space: nowrap;
}






/* Problem Split Section & Visual Card */
.problem-split {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: var(--sp-48);
  align-items: center;
}
.problem-text {
  margin-bottom: 0;
}
.problem-visual-card,
.operating-model-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-24);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.problem-visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-8);
}
.problem-visual-header .accent-badge {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  font-weight: 600;
}
.problem-svg-container {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-16) var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-svg-container svg {
  width: 100%;
  height: auto;
  max-height: 200px;
  display: block;
}
.problem-visual-footer {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}

/* Two-column entry points */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-24); }
/* Two ways in: open editorial split, no card chrome (DESIGN.md v3) */
.entry { border-top: 1px solid var(--ink); padding-top: var(--sp-24); }
.entry h3 { margin-bottom: var(--sp-8); }
.entry .tagline { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: var(--sp-16); }
.entry p { color: var(--muted); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-32); }
.step .step-n { font-family: var(--mono); font-size: .72rem; color: var(--accent); margin-bottom: var(--sp-16); }
.step h3 { margin-bottom: var(--sp-8); }
.step p { color: var(--muted); font-size: .98rem; }

/* Capability list */
.caps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-48); }
.cap { padding: var(--sp-24) 0; border-top: 1px solid var(--hairline); display: grid; grid-template-columns: auto 1fr; gap: var(--sp-16); }
.cap .cap-n { font-family: var(--mono); font-size: .72rem; color: var(--accent); padding-top: 4px; }
.cap h3 { font-size: 1.12rem; margin-bottom: var(--sp-4); }
.cap p { color: var(--muted); font-size: .95rem; }


/* Funnel steps (how it works after teardown) */
/* Three steps: editorial columns with large numbers, no card chrome (DESIGN.md v3) */
.funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-32); border-top: 1px solid var(--ink); padding-top: var(--sp-24); }
.fstep .fn { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--accent); line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.fstep h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fstep p { font-size: .9rem; color: var(--muted); }

/* Differentiator list */
.diffs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-48); }
.diff { padding: var(--sp-24) 0; border-top: 1px solid var(--hairline); }
.diff h3 { font-size: 1.05rem; margin-bottom: var(--sp-4); }
.diff p { color: var(--muted); font-size: .95rem; }

/* Closing CTA */
.cta-block { text-align: left; }
.cta-block h2 { margin-bottom: var(--sp-16); max-width: 18ch; }
.cta-block p { color: var(--muted); font-size: 1.12rem; margin-bottom: var(--sp-32); }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-64); align-items: start; }
.field { margin-bottom: var(--sp-16); }
.field label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 6px; }
.field label .opt { color: var(--muted); font-weight: 400; }
.input, .textarea, select.input {
  width: 100%; font-family: var(--sans); font-size: .96rem; color: var(--ink);
  padding: 11px 14px; border: 1px solid var(--hairline); border-radius: var(--r-md);
  background: var(--paper); transition: border-color var(--dur-short);
}
.input:focus, .textarea:focus { border-color: var(--accent); }
.textarea { min-height: 92px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: var(--sp-16); }
.offices { display: grid; gap: var(--sp-16); margin-top: var(--sp-24); }
.office { padding-top: var(--sp-16); border-top: 1px solid var(--hairline); }
.office .city { font-weight: 500; }
.office .meta { font-size: .9rem; color: var(--muted); }

/* Calendly booking embed */
.booking-embed { border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; background: #f5f1ea; min-height: 700px; }
.booking-embed .calendly-inline-widget { width: 100%; }

/* What-you-get list */
.getlist { list-style: none; margin-top: var(--sp-24); }
.getlist li { padding: 12px 0 12px 26px; border-top: 1px solid var(--hairline); position: relative; font-size: .98rem; }
.getlist li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* Footer */
footer.site { border-top: 1px solid var(--hairline); padding: var(--sp-48) 0; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: var(--sp-24); flex-wrap: wrap; align-items: center; }
footer.site .fnav { display: flex; gap: 22px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; font-size: .9rem; }
footer.site a:hover { color: var(--ink); }
footer.site .fmeta { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }

/* About Us Page Components */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-48);
  align-items: center;
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-24);
}
.model-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-32);
  display: flex;
  flex-direction: column;
}
.model-card .model-n {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--accent);
  margin-bottom: var(--sp-16);
}

/* Deployment log (ledger of deployment dossiers) */
.amp { font-family: var(--sans); }
.dlog { border-top: 1px solid var(--ink); }
.dlog-row { display: grid; grid-template-columns: 24% 1fr; gap: var(--sp-24); padding: var(--sp-24) 0; border-bottom: 1px solid var(--hairline); }
.dlog-dep { color: var(--accent); font-size: .72rem; display: block; margin-bottom: 6px; }
.dlog-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin: 0 0 4px; }
.dlog-sector { color: var(--muted); font-size: .72rem; display: block; margin-bottom: var(--sp-8); }
.dlog-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.dlog-diagram { border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--surface); padding: 14px 18px; display: flex; align-items: center; gap: 14px; margin-bottom: var(--sp-16); }
.dlog-zl { font-size: .72rem; display: block; margin-bottom: 6px; }
.dlog-boxes { display: flex; flex-wrap: wrap; gap: 6px; }
.dlog-cbox { border: 1px solid var(--info); color: var(--info); border-radius: var(--r-sm); padding: 4px 9px; font-family: var(--mono); font-size: .72rem; white-space: nowrap; }
.dlog-arrow { flex: 1; min-width: 28px; border-top: 1px solid var(--muted); position: relative; }
.dlog-arrow::after { content: "▸"; position: absolute; right: -3px; top: -10px; color: var(--muted); font-size: .7rem; }
.dlog-corewrap { text-align: center; }
.dlog-core { display: inline-block; border: 1.5px solid var(--accent); color: var(--accent); border-radius: var(--r-md); padding: 9px 13px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; background: var(--accent-tint); white-space: nowrap; }
.dlog-prod { display: inline-block; border: 1px solid var(--hairline); color: var(--muted); border-radius: var(--r-sm); padding: 5px 10px; font-family: var(--mono); font-size: .72rem; text-transform: uppercase; white-space: nowrap; }
.dlog-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-16); }
.dlog-h { color: var(--muted); font-size: .72rem; display: block; margin-bottom: 5px; }
.dlog-col p { font-size: .83rem; line-height: 1.48; }
.dlog-result { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dlog-result b { color: var(--accent); font-weight: 500; }
.dlog-resnote { color: var(--muted); font-size: .76rem; margin-top: 3px; }

/* Responsive */
@media (max-width: 920px) {
  .problem-split {
    grid-template-columns: 1fr;
    gap: var(--sp-32);}
  .hero-grid, .contact-grid, .about-split { grid-template-columns: 1fr; gap: var(--sp-32); }
  .dlog-row { grid-template-columns: 1fr; gap: var(--sp-16); }
  .dlog-cols { grid-template-columns: 1fr 1fr; }
  .dlog-diagram { flex-wrap: wrap; }
}
@media (max-width: 1040px) {
  .menu-btn { display: inline-flex; }
  .desktop-only { display: none !important; }
  .nav-cta .cta-long { display: none; }
  .nav-cta .cta-short { display: inline; }
  .navactions { gap: 10px; }
  nav.site .wrap { gap: 16px; }
  .navlinks {
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    padding: 4px var(--gutter) 20px; display: none;
    box-shadow: 0 20px 40px -28px rgba(20,17,14,.5);
  }
  .nav-cb:checked ~ .navlinks { display: flex; }
  .navlinks a.link { padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 1rem; white-space: normal; }
  .mobile-nav-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--hairline); width: 100%;
  }
  .mobile-nav-actions .toggle {
    margin: 0; padding: 11px 16px; font-size: 0.82rem; border: 1px solid var(--hairline);
    border-radius: var(--r-md); background: transparent; color: var(--ink); cursor: pointer; flex-shrink: 0;
  }
  .mobile-nav-actions .nav-cta {
    flex-grow: 1; text-align: center; justify-content: center; padding: 12px 18px; font-size: 0.94rem; display: inline-flex;
  }
}

@media (max-width: 680px) {
  section { padding: var(--sp-64) 0; }
  :root { --gutter: 20px; }
}

/* Trusted By Companies Section — Engineered Editorial Design */
.trusted-section {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--sp-64) 0;
}

.trusted-logos-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--sp-16);
  align-items: center;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: var(--sp-16) 0;
}

@media (max-width: 1040px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 680px) {
  .trusted-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Logo wall: no chrome — typography, rules, and whitespace (DESIGN.md v3).
   Dark mode keeps one plain light band behind the strip (logos are dark marks). */
.trusted-card {
  padding: 12px 14px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

[data-theme="dark"] .trusted-logos-grid {
  background: #F5F1EA;
  border-radius: var(--r-md);
  border-color: transparent;
  padding: var(--sp-16);
}

.trusted-logo-img {
  max-height: 42px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: grayscale(100%) opacity(0.75);
}

.trusted-logo-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}






/* --- Inline-style cleanup: shared component + utility classes --- */
.lead-wide { max-width: 820px; margin-top: var(--sp-24); }
.lead-mt { margin-top: var(--sp-24); }
.link-inline { color: var(--accent); text-decoration: none; font-weight: 500; }
.link-plain { text-decoration: none; }
.svg-fluid { width: 100%; height: auto; }
.text-muted { color: var(--muted); }
.mb-16 { margin-bottom: var(--sp-16); }
.mb-24 { margin-bottom: var(--sp-24); }
.mb-48 { margin-bottom: var(--sp-48); }
.mt-32 { margin-top: var(--sp-32); }
.cols-2--wide { gap: var(--sp-48); }
.hero .note { margin-top: 18px; }
.trusted-section .section-head { margin-bottom: var(--sp-32); }

/* Editorial paragraphs (how-we-work, about) */
.lede { font-size: 1.1rem; }
.lede + .lede { margin-top: 18px; }
.about-split .lede { margin-bottom: 18px; }

/* Stage rows (how-we-work: Understand · Build · Operate)
   Editorial: large serif numeral in the margin, two numbered steps per stage. */
.stage { border-top: 1px solid var(--hairline); padding: var(--sp-32) 0; display: grid; grid-template-columns: 84px 1fr; gap: var(--sp-24); }
.stage:last-of-type { border-bottom: 1px solid var(--hairline); }
.stage h3 { margin: 10px 0 12px; }
.stage-num { font-family: var(--serif); font-size: 3.6rem; font-weight: 400; line-height: 0.9; color: var(--muted); opacity: .38; font-variant-numeric: tabular-nums; }
.stage-steps { margin-top: var(--sp-16); display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-24); }
.stage-steps .mono { font-size: .68rem; }
.stage-steps b { color: var(--accent); font-weight: 500; margin-right: 4px; }
@media (max-width: 680px) {
  .stage { grid-template-columns: 1fr; gap: var(--sp-8); }
  .stage-num { font-size: 2.2rem; }
}

/* Engagement model cards (why-optimity) */
.models-grid { margin-bottom: var(--sp-64); }
.model-title { font-size: 1.35rem; margin-bottom: 12px; }
.model-desc { color: var(--muted); font-size: 0.96rem; margin-bottom: 20px; flex-grow: 1; }
.model-includes { border-top: 1px solid var(--hairline); padding-top: var(--sp-16); }
.model-includes-label { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; margin-bottom: 10px; }
.model-list { list-style: none; padding: 0; display: grid; gap: var(--sp-8); font-size: 0.88rem; }
.model-list li { display: flex; gap: var(--sp-8); align-items: center; }
.model-list li::before { content: "■"; color: var(--accent); }
.model-best { margin-top: var(--sp-16); padding-top: 12px; border-top: 1px dashed var(--hairline); }
.model-best-label { font-size: 0.72rem; color: var(--accent); text-transform: uppercase; display: block; }
.model-best-text { font-weight: 600; font-size: 0.92rem; }

/* About positioning split */
.split-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--hairline); padding-top: var(--sp-24); }
.split-label { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.split-title { font-size: 1.15rem; margin-bottom: 6px; }
.split-text { font-size: 0.92rem; color: var(--muted); }

/* Operating-model / diagram card headers */
.omc-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--hairline); padding-bottom: 12px; flex-wrap: wrap; gap: 12px; }
.omc-head--roomy { padding-bottom: var(--sp-16); margin-bottom: var(--sp-24); }
.omc-kicker { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; display: block; }
.omc-note { font-size: 0.75rem; color: var(--muted); }
.omc-body { padding: 10px 0; }
.omc-body--roomy { padding: var(--sp-16) 0; }
.omc-title { font-size: 1.4rem; margin-top: 4px; }

/* Sector focus panel (industries) */
.sector-panel { margin-top: var(--sp-48); padding: var(--sp-32); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); }
.panel-label { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-16); }
.panel-note { color: var(--muted); margin-bottom: 20px; font-size: 0.95rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-8); }

@media (max-width: 680px) {
  .split-cols { grid-template-columns: 1fr; }
}
.operating-model-card--roomy { padding: var(--sp-48); }

/* Hero capabilities panel (offer-first hero, 2026-08-10 feedback) */
.hero-caps { padding: var(--sp-24) var(--sp-24) var(--sp-16); }
.hero-caps-head { color: var(--accent); border-bottom: 1px solid var(--hairline); padding-bottom: 12px; margin-bottom: var(--sp-8); }
.hero-cap { display: grid; grid-template-columns: 24px 1fr; gap: var(--sp-16); padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.hero-cap:last-of-type { border-bottom: 0; }
.hero-cap-n { color: var(--accent); padding-top: 3px; }
.hero-cap h3 { font-size: 1.05rem; margin-bottom: 3px; }
.hero-cap p { font-size: .88rem; color: var(--muted); line-height: 1.45; }
.hero-caps-foot { color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 12px; font-size: .68rem; }

/* Calm ops map (problem-section version — larger labels, phone-legible) */
.opsmap--calm .opsmap-box, .opsmap--calm .opsmap-tbox { font-size: .8rem; padding: 7px 12px; }
.opsmap--calm .opsmap-core { font-size: .78rem; }
.opsmap--calm .opsmap-label { font-size: .78rem; }
.opsmap-annot { color: var(--info); font-size: .72rem; margin-top: 10px; }
@media (max-width: 680px) {
  .opsmap-target-grid { grid-template-columns: 1fr; justify-items: start; gap: var(--sp-8); }
  .opsmap-core { order: -1; }
  .opsmap-tcol { flex-direction: row; flex-wrap: wrap; }
}
