:root {
  --forest: #092b25;
  --forest2: #123b31;
  --ink: #182a24;
  --paper: #f7f7ef;
  --mint: #b8dfaa;
  --muted: #606c61;
  --line: #d8ddcf;
  --side: 248px;
  --sans: "Helvetica Neue", Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #6b9460;
  outline-offset: 5px;
}
button[hidden],
[hidden] {
  display: none !important;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
p {
  line-height: 1.7;
}
em {
  font-style: normal;
}
h2 {
  font-size: clamp(28px, 3.3vw, 46px);
  letter-spacing: -1.8px;
  line-height: 1.07;
  font-weight: 600;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 400;
  display: flex;
  gap: 13px;
  line-height: 1.5;
}
.skip {
  position: fixed;
  top: -90px;
  left: 20px;
  padding: 16px;
  background: var(--mint);
  color: var(--forest);
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--side);
  background: var(--forest);
  color: var(--paper);
  padding: 28px 27px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.brand {
  font-size: 28px;
  letter-spacing: -2px;
  font-weight: 700;
  line-height: 1;
}
.languages {
  display: flex;
  gap: 2px;
  font-family: var(--mono);
  font-size: 10px;
  background: #173e33;
  padding: 3px;
}
.languages button {
  padding: 6px 7px;
  color: #bdd0bb;
  font-size: 9px;
}
.languages button[aria-pressed="true"] {
  background: var(--mint);
  color: var(--forest);
}
.profile {
  position: relative;
  margin-top: 42px;
}
.profile img {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  object-position: 50% 41%;
  border-radius: 2px;
}
.profile p {
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  font-weight: 500;
  margin-top: 21px;
}
.profile-title {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.8px;
  color: #b9cbb6;
  margin-top: 10px;
}
.side-nav {
  margin: 31px -10px 20px;
}
.side-nav a {
  display: grid;
  grid-template-columns: 24px 1fr 15px;
  gap: 8px;
  padding: 13px 10px;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid #2b4a3f;
  color: #ced8c8;
  transition: background 0.2s;
}
.side-nav a:first-child {
  border-top: 1px solid #2b4a3f;
}
.side-nav a > span:first-child {
  font-family: var(--mono);
  font-size: 8px;
  color: #88a282;
}
.side-nav a > span:last-child {
  font-size: 16px;
  opacity: 0.5;
}
.side-nav a:hover,
.side-nav a.is-active {
  background: var(--mint);
  color: var(--forest);
}
.side-nav a.is-active > span,
.side-nav a:hover > span {
  color: inherit;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 24px;
}
.status-dot {
  display: inline-block;
  background: var(--mint);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #b8dfaa10;
}
.sidebar-bottom p {
  font-size: 12px;
  line-height: 1.4;
  margin: 12px 0;
}
.side-location {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  color: #9eb196;
  letter-spacing: 0.6px;
}
.sidebar-cv {
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid #5a7356;
  font-size: 11px;
}
.side-socials {
  display: flex;
  gap: 23px;
  margin-top: 17px;
  font-size: 10px;
  color: #bdcbb5;
}
.menu-toggle {
  display: none;
}
.main-shell {
  margin-left: var(--side);
  padding: 0 52px;
  max-width: 1600px;
}
.intro {
  padding: 25px 0 0;
}
.intro-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--line);
  color: #69745f;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 34px;
  padding-block: 42px 37px;
  align-items: end;
}
.intro-grid .eyebrow {
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #667b5a;
}
.intro h1 {
  font-size: clamp(46px, 5.5vw, 82px);
  font-weight: 650;
  letter-spacing: -4.4px;
  line-height: 1.03;
  margin-top: 19px;
  position: relative;
  max-width: 690px;
}
.outline-word {
  color: #52734b;
}
.intro-note {
  max-width: 280px;
  padding-bottom: 5px;
}
.note-mark {
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: -1px;
  color: #6c895c;
}
.intro-note p {
  font-size: 12px;
  line-height: 1.8;
  margin: 14px 0;
}
.text-link {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  line-height: 1.4;
  border-bottom: 1px solid #8e9b83;
  padding: 8px 0;
}
.text-link > span:last-child {
  font-size: 18px;
}
.intro-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.6px;
  color: #6b7962;
}
.work-section {
  padding-top: 43px;
  scroll-margin-top: 25px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
}
.section-heading h2 {
  margin-top: 14px;
}
.small-dot {
  color: #81a16d;
}
.repo-link {
  font-family: var(--mono);
  font-size: 9px;
  border-bottom: 1px solid #abb7a1;
  padding-bottom: 7px;
}
.work-intro {
  font-size: 12px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.8;
  margin: 20px 0 24px;
}
.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filters button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 9px;
  line-height: 1.3;
  color: #5b6d51;
}
.filters button[aria-pressed="true"] {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--paper);
}
.filters button:hover {
  border-color: var(--forest);
}
#project-count {
  font: 9px var(--mono);
  color: #6f7e64;
  white-space: nowrap;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.dashboard-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: #fffefa;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.dashboard-card:hover {
  border-color: #809675;
  transform: translateY(-3px);
}
.dashboard-preview {
  display: block;
  width: 100%;
  padding: 0 16px 16px;
  position: relative;
  background: #e8eddf;
  overflow: hidden;
  text-align: left;
}
.preview-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 7px var(--mono);
  letter-spacing: 0.8px;
  padding: 16px 1px;
  color: #637559;
}
.dashboard-preview img {
  width: 100%;
  aspect-ratio: 1.77;
  object-fit: contain;
  background: white;
  border: 1px solid #d0d5c9;
  box-shadow: 0 5px 16px #16371d10;
  transition: transform 0.25s;
}
.dashboard-preview:hover img {
  transform: scale(1.025);
}
.zoom-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--forest);
  color: var(--paper);
  font-size: 9px;
  line-height: 1.2;
  padding: 8px 11px;
  border-radius: 3px;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.dashboard-preview:hover .zoom-badge,
