:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #666666;
  --line: #dedede;
  --green: #087a3e;
  --hover-fill: #f5f5f5;
  --selection: #ffa600;
  --focus: #8a4b00;
  --page-padding: 8px;
  --column-gap: 16px;
  --section-gap: 48px;
  --measure: 288px;
  --preview-y: 50%;
  font-family: Helvetica, Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  height: 100svh;
  overflow: hidden;
  background: var(--white);
  color: var(--black);
  cursor: default;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.home-loader {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: flex;
  min-width: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--page-padding);
  background: var(--white);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

body:not(.is-home-loading) .home-loader {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

body.is-home-loading .home-page,
body.is-home-loading .project-drawer {
  visibility: hidden;
}

.home-loader-main {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: var(--section-gap);
  overflow: hidden;
}

.home-loader-identity {
  display: flex;
  height: 32px;
  align-items: center;
  gap: 8px;
}

.loader-shimmer {
  display: block;
  border-radius: 3px;
  background: linear-gradient(90deg, #eeeeee 0%, #f7f7f7 48%, #eeeeee 100%);
  background-size: 220% 100%;
  animation: home-shimmer 1.4s ease-in-out infinite;
}

.loader-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.loader-wordmark {
  width: 174px;
  height: 20px;
}

.home-loader-about {
  display: flex;
  width: min(420px, calc(100% - 88px));
  max-width: 100%;
  flex-direction: column;
  gap: 8px;
}

.loader-line {
  height: 13px;
}

.loader-line-wide {
  width: 100%;
}

.loader-line-medium {
  width: 78%;
}

.home-loader-pills {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.home-loader-pills .loader-shimmer {
  width: 68px;
  height: 26px;
  border-radius: 999px;
}

.home-loader-pills .loader-shimmer:nth-child(2) {
  width: 76px;
}

.home-loader-pills .loader-shimmer:nth-child(3) {
  width: 58px;
}

.home-loader-career {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.home-loader-career .loader-shimmer {
  width: min(230px, 82%);
  height: 24px;
}

.home-loader-career .loader-shimmer:nth-child(2) {
  width: min(204px, 74%);
}

.home-loader-career .loader-shimmer:nth-child(3) {
  width: min(188px, 68%);
}

.home-loader-work {
  min-height: 0;
  overflow: hidden;
}

.home-loader-work-header,
.home-loader-work-row {
  display: grid;
  grid-template-columns: minmax(112px, 0.75fr) minmax(0, 1.45fr);
  gap: var(--column-gap);
}

.home-loader-work-header {
  padding-bottom: 8px;
}

.home-loader-work-header .loader-shimmer {
  width: 58px;
  height: 11px;
}

.home-loader-work-row {
  min-height: 84px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.home-loader-work-row > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
}

.home-loader-work-row > div:last-child .loader-shimmer {
  width: min(340px, 86%);
  height: 13px;
}

.home-loader-work-row > div:last-child .loader-shimmer:nth-child(2) {
  width: min(286px, 72%);
}

.home-loader-work-row > div:last-child .loader-shimmer:nth-child(3) {
  width: min(250px, 64%);
}

.loader-product-name {
  width: min(120px, 70%);
  height: 13px;
}

.loader-product-copy {
  width: min(210px, 90%);
  height: 10px;
}

.home-loader-footer {
  width: 156px;
  height: 12px;
  margin: 17px 0;
}

@keyframes home-shimmer {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}

::selection {
  background: var(--selection);
  color: var(--black);
}

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

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  font-size: inherit;
  font-weight: 400;
}

.home-page {
  position: relative;
  isolation: isolate;
  display: flex;
  height: 100svh;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: var(--page-padding);
}

.home-main {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: var(--section-gap);
  overflow: hidden;
}

.identity-column,
.content-column {
  min-width: 0;
}

.wordmark {
  display: inline-flex;
  height: 32px;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.wordmark-photo {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f3f3f3;
  color: var(--gray);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1;
}

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

.wordmark-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wordmark-text {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -1.45px;
  line-height: 24px;
}

.language-switcher {
  position: fixed;
  z-index: 70;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.language-switcher button {
  height: 24px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gray);
  cursor: default;
  font: inherit;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--black);
  color: var(--white);
}

.language-switcher button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.content-column {
  display: block;
  min-height: 0;
}

.intro {
  display: flex;
  width: min(420px, calc(100% - 88px));
  max-width: 100%;
  flex-direction: column;
  gap: 16px;
  text-wrap: balance;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pill-link {
  display: inline-flex;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--white);
  transition: background-color 160ms ease, color 160ms ease;
  user-select: none;
}

.pill-link:hover {
  background: var(--black);
  color: var(--white);
}

.download-icon {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 13px;
  flex: 0 0 12px;
  margin-left: 6px;
}

.download-icon-arrow {
  position: absolute;
  top: 1px;
  left: 50%;
  width: 1px;
  height: 7px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 160ms ease;
}

.download-icon-arrow::after {
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: translateX(-50%) rotate(45deg);
}

.download-icon::after {
  position: absolute;
  right: 1px;
  bottom: 0;
  left: 1px;
  height: 3px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 0 0 1px 1px;
  content: "";
}

.pill-link.is-download:hover .download-icon-arrow {
  transform: translate(-50%, 1px);
}

.pill-link[aria-disabled="true"] {
  cursor: default;
  opacity: 0.42;
  pointer-events: none;
}

.pill-link.is-download[aria-disabled="true"] {
  opacity: 1;
  pointer-events: auto;
}

.career-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 0;
  list-style: none;
}

.career-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.career-period {
  color: var(--gray);
  font-size: 12px;
  white-space: nowrap;
}

.career-detail {
  display: grid;
  gap: 1px;
}

.career-role {
  font-weight: 400;
}

.career-company {
  color: var(--gray);
  font-size: 12px;
}

.muted,
.product-description,
.project-status {
  color: var(--gray);
}

.work-section {
  position: relative;
  display: block;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}

.work-section::-webkit-scrollbar {
  display: none;
}

.view-panel {
  min-height: 100%;
}

.work-list-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: panel-enter 300ms cubic-bezier(0.26, 0.08, 0.25, 1) both;
}

.view-panel[hidden] {
  display: none !important;
}

.work-header {
  display: grid;
  grid-template-columns: minmax(112px, 0.75fr) minmax(0, 1.45fr);
  gap: var(--column-gap);
  font-size: 15px;
  line-height: 1.4;
}

.work-groups {
  display: flex;
  flex-direction: column;
}

.work-group {
  position: relative;
  display: grid;
  grid-template-columns: minmax(112px, 0.75fr) minmax(0, 1.45fr);
  gap: var(--column-gap);
  width: 100%;
  min-height: 84px;
  padding: 8px 0 12px;
  border-top: 1px solid var(--line);
  align-items: start;
}

.product-cell,
.project-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  min-height: 24px;
}

