/* Shared design system: layout, components, responsive states, and accessibility. */
:root {
  --paper:#f8f9f4;
  --ink:#202e28;
  --muted:#687269;
  --green:#244d3c;
  --dark:#193d30;
  --line:#dce1d7;
  --tint:#eff2e9;
  --lime:#d8e6aa;
  --sans:'Segoe UI','Helvetica Neue',Arial,sans-serif;
  --mono:'Cascadia Code','SFMono-Regular',Consolas,monospace;
  --motion-ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:108px;
}

body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:16px/1.65 var(--sans);
  -webkit-font-smoothing:antialiased;
}

::selection {
  background:var(--lime);
  color:var(--dark);
}

a {
  color:inherit;
  text-decoration:none;
}

button,input,textarea {
  font:inherit;
  color:inherit;
}

button {
  cursor:pointer;
  background:none;
}

svg {
  display:block;
}

img {
  max-width:100%;
}

h1,h2,h3,p {
  margin:0;
}

h1,h2,h3 {
  line-height:1.15;
  font-weight:550;
}

h1 {
  font-size:clamp(46px,5.2vw,76px);
  letter-spacing:-.065em;
}

h2 {
  font-size:clamp(32px,3.3vw,44px);
  letter-spacing:-.05em;
}

h3 {
  letter-spacing:-.025em;
}

p {
  color:var(--muted);
}

button,a,summary,input,textarea {
  outline-offset:5px;
  -webkit-tap-highlight-color:transparent;
}

:focus-visible {
  outline:2px solid #748c22;
}

[hidden] {
  display:none!important;
}

.shell {
  width:min(1200px,calc(100% - 112px));
  margin-inline:auto;
}

.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:12px;
  left:12px;
  transform:translateY(-200%);
  background:var(--dark);
  color:white;
  padding:12px 22px;
  z-index:100;
  border-radius:4px;
}

.skip-link:focus {
  transform:translateY(0);
}

.eyebrow {
  font:500 10px/1.7 var(--mono);
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--green);
}

.muted {
  color:#788374;
}

.serif-word {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  font-style:italic;
  letter-spacing:-.055em;
}

.text-link {
  display:inline-flex;
  align-items:center;
  gap:18px;
  font-weight:600;
  font-size:13px;
  padding-block:6px;
  border-bottom:1px solid var(--line);
  transition:color .2s,border-color .2s;
}

.text-link:hover {
  color:#5c732d;
  border-color:currentColor;
}

.text-link .arrow-icon,.button .arrow-icon {
  font-size:19px;
  line-height:1;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:27px;
  min-height:50px;
  padding:12px 22px;
  font-weight:550;
  font-size:13px;
  border:1px solid transparent;
  border-radius:4px;
  transition:background .25s,border-color .25s;
}

.button-primary {
  background:var(--dark);
  color:var(--paper);
}

.button-primary:hover {
  background:#2c5540;
}

.button-outline {
  border-color:#c9d0c4;
}

.button-outline:hover {
  background:var(--tint);
  border-color:var(--green);
}

.site-header {
  position:sticky;
  top:0;
  background:rgba(248,249,244,.96);
  backdrop-filter:blur(16px);
  z-index:30;
  border-bottom:1px solid var(--line);
}

.header-inner {
  height:86px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size:21px;
  font-weight:650;
  letter-spacing:-.06em;
}

.brand-mark {
  height:31px;
  width:31px;
  color:var(--paper);
  background:var(--dark);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font:600 25px/1 var(--sans);
  padding-bottom:5px;
  letter-spacing:-.08em;
}

.brand-mark span {
  color:var(--lime);
}

.brand-dot {
  color:#839858;
}

#primary-nav {
  display:flex;
  align-items:center;
  gap:29px;
  font-size:12px;
  font-weight:500;
}

#primary-nav a {
  transition:color .2s;
}

#primary-nav a:hover,#primary-nav a[aria-current] {
  color:#557c35;
}

.nav-cv {
  display:inline-flex;
  align-items:center;
  gap:20px;
  border:1px solid #cbd2c6;
  border-radius:4px;
  padding:9px 15px;
}

.nav-cv span {
  font-size:16px;
}

.menu-toggle {
  display:none;
  align-items:center;
  gap:12px;
  min-height:44px;
  border:0;
  font-size:13px;
}

.hero {
  display:grid;
  grid-template-columns:1.12fr 1fr;
  gap:7%;
  padding-block:84px 83px;
  align-items:center;
}

.hero-copy>.eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  letter-spacing:.08em;
}

.status-dot,.small-dot {
  width:6px;
  height:6px;
  background:#6a8445;
  border-radius:50%;
  flex-shrink:0;
}

.hello {
  font-size:19px;
  margin-top:35px;
  margin-bottom:8px;
  color:var(--ink);
}

.hero h1 {
  font-size:clamp(46px,4.8vw,67px);
  line-height:1.08;
  white-space:nowrap;
}

.headline-line {
  display:block;
  overflow:clip;
  padding-bottom:.16em;
  margin-bottom:-.16em;
}

.hero h1.role-headline {
  font-size:clamp(28px,3.5vw,49px);
  line-height:1.16;
  letter-spacing:-.05em;
  white-space:normal;
}

@media(max-width:600px) {
  .hero h1.role-headline { font-size:clamp(25px,7.1vw,40px); }
}

.headline-text { display:block; }

.hero h1>.headline-accent {
  color:#667854;
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  font-style:italic;
  letter-spacing:-.065em;
}

.hero-description {
  margin-top:25px;
  font-size:15px;
  max-width:440px;
  line-height:1.85;
}

.hero-actions {
  display:flex;
  gap:12px;
  margin-top:28px;
}

.hero-art {
  background:var(--dark);
  border-radius:7px;
  padding:23px 24px;
  color:#e4ead8;
  min-width:0;
  position:relative;
}

