/* Bouddi Atelier — shared site styles */

/* ------------------------------------------------------------------ */
/* Self-hosted web fonts — Fraunces & Inter (latin + latin-ext only)  */
/* Removes the third-party request to fonts.gstatic.com so no visitor */
/* IP is sent to Google for font delivery. Files in /fonts/.          */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #F8F5F2;
  --bg-2: #EDE8E3;
  --surface: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #3A3338;
  --muted: #6B6068;
  --line: #D4CCCC;
  --accent: #4A2D4E;
  --accent-2: #311D34;
  --accent-soft: rgba(74, 45, 78, 0.08);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.25; }
h4 { font-size: 17px; font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--accent); }
p { margin: 0 0 1em; color: var(--ink-2); }
.muted { color: var(--muted); }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 242, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; max-width: var(--max); margin: 0 auto;
}
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand img { display: block; height: 46px; width: auto; }
.brand:hover { text-decoration: none; opacity: 0.85; }
footer .brand img { height: 44px; }
header.nav nav ul { list-style: none; display: flex; gap: 28px; padding: 0; margin: 0; }
header.nav nav a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
header.nav nav a:hover { color: var(--accent); text-decoration: none; }
header.nav nav a.current { color: var(--accent); }

/* Centred dropdown subnav */
a.nav-services-btn,
a.nav-clients-btn { cursor: pointer; }
a.nav-services-btn .caret,
a.nav-clients-btn .caret {
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.55;
  display: inline-block;
  transition: transform 0.18s ease;
}
li.has-subnav { position: relative; }
.nav-subnav {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}
.nav-subnav.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-subnav a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  text-decoration: none;
}
.nav-subnav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  text-decoration: none;
}

/* Password gate (used on prospective-clients page) */
.gate {
  max-width: 520px;
  margin: 80px auto;
  padding: 48px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.gate h2 { font-size: 28px; margin-bottom: 14px; }
.gate p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 24px; }
.gate .field { margin-bottom: 18px; }
.gate label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--ink); margin-bottom: 6px; letter-spacing: 0.02em;
}
.gate input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--bg); border-radius: var(--radius);
  font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 0.15s ease;
}
.gate input:focus { outline: none; border-color: var(--accent); background: #fff; }
.gate .gate-err {
  font-size: 13px; color: #B23A3A; margin-top: 8px; min-height: 18px;
}
.gate .gate-foot {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.gate .gate-foot a { color: var(--accent); font-weight: 500; }

.nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 18px;
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
}
.nav-cta:hover { background: var(--accent-2); text-decoration: none; }

/* ─── Mobile hamburger button ───────────────────────────────────── */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav-burger:hover { border-color: var(--accent); background: rgba(74, 45, 78, 0.04); }
.nav-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nav-burger-line {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}
.nav-burger.is-active .nav-burger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-burger.is-active .nav-burger-line:nth-child(2) { opacity: 0; }
.nav-burger.is-active .nav-burger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 820px) {
  header.nav nav ul { display: none; }
  header.nav .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-inner { padding: 14px 22px; }
  .brand img { height: 38px; }
}

