:root {
  --ink: #111827;
  --muted: #5d6878;
  --line: rgba(17, 24, 39, 0.12);
  --paper: #f7f5ef;
  --white: #ffffff;
  --cyan: #06b6d4;
  --green: #2fbf71;
  --amber: #c98122;
  --blue: #2563eb;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f4f2ec;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 750;
}

.mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease-out, opacity 200ms ease-out, top 200ms ease-out;
}

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

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

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top:  6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.button.primary {
  border-color: transparent;
  color: #071014;
  background: var(--green);
}

.button.dark {
  border-color: transparent;
  color: #ffffff;
  background: #111827;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 420px);
  gap: clamp(28px, 6vw, 88px);
  min-height: clamp(620px, 72vh, 780px);
  align-items: center;
  overflow: visible;
  padding: 74px clamp(20px, 5vw, 76px) 54px;
}

.hero-media {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: min(100%, 390px);
}

.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 24%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(0.96);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 2px;
  background: currentColor;
  content: "";
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lead {
  max-width: 690px;
  margin-bottom: 26px;
  color: inherit;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

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

.metric {
  min-height: 120px;
  padding: 22px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 76px);
}

.section.tight {
  padding-top: 42px;
  padding-bottom: 42px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

.tile {
  min-height: 184px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.tile p,
.timeline p,
.principle p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.resume-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.45fr);
  gap: 18px;
  align-items: stretch;
}

