@font-face {
  font-family: Geist;
  src: url("/public/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #08090a;
  --text: #eceef0;
  --muted: #9ca3ad;
  --subtle: #89929e;
  --focus: #c2d1e0;
  --control-size: 2rem;
  --line: #24272b;
  --font: Geist, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 48px;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
::selection {
  color: #08090a;
  background: #dce4ed;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button {
  color: inherit;
}
.site-shell {
  max-width: 1160px;
  padding: 0 48px;
  margin: 0 auto;
}
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-size: 19px;
  letter-spacing: -0.055em;
  font-weight: 600;
}
.wordmark span {
  color: var(--subtle);
  font-weight: 400;
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
  color: #a7aab0;
}
.site-header nav a {
  padding: 6px 0;
}
.site-header nav a:hover {
  color: white;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 36px 0 24px;
  min-height: 480px;
}
.hero-role {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #989da4;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(66px, 7.8vw, 99px);
  letter-spacing: -0.062em;
  font-weight: 500;
  line-height: 0.99;
}
.hero-description {
  max-width: 390px;
  color: #a0a5ac;
  font-size: 17px;
  line-height: 1.7;
  margin-top: 22px;
}
.hero-links {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-top: 27px;
  font-size: 14px;
  color: #a2a7af;
}
.hero-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 5px 0;
}
.hero-links .primary-link {
  color: var(--bg);
  background: var(--text);
  border-radius: 4px;
  padding-inline: 16px;
  font-weight: 500;
}
.primary-link span {
  font-size: 16px;
  display: inline-block;
  margin-left: 10px;
}
.hero-links a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.ascii-stage {
  height: 365px;
  position: relative;
  align-self: center;
  margin-top: 10px;
  min-width: 0;
}
#ascii-canvas {
  display: block;
  width: 100%;
  height: 320px;
  opacity: 0.85;
}
.art-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
}
.mode-controls {
  display: flex;
  gap: 8px;
}
.mode-controls button {
  min-height: var(--control-size);
  padding: 7px 4px;
  font: 12px var(--mono);
  color: var(--subtle);
  border: 0;
  background: none;
  border-bottom: 1px solid transparent;
}
.mode-controls button[aria-pressed="true"] {
  color: #c9cfd7;
  border-color: #747d89;
}
.mode-controls button:hover {
  color: white;
}
.motion-toggle {
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  min-height: var(--control-size);
  padding: 4px;
  font: 12px var(--mono);
  white-space: nowrap;
}
.motion-toggle:hover {
  color: white;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}
