:root {
  --navy: #101923;
  --soft: #52606b;
  --mist: #e9eef0;
  --paper: #f7f7f3;
  --white: #fff;
  --cyan: #4cbec5;
  --cyan-dark: #1d777c;
  --lime: #c9e46d;
  --line: rgba(16, 25, 35, 0.14);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--cyan-dark);
  outline-offset: 4px;
}

::selection {
  background: rgba(201, 228, 109, 0.4);
  color: inherit;
  text-shadow: none;
}

.skip {
  position: fixed;
  z-index: 99;
  top: 0.7rem;
  left: 0.7rem;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.shell {
  min-height: 100vh;
  overflow-x: clip;
  background:
    linear-gradient(rgba(16, 25, 35, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 25, 35, 0.022) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
}

.site-header,
main > section,
.stack-rail,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.identity b {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font: 700 0.76rem var(--mono);
  box-shadow: 4px 4px 0 var(--cyan);
}

.identity strong,
.identity small {
  display: block;
}

.identity strong {
  font-size: 0.93rem;
}

.identity small {
  margin-top: 0.14rem;
  color: var(--soft);
  font: 600 0.6875rem var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  font-size: 0.77rem;
  font-weight: 700;
}

nav a {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: var(--cyan-dark);
}

.nav-cta {
  min-width: 44px;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--navy);
  border-radius: 6px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--navy);
  color: #fff;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: 6.4rem;
}

.eyebrow,
.index {
  margin: 0 0 1.2rem;
  color: var(--cyan-dark);
  font: 700 0.6875rem var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(4.1rem, 7.7vw, 7.9rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1;
}

h1 span {
  display: block;
  color: var(--soft);
  font-weight: 430;
}

.lede {
  max-width: 650px;
  margin: 2.1rem 0 0;
  color: var(--soft);
  font-size: clamp(1.04rem, 1.55vw, 1.24rem);
  line-height: 1.75;
}

.availability {
  max-width: 640px;
  margin: 1.8rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font: 600 0.88rem / 1.65 var(--sans);
}

.actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.actions {
  margin-top: 2.1rem;
}

.button {
  min-width: 44px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0.8rem 1.2rem;
  font-size: 0.81rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 0.15s;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 5px 5px 0 rgba(76, 190, 197, 0.32);
}

.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.profile {
  overflow: hidden;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
  box-shadow:
    24px 28px 0 rgba(76, 190, 197, 0.13),
    0 38px 80px rgba(16, 25, 35, 0.23);
}

.profile-top,
.profile-foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  font: 600 0.6875rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
}

.active {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #dceaa9;
}

.active i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
}

