@font-face {
  font-family: "Geist Mono";
  src: url("./assets/geist-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Geist Pixel";
  src: url("./assets/geist-pixel-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist Pixel Line";
  src: url("./assets/geist-pixel-line-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Geist Pixel Square";
  src: url("./assets/geist-pixel-square-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color: #5f5850;
  background: #f3f0eb;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #f3f0eb;
  overscroll-behavior: none;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
}

body,
h1,
h2,
p {
  margin: 0;
}

body {
  min-width: 1280px;
  background: #f3f0eb;
  animation: page-fade-in 180ms ease-out backwards;
  overscroll-behavior-y: none;
  transition-property: opacity;
  transition-duration: 140ms;
  transition-timing-function: ease-out;
}

html.is-page-leaving body {
  opacity: 0;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  display: flex;
  width: 100%;
  min-width: 1280px;
  min-height: 2600px;
  align-items: flex-start;
  overflow: clip;
}

.portfolio {
  --project-column: calc((100% - 129px) / 3);
  position: relative;
  flex: 1 0 1280px;
  width: 100%;
  min-width: 1280px;
  height: 2600px;
  overflow: clip;
  background: #f3f0eb;
}

site-header,
site-footer {
  display: block;
}

.site-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 240px;
  overflow: hidden;
}

.brand,
.nav-link,
.projects-title,
.masonry-title,
.project-card-title,
.project-card-description,
.project-card-tags,
.visual-scraps-title,
.about-detail summary,
.about-timeline-date,
.about-practical,
.footer-link,
.footer-meta {
  font-family: "Geist Mono", monospace;
  font-weight: 500;
}

.brand {
  position: absolute;
  top: 41px;
  left: 41px;
  font-size: 23px;
  line-height: 27.6px;
  white-space: nowrap;
  text-wrap: pretty;
}

.site-header-inner nav {
  position: absolute;
  top: 35px;
  right: 41px;
  z-index: 3;
  display: flex;
  height: 40px;
  align-items: center;
  gap: 24px;
}

.nav-link {
  position: relative;
  display: block;
  height: 20px;
  font-size: 18px;
  line-height: 20px;
  white-space: nowrap;
}

.nav-link::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  min-width: 40px;
  height: 40px;
  content: "";
  transform: translate(-50%, -50%);
}

.nav-about::after,
.footer-email::after,
.footer-linkedin::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition-property: transform, opacity;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.nav-about:hover::after,
.nav-about:focus-visible::after,
.footer-email:hover::after,
.footer-email:focus-visible::after,
.footer-linkedin:hover::after,
.footer-linkedin:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link:focus-visible,
.footer-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.nav-about {
  right: auto;
}

.nav-projects-menu {
  position: relative;
  z-index: 3;
  display: flex;
  width: auto;
  height: 40px;
  align-items: center;
}

.nav-projects {
  top: auto;
  right: auto;
}

.projects-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  width: 240px;
  margin: 0;
  padding: 8px;
  visibility: hidden;
  border-radius: 10px;
  background: #f3f0eb;
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 8%),
    0 8px 20px rgb(0 0 0 / 8%);
  list-style: none;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition-property: opacity, transform, visibility;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.nav-projects-menu:hover .projects-dropdown,
.nav-projects-menu:focus-within .projects-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.projects-dropdown a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  line-height: 1.2;
  transition-property: color, background-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.projects-dropdown a:hover,
.projects-dropdown a:focus-visible {
  color: #fff;
  background: #5f5850;
  outline: none;
}

.nav-contact {
  top: auto;
  right: auto;
  z-index: 1;
  width: 124px;
  height: 40px;
  pointer-events: none;
  isolation: isolate;
  transition-property: color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.nav-contact::before {
  display: none;
}

.nav-contact-surface {
  position: absolute;
  z-index: 0;
  inset: 2px 0;
  overflow: hidden;
  pointer-events: auto;
  border: 1.5px solid #5f5850;
  border-radius: 26px;
}

.nav-contact-surface::after {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: #5f5850;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.nav-contact:hover .nav-contact-surface::after,
.nav-contact:focus-visible .nav-contact-surface::after {
  transform: scaleX(1);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: #fff;
}

.nav-contact:focus-visible {
  outline: none;
}

.nav-contact:focus-visible .nav-contact-surface {
  outline: 2px solid #5f5850;
  outline-offset: 4px;
}

.nav-contact-label {
  position: absolute;
  inset: 2px 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: auto;
  text-align: center;
}

.nav-contact-email,
.nav-contact-icon {
  display: none;
}

.nav-toggle {
  display: none;
}

body.nav-lock {
  overflow: hidden;
}

.nav-toggle-mark,
.nav-toggle-mark::before,
.nav-toggle-mark::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition-property: transform, top, background-color;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.nav-toggle-mark {
  position: relative;
}

.nav-toggle-mark::before,
.nav-toggle-mark::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-mark::before {
  top: -7px;
}

.nav-toggle-mark::after {
  top: 7px;
}

.intro-title {
  position: absolute;
  top: 146px;
  right: 41px;
  left: 41px;
  height: 279px;
  color: #5f5850;
  font-family: "Geist Pixel Square", monospace;
  font-size: 58px;
  font-weight: 400;
  line-height: 69.6px;
  text-wrap: balance;
}

.intro-title span {
  display: block;
  white-space: nowrap;
}

.intro-title .intro-line {
  font-family: "Geist Pixel Line", monospace;
}

.projects-title {
  position: absolute;
  top: 530px;
  left: 41px;
  color: #5f5850;
  font-size: 23px;
  line-height: 27.6px;
  white-space: nowrap;
  text-wrap: balance;
}

.projects-title-underlay {
  color: #383e55;
}

.project-deck {
  --project-ease: cubic-bezier(0.2, 0, 0, 1);
  position: absolute;
  top: 573px;
  right: 40px;
  left: 41px;
  height: 579px;
}

.project-card {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 5px;
  outline: none;
  background: #d9d9d9;
  color: #5f5850;
  cursor: pointer;
  transition-property: clip-path;
  transition-duration: 380ms;
  transition-timing-function: var(--project-ease);
}

.project-card:focus-visible {
  box-shadow: inset 0 0 0 2px #5f5850;
}

.project-card-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.project-card-one .project-card-media {
  inset: 0 auto 0 0;
  width: 66%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(-27.5%, 0, 0);
  transition-property: transform;
  transition-duration: 380ms;
  transition-timing-function: var(--project-ease);
}

.project-deck:has(.project-card-one:is(:hover, :focus-visible)) .project-card-one .project-card-media {
  transform: translate3d(-7%, 0, 0);
}

.project-deck:has(.project-card-two:is(:hover, :focus-visible)) .project-card-one .project-card-media,
.project-deck:has(.project-card-three:is(:hover, :focus-visible)) .project-card-one .project-card-media {
  transform: translate3d(-33%, 0, 0);
}

.project-card-two .project-card-media {
  inset: 0 auto 0 17.8%;
  width: 64.4%;
  object-fit: cover;
}

.project-card-three .project-card-media {
  inset: 0 auto 0 55%;
  width: 72.4%;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  transition-property: transform;
  transition-duration: 380ms;
  transition-timing-function: var(--project-ease);
}

.project-card-three:is(:hover, :focus-visible) .project-card-media {
  transform: translate3d(-6.9%, 0, 0);
}

.project-card-one {
  --copy-x: 25%;
  clip-path: inset(0 67.5% 0 0 round 5px);
}

.project-card-two {
  --copy-x: 50%;
  clip-path: inset(0 33.75% 0 33.75% round 5px);
}

.project-card-three {
  --copy-x: 75%;
  clip-path: inset(0 0 0 67.5% round 5px);
}

.project-deck:has(.project-card-one:is(:hover, :focus-visible)) .project-card-one {
  clip-path: inset(0 50% 0 0 round 5px);
}

.project-deck:has(.project-card-one:is(:hover, :focus-visible)) .project-card-two {
  clip-path: inset(0 25% 0 51.25% round 5px);
}

.project-deck:has(.project-card-one:is(:hover, :focus-visible)) .project-card-three {
  clip-path: inset(0 0 0 76.25% round 5px);
}

.project-deck:has(.project-card-two:is(:hover, :focus-visible)) .project-card-one {
  clip-path: inset(0 76.25% 0 0 round 5px);
}

.project-deck:has(.project-card-two:is(:hover, :focus-visible)) .project-card-two {
  clip-path: inset(0 25% 0 25% round 5px);
}

.project-deck:has(.project-card-two:is(:hover, :focus-visible)) .project-card-three {
  clip-path: inset(0 0 0 76.25% round 5px);
}

.project-deck:has(.project-card-three:is(:hover, :focus-visible)) .project-card-one {
  clip-path: inset(0 76.25% 0 0 round 5px);
}

.project-deck:has(.project-card-three:is(:hover, :focus-visible)) .project-card-two {
  clip-path: inset(0 51.25% 0 25% round 5px);
}

.project-deck:has(.project-card-three:is(:hover, :focus-visible)) .project-card-three {
  clip-path: inset(0 0 0 50% round 5px);
}

.project-card-info {
  display: contents;
}

.project-card-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: var(--copy-x);
  width: min(44%, 530px);
  padding: 14px 18px 15px;
  border-radius: 5px;
  background: rgb(243 240 235 / 92%);
  box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 2px));
  transition-property: opacity, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--project-ease);
}