.product-cell {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.product-cell h3 {
  font-size: 15px;
  line-height: 1.4;
}

.product-description {
  max-width: 260px;
  font-size: 12px;
  line-height: 1.3;
}

.project-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.project-row {
  justify-content: flex-start;
}

.product-cell h3,
.product-description,
.project-status {
  flex: 0 0 auto;
}

.project-title {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
  align-items: baseline;
}

.project-title-text {
  min-width: 0;
  flex: 0 1 auto;
}

.project-link-chevron {
  flex: 0 0 auto;
  margin-inline-start: 4px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1;
  opacity: 0.82;
  white-space: nowrap;
  transition:
    color 180ms cubic-bezier(0.26, 0.08, 0.25, 1),
    opacity 180ms cubic-bezier(0.26, 0.08, 0.25, 1),
    transform 180ms cubic-bezier(0.26, 0.08, 0.25, 1);
}

.project-link-chevron::after {
  display: inline-block;
  width: 5.5px;
  height: 5.5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
  vertical-align: 0.04em;
}

.project-status {
  white-space: nowrap;
}

.work-row {
  position: relative;
  isolation: isolate;
  z-index: 1;
  width: 100%;
}

a.work-row {
  cursor: pointer;
}

.work-row > :is(.project-title, .project-status, .new-mark) {
  pointer-events: none;
}

.work-row::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(-1 * var(--page-padding)) 0 0;
  background: var(--hover-fill);
  content: "";
  opacity: 0;
  transition: opacity 180ms cubic-bezier(0.26, 0.08, 0.25, 1);
}

.work-row:focus-visible::before,
.work-row.is-project-hovered::before,
.work-row:active::before {
  opacity: 1;
}

