:root {
  --paper: #101112;
  --panel: #191b1d;
  --raised: #202225;
  --line: #34373b;
  --ink: #f1f0ec;
  --slate: #b4b5b6;
  --muted: #969b9e;
  --accent: #c6d6c4;
  --display: "Manrope", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input {
  font: inherit;
}
a,
button,
input {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
a:hover {
  color: var(--accent);
}
button {
  cursor: pointer;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h3 {
  line-height: 1.4;
}
.wrap {
  width: min(1200px, 100%);
  margin: auto;
  padding-inline: 48px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 12px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
/* Quiet navigation, a typographic introduction. */
.statusbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(16, 17, 18, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: var(--muted);
  padding: 0 8px;
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
}
nav a:last-child {
  color: var(--ink);
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: end;
  padding: 94px 0 76px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-rule {
  width: 32px;
  height: 1px;
  background: var(--line);
  display: inline-block;
}
.hero h1 {
  font-size: clamp(66px, 7.5vw, 104px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.03;
  margin: 0;
}
.hero h1 > span {
  color: var(--muted);
}
.hero-copy {
  padding-bottom: 5px;
}
.availability {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 29px;
}
.dot {
  display: inline-block;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.lede {
  font-size: 20px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--slate);
  max-width: 39ch;
  margin-bottom: 18px;
}
.lede strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-detail {
  font-size: 12px;
  color: var(--slate);
  line-height: 1.9;
  margin-bottom: 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 19px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 19px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.18s,
    transform 0.18s;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn.secondary:hover {
  background: var(--raised);
  border-color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--slate);
  font-size: 11px;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.credentials-strip {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0;
  align-items: center;
  margin-bottom: 34px;
  gap: 32px;
}
.credentials-strip > div,
.credentials-strip > a {
  min-height: 57px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}
.credentials-strip > a,
.credentials-strip > div:last-child {
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
.credentials-strip strong {
  font-size: 19px;
  letter-spacing: -0.04em;
  font-weight: 500;
}
.credentials-strip span {
  font-size: 11px;
  color: var(--slate);
  display: block;
}
.credentials-strip .experience-stat {
  flex-direction: row;
  justify-content: flex-start;
  gap: 17px;
  align-items: center;
}
.experience-stat strong {
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.07em;
}
.experience-stat strong span {
  display: inline;
  font-size: 35px;
  color: var(--accent);
  vertical-align: top;
}
.credentials-strip a strong span {
  display: inline;
  font-size: 18px;
  margin-left: 12px;
}
.credentials-strip a:hover strong {
  color: var(--accent);
}
/* The work, with space for the details. */
.block {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head h2,
.ask-intro h2 {
  font-weight: 500;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -0.055em;
  margin: 0;
}
.heading-dot {
  color: var(--accent);
}
.section-head > p {
  font-size: 11px;
  color: var(--slate);
  margin: 0 0 5px;
}
.tl-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.tl-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate);
  padding-top: 5px;
}
.project-end {
  font-family: var(--display);
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
}
.tl-role {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
}
.tl-co {
  font-size: 12px;
  color: var(--ink);
  margin: 0 0 18px;
}
.tl-co span {
  color: var(--muted);
}
.tl-desc {
  padding-left: 16px;
  margin: 0;
  color: var(--slate);
  font-size: 12px;
  line-height: 1.9;
  max-width: 75ch;
}
.tl-desc li {
  padding-left: 6px;
  margin-bottom: 9px;
}
.tl-desc li:last-child {
  margin-bottom: 0;
}
.tl-desc li::marker {
  color: #747d75;
}
/* Links make each skill an entry point. */
.skills-layout {
  display: grid;
  gap: 30px;
}
.skill-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.skill-group h3,
.learning h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
  margin: 8px 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  padding: 8px 13px;
  font-size: 11px;
  text-decoration: none;
  color: var(--slate);
  background: transparent;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.chip::after {
  content: "↗";
  color: var(--muted);
}
.chip:hover {
  background: var(--raised);
  border-color: var(--muted);
  color: var(--ink);
}
.learning {
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}
.learning > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.learning h3 {
  color: var(--accent);
}
.learning .chip {
  justify-self: start;
  color: var(--accent);
  border-color: #505c50;
}
.training-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.training-list > li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 21px 0;
}
.training-list > li:first-child {
  border-top: 0;
  padding-top: 0;
}
.training-list h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.training-list p {
  font-size: 11px;
  color: var(--slate);
  margin: 0;
}
.training-list a {
  text-decoration-color: #5e635f;
}
.training-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 3px;
}
.training-list .training-note {
  color: var(--muted);
  max-width: 65ch;
  margin-top: 8px;
}
.section-note {
  font-size: 11px;
  line-height: 1.8;
  color: var(--slate);
  margin: 15px 0 25px;
  max-width: 70ch;
}
.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
}
.certificate {
  text-decoration: none;
  min-width: 0;
}
.certificate-image {
  height: 210px;
  padding: 18px;
  background: var(--raised);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.certificate img {
  display: block;
  max-width: 100%;
  height: 100%;
  width: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.certificate:hover .certificate-image {
  background: #2a2e2b;
  border-color: var(--muted);
}
.certificate:hover img {
  transform: translateY(-3px);
}
.certificate-caption {
  position: relative;
  padding: 15px 24px 0 0;
}
.certificate h3 {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 4px;
}
.certificate p {
  font-family: var(--mono);
  color: var(--muted);
  font-size: 9px;
  margin: 0;
}
.certificate-caption > span {
  position: absolute;
  top: 13px;
  right: 1px;
  font-size: 16px;
  color: var(--muted);
}
.education-list article {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.education-list article:first-child {
  padding-top: 0;
  border-top: 0;
}
.ed-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 3px;
}
.education-list h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 7px;
}
.education-list p {
  font-size: 12px;
  color: var(--slate);
  margin: 0;
}
.education-list a {
  text-decoration-color: #555b57;
}
.languages {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 20px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--slate);
}
.languages > span:first-child {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  margin-right: auto;
}
.separator {
  color: var(--muted);
}
/* A grounded assistant, and a direct way to reach a person. */
.ask-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 65px;
  align-items: start;
  padding-block: 76px;
}
.ask-intro .eyebrow {
  font-size: 9px;
  margin-bottom: 22px;
}
.ask-intro h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.ask-intro > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.95;
  color: var(--slate);
  max-width: 39ch;
}
.ask-intro a {
  text-decoration-color: #616c62;
}
.kb-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  min-width: 0;
}
.kb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 22px;
  border-bottom: 1px solid var(--line);
}
.assistant-mark {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #5a635a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--accent);
}
.kb-head h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 2px;
}
.kb-head p {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0;
}
.kb-body {
  padding: 24px 22px;
  min-height: 130px;
  max-height: 360px;
  overflow: auto;
  overscroll-behavior: contain;
}
.kb-empty {
  font-size: 14px;
  color: var(--slate);
  padding-top: 16px;
}
.kb-msg {
  font-size: 12px;
  line-height: 1.85;
  white-space: pre-wrap;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  max-width: 96%;
}
.kb-msg.user {
  margin-left: auto;
  background: #303630;
  border: 1px solid #414a41;
  padding: 10px 14px;
}
.kb-msg.bot {
  color: var(--slate);
  padding: 5px 0;
}
.kb-msg a {
  color: var(--ink);
}
.kb-suggest {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 0 22px 20px;
}
.kb-suggest button {
  font-size: 9px;
  color: var(--slate);
  background: transparent;
  padding: 7px 9px;
  border: 1px solid var(--line);
}
.kb-suggest button:hover {
  background: var(--raised);
  color: var(--ink);
  border-color: var(--muted);
}
.kb-input-row {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 15px;
}
.kb-input-row input {
  width: 0;
  flex: 1;
  min-width: 0;
  color: var(--ink);
  border: 0;
  background: var(--paper);
  font-size: 11px;
  padding: 12px;
}
.kb-input-row input::placeholder {
  color: var(--muted);
}
.kb-input-row button {
  font-size: 11px;
  font-weight: 600;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.kb-input-row button:hover {
  background: var(--accent);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.kb-disclaimer {
  font-size: 8px;
  color: var(--muted);
  padding: 0 16px 12px;
  margin: 0;
}
.kb-loading {
  animation: breathe 1.4s ease-in-out infinite;
}
.contact-block {
  padding: 80px 0 65px;
}
.contact-block .eyebrow {
  margin-bottom: 15px;
}
.contact-block h2 {
  font-size: clamp(46px, 6.5vw, 78px);
  letter-spacing: -0.065em;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 27px;
}
.contact-block > a {
  font-size: clamp(15px, 2.5vw, 27px);
  text-decoration: none;
  letter-spacing: -0.035em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}
.contact-block > a span {
  margin-left: 22px;
  color: var(--accent);
}
.contact-block > p:last-child {
  color: var(--muted);
  font-size: 11px;
  margin: 22px 0 0;
}
footer.wrap {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 25px;
  padding-bottom: 35px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}
footer a {
  text-decoration: none;
}
footer > div:first-child {
  margin-right: auto;
}
@keyframes breathe {
  50% {
    opacity: 0.45;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-intro {
    animation: enter 0.65s both;
  }
  .hero-copy {
    animation: enter 0.65s 0.1s both;
  }
  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (min-width: 1400px) {
  .hero {
    padding-block: 110px 90px;
  }
  .hero h1 {
    font-size: 110px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    padding-inline: 32px;
  }
  .hero {
    gap: 35px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .lede {
    font-size: 17px;
  }
  .tl-item,
  .skill-group,
  .learning,
  .education-list article {
    grid-template-columns: 170px 1fr;
    gap: 26px;
  }
  .ask-section {
    gap: 35px;
  }
  .section-head h2 {
    font-size: 35px;
  }
  .credentials-strip {
    gap: 20px;
  }
  .credentials-strip > a,
  .credentials-strip > div:last-child {
    padding-left: 22px;
  }
  .credentials-strip strong {
    font-size: 16px;
  }
  .credentials-strip .experience-stat strong {
    font-size: 52px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding-inline: 24px;
  }
  .header-inner {
    min-height: 74px;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 17px;
  }
  nav {
    gap: 18px;
  }
  nav a {
    font-size: 10px;
  }
  .brand {
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 55px 0 40px;
    gap: 36px;
  }
  .hero h1 {
    font-size: clamp(70px, 15vw, 102px);
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 25px;
  }
  .hero-copy {
    max-width: 520px;
  }
  .lede {
    font-size: 19px;
    max-width: 43ch;
  }
  .availability {
    margin-bottom: 18px;
  }
  .credentials-strip {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-block: 23px;
    margin-bottom: 12px;
  }
  .credentials-strip .experience-stat {
    grid-column: 1/-1;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
  }
  .credentials-strip > a {
    padding: 0;
    border: 0;
  }
  .credentials-strip > div:last-child {
    padding-left: 20px;
  }
  .block {
    padding-block: 45px;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: 34px;
  }
  .tl-item {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 26px;
  }
  .tl-date {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 0;
  }
  .project-end {
    margin: 0;
  }
  .tl-role {
    font-size: 17px;
  }
  .tl-desc {
    font-size: 12px;
    max-width: none;
  }
  .tl-co span {
    display: block;
    margin-top: 4px;
  }
  .skill-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .skills-layout {
    gap: 25px;
  }
  .learning {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 25px;
  }
  .learning h3 {
    margin: 0;
  }
  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }
  .certificate-image {
    height: 200px;
    padding: 12px;
  }
  .education-list article {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }
  .ask-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .ask-intro > p:not(.eyebrow) {
    max-width: 55ch;
  }
  .ask-intro h2 {
    font-size: 34px;
  }
  .contact-block {
    padding-block: 55px;
  }
  footer.wrap {
    gap: 18px;
    flex-wrap: wrap;
  }
  footer > div:first-child {
    flex-basis: 65%;
    margin-right: 0;
  }
}
@media (max-width: 420px) {
  .wrap {
    padding-inline: 20px;
  }
  .header-inner {
    gap: 13px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .hero h1 {
    font-size: 70px;
  }
  .credentials-strip strong {
    font-size: 14px;
  }
  .credentials-strip span {
    font-size: 10px;
  }
  .certificate-image {
    height: 170px;
    padding: 10px;
  }
  .training-date {
    font-size: 9px;
  }
  .training-list h3 {
    font-size: 12px;
  }
  .training-list > li {
    gap: 10px;
  }
  .btn {
    gap: 12px;
    padding: 12px 14px;
    font-size: 11px;
  }
  .kb-suggest {
    padding-inline: 15px;
  }
  .kb-head,
  .kb-body {
    padding-inline: 16px;
  }
  .contact-block > a span {
    margin-left: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Language switch (top right) */
.header-inner nav { margin-left: auto; order: 2; }
.lang-switch { display: flex; order: 3; border: 1px solid var(--line); }
.lang-switch button { font: 500 11px var(--mono); letter-spacing: 0.06em; color: var(--slate); background: none; border: 0; padding: 7px 10px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--paper); }
.lang-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 420px) {
  .lang-switch { order: 2; margin-left: auto; }
  .header-inner nav { order: 3; margin-left: 0; }
}