.project-card-title {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 27.6px;
  text-align: center;
  text-wrap: balance;
}

.project-card-description {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  text-wrap: pretty;
}

.project-card-tags {
  position: absolute;
  z-index: 1;
  top: calc(50% + 72px);
  left: var(--copy-x);
  display: flex;
  width: min(44%, 530px);
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 2px);
  transition-property: opacity, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--project-ease);
}

.project-card-tags li {
  padding: 5px 8px;
  border-radius: 4px;
  background: rgb(243 240 235 / 92%);
  box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
  font-size: 14px;
  line-height: 16.8px;
  white-space: nowrap;
}

.project-card:is(:hover, :focus-visible) .project-card-copy {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition-delay: 20ms;
  transition-duration: 180ms;
  transition-timing-function: var(--project-ease);
}

.project-card:is(:hover, :focus-visible) .project-card-tags {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 40ms;
  transition-duration: 180ms;
  transition-timing-function: var(--project-ease);
}

.masonry-section {
  position: absolute;
  top: 1230px;
  right: 41px;
  left: 41px;
  height: 900px;
}

.masonry-title {
  position: absolute;
  top: 0;
  left: 0;
  color: #5f5850;
  font-size: 23px;
  line-height: 27.6px;
  white-space: nowrap;
  text-wrap: balance;
}

