/* ==========================================================================
   0. Self-hosted brand typefaces (Inter variable + IBM Plex Mono)
   Previously the stylesheet named these families but never loaded them, so
   most visitors fell back to a system sans. They are now served locally.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Jakša Group — visual system v3.1
   1. Tokens
   2. Base + typography scale
   3. Brand geometry motifs
   4. Header / navigation
   5. Buttons + links
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */

:root {
  color-scheme: light;

  --blue: #0a63c7;
  --blue-dark: #074ea8;
  --blue-bright: #2da8e8;
  --blue-soft: #eaf3ff;
  --blue-tint: rgba(10, 99, 199, 0.1);
  --blue-line: rgba(10, 99, 199, 0.28);

  --navy: #071b34;
  --navy-2: #0b2948;
  --navy-3: #063769;

  --ink: #0c1830;
  --muted: #4f5f75;
  --on-dark: rgba(255, 255, 255, 0.78);
  --on-dark-soft: rgba(255, 255, 255, 0.56);

  --bg: #f6f9fd;
  --paper: #ffffff;
  --line: #dde5ed;
  --line-strong: #c2cfdd;

  --max: 1320px;
  --measure: 720px;

  --pad-y: clamp(44px, 4.2vw, 68px);
  --pad-y-tight: clamp(40px, 3.8vw, 62px);

  --radius: 10px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Cropped Jakša mark geometry, used as a decorative motif only. */
  --geo-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath fill='%230a63c7' d='M57 8h23v45L39 88H12l45-39V8Z'/%3E%3Cpath fill='%230a63c7' d='M31 26h24v20L25 72H3l28-25V26Z'/%3E%3C/svg%3E");
  --geo-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96'%3E%3Cpath fill='%23ffffff' d='M57 8h23v45L39 88H12l45-39V8Z'/%3E%3Cpath fill='%23ffffff' d='M31 26h24v20L25 72H3l28-25V26Z'/%3E%3C/svg%3E");
  --grid-dark:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  --grid-light:
    linear-gradient(rgba(10, 99, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 99, 199, 0.04) 1px, transparent 1px);
}

/* 2. Base + typography -------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Manrope, "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: rgba(10, 99, 199, 0.18);
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  font-weight: 690;
  letter-spacing: -0.015em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 4.9vw, 5rem);
  line-height: 1.02;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.95rem, 3.4vw, 3.5rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.16rem, 1.4vw, 1.5rem);
  font-weight: 660;
  letter-spacing: -0.005em;
  line-height: 1.28;
}

p,
li {
  color: var(--muted);
}

h1,
h2,
h3,
p,
a,
span,
li {

  overflow-wrap: break-word;
}

.section-shell,
.site-header,
.site-footer {
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
}

.eyebrow,
.kicker,
.mono {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
}

.lead {
  max-width: var(--measure);
  color: var(--muted);
  font-size: clamp(1.15rem, 1.35vw, 1.375rem);
  line-height: 1.55;
}

.section,
.content-section,
.home-section {
  padding: var(--pad-y) 0;
}

.home-section-heading,
.section-heading {
  max-width: 880px;
  margin-bottom: clamp(32px, 3vw, 44px);
}

.home-section-heading p,
.section-heading p {
  max-width: var(--measure);
  font-size: clamp(1.1rem, 1.25vw, 1.28rem);
  line-height: 1.58;
}

.home-section-heading p:last-child,
.section-heading p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 40;
  transform: translateY(-160%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid rgba(10, 99, 199, 0.48);
  outline-offset: 4px;
}

/* 3. Brand geometry motifs ---------------------------------------------- */

.geo-host {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.geo-host > * {
  position: relative;
  z-index: 1;
}

/* Oversized cropped mark fragment. */
.geo-mark::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(340px, 34vw, 620px);
  aspect-ratio: 1;
  background-image: var(--geo-blue);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
}

.geo-mark-right::after {
  right: -12%;
  top: -14%;
}

.geo-mark-bottom::after {
  right: -8%;
  bottom: -32%;
}

.on-dark.geo-mark::after {
  background-image: var(--geo-white);
  opacity: 0.045;
}

/* Diagonal blue band, echoing the mark's angled edge. */
.geo-band::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -84px;
  top: 8%;
  width: 150px;
  height: 74%;
  background: var(--blue);
  transform: skewX(-25deg);
  opacity: 0.9;
  pointer-events: none;
}

/* Thin angled accent used to open a section. */
.geo-rule {
  width: 54px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--blue);
  transform: skewX(-25deg);
}

