:root {
  --theme-transition-color: #1c1c1c;
  --page-margin: 24px;
  --grid-gap: 20px;
  --text: #000;
  --muted: rgba(0, 0, 0, 0.5);
  --subtle: rgba(0, 0, 0, 0.5);
  --thumbnail-border: rgb(0 0 0 / 10%);
  --media: #d9d9d9;
  --radius: 8px;
  --reveal-ease: cubic-bezier(0.45, 0, 0.55, 1);
  --type-h1-size: 64px;
  --type-h1-weight: 700;
  --type-h1-line-height: 72px;
  --type-h1-letter-spacing: 0;
  --type-h2-size: 36px;
  --type-h2-weight: 500;
  --type-h2-line-height: 40px;
  --type-h2-letter-spacing: -0.36px;
  --type-h3-size: 24px;
  --type-h3-weight: 400;
  --type-h3-line-height: 40px;
  --type-h3-letter-spacing: 0.24px;
  --type-title-size: 20px;
  --type-title-weight: 400;
  --type-title-line-height: 24px;
  --type-title-letter-spacing: 0.2px;
  --type-paragraph-size: 16px;
  --type-paragraph-weight: 400;
  --type-paragraph-line-height: 24px;
  --type-paragraph-letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  background: #fff;
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  min-width: 320px;
  margin: 0;
  background: #fff;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 480ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation-name: page-crossfade-out;
}

::view-transition-new(root) {
  animation-name: page-crossfade-in;
}

@keyframes page-crossfade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

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

  to {
    opacity: 1;
  }
}

html.has-fallback-page-transitions body > main > :not(header) {
  animation: page-fallback-fade-in 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.has-fallback-page-transitions.is-page-leaving body > main > :not(header) {
  opacity: 0.68;
  animation: none;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

html.has-fallback-page-transitions.is-page-leaving body {
  pointer-events: none;
}

.theme-transition-wash {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: block;
  background: var(--theme-transition-color);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

html.is-theme-leaving .theme-transition-wash,
html.is-theme-arriving .theme-transition-wash {
  opacity: 1;
}

html.is-theme-leaving body,
html.is-theme-arriving body {
  pointer-events: none;
}

html.is-theme-leaving main {
  opacity: 0.25;
  transition: opacity 260ms cubic-bezier(0.4, 0, 0.2, 1);
}

html.is-theme-arriving .theme-transition-wash {
  transition: none;
}

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

  to {
    opacity: 1;
  }
}

.has-appear-motion [data-appear],
.has-appear-motion [data-appear-text] {
  opacity: 0.001;
}

.has-appear-motion [data-appear] {
  filter: blur(5px);
  transform: translateY(10px);
}

.has-appear-motion [data-appear="media"] {
  filter: none;
  transform: translateY(10px) scale(0.99);
}

.has-appear-motion [data-appear-text].is-appear-prepared,
.has-appear-motion.is-appear-ready [data-appear-text] {
  opacity: 1;
}

.appear-word {
  display: inline-block;
}

.has-appear-motion .appear-word {
  opacity: 0.001;
  filter: blur(5px);
  transform: translateY(10px);
  will-change: filter, opacity, transform;
}

.has-appear-motion.is-appear-ready [data-appear] {
  animation: appear-blur-in 850ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--appear-delay, 0ms);
}

.has-appear-motion.is-appear-ready [data-appear="media"] {
  animation-name: appear-media-in;
  animation-duration: 900ms;
}

.has-appear-motion.is-appear-ready .appear-word {
  animation: appear-word-in 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--appear-delay, 0ms);
}

