:root {
  color-scheme: light;
  --paper: #f3f4ee;
  --ink: #17231f;
  --muted: #49554e;
  --forest: #102b23;
  --mint: #d5f985;
  --line: #cbd2c8;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, figure, p, ol, dl, dd { margin: 0; }
h1, h2, h3, strong, dt { line-height: 1.15; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #277856; outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; transform: translateY(-200%); padding: 8px 16px; background: white; z-index: 2; }
.skip:focus { transform: none; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; min-height: 77px; border-bottom: 1px solid var(--line); }
.brand, nav a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; white-space: nowrap; }
.brand span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 10px; background: var(--forest); color: var(--mint); font-size: .875rem; letter-spacing: -.045em; }
nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .9375rem; }
nav a:hover { text-decoration: underline; text-underline-offset: .22em; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 6vw, 105px); align-items: center; padding-block: clamp(54px, 9vw, 128px); }
.eyebrow, .date { color: #35634e; font-size: .875rem; font-weight: 690; }
.hero-profile { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); }
.hero-portrait {
  display: block;
  flex: none;
  width: clamp(7.5rem, 14vw, 11rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}
.hero-name { font-size: 1.125rem; font-weight: 750; }
.hero-location { color: var(--muted); font-size: .875rem; }
h1 { font-size: clamp(3rem, 6.8vw, 6.1rem); line-height: .99; letter-spacing: -.077em; margin-block: 19px 24px; font-weight: 760; }
h1 em { display: block; font-style: normal; color: #30634b; }
.intro { max-width: 53ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; border-radius: 7px; border: 1px solid transparent; font-size: .9375rem; font-weight: 720; text-decoration: none; }
.primary { background: var(--forest); color: white; }
.primary:hover { background: #23513e; }
.outline { border-color: #8c9c91; }
.outline:hover { background: #e4eadf; }
.architecture { padding: clamp(24px, 4vw, 41px); border-radius: 14px; color: #f5f8ee; background-color: var(--forest); background-image: radial-gradient(#38574a 1px, transparent 1px); background-size: 18px 18px; }
.architecture figcaption { font-size: 1.125rem; font-weight: 730; margin-bottom: 22px; }
.architecture ol { display: grid; gap: 12px; list-style: none; padding: 0; }
.architecture li { display: flex; align-items: center; gap: 13px; border: 1px solid #476858; border-radius: 8px; padding: 13px 14px; background: #19392e; }
.architecture strong, .architecture small { display: block; }
.architecture small { margin-top: 3px; color: #cadbd0; font-size: .875rem; }
.node { flex: 0 0 12px; height: 12px; border: 2px solid var(--mint); border-radius: 3px; transform: rotate(45deg); }
section[id], footer[id] { scroll-margin-top: 20px; }
.experience { border-top: 1px solid var(--line); padding-block: 49px 64px; }
h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); letter-spacing: -.055em; }
.section-heading { margin-bottom: 25px; }
.section-heading p { margin-top: 9px; color: var(--muted); }
.role { display: grid; grid-template-columns: .95fr 1.55fr; gap: 16px 48px; padding: 26px 0; border-top: 1px solid var(--line); }
.role h3 { font-size: 1.38rem; margin-block: 6px; letter-spacing: -.034em; }
.role h3 span { font-weight: 540; }
.role div > p + p { margin-top: 8px; }
.position, .role div:nth-child(2), .earlier li { color: var(--muted); }
.earlier { border-top: 1px solid var(--line); padding-top: 20px; }
.earlier summary { width: fit-content; cursor: pointer; font-weight: 680; }
.earlier li + li { margin-top: 5px; }
.project-inner { display: grid; grid-template-columns: 1fr 1.16fr; gap: 26px 70px; padding: clamp(25px, 5vw, 65px); background: var(--forest); color: #f5f8ee; border-radius: 14px; }
.project .eyebrow { color: var(--mint); }
.project h2 { margin-block: 9px 14px; }
.project p:not(.eyebrow), .project dd { color: #d4e2d8; }
.project dl div { border-top: 1px solid #476858; padding-block: 13px; }
.project dd { margin-top: 5px; }
.light { background: var(--mint); color: var(--forest); margin-top: 24px; }
.light:hover { background: #ecffc1; }
.light:focus-visible { outline-color: var(--mint); }
.project-post {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 24px clamp(24px, 4vw, 55px);
  margin-top: 20px;
  padding: clamp(22px, 3.8vw, 45px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e8eee3;
  scroll-margin-top: 20px;
}
.project .project-post .post-source {
  color: #35634e;
  font-size: .875rem;
  font-weight: 690;
}
.project-post h3 {
  font-size: clamp(1.6rem, 3.3vw, 2.5rem);
  letter-spacing: -.045em;
  margin-block: 9px 14px;
}
.project .project-post p:not(.post-source) { color: var(--muted); }
.project-post p + p { margin-top: 10px; }
.project-post .button { margin-top: 20px; }
.project-post-figure a, .project-post-figure img { display: block; border-radius: 8px; }
.project-post-figure img { width: 100%; height: auto; }
.project-post-figure figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; }
.education { padding-block: 56px; }
.education ul { padding: 0; margin: 20px 0 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.education li { padding-top: 15px; border-top: 1px solid var(--line); }
.education span { display: block; color: var(--muted); }
footer { border-top: 1px solid var(--line); background: #e6ecdf; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-block: 38px; }
.footer-inner p { color: var(--muted); margin-top: 5px; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .top { padding-block: 14px; min-height: auto; flex-wrap: wrap; }
  nav { gap: 8px 17px; }
  .hero, .role, .project-inner, .project-post, .education ul { grid-template-columns: 1fr; }
  .hero { padding-block: 44px 39px; }
  .experience { padding-block: 34px 42px; }
  .education { padding-block: 36px; }
}
