/* Design tokens */
:root {
  --cg-columbia-blue: #c4d9e2;
  --cg-cerulean: #18708c;
  --cg-peacock: #06606a;
  --cg-midnight: #02243f;
  --cg-black: #121111;
  --cg-gunmetal: #363f44;
  --cg-slate: #6d8296;
  --cg-white: #f1f1f1;
  --cg-alabaster: #fafafd;
  --ink: var(--cg-midnight);
  --text: var(--cg-gunmetal);
  --muted: var(--cg-gunmetal);
  --line: rgba(109, 130, 150, 0.34);
  --paper: var(--cg-alabaster);
  --soft-teal: rgba(196, 217, 226, 0.38);
  --shadow: 0 10px 24px rgba(2, 36, 63, 0.08);
  --radius: 8px;
  --site-container: 1120px;
  --site-gutter: 36px;
  --max: var(--site-container);
  --sticky-rail-offset: 124px;
  color-scheme: only light;
}

/* Reset and base elements */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  color-scheme: only light;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  color-scheme: only light;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
}

main {
  color: var(--text);
  background: var(--paper);
}

body.lock { overflow: hidden; }

a { color: inherit; text-decoration: none; }

a:focus-visible {
  outline: 2px solid rgba(24, 112, 140, 0.62);
  outline-offset: 3px;
  border-radius: 4px;
}

button, input, select, textarea { font: inherit; }

input,
select,
textarea {
  color: var(--text);
  background-color: var(--cg-alabaster);
}

textarea {
  max-width: 100%;
  resize: vertical;
}

.site-icon-img {
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.section-icon-img,
.service-icon-img {
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
}

.card-icon-img {
  width: 22px;
  height: 22px;
}

.system-node .site-icon-img {
  width: 18px;
  height: 18px;
  margin-bottom: 4px;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 0;
  padding: 2px clamp(18px, 4vw, 42px);
  background: rgba(250, 250, 253, 0.94);
  border-bottom: 1px solid rgba(109, 130, 150, 0.32);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.brand-logo-header {
  width: clamp(370px, 32vw, 460px);
  height: 96px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}

.brand-logo-footer {
  width: 148px;
}

.footer-brand {
  width: max-content;
  max-width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cg-white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--cg-gunmetal);
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a,
.nav-button {
  padding: 9px 11px;
  border-radius: var(--radius);
}

.primary-nav a:hover,
.nav-button:hover {
  color: var(--cg-peacock);
  background: var(--soft-teal);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}

.dropdown-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms ease, margin-top 160ms ease;
}

.dropdown:hover .dropdown-chevron,
.dropdown:focus-within .dropdown-chevron,
.dropdown.open .dropdown-chevron {
  margin-top: 2px;
  transform: rotate(225deg);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  width: auto;
  max-width: max-content;
  min-height: 34px;
  padding: 8px 14px;
  color: var(--cg-alabaster) !important;
  background: var(--cg-peacock) !important;
  border: 1px solid var(--cg-peacock) !important;
  font-size: 0.84rem;
  line-height: 1.1;
  white-space: nowrap;
}

.dropdown {
  position: relative;
  z-index: 30;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 22px;
  z-index: 1;
}

.dropdown-panel {
  position: absolute;
  z-index: 2;
  top: calc(100% + 17px);
  left: 50%;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  width: min(820px, calc(100vw - 32px));
  padding: 18px;
  background: rgba(250, 250, 253, 0.98);
  border: 1px solid rgba(196, 217, 226, 0.68);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(2, 36, 63, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: 150ms ease;
}

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel,
.dropdown.open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-panel strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
}

.dropdown-panel a,
.dropdown-panel button {
  display: block;
  width: 100%;
  padding: 9px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.dropdown-panel a:hover,
.dropdown-panel button:hover,
.dropdown-panel a:focus-visible,
.dropdown-panel button:focus-visible {
  color: var(--cg-peacock);
  background: var(--soft-teal);
  outline: none;
}

.dropdown-paths,
.pathway-options {
  border-right: 1px solid var(--line);
  padding-right: 16px;
}

.dropdown-services {
  columns: 2;
}

.pathway-options {
  display: grid;
  gap: 10px;
}

.pathway-option {
  padding: 13px !important;
}

.pathway-option strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.pathway-option span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.pathway-option.active {
  color: var(--ink);
  background: var(--soft-teal);
  box-shadow: inset 3px 0 0 var(--cg-peacock);
}

.pathway-option.active strong {
  color: var(--cg-peacock);
}

.pathway-services {
  min-width: 0;
}

.dropdown-overview-link {
  margin-bottom: 10px;
  color: var(--cg-peacock) !important;
  font-weight: 800;
}

.pathway-service-panel {
  display: none;
}

.pathway-service-panel.active {
  display: grid;
  gap: 5px;
}

.pathway-service-panel strong {
  margin: 0 0 5px;
  color: var(--cg-peacock);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pathway-service-panel[hidden] {
  display: none !important;
}

/* Shared layout containers */
.section,
.hero,
.page-hero {
  width: min(var(--site-container), calc(100% - var(--site-gutter)));
  max-width: var(--site-container);
  margin: 0 auto;
}

.content-block[id],
section[id],
.anchor-target {
  scroll-margin-top: 96px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(26px, 5vw, 55px);
  align-items: center;
  padding: 62px 0 42px;
}

.page-hero {
  padding: 46px 0 24px;
}

.page-hero .lead,
.page-hero > p:not(.eyebrow) {
  max-width: 820px;
}

.page-hero + .section,
.page-hero + .service-layout {
  padding-top: 16px;
}

.blog-page .page-hero {
  padding-bottom: 18px;
}

.blog-page .page-hero + .section {
  padding-top: 8px;
}

.blog-index-block > p {
  max-width: 820px;
}

.blog-card-grid {
  align-items: stretch;
}

.blog-card {
  gap: 10px;
}

.blog-card .eyebrow {
  margin-bottom: 0;
}

.blog-card h3 {
  margin: 0;
}

.blog-card-cta {
  align-self: flex-start;
  margin-top: auto;
}

.blog-article-hero {
  padding-bottom: 20px;
}

.blog-article-hero .back-link {
  display: inline-block;
  margin-bottom: 16px;
}

.blog-article-section {
  max-width: var(--site-container);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.article-meta span {
  display: inline-flex;
  gap: 4px;
  align-items: baseline;
}

.blog-article-body {
  padding: 30px;
}

.blog-article-body > * {
  max-width: 860px;
}

.blog-article-body h2 {
  margin-top: 30px;
}

.blog-article-body h2:first-child {
  margin-top: 0;
}

.blog-article-body ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.blog-article-cta {
  margin-top: 18px;
}

.partner-hero-badge {
  margin-top: 21px;
}

.partner-hero-badge img {
  display: block;
  width: min(280px, 100%);
  height: auto;
}

.partner-content-badge {
  display: block;
  height: auto;
}

.credentials-trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 180px);
  gap: 28px;
  align-items: start;
}

.credentials-trust-badge {
  display: flex;
  justify-content: flex-end;
  padding-top: 40px;
}

.credentials-trust-badge img {
  width: min(160px, 100%);
  height: auto;
}

.partnership-intro-badge {
  float: right;
  width: min(280px, 34%);
  margin: 0 0 18px 28px;
}

.section {
  padding: 44px 0;
}

.band {
  width: min(var(--max), calc(100% - 36px));
  max-width: var(--max);
  padding-right: 0;
  padding-left: 0;
}

.band-soft { background: rgba(196, 217, 226, 0.34); }
.band-dark { background: var(--cg-midnight); color: var(--cg-alabaster); }
.band-warm { background: rgba(196, 217, 226, 0.44); }

.eyebrow {
  margin: 0 0 10px;
  color: var(--cg-peacock);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band-dark .eyebrow { color: var(--cg-columbia-blue); }

/* Typography */
h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(36px, 4.25vw, 50px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(34px, 3.75vw, 47px);
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.band-dark h2,
.band-dark h3 { color: var(--cg-alabaster); }

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.hero .lead { font-size: clamp(18px, 1.7vw, 20px); }

.band-dark .lead,
.band-dark p { color: var(--cg-columbia-blue); }

/* Buttons and links */
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: max-content;
  min-height: 40px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.actions .button {
  flex: 0 0 auto;
}

.button.primary {
  color: var(--cg-alabaster);
  border-color: var(--cg-peacock);
  background: var(--cg-peacock);
  box-shadow: 0 7px 15px rgba(6, 96, 106, 0.18);
}

.button.soft {
  border-color: rgba(109, 130, 150, 0.48);
  background: rgba(250, 250, 253, 0.92);
  color: var(--cg-gunmetal);
  box-shadow: none;
}

.button:not(.primary):not(.soft) {
  color: var(--cg-peacock);
  border-color: transparent;
  background: transparent;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--cg-cerulean);
  border-color: var(--cg-cerulean);
}

.button.soft:hover,
.button.soft:focus-visible {
  color: var(--cg-peacock);
  border-color: var(--cg-cerulean);
}

.button:focus-visible {
  outline: 2px solid var(--cg-cerulean);
  outline-offset: 2px;
}

.linkedin-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.linkedin-profile-link img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.footer-linkedin-link,
.founder-linkedin-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-linkedin-link img,
.founder-linkedin-icon img {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.founder-linkedin-icon {
  justify-content: center;
  margin-top: 12px;
}

.founder-section {
  display: grid;
  gap: 24px;
}

.founder-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(144px, 17.6vw, 208px);
  gap: 30px;
  align-items: start;
}

.founder-copy {
  max-width: 780px;
}

.founder-profile-card {
  display: grid;
  gap: 9px;
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 208px;
}

.founder-evidence-list {
  margin-top: 22px;
}

.founder-profile-image-wrap {
  position: relative;
  aspect-ratio: 1100 / 1145;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(196, 217, 226, 0.18);
}

.founder-profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.founder-profile-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 8px;
}

.founder-profile-actions .founder-linkedin-icon {
  background: rgba(250, 250, 253, 0.96);
  border-color: rgba(196, 217, 226, 0.92);
}

.founder-profile-actions span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  color: var(--cg-midnight);
  background: var(--cg-columbia-blue);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.founder-profile-card .founder-linkedin-icon {
  width: 32px;
  height: 32px;
  margin-top: 0;
  justify-self: start;
  justify-content: center;
  border-radius: 6px;
}

.founder-profile-card .founder-linkedin-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.founder-profile-card .founder-linkedin-icon:hover,
.founder-profile-card .founder-linkedin-icon:focus-visible {
  background: var(--soft-teal);
}

.hero-panel,
.card,
.proof-card,
.form-card {
  background: var(--cg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(2, 36, 63, 0.065);
}

.hero-panel {
  padding: 22px;
}

.system-visual,
.architecture-visual,
.snapshot-visual,
.comparison-visual {
  border: 1px solid rgba(109, 130, 150, 0.44);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(196, 217, 226, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(196, 217, 226, 0.22) 1px, transparent 1px),
    var(--cg-alabaster);
  background-size: 34px 34px;
}

.system-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin-bottom: 18px;
  padding: 18px;
}

.system-node {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: 9px;
  color: var(--ink);
  border: 1px solid rgba(24, 112, 140, 0.34);
  border-radius: var(--radius);
  background: rgba(250, 250, 253, 0.82);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.system-node.primary {
  color: var(--cg-alabaster);
  background: var(--cg-peacock);
  border-color: var(--cg-peacock);
}

.system-line {
  position: relative;
  align-self: center;
  min-height: 1px;
  background: var(--cg-cerulean);
  opacity: 0.68;
}

.system-line::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -1px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--cg-cerulean);
  border-right: 1px solid var(--cg-cerulean);
  transform: rotate(45deg);
}

.signal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.signal-list li {
  padding: 12px;
  border-left: 3px solid var(--cg-peacock);
  background: var(--soft-teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.grid-2,
.grid-3,
.grid-4,
.service-layout {
  display: grid;
  gap: 34px;
  min-width: 0;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: 21px;
}

.card p { color: var(--muted); }

.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 13px;
  border: 0;
  background: transparent;
  color: var(--cg-peacock);
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.card-link:hover,
.card-link:focus-visible {
  color: var(--cg-cerulean);
}

.card .actions,
.offer-card .actions {
  margin-top: auto;
  padding-top: 13px;
}

.structure-pathways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 21px;
}

.structure-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 26px;
  color: inherit;
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.42);
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.structure-card h3,
.shared-capabilities h3,
.card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.structure-card:hover,
.structure-card:focus-within {
  border-color: rgba(6, 96, 106, 0.58);
  box-shadow: 0 14px 28px rgba(2, 36, 63, 0.09);
  transform: translateY(-2px);
}

.structure-card p {
  color: var(--muted);
}

.structure-card ul {
  display: grid;
  gap: 8px;
  margin: 21px 0 8px;
  padding: 0;
  list-style: none;
}

.structure-card li {
  padding: 0;
  color: var(--ink);
  border-top: 1px solid rgba(109, 130, 150, 0.4);
  font-weight: 700;
}

.structure-card li a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  color: var(--ink);
}