.art-topline {
  display:flex;
  align-items:center;
  gap:7px;
  color:#c1d1bf;
  font:9px/1.5 var(--mono);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.art-topline .small-dot {
  background:#d7eaa1;
  width:5px;
  height:5px;
}

.system-diagram {
  width:calc(100% - 24px);
  max-width:400px;
  margin-inline:auto;
  padding-block:16px 20px;
  background:radial-gradient(#b4cfbe30 .8px,transparent .8px) 0 0 / 24px 24px;
}

.diagram-layer {
  display:grid;
  grid-template-columns:minmax(0,1fr) 11ch;
  align-items:center;
  gap:12px;
  min-height:80px;
  position:relative;
  font:11px/1.6 var(--mono);
}

.diagram-layer + .diagram-layer { margin-top:calc(22px - 24%); }
.layer-top { z-index:3; }
.layer-middle { z-index:2; }
.layer-bottom { z-index:1; }
.layer-surface { width:100%; }

.layer-label {
  display:block;
  color:#d5dfc9;
  font:inherit;
  text-align:left;
}

.diagram-stage { display:flow-root; }

.art-bottomline {
  border-top:1px solid #456250;
  padding-top:17px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
  line-height:1.6;
  color:#b5c7b7;
}

.art-bottomline strong {
  font-weight:400;
  color:#ecf0db;
  font-size:15px;
}

.expertise-band {
  background:var(--tint);
  border-block:1px solid var(--line);
}

.expertise-band .shell {
  min-height:73px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:12px;
}

.band-label {
  font:9px/1.5 var(--mono);
  color:var(--muted);
  letter-spacing:.08em;
  text-transform:uppercase;
}

.band-plus {
  color:#869278;
  font-size:19px;
  font-weight:300;
}

.section {
  padding-block:96px;
  position:relative;
}

.section-heading>.eyebrow {
  margin-bottom:22px;
}

.section-heading>p:not(.eyebrow) {
  font-size:14px;
  margin-top:22px;
}

.section-heading>.text-link {
  margin-top:26px;
}

.about-section {
  display:grid;
  grid-template-columns:.85fr 1.3fr;
  gap:10%;
}

.about-copy>.large-copy {
  font-size:20px;
  line-height:1.75;
  color:var(--ink);
  letter-spacing:-.02em;
}

.about-copy>p+p {
  margin-top:22px;
  font-size:14px;
}

.about-facts {
  display:flex;
  gap:60px;
  padding-block:32px 25px;
}

.about-facts div {
  display:flex;
  flex-direction:column;
}

.about-facts strong {
  font-weight:500;
  font-size:26px;
  letter-spacing:-.05em;
}

.about-facts span {
  font-size:11px;
  color:var(--muted);
  margin-top:2px;
}

.section-tinted {
  background:var(--tint);
  border-block:1px solid var(--line);
}

.experience-layout,.credentials-layout {
  display:grid;
  grid-template-columns:.85fr 1.3fr;
  gap:10%;
}

.timeline {
  padding-left:30px;
  border-left:1px solid #cbd4c5;
}

.experience-item {
  position:relative;
  padding-bottom:40px;
}

.experience-item::before {
  content:'';
  width:9px;
  height:9px;
  background:#5f7b4c;
  border-radius:50%;
  position:absolute;
  left:-35px;
  top:8px;
  outline:6px solid var(--tint);
}

.experience-item:last-child {
  padding-bottom:0;
}

.experience-item:last-child::before {
  background:#a6b39c;
}

.experience-top {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:17px;
}

.company-name {
  font-size:13px;
  font-weight:600;
}

.current-badge {
  font:9px var(--mono);
  text-transform:uppercase;
  padding:4px 7px;
  background:#e1e8d4;
  color:#426031;
  border-radius:3px;
}

.experience-date {
  color:var(--muted);
  margin-left:auto;
  font:10px var(--mono);
  white-space:nowrap;
}

.experience-item h3 {
  font-size:22px;
  max-width:440px;
  line-height:1.35;
}

.experience-item>p {
  margin-top:17px;
  font-size:14px;
}

.tags {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  padding:0;
  margin:22px 0 0;
  list-style:none;
}

.tags li {
  border:1px solid #d5dccf;
  padding:4px 9px;
  border-radius:4px;
  font-size:10px;
  line-height:1.6;
  color:#53614f;
}

.section-title-row {
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
}

.section-title-row .eyebrow {
  margin-bottom:18px;
}

.section-title-row>.text-link {
  flex-shrink:0;
  margin-bottom:4px;
}

.section-title-row>p {
  font-size:13px;
}

.section-intro {
  margin-top:20px;
  font-size:14px;
  line-height:1.8;
}

.anchor-alias {
  position:absolute;
  top:0;
  scroll-margin-top:86px;
}

.project-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:25px;
  margin-top:38px;
}

.project-card {
  min-width:0;
  display:flex;
  flex-direction:column;
}

.experience-body { min-width:0; }
.recognition-link { margin-top:24px; }

.project-visual {
  height:225px;
  border-radius:5px;
  overflow:hidden;
  position:relative;
  transition:transform .65s var(--motion-ease);
}

.visual-link {
  display:block;
  overflow:hidden;
  border-radius:5px;
}

.visual-link:hover .project-visual {
  transform:scale(1.025);
}

.visual-caption {
  position:absolute;
  bottom:17px;
  left:20px;
  font:8px/1.4 var(--mono);
  letter-spacing:.07em;
  z-index:2;
}

.visual-road {
  background:#dfe6d6;
}

.road-lane {
  position:absolute;
  width:118px;
  height:350px;
  background:#607160;
  top:-40px;
  left:38%;
  transform:rotate(34deg);
  border-inline:5px solid #c5d0b9;
}

.road-lane::after {
  content:'';
  position:absolute;
  left:50%;
  height:100%;
  width:2px;
  background:repeating-linear-gradient(to bottom,#e7e9ce 0,#e7e9ce 18px,transparent 18px,transparent 35px);
}

.car {
  position:absolute;
  width:20px;
  height:38px;
  border:2px solid #e2e8c2;
  border-radius:5px;
  background:#c1cc9b;
  transform:rotate(34deg);
}

.car span {
  position:absolute;
  background:#4e6352;
  inset:9px 2px;
  border-block:3px solid #829674;
}

.car-one {
  left:41%;
  top:82px;
}

.car-two {
  left:65%;
  top:113px;
}

.scan {
  position:absolute;
  width:130px;
  height:55px;
  border:1px dashed #4b6445;
  transform:rotate(34deg);
}

.scan-one {
  top:29px;
  left:41%;
}

.scan-two {
  top:141px;
  left:19%;
}

.scan span {
  position:absolute;
  top:-20px;
  left:0;
  font:8px var(--mono);
  letter-spacing:.03em;
  color:#2c4735;
}

.visual-vision {
  background:#233e37;
  color:#c5dfba;
}

.vision-grid {
  position:absolute;
  inset:0;
  background-image:linear-gradient(#355049 1px,transparent 1px),linear-gradient(90deg,#355049 1px,transparent 1px);
  background-size:24px 24px;
  opacity:.65;
}

.face-outline {
  position:absolute;
  top:36px;
  left:calc(50% - 37px);
  width:74px;
  height:105px;
  border:1px solid #7d9c84;
  border-radius:45% 45% 42% 42%;
}

.face-outline::before,.face-outline::after {
  content:'';
  width:5px;
  height:3px;
  background:#bbd5a2;
  position:absolute;
  top:33px;
  border-radius:50%;
}

.face-outline::before {
  left:18px;
}

.face-outline::after {
  right:18px;
}

.face-mask {
  position:absolute;
  top:53px;
  left:7px;
  width:58px;
  height:37px;
  border:1px solid #b9cc9a;
  border-radius:6px 6px 22px 22px;
  background:repeating-linear-gradient(to bottom,#7d9f7a 0,#7d9f7a 7px,#a0ba8a 7px,#a0ba8a 8px);
}

.focus-frame {
  position:absolute;
  height:136px;
  width:124px;
  top:21px;
  left:calc(50% - 62px);
  border:1px solid #b0c893;
}

.focus-frame::before {
  content:'';
  position:absolute;
  top:45%;
  width:148px;
  left:-13px;
  height:1px;
  background:#c5dda1;
  box-shadow:0 0 15px #c5dda144;
}

.vision-label {
  position:absolute;
  top:166px;
  left:calc(50% - 60px);
  padding:3px 8px;
  background:#bfd0a2;
  color:#203d32;
  font:8px/1.5 var(--mono);
  letter-spacing:.08em;
}

.visual-movies {
  background:#eae3d5;
  color:#645d4f;
}

.movie-window {
  width:71%;
  height:142px;
  position:absolute;
  left:12%;
  top:26px;
  background:#fbf9f3;
  border:1px solid #c4bcab;
  border-radius:5px;
  box-shadow:6px 8px 0 #d9d2c4;
  transform:rotate(-4deg);
  padding:9px;
}

.movie-top {
  display:flex;
  gap:3px;
  align-items:center;
  margin-bottom:9px;
}

.movie-top i {
  height:3px;
  width:3px;
  border-radius:50%;
  background:#b2b29f;
}

.movie-top span {
  font:6px var(--mono);
  letter-spacing:.1em;
  margin-left:auto;
}

.movie-feature {
  height:63px;
  display:grid;
  place-items:center;
  background:#839681;
  background-image:linear-gradient(130deg,transparent 55%,#acb59a 55%);
}

.movie-feature span {
  border:1px solid #dbe2c5;
  border-radius:50%;
  color:#f4f5e7;
  line-height:24px;
  width:26px;
  text-align:center;
  font-size:17px;
}

.movie-posters {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:5px;
  margin-top:7px;
}

.movie-posters i {
  display:block;
  height:30px;
  background:#c3c7b0;
}

.movie-posters i:nth-child(2) {
  background:#d1bd9c;
}

.movie-posters i:nth-child(3) {
  background:#748d7b;
}

.movie-posters i:nth-child(4) {
  background:#b8bfbd;
}

.chat-bubble {
  position:absolute;
  right:8%;
  top:151px;
  transform:rotate(3deg);
  background:#f7f8e9;
  border:1px solid #c3c9b2;
  border-radius:7px 7px 0 7px;
  padding:8px 11px;
  font-size:9px;
  box-shadow:3px 4px 0 #c8c9b780;
}

.chat-bubble span {
  margin-left:16px;
}

.project-content {
  padding:21px 0 0;
  display:flex;
  flex-direction:column;
  flex:1;
}

.project-meta {
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  color:#62705d;
  font:8px/1.6 var(--mono);
  letter-spacing:.03em;
  text-transform:uppercase;
}

.project-meta>span:last-child {
  color:#8a9580;
}

.project-content h3 {
  font-size:22px;
  line-height:1.3;
  margin-top:13px;
}

.project-content h3 a {
  display:block;
}

.project-content h3 a:hover {
  color:#637a40;
}

.project-content h3 span {
  font-size:19px;
  font-weight:400;
  white-space:nowrap;
}

.project-content>p {
  font-size:13px;
  margin-top:13px;
  line-height:1.8;
}

.project-content .tags {
  gap:5px;
}

.project-content .tags li {
  font-size:9px;
  padding:3px 7px;
}

.project-skills {
  margin-top:auto;
  padding-top:22px;
}

.project-skill-group + .project-skill-group {
  margin-top:14px;
}

.project-skills-label {
  color:var(--green);
  font:9px/1.6 var(--mono);
  letter-spacing:.07em;
  text-transform:uppercase;
}

.project-skills .tags {
  margin-top:7px;
  align-items:flex-start;
}

.project-source {
  margin-top:18px;
}

.project-source .text-link {
  font-size:11px;
}

.credential-actions,.profile-links {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 24px;
  margin-top:24px;
}

.credly-link {
  gap:10px;
}

.credly-mark {
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  border:1px solid #cf814d;
  border-radius:50%;
  color:#9a4e1b;
  font:600 12px/1 var(--sans);
}

.skills-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:42px;
}

.skill-column {
  border-left:1px solid var(--line);
  padding:0 28px;
}

.skill-column:first-child {
  border-left:0;
  padding-left:0;
}

.skill-column:last-child {
  padding-right:0;
}

.skill-number {
  font:10px var(--mono);
  color:#859078;
}

.skill-column h3 {
  font-size:21px;
  margin-top:17px;
}

.skill-column p {
  font-size:12px;
  margin-top:8px;
}

.skill-column .tags {
  max-width:320px;
}

.credential-row {
  display:flex;
  align-items:center;
  gap:18px;
  padding-block:22px;
  border-bottom:1px solid #d4dccc;
}

.credential-row:first-child {
  padding-top:0;
}

.credential-row:last-child {
  border-bottom:0;
  padding-bottom:0;
}

.credential-mark {
  height:42px;
  width:42px;
  flex-shrink:0;
  border:1px solid #c5d2bb;
  display:grid;
  place-items:center;
  border-radius:9px;
  font:600 11px var(--mono);
  color:#516e40;
  background:#e6ecd9;
}

.credential-row h3 {
  font-size:14px;
  font-weight:600;
  letter-spacing:-.025em;
  line-height:1.5;
}

.credential-row p {
  font-size:11px;
  margin-top:3px;
}

.credential-date {
  font:9px/1.6 var(--mono);
  color:var(--muted);
  margin-left:auto;
  white-space:nowrap;
}

.education-main {
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  margin-top:25px;
}

.education-main h2 {
  font-size:31px;
}

.degree {
  font-size:13px;
  margin-top:12px;
}

.education-date {
  white-space:nowrap;
  font:12px var(--mono);
  color:var(--muted);
}

.community-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  border-top:1px solid var(--line);
  padding-top:28px;
  margin-top:32px;
}

.community-grid .eyebrow {
  font-size:8px;
}

.community-grid h3 {
  margin-top:9px;
  font-size:16px;
}

.community-grid p {
  font-size:11px;
  margin-top:8px;
}

.community-grid p span {
  white-space:nowrap;
}

.contact-section {
  background:var(--dark);
  color:var(--paper);
  padding-block:74px;
}

.contact-inner {
  display:flex;
  justify-content:space-between;
  gap:48px;
  align-items:center;
}

.eyebrow.light {
  color:#bbcc9a;
}

.contact-section h2 {
  margin-top:21px;
  font-size:47px;
  line-height:1.15;
}

.contact-section h2 span {
  color:#cad9ab;
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  font-style:italic;
}

.contact-section p:not(.eyebrow) {
  color:#b2c3b4;
  font-size:12px;
  margin-top:20px;
}

.email-link {
  display:flex;
  gap:25px;
  align-items:center;
  border-bottom:1px solid #647e64;
  padding-bottom:13px;
  font-size:clamp(18px,2vw,25px);
  letter-spacing:-.025em;
}

.email-link:hover {
  color:var(--lime);
}

.contact-actions {
  width:225px;
  max-width:100%;
  flex-shrink:0;
}

.contact-links {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  margin-top:16px;
}

.contact-links .text-link {
  justify-content:center;
  font-weight:400;
  color:#c5d3bf;
  font-size:11px;
  gap:10px;
  border:0;
}

.copy-email {
  border:0;
  color:#c5d3bf;
  font-size:11px;
  margin-left:auto;
  padding:9px 0;
}

.copy-email:hover {
  color:var(--lime);
}

.copy-email span {
  margin-left:9px;
}

.contact-section .copy-status {
  margin:5px 0 0;
  min-height:20px;
  font-size:11px;
}

.site-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:75px;
  gap:25px;
  font-size:10px;
}

.site-footer>a {
  white-space:nowrap;
}

.site-footer>a span {
  margin-left:12px;
}

.archive-main {
  padding-bottom:80px;
}

.page-intro {
  padding:40px 0 60px;
}

.back-link {
  display:inline-block;
  font-size:11px;
  color:var(--muted);
  margin-bottom:42px;
}

.back-link:hover {
  color:var(--green);
}

.page-intro>.eyebrow {
  margin-bottom:20px;
}

.page-intro h1 {
  font-size:clamp(46px,5.6vw,72px);
}

.page-intro>p:not(.eyebrow) {
  margin-top:23px;
  font-size:16px;
}

.page-intro>.text-link {
  margin-top:20px;
}

.project-tools {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:24px;
  border-block:1px solid var(--line);
  padding-block:18px;
}

.filters {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}

.filter-button {
  font-size:11px;
  border:1px solid transparent;
  border-radius:4px;
  padding:9px 13px;
  min-height:42px;
}

.filter-button:hover {
  background:var(--tint);
}

.filter-button.is-active {
  background:var(--dark);
  color:white;
}

.search-box {
  display:flex;
  gap:10px;
  align-items:center;
  padding:8px 11px;
  border:1px solid #cbd3c3;
  border-radius:4px;
}

.search-box input {
  width:145px;
  border:none;
  background:transparent;
  font-size:12px;
  min-height:26px;
  outline-offset:4px;
}

.project-count {
  padding-block:20px;
  font:10px var(--mono);
}

.archive-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.archive-card {
  border:1px solid var(--line);
  border-radius:5px;
  background:#fbfcf8;
  padding:28px;
  scroll-margin-top:110px;
}

.archive-card:target {
  border-color:#7c9765;
  box-shadow:0 0 0 3px #dce7cc;
}

.archive-card .project-content {
  padding:0;
}

.archive-card .project-content h3 {
  font-size:24px;
}

details {
  margin-top:25px;
  border-top:1px solid var(--line);
}

summary {
  cursor:pointer;
  list-style:none;
  padding-block:14px 0;
  font-size:12px;
  font-weight:550;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
}

summary::-webkit-details-marker {
  display:none;
}

summary>span {
  font-size:20px;
  font-weight:400;
  transition:transform .2s;
}

details[open]>summary>span {
  transform:rotate(45deg);
}

details>p {
  font-size:13px;
  padding-top:16px;
}

details .text-link {
  margin-top:16px;
}

.empty-state {
  text-align:center;
  padding-block:60px;
}

.empty-state h2 {
  font-size:28px;
}

.empty-state p {
  margin-block:15px 25px;
}

.archive-section {
  padding-block:50px;
  border-top:1px solid var(--line);
}

.archive-section>.eyebrow {
  margin-bottom:17px;
}

.archive-section h2 {
  font-size:32px;
}

.archive-section .section-title-row>.eyebrow {
  margin:0;
}

.full-credentials {
  margin-top:35px;
}

.full-credentials .credential-row {
  padding-block:24px;
}

.full-credentials h3 {
  font-size:18px;
}

.full-credentials .credential-mark {
  height:50px;
  width:50px;
}

.full-credentials .credential-date {
  font-size:11px;
}

.recognition-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:30px;
}

.recognition-card {
  background:var(--tint);
  border:1px solid var(--line);
  border-radius:4px;
  padding:30px;
}

.recognition-index {
  display:block;
  font-family:Georgia,'Times New Roman',serif;
  font-size:35px;
  color:#6b8150;
  margin-bottom:20px;
}

.recognition-card h3 {
  font-size:24px;
  margin-top:14px;
}

.recognition-card>p:not(.eyebrow) {
  font-size:13px;
  margin-top:16px;
}

.recognition-card .text-link {
  margin-top:20px;
}

.education-history {
  margin-top:35px;
}

.education-history article {
  display:flex;
  gap:70px;
  padding-block:24px;
  border-bottom:1px solid var(--line);
}

.education-history article>span {
  font:12px/1.8 var(--mono);
  color:var(--muted);
  min-width:105px;
}

.education-history h3 {
  font-size:19px;
}

.education-history p {
  font-size:13px;
  margin-top:9px;
}

.learning-details {
  margin:0;
  border:0;
}

.learning-details summary {
  font-size:22px;
  padding:0;
}

.learning-details ul {
  columns:2;
  column-gap:50px;
  padding-left:20px;
  font-size:13px;
  color:var(--muted);
  margin-top:25px;
}

.learning-details li {
  break-inside:avoid;
  padding-bottom:12px;
}

.error-main {
  min-height:65vh;
  padding-block:100px;
}

.error-main h1 {
  margin-top:22px;
}

.error-main p:not(.eyebrow) {
  margin-block:25px;
}

.hero-copy,.section-heading,.about-copy,.timeline,.credential-list {
  min-width:0;
}

@media(min-width:1500px) {
  .hero {
    padding-block:100px;
  }
}

@media(max-width:1100px) {
  .shell {
    width:calc(100% - 72px);
  }
  #primary-nav {
    gap:20px;
  }
  .hero {
    gap:5%;
    padding-block:65px;
  }
  .hero h1 {
    font-size:clamp(44px,4.8vw,53px);
  }
  .hero-art {
    padding:20px;
  }
  .hero-copy>.eyebrow {
    font-size:8px;
  }
  .about-section,.experience-layout,.credentials-layout {
    gap:7%;
    grid-template-columns:.8fr 1.2fr;
  }
  .credential-row {
    gap:12px;
  }
  .credential-row h3 {
    font-size:13px;
  }
  .credential-date {
    font-size:8px;
  }
  .project-grid {
    gap:20px;
  }
  .project-visual {
    height:210px;
  }
  .project-content h3 {
    font-size:20px;
  }
  .project-meta {
    font-size:7px;
  }
}