.masonry-grid {
  position: absolute;
  top: 43px;
  right: 0;
  left: 0;
  column-count: 3;
  column-gap: 18px;
}

.masonry-item {
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  break-inside: avoid;
  border-radius: 5px;
  background: #d9d9d9;
}

.masonry-item :is(img, video) {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.masonry-thumbnail-video {
  pointer-events: none;
}

.masonry-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.masonry-open:focus-visible {
  outline: 2px solid #5f5850;
  outline-offset: -4px;
}

.masonry-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding:
    max(24px, env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.masonry-lightbox[open] {
  display: grid;
  place-items: center;
}

.masonry-lightbox:focus {
  outline: none;
}

.masonry-lightbox::backdrop {
  background: rgb(0 0 0 / 82%);
}

.masonry-lightbox-surface {
  position: relative;
  display: grid;
  max-width: 100%;
  max-height: 100%;
  place-items: center;
}

.masonry-lightbox-figure {
  display: grid;
  max-width: 100%;
  max-height: 100%;
  gap: 10px;
  justify-items: center;
  margin: 0;
}

.masonry-lightbox-image,
.masonry-lightbox-video {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 112px);
  border-radius: 5px;
  object-fit: contain;
  outline: 1px solid rgb(255 255 255 / 10%);
  outline-offset: -1px;
  box-shadow: 0 16px 40px rgb(0 0 0 / 28%);
}

.masonry-lightbox-video[hidden] {
  display: none;
}

.masonry-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #171717;
  background: rgb(243 240 235 / 96%);
  box-shadow: 0 4px 12px rgb(0 0 0 / 18%);
  cursor: pointer;
}

.masonry-lightbox-close-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.masonry-lightbox-close-icon::before,
.masonry-lightbox-close-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.masonry-lightbox-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.masonry-lightbox-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.masonry-lightbox-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.masonry-item-one,
.masonry-item-two,
.masonry-item-three,
.masonry-item-four,
.masonry-item-five,
.masonry-item-six,
.masonry-item-seven {
  aspect-ratio: auto;
}

.masonry-item-four {
  break-before: auto;
}