a.project-row.work-row:focus-visible .project-link-chevron {
  color: var(--focus);
  opacity: 1;
  transform: translateX(2px);
}

a.project-row.work-row.is-project-hovered .project-link-chevron,
a.project-row.work-row:active .project-link-chevron {
  color: var(--black);
  opacity: 1;
  transform: translateX(2px);
}

@media (hover: hover) and (pointer: fine) {
  .work-row:hover::before {
    opacity: 1;
  }

  a.project-row.work-row:hover .project-link-chevron {
    color: var(--black);
    opacity: 1;
    transform: translateX(2px);
  }
}

.new-mark {
  position: relative;
  display: inline-flex;
  height: 18px;
  align-items: center;
  flex: 0 0 auto;
  color: var(--green);
  font-family: "Bradley Hand", "Segoe Print", "Chalkboard SE", cursive;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  transform: rotate(-4deg);
  transform-origin: center;
}

.new-mark::after {
  position: absolute;
  right: -3px;
  bottom: 0;
  left: -3px;
  border-top: 1px solid var(--green);
  content: "";
  animation: none;
  transform: rotate(-3deg) skewX(-18deg) scaleX(0);
  transform-origin: center;
}

body.is-home-ready .new-mark::after {
  animation: draw-mark 580ms ease-out both;
}

body.is-home-fallback .new-mark::after,
body.is-home-settled .new-mark::after {
  transform: rotate(-3deg) skewX(-18deg) scaleX(1);
}

.is-soon .project-title {
  color: var(--gray);
}

.work-gallery-view {
  min-height: 100%;
  padding-bottom: 40px;
}

.work-gallery-view.is-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.work-gallery-view.is-stack {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: visible;
  padding: 0;
}

body.view-stack .home-main,
body.view-stack .work-section {
  overflow: visible;
}

.gallery-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: visible;
  aspect-ratio: 16 / 9;
  background: transparent;
}

.gallery-card-motion,
.gallery-card-surface {
  position: absolute;
  inset: 0;
  display: block;
}

.gallery-card-motion {
  transform-origin: 50% 50%;
}

.gallery-card-surface {
  overflow: hidden;
  border-radius: 3px;
  background: #f5f5f5;
  transform-origin: 50% 50%;
}

.gallery-card.has-no-media .gallery-card-surface {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 166, 0, 0.28), transparent 32%),
    linear-gradient(145deg, #171717, #333333);
}

