@font-face {
  font-family: Bodoni;
  src: url("/fonts/bodoni-moda-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Chivo;
  src: url("/fonts/chivo-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #ece8df;
  --ink: #24231f;
  --muted: #67645d;
  --line: #c9c5bb;
  --accent: #c23c24;
  font-family: Chivo, "Courier New", monospace;
  color: var(--ink);
  background: var(--paper);
  font-size: 12px;
  line-height: 1.65;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
a:hover {
  color: var(--accent);
}
::selection {
  background: var(--accent);
  color: var(--paper);
}
.skip {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 100;
  background: var(--paper);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin: auto;
  padding: 18px 5.5%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.monogram {
  font-family: Bodoni, Georgia, serif;
  font-size: 35px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -3px;
}
.monogram > span {
  font-family: Chivo, monospace;
  font-style: normal;
  color: var(--accent);
  font-size: 20px;
  display: inline-block;
  transform: translate(6px, -8px);
  letter-spacing: 0;
}
.masthead nav {
  display: flex;
  gap: 30px;
}
.masthead nav a {
  position: relative;
  padding: 6px 0;
}
.masthead nav a:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--accent);
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}
.masthead nav a:hover:after {
  transform: scaleX(1);
}
nav a span {
  display: inline-block;
  transition: transform 0.25s;
}
nav a:hover span {
  transform: translate(2px, -2px);
}
main,
footer {
  max-width: 1400px;
  width: 89%;
  margin: auto;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  column-gap: 6%;
  padding-top: 55px;
}
.location {
  margin: 0 0 15px;
  font-size: 10px;
  color: var(--muted);
}
.local-time {
  padding-left: 14px;
  font-variant-numeric: tabular-nums;
}
.hero h1 {
  font-family: Bodoni, Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(120px, 16.8vw, 270px);
  line-height: 1.05;
  letter-spacing: -0.075em;
  margin: 0 0 0 -10px;
}
.hero h1 > span {
  display: block;
  animation: name-enter 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.name-period {
  color: var(--accent);
}
.full-name {
  font-size: 13px;
  letter-spacing: 0.04em;
  margin: 5px 0 28px;
}
.intro {
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.6px;
  margin: 0 0 15px;
}
.bio {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.8;
}
.hero-links {
  display: flex;
  gap: 28px;
  margin-top: 26px;
  font-size: 10px;
}
.hero-links a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
}
.hero-links a span {
  margin-left: 8px;
}
.portrait {
  margin: 4px 0 0;
  align-self: start;
  position: relative;
  animation: portrait-enter 1s 0.15s both;
}
.portrait-surface {
  position: relative;
  aspect-ratio: 1/1.08;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  display: block;
}
.portrait canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s;
  touch-action: pan-y;
}
.portrait.ready canvas {
  opacity: 1;
}
.portrait.ready img {
  opacity: 0;
}
.portrait-corner {
  position: absolute;
  font-size: 18px;
  color: var(--accent);
  pointer-events: none;
  line-height: 1;
}
.corner-tl {
  top: 8px;
  left: 8px;
}
.corner-br {
  bottom: 8px;
  right: 8px;
}
.portrait figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  padding-top: 12px;
  color: var(--muted);
  min-height: 34px;
}
.portrait button {
  background: none;
  border: 0;
  padding: 2px 0;
  border-bottom: 1px solid var(--muted);
  cursor: pointer;
  font-size: 9px;
}
.portrait button:hover {
  color: var(--accent);
}
.portrait button span {
  padding: 0 8px;
}
.portrait-hint {
  opacity: 0;
}
.portrait.ready .portrait-hint {
  opacity: 1;
}
.hero-foot {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--muted);
  font-size: 10px;
  margin-top: 45px;
}
.work {
  padding: 65px 0 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.section-head h2 {
  font-size: 11px;
  font-weight: 400;
  margin: 0;
}
.section-head > a {
  font-size: 10px;
  color: var(--muted);
}
.project {
  display: grid;
  grid-template-columns: 50px 1fr 1.3fr 120px 25px;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 25px 0;
  position: relative;
  isolation: isolate;
}
.project:last-child {
  border-bottom: 1px solid var(--line);
}
.project:before {
  content: "";
  position: absolute;
  inset: 0 -16px;
  background: var(--ink);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.project:hover:before,
.project:focus-visible:before {
  transform: scaleY(1);
}
.project:hover,
.project:focus-visible {
  color: var(--paper);
}
.project-index {
  font-size: 9px;
  color: var(--muted);
  align-self: center;
}
.project h3 {
  font-family: Bodoni, Georgia, serif;
  font-weight: 500;
  font-style: italic;
  font-size: 43px;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin: 0;
  transition: transform 0.35s;
}
.project:hover h3,
.project:focus-visible h3 {
  transform: translateX(9px);
}
.project p {
  font-size: 12px;
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  transition: color 0.2s;
}
.project:hover p,
.project:hover .project-index,
.project:focus-visible p {
  color: #d5cec3;
}
.project-arrow {
  font-size: 26px;
  transition: transform 0.3s;
}
.project:hover .project-arrow {
  transform: translate(3px, -3px);
  color: #f07957;
}
.project-drawing {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  color: var(--accent);
  opacity: 0.6;
  transition:
    opacity 0.2s,
    transform 0.35s;
}
.project:hover .project-drawing {
  opacity: 1;
  color: #f07957;
  transform: rotate(-5deg);
}
.project-drawing svg {
  width: 90px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}
.project:hover .project-drawing svg {
  stroke-dasharray: 240;
  animation: draw 1.3s ease both;
}
.code-dots {
  stroke-width: 4;
}
.waveform {
  gap: 4px;
}
.waveform i {
  height: 12px;
  width: 2px;
  background: currentColor;
  animation: wave 1s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.waveform i:nth-child(3n) {
  height: 28px;
  animation-delay: -0.4s;
}
.waveform i:nth-child(2n) {
  height: 38px;
  animation-delay: -0.7s;
}
.project:hover .waveform i,
.project:focus-visible .waveform i {
  animation-play-state: running;
}
.code-preview {
  display: block;
  padding-top: 7px;
  font-size: 8px;
}
.code-preview > span {
  opacity: 0.6;
}
.experience {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 10px;
}
.experience p {
  margin: 0;
  line-height: 1.8;
}
.experience > a {
  white-space: nowrap;
}
.writing {
  margin-top: 90px;
}
.post {
  display: grid;
  grid-template-columns: 1fr 3fr 30px;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.post-date {
  font-size: 10px;
  color: var(--muted);
}
.post h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.5px;
  margin: 0;
  transition: transform 0.3s;
}
.post:hover h3 {
  transform: translateX(6px);
}
.post-arrow {
  font-size: 28px;
}
.contact {
  padding: 60px 0 55px;
}
.contact-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Bodoni, Georgia, serif;
  font-style: italic;
  font-size: clamp(70px, 12vw, 180px);
  letter-spacing: -0.07em;
  line-height: 1.3;
}
.contact-arrow {
  font-family: Chivo, monospace;
  font-style: normal;
  font-size: 0.6em;
  transition: transform 0.4s;
}
.contact-link:hover .contact-arrow {
  transform: translate(10px, -10px);
}
.email {
  font-size: 11px;
  display: inline-block;
  margin-top: 10px;
}
footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 20px 0 25px;
  font-size: 9px;
  color: var(--muted);
}
@keyframes name-enter {
  from {
    clip-path: inset(100% 0 0);
    transform: translateY(30px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}
@keyframes portrait-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes wave {
  to {
    transform: scaleY(0.25);
  }
}
@keyframes draw {
  from {
    stroke-dashoffset: 240;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@media (min-width: 1600px) {
  .hero h1 {
    font-size: 270px;
  }
  .hero {
    padding-top: 70px;
  }
  .portrait {
    max-width: 540px;
  }
}
@media (max-width: 1000px) {
  .hero {
    column-gap: 4%;
    padding-top: 35px;
  }
  .hero h1 {
    font-size: 18vw;
  }
  .intro {
    font-size: 16px;
  }
  .full-name {
    margin-bottom: 20px;
  }
  .bio {
    font-size: 10px;
  }
  .portrait {
    align-self: center;
  }
  .project {
    grid-template-columns: 30px 1fr 1.4fr 75px 20px;
    gap: 12px;
  }
  .project h3 {
    font-size: 36px;
  }
  .project-drawing svg {
    width: 70px;
  }
  .hero-links {
    gap: 16px;
  }
  .wide-only {
    display: none;
  }
}
@media (max-width: 650px) {
  :root {
    scroll-padding-top: 85px;
  }
  .masthead {
    padding: 15px 5.5%;
  }
  .monogram {
    font-size: 30px;
  }
  .masthead nav {
    gap: 17px;
    font-size: 10px;
  }
  .masthead nav a span {
    font-size: 11px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }
  .location {
    font-size: 9px;
  }
  .hero h1 {
    font-size: 34vw;
    line-height: 1;
    margin-left: -6px;
  }
  .full-name {
    font-size: 11px;
    margin-top: 12px;
    margin-bottom: 22px;
  }
  .intro {
    font-size: 17px;
  }
  .bio {
    font-size: 11px;
    max-width: 310px;
  }
  .hero-links {
    margin-top: 20px;
    font-size: 10px;
    gap: 24px;
  }
  .portrait {
    width: 100%;
    margin-top: 32px;
  }
  .portrait-surface {
    aspect-ratio: 1/1;
    max-height: 450px;
  }
  .portrait figcaption {
    font-size: 9px;
  }
  .hero-foot {
    margin-top: 26px;
    font-size: 8px;
    gap: 10px;
  }
  .work {
    padding-top: 40px;
  }
  .section-head {
    margin-bottom: 20px;
  }
  .project {
    grid-template-columns: 24px 1fr 65px 20px;
    padding: 20px 0;
    gap: 8px;
  }
  .project h3 {
    font-size: 37px;
    grid-column: 2;
    grid-row: 1;
  }
  .project p {
    grid-column: 2;
    grid-row: 2;
    font-size: 11px;
    max-width: 230px;
  }
  .project-index {
    grid-column: 1;
    grid-row: 1;
  }
  .project-drawing {
    grid-column: 3;
    grid-row: 1/3;
  }
  .project-arrow {
    grid-column: 4;
    grid-row: 1/3;
    font-size: 23px;
  }
  .code-preview {
    font-size: 6px;
  }
  .waveform {
    gap: 3px;
  }
  .project-drawing svg {
    width: 60px;
  }
  .project:before {
    inset: 0 -10px;
  }
  .experience {
    display: block;
    font-size: 10px;
  }
  .experience > a {
    display: inline-block;
    margin-top: 12px;
  }
  .writing {
    margin-top: 55px;
  }
  .post {
    grid-template-columns: 1fr 22px;
    gap: 15px;
    padding: 22px 0;
  }
  .post-date {
    grid-column: 1;
    grid-row: 1;
    font-size: 9px;
  }
  .post h3 {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
    letter-spacing: -0.4px;
  }
  .post-arrow {
    grid-column: 2;
    grid-row: 1/3;
    font-size: 24px;
  }
  .contact {
    padding: 40px 0;
  }
  .contact-link {
    font-size: 21vw;
  }
  .email {
    font-size: 10px;
  }
  footer {
    font-size: 8px;
    gap: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
