:root {
  --paper: #f2eee5;
  --paper-2: #e8e1d5;
  --ink: #171715;
  --muted: #6d685f;
  --line: rgba(23, 23, 21, 0.18);
  --accent: #ff5d39;
  --blue: #2f52ff;
  --lime: #c7ff4a;
  --header-height: 84px;
  --shell: min(1440px, calc(100vw - 64px));
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .75, .25, 1);
  --ease-spring: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--paper);
  background: var(--ink);
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  color: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-140%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-toast {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: min(390px, calc(100vw - 32px));
  gap: 5px;
  padding: 16px 18px;
  border: 1px solid rgba(23, 23, 21, .16);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(248, 246, 239, .94);
  box-shadow: 0 18px 50px rgba(23, 23, 21, .2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .28s ease, transform .28s var(--ease);
}

.site-toast strong {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.site-toast span {
  color: var(--muted);
  font-size: .88rem;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast.is-success {
  border-color: rgba(53, 189, 113, .55);
}

.site-toast.is-error {
  border-color: rgba(255, 93, 57, .65);
}

.noise {
  position: fixed;
  z-index: 300;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Intro */
.intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.intro-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.1%;
  background: var(--ink);
  transition: transform 1.15s var(--ease-spring) .45s;
  will-change: transform;
}

.intro-panel--left {
  left: 0;
  transform-origin: left center;
}

.intro-panel--right {
  right: 0;
  transform-origin: right center;
}

.intro-lockup {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  justify-items: center;
  color: var(--paper);
  transition: opacity .25s ease .28s, transform .4s var(--ease) .18s;
}

.intro-mark {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(242, 238, 229, .38);
  border-radius: 22px;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.12em;
  transform: rotate(-7deg);
}

.intro-line {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.intro.is-open .intro-panel--left {
  transform: translateX(-101%) rotateY(8deg);
}

.intro.is-open .intro-panel--right {
  transform: translateX(101%) rotateY(-8deg);
}

.intro.is-open .intro-lockup {
  opacity: 0;
  transform: scale(.88);
}

.intro.is-done {
  display: none;
}

/* Cursor */
.cursor {
  position: fixed;
  z-index: 1100;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width .25s var(--ease), height .25s var(--ease), border-color .25s ease, background .25s ease, opacity .2s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(23, 23, 21, .45);
}

body.has-cursor .cursor {
  opacity: 1;
}

body.cursor-active .cursor-ring {
  width: 62px;
  height: 62px;
  border-color: var(--accent);
  background: rgba(255, 93, 57, .08);
}

body.cursor-dark .cursor-ring {
  border-color: rgba(242, 238, 229, .65);
}

/* Header */
.site-header {
  position: fixed;
  z-index: 500;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  box-sizing: border-box;
  width: min(1540px, calc(100vw - 40px));
  min-height: var(--header-height);
  margin-inline: auto;
  padding-inline: clamp(18px, 2vw, 30px);
  color: var(--ink);
  transition: color .35s ease, transform .35s var(--ease), opacity .3s ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 12px -2px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(242, 238, 229, 0);
  backdrop-filter: blur(0);
  content: "";
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}

.site-header.is-scrolled::before {
  border-color: rgba(23, 23, 21, .1);
  background: rgba(242, 238, 229, .72);
  backdrop-filter: blur(14px);
}

.site-header.is-dark {
  color: var(--paper);
}

.site-header.is-dark::before {
  border-color: rgba(242, 238, 229, .13);
  background: rgba(23, 23, 21, .72);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.wordmark-tag {
  padding: 5px 11px;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: .58rem;
  letter-spacing: .08em;
}

.availability {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  justify-self: center;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35bd71;
  box-shadow: 0 0 0 5px rgba(53, 189, 113, .13);
  animation: statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {
  50% { box-shadow: 0 0 0 9px rgba(53, 189, 113, 0); }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: end;
}

.desktop-nav a {
  position: relative;
  font-size: .78rem;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.menu-toggle-lines {
  display: grid;
  gap: 5px;
}

.menu-toggle-lines i {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .3s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 450;
  inset: 0;
  display: none;
  padding: calc(var(--header-height) + 70px) 24px 44px;
  color: var(--paper);
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity .35s ease, visibility .35s ease, transform .45s var(--ease-spring);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(242, 238, 229, .2);
  font-size: clamp(2.8rem, 13vw, 5rem);
  font-weight: 700;
  letter-spacing: -.07em;
}

.mobile-menu nav a span {
  font-size: .7rem;
  letter-spacing: .08em;
}

.mobile-menu > p {
  max-width: 330px;
  margin: auto 0 0;
  color: rgba(242, 238, 229, .65);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: calc(var(--header-height) + 44px) max(32px, calc((100vw - 1440px) / 2)) 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .72;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 75% 28%, rgba(47, 82, 255, .14), transparent 25%),
    radial-gradient(circle at 18% 70%, rgba(255, 93, 57, .11), transparent 30%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 7vw;
  bottom: 6vh;
  width: min(60vw, 900px);
  height: min(60vw, 900px);
  border: 1px solid rgba(23, 23, 21, .1);
  border-radius: 50%;
  content: "";
  transform: translate(44%, 44%);
}

.hero-kicker {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  align-self: start;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-copy {
  align-self: center;
  max-width: 1160px;
  padding: 6vh 0 4vh;
}

.hero-title {
  margin: 0;
  font-size: clamp(5rem, 13.4vw, 13rem);
  font-weight: 800;
  line-height: .76;
  letter-spacing: -.095em;
  text-transform: uppercase;
}

.hero-title span,
.hero-title em {
  display: block;
}

.hero-title em {
  margin-left: .26em;
  color: transparent;
  font-family: var(--serif);
  font-size: .72em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.075em;
  text-transform: none;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero-intro {
  max-width: 530px;
  margin: 5vh 0 0 clamp(0px, 41vw, 570px);
  font-size: clamp(1.02rem, 1.45vw, 1.32rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.hero-object {
  position: absolute;
  z-index: 2;
  top: 28%;
  right: 12.5%;
  width: 190px;
  height: 250px;
  perspective: 900px;
  pointer-events: none;
}

.cube-wrap {
  position: absolute;
  top: 34px;
  left: 25px;
  width: 140px;
  height: 140px;
  transform-style: preserve-3d;
  animation: cubeFloat 5s ease-in-out infinite;
}

.cube {
  position: relative;
  width: 140px;
  height: 140px;
  transform-style: preserve-3d;
  animation: cubeSpin 15s linear infinite;
}

.cube-face {
  position: absolute;
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border: 1px solid rgba(23, 23, 21, .65);
  color: var(--ink);
  background: rgba(242, 238, 229, .78);
  box-shadow: inset 0 0 50px rgba(23, 23, 21, .04);
  backdrop-filter: blur(7px);
  font-size: 3.7rem;
  font-weight: 800;
  letter-spacing: -.08em;
}

.cube-front { transform: translateZ(70px); background: rgba(255, 93, 57, .88); }
.cube-back { transform: rotateY(180deg) translateZ(70px); background: rgba(199, 255, 74, .84); }
.cube-right { transform: rotateY(90deg) translateZ(70px); font-size: 1.1rem; letter-spacing: .08em; }
.cube-left { transform: rotateY(-90deg) translateZ(70px); font-size: 1.1rem; letter-spacing: .08em; }
.cube-top { transform: rotateX(90deg) translateZ(70px); font-size: 1.1rem; letter-spacing: .08em; background: rgba(47, 82, 255, .78); color: var(--paper); }
.cube-bottom { transform: rotateX(-90deg) translateZ(70px); font-size: 1.1rem; letter-spacing: .08em; }

.cube-shadow {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 32px;
  border-radius: 50%;
  background: rgba(23, 23, 21, .22);
  filter: blur(13px);
  animation: shadowPulse 5s ease-in-out infinite;
}

@keyframes cubeSpin {
  from { transform: rotateX(-18deg) rotateY(0deg) rotateZ(3deg); }
  to { transform: rotateX(-18deg) rotateY(360deg) rotateZ(3deg); }
}

@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotateZ(-3deg); }
  50% { transform: translateY(-22px) rotateZ(3deg); }
}

@keyframes shadowPulse {
  0%, 100% { opacity: .5; transform: scale(.78); }
  50% { opacity: .24; transform: scale(.58); }
}

.hero-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  align-self: end;
  margin-top: 24px;
}

.round-link {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  justify-self: start;
  transition: color .35s ease, background .35s ease, transform .35s var(--ease);
}

.round-link:hover,
.round-link:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.round-link span {
  font-size: .73rem;
  font-weight: 700;
  text-transform: uppercase;
}

.round-link svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.hero-footer > p {
  margin: 0;
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-footer > p:nth-child(2) {
  text-align: center;
}

.hero-year {
  justify-self: end;
}

/* Shared section heading */
.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, .45fr) minmax(0, 1.25fr) minmax(260px, .5fr);
  gap: 32px;
  align-items: start;
  padding: 150px 0 70px;
  border-top: 1px solid var(--line);
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 7rem);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.075em;
}

.section-heading > p:last-child {
  max-width: 430px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Work */
.work-section {
  padding-bottom: 160px;
}

.deck-wrap {
  position: relative;
}

.deck-stage {
  position: relative;
  width: 100%;
  height: min(68vw, 900px);
  min-height: 680px;
  perspective: 1600px;
  transform-style: preserve-3d;
  touch-action: pan-y;
}

.deck-stage::before {
  position: absolute;
  top: 5%;
  right: 7%;
  bottom: 10%;
  left: 7%;
  border: 1px dashed rgba(23, 23, 21, .14);
  border-radius: 50%;
  content: "";
  transform: rotate(-6deg);
}

.deck-side-button {
  position: absolute;
  z-index: 130;
  top: 50%;
  display: grid;
  width: clamp(52px, 5vw, 72px);
  height: clamp(52px, 5vw, 72px);
  place-items: center;
  border: 1px solid rgba(23, 23, 21, .22);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(248, 246, 239, .9);
  box-shadow: 0 18px 45px rgba(23, 23, 21, .18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .22s var(--ease-spring), background .22s ease, box-shadow .22s ease;
}

.deck-side-button--prev {
  left: max(8px, 3vw);
}

.deck-side-button--next {
  right: max(8px, 3vw);
}

.deck-side-button:hover,
.deck-side-button:focus-visible {
  outline: none;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 26px 58px rgba(23, 23, 21, .24);
  transform: translateY(-50%) scale(1.06);
}

.deck-side-button svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.project-card {
  --s: 1;
  --hover-boost: 0;
  --lift: 0px;
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(68vw, 820px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 21, .35);
  border-radius: 13px;
  color: var(--ink);
  background: #f8f6ef;
  box-shadow: 0 24px 60px rgba(23, 23, 21, .16), 0 4px 10px rgba(23, 23, 21, .08);
  cursor: default;
  transform: translate3d(calc(-50% + var(--x)), calc(-50% + var(--y) + var(--lift)), var(--z)) rotateZ(var(--r)) scale(calc(var(--s) + var(--hover-boost)));
  transform-style: preserve-3d;
  transition: transform .82s var(--ease-spring), box-shadow .42s ease, filter .42s ease;
  transition-delay: var(--delay);
  will-change: transform;
}

.project-card.is-active {
  cursor: pointer;
}

.project-card.is-active:hover,
.project-card.is-active:focus-visible {
  --hover-boost: .036;
  --lift: -8px;
  outline: none;
  box-shadow: 0 34px 74px rgba(23, 23, 21, .2), 0 10px 18px rgba(23, 23, 21, .09);
  filter: saturate(1.08);
}

.project-card:disabled {
  color: var(--ink);
}

.browser-bar {
  display: grid;
  grid-template-columns: 9px 9px 9px 1fr;
  gap: 6px;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(23, 23, 21, .16);
  background: #f8f6ef;
}

.browser-bar i {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(23, 23, 21, .5);
  border-radius: 50%;
}

.browser-bar b {
  justify-self: center;
  margin-left: -45px;
  color: rgba(23, 23, 21, .56);
  font-size: .58rem;
  font-weight: 500;
}

.project-image {
  display: block;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 16 / 10;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.project-card.is-active:hover .project-image img,
.project-card.is-active:focus-visible .project-image img {
  transform: scale(1.025);
}

.project-card-overlay {
  position: absolute;
  z-index: 2;
  inset: 34px 0 56px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  color: var(--paper);
  background: rgba(23, 23, 21, .48);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: scale(.98);
  transition: opacity .28s ease, transform .28s var(--ease);
}

.project-card-overlay::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(242, 238, 229, .62);
  border-radius: 50%;
  background: rgba(23, 23, 21, .36);
  content: "";
  transform: translate(-50%, -50%);
}

.project-card-overlay span,
.project-card-overlay small {
  position: relative;
  z-index: 1;
}

.project-card-overlay span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-card-overlay small {
  color: rgba(242, 238, 229, .74);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.project-card.is-active:hover .project-card-overlay,
.project-card.is-active:focus-visible .project-card-overlay {
  opacity: 1;
  transform: scale(1);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  text-align: left;
}

.project-meta b {
  font-size: .85rem;
}

.project-meta span {
  color: var(--muted);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.deck-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.deck-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.deck-button,
.visit-project {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.deck-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform .3s var(--ease-spring);
}

.deck-button:hover svg,
.deck-button:focus-visible svg {
  transform: translateX(3px);
}

.deck-button[data-deck-step="prev"]:hover svg,
.deck-button[data-deck-step="prev"]:focus-visible svg {
  transform: translateX(-3px);
}

.deck-controls p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
}

.deck-controls p span {
  color: var(--ink);
  font-weight: 700;
}

.visit-project {
  justify-self: end;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}

/* About */
.about-section {
  display: grid;
  grid-template-columns: minmax(340px, .8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: center;
  padding-top: 160px;
  padding-bottom: 180px;
  border-top: 1px solid var(--line);
}

.about-visual {
  position: relative;
  max-width: 560px;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 21, .3);
  border-radius: 40% 40% 13px 13px / 28% 28% 13px 13px;
  box-shadow: 0 30px 60px rgba(23, 23, 21, .14);
  transform: rotate(-3deg);
  transform-style: preserve-3d;
  transition: transform .4s var(--ease), box-shadow .4s ease;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border-radius: 99px;
  color: var(--paper);
  background: var(--ink);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-stamp {
  position: absolute;
  right: -56px;
  bottom: 8%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(47, 82, 255, .3);
  animation: stampTurn 18s linear infinite;
}

.about-stamp svg {
  width: 100%;
  height: 100%;
}

.about-stamp text {
  fill: currentColor;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.about-stamp .stamp-center {
  font-size: 38px;
  letter-spacing: -4px;
  text-anchor: middle;
}

@keyframes stampTurn {
  to { transform: rotate(360deg); }
}

.about-copy h2 {
  max-width: 930px;
  margin-top: 30px;
}

.about-lede {
  max-width: 650px;
  margin: 45px 0 32px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-style: italic;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 840px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about-columns p {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
}

.capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 42px;
}

.capabilities span {
  padding: 9px 13px;
  border: 1px solid rgba(23, 23, 21, .28);
  border-radius: 99px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition: color .25s ease, background .25s ease, transform .25s var(--ease);
}

.capabilities span:hover {
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-3px);
}

/* Process */
.process-section {
  padding-bottom: 170px;
}

.section-heading--wide {
  grid-template-columns: minmax(160px, .45fr) 1.75fr;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.process-card {
  position: relative;
  display: flex;
  min-height: 470px;
  padding: 28px 24px 30px;
  flex-direction: column;
  border-right: 1px solid var(--ink);
  background: var(--paper);
  transform-style: preserve-3d;
  transition: color .35s ease, background .35s ease, transform .35s var(--ease), box-shadow .35s ease;
}

.process-card:last-child {
  border-right: 0;
}

.process-card:hover {
  z-index: 2;
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 24px 50px rgba(23, 23, 21, .22);
}

.process-card:nth-child(2):hover {
  color: var(--ink);
  background: var(--lime);
}

.process-card:nth-child(3):hover {
  color: var(--paper);
  background: var(--blue);
}

.process-card:nth-child(4):hover {
  color: var(--ink);
  background: var(--accent);
}

.process-number {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}

.process-card h3 {
  margin: auto 0 22px;
  font-size: clamp(1.8rem, 2.55vw, 2.8rem);
  line-height: .95;
  letter-spacing: -.06em;
}

.process-card p {
  min-height: 100px;
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  opacity: .72;
}

.process-card > span {
  margin-top: 34px;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .62;
}

/* Contact */
.contact-section {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  isolation: isolate;
}

.contact-section::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: radial-gradient(circle at 82% 18%, rgba(47, 82, 255, .32), transparent 28%), radial-gradient(circle at 10% 100%, rgba(255, 93, 57, .2), transparent 32%);
  content: "";
}

.contact-inner {
  position: relative;
  padding-top: 140px;
  padding-bottom: 130px;
}

.contact-section h2 {
  max-width: 1120px;
  margin-top: 35px;
  font-size: clamp(4rem, 9vw, 9.8rem);
}

.contact-section h2 em {
  color: var(--accent);
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(60px, 10vw, 180px);
  align-items: start;
  margin-top: 105px;
  padding-top: 35px;
  border-top: 1px solid rgba(242, 238, 229, .22);
}

.contact-copy > p:first-child {
  max-width: 450px;
  margin: 0 0 46px;
  color: rgba(242, 238, 229, .65);
  font-size: 1.05rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  letter-spacing: -.035em;
}

.email-link span {
  color: var(--accent);
}

.contact-note {
  margin: 18px 0 0;
  color: rgba(242, 238, 229, .46);
  font-size: .67rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 28px;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(242, 238, 229, .2);
}

.contact-form label > span {
  padding-top: 12px;
  color: rgba(242, 238, 229, .55);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 0;
  resize: vertical;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-size: clamp(1.15rem, 2.1vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.contact-form textarea {
  min-height: 90px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(242, 238, 229, .28);
}

.contact-form label:focus-within {
  border-color: var(--accent);
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  justify-self: end;
  margin-top: 10px;
  padding: 18px 24px 18px 28px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .3s ease, background .3s ease;
}

.submit-button:hover,
.submit-button:focus-visible {
  color: var(--ink);
  background: var(--accent);
}

.submit-button:disabled {
  opacity: .62;
  cursor: wait;
}

.submit-button svg {
  width: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.form-status {
  min-height: 20px;
  margin: -10px 0 0;
  color: var(--accent);
  font-size: .74rem;
  text-align: right;
}

.form-status.is-success {
  color: var(--lime);
}

.form-status.is-error {
  color: var(--accent);
}

.contact-orbit {
  position: absolute;
  z-index: -1;
  top: -20vw;
  right: -22vw;
  width: 72vw;
  height: 72vw;
  min-width: 700px;
  min-height: 700px;
  border: 1px solid rgba(242, 238, 229, .07);
  border-radius: 50%;
  animation: orbitSpin 30s linear infinite;
}

.contact-orbit::before,
.contact-orbit::after,
.contact-orbit span {
  position: absolute;
  border: 1px solid rgba(242, 238, 229, .08);
  border-radius: 50%;
  content: "";
}

.contact-orbit::before { inset: 14%; }
.contact-orbit::after { inset: 30%; }
.contact-orbit span:nth-child(1) { top: 49%; left: -8px; width: 16px; height: 16px; border: 0; background: var(--accent); }
.contact-orbit span:nth-child(2) { top: 9%; left: 48%; width: 12px; height: 12px; border: 0; background: var(--lime); }
.contact-orbit span:nth-child(3) { right: 13%; bottom: 18%; width: 20px; height: 20px; border: 0; background: var(--blue); }

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:nth-child(2) {
  color: var(--muted);
  text-align: center;
}

.site-footer a {
  justify-self: end;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --shell: calc(100vw - 48px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .availability {
    display: none;
  }

  .hero-object {
    top: 25%;
    right: 8%;
    transform: scale(.85);
  }

  .hero-intro {
    margin-left: 38vw;
  }

  .section-heading {
    grid-template-columns: 170px 1fr;
  }

  .section-heading > p:last-child {
    grid-column: 2;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-card:nth-child(2) {
    border-right: 0;
  }

  .process-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--ink);
  }

  .contact-grid {
    gap: 70px;
  }

  .contact-form label {
    grid-template-columns: 130px 1fr;
  }
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --header-height: 72px;
    --shell: calc(100vw - 32px);
  }

  .noise {
    opacity: .035;
  }

  .cursor {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100vw - 28px);
    padding-inline: 14px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: flex;
  }

  .mobile-menu {
    flex-direction: column;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-height) + 35px) 16px 20px;
  }

  .hero-kicker span:last-child {
    display: none;
  }

  .hero-copy {
    padding: 9vh 0 4vh;
  }

  .hero-title {
    font-size: clamp(4rem, 19vw, 6.4rem);
    line-height: .8;
  }

  .hero-title em {
    margin-top: .08em;
    margin-left: 0;
    font-size: .58em;
    -webkit-text-stroke-width: 1px;
  }

  .hero-intro {
    max-width: 86%;
    margin: 5vh 0 0 auto;
    font-size: .98rem;
  }

  .hero-object {
    top: 19%;
    right: 4%;
    transform: scale(.52);
    transform-origin: right center;
  }

  .hero-footer {
    grid-template-columns: auto 1fr;
    gap: 20px;
  }

  .round-link {
    width: 90px;
    height: 90px;
  }

  .hero-footer > p:nth-child(2) {
    width: 118px;
    justify-self: end;
    font-size: .56rem;
    text-align: right;
  }

  .hero-year {
    display: none;
  }

  .section-heading,
  .section-heading--wide {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 95px 0 48px;
  }

  .section-heading > p:last-child {
    grid-column: auto;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .work-section {
    padding-bottom: 100px;
  }

  .deck-stage {
    height: 128vw;
    min-height: 480px;
  }

  .deck-side-button {
    width: 46px;
    height: 46px;
  }

  .deck-side-button--prev {
    left: 4px;
  }

  .deck-side-button--next {
    right: 4px;
  }

  .project-card {
    width: 84vw;
    border-radius: 9px;
  }

  .browser-bar {
    height: 27px;
  }

  .browser-bar b {
    display: none;
  }

  .project-meta {
    min-height: 46px;
    padding: 0 12px;
  }

  .project-meta b {
    font-size: .72rem;
  }

  .project-meta span {
    font-size: .5rem;
  }

  .deck-controls {
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
  }

  .deck-actions {
    width: 100%;
    justify-content: space-between;
  }

  .deck-controls p {
    text-align: left;
  }

  .visit-project {
    justify-self: start;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 90px;
    padding-top: 105px;
    padding-bottom: 110px;
  }

  .about-visual {
    width: 88%;
  }

  .about-stamp {
    right: -38px;
    width: 120px;
    height: 120px;
  }

  .about-lede {
    margin-top: 34px;
  }

  .about-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .process-section {
    padding-bottom: 105px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card:nth-child(2) {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .process-card:last-child {
    border-bottom: 0;
  }

  .process-card p {
    min-height: auto;
  }

  .contact-inner {
    padding-top: 95px;
    padding-bottom: 90px;
  }

  .contact-section h2 {
    font-size: clamp(3.8rem, 18vw, 6.2rem);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 70px;
    margin-top: 70px;
  }

  .contact-form label {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .contact-form label > span {
    padding-top: 0;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1.25rem;
  }

  .submit-button {
    justify-self: stretch;
    justify-content: space-between;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    min-height: 95px;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 430px) {
  .wordmark-tag {
    display: none;
  }

  .hero-title {
    font-size: 19vw;
  }

  .hero-intro {
    max-width: 95%;
  }

  .deck-stage {
    height: 142vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .intro {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