@keyframes appear-blur-in {
  from {
    opacity: 0.001;
    filter: blur(5px);
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes appear-word-in {
  from {
    opacity: 0.001;
    filter: blur(5px);
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes appear-media-in {
  from {
    opacity: 0.001;
    transform: translateY(10px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.is-locked {
  overflow: hidden;
}

.launch-transition {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow: hidden;
  pointer-events: none;
}

.launch-wash {
  position: absolute;
  inset: 0;
  background: #fff;
}

.launch-gradient {
  position: absolute;
  z-index: 1;
  inset: -18%;
  background:
    radial-gradient(circle at 20% 28%, rgb(255 176 112 / 88%) 0, rgb(255 176 112 / 32%) 24%, transparent 48%),
    radial-gradient(circle at 82% 22%, rgb(122 145 255 / 82%) 0, rgb(122 145 255 / 28%) 26%, transparent 50%),
    radial-gradient(circle at 58% 82%, rgb(239 169 235 / 76%) 0, rgb(239 169 235 / 24%) 24%, transparent 49%),
    radial-gradient(circle at 42% 48%, rgb(255 241 205 / 92%) 0, rgb(255 241 205 / 30%) 32%, transparent 58%);
  filter: blur(26px) saturate(112%);
  transform: scale(1.02) rotate(-2deg);
  transform-origin: center;
}

.launch-gradient::before,
.launch-gradient::after {
  position: absolute;
  width: 78vmax;
  height: 78vmax;
  border-radius: 50%;
  content: "";
  filter: blur(70px);
  opacity: 0.72;
  pointer-events: none;
}

.launch-gradient::before {
  top: -22%;
  left: -18%;
  background: radial-gradient(circle, rgb(255 163 88 / 72%) 0, rgb(255 185 126 / 28%) 38%, transparent 72%);
}

.launch-gradient::after {
  top: -18%;
  right: -20%;
  background: radial-gradient(circle, rgb(105 132 255 / 68%) 0, rgb(145 162 255 / 26%) 38%, transparent 72%);
}

.launch-gradient-sheen {
  position: absolute;
  z-index: 2;
  inset: -50%;
  background: linear-gradient(115deg, transparent 38%, rgb(255 255 255 / 58%) 49%, transparent 60%);
  opacity: 0.65;
  transform: translateX(-35%) rotate(4deg);
}

.is-unlocking {
  cursor: wait;
}

.is-unlocking .password-gate {
  animation: gate-release 440ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.is-unlocking .launch-transition,
html.is-launching .launch-transition {
  display: block;
}

.is-unlocking .launch-wash {
  animation: launch-wash-in 420ms ease-out both;
}

.is-unlocking .launch-gradient {
  animation: launch-gradient-in 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.is-unlocking .launch-gradient-sheen {
  animation: launch-sheen-in 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.is-launching,
html.is-launching body {
  overflow: hidden;
}

html.is-launching .intro,
html.is-launching .work-grid {
  opacity: 0;
  transform: translateY(8px);
}

html.is-launching.is-launch-revealing .intro,
html.is-launching.is-launch-revealing .work-grid {
  animation: launch-content-in 1120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.is-launching.is-launch-revealing .launch-wash {
  animation: launch-wash-out 1850ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

html.is-launching.is-launch-revealing .launch-gradient {
  animation: launch-gradient-out 1850ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

html.is-launching.is-launch-revealing .launch-gradient::before {
  animation: launch-orange-field-in 1850ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

html.is-launching.is-launch-revealing .launch-gradient::after {
  animation: launch-blue-field-in 1850ms cubic-bezier(0.33, 1, 0.68, 1) both;
}

html.is-launching.is-launch-revealing .launch-gradient-sheen {
  animation: launch-sheen-out 1320ms ease-out both;
}

html.is-launching.is-launch-revealing .intro {
  animation-delay: 500ms;
}

html.is-launching.is-launch-revealing .work-grid {
  animation-delay: 630ms;
}

@keyframes gate-release {
  to {
    filter: blur(5px);
    opacity: 0;
    transform: scale(0.985);
  }
}

@keyframes launch-wash-in {
  from {
    opacity: 0;
  }
}

@keyframes launch-gradient-in {
  from {
    filter: blur(34px) saturate(116%);
    opacity: 0;
    transform: scale(0.9) rotate(-3deg);
  }

  to {
    filter: blur(26px) saturate(112%);
    opacity: 1;
    transform: scale(1.02) rotate(-2deg);
  }
}

@keyframes launch-sheen-in {
  from {
    opacity: 0;
    transform: translateX(-48%) rotate(4deg);
  }

  to {
    opacity: 0.48;
    transform: translateX(-35%) rotate(4deg);
  }
}

@keyframes launch-wash-out {
  0%,
  16% {
    opacity: 1;
  }

  48% {
    opacity: 0.68;
  }

  78% {
    opacity: 0.18;
  }

  100% {
    opacity: 0;
  }
}

@keyframes launch-gradient-out {
  0%,
  16% {
    filter: blur(26px) saturate(112%);
    opacity: 1;
    transform: scale(1.02) rotate(-2deg);
  }

  48% {
    filter: blur(38px) saturate(114%);
    opacity: 0.72;
    transform: scale(1.02) rotate(-2deg);
  }

  78% {
    filter: blur(56px) saturate(116%);
    opacity: 0.18;
    transform: scale(1.02) rotate(-2deg);
  }

  100% {
    filter: blur(72px) saturate(118%);
    opacity: 0;
    transform: scale(1.02) rotate(-2deg);
  }
}

@keyframes launch-orange-field-in {
  0%,
  16% {
    filter: blur(70px);
    opacity: 0.72;
    transform: translate(0, 0) scale(1);
  }

  48% {
    filter: blur(78px);
    opacity: 0.52;
    transform: translate(0, 0) scale(1);
  }

  78% {
    filter: blur(92px);
    opacity: 0.16;
    transform: translate(0, 0) scale(1);
  }

  100% {
    filter: blur(104px);
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes launch-blue-field-in {
  0%,
  16% {
    filter: blur(70px);
    opacity: 0.72;
    transform: translate(0, 0) scale(1);
  }

  48% {
    filter: blur(78px);
    opacity: 0.52;
    transform: translate(0, 0) scale(1);
  }

  78% {
    filter: blur(92px);
    opacity: 0.16;
    transform: translate(0, 0) scale(1);
  }

  100% {
    filter: blur(104px);
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
}

@keyframes launch-sheen-out {
  0%,
  18% {
    opacity: 0.48;
    transform: translateX(-35%) rotate(4deg);
  }

  to {
    opacity: 0;
    transform: translateX(-35%) rotate(4deg);
  }
}

@keyframes launch-content-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.password-gate {
  display: none;
  min-height: 100svh;
  padding: 24px;
  place-items: center;
}

.is-locked .password-gate {
  display: grid;
}

.is-locked .page-shell {
  display: none;
}

.password-form {
  width: min(100%, 420px);
}

.password-form h1 {
  margin: 0 0 32px;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
}

.greeting-line {
  position: relative;
  display: block;
  --line-delay: 0ms;
}

.greeting-line:nth-child(2) {
  --line-delay: 1100ms;
}

.greeting-line:nth-child(3) {
  --line-delay: 2600ms;
}

.greeting-word {
  display: inline-block;
  white-space: nowrap;
}

.greeting-character {
  display: inline-block;
  opacity: 0;
  animation: character-reveal 1600ms var(--reveal-ease) both;
  animation-delay: calc(var(--line-delay) + var(--character-delay));
}

.greeting-line::after,
.password-field::after {
  position: absolute;
  inset: -3px;
  background-image:
    repeating-radial-gradient(circle at 20% 30%, rgb(0 0 0 / 35%) 0 0.45px, transparent 0.7px 3px),
    repeating-radial-gradient(circle at 75% 65%, rgb(255 255 255 / 45%) 0 0.4px, transparent 0.65px 2.5px);
  background-size: 4px 4px, 3px 3px;
  content: "";
  mix-blend-mode: soft-light;
  pointer-events: none;
  animation: password-grain 1600ms var(--reveal-ease) both;
  animation-delay: var(--line-delay);
}

@keyframes character-reveal {
  0% {
    filter: blur(4.5px);
    opacity: 0;
    text-shadow: -1.25px 0 rgb(255 100 20 / 22%), 1.25px 0 rgb(40 80 255 / 20%);
  }

  55% {
    filter: blur(1.5px);
    opacity: 0.9;
    text-shadow: -0.45px 0 rgb(255 100 20 / 10%), 0.45px 0 rgb(40 80 255 / 9%);
  }

  100% {
    filter: blur(0);
    opacity: 1;
    text-shadow: 0 0 transparent;
  }
}

@keyframes password-reveal {
  from {
    filter: blur(6px);
    opacity: 0;
    text-shadow: -2px 0 rgb(255 40 80 / 26%), 2px 0 rgb(0 170 255 / 24%);
  }

  60% {
    filter: blur(1.5px);
    opacity: 0.9;
    text-shadow: -0.75px 0 rgb(255 40 80 / 14%), 0.75px 0 rgb(0 170 255 / 13%);
  }

  to {
    filter: blur(0);
    opacity: 1;
    text-shadow: 0 0 transparent;
  }
}

@keyframes password-grain {
  0% {
    opacity: 0.12;
    transform: translate(0, 0);
  }

  35% {
    opacity: 0.1;
    transform: translate(1px, -1px);
  }

  70% {
    opacity: 0.04;
    transform: translate(-1px, 0.5px);
  }

  100% {
    opacity: 0;
    transform: translate(0, 0);
  }
}

.password-field {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  animation: password-reveal 1600ms var(--reveal-ease) 4400ms both;
}

.password-field::after {
  border-radius: var(--radius);
  animation-delay: 4400ms;
}

.password-field input,
.password-field button {
  min-height: 48px;
  border: 1px solid rgb(0 0 0 / 20%);
  border-radius: var(--radius);
  font: inherit;
}

.password-field input {
  min-width: 0;
  padding: 0 12px;
  color: var(--text);
  background: #fff;
}

.password-field input::-webkit-credentials-auto-fill-button,
.password-field input::-webkit-contacts-auto-fill-button {
  position: absolute;
  right: 0;
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

.password-field input::placeholder {
  color: rgb(0 0 0 / 50%);
  opacity: 1;
}

.password-field button {
  min-width: 48px;
  padding: 0 20px;
  color: #fff;
  background: #000;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.password-field input:focus-visible,
.password-field button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.password-form .password-error {
  min-height: 20px;
  margin: 8px 0 0;
  color: #b42318;
  font-size: 14px;
  line-height: 20px;
}

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

.page-shell {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  width: 100%;
  max-width: 1440px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px var(--page-margin) 64px;
}

.home-page .page-shell {
  row-gap: 32px;
  padding-bottom: 26px;
}

.about-document,
.about-page {
  min-height: 100%;
  background: #1c1c1c;
  color: #fff;
}

.about-page .page-shell {
  align-content: start;
  row-gap: 32px;
  padding-bottom: 24px;
}

.site-header,
.intro,
.work-grid {
  grid-column: 1 / -1;
}

.site-header {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: center;
  min-height: 60px;
  padding: 0 12px;
}

.site-identity {
  display: flex;
  grid-column: 1 / span 2;
  gap: 8px;
  align-items: flex-start;
  justify-self: stretch;
}

.brand,
.contact-link {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.brand {
  grid-column: 1 / span 3;
  width: max-content;
  white-space: nowrap;
}

.brand:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.contact-link {
  grid-column: 10 / span 3;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-self: end;
  text-align: right;
}

.contact-icon,
.contact-text {
  display: inline-block;
  transform-origin: center;
}

.contact-icon {
  font-size: 16px;
  line-height: 20px;
}

.site-header {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 20px;
  align-items: start;
  width: calc(100% + var(--page-margin) + var(--page-margin));
  min-height: 104px;
  margin-left: calc(0px - var(--page-margin));
  padding: 12px 24px;
}

.site-header .brand {
  flex: 0 0 auto;
  align-self: start;
  justify-self: start;
  width: 132px;
  font-size: 36px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: -0.36px;
  white-space: normal;
}

.mode-toggle {
  display: inline-flex;
  min-height: 24px;
  gap: 8px;
  align-items: center;
  color: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
}

.mode-toggle-track {
  position: relative;
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 16px;
  border-radius: 4px;
  background: #1c1c1c;
}

.mode-toggle-thumb {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: #ffc300;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mode-toggle-life .mode-toggle-track {
  background: #ffc300;
}

.mode-toggle-life .mode-toggle-thumb {
  right: auto;
  left: 2px;
  background: #1c1c1c;
}

.mode-toggle:hover .mode-toggle-thumb,
.mode-toggle:focus-visible .mode-toggle-thumb {
  transform: scale(0.84);
}

.mode-toggle:focus-visible {
  outline: 2px solid currentcolor;
  outline-offset: 4px;
}

.site-header .contact-link {
  grid-column: 4;
  align-self: start;
  justify-self: end;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.site-header .brand:focus-visible,
.site-header .contact-link:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.about-page .site-header .brand:focus-visible,
.about-page .site-header .contact-link:focus-visible {
  outline-color: #fff;
}

.contact-link.is-hovering .contact-icon {
  animation: talk-hover-icon 200ms cubic-bezier(0.5, 0, 0.5, 1) both;
}

.contact-link.is-hovering .contact-text {
  animation: talk-hover-text 200ms cubic-bezier(0, 0.52, 0.5, 1) both;
}

.contact-link.is-clicking .contact-icon {
  animation: talk-click-icon 200ms linear both;
}

.contact-link.is-clicking .contact-text {
  animation: talk-click-text 200ms linear both;
}

@keyframes talk-hover-icon {
  from {
    rotate: 0rad;
    scale: 1;
  }

  to {
    rotate: -0.175rad;
    scale: 1.2;
  }
}

@keyframes talk-hover-text {
  from {
    scale: 1;
  }

  to {
    scale: 1.1;
  }
}

@keyframes talk-click-icon {
  0% {
    animation-timing-function: cubic-bezier(0.639, 0, 0.403, 1);
    rotate: -0.175rad;
    scale: 1.2;
  }

  50% {
    animation-timing-function: cubic-bezier(0.64, 0, 0.4, 1);
    rotate: 0.087rad;
    scale: 0.9;
  }

  75% {
    animation-timing-function: cubic-bezier(0.64, 0, 0.4, 1);
    rotate: -0.035rad;
    scale: 1.05;
  }

  100% {
    rotate: 0rad;
    scale: 1;
  }
}

@keyframes talk-click-text {
  0% {
    animation-timing-function: cubic-bezier(0.64, 0, 0.4, 1);
    scale: 1.1;
  }

  50% {
    animation-timing-function: cubic-bezier(0.64, 0, 0.4, 1);
    scale: 0.9;
  }

  75% {
    animation-timing-function: cubic-bezier(0.64, 0, 0.4, 1);
    scale: 1.05;
  }

  100% {
    scale: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1ms;
  }

  html.has-fallback-page-transitions body > main > :not(header) {
    animation-duration: 1ms;
  }

  html.has-fallback-page-transitions.is-page-leaving body > main > :not(header) {
    opacity: 1;
    transition-duration: 1ms;
  }

  .has-appear-motion [data-appear],
  .has-appear-motion [data-appear-text],
  .has-appear-motion .appear-word {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  .greeting-character,
  .greeting-line::after,
  .password-field,
  .password-field::after,
  .contact-link.is-hovering .contact-icon,
  .contact-link.is-hovering .contact-text,
  .contact-link.is-clicking .contact-icon,
  .contact-link.is-clicking .contact-text,
  .is-unlocking .password-gate,
  .is-unlocking .launch-wash,
  .is-unlocking .launch-gradient,
  .is-unlocking .launch-gradient-sheen,
  html.is-launching.is-launch-revealing .launch-wash,
  html.is-launching.is-launch-revealing .launch-gradient,
  html.is-launching.is-launch-revealing .launch-gradient::before,
  html.is-launching.is-launch-revealing .launch-gradient::after,
  html.is-launching.is-launch-revealing .launch-gradient-sheen,
  html.is-launching.is-launch-revealing .intro,
  html.is-launching.is-launch-revealing .work-grid {
    animation-duration: 1ms;
    animation-delay: 0ms;
  }

}

.intro {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  padding: 96px 0;
}

.intro-copy {
  grid-column: 1 / span 6;
  min-height: 168px;
  padding: 0 12px;
}

.home-page .intro-copy {
  padding: 8px 12px;
}

h1 {
  max-width: 440px;
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0;
}

.home-page h1 {
  max-width: 650px;
  font-size: var(--type-h2-size);
  font-weight: var(--type-h2-weight);
  line-height: var(--type-h2-line-height);
  letter-spacing: var(--type-h2-letter-spacing);
}

.profile-list {
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-line-height);
  letter-spacing: var(--type-title-letter-spacing);
  padding: 8px 12px;
}

.profile-list:nth-of-type(2) {
  grid-column: 7 / span 3;
}

.profile-list:nth-of-type(3) {
  grid-column: 10 / span 3;
}

.profile-list p,
.profile-list ul {
  margin: 0;
  padding: 0;
}

.profile-list p {
  color: var(--muted);
}

.profile-list ul {
  list-style: none;
}

.profile-list ul + ul {
  margin-top: 24px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--grid-gap);
  padding-top: 32px;
}

.project-card {
  grid-column: span 6;
  min-width: 0;
}

.project-card-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.project-card-link:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.project-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--media);
  isolation: isolate;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .project-media {
  border-radius: 0;
}

.project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-media::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.project-media.has-thumbnail-border::after {
  border: 1px solid var(--thumbnail-border);
}

.project-media:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.project-caption {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-line-height);
  letter-spacing: var(--type-title-letter-spacing);
}

.project-caption span {
  min-width: 0;
  padding: 12px;
}

.project-caption span:last-child {
  color: #6f6f6f;
  text-align: right;
}

.project-card-link:hover .project-media,
.project-card-link:focus-visible .project-media {
  transform: translateY(-2px);
}

.project-card-link:hover .project-media img,
.project-card-link:focus-visible .project-media img {
  transform: scale(1.018);
}

.about-intro {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 8px var(--grid-gap);
  align-items: start;
  padding: 96px 0;
}

.about-portrait {
  display: block;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.about-intro h1 {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  max-width: none;
  margin: 0;
  padding: 8px 12px;
  color: #fff;
  font-size: var(--type-h2-size);
  font-weight: var(--type-h2-weight);
  line-height: var(--type-h2-line-height);
  letter-spacing: var(--type-h2-letter-spacing);
}

.about-details,
.about-summary {
  grid-column: 3;
  margin: 0;
  padding: 8px 12px;
  color: #fff;
  font-size: var(--type-title-size);
  font-weight: var(--type-title-weight);
  line-height: var(--type-title-line-height);
  letter-spacing: var(--type-title-letter-spacing);
}

.about-details {
  grid-row: 2;
}

.about-summary {
  grid-row: 3;
}

.project-curtain {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: rgb(29 29 29 / 50%);
  opacity: 0;
  pointer-events: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: opacity 170ms ease-out;
}

.project-meta {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  min-height: 172px;
  flex-direction: column;
  gap: 4px;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 170ms ease-out 20ms,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1) 20ms;
}

.project-title,
.project-description {
  display: block;
}

.project-title {
  font-size: var(--type-h2-size);
  font-weight: var(--type-h2-weight);
  line-height: var(--type-h2-line-height);
  letter-spacing: var(--type-h2-letter-spacing);
}

.project-description {
  color: rgb(255 255 255 / 75%);
  font-size: var(--type-paragraph-size);
  font-weight: var(--type-paragraph-weight);
  line-height: var(--type-paragraph-line-height);
  letter-spacing: var(--type-paragraph-letter-spacing);
}

.project-media:hover,
.project-media:focus-visible {
  transform: translateY(-2px);
}

.project-media:hover img,
.project-media:focus-visible img {
  transform: scale(1.018);
}

.project-media:hover .project-curtain,
.project-media:focus-visible .project-curtain,
.project-media:hover .project-meta,
.project-media:focus-visible .project-meta {
  opacity: 1;
}

.project-media:hover .project-meta,
.project-media:focus-visible .project-meta {
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .page-shell {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .site-header,
  .intro,
  .work-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .brand {
    grid-column: 1 / span 3;
  }

  .contact-link {
    grid-column: 7 / span 2;
  }

  .intro-copy {
    grid-column: 1 / span 4;
  }

  .profile-list:nth-of-type(2) {
    grid-column: 5 / span 2;
  }

  .profile-list:nth-of-type(3) {
    grid-column: 7 / span 2;
  }

  .project-card {
    grid-column: span 4;
  }
}

@media (max-width: 860px) {
  :root {
    --page-margin: 20px;
    --grid-gap: 16px;
  }

  .desktop-headline-break {
    display: none;
  }

  .intro {
    row-gap: 48px;
    padding: 72px 0 64px;
  }

  .intro-copy {
    grid-column: 1 / -1;
    min-height: 88px;
  }

  h1 {
    max-width: 650px;
    font-size: 34px;
    line-height: 40px;
  }

  .home-page h1 {
    max-width: 650px;
    font-size: 34px;
    line-height: 40px;
  }

  .profile-list:nth-of-type(2) {
    grid-column: 1 / span 4;
  }

  .profile-list:nth-of-type(3) {
    grid-column: 5 / span 4;
  }

  .project-meta {
    min-height: 144px;
    padding: 20px;
  }

  .project-title {
    font-size: 28px;
    line-height: 32px;
  }

  .project-description {
    font-size: 14px;
    line-height: 20px;
  }

  .about-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 72px 0;
  }

  .about-portrait {
    grid-column: 1;
  }

  .about-intro h1,
  .about-details,
  .about-summary {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  :root {
    --page-margin: 16px;
  }

  .page-shell {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .home-page .page-shell {
    padding-bottom: 48px;
  }

  .password-gate {
    padding: 20px;
  }

  .password-form h1 {
    font-size: 30px;
    line-height: 34px;
  }

  .site-header,
  .intro,
  .work-grid,
  .about-intro {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-header {
    min-height: 44px;
  }

  .brand,
  .contact-link {
    font-size: 12px;
    line-height: 16px;
  }

  .brand {
    grid-column: 1 / span 2;
  }

  .contact-link {
    grid-column: 3 / span 2;
  }

  .intro {
    row-gap: 28px;
    padding: 56px 0 28px;
  }

  .intro-copy {
    min-height: 160px;
    padding: 0;
  }

  h1 {
    max-width: 320px;
    font-size: 30px;
    line-height: 34px;
  }

  .home-page h1 {
    max-width: 320px;
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
    letter-spacing: 0;
  }

  .profile-list,
  .profile-list:nth-of-type(2),
  .profile-list:nth-of-type(3) {
    grid-column: 1 / -1;
    padding: 0;
  }

  .profile-list {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0;
  }

  .profile-spacer {
    display: none;
  }

  .profile-list ul + ul {
    margin-top: 18px;
  }

  .site-identity {
    grid-column: 1 / span 3;
  }

  .mode-toggle {
    gap: 6px;
    font-size: 14px;
    line-height: 20px;
  }

  .work-grid {
    gap: 20px;
    padding-top: 0;
  }

  .project-caption {
    font-size: 16px;
    line-height: 22px;
  }

  .project-caption span {
    padding: 8px 0;
  }

  .about-intro {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 56px 0;
  }

  .about-portrait,
  .about-intro h1,
  .about-details,
  .about-summary {
    grid-column: 1;
    grid-row: auto;
  }

  .about-portrait {
    width: min(100%, 420px);
  }

  .about-intro h1,
  .about-details,
  .about-summary {
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .project-card {
    grid-column: 1 / -1;
  }

  .project-meta {
    min-height: 128px;
    padding: 16px;
  }

  .project-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
  }

  .project-description {
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
  }
}

@media (max-width: 900px) {
  .page-shell {
    padding-top: 20px;
  }

  .site-header {
    column-gap: 12px;
    min-height: 96px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header .brand {
    width: 117px;
    font-size: 32px;
    line-height: 36px;
  }

  .site-header .contact-link {
    grid-column: 4;
    font-size: 18px;
  }
}

@media (max-width: 600px) {
  .site-header .contact-link {
    gap: 5px;
    font-size: 16px;
    line-height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-transition-wash,
  html.is-theme-leaving main,
  .mode-toggle-thumb {
    transition-duration: 1ms;
  }

  .project-media,
  .project-media img,
  .project-curtain,
  .project-meta {
    transition-duration: 1ms;
    transition-delay: 0ms;
  }

  .project-media:hover,
  .project-media:focus-visible,
  .project-media:hover img,
  .project-media:focus-visible img {
    transform: none;
  }
}
