/* LifeOnMars — design system
   Reference lock (via Refero):
   - Primary: Sequence — white architectural canvas, light serif display, pill buttons, soft elevation, faint sky wash in hero
   - Borrowed: customer.io — deep ink text + ink primary CTA; numbers highlighted in one accent
   - Borrowed: NEVERHACK — cloud-gray 16px section cards, hairline dividers, small pill badges
   - Accent "Mars rust" is used ONLY for the brand mark, proof numbers, eyebrows and step markers. Never on CTAs.
*/

:root {
  --bg: #ffffff;
  --cloud: #f6f7fa;
  --cloud-2: #eef1f5;
  --line: #e3e6eb;
  --line-strong: #cfd4dc;
  --ink: #18191d;
  --ink-2: #2b2d33;
  --text: #3a4556;
  --muted: #687384;
  --accent: #b14b2b;          /* brand Mars #C75834, darkened for AA text contrast */
  --mars: #c75834;
  --mars-dark: #7f3e30;
  --accent-wash: #fbece5;
  --sky: #dfecef;            /* brand visor blue #91B8C2, as a wash */
  --ok: #1f7a4d;
  --ok-wash: #e6f3ec;
  --warn-wash: #fff6dc;

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 9999px;

  --shadow-card: 0 0 0 1px rgba(24, 25, 29, 0.07), 0 10px 15px -3px rgba(14, 26, 43, 0.05), 0 4px 6px -4px rgba(14, 26, 43, 0.05);
  --shadow-float: 0 0 0 1px rgba(14, 26, 43, 0.06), 0 30px 60px -30px rgba(14, 26, 43, 0.28), 0 18px 36px -18px rgba(14, 26, 43, 0.12);
  --shadow-btn: 0 0 0 1px rgba(14, 26, 43, 0.1), 0 1px 2px rgba(14, 26, 43, 0.06);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-pill); z-index: 100; }