.dashboard-preview:focus-visible .zoom-badge {
  opacity: 1;
  transform: none;
}
.dashboard-info {
  padding: 21px;
}
.card-title {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.card-title h3 {
  font-size: 20px;
  letter-spacing: -0.7px;
  font-weight: 500;
  line-height: 1.2;
}
.card-title > span {
  font-size: 20px;
  color: #728e65;
}
.dashboard-info > p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  margin: 14px 0 22px;
  min-height: 40px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 9px;
}
.tool-label {
  border-radius: 20px;
  padding: 5px 8px;
  background: #e8eddf;
  font: 8px var(--mono);
}
.card-bottom a:hover {
  text-decoration: underline;
}
.project-directory {
  margin-top: 25px;
}
.directory-row {
  display: grid;
  grid-template-columns: 32px 1fr 126px 24px;
  align-items: center;
  gap: 18px;
  padding: 22px 10px;
  border-top: 1px solid var(--line);
  transition: background 0.2s;
}
.directory-row:last-child {
  border-bottom: 1px solid var(--line);
}
.directory-row:hover {
  background: #e9eddf;
}
.directory-index {
  font: 9px var(--mono);
  color: #8a9780;
  align-self: start;
  padding-top: 4px;
}
.directory-row h3 {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.35px;
}
.directory-row p {
  font-size: 11px;
  color: #6a7662;
  line-height: 1.7;
  margin-top: 6px;
  max-width: 620px;
}
.directory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}
.directory-tags span {
  font: 8px var(--mono);
  color: #5d7252;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 5px 6px;
}
.directory-arrow {
  font-size: 23px;
  color: #52724b;
}
.additional-work {
  display: flex;
  gap: 25px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px dashed #c6cfbc;
  padding: 22px 0;
  margin-top: 28px;
  font-size: 10px;
}
.additional-work > span {
  font: 8px var(--mono);
  color: #7c8972;
  margin-right: 10px;
}
.additional-work a:hover {
  text-decoration: underline;
}
.section {
  padding-block: 55px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}