.gallery-card.has-no-media:nth-child(3n + 2) .gallery-card-surface {
  background:
    radial-gradient(circle at 18% 82%, rgba(8, 122, 62, 0.28), transparent 34%),
    linear-gradient(145deg, #20262b, #111418);
}

.gallery-card.has-no-media:nth-child(3n) .gallery-card-surface {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #5a3513, #21180f);
}

.gallery-typographic {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(24px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.gallery-typographic span {
  max-width: 11ch;
}

.is-stack .gallery-card {
  position: absolute;
  top: 42%;
  left: 50%;
  width: min(1040px, calc(100vw - 48px), 120svh);
  max-height: none;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-drag: none;
  user-select: none;
}

.is-stack .gallery-card-surface {
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: var(--stack-opacity, 1);
  transform:
    translate(
      calc(var(--stack-x, 0px) + var(--drag-x, 0px)),
      calc(var(--stack-y, 0px) + var(--drag-y, 0px))
    )
    rotate(calc(var(--stack-rotate, 0deg) + var(--drag-rotate, 0deg)))
    scale(var(--stack-scale, 1));
  transition:
    opacity 360ms cubic-bezier(0.26, 0.08, 0.25, 1),
    transform 480ms cubic-bezier(0.26, 0.08, 0.25, 1),
    box-shadow 360ms ease;
}

.is-stack .gallery-card.is-exiting {
  z-index: 20 !important;
  pointer-events: none;
}

.is-stack .gallery-card.is-exiting .gallery-card-surface {
  opacity: 0;
  transform:
    translate(var(--exit-x, 96px), var(--exit-y, -138px))
    rotate(var(--exit-rotate, 9deg))
    scale(1.02);
}

.is-stack .gallery-card.is-stack-exit-clone {
  z-index: 20 !important;
  pointer-events: none;
}

.is-stack .gallery-card.is-stack-recycling .gallery-card-surface {
  opacity: 0;
  transition: none;
}

.is-stack .gallery-card.is-stack-revealing .gallery-card-surface {
  transition:
    opacity 480ms cubic-bezier(0.26, 0.08, 0.25, 1),
    transform 480ms cubic-bezier(0.26, 0.08, 0.25, 1),
    box-shadow 360ms ease;
}

.is-stack .gallery-card.is-stack-resetting .gallery-card-surface {
  transition: none;
}

.is-stack .gallery-card.is-dragging {
  z-index: 20 !important;
  cursor: grabbing;
}

.is-stack .gallery-card.is-dragging .gallery-card-surface {
  transition: none;
}

.work-gallery-view.is-layout-transitioning .gallery-card {
  pointer-events: none;
}

.work-gallery-view.is-layout-transitioning .gallery-card-motion {
  will-change: translate, scale, rotate, opacity;
}

.work-gallery-view.is-layout-transitioning {
  overflow: clip;
}

.work-gallery-view.is-layout-transitioning.is-stack {
  overflow: visible;
}

.work-gallery-view.is-layout-transitioning.is-stack .gallery-card-surface {
  transition: none;
}

.work-gallery-view.is-collecting-stack.is-stack .gallery-card-surface {
  opacity: 1;
}

.is-stack .gallery-card :is(img, video) {
  pointer-events: none;
  -webkit-user-drag: none;
}

.gallery-card :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transition: transform 450ms cubic-bezier(0.26, 0.08, 0.25, 1);
}

.is-grid .gallery-card:hover :is(img, video) {
  transform: scale(1.04);
}

.gallery-card-2 :is(img, video) {
  object-position: 18% 50%;
  transform: scale(1.18);
}

.gallery-card-3 :is(img, video) {
  object-position: 82% 28%;
  transform: scale(1.26);
}

.gallery-card-4 :is(img, video) {
  object-position: 50% 82%;
  transform: scale(1.32);
}

.gallery-card-5 :is(img, video) {
  object-position: 22% 78%;
  transform: scale(1.24);
}

.gallery-card-6 :is(img, video) {
  object-position: 78% 62%;
  transform: scale(1.16);
}

.is-grid .gallery-card-2:hover :is(img, video),
.is-grid .gallery-card-3:hover :is(img, video),
.is-grid .gallery-card-4:hover :is(img, video),
.is-grid .gallery-card-5:hover :is(img, video),
.is-grid .gallery-card-6:hover :is(img, video) {
  transform: scale(1.36);
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 24px 8px 8px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.76));
  color: var(--white);
  font-size: 12px;
  line-height: 1.2;
}

.gallery-caption span:last-child {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.68);
}

.mobile-footer-cluster {
  display: contents;
}

.gallery-view-controls {
  position: fixed;
  z-index: 60;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-view-switcher {
  display: flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.stack-controls {
  position: fixed;
  z-index: 60;
  bottom: 8px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px) scale(0.96);
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 320ms;
  visibility: hidden;
}

.view-stack .stack-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  transition-delay: 80ms, 80ms, 0s;
  visibility: visible;
}

.stack-controls button {
  display: flex;
  width: 28px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--black);
  cursor: default;
  font: inherit;
}

.stack-controls button span {
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}

.stack-controls button:hover {
  background: #f5f5f5;
}

.stack-controls button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.stack-counter {
  min-width: 42px;
  color: var(--gray);
  text-align: center;
}

.project-view-toggle {
  height: 24px;
  flex: 0 0 auto;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--gray);
  cursor: default;
  font: inherit;
}

.project-view-toggle.is-active {
  background: var(--black);
  color: var(--white);
}

.project-view-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.home-footer {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--measure);
  height: 38px;
  max-width: 100%;
  min-height: 38px;
  align-items: center;
  padding: 8px 0 0;
  color: var(--gray);
  text-wrap: balance;
}

.work-preview {
  display: none;
  pointer-events: none;
}

.project-drawer[hidden] {
  display: none;
}

.project-drawer {
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow: hidden;
}

.project-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  cursor: default;
  opacity: 0;
  transition: opacity 440ms cubic-bezier(0.26, 0.08, 0.25, 1);
}

