:root {
  color-scheme: light;
  --ink: #090e1b;
  --ink-soft: #303a4a;
  --steel: #617086;
  --pearl: #f3f6fb;
  --paper: #ffffff;
  --mist: #e6ebf2;
  --line: #c9d2e0;
  --cobalt: #1f5eff;
  --cobalt-deep: #113fa9;
  --cobalt-pale: #dce7ff;
  --signal-deep: #0b4bc8;
  --signal-blue: #2e73ff;
  --signal-sky: #69b7ff;
  --signal-ice: #bfd8ff;
  --whatsapp: #25d366;
  --whatsapp-hover: #1fb95a;
  --whatsapp-deep: #075e54;
  --whatsapp-ink: #07150d;
  --white: #ffffff;
  --text: #090e1b;
  --text-soft: #303a4a;
  --surface-page: #f3f6fb;
  --surface: #ffffff;
  --surface-muted: #e6ebf2;
  --surface-inverse: #090e1b;
  --border: #c9d2e0;
  --border-strong: #090e1b;
  --accent-soft: #dce7ff;
  --focus-ring: #090e1b;
  --header-bg: rgb(243 246 251 / 94%);
  --max: 1360px;
  --nav-height: 80px;
  --radius: 4px;
  --shadow: 0 20px 55px rgb(9 14 27 / 10%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--surface-page);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--surface-page);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
.brand-name,
.display {
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--surface-inverse);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cobalt);
  transform-origin: left center;
}

.site-header {
  position: sticky;
  z-index: 90;
  top: 0;
  height: var(--nav-height);
  border-bottom: 1px solid rgb(201 210 224 / 85%);
  background: rgb(243 246 251 / 94%);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 64px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 52px;
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 1px;
  top: -4px;
  width: 6px;
  height: 6px;
  background: var(--cobalt);
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
}

.header-contact {
  padding-left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-left: 1px solid var(--border);
}

.header-contact-link {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 76%);
  color: var(--text-soft);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.header-contact-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-contact-link:hover,
.header-contact-link:focus-visible {
  z-index: 2;
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: var(--white);
  transform: translateY(-1px);
}

.header-contact-link::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 4;
  padding: 5px 8px;
  border-radius: 2px;
  background: var(--surface-inverse);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -3px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
  pointer-events: none;
}

.header-contact-link:hover::after,
.header-contact-link:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.nav-contact-mobile {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-nav a {
  position: relative;
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  background: transparent;
  transform: scaleX(0);
  transition: background 160ms ease, transform 160ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after {
  background: var(--cobalt);
  transform: scaleX(1);
}

.primary-nav a[aria-current="page"] {
  color: var(--text);
}

.primary-nav .nav-cv {
  color: var(--cobalt-deep);
}

.nav-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  display: none;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--surface-inverse);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

.shell {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.reading {
  max-width: 760px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--cobalt-deep);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--cobalt-deep);
  font-size: 13px;
  font-weight: 750;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: 42px;
  font-weight: 720;
  line-height: 1.05;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 19px;
}

.page-hero {
  padding: 108px 0 82px;
  border-bottom: 1px solid var(--border);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 72px;
  align-items: end;
}

.page-hero h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 740;
  line-height: .98;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 20px;
}

.page-hero-meta {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.page-hero-meta div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}

.page-hero-meta dt,
.page-hero-meta dd {
  margin: 0;
}

.page-hero-meta dt {
  color: var(--steel);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.page-hero-meta dd {
  font-weight: 650;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  padding: 11px 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 720;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--cobalt);
}

.btn-primary:hover { background: var(--cobalt-deep); }

.btn-secondary {
  color: var(--text);
  border-color: var(--text);
  background: transparent;
}

.btn-secondary:hover { background: var(--surface); }

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cobalt-deep);
  font-weight: 720;
  text-underline-offset: 4px;
}

.text-link::after {
  content: ">";
  font-size: 17px;
  transition: transform 160ms ease;
}

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

.home-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.home-hero-grid {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(360px, 44%);
}

.hero-copy {
  z-index: 3;
  padding: 94px 64px 70px max(32px, calc((100vw - var(--max)) / 2));
  align-self: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 28px;
  font-size: 88px;
  font-weight: 760;
  line-height: .9;
}

