:root {
  color-scheme: light;
  --paper: #f6f7f5;
  --white: #ffffff;
  --ink: #20242a;
  --muted: #626871;
  --green: #24577a;
  --green-hover: #173e5a;
  --line: #d8dce0;
  --case: #202832;
  --accent: #a04431;
  --soft-blue: #e9eff3;
  --content: 1120px;
}
* {
  box-sizing: border-box;
  letter-spacing: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "IBM Plex Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body,
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  line-height: 1.2;
  text-wrap: balance;
}
h2 {
  font-size: 24px;
}
h3 {
  font-size: 19px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button,
a {
  transition:
    color 160ms ease,
    background-color 160ms ease;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
  border-radius: 2px;
}
::selection {
  color: var(--ink);
  background: #d8e7f0;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--content), calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 16px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.icon {
  display: inline-block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
  vertical-align: middle;
}
.icon-arrow-up-right {
  --icon: url("assets/icons/arrow-up-right.svg");
}
.icon-arrow-down {
  --icon: url("assets/icons/arrow-down.svg");
}
.icon-arrow-up {
  --icon: url("assets/icons/arrow-up.svg");
}
.icon-arrow-right {
  --icon: url("assets/icons/arrow-right.svg");
}
.icon-chevron-down {
  --icon: url("assets/icons/chevron-down.svg");
}
.icon-menu {
  --icon: url("assets/icons/menu.svg");
}
.icon-github {
  --icon: url("assets/icons/github.svg");
}
.icon-linkedin {
  --icon: url("assets/icons/linkedin.svg");
}
.icon-server {
  --icon: url("assets/icons/server.svg");
}
.icon-workflow {
  --icon: url("assets/icons/workflow.svg");
}
.icon-brain {
  --icon: url("assets/icons/brain-circuit.svg");
}
.icon-database {
  --icon: url("assets/icons/database.svg");
}
.icon-blocks {
  --icon: url("assets/icons/blocks.svg");
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246, 247, 245, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.brand-mark {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--muted);
}
.site-nav a:hover,
.site-nav a[aria-current="location"] {
  color: var(--green);
}
.site-nav .nav-contact {
  color: var(--ink);
  margin-left: 12px;
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
}
.hero {
  padding-top: 72px;
}
.eyebrow {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
}
.hero h1 {
  margin-top: 27px;
  max-width: 900px;
  font-size: 68px;
  line-height: 1.04;
  font-weight: 600;
}
.name-period {
  color: var(--accent);
}
.hero-role {
  margin-top: 25px;
  font-size: 19px;
  font-weight: 450;
}
.hero-role-primary,
.hero-role-focus {
  display: inline-block;
  white-space: nowrap;
}
.role-separator {
  color: #77847c;
  margin-inline: 12px;
}
.hero-description {
  max-width: 590px;
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}
.button-primary {
  background: var(--green);
  color: var(--white);
}
.button-primary:hover {
  background: var(--green-hover);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.text-link:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-bottom: 27px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.hero-footnote a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
}
.section {
  padding-block: 76px;
}
.section-split {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
}
.section-label {
  display: flex;
  align-items: baseline;
  gap: 17px;
}
.section-number {
  flex-shrink: 0;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
.section-label h2,
.section-label > p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.section-heading {
  margin-bottom: 35px;
}
.heading-with-note {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}
.heading-with-note > p {
  color: var(--muted);
  font-size: 13px;
}
.about-copy {
  max-width: 720px;
}
.about-copy .lead {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.5;
}
.lead strong {
  font-weight: 550;
}
.about-copy p + p {
  margin-top: 18px;
}
.about-copy > p {
  color: var(--muted);
}
.section-skills {
  padding-top: 24px;
  border-bottom: 1px solid var(--line);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}
.skill-group > .icon {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
  color: var(--accent);
}
.skill-group h3 {
  font-size: 15px;
  margin-bottom: 12px;
}
.skill-group ul {
  list-style: none;
  padding: 0;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}
.section-projects {
  padding-bottom: 82px;
}
.project {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  padding-block: 48px;
  border-top: 1px solid var(--line);
}
.project:last-child {
  border-bottom: 1px solid var(--line);
}
.project-index {
  padding-top: 5px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
.project-category {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 13px;
}
.project h3,
.project h4 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 16px;
}
.project-description {
  max-width: 430px;
  color: var(--muted);
  font-size: 16px;
}
.project-stack {
  margin-top: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  line-height: 1.8;
}
.project-detail {
  padding-top: 33px;
}
.project-preview {
  display: block;
  grid-column: 2 / -1;
  margin-top: 4px;
  aspect-ratio: 16 / 7.5;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--soft-blue);
  overflow: hidden;
}
.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: saturate(0.82) contrast(1.03);
  transition: filter 180ms ease;
}
.project-preview:hover img {
  filter: saturate(1) contrast(1.03);
}
.project-problem {
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--ink);
}
.other-projects {
  margin-top: 54px;
}
.other-projects > h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}
.project-points {
  padding-left: 17px;
  color: var(--muted);
  font-size: 14px;
}
.project-points li {
  padding-left: 5px;
}
.project-points li + li {
  margin-top: 9px;
}
.project-points li::marker {
  color: var(--accent);
}
.project-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 23px;
}
.project-links .text-link {
  color: var(--green);
}
.case-band {
  background: var(--case);
  color: #f5f7f8;
}
.case-band .section-number,
.case-band .step-number,
.case-band .pipeline .icon {
  color: #e59a83;
}
.case-band .section-label > p,
.case-band .case-intro > p,
.case-band .case-context p,
.case-band .case-outcome p,
.case-band .pipeline li > span:not(.icon):not(.step-number),
.case-band .component-count,
.case-band .components-intro,
.case-band .case-components dd {
  color: #bfc7cd;
}
.case-band .pipeline,
.case-band .case-components {
  border-color: #48525c;
}
.case-band .case-components a {
  color: #9fc7de;
}
.case-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-top: 34px;
}
.case-intro h2 {
  font-size: 42px;
  line-height: 1.18;
}
.case-intro > p {
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.case-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 43px;
}
.case-context h3,
.architecture h3,
.case-outcome h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.case-context p,
.case-outcome p {
  font-size: 14px;
  color: var(--muted);
}
.architecture {
  margin-top: 35px;
}
.pipeline {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-block: 1px solid var(--line);
}
.pipeline li {
  position: relative;
  padding: 23px 26px 23px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-number {
  color: var(--accent);
  font:
    11px ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  margin-bottom: 5px;
}
.pipeline strong {
  font-size: 15px;
  font-weight: 550;
}
.pipeline li > span:not(.icon):not(.step-number) {
  color: var(--muted);
  font-size: 12px;
}
.pipeline .icon {
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--accent);
}
.case-outcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 30px;
}
.case-components {
  margin-top: 30px;
  border-block: 1px solid var(--line);
}
.case-components summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  min-height: 66px;
  padding-block: 15px;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  list-style: none;
}
.case-components summary::-webkit-details-marker {
  display: none;
}
.component-count {
  margin-left: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.case-components[open] summary > .icon {
  transform: rotate(180deg);
}
.components-intro {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 15px;
}
.case-components dl {
  padding-bottom: 20px;
}
.case-components dl > div {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding-block: 6px;
}
.case-components dt {
  min-width: 0;
}
.case-components a {
  color: var(--green);
  overflow-wrap: anywhere;
}
.case-components dd {
  color: var(--muted);
  font-size: 13px;
}
.experience-list article + article {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 26px;
}
.experience-list h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.experience-list p {
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
}
.experience-list article > span {
  display: block;
  color: var(--accent);
  font-size: 12px;
  margin-top: 14px;
}
#github {
  border-top: 1px solid var(--line);
}
.github-profile {
  display: flex;
  align-items: center;
  gap: 18px;
}
.github-profile img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}
.github-profile .text-link {
  min-height: 28px;
  font-size: 16px;
}
.github-profile p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.github-activity {
  margin-top: 25px;
  margin-bottom: 17px;
}
.github-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.github-row:last-child {
  border-bottom: 1px solid var(--line);
}
.github-row .text-link {
  min-height: 32px;
  font-size: 13px;
}
.github-row time {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.github-status {
  color: var(--muted);
  font-size: 12px;
}
.github-status:not(:empty) {
  margin-bottom: 12px;
}
.contact-band {
  background: var(--soft-blue);
}
.contact-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.contact-layout h2 {
  font-size: 42px;
  margin-block: 25px 15px;
}
.contact-layout > div > p {
  max-width: 450px;
  font-size: 15px;
  color: var(--muted);
}
.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer > div {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-footer .text-link {
  font-size: 12px;
}
@media (min-width: 1600px) {
  :root {
    --content: 1200px;
  }
  .hero {
    padding-top: 92px;
  }
  .hero h1 {
    font-size: 80px;
  }
  .hero-footnote {
    margin-top: 76px;
  }
  .section {
    padding-block: 88px;
  }
  .section-skills {
    padding-top: 24px;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 64px);
  }
  .site-nav {
    gap: 20px;
  }
  .site-nav .nav-contact {
    margin-left: 0;
  }
  .section-split {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 35px;
  }
  .skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .project {
    grid-template-columns: 28px 1fr 1fr;
    gap: 20px;
  }
  .case-intro {
    gap: 35px;
  }
  .case-intro h2 {
    font-size: 36px;
  }
  .case-context,
  .case-outcome {
    gap: 35px;
  }
  .contact-layout h2 {
    font-size: 36px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 0;
  }
  .brand {
    font-size: 13px;
    gap: 10px;
  }
  .brand-mark {
    font-size: 26px;
  }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
  }
  .site-nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    padding: 12px 0 20px;
    column-gap: 20px;
    row-gap: 2px;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav[data-open="true"] {
    display: flex;
  }
  .menu-toggle[aria-expanded="true"] .icon {
    --icon: url("assets/icons/x.svg");
  }
  .hero {
    padding-top: 52px;
  }
  .hero h1 {
    font-size: 48px;
    line-height: 1.12;
    margin-top: 21px;
  }
  .hero-role {
    font-size: 15px;
    margin-top: 25px;
  }
  .hero-role-primary {
    display: block;
    margin-bottom: 3px;
  }
  .hero-role-divider {
    display: none;
  }
  .role-separator {
    margin-inline: 6px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 470px;
    margin-top: 16px;
  }
  .hero-actions {
    gap: 19px;
    flex-wrap: wrap;
    margin-top: 26px;
  }
  .hero-actions .button {
    padding-inline: 15px;
  }
  .hero-actions .text-link {
    gap: 5px;
    font-size: 13px;
  }
  .hero-actions .icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
  .hero-footnote {
    margin-top: 38px;
    padding-bottom: 17px;
  }
  .section {
    padding-block: 52px;
  }
  .section-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .about-copy .lead {
    font-size: 22px;
  }
  .about-copy > p {
    font-size: 15px;
  }
  .section-skills {
    padding-top: 10px;
  }
  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
  .heading-with-note {
    flex-direction: column;
    gap: 9px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .project {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
    padding-block: 28px;
  }
  .project h3,
  .project h4 {
    font-size: 25px;
  }
  .project-detail {
    grid-column: 2;
    padding-top: 0;
  }
  .project-preview {
    grid-column: 2;
    margin-top: 2px;
    aspect-ratio: auto;
  }
  .project-preview img {
    height: auto;
  }
  .project-stack {
    margin-top: 16px;
  }
  .project-links {
    margin-top: 17px;
  }
  .case-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .case-intro h2 {
    font-size: 34px;
  }
  .case-context,
  .case-outcome {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }
  .pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 15px;
  }
  .pipeline li {
    min-height: 136px;
    padding-right: 18px;
  }
  .pipeline li:nth-child(-n + 2) {
    border-bottom: 1px solid #48525c;
  }
  .pipeline .icon {
    display: none;
  }
  .component-count {
    display: block;
    margin-left: 0;
    margin-top: 3px;
  }
  .case-components dl > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 10px;
  }
  .case-components dl > div + div {
    border-top: 1px solid #48525c;
  }
  .github-profile {
    align-items: flex-start;
    gap: 13px;
  }
  .github-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .github-row .text-link {
    min-height: 38px;
  }
  .contact-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 27px;
  }
  .contact-layout h2 {
    font-size: 34px;
  }
  .contact-links {
    align-items: flex-start;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-block: 22px;
  }
  .site-footer > div {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }
}
@media (max-width: 359px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero-actions {
    gap: 12px;
  }
  .hero-role {
    font-size: 13px;
  }
  .case-intro h2,
  .contact-layout h2 {
    font-size: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