.project-sheet {
  position: absolute;
  inset: 12px 0 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 24px 24px 0 0;
  background: var(--white);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.18);
  opacity: 0;
  scrollbar-width: thin;
  transform: translateY(100%);
  transition:
    opacity 360ms ease,
    transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-drawer.is-open .project-drawer-backdrop {
  opacity: 1;
}

.project-drawer.is-open .project-sheet {
  opacity: 1;
  transform: translateY(0);
}

.project-close {
  position: sticky;
  z-index: 3;
  top: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  margin: 24px 24px -72px auto;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  cursor: default;
  backdrop-filter: blur(12px);
}

.project-close span {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
}

.project-close:hover {
  background: var(--black);
  color: var(--white);
}

.project-close:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.project-sheet-content {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: clamp(80px, 8vw, 112px) clamp(16px, 5vw, 56px) 32px;
}

.drawer-hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.drawer-hero h2 {
  grid-column: 1 / 11;
  font-size: clamp(30px, 4.2vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.drawer-lead {
  grid-column: 1 / 11;
  font-size: clamp(16px, 1.75vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
}

.case-block--media {
  margin: 0;
}

.case-block--media :is(img, video) {
  display: block;
  width: 100%;
  object-fit: cover;
}

.drawer-cover :is(img, video) {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
}

.case-block--body-media :is(img, video) {
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  object-position: 72% 50%;
}

.case-media-caption {
  margin-top: 9px;
  color: #737373;
  font-size: 13px;
  line-height: 1.35;
}

.drawer-story {
  display: grid;
  gap: clamp(48px, 7vw, 80px);
  padding: clamp(48px, 7vw, 76px) 0 clamp(64px, 9vw, 104px);
}

.case-block--text {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.case-block--text h3 {
  grid-column: 1 / 4;
}

.case-block--text h3,
.case-column h3 {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.case-block--text p {
  grid-column: 5 / 12;
}

.case-block--text p,
.case-column p {
  color: #4d4d4d;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.38;
}

.case-block--columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 64px);
}

.case-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.case-column-item {
  min-width: 0;
}

.case-column-item + .case-column-item {
  margin-top: 20px;
}

.case-column-item--text {
  display: grid;
  gap: 12px;
}

.drawer-quote {
  max-width: 880px;
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.case-column .drawer-quote {
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.case-external {
  display: flex;
  justify-content: flex-start;
}

.case-external-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.case-external-link::after {
  content: "↗";
  font-size: 14px;
  line-height: 1;
}

.case-external-link:hover {
  background: var(--white);
  color: var(--black);
}

.case-recommendations {
  display: grid;
  gap: 16px;
}

.case-recommendations > h3 {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.recommendation-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
  border-radius: 4px;
  background: #f5f5f5;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.recommendation-card strong {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.25;
}

.recommendation-product,
.recommendation-status {
  color: var(--gray);
  font-size: 12px;
}

.recommendation-card:hover {
  background: var(--black);
  color: var(--white);
}

.recommendation-card:hover .recommendation-product,
.recommendation-card:hover .recommendation-status {
  color: rgba(255, 255, 255, 0.64);
}

body.has-project-drawer .project-view-switcher,
body.has-project-drawer .stack-controls,
body.has-project-drawer .work-preview {
  opacity: 0;
  pointer-events: none;
}

@keyframes draw-mark {
  to {
    transform: rotate(-3deg) skewX(-18deg) scaleX(1);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .home-loader-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: var(--column-gap);
    row-gap: var(--section-gap);
  }

  .home-loader-identity {
    grid-column: 1;
    grid-row: 1;
  }

  .home-loader-about {
    grid-column: 2;
    grid-row: 1;
  }

  .home-loader-work {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-loader-work-header,
  .home-loader-work-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: var(--column-gap);
    row-gap: var(--section-gap);
    overflow: hidden;
  }

  .identity-column {
    grid-column: 1;
    grid-row: 1;
  }

  .content-column {
    grid-column: 2;
    grid-row: 1;
  }

  .work-section {
    grid-column: 1 / -1;
    grid-row: 2;
    container-type: size;
  }

  .is-stack .gallery-card {
    /* Keep the active card inside the work area and reserve 25px for stack depth. */
    top: calc(50% - 12.5px);
    width: min(
      1080px,
      calc(100vw - 16px),
      max(0px, calc(177.778cqh - 44.444px))
    );
  }

  .work-header,
  .work-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .work-gallery-view.is-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .work-preview {
    position: fixed;
    z-index: 40;
    top: var(--preview-y);
    left: 75vw;
    display: flex;
    width: min(352px, calc(50vw - 48px));
    max-height: min(42vh, 260px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    filter: blur(12px);
    transform: translate(-50%, calc(-50% - 12px));
    transition:
      opacity 250ms cubic-bezier(0.26, 0.08, 0.25, 1),
      filter 250ms cubic-bezier(0.26, 0.08, 0.25, 1),
      transform 250ms cubic-bezier(0.26, 0.08, 0.25, 1);
  }

  .work-preview :is(img, video) {
    display: block;
    width: 100%;
    max-height: min(42vh, 260px);
    border-radius: 2px;
    object-fit: contain;
  }

  .is-previewing.has-work-preview-media .work-preview {
    opacity: 1;
  }

  .is-previewing.has-work-preview-media .work-preview {
    filter: blur(0);
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 767px) {
  .home-page {
    --mobile-leading-column: clamp(112px, 32vw, 124px);
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
    overscroll-behavior-x: none;
  }

  .home-page {
    height: auto;
    min-height: 100svh;
    padding-bottom: 72px;
  }

  .home-main {
    flex: 0 0 auto;
    overflow: visible;
  }

  .intro {
    width: 100%;
  }

  .intro > p {
    width: 100%;
    max-width: none;
  }

  .intro > .contact-links {
    width: var(--measure);
    max-width: 100%;
  }

  .home-loader-about {
    width: 100%;
  }

  .career-list {
    width: 100%;
  }

  .career-item,
  .work-header,
  .work-group {
    grid-template-columns: var(--mobile-leading-column) minmax(0, 1fr);
    gap: var(--column-gap);
  }

  .project-list {
    gap: 8px;
  }

  .project-row {
    display: block;
    min-height: 24px;
    padding: 2px 0;
    line-height: 1.4;
  }

  .project-row .project-title {
    display: inline;
  }

  .project-row .project-title-text,
  .project-row .project-link-chevron {
    display: inline;
  }

  .project-row :is(.project-status, .new-mark) {
    display: inline-flex;
    margin-left: 6px;
    vertical-align: baseline;
  }

  .work-section {
    flex: none;
    overflow: visible;
    touch-action: pan-y;
  }

  .mobile-footer-cluster {
    position: fixed;
    z-index: 60;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
  }

  .mobile-footer-cluster .stack-controls,
  .mobile-footer-cluster .gallery-view-controls,
  .mobile-footer-cluster .home-footer {
    position: static;
    inset: auto;
  }

  .mobile-footer-cluster .stack-controls {
    display: none;
    transform: none;
  }

  .view-stack .mobile-footer-cluster .stack-controls {
    display: flex;
    pointer-events: auto;
    transform: none;
  }

  .mobile-footer-cluster .gallery-view-controls {
    pointer-events: auto;
  }

  .mobile-footer-cluster .home-footer {
    z-index: auto;
    width: 100%;
    height: 18px;
    min-height: 18px;
    justify-content: center;
    padding: 0;
  }

  body.view-stack .home-page {
    padding-bottom: 108px;
  }

  .work-gallery-view.is-grid {
    min-height: 0;
    padding-bottom: 0;
  }

  .work-gallery-view.is-stack {
    min-height: 0;
    padding: 0 0 64px;
  }

  .work-gallery-view.is-stack::before {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    content: "";
  }

  .is-stack .gallery-card {
    top: calc(50% - 32px);
    width: calc(100% - 12px);
  }

  .project-sheet {
    top: 8px;
    border-radius: 18px 18px 0 0;
  }

  .project-close {
    top: 16px;
    width: 42px;
    height: 42px;
    margin: 16px 16px -58px auto;
  }

  .project-sheet-content {
    padding-top: 80px;
  }

  .drawer-hero,
  .case-block--text,
  .case-block--columns {
    grid-template-columns: 1fr;
  }

  .drawer-hero h2,
  .drawer-lead,
  .case-block--text h3,
  .case-block--text p {
    grid-column: 1;
  }

  .case-block--text {
    gap: 10px;
  }

  .case-block--columns {
    gap: 36px;
  }

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

  .recommendation-card {
    min-height: 112px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .loader-shimmer {
    animation: none !important;
    background: #f1f1f1;
  }
}
