:root {
  --paper: #f2f0e9;
  --paper-deep: #e9e6de;
  --ink: #121a24;
  --ink-soft: #34414e;
  --petrol: #006b80;
  --petrol-deep: #00576a;
  --petrol-surface: #006b80;
  --petrol-surface-deep: #00576a;
  --ice: #8fcbd7;
  --rust: #c66b2b;
  --white: #fbfaf6;
  --line: rgba(18, 26, 36, 0.18);
  --line-strong: rgba(18, 26, 36, 0.34);
  --line-dark: rgba(251, 250, 246, 0.17);
  --header-h: 86px;
  --shell: min(calc(100% - 64px), 1480px);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10161c;
  --paper-deep: #161e25;
  --ink: #edf1ef;
  --ink-soft: #aeb9bd;
  --petrol: #31a7b8;
  --petrol-deep: #238695;
  --petrol-surface: #0d5b6b;
  --petrol-surface-deep: #0a4a57;
  --ice: #8fcbd7;
  --line: rgba(237, 241, 239, 0.16);
  --line-strong: rgba(237, 241, 239, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 220ms ease, color 220ms ease;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--petrol-surface);
  color: var(--white);
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

p,
h1,
h2,
h3,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.site-shell {
  width: var(--shell);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 11px 16px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
  font: 600 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  border-color: var(--line);
  background: rgba(242, 240, 233, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(350px, 1fr);
  align-items: center;
  gap: 22px;
}

.brand {
  width: 235px;
}

.brand img {
  width: 100%;
  height: auto;
}

.brand-mark {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font: 600 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.desktop-nav a,
.site-footer nav a,
.header-cta,
.header-contact,
.text-link {
  position: relative;
}

.text-arrow,
a > span[aria-hidden="true"],
button > span[aria-hidden="true"] {
  font-family: Arial, Helvetica, sans-serif;
  font-style: normal;
  font-variant-emoji: text;
  font-weight: 400;
}

.desktop-nav a::after,
.site-footer nav a::after,
.header-cta::after,
.text-link::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.site-footer nav a:hover::after,
.site-footer nav a:focus-visible::after,
.header-cta:hover::after,
.header-cta:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  right: 0;
}

.header-cta {
  justify-self: end;
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font: 650 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.header-assessment {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  background: var(--petrol-surface);
  color: var(--white);
}

.header-assessment::after {
  display: none;
}

.header-assessment:hover,
.header-assessment:focus-visible {
  background: var(--petrol-surface-deep);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions .header-cta {
  order: 1;
}

.header-actions .theme-toggle {
  order: 2;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: 600 11.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-toggle-track {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 17px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.theme-toggle-track i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 180ms ease, background-color 180ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-track i {
  transform: translateX(15px);
  background: var(--petrol-surface);
}

.theme-toggle-mobile {
  display: none;
}

html[data-theme="dark"] .site-header.is-scrolled,
html[data-theme="dark"] .site-header.menu-visible,
html[data-theme="dark"] .contact-page .site-header:not(.is-scrolled):not(.menu-visible),
html[data-theme="dark"] .journey-page .site-header:not(.is-scrolled):not(.menu-visible),
html[data-theme="dark"] .assessment-page .site-header:not(.is-scrolled):not(.menu-visible),
html[data-theme="dark"] .legal-page .site-header:not(.is-scrolled):not(.menu-visible) {
  background: rgba(16, 22, 28, 0.94);
}

html[data-theme="dark"] .brand img {
  filter: invert(1) grayscale(1) brightness(1.8);
}

html[data-theme="dark"] .principle,
html[data-theme="dark"] .contact,
html[data-theme="dark"] .contact-hero-intake,
html[data-theme="dark"] .process-depth,
html[data-theme="dark"] .site-footer {
  background: #080e13;
}

html[data-theme="dark"] .button-dark {
  background: #edf1ef;
  color: #10161c;
}

html[data-theme="dark"] .button-dark:hover,
html[data-theme="dark"] .button-dark:focus-visible {
  background: var(--petrol-surface);
  color: var(--white);
}

/* Components with deliberately light or dark surfaces keep their own
   contrast in dark mode instead of inheriting the reversed page tokens. */
html[data-theme="dark"] .button-light {
  background: #edf1ef;
  color: #10161c;
}

html[data-theme="dark"] .button-light:hover,
html[data-theme="dark"] .button-light:focus-visible {
  border-color: var(--ice);
  background: var(--ice);
  color: #10161c;
}

html[data-theme="dark"] .intake-panel {
  background: #080e13;
  color: #fbfaf6;
}

html[data-theme="dark"] .intake-panel-workflow {
  background: var(--petrol-surface);
}

html[data-theme="dark"] .intake-panel .form-field input,
html[data-theme="dark"] .intake-panel .form-field textarea,
html[data-theme="dark"] .intake-panel .form-field select,
html[data-theme="dark"] .intake-panel .service-search input,
html[data-theme="dark"] .intake-panel .custom-service input {
  color: #fbfaf6;
}

html[data-theme="dark"] .intake-panel .service-options button,
html[data-theme="dark"] .intake-panel .selected-services button,
html[data-theme="dark"] .intake-panel .service-empty button {
  color: #fbfaf6;
}

html[data-theme="dark"] .intake-panel .service-options button:hover,
html[data-theme="dark"] .intake-panel .service-options button.is-selected,
html[data-theme="dark"] .intake-panel .custom-service button {
  color: #10161c;
}

html[data-theme="dark"] .capacity-model {
  border-color: rgba(237, 241, 239, 0.28);
  background: #0b1218;
  color: #edf1ef;
}

html[data-theme="dark"] .capacity-model-head,
html[data-theme="dark"] .capacity-model-foot,
html[data-theme="dark"] .capacity-inputs {
  border-color: rgba(237, 241, 239, 0.16);
}

html[data-theme="dark"] .capacity-model-head span,
html[data-theme="dark"] .capacity-inputs label,
html[data-theme="dark"] .input-with-prefix > span,
html[data-theme="dark"] .capacity-results > span,
html[data-theme="dark"] .capacity-results dt,
html[data-theme="dark"] .capacity-model-foot p {
  color: #aeb9bd;
}

html[data-theme="dark"] .capacity-inputs input[type="number"],
html[data-theme="dark"] .input-with-prefix {
  border-color: rgba(237, 241, 239, 0.2);
  background: #121a22;
  color: #edf1ef;
}

html[data-theme="dark"] .capacity-results {
  background: #151f27;
}

html[data-theme="dark"] .capacity-results dl div {
  border-color: rgba(237, 241, 239, 0.28);
}

html[data-theme="dark"] .process-tabs button[aria-selected="true"] {
  background: #edf1ef;
  color: #10161c;
}

html[data-theme="dark"] .process-tabs button[aria-selected="true"] span {
  color: #006b80;
}

html[data-theme="dark"] .footer-brand img {
  filter: none;
}

.header-cta span,
.button span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 170ms ease;
}

.header-cta:hover span,
.header-cta:focus-visible span,
.button:hover span,
.button:focus-visible span {
  transform: translate(3px, -3px);
}

.menu-toggle,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: var(--header-h);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: calc(100svh - var(--header-h) - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(52px, 8vw, 132px);
  padding-block: clamp(88px, 11vh, 140px) 66px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: none;
}

.eyebrow,
.micro-label {
  font: 650 12px/1.25 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.065em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(30px, 4.2vh, 48px);
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
}

.eyebrow-light {
  color: var(--ice);
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(76px, 7.65vw, 122px);
  font-weight: 400;
  line-height: 0.83;
  letter-spacing: -0.071em;
}

.hero h1 em,
.principle h2 em {
  color: var(--petrol);
  font-style: normal;
}

.hero-intro {
  max-width: 790px;
  margin-top: clamp(46px, 6.5vh, 70px);
  color: var(--ink-soft);
  font-size: clamp(19px, 1.45vw, 23px);
  line-height: 1.42;
  letter-spacing: -0.018em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 46px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.055em;
  cursor: pointer;
  transition: background-color 170ms ease, color 170ms ease, border-color 170ms ease;
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--petrol-surface);
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--ice);
  background: var(--ice);
}

.text-link {
  font: 700 12px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.hero-signature {
  position: relative;
  justify-self: end;
  width: min(100%, 400px);
  aspect-ratio: 0.82;
  border: 1px solid var(--line);
  animation: none;
}

.brain-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-brain {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72%;
  transform: translate(-50%, -50%);
}

.hero-mark-fallback {
  transition: opacity 240ms ease;
}

.hero-signature.is-brain-ready .hero-mark-fallback {
  opacity: 0;
}

.signature-axis {
  position: absolute;
  z-index: 2;
  display: block;
  background: var(--line);
}

.signature-axis-x {
  top: 50%;
  right: -9px;
  left: 0;
  height: 1px;
}

.signature-axis-x::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 0;
  width: 1px;
  height: 17px;
  background: var(--rust);
}

.signature-axis-y {
  top: -9px;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.signature-axis-y::before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 17px;
  height: 1px;
  background: var(--rust);
}

.signature-label {
  position: absolute;
  z-index: 3;
  padding: 3px;
  background: var(--paper);
  font: 500 11.5px/1 var(--mono);
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.signature-label-top {
  top: 21px;
  left: 20px;
}

.signature-label-bottom {
  right: auto;
  bottom: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  min-width: max-content;
  padding: 7px 12px;
  transform: translateX(-50%);
  text-align: center;
  white-space: normal;
}

.signature-label-bottom span {
  color: var(--ink-soft);
  font: 500 11.5px/1.2 var(--sans);
  letter-spacing: 0.015em;
}

.signature-label-bottom strong {
  color: var(--petrol);
  font: 500 14px/1.15 var(--sans);
  letter-spacing: -0.018em;
}

.hero-footer {
  min-height: 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid var(--line);
}

.hero-footer p {
  padding-right: 28px;
  font: 500 12px/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-footer p + p {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.hero-footer-statement {
  grid-template-columns: 1fr;
}

.hero-footer-statement p {
  max-width: none;
  padding: 22px 0;
  color: var(--ink-soft);
  font: 400 clamp(15px, 1.15vw, 19px)/1.4 var(--sans);
  text-transform: none;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.section {
  padding-block: clamp(120px, 12vw, 190px);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4.4vw, 72px);
}

.section-grid-full {
  grid-template-columns: minmax(0, 1fr);
}

.section-index {
  display: none;
  color: var(--petrol);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.eyebrow {
  display: none !important;
}

.section-index span {
  display: none;
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 1;
}

.section-index p {
  font-size: 13px;
  line-height: 1.25;
}

.section-content h2 {
  max-width: 1080px;
  font-size: clamp(56px, 5.5vw, 88px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.section-lead {
  max-width: 760px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.47;
  letter-spacing: -0.012em;
}

.gap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, 0.72fr);
  gap: clamp(48px, 8vw, 128px);
  margin-top: clamp(70px, 8vw, 118px);
}

.gap-copy > p {
  max-width: 770px;
  color: var(--ink-soft);
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.gap-copy > p:last-child {
  margin-top: 34px;
}

.large-copy {
  max-width: 770px;
  color: var(--ink-soft);
  font-size: clamp(23px, 2.25vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.solow-quote {
  align-self: end;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.solow-quote summary > p {
  color: var(--petrol);
  font-size: clamp(25px, 2.35vw, 38px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.038em;
}

.solow-quote summary > cite {
  display: block;
  margin-top: 24px;
  color: var(--ink-soft);
  font: 600 11.5px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.solow-quote summary {
  cursor: pointer;
  list-style: none;
}

.solow-quote summary::-webkit-details-marker {
  display: none;
}

.quote-expand-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font: 600 11.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quote-expand-label i {
  position: relative;
  width: 18px;
  height: 18px;
}

.quote-expand-label i::before,
.quote-expand-label i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.quote-expand-label i::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.solow-quote[open] .quote-expand-label i::after {
  transform: rotate(0deg);
}

.solow-quote[open] .quote-expand-label > span {
  font-size: 0;
}

.solow-quote[open] .quote-expand-label > span::after {
  content: "Close";
  font-size: 11.5px;
}

.quote-expansion {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.quote-expansion p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.quote-expansion p + p {
  margin-top: 20px;
}

.quote-expansion strong {
  color: var(--ink);
  font-weight: 600;
}

.gap-model {
  display: grid;
  grid-template-columns: 170px minmax(320px, 0.9fr) minmax(300px, 0.7fr);
  align-items: start;
  gap: clamp(30px, 5vw, 80px);
  margin-top: clamp(88px, 10vw, 148px);
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.gap-model .micro-label {
  padding-top: 7px;
  color: var(--petrol);
}

.gap-model h3 {
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.048em;
}

.gap-model > p:last-child {
  padding-top: 6px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.capability-line {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: clamp(58px, 7vw, 96px);
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.capability-line span {
  font: 600 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.capability-line span:not(:first-child) {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.section-method {
  background: var(--paper-deep);
}

.method-list {
  margin-top: clamp(70px, 8vw, 112px);
  border-top: 1px solid var(--ink);
}

.method-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.36fr);
  gap: 28px;
  padding-block: 36px;
  border-bottom: 1px solid var(--line-strong);
}

.method-number {
  display: none;
  padding-top: 7px;
  color: var(--petrol);
  font: 600 11px/1 var(--mono);
}

.method-main {
  max-width: 720px;
}

.method-main h3 {
  margin-bottom: 13px;
  font-size: clamp(28px, 2.4vw, 39px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.method-main p,
.method-output > p:last-child {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.method-output {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.method-output .micro-label {
  margin-bottom: 14px;
  color: var(--petrol);
}

.principle {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 10vw, 150px);
  background: var(--ink);
  color: var(--white);
}

.principle::before,
.principle::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(143, 203, 215, 0.055);
  border-radius: 50%;
  pointer-events: none;
}

.principle::before {
  width: 540px;
  height: 540px;
  top: -250px;
  right: -190px;
}

.principle::after {
  width: 350px;
  height: 350px;
  top: -155px;
  right: -95px;
}

.security-panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1.58fr);
  align-items: start;
  gap: clamp(48px, 8vw, 128px);
}

.security-panel-grid > .eyebrow {
  padding-top: 12px;
}

.principle h2 {
  max-width: 900px;
  font-size: clamp(64px, 6.4vw, 102px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.security-panel-copy > p {
  max-width: 690px;
  margin-top: clamp(38px, 4vw, 56px);
  color: rgba(251, 250, 246, 0.68);
  font-size: 18px;
  line-height: 1.55;
}

.security-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(143, 203, 215, 0.55);
  color: var(--ice);
  font: 600 11px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.055em;
  transition: border-color 180ms ease, color 180ms ease;
}

.security-link:hover,
.security-link:focus-visible {
  color: var(--white);
  border-color: var(--white);
}

.process {
  margin-top: clamp(68px, 8vw, 112px);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.process-tabs {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  overflow-x: auto;
  border-bottom: 1px solid var(--line-strong);
  scrollbar-width: thin;
  scrollbar-color: var(--petrol) transparent;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.process-tabs button {
  min-width: 95px;
  min-height: 64px;
  padding: 18px 10px 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font: 600 11.5px/1.2 var(--mono);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
  scroll-snap-align: start;
}

.process-tabs button:last-child {
  border-right: 0;
}

.process-tabs button span {
  display: block;
  margin-bottom: 11px;
  color: var(--petrol);
}

.process-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--white);
}

.process-tabs button[aria-selected="true"] span {
  color: var(--ice);
}

.process-panel {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.45fr);
  column-gap: clamp(50px, 8vw, 130px);
  align-content: center;
  padding: clamp(46px, 6vw, 86px);
}

.process-panel .micro-label {
  grid-column: 1 / -1;
  margin-bottom: 20px;
  color: var(--petrol);
}

.process-panel h3 {
  max-width: 700px;
  font-size: clamp(37px, 3.8vw, 62px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.process-panel > p[data-process-body] {
  max-width: 690px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.process-output {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.process-output span {
  margin-bottom: 14px;
  color: var(--petrol);
  font: 650 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.process-output strong {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.noscript-process {
  margin-top: 68px;
  border-top: 1px solid var(--line-strong);
}

.noscript-process article {
  display: grid;
  grid-template-columns: minmax(130px, .35fr) minmax(0, 1fr);
  gap: 30px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.noscript-process strong {
  color: var(--petrol);
  font-size: 16px;
  font-weight: 600;
}

.noscript-process span {
  color: var(--ink-soft);
  font-size: 16px;
}

.start-statement {
  max-width: 950px;
  margin-top: 38px;
  color: var(--petrol);
  font-size: clamp(29px, 3.2vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.calculator-link {
  display: inline-flex;
  margin-top: 34px;
  padding-block: 12px;
  color: var(--petrol);
}

.start-grid {
  display: grid;
  grid-template-columns: minmax(270px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(60px, 11vw, 180px);
  margin-top: clamp(82px, 9vw, 132px);
}

.fit-list {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.fit-list .micro-label {
  margin-bottom: 24px;
  color: var(--petrol);
}

.fit-list ul {
  list-style: none;
}

.fit-list li {
  position: relative;
  padding: 10px 0 10px 25px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}

.fit-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--petrol);
  font-family: var(--mono);
}

.start-callout {
  align-self: end;
}

.start-callout > p {
  max-width: 650px;
  font-size: clamp(31px, 3.6vw, 58px);
  line-height: 0.99;
  letter-spacing: -0.05em;
}

.start-callout > strong {
  display: block;
  max-width: 650px;
  color: var(--petrol);
  font-size: clamp(31px, 3.6vw, 58px);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.05em;
}

.work-types {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 38px;
}

.work-types span {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  font: 600 11.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-control {
  border-bottom-color: rgba(251, 250, 246, 0.22);
  background: var(--petrol-surface);
  color: var(--white);
}

.section-index-light {
  color: var(--ice);
}

.section-control .section-lead {
  color: rgba(251, 250, 246, 0.73);
}

.control-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(74px, 8vw, 112px);
  border-top: 1px solid rgba(251, 250, 246, 0.48);
}

.control-list article {
  min-height: 235px;
  padding: 28px 34px 32px 0;
  border-bottom: 1px solid rgba(251, 250, 246, 0.25);
}

.control-list article:nth-child(even) {
  padding-left: 34px;
  border-left: 1px solid rgba(251, 250, 246, 0.25);
}

.control-list article > span {
  display: none;
  margin-bottom: 48px;
  color: var(--ice);
  font: 600 11px/1 var(--mono);
}

.control-list h3 {
  margin-bottom: 10px;
  font-size: clamp(25px, 2.25vw, 36px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.control-list p {
  max-width: 440px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 15px;
  line-height: 1.5;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.55fr);
  gap: clamp(60px, 10vw, 160px);
  margin-top: clamp(72px, 8vw, 115px);
}

.founder-list {
  display: grid;
  gap: 28px;
  align-self: end;
}

.founder-list > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 1.2fr;
  gap: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line-strong);
}

.founder-list p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.founder-list .founder-name {
  color: var(--ink);
  font: 650 12px/1.35 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.section-company blockquote {
  max-width: 980px;
  margin-top: clamp(78px, 9vw, 138px);
  padding-top: 34px;
  border-top: 1px solid var(--ink);
  color: var(--petrol);
  font-size: clamp(31px, 3.7vw, 59px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.047em;
}

.contact {
  padding-block: clamp(120px, 11vw, 180px);
  background: var(--ink);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: clamp(70px, 11vw, 170px);
}

.contact-cta-grid {
  align-items: end;
}

.contact-cta-action {
  max-width: 520px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.contact-cta-action p {
  margin-bottom: 34px;
  color: rgba(251, 250, 246, 0.68);
  font-size: 18px;
  line-height: 1.5;
}

.contact-copy h2 {
  max-width: 710px;
  font-size: clamp(60px, 6vw, 96px);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.contact-copy > p:not(.eyebrow):not(.contact-note) {
  max-width: 610px;
  margin-top: 42px;
  color: rgba(251, 250, 246, 0.88);
  font-size: 19px;
  line-height: 1.48;
}

.contact-note {
  margin-top: 26px;
  color: var(--ice);
  font: 600 11px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-form {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 24px;
}

.form-field {
  display: grid;
  gap: 11px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(251, 250, 246, 0.94);
  font: 600 12px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-field label span {
  color: rgba(251, 250, 246, 0.7);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(251, 250, 246, 0.33);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-size: 17px;
  line-height: 1.45;
  transition: border-color 160ms ease;
}

.form-field input {
  min-height: 50px;
}

.form-field textarea {
  min-height: 146px;
  padding: 13px 0;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(251, 250, 246, 0.58);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--ice);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  justify-self: start;
  margin-top: 9px;
}

.form-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.form-status {
  align-self: center;
  min-height: 21px;
  color: var(--ice);
  font: 500 12px/1.45 var(--mono);
}

.form-status.is-error {
  color: #f0a785;
}

.contact-page .site-header:not(.is-scrolled):not(.menu-visible) {
  background: var(--paper);
}

.contact-hero {
  padding: calc(var(--header-h) + clamp(84px, 9vw, 138px)) 0 clamp(94px, 10vw, 154px);
  border-bottom: 1px solid var(--line);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.76fr) minmax(560px, 1.24fr);
  align-items: stretch;
  gap: clamp(48px, 7vw, 110px);
}

.contact-hero h1 {
  max-width: 920px;
  font-size: clamp(76px, 8.5vw, 136px);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.07em;
}

.contact-hero-intro {
  align-self: center;
}

.contact-hero-intro > p:not(.eyebrow):not(.contact-required) {
  max-width: 610px;
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
}

.contact-hero-intro .contact-required {
  margin-top: 25px;
  color: var(--petrol);
  font: 600 11.5px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-hero-intake {
  padding: clamp(34px, 4.2vw, 66px);
  background: var(--ink);
  color: var(--white);
}

.contact-hero-intake h2 {
  max-width: 590px;
  margin: 28px 0 48px;
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.contact-hero-intake .contact-form {
  align-self: auto;
}

.contact-hero-intake .form-field textarea {
  min-height: 116px;
}

.contact-hero-copy {
  padding-top: 25px;
  border-top: 1px solid var(--line-strong);
}

.contact-hero-copy p {
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.48;
}

.contact-hero-copy .text-link {
  display: inline-block;
  margin-top: 36px;
  color: var(--petrol);
}

.contact-hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 48px;
  margin-bottom: clamp(58px, 7vw, 104px);
}

.contact-hero-heading .eyebrow { grid-column: 1 / -1; }
.contact-hero-heading h1 { max-width: 1000px; }
.contact-hero-heading > p:last-child {
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
}

.intake-shell { max-width: 1320px; }
.intake-mode {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line-dark);
  border-bottom: 0;
}
.intake-mode button {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 0;
  border-right: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ink);
  font: 600 11px/1.3 var(--mono);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
}
.intake-mode button:last-child { border-right: 0; }
.intake-mode button span { opacity: .5; }
.intake-mode button strong { font: inherit; }
.intake-mode button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.intake-mode button[data-intake-mode="guided"][aria-selected="true"] { background: var(--petrol-surface); }

.intake-panel {
  min-height: 690px;
  padding: clamp(34px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
  scroll-margin-top: calc(var(--header-h) + 18px);
}
.intake-panel-workflow { background: var(--petrol-surface); }
.intake-panel-message { background: var(--ink); }
.intake-panel[hidden] { display: none; }
.intake-panel > form { max-width: 980px; }
.intake-progress { margin-bottom: 54px; color: var(--ice); font: 600 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.intake-progress div { height: 1px; margin-top: 13px; background: rgba(251,250,246,.18); }
.intake-progress i { display: block; height: 1px; background: var(--ice); transition: width 240ms ease; }
.intake-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.intake-step[hidden] { display: none; }
.intake-step legend { max-width: 760px; margin-bottom: 14px; color: var(--white); font-size: clamp(38px, 4.5vw, 66px); line-height: .98; letter-spacing: -.045em; }
.intake-step legend span { display: block; margin-bottom: 20px; color: var(--ice); font: 600 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.step-explainer { max-width: 650px; margin-bottom: 48px; color: rgba(251, 250, 246, 0.86); font-size: 16px; line-height: 1.55; }
.form-field select {
  width: 100%; min-height: 50px; border: 0; border-bottom: 1px solid rgba(251,250,246,.33); border-radius: 0;
  outline: 0; background: transparent; color: var(--white); font: inherit;
}
.form-field select option { color: #101820; background: #fff; }
.form-field small { color: rgba(251,250,246,.8); font: 500 11.5px/1.45 var(--mono); }
.intake-actions { display: flex; align-items: center; gap: 24px; margin-top: 48px; }
.intake-actions [hidden] { display: none !important; }
.intake-actions .button { margin-top: 0; }
.text-button { border: 0; background: transparent; color: rgba(251,250,246,.7); font: 600 11px/1.2 var(--mono); text-transform: uppercase; cursor: pointer; }
.consultation-note { max-width: 740px; margin-top: 34px; padding: 22px 0; border-top: 1px solid rgba(251,250,246,.22); border-bottom: 1px solid rgba(251,250,246,.22); }
.consultation-note strong { color: var(--ice); font: 600 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.consultation-note p { margin-top: 9px; color: rgba(251,250,246,.7); font-size: 15px; line-height: 1.5; }
.service-search { display: grid; gap: 12px; color: rgba(251,250,246,.72); font: 600 11px/1.2 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.service-search input { width: 100%; min-height: 56px; padding: 0 17px; border: 1px solid rgba(251,250,246,.3); background: transparent; color: white; font: 400 17px/1.4 var(--sans); }
.service-search input::placeholder { color: rgba(251,250,246,.34); }
.service-suggestion-label, .selected-services > p { margin: 28px 0 13px; color: rgba(251,250,246,.48); font: 600 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.service-options, .selected-services > div { display: flex; flex-wrap: wrap; gap: 9px; }
.service-options button, .selected-services button, .service-empty button { padding: 10px 13px; border: 1px solid rgba(251,250,246,.28); background: transparent; color: var(--white); font: 500 12px/1.2 var(--mono); cursor: pointer; }
.service-options button:hover, .service-options button.is-selected { border-color: var(--ice); background: var(--ice); color: var(--ink); }
.selected-services button { border-color: var(--ice); color: var(--ice); }
.service-empty { padding: 24px 0; color: rgba(251,250,246,.62); }
.service-empty button { margin-top: 13px; border-color: var(--ice); color: var(--ice); }
.custom-service { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(251,250,246,.18); }
.custom-service > label { display: block; margin-bottom: 12px; color: rgba(251,250,246,.62); font: 600 11.5px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.custom-service > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.custom-service input { min-width: 0; min-height: 48px; padding: 0 14px; border: 1px solid rgba(251,250,246,.3); background: transparent; color: var(--white); font: 400 15px/1.4 var(--sans); }
.custom-service button { padding: 0 22px; border: 1px solid var(--ice); background: var(--ice); color: var(--ink); font: 600 11px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.quick-intake-copy { max-width: 660px; margin-bottom: 48px; }
.quick-intake-copy h2 { margin: 24px 0 18px; font-size: clamp(42px, 5vw, 72px); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.quick-intake-copy > p:last-child { color: rgba(251,250,246,.62); }
.form-status strong { display: block; margin-bottom: 4px; color: var(--white); }

html[data-theme="dark"] .intake-mode { border-color: var(--line); }
html[data-theme="dark"] .intake-mode button { color: var(--white); border-color: var(--line); }
html[data-theme="dark"] .intake-mode button[aria-selected="true"] { background: #080e13; }
html[data-theme="dark"] .intake-mode button[data-intake-mode="guided"][aria-selected="true"] { background: var(--petrol-surface); }

.problem-hero h1 {
  max-width: 820px;
  font-size: clamp(56px, 5.5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.problem-hero-side {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr);
  gap: clamp(36px, 4.5vw, 72px);
  min-width: 0;
}

.problem-animation {
  position: relative;
  width: 106%;
  margin-top: -90px;
  margin-left: 3%;
  min-height: 340px;
  overflow: hidden;
  pointer-events: none;
}

.problem-hero .contact-hero-copy .text-link {
  position: relative;
  z-index: 2;
  padding: 8px 0;
}

.problem-animation canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

.problem-animation img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(82px, 9.2vw, 146px);
  height: auto;
  opacity: var(--chaos-logo-opacity, 0);
  transform: translate(-50%, -50%) scale(var(--chaos-logo-scale, 0.72));
  transition: filter 220ms ease;
  will-change: opacity, transform;
}

[data-theme="dark"] .problem-animation img {
  filter: brightness(0) invert(1);
}

.problem-page .section-gap {
  background: var(--paper-deep);
}

.journey-page .site-header:not(.is-scrolled):not(.menu-visible) {
  background: var(--paper);
}

.journey-hero {
  padding: calc(var(--header-h) + clamp(84px, 9vw, 138px)) 0 0;
  border-bottom: 1px solid var(--line);
}

.journey-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  align-items: end;
  gap: clamp(60px, 9vw, 145px);
  padding-bottom: clamp(82px, 9vw, 138px);
}

.journey-hero h1 {
  max-width: 980px;
  font-size: clamp(64px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.journey-hero-aside {
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.journey-hero-aside > p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.5;
}

.journey-hero-aside .journey-hero-statement {
  margin-bottom: 18px;
  color: var(--petrol);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.journey-hero-aside .text-link {
  display: inline-block;
  margin-top: 34px;
  color: var(--petrol);
}

.journey-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 88px;
  border-top: 1px solid var(--line);
}

.journey-metrics span {
  display: flex;
  align-items: center;
  font: 600 11px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.journey-metrics span + span {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.journey-section {
  padding-block: clamp(112px, 11vw, 174px);
  border-bottom: 1px solid var(--line);
}

.journey-section h2,
.journey-outcome h2 {
  max-width: 1050px;
  font-size: clamp(54px, 5.2vw, 84px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(72px, 8vw, 116px);
  border-top: 1px solid var(--ink);
}

.division-grid article {
  padding: 32px clamp(28px, 4vw, 68px) 46px 0;
}

.division-grid article + article {
  padding-left: clamp(28px, 4vw, 68px);
  border-left: 1px solid var(--line-strong);
}

.division-index,
.responsibility-grid article > p,
.stage-label span {
  color: var(--petrol);
  font: 600 11px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.division-grid h3 {
  margin-top: 48px;
  font-size: clamp(36px, 3.4vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.division-grid article > p:not(.division-index) {
  max-width: 520px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
}

.division-grid ul,
.responsibility-grid ul,
.systems-grid ul {
  margin-top: 36px;
  list-style: none;
}

.division-grid li,
.responsibility-grid li,
.systems-grid li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.4;
}

.division-note {
  max-width: 920px;
  margin-top: 66px;
  color: var(--petrol);
  font-size: clamp(24px, 2.2vw, 35px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.process-depth {
  background: var(--ink);
  color: var(--white);
}

.process-depth-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  align-items: end;
  gap: clamp(50px, 9vw, 140px);
}

.process-depth-heading > p {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  color: rgba(251, 250, 246, 0.64);
  font-size: 18px;
  line-height: 1.5;
}

.journey-stages {
  margin-top: clamp(78px, 9vw, 132px);
}

.stage-label {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 28px 0 18px;
  border-top: 1px solid var(--line-dark);
}

.stage-label span {
  color: var(--ice);
}

.stage-label strong {
  font: 600 11px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-accordion {
  margin-bottom: 70px;
}

.step-accordion details {
  border-top: 1px solid rgba(251, 250, 246, 0.19);
}

.step-accordion details:last-child {
  border-bottom: 1px solid rgba(251, 250, 246, 0.19);
}

.step-accordion summary {
  display: grid;
  grid-template-columns: 80px minmax(180px, 1fr) minmax(190px, 0.5fr) 30px;
  align-items: center;
  gap: 24px;
  padding: 27px 0;
  cursor: pointer;
  list-style: none;
}

.step-accordion summary::-webkit-details-marker {
  display: none;
}

.step-no,
.step-stage,
.step-body h4 {
  font: 600 11.5px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-no {
  color: var(--ice);
}

.step-name {
  font-size: clamp(28px, 2.8vw, 43px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.step-stage {
  color: rgba(251, 250, 246, 0.45);
}

.step-toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

.step-toggle::before,
.step-toggle::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 4px;
  width: 16px;
  height: 1px;
  background: var(--white);
}

.step-toggle::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

details[open] .step-toggle::after {
  transform: rotate(0);
}

.step-body {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) repeat(2, minmax(220px, 0.7fr));
  gap: clamp(32px, 5vw, 74px);
  padding: 12px 54px 50px 104px;
}

.step-body h3 {
  max-width: 520px;
  font-size: clamp(28px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.step-body p,
.step-body li {
  color: rgba(251, 250, 246, 0.64);
  font-size: 15px;
  line-height: 1.55;
}

.step-body h3 + p {
  margin-top: 22px;
}

.step-body ul {
  margin-top: 18px;
  padding-left: 17px;
}

.step-body li + li {
  margin-top: 9px;
}

.step-body .step-gate {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(251, 250, 246, 0.19);
  color: var(--ice);
  font: 600 11.5px/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(72px, 8vw, 110px);
  border-top: 1px solid var(--ink);
}

.responsibility-grid article {
  padding: 28px clamp(30px, 5vw, 80px) 0 0;
}

.responsibility-grid article + article {
  padding-left: clamp(30px, 5vw, 80px);
  border-left: 1px solid var(--line-strong);
}

.measure-statement {
  max-width: 1060px;
  margin-top: 90px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
  color: var(--petrol);
  font-size: clamp(25px, 2.5vw, 39px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.systems-section {
  background: var(--petrol-surface);
  color: var(--white);
}

.systems-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: clamp(60px, 10vw, 160px);
}

.systems-grid > div:last-child {
  padding-top: 28px;
  border-top: 1px solid rgba(251, 250, 246, 0.42);
}

.systems-grid > div:last-child > p {
  font-size: 19px;
  line-height: 1.5;
}

.systems-grid li {
  border-color: rgba(251, 250, 246, 0.22);
}

.journey-outcome {
  padding-block: clamp(112px, 12vw, 190px);
}

.journey-outcome ol {
  max-width: 1070px;
  margin: 78px 0 54px;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.journey-outcome li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.journey-outcome li span {
  display: none;
  padding-top: 8px;
  color: var(--petrol);
  font: 600 11.5px/1 var(--mono);
  letter-spacing: 0.05em;
}

.capacity-section {
  padding-block: clamp(108px, 11vw, 170px);
  border-bottom: 1px solid var(--line);
}

.capacity-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(600px, 1.32fr);
  gap: clamp(60px, 8vw, 126px);
  align-items: start;
}

.capacity-intro h2 {
  max-width: 600px;
  font-size: clamp(52px, 5.3vw, 82px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.058em;
}

.capacity-intro > p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.52;
}

.capacity-criteria {
  margin-top: 54px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.capacity-criteria li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.capacity-criteria li > span {
  display: none;
  color: var(--petrol);
  font: 600 11.5px/1.5 var(--mono);
}

.capacity-criteria strong {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.capacity-criteria p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.capacity-model {
  border: 1px solid var(--line-strong);
  background: var(--white);
}

.capacity-model-head,
.capacity-model-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 24px;
}

.capacity-model-head {
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
}

.capacity-model-head p {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.capacity-model-head span {
  color: var(--ink-soft);
  font-size: 11.5px;
}

.capacity-model-head div span {
  display: block;
  margin-top: 5px;
}

.capacity-model-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
}

.capacity-inputs,
.capacity-results {
  padding: clamp(28px, 3vw, 46px);
}

.capacity-inputs {
  display: grid;
  gap: 26px;
  border-right: 1px solid var(--line);
}

.capacity-inputs label {
  display: grid;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.capacity-inputs input[type="number"] {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

.input-with-prefix {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--paper);
}

.input-with-prefix > span {
  text-align: center;
  color: var(--ink-soft);
}

.input-with-prefix input[type="number"] {
  border: 0;
  padding-left: 0;
}

.capacity-range-label {
  grid-template-columns: 1fr auto;
  margin-top: 4px;
}

.capacity-range-label output {
  color: var(--petrol);
  font: 700 12px/1.5 var(--mono);
}

.capacity-range-label input[type="range"] {
  grid-column: 1 / -1;
  width: 100%;
  accent-color: var(--petrol);
}

.capacity-results {
  display: flex;
  flex-direction: column;
  background: var(--paper-deep);
}

.capacity-results .micro-label {
  color: var(--petrol);
}

.capacity-results > strong {
  margin-top: 20px;
  color: var(--petrol);
  font-size: clamp(70px, 7vw, 112px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.capacity-results > span {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 13px;
}

.capacity-results dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: auto 0 0;
}

.capacity-results dl div {
  padding-top: 14px;
  border-top: 1px solid var(--line-strong);
}

.capacity-results dt {
  color: var(--ink-soft);
  font: 600 11.5px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.capacity-results dd {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 700;
}

.capacity-model-foot {
  border-top: 1px solid var(--line);
}

.capacity-model-foot p {
  max-width: 580px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.capacity-model-foot .button {
  flex: 0 0 auto;
}

.intake-section {
  scroll-margin-top: var(--header-h);
}

.site-footer {
  padding-block: 58px 42px;
  border-top: 1px solid var(--line-dark);
  background: var(--ink);
  color: rgba(251, 250, 246, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 48px;
}

.footer-grid-expanded {
  grid-template-columns: minmax(270px, 1.4fr) minmax(130px, .55fr) minmax(220px, .9fr) auto;
}

.footer-brand img {
  width: 210px;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.site-footer nav {
  display: flex;
  gap: 26px;
  color: var(--white);
  font: 600 11.5px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-grid-expanded nav {
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}

.footer-grid-expanded nav > p,
.footer-contact > p {
  margin-bottom: 7px;
  color: rgba(251, 250, 246, .42);
  font: 650 11.5px/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
  color: var(--white);
  font: 600 11.5px/1.25 var(--mono);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-contact a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
}

.footer-contact > div {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  color: rgba(251, 250, 246, .62);
}

.footer-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
  font: 500 11.5px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-grid-expanded .footer-meta {
  justify-self: end;
  align-items: flex-end;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.footer-meta a {
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 5px;
}

.contact-secondary-link,
.journey-contact-link {
  width: fit-content;
  display: flex;
  margin-top: 20px;
  padding-block: 10px;
  color: rgba(251, 250, 246, .7);
  font: 600 11px/1.35 var(--mono);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.assessment-hero {
  padding: calc(var(--header-h) + clamp(92px, 10vw, 154px)) 0 clamp(94px, 11vw, 170px);
  border-bottom: 1px solid var(--line);
}

.assessment-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  align-items: end;
  gap: clamp(60px, 10vw, 160px);
}

.assessment-hero h1 {
  max-width: 1020px;
  font-size: clamp(76px, 7.7vw, 126px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.assessment-intro {
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

.assessment-intro > p {
  color: var(--ink-soft);
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.48;
}

.assessment-intro .text-link {
  display: inline-flex;
  margin-top: 36px;
  padding-block: 10px;
  color: var(--petrol);
}

.assessment-output-list {
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line-strong);
}

.assessment-output-list article {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: 50px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.assessment-output-list h3 {
  font-size: clamp(27px, 2.4vw, 39px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.assessment-output-list p {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 17px;
}

.assessment-method {
  padding-block: clamp(90px, 11vw, 160px);
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.assessment-method-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: clamp(70px, 11vw, 170px);
}

.assessment-method h2 {
  max-width: 630px;
  font-size: clamp(52px, 5.5vw, 86px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.06em;
}

.assessment-method-grid > div > p {
  margin-top: 28px;
  color: var(--petrol);
  font-size: 17px;
}

.assessment-method ol {
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.assessment-method li {
  display: grid;
  grid-template-columns: minmax(170px, .55fr) minmax(0, 1fr);
  gap: 34px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.assessment-method li strong {
  font-size: 18px;
  font-weight: 500;
}

.assessment-method li span {
  color: var(--ink-soft);
}

.assessment-request {
  padding-block: clamp(94px, 11vw, 160px);
  background: #0b1218;
  color: #fbfaf6;
}

.assessment-request-grid {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: clamp(70px, 11vw, 170px);
}

.assessment-request h2 {
  max-width: 630px;
  font-size: clamp(54px, 5.5vw, 86px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.06em;
}

.assessment-request-grid > div > p:last-child {
  max-width: 560px;
  margin-top: 28px;
  color: rgba(251, 250, 246, .67);
  font-size: 17px;
}

.assessment-request form {
  max-width: 720px;
}

.assessment-request .form-field {
  margin-bottom: 30px;
}

.assessment-request .form-field label {
  color: rgba(251, 250, 246, .68);
}

.assessment-request .form-field input,
.assessment-request .form-field textarea {
  color: #fbfaf6;
}

.assessment-request .form-submit {
  margin-top: 10px;
}

.assessment-reassurance {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 250, 246, .17);
  color: rgba(251, 250, 246, .68);
  font-size: 14px;
}

.assessment-email-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ice);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.legal-content {
  max-width: 1040px;
  padding-top: calc(var(--header-h) + clamp(80px, 9vw, 140px));
  padding-bottom: clamp(100px, 12vw, 180px);
}

.legal-content h1 {
  max-width: 920px;
  font-size: clamp(68px, 7vw, 112px);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.068em;
  text-wrap: balance;
}

.legal-updated {
  margin: 40px 0 70px;
  color: var(--petrol);
  font: 650 11px/1.3 var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.legal-content section {
  display: grid;
  grid-template-columns: minmax(200px, .6fr) minmax(0, 1.4fr);
  gap: 50px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.legal-content section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.03em;
}

.legal-content section p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.legal-content section a {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes signature-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  :root {
    --shell: min(calc(100% - 44px), 1480px);
  }

  .site-header.menu-visible {
    height: 100svh;
    overflow: visible;
    backdrop-filter: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
  }

  .site-header.menu-visible .header-inner {
    height: var(--header-h);
  }

  .desktop-nav {
    display: none;
  }

  /* the CTA stays in the bar on small screens; the theme toggle moves to the menu */
  .header-actions {
    display: flex;
    gap: 0;
  }

  .header-actions .theme-toggle {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 27px;
    height: 1px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: absolute;
    inset: var(--header-h) 0 0;
    min-height: 0;
    display: flex;
    padding: 38px 22px 60px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
    background: var(--paper);
    flex-direction: column;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 16px 0 17px;
    border-bottom: 1px solid var(--line);
    font-size: clamp(27px, 5.2vw, 42px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.045em;
  }

  .mobile-menu a:last-child {
    margin-top: 18px;
    color: var(--petrol);
  }

  .mobile-menu .mobile-assessment {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding: 16px 18px;
    border-bottom: 0;
    background: var(--petrol-surface);
    color: var(--white);
    font-size: clamp(20px, 4.2vw, 28px);
  }

  .theme-toggle-mobile {
    display: flex;
    justify-content: flex-start;
    width: auto;
    margin: 28px 0 0;
    padding: 0;
    border: 0;
    font-size: 11px;
    gap: 10px;
  }

  .header-inner > .theme-toggle-mobile [data-theme-label] {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 54px;
  }

  .hero h1 {
    font-size: clamp(68px, 8.6vw, 104px);
  }

  .process-tabs {
    grid-template-columns: repeat(9, minmax(105px, 1fr));
  }

  .contact-grid {
    gap: 70px;
  }

  .capacity-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 72px;
    --shell: calc(100% - 34px);
  }

  .brand {
    width: 205px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 64px;
    padding-block: 92px 64px;
  }

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

  .hero h1 {
    max-width: 780px;
    font-size: clamp(64px, 13.1vw, 108px);
  }

  .assessment-hero-grid,
  .assessment-method-grid,
  .assessment-request-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .assessment-hero {
    padding-top: calc(var(--header-h) + 84px);
  }

  .assessment-hero h1 {
    font-size: clamp(64px, 13vw, 96px);
  }

  .assessment-intro {
    max-width: 680px;
  }

  .assessment-method-grid > div {
    max-width: 680px;
  }

  .legal-content section {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-intro {
    max-width: 690px;
  }

  .hero-signature {
    justify-self: start;
    width: min(72vw, 420px);
  }

  .hero-footer {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 23px;
  }

  .hero-footer p {
    padding: 10px 0;
  }

  .hero-footer p + p {
    padding-left: 0;
    border-left: 0;
  }

  .hero-footer-statement p {
    white-space: normal;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-index {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-index span,
  .section-index p {
    margin: 0;
  }

  .section-index span::after {
    content: "/";
    margin-left: 12px;
    color: currentColor;
  }

  .gap-layout,
  .start-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .contact-hero-copy {
    max-width: 650px;
  }

  .problem-hero-side {
    gap: 42px;
  }

  .problem-animation,
  .problem-animation canvas {
    min-height: 320px;
  }

  .problem-animation {
    width: 100%;
    margin-top: -32px;
    margin-left: 0;
  }

  .solow-quote {
    max-width: 420px;
  }

  .gap-model {
    grid-template-columns: 1fr 1fr;
  }

  .gap-model .micro-label {
    grid-column: 1 / -1;
  }

  .capability-line {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 24px;
  }

  .capability-line span:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }

  .method-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .method-output {
    grid-column: 1;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-panel {
    grid-template-columns: 1fr;
    min-height: 410px;
  }

  .process-output {
    grid-column: 1;
    grid-row: auto;
    margin-top: 36px;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .start-grid {
    gap: 70px;
  }

  .fit-list {
    max-width: 520px;
  }

  .founder-list {
    max-width: 520px;
  }

  .contact-form {
    max-width: 700px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid-expanded {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-grid-expanded .footer-meta {
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 580px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .brand {
    width: 38px;
  }

  .brand img:not(.brand-mark) {
    display: none;
  }

  .brand-mark {
    display: block;
  }

  .header-inner {
    gap: 10px;
  }

  .header-assessment {
    min-height: 40px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .hero-grid {
    padding-block: 76px 54px;
  }

  .eyebrow {
    margin-bottom: 28px;
    font-size: 11.5px;
  }

  .hero h1 {
    font-size: clamp(48px, 14.4vw, 66px);
    line-height: 0.9;
  }

  .hero-intro {
    margin-top: 38px;
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
    margin-top: 38px;
  }

  .hero-signature {
    width: min(100%, 360px);
  }

  .signature-label {
    font-size: 8px;
  }

  .signature-label-bottom {
    bottom: 12px;
    padding: 6px 9px;
  }

  .signature-label-bottom span {
    font-size: 11.5px;
  }

  .signature-label-bottom strong {
    font-size: 11px;
  }

  .section {
    padding-block: 96px;
  }

  .section-content h2 {
    font-size: clamp(46px, 13vw, 66px);
    line-height: 0.94;
  }

  .section-lead {
    font-size: 17px;
  }

  .gap-layout {
    margin-top: 58px;
    gap: 48px;
  }

  .gap-model {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 74px;
  }

  .gap-model .micro-label {
    grid-column: auto;
  }

  .gap-model > p:last-child {
    margin-top: 6px;
  }

  .large-copy {
    font-size: 24px;
  }

  .capability-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-line span:nth-child(3),
  .capability-line span:nth-child(5) {
    padding-left: 0;
    border-left: 0;
  }

  .capability-line span:nth-child(4) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .method-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 31px;
  }

  .method-number,
  .method-output {
    grid-column: 1;
  }

  .method-output {
    margin-top: 7px;
  }

  .principle {
    padding-block: 92px;
  }

  .security-panel-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .security-panel-grid > .eyebrow {
    padding-top: 0;
  }

  .principle h2 {
    font-size: clamp(56px, 15vw, 78px);
  }

  .security-panel-copy > p {
    font-size: 16px;
  }

  .process {
    margin-right: calc((100vw - var(--shell)) / -2);
  }

  .process-tabs {
    grid-template-columns: repeat(9, 112px);
  }

  .process-panel {
    padding: 40px 28px 45px 0;
  }

  .process-panel h3 {
    font-size: 39px;
  }

  .start-statement {
    font-size: 31px;
  }

  .start-callout > p,
  .start-callout > strong {
    font-size: 38px;
  }

  .control-list {
    grid-template-columns: 1fr;
  }

  .control-list article,
  .control-list article:nth-child(even) {
    min-height: 210px;
    padding: 25px 0 30px;
    border-left: 0;
  }

  .control-list article > span {
    margin-bottom: 38px;
  }

  .founder-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .section-company blockquote {
    font-size: 35px;
  }

  .contact {
    padding-block: 100px;
  }

  .contact-copy h2 {
    font-size: clamp(54px, 15vw, 78px);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding-top: calc(var(--header-h) + 72px);
  }

  .contact-hero h1 {
    font-size: clamp(60px, 17vw, 84px);
  }

  .contact-hero-heading { grid-template-columns: 1fr; gap: 28px; }
  .contact-hero-heading .eyebrow { grid-column: auto; }
  .intake-mode { grid-template-columns: 1fr; }
  .intake-mode button { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .intake-mode button:last-child { border-bottom: 0; }
  .intake-panel { min-height: 0; padding: 34px 22px 42px; }
  .intake-step legend { font-size: clamp(38px, 12vw, 54px); }
  .step-explainer { margin-bottom: 36px; }
  .intake-actions { justify-content: space-between; }
  .intake-actions .button { min-width: 0; }
  .custom-service > div { grid-template-columns: 1fr; }
  .custom-service button { min-height: 44px; }

  .problem-hero h1 {
    font-size: clamp(50px, 14vw, 70px);
    line-height: 0.96;
  }

  .problem-animation,
  .problem-animation canvas {
    min-height: 260px;
  }

  .problem-animation {
    margin-top: 0;
  }

  .capacity-section {
    padding-block: 94px;
  }

  .capacity-intro h2 {
    font-size: clamp(50px, 14vw, 68px);
  }

  .capacity-model-body {
    grid-template-columns: 1fr;
  }

  .capacity-inputs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capacity-results {
    min-height: 390px;
  }

  .capacity-results dl {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 54px;
  }

  .capacity-model-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-field-wide {
    grid-column: auto;
  }

  .form-submit,
  .form-status {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid-expanded {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .assessment-hero {
    padding-top: calc(var(--header-h) + 66px);
    padding-bottom: 88px;
  }

  .assessment-hero h1 {
    font-size: clamp(55px, 15vw, 72px);
    line-height: .92;
  }

  .assessment-output-list article,
  .assessment-method li {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .assessment-method h2,
  .assessment-request h2 {
    font-size: clamp(48px, 13vw, 66px);
  }

  .assessment-request-grid {
    gap: 50px;
  }

  .legal-content h1 {
    font-size: clamp(55px, 15vw, 74px);
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 18px 28px;
  }

  .footer-meta {
    justify-self: start;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1180px) {
  .journey-hero-grid,
  .process-depth-heading,
  .systems-grid {
    grid-template-columns: 1fr;
  }

  .journey-hero-aside,
  .process-depth-heading > p,
  .systems-grid > div:last-child {
    max-width: 680px;
  }
}

@media (max-width: 880px) {
  .journey-hero {
    padding-top: calc(var(--header-h) + 72px);
  }

  .journey-hero h1 {
    font-size: clamp(58px, 13vw, 92px);
    line-height: 0.94;
  }

  .journey-metrics,
  .division-grid,
  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .journey-metrics span {
    min-height: 54px;
    border-bottom: 1px solid var(--line);
  }

  .journey-metrics span + span,
  .division-grid article + article,
  .responsibility-grid article + article {
    padding-left: 0;
    border-left: 0;
  }

  .division-grid article + article,
  .responsibility-grid article + article {
    border-top: 1px solid var(--line-strong);
  }

  .step-accordion summary {
    grid-template-columns: 48px 1fr 28px;
    gap: 16px;
  }

  .step-stage {
    display: none;
  }

  .step-body {
    grid-template-columns: 1fr 1fr;
    padding: 12px 0 46px 64px;
  }

  .step-body > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .journey-hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .journey-section h2,
  .journey-outcome h2 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .stage-label {
    grid-template-columns: 78px 1fr;
  }

  .step-body {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .step-body > div:first-child {
    grid-column: auto;
  }

  .journey-outcome li {
    grid-template-columns: 44px 1fr;
  }
}

/* Prevent wide process controls from contributing intrinsic width to the page. */
.section-content,
.process,
.process-tabs,
.process-panel {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 580px) {
  .process {
    margin-right: 0;
  }

  .hero-signature {
    overflow: clip;
  }
}

/* Intake panels receive programmatic focus for positioning; never draw a ring around them */
.intake-panel:focus,
.intake-panel:focus-visible {
  outline: none;
}

/* Intake panel: kickers and the step counter read clearly on teal */
.intake-step legend span,
[data-progress-label] {
  color: rgba(251, 250, 246, 0.9);
}

/* Intake tab strip: no outer hairline (it poked out past the panel corners) */
.intake-mode {
  border: 0;
}

/* Founder profile links */
.founder-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--petrol);
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Security page: note under the four core controls */
.control-more {
  max-width: 66ch;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: rgba(251, 250, 246, 0.86);
  font-size: 16.5px;
  line-height: 1.55;
}

.control-more a {
  color: var(--ice);
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

/* Mission: Solow attribution in normal case */
.solow-quote cite,
.solow-quote cite a {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
}

.solow-quote summary cite {
  font-style: italic;
  text-decoration: none;
}

/* SMS for Small Businesses band (Home) */
.section-smb {
  border-bottom-color: rgba(251, 250, 246, 0.22);
  background: var(--petrol-surface);
  color: var(--white);
}

.section-smb .section-content h2 {
  max-width: 1000px;
}

.section-smb .section-lead {
  margin-top: 0;
  color: rgba(251, 250, 246, 0.8);
}

.smb-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: end;
  gap: clamp(40px, 7vw, 120px);
  margin-top: clamp(40px, 5vw, 64px);
}

.smb-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(251, 250, 246, 0.42);
}

.smb-actions small {
  color: rgba(251, 250, 246, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .smb-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}

/* SMS for Small Businesses page */
.smb-handles .section-content h2 em {
  color: var(--petrol);
  font-style: normal;
}

.smb-pillars {
  margin-top: clamp(56px, 6vw, 84px);
}

@media (max-width: 760px) {
  .smb-pillars {
    grid-template-columns: 1fr;
  }
}

/* Founder profiles: approved bios and supplied portraits. */
.section-company .founder-intro { max-width: 76ch; }
.founder-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); margin-top: 56px; }
.founder-card { display: flex; flex-direction: column; align-items: flex-start; padding-top: 28px; border-top: 1px solid var(--line-strong); min-width: 0; }
.founder-portrait { position: relative; width: clamp(140px, 14vw, 190px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; margin-bottom: 28px; flex-shrink: 0; }
.founder-portrait img { position: absolute; max-width: none; height: auto; }
.founder-portrait-hassan img { width: 136.75%; left: -23.5%; top: -8%; }
.founder-portrait-aadam img { width: 162.68%; left: -28.87%; top: -17.61%; }
.founder-card h3 { font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 10px; }
.founder-role { color: var(--petrol); font-size: 15px; line-height: 1.5; margin-bottom: 22px; }
.founder-bio { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin-bottom: 24px; max-width: 58ch; }
.founder-card .founder-link { margin-top: auto; line-height: 1.5; letter-spacing: .015em; }
.founder-statement { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line-strong); color: var(--petrol); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.04em; max-width: 30ch; }
.founder-cta { margin-top: 28px; }
@media (max-width: 700px) {
  .founder-cards { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .founder-portrait { width: 150px; }
  .founder-bio { font-size: 16px; }
  .founder-statement { margin-top: 40px; }
}

/* Homepage narrative and standalone Company page. */
.hero { min-height: 0; }
.hero-grid { min-height: min(740px, 82svh); padding-block: clamp(60px, 8vh, 100px) 64px; }
.hero-lede { max-width: 58ch; }
.demo-disclosure { color: var(--ink-soft); font-size: 13px; margin-bottom: 36px; }
.story-transition { color: var(--petrol); font-size: 18px; line-height: 1.5; margin-bottom: 24px; max-width: 36ch; }
.home-security { padding-block: clamp(64px, 7vw, 110px); }
.home-security-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(40px,7vw,110px); align-items: start; }
.home-security h2 { font-size: clamp(40px,4.6vw,72px); max-width: 13ch; line-height: 1.03; }
.home-controls { display: grid; gap: 28px; }
.home-controls article { border-top: 1px solid rgba(255,255,255,.24); padding-top: 22px; }
.home-controls h3 { color: var(--white); font-size: 25px; line-height: 1.2; margin-bottom: 10px; }
.home-controls p { color: rgba(251,250,246,.78); font-size: 17px; line-height: 1.6; max-width: 52ch; }
.home-company-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: center; gap: 64px; }
.home-company h2 { font-size: clamp(34px,4vw,58px); line-height: 1.08; }
.home-company p { color: var(--ink-soft); font-size: 18px; line-height: 1.6; margin: 24px 0; max-width: 58ch; }
.home-founder-faces { display: flex; gap: 32px; justify-content: flex-end; }
.home-founder-faces .founder-portrait { width: clamp(110px,12vw,160px); margin-bottom: 16px; }
.home-founder-faces figcaption { font-size: 15px; font-weight: 600; }
.home-small-business { background: var(--petrol); color: var(--white); padding-block: 44px; }
.home-small-business > div { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.home-small-business h2 { font-size: clamp(25px,3vw,36px); line-height: 1.2; letter-spacing: -.03em; }
.home-small-business p { font-size: 16px; line-height: 1.55; max-width: 65ch; margin-top: 12px; }
.home-small-business a { color: var(--white); flex-shrink: 0; }
.company-page .section-company { padding-top: calc(var(--header-h) + 64px); }
.company-page h1 { font-size: clamp(40px,5.5vw,82px); letter-spacing: -.05em; line-height: 1.05; max-width: 22ch; }
@media(max-width: 760px) {
 .hero-grid { min-height: 0; padding-block: 52px 44px; }
 .home-security-grid, .home-company-grid { grid-template-columns: 1fr; gap: 36px; }
 .home-security h2 { max-width: 16ch; }
 .home-founder-faces { justify-content: flex-start; gap: 28px; }
 .home-small-business > div { flex-direction: column; align-items: flex-start; gap: 24px; }
 .home-small-business a { white-space: normal; line-height: 1.5; }
}
.submission-confirmation { width: min(440px, calc(100vw - 40px)); box-sizing: border-box; margin: auto; padding: 32px; border: 1px solid var(--petrol); border-radius: 16px; background: var(--paper); color: var(--ink); }
.submission-confirmation::backdrop { background: rgb(0 0 0 / 55%); }
.submission-confirmation h2 { font-size: 30px; margin: 0 0 16px; }
.submission-confirmation p { line-height: 1.6; margin: 0 0 24px; }
.submission-confirmation button { background: var(--petrol-surface); color: var(--white); border: 0; border-radius: 8px; padding: 12px 24px; cursor: pointer; font: inherit; }
.submission-confirmation button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.company-page h1 { font-weight: 400; }
.home-founder-faces figure { margin: 0; min-width: 0; } .home-company-grid > div { min-width: 0; } @media(max-width: 760px) { .home-company-grid { grid-template-columns: minmax(0, 1fr); } }
@media(max-width: 360px) { body { min-width: 0; } .footer-grid, .footer-grid-expanded { grid-template-columns: minmax(0, 1fr); } .footer-grid > * { min-width: 0; } .footer-contact a { white-space: normal; overflow-wrap: anywhere; } }
@media(max-width: 360px) { .site-footer a { max-width: 100%; white-space: normal; overflow-wrap: anywhere; } }
@media(max-width: 580px) { .site-footer .footer-grid-expanded nav { flex-wrap: nowrap; } }
@media(max-width: 580px) { .site-footer .footer-grid-expanded nav { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; width: 100%; } }