.structure-card li a:hover,
.structure-card li a:focus-visible {
  color: var(--cg-peacock);
}

.structure-card li a:focus-visible {
  outline: 3px solid rgba(24, 112, 140, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}

.shared-capabilities {
  display: block;
  margin-top: 21px;
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px;
}

.chip-row a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  justify-content: center;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.46);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.chip-row a:hover,
.chip-row a:focus-visible {
  color: var(--cg-peacock);
  border-color: var(--cg-cerulean);
}

.chip-row a::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 6px;
  background: var(--cg-cerulean);
  -webkit-mask: url("assets/icons/check.svg") center / contain no-repeat;
  mask: url("assets/icons/check.svg") center / contain no-repeat;
}

.chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.46);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.case-study-card,
.selected-outcome-card {
  display: grid;
  gap: 14px;
}

.case-study-list {
  align-items: stretch;
}

.case-study-list .case-study-card {
  grid-template-rows: auto minmax(132px, auto) auto auto auto 1fr auto;
}

@media (min-width: 1101px) {
  .case-study-list .case-study-card {
    grid-template-rows: auto minmax(200px, auto) auto auto auto 1fr auto;
  }

  .case-study-list .case-study-card h2 {
    min-height: clamp(228px, 16.7vw, 258px);
  }
}

.case-study-card h2 {
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.08;
}

.case-study-card .case-study-card-cta {
  align-self: end;
  justify-self: start;
  margin-top: auto;
}

.case-meta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  color: var(--cg-gunmetal);
  font-size: 0.92rem;
  line-height: 1.35;
}

.case-meta-strip {
  max-width: 980px;
  margin-top: 18px;
  padding: 13px 14px;
  background: rgba(250, 250, 253, 0.74);
  border: 1px solid rgba(196, 217, 226, 0.9);
  border-left: 3px solid var(--cg-peacock);
  border-radius: var(--radius);
}

.case-study-summary-section {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 24px;
}

.case-study-tldr {
  display: grid;
  gap: 10px;
}

.case-study-summary-section + .case-file-layout {
  padding-top: 18px;
}

.outcome-strip .card {
  gap: 8px;
  min-height: 100%;
}

.case-diagnostic-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-change-list {
  display: grid;
  gap: 12px;
}

