/* AltaPath Inc — site styles
   Brand: Deep Teal #134E4A, Light Teal #5EEAD4, Off-White #F8FAFC, Charcoal #111827
   Type: Inter (UI/headings/body), Source Serif 4 (editorial), JetBrains Mono (data/labels)
*/

:root {
  --teal-900: #134E4A;
  --teal-800: #155E58;
  --teal-700: #1F7A73;
  --teal-300: #5EEAD4;
  --teal-50:  #ECFDF7;
  --off-white: #F8FAFC;
  --bone:     #F2EFE8;
  --paper:    #FAFAF7;
  --charcoal: #111827;
  --ink-70:   rgba(17, 24, 39, 0.70);
  --ink-55:   rgba(17, 24, 39, 0.55);
  --ink-40:   rgba(17, 24, 39, 0.40);
  --ink-15:   rgba(17, 24, 39, 0.15);
  --ink-08:   rgba(17, 24, 39, 0.08);

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", Consolas, "Courier New", monospace;

  --container: 1240px;
  --gutter: 32px;

  /* Density — regular */
  --section-y: 120px;
  --row-gap: 28px;
}

[data-density="compact"] {
  --section-y: 88px;
  --row-gap: 20px;
}
[data-density="comfy"] {
  --section-y: 152px;
  --row-gap: 36px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section--bone { background: var(--bone); }
.section--paper { background: var(--paper); }
.section--ink {
  background: var(--teal-900);
  color: var(--off-white);
}
.section--ink .meta-eyebrow,
.section--ink .text-muted { color: rgba(248, 250, 252, 0.72); }

/* ---------- Type system ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-900);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section--ink .eyebrow { color: var(--teal-300); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--sans);
  color: var(--teal-900);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 {
  color: var(--off-white);
}

h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 3.6vw, 50px); }
h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; }

.serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }
.serif-em { font-family: var(--serif); font-style: italic; font-weight: 400; }

p { margin: 0; text-wrap: pretty; }
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 56ch;
}
.section--ink .lede { color: rgba(248, 250, 252, 0.78); }
.hero--dark .lede { color: rgba(248, 250, 252, 0.82); }

.text-muted { color: var(--ink-55); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  background: transparent;
  color: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--teal-900);
  color: var(--off-white);
  border-color: var(--teal-900);
}
.btn--primary:hover { background: #0F3F3C; border-color: #0F3F3C; }

.btn--ghost {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--ink-15);
}
.btn--ghost:hover { border-color: var(--teal-900); background: rgba(19, 78, 74, 0.04); }

.section--ink .btn--primary {
  background: var(--teal-300);
  color: var(--teal-900);
  border-color: var(--teal-300);
}
.section--ink .btn--primary:hover { background: #84F1DE; border-color: #84F1DE; }
.section--ink .btn--ghost {
  color: var(--off-white);
  border-color: rgba(248, 250, 252, 0.25);
}
.section--ink .btn--ghost:hover { border-color: var(--teal-300); background: rgba(94, 234, 212, 0.06); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 252, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ink-08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; }
.nav__brand img { height: 104px; width: auto; display: block; }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
  letter-spacing: -0.005em;
  transition: color .15s ease;
}
.nav__links a:hover { color: var(--teal-900); }

@media (max-width: 800px) {
  .nav__links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 9vw, 120px);
  overflow: hidden;
}
.hero--light { background: var(--off-white); }
.hero--dark { background: var(--teal-900); color: var(--off-white); }
.hero--dark h1, .hero--dark h2, .hero--dark h3 { color: var(--off-white); }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
}

.hero__title {
  font-size: clamp(44px, 6.4vw, 88px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--teal-900);
  margin-top: 28px;
}
.hero--dark .hero__title { color: var(--off-white); }
.hero__title em.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--teal-700);
  letter-spacing: -0.02em;
}
.hero--dark .hero__title em.serif { color: var(--teal-300); }

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 6px;
}

.hero__cta {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Hero hex motif backdrop */
.hero__hex {
  position: absolute;
  right: -120px;
  top: -100px;
  width: 720px;
  height: 720px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.hero__hex--subtle { opacity: 0.10; }
.hero__hex--strong { opacity: 0.18; }
.hero--dark .hero__hex--subtle { opacity: 0.08; }
.hero--dark .hero__hex--strong { opacity: 0.14; }

/* Stats / facts strip below hero */
.facts {
  border-top: 1px solid var(--ink-08);
  border-bottom: 1px solid var(--ink-08);
  background: var(--paper);
}
.facts__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.facts__cell {
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--ink-08);
}
.facts__cell:last-child { border-right: none; padding-right: 0; }
.facts__cell:first-child { padding-left: 0; }
.facts__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 10px;
}
.facts__value {
  font-family: var(--sans);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--teal-900);
  line-height: 1.2;
}
@media (max-width: 800px) {
  .facts__row { grid-template-columns: repeat(2, 1fr); }
  .facts__cell { border-right: none; border-bottom: 1px solid var(--ink-08); }
  .facts__cell:nth-last-child(-n+2) { border-bottom: none; }
}