.profile-body {
  min-height: 340px;
  padding: 3.1rem 2rem 2.6rem;
  background:
    radial-gradient(circle at 82% 8%, rgba(76, 190, 197, 0.16), transparent 36%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
}

.code {
  margin: 0 0 0.65rem;
  color: var(--cyan);
  font: 700 0.6875rem var(--mono);
  letter-spacing: 0.12em;
}

.profile-body h2 {
  max-width: 370px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1;
}

.profile-body > p:not(.code) {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.profile-body hr {
  margin: 2.2rem 0 1.5rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mini-stack span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 0.45rem 0.6rem;
  font: 0.6875rem var(--mono);
}

.profile-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-foot span,
.profile-foot strong {
  display: block;
}

.profile-foot span {
  color: rgba(255, 255, 255, 0.65);
}

.profile-foot strong {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 550;
}

.stack-rail {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-x: auto;
  border-block: 1px solid var(--line);
  color: var(--soft);
  font: 600 0.6875rem var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stack-rail span {
  flex: 0 0 auto;
}

.intro,
.work,
.production-practice,
.background,
.toolkit,
.focus,
.method {
  padding-block: 8rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(4rem, 10vw, 10rem);
}

.intro-grid h2,
.section-title h2,
.background-head h2,
.method h2,
.contact h2 {
  font-size: clamp(3.2rem, 6vw, 6.3rem);
  font-weight: 690;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.intro-grid h2 span {
  display: block;
  color: var(--soft);
  font-weight: 430;
}

.intro-grid p {
  margin: 0 0 1.4rem;
  color: var(--soft);
  font-size: 1.01rem;
  line-height: 1.78;
}

.work,
.production-practice,
.toolkit,
.method {
  border-top: 1px solid var(--line);
}

.section-title {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-title .index {
  margin: 0;
}

.section-title h2 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.section-intro {
  grid-column: 2;
  max-width: 720px;
  margin: -1.4rem 0 0;
  color: var(--soft);
  line-height: 1.75;
}

.work-card {
  display: grid;
  grid-template-columns: 90px 1fr 190px;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(24, 37, 48, 0.07);
}

.number {
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  color: var(--cyan-dark);
  font: 700 0.6875rem var(--mono);
}

.work-main {
  padding: clamp(2rem, 5vw, 4.1rem);
}

.work-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--soft);
  font: 600 0.6875rem var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status {
  color: #326b38;
}

.work-main h3 {
  margin: 2rem 0 1rem;
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.work-main > p {
  max-width: 700px;
  margin: 0;
  color: var(--soft);
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.tags span {
  border-radius: 5px;
  background: var(--mist);
  padding: 0.45rem 0.6rem;
  font: 0.6875rem var(--mono);
}

.work-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  border-left: 1px solid var(--line);
  font-size: 0.77rem;
  font-weight: 760;
  text-decoration: none;
}

.work-link:hover,
.work-link:focus-visible {
  background: var(--navy);
  color: #fff;
}

.work-link strong {
  font-size: 1.5rem;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.production-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(24, 37, 48, 0.06);
}

.production-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  grid-column: 1 / -1;
  align-items: stretch;
}

.production-card figure,
.production-card picture,
.production-card img {
  display: block;
  width: 100%;
}

.production-card figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  margin: 0;
  background: var(--navy);
}

.production-card figure picture {
  min-height: 0;
  height: 100%;
}

.production-card img {
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.production-card figcaption {
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.72);
  font: 0.66rem / 1.5 var(--mono);
}

.production-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  background: var(--navy);
}

.production-pair picture + picture {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.production-copy {
  min-width: 0;
  padding: clamp(1.6rem, 4vw, 3.2rem);
}

.production-label {
  margin: 0 0 1.2rem;
  color: var(--cyan-dark);
  font: 700 0.66rem / 1.45 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.production-copy h3 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.6vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.production-copy > p:not(.production-label) {
  max-width: 42rem;
  margin: 0 0 1rem;
  color: var(--soft);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.production-copy > p:not(.production-label):last-child {
  margin-bottom: 0;
}

.production-constraints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.2rem;
  max-width: 42rem;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
  list-style: none;
}

.production-constraints li {
  position: relative;
  min-width: 0;
  padding-left: 1rem;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.production-constraints li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: var(--cyan-dark);
  content: "";
}

.production-card-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-column: 1 / -1;
  align-items: center;
}

.truth-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.65rem;
  min-width: 0;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  list-style: none;
}

.truth-flow li {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid rgba(76, 190, 197, 0.45);
  border-radius: 10px;
  background: var(--mist);
  padding: 0.9rem 0.55rem;
  text-align: center;
  overflow-wrap: anywhere;
  font: 650 0.72rem / 1.45 var(--mono);
}

.truth-flow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  left: calc(100% + 0.45rem);
  width: 0.8rem;
  color: var(--cyan-dark);
  transform: translateY(-50%);
}

.background {
  width: 100%;
  max-width: none;
  background:
    radial-gradient(circle at 80% 14%, rgba(76, 190, 197, 0.1), transparent 32%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--navy);
  background-size: auto, 34px 34px, 34px 34px;
  color: #fff;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
}

.career-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3.5rem, 6vw, 6rem);
  align-items: start;
}

.background-head {
  position: sticky;
  top: 1.5rem;
  max-width: 500px;
}

.background-head .index {
  color: var(--cyan);
}

