@font-face {
  font-family: Archivo;
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Plex;
  src: url("/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #101210;
  --ink: #f2f4eb;
  --muted: #a2aaa0;
  --line: #31372e;
  --accent: #c6f477;
  --sans: Archivo, Arial, sans-serif;
  --mono: Plex, monospace;
  --gutter: clamp(24px, 5vw, 84px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 36px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: #101210;
}
img {
  max-width: 100%;
  object-fit: cover;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1560px;
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.eyebrow {
  font: 10px/1.6 var(--mono);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--muted);
}
.skip {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  padding: 12px 20px;
  background: var(--accent);
  color: #101210;
}
.skip:focus {
  transform: none;
}
.site-header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.identity {
  display: flex;
  align-items: center;
  gap: 17px;
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.08em;
}
.identity-name {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.site-header nav {
  display: flex;
  gap: 38px;
  font-size: 13px;
}
.header-email {
  font-size: 13px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.header-email > span {
  font-size: 21px;
  color: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  min-height: 770px;
  gap: 24px;
  padding-block: 68px 80px;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.hero-copy a,
.hero-copy button {
  pointer-events: auto;
}
.hero-copy > .eyebrow {
  margin-bottom: 25px;
}
.hero h1 {
  font-size: clamp(108px, 10.2vw, 160px);
  line-height: 0.82;
  font-weight: 600;
  letter-spacing: -0.085em;
  margin-left: -7px;
}
.name-line {
  display: block;
}
.name-line i {
  color: var(--accent);
  font-style: normal;
}
.hero-description {
  font-size: clamp(23px, 2.2vw, 33px);
  line-height: 1.24;
  letter-spacing: -0.04em;
  margin-top: 34px;
}
.hero-context {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 405px;
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 31px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 21px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #172010;
  font-size: 13px;
  border-radius: 6px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #d6ff96;
  color: #11190a;
  transform: translateY(-2px);
}
.button > span {
  font-size: 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  background: none;
  color: var(--ink);
}
.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.hero-model {
  min-width: 0;
  position: relative;
  margin-left: -60px;
  margin-right: -35px;
}
.stage {
  position: relative;
  height: 650px;
  isolation: isolate;
}
.scene-host {
  position: absolute;
  inset: 0 0 35px;
  touch-action: pan-y;
}
.scene-host canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.scene-host canvas:active {
  cursor: grabbing;
}
.monogram-fallback {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}
.scene-ready .monogram-fallback {
  visibility: hidden;
}
.scene-toolbar {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px;
  border: 1px solid #ffffff1a;
  border-radius: 12px;
  background: #191e17ee;
  box-shadow: 0 10px 30px #0003;
  white-space: nowrap;
}
.material-controls {
  display: flex;
  gap: 2px;
}
.material-controls button {
  border: 0;
  background: none;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 11px;
  color: #b2b9ac;
  transition:
    background 0.2s,
    color 0.2s;
}
.material-controls button:hover {
  color: #f0f5e8;
  background: #ffffff09;
}
.material-controls button[aria-pressed="true"] {
  background: #c6f477;
  color: #172210;
}
.icon-button {
  border: 0;
  border-radius: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #ffffff05;
  color: #c5cdbc;
}
.icon-button:hover {
  background: #ffffff13;
  color: var(--accent);
}
.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene-expand {
  position: absolute;
  right: 35px;
  top: 25px;
  z-index: 3;
  border: 1px solid var(--line);
  background: #171b15;
}
.scene-help {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font: 10px var(--mono);
  color: var(--muted);
}
.scene-motion {
  right: 77px;
}
.expanded .scene-motion {
  right: 0;
}
.section-heading {
  margin-bottom: 42px;
}
.section-heading h2 {
  font-size: clamp(34px, 4.3vw, 62px);
}
.section-heading > .eyebrow {
  margin-bottom: 14px;
}
.work-section {
  padding-block: 68px 0;
  border-top: 1px solid var(--line);
}
.work-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 42px;
  padding: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #1d2219, #151914 72%);
  border-radius: 18px;
}
.work-identity h3 {
  font-size: 27px;
  line-height: 1.07;
  letter-spacing: -0.055em;
}
.work-identity > p {
  font: 10px/1.9 var(--mono);
  color: var(--muted);
  margin-top: 20px;
}
.work-description h4 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.work-description > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.work-description ul {
  padding-left: 16px;
  margin: 22px 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.work-description li {
  padding-left: 4px;
  margin: 6px 0;
}
.work-description li::marker {
  color: #6d8f4d;
}
.about-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 8%;
  padding-block: 70px;
  margin-top: 50px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-portrait {
  position: relative;
}
.about-portrait img {
  display: block;
  width: 220px;
  height: 260px;
  filter: grayscale(1);
  border-radius: 2px;
}
.about-portrait:before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid #71815b55;
  pointer-events: none;
}
.about-copy h2 {
  font-size: clamp(30px, 3.2vw, 46px);
  margin-bottom: 25px;
}
.about-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 15px;
}
.about-copy .text-link {
  margin-top: 8px;
}
.resume {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 9%;
  padding-block: 90px;
}
.resume .section-heading h2 {
  font-size: 40px;
}
.stack .section-heading {
  padding-top: 28px;
}
.role {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-bottom: 36px;
  break-inside: avoid;
}
.role__head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.role__title {
  font-size: 19px;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.role__dates {
  font: 10px/2 var(--mono);
  color: var(--muted);
}
.role__org {
  font-size: 14px;
  margin-top: 8px;
}
.role__place {
  font-size: 11px;
  color: var(--muted);
}
.role__place:before {
  content: " / ";
  padding-inline: 4px;
}
.role__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.bullets {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  padding-left: 16px;
  margin: 15px 0 0;
}
.bullets li {
  padding-left: 4px;
  margin-bottom: 8px;
}
.bullets li::marker {
  color: #63724f;
}
.stack__list {
  margin: 0;
}
.stack__row {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.stack__row dt {
  font-size: 15px;
  margin-bottom: 12px;
}
.stack__row dd {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 65px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  background: #151912;
}
.site-footer h2 {
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.footer-email {
  display: inline-flex;
  gap: 35px;
  align-items: center;
  font-size: clamp(25px, 4vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1.2;
}
.footer-email > span {
  color: var(--accent);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  justify-content: flex-end;
  max-width: 320px;
}
.footer-links > a {
  font-size: 12px;
}
.footer-links > span {
  font: 9px var(--mono);
  color: var(--muted);
  flex-basis: 100%;
  text-align: right;
  margin-top: 8px;
}
#gallery {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-height: none;
  max-width: none;
  padding: 0 35px;
  margin: 0;
  border: 0;
  background: #101210;
  color: var(--ink);
  overflow: auto;
}
#gallery::backdrop {
  background: #101210;
}
.gallery-header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}
.gallery-header h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.06em;
  display: flex;
  align-items: center;
  gap: 24px;
}
.gallery-header h2 span {
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.close-button {
  display: flex;
  gap: 30px;
  align-items: center;
  background: #ffffff05;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
}
.close-button > span {
  font-size: 25px;
}
.close-button:hover {
  background: #ffffff10;
}
.expanded {
  height: calc(100dvh - 177px);
  min-height: 300px;
}
.expanded .scene-host {
  inset: 0 0 35px;
}
.expanded .scene-toolbar {
  bottom: 32px;
}
.expanded .scene-help {
  display: none;
}
.gallery-tools {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 85px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.gallery-tools input {
  width: 150px;
  accent-color: var(--accent);
}
.gallery-tools p {
  font: 10px var(--mono);
  color: var(--muted);
  margin-left: auto;
}
.not-found {
  max-width: 750px;
  margin: 10vh auto;
  padding: 40px var(--gutter);
}
.not-found h1 {
  font-size: clamp(60px, 10vw, 120px);
  margin-bottom: 30px;
}
.not-found p {
  color: var(--muted);
  margin-bottom: 30px;
}
.site-header a[aria-current="page"] {
  color: var(--accent);
}
.page-intro {
  padding-block: 80px 56px;
}
.page-intro h1 {
  font-size: clamp(76px, 10vw, 144px);
  letter-spacing: -0.075em;
  margin: 20px 0 30px -5px;
  line-height: 0.95;
}
.page-intro h1 i {
  color: var(--accent);
  font-style: normal;
}
.page-lead {
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.035em;
  max-width: 940px;
}
.page-context {
  max-width: 680px;
  color: var(--muted);
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.85;
}
.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 58px;
  border: 1px solid #536443;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 90% 10%, #39482c66, transparent 70%), #191e16;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.project-feature:hover {
  color: inherit;
  border-color: var(--accent);
  background-color: #1e251a;
}
.project-feature h2 {
  font-size: 76px;
  letter-spacing: -0.07em;
  margin: 18px 0 22px;
}
.project-feature-copy > p:not(.eyebrow) {
  font-size: 17px;
  max-width: 450px;
  color: var(--muted);
}
.project-feature .text-link {
  margin-top: 24px;
  color: var(--accent);
}
.project-map {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  grid-template-rows: repeat(3, 70px);
  align-items: center;
  gap: 24px 45px;
  font-size: 13px;
}
.map-core {
  grid-row: 1 / 4;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid #75914f;
  border-radius: 50%;
  font-size: 36px;
  letter-spacing: -0.07em;
  background: #26331b;
  position: relative;
  box-shadow:
    0 0 0 12px #b7ef6410,
    0 0 0 25px #b7ef6405;
}
.map-core:after {
  content: "";
  width: 24px;
  height: 1px;
  background: #718359;
  position: absolute;
  left: 100%;
}
.map-branch {
  border: 1px solid #465039;
  padding: 18px 15px;
  background: #1a2015;
  border-radius: 6px;
  position: relative;
  text-align: center;
}
.map-branch:before {
  content: "";
  width: 23px;
  height: 95px;
  position: absolute;
  right: 100%;
  top: 50%;
  border-left: 1px solid #718359;
  border-top: 1px solid #718359;
}
.map-branch:last-child:before {
  height: 0;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
  margin-top: 55px;
}
.project-card {
  border-top: 1px solid var(--line);
  padding: 35px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.project-card h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.project-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 530px;
}
.project-card .text-link {
  margin-top: auto;
}
.project-footnote {
  margin: 15px 0 70px;
  font-size: 13px;
  color: var(--muted);
}
.project-footnote a {
  margin-left: 10px;
}
.back-link {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 45px;
}
.os-intro {
  padding-top: 35px;
}
.os-intro h1 {
  font-size: clamp(110px, 13vw, 180px);
}
.project-facts {
  display: flex;
  gap: 65px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin: 40px 0 0;
}
.project-facts dt {
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  margin-bottom: 10px;
}
.project-facts dd {
  margin: 0;
  font-size: 13px;
}
.project-facts a {
  color: var(--accent);
}
.architecture {
  padding: 40px;
  border: 1px solid #49583c;
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 100% 0, #263b1550, transparent 70%), #171c14;
}
.architecture-heading h2 {
  font-size: 36px;
  margin-bottom: 14px;
}
.architecture-heading p {
  font-size: 14px;
  color: var(--muted);
}
.flow-tabs {
  display: flex;
  gap: 4px;
  margin-top: 30px;
  padding: 5px;
  background: #10150d;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: fit-content;
}
.flow-tabs button {
  background: none;
  border: 0;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--muted);
}
.flow-tabs button:hover {
  color: var(--ink);
}
.flow-tabs button[aria-selected="true"] {
  color: #172210;
  background: var(--accent);
}
.flow-panel {
  padding-top: 35px;
}
.flow-panel h3 {
  font-size: 19px;
}
.flow-panel[role="tabpanel"] h3 {
  display: none;
}
.flow-diagram {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
  padding: 0;
  margin: 0;
}
.flow-diagram li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  border: 1px solid #4e5e3f;
  border-radius: 10px;
  background: linear-gradient(140deg, #29341f, #1a2015 80%);
}
.flow-diagram li + li:before {
  content: "→";
  position: absolute;
  right: calc(100% + 11px);
  top: 45%;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}
.flow-number {
  font: 11px var(--mono);
  color: var(--accent);
  margin-bottom: 35px;
}
.flow-diagram strong {
  font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(20px, 2.3vw, 32px);
  line-height: 1.1;
  margin-bottom: 12px;
}
.flow-diagram li > span:last-child {
  color: #b0b8a5;
  font-size: 12px;
  line-height: 1.65;
}
.flow-note {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 30px;
  color: #b0b8a5;
  font-size: 13px;
  max-width: 760px;
}
.project-detail {
  padding-block: 75px 25px;
}
.project-detail > h2,
.project-status h2 {
  font-size: 36px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 65px;
  margin-top: 40px;
}
.detail-grid h3 {
  font-size: 22px;
  margin-bottom: 18px;
}
.detail-grid p,
.project-status p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.project-status {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 45px;
  border-top: 1px solid var(--line);
  padding: 40px 0 75px;
  margin-top: 35px;
}
.project-status .text-link {
  margin-top: 18px;
}
@media (min-width: 1700px) {
  .hero-model {
    margin-right: -65px;
  }
  .stage {
    height: 700px;
  }
  .hero {
    min-height: 840px;
  }
}
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 1.05fr;
    min-height: 700px;
    padding-block: 60px;
  }
  .hero h1 {
    font-size: 115px;
  }
  .hero-model {
    margin-left: -40px;
    margin-right: -25px;
  }
  .stage {
    height: 540px;
  }
  .work-row {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 30px;
    padding: 32px;
  }
  .site-footer {
    align-items: start;
  }
  .footer-links {
    max-width: 220px;
  }
  .resume {
    gap: 6%;
  }
  .material-controls button {
    padding: 8px 10px;
  }
}
@media (max-width: 760px) {
  .page-intro {
    padding-block: 45px 35px;
  }
  .page-intro h1 {
    margin-left: -3px;
  }
  .page-context {
    font-size: 13px;
    margin-top: 20px;
  }
  .project-feature {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-feature h2 {
    font-size: 64px;
  }
  .project-feature-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
  .project-map {
    max-width: 410px;
    width: 100%;
    margin-inline: auto;
    grid-template-columns: 1fr 1.6fr;
    font-size: 11px;
    gap: 20px 35px;
    grid-template-rows: repeat(3, 65px);
  }
  .map-core {
    font-size: 28px;
  }
  .map-core:after {
    width: 17px;
  }
  .map-branch {
    padding: 12px 9px;
  }
  .map-branch:before {
    width: 19px;
    height: 85px;
  }
  .project-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 35px;
  }
  .project-card {
    padding-block: 30px;
  }
  .project-card h2 {
    font-size: 27px;
  }
  .project-card p,
  .detail-grid p,
  .project-status p {
    font-size: 13px;
  }
  .os-intro {
    padding-top: 25px;
  }
  .back-link {
    margin-bottom: 35px;
  }
  .desktop-break {
    display: none;
  }
  .project-facts {
    flex-wrap: wrap;
    gap: 22px 35px;
    margin-top: 30px;
  }
  .project-facts dd {
    font-size: 12px;
  }
  .architecture {
    padding: 25px 20px;
    border-radius: 12px;
  }
  .architecture-heading h2,
  .project-detail > h2,
  .project-status h2 {
    font-size: 30px;
  }
  .architecture-heading p {
    font-size: 13px;
  }
  .flow-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    gap: 2px;
  }
  .flow-tabs button {
    font-size: 11px;
    padding: 9px 5px;
    line-height: 1.5;
  }
  .flow-diagram {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .flow-diagram li {
    min-height: 0;
    padding: 20px;
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
  }
  .flow-diagram li + li:before {
    content: "↓";
    right: calc(50% - 6px);
    top: -31px;
  }
  .flow-number {
    grid-row: 1 / 3;
    margin: 3px 0 0;
  }
  .flow-diagram strong {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .flow-note {
    font-size: 12px;
    margin-top: 25px;
  }
  .project-detail {
    padding-top: 50px;
  }
  .detail-grid article {
    margin-bottom: 30px;
  }
  .detail-grid h3 {
    font-size: 21px;
    margin-bottom: 14px;
  }
  .project-status {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 0;
    padding-bottom: 50px;
  }
  .site-header {
    height: 78px;
    gap: 20px;
  }
  .identity-name {
    display: none;
  }
  .site-header nav {
    gap: 20px;
    font-size: 12px;
  }
  .header-email {
    gap: 10px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 46px;
    padding-bottom: 38px;
  }
  .hero h1 {
    font-size: clamp(66px, 13.8vw, 104px);
    letter-spacing: -0.075em;
    line-height: 1.05;
    margin-left: -3px;
  }
  .name-line {
    display: inline;
  }
  .name-line + .name-line:before {
    content: " ";
    white-space: pre;
  }
  .hero-copy > .eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }
  .hero-description {
    font-size: 27px;
    margin-top: 22px;
    line-height: 1.2;
  }
  .hero-description br {
    display: none;
  }
  .hero-context {
    font-size: 13px;
    margin-top: 18px;
    max-width: 480px;
  }
  .hero-actions {
    margin-top: 23px;
    gap: 24px;
  }
  .hero-model {
    margin: 0 -20px;
  }
  .stage {
    height: 420px;
  }
  .scene-host {
    inset: 0 0 28px;
  }
  .scene-expand {
    top: 28px;
    right: 20px;
  }
  .scene-motion {
    right: 62px;
  }
  .scene-toolbar {
    bottom: 23px;
    padding: 5px;
  }
  .scene-help {
    font-size: 9px;
    bottom: 0;
  }
  .material-controls button {
    padding: 8px 13px;
  }
  .work-section {
    padding-top: 45px;
  }
  .section-heading {
    margin-bottom: 25px;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .work-row {
    padding: 28px 25px;
    grid-template-columns: 1fr;
    gap: 26px;
    border-radius: 12px;
  }
  .work-identity {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
  }
  .work-identity h3 {
    font-size: 27px;
  }
  .work-identity > p {
    font-size: 9px;
    text-align: right;
    margin-top: 2px;
  }
  .work-description h4 {
    font-size: 23px;
    margin-bottom: 15px;
  }
  .work-description > p {
    font-size: 13px;
  }
  .work-description ul {
    font-size: 12px;
  }
  .about-section {
    grid-template-columns: 140px 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 38px;
    padding-block: 45px;
  }
  .about-portrait img {
    width: 140px;
    height: 166px;
  }
  .about-copy h2 {
    font-size: 30px;
    margin-bottom: 18px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.8;
  }
  .resume {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 60px;
    padding-bottom: 45px;
  }
  .resume .section-heading h2 {
    font-size: 35px;
  }
  .stack .section-heading {
    padding-top: 0;
  }
  .role__title {
    font-size: 18px;
  }
  .role__dates {
    font-size: 9px;
  }
  .site-footer {
    padding-block: 40px;
    flex-direction: column;
    gap: 32px;
  }
  .footer-email {
    font-size: clamp(24px, 6.3vw, 42px);
    gap: 22px;
  }
  .site-footer h2 {
    font-size: 19px;
  }
  .footer-links {
    max-width: 100%;
    justify-content: flex-start;
    gap: 18px;
  }
  .footer-links > span {
    text-align: left;
    font-size: 8px;
  }
  .gallery-header {
    height: 76px;
  }
  .gallery-header h2 {
    font-size: 23px;
    gap: 15px;
  }
  .gallery-header h2 span {
    font-size: 10px;
  }
  .close-button {
    gap: 16px;
  }
  #gallery {
    padding-inline: 20px;
  }
  .expanded {
    height: calc(100dvh - 186px);
    min-height: 320px;
  }
  .gallery-tools {
    height: 110px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 22px;
    padding-block: 12px;
  }
  .gallery-tools p {
    flex-basis: 100%;
    margin: 0;
    text-align: center;
    font: 9px/1.7 var(--mono);
    max-width: 330px;
  }
  .gallery-tools input {
    width: 140px;
  }
  .gallery-tools label {
    font-size: 11px;
  }
}
@media (max-width: 430px) {
  .site-header {
    gap: 12px;
  }
  .site-header nav {
    gap: 15px;
    font-size: 11px;
  }
  .header-email {
    font-size: 11px;
    gap: 8px;
    white-space: nowrap;
  }
  .identity {
    font-size: 25px;
  }
  .hero {
    padding-top: 33px;
  }
  .hero-description {
    font-size: 25px;
  }
  .hero-context {
    line-height: 1.7;
  }
  .stage {
    height: 350px;
  }
  .scene-expand {
    top: 20px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .about-portrait img {
    width: 220px;
    height: 260px;
  }
  .about-portrait {
    width: 220px;
  }
  .work-identity h3 {
    font-size: 24px;
  }
  .work-identity > p {
    font-size: 8px;
  }
  .work-row {
    padding: 25px 20px;
  }
  .hero-actions {
    gap: 20px;
  }
  .button {
    padding: 13px 17px;
    font-size: 12px;
  }
  .text-link {
    font-size: 12px;
  }
  .material-controls button {
    padding: 8px 10px;
  }
  .scene-toolbar {
    gap: 5px;
  }
  .scene-toolbar .icon-button {
    width: 29px;
  }
  .role__head {
    gap: 6px;
  }
  .role__dates {
    flex-basis: 100%;
  }
  .expanded {
    min-height: 310px;
  }
  .gallery-header h2 span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  @page {
    margin: 14mm;
  }
  html {
    scroll-behavior: auto;
  }
  body {
    background: white;
    color: #111;
    font-size: 10pt;
  }
  .wrap {
    padding: 0;
  }
  .site-header,
  .hero-model,
  .hero-actions,
  .work-section,
  .site-footer,
  #gallery,
  .skip {
    display: none !important;
  }
  .hero {
    display: block;
    min-height: 0;
    padding: 0 0 20px;
  }
  .hero-copy > .eyebrow {
    color: #555;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: 40pt;
    letter-spacing: -0.06em;
    line-height: 1;
  }
  .name-line {
    display: inline;
  }
  .name-line + .name-line:before {
    content: " ";
  }
  .name-line i {
    color: #111;
  }
  .hero-description {
    font-size: 14pt;
    margin-top: 14px;
  }
  .hero-description br {
    display: none;
  }
  .hero-context {
    max-width: 100%;
    font-size: 10pt;
    color: #444;
    margin-top: 10px;
  }
  .about-section {
    grid-template-columns: 100px 1fr;
    gap: 25px;
    margin: 0;
    padding: 20px 0;
    border-color: #bbb;
  }
  .about-portrait img {
    width: 100px;
    height: 118px;
  }
  .about-portrait:before {
    display: none;
  }
  .about-copy h2 {
    font-size: 17pt;
    margin-bottom: 10px;
  }
  .about-copy > p:not(.eyebrow) {
    font-size: 9pt;
    color: #444;
    margin-bottom: 8px;
  }
  .about-copy a {
    font-size: 9pt;
  }
  .resume {
    display: block;
    padding-top: 25px;
  }
  .resume .section-heading {
    margin-bottom: 18px;
  }
  .resume .section-heading h2 {
    font-size: 22pt;
  }
  .role {
    border-color: #bbb;
    padding-top: 15px;
    margin-bottom: 23px;
  }
  .role__title {
    font-size: 12pt;
  }
  .role__dates {
    font-size: 8pt;
    color: #555;
  }
  .role__org {
    font-size: 10pt;
  }
  .role__place,
  .role__note,
  .bullets {
    color: #444;
    font-size: 9pt;
  }
  .bullets {
    line-height: 1.5;
  }
  .bullets li {
    margin-bottom: 5px;
  }
  .role__head {
    flex-wrap: nowrap;
  }
  .role__dates {
    flex-basis: auto;
  }
  .stack {
    break-before: avoid;
  }
  .stack .section-heading {
    padding-top: 10px;
  }
  .stack__row {
    border-color: #bbb;
    padding: 10px 0;
  }
  .stack__row dt {
    font-size: 10pt;
  }
  .stack__row dd {
    font-size: 9pt;
    color: #444;
    line-height: 1.5;
  }
  .eyebrow {
    color: #555;
  }
  a {
    color: #111;
  }
}

.hero-description span {
  display: block;
}
@media (max-width: 760px) {
  .hero-description span {
    display: inline;
  }
}
@media print {
  .hero-description span {
    display: inline;
  }
}