/* ---------- Section header ---------- */
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 64px;
  margin-bottom: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
}
.section__head .eyebrow { margin-bottom: 14px; }
.section__head h2 { margin-bottom: 0; }
.section__head .lede { padding-top: 6px; }

/* ---------- Approach pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-08);
  border: 1px solid var(--ink-08);
}
.pillar {
  background: var(--off-white);
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 320px;
}
.section--bone .pillar { background: var(--bone); }
.pillar__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-55);
}
.pillar h3 { margin-top: 4px; }
.pillar p { color: var(--ink-70); font-size: 15px; line-height: 1.55; }
.pillar__hex { margin-top: auto; padding-top: 20px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Audiences split ---------- */
.audiences {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink-08);
  border-bottom: 1px solid var(--ink-08);
}
.audiences > * {
  padding: 80px 56px;
}
.audiences > * + * {
  border-left: 1px solid var(--ink-08);
}
@media (max-width: 900px) {
  .audiences { grid-template-columns: 1fr; }
  .audiences > * { padding: 56px 0; }
  .audiences > * + * { border-left: none; border-top: 1px solid var(--ink-08); }
}
.aud {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.aud__intro { display: flex; flex-direction: column; gap: 18px; flex: 1 0 auto; }
.aud__form-wrap { margin-top: auto; }
.aud h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.aud ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aud li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.5;
}
.aud li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--teal-300);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Inquiry form */
.inquiry {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 480px;
}
.inquiry__field { display: flex; flex-direction: column; gap: 6px; grid-column: span 1; }
.inquiry__field--full { grid-column: span 2; }
.inquiry__field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.inquiry__field input {
  appearance: none;
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid var(--ink-15);
  border-radius: 4px;
  background: var(--off-white);
  color: var(--charcoal);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.inquiry__field input:focus {
  border-color: var(--teal-900);
  background: white;
}
.inquiry__submit { margin-top: 6px; grid-column: span 2; }
.inquiry__success {
  grid-column: span 2;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--teal-900);
  background: var(--teal-50);
  border: 1px solid rgba(19, 78, 74, 0.15);
  border-radius: 4px;
  padding: 14px 16px;
}
.inquiry__error {
  grid-column: span 2;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #7C2D12;
  background: #FEF2F2;
  border: 1px solid rgba(124, 45, 18, 0.18);
  border-radius: 4px;
  padding: 14px 16px;
}
.inquiry__error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.inquiry__submit[disabled] { opacity: 0.6; cursor: default; }

/* ---------- Platform / What we do ---------- */
.platform__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .platform__grid { grid-template-columns: 1fr; gap: 36px; }
}
.platform__copy p {
  color: var(--ink-70);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 18px;
  max-width: 60ch;
}
.platform__copy p:last-child { margin-bottom: 0; }
.platform__copy p strong { color: var(--teal-900); font-weight: 600; }

.platform__placeholder {
  border: 1px solid var(--ink-15);
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(19, 78, 74, 0.06) 12px 13px),
    var(--paper);
  aspect-ratio: 4 / 5;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 24px;
}
.section--ink .platform__placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(94, 234, 212, 0.10) 12px 13px),
    rgba(255,255,255,0.02);
  border-color: rgba(248, 250, 252, 0.18);
}
.platform__placeholder__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  background: var(--off-white);
  padding: 6px 10px;
  border: 1px solid var(--ink-15);
}
.section--ink .platform__placeholder__tag {
  color: rgba(248, 250, 252, 0.7);
  background: var(--teal-900);
  border-color: rgba(248, 250, 252, 0.18);
}

.subsidiary-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--teal-300);
  background: var(--paper);
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
  max-width: 60ch;
}
.section--ink .subsidiary-note {
  background: rgba(255,255,255,0.04);
  color: rgba(248, 250, 252, 0.78);
}