.skip-link:focus { left: 16px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--text); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.num { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px;
  border-radius: var(--r-pill);
  font: 500 15px/1.2 var(--font-sans);
  text-decoration: none; cursor: pointer; border: 0;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-secondary { background: #fff; color: var(--ink); box-shadow: var(--shadow-btn); }
.btn-secondary:hover { box-shadow: 0 0 0 1px rgba(14,26,43,.22), 0 4px 10px rgba(14,26,43,.08); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.link-arrow:hover { border-color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Badges & placeholders ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; line-height: 1.5;
  background: var(--cloud-2); color: var(--ink-2);
}
.badge-accent { background: var(--accent-wash); color: var(--accent); }
.badge-ok { background: var(--ok-wash); color: var(--ok); }

.ph {
  background: var(--warn-wash);
  color: #7a5a00;
  border: 1px dashed #e2c46a;
  border-radius: 4px;
  padding: 0 5px;
  font-size: .86em;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
  white-space: normal;
}
body.hide-ph .ph { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
/* backdrop-filter makes the header the containing block for fixed children; drop it while the mobile menu is open so the menu can fill the screen. */
.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
.site-header .container { max-width: 1320px; }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.logo { flex: none; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.logo-mark { width: 26px; height: 26px; flex: none; }

.nav { display: flex; gap: 2px; margin-left: 8px; align-self: stretch; }
.nav-item { display: flex; align-items: center; }
.nav-link { white-space: nowrap; padding: 8px 4px 8px 10px; border-radius: var(--r-pill) 0 0 var(--r-pill); text-decoration: none; color: var(--text); font-size: 14.5px; font-weight: 500; }
.nav-caret { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 34px; padding: 0 8px 0 2px; box-sizing: content-box; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 0 var(--r-pill) var(--r-pill) 0; }
.nav-caret svg { transition: transform .18s ease; }
.nav-item:hover .nav-link, .nav-item:hover .nav-caret, .nav-item.open .nav-link, .nav-item.open .nav-caret, .nav-link[aria-current="page"], .nav-link[aria-current="page"] + .nav-caret { background: var(--cloud); color: var(--ink); }
.nav-item.open .nav-caret svg { transform: rotate(180deg); }
.nav-caret:focus-visible, .nav-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.header-cta { margin-left: auto; display: flex; gap: 8px; }

/* Mega menu: full-width panel under the header */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(14, 26, 43, .28), 0 18px 36px -18px rgba(14, 26, 43, .10);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-inner { max-width: 1320px; margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.mega-services .mega-inner { grid-template-columns: 300px 1fr 260px; min-height: 420px; }
.mega-how .mega-inner { grid-template-columns: 1fr 1fr; }
.mega-label { display: block; font-size: 12px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }

.mega-cats { list-style: none; margin: 0; padding: 0 24px 0 0; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.mega-cat { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 12px; white-space: nowrap; border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; }
.mega-cat:hover, .mega-cat.is-active { background: var(--cloud); color: var(--ink); }
.mega-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mega-cat.is-active .mega-count { color: var(--accent); }
.mega-pane { display: none; }
.mega-pane.is-active { display: block; }
.mega-pane-head { margin-bottom: 18px; max-width: 560px; }
.mega-pane-head p { margin: 4px 0 0; }
.mega-pane-title { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; }
.mega-pane-title:hover { text-decoration: underline; text-underline-offset: 4px; }

.mega-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.mega-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-link { display: grid; gap: 2px; padding: 10px 12px; margin: 0 -12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); }
.mega-link:hover { background: var(--cloud); }
.mega-link-title { font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.mega-link-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }

.mega-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mega-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-card { display: grid; gap: 6px; align-content: start; height: 100%; padding: 20px; border-radius: var(--r-md); background: var(--cloud); text-decoration: none; color: var(--text); transition: background .15s ease; }
.mega-card:hover { background: var(--cloud-2); }
.mega-card .mega-label { margin: 0; }
.mega-card-title { font-family: var(--font-display); font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.mega-figure { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }

.mega-feature { display: grid; gap: 4px; align-content: start; justify-items: start; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); }
.mega-feature-title { font-family: var(--font-display); font-size: 20px; line-height: 1.25; color: var(--ink); margin: 0; }
.mega-feature .small { margin: 4px 0 12px; }

.mega-team ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.mega-team li { display: flex; gap: 10px; align-items: center; }
.mega-team li > span:last-child { display: grid; line-height: 1.3; font-size: 14px; color: var(--ink); }
.mega-team .avatar { width: 36px; height: 36px; margin: 0; font-size: 12px; flex: none; }

@media (max-width: 1640px) {
  .header-cta .btn-secondary { display: none; }
}
@media (max-width: 1320px) {
  .mega-services .mega-inner { grid-template-columns: 300px 1fr; }
  .mega-services .mega-feature { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mega, .nav-caret svg { transition: none; }
}

.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: var(--r-pill); border: 0; background: var(--cloud); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { display: none; }

@media (max-width: 1200px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; margin-left: 0; }
  .mobile-menu {
    position: fixed; inset: 72px 0 0 0; background: #fff; z-index: 49;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    flex-direction: column; gap: 4px;
  }
  .menu-open .mobile-menu { display: flex; }
  .m-group { border-bottom: 1px solid var(--line); }
  .m-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 14px 4px; font-size: 20px; font-family: var(--font-display); color: var(--ink); }
  .m-group summary::-webkit-details-marker { display: none; }
  .m-group summary svg { width: 14px; height: 14px; color: var(--muted); transition: transform .18s ease; }
  .m-group[open] summary svg { transform: rotate(180deg); }
  .m-group ul { list-style: none; margin: 0; padding: 0 4px 14px; display: grid; gap: 2px; }
  .m-group li a { display: block; padding: 9px 0; color: var(--text); text-decoration: none; font-size: 15.5px; }
  .m-group li:first-child a { font-weight: 600; color: var(--ink); }
  .mobile-menu .btn { margin-top: 12px; width: 100%; }
}
@media (max-width: 860px) {
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .mobile-menu {
    position: fixed; inset: 72px 0 0 0; background: #fff; z-index: 49;
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    flex-direction: column; gap: 4px;
  }
  .menu-open .mobile-menu { display: flex; }
  .mobile-menu a.m-link { padding: 14px 4px; font-size: 20px; font-family: var(--font-display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 12px; width: 100%; }
}
@media (min-width: 861px) and (max-width: 1200px) {
  .header-cta .btn-secondary { display: none; }
}

/* ---------- Sections ---------- */
section { padding: var(--section) 0; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-cloud { background: var(--cloud); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head .h2 + p { margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.hairline { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(48% 46% at 78% 30%, rgba(145, 184, 194, .38), transparent 70%),
    radial-gradient(36% 40% at 12% 0%, rgba(251, 238, 232, .7), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .display { margin-bottom: 24px; }
.hero .lead { margin-bottom: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { flex: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto 30%; height: 140%;
  background: radial-gradient(50% 50% at 60% 30%, rgba(145, 184, 194, .32), transparent 70%);
  pointer-events: none; z-index: -1;
}
.page-hero .display { font-size: clamp(36px, 4.8vw, 58px); margin-bottom: 20px; max-width: 900px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Report mock (hero visual) ---------- */
.report {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float);
  overflow: hidden; font-size: 14px;
}
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.report-title { font-weight: 600; color: var(--ink); font-size: 14px; }
.report-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.report-meta div { padding: 12px 20px; border-right: 1px solid var(--line); }
.report-meta div:last-child { border-right: 0; }
.report-meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 2px; }
.report-meta dd { margin: 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink); }
.report-rows { list-style: none; margin: 0; padding: 6px 0; }
.report-rows li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 11px 20px; }
.report-rows li + li { border-top: 1px solid var(--cloud-2); }
.report-q { color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.report-q small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 2px; }
.pill-state { font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.pill-state.yes { background: var(--ok-wash); color: var(--ok); }
.pill-state.partial { background: var(--warn-wash); color: #8a6400; }
.pill-state.no { background: var(--cloud-2); color: var(--muted); }
.report-foot { padding: 14px 20px; background: var(--cloud); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.report-foot strong { color: var(--ink); font-weight: 600; }

/* ---------- Proof bar ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 28px 24px; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-figure { font-family: var(--font-display); font-size: clamp(32px, 3.4vw, 42px); line-height: 1; letter-spacing: -0.02em; color: var(--accent); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.proof-label { font-size: 14px; color: var(--ink-2); font-weight: 500; line-height: 1.4; }
.proof-src { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
@media (max-width: 860px) {
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 24px 16px; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(odd) { padding-left: 0; }
}

/* ---------- Grids & cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }

.card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 28px; }
.card-cloud { background: var(--cloud); border-radius: var(--r-lg); padding: 28px; }
.card .h3, .card-cloud .h3 { margin-bottom: 10px; }
.card p:last-child, .card-cloud p:last-child { margin-bottom: 0; }

.shift { border-top: 1px solid var(--ink); padding-top: 22px; }
.shift .idx { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 14px; display: block; }
.shift .h3 { margin-bottom: 10px; }

/* Offer cards */
.offer { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); }
.offer.featured { box-shadow: 0 0 0 1.5px var(--ink), var(--shadow-float); }
.offer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.offer .h3 { font-size: 22px; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
.offer-facts { display: flex; gap: 20px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.offer-facts span { color: var(--muted); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.offer-facts strong { color: var(--ink); font-weight: 600; }
.offer .btn-row { margin-top: auto; padding-top: 6px; }

/* Service list */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 22px 4px; text-decoration: none; color: var(--ink); transition: background .15s ease, padding .15s ease; }
.svc-list a:hover { background: var(--cloud); padding-left: 14px; padding-right: 14px; }
.svc-list .svc-idx { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.svc-list .svc-name { font-size: clamp(18px, 2vw, 22px); font-family: var(--font-display); letter-spacing: -0.01em; }
.svc-list .svc-desc { display: block; font-family: var(--font-sans); font-size: 14.5px; color: var(--muted); margin-top: 2px; letter-spacing: 0; }
.svc-list .svc-go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-btn); background: #fff; }
.svc-tag { font-family: var(--font-sans); font-size: 11px; vertical-align: middle; margin-left: 8px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.steps li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.steps li:not(:nth-child(3n+1)) { padding-left: 28px; }
.step-n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); font: 500 13px/1 var(--font-mono); margin-bottom: 18px; }
.steps .h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 24px 0 !important; border-right: 0 !important; }
}

/* Sector cards */
.sector { display: flex; flex-direction: column; gap: 12px; }
.sector .h3 { font-size: 21px; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
.sector .link-arrow { margin-top: auto; align-self: flex-start; }

/* Collective */
.collective { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .collective { grid-template-columns: 1fr; } }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.person { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-card); padding: 16px; }
.person.lead { grid-column: span 3; display: flex; gap: 14px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--sky), var(--accent-wash)); display: grid; place-items: center; color: var(--ink); font-weight: 600; font-size: 14px; flex: none; margin-bottom: 10px; }
.person.lead .avatar { width: 56px; height: 56px; margin: 0; font-size: 16px; }
.people-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.people-more .person { display: grid; gap: 2px; align-content: start; }
.people-more .avatar { margin: 0 0 8px; }
@media (max-width: 520px) { .people-more { grid-template-columns: 1fr 1fr; } }
.person-role { font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.person-name { font-size: 12.5px; color: var(--muted); }
@media (max-width: 520px) { .people { grid-template-columns: 1fr 1fr; } .person.lead { grid-column: span 2; } }

/* CTA band */
.cta-band {
  background: var(--ink); color: #c9d2de; border-radius: 20px;
  padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden;
}
.cta-badge { position: absolute; right: clamp(-40px, -2vw, 0px); top: 50%; width: 300px; transform: translateY(-50%) rotate(-8deg); pointer-events: none; z-index: 0 !important; }
.cta-badge img { width: 100%; height: auto; display: block; }
@media (max-width: 1040px) { .cta-badge { display: none; } }
.cta-band .h2 { color: #fff; max-width: 640px; margin-bottom: 16px; }
.cta-band p { max-width: 560px; margin-bottom: 28px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: #eef1f5; }
.cta-band .btn-secondary { background: transparent; color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.cta-band .btn-secondary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.cta-band > * { position: relative; z-index: 1; }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-card); background: #fff; }
table.offers { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
table.offers th, table.offers td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.offers th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: var(--cloud); }
table.offers tr:last-child td { border-bottom: 0; }
table.offers td:first-child { color: var(--ink); font-weight: 600; }

/* Two-column content blocks */
.split { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 80px); }
.split > aside { position: sticky; top: 100px; align-self: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split > aside { position: static; } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--ok-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%231f7a4d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.dash-list { list-style: none; padding: 0; margin: 0; }
.dash-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.dash-list li::before { content: "—"; color: var(--accent); }
.dash-list li:first-child { border-top: 1px solid var(--line); }

.block + .block { margin-top: 56px; }
.block > .h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 600; margin-bottom: 18px; }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline .when { font-family: var(--font-mono); font-size: 13px; color: var(--accent); padding-top: 2px; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 500; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 300; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; max-width: 680px; }

/* Price callout */
.price-box { background: var(--cloud); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; }
.price-box .label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price-box .value { font-family: var(--font-display); font-size: 28px; color: var(--ink); letter-spacing: -0.015em; line-height: 1.1; }
.price-box .btn { width: 100%; }


/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15.5px/1.4 var(--font-sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 12px 14px; min-height: 46px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 8l4 4 4-4' fill='none' stroke='%23687384' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,26,43,.08); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; display: flex; justify-content: space-between; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2412d; }
.field .error { display: none; font-size: 13px; color: #b23424; margin-top: 6px; }
.field.invalid .error { display: block; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14px; align-items: start; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn { min-width: 220px; }
.form-success { display: none; text-align: left; }
.form-success.show { display: block; }
.form-success .icon { width: 48px; height: 48px; border-radius: 50%; background: var(--ok-wash); display: grid; place-items: center; margin-bottom: 18px; }

.trust-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; font-size: 14.5px; }
.trust-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.trust-list svg { margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; background: #fff; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--text); font-size: 14.5px; }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-tag { font-size: 14.5px; max-width: 280px; margin: 14px 0 20px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }
.footer-cta { display: grid; gap: 10px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-cta .btn { width: 100%; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 520px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-float);
  padding: 20px; font-size: 14px; display: none;
}
.cookie.show { display: block; }
.cookie strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 15px; }
.cookie p { margin-bottom: 14px; }
.cookie .btn-row .btn { flex: 1; min-width: 120px; }

@media (min-width: 600px) { .cookie { right: auto; } }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Fixes after visual QA */
figure.report { margin: 0; }
.field .consent { display: grid; margin: 0; font-weight: 400; color: var(--text); }
@media (max-width: 520px) {
  .report-meta div { padding: 10px 12px; }
  .report-meta dd { font-size: 11.5px; }
  .report-rows li, .report-top, .report-foot { padding-left: 14px; padding-right: 14px; }
}
.footer-grid a.btn-primary, .footer-grid a.btn-primary:hover { color: #fff; text-decoration: none; }
.footer-grid a.btn-secondary, .footer-grid a.btn-secondary:hover { color: var(--ink); text-decoration: none; }

/* ---------- v2: finalized components ---------- */
h1, h2, h3, .display, .h2 { text-wrap: balance; }
.lead, .prose p { text-wrap: pretty; }

.label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }

/* Specialist row (service aside) */
.specialist { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.specialist .avatar { margin: 0; }
.specialist .label { margin-bottom: 4px; }
.specialist .person-name { margin-top: 2px; line-height: 1.45; }

/* Proof link (service aside): whole block is clickable */
.proof-link { display: grid; gap: 6px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.proof-link .proof-figure { font-size: 36px; margin: 0; }
.proof-link .link-arrow { justify-self: start; margin-top: 6px; }
.proof-link:hover .link-arrow { border-color: var(--ink); }

/* Proof grid variants */
.proof-grid.proof-2 { grid-template-columns: repeat(2, 1fr); }
.proof-grid.proof-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .proof-grid.proof-2 .proof-item { border-bottom: 0; }
  .proof-grid.proof-3 { grid-template-columns: 1fr; }
  .proof-grid.proof-3 .proof-item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .proof-grid.proof-3 .proof-item:last-child { border-bottom: 0; }
}

/* Row links (industries hub) */
.row-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row-links li { border-bottom: 1px solid var(--line); }
.row-links a { display: grid; grid-template-columns: 48px 1fr 200px; gap: 24px; align-items: center; padding: 32px 4px; text-decoration: none; color: var(--text); transition: background .15s ease, padding .15s ease; }
.row-links a:hover { background: var(--cloud); padding-left: 16px; padding-right: 16px; }
.row-idx { font-family: var(--font-mono); font-size: 12px; color: var(--muted); align-self: start; padding-top: 4px; }
.row-main { display: grid; gap: 8px; justify-items: start; }
.row-title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); color: var(--ink); letter-spacing: -0.015em; line-height: 1.2; }
.row-desc { font-size: 15px; max-width: 620px; }
.row-stat { display: grid; gap: 4px; justify-items: end; text-align: right; }
.row-stat .proof-figure { margin: 0; font-size: 36px; }
@media (max-width: 760px) {
  .row-links a { grid-template-columns: 1fr; gap: 12px; }
  .row-idx { display: none; }
  .row-stat { justify-items: start; text-align: left; }
}

/* Column list: grouped items with a top rule instead of cards */
.col-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
.col-list > * { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.col-list .h3 { margin-bottom: 6px; }
.col-list p { margin: 0; }
.col-list.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .col-list, .col-list.three { grid-template-columns: 1fr; } }
a.col-link { text-decoration: none; color: var(--text); display: block; }
a.col-link .h3 { display: flex; justify-content: space-between; gap: 12px; }
a.col-link .h3::after { content: "→"; color: var(--muted); transition: transform .15s ease, color .15s ease; }
a.col-link:hover .h3::after { transform: translateX(3px); color: var(--ink); }
a.col-link:hover .h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Case study + article prose */
.split-right { grid-template-columns: 1fr 320px; }
.split-right > aside { order: 2; }
@media (max-width: 900px) { .split-right { grid-template-columns: 1fr; } .split-right > aside { order: 0; } }
.prose { max-width: 680px; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.015em; line-height: 1.2; margin: 48px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 17px; line-height: 1.7; }
.prose ul, .prose ol:not(.numbered) { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { font-size: 17px; line-height: 1.65; margin: 0 0 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.article-lead { margin-bottom: 8px; }
.article-lead p:first-child { font-size: clamp(18px, 1.8vw, 20px); color: var(--ink); }
.article-source { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose .kicker { font-family: var(--font-sans); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); font-weight: 600; margin: 40px 0 12px; }
.prose .kicker:first-child { margin-top: 0; }
.numbered { list-style: none; counter-reset: n; padding: 0; margin: 0 0 1em; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.numbered li:first-child { border-top: 1px solid var(--line); }
.numbered li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 4px; }

.glance { background: var(--cloud); border-radius: var(--r-lg); padding: 24px; position: sticky; top: 100px; display: grid; gap: 16px; }
.glance dl { margin: 0; display: grid; gap: 0; }
.glance dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.glance dt { font-size: 12px; color: var(--muted); }
.glance dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; font-size: 15px; }

.case-tile { display: grid; gap: 10px; align-content: start; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 28px; text-decoration: none; color: var(--text); transition: box-shadow .15s ease, transform .15s ease; }
.case-tile:hover { box-shadow: var(--shadow-float); transform: translateY(-2px); }
.case-tile .proof-figure { margin: 0; font-size: 40px; }
.case-tile .h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: -0.015em; }
.case-tile .link-arrow { justify-self: start; margin-top: 8px; }
.case-tile .tags { display: flex; gap: 6px; flex-wrap: wrap; }

.article-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc .label { margin-bottom: 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; line-height: 1.4; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }
.narrow-wide { max-width: 980px; }
.article-meta { display: flex; gap: 12px; align-items: center; font-size: 14px; margin-top: 8px; color: var(--ink); }
.avatar.sm { width: 40px; height: 40px; margin: 0; font-size: 13px; }
.author-box { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author-box .avatar { width: 52px; height: 52px; margin: 0; }
.next-step { margin-top: 28px; background: var(--cloud); border-radius: var(--r-lg); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.next-step strong { color: var(--ink); display: block; margin-top: 2px; }

/* Legal pages */
.legal dl { display: grid; grid-template-columns: 220px 1fr; margin: 0; border-top: 1px solid var(--line); }
.legal dt, .legal dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal dt { color: var(--muted); font-size: 14px; }
.legal dd { color: var(--ink); }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; } .legal dt { border-bottom: 0; padding-bottom: 0; } }
.notice { background: var(--warn-wash); border-radius: var(--r-md); padding: 14px 18px; font-size: 14px; color: #6b5000; margin-bottom: 32px; }

/* Collective members: rule-separated, not carded */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.members .member { border-top: 1px solid var(--line); padding: 28px 0 32px; display: grid; gap: 10px; align-content: start; justify-items: start; }
.members .avatar { width: 56px; height: 56px; margin: 0 0 6px; font-size: 16px; }
.members .h3 { margin: 4px 0 0; }
.members p { margin: 0; }
@media (max-width: 900px) { .members { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .members { grid-template-columns: 1fr; } }
.col-link .badge { margin-bottom: -8px; }

/* ---------- v3: brand + PlaySheet catalogue ---------- */
.logo-mark { width: 34px; height: 34px; }
.logo picture { display: block; flex: none; }
.wordmark { font-family: "Changa", var(--font-sans); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; color: var(--ink); line-height: 1; }
.wordmark span { font-weight: 600; color: var(--accent); }
.site-footer .logo-mark { width: 44px; height: 44px; }

.audience { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin: -8px 0 8px; font-size: 15px; color: var(--ink-2); max-width: 640px; }
.audience .label { color: var(--accent); }

.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cat-nav a { padding: 7px 14px; border-radius: var(--r-pill); background: #fff; box-shadow: var(--shadow-btn); font-size: 14px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.cat-nav a:hover { box-shadow: 0 0 0 1px rgba(24,25,29,.25), 0 4px 10px rgba(24,25,29,.06); }
section[id] { scroll-margin-top: 80px; }

.svc-compact a { grid-template-columns: 1fr 36px; padding: 18px 4px; }
.svc-compact .svc-name { font-size: clamp(17px, 1.8vw, 20px); }
.svc-price { font-size: 14px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .svc-compact a { grid-template-columns: 1fr 36px; }
  .svc-price { grid-column: 1; grid-row: 2; }
}
.section-cloud .svc-list a:hover { background: #fff; }
.person.lead + .person.lead { margin-top: 0; }
.people { grid-template-columns: 1fr; }
.people .person.lead { grid-column: auto; }
.cta-band > .cta-badge { position: absolute; z-index: 0; }
.cta-band > :not(.cta-badge) { max-width: 640px; }

/* ---------- Website Copy v1 additions (Nov 2026) ---------- */
.mt-8 { margin-top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.specialist .link-arrow { display: inline-flex; }

/* Mega menu: group labels in the services rail, clickable people */
.mega-group { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 600; padding: 12px 12px 4px; }
.mega-group:first-child { padding-top: 0; }
.mega-person { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; border-radius: var(--r-sm); }
.mega-person > span:last-child { display: grid; line-height: 1.3; font-size: 14px; color: var(--ink); }
a.mega-person:hover strong { text-decoration: underline; }
.mega-team li { display: block; }

/* Services hub: group headings, overview rows */
.group-head { padding: clamp(40px, 5vw, 64px) 0 0; }
.group-head .eyebrow { font-size: 13px; }
.svc-hub .svc-name .badge { margin-left: 6px; vertical-align: 2px; }

/* Homepage quote under the proof strip */
.section-quote { padding: clamp(40px, 5vw, 64px) 0 0; }
.quote-block { margin: 0 auto; max-width: 860px; text-align: center; }
.quote-block blockquote { margin: 0; }
.quote-block blockquote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); margin: 0; text-wrap: balance; }
.quote-block figcaption { margin-top: 20px; display: grid; gap: 4px; justify-items: center; font-size: 15px; color: var(--muted); }
.quote-block figcaption strong { color: var(--ink); font-weight: 600; }
.quote-block .link-arrow { margin-top: 8px; }

/* How we work: comparison table; on phones every row becomes a card */
.compare-wrap { border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; background: #fff; }
table.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: var(--cloud); }
.compare tbody th { color: var(--ink); font-weight: 600; width: 22%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .is-us { background: var(--accent-wash); color: var(--ink); }
.compare thead .is-us { color: var(--accent); }
.agency-note { margin-top: 32px; max-width: 680px; }
.agency-note .h3 { margin-bottom: 8px; }
@media (max-width: 760px) {
  .compare-wrap { box-shadow: none; background: none; border-radius: 0; overflow: visible; }
  table.compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody { display: grid; gap: 14px; }
  .compare tbody tr { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden; }
  .compare tbody th { width: auto; padding: 16px 18px 10px; border-bottom: 0; font-size: 16px; }
  .compare td { padding: 10px 18px; border-bottom: 0; border-top: 1px solid var(--line); display: grid; gap: 2px; }
  .compare td::before { content: attr(data-label); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
  .compare td.is-us { padding-bottom: 14px; }
  .compare td.is-us::before { color: var(--accent); }
}

/* Member cards */
.members .h3 { margin: 0; }
.member-role { margin: -4px 0 0; font-size: 14px; color: var(--muted); }
.member-result { margin: 0; font-size: 14px; font-weight: 600; }
.member-result a { color: var(--accent); text-decoration: none; }
.member-result a:hover { text-decoration: underline; }
.members .link-arrow { margin-top: 4px; }

/* Case studies hub filters */
.filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: end; padding: 20px; background: var(--cloud); border-radius: var(--r-lg); margin-bottom: 28px; }
.filter { display: grid; gap: 6px; min-width: 200px; flex: 1 1 200px; }
.filter select { font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 36px 10px 12px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5 5 6.5 8 3.5' fill='none' stroke='%23687384' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.filter select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.filters-count { margin: 0 0 10px auto; white-space: nowrap; }
.case-tile[hidden] { display: none; }
.empty-note { margin-top: 24px; }

/* Case pages */
.delivered { display: flex; gap: 12px; align-items: center; margin-top: 20px; color: var(--muted); font-size: 15px; }
.delivered a { color: var(--ink); }
.proof-grid.proof-1 { grid-template-columns: 1fr; }
.case-note { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.prose h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; color: var(--ink); margin: 32px 0 8px; }
.table-wrap { overflow-x: auto; margin: 8px 0 24px; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: var(--cloud); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.pull-quote { margin: 40px 0 0; padding: 0 0 0 24px; border-left: 2px solid var(--accent); }
.pull-quote p { font-family: var(--font-display); font-weight: 300; font-size: 22px; line-height: 1.45; color: var(--ink); }
.pull-quote footer { font-size: 14px; color: var(--muted); }

/* Line chart (single series: no legend, the caption names it) */
.chart { margin: 32px 0; padding: 20px; border-radius: var(--r-md); box-shadow: 0 0 0 1px var(--line); }
.chart figcaption { display: grid; gap: 2px; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-axis { font: 12px var(--font-sans); fill: var(--muted); }
.chart-label { font: 600 13px var(--font-sans); fill: var(--ink); }
.chart-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart-dot { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.chart-hit { fill: transparent; }
.chart-pt { cursor: default; outline: none; }
.chart-pt:hover .chart-dot, .chart-pt:focus-visible .chart-dot { r: 6.5; }
.chart-table { margin-top: 12px; font-size: 14px; }
.chart-table summary { cursor: pointer; color: var(--muted); }
.chart-table table { margin-top: 8px; border-collapse: collapse; }
.chart-table td, .chart-table th { padding: 4px 16px 4px 0; text-align: left; }

/* Collective profile pages */
.profile-head { display: flex; gap: 24px; align-items: center; margin-top: 8px; }
.avatar.xl { width: 96px; height: 96px; font-size: 28px; margin: 0; }
.profile-head .display { margin: 4px 0 0; }
.profile-facts { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.profile-headline { font-family: var(--font-display); font-style: italic; max-width: 760px; margin-top: 24px; }
.glance .tags { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 560px) { .profile-head { flex-direction: column; align-items: flex-start; gap: 16px; } .avatar.xl { width: 72px; height: 72px; font-size: 22px; } }
.profile-cta { align-items: center; }
.profile-cta-q { color: var(--ink); font-weight: 500; }