.case-change-list article {
  padding: 14px 16px;
  background: rgba(250, 250, 253, 0.78);
  border: 1px solid rgba(196, 217, 226, 0.9);
  border-left: 3px solid rgba(6, 96, 106, 0.54);
  border-radius: var(--radius);
}

.case-change-list h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.diagnostic-signs .card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  box-shadow: none;
  border-color: rgba(109, 130, 150, 0.46);
}

.diagnostic-signs .card > .site-icon-img {
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.diagnostic-signs .check-list {
  gap: 6px;
}

.diagnostic-signs .check-list li {
  padding-left: 0;
}

.diagnostic-signs .check-list li::before {
  display: none;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 8px;
  border-radius: var(--radius);
  background: rgba(196, 217, 226, 0.58);
  color: var(--cg-peacock);
  font-size: 12px;
  font-weight: 800;
}

.tag.teal {
  color: var(--cg-gunmetal);
  background: rgba(196, 217, 226, 0.72);
}

.architecture-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  max-width: 520px;
  margin: 21px 0 0;
  padding: 18px;
}

.architecture-layer {
  padding: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(250, 250, 253, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.snapshot-visual {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
}

.snapshot-row {
  display: grid;
  grid-template-columns: 16px 1fr 58px;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.snapshot-icon-img {
  width: 16px;
  height: 16px;
}

.snapshot-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(196, 217, 226, 0.75);
}

.snapshot-bar.is-strong {
  background: var(--cg-peacock);
}

.comparison-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 21px;
}

.comparison-track {
  display: grid;
  gap: 10px;
}

.comparison-track h3 {
  margin-bottom: 4px;
}

.comparison-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.comparison-steps span,
.capability-tags span,
.service-marker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(109, 130, 150, 0.42);
  border-radius: var(--radius);
  background: rgba(250, 250, 253, 0.9);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.service-marker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.service-marker .service-icon-img {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.service-layout {
  grid-template-columns: 170px minmax(0, 900px);
  align-items: start;
  justify-content: start;
  column-gap: 24px;
  row-gap: 24px;
}

.service-nav {
  position: sticky;
  top: var(--sticky-rail-offset);
  max-width: 170px;
  padding: 4px 0 4px 12px;
  color: var(--cg-gunmetal);
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(109, 130, 150, 0.34);
  border-radius: 0;
  box-shadow: none;
}

.service-nav a {
  display: block;
  padding: 6px 0;
  color: var(--cg-gunmetal);
  background: transparent;
  border: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.service-nav a:hover,
.service-nav a:focus-visible {
  color: var(--cg-peacock);
}

.service-nav a:last-child { border-bottom: 0; }

.service-nav-marker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--cg-peacock);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.about-nav-marker {
  color: var(--cg-gunmetal);
}

.service-nav-marker .service-icon-img {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0;
}

.service-nav-marker .marker-nowrap {
  white-space: nowrap;
  font-size: 11.5px;
}

.content-stack {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.service-layout .content-stack {
  max-width: 900px;
}

.content-block {
  min-width: 0;
  padding: 22px;
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.42);
  border-radius: var(--radius);
}

.content-block .check-list + h3,
.content-block ul + h3 {
  margin-top: 24px;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  background: var(--cg-peacock);
  -webkit-mask: url("assets/icons/check.svg") center / contain no-repeat;
  mask: url("assets/icons/check.svg") center / contain no-repeat;
}

.content-block .check-list li,
.offer-card .check-list li {
  padding: 9px 10px 9px 34px;
  background: rgba(196, 217, 226, 0.2);
  border-left: 2px solid rgba(24, 112, 140, 0.38);
  border-radius: 6px;
}

.content-block .check-list li::before,
.offer-card .check-list li::before {
  left: 12px;
  top: 13px;
  background: var(--cg-peacock);
}

.step-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: var(--cg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step-list strong {
  color: var(--ink);
}

.step-list span {
  color: var(--muted);
}

.principle-list li {
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.principle-list li strong,
.principle-list li span {
  grid-column: 2;
}

.principle-list li strong {
  grid-row: 1;
}

.principle-list li span {
  grid-row: 2;
}

.principle-icon-img {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  color: var(--cg-peacock);
}

.content-block#outcomes .check-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-block#outcomes .check-list li {
  min-height: 76px;
  padding: 14px 14px 14px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cg-alabaster);
}

.content-block#outcomes .check-list li::before {
  left: 14px;
  background: var(--cg-cerulean);
}

.process-explorer {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.process-item {
  display: contents;
}

.process-trigger {
  display: grid;
  grid-row: 1;
  gap: 8px;
  align-content: start;
  width: 100%;
  min-height: 104px;
  padding: 13px 12px;
  color: var(--muted);
  text-align: left;
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.42);
  border-radius: var(--radius);
  cursor: pointer;
}

.process-trigger span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--cg-peacock);
  font-size: 13px;
  font-weight: 800;
  background: rgba(196, 217, 226, 0.55);
  border: 1px solid rgba(24, 112, 140, 0.2);
  border-radius: 999px;
}

.process-trigger strong {
  color: inherit;
  font-size: 14px;
  line-height: 1.25;
}

.process-item.is-active .process-trigger,
.process-trigger:hover {
  color: var(--cg-midnight);
  border-color: rgba(6, 96, 106, 0.58);
  background: rgba(196, 217, 226, 0.24);
}

.process-trigger:focus-visible {
  outline: 3px solid rgba(24, 112, 140, 0.38);
  outline-offset: 3px;
}

.process-panel {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 0;
  padding: 20px 22px;
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.46);
  border-radius: var(--radius);
}

.process-panel h3 {
  margin: 0 0 8px;
}

.process-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-icon-img {
  width: 28px;
  height: 28px;
}

.process-note {
  margin-top: 18px;
}

.principle-line {
  margin: 21px 0 0;
  color: var(--text);
  font-weight: 700;
}

.faq-accordion {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.46);
  border-radius: var(--radius);
}

.faq-item h3 {
  margin: 0;
  font-size: 17px;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 18px;
  padding: 17px 19px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.faq-trigger::after {
  content: "+";
  color: var(--cg-peacock);
  font-size: 20px;
  line-height: 1;
}

.faq-trigger[aria-expanded="true"]::after {
  content: "-";
}

.faq-trigger:hover {
  color: var(--cg-peacock);
  background: var(--soft-teal);
}

.faq-trigger:focus-visible {
  outline: 2px solid rgba(24, 112, 140, 0.62);
  outline-offset: -2px;
}

.faq-panel {
  padding: 0 19px 18px;
}

.faq-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-card {
  padding: 24px;
}

.outcome-proof {
  border-color: rgba(6, 96, 106, 0.48);
  border-left: 4px solid var(--cg-peacock);
}

.founder-grid {
  align-items: center;
}

.founder-photo {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  color: var(--cg-alabaster);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  object-position: center top;
}

.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 36, 63, 0) 34%, rgba(2, 36, 63, 0.82) 100%);
  pointer-events: none;
}

.founder-photo-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.founder-photo-caption span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  color: var(--cg-midnight);
  background: var(--cg-columbia-blue);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
}

.founder-photo-caption strong {
  font-size: 24px;
}

.founder-photo-caption small {
  color: var(--cg-columbia-blue);
  font-size: 14px;
}

.fit-card {
  max-width: none;
}

.diagnostic-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 21px;
  align-items: stretch;
  max-width: 100%;
  min-width: 0;
}

.diagnostic-options-wrap {
  position: relative;
}

.scroll-hint {
  display: none;
  margin: 13px 0 0;
  color: var(--cg-slate);
  font-size: 13px;
  font-weight: 700;
}

.offer-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 12px;
  align-content: start;
  min-width: 0;
  padding: 21px;
  background: var(--cg-white);
  border: 1px solid rgba(109, 130, 150, 0.46);
  border-radius: var(--radius);
  overflow: hidden;
}