@media(max-width:860px) {
  html {
    scroll-padding-top:90px;
  }
  .shell {
    width:calc(100% - 48px);
  }
  .header-inner {
    height:auto;
    min-height:74px;
    flex-wrap:wrap;
    padding-block:16px;
    gap:12px;
  }
  .has-js .menu-toggle {
    display:inline-flex;
    padding-block:0;
    min-height:40px;
  }
  #primary-nav {
    width:100%;
    flex-wrap:wrap;
    gap:12px 24px;
    padding-block:16px 10px;
  }
  .has-js #primary-nav {
    display:none;
  }
  .has-js #primary-nav.is-open {
    display:flex;
  }
  #primary-nav a {
    padding-block:8px;
  }
  .hero {
    grid-template-columns:1fr 1fr;
    gap:24px;
    padding-block:50px;
  }
  .hero h1 {
    font-size:clamp(30px,4.6vw,40px);
  }
  .hello {
    margin-top:25px;
    font-size:17px;
  }
  .hero-description {
    font-size:13px;
    margin-top:20px;
  }
  .hero-actions {
    flex-wrap:wrap;
    gap:8px;
    margin-top:22px;
  }
  .hero-actions .button {
    padding:11px 14px;
    gap:16px;
    font-size:11px;
    min-height:44px;
  }
  .hero-art {
    padding:16px;
  }
  .art-topline {
    font-size:7px;
  }
  .art-bottomline {
    font-size:10px;
  }
  .art-bottomline strong {
    font-size:13px;
  }
  .expertise-band .shell {
    gap:10px;
    font-size:10px;
    min-height:65px;
  }
  .band-label {
    font-size:8px;
    max-width:80px;
  }
  .section {
    padding-block:70px;
  }
  h2 {
    font-size:34px;
  }
  .about-copy>.large-copy {
    font-size:17px;
  }
  .about-facts {
    gap:30px;
  }
  .about-facts strong {
    font-size:24px;
  }
  .experience-layout,.credentials-layout {
    grid-template-columns:1fr;
    gap:40px;
  }
  .experience-layout .section-heading h2 br,.credentials-layout h2 br {
    display:none;
  }
  .experience-layout .section-heading h2 {
    max-width:500px;
  }
  .project-grid {
    grid-template-columns:1fr;
    gap:30px;
  }
  .project-grid .project-card {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:25px;
  }
  .project-grid .project-content {
    padding:6px 0;
  }
  .project-visual {
    height:225px;
  }
  .project-meta {
    font-size:8px;
  }
  .project-content h3 {
    font-size:22px;
  }
  .skill-column {
    padding-inline:18px;
  }
  .skill-column h3 {
    font-size:19px;
  }
  .credential-row h3 {
    font-size:15px;
  }
  .credential-date {
    font-size:10px;
  }
  .contact-inner {
    gap:35px;
  }
  .contact-section h2 {
    font-size:38px;
  }
  .email-link {
    font-size:18px;
    gap:13px;
  }
  .contact-links .text-link,.copy-email {
    font-size:10px;
  }
  .site-footer {
    flex-wrap:wrap;
    justify-content:space-between;
    padding-block:20px;
    gap:8px 25px;
  }
  .site-footer>p:nth-child(2) {
    display:none;
  }
  .archive-card {
    padding:23px;
  }
}