.about-grid h2 {
  margin-top: 20px;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1.7px;
}
.about-grid h2 em {
  color: #52734b;
}
.about-copy > p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 17px;
}
.about-copy > .lead {
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.4px;
}
.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 24px;
  font-size: 10px;
}
.language-list small {
  display: block;
  color: #79866e;
  font-size: 8px;
  margin-top: 7px;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 38px;
}
.skill-block {
  border: 1px solid var(--line);
  padding: 23px;
  background: #edf0e4;
  border-radius: 4px;
}
.skill-index {
  font: 9px var(--mono);
  color: #738a62;
}
.skill-block h3 {
  font-size: 16px;
  font-weight: 500;
  margin-top: 15px;
  letter-spacing: -0.3px;
}
.skill-block p {
  font-size: 10px;
  margin-top: 10px;
  color: var(--muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.tags > span {
  border: 1px solid #c7d0bd;
  padding: 6px 7px;
  font-size: 9px;
  color: #56714a;
  border-radius: 3px;
  background: #f7f7ef;
}
.experience-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}
.experience-heading h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 20px 0;
  letter-spacing: -1.5px;
}
.experience-heading h2 em {
  color: #52734b;
}
.experience-heading > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  max-width: 280px;
}
.experience-heading .text-link {
  margin-top: 18px;
}
.timeline details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.timeline details:first-child {
  padding-top: 0;
  border-top: 0;
}
.timeline details:last-child {
  border-bottom: 1px solid var(--line);
}
.timeline summary {
  list-style: none;
  cursor: pointer;
}
.timeline summary::-webkit-details-marker {
  display: none;
}
.timeline-date {
  font: 8px var(--mono);
  letter-spacing: 0.5px;
  color: #759065;
}
.role-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 500;
  margin-top: 12px;
  letter-spacing: -0.4px;
}
.expand {
  color: #759366;
  font-size: 20px;
  transition: transform 0.2s;
}
.timeline details[open] .expand {
  transform: rotate(45deg);
}
.company {
  font-size: 10px;
  color: #708062;
  display: block;
  margin-top: 7px;
}
.role-body {
  font-size: 11px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.85;
}
.role-body ul {
  padding-left: 16px;
  margin-bottom: 0;
}
.role-body li {
  padding-left: 3px;
  margin: 7px 0;
}
.certificate-feature {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 35px;
  align-items: center;
  margin-bottom: 50px;
  background: #e9eddf;
  border: 1px solid #d0dbc4;
  border-radius: 5px;
  padding: 25px;
}
.certificate-feature > .certificate-preview {
  position: relative;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 10px;
}
.certificate-feature img {
  border: 1px solid #d2d8c8;
  width: 100%;
  margin-bottom: 5px;
}
.certificate-feature > div h3 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 20px 0 17px;
}
.certificate-feature > div p {
  font-size: 11px;
  color: #63735a;
  margin-top: 8px;
}
.education-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}
.education-grid h2 {
  font-size: 34px;
  margin-top: 20px;
  letter-spacing: -1.2px;
}
.education-list > div {
  position: relative;
  padding: 18px 60px 18px 0;
  border-top: 1px solid var(--line);
}
.education-list > div:first-child {
  padding-top: 0;
  border: 0;
}
.education-list > div:first-child .education-year {
  top: 4px;
}
.education-list h3 {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.education-list p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.education-year {
  position: absolute;
  right: 0;
  top: 23px;
  font: 9px var(--mono);
  color: #718b62;
}
.contact-section {
  background: var(--forest);
  color: var(--paper);
  padding: 35px;
  border-radius: 5px;
  margin: 35px 0 0;
}
.contact-section .eyebrow {
  color: #b0caa6;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-top: 28px;
  align-items: center;
}
.contact-grid h2 {
  font-size: 61px;
  line-height: 0.98;
  letter-spacing: -3px;
  color: var(--mint);
}
.contact-grid p {
  font-size: 12px;
  color: #c1d0b8;
  max-width: 390px;
  line-height: 1.8;
}
.email-link {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(12px, 1.4vw, 19px);
  letter-spacing: -0.4px;
  padding: 18px 0;
  border-bottom: 1px solid #526e4e;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.email-link > span {
  font-size: 25px;
}
.socials {
  display: flex;
  gap: 24px;
  font-size: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.socials > a:hover {
  text-decoration: underline;
}
.contact-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #32533f;
  font-size: 9px;
  color: #a4ba99;
}
.footer {
  font: 7px var(--mono);
  letter-spacing: 0.7px;
  color: #7c8a71;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 0;
}
dialog {
  border: 1px solid #98ab8c;
  background: var(--paper);
  padding: 0;
  width: min(1300px, 94vw);
  max-height: 94dvh;
  color: var(--ink);
  box-shadow: 0 30px 100px #0006;
  border-radius: 5px;
}
dialog::backdrop {
  background: #031b17d0;
  backdrop-filter: blur(8px);
}
.image-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.image-dialog-bar h2 {
  font-size: 17px;
  letter-spacing: -0.4px;
  font-weight: 500;
}
.image-controls {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-shrink: 0;
}
#image-zoom {
  font-size: 10px;
  border-bottom: 1px solid #8fa87e;
  padding: 7px 0;
}
.dialog-close {
  font-size: 29px;
  line-height: 1;
  width: 34px;
  height: 34px;
}
.image-stage {
  overflow: auto;
  background: #e4eadd;
  padding: 20px;
  max-height: 72dvh;
}
.image-stage img {
  width: 100%;
  max-width: 100%;
  margin: auto;
}
.image-stage.zoomed img {
  width: 1800px;
  min-width: 1800px;
  max-width: none;
}
.image-caption {
  font-size: 10px;
  line-height: 1.7;
  padding: 13px 22px;
  color: #63755a;
}
@media (min-width: 1600px) {
  :root {
    --side: 280px;
  }
  .sidebar {
    padding: 35px;
  }
  .main-shell {
    padding-inline: 65px;
  }
  .intro-grid {
    padding-block: 60px;
  }
  .intro h1 {
    font-size: 90px;
  }
}
@media (max-width: 1200px) {
  :root {
    --side: 218px;
  }
  .sidebar {
    padding: 25px 22px;
  }
  .main-shell {
    padding-inline: 35px;
  }
  .profile {
    margin-top: 30px;
  }
  .intro-grid {
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
  }
  .intro h1 {
    font-size: 58px;
    letter-spacing: -3px;
  }
  .intro-grid .eyebrow {
    font-size: 7px;
  }
  .intro-note p {
    font-size: 11px;
  }
  .intro-top {
    font-size: 7px;
  }
  .intro-strip {
    font-size: 6px;
  }
  .card-title h3 {
    font-size: 18px;
  }
  .dashboard-info {
    padding: 18px;
  }
  .filters button {
    font-size: 8px;
    padding: 9px;
  }
  .filter-row {
    gap: 10px;
  }
  .directory-row {
    grid-template-columns: 24px 1fr 95px 20px;
    gap: 12px;
  }
  .directory-tags span {
    font-size: 7px;
  }
  .experience-grid,
  .about-grid,
  .education-grid {
    gap: 30px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .contact-grid {
    gap: 25px;
  }
  .contact-grid h2 {
    font-size: 50px;
  }
  .contact-section {
    padding: 27px;
  }
  .certificate-feature {
    padding: 20px;
    gap: 25px;
  }
  .certificate-feature > div h3 {
    font-size: 25px;
  }
}
@media (max-width: 960px) {
  :root {
    --side: 195px;
  }
  .sidebar {
    padding: 23px 18px;
  }
  .profile p {
    font-size: 15px;
  }
  .profile-title {
    font-size: 6px;
  }
  .main-shell {
    padding-inline: 27px;
  }
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px;
  }
  .intro-note {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 25px;
  }
  .note-mark {
    display: none;
  }
  .intro-note p {
    margin: 0;
    max-width: 400px;
  }
  .intro-note .text-link {
    white-space: nowrap;
  }
  .intro h1 {
    font-size: 66px;
    letter-spacing: -3.7px;
  }
  .intro-top > span:last-child {
    display: none;
  }
  .intro-strip {
    flex-direction: column;
    gap: 7px;
    font-size: 7px;
    padding-block: 12px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading h2 {
    font-size: 37px;
  }
  .work-section {
    padding-top: 34px;
  }
  .filter-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .dashboard-grid {
    gap: 16px;
  }
  .dashboard-preview {
    padding: 0 11px 12px;
  }
  .preview-chrome {
    font-size: 6px;
    padding-block: 12px;
  }
  .dashboard-info {
    padding: 16px;
  }
  .card-title h3 {
    font-size: 16px;
  }
  .dashboard-info > p {
    font-size: 10px;
  }
  .card-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .directory-row {
    grid-template-columns: 23px 1fr 20px;
  }
  .directory-tags {
    grid-column: 2;
    grid-row: auto;
    justify-content: flex-start;
  }
  .directory-arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .directory-row h3 {
    font-size: 15px;
  }
  .directory-row p {
    font-size: 10px;
  }
  .directory-row {
    gap: 10px;
  }
  .about-grid,
  .experience-grid,
  .education-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-grid h2 br,
  .experience-heading h2 br {
    display: none;
  }
  .about-grid h2 em:before,
  .experience-heading h2 em:before {
    content: " ";
  }
  .experience-heading h2,
  .about-grid h2 {
    font-size: 35px;
  }
  .experience-heading > p:not(.eyebrow) {
    max-width: 440px;
  }
  .skills-grid {
    gap: 15px;
  }
  .skill-block {
    padding: 18px;
  }
  .skill-block h3 {
    font-size: 15px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact-grid h2 br {
    display: none;
  }
  .contact-grid h2 {
    font-size: 52px;
  }
  .email-link {
    font-size: 19px;
    max-width: 500px;
  }
  .certificate-feature {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .certificate-feature > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    align-items: center;
  }
  .certificate-feature > div h3 {
    margin: 10px 0;
    grid-row: 2/4;
  }
  .certificate-feature > div .eyebrow {
    grid-column: 1/-1;
  }
  .certificate-feature > div p {
    grid-column: 2;
  }
  .certificate-feature > div h3 br {
    display: none;
  }
  .zoom-badge {
    opacity: 1;
    bottom: 18px;
    right: 17px;
    font-size: 8px;
    padding: 6px 8px;
  }
  .zoom-badge > span {
    display: none;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 95px;
  }
  .sidebar {
    position: sticky;
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 15px 22px;
  }
  .sidebar-top {
    justify-content: space-between;
  }
  .brand {
    font-size: 26px;
  }
  .languages {
    margin-left: auto;
    margin-right: 12px;
  }
  .languages button {
    padding: 7px 10px;
    font-size: 9px;
  }
  .menu-toggle {
    display: block;
    width: 28px;
    height: 30px;
    padding: 3px;
  }
  .menu-toggle span {
    display: block;
    height: 1px;
    background: var(--mint);
    margin: 6px 0;
  }
  .profile,
  .side-nav,
  .sidebar-bottom {
    display: none;
  }
  #mobile-nav {
    padding-top: 15px;
  }
  #mobile-nav a {
    display: block;
    border-top: 1px solid #325144;
    padding: 14px 0;
    font-size: 13px;
  }
  .main-shell {
    margin-left: 0;
    padding: 0 22px;
  }
  .intro {
    padding-top: 20px;
  }
  .intro-top {
    padding-bottom: 18px;
    font-size: 8px;
  }
  .intro-top > span:last-child {
    display: block;
    font-size: 6px;
    letter-spacing: 0.3px;
  }
  .intro-grid {
    padding-top: 29px;
    padding-bottom: 25px;
  }
  .intro h1 {
    font-size: clamp(43px, 9.5vw, 66px);
    letter-spacing: -2.8px;
    margin-top: 16px;
  }
  .intro-grid .eyebrow {
    font-size: 7px;
  }
  .intro-note {
    gap: 18px;
  }
  .intro-note p {
    font-size: 11px;
  }
  .intro-note .text-link {
    font-size: 10px;
    gap: 14px;
  }
  .intro-strip {
    font-size: 7px;
    flex-direction: row;
    line-height: 1.5;
    gap: 22px;
  }
  .intro-strip span {
    max-width: 48%;
  }
  .section-heading {
    gap: 15px;
  }
  .section-heading h2 {
    font-size: 35px;
    letter-spacing: -1.4px;
  }
  .work-intro {
    font-size: 11px;
    margin-top: 18px;
  }
  .filters {
    gap: 6px;
  }
  .filters button {
    font-size: 9px;
    padding: 9px 11px;
  }
  .filter-row {
    margin-bottom: 18px;
  }
  .dashboard-grid {
    gap: 16px;
  }
  .dashboard-info > p {
    min-height: 0;
  }
  .preview-chrome {
    font-size: 6px;
    letter-spacing: 0.3px;
  }
  .card-title h3 {
    font-size: 17px;
  }
  .card-title > span {
    display: none;
  }
  .card-bottom {
    font-size: 9px;
  }
  .section {
    padding-block: 40px;
    margin-top: 25px;
  }
  .skills-grid {
    margin-top: 27px;
  }
  .additional-work {
    font-size: 9px;
    gap: 18px;
  }
  .additional-work > span {
    width: 100%;
    margin: 0;
  }
  .about-grid h2,
  .experience-heading h2 {
    font-size: 32px;
  }
  .about-copy > .lead {
    font-size: 19px;
  }
  .about-copy > p {
    font-size: 12px;
  }
  .role-line {
    font-size: 17px;
  }
  .certificate-feature {
    padding: 18px;
  }
  .certificate-feature > div h3 {
    font-size: 25px;
  }
  .education-grid h2 {
    font-size: 31px;
  }
  .contact-section {
    padding: 25px 21px;
  }
  .contact-grid h2 {
    font-size: 49px;
  }
  .contact-grid p {
    font-size: 11px;
  }
  .contact-foot {
    font-size: 8px;
    gap: 20px;
    line-height: 1.6;
  }
  .contact-foot a {
    white-space: nowrap;
  }
  .footer {
    font-size: 6px;
    line-height: 1.5;
    gap: 12px;
  }
  .image-dialog-bar {
    padding: 12px 15px;
    gap: 12px;
  }
  .image-dialog-bar h2 {
    font-size: 13px;
  }
  .image-controls {
    gap: 11px;
  }
  #image-zoom {
    font-size: 8px;
  }
  .dialog-close {
    width: 29px;
    height: 29px;
  }
  .image-stage {
    padding: 10px;
  }
  .image-caption {
    font-size: 9px;
    padding: 12px 15px;
  }
}
@media (max-width: 450px) {
  .intro-top > span:last-child {
    display: none;
  }
  .intro-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .intro-note .text-link {
    width: max-content;
  }
  .intro h1 {
    font-size: 48px;
    letter-spacing: -2.6px;
  }
  .intro-strip {
    font-size: 6px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-preview {
    padding: 0 16px 16px;
  }
  .preview-chrome {
    font-size: 7px;
    padding: 15px 0;
  }
  .dashboard-info {
    padding: 21px;
  }
  .card-title h3 {
    font-size: 21px;
  }
  .card-title > span {
    display: block;
  }
  .dashboard-info > p {
    font-size: 11px;
  }
  .card-bottom {
    flex-direction: row;
    align-items: center;
  }
  .zoom-badge {
    bottom: 23px;
    right: 23px;
  }
  .zoom-badge > span {
    display: inline;
  }
  .directory-row {
    padding-block: 20px;
    grid-template-columns: 20px 1fr 18px;
    gap: 10px;
  }
  .directory-row h3 {
    font-size: 15px;
  }
  .directory-row p {
    font-size: 10px;
  }
  .directory-index {
    font-size: 8px;
  }
  .directory-tags span {
    font-size: 7px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .certificate-feature > div {
    display: block;
  }
  .certificate-feature > div h3 {
    margin-top: 14px;
  }
  .certificate-feature > div h3 br {
    display: none;
  }
  .email-link {
    font-size: 15px;
    gap: 10px;
  }
  .email-link > span {
    font-size: 21px;
  }
  .contact-grid h2 {
    font-size: 44px;
  }
  .socials {
    font-size: 9px;
    gap: 22px;
  }
  .language-list {
    gap: 23px;
  }
  .image-dialog-bar h2 {
    font-size: 11px;
  }
  .image-controls {
    gap: 7px;
  }
}
@media (max-width: 350px) {
  .main-shell {
    padding-inline: 17px;
  }
  .intro h1 {
    font-size: 42px;
    letter-spacing: -2.4px;
  }
  .filters button {
    font-size: 8px;
  }
  .email-link {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* Readable typography and intrinsic image proportions. */
img {
  height: auto;
}
.intro-top,
.intro-strip {
  font-size: 9px;
}
.eyebrow,
.intro-grid .eyebrow {
  font-size: 10px;
}
.intro-note p,
.work-intro {
  font-size: 14px;
}
.text-link {
  font-size: 12px;
}
.repo-link {
  font-size: 10px;
}
.filters button {
  font-size: 11px;
}
#project-count {
  font-size: 10px;
}
.side-nav a {
  font-size: 13px;
}
.side-nav a > span:first-child {
  font-size: 9px;
}
.sidebar-bottom p {
  font-size: 13px;
}
.profile-title {
  font-size: 8px;
}
.side-location,
.side-socials,
.sidebar-cv {
  font-size: 10px;
}
.preview-chrome {
  font-size: 9px;
}
.dashboard-info > p {
  font-size: 13px;
}
.card-bottom {
  font-size: 11px;
}
.tool-label {
  font-size: 10px;
}
.directory-row h3 {
  font-size: 18px;
}
.directory-row p {
  font-size: 13px;
}
.directory-tags span,
.directory-index {
  font-size: 10px;
}
.additional-work {
  font-size: 12px;
}
.additional-work > span {
  font-size: 9px;
}
.about-copy > p,
.experience-heading > p:not(.eyebrow) {
  font-size: 14px;
}
.language-list {
  font-size: 12px;
}
.language-list small {
  font-size: 10px;
}
.skill-block p {
  font-size: 12px;
}
.tags > span {
  font-size: 11px;
}
.timeline-date,
.company {
  font-size: 11px;
}
.role-body {
  font-size: 13px;
}
.certificate-feature > div p {
  font-size: 13px;
}
.education-list h3 {
  font-size: 16px;
}
.education-list p,
.education-year {
  font-size: 12px;
}
.contact-grid p {
  font-size: 14px;
}
.socials {
  font-size: 12px;
}
.contact-foot {
  font-size: 11px;
}
.footer {
  font-size: 8px;
}
.image-caption {
  font-size: 12px;
}
@media (max-width: 1200px) {
  .intro-top,
  .intro-strip {
    font-size: 8px;
  }
  .intro-grid .eyebrow {
    font-size: 9px;
  }
  .intro-note p {
    font-size: 13px;
  }
  .filters button {
    font-size: 10px;
  }
  .directory-tags span {
    font-size: 9px;
  }
  .profile-title {
    font-size: 7px;
  }
}
@media (max-width: 960px) {
  .intro-top {
    font-size: 9px;
  }
  .intro-strip {
    font-size: 8px;
  }
  .intro-note p {
    font-size: 13px;
  }
  .directory-row h3 {
    font-size: 17px;
  }
  .dashboard-info > p {
    font-size: 12px;
  }
  .preview-chrome {
    font-size: 7px;
  }
  .profile-title {
    font-size: 6px;
  }
  .card-bottom {
    font-size: 10px;
  }
}
@media (max-width: 700px) {
  .intro-grid .eyebrow {
    font-size: 8px;
  }
  .intro-top {
    font-size: 8px;
  }
  .intro-strip {
    font-size: 8px;
  }
  .intro-note p {
    font-size: 13px;
  }
  .work-intro {
    font-size: 13px;
  }
  .filters button {
    font-size: 10px;
  }
  .directory-row p {
    font-size: 12px;
  }
  .directory-row h3 {
    font-size: 17px;
  }
  .directory-tags span {
    font-size: 9px;
  }
  .additional-work {
    font-size: 11px;
  }
  .about-copy > p {
    font-size: 14px;
  }
  .role-body {
    font-size: 13px;
  }
  .contact-grid p {
    font-size: 13px;
  }
  .contact-foot {
    font-size: 10px;
  }
  .footer {
    font-size: 7px;
  }
  .image-caption {
    font-size: 11px;
  }
}
@media (max-width: 450px) {
  .intro-strip {
    font-size: 7px;
  }
  .dashboard-info > p {
    font-size: 13px;
  }
  .card-bottom {
    font-size: 11px;
  }
  .preview-chrome {
    font-size: 8px;
  }
  .directory-row h3 {
    font-size: 16px;
  }
  .directory-row p {
    font-size: 12px;
  }
  .directory-tags span {
    font-size: 9px;
  }
  .socials {
    font-size: 11px;
  }
}

@media (max-width: 700px) {
  .intro-top {
    flex-direction: column;
    gap: 9px;
  }
  .intro-top > span:last-child {
    display: block;
    font-size: 9px;
    letter-spacing: 0.5px;
  }
}
/* Project imagery: screenshots, bilingual Excel views and conceptual covers. */
.excel-feature {
  margin-top: 22px;
}
.excel-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.excel-images .dashboard-preview {
  background: #e8eddf;
}
.excel-images .dashboard-preview img {
  aspect-ratio: 1.9;
  object-fit: contain;
}
.excel-feature .dashboard-info {
  padding: 24px;
}
.excel-feature .dashboard-info > p {
  min-height: 0;
  max-width: 700px;
  margin-bottom: 18px;
}
.excel-feature .directory-tags {
  justify-content: flex-start;
}
.excel-number {
  font: 10px var(--mono) !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.excel-feature .card-bottom {
  flex-direction: row;
  align-items: center;
}
.illustrated-row {
  grid-template-columns: 180px minmax(0, 1fr) 126px 24px;
  gap: 24px;
  padding: 24px 0;
  cursor: default;
}
.illustrated-row:hover {
  background: transparent;
}
.cover-preview {
  position: relative;
  padding: 0;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  align-self: center;
  text-align: left;
  background: var(--paper);
}
.cover-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  transition: transform 0.25s;
}
.cover-preview:hover img {
  transform: scale(1.04);
}
.directory-body .directory-index {
  display: block;
  font-size: 9px;
  letter-spacing: 0.6px;
  padding: 0;
  margin-bottom: 10px;
}
.directory-body h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.illustrated-row .directory-arrow {
  grid-row: auto;
  grid-column: auto;
  width: 24px;
  text-align: center;
}
.illustrated-row .directory-tags {
  grid-row: auto;
  grid-column: auto;
}
.web-collection {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.web-collection-heading h3 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.15;
  margin: 13px 0;
}
.web-collection-heading > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  max-width: 650px;
}
.web-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 25px;
}
.web-card .dashboard-preview img {
  aspect-ratio: 2.2;
  object-fit: contain;
  background: var(--forest);
}
.web-card .card-title h3 {
  font-size: 20px;
}
.web-card .dashboard-info > p {
  min-height: 65px;
}
.filter-row {
  flex-wrap: wrap;
}
.filters {
  row-gap: 8px;
}
@media (max-width: 1200px) {
  .illustrated-row {
    grid-template-columns: 150px minmax(0, 1fr) 95px 20px;
    gap: 18px;
  }
  .web-card .card-title h3 {
    font-size: 18px;
  }
  .excel-images .preview-chrome {
    font-size: 7px;
  }
  .web-card .card-bottom {
    flex-wrap: wrap;
  }
  .web-card .tool-label {
    font-size: 8px;
  }
}
@media (max-width: 960px) {
  .illustrated-row {
    grid-template-columns: 145px minmax(0, 1fr) 20px;
    gap: 14px 18px;
  }
  .illustrated-row .cover-preview {
    grid-row: 1/3;
  }
  .illustrated-row .directory-body {
    grid-column: 2;
    grid-row: 1;
  }
  .illustrated-row .directory-tags {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
  }
  .illustrated-row .directory-arrow {
    grid-column: 3;
    grid-row: 1;
  }
  .illustrated-row .directory-body p {
    font-size: 12px;
  }
  .illustrated-row .directory-body h3 {
    font-size: 17px;
  }
  .directory-body .directory-index {
    font-size: 8px;
  }
  .excel-images {
    grid-template-columns: 1fr;
  }
  .excel-images .preview-chrome {
    font-size: 9px;
  }
  .excel-feature .dashboard-info {
    padding: 20px;
  }
  .web-grid {
    grid-template-columns: 1fr;
  }
  .web-card .dashboard-info > p {
    min-height: 0;
  }
  .web-card .card-bottom {
    flex-direction: row;
    align-items: center;
  }
  .web-card .card-title h3 {
    font-size: 21px;
  }
  .web-card .tool-label {
    font-size: 10px;
  }
  .web-card .dashboard-info > p {
    font-size: 13px;
  }
  .web-collection-heading h3 {
    font-size: 28px;
  }
}
@media (max-width: 700px) {
  .excel-feature {
    margin-top: 18px;
  }
  .excel-images {
    grid-template-columns: 1fr 1fr;
  }
  .excel-images .preview-chrome {
    font-size: 6px;
  }
  .illustrated-row {
    grid-template-columns: 140px minmax(0, 1fr) 20px;
    gap: 12px 16px;
  }
  .web-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .web-card .card-title h3 {
    font-size: 17px;
  }
  .web-card .dashboard-info > p {
    font-size: 12px;
  }
  .web-card .card-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }
  .web-card .tool-label {
    font-size: 8px;
  }
}
@media (max-width: 520px) {
  .excel-images {
    grid-template-columns: 1fr;
  }
  .excel-images .preview-chrome {
    font-size: 8px;
  }
  .excel-feature .card-title h3 {
    font-size: 22px;
  }
  .excel-number {
    display: none !important;
  }
  .illustrated-row {
    grid-template-columns: minmax(0, 1fr) 26px;
    padding-block: 24px;
    gap: 16px;
  }
  .illustrated-row .cover-preview {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .cover-preview img {
    aspect-ratio: 2;
    object-fit: cover;
  }
  .illustrated-row .directory-body {
    grid-column: 1;
    grid-row: 2;
  }
  .illustrated-row .directory-body h3 {
    font-size: 20px;
  }
  .illustrated-row .directory-body p {
    font-size: 13px;
  }
  .illustrated-row .directory-tags {
    grid-column: 1;
    grid-row: 3;
  }
  .illustrated-row .directory-arrow {
    grid-column: 2;
    grid-row: 2;
  }
  .web-grid {
    grid-template-columns: 1fr;
  }
  .web-card .card-title h3 {
    font-size: 21px;
  }
  .web-card .dashboard-info > p {
    font-size: 13px;
  }
  .web-card .card-bottom {
    flex-direction: row;
    align-items: center;
  }
  .web-card .tool-label {
    font-size: 9px;
  }
  .web-card .dashboard-preview img {
    aspect-ratio: 2.2;
  }
  .web-collection-heading h3 {
    font-size: 27px;
  }
}

.web-links {
  display: flex;
  align-items: center;
  gap: 19px;
  flex-wrap: wrap;
}
.live-app-link {
  font-weight: 600;
}
.web-card .card-bottom {
  flex-wrap: wrap;
}

/* Interaction fixes: no changes to the normal layout, palette or typography. */
picture {
  display: contents;
}
.dashboard-preview,
.cover-preview,
.certificate-preview {
  font-family: inherit;
  cursor: pointer;
}
a,
button,
summary {
  touch-action: manipulation;
}
.image-stage {
  overscroll-behavior: contain;
}
.image-stage:focus-visible,
.image-retry:focus-visible {
  outline: 3px solid #6b9460;
  outline-offset: -4px;
}
.image-retry {
  margin: 0 22px 16px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
#image-zoom:disabled {
  cursor: default;
}
@media (min-width: 701px) {
  #mobile-nav {
    display: none !important;
  }
}
@media (max-width: 700px) {
  #mobile-nav {
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
  }
}
.no-script-note {
  font-size: 12px;
  margin: 20px 0;
  line-height: 1.7;
}
.error-page {
  max-width: 720px;
  margin: 10vh auto;
  padding: 24px;
}
.error-page h1 {
  font-size: clamp(40px, 8vw, 72px);
  letter-spacing: -2px;
  margin: 20px 0;
}
.error-page p {
  margin: 16px 0;
}
/* source has no visual box; keep it out of the certificate flex layout. */
picture > source { display: none; }