.offer-card.entry {
  border-color: var(--cg-peacock);
  background: rgba(196, 217, 226, 0.52);
}

.offer-card.snapshot-tier {
  background: rgba(196, 217, 226, 0.34);
  border-color: rgba(24, 112, 140, 0.34);
}

.offer-card.optimisation-tier {
  background: var(--cg-white);
  border-color: rgba(24, 112, 140, 0.68);
  box-shadow: inset 0 4px 0 var(--cg-cerulean);
}

.offer-card.governance-tier {
  background: linear-gradient(180deg, rgba(2, 36, 63, 0.05), var(--cg-white));
  border-color: rgba(2, 36, 63, 0.72);
  box-shadow:
    inset 0 4px 0 var(--cg-midnight),
    0 14px 30px rgba(2, 36, 63, 0.12);
}

.offer-card.governance-tier .tag {
  color: var(--cg-alabaster);
  background: var(--cg-midnight);
}

.offer-card h3,
.offer-card p,
.offer-card ul {
  margin: 0;
  min-width: 0;
}

.offer-card h3 {
  min-height: 3.2em;
}

.offer-card p {
  min-height: 10.8em;
}

.offer-card ul {
  align-self: start;
}

.offer-card .button {
  align-self: end;
  margin-top: auto;
  justify-self: start;
  max-width: 100%;
  white-space: normal;
}

.metric {
  display: block;
  margin: 8px 0;
  color: var(--cg-peacock);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

/* Forms and validation */
.form-card {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.form-card label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 11px;
  border: 1px solid rgba(109, 130, 150, 0.48);
  border-radius: var(--radius);
  background: var(--cg-alabaster);
}

.form-card textarea {
  resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--cg-cerulean);
  outline: 2px solid rgba(24, 112, 140, 0.18);
}

.contact-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  gap: 4px 32px;
  align-items: start;
}

.contact-routing-head {
  grid-column: 1 / -1;
  max-width: 820px;
  margin-bottom: 0;
}

.contact-topic-selector {
  display: grid;
  gap: 0;
}

.contact-topic-list {
  display: grid;
  gap: 7px;
}

.contact-topic-card {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px 12px;
  color: var(--cg-gunmetal);
  text-align: left;
  background: rgba(250, 250, 253, 0.78);
  border: 1px solid rgba(196, 217, 226, 0.9);
  border-left: 3px solid rgba(6, 96, 106, 0.46);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.contact-topic-card strong {
  color: var(--cg-midnight);
  font-size: 0.9rem;
  line-height: 1.25;
}

.contact-topic-card span {
  font-size: 0.8rem;
  line-height: 1.32;
}

.contact-topic-card:hover,
.contact-topic-card:focus-visible {
  border-color: rgba(6, 96, 106, 0.75);
  background: var(--cg-white);
  box-shadow: 0 10px 22px rgba(2, 36, 63, 0.08);
}

.contact-topic-card:focus-visible {
  outline: 3px solid rgba(196, 217, 226, 0.9);
  outline-offset: 2px;
}

.contact-topic-card.is-selected {
  background: rgba(196, 217, 226, 0.28);
  border-color: var(--cg-peacock);
  box-shadow: inset 0 0 0 1px rgba(6, 96, 106, 0.28);
}

.contact-topic-card.is-selected::after {
  content: "Selected";
  width: fit-content;
  margin-top: 1px;
  padding: 2px 6px;
  color: var(--cg-midnight);
  background: rgba(250, 250, 253, 0.86);
  border: 1px solid rgba(6, 96, 106, 0.34);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .contact-enquiry-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-message {
  margin: 0;
  color: var(--cg-gunmetal);
  font-size: 13px;
}

.contact-required-prompt {
  margin: 0 -6px;
  padding: 8px 10px 8px 12px;
  background: rgba(196, 217, 226, 0.16);
  border-left: 4px solid var(--cg-peacock);
  border-radius: 3px;
}


.checkbox-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  text-align: left;
}

.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.checkbox-field span {
  min-width: 0;
}
.field-error {
  margin: -6px 0 2px;
  color: #8b1e1e;
  font-size: 12px;
  line-height: 1.4;
}

.bot-trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.recaptcha-wrap,
.g-recaptcha,
.g-recaptcha > div {
  max-width: 100%;
  overflow: visible;
}

.recaptcha-wrap {
  min-height: 84px;
  padding: 4px 0;
}

.g-recaptcha iframe {
  display: block;
  max-width: 100%;
  overflow: hidden;
}

.form-card,
.snapshot-form {
  overflow: visible;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-page {
  width: min(var(--max), calc(100% - 36px));
  max-width: var(--max);
  margin: 0 auto;
  padding: 58px 0 72px;
}

.legal-page > * {
  max-width: 820px;
}

.legal-page h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 3.6vw, 45px);
}

.legal-page h2 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.legal-page h3 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.legal-page p,
.legal-page li {
  color: var(--text);
}

.legal-page ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-updated {
  color: var(--muted);
  font-weight: 700;
}

.countdown-emphasis {
  font-weight: 800;
}

.section,
.page-hero,
.hero,
.legal-page {
  color: var(--text);
}

.service-nav,
.content-block,
.proof-card,
.case-study-card,
.selected-outcome-card,
.final-cta-card,
.form-card,
.faq-item,
.contact-topic-card,
.diagnostic-card,
.identity-panel,
.missing-identity-panel {
  color: var(--text);
  background-color: var(--cg-white);
}

.dropdown-panel,
.resources-panel,
.pathway-panel {
  color: var(--text);
  background-color: var(--cg-white);
}

.band-soft,
.band-warm {
  color: var(--text);
}

/* Modals */
.calendar-modal,
.snapshot-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 24px;
  background: rgba(2, 36, 63, 0.78);
  overflow: auto;
}

.calendar-modal.open,
.snapshot-modal.open {
  display: grid;
  place-items: center;
}

.calendar-dialog,
.snapshot-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cg-alabaster);
  border-radius: var(--radius);
}

.calendar-dialog {
  width: min(1480px, 96vw);
  height: min(860px, 92vh);
}

.snapshot-dialog {
  width: min(720px, 94vw);
  max-height: min(820px, 92vh);
  overflow: auto;
  border: 1px solid rgba(24, 112, 140, 0.32);
  box-shadow: var(--shadow);
}