/* ---------- Leadership strip ---------- */
.leadership {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ink-08);
  border: 1px solid var(--ink-08);
}
.lead {
  background: var(--off-white);
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.section--bone .lead { background: var(--bone); }
.lead__name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  color: var(--teal-900);
  letter-spacing: -0.015em;
}
.lead__title {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-55);
}
@media (max-width: 700px) { .leadership { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--teal-900);
  color: var(--off-white);
  padding: 80px 0 36px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 48px;
}
@media (max-width: 800px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer__brand img { height: 36px; width: auto; margin-bottom: 18px; }
.footer__about {
  font-size: 14px;
  color: rgba(248, 250, 252, 0.72);
  max-width: 36ch;
  line-height: 1.55;
}
.footer__col h4 {
  color: var(--teal-300);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__col li { font-size: 14px; color: rgba(248, 250, 252, 0.78); }
.footer__col a:hover { color: var(--teal-300); }
.footer__rule {
  margin: 56px 0 22px;
  height: 1px;
  background: rgba(248, 250, 252, 0.14);
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(248, 250, 252, 0.55);
}
@media (max-width: 600px) {
  .footer__legal { flex-direction: column; gap: 8px; }
}

/* ---------- Hex motif: page background tile ---------- */
.bg-hex-tile {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity .3s ease;
  background-image: url("assets/hex-tile.svg");
  background-size: 96px 110px;
  background-repeat: repeat;
}
[data-hex-motif="subtle"] .bg-hex-tile { opacity: 0.04; }
[data-hex-motif="strong"] .bg-hex-tile { opacity: 0.08; }

/* Make section content sit above bg-hex-tile */
.section > .container { position: relative; z-index: 1; }

/* ---------- Misc ---------- */
.divider-line {
  height: 1px;
  background: var(--ink-08);
  margin: 0;
}

.kv-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-08);
  align-items: baseline;
}
.kv-row:last-child { border-bottom: none; }
.kv-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.kv-val { font-size: 15px; color: var(--charcoal); line-height: 1.5; }
.section--ink .kv-row { border-bottom-color: rgba(248, 250, 252, 0.10); }
.section--ink .kv-key { color: rgba(248, 250, 252, 0.55); }
.section--ink .kv-val { color: rgba(248, 250, 252, 0.92); }

/* Density-driven tweaks for inner spacing */
[data-density="compact"] .pillar { padding: 28px 24px 30px; min-height: 260px; }
[data-density="compact"] .audiences > * { padding: 56px 40px; }
[data-density="comfy"] .pillar { padding: 44px 38px 48px; min-height: 360px; }
[data-density="comfy"] .audiences > * { padding: 96px 64px; }

/* Direction-driven type swaps */
[data-direction="scientific"] body { letter-spacing: -0.003em; }
[data-direction="scientific"] h1 { letter-spacing: -0.025em; }
[data-direction="scientific"] .hero__title em.serif { font-style: normal; font-family: var(--sans); font-weight: 300; }
[data-direction="scientific"] .lede { font-size: 16px; }

[data-direction="corporate"] .hero__title em.serif { font-style: normal; font-family: var(--sans); font-weight: 600; color: var(--teal-700); }
[data-direction="corporate"] body { letter-spacing: 0; }

/* Hide serif accents toggle */
[data-serif="off"] .serif,
[data-serif="off"] .hero__title em.serif {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
}

/* =========================================================
   MSO additions — services catalog, process timeline, metrics
   ========================================================= */

/* Services catalog grid */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-08);
  border: 1px solid var(--ink-08);
}
.svc {
  background: var(--off-white);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  position: relative;
  transition: background .18s ease;
}
.section--bone .svc { background: var(--bone); }
.section--paper .svc { background: var(--paper); }
.svc:hover { background: var(--off-white); }
.section--paper .svc:hover { background: white; }
.svc__num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--ink-55);
}
.svc h3 {
  font-size: 19px;
  letter-spacing: -0.015em;
  margin-top: 2px;
}
.svc p {
  color: var(--ink-70);
  font-size: 14.5px;
  line-height: 1.55;
}
.svc__caps {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--ink-08);
  padding-top: 14px;
}
.svc__caps li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
}
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }

[data-density="compact"] .svc { padding: 24px 22px 28px; min-height: 240px; }
[data-density="comfy"]  .svc { padding: 40px 36px 44px; min-height: 320px; }

/* Process / engagement timeline */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-08);
  border: 1px solid var(--ink-08);
}
.process__step {
  background: var(--off-white);
  padding: 30px 26px 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  position: relative;
}
.section--bone .process__step { background: var(--bone); }
.section--paper .process__step { background: var(--paper); }
.process__step__num {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--teal-700);
  display: flex;
  align-items: center;
  gap: 10px;
}
.process__step__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ink-08);
}
.process__step h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.process__step p {
  color: var(--ink-70);
  font-size: 14px;
  line-height: 1.55;
}
.process__step__week {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-55);
  padding-top: 14px;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }

/* Operational scorecard */
.scorecard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-08);
  border-bottom: 1px solid var(--ink-08);
}
.scorecard__cell {
  padding: 36px 28px;
  border-right: 1px solid var(--ink-08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scorecard__cell:last-child { border-right: none; }
.scorecard__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.scorecard__value {
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--teal-900);
  line-height: 1.05;
}
.scorecard__sub {
  font-size: 13px;
  color: var(--ink-55);
  line-height: 1.45;
}
.section--ink .scorecard { border-color: rgba(248,250,252,0.14); }
.section--ink .scorecard__cell { border-right-color: rgba(248,250,252,0.14); }
.section--ink .scorecard__label { color: rgba(248,250,252,0.55); }
.section--ink .scorecard__value { color: var(--off-white); }
.section--ink .scorecard__sub { color: rgba(248,250,252,0.65); }
@media (max-width: 900px) {
  .scorecard { grid-template-columns: repeat(2, 1fr); }
  .scorecard__cell:nth-child(2n) { border-right: none; }
  .scorecard__cell:nth-child(-n+2) { border-bottom: 1px solid var(--ink-08); }
  .section--ink .scorecard__cell:nth-child(-n+2) { border-bottom-color: rgba(248,250,252,0.14); }
}

/* Compliance / accreditation strip */
.compliance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .compliance { grid-template-columns: 1fr; gap: 36px; }
}
.compliance__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-08);
}
.compliance__list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.compliance__list li:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--ink-08); }
.compliance__list li:nth-child(even) { padding-left: 24px; }
.compliance__name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-900);
  letter-spacing: -0.01em;
}
.compliance__desc {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
}
@media (max-width: 600px) {
  .compliance__list { grid-template-columns: 1fr; }
  .compliance__list li:nth-child(odd) { padding-right: 0; border-right: none; }
  .compliance__list li:nth-child(even) { padding-left: 0; }
}

/* Tech stack chips */
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.stack__chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-900);
  background: var(--off-white);
  border: 1px solid var(--ink-15);
  padding: 7px 11px;
  border-radius: 3px;
}
.section--bone .stack__chip { background: var(--paper); }
.section--ink .stack__chip {
  color: var(--teal-300);
  background: rgba(255,255,255,0.04);
  border-color: rgba(248,250,252,0.18);
}

/* Parent link / breadcrumb pill */
.parent-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--ink-15);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-70);
  transition: border-color .18s ease, color .18s ease;
}
.parent-pill:hover { border-color: var(--teal-900); color: var(--teal-900); }
.parent-pill__dot {
  width: 14px; height: 14px;
  background: var(--teal-300);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}
.section--ink .parent-pill {
  background: rgba(255,255,255,0.04);
  color: rgba(248,250,252,0.78);
  border-color: rgba(248,250,252,0.18);
}
.section--ink .parent-pill:hover { color: var(--teal-300); border-color: var(--teal-300); }

/* FAQ accordion */
.faq {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--ink-08);
}
.faq details {
  border-bottom: 1px solid var(--ink-08);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  color: var(--teal-900);
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-55);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq__body {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-70);
  line-height: 1.6;
  max-width: 70ch;
}

/* Engagement model split (subscription vs build vs full) */
.engagement {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink-08);
  border: 1px solid var(--ink-08);
}
.engagement__col {
  background: var(--off-white);
  padding: 36px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}
.section--bone .engagement__col { background: var(--bone); }
.engagement__col--feature { background: var(--teal-900); color: var(--off-white); }
.engagement__col--feature h3,
.engagement__col--feature .engagement__tier { color: var(--off-white); }
.engagement__tier {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.engagement__col--feature .engagement__tier { color: var(--teal-300); }
.engagement__col h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
}
.engagement__col p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-70);
}
.engagement__col--feature p { color: rgba(248,250,252,0.78); }
.engagement__col ul {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--ink-08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.engagement__col--feature ul { border-top-color: rgba(248,250,252,0.14); }
.engagement__col li {
  font-size: 13.5px;
  color: var(--ink-70);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.engagement__col li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  background: var(--teal-300);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.engagement__col--feature li { color: rgba(248,250,252,0.85); }
@media (max-width: 900px) { .engagement { grid-template-columns: 1fr; } }