/* ─── Mobile full-screen menu overlay (Option A — serif) ───────── */
html.mm-locked, body.mm-locked { overflow: hidden; }
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-menu[hidden] { display: none; }
.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.mm-brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.mm-brand img { display: block; height: 38px; width: auto; }
.mm-close {
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.mm-close:hover { border-color: var(--accent); background: rgba(74, 45, 78, 0.04); }
.mm-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mm-close-x {
  position: absolute; top: 50%; left: 50%;
  width: 20px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.mm-close-x::after {
  content: ''; position: absolute; inset: 0;
  background: var(--ink);
  transform: rotate(-90deg);
}
.mm-nav { flex: 1; overflow-y: auto; padding: 8px 22px 22px; }
.mm-list { list-style: none; padding: 0; margin: 0; }
.mm-item { border-bottom: 1px solid #EAE2E2; }
.mm-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 4px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.15;
}
.mm-link:hover, .mm-link:focus-visible { color: var(--accent); text-decoration: none; }
.mm-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.mm-item.is-current > .mm-link { color: var(--accent); }
.mm-chev {
  display: inline-block;
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
  margin-right: 4px;
  opacity: 0.7;
}
.mm-has-sub.is-open .mm-chev {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.mm-sublist {
  list-style: none;
  padding: 0 4px 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mm-sublist[hidden] { display: none; }
.mm-sublist a {
  display: block;
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: none;
}
.mm-sublist a:hover { color: var(--accent); text-decoration: none; }
.mm-foot {
  padding: 18px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: stretch;
}
.mm-cta {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff !important;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.mm-cta:hover { background: var(--accent-2); text-decoration: none; }

/* Tighter type on very small phones */
@media (max-width: 360px) {
  .mm-link { font-size: 24px; padding: 16px 4px; }
}

/* Above the breakpoint, the overlay should never be visible */
@media (min-width: 821px) {
  .mobile-menu { display: none !important; }
}

/* Hero */
.hero { padding: 96px 0 72px; }
.hero.compact { padding: 72px 0 48px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 28px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 20ch; margin-bottom: 28px; }
.hero .lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 64ch; margin-bottom: 48px; }

/* Hero transformation pillars */
.hero-transform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  margin-bottom: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.transform-item {
  border-top: 2px solid var(--accent);
  padding-top: 20px;
}
.transform-n {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.transform-label {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.transform-hook {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 10px;
}
.transform-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 860px) { .hero-transform { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; margin-top: 40px; } }

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 64px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius);
  font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.15s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); text-decoration: none; }
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Stats */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.stat .num { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--ink); }
.stat .lbl { margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; } }

/* Sections */
section { padding: 96px 0; }
section.alt { background: var(--bg-2); }
section.compact { padding: 64px 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 19px; color: var(--ink-2); }

/* Two-column grids */
.context-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
@media (max-width: 880px) { .context-grid { grid-template-columns: 1fr; gap: 40px; } }