.section-heading h2,
.archive-intro h2,
.section-label h2,
.contact-section > h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.quiet-link {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-size);
  font-size: 13px;
  color: #999fa8;
}
.quiet-link span {
  margin-left: 8px;
}
.quiet-link:hover {
  color: white;
}
.project-grid {
  display: flex;
  flex-direction: column;
}
.project-card {
  display: grid;
  grid-template-columns: 0.86fr 1.25fr;
  gap: 40px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.project-content {
  min-width: 0;
}
.project-category {
  font-size: 12px;
  color: #939aa4;
  margin-bottom: 9px;
}
.project-content h3 {
  font-size: 32px;
  letter-spacing: -0.045em;
  font-weight: 500;
  line-height: 1.2;
}
.project-description {
  font-size: 15px;
  color: #a0a5ad;
  margin-top: 12px;
  line-height: 1.65;
  max-width: 350px;
}
.project-meta {
  display: flex;
  gap: 6px 15px;
  flex-wrap: wrap;
  margin-top: 15px;
  font: 12px/1.7 var(--mono);
  color: var(--subtle);
}
.project-links {
  display: flex;
  gap: 20px;
  margin-top: 17px;
  font-size: 13px;
  color: #d8dde3;
}
.project-links a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 4px 0;
  min-height: var(--control-size);
}
.project-links a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.project-media {
  margin: 0;
  min-width: 0;
}
.project-image-link {
  display: block;
  border: 1px solid #282d34;
  border-radius: 6px;
  overflow: hidden;
  background: #0c0e11;
  transition: border-color 0.18s;
}
.project-image-link:hover {
  border-color: #5a6472;
}
.project-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.62;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.8);
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.4s;
}
.project-image-link:hover .project-image {
  transform: scale(1.018);
  filter: saturate(1);
}
.project-media.is-ascii .project-image {
  transform: none;
}
.project-media figcaption {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 10px;
  letter-spacing: 0.005em;
}
.project-blobby .project-image {
  object-fit: contain;
  background: #000;
}
.archive-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: 38px;
}
.archive-section {
  min-width: 0;
}
.archive-intro {
  margin-bottom: 14px;
}
.tool-list,
.earlier-list {
  border-top: 1px solid var(--line);
}
.tool-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.tool-name {
  font-size: 15px;
  font-weight: 450;
  letter-spacing: -0.02em;
}
.tool-description {
  grid-column: 1;
  font-size: 13px;
  line-height: 1.6;
  color: #8f97a1;
  max-width: 400px;
}
.tool-tag {
  display: none;
}
.tool-arrow {
  grid-column: 2;
  grid-row: 1/3;
  color: var(--subtle);
  font-size: 15px;
  align-self: center;
}
.tool-row:hover .tool-name,
a.archive-row:hover h3 {
  color: white;
}
.tool-row:hover .tool-arrow {
  color: #dce4ed;
}
.archive-row {
  display: grid;
  grid-template-columns: 1fr auto 12px;
  gap: 12px;
  padding: 10px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.archive-row h3 {
  font-size: 15px;
  letter-spacing: -0.015em;
  font-weight: 450;
}
.archive-row p {
  font-size: 13px;
  color: #8f97a1;
  line-height: 1.65;
  margin-top: 2px;
  max-width: 340px;
}
.archive-tech {
  font: 12px var(--mono);
  color: var(--subtle);
  white-space: nowrap;
}
.archive-row > span:last-child {
  font-size: 15px;
  color: var(--subtle);
}
.skills-section {
  --skills-group-gap: 1.5rem;
  --skills-item-gap: 0.5rem 1rem;
  padding-top: 2rem;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--skills-group-gap);
  padding-top: var(--skills-group-gap);
}
.skill-group h3 {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 400;
}
.skill-group ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--skills-item-gap);
  margin: 0.625rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.6;
}
.skill-group li {
  white-space: nowrap;
}
.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 22px 64px;
  padding: 32px 0;
  margin: 0 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-label {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.section-label > span {
  display: block;
  font-size: 12px;
  color: var(--subtle);
  margin-top: 0;
}
.about-content {
  font-size: 15px;
  color: #a0a7b1;
  line-height: 1.7;
}
.about-content > p {
  margin-bottom: 14px;
}
.about-content > p:last-child {
  margin-bottom: 0;
}
.about-content .about-lead {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.025em;
  color: #dfe4eb;
  margin-bottom: 14px;
}
.education {
  margin-top: 0;
}
.education > h3 {
  font-size: 13px;
  font-weight: 400;
  color: #8f99a8;
  letter-spacing: 0;
  margin-bottom: 9px;
}
.education-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.education-row h4 {
  font-size: 15px;
  font-weight: 450;
  color: #d0d7df;
  letter-spacing: -0.015em;
}
.education-row p {
  font-size: 12px;
  color: #8994a2;
  margin-top: 2px;
}
.education-row span {
  display: block;
  font: 12px/1.7 var(--mono);
  margin-top: 5px;
  color: #a1acba;
}
.education-row time {
  font: 12px/1.7 var(--mono);
  color: var(--subtle);
  white-space: nowrap;
  padding-top: 3px;
}
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 32px 0;
}
.contact-content > h2 {
  font-size: 15px;
  font-weight: 400;
  color: #969faa;
}
.email-link {
  display: inline-block;
  font-size: clamp(22px, 2.7vw, 32px);
  letter-spacing: -0.04em;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid #535b68;
}
.email-link:hover {
  border-color: #fff;
}
.social-links {
  display: flex;
  gap: 26px;
  color: #939fae;
  font-size: 13px;
  margin-bottom: 8px;
}
.social-links span {
  margin-left: 6px;
  color: var(--subtle);
}
.social-links a:hover {
  color: white;
}
.social-links a,
footer a {
  display: inline-flex;
  align-items: center;
  min-height: var(--control-size);
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 27px 0 33px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--subtle);
}
footer a:hover {
  color: #ddd;
}
footer a span {
  margin-left: 7px;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  padding: 10px 15px;
  background: #fff;
  color: #000;
  z-index: 5;
}
.skip-link:focus {
  top: 16px;
}
@media (min-width: 1450px) {
  .hero {
    padding-top: 46px;
    padding-bottom: 24px;
  }
}
@media (max-width: 950px) {
  .site-shell {
    padding: 0 36px;
  }
  .hero {
    gap: 10px;
    grid-template-columns: 1.1fr 1fr;
    padding-top: 32px;
    padding-bottom: 24px;
  }
  .hero-role {
    font-size: 12px;
  }
  h1 {
    font-size: 78px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 330px;
  }
  .ascii-stage {
    height: 330px;
  }
  #ascii-canvas {
    height: 290px;
  }
  .project-card {
    gap: 35px;
    grid-template-columns: 0.95fr 1.2fr;
  }
  .archive-pair {
    gap: 32px;
  }
  .about-section {
    column-gap: 32px;
  }
  .project-content h3 {
    font-size: 29px;
  }
  .project-description {
    font-size: 14px;
  }
  .archive-tech {
    display: none;
  }
  .archive-row {
    grid-template-columns: 1fr 12px;
  }
  .education-row {
    gap: 14px;
  }
}
@media (max-width: 700px) {
  .site-shell {
    padding: 0 24px;
  }
  .site-header {
    height: 76px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 13px;
  }
  .wordmark {
    font-size: 18px;
  }
  .hero {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    padding: 24px 0 18px;
    gap: 0;
    min-height: 0;
  }
  .hero-role {
    font-size: 12px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(65px, 13vw, 85px);
    letter-spacing: -0.065em;
  }
  .hero-description {
    font-size: 16px;
    max-width: 390px;
    margin-top: 20px;
  }
  .hero-links {
    gap: 27px;
    font-size: 13px;
    margin-top: 24px;
  }
  .ascii-stage {
    height: 225px;
    width: 100%;
    max-width: 390px;
    justify-self: center;
    margin-top: 25px;
  }
  #ascii-canvas {
    height: 200px;
  }
  .art-controls {
    margin-top: -2px;
  }
  .mode-controls button {
    font-size: 12px;
    padding: 6px 4px;
  }
  .section-heading {
    padding-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .project-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 25px 0;
  }
  .project-content h3 {
    font-size: 29px;
  }
  .project-category {
    margin-bottom: 11px;
  }
  .project-description {
    font-size: 15px;
    max-width: 450px;
    margin-top: 14px;
  }
  .project-meta {
    margin-top: 15px;
    font-size: 12px;
  }
  .project-links {
    margin-top: 17px;
    font-size: 14px;
  }
  .project-image {
    aspect-ratio: 1.6;
  }
  .project-media figcaption {
    font-size: 12px;
    margin-top: 8px;
  }
  .archive-pair {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }
  .tool-row {
    padding: 10px 0;
  }
  .tool-name {
    font-size: 16px;
  }
  .tool-description {
    font-size: 14px;
  }
  .archive-row h3 {
    font-size: 16px;
  }
  .archive-row p {
    font-size: 14px;
  }
  .about-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 27px 0;
    margin: 0 0 28px;
  }
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .section-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .section-label > span {
    margin: 0;
    font-size: 12px;
  }
  .about-content {
    font-size: 15px;
    line-height: 1.7;
  }
  .about-content .about-lead {
    font-size: 20px;
  }
  .education {
    margin-top: 4px;
  }
  .education-row {
    gap: 10px;
  }
  .education-row h4 {
    font-size: 14px;
  }
  .education-row p {
    font-size: 12px;
  }
  .education-row time {
    font-size: 12px;
  }
  .contact-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 0;
  }
  .contact-content > h2 {
    font-size: 14px;
  }
  .email-link {
    font-size: clamp(21px, 5.8vw, 30px);
    margin-top: 9px;
  }
  .social-links {
    margin: 0;
  }
  footer {
    font-size: 12px;
    padding-top: 22px;
    padding-bottom: 26px;
  }
}
@media (max-width: 370px) {
  .site-shell {
    padding: 0 20px;
  }
  .site-header nav {
    gap: 7px;
    font-size: 12px;
  }
  .wordmark {
    font-size: 16px;
  }
  .hero-role {
    font-size: 12px;
  }
  h1 {
    font-size: 61px;
  }
  .hero-links {
    gap: 24px;
  }
  .education-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .education-row time {
    order: -1;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
/* ASCII forms extend the visual identity without obscuring the content. */
.hero {
  padding-bottom: 24px;
}
.ascii-stage {
  height: 400px;
}
#ascii-canvas {
  height: 355px;
  opacity: 1;
  cursor: default;
}
.ascii-rule {
  height: 56px;
  margin: 0 0 20px;
  overflow: hidden;
}
.ascii-rule canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.ascii-signature {
  height: 205px;
  margin: 4px 0 28px;
  overflow: hidden;
}
.ascii-signature canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.project-image-link {
  position: relative;
}
.project-ascii {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  background: #08090a;
}
.project-media.is-ascii .project-ascii {
  opacity: 1;
}
.project-media figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.ascii-image-toggle {
  flex-shrink: 0;
  background: none;
  border: 0;
  color: #8c98a8;
  min-height: var(--control-size);
  padding: 5px 0 5px 8px;
  font: 12px var(--mono);
  white-space: nowrap;
}
.ascii-image-toggle:hover,
.project-media.is-ascii .ascii-image-toggle {
  color: #e0e9f4;
}
.ascii-image-toggle:disabled {
  display: none;
}
.footer-motion {
  border: 0;
  background: none;
  color: #8290a1;
  padding: 0;
  min-height: var(--control-size);
  font: inherit;
  cursor: pointer;
}
.footer-motion:hover {
  color: #d7e0ec;
}
.footer-links {
  display: flex;
  margin-left: auto;
  gap: 24px;
  align-items: center;
}
@media (min-width: 1450px) {
  .hero {
    padding-bottom: 24px;
  }
}
@media (max-width: 950px) {
  .ascii-stage {
    height: 365px;
  }
  #ascii-canvas {
    height: 320px;
  }
  .hero {
    padding-bottom: 24px;
  }
  .ascii-signature {
    height: 175px;
  }
}
@media (max-width: 700px) {
  .hero {
    padding-bottom: 18px;
  }
  .ascii-stage {
    height: 270px;
    margin-top: 27px;
  }
  #ascii-canvas {
    height: 235px;
  }
  .ascii-rule {
    height: 42px;
    margin-bottom: 18px;
  }
  .ascii-signature {
    height: 110px;
    margin: 0 0 23px;
  }
  .project-media figcaption {
    gap: 8px;
    align-items: flex-start;
  }
  .project-media figcaption > span {
    max-width: 72%;
  }
  .ascii-image-toggle {
    font-size: 12px;
  }
  .footer-links {
    gap: 18px;
  }
  .mode-controls {
    gap: 7px;
  }
  .art-controls {
    gap: 8px;
  }
}

.ascii-stage {
  height: auto;
}
[data-motion="paused"] *,
[data-motion="paused"] *::before,
[data-motion="paused"] *::after {
  animation: none !important;
  transition: none !important;
}
[data-motion="paused"] .project-image-link:hover .project-image {
  transform: none;
}
@media (max-width: 370px) {
  .ascii-signature {
    height: 90px;
  }
  footer {
    flex-wrap: wrap;
    gap: 13px;
  }
  .footer-links {
    margin-left: auto;
  }
}
