:root {
  color-scheme: light;
  --dark: #122727;
  --darker: #0c1e1e;
  --ink: #192b29;
  --muted: #4c5d56;
  --paper: #f7f6ef;
  --tint: #e9ece1;
  --line: #cbd3c7;
  --bright: #f8f6e9;
  --lime: #d4e889;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.62 var(--sans); }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible { outline: 3px solid #a45122; outline-offset: 5px; }
.hero a:focus-visible, .closing a:focus-visible, .site-header a:focus-visible, .site-footer a:focus-visible { outline-color: var(--lime); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; line-height: .98; }
h2 { font-size: clamp(2.6rem, 6vw, 4.7rem); }
h3 { line-height: 1.19; }
img { display: block; width: 100%; }
.shell { width: min(calc(100% - 5rem), 76rem); margin-inline: auto; }
.skip { position: absolute; top: .65rem; left: .65rem; z-index: 2; padding: .5rem .8rem; background: var(--lime); color: var(--dark); transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }
.site-header { background: var(--darker); color: var(--bright); border-bottom: 1px solid #40504a; }
.header-inner, .footer-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wordmark { color: var(--bright); font: 1.35rem/1.1 var(--serif); text-decoration: none; white-space: nowrap; }
nav { display: flex; align-items: center; gap: clamp(.95rem, 3vw, 2.3rem); flex-wrap: wrap; }
nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }
nav a:hover, .site-footer a:hover { color: var(--lime); text-decoration: underline; }
.hero { background: var(--dark); color: var(--bright); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; align-items: stretch; padding-block: 2.5rem; }
.hero-content { padding: clamp(2rem, 5vw, 5.25rem) clamp(1.65rem, 5vw, 4rem) 2.8rem 0; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: #465b42; text-transform: uppercase; letter-spacing: .14em; font-size: .875rem; font-weight: 750; line-height: 1.4; }
.hero-label { color: var(--lime); margin-bottom: 1.5rem; }
h1 { font-size: clamp(4.9rem, 10vw, 9rem); line-height: .83; }
.hero-description { font-size: clamp(1.12rem, 2vw, 1.36rem); color: #e0e4d8; max-width: 32rem; margin-top: 1.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.button { min-height: 3rem; display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1rem; font-size: .94rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background .18s, color .18s; }
.primary { background: var(--lime); color: var(--darker); }
.primary:hover { background: #e6f4ae; }
.light-outline { border-color: #8b9d90; color: var(--bright); }
.light-outline:hover { background: var(--bright); color: var(--dark); }
.hero-location { color: #bdc9bd; margin-top: 1.4rem; font-size: .94rem; }
.hero-image { position: relative; min-height: 32rem; overflow: hidden; background: radial-gradient(ellipse at 35% 35%, #768274, #203b3a 55%, #0d2221); border: 1px solid #516158; }
.hero-image img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 50% 51%; }
.hero-image figcaption { position: absolute; bottom: 1rem; left: 1rem; padding: .28rem .52rem; background: #0c1e1eea; color: #f4f3e8; font-size: .8125rem; }
.impact { background: var(--tint); border-bottom: 1px solid var(--line); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.impact-grid > div { padding: 1.5rem 1.2rem; border-left: 1px solid var(--line); }
.impact-grid > div:first-child { padding-left: 0; border-left: 0; }
.impact-grid strong, .impact-grid span { display: block; }
.impact-grid strong { font: 2.15rem/1.05 var(--serif); letter-spacing: -.04em; margin-bottom: .4rem; }
.impact-grid span { color: var(--muted); line-height: 1.43; font-size: .94rem; max-width: 16rem; }
.section { padding-block: clamp(3.35rem, 8vw, 6.5rem); }
.section-head { margin-bottom: 2rem; }
.section-head .eyebrow { margin-bottom: .7rem; }
.section-head > p:last-child:not(.eyebrow) { color: var(--muted); margin-top: 1.25rem; max-width: 22rem; }
.projects { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.project { padding: clamp(1.25rem, 3vw, 2.3rem); border: 1px solid var(--line); border-top: 0; border-left: 0; display: flex; flex-direction: column; align-items: start; }
.project h3 { margin-block: .6rem .9rem; font: 400 clamp(1.65rem, 3vw, 2.45rem)/1.04 var(--serif); letter-spacing: -.035em; }
.project > p:not(.eyebrow) { margin-bottom: .72rem; color: var(--muted); max-width: 35rem; }
.project > p.project-intro { color: var(--ink); font-weight: 650; }
.topics { list-style: none; margin: auto 0 0; padding: .35rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.topics li { border: 1px solid var(--line); padding: .16rem .5rem; font-size: .875rem; color: #415744; }
.experience { background: #ebeee5; }
.experience-grid { display: grid; grid-template-columns: 1fr 1.84fr; gap: clamp(1rem, 5vw, 4rem); }
.role { display: grid; grid-template-columns: 8.3rem 1fr; gap: 1rem; border-top: 1px solid #becabc; padding: 1.05rem 0; }
.role-date, .role p:last-child { color: var(--muted); }
.role-date { font-size: .94rem; font-weight: 650; }
.role h3 { font-size: 1.18rem; }
.role-title { font-weight: 650; margin: .22rem 0; }
.skills { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 1.65rem; row-gap: 1.45rem; }
.skills div { border-top: 1px solid var(--line); padding-top: .9rem; }
.skills h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.skills p { color: var(--muted); }
.closing { background: var(--dark); color: var(--bright); padding-block: clamp(3rem, 7vw, 5rem); }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.closing h2 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); margin-bottom: .85rem; }
.closing p, address span { color: #dce3d7; }
address { display: flex; flex-direction: column; align-items: flex-start; font-style: normal; gap: .4rem; }
address a { color: var(--lime); overflow-wrap: anywhere; }
.site-footer { background: var(--darker); color: #d6ddd1; font-size: .94rem; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 3rem); }
  .hero-image { min-height: 27rem; }
  h1 { font-size: clamp(4rem, 11vw, 6.9rem); }
}
@media (max-width: 670px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { gap: .65rem; padding-block: .85rem; }
  .hero-grid, .experience-grid, .closing-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 1.35rem; }
  .hero-content { padding: 1.35rem 0 1.6rem; }
  .hero-label { margin-bottom: 1.05rem; }
  h1 { font-size: clamp(4rem, 16vw, 6.9rem); }
  .hero-description { margin-top: 1.35rem; }
  .hero-image { min-height: 0; aspect-ratio: 1.32; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid > div { padding: 1rem .75rem; }
  .impact-grid > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .impact-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .impact-grid strong { font-size: 1.8rem; }
  .projects { grid-template-columns: 1fr; }
  .experience-grid .section-head { margin-bottom: .5rem; }
  .role { grid-template-columns: 1fr; gap: .22rem; }
  .skills { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 350px) { h1 { font-size: 3.65rem; } .skills { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