.visual-scraps {
  position: absolute;
  top: 2210px;
  right: 0;
  left: 0;
  height: 840px;
  overflow: hidden;
  isolation: isolate;
  touch-action: pan-y;
}

.visual-scraps-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-size: clamp(30px, 2.65vw, 46px);
  line-height: 1.1;
  white-space: nowrap;
  text-wrap: balance;
}

.visual-scraps-link {
  display: block;
}

.visual-scraps-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.scrap {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border-radius: 5px;
  background: #d9d9d9;
  transform: translate3d(0, 0, 0);
}

.scrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scrap-one {
  top: 74px;
  left: clamp(70px, calc(50% - 640px), 280px);
  width: 282px;
  height: 238px;
}

.scrap-two {
  top: 112px;
  left: calc(50% - 90px);
  width: 282px;
  height: 238px;
}

.scrap-three {
  top: 466px;
  left: clamp(80px, calc(50% - 620px), 300px);
  width: 283px;
  height: 307px;
}

.scrap-four {
  top: 540px;
  left: calc(50% - 239px);
  width: 282px;
  height: 282px;
}

.scrap-five {
  top: 452px;
  right: clamp(80px, calc(50% - 620px), 280px);
  width: 282px;
  height: 308px;
}

.scrap-six {
  top: 302px;
  left: calc(50% - 480px);
  width: 164px;
  height: 126px;
  background: transparent;
}

.scrap-six img {
  object-fit: contain;
}

.scrap-seven {
  top: 110px;
  left: calc(50% + 320px);
  width: 282px;
  height: 323px;
  background: transparent;
}

.scrap-seven img {
  object-fit: contain;
}

.scrap-eight {
  top: 496px;
  left: calc(50% + 50px);
  width: 182px;
  height: 142px;
}

.about-section {
  position: relative;
  scroll-margin-top: 32px;
}

.about-title {
  margin: 0;
  font-family: "Geist Pixel Line", monospace;
  font-size: clamp(38px, 3.7vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}

.about-intro-grid {
  display: block;
  margin-top: 38px;
}

.about-copy {
  max-width: 860px;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  text-wrap: pretty;
}

.about-copy p + p {
  margin-top: 12px;
}

.about-practical {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.45;
  text-wrap: pretty;
}

.about-practical p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-status-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #29b765;
}

.about-practical-links {
  display: flex;
  gap: 28px;
}

.about-practical a {
  position: relative;
}

.about-practical a::after {
  position: absolute;
  right: 0;
  bottom: -3px;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition-property: opacity, transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.about-practical a:hover::after,
.about-practical a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.about-practical a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.about-details {
  margin-top: 56px;
  border-top: 1px solid rgb(95 88 80 / 55%);
}

.about-detail {
  border-bottom: 1px solid rgb(95 88 80 / 55%);
}

.about-detail summary {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 23px;
  line-height: 1.2;
  list-style: none;
  text-wrap: balance;
}

.about-detail summary::-webkit-details-marker {
  display: none;
}

.about-detail summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
}

.about-toggle {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  transform: rotate(0deg);
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}

.about-toggle::before,
.about-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.about-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.about-detail[open] .about-toggle {
  transform: rotate(45deg);
}

.about-detail-content {
  padding: 0 0 30px;
}

.about-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 32px;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  list-style: none;
}

.about-areas li::before {
  margin-right: 10px;
  content: "—";
}