.career-overline {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.52);
  font: 600 0.6875rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.background-head h2 {
  max-width: 500px;
  font-size: clamp(3.2rem, 4.6vw, 4.75rem);
  line-height: 1.18;
}

.background-head h2 span {
  display: block;
  margin-top: 0.1em;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 430;
}

.background-head .career-intro {
  max-width: 470px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.career-chapters {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  margin-top: 2.35rem;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  font-size: inherit;
  font-weight: inherit;
}

.career-chapters a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  justify-content: stretch;
  min-height: 58px;
  padding: 0.7rem 0.2rem;
  text-decoration: none;
  transition:
    background 0.16s ease,
    padding 0.16s ease;
}

.career-chapters a + a {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.career-chapters a:hover,
.career-chapters a:focus-visible {
  padding-inline: 0.7rem;
  background: rgba(255, 255, 255, 0.055);
}

.career-chapters span {
  color: var(--cyan);
  font: 700 0.625rem var(--mono);
  letter-spacing: 0.08em;
}

.career-chapters strong {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 650;
}

.career-chapters small {
  color: rgba(255, 255, 255, 0.46);
  font: 0.6rem var(--mono);
}

.career-story {
  min-width: 0;
}

.career-strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  list-style: none;
}

.career-strengths li {
  min-width: 0;
  padding: 1rem 1.1rem;
}

.career-strengths li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.career-strengths strong,
.career-strengths span {
  display: block;
}

.career-strengths strong {
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.career-strengths span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.52);
  font: 0.6rem / 1.45 var(--mono);
}

.career-timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 28px;
  left: 7px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--lime),
    var(--cyan) 14%,
    rgba(76, 190, 197, 0.2)
  );
}

.career-era {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 1rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: 0.95rem 0 0.95rem 3rem;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  scroll-margin-top: 2rem;
}

.career-era::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 1px;
  background: var(--cyan);
}

.career-era > span {
  grid-column: 1 / -1;
  color: var(--cyan);
  font: 700 0.6rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.career-era strong {
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 650;
}

.career-era time {
  color: rgba(255, 255, 255, 0.5);
  font: 0.625rem var(--mono);
}

.career-entry {
  position: relative;
  padding: 0 0 2.1rem 3rem;
}

.career-entry > article,
.career-entry > details {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.career-entry > article {
  position: relative;
  padding: clamp(1.5rem, 3.4vw, 2.6rem);
}

.career-entry > article::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  bottom: 1.25rem;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: rgba(76, 190, 197, 0.38);
}

.career-entry > details {
  overflow: hidden;
}

.career-node {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 3px solid var(--navy);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 1px rgba(76, 190, 197, 0.55);
}

.career-entry-current .career-node {
  background: var(--lime);
  box-shadow:
    0 0 0 1px rgba(201, 228, 109, 0.65),
    0 0 20px rgba(201, 228, 109, 0.5);
}

.career-entry-current > article {
  border-color: rgba(201, 228, 109, 0.3);
  background:
    linear-gradient(135deg, rgba(201, 228, 109, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.16);
}

.career-entry-current > article::before {
  background: var(--lime);
  box-shadow: 0 0 20px rgba(201, 228, 109, 0.3);
}

.career-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.52);
  font: 600 0.625rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.career-meta time {
  color: var(--cyan);
}

.career-entry-current .career-meta time {
  color: var(--lime);
}

.career-company {
  margin: 1.55rem 0 0.55rem;
  color: var(--lime);
  font: 700 0.68rem var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.career-entry h3,
.early-career-grid h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.career-summary,
.early-career-grid article > p:last-child {
  max-width: 680px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.72;
}

.career-evidence {
  display: grid;
  gap: 0.7rem;
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
}

.career-evidence li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  line-height: 1.65;
}

.career-evidence li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 1px;
  background: var(--cyan);
}

.career-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.6rem;
}

.career-tags span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.38rem 0.58rem;
  color: rgba(255, 255, 255, 0.67);
  font: 0.625rem var(--mono);
}