/* 4. Header ------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 34px;
  background: rgba(246, 249, 253, 0.93);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: min-height 200ms var(--ease), border-color 200ms var(--ease);
}

.site-header.is-stuck {
  min-height: 74px;
  border-color: var(--line);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--ink);
  text-decoration: none;
}

.brand-lockup img {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  transition: width 200ms var(--ease), height 200ms var(--ease);
}

.is-stuck .brand-lockup img {
  width: 46px;
  height: 46px;
}

.brand-copy,
.brand-name,
.brand-tagline {
  display: block;
}

.brand-name {
  color: var(--navy);
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 0.98;
  transition: font-size 200ms var(--ease);
}

.is-stuck .brand-name {
  font-size: 26px;
}

.brand-name span {
  color: #6a7280;
  font-weight: 350;
}

.brand-tagline {
  margin-top: 9px;
  color: #47576b;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.27em;
  line-height: 1;
  text-transform: uppercase;
  transition: font-size 200ms var(--ease), margin-top 200ms var(--ease);
}

.is-stuck .brand-tagline {
  margin-top: 6px;
  font-size: 9.5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 560;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--blue);
  transition: right 220ms var(--ease);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta)[aria-current="page"]::after {
  right: 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.site-nav .nav-cta,
.site-nav .nav-cta[aria-current="page"] {
  color: #fff;
}

.menu-button {
  display: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

/* 5. Buttons + links ---------------------------------------------------- */

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  font-weight: 680;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.nav-cta,
.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(10, 99, 199, 0.22);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button-primary:hover,
.nav-cta:hover {
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  box-shadow: 0 14px 32px rgba(7, 78, 168, 0.28);
}

.on-dark .button-primary,
.blue-band .button-primary,
.brand-cta .button-primary {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.text-link .arrow {
  color: var(--blue);
  transition: transform 200ms var(--ease);
}

.text-link:hover {
  color: var(--blue);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   6. Hero
   7. Transformation visual
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(520px, 0.5fr);
  gap: clamp(40px, 3.6vw, 60px);
  align-items: center;
  padding: clamp(48px, 4.4vw, 78px) 0 clamp(64px, 5.6vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

/* The grid motif is allowed here — and only in a few other places. */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -40px -50vw;
  background-image: var(--grid-light);
  background-size: 104px 104px;
  -webkit-mask-image: radial-gradient(120% 82% at 62% 42%, #000 8%, transparent 72%);
  mask-image: radial-gradient(120% 82% at 62% 42%, #000 8%, transparent 72%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  max-width: 15ch;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 32px;
}

/* 7. Transformation visual ---------------------------------------------- */

.transform-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(178px, 0.58fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(4px, 0.6vw, 10px);
  min-width: 0;
}

.tv-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.tv-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tv-label::before {
  content: "";
  width: 14px;
  height: 3px;
  flex: 0 0 auto;
  background: currentColor;
  transform: skewX(-25deg);
}

.tv-legacy .tv-label {
  color: #5d6f85;
}

.tv-modern .tv-label {
  color: var(--blue);
}

.tv-layers {
  position: relative;
  flex: 1;
  display: grid;
  grid-auto-rows: 1fr;
  align-content: stretch;
  gap: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid #adbdcf;
  border-radius: 4px;
  background: #eef3f8;
}

.tv-layers span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 16px 13px;
  border: 1px solid #a8bacd;
  background: #fbfdff;
  color: #3d4d61;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tv-layers span + span {
  border-top: 0;
}

.tv-tangle {
  position: absolute;
  z-index: 3;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  max-width: none;
  fill: none;
  stroke: #7d90a6;
  stroke-width: 1.3;
  opacity: 0.72;
  pointer-events: none;
}

.tv-progress {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 0;
  padding: 30px clamp(10px, 1.4vw, 20px) 30px clamp(22px, 2.6vw, 38px);
  min-width: 0;
}

.tv-progress::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-tint);
  clip-path: polygon(0 0, 74% 0, 100% 50%, 74% 100%, 0 100%, 26% 50%);
}

.tv-stages {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.tv-stages li {
  position: relative;
  padding: 11px 0 11px 24px;
  color: var(--navy);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(12.5px, 0.98vw, 14.5px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tv-stages li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 11px;
  height: 11px;
  background: var(--blue);
  transform: skewX(-25deg);
}

.tv-stages li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  bottom: -2px;
  border-left: 2px solid var(--blue);
  opacity: 0.45;
}

.tv-stages li:last-child::after {
  display: none;
}

.tv-ai {
  position: relative;
  margin: 16px 0 0;
  padding-left: 24px;
  color: var(--blue-dark);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.tv-modules {
  flex: 1;
  display: grid;
  grid-auto-rows: 1fr;
  gap: 8px;
}

.tv-modules span,
.tv-integrations {
  display: flex;
  align-items: center;
  padding: 16px 13px;
  border: 1px solid var(--blue-line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--navy);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tv-integrations {
  position: relative;
  margin-top: 20px;
  border-style: dashed;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.tv-integrations::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: -20px;
  height: 20px;
  background:
    linear-gradient(var(--blue-line), var(--blue-line)) 12% 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue-line), var(--blue-line)) 38% 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue-line), var(--blue-line)) 63% 0 / 1px 100% no-repeat,
    linear-gradient(var(--blue-line), var(--blue-line)) 88% 0 / 1px 100% no-repeat;
}