.principle-list { list-style: none; padding: 0; margin: 24px 0 0; }
.principle-list li {
  padding: 18px 0; border-top: 1px solid var(--line); display: grid;
  grid-template-columns: 28px 1fr; gap: 16px; align-items: start;
}
.principle-list li:last-child { border-bottom: 1px solid var(--line); }
.principle-list .n { font-family: var(--serif); color: var(--accent); font-size: 18px; }
.principle-list .t { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.principle-list .d { color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* Governance pricing cards */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .services.cols-2 { grid-template-columns: 1fr; } }

/* Three-column feature cards (for home page, when 3 practices) */
.feature-cards.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1024px) { .feature-cards.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .feature-cards.cols-3 { grid-template-columns: 1fr; } }
.svc {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column;
  transition: border-color 0.15s ease;
}
.svc:hover { border-color: var(--accent); }
.svc.featured { border-color: var(--accent); position: relative; }
.svc.featured::before {
  content: "Most engaged"; position: absolute; top: -11px; left: 24px;
  background: var(--accent); color: #fff; font-size: 11px; padding: 4px 10px;
  border-radius: 2px; letter-spacing: 0.06em; text-transform: uppercase;
}
.svc h3 { margin-bottom: 8px; }
.svc .price { font-family: var(--serif); font-size: 32px; color: var(--ink); margin: 16px 0 4px; }
.svc .price small { font-size: 14px; color: var(--muted); font-family: var(--sans); }
.svc .duration { font-size: 13px; color: var(--muted); margin-bottom: 20px; letter-spacing: 0.02em; }
.svc ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.svc ul li {
  padding: 10px 0 10px 22px; position: relative; font-size: 14.5px; color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.svc ul li:first-child { border-top: none; }
.svc ul li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 10px; height: 6px; border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
.board-row {
  margin-top: 36px; padding: 28px 32px; border: 1px dashed var(--line);
  border-radius: var(--radius); display: flex; justify-content: space-between;
  align-items: center; gap: 24px; flex-wrap: wrap;
}
.board-row .label { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.board-row .desc { color: var(--muted); font-size: 14.5px; max-width: 60ch; }
.board-row .rate { font-family: var(--serif); font-size: 26px; color: var(--accent); white-space: nowrap; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .pillars { grid-template-columns: 1fr; } }
.pillar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column;
  transition: border-color 0.15s ease;
}
.pillar:hover { border-color: var(--accent); }
.pillar .pn { font-family: var(--serif); color: var(--accent); font-size: 14px; margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.pillar h3 { margin-bottom: 12px; }
.pillar > p { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; }
.pillar h5 {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase;
  margin: 16px 0 10px;
}
.pillar ul { list-style: none; padding: 0; margin: 0; flex: 1; }
.pillar ul li {
  padding: 9px 0 9px 22px; position: relative; font-size: 14.5px; color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.pillar ul li:first-child { border-top: none; }
.pillar ul li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 10px; height: 6px; border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}

/* Audience cards */
.audiences { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { .audiences { grid-template-columns: 1fr; } }
.aud {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px;
}
.aud .tag { font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
.aud h3 { margin-bottom: 14px; }
.aud p { font-size: 15px; color: var(--ink-2); }
.aud .roles { font-size: 13.5px; color: var(--muted); padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); }
.aud .roles strong { color: var(--ink-2); font-weight: 600; }

/* Phase strip */
.phases { display: grid; gap: 4px; margin-bottom: 48px; }
.phases.cols-5 { grid-template-columns: repeat(5, 1fr); }
.phases.cols-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) {
  .phases.cols-5, .phases.cols-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .phases.cols-5, .phases.cols-6 { grid-template-columns: 1fr; }
}
.phase {
  background: var(--surface); border: 1px solid var(--line); padding: 24px 20px;
  transition: background 0.15s ease;
}
.phase:hover { background: var(--accent-soft); }
.phase .ph-n { font-family: var(--serif); font-size: 14px; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.04em; }
.phase .ph-t { font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 15px; line-height: 1.3; }
.phase .ph-w { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.02em; }
.phase .ph-d { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* Domains */
.domains-head { margin-top: 24px; margin-bottom: 24px; }
.domains-head h3 { margin-bottom: 10px; }
.domains-head p { color: var(--muted); }
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .domains { grid-template-columns: 1fr; } }
.domain {
  background: var(--surface); border: 1px solid var(--line); padding: 24px;
  border-radius: var(--radius);
}
.domain .dn { font-family: var(--serif); color: var(--accent); font-size: 14px; margin-bottom: 8px; letter-spacing: 0.04em; }
.domain .dt { font-weight: 600; margin-bottom: 8px; }
.domain .dd { font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* Swimlanes */
.swimlanes { display: flex; flex-direction: column; gap: 48px; }
.swimlane-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.swimlane-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.swimlane-title { font-family: var(--serif); font-size: 20px; color: var(--ink); font-weight: 500; }

/* Deliverables */
.delivs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .delivs { grid-template-columns: 1fr; } }
.deliv {
  background: var(--surface); border: 1px solid var(--line); padding: 24px;
  border-radius: var(--radius);
}
.deliv .dn { font-family: var(--serif); color: var(--accent); font-size: 14px; margin-bottom: 8px; letter-spacing: 0.04em; }
.deliv .dt { font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.deliv-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; letter-spacing: 0.02em; }
.deliv-price { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.deliv-price small { font-family: var(--sans, Inter, sans-serif); font-size: 12px; font-weight: 400; color: var(--muted); }
.deliv .dd { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.deliv .dm { font-size: 12px; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); letter-spacing: 0.02em; }

/* Engagement options */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .options { grid-template-columns: 1fr; } }
.opt {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column;
  transition: border-color 0.15s ease;
}
.opt:hover { border-color: var(--accent); }
.opt.featured { border-color: var(--accent); position: relative; }
.opt.featured::before {
  content: "Most engaged"; position: absolute; top: -11px; left: 24px;
  background: var(--accent); color: #fff; font-size: 11px; padding: 4px 10px;
  border-radius: 2px; letter-spacing: 0.06em; text-transform: uppercase;
}
.opt h3 { margin-bottom: 8px; }
.opt .price { font-family: var(--serif); font-size: 32px; color: var(--ink); margin: 16px 0 4px; }
.opt .price small { font-size: 14px; color: var(--muted); font-family: var(--sans); }
.opt .duration { font-size: 13px; color: var(--muted); margin-bottom: 20px; letter-spacing: 0.02em; }
.opt ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.opt ul li {
  padding: 10px 0 10px 22px; position: relative; font-size: 14.5px; color: var(--ink-2);
  border-top: 1px solid var(--line);
}
.opt ul li:first-child { border-top: none; }
.opt ul li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 10px; height: 6px; border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}

/* CTA strip */
.cta-strip {
  margin-top: 48px; padding: 36px 40px;
  background: var(--accent); color: #fff;
  border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center;
  gap: 32px; flex-wrap: wrap;
}
.cta-strip .cta-h { font-family: var(--serif); font-size: 26px; line-height: 1.2; max-width: 36ch; color: #fff; }
.cta-strip .cta-d { font-size: 14.5px; color: rgba(255,255,255,0.78); margin-top: 8px; max-width: 56ch; }
.cta-strip .btn-light {
  background: #fff; color: var(--accent); border-radius: var(--radius);
  padding: 14px 22px; font-weight: 500; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.cta-strip .btn-light:hover { background: var(--bg); text-decoration: none; }

/* Soft note strip — used for inline cross-references (e.g. samples portal pointer) */
.note-strip {
  margin: 32px 0 0;
  padding: 22px 28px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.note-strip .note-text {
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
}
.note-strip .note-text strong { color: var(--ink); font-weight: 600; }
.note-strip a {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Insights articles */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .insights { grid-template-columns: 1fr; } }
.article {
  background: var(--surface); border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column; transition: border-color 0.15s ease;
}
.article:hover { border-color: var(--accent); }
.article .tag { font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.article h3 { font-size: 21px; margin-bottom: 14px; }
.article p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.article .meta { font-size: 12.5px; color: var(--muted); margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }

/* Founder */
.founder-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .founder-grid { grid-template-columns: 1fr; gap: 32px; } }
.portrait {
  width: 100%; aspect-ratio: 4/5; background: var(--bg-2);
  border-radius: var(--radius); position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.portrait.has-photo {
  background-image: url("brand/michael-okeefe.jpg");
  background-size: cover;
  background-position: center 20%;
  background-color: var(--bg-2);
}
.portrait.large { aspect-ratio: 1 / 1; }
.creds { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
.creds li { font-size: 14.5px; color: var(--ink-2); padding-left: 18px; position: relative; }
.creds li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* Contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
form { background: var(--surface); border: 1px solid var(--line); padding: 36px; border-radius: var(--radius); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  background: var(--bg); border-radius: var(--radius); font: inherit;
  font-size: 15px; color: var(--ink); transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-foot { font-size: 12px; color: var(--muted); margin-top: 14px; }
.contact-side h3 { margin-bottom: 16px; }
.contact-side .item { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-side .item:last-child { border-bottom: 1px solid var(--line); }
.contact-side .item .lbl { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.contact-side .item .val { font-size: 15.5px; color: var(--ink); }

/* Big feature cards (home page services overview) */
.feature-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .feature-cards { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature:hover { border-color: var(--accent); }
.feature .feature-tag { font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.feature h3 { font-size: 28px; margin-bottom: 16px; line-height: 1.2; }
.feature > p { font-size: 16px; color: var(--ink-2); margin-bottom: 24px; }
.feature ul { list-style: none; padding: 0; margin: 0 0 28px; }
.feature ul li {
  padding: 8px 0 8px 22px; position: relative; font-size: 14.5px; color: var(--ink-2);
}
.feature ul li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 10px; height: 6px; border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
.feature .feature-foot {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 14px; color: var(--muted);
}
.feature .feature-foot a { color: var(--accent); font-weight: 500; }

/* Partner cards (vendor-partners.html) */
.partner-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .partner-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .partner-cards { grid-template-columns: 1fr; } }
.partner-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pc, var(--accent));
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column;
}
.pc-logo {
  margin-bottom: 18px;
}
.pc-logo img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 160px;
}
.pc-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--pc, var(--accent)); margin-bottom: 10px;
}
.pc-title {
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  color: var(--ink); margin: 0 0 14px; line-height: 1.25;
}
.pc-hook {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.6;
  margin: 0 0 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.pc-points { list-style: none; padding: 0; margin: 0; }
.pc-points li {
  font-size: 13.5px; color: var(--muted); line-height: 1.55;
  padding: 8px 0 8px 18px; position: relative; border-bottom: 1px solid var(--line);
}
.pc-points li:last-child { border-bottom: none; }
.pc-points li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--pc, var(--accent));
}

/* AI Tech vendor sections (ai-tech.html) */
.ai-tech-vendors { display: flex; flex-direction: column; gap: 40px; }
.atv {
  border-left: 4px solid var(--atv, var(--accent));
  padding-left: 32px;
}
.atv-head { margin-bottom: 20px; }
.atv-logo img { display: block; height: 28px; width: auto; max-width: 180px; }
.atv-logo-dark img { filter: brightness(0) saturate(100%); opacity: 0.85; }
.atv-hook {
  font-size: 17px; font-weight: 500; color: var(--ink);
  line-height: 1.5; margin-bottom: 24px; max-width: 80ch;
}
.atv-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  border-top: 1px solid var(--line); padding-top: 24px;
}
.atv-col-head {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--atv, var(--accent)); margin-bottom: 12px;
}
.atv-points { list-style: none; padding: 0; margin: 0 0 16px; }
.atv-points li {
  padding: 8px 0 8px 18px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 15px;
  color: var(--ink-2); line-height: 1.5;
}
.atv-points li:last-child { border-bottom: none; }
.atv-points li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--atv, var(--accent));
}
.atv-select { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.atv-select strong { color: var(--ink-2); font-weight: 600; }
@media (max-width: 860px) { .atv-cols { grid-template-columns: 1fr; gap: 24px; } .atv { padding-left: 20px; } }

/* Engagement modes (vendor-partners.html) */
.engagement-modes { display: flex; flex-direction: column; gap: 2px; }
.eng-mode {
  display: grid; grid-template-columns: 72px 1fr;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.15s ease;
}
.eng-mode:hover { border-color: var(--accent); }
.eng-n {
  font-family: var(--serif); font-size: 28px; font-weight: 500;
  color: var(--accent); padding: 28px 0 28px 24px;
  display: flex; align-items: flex-start; padding-top: 30px;
  border-right: 1px solid var(--line);
  background: var(--bg);
}
.eng-body { padding: 28px 32px; }
.eng-title {
  font-family: var(--serif); font-size: 20px; font-weight: 500;
  color: var(--ink); margin-bottom: 10px;
}
.eng-hook {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  line-height: 1.55; margin: 0 0 16px;
}
.eng-points { list-style: none; padding: 0; margin: 0; }
.eng-points li {
  font-size: 14px; color: var(--muted); line-height: 1.55;
  padding: 7px 0 7px 18px; position: relative;
  border-top: 1px solid var(--line);
}
.eng-points li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
@media (max-width: 680px) {
  .eng-mode { grid-template-columns: 1fr; }
  .eng-n { border-right: none; border-bottom: 1px solid var(--line); padding: 16px 20px; font-size: 20px; }
}

/* Career timeline (used on about page) — single-line entries */
.career { display: grid; gap: 0; margin-top: 8px; }
.role {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.role:last-child { border-bottom: 1px solid var(--line); }
.role .when {
  font-family: var(--serif);
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.04em;
}
.role .what {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
.role .what strong {
  color: var(--ink);
  font-weight: 600;
}
.role .what .org {
  color: var(--muted);
}
.role .what ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.role .what ul li {
  padding: 4px 0 4px 18px;
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.role .what ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.role .what ul li .sub-when {
  font-family: var(--serif);
  color: var(--accent);
  margin-right: 6px;
}
@media (max-width: 760px) {
  .role { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* Credentials grid (about page) */
.creds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { .creds-grid { grid-template-columns: 1fr; } }
.cred-block {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.cred-block h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 14px;
}
.cred-block ul { list-style: none; padding: 0; margin: 0; }
.cred-block ul li {
  padding: 8px 0 8px 18px; position: relative;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.5;
}
.cred-block ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--accent);
}

/* FAQ block (used on contact page) */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { .faq { grid-template-columns: 1fr; } }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); padding: 28px;
  border-radius: var(--radius);
}
.faq-item h4 {
  font-family: var(--serif); font-size: 18px; font-weight: 500;
  text-transform: none; letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 10px;
}
.faq-item p { font-size: 14.5px; color: var(--ink-2); margin: 0; }

/* Sample artefact pages */
.sample-banner {
  background: #FFF7E6;
  border-bottom: 1px solid #E8C56B;
  padding: 14px 32px;
  text-align: center;
  font-size: 13.5px;
  color: #6B5C2A;
  letter-spacing: 0.02em;
}
.sample-banner strong { color: #4A3F1A; font-weight: 600; }
.sample-banner a { color: #4A3F1A; text-decoration: underline; }

.sample-watermark {
  position: fixed;
  pointer-events: none;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  opacity: 0.045;
  font-family: var(--serif);
  font-size: 260px;
  color: var(--accent);
  letter-spacing: 0.1em;
  transform: rotate(-20deg);
  user-select: none;
  font-weight: 500;
}
main { position: relative; z-index: 2; }

/* Document container — A4 feel */
.doc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 64px;
  margin: 0 0 48px;
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.04);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 760px) { .doc { padding: 36px 24px; } }
.doc h1 { font-size: clamp(28px, 4vw, 36px); margin-bottom: 14px; line-height: 1.15; }
.doc .doc-meta {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.doc .doc-meta strong { color: var(--ink); font-weight: 600; }
.doc h2 {
  font-size: 22px;
  margin: 40px 0 14px;
}
.doc h3 {
  font-size: 17px;
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-weight: 500;
}
.doc h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 24px 0 10px;
}
.doc p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin-bottom: 1em;
}
.doc .lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Maturity heatmap */
.heatmap {
  display: grid;
  grid-template-columns: 220px repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 20px 0 8px;
  font-size: 13px;
}
.heatmap > div { padding: 12px 14px; background: var(--surface); }
.heatmap .hm-domain {
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-2);
  font-size: 13px;
  line-height: 1.3;
  display: flex;
  align-items: center;
}
.heatmap .hm-domain small {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--accent);
  font-size: 12.5px;
  margin-right: 8px;
  letter-spacing: 0.04em;
}
.heatmap .hm-header {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 8px;
  background: var(--bg);
  font-family: var(--sans);
  text-align: center;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
.heatmap .hm-cell {
  text-align: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.hm-1 { background: #F0D5CF !important; color: #7A2A1F !important; }
.hm-2 { background: #F5DEC0 !important; color: #7A4F1A !important; }
.hm-3 { background: #ECE6CC !important; color: #4A4A22 !important; }
.hm-4 { background: #D6E2CE !important; color: #2A4520 !important; }
.hm-5 { background: #BDD5B9 !important; color: #1A331A !important; }
.hm-legend {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 8px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hm-legend .lg-item { display: inline-flex; align-items: center; gap: 6px; }
.hm-legend .lg-swatch {
  width: 14px; height: 14px; border-radius: 2px; border: 1px solid var(--line);
}

/* Score pills */
.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Sub-domain detail rows */
.sd-row {
  display: grid;
  grid-template-columns: 80px 1fr 56px;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.sd-row:last-child { border-bottom: 1px solid var(--line); }
.sd-row .sd-id {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--accent);
  padding-top: 6px;
  letter-spacing: 0.04em;
}
.sd-row .sd-body h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
  text-transform: none;
  letter-spacing: 0;
}
.sd-row .sd-body p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 6px;
  line-height: 1.6;
}
.sd-row .sd-body .sd-evidence {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
  margin-top: 6px;
}
.sd-row .sd-score { text-align: center; padding-top: 2px; }
@media (max-width: 760px) {
  .sd-row { grid-template-columns: 1fr; gap: 6px; }
  .sd-row .sd-score { text-align: left; }
}

/* Status / severity badges (used on Sample 02, 05) */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: 12px;
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap;
}
.badge-gap, .badge-h { background: #F0D5CF; color: #7A2A1F; }
.badge-partial, .badge-m { background: #F5DEC0; color: #7A4F1A; }
.badge-inplace { background: #BDD5B9; color: #1A331A; }
.badge-l { background: #ECE6CC; color: #4A4A22; }
.badge-na { background: var(--bg-2); color: var(--muted); }

/* Compact data table (used on Sample 02) */
.data-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; margin: 20px 0;
}
.data-table th {
  background: var(--bg); color: var(--muted);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 12px; text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--line);
  vertical-align: top; color: var(--ink-2); font-size: 13px; line-height: 1.5;
}
.data-table tr:hover td { background: var(--bg); }
.data-table .ctrl-id {
  font-family: var(--serif); color: var(--accent);
  letter-spacing: 0.04em; white-space: nowrap; font-size: 13px;
}
.data-table .ctrl-title { font-weight: 500; color: var(--ink); }
.data-table tr.cat-row td {
  background: var(--bg-2); font-weight: 600; color: var(--accent);
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 12px;
}

/* Roadmap (Gantt-like, used on Sample 03) */
.roadmap {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin: 20px 0 12px; font-size: 13px; overflow: hidden;
  background: var(--surface);
}
.roadmap .rm-header {
  display: grid; grid-template-columns: 260px 1fr;
  background: var(--bg); padding: 10px 0 8px;
  border-bottom: 1px solid var(--line);
}
.roadmap .rm-header .rm-corner {
  padding: 0 14px; font-size: 10.5px; color: var(--muted);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500;
}
.roadmap .rm-months {
  display: grid; grid-template-columns: repeat(12, 1fr);
  font-size: 10.5px; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 500; padding-right: 14px;
}
.roadmap .rm-months span { text-align: center; }
.roadmap .rm-section-h {
  background: var(--bg-2); padding: 9px 14px;
  font-family: var(--serif); font-size: 12.5px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.roadmap .rm-row {
  display: grid; grid-template-columns: 260px 1fr;
  align-items: center; padding: 8px 14px;
  border-bottom: 1px solid var(--line);
}
.roadmap .rm-row:last-child { border-bottom: none; }
.roadmap .rm-row .rm-label {
  font-weight: 500; color: var(--ink); padding-right: 12px;
  font-size: 12.5px; line-height: 1.3;
}
.roadmap .rm-row .rm-label small {
  display: block; font-weight: 400; color: var(--muted);
  font-size: 11px; margin-top: 2px;
}
.roadmap .rm-row .rm-track {
  position: relative; height: 24px;
  background: var(--bg); border-radius: 2px;
  background-image: repeating-linear-gradient(
    to right, transparent, transparent calc(100%/12 - 1px),
    var(--line) calc(100%/12 - 1px), var(--line) calc(100%/12));
}
.roadmap .rm-row .rm-bar {
  position: absolute; top: 3px; bottom: 3px;
  background: var(--accent); color: #fff;
  border-radius: 2px; display: flex; align-items: center;
  justify-content: center; font-size: 10.5px;
  padding: 0 8px; white-space: nowrap; overflow: hidden;
  letter-spacing: 0.02em; font-weight: 500;
}
.rm-bar.rm-strengthen { background: #5A6B58 !important; }
.rm-bar.rm-scale { background: #8B7355 !important; }

/* Roadmap legend */
.rm-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted);
  letter-spacing: 0.04em; margin-top: 8px;
}
.rm-legend .lg-item { display: inline-flex; align-items: center; gap: 6px; }
.rm-legend .lg-swatch { width: 14px; height: 14px; border-radius: 2px; }

/* Process map container (Sample 04 — Mermaid) */
.process-map {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  margin: 20px 0; text-align: center; overflow-x: auto;
}
.process-map .mermaid { display: inline-block; min-width: 100%; }
.legend-row {
  display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-2); margin: 8px 0 0;
}
.legend-row .lg-item { display: inline-flex; align-items: center; gap: 8px; }
.legend-row .lg-box {
  width: 18px; height: 14px; border-radius: 2px;
  border: 1.5px solid var(--accent); background: var(--surface);
}
.legend-row .lg-box.lg-ai { background: #FAE5C9; border-color: #8B5A1F; }
.legend-row .lg-box.lg-decision {
  background: var(--surface); border-color: var(--accent);
  transform: rotate(45deg); width: 14px; height: 14px;
}

/* Vendor comparison (Sample 05) */
.vendors {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 24px 0;
}
@media (max-width: 760px) { .vendors { grid-template-columns: 1fr; } }
.vendor {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column;
}
.vendor.recommended { border-color: var(--accent); border-width: 2px; position: relative; }
.vendor.recommended::before {
  content: "Recommended"; position: absolute; top: -11px; left: 24px;
  background: var(--accent); color: #fff; font-size: 10px;
  padding: 4px 10px; border-radius: 2px;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.vendor h4 {
  font-family: var(--serif); font-size: 19px; color: var(--ink);
  margin: 0 0 4px; text-transform: none; letter-spacing: 0; font-weight: 500;
}
.vendor .v-region {
  font-size: 12px; color: var(--muted); margin-bottom: 16px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.vendor .v-score {
  font-family: var(--serif); font-size: 38px;
  color: var(--accent); line-height: 1; font-weight: 500;
}
.vendor .v-score small { font-size: 16px; color: var(--muted); font-family: var(--sans); }
.vendor .v-score-label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
.vendor .v-bullets {
  list-style: none; padding: 16px 0 0; margin: 16px 0 0;
  border-top: 1px solid var(--line); font-size: 13px;
  flex: 1;
}
.vendor .v-bullets li { padding: 4px 0 4px 18px; position: relative; color: var(--ink-2); line-height: 1.5; }
.vendor .v-bullets li.pos::before { content: "✓"; position: absolute; left: 0; color: #2A4520; font-weight: 600; }
.vendor .v-bullets li.neg::before { content: "−"; position: absolute; left: 0; color: #7A2A1F; font-weight: 700; }

/* Score matrix (Sample 05) */
.score-matrix { width: 100%; border-collapse: collapse; font-size: 13px; margin: 20px 0; }
.score-matrix th {
  background: var(--bg); color: var(--muted);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 10px 12px; text-align: left;
  border-bottom: 1px solid var(--line);
}
.score-matrix th.numeric { text-align: center; }
.score-matrix td {
  padding: 10px 12px; border-bottom: 1px solid var(--line);
  vertical-align: middle; color: var(--ink-2); font-size: 13px;
}
.score-matrix td.numeric { text-align: center; font-family: var(--serif); font-size: 14px; }
.score-matrix td.numeric strong { color: var(--ink); font-weight: 600; }
.score-matrix tr.section td {
  background: var(--bg-2); font-weight: 600; color: var(--accent);
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
}
.score-matrix tr.totals td {
  background: var(--accent-soft); font-weight: 600; color: var(--ink);
  font-family: var(--serif); font-size: 15px; border-top: 2px solid var(--accent);
}

/* Contract clauses (Sample 06) */
.clause {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 32px; margin: 16px 0;
}
.clause .clause-num {
  font-family: var(--serif); font-size: 13px; color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px;
}
.clause h4 {
  font-family: var(--serif); font-size: 19px; color: var(--ink);
  margin: 0 0 16px; text-transform: none; letter-spacing: 0; font-weight: 500;
}
.clause .clause-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14.5px; line-height: 1.7; color: var(--ink);
  background: #FBF8F1; padding: 20px 24px;
  border-left: 3px solid var(--accent);
  border-radius: 2px; margin: 0 0 14px;
}
.clause .clause-text p {
  margin: 0 0 0.85em; color: var(--ink);
  font-size: 14.5px; line-height: 1.7; font-family: inherit;
}
.clause .clause-text p:last-child { margin: 0; }
.clause .clause-commentary {
  font-size: 13px; color: var(--muted);
  line-height: 1.6; padding-top: 14px; margin-top: 4px;
  border-top: 1px dashed var(--line);
}
.clause .clause-commentary strong {
  color: var(--ink-2); font-weight: 600; font-style: normal;
  display: block; margin-bottom: 4px;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 11px; color: var(--accent);
}

/* Footer */
footer {
  border-top: 1px solid var(--line); padding: 48px 0 36px;
  margin-top: 48px;
}
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.foot-grid h4 { font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); font-size: 14px; margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid ul li { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.foot-grid ul li a { color: var(--muted); }
.foot-grid ul li a:hover { color: var(--ink); text-decoration: none; }
.foot-grid p { font-size: 14px; color: var(--muted); max-width: 42ch; }
.copy {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