@media(max-width:600px) {
  html {
    scroll-padding-top:88px;
  }
  .shell {
    width:calc(100% - 40px);
  }
  .site-header {
    backdrop-filter:none;
    background:var(--paper);
  }
  .header-inner {
    padding-block:12px;
    min-height:68px;
  }
  .brand {
    font-size:20px;
  }
  #primary-nav {
    gap:4px;
  }
  #primary-nav>a {
    width:calc(50% - 4px);
    padding:12px;
    min-height:44px;
  }
  #primary-nav .nav-cv {
    justify-content:space-between;
    padding-inline:12px;
  }
  .hero {
    grid-template-columns:1fr;
    gap:40px;
    padding-block:46px 40px;
  }
  .hero-copy>.eyebrow {
    font-size:9px;
  }
  .hello {
    margin-top:30px;
    font-size:18px;
  }
  .hero h1 {
    font-size:clamp(35px,10.4vw,60px);
  }
  .hero-description {
    font-size:14px;
    line-height:1.85;
    max-width:440px;
  }
  .hero-actions {
    gap:10px;
    margin-top:26px;
  }
  .hero-actions .button {
    padding:13px 18px;
    min-height:49px;
    font-size:12px;
    gap:24px;
  }
  .hero-art {
    padding:20px;
    max-width:420px;
    width:100%;
    justify-self:center;
  }
  .art-topline {
    font-size:8px;
  }
  .art-bottomline strong {
    font-size:15px;
  }
  .expertise-band .shell {
    padding-block:20px;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:9px 12px;
    font-size:10px;
  }
  .band-label {
    max-width:none;
    width:100%;
    margin-bottom:5px;
  }
  .band-plus {
    font-size:12px;
  }
  .section {
    padding-block:60px;
  }
  .section-heading>.eyebrow {
    margin-bottom:18px;
  }
  h2 {
    font-size:35px;
  }
  .about-section {
    grid-template-columns:1fr;
    gap:28px;
  }
  .about-section h2 br {
    display:none;
  }
  .about-section h2 {
    max-width:320px;
  }
  .about-section h2 .muted::before {
    content:' ';
  }
  .about-copy>.large-copy {
    font-size:18px;
  }
  .about-facts {
    gap:45px;
  }
  .experience-layout,.credentials-layout {
    gap:35px;
  }
  .experience-layout .section-heading h2 {
    max-width:330px;
  }
  .timeline {
    padding-left:22px;
  }
  .experience-item::before {
    left:-27px;
  }
  .experience-top {
    gap:8px;
    flex-wrap:wrap;
  }
  .experience-date {
    font-size:9px;
  }
  .experience-item h3 {
    font-size:21px;
  }
  .section-title-row {
    align-items:flex-start;
    flex-direction:column;
    gap:18px;
  }
  .section-title-row .eyebrow {
    margin-bottom:18px;
  }
  .section-title-row>.text-link {
    font-size:12px;
  }
  .section-intro {
    margin-top:18px;
  }
  .desktop-break {
    display:none;
  }
  .project-grid {
    margin-top:28px;
    gap:40px;
  }
  .project-grid .project-card {
    display:block;
  }
  .project-grid .project-content {
    padding-top:20px;
  }
  .project-visual {
    height:240px;
  }
  .road-lane {
    left:40%;
  }
  .movie-window {
    height:153px;
    max-width:280px;
  }
  .movie-feature {
    height:75px;
  }
  .chat-bubble {
    top:159px;
  }
  .project-content h3 {
    font-size:25px;
  }
  .project-content>p {
    font-size:14px;
  }
  .project-meta {
    font-size:8px;
  }
  .project-content .tags li {
    font-size:10px;
  }
  .skills-grid {
    grid-template-columns:1fr;
    gap:28px;
    margin-top:32px;
  }
  .skill-column,.skill-column:first-child,.skill-column:last-child {
    border-left:0;
    padding:0 0 28px;
    border-bottom:1px solid var(--line);
  }
  .skill-column:last-child {
    border-bottom:0;
    padding-bottom:0;
  }
  .skill-column h3 {
    margin-top:10px;
    font-size:23px;
  }
  .skill-column p {
    font-size:13px;
  }
  .skill-column .tags {
    margin-top:18px;
    max-width:none;
  }
  .tags li {
    font-size:11px;
  }
  .credential-row {
    gap:12px;
    flex-wrap:wrap;
    padding-block:18px;
    position:relative;
  }
  .credential-row>div {
    flex:1;
  }
  .credential-row h3 {
    font-size:14px;
  }
  .credential-date {
    width:100%;
    margin-left:54px;
    font-size:9px;
    margin-top:-5px;
  }
  .education-main {
    display:block;
  }
  .education-main h2 {
    font-size:28px;
  }
  .degree {
    font-size:13px;
  }
  .education-date {
    display:block;
    margin-top:18px;
  }
  .community-grid {
    grid-template-columns:1fr;
    gap:25px;
  }
  .community-grid p span {
    display:block;
  }
  .contact-section {
    padding-block:55px 38px;
  }
  .contact-inner {
    flex-direction:column;
    align-items:stretch;
    gap:32px;
  }
  .contact-actions {
    width:100%;
  }
  .contact-section h2 {
    font-size:43px;
  }
  .contact-section p:not(.eyebrow) {
    font-size:13px;
  }
  .email-link {
    font-size:21px;
    justify-content:space-between;
  }
  .contact-links .text-link,.copy-email {
    font-size:12px;
    min-height:44px;
  }
  .site-footer {
    font-size:9px;
    gap:15px;
  }
  .page-intro {
    padding-block:28px 38px;
  }
  .back-link {
    margin-bottom:32px;
  }
  .page-intro h1 {
    font-size:48px;
  }
  .page-intro>p:not(.eyebrow) {
    font-size:14px;
  }
  .project-tools {
    gap:16px;
  }
  .filters {
    gap:3px;
    width:100%;
  }
  .filter-button {
    font-size:10px;
    padding:9px 10px;
  }
  .search-box {
    width:100%;
  }
  .search-box input {
    width:100%;
    min-height:28px;
  }
  .archive-grid {
    grid-template-columns:1fr;
    gap:18px;
  }
  .archive-card {
    padding:23px;
    scroll-margin-top:90px;
  }
  .archive-card .project-content h3 {
    font-size:23px;
  }
  .archive-main {
    padding-bottom:50px;
  }
  .archive-section {
    padding-block:38px;
  }
  .archive-section h2 {
    font-size:29px;
  }
  .full-credentials {
    margin-top:15px;
  }
  .full-credentials .credential-mark {
    width:42px;
    height:42px;
  }
  .full-credentials h3 {
    font-size:15px;
  }
  .full-credentials .credential-date {
    font-size:9px;
  }
  .recognition-grid {
    grid-template-columns:1fr;
    gap:18px;
  }
  .recognition-card {
    padding:25px;
  }
  .education-history article {
    flex-direction:column;
    gap:10px;
  }
  .education-history h3 {
    font-size:19px;
  }
  .learning-details summary {
    font-size:20px;
  }
  .learning-details ul {
    columns:1;
  }
  .error-main {
    padding-block:65px;
  }
  .error-main h1 {
    font-size:48px;
  }
}