.tv-preserved {
  position: relative;
  grid-column: 1 / -1;
  margin: 26px 0 0;
  padding-top: 16px;
  color: var(--blue-dark);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
}

.tv-preserved::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 12px, transparent 12px 24px);
  background-size: 24px 2px;
  animation: knowledge-flow 14s linear infinite;
}

@keyframes knowledge-flow {
  to {
    background-position: 240px 0;
  }
}

/* ==========================================================================
   8. Proof strip
   9. Dark bands
   10. Why-it-matters ledger
   11. Modernization journey
   12. AI flow
   ========================================================================== */

/* 8. Proof strip -------------------------------------------------------- */

.home-proof,
.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-proof div,
.proof-strip div {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  min-height: 84px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  align-items: center;
}

.home-proof div:last-child,
.proof-strip div:last-child {
  border-right: 0;
}

.line-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.home-proof strong,
.home-proof span,
.proof-strip strong,
.proof-strip span {
  display: block;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-proof strong,
.proof-strip strong {
  color: var(--ink);
}

.home-proof span,
.proof-strip span {
  color: var(--muted);
}

/* 9. Dark bands --------------------------------------------------------- */

.blue-band,
.why-band,
.dark-band,
.ai-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 58%, var(--navy-3));
  color: #fff;
}

/* Subtle grid is permitted on dark technical sections only. */
.why-band::before,
.ai-band::before,
.dark-band::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: var(--grid-dark);
  background-size: 78px 78px;
  pointer-events: none;
}

.blue-band > *,
.why-band > *,
.dark-band > *,
.ai-band > *,
.brand-cta > * {
  position: relative;
  z-index: 1;
}

.blue-band h2,
.why-band h2,
.dark-band h2,
.ai-band h2,
.brand-cta h2,
.blue-band h3,
.why-band h3,
.dark-band h3,
.ai-band h3 {
  color: #fff;
}

.blue-band p,
.why-band p,
.dark-band p,
.ai-band p,
.brand-cta p {
  color: var(--on-dark);
}

.blue-band .eyebrow,
.why-band .eyebrow,
.dark-band .eyebrow,
.ai-band .eyebrow,
.brand-cta .eyebrow {
  color: #8fc0ff;
}

.why-layout,
.ai-layout,
.assessment-layout,
.contact-layout,
.split-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: clamp(40px, 5.4vw, 84px);
  align-items: center;
}

/* 10. Why-it-matters ledger --------------------------------------------- */

.why-ledger {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.why-ledger li {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: baseline;
  gap: 16px;
  padding: 17px 0 17px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 1.06rem;
  line-height: 1.4;
  transition: padding-left 220ms var(--ease);
}

.why-ledger li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue);
  transform: skewX(-14deg);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}

.why-ledger li:hover::before {
  opacity: 1;
}

.why-ledger b {
  color: #6fb0ff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

/* Legacy helper kept for the simple lists on inner pages. */
.why-list {
  display: grid;
  gap: 15px;
  padding-left: 30px;
  border-left: 2px solid var(--blue);
}

.why-list span {
  color: rgba(255, 255, 255, 0.88);
}

/* 11. Modernization journey --------------------------------------------- */

.journey {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 clamp(16px, 1.8vw, 28px);
}

/* The rail: one continuous path through all five stages. */
.journey::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 79px;
  height: 2px;
  background: linear-gradient(90deg, rgba(10, 99, 199, 0.3), var(--blue) 22%, var(--blue) 78%, rgba(10, 99, 199, 0.3));
}

.journey li {
  position: relative;
  min-width: 0;
  padding-right: clamp(8px, 1vw, 16px);
}

.journey-num {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.journey-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 0 20px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--bg);
}

.journey-node svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journey li:last-child .journey-node {
  background: var(--blue);
}

.journey li:last-child .journey-node svg {
  stroke: #fff;
}

.journey h3 {
  margin-bottom: 8px;
}

.journey p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* 12. AI flow ----------------------------------------------------------- */

.ai-flow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.ai-oversight {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px 0;
  border: 1px solid rgba(111, 176, 255, 0.5);
  border-radius: 6px;
  background: rgba(10, 99, 199, 0.24);
  color: #d5e8ff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.ai-stages {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.ai-stages li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 42px;
  padding: 0 0 28px calc(var(--i, 0) * clamp(10px, 2.2vw, 34px));
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
}

.ai-stages li:last-child {
  padding-bottom: 0;
}