.hero-role {
  max-width: 680px;
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-statement {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 19px;
}

.hero-mobile-proof,
.cv-title-mobile,
.cv-hero-mobile {
  display: none;
}

.hero-scene {
  position: relative;
  min-width: 0;
  perspective: 1000px;
  background: #e9e8e6;
  overflow: hidden;
}

.hero-portrait {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% center;
  transform: translate3d(calc(var(--scene-x, 0) * -5px), calc(var(--scene-y, 0) * -3px), 0) scale(1.015);
  transition: transform 700ms cubic-bezier(.2, .75, .2, 1);
}

.scene-plane {
  position: absolute;
  z-index: 4;
  width: 192px;
  min-height: 96px;
  padding: 16px;
  color: var(--text);
  border: 1px solid rgb(255 255 255 / 75%);
  background: rgb(255 255 255 / 82%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  transform: translate3d(calc(var(--scene-x, 0) * var(--depth-x)), calc(var(--scene-y, 0) * var(--depth-y)), var(--depth-z));
  transition: transform 700ms cubic-bezier(.2, .75, .2, 1), background 180ms ease;
}

.scene-plane small {
  display: block;
  margin-bottom: 7px;
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.scene-plane strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.scene-plane span {
  display: block;
  margin-top: 5px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}

.plane-implement {
  --depth-x: 7px;
  --depth-y: 4px;
  --depth-z: 42px;
  left: 6%;
  top: 8%;
}

.plane-operate {
  --depth-x: -9px;
  --depth-y: 6px;
  --depth-z: 64px;
  right: 5%;
  top: 42%;
}

.plane-enable {
  --depth-x: 5px;
  --depth-y: -8px;
  --depth-z: 28px;
  left: 8%;
  bottom: 7%;
}

.hero-entry .hero-copy {
  animation: hero-copy-in 720ms cubic-bezier(.2, .75, .2, 1) both;
}

.hero-entry .hero-scene {
  animation: hero-scene-in 900ms cubic-bezier(.2, .75, .2, 1) both;
}

@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-scene-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

.proof-horizon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  color: var(--white);
  background: var(--surface-inverse);
}

.proof-item {
  min-height: 148px;
  padding: 30px max(28px, calc((100vw - var(--max)) / 8));
  border-right: 1px solid rgb(255 255 255 / 14%);
}

.proof-item:last-child { border-right: 0; }

.proof-item strong {
  display: block;
  margin-bottom: 7px;
  color: #77a6ff;
  font-size: 34px;
  line-height: 1;
}

.proof-item span {
  display: block;
  max-width: 220px;
  font-size: 13px;
  line-height: 1.4;
}

.band {
  padding: 110px 0;
}

.band-paper { background: var(--surface); }
.band-pearl { background: var(--surface-page); }
.band-mist { background: var(--surface-muted); }
.band-ink { color: var(--white); background: var(--surface-inverse); }

.band-ink .section-kicker { color: #8fb4ff; }
.band-ink .section-intro { color: #c6cfdd; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 58px;
}

.section-note {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 46px;
  align-items: stretch;
}

.expertise-map {
  position: relative;
  min-height: 560px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  perspective: 900px;
}

.expertise-lines {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.expertise-lines line {
  stroke: var(--border);
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke 220ms ease;
}

.expertise-map.is-visible .expertise-lines line {
  animation: line-draw 800ms ease forwards;
}

.expertise-map.is-visible .expertise-lines line:nth-child(2) { animation-delay: 80ms; }
.expertise-map.is-visible .expertise-lines line:nth-child(3) { animation-delay: 160ms; }
.expertise-map.is-visible .expertise-lines line:nth-child(4) { animation-delay: 240ms; }

@keyframes line-draw { to { stroke-dashoffset: 0; } }

.expertise-core,
.expertise-node {
  position: absolute;
  z-index: 2;
  border-radius: var(--radius);
  text-align: left;
}

.expertise-core {
  left: 50%;
  top: 50%;
  width: 218px;
  min-height: 150px;
  padding: 24px;
  display: grid;
  place-content: center;
  transform: translate(-50%, -50%);
  border: 2px solid var(--cobalt);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.expertise-core small,
.expertise-node small {
  display: block;
  margin-bottom: 8px;
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  line-height: 1.3;
  text-transform: uppercase;
}

.expertise-core strong {
  font-size: 27px;
  line-height: 1.05;
}

.expertise-node {
  width: 210px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 12px 34px rgb(9 14 27 / 8%);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.expertise-node strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.expertise-node:hover,
.expertise-node[aria-pressed="true"] {
  border-color: var(--cobalt);
  background: var(--accent-soft);
  box-shadow: 0 18px 38px rgb(31 94 255 / 14%);
  transform: translateY(-4px);
}

.node-succession { left: 4%; top: 10%; }
.node-time { right: 3%; top: 12%; }
.node-supporting { right: 1%; bottom: 9%; }
.node-lifecycle { left: 5%; bottom: 8%; }

.expertise-panel {
  min-height: 560px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--surface);
}

.expertise-panel-label {
  margin-bottom: auto;
  color: var(--steel);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.expertise-panel h3 {
  margin-bottom: 18px;
  font-size: 31px;
  line-height: 1.06;
}

.expertise-panel p {
  color: var(--text-soft);
}

.evidence-list {
  margin: 10px 0 24px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.evidence-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.scope-boundary {
  margin-top: 18px;
  padding: 14px 0 0;
  border-top: 1px solid var(--border);
  color: var(--steel);
  font-size: 13px;
}

.lifecycle-rail {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lifecycle-step {
  position: relative;
  min-height: 98px;
  padding: 20px 18px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lifecycle-step:last-child { border-right: 0; }

.lifecycle-step small {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 10px;
  font-weight: 760;
}

.lifecycle-step strong {
  font-size: 15px;
  line-height: 1.25;
}

.lifecycle-step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  top: -2px;
  height: 3px;
  background: var(--cobalt);
  transition: right 240ms ease;
}

.lifecycle-step[aria-pressed="true"] {
  background: var(--accent-soft);
}

.lifecycle-step[aria-pressed="true"]::before { right: 0; }

.lifecycle-detail {
  min-height: 112px;
  padding: 25px 0 0;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
}

.lifecycle-detail strong {
  font-size: 20px;
}

.lifecycle-detail p {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
}

.role-lens {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  border: 1px solid var(--border);
  background: var(--surface);
}

.lens-controls {
  border-right: 1px solid var(--border);
}

.lens-control {
  width: 100%;
  min-height: 92px;
  padding: 20px 24px;
  display: block;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.lens-control:last-child { border-bottom: 0; }

.lens-control small {
  display: block;
  color: var(--steel);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.lens-control strong {
  display: block;
  margin-top: 5px;
  font-size: 17px;
}

.lens-control[aria-pressed="true"] {
  box-shadow: inset 4px 0 0 var(--cobalt);
  background: var(--accent-soft);
}

.lens-output {
  min-height: 276px;
  padding: 40px;
  display: grid;
  align-content: center;
}

.lens-output h3 {
  max-width: 640px;
  margin-bottom: 16px;
  font-size: 32px;
  line-height: 1.1;
}

.lens-output p {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--text-soft);
}

.lens-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lens-proof span,
.tag {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  background: var(--surface);
  font-size: 12px;
  font-weight: 650;
}

.timeline-preview {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: start;
}

.employer-card {
  padding: 34px;
  border-top: 4px solid var(--cobalt);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.employer-card .date {
  color: var(--steel);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.employer-card h3 {
  margin: 8px 0 4px;
  font-size: 30px;
}

.employer-card .role {
  margin-bottom: 20px;
  color: var(--cobalt-deep);
  font-weight: 720;
}

.career-milestones {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.career-milestones li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--border);
}

.career-milestones time {
  color: var(--steel);
  font-size: 12px;
  font-weight: 760;
}

.career-milestones strong {
  display: block;
  margin-bottom: 4px;
  line-height: 1.3;
}

.career-milestones p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.cv-invitation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 42px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.cv-invitation h2 {
  margin-bottom: 8px;
  font-size: 38px;
  line-height: 1.05;
}

.cv-invitation p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.lab-preview {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 72px;
  align-items: center;
}

.lab-preview h2 {
  margin-bottom: 20px;
  font-size: 46px;
  line-height: 1.04;
}

.lab-preview p {
  color: #c6cfdd;
}

.lab-sequence {
  display: grid;
  gap: 1px;
  background: rgb(255 255 255 / 16%);
}

.lab-sequence span {
  min-height: 68px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-inverse);
}

.lab-sequence b {
  width: 28px;
  color: #8fb4ff;
}

.experience-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}

.filter-button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-button[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--cobalt);
  background: var(--cobalt);
}

.experience-stack {
  display: grid;
  gap: 18px;
}

.engagement-record {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 210px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: opacity 180ms ease, transform 180ms ease;
}

.engagement-record[hidden] { display: none; }

.engagement-date,
.engagement-main,
.engagement-proof {
  padding: 28px;
}

.engagement-date {
  color: var(--steel);
  border-right: 1px solid var(--border);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.engagement-main h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.15;
}

.engagement-main p {
  margin-bottom: 14px;
  color: var(--text-soft);
  font-size: 15px;
}

.engagement-proof {
  border-left: 1px solid var(--border);
  background: var(--surface-page);
}

.engagement-proof small {
  display: block;
  margin-bottom: 9px;
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.engagement-proof strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.capability-item {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.capability-item small {
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.capability-item h3 {
  margin: 9px 0 12px;
  font-size: 22px;
}

.capability-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.experience-ai-capability {
  margin-top: 24px;
  padding: 34px 36px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--cobalt-deep);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--cobalt-deep);
  box-shadow: 0 18px 48px rgb(17 63 169 / 18%);
}

.experience-ai-capability-number {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-right: 1px solid rgb(255 255 255 / 24%);
  color: var(--signal-ice);
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.experience-ai-capability-label {
  margin: 0 0 9px;
  color: var(--signal-ice);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.experience-ai-capability-label span {
  margin-left: 9px;
  padding-left: 10px;
  border-left: 1px solid rgb(255 255 255 / 34%);
  color: var(--white);
}

.experience-ai-capability h3 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.15;
}

.experience-ai-capability-copy > p:last-child {
  max-width: 780px;
  margin: 0;
  color: #e9efff;
  font-size: 15px;
}

.btn-experience-ai {
  max-width: 230px;
  border-color: var(--signal-sky);
  color: var(--text);
  background: var(--signal-sky);
  text-align: center;
}

.btn-experience-ai:hover,
.btn-experience-ai:focus-visible {
  border-color: var(--surface);
  color: var(--text);
  background: var(--surface);
}

.cv-shell {
  padding: 70px 0 110px;
}

.cv-tabs {
  position: sticky;
  z-index: 20;
  top: var(--nav-height);
  display: flex;
  overflow-x: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgb(243 246 251 / 96%);
  scrollbar-width: thin;
}

.cv-tab {
  position: relative;
  min-width: 150px;
  min-height: 58px;
  padding: 14px 20px;
  flex: 1 0 auto;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cv-tab:last-child { border-right: 0; }

.cv-tab::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 3px;
  background: transparent;
}

.cv-tab[aria-selected="true"] {
  color: var(--cobalt-deep);
  background: var(--surface);
}

.cv-tab[aria-selected="true"]::after { background: var(--cobalt); }

.cv-panels {
  min-height: 720px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 0;
}

.js .cv-panel[hidden] { display: none; }

.cv-panel {
  padding: 54px;
  animation: panel-enter 240ms ease both;
}

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

.cv-panel-head {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border);
}

.cv-panel-head h2 {
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1.05;
}

.cv-panel-head p {
  max-width: 720px;
  color: var(--text-soft);
}

.cv-contact-strip {
  margin: 0 0 36px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cv-contact-intro h3 {
  margin: 3px 0 0;
  font-size: 22px;
  line-height: 1.2;
}

.cv-contact-intro .section-kicker {
  margin: 0;
}

.cv-contact-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cv-contact-link {
  min-width: 0;
  min-height: 58px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.cv-contact-link:hover,
.cv-contact-link:focus-visible {
  border-color: var(--cobalt);
  background: var(--cobalt);
  color: var(--white);
  transform: translateY(-1px);
}

.cv-contact-link svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cv-contact-link span {
  min-width: 0;
  display: grid;
}

.cv-contact-link small {
  color: var(--steel);
  font-size: 10px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.cv-contact-link:hover small,
.cv-contact-link:focus-visible small {
  color: rgb(255 255 255 / 78%);
}

.cv-contact-link strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv-facts {
  margin: 0;
  display: grid;
  border-top: 1px solid var(--border);
}

.cv-facts div {
  padding: 12px 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.cv-facts dt,
.cv-facts dd { margin: 0; }
.cv-facts dt { color: var(--steel); font-size: 11px; font-weight: 760; text-transform: uppercase; }
.cv-facts dd { font-size: 14px; font-weight: 650; }

.fit-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.fit-item {
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--surface-page);
}

.fit-item small {
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.fit-item h3 {
  margin: 8px 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.fit-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.cv-employer {
  margin-top: 36px;
  border-left: 4px solid var(--cobalt);
}

.cv-employer-head {
  padding: 28px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  background: var(--surface-page);
}

.cv-employer-head time {
  color: var(--steel);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.cv-employer-head h3 {
  margin: 0 0 5px;
  font-size: 25px;
}

.cv-employer-head p { margin: 0; color: var(--text-soft); }

.nested-engagements {
  margin-left: 38px;
  border-left: 1px solid var(--border);
}

.nested-engagement {
  position: relative;
  padding: 25px 28px;
  border-bottom: 1px solid var(--border);
}

.nested-engagement::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 34px;
  width: 18px;
  height: 1px;
  background: var(--border);
}

.nested-engagement time {
  display: block;
  margin-bottom: 7px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.nested-engagement h4 {
  margin: 0 0 8px;
  font-size: 19px;
}

.nested-engagement p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.earlier-career {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.earlier-career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.earlier-role {
  padding: 22px;
  border: 1px solid var(--border);
}

.earlier-role time {
  color: var(--steel);
  font-size: 11px;
  font-weight: 760;
}

.earlier-role h4 {
  margin: 8px 0 6px;
  font-size: 18px;
}

.earlier-role p { margin: 0; color: var(--text-soft); font-size: 13px; }

.expertise-groups,
.credential-grid,
.evidence-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.expertise-group,
.credential-block,
.evidence-block {
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface-page);
}

.expertise-group small,
.credential-block small,
.evidence-block small {
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.expertise-group h3,
.credential-block h3,
.evidence-block h3 {
  margin: 9px 0 12px;
  font-size: 22px;
}

.expertise-group p,
.credential-block p,
.evidence-block p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.credential-block-wide {
  margin-top: 16px;
}

.language-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.language-list li {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.language-list b { color: var(--cobalt-deep); }

.lab-hero {
  color: var(--white);
  background: var(--surface-inverse);
  border-color: rgb(255 255 255 / 15%);
}

.lab-hero .eyebrow { color: #8fb4ff; }
.lab-hero p:not(.eyebrow) { color: #c6cfdd; }
.lab-hero .page-hero-meta { border-color: rgb(255 255 255 / 18%); }
.lab-hero .page-hero-meta div { border-color: rgb(255 255 255 / 18%); }
.lab-hero .page-hero-meta dt { color: #93a1b6; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.resource-card {
  min-height: 286px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.resource-card small {
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.resource-card h3 {
  margin: 12px 0;
  font-size: 21px;
  line-height: 1.2;
}

.resource-card p {
  color: var(--text-soft);
  font-size: 14px;
}

.resource-card .text-link { margin-top: auto; font-size: 14px; }

.guided-layer {
  margin-top: 34px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.guided-layer > small {
  color: var(--cobalt-deep);
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.guided-layer h3 {
  margin: 0 0 5px;
  font-size: 23px;
}

.guided-layer p {
  max-width: 720px;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.training-planner {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  border: 1px solid var(--border);
  background: var(--surface);
}

.planner-controls,
.planner-output {
  padding: 38px;
}

.planner-controls { border-right: 1px solid var(--border); }

.control-group + .control-group {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.control-label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 740;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
}

.segment {
  min-height: 46px;
  padding: 9px 10px;
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.segment:last-child { border-right: 0; }
.segment[aria-pressed="true"] { color: var(--white); background: var(--cobalt); }

.range-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 18px;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  min-height: 44px;
  margin: 0;
  accent-color: var(--cobalt);
  cursor: pointer;
}

.hour-value {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: var(--surface-page);
  font-weight: 750;
}

.planner-output {
  min-height: 370px;
  display: grid;
  align-content: center;
}

.planner-output small {
  color: var(--cobalt-deep);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
}

.planner-output h3 {
  margin: 14px 0 12px;
  font-size: 34px;
  line-height: 1.06;
}

.planner-output p { max-width: 640px; color: var(--text-soft); }

.planner-metric {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 12px;
}

.planner-metric span {
  padding: 16px;
  border-top: 3px solid var(--cobalt);
  background: var(--surface-page);
  font-size: 12px;
}

.planner-metric b {
  display: block;
  margin-bottom: 3px;
  font-size: 23px;
}

.diagnosis-drill {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  border: 1px solid rgb(255 255 255 / 18%);
}

.drill-context,
.drill-question {
  padding: 38px;
}

.drill-context {
  border-right: 1px solid rgb(255 255 255 / 18%);
}

.drill-context small,
.drill-question small {
  color: #8fb4ff;
  font-size: 10px;
  font-weight: 760;
  text-transform: uppercase;
}

.drill-context h3,
.drill-question h3 {
  margin: 12px 0 16px;
  font-size: 28px;
  line-height: 1.1;
}

.drill-context p,
.drill-question p { color: #c6cfdd; }

.drill-options {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.drill-option {
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgb(255 255 255 / 24%);
  background: transparent;
  color: var(--white);
  text-align: left;
  cursor: pointer;
}

.drill-option:hover,
.drill-option:focus-visible { border-color: #8fb4ff; }
.drill-option.is-correct { color: var(--text); border-color: var(--white); background: var(--white); }
.drill-option.is-wrong { border-color: #8fb4ff; background: rgb(31 94 255 / 28%); }

.drill-feedback {
  min-height: 74px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 18%);
  color: #dce7ff;
  font-size: 14px;
}

.about-profile {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: calc(var(--nav-height) + 30px);
  min-height: 660px;
  background: #e9e8e6;
}

.about-portrait img {
  width: 100%;
  height: 660px;
  object-fit: cover;
  object-position: 45% center;
}

.about-copy h2 {
  margin-bottom: 24px;
  font-size: 45px;
  line-height: 1.04;
}

.about-copy > p {
  color: var(--text-soft);
  font-size: 18px;
}

.principle-list {
  margin-top: 42px;
  border-top: 1px solid var(--border);
}

.principle {
  padding: 23px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.principle b {
  color: var(--cobalt-deep);
  font-size: 13px;
}

.principle h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.principle p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.language-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.language-band div {
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.language-band strong {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

.language-band span { color: var(--steel); font-size: 13px; }

.site-footer {
  color: #c6cfdd;
  background: var(--surface-inverse);
}

.footer-main {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
}

.footer-main h2 {
  max-width: 650px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 34px;
  line-height: 1.08;
}

.footer-main p {
  max-width: 680px;
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 28px;
  align-content: start;
}

.footer-links a {
  min-height: 44px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: var(--white);
  text-underline-offset: 4px;
}

.footer-legal {
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: #93a1b6;
  font-size: 11px;
  line-height: 1.5;
}

.footer-legal p { margin: 0; max-width: 920px; }

.status-note {
  padding: 14px 18px;
  border-left: 3px solid var(--cobalt);
  background: var(--accent-soft);
  color: var(--text-soft);
  font-size: 13px;
}

@media (max-width: 1100px) {
  :root { --nav-height: 74px; }
  .nav-shell,
  .shell { width: min(100% - 48px, var(--max)); }
  .home-hero-grid { grid-template-columns: 53% 47%; }
  .hero-copy { padding-left: 44px; padding-right: 36px; }
  .hero-copy h1 { font-size: 70px; }
  .scene-plane { width: 168px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .expertise-layout { grid-template-columns: 1fr; }
  .expertise-panel { min-height: 360px; }
  .expertise-panel-label { margin-bottom: 48px; }
  .timeline-preview { gap: 36px; }
  .engagement-record { grid-template-columns: 140px minmax(0, 1fr); }
  .engagement-proof { grid-column: 2; border-left: 0; border-top: 1px solid var(--border); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .cv-panel-head { grid-template-columns: 1fr; gap: 26px; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .header-contact-call { display: none; }
  .primary-nav a { padding-inline: 10px; }
}

@media (max-width: 860px) and (min-width: 821px) {
  .header-contact { display: none; }
  .nav-toggle { display: grid; }
  .primary-nav {
    position: fixed;
    z-index: 89;
    inset: var(--nav-height) 0 auto;
    height: calc(100svh - var(--nav-height));
    padding: 18px 24px;
    display: grid;
    grid-auto-rows: minmax(58px, auto);
    align-content: start;
    gap: 0;
    border-top: 1px solid var(--border);
    background: var(--surface-page);
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: clip-path 220ms ease, visibility 0s linear 220ms;
  }
  .primary-nav.is-open {
    clip-path: inset(0);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }
  .primary-nav a {
    min-height: 58px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
  }
  .primary-nav a::after { left: 14px; right: auto; width: 42px; bottom: -1px; }
  .primary-nav .nav-cv { color: var(--white); background: var(--cobalt); }
  .primary-nav .nav-cv::after { display: none; }
  .nav-contact-mobile {
    margin-top: 10px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid var(--border);
  }
  .primary-nav .nav-contact-mobile a {
    min-width: 0;
    min-height: 54px;
    padding: 8px;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--cobalt-deep);
    font-size: 13px;
    text-align: center;
  }
  .primary-nav .nav-contact-mobile a::after { display: none; }
}

@media (max-width: 820px) {
  :root { --nav-height: 68px; }
  body { font-size: 16px; }
  .nav-shell,
  .shell { width: calc(100% - 36px); }
  .brand-name { display: inline; }
  .header-contact { display: none; }
  .nav-toggle { display: grid; }
  .primary-nav {
    position: fixed;
    z-index: 89;
    inset: var(--nav-height) 0 auto;
    height: calc(100svh - var(--nav-height));
    padding: 18px;
    display: grid;
    grid-auto-rows: minmax(58px, auto);
    align-content: start;
    gap: 0;
    border-top: 1px solid var(--border);
    background: var(--surface-page);
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: clip-path 220ms ease, visibility 0s linear 220ms;
  }
  .primary-nav.is-open {
    clip-path: inset(0);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }
  .primary-nav a {
    min-height: 58px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border);
    font-size: 18px;
  }
  .primary-nav a::after { left: 14px; right: auto; width: 42px; bottom: -1px; }
  .primary-nav .nav-cv { color: var(--white); background: var(--cobalt); }
  .primary-nav .nav-cv::after { display: none; }
  .nav-contact-mobile {
    margin-top: 10px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid var(--border);
  }
  .primary-nav .nav-contact-mobile a {
    min-width: 0;
    min-height: 54px;
    padding: 8px;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--cobalt-deep);
    font-size: 13px;
    text-align: center;
  }
  .primary-nav .nav-contact-mobile a::after { display: none; }
  .page-hero { padding: 72px 0 60px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .page-hero h1 { font-size: 48px; }
  .page-hero p:not(.eyebrow) { font-size: 18px; }
  .cv-page .page-hero {
    padding: 34px 0 28px;
  }
  .cv-page .page-hero-grid {
    gap: 0;
  }
  .cv-page .page-hero .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }
  .cv-page .page-hero h1 {
    margin-bottom: 12px;
    font-size: 38px;
  }
  .cv-page .page-hero-meta,
  .cv-title-desktop,
  .cv-hero-desktop {
    display: none;
  }
  .cv-title-mobile,
  .cv-hero-mobile {
    display: block;
  }
  .cv-page .page-hero p.cv-hero-mobile {
    max-width: 520px;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
  }
  .home-hero-grid { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding: 64px 18px 40px; }
  .hero-copy h1 { font-size: 58px; }
  .hero-role { font-size: 20px; }
  .hero-scene { min-height: 500px; }
  .scene-plane { width: 158px; min-height: 86px; padding: 13px; }
  .plane-implement { left: 4%; top: 5%; }
  .plane-operate { right: 3%; top: 44%; }
  .plane-enable { left: 4%; bottom: 5%; }
  .proof-horizon { grid-template-columns: repeat(2, 1fr); }
  .proof-item { min-height: 126px; padding: 25px 18px; border-bottom: 1px solid rgb(255 255 255 / 14%); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item strong { font-size: 29px; }
  .band { padding: 80px 0; }
  .section-heading { font-size: 34px; }
  .section-intro { font-size: 17px; }
  .expertise-map { min-height: auto; padding: 24px 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .expertise-lines { display: none; }
  .expertise-core,
  .expertise-node { position: static; width: 100%; min-height: 88px; transform: none; }
  .expertise-core { min-height: 112px; }
  .expertise-node:hover,
  .expertise-node[aria-pressed="true"] { transform: none; }
  .expertise-panel { min-height: 430px; padding: 28px; }
  .lifecycle-rail { grid-template-columns: 1fr; }
  .lifecycle-step { min-height: 76px; border-right: 0; border-bottom: 1px solid var(--border); }
  .lifecycle-step:last-child { border-bottom: 0; }
  .lifecycle-step::before { left: -2px; right: auto; top: 0; bottom: 100%; width: 3px; height: auto; transition: bottom 240ms ease; }
  .lifecycle-step[aria-pressed="true"]::before { bottom: 0; }
  .lifecycle-detail { grid-template-columns: 1fr; gap: 8px; }
  .role-lens { grid-template-columns: 1fr; }
  .lens-controls { border-right: 0; border-bottom: 1px solid var(--border); }
  .lens-output { min-height: 340px; padding: 28px; }
  .timeline-preview { grid-template-columns: 1fr; }
  .cv-invitation { grid-template-columns: 1fr; padding: 32px; }
  .lab-preview { grid-template-columns: 1fr; gap: 40px; }
  .engagement-record { grid-template-columns: 1fr; }
  .engagement-date { border-right: 0; border-bottom: 1px solid var(--border); }
  .engagement-proof { grid-column: 1; }
  .capability-grid { grid-template-columns: 1fr; }
  .experience-ai-capability { grid-template-columns: 64px minmax(0, 1fr); }
  .experience-ai-capability .btn { grid-column: 2; justify-self: start; }
  .cv-shell { padding: 0 0 80px; }
  .cv-tabs { top: var(--nav-height); margin-inline: -18px; padding-inline: 18px; }
  .cv-tab { min-width: 138px; }
  .cv-panels { margin-inline: -18px; border-left: 0; border-right: 0; }
  .cv-panel { padding: 36px 18px; }
  .cv-panel-head h2 { font-size: 34px; }
  .cv-contact-strip { grid-template-columns: 1fr; gap: 16px; }
  .fit-grid { grid-template-columns: 1fr; }
  .cv-employer-head { grid-template-columns: 1fr; gap: 8px; }
  .nested-engagements { margin-left: 18px; }
  .earlier-career-grid { grid-template-columns: 1fr; }
  .expertise-groups,
  .credential-grid,
  .evidence-grid { grid-template-columns: 1fr; }
  .resource-grid { grid-template-columns: 1fr; }
  .guided-layer { grid-template-columns: 1fr; gap: 12px; }
  .training-planner { grid-template-columns: 1fr; }
  .planner-controls { border-right: 0; border-bottom: 1px solid var(--border); }
  .diagnosis-drill { grid-template-columns: 1fr; }
  .drill-context { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 18%); }
  .about-profile { grid-template-columns: 1fr; gap: 42px; }
  .about-portrait { position: relative; top: auto; min-height: 520px; }
  .about-portrait img { height: 520px; }
  .language-band { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-legal { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .nav-identity { gap: 10px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy { padding-top: 52px; }
  .hero-scene { min-height: 390px; }
  .hero-portrait { object-position: 46% center; }
  .scene-plane { width: 132px; min-height: 74px; padding: 10px; }
  .scene-plane strong { font-size: 13px; }
  .scene-plane span { display: none; }
  .hero-statement { display: none; }
  .hero-mobile-proof {
    display: block;
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 650;
  }
  .hero-scene { min-height: 180px; }
  .plane-enable { display: none; }
  .plane-operate { top: 52%; }
  .proof-item { min-height: 118px; }
  .proof-item strong { font-size: 26px; }
  .btn-row { display: grid; grid-template-columns: 1fr; }
  .cv-contact-links { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .page-hero h1 { font-size: 42px; }
  .cv-page .page-hero h1 { font-size: 34px; }
  .page-hero-meta div { grid-template-columns: 90px 1fr; }
  .section-heading { font-size: 32px; }
  .section-head { margin-bottom: 38px; }
  .experience-ai-capability {
    padding: 28px 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .experience-ai-capability-number {
    width: 100%;
    padding-bottom: 18px;
    place-items: start;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 24%);
    font-size: 36px;
  }
  .experience-ai-capability-label span {
    display: block;
    margin: 5px 0 0;
    padding: 0;
    border-left: 0;
  }
  .experience-ai-capability .btn {
    grid-column: 1;
    max-width: none;
    justify-self: stretch;
  }
  .expertise-panel h3 { font-size: 28px; }
  .lens-output h3 { font-size: 27px; }
  .career-milestones li { grid-template-columns: 1fr; gap: 6px; }
  .experience-filter-bar { display: grid; grid-template-columns: 1fr 1fr; }
  .filter-button { width: 100%; }
  .segmented { grid-template-columns: 1fr; }
  .segment { border-right: 0; border-bottom: 1px solid var(--border); }
  .segment:last-child { border-bottom: 0; }
  .planner-controls,
  .planner-output,
  .drill-context,
  .drill-question { padding: 26px 20px; }
  .planner-metric { grid-template-columns: 1fr 1fr; }
  .language-band { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
}

@media (max-height: 700px) and (min-width: 821px) {
  .home-hero-grid { min-height: 560px; }
  .hero-copy { padding-top: 58px; padding-bottom: 48px; }
  .hero-copy h1 { font-size: 70px; }
  .scene-plane { min-height: 78px; }
  .proof-item { min-height: 126px; padding-top: 24px; padding-bottom: 24px; }
}

@media (max-height: 620px) and (max-width: 520px) {
  .hero-copy {
    padding-top: 30px;
    padding-bottom: 26px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
  }
  .hero-copy h1 {
    margin-bottom: 15px;
    font-size: 40px;
  }
  .hero-role {
    margin-bottom: 0;
    font-size: 17px;
    line-height: 1.3;
  }
  .hero-statement {
    display: none;
  }
  .hero-mobile-proof {
    display: none;
  }
  .hero-copy .btn-row {
    margin-top: 17px;
    gap: 8px;
  }
  .hero-copy .btn {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .hero-scene {
    min-height: 320px;
  }
  .cv-page .page-hero {
    padding-top: 22px;
    padding-bottom: 20px;
  }
  .cv-page .page-hero h1 {
    margin-bottom: 8px;
    font-size: 31px;
  }
  .cv-page .page-hero p.cv-hero-mobile {
    font-size: 13px;
  }
  .cv-page .cv-panel {
    padding-top: 24px;
  }
  .cv-page .cv-panel-head h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-portrait,
  .scene-plane { transform: none !important; }
  .expertise-lines line { stroke-dasharray: none; stroke-dashoffset: 0; }
}

@media print {
  .site-header,
  .page-progress,
  .site-footer,
  .btn-row,
  .cv-tabs { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .page-hero { padding: 24px 0; }
  .page-hero h1 { font-size: 34pt; }
  .cv-shell { padding: 0; }
  .cv-panels { border: 0; }
  .cv-panel,
  .js .cv-panel[hidden] { display: block !important; padding: 24px 0; break-inside: avoid; }
  .cv-panel + .cv-panel { border-top: 2px solid #000; }
  .fit-item,
  .expertise-group,
  .credential-block,
  .evidence-block { background: #fff; break-inside: avoid; }
}

/* V8 language, theme, and editorial layer */

html[data-theme="dark"] {
  color-scheme: dark;
  --text: #f5f7fb;
  --text-soft: #c0cad8;
  --steel: #9aa9bd;
  --surface-page: #080d18;
  --surface: #101827;
  --surface-muted: #172235;
  --surface-inverse: #050914;
  --border: #34435a;
  --border-strong: #71819a;
  --accent-soft: #1b315d;
  --focus-ring: #91b0ff;
  --header-bg: rgb(8 13 24 / 94%);
  --cobalt: #7098ff;
  --cobalt-deep: #b2c7ff;
  --signal-deep: #9db9ff;
  --signal-blue: #78a0ff;
  --signal-sky: #7bc2ff;
  --signal-ice: #315782;
  --shadow: 0 22px 60px rgb(0 0 0 / 34%);
}

.site-header,
.guide-page .site-header {
  border-bottom-color: color-mix(in srgb, var(--border) 86%, transparent);
  background: var(--header-bg);
}

.nav-shell {
  gap: 16px;
}

.primary-nav {
  margin-left: auto;
}

.nav-utilities {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.language-picker {
  position: relative;
}

.utility-button {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--text-soft);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.utility-button:hover,
.utility-button:focus-visible,
.utility-button[aria-expanded="true"] {
  border-color: var(--cobalt);
  background: var(--accent-soft);
  color: var(--cobalt-deep);
  transform: translateY(-1px);
}

.language-toggle {
  width: 58px;
  grid-template-columns: 20px auto;
  gap: 5px;
}

.utility-icon,
.theme-icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.utility-code {
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

.theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.utility-button::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  padding: 5px 8px;
  border-radius: 2px;
  background: var(--surface-inverse);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-3px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 0s linear 140ms;
  pointer-events: none;
}

.utility-button:hover::after,
.utility-button:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.language-menu {
  position: absolute;
  z-index: 96;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  padding: 7px;
  display: grid;
  gap: 2px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.language-menu a {
  min-height: 44px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--cobalt-deep);
}

.language-menu a[aria-current="page"]::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--cobalt);
}

.guide-scenario,
.lab-scenario {
  max-width: 72ch;
  margin: 10px 0 26px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.lab-scenario {
  max-width: 62ch;
  color: color-mix(in srgb, var(--white) 78%, transparent);
}

.error-page {
  min-height: 100svh;
  padding-block: clamp(80px, 14vh, 170px);
  display: grid;
  align-items: center;
  background: var(--surface-page);
}

.error-page h1 {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--text);
  font-size: 64px;
  line-height: 1.02;
}

html[data-theme="dark"] .header-contact-link,
html[data-theme="dark"] .cv-contact-link,
html[data-theme="dark"] html.js .primary-nav .nav-contact-mobile a {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

html[data-theme="dark"] .header-contact-link[href^="https://wa.me/"],
html[data-theme="dark"] .cv-contact-link[href^="https://wa.me/"],
html[data-theme="dark"] html.js .primary-nav .nav-contact-mobile a[href^="https://wa.me/"] {
  background: #10271a;
  color: #73e39a;
}

html[data-theme="dark"] .brand-mark::after,
html[data-theme="dark"] .page-progress span {
  background: var(--cobalt);
}

html[data-theme="dark"] .guide-feedback.is-correct,
html[data-theme="dark"] .drill-option.is-correct,
html[data-theme="dark"] .atlas-map button[aria-pressed="true"],
html[data-theme="dark"] .frame-register button[aria-pressed="true"] {
  color: #08101f;
}

@media (max-width: 1180px) {
  .site-header {
    height: var(--nav-height);
  }

  .header-contact {
    display: none;
  }

  .nav-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  html.js .primary-nav {
    position: fixed;
    z-index: 89;
    inset: var(--nav-height) 0 0;
    height: calc(100svh - var(--nav-height));
    margin: 0;
    padding: 18px 24px 30px;
    display: grid;
    grid-auto-rows: minmax(58px, auto);
    align-content: start;
    gap: 0;
    border-top: 1px solid var(--border);
    background: var(--surface-page);
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: clip-path 220ms ease, visibility 0s linear 220ms;
  }

  html.js .primary-nav.is-open {
    clip-path: inset(0);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  html.js .primary-nav > a {
    min-height: 58px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    background: transparent;
    font-size: 18px;
  }

  html.js .primary-nav .nav-ai {
    color: var(--signal-deep);
    background: var(--accent-soft);
  }

  html.js .primary-nav .nav-cv {
    color: var(--cobalt-deep);
  }

  html.js .primary-nav > a::after {
    left: 14px;
    right: auto;
    width: 44px;
    bottom: -1px;
  }

  html.js .nav-contact-mobile {
    margin-top: 12px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid var(--border);
  }

  html.js .primary-nav .nav-contact-mobile a {
    min-width: 0;
    min-height: 52px;
    padding: 8px;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--cobalt-deep);
    font-size: 13px;
    text-align: center;
  }

  html.js .primary-nav .nav-contact-mobile a::after {
    display: none;
  }

  html:not(.js) .site-header {
    position: relative;
    height: auto;
  }

  html:not(.js) .nav-shell {
    height: auto;
    min-height: var(--nav-height);
    flex-wrap: wrap;
  }

  html:not(.js) .nav-toggle,
  html:not(.js) .theme-toggle,
  html:not(.js) .language-toggle {
    display: none;
  }

  html:not(.js) .primary-nav {
    position: static;
    width: 100%;
    height: auto;
    order: 4;
    padding: 8px 0 14px;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    clip-path: none;
    visibility: visible;
    pointer-events: auto;
  }

  html:not(.js) .language-menu {
    position: static;
    width: auto;
    padding: 0;
    display: flex;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: min(var(--max), calc(100% - 28px));
    gap: 8px;
  }

  .brand-name {
    display: none;
  }

  .brand {
    gap: 8px;
  }

  .nav-utilities {
    margin-left: auto;
  }

  .language-menu {
    position: fixed;
    top: calc(var(--nav-height) - 4px);
    right: 14px;
  }

  .error-page h1 {
    font-size: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .utility-button,
  .language-menu {
    transition: none;
  }
}

.hero-copy h1.hero-title-v9 {
  max-width: 700px;
  font-size: 72px;
  line-height: .95;
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  .hero-copy h1.hero-title-v9 { font-size: 62px; }
}

@media (max-width: 820px) {
  .hero-copy h1.hero-title-v9 { font-size: 52px; }
}

@media (max-width: 520px) {
  .hero-copy h1.hero-title-v9 { font-size: 40px; }
}

@media (max-width: 360px) {
  .hero-copy h1.hero-title-v9 { font-size: 36px; }
}

@media (forced-colors: active) {
  .utility-button,
  .language-menu,
  .language-menu a {
    forced-color-adjust: auto;
    border-color: ButtonText;
  }

  .language-menu a[aria-current="page"]::after {
    background: Highlight;
  }
}

@media print {
  html,
  html[data-theme="dark"] {
    color-scheme: light;
    --text: #090e1b;
    --text-soft: #303a4a;
    --surface-page: #ffffff;
    --surface: #ffffff;
    --surface-muted: #f3f6fb;
    --surface-inverse: #090e1b;
    --border: #aeb8c7;
    --accent-soft: #dce7ff;
  }

  .nav-utilities {
    display: none !important;
  }
}

/* V6: Cobalt Atlas */
.ai-hero,
.library-hero,
.guide-hero {
  position: relative;
  overflow: hidden;
}

.ai-hero::after,
.library-hero::after,
.guide-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--signal-blue);
}

.ai-hero-grid,
.library-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  gap: clamp(50px, 7vw, 112px);
  align-items: center;
}

.ai-hero h1,
.library-hero h1 {
  max-width: 900px;
}

.ai-hero-proof {
  min-height: 390px;
  padding: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: end;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
  box-shadow: var(--shadow);
}

.ai-hero-proof > p {
  min-height: 76px;
  margin: 0;
  padding: 18px;
  display: flex;
  align-items: end;
  color: var(--text-soft);
  background: var(--surface);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.ai-proof-mark {
  grid-column: 1 / -1;
  min-height: 180px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px 14px;
  align-items: end;
}

.ai-proof-mark > span {
  grid-row: 1 / -1;
  align-self: center;
  color: var(--text);
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: 112px;
  font-weight: 850;
  line-height: .75;
}

.ai-proof-mark > span:nth-child(2) { color: var(--signal-blue); }

.ai-proof-mark i {
  height: 12px;
  align-self: end;
  background: var(--signal-blue);
}

.ai-proof-mark i:nth-of-type(2) { width: 82%; background: var(--signal-sky); }
.ai-proof-mark i:nth-of-type(3) { width: 63%; align-self: start; background: var(--signal-deep); }
.ai-proof-mark i:nth-of-type(4) { width: 44%; align-self: start; background: var(--signal-ice); }

.ai-worked-example {
  display: grid;
  grid-template-columns: minmax(0, .85fr) 94px minmax(0, 1.15fr);
  align-items: stretch;
  border-block: 1px solid var(--border);
}

.raw-note,
.structured-frame {
  min-height: 440px;
  padding: clamp(28px, 4vw, 52px);
}

.raw-note { background: var(--surface-page); }
.structured-frame { color: var(--white); background: var(--surface-inverse); }

.raw-note > small,
.structured-frame > small,
.ai-method-output > small,
.ai-use-grid small,
.library-source-note > small,
.atlas-output > small,
.guide-meta small,
.guide-concept small,
.guide-source-note small,
.guide-check small {
  display: block;
  margin-bottom: 14px;
  color: var(--signal-deep);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.structured-frame > small,
.ai-method-output > small { color: var(--signal-sky); }

.raw-note h3,
.structured-frame h3,
.ai-method-output h3,
.ai-use-output h3,
.atlas-output h3 {
  margin-bottom: 18px;
  font-size: 30px;
  line-height: 1.08;
}

.raw-note blockquote {
  margin: 32px 0;
  padding-left: 22px;
  border-left: 3px solid var(--signal-blue);
  color: var(--text);
  font-size: 22px;
  font-weight: 670;
  line-height: 1.35;
}

.raw-note p { color: var(--steel); }

.frame-bridge {
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--steel);
  font-size: 10px;
  font-weight: 820;
  text-transform: uppercase;
}

.frame-bridge span {
  width: 100%;
  height: 2px;
  background: var(--signal-blue);
}

.frame-bridge b {
  padding: 8px;
  writing-mode: vertical-rl;
}

.frame-register {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 32px 0;
  border: 1px solid rgb(255 255 255 / 20%);
}

.frame-register button {
  min-height: 54px;
  padding: 10px;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 20%);
  color: #cbd5e4;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 760;
}

.frame-register button:last-child { border-right: 0; }
.frame-register button[aria-pressed="true"] { color: var(--text); background: var(--signal-sky); }

.frame-output {
  margin: 0;
  display: grid;
  gap: 24px;
}

.frame-stage-content + .frame-stage-content {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.js .frame-stage-content[hidden] { display: none; }

.frame-output div { padding-top: 18px; border-top: 1px solid rgb(255 255 255 / 18%); }
.frame-output dt { color: var(--signal-sky); font-size: 11px; font-weight: 820; text-transform: uppercase; }
.frame-output dd { margin: 6px 0 0; color: var(--white); }

.ai-method-layout,
.ai-use-layout,
.atlas-layout {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ai-method-rail,
.ai-use-controls {
  display: grid;
  border-right: 1px solid var(--border);
}

.ai-method-rail button,
.ai-use-controls button {
  position: relative;
  min-height: 106px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}

.ai-method-rail button:last-child,
.ai-use-controls button:last-child { border-bottom: 0; }

.ai-method-rail button::before,
.ai-use-controls button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
}

.ai-method-rail button[aria-pressed="true"],
.ai-use-controls button[aria-pressed="true"] { background: var(--accent-soft); }

.ai-method-rail button[aria-pressed="true"]::before,
.ai-use-controls button[aria-pressed="true"]::before { background: var(--signal-blue); }

.ai-method-rail small { grid-row: 1 / span 2; color: var(--signal-deep); font-size: 11px; font-weight: 820; }
.ai-method-rail strong { font-size: 18px; }
.ai-method-rail span { color: var(--steel); font-size: 13px; }

.ai-method-output,
.ai-use-output,
.atlas-output {
  min-height: 460px;
  padding: clamp(34px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ai-method-output > p:not(.scope-boundary),
.atlas-output > p:not(.scope-boundary) {
  max-width: 680px;
  color: var(--text-soft);
  font-size: 20px;
}

.scope-boundary {
  margin: 30px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--signal-blue);
  background: var(--accent-soft);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 650;
}

.ai-use-controls button {
  min-height: 74px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 760;
}

.ai-use-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ai-use-grid > div {
  min-height: 155px;
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ai-use-grid p { margin: 0; color: var(--text-soft); font-size: 14px; }

.ai-boundary-layout,
.ai-library-proof,
.learning-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.band-ink .section-kicker { color: var(--signal-sky); }
.ai-boundary-layout h2,
.learning-bridge h2 { margin-bottom: 20px; color: var(--white); font-size: 44px; line-height: 1.08; }
.ai-boundary-layout > div > p:last-child,
.learning-bridge > div > p { color: #cbd5e4; }

.ai-boundary-list { margin: 0; border-top: 1px solid rgb(255 255 255 / 20%); }
.ai-boundary-list div { padding: 19px 0; display: grid; grid-template-columns: 96px 1fr; gap: 20px; border-bottom: 1px solid rgb(255 255 255 / 20%); }
.ai-boundary-list dt { color: var(--signal-sky); font-size: 12px; font-weight: 820; text-transform: uppercase; }
.ai-boundary-list dd { margin: 0; color: var(--white); }

.ai-proof-register,
.learning-bridge-steps {
  display: grid;
  border: 1px solid var(--border);
  background: var(--surface);
}

.ai-proof-register span,
.learning-bridge-steps span {
  min-height: 78px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 14px;
}

.ai-proof-register span:last-child,
.learning-bridge-steps span:last-child { border-bottom: 0; }
.ai-proof-register b { color: var(--signal-deep); font-size: 11px; }

.library-hero-meta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.library-hero-meta span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 730;
}

.library-source-note {
  padding: 36px;
  border: 1px solid var(--border);
  border-top: 5px solid var(--signal-blue);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.library-source-note h2 { margin-bottom: 15px; font-size: 28px; line-height: 1.1; }
.library-source-note p { color: var(--text-soft); font-size: 15px; }

.library-atlas-glimpse {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.library-atlas-glimpse a {
  min-height: 78px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: auto auto;
  gap: 0 8px;
  align-content: center;
  border-right: 1px solid var(--border);
  text-decoration: none;
}

.library-atlas-glimpse a:last-child { border-right: 0; }
.library-atlas-glimpse b { grid-row: 1 / -1; color: var(--signal-deep); font-size: 10px; }
.library-atlas-glimpse span { color: var(--text); font-size: 14px; font-weight: 780; }
.library-atlas-glimpse small { color: var(--steel); font-size: 10px; }
.library-atlas-glimpse a:hover,
.library-atlas-glimpse a:focus-visible { background: var(--accent-soft); }

.atlas-layout { grid-template-columns: minmax(0, 1.4fr) minmax(330px, .6fr); }
.atlas-map {
  position: relative;
  min-height: 510px;
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 8px;
  overflow: hidden;
  background: var(--surface-inverse);
}

.atlas-line {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 2px;
  background: var(--signal-sky);
}

.atlas-map button {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 160px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgb(255 255 255 / 25%);
  background: var(--surface-inverse);
  color: var(--white);
  cursor: pointer;
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.atlas-map button:hover { transform: translateY(-6px); }
.atlas-map button[aria-pressed="true"] { color: var(--text); background: var(--signal-sky); border-color: var(--signal-sky); }
.atlas-map small { margin-bottom: 12px; font-size: 10px; font-weight: 820; }
.atlas-map strong { font-size: 16px; }
.atlas-map button span { margin-top: 4px; color: currentColor; opacity: .72; font-size: 11px; }

.atlas-output { min-height: 510px; }
.atlas-output .btn { align-self: flex-start; margin-top: 28px; }

.guide-index { border-top: 1px solid var(--border); }
.guide-row {
  min-height: 116px;
  display: grid;
  grid-template-columns: 58px 165px minmax(0, 1fr) 70px 28px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.guide-row:hover,
.guide-row:focus-visible { color: var(--signal-deep); background: var(--surface); }
.guide-number { color: var(--signal-deep); font-size: 12px; font-weight: 850; }
.guide-layer { color: var(--steel); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.guide-copy { min-width: 0; }
.guide-copy strong { display: block; font-size: 22px; line-height: 1.15; }
.guide-copy small { display: block; margin-top: 5px; color: var(--steel); font-size: 14px; }
.guide-time { color: var(--steel); font-size: 12px; }
.guide-arrow { font-size: 24px; transition: transform 160ms ease; }
.guide-row:hover .guide-arrow { transform: translateX(4px); }

.learning-bridge-steps { border-color: rgb(255 255 255 / 20%); background: transparent; }
.learning-bridge-steps span { border-color: rgb(255 255 255 / 20%); color: #cbd5e4; }
.learning-bridge-steps span { grid-template-columns: minmax(82px, max-content) 1fr; }
.learning-bridge-steps b { color: var(--signal-sky); }

.tailored-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tailored-themes span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  font-size: 13px;
}

.continuation-panel {
  margin-top: 56px;
  padding: clamp(28px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 52px;
  align-items: center;
  border: 1px solid var(--border);
  border-left: 5px solid var(--signal-blue);
  background: var(--surface);
}

.continuation-panel h3 { margin-bottom: 12px; font-size: 28px; }
.continuation-panel p { margin-bottom: 0; color: var(--text-soft); }
.continuation-actions { display: grid; gap: 10px; }
.continuation-sentinel { display: block; width: 1px; height: 1px; }

.continuation-sheet {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto 48px;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  border: 1px solid #344055;
  border-top: 4px solid var(--signal-sky);
  color: var(--white);
  background: var(--surface-inverse);
  box-shadow: 0 24px 70px rgb(9 14 27 / 32%);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.continuation-sheet[hidden] { display: none; }
.continuation-sheet.is-visible { opacity: 1; transform: none; }
.continuation-sheet small { color: var(--signal-sky); font-size: 10px; font-weight: 820; text-transform: uppercase; }
.continuation-sheet h2 { margin: 5px 0 6px; font-size: 22px; }
.continuation-sheet p { margin: 0; color: #cbd5e4; font-size: 13px; }
.sheet-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

/* Learning guides */
.guide-page { background: var(--surface); }
.guide-page .site-header { background: rgb(243 246 251 / 96%); }
.guide-breadcrumb {
  margin-bottom: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--steel);
  font-size: 12px;
}
.guide-breadcrumb a { text-underline-offset: 4px; }
.guide-hero { padding: 78px 0 70px; background: var(--surface-page); }
.guide-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(46px, 7vw, 104px);
  align-items: end;
}
.guide-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: 82px; line-height: .98; }
.guide-hero-lead { max-width: 790px; margin-bottom: 0; color: var(--text-soft); font-size: 21px; }
.guide-meta { margin: 0; border-top: 1px solid var(--border); }
.guide-meta div { padding: 14px 0; display: grid; grid-template-columns: 100px 1fr; gap: 16px; border-bottom: 1px solid var(--border); }
.guide-meta dt { color: var(--steel); font-size: 11px; font-weight: 820; text-transform: uppercase; }
.guide-meta dd { margin: 0; font-size: 14px; font-weight: 650; }

.guide-promise {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  color: var(--white);
  background: var(--surface-inverse);
}
.guide-promise .shell { display: grid; grid-template-columns: 160px 1fr; gap: 34px; align-items: center; }
.guide-promise strong { color: var(--signal-sky); font-size: 11px; text-transform: uppercase; }
.guide-promise p { margin: 0; max-width: 920px; font-size: 20px; font-weight: 650; }

.guide-atlas-mini-wrap { border-bottom: 1px solid var(--border); background: var(--surface); }
.guide-atlas-mini {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.guide-atlas-mini a {
  min-height: 66px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  border-right: 1px solid var(--border);
  color: var(--steel);
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}
.guide-atlas-mini a:first-child { border-left: 1px solid var(--border); }
.guide-atlas-mini a b { color: var(--signal-deep); font-size: 10px; }
.guide-atlas-mini a:hover,
.guide-atlas-mini a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.guide-atlas-mini a[aria-current="page"] { box-shadow: inset 0 -4px var(--signal-blue); }

.guide-body { padding: 84px 0 100px; }
.guide-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}
.guide-content { min-width: 0; }
.guide-section { padding: 0 0 74px; }
.guide-section + .guide-section { padding-top: 74px; border-top: 1px solid var(--border); }
.guide-section-head { margin-bottom: 36px; display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 22px; }
.guide-section-index { color: var(--signal-deep); font-size: 11px; font-weight: 850; }
.guide-section h2 { margin-bottom: 12px; font-size: 38px; line-height: 1.06; }
.guide-section-head p { max-width: 720px; margin: 0; color: var(--text-soft); }
.guide-concepts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.guide-concept { min-height: 250px; padding: 26px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.guide-concept h3 { margin-bottom: 12px; font-size: 20px; line-height: 1.15; }
.guide-concept p { margin: 0; color: var(--text-soft); font-size: 14px; }

.evidence-order { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.evidence-order li { padding: 22px 0; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid var(--border); }
.evidence-order b { color: var(--signal-deep); font-size: 12px; }
.evidence-order strong { display: block; margin-bottom: 4px; font-size: 18px; }
.evidence-order span { color: var(--text-soft); font-size: 14px; }

.guide-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.guide-do,
.guide-stop { padding: 28px; border: 1px solid var(--border); }
.guide-do { border-top: 4px solid var(--signal-blue); }
.guide-stop { border-top: 4px solid var(--ink); background: var(--surface-page); }
.guide-do h3,
.guide-stop h3 { margin-bottom: 16px; font-size: 20px; }
.guide-do ul,
.guide-stop ul { margin: 0; padding-left: 20px; }
.guide-do li,
.guide-stop li { margin-bottom: 10px; color: var(--text-soft); font-size: 14px; }

.guide-owner {
  padding: 30px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  border-left: 5px solid var(--signal-blue);
  color: var(--white);
  background: var(--surface-inverse);
}
.guide-owner strong { color: var(--signal-sky); font-size: 11px; text-transform: uppercase; }
.guide-owner p { margin: 0; }

.guide-check { padding: clamp(28px, 5vw, 52px); border: 1px solid var(--border); background: var(--surface-page); }
.guide-check h3 { max-width: 760px; margin-bottom: 24px; font-size: 26px; line-height: 1.18; }
.guide-answers { display: grid; gap: 8px; }
.guide-answer {
  min-height: 58px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
}
.guide-answer:hover { border-color: var(--signal-blue); }
.guide-answer[aria-pressed="true"] { border-color: var(--signal-blue); box-shadow: inset 4px 0 var(--signal-blue); }
.guide-answer.is-best { background: var(--accent-soft); }
.guide-feedback { min-height: 54px; margin: 22px 0 0; padding: 14px 16px; border-left: 3px solid var(--steel); background: var(--surface); color: var(--text-soft); font-size: 14px; }
.guide-feedback.is-correct { border-color: var(--signal-blue); color: var(--text); }

.guide-source-list { margin: 0; padding: 0; list-style: none; }
.guide-source-list li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.guide-source-list a { display: inline-flex; gap: 10px; color: var(--signal-deep); font-weight: 720; text-underline-offset: 4px; }
.guide-source-list p { margin: 5px 0 0; color: var(--steel); font-size: 13px; }
.guide-source-note { margin-top: 26px; padding: 22px; border: 1px solid var(--border); background: var(--surface-page); }
.guide-source-note p { margin: 0; color: var(--text-soft); font-size: 13px; }

.guide-aside { position: sticky; top: calc(var(--nav-height) + 28px); }
.guide-on-page { border-top: 4px solid var(--signal-blue); background: var(--surface-page); }
.guide-on-page h2 { margin: 0; padding: 20px; font-size: 14px; text-transform: uppercase; }
.guide-on-page a { min-height: 48px; padding: 12px 20px; display: flex; align-items: center; border-top: 1px solid var(--border); color: var(--text-soft); font-size: 13px; text-decoration: none; }
.guide-on-page a:hover { color: var(--signal-deep); background: var(--surface); }
.guide-aside-cta { margin-top: 18px; padding: 22px; color: var(--white); background: var(--surface-inverse); }
.guide-aside-cta small { color: var(--signal-sky); font-size: 10px; font-weight: 820; text-transform: uppercase; }
.guide-aside-cta h3 { margin: 8px 0; font-size: 20px; }
.guide-aside-cta p { color: #cbd5e4; font-size: 13px; }
.guide-aside-cta .text-link { color: var(--white); }

.guide-next {
  padding: 52px 0;
  color: var(--white);
  background: var(--surface-inverse);
}
.guide-next-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgb(255 255 255 / 20%); }
.guide-next a { min-height: 170px; padding: 34px; display: flex; flex-direction: column; justify-content: end; background: var(--surface-inverse); color: var(--white); text-decoration: none; }
.guide-next a:hover { background: #111a2b; }
.guide-next small { margin-bottom: 12px; color: var(--signal-sky); font-size: 11px; font-weight: 820; text-transform: uppercase; }
.guide-next strong { font-size: 24px; }

@media (max-width: 1100px) {
  .ai-hero-grid,
  .library-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 44px; }
  .ai-proof-mark > span { font-size: 88px; }
  .atlas-map { padding: 30px 22px; }
  .atlas-map button { min-height: 142px; }
  .guide-concepts { grid-template-columns: 1fr; }
  .guide-concept { min-height: 0; }
}

@media (max-width: 820px) {
  .ai-hero-grid,
  .library-hero-grid,
  .ai-boundary-layout,
  .ai-library-proof,
  .learning-bridge,
  .guide-hero-grid,
  .guide-body-grid { grid-template-columns: 1fr; }
  .ai-hero-proof { min-height: 320px; }
  .library-hero-grid > div:first-child { order: 1; }
  .library-atlas-glimpse { order: 2; display: flex; overflow-x: auto; scrollbar-width: thin; }
  .library-atlas-glimpse a { min-width: 165px; }
  .library-source-note { order: 3; }
  .ai-proof-mark { min-height: 120px; }
  .ai-proof-mark > span { font-size: 82px; }
  .ai-worked-example { grid-template-columns: 1fr; }
  .frame-bridge { min-height: 70px; }
  .frame-bridge span { width: 2px; height: 100%; }
  .frame-bridge b { writing-mode: horizontal-tb; }
  .raw-note,
  .structured-frame { min-height: 0; }
  .ai-method-layout,
  .ai-use-layout,
  .atlas-layout { grid-template-columns: 1fr; }
  .ai-method-rail,
  .ai-use-controls { border-right: 0; border-bottom: 1px solid var(--border); }
  .ai-method-rail { grid-template-columns: repeat(2, 1fr); }
  .ai-method-rail button:nth-child(odd) { border-right: 1px solid var(--border); }
  .ai-method-output,
  .ai-use-output,
  .atlas-output { min-height: 0; }
  .atlas-map { min-height: 0; grid-template-columns: 1fr; padding: 24px; }
  .atlas-line { left: 50%; right: auto; top: 9%; bottom: 9%; width: 2px; height: auto; }
  .atlas-map button { min-height: 92px; }
  .guide-row { grid-template-columns: 42px minmax(0, 1fr) 24px; gap: 12px; padding: 20px 0; }
  .guide-layer,
  .guide-time { display: none; }
  .guide-copy strong { font-size: 19px; }
  .continuation-panel { grid-template-columns: 1fr; gap: 30px; }
  .continuation-sheet {
    width: calc(100% - 36px);
    margin-bottom: 36px;
    grid-template-columns: 1fr;
  }
  .guide-hero { padding: 52px 0 58px; }
  .guide-hero h1 { font-size: 50px; }
  .guide-promise .shell { grid-template-columns: 1fr; gap: 8px; }
  .guide-atlas-mini {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: calc(50% - 76px);
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .guide-atlas-mini a { min-width: 152px; scroll-snap-align: center; }
  .guide-body { padding-top: 64px; }
  .guide-aside { position: static; }
  .guide-on-page { display: none; }
  .guide-aside-cta { margin: 0 0 10px; }
}

@media (max-width: 520px) {
  .ai-hero-proof { padding: 24px; }
  .ai-proof-mark > span { font-size: 67px; }
  .ai-hero-proof > p { min-height: 64px; padding: 12px; font-size: 10px; }
  .frame-register { grid-template-columns: repeat(2, 1fr); }
  .frame-register button:nth-child(2) { border-right: 0; }
  .frame-register button:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / 20%); }
  .ai-method-rail { grid-template-columns: 1fr; }
  .ai-method-rail button:nth-child(odd) { border-right: 0; }
  .ai-use-grid { grid-template-columns: 1fr; }
  .ai-boundary-layout h2,
  .learning-bridge h2 { font-size: 34px; }
  .library-source-note { padding: 26px; }
  .library-hero-meta { display: grid; grid-template-columns: repeat(2, 1fr); }
  .guide-hero h1 { font-size: 42px; }
  .guide-hero-lead { font-size: 18px; }
  .guide-section-head { grid-template-columns: 1fr; gap: 8px; }
  .guide-section h2 { font-size: 32px; }
  .guide-split { grid-template-columns: 1fr; }
  .guide-owner { grid-template-columns: 1fr; gap: 8px; }
  .guide-next-grid { grid-template-columns: 1fr; }
  .guide-next a { min-height: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  .atlas-map button,
  .guide-arrow,
  .continuation-sheet { transform: none !important; }
}

@media print {
  .continuation-sheet,
  .guide-aside,
  .guide-next,
  .guide-answers { display: none !important; }
  .guide-hero,
  .guide-promise,
  .guide-body { padding: 24px 0; }
  .guide-promise { color: #000; background: #fff; border-block: 1px solid #000; }
  .guide-promise strong { color: #000; }
  .guide-section { padding-bottom: 30px; }
  .guide-section + .guide-section { padding-top: 30px; }
  .guide-concept,
  .guide-do,
  .guide-stop,
  .guide-check { break-inside: avoid; }
}

/* V6.1: AI operating advantage + distinct Knowledge and Learning Lab products */
.primary-nav .nav-ai {
  color: var(--signal-deep);
  font-weight: 820;
}

.primary-nav .nav-ai::after,
.primary-nav .nav-ai:hover::after,
.primary-nav .nav-ai:focus-visible::after,
.primary-nav .nav-ai[aria-current="page"]::after,
.cv-tab-ai[aria-selected="true"]::after {
  background: linear-gradient(90deg, var(--signal-deep) 0 31%, var(--signal-blue) 31% 68%, var(--signal-sky) 68% 100%);
}

.ai-inline-mark {
  display: inline-block;
  margin-right: 7px;
  color: var(--signal-blue);
  font-size: 1.08em;
  font-weight: 900;
}

.hero-ai-signal {
  width: fit-content;
  margin: -3px 0 22px;
  padding: 11px 0 11px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  border-left: 3px solid var(--signal-blue);
  color: var(--steel);
  font-size: 12px;
  font-weight: 730;
}

.hero-ai-signal strong {
  color: var(--signal-deep);
  font-size: 13px;
  font-weight: 850;
}

.hero-ai-signal span + span {
  position: relative;
}

.hero-ai-signal span + span::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--signal-sky);
  transform: translateY(-50%);
}

.btn-ai-signal {
  border-color: var(--signal-blue);
  color: var(--signal-deep);
  background: var(--surface);
}

.btn-ai-signal:hover,
.btn-ai-signal:focus-visible {
  border-color: var(--signal-deep);
  color: var(--white);
  background: var(--signal-deep);
}

.btn-on-dark {
  border-color: rgb(255 255 255 / 72%);
  color: var(--white);
  background: transparent;
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  border-color: var(--surface);
  color: var(--text);
  background: var(--surface);
}

.home-ai-advantage {
  border-block: 1px solid var(--border);
}

.home-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(54px, 8vw, 118px);
  align-items: start;
}

.home-ai-outcomes {
  border-top: 4px solid var(--signal-blue);
}

.home-ai-outcomes article {
  min-height: 150px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  column-gap: 22px;
  align-content: center;
  border-bottom: 1px solid var(--border);
}

.home-ai-outcomes small {
  grid-row: 1 / 3;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 830;
  text-transform: uppercase;
}

.home-ai-outcomes h3 {
  margin: 0 0 6px;
  font-size: 23px;
  line-height: 1.12;
}

.home-ai-outcomes p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.learning-product-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border);
}

.learning-product-choice {
  min-height: 500px;
  min-width: 0;
  padding: clamp(30px, 4vw, 54px);
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: start;
}

.learning-product-choice > *,
.cv-invitation > *,
.ai-applied-proof > article,
.ai-personal-account,
.lab-delivery-list > article,
.footer-main > *,
.guide-body-grid > *,
.guide-section-head > * {
  min-width: 0;
}

.learning-product-choice + .learning-product-choice {
  border-left: 1px solid var(--border);
}

.learning-product-choice small {
  display: block;
  margin-bottom: 14px;
  color: var(--signal-deep);
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.learning-product-choice h3 {
  margin-bottom: 16px;
  font-size: 52px;
  line-height: 1;
}

.learning-product-choice p {
  max-width: 560px;
  color: var(--text-soft);
}

.learning-product-choice ul {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.learning-product-choice li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 14px;
}

.lab-choice {
  color: var(--white);
  background: var(--surface-inverse);
}

.lab-choice small { color: var(--signal-sky); }
.lab-choice p,
.lab-choice li { color: #cbd5e4; }
.lab-choice ul,
.lab-choice li { border-color: rgb(255 255 255 / 18%); }

.ai-hero-position {
  max-width: 790px;
  padding-left: 18px;
  border-left: 3px solid var(--signal-blue);
  color: var(--text);
  font-weight: 720;
}

.ai-advantage-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr);
  gap: clamp(58px, 8vw, 120px);
  align-items: start;
}

.ai-value-ledger {
  border-top: 4px solid var(--signal-blue);
}

.ai-value-ledger article {
  min-height: 150px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  column-gap: 24px;
  border-bottom: 1px solid var(--border);
}

.ai-value-ledger small {
  grid-row: 1 / 3;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-value-ledger h3 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.12;
}

.ai-value-ledger p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.ai-proof-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.ai-proof-routes > article {
  min-height: 570px;
  padding: clamp(30px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.ai-proof-routes > article > small {
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-proof-routes > article > h3 {
  margin: 11px 0 15px;
  font-size: 36px;
}

.ai-proof-routes > article > p {
  color: var(--text-soft);
}

.ai-proof-routes .ai-proof-register { margin: auto 0 28px; }
.ai-proof-routes .btn { align-self: flex-start; }

.cv-tab-ai {
  color: var(--signal-deep);
  font-weight: 850;
}

.cv-panel-ai {
  padding: 0;
}

.cv-ai-spotlight {
  padding: clamp(34px, 4.4vw, 62px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(42px, 6vw, 88px);
  border-top: 5px solid var(--signal-blue);
  color: var(--white);
  background: var(--surface-inverse);
}

.cv-ai-spotlight h2 {
  max-width: 750px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 58px;
  line-height: 1.02;
}

.cv-ai-spotlight p:not(.section-kicker) {
  max-width: 820px;
  margin: 0;
  color: #cbd5e4;
}

.cv-ai-spotlight .section-kicker { color: var(--signal-sky); }

.cv-ai-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 22%);
  border-left: 1px solid rgb(255 255 255 / 22%);
}

.cv-ai-facts div {
  min-height: 112px;
  padding: 18px;
  border-right: 1px solid rgb(255 255 255 / 22%);
  border-bottom: 1px solid rgb(255 255 255 / 22%);
}

.cv-ai-facts dt {
  margin-bottom: 9px;
  color: var(--signal-sky);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.cv-ai-facts dd {
  margin: 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 730;
  line-height: 1.25;
}

.cv-ai-sequence {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
  background: var(--surface-page);
}

.cv-ai-sequence span {
  min-height: 112px;
  padding: 19px 15px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.3;
}

.cv-ai-sequence span:last-child { border-right: 0; }
.cv-ai-sequence b { margin-bottom: 18px; color: var(--signal-deep); font-size: 10px; }

.cv-ai-matrix {
  margin: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.cv-ai-matrix article {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cv-ai-matrix small {
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.cv-ai-matrix h3 { margin: 11px 0 12px; font-size: 24px; }
.cv-ai-matrix p { color: var(--text-soft); font-size: 14px; }
.cv-ai-matrix strong { color: var(--signal-deep); font-size: 12px; }

.cv-ai-why {
  margin: 0 clamp(36px, 5vw, 64px) 34px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 54px;
  border-block: 1px solid var(--border);
}

.cv-ai-why h3 { margin: 0; font-size: 28px; line-height: 1.12; }
.cv-ai-why > p { margin: 0; color: var(--text-soft); }
.cv-panel-ai > .status-note,
.cv-panel-ai > .btn-row { margin-inline: clamp(36px, 5vw, 64px); }
.cv-panel-ai > .btn-row { padding-bottom: clamp(40px, 5vw, 64px); }

.lab-status-row {
  max-width: 680px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgb(255 255 255 / 24%);
  border-left: 1px solid rgb(255 255 255 / 24%);
}

.lab-status-row span {
  min-height: 86px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgb(255 255 255 / 24%);
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  color: var(--white);
  font-size: 13px;
}

.lab-status-row b {
  margin-bottom: 6px;
  color: var(--signal-sky);
  font-size: 10px;
  text-transform: uppercase;
}

.future-status {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid var(--signal-blue);
  color: var(--signal-deep);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.future-lab-flow {
  margin: 42px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.future-lab-flow li {
  min-height: 230px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.future-lab-flow small {
  margin-bottom: 34px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
}

.future-lab-flow strong { margin-bottom: 10px; font-size: 21px; }
.future-lab-flow span { color: var(--text-soft); font-size: 13px; }

.future-lab-boundary {
  margin-top: 24px;
  padding: 22px 0 0 148px;
  position: relative;
  border-top: 1px solid var(--border);
}

.future-lab-boundary strong {
  position: absolute;
  left: 0;
  color: var(--signal-deep);
  font-size: 11px;
  text-transform: uppercase;
}

.future-lab-boundary p { margin: 0; color: var(--text-soft); }

@media (max-width: 1180px) {
  .cv-ai-sequence { display: flex; overflow-x: auto; }
  .cv-ai-sequence span { min-width: 150px; }
}

@media (max-width: 1060px) {
  .nav-toggle { display: grid; }
  .header-contact-call { display: none; }

  html.js .primary-nav {
    position: fixed;
    z-index: 89;
    inset: var(--nav-height) 0 0;
    height: calc(100svh - var(--nav-height));
    padding: 18px 24px 30px;
    display: grid;
    grid-auto-rows: minmax(58px, auto);
    align-content: start;
    gap: 0;
    border-top: 1px solid var(--border);
    background: var(--surface-page);
    clip-path: inset(0 0 0 100%);
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: clip-path 220ms ease, visibility 0s linear 220ms;
  }

  html.js .primary-nav.is-open {
    clip-path: inset(0);
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  html.js .primary-nav > a {
    min-height: 58px;
    justify-content: flex-start;
    border-bottom: 1px solid var(--border);
    color: var(--text-soft);
    background: transparent;
    font-size: 18px;
  }

  html.js .primary-nav .nav-ai {
    color: var(--signal-deep);
    background: var(--accent-soft);
  }

  html.js .primary-nav .nav-cv { color: var(--cobalt-deep); }
  html.js .primary-nav > a::after { left: 14px; right: auto; width: 44px; bottom: -1px; }
  html.js .nav-contact-mobile {
    margin-top: 12px;
    padding-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border-top: 1px solid var(--border);
  }

  html.js .primary-nav .nav-contact-mobile a {
    min-width: 0;
    min-height: 52px;
    padding: 8px;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--cobalt-deep);
    font-size: 13px;
    text-align: center;
  }

  html.js .primary-nav .nav-contact-mobile a::after { display: none; }

  html:not(.js) .site-header { position: relative; height: auto; }
  html:not(.js) .nav-shell { height: auto; min-height: var(--nav-height); flex-wrap: wrap; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .primary-nav {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 8px 0 14px;
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    clip-path: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
    transition: none;
  }
  html:not(.js) .nav-contact-mobile { display: flex; }
}

@media (max-width: 900px) {
  .home-ai-grid,
  .ai-advantage-layout,
  .cv-ai-spotlight { grid-template-columns: 1fr; }
  .home-ai-outcomes,
  .ai-value-ledger { margin-top: 6px; }
  .learning-product-split,
  .ai-proof-routes { grid-template-columns: 1fr; }
  .learning-product-choice + .learning-product-choice { border-left: 0; border-top: 1px solid var(--border); }
  .learning-product-choice { min-height: 420px; }
  .cv-ai-facts { max-width: 620px; }
  .future-lab-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .future-lab-flow li:last-child { grid-column: 1 / -1; min-height: 170px; }
}

@media (max-width: 820px) {
  .hero-ai-signal { margin-top: 0; }
  .ai-proof-routes > article { min-height: 500px; }
  .cv-ai-matrix { grid-template-columns: 1fr; }
  .cv-ai-spotlight h2 { font-size: 46px; }
  .cv-ai-sequence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .cv-ai-sequence span { min-width: 0; min-height: 96px; }
  .cv-ai-sequence span:nth-child(even) { border-right: 0; }
  .cv-ai-sequence span:last-child { grid-column: 1 / -1; border-right: 0; }
  .cv-ai-why { grid-template-columns: 1fr; gap: 16px; }
  .future-lab-flow { display: flex; overflow-x: auto; scroll-snap-type: x proximity; }
  .future-lab-flow li,
  .future-lab-flow li:last-child { min-width: 230px; min-height: 225px; grid-column: auto; scroll-snap-align: start; }
}

@media (max-width: 520px) {
  .hero-ai-signal { font-size: 11px; }
  .home-ai-outcomes article,
  .ai-value-ledger article { grid-template-columns: 1fr; row-gap: 7px; }
  .home-ai-outcomes small,
  .ai-value-ledger small { grid-row: auto; }
  .learning-product-choice { min-height: 0; }
  .learning-product-choice h3 { font-size: 38px; }
  .learning-product-choice :is(h3, p, small, li, .btn),
  .cv-invitation :is(h2, p, .btn),
  .ai-applied-proof :is(h3, p, .text-link),
  .ai-personal-account :is(h3, p, .text-link),
  .lab-delivery-list :is(h3, p, small, .btn),
  .footer-main :is(h2, p, a),
  .guide-section-head :is(h2, p, .guide-section-index) {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .future-lab-boundary { padding-left: 0; }
  .future-lab-boundary strong { position: static; display: block; margin-bottom: 8px; }
  .cv-ai-spotlight { padding: 30px 20px; }
  .cv-ai-spotlight h2 { font-size: 36px; }
  .cv-tabs {
    padding-inline: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .cv-tabs::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .cv-tab {
    min-width: 0;
    padding-inline: 8px;
    flex: 0 0 calc((100% - 24px) / 3);
    scroll-snap-align: start;
  }
  .cv-ai-facts { grid-template-columns: 1fr; }
  .cv-ai-facts div { min-height: 82px; }
  .cv-ai-matrix { margin: 28px 18px; }
  .cv-ai-matrix article { min-height: 0; padding: 24px 20px; }
  .cv-ai-why { margin-inline: 18px; }
  .cv-panel-ai > .status-note,
  .cv-panel-ai > .btn-row { margin-inline: 18px; }
  .lab-status-row { grid-template-columns: 1fr; }
  .future-lab-flow { display: grid; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; }
  .future-lab-flow li,
  .future-lab-flow li:last-child { min-width: 0; min-height: 0; grid-column: auto; scroll-snap-align: none; }
  .future-lab-boundary p { font-size: 14px; }
}

@media (max-width: 340px) {
  .lab-hero .page-hero-grid > * { min-width: 0; }
  .lab-hero h1 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: anywhere;
  }
}

@media (forced-colors: active) {
  .cv-ai-spotlight,
  .lab-choice { border: 1px solid CanvasText; color: CanvasText; background: Canvas; }
  .primary-nav .nav-ai,
  .future-status { border: 2px solid Highlight; color: CanvasText; background: Canvas; }
  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    forced-color-adjust: none;
    background: ButtonText !important;
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent !important; }
  .btn-on-dark { border-color: ButtonText; color: ButtonText; background: Canvas; }
}

/* V6.2: Capability Ladder */
.band-ink :focus-visible,
.lab-hero :focus-visible,
.ai-level-rail button:focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 4px rgb(105 183 255 / 38%);
}

.ai-hero-v62 {
  padding-block: 78px 84px;
}

.ai-hero-v62 h1 {
  max-width: 850px;
  font-size: 66px;
  line-height: .98;
}

.ai-hero-v62 .ai-hero-position {
  max-width: 720px;
  padding-left: 18px;
  border-left: 3px solid var(--signal-blue);
  color: var(--text);
  font-weight: 720;
}

.ai-hero-ladder {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ai-hero-ladder > div {
  min-height: 128px;
  padding: 24px 26px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 82px;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.ai-hero-ladder > div:last-child {
  border-bottom: 0;
}

.ai-hero-ladder small {
  grid-row: 1 / span 2;
  color: var(--signal-deep);
  font-size: 11px;
  font-weight: 850;
}

.ai-hero-ladder strong {
  align-self: end;
  font-size: 20px;
}

.ai-hero-ladder span {
  align-self: start;
  color: var(--steel);
  font-size: 13px;
}

.ai-hero-ladder i,
.ai-level-rail i {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 5px;
}

.ai-hero-ladder i b,
.ai-level-rail i b {
  width: 8px;
  display: block;
  background: var(--signal-blue);
}

.ai-hero-ladder i b:nth-child(1),
.ai-level-rail i b:nth-child(1) { height: 18px; }
.ai-hero-ladder i b:nth-child(2),
.ai-level-rail i b:nth-child(2) { height: 30px; }
.ai-hero-ladder i b:nth-child(3),
.ai-level-rail i b:nth-child(3) { height: 42px; }

.ai-level-system {
  --ai-level-progress: 33.333%;
  border: 1px solid var(--border);
  background: var(--surface-inverse);
  box-shadow: var(--shadow);
}

.ai-level-principle {
  min-height: 76px;
  margin: 0;
  padding: 20px 28px;
  border-bottom: 1px solid #344055;
  color: #cbd5e4;
  font-size: 14px;
}

.ai-level-principle strong {
  color: var(--white);
}

.ai-job-strip {
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ai-job-strip li {
  min-height: 78px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.ai-job-strip small {
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
}

.ai-job-strip strong {
  font-size: 14px;
  line-height: 1.25;
}

.ai-level-layout {
  display: block;
}

.ai-level-rail {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  border-bottom: 1px solid #344055;
}

.ai-level-rail li + li {
  border-top: 0;
  border-left: 1px solid #344055;
}

.ai-level-rail button {
  width: 100%;
  min-height: 146px;
  padding: 24px 22px 24px 18px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 64px;
  gap: 14px;
  align-items: center;
  border: 0;
  border-bottom: 5px solid transparent;
  background: var(--surface-inverse);
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease;
}

.ai-level-rail button:hover {
  background: #111a2b;
}

.ai-level-rail button[aria-pressed="true"] {
  border-bottom-color: var(--signal-blue);
  background: #111a2b;
}

.ai-level-rail small {
  color: var(--signal-sky);
  font-size: 10px;
  font-weight: 850;
}

.ai-level-rail span {
  min-width: 0;
}

.ai-level-rail strong,
.ai-level-rail em {
  display: block;
}

.ai-level-rail strong {
  margin-bottom: 7px;
  font-size: 19px;
}

.ai-level-rail em {
  color: #aeb9c9;
  font-size: 12px;
  font-style: normal;
  line-height: 1.4;
}

.ai-level-detail-stack {
  background: var(--surface);
}

.ai-level-detail {
  min-height: 0;
  padding: 48px 52px;
  color: var(--text);
  background: var(--surface);
}

.ai-level-detail[hidden] {
  display: none;
}

.ai-level-system:not(.is-enhanced) .ai-level-detail + .ai-level-detail {
  border-top: 1px solid var(--border);
}

.ai-level-detail header > small {
  display: block;
  margin-bottom: 14px;
  color: var(--signal-deep);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-level-detail h3 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 46px;
  line-height: 1.02;
}

.ai-level-detail header > p {
  max-width: 850px;
  color: var(--text-soft);
}

.ai-level-detail dl {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ai-level-detail dl > div {
  min-height: 144px;
  padding: 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ai-level-detail dt {
  margin-bottom: 10px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-level-detail dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.ai-level-detail .ai-human-gate {
  border-left: 4px solid var(--signal-blue);
  background: var(--accent-soft);
}

.ai-level-persistence,
.ai-term-line {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--signal-blue);
  background: var(--surface-page);
  color: var(--text-soft);
  font-size: 13px;
}

.ai-term-line {
  border-left-color: var(--text);
}

.agent-setup {
  --agent-setup-progress: 20%;
  margin-top: 30px;
  border: 1px solid var(--border);
  background: var(--white);
}

.agent-setup-head {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--border);
}

.agent-setup-head .section-kicker {
  margin-bottom: 9px;
}

.agent-setup-head h4 {
  max-width: 860px;
  margin: 0 0 9px;
  font-size: 28px;
  line-height: 1.08;
}

.agent-setup-head > p:last-child {
  max-width: 860px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.agent-setup-rail {
  margin: 0;
  padding: 0;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  border-bottom: 1px solid var(--border);
}

.agent-setup.is-enhanced .agent-setup-rail {
  display: grid;
}

.agent-setup-rail li + li {
  border-left: 1px solid var(--border);
}

.agent-setup-rail button {
  width: 100%;
  min-height: 112px;
  padding: 14px 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-bottom: 4px solid transparent;
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
}

.agent-setup-rail button:hover,
.agent-setup-rail button:focus-visible {
  background: var(--surface-page);
}

.agent-setup-rail button[aria-pressed="true"] {
  border-bottom-color: var(--signal-blue);
  background: var(--accent-soft);
}

.agent-setup-rail small {
  margin-bottom: 11px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
}

.agent-setup-rail strong {
  font-size: 16px;
  line-height: 1.15;
}

.agent-setup-rail span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 11px;
}

.agent-setup-rail em {
  margin-top: auto;
  padding-top: 7px;
  color: var(--signal-deep);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}

.agent-setup-panels > section {
  padding: 25px 26px 28px;
}

.agent-setup-panels > section + section {
  border-top: 1px solid var(--border);
}

.agent-setup.is-enhanced .agent-setup-panels > section + section {
  border-top: 0;
}

.agent-setup-panels > section[hidden] {
  display: none;
}

.agent-setup-panels small {
  display: block;
  margin-bottom: 8px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.agent-setup-panels h5 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.12;
}

.agent-setup-panels p {
  max-width: 900px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.agent-setup-trace {
  height: 4px;
  display: none;
  background: var(--border);
  overflow: hidden;
}

.agent-setup.is-enhanced .agent-setup-trace {
  display: block;
}

.agent-setup-trace span {
  width: var(--agent-setup-progress);
  height: 100%;
  display: block;
  background: var(--signal-blue);
  transition: width 240ms ease;
}

.ai-level-trace {
  height: 5px;
  background: #344055;
  overflow: hidden;
}

.ai-level-trace span {
  width: var(--ai-level-progress);
  height: 100%;
  display: block;
  background: var(--signal-blue);
  transition: width 260ms ease;
}

.ai-enablement-flow {
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ai-enablement-flow li {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgb(255 255 255 / 38%);
}

.ai-enablement-flow small {
  margin-bottom: 44px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-enablement-flow strong {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.ai-enablement-flow p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.ai-applied-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.ai-applied-proof > article,
.ai-personal-account {
  min-height: 300px;
  margin: 0;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ai-applied-proof article small {
  margin-bottom: 34px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.ai-applied-proof h3 {
  margin-bottom: 14px;
  font-size: 29px;
  line-height: 1.08;
}

.ai-applied-proof article p {
  color: var(--text-soft);
  font-size: 14px;
}

.ai-applied-proof .text-link {
  margin-top: auto;
}

.ai-personal-account {
  justify-content: space-between;
  color: var(--white);
  background: var(--surface-inverse);
}

.ai-personal-account > p {
  margin: 0;
  font-family: "Aptos Display", "Segoe UI", Arial, sans-serif;
  font-size: 27px;
  font-weight: 720;
  line-height: 1.2;
}

.ai-personal-account footer {
  margin-top: 34px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #344055;
}

.ai-personal-account footer span {
  margin-top: 5px;
  color: #aeb9c9;
  font-size: 11px;
}

.ai-control-payoff {
  display: block;
  margin-top: 24px;
  color: var(--white);
}

.ai-boundary-v62 .ai-boundary-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-ai-levels {
  margin: clamp(36px, 5vw, 64px);
  border-top: 1px solid var(--border);
}

.cv-ai-levels > a {
  min-height: 124px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 56px 210px minmax(0, 1fr) 28px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.cv-ai-levels > a:hover,
.cv-ai-levels > a:focus-visible {
  color: var(--signal-deep);
  background: var(--surface-page);
}

.cv-ai-level-name strong,
.cv-ai-level-name small {
  display: block;
}

.cv-ai-level-name strong {
  font-size: 22px;
}

.cv-ai-level-name small {
  margin-top: 5px;
  color: var(--steel);
  font-size: 12px;
}

.cv-ai-level-copy {
  color: var(--text-soft);
  font-size: 14px;
}

.cv-ai-proof-strip {
  margin: 0 clamp(36px, 5vw, 64px) 28px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(230px, .72fr) minmax(250px, .78fr);
  gap: 36px;
  border-block: 1px solid var(--border);
}

.cv-ai-proof-strip h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
}

.cv-ai-proof-strip > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.cv-ai-proof-strip blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--signal-blue);
}

.cv-ai-proof-strip blockquote > p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.35;
}

.cv-ai-proof-strip blockquote footer {
  margin-top: 11px;
  display: flex;
  flex-direction: column;
}

.cv-ai-proof-strip blockquote footer strong {
  color: var(--signal-deep);
  font-size: 12px;
}

.cv-ai-proof-strip blockquote footer span {
  margin-top: 3px;
  color: var(--steel);
  font-size: 10px;
}

.cv-ai-boundary {
  border-left: 4px solid var(--signal-blue);
  background: var(--accent-soft);
}

.atlas-map-v62 {
  min-height: 760px;
  align-content: center;
}

.atlas-map-v62 > .atlas-line {
  top: 29%;
}

.private-atlas-horizon {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid #344055;
}

.private-atlas-label {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.private-atlas-label > span {
  width: 38px;
  height: 2px;
  background: var(--steel);
}

.private-atlas-label p {
  margin: 0;
}

.private-atlas-label strong,
.private-atlas-label small {
  display: block;
}

.private-atlas-label strong {
  font-size: 13px;
  text-transform: uppercase;
}

.private-atlas-label small {
  color: #93a1b6;
  font-size: 10px;
}

.private-atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.atlas-map .private-atlas-grid button {
  min-height: 116px;
  padding: 16px 10px;
  border-color: #566276;
  background: #111827;
  color: #d4dae4;
  transform: none;
}

.atlas-map .private-atlas-grid button:hover {
  border-color: var(--signal-sky);
  background: #172237;
  transform: translateY(-3px);
}

.atlas-map .private-atlas-grid button[aria-pressed="true"] {
  border-color: var(--signal-blue);
  border-left: 4px solid var(--signal-blue);
  background: var(--surface-page);
  color: var(--text);
}

.private-atlas-grid svg {
  width: 17px;
  height: 17px;
  margin-top: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.atlas-layout.is-private-selection .atlas-output {
  border-top: 5px solid var(--steel);
  background: var(--surface-page);
}

.private-topic-fallback {
  grid-column: 1 / -1;
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.private-topic-fallback ul {
  columns: 2;
  padding-left: 20px;
  color: var(--text-soft);
}

.atlas-layout.is-enhanced .private-topic-fallback {
  display: none;
}

.tailored-section-v62 .continuation-panel {
  margin-top: 28px;
}

.lab-hero-v62 {
  padding-block: 72px 78px;
}

.lab-hero-v62 h1 {
  max-width: 900px;
  font-size: 64px;
  line-height: .98;
}

.lab-delivery-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.lab-delivery-list article {
  min-height: 330px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lab-delivery-list small {
  margin-bottom: 38px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.lab-delivery-list h3 {
  margin-bottom: 14px;
  font-size: 29px;
  line-height: 1.08;
}

.lab-delivery-list p {
  color: var(--text-soft);
  font-size: 14px;
}

.lab-delivery-list strong {
  margin-top: auto;
  color: var(--signal-deep);
  font-size: 12px;
}

.lab-delivery-action {
  margin-top: 26px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  border-block: 1px solid var(--border);
}

.lab-delivery-action p {
  max-width: 920px;
  margin: 0;
  color: var(--text-soft);
}

.lab-preview-section .section-note {
  color: #aeb9c9;
}

.lab-preview {
  border: 1px solid #344055;
  background: #111827;
  box-shadow: 0 24px 60px rgb(0 0 0 / 22%);
}

.lab-preview-status {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid #344055;
}

.lab-preview-status p {
  margin: 0;
  color: #aeb9c9;
  font-size: 13px;
}

.lab-preview-register {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #344055;
}

.lab-preview-register button {
  min-height: 70px;
  border: 0;
  border-right: 1px solid #344055;
  border-bottom: 4px solid transparent;
  background: #111827;
  color: #aeb9c9;
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
}

.lab-preview-register button:last-child {
  border-right: 0;
}

.lab-preview-register button:hover {
  color: var(--white);
  background: #172237;
}

.lab-preview-register button[aria-pressed="true"] {
  border-bottom-color: var(--signal-blue);
  color: var(--white);
  background: #172237;
}

.lab-preview-panels > section {
  min-height: 0;
  padding: 46px 50px;
}

.lab-preview-panels > section[hidden] {
  display: none;
}

.lab-preview:not(.is-enhanced) .lab-preview-panels > section + section {
  border-top: 1px solid #344055;
}

.lab-preview-panels small {
  display: block;
  margin-bottom: 15px;
  color: var(--signal-sky);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.lab-preview-panels h3 {
  max-width: 950px;
  margin-bottom: 20px;
  color: var(--white);
  font-size: 44px;
  line-height: 1.04;
}

.lab-preview-panels p {
  max-width: 900px;
  color: #cbd5e4;
}

.lab-preview-panels .status-note {
  color: var(--text-soft);
}

.lab-preview-panels dl {
  max-width: 900px;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #344055;
  border-left: 1px solid #344055;
}

.lab-preview-panels dl > div {
  min-height: 120px;
  padding: 20px;
  border-right: 1px solid #344055;
  border-bottom: 1px solid #344055;
}

.lab-preview-panels dt {
  margin-bottom: 8px;
  color: var(--signal-sky);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.lab-preview-panels dd {
  margin: 0;
  color: #cbd5e4;
  font-size: 14px;
}

.lab-evidence-list {
  max-width: 900px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #344055;
}

.lab-evidence-list li {
  min-height: 62px;
  padding: 16px 12px 16px 42px;
  position: relative;
  border-bottom: 1px solid #344055;
  color: #cbd5e4;
}

.lab-evidence-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--signal-sky);
}

.lab-choice-list {
  max-width: 940px;
  display: grid;
  gap: 8px;
}

.lab-choice-list button {
  min-height: 62px;
  padding: 14px 18px;
  border: 1px solid #566276;
  background: #111827;
  color: var(--white);
  cursor: pointer;
  text-align: left;
}

.lab-choice-list button:hover,
.lab-choice-list button:focus-visible {
  border-color: var(--signal-sky);
}

.lab-choice-list button.is-correct {
  border: 3px solid var(--white);
  background: var(--surface);
  color: var(--text);
}

.lab-choice-list button.is-review {
  border: 3px double var(--signal-sky);
  background: #172237;
}

.lab-choice-feedback {
  max-width: 940px;
  min-height: 76px;
  margin-top: 14px;
  padding: 18px;
  border-left: 4px solid var(--signal-blue);
  background: rgb(31 94 255 / 16%);
  color: #dce4f0;
}

.lab-reasoning-line {
  max-width: 960px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #344055;
  border-left: 1px solid #344055;
}

.lab-reasoning-line span {
  min-height: 110px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #344055;
  border-bottom: 1px solid #344055;
  color: #cbd5e4;
  font-size: 12px;
}

.lab-reasoning-line b {
  margin-bottom: 16px;
  color: var(--signal-sky);
}

.lab-boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

.lab-source-links {
  margin-top: 34px;
  border-top: 1px solid var(--border);
}

.lab-source-links a {
  min-height: 92px;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.lab-source-links a:hover,
.lab-source-links a:focus-visible {
  color: var(--signal-deep);
  background: var(--surface-page);
}

.lab-source-links small {
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.lab-source-links strong {
  font-size: 17px;
}

.lab-source-links span {
  color: var(--steel);
  font-size: 12px;
}

.lab-boundary-list {
  margin: 0;
  border-top: 1px solid var(--border);
}

.lab-boundary-list > div {
  min-height: 116px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.lab-boundary-list dt {
  margin-bottom: 8px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.lab-boundary-list dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* V6.3: SAP-primary hierarchy, AI teaching, and WhatsApp recognition */
.home-sap-delivery .section-kicker {
  color: var(--cobalt-deep);
}

.home-sap-delivery .section-heading {
  max-width: 780px;
}

.home-sap-outcomes {
  border-top-color: var(--cobalt-deep);
}

.understand-ai {
  margin-top: clamp(72px, 8vw, 112px);
  padding-top: clamp(54px, 6vw, 82px);
  border-top: 1px solid var(--border);
}

.understand-ai-head {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: end;
}

.understand-ai-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: 46px;
  line-height: 1.03;
}

.understand-ai-head > p {
  margin: 0;
  padding-left: 20px;
  border-left: 3px solid var(--signal-blue);
  color: var(--text-soft);
  font-size: 15px;
}

.understand-ai-system {
  margin-top: 38px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 18px 46px rgb(9 14 27 / 8%);
}

.understand-ai-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}

.understand-ai-controls button {
  min-height: 112px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  border-bottom: 4px solid transparent;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.understand-ai-controls button + button {
  border-left: 1px solid var(--border);
}

.understand-ai-controls button:hover,
.understand-ai-controls button:focus-visible {
  background: var(--surface-page);
}

.understand-ai-controls button[aria-pressed="true"] {
  border-bottom-color: var(--signal-blue);
  background: var(--accent-soft);
}

.understand-ai-controls small,
.understand-ai-controls strong,
.understand-ai-controls span {
  display: block;
}

.understand-ai-controls small {
  margin-bottom: 8px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.understand-ai-controls strong {
  font-size: 20px;
  line-height: 1.15;
}

.understand-ai-controls span {
  margin-top: 6px;
  color: var(--steel);
  font-size: 12px;
}

.understand-ai-panels > article {
  padding: 34px 36px;
}

.understand-ai-panels > article + article {
  border-top: 1px solid var(--border);
}

.understand-ai.is-enhanced .understand-ai-panels > article + article {
  border-top: 0;
}

.understand-ai-panels > article[hidden] {
  display: none;
}

.understand-ai-panels > article.is-active {
  animation: understand-ai-reveal 180ms ease both;
}

.understand-ai-panels header small {
  display: block;
  margin-bottom: 8px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.understand-ai-panels h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}

.understand-ai-panels dl {
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.understand-ai-panels dl > div {
  min-height: 148px;
  padding: 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.understand-ai-panels dt {
  margin-bottom: 9px;
  color: var(--signal-deep);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.understand-ai-panels dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.understand-ai-choice {
  margin: 0;
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  border-left: 4px solid var(--signal-blue);
  background: var(--surface-page);
  color: var(--text-soft);
  font-size: 13px;
}

.understand-ai-choice strong {
  color: var(--text);
}

@keyframes understand-ai-reveal {
  from { opacity: .25; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.cv-ai-proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.cv-ai-proof-list li {
  min-height: 43px;
  padding: 9px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 720;
}

.cv-ai-proof-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--signal-blue);
}

a[href^="https://wa.me/"]:focus-visible {
  outline-color: var(--cobalt);
}

.header-contact-link[href^="https://wa.me/"] {
  border-color: var(--whatsapp-deep);
  background: #effbf3;
  color: var(--whatsapp-deep);
}

.header-contact-link[href^="https://wa.me/"]:hover,
.header-contact-link[href^="https://wa.me/"]:focus-visible {
  border-color: var(--whatsapp-deep);
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}

.nav-contact-mobile a[href^="https://wa.me/"],
a.text-link[href^="https://wa.me/"] {
  color: var(--whatsapp-deep);
  font-weight: 820;
}

html.js .primary-nav .nav-contact-mobile a[href^="https://wa.me/"] {
  border-color: var(--whatsapp-deep);
  background: #effbf3;
  color: var(--whatsapp-deep);
}

html.js .primary-nav .nav-contact-mobile a[href^="https://wa.me/"]:hover,
html.js .primary-nav .nav-contact-mobile a[href^="https://wa.me/"]:focus-visible {
  border-color: var(--whatsapp-deep);
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}

a.btn[href^="https://wa.me/"] {
  border-color: var(--whatsapp-deep);
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}

a.btn[href^="https://wa.me/"]:hover,
a.btn[href^="https://wa.me/"]:focus-visible {
  border-color: var(--whatsapp-deep);
  background: var(--whatsapp-hover);
  color: var(--whatsapp-ink);
}

.cv-contact-link[href^="https://wa.me/"] {
  border-color: var(--whatsapp-deep);
  background: #effbf3;
  color: var(--whatsapp-deep);
}

.cv-contact-link[href^="https://wa.me/"]:hover,
.cv-contact-link[href^="https://wa.me/"]:focus-visible {
  border-color: var(--whatsapp-deep);
  background: var(--whatsapp);
  color: var(--whatsapp-ink);
}

.cv-contact-link[href^="https://wa.me/"] small,
.cv-contact-link[href^="https://wa.me/"]:hover small,
.cv-contact-link[href^="https://wa.me/"]:focus-visible small {
  color: var(--whatsapp-ink);
}

@media (max-width: 1100px) {
  .ai-hero-v62 h1,
  .lab-hero-v62 h1 { font-size: 56px; }
  .ai-level-detail { padding: 40px; }
  .cv-ai-proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-ai-proof-strip blockquote { grid-column: 1 / -1; }
  .cv-ai-proof-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-left: 1px solid var(--border);
  }
  .cv-ai-proof-list li {
    padding-inline: 14px;
    border-right: 1px solid var(--border);
  }
  .understand-ai-panels dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .private-atlas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-map-v62 { min-height: 900px; }
}

@media (max-width: 900px) {
  .lab-boundary-grid { grid-template-columns: 1fr; }
  .ai-level-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid #344055;
  }
  .ai-level-rail li + li { border-top: 0; border-left: 1px solid #344055; }
  .ai-level-rail button {
    min-height: 178px;
    padding: 20px 16px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    border-left: 0;
    border-bottom: 5px solid transparent;
  }
  .ai-level-rail button[aria-pressed="true"] {
    border-left-color: transparent;
    border-bottom-color: var(--signal-blue);
  }
  .ai-level-rail i { justify-content: flex-start; }
  .ai-level-detail { min-height: 0; }
  .agent-setup-rail button { min-height: 126px; }
  .ai-enablement-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-enablement-flow li:last-child { grid-column: auto; }
  .lab-delivery-list { grid-template-columns: 1fr; }
  .lab-delivery-list article:last-child { grid-column: auto; }
  .lab-boundary-list { margin-top: 12px; }
}

@media (max-width: 820px) {
  .ai-hero-v62,
  .lab-hero-v62 { padding-block: 58px 64px; }
  .ai-hero-v62 h1,
  .lab-hero-v62 h1 { font-size: 50px; }
  .ai-level-rail { display: block; }
  .ai-level-rail li + li { border-left: 0; border-top: 1px solid #344055; }
  .ai-level-rail button {
    min-height: 112px;
    grid-template-columns: 40px minmax(0, 1fr) 62px;
    grid-template-rows: auto;
    align-items: center;
    border-bottom: 0;
    border-left: 5px solid transparent;
  }
  .ai-level-rail button[aria-pressed="true"] {
    border-left-color: var(--signal-blue);
    border-bottom-color: transparent;
  }
  .ai-level-rail i { justify-content: flex-end; }
  .ai-level-detail { padding: 34px 28px; }
  .ai-level-detail h3 { font-size: 38px; }
  .ai-level-detail dl { grid-template-columns: 1fr; }
  .ai-level-detail dl > div { min-height: 0; }
  .ai-job-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-setup-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-setup-rail li + li { border-left: 0; }
  .agent-setup-rail li:nth-child(even) { border-left: 1px solid var(--border); }
  .agent-setup-rail li:nth-child(n+3) { border-top: 1px solid var(--border); }
  .agent-setup-rail li:last-child { grid-column: 1 / -1; }
  .agent-setup-rail button { min-height: 104px; }
  .ai-enablement-flow,
  .ai-applied-proof,
  .lab-delivery-list { grid-template-columns: 1fr; }
  .ai-enablement-flow li:last-child,
  .lab-delivery-list article:last-child { grid-column: auto; }
  .cv-ai-levels > a {
    grid-template-columns: 44px minmax(0, 1fr) 24px;
  }
  .cv-ai-levels .guide-arrow { display: none; }
  .cv-ai-level-copy {
    grid-column: 2 / -1;
    padding-right: 28px;
  }
  .cv-ai-proof-strip { grid-template-columns: 1fr; gap: 18px; }
  .cv-ai-proof-strip blockquote { grid-column: auto; }
  .cv-ai-proof-list {
    grid-column: auto;
    display: block;
    border-left: 0;
  }
  .cv-ai-proof-list li {
    padding-inline: 0;
    border-right: 0;
  }
  .understand-ai-head { grid-template-columns: 1fr; }
  .understand-ai-head > p { max-width: 720px; }
  .understand-ai-controls { grid-template-columns: 1fr; }
  .understand-ai-controls button {
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    column-gap: 18px;
    border-bottom: 0;
    border-left: 4px solid transparent;
  }
  .understand-ai-controls button + button {
    border-top: 1px solid var(--border);
    border-left-color: transparent;
  }
  .understand-ai-controls button[aria-pressed="true"] {
    border-left-color: var(--signal-blue);
    border-bottom-color: transparent;
  }
  .understand-ai-controls small { grid-column: 1; }
  .understand-ai-controls strong { grid-column: 1; }
  .understand-ai-controls span {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
    text-align: right;
  }
  .understand-ai-panels dl { grid-template-columns: 1fr; }
  .understand-ai-panels dl > div { min-height: 0; }
  .atlas-map-v62 { min-height: 0; }
  .atlas-map-v62 > .atlas-line { display: none; }
  .private-atlas-horizon { grid-column: auto; margin-top: 24px; }
  .private-atlas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .atlas-map .private-atlas-grid button { min-height: 104px; }
  .private-topic-fallback ul { columns: 1; }
  .lab-delivery-action { grid-template-columns: 1fr; }
  .lab-preview-panels > section { min-height: 0; padding: 38px 30px; }
  .lab-preview-panels h3 { font-size: 36px; }
  .lab-reasoning-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-source-links a {
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .lab-source-links span { grid-column: 2; }
}

@media (max-width: 520px) {
  .ai-hero-v62 h1,
  .lab-hero-v62 h1 {
    font-size: 40px;
    line-height: 1.02;
  }
  .ai-hero-ladder > div {
    min-height: 112px;
    padding: 20px;
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .ai-hero-ladder i { display: none; }
  .ai-level-principle { padding: 18px; }
  .ai-level-rail button {
    min-height: 110px;
    padding: 16px 14px;
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .ai-level-rail i { display: none; }
  .ai-level-detail { padding: 28px 20px; }
  .ai-level-detail h3 { font-size: 31px; }
  .ai-level-detail dl { margin-top: 24px; }
  .ai-job-strip li { min-height: 70px; padding: 13px; }
  .agent-setup-head,
  .agent-setup-panels > section { padding: 22px 18px; }
  .agent-setup-head h4 { font-size: 24px; }
  .agent-setup-rail button { min-height: 100px; padding: 12px; }
  .agent-setup-trace { display: none !important; }
  .understand-ai {
    margin-top: 64px;
    padding-top: 48px;
  }
  .understand-ai-head h2 { font-size: 34px; }
  .understand-ai-head > p {
    padding-left: 16px;
    font-size: 14px;
  }
  .understand-ai-controls button {
    min-height: 82px;
    padding: 16px;
  }
  .understand-ai-controls span { max-width: 112px; }
  .understand-ai-panels > article { padding: 26px 20px; }
  .understand-ai-panels h3 { font-size: 26px; }
  .understand-ai-panels dl { margin-top: 20px; }
  .understand-ai-panels dl > div { padding: 17px; }
  .understand-ai-choice { padding: 17px 18px; }
  .ai-enablement-flow li,
  .ai-applied-proof > article,
  .ai-personal-account,
  .lab-delivery-list article { min-height: 0; padding: 24px 20px; }
  .ai-enablement-flow small,
  .lab-delivery-list small { margin-bottom: 24px; }
  .ai-personal-account > p { font-size: 23px; }
  .ai-boundary-v62 .ai-boundary-list { grid-template-columns: 1fr; }
  .cv-ai-spotlight h2 { font-size: 34px; }
  .cv-ai-levels { margin: 28px 18px; }
  .cv-ai-levels > a {
    min-height: 0;
    padding: 20px 0;
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    gap: 10px;
  }
  .cv-ai-level-name strong { font-size: 19px; }
  .cv-ai-proof-strip { margin-inline: 18px; }
  .lab-status-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-status-row span { min-height: 94px; padding: 13px; }
  .lab-preview-status { grid-template-columns: 1fr; }
  .lab-preview-register { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab-preview-register button:nth-child(2) { border-right: 0; }
  .lab-preview-register button:nth-child(-n+2) { border-bottom-color: #344055; }
  .lab-preview-register button[aria-pressed="true"] { border-bottom-color: var(--signal-blue); }
  .lab-preview-panels > section { padding: 30px 20px; }
  .lab-preview-panels h3 { font-size: 30px; }
  .lab-preview-panels dl,
  .lab-reasoning-line { grid-template-columns: 1fr; }
  .lab-source-links a { grid-template-columns: 1fr; gap: 5px; }
  .lab-source-links span { grid-column: auto; }
}

@media (max-width: 340px) {
  .ai-hero-v62 h1,
  .lab-hero-v62 h1 {
    font-size: 34px;
    overflow-wrap: anywhere;
  }
  .lab-status-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-level-trace span,
  .agent-setup-trace span,
  .private-atlas-grid button { transition: none !important; transform: none !important; }
  .understand-ai-panels > article.is-active { animation: none !important; }
}

@media (forced-colors: active) {
  .ai-level-system,
  .ai-level-rail button,
  .agent-setup,
  .agent-setup-rail button,
  .understand-ai-system,
  .understand-ai-controls button,
  .lab-preview,
  .lab-preview-register button,
  .lab-choice-list button,
  .private-atlas-grid button {
    border: 1px solid CanvasText;
    color: CanvasText;
    background: Canvas;
  }
  .ai-level-rail button[aria-pressed="true"],
  .agent-setup-rail button[aria-pressed="true"],
  .understand-ai-controls button[aria-pressed="true"],
  .lab-preview-register button[aria-pressed="true"],
  .private-atlas-grid button[aria-pressed="true"] {
    border: 3px solid Highlight;
  }
  .ai-level-trace span,
  .agent-setup-trace span,
  .ai-hero-ladder i b,
  .ai-level-rail i b { background: Highlight; }
  .private-atlas-grid svg { forced-color-adjust: auto; }
  .lab-choice-list button.is-correct { border: 3px solid Highlight; }
  .lab-choice-list button.is-review { border: 3px dashed Highlight; }
}

@media print {
  .ai-level-rail,
  .ai-level-trace,
  .understand-ai-controls,
  .lab-preview-register { display: none !important; }
  .ai-level-detail[hidden],
  .understand-ai-panels > article[hidden],
  .lab-preview-panels > section[hidden] { display: block !important; }
  .ai-level-detail,
  .understand-ai-panels > article,
  .lab-preview-panels > section { min-height: 0; padding: 24px 0; break-inside: avoid; }
}

/* V9.1: dark-theme contrast and mobile experience polish */

html[data-theme="dark"] .scene-plane {
  color: #f5f7fb;
  border-color: rgb(178 199 255 / 42%);
  background: rgb(8 13 24 / 88%);
  box-shadow: 0 18px 48px rgb(0 0 0 / 46%);
}

html[data-theme="dark"] .scene-plane small {
  color: #b2c7ff;
}

html[data-theme="dark"] .scene-plane span {
  color: #d4dce8;
}

html[data-theme="dark"] .experience-ai-capability {
  color: #f5f7fb;
  border-color: #7098ff;
  background: #162a54;
  box-shadow: 0 18px 48px rgb(0 0 0 / 34%);
}

html[data-theme="dark"] .experience-ai-capability-number,
html[data-theme="dark"] .experience-ai-capability-label {
  color: #b2c7ff;
}

html[data-theme="dark"] .experience-ai-capability-label span,
html[data-theme="dark"] .experience-ai-capability h3 {
  color: #ffffff;
}

html[data-theme="dark"] .experience-ai-capability-copy > p:last-child {
  color: #dbe4f2;
}

html[data-theme="dark"] .btn-experience-ai,
html[data-theme="dark"] .btn-experience-ai:hover,
html[data-theme="dark"] .btn-experience-ai:focus-visible {
  border-color: #f5f7fb;
  color: #08101f;
  background: #f5f7fb;
}

html[data-theme="dark"] .btn-experience-ai:hover,
html[data-theme="dark"] .btn-experience-ai:focus-visible {
  border-color: #b2c7ff;
  background: #b2c7ff;
}

html[data-theme="dark"] .cv-tabs {
  background: rgb(16 24 39 / 97%);
}

html[data-theme="dark"] .cv-tab {
  color: #cbd5e1;
  background: transparent;
}

html[data-theme="dark"] .cv-tab:hover,
html[data-theme="dark"] .cv-tab:focus-visible {
  color: #ffffff;
  background: #172235;
}

html[data-theme="dark"] .cv-tab[aria-selected="true"] {
  color: #b2c7ff;
  background: #101827;
}

html[data-theme="dark"] .nav-toggle-lines,
html[data-theme="dark"] .nav-toggle-lines::before,
html[data-theme="dark"] .nav-toggle-lines::after {
  background: #f5f7fb;
}

html[data-theme="dark"] .nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

@media (max-width: 520px) {
  .band {
    padding-block: 64px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero-copy {
    padding-bottom: 32px;
  }

  .hero-copy .btn-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy .btn-row .btn:first-child {
    grid-column: 1 / -1;
  }

  .hero-copy .btn {
    min-width: 0;
    padding-inline: 10px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
  }

  .hero-scene {
    min-height: 280px;
  }

  .plane-implement {
    top: 7%;
  }

  .plane-operate {
    top: auto;
    bottom: 8%;
  }

  .cv-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-inline: 0;
    scroll-snap-type: none;
  }

  .cv-tab {
    min-width: 0;
    min-height: 50px;
    padding: 9px 6px;
    flex: none;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    font-size: 11.5px;
    line-height: 1.15;
    overflow-wrap: anywhere;
    scroll-snap-align: none;
  }

  .cv-tab:nth-child(3n) {
    border-right: 0;
  }

  .cv-tab::after {
    left: 8px;
    right: 8px;
  }
}

@media (max-width: 360px) {
  .hero-scene {
    min-height: 260px;
  }
}