.about-timeline {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline li {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
}

.about-timeline-date {
  font-size: 16px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.about-timeline div {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.about-timeline strong {
  font-weight: 600;
}

.about-timeline .about-role-note {
  font-weight: 400;
}

.about-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 32px;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  list-style: none;
}

.about-tools li::before {
  margin-right: 10px;
  content: "—";
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
    transition: none;
  }

  .nav-about::after,
  .footer-email::after,
  .footer-linkedin::after,
  .projects-dropdown,
  .projects-dropdown a,
  .nav-contact,
  .nav-contact-surface::after,
  .about-practical a::after,
  .about-toggle,
  .nav-toggle-mark,
  .nav-toggle-mark::before,
  .nav-toggle-mark::after,
  .project-card,
  .project-card-media,
  .project-card-copy,
  .project-card-tags {
    transition: none;
  }

  .scrap {
    animation: none !important;
    transform: none !important;
  }
}

@keyframes mobile-scrap-parallax {
  from {
    transform: translate3d(var(--parallax-start-x, 0), var(--parallax-start-y, 0), 0);
  }

  to {
    transform: translate3d(var(--parallax-end-x, 0), var(--parallax-end-y, 0), 0);
  }
}

.footer-title {
  position: absolute;
  right: 39px;
  top: 0;
  bottom: auto;
  left: 39px;
  display: flex;
  width: auto;
  align-items: baseline;
  justify-content: space-between;
  color: #5f5850;
  font-family: "Geist Pixel Square", monospace;
  font-size: clamp(62px, 4.84375vw, 96px);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-wrap: balance;
}

.footer-title-link {
  display: flex;
  width: 100%;
  align-items: baseline;
  justify-content: space-between;
}

.footer-title-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.footer-name {
  font-family: "Geist Pixel Line", monospace;
}

.footer-link,
.footer-meta {
  position: absolute;
  font-size: 23px;
  line-height: 27.6px;
  white-space: nowrap;
}

.footer-link {
  left: 41px;
}

.footer-email {
  top: 140px;
}

.footer-linkedin {
  top: 182px;
}

.footer-meta {
  color: #807c78;
  opacity: 0.65;
}

.footer-city {
  top: 140px;
  right: 41px;
}

.footer-year {
  top: 182px;
  right: 41px;
}

.footer-ornament {
  position: absolute;
  top: auto;
  bottom: -28px;
  left: 50%;
  display: block;
  width: min(60vw, 960px);
  height: auto;
  mix-blend-mode: multiply;
  object-fit: contain;
  outline: none;
  transform: translateX(-50%);
}

.nav-projects-menu.is-open .projects-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 1279px) {
  :root {
    --page-gutter: 28px;
  }

  html,
  body {
    min-width: 0;
    overflow-x: clip;
  }

  .page-shell,
  .portfolio {
    display: block;
    width: 100%;
    min-width: 0;
    flex: none;
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }

  site-header {
    position: relative;
    z-index: 20;
  }

  .site-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px var(--page-gutter);
  }

  .brand,
  .site-header-inner nav {
    position: static;
    top: auto;
    right: auto;
    left: auto;
  }

  .brand {
    font-size: 18px;
    line-height: 1.2;
  }

  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    color: #5f5850;
    cursor: pointer;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
  }

  .site-header.is-open .nav-toggle-mark {
    background: transparent;
  }

  .site-header.is-open .nav-toggle-mark::before,
  .site-header.is-open .nav-toggle-mark::after {
    top: 0;
  }

  .site-header.is-open .nav-toggle-mark::before {
    transform: rotate(45deg);
  }

  .site-header.is-open .nav-toggle-mark::after {
    transform: rotate(-45deg);
  }

  .site-header-inner nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--page-gutter) 28px;
    background: #f3f0eb;
    border-bottom: 1px solid rgb(95 88 80 / 18%);
  }

  .site-header.is-open .site-header-inner nav {
    display: flex;
  }

  .nav-link {
    height: auto;
    padding: 14px 0;
    font-size: 22px;
    line-height: 1.2;
  }

  .site-header-inner nav .nav-about {
    width: max-content;
    padding-bottom: 8px;
  }

  .site-header-inner nav .nav-about::after,
  .projects-dropdown a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1.5px;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
  }

  .site-header-inner nav .nav-about:hover::after,
  .site-header-inner nav .nav-about:focus-visible::after,
  .projects-dropdown a:hover::after,
  .projects-dropdown a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .nav-projects-menu {
    display: block;
    width: 100%;
    height: auto;
  }

  .projects-dropdown {
    position: static;
    top: auto;
    visibility: visible;
    width: 100%;
    padding: 0 0 8px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .projects-dropdown a {
    position: relative;
    width: max-content;
    min-height: 0;
    padding: 10px 0 8px;
    font-size: 16px;
  }

  .projects-dropdown a:hover,
  .projects-dropdown a:focus-visible {
    color: inherit;
    background: transparent;
  }

  .nav-contact {
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 0;
    color: #5f5850;
    pointer-events: auto;
  }

  .nav-contact:hover,
  .nav-contact:focus-visible {
    color: #5f5850;
  }

  .nav-contact-surface {
    display: none;
  }

  .nav-contact-label {
    display: none;
  }

  .nav-contact-email {
    display: block;
    min-width: 0;
    overflow: hidden;
    font-family: "Geist Mono", monospace;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-contact-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .nav-contact-icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  #hero {
    padding: 28px var(--page-gutter) 8px;
  }

  .intro-title {
    position: static;
    height: auto;
    font-size: clamp(28px, 5.6vw, 46px);
    line-height: 1.18;
  }

  .intro-title span {
    white-space: normal;
  }

  #projects {
    padding: 36px var(--page-gutter) 8px;
  }

  .projects-title-underlay {
    display: none;
  }

  .projects-title,
  .masonry-title {
    position: static;
    white-space: normal;
    font-size: 18px;
    line-height: 1.25;
  }

  .project-deck {
    position: static;
    display: grid;
    height: auto;
    gap: 16px;
    margin-top: 16px;
  }

  .project-card {
    position: relative;
    min-height: 0;
    height: min(58vw, 420px);
    clip-path: none !important;
  }

  .project-card-media,
  .project-card-one .project-card-media,
  .project-card-two .project-card-media,
  .project-card-three .project-card-media,
  .project-deck:has(.project-card-one:is(:hover, :focus-visible)) .project-card-one .project-card-media,
  .project-deck:has(.project-card-two:is(:hover, :focus-visible)) .project-card-one .project-card-media,
  .project-deck:has(.project-card-three:is(:hover, :focus-visible)) .project-card-one .project-card-media,
  .project-card-three:is(:hover, :focus-visible) .project-card-media {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .project-card-info {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 12px;
    border-radius: 8px;
    background: rgb(243 240 235 / 58%);
    box-shadow: 0 1px 2px rgb(0 0 0 / 6%);
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
  }

  .project-card-copy,
  .project-card-tags {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .project-card:is(:hover, :focus-visible) .project-card-copy,
  .project-card:is(:hover, :focus-visible) .project-card-tags {
    transform: none;
  }

  .project-card-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
  }

  .project-card-description {
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
  }

  .project-card-tags {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .project-card-tags li {
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    line-height: 1.2;
  }

  .masonry-section {
    position: static;
    height: auto;
    padding: 40px var(--page-gutter) 24px;
  }

  .masonry-grid {
    position: static;
    column-count: 2;
    column-gap: 14px;
    margin-top: 16px;
  }

  .masonry-item {
    margin-bottom: 14px;
  }

  .masonry-item-four {
    break-before: auto;
  }

  .visual-scraps {
    position: relative;
    top: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 100 / 178;
    overflow: visible;
    margin-top: 24px;
    padding: 0;
  }

  .scrap,
  .scrap-one,
  .scrap-two,
  .scrap-three,
  .scrap-four,
  .scrap-five,
  .scrap-six,
  .scrap-seven,
  .scrap-eight {
    position: absolute;
    right: auto;
    height: auto;
    overflow: visible;
    background: transparent;
    aspect-ratio: auto;
  }

  .scrap img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: contain;
  }

  @supports (animation-timeline: view()) {
    .visual-scraps .scrap {
      animation-name: mobile-scrap-parallax;
      animation-duration: 1s;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view(block);
      animation-range: entry 0% exit 100%;
    }

    .scrap-one {
      --parallax-start-x: -10px;
      --parallax-start-y: 38px;
      --parallax-end-x: 8px;
      --parallax-end-y: -38px;
    }

    .scrap-two {
      --parallax-start-x: 14px;
      --parallax-start-y: -58px;
      --parallax-end-x: -12px;
      --parallax-end-y: 58px;
    }

    .scrap-three {
      --parallax-start-x: -8px;
      --parallax-start-y: -46px;
      --parallax-end-x: 10px;
      --parallax-end-y: 46px;
    }

    .scrap-four {
      --parallax-start-x: 12px;
      --parallax-start-y: 64px;
      --parallax-end-x: -10px;
      --parallax-end-y: -64px;
    }

    .scrap-five {
      --parallax-start-x: -15px;
      --parallax-start-y: -76px;
      --parallax-end-x: 12px;
      --parallax-end-y: 76px;
    }

    .scrap-six {
      --parallax-start-x: 8px;
      --parallax-start-y: -30px;
      --parallax-end-x: -6px;
      --parallax-end-y: 30px;
    }

    .scrap-seven {
      --parallax-start-x: -12px;
      --parallax-start-y: 52px;
      --parallax-end-x: 10px;
      --parallax-end-y: -52px;
    }

    .scrap-eight {
      --parallax-start-x: 10px;
      --parallax-start-y: -66px;
      --parallax-end-x: -12px;
      --parallax-end-y: 66px;
    }
  }

  .scrap-one {
    top: 2%;
    left: 3%;
    width: 46%;
    z-index: 2;
  }

  .scrap-two {
    top: 6%;
    left: 34%;
    width: 40%;
    z-index: 3;
  }

  .scrap-seven {
    top: 3%;
    left: auto;
    right: 2%;
    width: 36%;
    z-index: 4;
  }

  .scrap-six {
    top: 31%;
    left: 20%;
    width: 24%;
    z-index: 5;
  }

  .scrap-three {
    top: 43%;
    left: 3%;
    width: 46%;
    z-index: 2;
  }

  .scrap-four {
    top: 51%;
    left: 33%;
    width: 32%;
    z-index: 4;
  }

  .scrap-five {
    top: 41%;
    left: auto;
    right: 2%;
    width: 42%;
    z-index: 3;
  }

  .scrap-eight {
    top: 76%;
    left: 38%;
    width: 36%;
    z-index: 5;
  }

  .about-section {
    margin-inline: var(--page-gutter);
  }

  .about-title {
    font-size: clamp(32px, 7vw, 48px);
  }

  .about-intro-grid {
    margin-top: 24px;
  }

  .about-copy {
    font-size: 16px;
  }

  .about-practical {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 14px;
    line-height: 1.4;
  }

  .about-practical p {
    align-items: flex-start;
  }

  .about-status-dot {
    margin-top: 0.55em;
  }

  .about-details {
    margin-top: 36px;
  }

  .about-detail summary {
    min-height: 64px;
    font-size: 18px;
  }

  .about-areas,
  .about-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
  }

  .about-timeline li,
  .about-timeline div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    position: relative;
    display: grid;
    height: auto;
    overflow: hidden;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title title"
      "email city"
      "linkedin year"
      "ornament ornament";
    gap: 8px 16px;
    padding: 28px var(--page-gutter) 0;
    margin-top: 48px;
  }

  .footer-title {
    position: static;
    grid-area: title;
    font-size: clamp(34px, 5.6vw, 72px);
    white-space: normal;
    line-height: 0.94;
  }

  .footer-title-link {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .footer-name,
  .footer-role {
    display: block;
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }

  .footer-link,
  .footer-meta {
    position: static;
    font-size: 16px;
    line-height: 1.3;
  }

  .footer-email {
    grid-area: email;
  }

  .footer-linkedin {
    grid-area: linkedin;
  }

  .footer-city {
    grid-area: city;
    justify-self: end;
  }

  .footer-year {
    grid-area: year;
    justify-self: end;
  }

  .footer-ornament {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    grid-area: ornament;
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 2889 / 370;
    margin: 10px 0 0;
    object-fit: cover;
    object-position: top center;
    transform: translateY(1px);
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 18px;
  }

  .site-header-inner {
    padding: 10px var(--page-gutter);
  }

  .brand {
    font-size: 16px;
  }

  .nav-link {
    font-size: 20px;
  }

  #hero {
    padding-top: 20px;
  }

  .intro-title {
    font-size: clamp(24px, 8.2vw, 32px);
    line-height: 1.16;
  }

  .project-card {
    height: 72vw;
  }

  .project-card-description {
    display: none;
  }

  .masonry-grid {
    column-count: 1;
  }

  .visual-scraps {
    aspect-ratio: 100 / 186;
  }

  .scrap-one {
    width: 48%;
  }

  .scrap-two {
    left: 32%;
    width: 42%;
  }

  .scrap-seven {
    width: 38%;
  }

  .scrap-three {
    width: 48%;
  }

  .scrap-five {
    width: 44%;
  }

  .about-areas,
  .about-tools {
    grid-template-columns: 1fr;
  }

  .about-practical {
    font-size: 13px;
    line-height: 1.35;
  }

  .about-practical p {
    gap: 8px;
  }

  .about-status-dot {
    width: 6px;
    height: 6px;
    margin-top: 0.45em;
  }

  .about-detail summary {
    min-height: 56px;
    font-size: 16px;
    gap: 12px;
  }

  .footer-title {
    font-size: clamp(32px, 9.2vw, 46px);
  }

  .footer-ornament {
    width: 100%;
    margin: 8px 0 0;
  }
}