.ai-node {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  transform: skewX(-12deg);
}

.ai-node span {
  transform: skewX(12deg);
}

.ai-stages b,
.ai-stages small {
  display: block;
}

.ai-stages b {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 680;
  letter-spacing: 0;
}

.ai-stages small {
  margin-top: 4px;
  color: var(--on-dark);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ai-stages li:last-child .ai-node {
  background: #fff;
  color: var(--blue-dark);
}

/* Elbow connector from each node down and across to the next. */
.ai-stages li::after {
  content: "";
  position: absolute;
  left: calc(var(--i, 0) * clamp(10px, 2.2vw, 34px) + 20px);
  top: 42px;
  width: clamp(10px, 2.2vw, 34px);
  height: 32px;
  border-left: 2px solid rgba(143, 192, 255, 0.55);
  border-bottom: 2px solid rgba(143, 192, 255, 0.55);
  border-bottom-left-radius: 10px;
}

.ai-stages li:last-child::after {
  display: none;
}

/* ==========================================================================
   13. Ledgers, grids and continuums
   14. Assessment flow
   15. Page heroes + inner-page diagrams
   16. Contact
   17. Brand CTA + footer
   ========================================================================== */

/* 13. Ledgers, grids, continuums ---------------------------------------- */

.ledger,
.experience-ledger,
.problem-grid,
.deliverable-grid,
.service-continuum,
.principle-list,
.history-grid {
  display: grid;
  border-top: 1px solid var(--line);
}

.problem-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ledger,
.experience-ledger,
.history-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.deliverable-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.problem-grid article,
.ledger article,
.experience-ledger article,
.deliverable-grid article,
.history-grid article {
  position: relative;
  padding: 26px 26px 30px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

/* Column separators: only cells that are NOT first in their row get the
   left border and indent, so every row stays aligned to the same baseline. */
.problem-grid article:not(:nth-child(2n + 1)),
.ledger article:not(:nth-child(4n + 1)),
.experience-ledger article:not(:nth-child(4n + 1)),
.deliverable-grid article:not(:nth-child(4n + 1)),
.history-grid article:not(:nth-child(4n + 1)) {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.problem-grid article:not(:nth-child(2n + 1))::before,
.ledger article:not(:nth-child(4n + 1))::before,
.experience-ledger article:not(:nth-child(4n + 1))::before,
.deliverable-grid article:not(:nth-child(4n + 1))::before,
.history-grid article:not(:nth-child(4n + 1))::before {
  left: 26px;
}

.problem-grid h3,
.ledger h3,
.experience-ledger h3,
.deliverable-grid h3,
.history-grid h3 {
  margin-bottom: 8px;
}

.problem-grid p,
.ledger p,
.experience-ledger p,
.deliverable-grid p,
.history-grid p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.ledger span,
.experience-ledger span,
.problem-grid span,
.principle-list span,
.history-grid span,
.service-continuum span,
.deliverable-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.experience-ledger span,
.history-grid span,
.ledger span {
  font-family: inherit;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  font-weight: 660;
  letter-spacing: -0.018em;
  text-transform: none;
}

.blue-band .deliverable-grid,
.blue-band .deliverable-grid article,
.dark-band .deliverable-grid,
.dark-band .deliverable-grid article {
  border-color: rgba(255, 255, 255, 0.18);
}

.blue-band .deliverable-grid span,
.dark-band .deliverable-grid span {
  color: #8fc0ff;
}

.domain-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
  padding-top: 4px;
}

.domain-line span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px 10px 0;
  margin-right: 24px;
  color: var(--muted);
  font-size: 0.98rem;
}

.domain-line span::before {
  content: "";
  width: 10px;
  height: 3px;
  background: var(--blue);
  transform: skewX(-25deg);
}

.principle-list {
  grid-template-columns: 1fr;
  border-top: 0;
}

.principle-list article {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 0.95fr) minmax(300px, 0.9fr);
  gap: 34px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.principle-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.principle-list span {
  margin: 0;
  font-size: clamp(1.7rem, 2.2vw, 2.3rem);
  letter-spacing: -0.01em;
}

.principle-list h2 {
  margin: 0;
  font-size: clamp(1.4rem, 1.9vw, 1.95rem);
  line-height: 1.2;
}

.principle-list p {
  margin: 0;
}

.service-continuum {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--blue);
}

