:root {
  --paper: #eee6d3;
  --paper-ink: #292d26;
  --paper-muted: #52564a;
  --paper-rule: #c8c0ab;
  --header: 4.1rem;
  --chapter-space: clamp(3rem, 5vw, 4.75rem);
  --entry-space: clamp(1.2rem, 2vw, 1.75rem);
  --reading-measure: 68ch;
  scrollbar-color: #676b5c var(--ground);
}
.symbol-set { position: absolute; width: 0; height: 0; overflow: hidden; }
.masthead { container: portfolio-header / inline-size; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.wordmark, .bar, .section-nav, .brand-cluster { flex-shrink: 0; }
.section-nav { gap: clamp(.9rem, 2.1vw, 2rem); }
.section-nav a { font-family: var(--sans); font-size: .97rem; }
.section-jump {
  appearance: none; display: inline-grid; place-items: center; min-height: 44px; min-width: 44px;
  margin: 0; padding: 0; border: 0; background: transparent; color: var(--body);
  font: 400 .97rem/1.2 var(--sans); cursor: pointer; touch-action: manipulation;
}
.section-jump:is(:hover,:focus-visible,[aria-current="location"]) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: .42em; }
.section-jump:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
.section-nav .nav-resume { display: flex; align-items: center; gap: .35rem; color: var(--ink); }
.nav-resume .icon { color: var(--ember); width: 1.05em; height: 1.05em; }
.motion-switch:not([hidden]) { font-family: var(--sans); font-size: .84rem; gap: .3rem; white-space: nowrap; }
.motion-switch::before {
  content: ""; width: 1.4rem; height: .75rem; margin-inline-end: .14rem; border-radius: 1rem;
  background: radial-gradient(circle at 27% 50%,#d9d6c9 0 .19rem,transparent .22rem) #343930;
  box-shadow: inset 0 0 0 1px #77796a;
}
.motion-switch[aria-checked="true"]::before {
  background: radial-gradient(circle at 73% 50%,#ffc38f 0 .19rem,transparent .22rem) #503c2c;
  box-shadow: inset 0 0 0 1px #b27d52;
}
.menu-toggle:not([hidden]) { font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.summit { --foothill-overlap: clamp(5.1rem, 7.8vw, 7.25rem); }
.hero {
  display: block; min-height: clamp(25rem, 34vw, 33rem);
  padding-top: clamp(2.6rem, 4.35vw, 4.8rem);
  padding-bottom: calc(var(--foothill-overlap) + 2.75rem);
}
.hero h1 { font-size: clamp(3.4rem, 6.8vw, 6rem); letter-spacing: -.04em; overflow-wrap: anywhere; }
.hero .hero-tagline { width: fit-content; max-width: 100%; margin-top: 1.15rem; color: #e6c8a9; font: 600 clamp(1.05rem,1.48vw,1.35rem)/1.42 var(--sans); text-wrap: balance; }
.hero .hero-tagline span { display: inline-block; max-width: 100%; }
.hero-art {
  --crop-x: .65; --crop-y: .24; container-type: size; position: absolute; inset: auto 0 0;
  height: 79%; width: 100%; margin: 0;
  /* Feather the cropped sky before the first peak, then dissolve the foothills into the page. */
  mask-image: linear-gradient(to bottom, transparent, #0003 2%, #000b 5%, #000 9%, #000 90%, transparent);
}
/* Lay out the 1800 × 520 vector at its final cover size, then crop it in place. */
.hero-art > svg {
  --art-width: var(--framed-width, max(100cqw, calc(100cqh * 1800 / 520)));
  position: absolute;
  display: block;
  width: var(--art-width);
  max-width: none;
  height: auto;
  left: var(--framed-left, calc((100cqw - var(--art-width)) * var(--crop-x)));
  top: calc((100cqh - var(--art-width) * 520 / 1800) * var(--crop-y));
}
@media screen and (width > 840px) {
  .summit {
    /* Reserve the full height of the shared drawing as the desktop range widens. */
    --range-height: calc(100vw * 520 / 1800);
    --foothill-overlap: clamp(2.5rem, 3.5vw, 5.5rem);
  }
  .hero { min-height: max(clamp(25rem, 34vw, 33rem), calc(var(--range-height) + 4rem)); }
  .hero-art { height: max(79%, var(--range-height)); }
}
.field-desk { position: relative; container: shortcuts / inline-size; margin-top: calc(0px - var(--foothill-overlap)); z-index: 1; padding-block: clamp(.65rem,1.4vw,1.25rem) var(--chapter-space); }
.site-atmosphere::before, .contour-map {
  opacity: .33;
  mask-image: linear-gradient(90deg, #000d 0%, #0008 14%, #0003 31%, #0002 52%, #0003 73%, #0008 90%, #000d 100%);
}
.contour-guide { opacity: .14; }
.contour-lights {
  opacity: .7;
  mask-image: linear-gradient(90deg,#000b 4%,#0008 23%,#0005 44%,#0006 72%,#000a 95%);
}
.desk-objects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem clamp(.8rem, 2.6vw, 2.7rem); }
.desk-objects .pick { grid-row: span 2; grid-template-rows: subgrid; align-items: center; row-gap: 0; }
.desk-objects .stage { max-width: 15.75rem; justify-self: center; }
.pick { display: grid; min-width: 0; color: var(--ink); align-items: end; text-decoration: none; touch-action: manipulation; }
.pick, .reader a, .reader button { -webkit-tap-highlight-color: transparent; }
.pick:active .caption { color: var(--ember); }
.stage { display: grid; position: relative; width: 100%; container-type: inline-size; align-items: center; justify-items: center; }
.pick .stage { aspect-ratio: 1.52; }
.caption {
  display: inline-flex; justify-content: center; align-items: center; gap: .32em;
  min-height: 44px; font: 600 clamp(1rem, 1.18vw, 1.14rem)/1.25 var(--sans); text-align: center; text-wrap: balance;
}
.caption .icon { width: .76em; height: .76em; color: var(--ember); }
.pick:focus-visible, .reader button:focus-visible, .reader a:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.prop {
  display: block; position: relative; width: 90%; isolation: isolate; pointer-events: none; color-scheme: light;
  transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0deg));
  filter: drop-shadow(2px 8px 6px rgba(0,0,0,.43));
  transition: transform .24s cubic-bezier(.2,.75,.2,1), filter .24s ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .pick:hover .caption, .next:hover, .previous:hover, .put-back:hover { color: var(--ember); }
}
.casebook {
  --tilt: -8deg; width: 80%; aspect-ratio: 1.48; color: #302e23; background: #81513c;
  border-radius: 3px 6px 8px 2px; perspective: 600px; perspective-origin: 12% 46%;
}
.book-pages { position: absolute; inset: 3% -1% -2% 2%; border-radius: 2px 6px 5px 2px; background: #d4c19d; box-shadow: inset -2px -3px #b4a183, 0 1px 0 #725940; }
.book-flyleaf, .book-leaf { position: absolute; transform-origin: 4% 50%; backface-visibility: hidden; }
.book-flyleaf { inset: 2% 1% 2% 3%; overflow: hidden; border-radius: 2px 5px 4px 1px; background: linear-gradient(90deg,#bdab88,#e6d5af 37%,#eddfc4); }
.book-flyleaf svg { display: block; width: 100%; height: 100%; }
.book-flyleaf::after { content: ""; position: absolute; inset: 74% 0 auto 94%; height: 9%; background: #b2734e; }
.book-leaf { inset: 0; border-radius: inherit; background: linear-gradient(105deg,#a85c40,#bd7353 82%,#ad6449); box-shadow: inset 1px 1px #df9a76, inset -1px -2px #7c493a; }
.book-band { position: absolute; left: 4.8%; inset-block: 0; width: 5%; border-right: 1px dashed #dfac83; background: #794b3c; }
.book-label { position: absolute; left: 19%; top: 18%; width: 65%; height: 64%; padding: 5% 6%; background: #e7d1ab; transform: rotate(1.5deg); border: 1px solid #c6ab83; }
.book-label > span:first-child, .book-label > i { display: block; font: 400 8.9cqw/.9 var(--subheading); letter-spacing: -.035em; }
.book-label > i { font-style: italic; }
.book-rules { display: block; width: 49%; height: 7%; border-bottom: 1px solid #8b7660; margin-top: 7%; }
.book-clip { position: absolute; right: 15%; top: -5%; height: 24%; width: 5%; border: 2px solid #afa99a; border-top-color: #e3dbcb; border-radius: 6px; transform: rotate(8deg); box-shadow: 1px 1px 2px #55473799; }
.plan {
  --tilt: 5deg; --lift: .05rem; aspect-ratio: 1.67; width: 88%; padding: 7% 8%;
  color: #2d4539; background-color: #b7c4af;
  background-image: linear-gradient(90deg, transparent 49.6%, #5d74615c 49.9%, #e0e5cbaa 50.4%, transparent 53%),
    linear-gradient(90deg, #e0e5d054, transparent 32%, #65836b1f 49%, #eef1d82e 51%, transparent 66%);
  clip-path: polygon(0 1%,49.6% 0,100% 2%,99.6% 100%,50% 98%,0 100%);
}
.plan::before { content: ""; position: absolute; inset: 8% 6.5%; border: 1px solid #526658; }
.plan::after { content: ""; position: absolute; left: 6.5%; right: 6.5%; top: 49%; border-top: 1px solid #78917c; }
.plan-type { position: absolute; left: 12%; top: 13%; font: 600 9.6cqw/1.05 var(--brand); letter-spacing: -.015em; }
.plan-lines { position: absolute; bottom: 10%; left: 9%; width: 82%; height: 36%; color: #405b49; }
.plan-route { stroke-dasharray: 1; stroke-dashoffset: 1; }
.plan-fold { position: absolute; inset: 0 16% 0 auto; width: 1px; background: #8ea48c; }
.work-badge {
  --tilt: -5deg; width: 81%; aspect-ratio: 1.58; overflow: visible; color: #253d41; transform-origin: 52% 1%;
  border-radius: 5px; background: linear-gradient(125deg,#d8d8c6,#cdcdbb);
  box-shadow: inset 0 -2px #9aab9e, inset 0 2px #f0e6cf;
}
.work-badge::before { content: ""; position: absolute; inset: 0 0 78%; border-radius: 5px 5px 0 0; background: #607778; }
.badge-slot { position: absolute; top: 8%; left: 44%; width: 16%; height: 5.5%; border-radius: 4px; background: #2d3e3b; box-shadow: 0 1px #adc1ad; }
.badge-clip { position: absolute; left: 48%; top: -17%; height: 29%; width: 8%; border-radius: 2px 2px 4px 4px; background: linear-gradient(95deg,#84938a,#d4d2b9 33%,#a3afa6 70%,#84918b); transform: rotate(6deg); box-shadow: 1px 2px 3px #28332e58; }
.badge-clip::before { content: ""; position: absolute; top: 12%; left: 30%; width: 40%; aspect-ratio: 1; background: #697a71; border-radius: 50%; box-shadow: 0 1px #e1e1c9; }
.badge-monogram { position: absolute; left: 7%; top: 34%; width: 29%; height: 45%; display: grid; place-items: center; border: 1px solid #8c9e91; color: #dce1cb; background: #4b6867; font: 600 8.6cqw/1 var(--display); letter-spacing: -.04em; }
.badge-type { position: absolute; top: 39%; right: 4%; left: 41%; text-align: left; }
.badge-type > span { display: block; font: 600 3.9cqw/1.2 var(--sans); }
.badge-type i { display: block; margin-top: 4%; font: 400 7cqw/1 var(--subheading); letter-spacing: -.03em; }
.badge-rule { position: absolute; left: 8%; right: 8%; bottom: 11%; border-bottom: 1px solid #8c9e91; }
.gpu { --tilt: -5deg; --lift: -.15rem; aspect-ratio: 2.13; width: 85%; background: #455448; color: #e0e6d2; border-radius: 3px 9px 3px 3px; box-shadow: inset -1px -2px #26382e, inset 0 1px #7a8a73; }
.gpu::before,.gpu::after { content: ""; position: absolute; width: 2.6%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #b2b59b; background: #303c33; }
.gpu::before { left: 7%; top: 9%; } .gpu::after { right: 5%; bottom: 9%; }
.gpu-bracket { position: absolute; left: -3.5%; top: -8%; width: 5%; height: 117%; background: linear-gradient(90deg,#979b88,#d4d4be 48%,#6e766b); clip-path: polygon(0 0,100% 0,100% 100%,56% 100%,30% 83%,30% 9%,0 9%); }
.gpu-ports { position: absolute; left: -.5%; width: 4%; top: 21%; height: 60%; background: repeating-linear-gradient(to bottom,#b6beb0 0 17%,#313b35 17% 26%); border-left: 1px solid #bfc7b6; }
.gpu-traces { position: absolute; inset: 0; width: 100%; height: 100%; color: #95a17b; opacity: .8; }
.gpu-chip { position: absolute; left: 11%; top: 25%; padding: 2% 4% 3%; background: #303b32; font: 600 10cqw/.9 var(--brand); letter-spacing: -.02em; }
.gpu-chip span { display: block; margin-top: .52em; font: 400 3.5cqw/1 var(--mono); color: #d5cfa5; }
.blower { position: absolute; right: 9%; height: 80%; top: 8%; width: auto; }
.fan-rotor { transform-box: view-box; transform-origin: 50% 50%; }
.gpu-pins { position: absolute; left: 17%; bottom: -8.5%; width: 60%; height: 11%; background: repeating-linear-gradient(90deg,#cfac70 0 2.6%,#65553e 2.6% 3.6%); clip-path: polygon(0 0,100% 0,100% 100%,26% 100%,26% 36%,24% 36%,24% 100%,0 100%); }
.postcard { --tilt: 7deg; width: 80%; aspect-ratio: 1.52; padding: 3%; background: #f2e8cd; color: #2a332c; }
.post-view { display: block; position: relative; height: 79%; overflow: hidden; background: #80918b; }
.post-view img { position: absolute; width: 145%; max-width: none; height: 85%; left: -31%; bottom: -9%; object-fit: cover; }
.post-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,#e0c3a855,transparent 72%); }
.post-view::before { content: ""; position: absolute; z-index: 1; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(ellipse at 63% 35%,rgba(255,227,171,.68),rgba(246,179,104,.31) 24%,transparent 65%); }
.post-title { position: absolute; z-index: 2; top: 3%; left: 6%; font: 400 11cqw/1 var(--subheading); color: #f7f0dc; letter-spacing: -.035em; }
.post-title > span { font-size: .57em; }
.post-foot { display: block; margin-top: 3.1%; text-align: center; font: italic 400 4.4cqw/1.08 var(--subheading); }
.diploma { --tilt: -5deg; font-family: var(--subheading); aspect-ratio: 1.65; width: 84%; background: #eadebd; color: #384533; text-align: center; }
.diploma::before { content: ""; position: absolute; inset: 7%; border: 1px solid #748166; outline: 1px solid #a5a78c; outline-offset: -4px; }
.diploma::after { content: ""; position: absolute; inset: 0 auto 0 50%; width: 1px; background: #a99f7f59; }
.degree-school { position: absolute; inset: 20% 0 auto; font: 600 4.45cqw/1.2 var(--sans); }
.degree-type { position: absolute; top: 37%; right: 0; left: 0; font: 400 10cqw/1 var(--subheading); }
.degree-seal { position: absolute; bottom: 12%; left: 46%; width: 8%; aspect-ratio: 1; border: 2px double #9d833e; outline: 1px dotted #b19759; outline-offset: 1px; border-radius: 50%; background: #c2ac71; }
.degree-seal::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; background: linear-gradient(125deg,#ad8b46,#fff0bc 45%,#bf9654 72%); }
.wallet { --tilt: 5deg; width: 80%; aspect-ratio: 1.55; }
.credential-card { position: absolute; inset: 1% 3% 20%; padding: 5% 7%; border-radius: 5px; color: #3c4337; background: #d8c8a5; transform: rotate(-4deg); text-align: left; font: 600 4.5cqw/1 var(--sans); }
.credential-card b { float: right; }
.credential-card::after { content: ""; display: block; clear: both; width: 60%; height: 1px; margin-top: 8%; background: #9c8e71; }
.wallet-cover { position: absolute; inset: 23% 0 -1%; padding: 7% 10%; border-radius: 3px 4px 9px 8px; color: #ecdfbf; text-align: left; background: #58634b; box-shadow: inset 0 2px #748168, inset 0 -3px #3c4736; }
.wallet-cover::before { content: ""; position: absolute; inset: 6%; border: 1px dashed #a3ae86; border-radius: 3px 3px 8px 7px; }
.wallet-cover > span,.wallet-cover > i { display: block; font: 400 9cqw/.94 var(--subheading); }
.wallet-cover > i { font-style: italic; }

/* The resolved site setting controls both the terrain and the illustrated objects. */
html[data-ember-motion="on"] .pick:focus-visible { --handled: 1; --fan-play: running; }
@media (hover: hover) and (pointer: fine) {
  html[data-ember-motion="on"] :is(.pick,.reader-stage):hover { --handled: 1; --fan-play: running; }
}
.prop {
  transform: translateY(calc(var(--lift, 0px) - var(--handled, 0) * 4px)) rotate(calc(var(--tilt, 0deg) + var(--handled, 0) * var(--rock, 0deg)));
}
.work-badge { --rock: 8deg; }
.book-leaf {
  transform: rotateY(calc(var(--handled, 0) * -59deg));
  box-shadow: inset 1px 1px #df9a76, inset -1px -2px #7c493a, calc(var(--handled, 0) * 5px) 1px calc(var(--handled, 0) * 5px) #745e4640;
  transition: transform 460ms cubic-bezier(.2,.76,.23,1), box-shadow 360ms;
}
.book-flyleaf { transform: rotateY(calc(var(--handled, 0) * -9deg)); transition: transform 510ms cubic-bezier(.18,.72,.22,1); }
.plan-route { stroke-dashoffset: calc(1 - var(--handled, 0)); transition: stroke-dashoffset 520ms cubic-bezier(.25,.66,.3,1); }
.post-view::before, .degree-seal::after { opacity: var(--handled, 0); transition: opacity 420ms ease-out; }
.post-view img { transform: scale(calc(1 + var(--handled, 0) * .035)); transition: transform 580ms cubic-bezier(.2,.72,.26,1); }
.credential-card {
  transform: translateY(calc(var(--handled, 0) * -17%)) rotate(calc(-4deg - var(--handled, 0) * 3deg));
  transform-origin: 24% 94%; transition: transform 340ms cubic-bezier(.18,.81,.25,1);
}
html[data-ember-motion="on"]:not([data-page-hidden]) [data-in-view] .fan-rotor {
  animation: fan-turn 1.45s linear infinite;
  animation-play-state: var(--fan-play, paused);
}
@keyframes fan-turn { to { transform: rotate(1turn); } }
html:not([data-ember-motion="on"]) :is(.prop,.book-leaf,.book-flyleaf,.credential-card,.plan-route,.post-view img),
html:not([data-ember-motion="on"]) .post-view::before,
html:not([data-ember-motion="on"]) .degree-seal::after { transition: none; }

.chapter { --chapter-gap: clamp(2rem,5vw,5rem); container: chapter / inline-size; grid-template-columns: minmax(0,.7fr) minmax(0,1.8fr); gap: var(--chapter-gap); padding-block: var(--chapter-space); }
#about { border-top: 1px solid var(--line); }
.chapter .section-head h2 { font: 400 clamp(2.5rem,4vw,3.85rem)/1.03 var(--subheading); letter-spacing: -.032em; text-wrap: balance; overflow-wrap: anywhere; }
.section-body, .caption, .reader-text { overflow-wrap: anywhere; }
.section-body { padding-top: .2rem; }
.about-copy > p, .job-summary, .repo p { max-width: var(--reading-measure); line-height: 1.58; text-wrap: pretty; }
.about-copy > p + p { margin-top: .85rem; }
.about-copy .personal-lead, .contact-body > p { max-width: 40ch; color: #e7e3d6; font: 400 clamp(1.45rem,2.05vw,1.95rem)/1.33 var(--subheading); }
.degree-row, .credentials {
  container: object-pair / inline-size; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,clamp(9.5rem,15vw,14rem));
  align-items: center; gap: 1rem clamp(1.25rem,3vw,3rem);
}
.degree-row { margin-top: 1.85rem; padding-top: var(--entry-space); border-top: 1px solid var(--line-soft); }
.degree-row h3 { font: 600 1.28rem/1.25 var(--sans); color: var(--ink); }
.degree-row p { font-size: 1.06rem; line-height: 1.45; margin-top: .65rem; color: #dbdace; }
.degree-row p + p { margin-top: .85rem; }
.degree-row p span { font-size: .92em; color: var(--soft); }
.degree-row .pick, .credentials .pick { width: 100%; justify-self: start; }
.degree-row .stage, .credentials .stage { aspect-ratio: 1.6; }
.credential-list { list-style: none; margin: 0; padding: 0; }
.credential-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .12rem .9rem; padding-block: .7rem; }
.credential-list li:first-child { padding-top: 0; }
.credential-list li:last-child { padding-bottom: 0; }
.credential-list li + li { border-top: 1px solid var(--line-soft); }
.credential-list strong { font: 600 1.16rem/1.4 var(--sans); color: var(--ink); }
.credential-list span { font-size: .98rem; color: var(--soft); }
.job-list article + article, .repo + .repo { margin-top: var(--entry-space); padding-top: var(--entry-space); border-top: 1px solid var(--line-soft); }
.section-body article h3 { font: 600 clamp(1.4rem,1.82vw,1.78rem)/1.18 var(--sans); letter-spacing: -.016em; text-wrap: balance; }
.job-details { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem 1rem; margin: .32rem 0 .55rem; }
.job-list .role-date { margin: 0; color: #b7b7a9; font: 400 .94rem/1.45 var(--sans); font-variant-numeric: tabular-nums; }
.employer { color: #d8bc9f; font-weight: 600; }
.repo { padding: 0; }
.projects-chapter { grid-template-areas: "heading entries" "device entries"; grid-template-rows: auto 1fr; align-items: start; row-gap: 1.4rem; }
.projects-chapter .section-head { grid-area: heading; }
.projects-chapter .repo-list { grid-area: entries; }
.projects-chapter .pick-gpu { grid-area: device; width: min(100%, 14.75rem); justify-self: start; }
.projects-chapter .pick-gpu .stage { aspect-ratio: 1.93; }
#note-homebase { scroll-margin-top: .5rem; }
.repo-top { justify-content: flex-start; }
.repo-top a { text-decoration-color: #787b69; }
.repo-lang { font: 400 .9rem/1.4 var(--sans); }
.repo-meta { align-items: center; justify-content: flex-start; gap: .2rem 1rem; margin-top: .3rem; font-family: var(--sans); font-size: 1rem; }
.repo-meta a { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; }
.repo-meta .icon { width: .8em; }
.contact-chapter { align-items: start; }
.contact-body > p { max-width: 37ch; text-wrap: pretty; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem clamp(1.25rem,2.9vw,2.75rem); margin-top: 1.1rem; }
.profile-links { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.profile-link {
  display: inline-flex; align-items: center; gap: .58rem; min-height: 44px; padding: .46rem .78rem;
  border: 1px solid #6e7061; border-radius: 3px; color: var(--ink); background: #222620;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; touch-action: manipulation;
}
.brand-icon { flex: none; width: 1.06em; height: 1.06em; fill: currentColor; }
.profile-arrow { width: .76em; height: .76em; margin-inline-start: .2rem; color: #c3c2b1; }
.profile-link:is(:hover,:focus-visible) { border-color: #bc9d79; background: #2c3027; }
.profile-link:active { border-color: #d1b695; background: #33392e; }
.profile-link:focus-visible, .resume-download:focus-visible {
  outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 3px;
}
.resume-download {
  display: inline-flex; align-items: center; gap: .65rem;
  width: fit-content; max-width: 100%; min-width: 0; min-height: 44px; color: var(--ink);
  text-decoration: none; touch-action: manipulation; scroll-margin-top: calc(var(--header) + 1rem);
}
.resume-illustration { flex: none; width: clamp(4.25rem,5.7vw,5.75rem); max-width: 38%; height: auto; overflow: visible; filter: drop-shadow(1px 4px 3px #0c100c80); }
.resume-caption { display: grid; gap: .25rem; min-width: 0; overflow-wrap: anywhere; }
.resume-caption strong { font: 600 1.08rem/1.2 var(--sans); text-decoration: underline; text-decoration-color: #777b69; text-underline-offset: .22em; }
.resume-caption > span { font: 400 .85rem/1.3 var(--sans); color: #c2c2b2; }
.resume-download:is(:hover,:focus-visible,:active) strong { color: var(--ember); text-decoration-color: currentColor; }
html[data-ember-motion="on"] :is(.resume-download,.profile-link,.nav-resume):focus-visible { --contact-active: 1; }
@media (hover: hover) and (pointer: fine) {
  html[data-ember-motion="on"] :is(.resume-download,.profile-link,.nav-resume):hover { --contact-active: 1; }
}
.resume-paper { transform-origin: 65px 81px; transform: translateY(calc(var(--contact-active,0) * -11px)) rotate(calc(var(--contact-active,0) * -2deg)); }
.resume-glyph, .nav-resume .icon { transform: translateY(calc(var(--contact-active,0) * 1.6px)); }
.profile-arrow { transform: translate(calc(var(--contact-active,0) * 1.5px),calc(var(--contact-active,0) * -1.5px)); }
html[data-ember-motion="on"] .resume-paper { transition: transform 330ms cubic-bezier(.2,.76,.25,1); }
html[data-ember-motion="on"] :is(.resume-glyph,.nav-resume .icon,.profile-arrow) { transition: transform 190ms ease-out; }
.text-link { font-family: var(--sans); font-size: 1rem; }
.chapter:focus, #main:focus, .field-desk:focus { outline: none; }
/* Explicit Site motion choices govern section travel in the embedded preview as well. */
html[data-ember-motion="on"] section[data-arrival] > * { animation: section-arrival 380ms cubic-bezier(.2,.72,.3,1) backwards; }
section[data-arrival="down"] { --arrival-offset: 8px; }
section[data-arrival="up"] { --arrival-offset: -8px; }

.note-archive:empty, .note-source { display: none; }
.note-source:target { display: block; background: var(--paper); color: var(--paper-ink); max-width: 51rem; margin: 1rem auto 3rem; padding: clamp(1.4rem,4vw,3rem); }
.has-reader .note-source:target { display: none; }
.reader { color-scheme: light; position: fixed; inset: 0; width: min(58rem,calc(100% - 2.5rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; background: var(--paper); color: var(--paper-ink); overflow: auto; overscroll-behavior: contain; box-shadow: 4px 18px 48px #080c0966; }
.reader::backdrop { background: #0f130fcb; }
html:has(.reader[open]) { overflow: hidden; }
.reader-sheet { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); min-height: 24rem; }
html[data-ember-motion="on"] .reader[open] .reader-sheet { animation: open-note 165ms cubic-bezier(.22,.78,.25,1); }
html[data-ember-motion="on"] .reader[open]::backdrop { animation: veil-in 145ms ease-out; }
@keyframes open-note { from { transform: translateY(5px); opacity: .88; } to { transform: translateY(0); opacity: 1; } }
@keyframes veil-in { from { opacity: 0; } to { opacity: 1; } }
.reader-art { display: grid; position: relative; isolation: isolate; align-items: center; padding: 1rem .8rem; background: #41473a; }
.reader-art::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .46; background: url("./terrain-contours.svg?v=bd18d10a474e") 43% 58% / 48rem auto; }
.reader[data-kind="endpoint"] .reader-art { background-color: #574135; }
.reader[data-kind="hardware"] .reader-art { background-color: #394b40; }
.reader[data-kind="joeos"] .reader-art { background-color: #354645; }
.reader-stage .prop { width: 84%; }
.reader-stage .casebook { width: 84%; }
.reader-text { position: relative; min-width: 0; display: flex; flex-direction: column; padding: .55rem clamp(1.25rem,3.1vw,2.9rem) .55rem; }
.reader button { display: inline-flex; align-items: center; justify-content: center; gap: .5em; border: 0; padding: 0 .1rem; min-height: 44px; background: transparent; color: var(--paper-ink); font: 600 1rem/1.2 var(--sans); cursor: pointer; }
.reader .put-back { align-self: flex-end; }
.reader .put-back .icon { width: .9rem; }
.reader-content { margin: auto 0; padding: .7rem 0 1.5rem; }
.reader-content h2,.note-source h2 { color: var(--paper-ink); font: 400 clamp(2.25rem,3.5vw,3.3rem)/1.04 var(--subheading); letter-spacing: -.035em; text-wrap: balance; }
.note-source .byline,.reader .byline { color: var(--paper-muted); font: 600 .96rem/1.4 var(--sans); margin: .65rem 0 1.4rem; }
.note-copy { max-width: 56ch; font-size: 1.1rem; line-height: 1.57; text-wrap: pretty; }
.note-copy + .note-copy { margin-top: .65rem; }
.proof, .back-to-object { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; color: #68442f; font-weight: 600; text-decoration: underline; text-decoration-color: #a18b6d; text-underline-offset: .24em; }
.proof { margin-top: .65rem; }
.back-to-object { display: flex; width: fit-content; }
.proof .icon { width: .8em; }
.reader-nav { display: flex; align-items: center; min-height: 3.2rem; gap: .5rem; border-top: 1px solid var(--paper-rule); }
.reader-nav .previous { min-width: 44px; }
.previous .icon { transform: rotate(180deg); }
.reader-nav .next { margin-left: auto; }
.position { font: 400 .88rem/1.3 var(--mono); color: var(--paper-muted); font-variant-numeric: tabular-nums; }
.reader :is(button,a):hover { color: #7a4529; }
.reader :is(button,a):focus-visible { outline-color: #8a5632; }
.reader [hidden] { display: none; }

@media (min-width: 841px) and (max-width: 1030px) {
  .brand-cluster { gap: .55rem; }
  .section-nav { gap: .8rem; }
  .section-nav :is(a,.section-jump) { font-size: .91rem; }
}
@media (max-width: 840px), (orientation: landscape) and (max-height: 480px) and (max-width: 950px) {
  .menu-ready .section-nav .section-jump {
    display: flex; justify-content: flex-start; align-items: center; width: 100%; min-height: 48px;
    padding-block: .5rem; border-bottom: 1px solid var(--line-soft); font: 600 1.05rem/1.4 var(--sans); text-align: start;
  }
  .menu-ready .section-jump[aria-current="location"] { color: var(--ember); text-decoration: none; }
}
@media (width > 57rem) {
  /* The heading can borrow the gutter while leaving the credential list on its shared edge. */
  #certifications .section-head {
    inline-size: max-content;
    max-inline-size: calc(100% + var(--chapter-gap) - 1rem);
  }
}
@media (max-width: 57rem) {
  .chapter { grid-template-columns: minmax(0,1fr); gap: clamp(1.15rem,2.6vw,1.65rem); }
  .section-body { padding-top: 0; }
  .projects-chapter { grid-template-areas: "heading heading" "device entries"; grid-template-columns: minmax(0,.65fr) minmax(0,1.7fr); }
}
@media (max-width: 45rem) {
  .projects-chapter { grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "entries" "device"; grid-template-rows: auto; }
  .projects-chapter .pick-gpu { width: fit-content; max-width: 100%; grid-template-columns: min(5.75rem,26cqw) minmax(0,1fr); align-items: center; gap: min(.9rem,4cqw); }
  .projects-chapter .pick-gpu .caption { justify-content: flex-start; text-align: start; }
}
@media (max-width: 840px) {
  :root { --header: 3.6rem; }
  .menu-ready .bar { width: min(calc(100% - 2 * var(--gut)),75rem); }
  .menu-ready .brand-cluster { gap: clamp(.65rem,3vw,1.35rem); }
  .menu-ready .brand-cluster .motion-switch { margin-top: 0; }
  .menu-ready .section-nav .nav-resume { justify-content: flex-start; }
  .hero { min-height: clamp(23rem,49vw,28rem); padding-top: 2.6rem; }
  .hero h1 { font-size: clamp(3.5rem,8.4vw,4.75rem); }
  .hero-art { height: 71%; --crop-x: .61; --crop-y: .16; }
  .desk-objects { gap: .4rem; }
  .caption { font-size: 1rem; }
}
@media (max-width: 650px) {
  :root { --chapter-space: clamp(2.6rem,7.3vw,3.1rem); }
  .summit { --foothill-overlap: 3rem; }
  .hero {
    min-height: clamp(19rem,61vw,23rem); padding-top: clamp(2rem,6.8vw,2.7rem);
    /* Leave a band of mountain below the tagline as larger type narrows the text column. */
    padding-bottom: clamp(13rem,calc(26rem - 66vw),20rem);
  }
  .hero h1 { max-width: 100%; font-size: clamp(2.45rem,calc(1.45rem + 5.2vw),4.05rem); line-height: 1.02; }
  .hero .hero-tagline { font-size: 1.04rem; margin-top: .85rem; }
  .hero-art { height: min(55%,14rem); --crop-x: .64; --crop-y: .27; }
  .site-atmosphere::before, .contour-map { opacity: .28; mask-image: linear-gradient(90deg,#000b,#0008 23%,#0004 44%,#0005 65%,#0009 87%,#000c); }
  .contour-lights { opacity: .48; }
  .desk-objects { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem .8rem; }
  .pick .stage { aspect-ratio: 1.62; }
  .caption { font-size: 1rem; }
  .chapter .section-head h2 { font-size: clamp(2.2rem,7.6vw,2.7rem); }
  .contact-actions { gap: .85rem 1.25rem; }
  .reader { width: min(31rem,calc(100% - 1.1rem)); max-height: calc(100dvh - 1.15rem); }
  .reader-sheet { display: block; }
  .reader-art { height: clamp(6.4rem,19dvh,10rem); justify-items: center; padding: .3rem; }
  .reader-stage { width: min(43%,13rem); }
  .reader-text { padding: .25rem 1.25rem .25rem; }
  .reader-content { padding: .45rem 0 1rem; }
  .reader-content h2 { font-size: clamp(2rem,8vw,2.6rem); }
  .note-copy { font-size: 1.05rem; }
  .reader .byline { margin: .55rem 0 .9rem; }
}
@media (max-width: 365px) {
  .caption { gap: .2rem; }
}
@container object-pair (max-width: 34.75rem) {
  .degree-row > *, .credentials > * { grid-column: 1 / -1; }
  .degree-row .pick, .credentials .pick {
    width: fit-content; max-width: 100%; grid-template-columns: min(5.75rem,26cqw) minmax(0,1fr); align-items: center; gap: min(.9rem,4cqw);
  }
  .degree-row .caption, .credentials .caption { justify-content: flex-start; text-align: start; }
}
@container shortcuts (max-width: 17rem) {
  .desk-objects { grid-template-columns: minmax(0,1fr); }
  .desk-objects .pick { grid-row: auto; grid-template: auto / minmax(0,.38fr) minmax(0,.62fr); gap: .65rem; }
  .desk-objects .caption { justify-content: flex-start; text-align: start; }
}
@container portfolio-header (max-width: 19.75rem) {
  .menu-ready .bar { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 .35rem; }
  .menu-ready .brand-cluster { display: contents; }
  .menu-ready .wordmark { grid-area: 1 / 1; justify-self: start; }
  .menu-ready .menu-toggle { grid-area: 1 / 2; }
  .menu-ready .motion-switch { grid-area: 2 / 1 / 3 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-ember-motion="off"]) section[data-arrival] > * { animation-duration: 280ms; }
  section[data-arrival="down"] { --arrival-offset: 4px; }
  section[data-arrival="up"] { --arrival-offset: -4px; }
  .chapter[data-arrival] > .section-head { --arrival-offset: 0px; }
}
html[data-ember-motion="off"] { scroll-behavior: auto; }
@media (forced-colors: active) {
  .prop { forced-color-adjust: none; }
  .reader-art { border: 1px solid CanvasText; }
}
@media print {
  .masthead, .reader, .skip, .reader-nav, .put-back { display: none; }
  .note-source, .note-source:target, .has-reader .note-source:target { display: block; break-inside: avoid; margin-block: 1rem; }
  .back-to-object { display: none; }
  .hero { height: auto; padding: 1rem 0; }
  .hero-art { opacity: .25; }
  .field-desk { margin-top: 0; }
}