@media (max-width: 680px) {
  .calendar-modal,
  .snapshot-modal {
    box-sizing: border-box;
    padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    overflow-x: hidden;
  }

  .calendar-modal.open,
  .snapshot-modal.open {
    place-items: center;
  }

  .calendar-dialog,
  .snapshot-dialog {
    box-sizing: border-box;
    width: min(100%, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    margin-inline: auto;
  }

  .calendar-dialog {
    height: min(760px, calc(100vh - 32px));
  }

  .snapshot-dialog {
    max-height: calc(100vh - 32px);
  }

  .calendar-dialog iframe {
    min-width: 0;
    max-width: 100%;
  }
}

.calendar-title,
.snapshot-title {
  padding: 18px 70px 18px 22px;
  border-bottom: 1px solid rgba(109, 130, 150, 0.42);
  color: var(--ink);
  font-weight: 800;
}

.calendar-close,
.snapshot-close {
  position: absolute;
  top: 10px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(109, 130, 150, 0.48);
  border-radius: 999px;
  background: var(--cg-alabaster);
  color: var(--ink);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.snapshot-form {
  overflow-y: auto;
  border: 0;
  border-radius: 0;
}

.calendar-dialog iframe {
  flex: 1;
  width: 100%;
  border: 0;
}

.final-cta {
  width: 100%;
  max-width: none;
  margin: 20px 0 0;
  padding: 58px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--cg-alabaster);
  border-top: 0;
}

.final-cta-card {
  display: block;
  padding: clamp(28px, 5vw, 48px);
  background: var(--cg-white);
  border: 1px solid rgba(6, 96, 106, 0.42);
  border-left: 4px solid var(--cg-peacock);
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(2, 36, 63, 0.12);
}

.final-cta h2 {
  max-width: 760px;
}

.final-cta p {
  max-width: 700px;
}

.final-cta .actions {
  margin-top: 21px;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 28px;
  padding: 42px max(18px, calc((100vw - var(--max)) / 2));
  background: var(--cg-midnight);
  color: var(--cg-alabaster);
}

.site-footer div {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a,
.site-footer p { color: var(--cg-columbia-blue); }

.site-footer a:focus-visible {
  outline-color: var(--cg-columbia-blue);
  outline-offset: 4px;
}

.footer-brand-name {
  color: var(--cg-alabaster);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-partner-badge {
  width: 112px;
  max-width: 40vw;
  height: auto;
  margin-top: 14px;
}

@media (max-width: 1100px) {
  html {
    scroll-padding-top: 84px;
  }

  .content-block[id],
  section[id],
  .anchor-target {
    scroll-margin-top: 84px;
  }

  .nav-toggle { display: block; }

  .brand-logo-header {
    width: 220px;
    height: 58px;
    max-height: none;
    object-fit: contain;
    object-position: left center;
  }

  .button {
    max-width: 100%;
    white-space: normal;
  }

  .primary-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    width: 100%;
    max-width: 100vw;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 16px;
    background: var(--cg-alabaster);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 19;
  }

  .primary-nav.open {
    display: grid;
    align-items: stretch;
  }

  .primary-nav a,
  .nav-button {
    width: 100%;
    text-align: left;
  }

  .nav-button {
    justify-content: space-between;
  }

  .dropdown {
    width: 100%;
    max-width: 100%;
  }

  .dropdown::after {
    display: none;
  }

  .dropdown-panel {
    position: static;
    top: auto;
    left: auto;
    display: none;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 8px;
    padding: 13px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .dropdown:hover .dropdown-panel,
  .dropdown:focus-within .dropdown-panel,
  .dropdown.open .dropdown-panel {
    transform: none;
  }

  .dropdown.open .dropdown-panel {
    display: grid;
  }

  .dropdown-paths,
  .pathway-options {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 12px;
  }

  .dropdown-services {
    columns: 1;
  }

  .pathway-panel {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .pathway-options {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 0;
    padding-bottom: 0;
  }

  .pathway-option {
    border: 1px solid var(--line) !important;
    background: var(--cg-white) !important;
  }

  .pathway-service-panel,
  .pathway-service-panel.active {
    display: grid;
    gap: 5px;
    width: 100%;
    min-width: 0;
    padding: 10px 0 13px;
    border-bottom: 1px solid var(--line);
  }

  .pathway-services:empty {
    display: none;
  }

  .pathway-service-panel[hidden] {
    display: none !important;
  }

  .dropdown.open .pathway-service-panel[hidden] {
    display: grid !important;
  }

  .pathway-service-panel:last-child {
    border-bottom: 0;
  }

  .hero,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .page-hero + .section,
  .page-hero + .service-layout {
    padding-top: 24px;
  }

  .grid-4,
  .grid-3,
  .structure-pathways,
  .shared-capabilities,
  .comparison-visual,
  .content-block#outcomes .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-content-badge {
    max-width: min(260px, 100%);
  }

  .credentials-trust-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .credentials-trust-badge {
    justify-content: flex-start;
  }

  .diagnostic-options {
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding-right: 18px;
    padding-bottom: 14px;
    scroll-padding-left: 0;
    scroll-padding-right: 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }

  .diagnostic-options::after {
    content: "";
    flex: 0 0 18px;
  }

  .diagnostic-options .offer-card {
    flex: 0 0 min(72vw, 320px);
    min-width: min(72vw, 320px);
    scroll-snap-align: start;
  }

  .diagnostic-options-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 21px;
    height: calc(100% - 14px);
    pointer-events: none;
    background: linear-gradient(to left, var(--cg-alabaster), rgba(250, 250, 253, 0));
  }

  .scroll-hint {
    display: block;
  }

  .process-explorer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process-item {
    display: block;
    overflow: hidden;
    background: var(--cg-white);
    border: 1px solid rgba(109, 130, 150, 0.42);
    border-radius: var(--radius);
  }

  .process-trigger {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px;
    border: 0;
    border-radius: 0;
  }

  .process-trigger::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
  }

  .process-item.is-active .process-trigger::after {
    transform: rotate(225deg);
  }

  .process-trigger span {
    width: 30px;
    height: 30px;
  }

  .process-trigger strong {
    min-width: 0;
    font-size: 15px;
    line-height: 1.25;
  }

  .process-item.is-active .process-trigger {
    border-color: transparent;
  }

  .process-panel {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    padding: 0 16px 16px 54px;
    border: 0;
    border-radius: 0;
  }

  .process-panel h3,
  .process-panel .process-icon-img {
    display: none;
  }

}

@media (max-width: 390px) {
  .diagnostic-options .offer-card {
    flex-basis: 76vw;
    min-width: 76vw;
  }
}

@media (max-width: 680px) {
  .hero,
  .page-hero {
    padding: 46px 0 34px;
  }

  .section {
    padding: 42px 0;
  }

  .principle-list {
    width: min(var(--max), calc(100% - 36px));
    margin-right: auto;
    margin-left: auto;
  }

  .working-principles-section .section-head,
  .working-principles-section .principle-line {
    width: min(var(--max), calc(100% - 36px));
    margin-right: auto;
    margin-left: auto;
  }

  .partnership-intro-badge {
    float: none;
    width: min(260px, 80vw);
    margin: 18px auto;
  }

  .partnership-intro-badge img,
  .partner-content-badge {
    margin-right: auto;
    margin-left: auto;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .contact-enquiry-grid,
  .case-meta-grid,
  .case-diagnostic-grid,
  .structure-pathways,
  .comparison-visual,
  .comparison-steps,
  .content-block#outcomes .check-list,
  .final-cta-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .shared-capabilities {
    display: none;
  }

  .final-cta {
    width: min(var(--max), calc(100% - 36px));
    margin-inline: auto;
    padding: 38px 0;
  }

  .final-cta .actions {
    margin-top: 18px;
  }

  .lead,
  .hero .lead {
    font-size: 17px;
  }

  .card,
  .content-block,
  .form-card {
    padding: 18px;
  }

  .offer-card h3,
  .offer-card p {
    min-height: 0;
  }

  .actions {
    align-items: stretch;
  }

  .actions .button,
  .form-card .button,
  .offer-card .button {
    width: 100%;
    max-width: none;
  }
}

/* Shared surfaces and production refinements */
.hero-panel,
.card,
.proof-card,
.form-card,
.content-block,
.service-nav,
.faq-item,
.process-panel,
.process-trigger,
.process-item,
.offer-card,
.step-list li {
  background: rgba(241, 241, 241, 0.66);
  border-color: rgba(196, 217, 226, 0.84);
  box-shadow: 0 8px 20px rgba(2, 36, 63, 0.045);
}

.hero-panel,
.card,
.content-block,
.proof-card,
.form-card,
.offer-card {
  padding: 22px;
}

.card,
.content-block,
.proof-card,
.offer-card {
  line-height: 1.58;
}

.card p,
.content-block p,
.proof-card p,
.offer-card p {
  color: var(--cg-gunmetal);
}

.system-visual,
.architecture-visual,
.snapshot-visual,
.comparison-visual {
  border-color: rgba(196, 217, 226, 0.86);
  background: linear-gradient(180deg, rgba(250, 250, 253, 0.98), rgba(241, 241, 241, 0.86));
  background-size: auto;
  box-shadow: inset 0 1px 0 rgba(250, 250, 253, 0.82);
}

.system-node,
.arch-card,
.snapshot-row,
.comparison-steps span,
.capability-tags span,
.service-marker span {
  border-color: rgba(196, 217, 226, 0.86);
  background: rgba(250, 250, 253, 0.9);
}

.structure-card:hover,
.structure-card:focus-within {
  box-shadow: 0 12px 24px rgba(2, 36, 63, 0.07);
}

.content-block .check-list li,
.offer-card .check-list li {
  background: rgba(196, 217, 226, 0.18);
  border-left-color: rgba(6, 96, 106, 0.42);
  border-radius: 5px;
}

.step-list li {
  padding: 14px 16px;
}

.content-stack {
  gap: 12px;
}

.faq-trigger {
  padding: 16px 18px;
  font-weight: 700;
}

.founder-profile-card .founder-linkedin-icon {
  background: rgba(196, 217, 226, 0.28);
  border: 1px solid rgba(196, 217, 226, 0.88);
}

.offer-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-card h3,
.offer-card p {
  min-height: 0;
}

.offer-card ul {
  margin-top: 2px;
}

.offer-card .button {
  margin-top: auto;
}

.offer-card.snapshot-tier {
  background: rgba(196, 217, 226, 0.24);
}

.offer-card.optimisation-tier {
  background: rgba(250, 250, 253, 0.95);
  box-shadow: inset 0 3px 0 var(--cg-cerulean), 0 8px 20px rgba(2, 36, 63, 0.045);
}

.offer-card.governance-tier {
  background: linear-gradient(180deg, rgba(2, 36, 63, 0.045), rgba(250, 250, 253, 0.96));
  box-shadow: inset 0 3px 0 var(--cg-midnight), 0 10px 24px rgba(2, 36, 63, 0.075);
}

.form-card {
  background: rgba(241, 241, 241, 0.7);
  border-color: rgba(196, 217, 226, 0.92);
  gap: 13px;
}

.form-card label {
  color: var(--cg-midnight);
  font-weight: 500;
}

.checkbox-field {
  color: var(--cg-gunmetal);
  font-weight: 400;
}

.form-card input,
.form-card select,
.form-card textarea {
  padding: 10px 11px;
  border-color: rgba(109, 130, 150, 0.42);
  background: rgba(250, 250, 253, 0.94);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--cg-cerulean);
  outline: 3px solid rgba(196, 217, 226, 0.7);
}

.field-error {
  color: var(--cg-midnight);
  font-weight: 600;
}

.snapshot-dialog {
  box-shadow: 0 18px 42px rgba(2, 36, 63, 0.16);
}

.calendar-title,
.snapshot-title {
  font-weight: 700;
}

.final-cta {
  padding-top: 50px;
  padding-bottom: 50px;
}

.final-cta-card {
  background: rgba(241, 241, 241, 0.72);
  border-color: rgba(196, 217, 226, 0.92);
  box-shadow: 0 12px 28px rgba(2, 36, 63, 0.075);
}

.site-footer {
  gap: 24px;
  padding-top: 46px;
  padding-bottom: 46px;
  background: var(--cg-midnight);
  border-top: 1px solid rgba(196, 217, 226, 0.18);
}

.site-footer a,
.site-footer p {
  color: rgba(196, 217, 226, 0.92);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cg-alabaster);
}