.statement {
  min-height: 100%;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.statement p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.quick-list {
  display: grid;
  gap: 10px;
}

.quick-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 70px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.quick-item strong {
  display: block;
  min-width: 96px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-item span {
  color: var(--muted);
  line-height: 1.5;
}

.matrix {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr) minmax(220px, 0.42fr);
  border-top: 1px solid var(--line);
}

.matrix-row:first-child {
  border-top: 0;
}

.matrix-cell {
  padding: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.matrix-cell:first-child {
  border-left: 0;
  color: var(--ink);
  font-weight: 800;
}

.matrix-head .matrix-cell {
  color: var(--ink);
  background: rgba(37, 99, 235, 0.07);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.achievement-list {
  display: grid;
  gap: 12px;
}

.achievement {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.achievement strong {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.achievement p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.48fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.pullquote {
  padding: clamp(26px, 4vw, 42px);
  border-left: 4px solid currentColor;
  background: rgba(255, 255, 255, 0.62);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.12;
}

.role-stack {
  display: grid;
  gap: 14px;
}

.role {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.role p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.56;
}

.mock-c .pullquote {
  background: rgba(255, 255, 255, 0.48);
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline:first-child {
  border-top: 0;
}

.timeline time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 34px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.selector {
  background: #111827;
  color: #f8fafc;
}

.selector .topbar {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(17, 24, 39, 0.92);
}

.selector .navlinks,
.selector .muted {
  color: #a7b2c4;
}

.selector-hero {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 76px) 42px;
}

.selector-hero h1 {
  width: min(900px, 100%);
}

.selector-hero p {
  width: min(760px, 100%);
  color: #cbd5e1;
  font-size: 20px;
  line-height: 1.6;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 76px) 76px;
}

.preview {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: #172033;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.preview-shot {
  position: relative;
  min-height: 230px;
  padding: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-shot img {
  position: absolute;
  right: 16px;
  bottom: 0;
  width: 34%;
  height: 78%;
  object-fit: cover;
  object-position: 50% 22%;
  opacity: 0.82;
}

.preview-shot strong {
  position: relative;
  z-index: 1;
  display: block;
  width: 62%;
  font-size: 28px;
  line-height: 1;
}

.preview-copy {
  padding: 22px;
}

.preview-copy p {
  color: #cbd5e1;
  line-height: 1.55;
}

.mock-a {
  background: #101820;
  color: #f7fbfb;
}

.mock-a .topbar {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(16, 24, 32, 0.88);
}

.mock-a .navlinks,
.mock-a .section-head p,
.mock-a .tile p,
.mock-a .timeline p,
.mock-a .footer,
.mock-a .tag,
.mock-a .metric span {
  color: #aebcca;
}

.mock-a .hero::after {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.98) 0%, rgba(16, 24, 32, 0.86) 54%, rgba(16, 24, 32, 0.94) 100%),
    linear-gradient(135deg, rgba(47, 191, 113, 0.18), rgba(6, 182, 212, 0.08));
}

.mock-a .hero-media img {
  border-color: rgba(255, 255, 255, 0.18);
  object-position: 50% 24%;
}

.mock-a .button.primary {
  background: #2fbf71;
}

.mock-a .tile {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

.mock-a .metric-strip,
.mock-a .metric,
.mock-a .timeline,
.mock-a .footer,
.mock-a .band {
  border-color: rgba(255, 255, 255, 0.12);
}

.mock-a .band {
  background: #0d141b;
}

.mock-b {
  color: #142033;
  background: #f7f5ef;
}

.mock-b .hero::after {
  background: linear-gradient(135deg, #f7f5ef 0%, #eef4f8 100%);
}

.mock-b .button.primary {
  color: #ffffff;
  background: #2563eb;
}

.mock-b .tile {
  background: #ffffff;
}

.mock-b .band {
  background: #eef4f8;
}

.mock-c {
  color: #17201b;
  background: #f6f0e5;
}

.mock-c .topbar {
  background: rgba(246, 240, 229, 0.92);
}

.mock-c .hero::after {
  background: linear-gradient(135deg, #f6f0e5 0%, #e9efe6 100%);
}

.mock-c .button.primary {
  color: #ffffff;
  background: #21705b;
}

.mock-c .band {
  background: #1f332d;
  color: #f7f3ea;
}

.mock-c .band .section-head p,
.mock-c .band .tile p,
.mock-c .band .tag {
  color: #d6dfd7;
}

.mock-c .band .tile {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.variant-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.variant-nav .button {
  min-height: 38px;
}

.cv-selector .preview-shot {
  min-height: 260px;
}

.cv-selector .preview:nth-child(1) .preview-shot {
  background: #f6f0e5;
  color: #17201b;
}

.cv-selector .preview:nth-child(2) .preview-shot {
  background: #10201d;
  color: #f7f3ea;
}

.cv-selector .preview:nth-child(3) .preview-shot {
  background: #f9fafb;
  color: #111827;
}

.cv-a {
  color: #17201b;
  background: #f6f0e5;
}

.cv-a .topbar {
  background: rgba(246, 240, 229, 0.92);
}

.cv-a .hero::after {
  background: linear-gradient(135deg, #f6f0e5 0%, #eaf0e8 100%);
}

.cv-a .button.primary {
  color: #ffffff;
  background: #21705b;
}

.cv-a .band {
  background: #1f332d;
  color: #f7f3ea;
}

.cv-a .band .tile,
.cv-a .band .statement,
.cv-a .band .role {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.cv-a .band p,
.cv-a .band .tile p,
.cv-a .band .role p {
  color: #d6dfd7;
}

.cv-b {
  color: #f7f3ea;
  background: #10201d;
}

.cv-b .topbar {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(16, 32, 29, 0.9);
}

.cv-b .navlinks,
.cv-b .lead,
.cv-b .section-head p,
.cv-b .tile p,
.cv-b .statement p,
.cv-b .role p,
.cv-b .timeline p,
.cv-b .quick-item span,
.cv-b .footer {
  color: #d7dfd9;
}

.cv-b .hero::after {
  background:
    linear-gradient(135deg, rgba(16, 32, 29, 0.96), rgba(9, 24, 30, 0.98)),
    linear-gradient(145deg, rgba(47, 191, 113, 0.18), rgba(6, 182, 212, 0.12));
}

.cv-b .button.primary {
  color: #071014;
  background: #66d19e;
}

.cv-b .button,
.cv-b .tile,
.cv-b .statement,
.cv-b .role,
.cv-b .quick-item,
.cv-b .matrix,
.cv-b .matrix-row,
.cv-b .matrix-cell,
.cv-b .achievement,
.cv-b .footer {
  border-color: rgba(255, 255, 255, 0.14);
}

.cv-b .tile,
.cv-b .statement,
.cv-b .role,
.cv-b .quick-item,
.cv-b .matrix,
.cv-b .achievement {
  background: rgba(255, 255, 255, 0.055);
}

.cv-b .matrix-cell:first-child,
.cv-b .matrix-head .matrix-cell,
.cv-b .quick-item strong {
  color: #f7f3ea;
}

.cv-b .matrix-head .matrix-cell {
  background: rgba(102, 209, 158, 0.12);
}

.cv-b .band {
  border-color: rgba(255, 255, 255, 0.14);
  background: #0b1719;
}

.cv-c {
  color: #111827;
  background: #f9fafb;
}

.cv-c .topbar {
  background: rgba(249, 250, 251, 0.94);
}

.cv-c .hero::after {
  background: linear-gradient(135deg, #f9fafb 0%, #eef2f7 100%);
}

.cv-c .button.primary {
  color: #ffffff;
  background: #111827;
}

.cv-c .tile,
.cv-c .statement,
.cv-c .role,
.cv-c .quick-item,
.cv-c .achievement,
.cv-c .matrix {
  background: #ffffff;
}

.cv-c .band {
  background: #edf2f7;
}

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

.credential {
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.credential strong {
  display: block;
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1;
}

.credential span {
  color: var(--muted);
  line-height: 1.5;
}

.cv-b .credential {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.cv-b .credential span {
  color: #d7dfd9;
}

.deep-selector .preview:nth-child(1) .preview-shot {
  background: #f4f1e8;
  color: #17201b;
}

.deep-selector .preview:nth-child(2) .preview-shot {
  background: #f8fafc;
  color: #0f172a;
}

.deep-selector .preview:nth-child(3) .preview-shot {
  background: #12201e;
  color: #f7f3ea;
}

.deep-a,
.deep-b,
.deep-c {
  --motion-distance: 18px;
}

.deep-a {
  color: #17201b;
  background: #f4f1e8;
}

.deep-a .topbar {
  background: rgba(244, 241, 232, 0.92);
}

.deep-a .hero::after {
  background:
    radial-gradient(circle at 78% 40%, rgba(33, 112, 91, 0.12), transparent 30%),
    linear-gradient(135deg, #f4f1e8 0%, #e6eee8 100%);
}

.deep-a .button.primary {
  color: #ffffff;
  background: #21705b;
}

.deep-b {
  color: #0f172a;
  background: #f8fafc;
}

.deep-b .topbar {
  background: rgba(248, 250, 252, 0.94);
}

.deep-b .hero::after {
  background: linear-gradient(135deg, #f8fafc 0%, #e7edf5 100%);
}

.deep-b .button.primary {
  color: #ffffff;
  background: #0f172a;
}

.deep-c {
  color: #f7f3ea;
  background: #12201e;
}

.deep-c .topbar {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 32, 30, 0.9);
}

.deep-c .navlinks,
.deep-c .lead,
.deep-c .section-head p,
.deep-c .tile p,
.deep-c .statement p,
.deep-c .role p,
.deep-c .timeline p,
.deep-c .quick-item span,
.deep-c .footer,
.deep-c .credential span {
  color: #d7dfd9;
}

.deep-c .hero::after {
  background:
    radial-gradient(circle at 76% 36%, rgba(102, 209, 158, 0.16), transparent 28%),
    linear-gradient(135deg, #12201e 0%, #0b1719 100%);
}

.deep-c .button.primary {
  color: #071014;
  background: #66d19e;
}

.deep-c .button,
.deep-c .tile,
.deep-c .statement,
.deep-c .role,
.deep-c .quick-item,
.deep-c .matrix,
.deep-c .matrix-row,
.deep-c .matrix-cell,
.deep-c .achievement,
.deep-c .credential {
  border-color: rgba(255, 255, 255, 0.14);
}

.deep-c .tile,
.deep-c .statement,
.deep-c .role,
.deep-c .quick-item,
.deep-c .matrix,
.deep-c .achievement,
.deep-c .credential {
  background: rgba(255, 255, 255, 0.055);
}

.deep-c .matrix-cell:first-child,
.deep-c .matrix-head .matrix-cell,
.deep-c .quick-item strong {
  color: #f7f3ea;
}

.deep-c .matrix-head .matrix-cell {
  background: rgba(102, 209, 158, 0.12);
}

.deep-c .band {
  border-color: rgba(255, 255, 255, 0.14);
  background: #0b1719;
}

.signature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.46fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.signature-copy {
  display: grid;
  gap: 18px;
}

.signature-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.deep-c .signature-copy p {
  color: #d7dfd9;
}

.signal-stack {
  display: grid;
  gap: 12px;
}

.signal {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
}

.signal strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal span {
  color: var(--muted);
  line-height: 1.55;
}

.deep-c .signal {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
}

.deep-c .signal span {
  color: #d7dfd9;
}

.full-final .hero {
  min-height: clamp(680px, 78vh, 860px);
}

.full-final .hero-copy {
  width: min(850px, 100%);
}

.full-final h1 {
  max-width: 820px;
}

.full-final .lead {
  max-width: 760px;
}

.narrative-band {
  padding: clamp(38px, 6vw, 68px) clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.narrative-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.45fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.narrative-inner p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 750;
  line-height: 1.32;
}

.narrative-inner small {
  display: block;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.domain {
  min-height: 170px;
  padding: 20px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.domain:first-child {
  border-left: 0;
}

.domain h3 {
  font-size: 16px;
}

.domain p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.case-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.case-item strong {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-item h3 {
  max-width: 620px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.case-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.certificate-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.5fr);
  gap: 24px;
  align-items: start;
}

.certificate-strip .narrative-inner {
  grid-template-columns: 1fr;
  gap: 18px;
}

.certificate-strip .narrative-inner p {
  max-width: 680px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.24;
}

.certificate-strip .narrative-inner small {
  max-width: 620px;
}

.cert-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-line {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 720px;
}

.cert-pill {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.full-final.deep-c .narrative-band,
.full-final.deep-c .domain,
.full-final.deep-c .case-item,
.full-final.deep-c .case-item strong,
.full-final.deep-c .cert-pill {
  border-color: rgba(255, 255, 255, 0.14);
}

.full-final.deep-c .domain,
.full-final.deep-c .case-item,
.full-final.deep-c .cert-pill {
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.full-final.deep-c .narrative-inner p,
.full-final.deep-c .narrative-inner small,
.full-final.deep-c .domain p,
.full-final.deep-c .case-item p,
.full-final.deep-c .case-item strong,
.full-final.deep-c .cert-pill {
  color: #d7dfd9;
}

.full-final.deep-c .domain-grid {
  border-color: rgba(255, 255, 255, 0.14);
}

.ai-fluent {
  color: #17201b;
  background: #f4f1e8;
}

.ai-fluent .topbar {
  background: rgba(244, 241, 232, 0.92);
}

.ai-fluent .hero::after {
  background:
    radial-gradient(circle at 77% 36%, rgba(33, 112, 91, 0.14), transparent 28%),
    linear-gradient(135deg, #f4f1e8 0%, #e7efe9 100%);
}

.ai-fluent .button.primary {
  color: #ffffff;
  background: #21705b;
}

.agentic-signature {
  color: #13201b;
  background: #f3efe5;
}

.agentic-signature .topbar {
  background: rgba(243, 239, 229, 0.92);
}

.agentic-signature .hero::after {
  background:
    radial-gradient(circle at 76% 35%, rgba(6, 182, 212, 0.16), transparent 28%),
    linear-gradient(135deg, #f3efe5 0%, #e4eee9 100%);
}

.agentic-signature .button.primary {
  color: #ffffff;
  background: #155e63;
}

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

.agent-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.agent-card strong {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.workflow-step {
  min-height: 190px;
  padding: 22px;
  border-left: 1px solid var(--line);
}

.workflow-step:first-child {
  border-left: 0;
}

.workflow-step span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 850;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.usecase-list {
  display: grid;
  gap: 12px;
}

.usecase {
  display: grid;
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}

.usecase > * {
  padding: 20px;
  border-left: 1px solid var(--line);
}

.usecase > *:first-child {
  border-left: 0;
}

.usecase strong {
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.usecase p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(var(--motion-distance));
  transition: opacity 260ms ease-out, transform 260ms ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero .motion-reveal:nth-child(2) {
  --reveal-delay: 60ms;
}

.hero .motion-reveal:nth-child(3) {
  --reveal-delay: 110ms;
}

.button {
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}

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

.button:active {
  transform: translateY(0) scale(0.985);
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
}

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

  .motion-reveal,
  .button {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

.principle {
  min-height: 156px;
  padding: 22px;
  border-top: 3px solid currentColor;
  background: rgba(255, 255, 255, 0.58);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    align-items: start;
    gap: 26px;
  }

  .full-final .hero {
    min-height: auto;
  }

  .hero-media {
    grid-column: auto;
    grid-row: auto;
    order: -1;
    justify-self: start;
    width: min(220px, 58vw);
  }

  .hero-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-media img {
    aspect-ratio: 1;
    border-radius: 50%;
  }

  .section-head,
  .grid.three,
  .grid.two,
  .preview-grid,
  .principles,
  .credential-grid,
  .agent-grid,
  .signature-layout,
  .narrative-inner,
  .certificate-strip,
  .resume-panel,
  .split-feature {
    grid-template-columns: 1fr;
  }

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

  .workflow-rail {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .workflow-step:first-child {
    border-top: 0;
  }

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

  .usecase > * {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .usecase > *:first-child {
    border-top: 0;
  }

  .domain:nth-child(odd) {
    border-left: 0;
  }

  .matrix-row {
    grid-template-columns: 1fr;
  }

  .matrix-cell {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .matrix-cell:first-child {
    border-top: 0;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

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

  .metric:last-child {
    border-bottom: 0;
  }

  .topbar {
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .navlinks {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 8px clamp(18px, 4vw, 56px) 18px;
    border-bottom: 1px solid var(--line);
    background: #f4f1e8;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.08);
    font-size: 16px;
  }

  .navlinks.is-open {
    display: flex;
  }

  .navlinks a {
    padding: 14px 4px;
    border-top: 1px solid var(--line);
    color: inherit;
  }

  .navlinks a:first-child {
    border-top: 0;
  }

  /* Tighter section rhythm on mobile */
  .section {
    padding: 44px clamp(18px, 5vw, 28px);
  }

  .section.tight {
    padding-top: 32px;
    padding-bottom: 36px;
  }

  .narrative-band {
    padding: 32px clamp(18px, 5vw, 28px);
  }

  .section-head {
    margin-bottom: 22px;
    gap: 14px;
  }

  .section-head p {
    font-size: 16px;
  }

  /* Section numbering — gives each section a visual identity */
  main { counter-reset: sec; }

  main > .section .eyebrow,
  main > .narrative-band .eyebrow {
    counter-increment: sec;
  }

  main > .section .section-head .eyebrow::after,
  main > .narrative-band .eyebrow::after {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid currentColor;
    opacity: 0.55;
    content: counter(sec, decimal-leading-zero);
    font-variant-numeric: tabular-nums;
  }

  /* Card identity: solid white + subtle lift, so cards stand out from page bg */
  .credential,
  .domain,
  .case-item,
  .tile,
  .signal,
  .cert-pill {
    background: #ffffff;
  }

  .credential,
  .domain,
  .case-item,
  .tile,
  .signal {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  }

  .case-item {
    min-height: auto;
    padding: 22px;
    gap: 10px;
  }

  /* Cards inside grids — looser stacking on mobile so each is clearly its own block */
  .case-list { gap: 14px; }
  .credential-grid { gap: 12px; }
  .domain-grid {
    gap: 0;
    border-radius: var(--radius);
  }

  /* Alternating section tint on mobile — gentle but visible scroll rhythm */
  main > section:nth-of-type(odd):not(.hero):not(.metric-strip):not(.band) {
    background: rgba(33, 112, 91, 0.04);
  }

  /* Domain headings a touch larger so cards aren't all tiny text */
  .domain h3 { font-size: 17px; }
  .domain p  { font-size: 15px; }
}

@media (max-width: 1120px) {
  .certificate-strip {
    grid-template-columns: 1fr;
  }

  .cert-cloud {
    max-width: 760px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 58px;
  }

  .mock-a .hero::after,
  .mock-b .hero::after,
  .mock-c .hero::after {
    background: inherit;
  }

  .hero-media img {
    object-position: 50% 22%;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  .case-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .domain,
  .domain:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .domain:first-child {
    border-top: 0;
  }

  .hero-actions,
  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
