@font-face {
  font-family: "Be Vietnam Pro";
  src: url("type/be-vietnam-pro-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Title";
  src: url("type/playfair-title.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("type/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
:root {
  --paper: #090b11;
  --surface: #121720;
  --on-accent: #07150f;
  --ink: #f2f6f5;
  --accent: #8cf5cc;
  --line: #303842;
  --muted: #a6b3bd;
  --mono: Consolas, "Liberation Mono", monospace;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  color-scheme: dark;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html.has-motion:has(a[href^="#"]:focus) {
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a,
button,
summary {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid #a4ffe3;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
.accent {
  color: var(--accent);
}
[hidden],
.resume {
  display: none !important;
}
.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: none;
  vertical-align: middle;
}
.shell {
  max-width: 1304px;
  width: calc(100% - clamp(48px, 10vw, 160px));
  margin-inline: auto;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  color: var(--on-accent);
  z-index: 20;
  background: var(--accent);
  padding: 14px;
}
.workshop {
  padding-block: clamp(56px, 7vw, 108px);
  border-block-end: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 82% 45%, #181a2a 0, transparent 54%),
    var(--paper);
}
.workshop-grid {
  display: grid;
  grid-template-columns: 1.05fr minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 100px);
}
.workshop h2 {
  margin-block: 16px 22px;
}
.workshop-lede {
  max-width: 51ch;
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
}
.workshop-notes {
  margin: 28px 0 0;
}
.workshop-notes div {
  border-top: 1px solid var(--line);
  padding-block: 14px;
  display: grid;
  grid-template-columns: minmax(7em, 0.62fr) 1.5fr;
  gap: 14px;
}
.workshop-notes dt {
  font-weight: 670;
}
.workshop-notes dd,
.sound-bench > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.sound-bench {
  padding: clamp(20px, 3.1vw, 48px);
  border: 1px solid #4c4d61;
  border-radius: 22px;
  background: linear-gradient(145deg, #252632, #141721 70%);
  box-shadow:
    inset 0 1px 0 #ffffff18,
    0 20px 50px #05070f66;
}
.bench-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.bench-top .kicker {
  color: #cbbeff;
}
.bench-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px #8cf5cc68;
}
.sound-bench h3 {
  margin: 16px 0 9px;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.bench-screen {
  margin-block: 20px 12px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #384843;
  border-radius: 8px;
  background-color: #0a1515;
  background-image:
    linear-gradient(#8cf5cc0b 1px, transparent 1px),
    linear-gradient(90deg, #8cf5cc0b 1px, transparent 1px);
  background-size: 16px 16px;
}
.bench-screen svg {
  display: block;
  width: 100%;
  height: 76px;
}
.scope-trace {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  vector-effect: non-scaling-stroke;
}
.bench-reading {
  color: var(--accent);
  font: 12px var(--mono);
}
.bench-keys {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.bench-keys button {
  display: grid;
  align-content: space-between;
  justify-items: start;
  min-height: 68px;
  padding: 9px;
  border: 1px solid #a8a8b7;
  border-bottom: 4px solid #7a7a8d;
  border-radius: 5px;
  background: linear-gradient(#e6e6eb, #cbcbd8);
  color: #21212b;
  font: bold 19px var(--mono);
}
.bench-keys small {
  font-size: 11px;
  font-weight: normal;
}
.bench-keys button:is(:active, .last-note) {
  background: #cbbcfb;
  border-color: #9d8ebd;
}
.has-motion .bench-keys button {
  transition: transform 150ms;
}
.has-motion .bench-keys button:active {
  transform: translateY(2px);
}
.sound-bench .inline-link {
  margin-top: 21px;
}
.profile-links {
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .workshop-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 420px) {
  .workshop-notes div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
.masthead {
  border-bottom: 1px solid var(--line);
  background: rgb(9 11 17 / 0.93);
  backdrop-filter: blur(17px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.nav-shell {
  height: 77px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.js .masthead {
  position: fixed;
  inset-inline: 0;
}
.js .web-page {
  padding-top: 78px;
}
@media (max-width: 760px) {
  .js .web-page {
    padding-top: 65px;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  letter-spacing: -1.6px;
  font-weight: 790;
  line-height: 1;
}
.brand-mark {
  width: 34px;
  height: 34px;
}
.nav-shell nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.7vw, 45px);
  margin-left: auto;
}
.nav-shell nav a,
.lang-link,
.nav-cta {
  font-size: 13px;
  font-weight: 630;
}
.nav-shell nav a {
  padding: 12px 0;
}
.nav-shell nav a:hover,
.lang-link:hover,
.footer a:hover,
.inline-link:hover,
.project-body h3 a:hover {
  color: var(--accent);
}
.nav-shell nav a[aria-current] {
  color: var(--accent);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-link,
.nav-cta,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.lang-link {
  min-height: 40px;
}
.lang-link .icon {
  width: 15px;
}
.nav-cta {
  padding: 10px 17px;
  background: #1a2528;
  border: 1px solid #3d5653;
  border-radius: 5px;
  color: white;
}
.nav-cta .icon {
  width: 14px;
  height: 14px;
}
.nav-cta:hover {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  height: 40px;
  width: 40px;
  border-radius: 4px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(48px, 7.2vw, 122px);
  padding-block: clamp(48px, 5.1vw, 85px) clamp(44px, 4.1vw, 70px);
}
.kicker,
.overline,
.portrait figcaption {
  font: 600 11px/1.45 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--accent);
}
.ribbon {
  display: inline-block;
  width: 25px;
  height: 13px;
  background: repeating-linear-gradient(
    112deg,
    var(--accent) 0 3px,
    transparent 3px 6px
  );
  transform: skewX(-6deg);
}
.slash {
  color: #9097a5;
}
.intro h1 {
  font-family: "Be Vietnam Pro", var(--sans);
  font-size: clamp(85px, 8.9vw, 145px);
  letter-spacing: -0.018em;
  word-spacing: 0.04em;
  font-weight: 600;
  line-height: 1.16;
  padding: 0.12em 0 0 0.025em;
  margin: 20px 0 23px;
}
.intro h1 .accent {
  margin-left: 0.01em;
}
.bio,
.section-copy,
.project-body > p,
.notes p,
.timeline li > p:last-child,
.skill-line p,
.lab-link small,
.contact p:not(.kicker) {
  color: var(--muted);
  line-height: 1.64;
}
.bio {
  max-width: 520px;
  font-size: clamp(15px, 1.12vw, 18px);
  margin: 13px 0 27px;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 5px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 650;
  min-height: 46px;
  transition:
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}
.primary {
  background: var(--accent);
  color: var(--on-accent);
  border: 1px solid var(--accent);
}
.primary:hover {
  background: #adffdc;
}
.secondary {
  border: 1px solid #44515a;
  background: #131820;
}
.secondary:hover {
  background: #202a32;
}
.portrait {
  min-width: 0;
  justify-self: end;
  width: 100%;
  max-width: 535px;
}
.photo-board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 86% 20%, #59487a80, transparent 48%),
    radial-gradient(ellipse at 77% 85%, #1f656166, transparent 54%),
    linear-gradient(139deg, #191c32 6%, #141c2b 54%, #112923);
  border: 1px solid #456061;
  box-shadow:
    0 26px 54px #0007,
    0 0 70px #568c8620;
  aspect-ratio: 1.23;
  border-radius: 16px;
}
.board-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#9bd9cf1c 1px, transparent 1px),
    linear-gradient(90deg, #9bd9cf1c 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(123deg, #000 3%, #0004 49%, #000);
}
.photo-board::before {
  content: "";
  pointer-events: none;
  position: absolute;
  right: -15%;
  top: 7%;
  width: 56%;
  aspect-ratio: 0.75;
  border-radius: 50%;
  transform: rotate(24deg);
  background: conic-gradient(
    from 32deg,
    transparent 0deg,
    #a3c8ea 36deg,
    #a58ee7 58deg,
    transparent 127deg,
    #59bfa0 202deg,
    #c2f5ec 240deg,
    transparent 303deg
  );
  mask-image: radial-gradient(
    ellipse,
    transparent 54%,
    #0008 58%,
    #000 60%,
    #0005 63%,
    transparent 69%
  );
}
.traces {
  position: absolute;
  right: -30%;
  top: -4%;
  width: 96%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(
    ellipse at center,
    transparent 0 12px,
    #b2fff158 12.5px 13px,
    transparent 13.5px 22px
  );
  transform: scaleX(0.67) rotate(-28deg);
  opacity: 0.84;
}
.photo-window {
  position: absolute;
  left: 5%;
  top: 5%;
  bottom: 5%;
  width: 65%;
  overflow: hidden;
  box-shadow: 0 3px 13px #13239260;
  background: #f1f0ed;
  border: 1px solid #dae7e466;
  border-radius: 8px;
  z-index: 1;
}
.photo-window img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 36%;
}
.photo-window:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 76%, #1017232b);
}
.photo-expand {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: #111c25d9;
  color: #fff;
  border-radius: 50%;
}
.photo-window:focus-visible {
  outline-offset: 3px;
}
.photo-window:hover .photo-expand,
.photo-window:focus-visible .photo-expand {
  background: var(--accent);
  color: var(--on-accent);
}
.signature {
  position: absolute;
  right: 0;
  width: 29%;
  text-align: center;
  bottom: 10%;
  z-index: 2;
  pointer-events: none;
  font:
    italic clamp(25px, 2.65vw, 42px)/1 Georgia,
    serif;
  letter-spacing: -0.085em;
  color: white;
  transform: rotate(-10deg);
  text-shadow: 0 1px 6px #11235a88;
}
.signature span {
  color: var(--accent);
}
.signature::after {
  content: "";
  display: block;
  height: 1px;
  width: 45%;
  margin: 6px auto 0;
  transform-origin: left;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 11px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.portrait figcaption span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.portrait figcaption .icon {
  width: 13px;
  height: 13px;
  color: var(--accent);
}
.disciplines {
  background: #10151b;
  border-block: 1px solid var(--line);
}
.discipline-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.discipline-inner > span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 620;
  letter-spacing: -0.018em;
}
.discipline-inner > .overline {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.discipline-inner .icon {
  width: 21px;
  height: 21px;
  color: var(--accent);
}
.section,
.experience-section,
.contact {
  padding-block: clamp(62px, 6.1vw, 104px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 29px;
}
.rule {
  width: 24px;
  height: 2px;
  background: currentColor;
}
h2 {
  font-size: clamp(39px, 4.1vw, 68px);
  font-weight: 650;
  letter-spacing: -0.039em;
  line-height: 1.09;
  margin-top: 11px;
}
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 660;
  border-bottom: 1px solid #4b595d;
  padding-block: 4px;
}
.inline-link .icon {
  width: 14px;
  height: 14px;
}
.section-head > .inline-link {
  margin-bottom: 6px;
}
.filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  width: fit-content;
  max-width: 100%;
  padding: 5px;
  border-radius: 22px;
  background: #111820;
  border: 1px solid #303d47;
}
.filters button {
  border: 1px solid transparent;
  border-radius: 19px;
  background: transparent;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.filters button:hover {
  border-color: var(--ink);
}
.filters button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.project-card {
  --tint: #a6ead4;
  position: relative;
  grid-column: span 2;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--tint) 10%, var(--surface)),
    var(--surface) 68%
  );
}
.project-card[data-field="spatial"] {
  --tint: #bdb8ff;
}
.project-card[data-field="ai"] {
  --tint: #f0cd94;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: radial-gradient(
    190px circle at var(--shine-x, 18%) var(--shine-y, 0%),
    var(--tint),
    transparent
  );
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.44;
}
.project-card:focus-within::after {
  opacity: 0.9;
}
.project-card.compact {
  grid-column: span 3;
}
.project-card.featured {
  grid-column: span 3;
}
.project-card.spotlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background:
    radial-gradient(ellipse at 100% 100%, #203136 0%, transparent 66%), #171d26;
}
.project-cover {
  display: block;
  position: relative;
  isolation: isolate;
}
.project-cover:focus-visible {
  outline-offset: -4px;
  z-index: 1;
}
.cover-link {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border: 1px solid #ffffff3a;
  background: #080c15d9;
  color: #fff;
  border-radius: 20px;
  font: 600 11px/1.2 var(--sans);
}
.cover-link .icon {
  width: 13px;
  height: 13px;
}
.spotlight .project-cover {
  width: 100%;
  min-width: 0;
  min-height: 290px;
  aspect-ratio: 1.5;
}
.spotlight .art {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border: 0;
}
.spotlight .robot-art img {
  object-fit: cover;
}
.spotlight .project-body {
  padding: clamp(25px, 3.6vw, 58px);
  align-self: center;
}
.spotlight .project-body h3 {
  font-size: clamp(32px, 3.4vw, 56px);
  margin-block: 7px 15px;
}
.spotlight .project-body > p {
  font-size: clamp(15px, 1.16vw, 18px);
  max-width: 43ch;
}
.project-card.featured:not(.spotlight) .art {
  aspect-ratio: 2.45;
}
.project-card.featured:not(.spotlight) .project-body {
  padding: clamp(19px, 2vw, 28px);
}
.project-body {
  padding: 21px;
}
.project-category {
  color: var(--tint);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.project-body h3 {
  font-size: clamp(21px, 1.8vw, 31px);
  letter-spacing: -0.032em;
  line-height: 1.2;
  margin: 5px 0 10px;
}
.project-body h3 a {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 9px;
}
.project-body h3 .icon {
  width: 17px;
  height: 17px;
  margin-top: 0.25em;
}
.project-body > p,
.notes p {
  font-size: 14px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}
.tags li {
  border: 1px solid var(--line);
  padding: 3px 7px;
  border-radius: 3px;
  font: 11px/1.5 var(--mono);
  color: #b6c6d1;
}
.project-card details {
  border-top: 1px solid var(--line);
}
.project-card summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
  font-weight: 620;
  list-style: none;
  padding: 12px 0 0;
}
.project-card summary::-webkit-details-marker {
  display: none;
}
.project-card summary .icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}
details[open] > summary .icon {
  transform: rotate(45deg);
}
.notes {
  padding-top: 14px;
}
.notes b {
  font: 600 11px var(--mono);
  color: var(--accent);
}
.notes p {
  margin: 7px 0 10px;
}
.art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.78;
  border-bottom: 1px solid #0001;
}
.gallery-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-items: end;
  justify-items: start;
  background: transparent;
  border: 0;
  padding: 12px;
}
.gallery-open span,
.gallery-controls button {
  display: grid;
  place-items: center;
  border: 1px solid #ffffff55;
  color: #f5f8fa;
  background: #101923e8;
  border-radius: 50%;
}
.gallery-open span {
  width: 33px;
  height: 33px;
}
.gallery-open:focus-visible,
.cover-link:focus-visible {
  outline-offset: -4px;
}
.falsify-art {
  background: #1a323b;
}
.falsify-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-cover .falsify-art img {
  object-fit: cover;
}
.gallery-display {
  touch-action: pan-y pinch-zoom;
  overflow: hidden;
}
.guitar-art {
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 72% 38%, #675488 0%, transparent 55%),
    linear-gradient(118deg, #211b3b, #433658 54%, #252139);
}
.guitar-strings {
  pointer-events: none;
  position: absolute;
  inset: 12% -12%;
  transform: rotate(-11deg);
  background: repeating-linear-gradient(
    0deg,
    transparent 0 11px,
    #dabcf324 11px 12px
  );
  mask-image: linear-gradient(90deg, transparent, #000 25% 70%, transparent);
}
.guitar-art img {
  position: relative;
  width: 83%;
  height: 89%;
  object-fit: contain;
  transform: rotate(-7deg);
  filter: drop-shadow(0 10px 6px #160d23aa);
}
.project-cover .gallery-open:hover span,
.gallery-controls button:is(:hover, :focus-visible) {
  background: var(--accent);
  color: var(--on-accent);
}
.gallery-display .art {
  width: 100%;
  height: clamp(130px, min(45vw, 59dvh), 480px);
}
.gallery-display .robot-art img {
  object-fit: contain;
  background: #121820;
}
.gallery-toolbar,
.gallery-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}
.gallery-toolbar {
  justify-content: space-between;
  gap: 10px;
  padding: clamp(12px, 2vw, 24px);
}
.gallery-count {
  color: var(--accent);
  font: 12px var(--mono);
}
.gallery-toolbar h3 {
  margin-top: 5px;
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.15;
}
.gallery-controls button {
  width: 44px;
  height: 44px;
}
.gallery-controls [data-step="-1"] .icon {
  transform: rotate(180deg);
}
.gallery-controls form {
  margin: 0;
}
#project-viewer {
  width: min(900px, calc(100vw - 24px));
  overflow: auto;
}
@media (min-width: 761px) {
  .project-grid:not(:has(details[open])) {
    align-items: stretch;
  }
  .featured:not(.spotlight) {
    display: flex;
    flex-direction: column;
  }
  .featured:not(.spotlight) .project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .featured:not(.spotlight) .project-body details {
    margin-top: auto;
  }
}
.scout-art {
  background: #f3b444;
}
.scout-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.gallery-display :is(.scout-art, .viet-art) {
  background: #151a20;
}
.gallery-display :is(.scout-art, .viet-art) img {
  object-fit: contain;
  object-position: center;
}
.robot-art {
  background: var(--accent);
}
.robot-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 54%;
}
.art-note {
  position: absolute;
  bottom: 7px;
  right: 8px;
  color: #fff;
  background: #0d1c548f;
  padding: 2px 5px;
  font: 9px/1.5 var(--mono);
}
.viet-art {
  background: #e8d3b4;
}
.viet-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 6%;
}
.lab-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 0 0;
  margin-top: 14px;
}
.lab-link > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lab-link > div > .icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.lab-link strong,
.lab-link small {
  display: block;
}
.lab-link small {
  font-size: 13px;
}
.experience-section {
  background: #10151b;
  border-block: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10%;
}
.section-copy {
  max-width: 360px;
  font-size: 16px;
  margin-top: 20px;
}
.timeline li {
  position: relative;
  padding: 0 0 27px 26px;
  border-left: 1px solid #344e4a;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #10151b;
  position: absolute;
  top: 0;
  left: -8.5px;
}
.timeline .overline {
  color: var(--accent);
  font-size: 10px;
}
.timeline h3 {
  font-size: 28px;
  letter-spacing: -0.045em;
  margin: 3px 0;
}
.timeline strong {
  font-size: 15px;
}
.timeline li > p:last-child {
  font-size: 14px;
  margin-top: 6px;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
}
.skills-grid h3 {
  font-size: 23px;
  letter-spacing: -0.03em;
  padding-bottom: 14px;
  border-bottom: 1px solid #52605f;
}
.skill-line,
.credential {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.skill-line p,
.credential {
  font-size: 14px;
}
.skill-line b {
  font-size: 15px;
}
.credential {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 10px;
}
.credential .overline {
  font-size: 10px;
  color: var(--accent);
}
.credential-link {
  margin-top: 10px;
}
.contact {
  background:
    radial-gradient(ellipse at 100% 110%, #253c3c 0, transparent 60%),
    linear-gradient(115deg, #151723, #101619);
  border-block: 1px solid var(--line);
  color: white;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8%;
}
.contact .kicker {
  color: var(--accent);
}
.contact h2 {
  font-size: clamp(42px, 4.4vw, 74px);
}
.contact p:not(.kicker) {
  max-width: 460px;
  color: var(--muted);
  margin-top: 12px;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.contact-links > a {
  font-size: clamp(16px, 1.65vw, 25px);
  font-weight: 600;
  border-bottom: 1px solid #ffffff72;
  width: 100%;
  padding: 12px 0;
}
.contact-links > a .icon:last-child {
  margin-left: auto;
}
.contact-links > div {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.contact-links div a,
.copy-email {
  font-size: 13px;
}
.contact-links div .icon {
  width: 13px;
  height: 13px;
}
.contact a:hover,
.copy-email:hover {
  text-decoration: underline;
}
.copy-email {
  background: none;
  color: inherit;
  border: 0;
  padding: 5px;
}
.contact-links small {
  display: block;
  min-height: 1.5em;
  margin-top: 4px;
}
.footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
}
.footer .brand {
  font-size: 19px;
}
.footer .brand-mark {
  width: 26px;
  height: 26px;
}
.footer > span {
  color: var(--muted);
}
.footer > a:last-child {
  margin-left: auto;
}
.hero-stage {
  position: relative;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 84% 21%, #4036567d, transparent 48%),
    radial-gradient(ellipse at 48% 101%, #193f448c, transparent 55%),
    var(--paper);
}
.hero-stage::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: radial-gradient(#a5b9ca38 0.7px, transparent 1px) 0 0 / 21px 21px;
  mask-image: linear-gradient(110deg, transparent 18%, #000a 65%, transparent);
}
.wave-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mask-image: linear-gradient(90deg, #0005 0%, #0006 21%, black 55%);
}
.hero {
  position: relative;
}
.name-light {
  color: #b7e4e0;
  background: linear-gradient(100deg, #a7f8cf 8%, #b8e9e3 49%, #b2acdf 95%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .primary {
  background: linear-gradient(110deg, #adffe2, #84dfc5 72%, #afdedc);
  box-shadow: 0 4px 24px #6be3b524;
}
.portrait {
  perspective: 1100px;
}
.profile-links {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 12px;
}
.profile-links a {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  min-height: 44px;
  font: 600 13px var(--sans);
  color: var(--muted);
}
.profile-links .icon {
  height: 13px;
  width: 13px;
  color: var(--accent);
}
.profile-links a:hover,
.profile-links a:focus-visible {
  color: var(--ink);
}
:root:has(dialog[open]) {
  overflow: hidden;
}
#portrait-viewer,
#project-viewer {
  padding: 0;
  border: 1px solid #637673;
  border-radius: 14px;
  background: #10171d;
  color: var(--ink);
  box-shadow: 0 32px 100px #000a;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
}
#portrait-viewer::backdrop,
#project-viewer::backdrop {
  background: #05080de8;
  backdrop-filter: blur(9px);
}
#portrait-viewer img {
  display: block;
  max-height: calc(100dvh - 90px);
  max-width: min(86vw, 560px);
  height: auto;
  width: auto;
  object-fit: contain;
  margin-inline: auto;
}
#portrait-viewer figcaption {
  display: flex;
  gap: 22px;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 17px;
  font-weight: 650;
}
#portrait-viewer figcaption span {
  color: var(--accent);
  font: 12px var(--mono);
}
#portrait-viewer button {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #eee6;
  border-radius: 50%;
  color: white;
  background: #152028ec;
}
#portrait-viewer button:hover {
  background: var(--accent);
  color: var(--on-accent);
}
.cursor-ring {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  .has-motion .web-page {
    cursor:
      url("cursor-arrow.svg") 3 3,
      auto;
  }
  .has-motion .web-page :is(a, button, summary) {
    cursor:
      url("cursor-hand.svg") 12 4,
      pointer;
  }
  .has-motion .web-page :is(p, h1, h2, h3, li, .credential) {
    cursor: text;
  }
  .has-motion .web-page :is(.photo-window, .gallery-open) {
    cursor: zoom-in;
  }
  .has-motion .cursor-ring {
    display: block;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 12;
    opacity: 0;
    transition: opacity 0.12s ease-out;
  }
  .cursor-ring::before {
    content: "";
    position: absolute;
    top: -13px;
    left: -13px;
    width: 26px;
    height: 26px;
    border: 1px solid #a2f7d9c9;
    border-radius: 50%;
    box-shadow:
      0 0 10px #77eccb1c,
      inset 0 0 7px #77eccb1c;
    transition:
      transform 0.16s ease-out,
      border-radius 0.16s ease-out,
      border-color 0.2s ease-out;
  }
  .cursor-ring[data-over] {
    opacity: 1;
  }
  .cursor-ring[data-over="media"]::before {
    transform: scale(1.45);
    border-radius: 32%;
    border-color: #d6ccffda;
    box-shadow:
      0 0 0 2px #18213738,
      inset 0 0 9px #b9a5ff22;
  }
  .cursor-ring[data-over="idle"]::before {
    transform: scale(0.62);
    border-color: #a4e8db75;
  }
  .cursor-ring[data-over="control"]::before {
    background: #82efc911;
  }
}
.project-cover::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    112deg,
    transparent 32%,
    #e6fff51c 48%,
    transparent 63%
  );
  opacity: 0;
}
.project-cover {
  overflow: hidden;
}
.skills-grid {
  gap: clamp(18px, 3vw, 46px);
}
.skills-grid > div {
  min-width: 0;
  background: linear-gradient(145deg, #161d25, #0f131a 75%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 2.4vw, 32px);
}
.skills-grid .skill-line:last-child {
  border-bottom: 0;
}
.timeline {
  position: relative;
}
@keyframes cover-light {
  0% {
    opacity: 0;
    translate: -65% 0;
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    translate: 65% 0;
  }
}
@keyframes portrait-orbit {
  from {
    transform: scaleX(0.67) rotate(-37deg);
  }
  to {
    transform: scaleX(0.7) rotate(-18deg);
  }
}
@keyframes grow-rail {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
.photo-board::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    ellipse at var(--shine-x, 24%) var(--shine-y, 0%),
    #c6fff116,
    transparent 57%
  );
  box-shadow: inset 0 1px 0 #e3fff325;
}
.motion-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 10px;
  background: #121a20;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.motion-toggle i {
  width: 11px;
  height: 9px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 2px,
    transparent 2px 4px
  );
  clip-path: polygon(
    0 35%,
    25% 35%,
    25% 0,
    56% 0,
    56% 45%,
    80% 45%,
    80% 16%,
    100% 16%,
    100% 84%,
    80% 84%,
    80% 60%,
    56% 60%,
    56% 100%,
    25% 100%,
    25% 68%,
    0 68%
  );
}
.motion-toggle[aria-pressed="true"] {
  color: var(--accent);
  border-color: #3f6359;
}
.project-card:focus-within {
  border-color: #517368;
}
.filters button,
.nav-cta,
.project-card summary {
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.project-card summary:hover {
  color: var(--accent);
}
.nav-shell nav a {
  position: relative;
}
.nav-shell nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.nav-shell nav a[aria-current]::after,
.nav-shell nav a:hover::after {
  transform: scaleX(1);
}
@keyframes intro-arrive {
  from {
    opacity: 0.55;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lens-settle {
  from {
    transform: scale(1.055);
  }
  to {
    transform: scale(1);
  }
}
@keyframes sign-stroke {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes title-light {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0% 50%;
  }
}
@keyframes reading-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .has-motion .photo-window img {
    animation: lens-settle 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .has-motion .signature::after {
    animation: sign-stroke 0.7s 0.2s ease-out backwards;
  }
  .has-motion .name-light {
    background-size: 150% 100%;
    animation: title-light 1.4s 0.12s ease-out backwards;
  }
  .has-motion .traces {
    animation: portrait-orbit 8s ease-in-out infinite alternate;
  }
  .has-motion .profile-links a .icon,
  .has-motion .photo-expand {
    transition: transform 0.22s ease;
  }
  .has-motion .profile-links a:hover .icon {
    transform: translate(2px, -2px);
  }
  .has-motion .photo-window:hover .photo-expand {
    transform: scale(1.08);
  }
  .has-motion .nav-shell nav.is-open {
    animation: intro-arrive 0.22s ease-out;
  }
  @supports (animation-timeline: view()) {
    .has-motion .timeline::before {
      content: "";
      position: absolute;
      top: 4px;
      bottom: 0;
      left: 0;
      width: 2px;
      z-index: 1;
      pointer-events: none;
      transform-origin: top;
      background: linear-gradient(var(--accent), #a69acb);
      animation: grow-rail linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 80%;
    }
  }
  .has-motion .intro > * {
    animation: intro-arrive 0.62s cubic-bezier(0.2, 0.7, 0.2, 1) backwards;
  }
  .has-motion .intro h1 {
    animation-delay: 0.05s;
  }
  .has-motion .intro .bio {
    animation-delay: 0.1s;
  }
  .has-motion .intro .actions {
    animation-delay: 0.15s;
  }
  .has-motion .nav-shell nav a::after,
  .has-motion .button .icon,
  .has-motion .project-card,
  .has-motion .project-card summary .icon,
  .has-motion .robot-art img,
  .has-motion .falsify-art img,
  .has-motion .guitar-art img {
    transition:
      transform 0.36s cubic-bezier(0.2, 0.75, 0.2, 1),
      border-color 0.28s ease,
      box-shadow 0.28s ease;
  }
  .has-motion .photo-board {
    transition: transform 0.24s ease-out;
  }
  .has-motion details[open] .notes {
    animation: intro-arrive 0.28s ease;
  }
  @supports (animation-timeline: scroll()) {
    .has-motion .masthead::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -1px;
      right: 0;
      height: 2px;
      pointer-events: none;
      background: linear-gradient(90deg, #82e5c4, #b2a4e7);
      transform-origin: left;
      animation: reading-progress linear both;
      animation-timeline: scroll(root);
    }
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .has-motion .project-cover:hover::after,
  .has-motion .project-cover:focus-visible::after {
    animation: cover-light 0.63s ease-out both;
  }
  .has-motion .button:hover {
    transform: translateY(-2px);
  }
  .has-motion .photo-board {
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  }
  .has-motion .primary:hover .icon {
    transform: translateX(3px);
  }
  .has-motion .project-card:hover {
    transform: translateY(-4px);
    border-color: #55746e;
    box-shadow: 0 14px 28px #0005;
  }
  .has-motion .project-card:hover::after {
    opacity: 1;
  }
  .has-motion .project-card:hover .robot-art img {
    transform: scale(1.045);
  }
  .has-motion
    .project-cover:has(.gallery-open:is(:hover, :focus-visible))
    .falsify-art
    img {
    transform: scale(1.03);
  }
  .has-motion
    .project-cover:has(.gallery-open:is(:hover, :focus-visible))
    .guitar-art
    img {
    transform: translateY(-2px) rotate(-4deg) scale(1.025);
  }
}
html.motion-off {
  scroll-behavior: auto;
}
.motion-off *,
.motion-off *::before,
.motion-off *::after {
  transition: none !important;
  animation: none !important;
}
@media (min-width: 761px) {
  html {
    scrollbar-gutter: stable;
  }
  .project-card.featured:not(.spotlight) .project-body > p {
    min-height: 3.28em;
  }
}
@media (max-width: 760px) {
  .project-card.featured {
    grid-column: span 1;
  }
  .project-card.spotlight {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  }
  .spotlight .project-body {
    padding: 22px;
  }
  .spotlight .project-cover {
    min-height: 265px;
  }
}
@media (max-width: 1000px) {
  .nav-shell {
    gap: 24px;
  }
  .hero {
    gap: 40px;
  }
  .intro h1 {
    font-size: clamp(74px, 9.4vw, 102px);
  }
  .photo-board {
    aspect-ratio: 1.03;
  }
  .project-grid {
    gap: 14px;
  }
  .project-body {
    padding: 15px;
  }
  .discipline-inner > span {
    font-size: 13px;
  }
  .discipline-inner > .overline {
    font-size: 9px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .nav-shell {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 10px;
  }
  .brand {
    font-size: 23px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .nav-actions {
    margin-left: auto;
    gap: 12px;
  }
  .nav-cta {
    padding: 9px 12px;
  }
  .nav-shell nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }
  .js .nav-shell nav:not(.is-open) {
    display: none;
  }
  .nav-shell nav.is-open {
    padding: 8px 0 5px;
    border-top: 1px solid var(--line);
  }
  .menu-toggle:not([hidden]) {
    display: inline-flex;
  }
  .hero {
    grid-template-columns: 1fr 0.88fr;
    gap: 22px;
    padding-block: 40px;
  }
  .intro h1 {
    font-size: clamp(65px, 11vw, 82px);
    margin: 18px 0;
  }
  .bio {
    font-size: 14px;
  }
  .actions {
    gap: 7px;
  }
  .button {
    font-size: 12px;
    padding: 10px;
    gap: 6px;
  }
  .photo-board {
    aspect-ratio: 0.83;
  }
  .portrait figcaption {
    font-size: 8px;
  }
  .kicker {
    font-size: 10px;
  }
  .discipline-inner {
    gap: 12px;
    min-height: 54px;
  }
  .discipline-inner > .overline {
    display: none;
  }
  .discipline-inner > span {
    gap: 6px;
    font-size: 12px;
  }
  .discipline-inner .icon {
    width: 17px;
    height: 17px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-card,
  .project-card.compact {
    grid-column: span 1;
  }
  .project-body h3 {
    font-size: 22px;
  }
  .split {
    gap: 6%;
  }
  .section-copy {
    font-size: 14px;
  }
  .skills-grid {
    gap: 22px;
  }
  .credential {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-links {
    max-width: 480px;
  }
}
@media (max-width: 590px) {
  .project-card.spotlight {
    display: block;
  }
  .spotlight .project-cover {
    min-height: 0;
    aspect-ratio: 1.5;
  }
  .spotlight .project-body {
    padding: 20px;
  }
  .spotlight .project-body h3 {
    font-size: 30px;
  }
  .project-card.featured:not(.spotlight) .art {
    aspect-ratio: 1.95;
  }
  .wave-field {
    top: 33%;
    height: 67%;
    mask-image: linear-gradient(180deg, transparent, #000a 27%, black 55%);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro h1 {
    font-size: clamp(63px, 16.5vw, 95px);
  }
  .bio {
    font-size: 15px;
    max-width: 460px;
    margin-block: 13px 20px;
  }
  .button {
    font-size: 13px;
    padding: 12px 15px;
  }
  .portrait {
    max-width: 100%;
  }
  .photo-board {
    aspect-ratio: 1.6;
  }
  .photo-window {
    width: 61%;
  }
  .photo-window img {
    object-position: 50% 35%;
  }
  .signature {
    font-size: clamp(25px, 7.8vw, 39px);
    width: 34%;
  }
  .portrait figcaption {
    font-size: 8.5px;
  }
  .hero {
    padding-block: 33px 26px;
  }
  .section,
  .experience-section,
  .contact {
    padding-block: 48px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 16px;
  }
  .section-head > .inline-link {
    margin: 0;
  }
  .project-grid,
  .skills-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .project-grid {
    gap: 16px;
  }
  .project-body {
    padding: 19px;
  }
  .art {
    aspect-ratio: 1.9;
  }
  .split,
  .skills-grid {
    gap: 28px;
  }
  .lab-link {
    align-items: flex-start;
    flex-direction: column;
  }
  .lab-link > div {
    gap: 10px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 16px;
  }
  .footer > span,
  .footer > a:last-child {
    font-size: 10px;
  }
  .discipline-inner > span {
    font-size: 11px;
    gap: 4px;
  }
  .discipline-inner {
    gap: 5px;
  }
  .discipline-inner .icon {
    width: 14px;
    height: 14px;
  }
  .credential {
    grid-template-columns: 76px 1fr;
    gap: 8px;
  }
  .filters {
    gap: 5px;
  }
  .filters button {
    padding: 8px 11px;
  }
  .nav-shell nav {
    gap: 13px;
  }
  .nav-shell nav a {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .nav-shell .brand {
    font-size: 20px;
    gap: 6px;
  }
  .nav-shell .brand-mark {
    width: 25px;
    height: 25px;
  }
  .nav-cta .icon {
    display: none;
  }
  .shell {
    width: calc(100% - 28px);
  }
  .nav-actions {
    gap: 8px;
  }
  .discipline-inner > span {
    font-size: 10px;
  }
  .discipline-inner .icon {
    width: 12px;
  }
  .footer .brand {
    font-size: 16px;
  }
  .footer .brand-mark {
    width: 21px;
    height: 21px;
  }
  .footer {
    gap: 7px;
  }
}
.project-card summary {
  min-height: 44px;
  padding-block: 10px 4px;
}
.cover-link:hover,
.cover-link:focus-visible {
  background: var(--accent);
  color: var(--on-accent);
}
.button:active,
.nav-cta:active,
.filters button:active,
.motion-toggle:active {
  filter: brightness(0.9);
}
@media (pointer: coarse), (max-width: 760px) {
  .lang-link,
  .nav-cta,
  .menu-toggle,
  .motion-toggle,
  .filters button,
  .brand,
  .inline-link,
  .footer > a:last-child,
  .copy-email,
  .contact-links a,
  .nav-shell nav a,
  .project-body h3 a {
    min-height: 44px;
    min-width: 44px;
  }
  .nav-shell nav a,
  .footer > a:last-child {
    display: inline-flex;
    align-items: center;
  }
  .menu-toggle {
    width: 44px;
  }
  .filters {
    gap: 8px;
  }
  .filters button {
    padding-inline: 13px;
  }
  .project-body > p,
  .notes p,
  .timeline li > p:last-child,
  .skill-line p {
    font-size: 15px;
  }
}
@media (max-width: 420px) {
  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (forced-colors: active) {
  .name-light {
    -webkit-text-fill-color: CanvasText;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@page {
  size: A4;
  margin: 15mm 16mm;
}
@media print {
  :root,
  html,
  body {
    --accent: #204b55;
    color-scheme: light;
    background: #fff;
    color: #16191c;
    font-size: 10pt;
  }
  .web-page,
  .skip {
    display: none !important;
  }
  .resume {
    display: block !important;
    font-family: Arial, "Segoe UI", sans-serif;
  }
  .resume header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 4mm;
    margin-bottom: 4mm;
  }
  .resume header > div:last-child {
    text-align: right;
    font-size: 9pt;
    line-height: 1.7;
  }
  .resume h1 {
    font-size: 31pt;
    line-height: 1.15;
    letter-spacing: normal;
  }
  .resume header p {
    font-size: 12pt;
    color: var(--accent);
  }
  .resume .cv-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8mm;
  }
  .resume h2 {
    font-size: 16pt;
    letter-spacing: -0.035em;
    border-bottom: 1px solid #a5a8af;
    margin: 5mm 0 3mm;
    padding-bottom: 1.3mm;
    break-after: avoid;
  }
  .resume h3 {
    font-size: 11.5pt;
    margin: 0 0 1mm;
    line-height: 1.2;
  }
  .resume p {
    font-size: 9.4pt;
    line-height: 1.42;
    margin-bottom: 2mm;
  }
  .resume section {
    break-inside: avoid;
    margin-bottom: 3.5mm;
  }
  .resume small {
    font: 8pt/1.45 var(--mono);
    color: #253cb2;
  }
  .resume b {
    font-size: 9pt;
  }
  .resume a {
    color: inherit;
  }
  .resume header a,
  .resume section a {
    color: #1f36a0;
  }
}