.footer-brand-name {
  font-weight: 700;
}

.footer-partner-badge {
  width: 104px;
  opacity: 0.94;
}

@media (max-width: 1100px) {
  .site-header {
    min-height: 0;
    padding: 4px 18px;
  }

  .primary-nav {
    inset: 66px 0 auto 0;
    max-height: calc(100vh - 66px);
  }

  .page-hero + .section,
  .page-hero + .service-layout {
    padding-top: 14px;
  }

  .diagnostic-options {
    gap: 13px;
  }

  .diagnostic-options .offer-card {
    flex-basis: min(70vw, 310px);
    min-width: min(70vw, 310px);
  }
}

@media (max-width: 680px) {
  .section,
  .hero,
  .page-hero,
  .principle-list,
  .working-principles-section .section-head,
  .working-principles-section .principle-line {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero,
  .page-hero {
    padding: 36px 0 28px;
  }

  .section {
    padding: 36px 0;
  }

  h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .page-hero h1 {
    font-size: clamp(32px, 9vw, 40px);
  }

  h2 {
    font-size: clamp(25px, 7.5vw, 32px);
  }

  .case-study-card h2 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .case-study-list .case-study-card {
    grid-template-rows: none;
  }

  .hero-panel,
  .card,
  .content-block,
  .proof-card,
  .form-card,
  .offer-card {
    padding: 18px;
  }

  .final-cta {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .site-footer {
    gap: 22px;
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .footer-partner-badge {
    width: 96px;
    max-width: 46vw;
  }
}

/* Targeted page refinements */
.partnership-intro-badge {
  width: min(210px, 28%);
  margin: 2px 0 16px 24px;
}

.partner-content-badge {
  max-width: 220px;
}

.section.grid-2 > div:has(+ form[data-website-lead-form]) .check-list {
  display: grid;
  gap: 0;
  max-width: 680px;
  padding: 2px 0;
  border-top: 1px solid rgba(196, 217, 226, 0.82);
  border-bottom: 1px solid rgba(196, 217, 226, 0.82);
}

.section.grid-2 > div:has(+ form[data-website-lead-form]) .check-list li {
  padding: 10px 12px 10px 28px;
  background: transparent;
  border-left: 2px solid rgba(6, 96, 106, 0.42);
  border-radius: 0;
}

.section.grid-2 > div:has(+ form[data-website-lead-form]) .check-list li + li {
  border-top: 1px solid rgba(196, 217, 226, 0.62);
}

.section.grid-2 > div:has(+ form[data-website-lead-form]) .check-list li::before {
  left: 10px;
}

.section.grid-2 > div:has(+ form[data-website-lead-form]) .check-list + h2 {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(109, 130, 150, 0.28);
}

.content-block > p,
.content-block > ul,
.content-block > ol,
.proof-card > p,
.proof-card > ul,
.proof-card > ol,
.content-block > .grid-2 p,
.content-block > .grid-2 ul,
.content-block > .grid-2 ol {
  max-width: 720px;
}

.content-block .check-list {
  max-width: 760px;
}

.content-block#outcomes .check-list,
.diagnostic-options .check-list,
.grid-2 .content-block > p,
.grid-3 .card > p,
.grid-4 .card > p {
  max-width: none;
}

.content-block,
.card,
.proof-card,
.offer-card {
  padding: 24px;
}

.content-block .check-list li,
.offer-card .check-list li {
  padding: 11px 12px 11px 36px;
}

.content-block .check-list li::before,
.offer-card .check-list li::before {
  left: 13px;
  top: 14px;
}

.step-list li {
  padding: 17px 18px;
}

.principle-list li {
  column-gap: 14px;
}

.process-panel {
  padding: 22px 24px;
}

.faq-panel {
  padding-right: 21px;
  padding-left: 21px;
}

@media (max-width: 680px) {
  .partnership-intro-badge {
    width: min(190px, 70vw);
    max-width: 190px;
  }

  .partner-content-badge {
    max-width: 200px;
  }

  .content-block,
  .card,
  .proof-card,
  .offer-card {
    padding: 20px;
  }

  .founder-section {
    gap: 18px;
  }

  .founder-intro-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .founder-profile-card {
    justify-self: center;
    width: min(208px, 100%);
    max-width: 208px;
  }

  .content-block#erik .founder-profile-image-wrap,
  .content-block#erik .founder-profile-actions {
    position: static;
  }

  .content-block#erik .founder-profile-photo {
    max-height: none;
  }

  .hero:has(+ .home-pathway-section) {
    padding-bottom: 24px;
  }

  .hero + .home-pathway-section {
    padding-top: 6px;
  }

  .credentials-trust-badge {
    justify-content: flex-start;
    padding-top: 8px;
  }

  .section.grid-2 > div:has(+ form[data-website-lead-form]) .check-list + h2 {
    margin-top: 28px;
    padding-top: 18px;
  }

}

@media (max-width: 380px) {
  .founder-profile-card {
    width: min(176px, 100%);
  }
}

/* Home page and proof sections */
.hero:not(:has(.hero-panel)) {
  grid-template-columns: minmax(0, 840px);
  justify-content: start;
}

.section.band {
  padding: 34px;
}

.section.band > .section-head {
  margin-bottom: 24px;
}

.section.band .structure-pathways,
.section.band .shared-capabilities {
  margin-top: 21px;
}

.icon-only-heading {
  min-height: 32px;
  margin-bottom: 8px;
}

.diagnostic-signs .card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.diagnostic-signs .card > .site-icon-img {
  grid-column: 1;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.diagnostic-signs .check-list {
  grid-column: 2;
  gap: 7px;
  min-width: 0;
}

.diagnostic-signs .check-list li {
  padding-left: 0;
  line-height: 1.42;
}

.grid-2:has(.snapshot-visual) {
  align-items: start;
}

.grid-2:has(.snapshot-visual) > .content-block {
  align-self: start;
}

.section.band .founder-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  align-items: center;
}

.section.band .founder-photo {
  width: 100%;
  max-width: 210px;
  min-height: 170px;
  justify-self: end;
}

.section.band .founder-photo img {
  min-height: 170px;
}

.content-block .check-list li,
.offer-card .check-list li {
  min-height: 0;
  padding-top: 8px;
  padding-bottom: 8px;
  line-height: 1.42;
}

.content-block .check-list li::before,
.offer-card .check-list li::before {
  top: 11px;
}

.content-block#outcomes .check-list li {
  min-height: 0;
  padding-top: 10px;
  padding-bottom: 10px;
}