.role-progression {
  display: grid;
  margin-top: 1.7rem;
  padding-inline: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.role-progression section {
  display: grid;
  grid-template-columns: 88px 0.7fr 1.3fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
}

.role-progression section + section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.role-progression time {
  color: var(--cyan);
  font: 0.625rem var(--mono);
}

.role-progression h4 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.role-progression p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.6;
}

.career-entry-early summary {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  padding: 1.5rem;
  list-style: none;
}

.career-entry-early summary::-webkit-details-marker {
  display: none;
}

.career-entry-early summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: -5px;
}

.career-entry-early summary time,
.career-entry-early summary strong {
  display: block;
}

.career-entry-early summary time {
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font: 0.625rem var(--mono);
  letter-spacing: 0.08em;
}

.career-entry-early summary strong {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}

.summary-action {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.62);
  font: 0.625rem var(--mono);
  text-transform: uppercase;
}

.summary-action i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--lime);
  font-style: normal;
  font-size: 1rem;
  transition: transform 0.18s;
}

.career-entry-early details[open] .summary-action i {
  transform: rotate(45deg);
}

.early-career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.early-career-grid article {
  min-height: 230px;
  padding: 1.5rem;
}

.early-career-grid article:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.early-career-grid article:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.early-career-grid .career-company {
  margin-top: 0;
}

.early-career-grid h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.tool-grid article {
  min-height: 350px;
  padding: 1.5rem;
}

.tool-grid article + article {
  border-left: 1px solid var(--line);
}

.tool-grid > article > span {
  color: var(--soft);
  font: 0.6875rem var(--mono);
}

.tool-grid b {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-top: 3.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--cyan-dark);
  font: 0.76rem var(--mono);
  box-shadow: 5px 5px 0 rgba(76, 190, 197, 0.13);
}

.tool-grid h3 {
  margin: 2rem 0 0.7rem;
  font-size: 1.48rem;
}

.tool-grid p {
  margin: 0;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.7;
}

.range,
.systems,
.patterns,
.proof,
.lab-card {
  border-top: 1px solid var(--line);
}

.range-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.range h2,
.patterns .section-title h2,
.proof .section-title h2 {
  font-size: clamp(2.55rem, 5vw, 4.9rem);
}

.range h2 span {
  color: var(--cyan-dark);
  font-weight: 430;
}

.range p {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: var(--soft);
  font-size: 1.05rem;
  line-height: 1.78;
}

.range-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.range-list li {
  padding: 1rem 0 1rem 1.3rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.5;
}

.range-list li:last-child {
  border-bottom: 0;
}

.range-list li::before {
  content: "→";
  display: inline-block;
  width: 1.3rem;
  margin-left: -1.3rem;
  color: var(--cyan-dark);
  font-weight: 800;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.systems-grid article {
  min-height: 205px;
  padding: 1.6rem;
  background: #fff;
}

.systems-grid article:nth-child(3n + 2),
.systems-grid article:nth-child(3n + 3) {
  border-left: 1px solid var(--line);
}

.systems-grid article:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.systems-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.28rem;
  letter-spacing: -0.035em;
}

.systems-grid p {
  margin: 1rem 0 0;
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.patterns {
  padding-bottom: clamp(5rem, 11vw, 10rem);
}

.patterns-note {
  max-width: 680px;
  margin: -1rem 0 clamp(2.8rem, 7vw, 5rem);
  color: var(--soft);
  font: 0.78rem / 1.65 var(--mono);
}

.pattern-card {
  min-width: 0;
  padding: clamp(1.4rem, 4vw, 3.25rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.anchor-alias {
  display: block;
  position: relative;
  top: -1px;
}

.pattern-card + .pattern-card {
  margin-top: 1.5rem;
}

.pattern-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem 3rem;
  align-items: start;
}

.pattern-kicker {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--cyan-dark);
  font: 750 0.65rem var(--mono);
  letter-spacing: 0.1em;
}

.pattern-copy h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  letter-spacing: -0.045em;
}