@media(max-width:360px) {
  .hero h1 {
    font-size:35px;
  }
  .hero-copy>.eyebrow {
    font-size:8px;
  }
  .hero-actions .button {
    font-size:11px;
    gap:18px;
    padding-inline:14px;
  }
  .experience-date {
    width:100%;
    margin-left:0;
  }
  .email-link {
    font-size:18px;
  }
}

/* Shared rows keep featured titles, descriptions, and skills aligned even
   when one project has more tools or a longer description. */
@supports (grid-template-rows:subgrid) {
  @media(min-width:861px) {
    .project-grid {
      row-gap:0;
    }
    .project-grid .project-card {
      display:grid;
      grid-template-rows:subgrid;
      grid-row:span 5;
    }
    .project-grid .project-content {
      display:grid;
      grid-template-rows:subgrid;
      grid-row:span 4;
    }
    .project-grid .project-skills {
      margin-top:0;
    }
  }
}

.recognition-section { position:relative; }

/* Contact dialog and short, interaction-led motion. */
.contact-button {
  background:var(--lime);
  color:var(--dark);
  border-color:var(--lime);
  width:100%;
  min-width:0;
  justify-content:space-between;
}
.contact-button:hover { background:#e7efca; }
.footer-controls { display:flex; align-items:center; gap:24px; }
.footer-controls a { white-space:nowrap; }
.footer-controls a span { margin-left:8px; }
.motion-toggle {
  border:1px solid var(--line);
  border-radius:20px;
  padding:8px 12px;
  min-height:36px;
  white-space:nowrap;
  font:inherit;
}
.motion-toggle:disabled { cursor:default; }
.reading-progress {
  position:fixed;
  inset:0 0 auto;
  height:3px;
  background:var(--green);
  transform:scaleX(0);
  transform-origin:left;
  z-index:110;
  pointer-events:none;
}
body.dialog-open { overflow:hidden; }
.contact-dialog {
  width:min(640px,calc(100% - 32px));
  max-height:calc(100dvh - 40px);
  margin:auto;
  padding:38px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 24px 100px #132e3050;
  overscroll-behavior:contain;
}
.contact-dialog::backdrop { background:#10241dcc; }
.dialog-close {
  position:absolute;
  right:12px;
  top:12px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  font-size:28px;
  line-height:1;
}
.dialog-close:hover { background:var(--tint); }
.form-heading .eyebrow { margin-bottom:12px; }
.form-heading h2 { font-size:38px; padding-right:16px; }
.form-heading p:last-child { font-size:13px; margin-top:12px; }
.contact-form { margin-top:25px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-field { display:flex; flex-direction:column; gap:7px; margin-bottom:17px; min-width:0; }
.form-field label { font-size:12px; font-weight:600; }
.form-field label span { color:var(--muted); font-weight:400; }
.form-field input,.form-field textarea {
  width:100%;
  min-width:0;
  border:1px solid #b9c4b8;
  border-radius:6px;
  background:#fff;
  font-size:14px;
  line-height:1.5;
  padding:11px 12px;
  transition:border-color .2s,box-shadow .2s;
}
.form-field input:focus,.form-field textarea:focus {
  border-color:var(--green);
  box-shadow:0 0 0 3px #244d3c12;
}
.form-field textarea { resize:vertical; min-height:115px; max-height:320px; }
.form-field input::placeholder,.form-field textarea::placeholder { color:#7d867e; }
.message-count { font:10px/1.4 var(--mono); color:var(--muted); align-self:flex-end; }
.form-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
.form-privacy { font-size:11px; margin-top:-3px; }
.form-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 22px; margin-top:20px; }
.form-actions .submit-label { font-size:13px; line-height:1.4; transform:none; }
.form-actions .text-link { font-size:11px; }
.form-actions button:disabled { cursor:default; opacity:.65; }
.form-status { font-size:12px; margin-top:13px; min-height:20px; }
.form-status.is-error { color:#963f31; }
.form-success { text-align:center; padding:34px 0 20px; }
.form-success:focus { outline:none; }
.success-mark {
  display:grid; place-items:center;
  width:64px; height:64px; margin:0 auto 24px;
  border:1px solid #bbcaa4; border-radius:50%;
  background:var(--lime); color:var(--green); font-size:28px;
}
.form-success h3 { font-size:30px; }
.form-success p { font-size:14px; margin:16px auto 25px; max-width:390px; }
html.motion-off { scroll-behavior:auto; }
.motion-off *,.motion-off *::before,.motion-off *::after { animation:none!important; transition:none!important; }
.motion-off .reading-progress { display:none; }
.motion-off .arrow-icon { transform:none!important; }
.motion-off .visual-link:hover .project-visual { transform:none; }
.motion-off .project-card:hover .car { transform:rotate(34deg); }
.motion-off .project-card:hover .chat-bubble { transform:rotate(-5deg); }
@media(max-width:600px) {
  .contact-dialog { padding:30px 22px 22px; }
  .form-heading h2 { font-size:31px; }
  .form-row { grid-template-columns:1fr; gap:0; }
  .form-field { margin-bottom:14px; }
  .form-field input,.form-field textarea { font-size:16px; }
  .form-actions { align-items:stretch; flex-direction:column; gap:12px; }
  .form-actions .text-link { align-self:center; }
  .form-success h3 { font-size:26px; }
  .footer-controls { gap:20px; }
}

.arrow-icon {
  --arrow-x:2px;
  --arrow-y:-2px;
  display:inline-flex;
  width:1em;
  height:1em;
  flex:0 0 auto;
  vertical-align:-.12em;
  transform:translate3d(0,0,0);
  transition:transform .38s var(--motion-ease);
}
.arrow-icon svg { width:100%; height:100%; }
.arrow-icon[data-direction="down"] { --arrow-x:0px; --arrow-y:3px; }
.arrow-icon[data-direction="up"] { --arrow-x:0px; --arrow-y:-3px; }
.arrow-icon[data-direction="down-right"] { --arrow-x:2px; --arrow-y:2px; }
@media(prefers-reduced-motion:no-preference) {
  :is(a,button):focus-visible:not(:disabled) > .arrow-icon {
    transform:translate3d(var(--arrow-x),var(--arrow-y),0);
  }
}

.archive-card {
  transition:border-color .25s ease,box-shadow .25s ease;
}

@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  :is(a,button):hover:not(:disabled) > .arrow-icon {
    transform:translate3d(var(--arrow-x),var(--arrow-y),0);
  }
  .archive-card:hover {
    border-color:#b2c3a4;
    box-shadow:0 9px 24px #193d3009;
  }
  .project-card:hover .focus-frame::before {
    animation:vision-scan 1.1s ease-in-out 1;
  }
  .car,.chat-bubble {
    transition:transform .7s var(--motion-ease);
  }
  .project-card:hover .car {
    transform:translate(-7px,11px) rotate(34deg);
  }
  .project-card:hover .chat-bubble {
    transform:translateY(-5px) rotate(0deg);
  }
}

@keyframes vision-scan {
  0%,100% { transform:translateY(0); }
  30% { transform:translateY(-38px); }
  70% { transform:translateY(42px); }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
  }
  .arrow-icon,.visual-link:hover .project-visual {
    transform:none;
  }
  .reading-progress { display:none; }
}

@media print {
  body {
    background:white;
    font-size:11pt;
  }
  .shell {
    width:100%;
  }
  .site-header,.hero-art,.expertise-band,.hero-actions,.project-visual,.contact-section,.site-footer,.project-tools,.text-link,.button,.contact-dialog,.reading-progress {
    display:none!important;
  }
  .hero,.about-section,.experience-layout,.credentials-layout {
    display:block;
  }
  .hero,.section,.archive-section {
    padding-block:20px;
  }
  h1 {
    font-size:36pt;
  }
  h2 {
    font-size:24pt;
  }
  .section-heading {
    margin-bottom:20px;
  }
  .project-grid,.archive-grid,.skills-grid {
    display:block;
  }
  article {
    break-inside:avoid;
    margin-bottom:20px;
  }
  .section-tinted {
    background:white;
  }
  .tags {
    margin-top:10px;
  }
}