.principle-list li {
  padding: 19px 20px;
}

@media (max-width: 930px) {
  .section.band .founder-grid {
    grid-template-columns: 1fr;
  }

  .section.band .founder-photo {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .section.band {
    padding: 24px 20px;
  }

  .section.band .structure-pathways,
  .section.band .shared-capabilities {
    margin-top: 18px;
  }

  .diagnostic-signs .card {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
  }

  .section.band .founder-photo,
  .section.band .founder-photo img {
    max-width: min(210px, 100%);
    min-height: 180px;
  }

  .principle-list li {
    padding: 18px;
  }
}

/* What We Do and mega-menu refinements */
@media (min-width: 1101px) {
  .resources-panel {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 14px;
    width: min(430px, calc(100vw - 32px));
    padding: 16px;
  }

  .resources-group {
    display: grid;
    gap: 4px;
    min-width: 0;
  }
}

.resources-panel strong {
  margin: 0 0 4px;
  color: var(--cg-peacock);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resources-panel a {
  min-height: 34px;
}

.situation-grid {
  align-items: stretch;
}

.situation-panel {
  display: flex;
  flex-direction: column;
}

.situation-panel .actions {
  margin-top: auto;
  padding-top: 21px;
}

.service-catalogue .section-head {
  max-width: 720px;
}

.tagged-service-grid {
  align-items: stretch;
}

.tagged-service-card {
  gap: 10px;
}

.service-context-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 4px;
}

.service-context-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  color: var(--cg-midnight);
  background: rgba(250, 250, 253, 0.72);
  border: 1px solid rgba(196, 217, 226, 0.96);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

/* Responsive rules */
@media (max-width: 1100px) {
  .resources-panel {
    grid-template-columns: 1fr;
  }

  .resources-group {
    display: grid;
    gap: 4px;
  }

  .resources-group + .resources-group {
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .service-context-tags span {
    max-width: 100%;
  }
}

/* Spacing and icon alignment */
.hero + .section {
  padding-top: 34px;
}

.hero + .home-pathway-section {
  padding-top: 12px;
}

@media (max-width: 680px) {
  .hero:has(+ .home-pathway-section) {
    padding-bottom: 24px;
  }

  .hero + .home-pathway-section {
    padding-top: 6px;
  }
}

.card h3,
.content-block h2,
.proof-card h2,
.offer-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h3 .site-icon-img,
.content-block h2 .site-icon-img,
.proof-card h2 .site-icon-img,
.offer-card h3 .site-icon-img {
  flex: 0 0 auto;
}

.home-path-card h3 {
  margin-bottom: 12px;
}

.shared-capabilities-lead {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.shared-capabilities-lead .site-icon-img {
  flex: 0 0 auto;
  margin-top: 1px;
}

.resources-panel {
  align-items: start;
}

.resources-group {
  grid-template-rows: auto repeat(4, minmax(34px, auto));
  align-items: start;
}

.resources-group a {
  display: flex;
  align-items: center;
}

.diagnosis-stack {
  display: grid;
  gap: 18px;
}

.diagnosis-stack .content-block {
  width: 100%;
}

.health-snapshot-block .snapshot-visual {
  max-width: 720px;
}

.founder-name-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.founder-name-inline .founder-linkedin-icon {
  margin-top: 0;
  vertical-align: middle;
}

.section:has(.fit-card) {
  padding-bottom: 22px;
}

.section:has(.fit-card) + .final-cta {
  margin-top: 0;
  padding-top: 34px;
  border-top: 0;
}

.tagged-service-card {
  display: flex;
  flex-direction: column;
}

.tagged-service-card p {
  margin-bottom: 0;
}

.tagged-service-card .service-context-tags {
  margin-top: auto;
  margin-bottom: 2px;
  padding-top: 14px;
}

.tagged-service-card .card-link {
  margin-top: 0;
  padding-top: 5px;
}

@media (max-width: 930px) {
  .resources-group {
    grid-template-rows: none;
  }

  .hero {
    padding-bottom: 34px;
  }
}

/* Home cards and result proof layout */
.outcome-proof,
.diagnosis-stack .content-block,
.fit-card,
.final-cta-card {
  display: grid;
  gap: 12px;
}

.outcome-proof > *,
.diagnosis-stack .content-block > *,
.fit-card > *,
.final-cta-card > div {
  max-width: 880px;
}

.health-snapshot-block .snapshot-visual {
  margin-top: 6px;
}

.final-cta-card > div {
  display: grid;
  gap: 12px;
}

.final-cta h2,
.final-cta p {
  max-width: none;
}

.section:has(.outcome-proof) {
  padding-bottom: 26px;
}

.section:has(.outcome-proof) + .diagnosis-stack {
  padding-top: 24px;
}

.diagnosis-stack {
  gap: 16px;
  padding-bottom: 30px;
}

.diagnosis-stack + .section.band {
  margin-top: 0;
}

.section.band:has(.founder-grid) {
  margin-bottom: 0;
}

.section.band:has(.founder-grid) + .section {
  padding-top: 30px;
}

.section:has(.fit-card) {
  padding-top: 30px;
  padding-bottom: 18px;
}

.section:has(.fit-card) + .final-cta {
  padding-top: 28px;
  padding-bottom: 42px;
}

.founder-name-inline {
  display: inline;
  white-space: normal;
}

.founder-caption-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.founder-photo-caption .founder-linkedin-icon {
  width: 28px;
  height: 28px;
  margin-top: 0;
  background: rgba(250, 250, 253, 0.92);
  border: 1px solid rgba(196, 217, 226, 0.84);
  border-radius: 50%;
  vertical-align: middle;
}

.founder-photo-caption .founder-linkedin-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.tagged-service-card h3 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tagged-service-card h3 .site-icon-img {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

.tagged-service-card .card-link {
  margin-top: auto;
  padding-top: 16px;
}

.tagged-service-card .service-context-tags {
  min-height: 30px;
  margin-top: 8px;
  margin-bottom: 0;
  padding-top: 0;
}

.diagnostic-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.diagnostic-card {
  display: flex;
  align-items: flex-start;
  min-height: 0;
  padding: 13px 14px;
  color: var(--cg-midnight);
  background: rgba(250, 250, 253, 0.78);
  border: 1px solid rgba(196, 217, 226, 0.92);
  border-left: 3px solid rgba(6, 96, 106, 0.56);
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.38;
}

.proof-labels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 920px;
}

.proof-labels span {
  padding: 10px 12px;
  color: var(--cg-gunmetal);
  background: rgba(196, 217, 226, 0.24);
  border: 1px solid rgba(196, 217, 226, 0.82);
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.35;
}

.proof-labels strong {
  color: var(--cg-midnight);
}

@media (max-width: 1100px) {
  .diagnostic-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .proof-labels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .diagnostic-card-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-card {
    padding: 12px 13px;
  }
}

/* Page-specific layout refinements */
.home-path-card .path-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}

.path-card-icon {
  display: inline-flex;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

.path-card-icon .site-icon-img {
  width: 22px;
  height: 22px;
}

.path-card-title {
  min-width: 0;
}

.service-catalogue + .final-cta {
  margin-top: 0;
  padding-top: 28px;
  border-top: 0;
}

.founder-profile-summary {
  display: grid;
  gap: 12px;
  justify-self: end;
  width: 100%;
  max-width: 210px;
}

.founder-profile-summary .founder-photo {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.founder-photo-meta {
  display: grid;
  gap: 4px;
}

.founder-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.founder-meta-line span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  color: var(--cg-alabaster);
  background: var(--cg-peacock);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.founder-meta-line .founder-linkedin-icon {
  width: auto;
  height: auto;
  margin-top: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.founder-meta-line .founder-linkedin-icon img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

@media (max-width: 930px) {
  .founder-profile-summary {
    justify-self: start;
  }
}

/* Service page layout */
@media (min-width: 1101px) {
  .page-hero.service-hero {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 0;
    align-items: start;
    max-width: var(--max);
  }

  .service-hero-heading {
    grid-column: 1 / -1;
    max-width: 920px;
  }

  .service-hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    column-gap: 32px;
    align-items: start;
    max-width: 920px;
    margin-top: 22px;
  }

  .service-hero-main {
    grid-column: 1;
    max-width: 820px;
    margin-top: 0;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
  }

  .service-hero-summary {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: grid;
    gap: 10px;
    max-width: 340px;
    margin-top: 2px;
    padding: 2px 0 2px 18px;
    color: var(--cg-gunmetal);
    background: transparent;
    border-top: 0;
    border-left: 1px solid rgba(109, 130, 150, 0.28);
  }

  .service-hero-split > .hero-actions {
    grid-column: 1;
  }

  .service-hero-summary p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .service-hero-summary ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .service-hero-summary li {
    padding: 5px 9px;
    color: var(--cg-midnight);
    background: rgba(250, 250, 253, 0.68);
    border: 1px solid rgba(196, 217, 226, 0.7);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
  }

  .service-layout .service-nav a:hover,
  .service-layout .service-nav a:focus-visible {
    color: var(--cg-peacock);
  }
}

@media (max-width: 1100px) {
  .page-hero.service-hero {
    display: grid;
    gap: 22px;
    max-width: 900px;
  }

  .service-hero-heading,
  .service-hero-main {
    min-width: 0;
  }

  .service-hero-split {
    display: grid;
    gap: 16px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
  }

  .service-hero-summary {
    padding: 12px 0 0;
    color: var(--cg-gunmetal);
    background: transparent;
    border-top: 1px solid rgba(6, 96, 106, 0.22);
    border-left: 0;
  }

  .service-hero-summary p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .service-hero-summary ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .service-hero-summary li {
    padding: 5px 9px;
    color: var(--cg-midnight);
    background: rgba(250, 250, 253, 0.72);
    border: 1px solid rgba(196, 217, 226, 0.72);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
  }

  .service-layout .service-nav {
    display: none;
  }
}

/* Cards and content blocks */
.hero-panel,
.card,
.proof-card,
.content-block,
.form-card,
.offer-card,
.process-panel,
.process-item,
.process-trigger,
.faq-item,
.contact-topic-card,
.diagnostic-card,
.case-change-list article,
.case-meta-strip,
.selected-outcome-card,
.case-study-card,
.final-cta-card,
.legal-page {
  background-color: rgba(250, 250, 253, 0.82);
  border-color: rgba(196, 217, 226, 0.62);
  box-shadow: 0 8px 18px rgba(2, 36, 63, 0.035);
}

.content-block,
.proof-card,
.form-card,
.offer-card,
.faq-item,
.contact-topic-card,
.diagnostic-card,
.case-change-list article,
.case-meta-strip {
  border-left-color: rgba(6, 96, 106, 0.34);
}

.card,
.content-block,
.proof-card,
.offer-card,
.form-card {
  padding: 20px;
}

.diagnostic-card,
.case-change-list article {
  background-color: rgba(250, 250, 253, 0.72);
  box-shadow: none;
}

.final-cta-card {
  background-color: rgba(250, 250, 253, 0.84);
  border-color: rgba(6, 96, 106, 0.3);
  border-left-color: rgba(6, 96, 106, 0.68);
  box-shadow: 0 12px 26px rgba(2, 36, 63, 0.055);
}

.form-card input,
.form-card select,
.form-card textarea {
  background-color: rgba(250, 250, 253, 0.98);
  border-color: rgba(109, 130, 150, 0.58);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: var(--cg-cerulean);
  outline-color: rgba(24, 112, 140, 0.22);
}

.contact-topic-card {
  background-color: rgba(250, 250, 253, 0.74);
  border-color: rgba(196, 217, 226, 0.74);
  border-left-color: rgba(6, 96, 106, 0.42);
}

.contact-topic-card:hover,
.contact-topic-card:focus-visible {
  background-color: rgba(250, 250, 253, 0.94);
  border-color: rgba(6, 96, 106, 0.7);
  box-shadow: 0 8px 18px rgba(2, 36, 63, 0.055);
}

.contact-topic-card.is-selected {
  background-color: rgba(196, 217, 226, 0.3);
  border-color: var(--cg-peacock);
  border-left-color: var(--cg-peacock);
  box-shadow: inset 0 0 0 1px rgba(6, 96, 106, 0.34);
}

.case-study-card {
  background-color: rgba(250, 250, 253, 0.9);
  border-left: 4px solid rgba(6, 96, 106, 0.62);
}

.selected-outcome-card {
  background-color: rgba(250, 250, 253, 0.74);
  border-left-color: rgba(6, 96, 106, 0.34);
}

.capability-tags span,
.chip-row span,
.chip-row a {
  background-color: rgba(250, 250, 253, 0.78);
  border-color: rgba(196, 217, 226, 0.72);
}

.contact-supporting-sections {
  grid-template-columns: 1fr;
}

.service-layout .content-block > p,
.service-layout .content-block > ul,
.service-layout .content-block > ol,
.service-layout .content-block .check-list,
.service-layout .content-block .step-list {
  max-width: 820px;
}

.service-layout .content-block#outcomes .check-list,
.service-layout .diagnostic-options .check-list {
  max-width: none;
}

.dropdown-panel,
.resources-panel,
.pathway-panel {
  border-color: rgba(196, 217, 226, 0.68);
  box-shadow: 0 12px 26px rgba(2, 36, 63, 0.06);
}