.pattern-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--soft);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.pattern-card figure {
  margin: clamp(1.8rem, 4vw, 3rem) 0 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(rgba(16, 31, 47, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 31, 47, 0.04) 1px, transparent 1px),
    #fbfcfa;
  background-size: 28px 28px;
}

.pattern-svg {
  display: block;
  min-width: 0;
  width: 100%;
  height: auto;
  color: var(--navy);
  font: 600 16px var(--mono);
}

.pattern-svg text {
  fill: currentColor;
}

.pattern-svg .svg-lane,
.pattern-svg .svg-note {
  fill: var(--soft);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.pattern-svg .svg-note {
  fill: var(--cyan-dark);
}

.pattern-svg .svg-box,
.pattern-svg .svg-gate,
.pattern-svg .svg-ok,
.pattern-svg .svg-error {
  stroke: var(--line);
  stroke-width: 2;
}

.pattern-svg .svg-box { fill: #fff; }
.pattern-svg .svg-gate { fill: #e9f8f8; stroke: var(--cyan); }
.pattern-svg .svg-ok { fill: #eff6d7; stroke: var(--lime); }
.pattern-svg .svg-error { fill: #fff2ed; stroke: #cd6d4a; }
.pattern-svg .svg-path,
.pattern-svg .svg-error-path {
  fill: none;
  stroke: var(--cyan-dark);
  stroke-width: 3;
}
.pattern-svg .svg-error-path { stroke: #cd6d4a; stroke-dasharray: 8 6; }
.pattern-svg marker path { fill: var(--cyan-dark); }

.pattern-card figcaption {
  min-width: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.diagram-mobile {
  display: none;
}

.pattern-equivalent,
.experience-list,
.proof-grid,
.plan-phases,
.contact > div {
  min-width: 0;
}

.pattern-equivalent li,
.experience-list dd,
.proof-grid dd,
.plan-phases p,
.plan-phases small {
  overflow-wrap: anywhere;
}

.compact-evidence {
  display: grid;
  grid-template-columns: minmax(7rem, 0.28fr) minmax(0, 1fr);
  gap: 0.55rem 1rem;
  margin: 1.3rem 0 0;
}

.compact-evidence dt {
  color: var(--cyan-dark);
  font: 750 0.68rem var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.compact-evidence dd {
  min-width: 0;
  margin: 0;
  color: var(--soft);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.ai-fluency {
  padding: clamp(4.5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.ai-fluency-copy {
  max-width: 760px;
  margin-top: 2.25rem;
}

.ai-fluency-copy p {
  min-width: 0;
  margin: 0 0 1.35rem;
  color: var(--soft);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.ai-flow {
  margin: clamp(2.5rem, 6vw, 5rem) 0 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcfa;
}

.ai-flow svg { width: 100%; height: auto; }
.ai-flow figcaption { padding: 1rem 1.25rem; border-top: 1px solid var(--line); color: var(--soft); font-size: .9rem; line-height: 1.6; }

.ai-equivalent {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.35rem 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  list-style: none;
}

.ai-equivalent li { min-width: 0; padding: 1rem 1.2rem; color: var(--soft); font-size: .92rem; line-height: 1.6; overflow-wrap: anywhere; }
.ai-equivalent li:nth-child(even) { border-left: 1px solid var(--line); }
.ai-equivalent li:nth-child(n + 3) { border-top: 1px solid var(--line); }

.evidence-strip {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

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

.evidence-cards article {
  min-width: 0;
  padding: 1.5rem;
  background: #fff;
}

.evidence-cards article + article { border-left: 1px solid var(--line); }
.evidence-cards h3 { margin: 0 0 1rem; font-size: 1.2rem; }
.evidence-cards dl { display: grid; gap: .35rem; margin: 0; }
.evidence-cards dt { color: var(--cyan-dark); font: 750 .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.evidence-cards dd { min-width: 0; margin: 0 0 .7rem; color: var(--soft); font-size: .88rem; line-height: 1.55; overflow-wrap: anywhere; }

@media (max-width: 1120px) {
  .evidence-cards { grid-template-columns: 1fr; }
  .evidence-cards article + article { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 900px) {
  .diagram-desktop { display: none; }
  .diagram-mobile { display: block; }
}

.pattern-equivalent {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 1.35rem 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  list-style: none;
  overflow: hidden;
}

.pattern-equivalent li {
  padding: 1rem 1.1rem 1rem 2.2rem;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.6;
}

.pattern-equivalent li:nth-child(even) {
  border-left: 1px solid var(--line);
}

.pattern-equivalent li:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.pattern-equivalent li::before {
  content: counter(list-item, decimal-leading-zero);
  float: left;
  width: 1.45rem;
  margin-left: -1.45rem;
  color: var(--cyan-dark);
  font: 750 0.62rem var(--mono);
}

.non-automate {
  margin: 1rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--cyan);
  background: #f2f9f8;
  color: var(--soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.non-automate strong {
  color: var(--navy);
}

.experience {
  padding-block: clamp(5rem, 8vw, 6rem);
  border-top: 1px solid var(--line);
}

.section-framing {
  max-width: 680px;
  margin: 1.25rem 0 3rem;
  color: var(--soft);
  font: 1.08rem / 1.7 var(--serif);
}

.experience-list {
  border-top: 1px solid var(--line);
}

.experience-list article {
  display: grid;
  grid-template-columns: minmax(180px, 0.48fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
}

.experience-list h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  letter-spacing: -0.04em;
}

.experience-list dl {
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  gap: 0.85rem 1.25rem;
  margin: 0;
}

.experience-list dt {
  color: var(--cyan-dark);
  font: 750 0.65rem / 1.55 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.experience-list dd {
  margin: 0;
  color: var(--soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

.lineage-figure {
  margin: 3.5rem 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.lineage-svg {
  width: 100%;
  height: auto;
}

.lineage-svg.diagram-desktop {
  min-width: 860px;
}

.lineage-svg.diagram-mobile {
  min-width: 0;
  width: 100%;
  height: auto;
}

.lineage-figure figcaption {
  min-width: 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font: 0.84rem / 1.6 var(--serif);
}

.failure-table-wrap {
  margin-top: 1.35rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.failure-table-wrap table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.failure-table-wrap caption {
  padding: 1rem 1.1rem;
  color: var(--navy);
  font: 700 0.72rem var(--mono);
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.failure-table-wrap th,
.failure-table-wrap td {
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.55;
}

.failure-table-wrap th {
  color: var(--navy);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.proof-grid article {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: #fff;
}

.proof-grid h3 {
  min-height: 3.2em;
  margin: 0 0 1.35rem;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.proof-grid dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.proof-grid dt {
  color: var(--cyan-dark);
  font: 750 0.61rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-grid dd {
  margin: -0.25rem 0 0;
  color: var(--soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.lab-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.lab-card h2 {
  max-width: 500px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.lab-card > p {
  max-width: 680px;
  margin: 0;
  color: var(--soft);
  font-size: 1.02rem;
  line-height: 1.76;
}

.focus {
  border-top: 1px solid var(--line);
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.focus-grid article {
  min-height: 250px;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--paper);
}

.focus-grid span {
  color: var(--cyan-dark);
  font: 750 0.6875rem var(--mono);
  letter-spacing: 0.1em;
}

.focus-grid h3 {
  margin: 3.3rem 0 0.7rem;
  font-size: 1.68rem;
  letter-spacing: -0.04em;
}

.focus-grid p {
  max-width: 450px;
  margin: 0;
  color: var(--soft);
  line-height: 1.68;
}

.method {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(4rem, 10vw, 10rem);
}

.method h2 {
  font-size: clamp(3rem, 5.3vw, 5.4rem);
}

.method ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 650;
}

.method li span {
  color: var(--cyan-dark);
  font: 0.6875rem var(--mono);
}

.method .plan-phases li {
  grid-template-columns: 58px 1fr;
}

.plan-phases strong,
.plan-phases p,
.plan-phases small {
  grid-column: 2;
}

.plan-phases strong {
  color: var(--navy);
}

.plan-phases p,
.plan-phases small {
  margin: 0.15rem 0 0;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 450;
  line-height: 1.6;
}

.plan-phases small {
  color: var(--cyan-dark);
  font-size: 0.76rem;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(3rem, 9vw, 8rem);
  align-items: end;
  padding: clamp(2.5rem, 6vw, 5.4rem);
  border-radius: 22px;
  background: var(--navy);
  color: #fff;
}

.contact .index {
  color: var(--cyan);
}

.contact h2 {
  font-size: clamp(2.9rem, 5.2vw, 5.4rem);
}

.contact p:not(.index) {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.contact-actions {
  align-items: stretch;
  flex-direction: column;
}

.light {
  background: #fff;
  color: var(--navy);
}

.light:hover,
.light:focus-visible {
  background: var(--lime);
}

.outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

footer {
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links a {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  color: var(--soft);
  font-size: 0.71rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer > p {
  color: var(--soft);
  font: 0.6875rem var(--mono);
}

.not-found-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.not-found {
  width: min(760px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(5rem, 12vw, 10rem);
}

.not-found h1 {
  max-width: 760px;
  font-size: clamp(3.7rem, 9vw, 7.2rem);
}

.not-found > p:not(.eyebrow) {
  max-width: 620px;
  margin: 2rem 0;
  color: var(--soft);
  font-size: 1.06rem;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    padding-block: 1.2rem;
  }

  nav {
    max-width: 360px;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.7rem 1.2rem;
  }

  nav a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-block: 5rem;
  }

  .profile {
    width: min(620px, 100%);
  }

  .intro-grid,
  .method,
  .contact,
  .range-grid,
  .lab-card {
    grid-template-columns: 1fr;
  }

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

  .background-head {
    position: static;
    max-width: 760px;
  }

  .career-chapters {
    display: grid;
    align-items: stretch;
    justify-content: stretch;
    flex-wrap: nowrap;
    gap: 0;
    max-width: 560px;
  }

  .career-chapters a {
    display: grid;
  }

  .section-title {
    grid-template-columns: 1fr;
  }

  .section-intro {
    grid-column: 1;
    margin-top: -1.6rem;
  }

  .production-card-wide,
  .production-card-flow {
    grid-template-columns: 1fr;
  }

  .truth-flow {
    grid-template-columns: 1fr;
  }

  .truth-flow li {
    min-height: 58px;
  }

  .truth-flow li:not(:last-child)::after {
    content: "↓";
    top: calc(100% + 0.25rem);
    left: 50%;
    transform: translateX(-50%);
  }

  .work-card {
    grid-template-columns: 70px 1fr;
  }

  .work-link {
    grid-column: 1 / -1;
    align-items: center;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

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

  .systems-grid article:nth-child(3n + 2),
  .systems-grid article:nth-child(3n + 3) {
    border-left: 0;
  }

  .systems-grid article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .systems-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .proof-grid article + article {
    border-top: 1px solid var(--line);
  }

  .proof-grid h3 {
    min-height: 0;
  }

  .tool-grid article:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tool-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header,
  main > section,
  .stack-rail,
  .not-found,
  footer {
    width: min(calc(100% - 28px), 1180px);
  }

  .experience-list article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .experience-list dl {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .experience-list dd + dt {
    margin-top: 0.6rem;
  }

  .site-header {
    min-height: auto;
    flex-direction: column;
  }

  nav {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0.4rem;
    font-size: 0.72rem;
  }

  nav a {
    flex: 0 0 auto;
  }

  .hero {
    min-height: auto;
    padding-block: 4rem;
  }

  h1 {
    font-size: clamp(3.5rem, 17vw, 5.3rem);
  }

  .actions,
  .actions .button {
    width: 100%;
  }

  .profile {
    border-radius: 14px;
    box-shadow: 10px 12px 0 rgba(76, 190, 197, 0.13);
  }

  .profile-foot {
    flex-direction: column;
  }

  .stack-rail {
    justify-content: flex-start;
    flex-wrap: wrap;
    overflow-x: visible;
    padding-block: 1.25rem;
  }

  .intro,
  .work,
  .production-practice,
  .background,
  .toolkit,
  .range,
  .systems,
  .patterns,
  .proof,
  .lab-card,
  .focus,
  .method {
    padding-block: 5.5rem;
  }

  .production-pair {
    grid-template-columns: 1fr;
  }

  .production-constraints {
    grid-template-columns: 1fr;
  }

  .production-pair picture + picture {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .production-card img {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .production-card figure picture {
    height: auto;
  }

  .intro-grid h2,
  .section-title h2,
  .background-head h2,
  .method h2,
  .contact h2 {
    font-size: clamp(2.75rem, 13vw, 4.2rem);
  }

  .work-card {
    grid-template-columns: 1fr;
  }

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

  .work-main {
    padding: 1.4rem;
  }

  .work-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .background {
    width: 100%;
  }

  .tool-grid,
  .focus-grid,
  .systems-grid,
  .pattern-equivalent {
    grid-template-columns: 1fr;
  }

  .systems-grid article:nth-child(even),
  .systems-grid article:nth-child(3n + 2),
  .systems-grid article:nth-child(3n + 3) {
    border-left: 0;
  }

  .systems-grid article + article {
    border-top: 1px solid var(--line);
  }

  .pattern-card {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .pattern-copy {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .pattern-card figure {
    margin-top: 1.5rem;
  }

  .pattern-svg {
    min-width: 0;
  }

  .pattern-card figcaption {
    min-width: 0;
  }

  .diagram-desktop {
    display: none;
  }

  .diagram-mobile {
    display: block;
  }

  .pattern-equivalent li:nth-child(even) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .compact-evidence {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .evidence-cards { grid-template-columns: 1fr; }
  .evidence-cards article + article { border-top: 1px solid var(--line); border-left: 0; }

  .ai-fluency-copy,
  .ai-equivalent { grid-template-columns: 1fr; }
  .ai-equivalent li:nth-child(even) { border-top: 1px solid var(--line); border-left: 0; }
  .ai-equivalent li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .pattern-equivalent li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .failure-table-wrap {
    overflow: hidden;
  }

  .failure-table-wrap table {
    min-width: 0;
  }

  .failure-table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .failure-table-wrap tbody,
  .failure-table-wrap tr,
  .failure-table-wrap td {
    display: block;
    width: 100%;
  }

  .failure-table-wrap tr {
    padding: 0.9rem 1rem;
    border-top: 1px solid var(--line);
  }

  .failure-table-wrap td {
    padding: 0;
    border: 0;
    overflow-wrap: anywhere;
  }

  .failure-table-wrap td:first-child {
    margin-bottom: 0.3rem;
    color: var(--navy);
    font-weight: 760;
  }

  .career-strengths {
    margin-bottom: 1.4rem;
  }

  .career-strengths li {
    padding: 0.75rem 0.65rem;
  }

  .career-layout {
    gap: 3rem;
  }

  .career-chapters {
    width: auto;
    max-width: 100%;
    overflow-x: visible;
    padding-bottom: 0;
    font-size: inherit;
  }

  .career-chapters a {
    grid-template-columns: 28px minmax(0, 1fr);
    flex: initial;
  }

  .career-chapters a > span {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .career-chapters small {
    grid-column: 2;
  }

  .career-timeline::before {
    left: 5px;
  }

  .career-entry {
    padding: 0 0 1.3rem 2rem;
  }

  .career-era {
    padding-left: 2rem;
  }

  .career-node {
    left: -2px;
  }

  .career-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .role-progression section {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .career-entry-early summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-action {
    width: 100%;
    justify-content: space-between;
  }

  .early-career-grid {
    grid-template-columns: 1fr;
  }

  .early-career-grid article:nth-child(even) {
    border-left: 0;
  }

  .early-career-grid article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tool-grid article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tool-grid article {
    min-height: 280px;
  }

  .contact {
    width: 100%;
    border-radius: 0;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-links a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  footer > p {
    font-size: 0.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