.service-continuum article {
  position: relative;
  padding: 28px 26px 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-continuum article:not(:nth-child(4n + 1)) {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.service-continuum article.featured {
  padding-left: 26px;
  padding-right: 26px;
  background: linear-gradient(150deg, var(--blue), var(--blue-dark));
}

.service-continuum article.featured h3,
.service-continuum article.featured p {
  color: #fff;
}

.service-continuum article.featured span {
  color: rgba(255, 255, 255, 0.82);
}

.supporting-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.supporting-services article {
  padding: 28px 30px 28px 0;
}

.supporting-services article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.about-founder {
  position: relative;
  padding: 0 0 0 30px;
  border-left: 2px solid var(--blue);
}

.about-founder p {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.role {
  color: #8fc0ff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 14. Assessment flow ---------------------------------------------------- */

.contact-layout {
  align-items: start;
}

.assessment-flow,
.report-system {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  align-items: center;
}

.flow-stack,
.report-stack {
  display: grid;
  gap: 7px;
}

.flow-stack b,
.report-stack b {
  margin-bottom: 4px;
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow-stack span,
.report-stack span {
  padding: 11px 14px;
  border-left: 2px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

.flow-stack + .flow-core + .flow-stack span {
  border-left-color: var(--blue);
}

.flow-core {
  display: grid;
  place-items: center;
  width: clamp(96px, 9vw, 132px);
  min-height: clamp(96px, 9vw, 132px);
  background: var(--blue);
  color: #fff;
  clip-path: polygon(0 0, 74% 0, 100% 50%, 74% 100%, 0 100%, 26% 50%);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blue-band .flow-stack span,
.dark-band .flow-stack span,
.on-dark .flow-stack span {
  border-left-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.blue-band .flow-stack b,
.dark-band .flow-stack b,
.on-dark .flow-stack b {
  color: #8fc0ff;
}

/* 15. Page heroes + inner-page diagrams ---------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(340px, 0.44fr);
  gap: clamp(40px, 5.4vw, 82px);
  align-items: start;
  width: min(var(--max), calc(100% - 56px));
  margin-inline: auto;
  padding: clamp(44px, 4.2vw, 70px) 0 clamp(46px, 4.5vw, 74px);
  border-bottom: 1px solid var(--line);
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 3.9vw, 4rem);
}

.page-hero h1 span {
  display: block;
  color: var(--blue);
}

.page-hero.dark {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(46px, 4.4vw, 72px) max(28px, calc((100vw - var(--max)) / 2)) clamp(48px, 4.6vw, 76px);
  border-bottom: 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2) 62%, var(--navy-3));
  color: #fff;
}

.page-hero.dark::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: var(--grid-dark);
  background-size: 78px 78px;
  pointer-events: none;
}

.page-hero.dark h1 {
  color: #fff;
}

.page-hero.dark h1 span {
  color: #6fb0ff;
}

.page-hero.dark p {
  color: var(--on-dark);
}

.page-hero.dark .eyebrow {
  color: #8fc0ff;
}

/* The white rounded card is gone; inner-page visuals sit on the page. */
.hero-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* When the stat card is shorter than the hero text column, center it
   rather than leaving the extra space stacked below the card. */
.hero-card:has(.history-grid) {
  align-self: center;
}

.mini-diagram {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.dark .mini-diagram,
.page-hero.dark .mini-diagram {
  border-color: rgba(255, 255, 255, 0.2);
}

.diagram-row,
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.dark .diagram-row,
.dark .flow-row,
.page-hero.dark .diagram-row,
.page-hero.dark .flow-row {
  border-color: rgba(255, 255, 255, 0.2);
}

.diagram-box,
.diagram-pill,
.flow-box {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.diagram-arrow {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.dark .diagram-box,
.dark .flow-box,
.dark .diagram-pill,
.page-hero.dark .diagram-box,
.page-hero.dark .flow-box {
  border: 0;
  background: transparent;
  color: #fff;
}

.dark .diagram-arrow,
.page-hero.dark .diagram-arrow {
  color: #6fb0ff;
}

/* Ledgers inside a page hero only ever get two columns. */
.page-hero .history-grid,
.page-hero .experience-ledger,
.page-hero .ledger {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-hero .history-grid article,
.page-hero .experience-ledger article,
.page-hero .ledger article {
  padding: 22px 20px 24px 0;
}

.page-hero .history-grid article:not(:nth-child(2n + 1)),
.page-hero .experience-ledger article:not(:nth-child(2n + 1)),
.page-hero .ledger article:not(:nth-child(2n + 1)) {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.page-hero .history-grid article:nth-child(2n + 1),
.page-hero .experience-ledger article:nth-child(2n + 1),
.page-hero .ledger article:nth-child(2n + 1) {
  padding-left: 0;
  border-left: 0;
}

.page-hero .history-grid article::before,
.page-hero .experience-ledger article::before,
.page-hero .ledger article::before {
  left: 0;
}

.page-hero .history-grid article:not(:nth-child(2n + 1))::before,
.page-hero .experience-ledger article:not(:nth-child(2n + 1))::before,
.page-hero .ledger article:not(:nth-child(2n + 1))::before {
  left: 22px;
}

.page-hero .history-grid span,
.page-hero .experience-ledger span,
.page-hero .ledger span {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.5vw, 1.6rem);
}

.page-hero .history-grid h3,
.page-hero .experience-ledger h3,
.page-hero .ledger h3 {
  font-size: 1.02rem;
}

/* Single-column stepped variant used on the experience hero. */
.mini-diagram.stepped {
  border-top: 0;
}

.mini-diagram.stepped .diagram-box {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 15px 0 15px 26px;
}

/* Hairline that carries each stage across the full column. */
.mini-diagram.stepped .diagram-box::after {
  content: "";
  height: 1px;
  background: currentColor;
  opacity: 0.24;
}

.mini-diagram.stepped .diagram-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  background: #6fb0ff;
  transform: skewX(-25deg);
}

.mini-diagram.stepped .diagram-arrow {
  display: block;
  margin-left: 4px;
  width: 2px;
  height: 18px;
  background: rgba(143, 192, 255, 0.5);
  color: transparent;
  overflow: hidden;
}

.mini-diagram.stepped.light .diagram-box {
  color: var(--ink);
}

.mini-diagram.stepped.light .diagram-box::before {
  background: var(--blue);
}

.mini-diagram.stepped.light .diagram-arrow {
  background: rgba(10, 99, 199, 0.42);
}

/* 16. Contact ------------------------------------------------------------ */

.contact-form {
  position: relative;
  z-index: 1;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 620;
}

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

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:invalid,
textarea:invalid {
  box-shadow: none;
}

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

.form-status {
  min-height: 28px;
  margin: 12px 0;
  color: #bcdcff;
}

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

.contact-aside {
  padding-left: 26px;
  border-left: 2px solid var(--blue);
}

.contact-aside p:last-child {
  margin-bottom: 0;
}

/* 17. Brand CTA + footer -------------------------------------------------- */

.brand-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(50px, 4.6vw, 74px) max(28px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(135deg, var(--navy), #052a58);
  color: #fff;
}

.brand-cta::before {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright) 62%, rgba(45, 168, 232, 0.15));
}

.brand-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.brand-cta h2 {
  max-width: 980px;
}

.brand-cta p {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(200px, 0.7fr) minmax(220px, 0.55fr);
  gap: 40px;
  max-width: none;
  width: 100%;
  padding: 52px max(28px, calc((100vw - var(--max)) / 2)) 56px;
  background: var(--navy);
  color: #fff;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer p,
.footer-meta,
.site-footer a {
  color: var(--on-dark-soft);
}

.site-footer p {
  max-width: 350px;
  margin: 16px 0 0;
  font-size: 0.98rem;
}

.site-footer nav,
.footer-meta {
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.site-footer a {
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.site-footer a:hover {
  color: #fff;
}

.footer-lockup .brand-name,
.footer-lockup .brand-name span,
.footer-lockup .brand-tagline {
  color: #fff;
}

.footer-lockup .brand-name {
  font-size: 26px;
}

.footer-lockup .brand-tagline {
  color: rgba(255, 255, 255, 0.6);
}

.footer-lockup img {
  width: 46px;
  height: 46px;
}

[data-content-flag] {
  display: none;
}

[data-content-flag].is-visible {
  display: block;
}

/* ---- Founder ------------------------------------------------------------ */

.founder-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.founder-layout.has-portrait {
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
}

.founder-portrait {
  margin: 0;
  position: relative;
}

.founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
}

/* The mark's angled edge, cropping the portrait the way the brand crops. */
.founder-portrait::after {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 86px;
  height: 5px;
  background: var(--blue);
  transform: skewX(-25deg);
}

/* Without a portrait the band is a two-column editorial spread; with one,
   the copy collapses to a single column beside the picture. */
.founder-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}

.has-portrait .founder-copy {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.15rem;
  max-width: 68ch;
}

.founder-intro,
.founder-body {
  min-width: 0;
}

.founder-body p:last-child {
  margin-bottom: 0;
}

.founder-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
}

.founder-copy p {
  margin-bottom: 1.15rem;
}

.founder-lead {
  font-size: clamp(1.12rem, 1.35vw, 1.32rem);
  line-height: 1.52;
  color: #fff !important;
}

.founder-sign {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  font-weight: 650;
}

.founder-sign span {
  display: block;
  margin-top: 4px;
  color: #8fc0ff;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .founder-copy {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .founder-layout.has-portrait {
    grid-template-columns: minmax(0, 1fr);
  }

  .founder-portrait {
    max-width: 280px;
  }
}

/* ---- Specification list: terms and values, not cards --------------------- */

.spec-list {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--line);
}

.spec-list > div {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 0.2fr) minmax(0, 1fr);
  gap: 10px clamp(24px, 4vw, 56px);
  padding: 22px 0 24px;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--blue);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.spec-list dd {
  margin: 0;
  max-width: var(--measure);
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---- Fact row: three figures that qualify a reader ---------------------- */

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fact-row li {
  padding: 16px 28px 16px 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.fact-row li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.fact-row b {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 680;
  letter-spacing: -0.015em;
}

.fact-row span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .spec-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .fact-row li {
    width: 100%;
    padding: 14px 0;
    margin-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-row li:last-child {
    border-bottom: 0;
  }
}

/* ==========================================================================
   18. Responsive
   19. Reduced motion
   ========================================================================== */

@media (max-width: 1240px) {
  .principle-list article {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 20px 28px;
  }

  .principle-list p {
    grid-column: 2;
  }
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 20px;
  }

  .hero,
  .page-hero,
  .why-layout,
  .ai-layout,
  .assessment-layout,
  .contact-layout,
  .split-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    gap: 48px;
    padding-bottom: 72px;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .home-proof,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof div,
  .proof-strip div {
    border-bottom: 1px solid var(--line);
  }

  .home-proof div:nth-child(2n),
  .proof-strip div:nth-child(2n) {
    border-right: 0;
  }

  .home-proof div:last-child,
  .proof-strip div:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .ledger,
  .experience-ledger,
  .history-grid,
  .deliverable-grid,
  .service-continuum {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger article,
  .experience-ledger article,
  .history-grid article,
  .deliverable-grid article,
  .service-continuum article {
    padding-left: 0;
    border-left: 0;
  }

  .ledger article::before,
  .experience-ledger article::before,
  .history-grid article::before,
  .deliverable-grid article::before {
    left: 0;
  }

  .ledger article:nth-child(2n),
  .experience-ledger article:nth-child(2n),
  .history-grid article:nth-child(2n),
  .deliverable-grid article:nth-child(2n),
  .service-continuum article:nth-child(2n) {
    padding-left: 26px;
    border-left: 1px solid var(--line);
  }

  .ledger article:nth-child(2n)::before,
  .experience-ledger article:nth-child(2n)::before,
  .history-grid article:nth-child(2n)::before,
  .deliverable-grid article:nth-child(2n)::before {
    left: 26px;
  }

  .service-continuum article.featured {
    padding-left: 26px;
  }

  /* Journey becomes a vertical path. */
  .journey {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .journey::before {
    left: 22px;
    right: auto;
    top: 6px;
    bottom: 40px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--blue), var(--blue) 84%, rgba(10, 99, 199, 0.25));
  }

  .journey li {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 24px;
    padding: 0 0 34px;
  }

  .journey li:last-child {
    padding-bottom: 0;
  }

  .journey-node {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    margin: 0;
  }

  .journey-num {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 4px;
    font-size: 1.5rem;
    line-height: 46px;
  }

  .journey h3 {
    grid-column: 2;
    grid-row: 2;
  }

  .journey p {
    grid-column: 2;
    grid-row: 3;
    max-width: var(--measure);
  }

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

  .site-footer .footer-meta {
    grid-column: 1 / -1;
  }
}

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

  .tv-progress {
    padding: 30px 24px 34px;
  }

  .tv-progress::before {
    clip-path: polygon(0 0, 50% 12%, 100% 0, 100% 84%, 50% 100%, 0 84%);
  }

  .tv-stages {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .tv-stages li {
    padding: 22px 8px 0 0;
    font-size: 12px;
  }

  .tv-stages li::before {
    top: 0;
  }

  .tv-stages li::after {
    left: 12px;
    right: -8px;
    top: 4px;
    bottom: auto;
    width: auto;
    border-left: 0;
    border-top: 2px solid var(--blue);
  }

  .tv-ai {
    margin-top: 22px;
    padding-left: 0;
    text-align: center;
  }

  .tv-preserved {
    margin-top: 22px;
  }

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

  .supporting-services article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .section-shell,
  .site-header {
    width: min(100% - 36px, var(--max));
  }

  .site-header {
    min-height: 86px;
  }

  .site-header.is-stuck {
    min-height: 72px;
  }

  .brand-lockup {
    gap: 11px;
  }

  .brand-lockup img,
  .is-stuck .brand-lockup img {
    width: 46px;
    height: 46px;
  }

  .brand-name,
  .is-stuck .brand-name {
    font-size: 24px;
  }

  .brand-tagline,
  .is-stuck .brand-tagline {
    margin-top: 6px;
    font-size: 10.5px;
    letter-spacing: 0.15em;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 86px 0 auto;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.05rem;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 16px;
    border-bottom: 0;
  }

  .hero,
  .page-hero {
    padding: 48px 0 64px;
  }

  .page-hero.dark {
    padding: 48px 18px 64px;
  }

  .problem-grid,
  .ledger,
  .experience-ledger,
  .history-grid,
  .deliverable-grid,
  .service-continuum,
  .form-grid,
  .diagram-row,
  .flow-row,
  .assessment-flow,
  .report-system {
    grid-template-columns: minmax(0, 1fr);
  }

  .problem-grid article,
  .ledger article,
  .experience-ledger article,
  .deliverable-grid article,
  .history-grid article,
  .service-continuum article {
    padding: 24px 0 26px;
  }

  .problem-grid article + article,
  .ledger article + article,
  .experience-ledger article + article,
  .deliverable-grid article + article,
  .history-grid article + article,
  .service-continuum article + article,
  .service-continuum article.featured {
    padding-left: 0;
    border-left: 0;
  }

  .service-continuum article.featured {
    padding: 24px 22px 26px;
  }

  .problem-grid article + article::before,
  .ledger article + article::before,
  .experience-ledger article + article::before,
  .deliverable-grid article + article::before,
  .history-grid article + article::before {
    left: 0;
  }

  .diagram-row,
  .flow-row {
    gap: 6px;
    padding: 14px 0;
  }

  .diagram-arrow {
    transform: rotate(90deg);
    transform-origin: left center;
  }

  .assessment-flow,
  .report-system {
    justify-items: start;
    gap: 18px;
  }

  .flow-core {
    width: 100%;
    min-height: 76px;
  }

  .principle-list article {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 28px 0;
  }

  .principle-list p {
    grid-column: auto;
  }

  .home-proof div,
  .proof-strip div {
    padding: 18px 16px;
  }

  .brand-cta {
    padding: 64px 18px 72px;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 44px 18px 48px;
  }

  .contact-form {
    padding: 22px;
  }

  .why-ledger li {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    font-size: 1rem;
  }
}

@media (max-width: 560px) {
  .home-proof,
  .proof-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-proof div,
  .proof-strip div {
    border-right: 0;
  }

  .tv-stages {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }

  .tv-stages li {
    padding: 11px 0 11px 24px;
    font-size: 12.5px;
  }

  .tv-stages li::before {
    top: 15px;
  }

  .tv-stages li::after {
    left: 4px;
    right: auto;
    top: 24px;
    bottom: -2px;
    width: 0;
    border-top: 0;
    border-left: 2px solid var(--blue);
  }

  .tv-progress::before {
    clip-path: polygon(0 0, 50% 8%, 100% 0, 100% 90%, 50% 100%, 0 90%);
  }
}

@media (max-width: 420px) {
  body {
    font-size: 16px;
  }

  .section-shell,
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .brand-tagline {
    display: none;
  }

  .ai-flow {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
  }

  .ai-stages li {
    gap: 12px;
    font-size: 12px;
  }
}

/* 19. Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================================
   20. Section decoration (brand geometry instances)
   ========================================================================== */

/* Blue angled band — the signature element of the dark "why" section. */
.why-band::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -78px;
  top: 12%;
  width: 152px;
  height: 72%;
  background: var(--blue);
  transform: skewX(-25deg);
  opacity: 0.9;
  pointer-events: none;
}

/* Cropped mark fragment on the AI band and the closing CTA. */
.ai-band::after,
.brand-cta::after,
.site-footer::after,
.page-hero.dark::after {
  content: "";
  position: absolute;
  z-index: 0;
  background-image: var(--geo-white);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.05;
  pointer-events: none;
}

.ai-band::after {
  right: -6%;
  bottom: -26%;
  width: clamp(320px, 30vw, 540px);
  aspect-ratio: 1;
}

.brand-cta::after {
  right: 4%;
  top: -22%;
  width: clamp(300px, 26vw, 480px);
  aspect-ratio: 1;
  opacity: 0.07;
}

.site-footer::after {
  right: -70px;
  bottom: -140px;
  width: 340px;
  aspect-ratio: 1;
  opacity: 0.045;
}

.page-hero.dark::after {
  right: -5%;
  top: -30%;
  width: clamp(300px, 28vw, 500px);
  aspect-ratio: 1;
  opacity: 0.06;
}

/* Light-section fragment, used sparingly. */
.geo-light {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.geo-light > * {
  position: relative;
  z-index: 1;
}

.geo-light::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -9%;
  bottom: -34%;
  width: clamp(300px, 26vw, 470px);
  aspect-ratio: 1;
  background-image: var(--geo-blue);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.045;
  pointer-events: none;
}

/* Decoration must never compete with body copy on small screens. */
@media (max-width: 1000px) {
  .why-band::after {
    left: -108px;
    top: 5%;
    width: 122px;
    height: 58%;
    opacity: 0.5;
  }

  .ai-band::after,
  .brand-cta::after,
  .page-hero.dark::after,
  .site-footer::after {
    opacity: 0.035;
  }

  .geo-light::after {
    opacity: 0.03;
  }
}
