:root {
  color-scheme: dark;
  --black: #050505;
  --white: #f4f1e9;
  --line: rgba(255, 255, 255, 0.17);
  --panel: #a9a8a5;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  cursor: auto;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #ff5a1f;
  outline-offset: 3px;
}

.site-shell,
.stage,
.page-layer,
.detail-layer {
  position: fixed;
  inset: 0;
}

.site-shell {
  overflow: hidden;
}

body.work-mode::before,
body.work-mode::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body.work-mode::before {
  z-index: 249;
  background: radial-gradient(
    ellipse at 50% 48%,
    transparent 47%,
    rgba(0, 0, 0, 0.14) 62%,
    rgba(0, 0, 0, 0.58) 82%,
    rgba(0, 0, 0, 0.94) 118%
  );
  mix-blend-mode: saturation;
}

body.work-mode::after {
  z-index: 250;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.065) 0,
      rgba(255, 255, 255, 0.065) 1px,
      rgba(0, 0, 0, 0.11) 1px,
      rgba(0, 0, 0, 0.11) 2px,
      transparent 2px,
      transparent 5px
    ),
    rgba(0, 0, 0, 0.5);
  -webkit-mask-image: radial-gradient(
    ellipse at 50% 48%,
    transparent 47%,
    rgba(0, 0, 0, 0.07) 62%,
    rgba(0, 0, 0, 0.36) 82%,
    #000 118%
  );
  mask-image: radial-gradient(
    ellipse at 50% 48%,
    transparent 47%,
    rgba(0, 0, 0, 0.07) 62%,
    rgba(0, 0, 0, 0.36) 82%,
    #000 118%
  );
}

.stage {
  overflow: hidden;
  background:
    radial-gradient(circle at 48% 44%, rgba(82, 23, 7, 0.18), transparent 58%),
    #050505;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.grid-zoom {
  position: absolute;
  inset: 0;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.tile-field {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.project-access {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.project-card {
  --accent: #242424;
  position: relative;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.82);
  text-align: left;
  isolation: isolate;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  will-change: transform;
  transition: background 0.14s ease-out, opacity 0.2s var(--ease), filter 0.2s var(--ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at var(--curve-light-x, 50%) var(--curve-light-y, 50%), rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 35%, rgba(0, 0, 0, 0.76));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 20px 35px rgba(255, 255, 255, 0.025),
    inset 0 -34px 52px rgba(0, 0, 0, 0.42);
  opacity: var(--curve-shade, 0.08);
  pointer-events: none;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--accent), transparent 58%);
  opacity: 0;
  transition: opacity 0.14s ease-out;
}

.project-card:hover::before,
.project-card:focus-visible::before {
  opacity: 0.83;
  transition-duration: 0.06s;
}

.project-card.is-filtered {
  pointer-events: none;
  opacity: 0.08;
  filter: grayscale(1);
}

.card-top,
.card-bottom {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.card-top {
  top: 11px;
}

.card-bottom {
  bottom: 10px;
}

.card-title {
  max-width: 66%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-client {
  opacity: 0.78;
}

.card-tags {
  display: flex;
  gap: 4px;
}

.card-tags span {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(19, 19, 19, 0.68);
}

.project-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--media-size, 58%);
  height: var(--media-size, 58%);
  object-fit: cover;
  transform: translate(-50%, -50%) scale(var(--media-scale, 1));
  filter: var(--media-filter, none);
  transition: transform 0.24s var(--ease), filter 0.18s ease-out, border-radius 0.2s var(--ease);
}

.project-card:nth-child(4n + 1) img {
  border-radius: 50%;
}

.project-card:nth-child(5n + 2) img {
  width: 72%;
  height: 48%;
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: translate(-50%, -50%) scale(calc(var(--media-scale, 1) * 1.08)) rotate(0.4deg);
  filter: var(--media-filter, none) saturate(1.17) contrast(1.04);
  border-radius: 1px;
  transition-duration: 0.12s;
}

.project-card:nth-child(3n) {
  aspect-ratio: auto;
  min-height: calc(var(--tile-w) * 0.78);
}

.explore-hint {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  font: 10px/1 var(--mono);
  letter-spacing: -0.03em;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  animation: hint-in 4.5s 2.5s both;
}

.explore-hint span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff5a1f;
}

@keyframes hint-in {
  0%, 100% { opacity: 0; }
  15%, 65% { opacity: 1; }
}

.hud {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: 96px;
  display: grid;
  grid-template-columns: 92px auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.5vw, 26px);
  padding: 14px 24px 27px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 45%,
    rgba(0, 0, 0, 0.3) 74%,
    rgba(4, 4, 4, 0) 100%
  );
  pointer-events: none;
}

.hud button,
.hud a {
  pointer-events: auto;
}

.brand {
  position: fixed;
  top: 14px;
  left: 24px;
  z-index: 251;
  width: 88px;
  height: 40px;
  padding: 0;
  background: transparent;
  transition: opacity 0.18s ease, visibility 0.18s;
}

body.detail-mode .brand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.brand-slot {
  width: 88px;
  height: 40px;
}

.brand picture {
  display: block;
  width: 100%;
  height: 100%;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transform-origin: left center;
  transition: transform 0.14s var(--ease);
}

.brand:hover img,
.brand:focus-visible img {
  transform: scaleX(1.035) translateX(2px);
}

.mono-control,
.statement {
  margin: 0;
  color: white;
  font: 10px/1.12 var(--mono);
  text-transform: uppercase;
}

.sound-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-self: center;
  padding: 4px 0;
  background: transparent;
  text-align: left;
}

.sound-bars {
  display: grid;
  grid-template-columns: repeat(5, 2px);
  align-items: center;
  gap: 2px;
  height: 11px;
}

.sound-bars i {
  width: 2px;
  height: 3px;
  background: white;
  opacity: 0.7;
}

.sound-toggle[aria-pressed="true"] .sound-bars i {
  animation: meter 0.75s infinite alternate ease-in-out;
}

.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(2) { animation-delay: -0.4s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(3) { animation-delay: -0.2s; }
.sound-toggle[aria-pressed="true"] .sound-bars i:nth-child(5) { animation-delay: -0.5s; }

@keyframes meter {
  to { height: 11px; }
}

.statement {
  font-weight: 700;
}

.studio-time p {
  display: grid;
  grid-template-columns: 8px 86px 1fr;
  gap: 5px;
  margin: 0;
}

.studio-time i {
  width: 7px;
  height: 7px;
  margin-top: 2px;
  border-radius: 50%;
  background: white;
}

.studio-time p:first-child {
  opacity: 0.5;
}

.ui-pill {
  border-radius: 999px;
  background: rgba(182, 182, 179, 0.93);
  color: #090909;
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(14px);
}

.ui-pill {
  min-height: 56px;
  padding: 0 24px;
  font-size: 16px;
  white-space: nowrap;
}

.talk {
  min-width: 0;
  min-height: 28px;
  padding: 0 0 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: transparent;
  color: white;
  font: 10px/1 var(--mono);
  letter-spacing: 0.02em;
}

.talk::after {
  content: " ↗";
  color: #ff5a1f;
}

.mobile-filter {
  display: none;
}

.main-nav {
  position: static;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.main-nav button {
  position: relative;
  height: 32px;
  padding: 0 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  transition: color 0.18s ease;
}

.main-nav button.active {
  color: white;
}

.main-nav button.active::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 1px;
  left: 10px;
  height: 1px;
  background: #ff5a1f;
}

.view-toggle {
  display: flex;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.22);
}

.view-toggle button {
  display: grid;
  width: 27px;
  height: 28px;
  place-items: center;
  border-radius: 1px;
  background: transparent;
}

.view-toggle button.active {
  background: rgba(255, 255, 255, 0.14);
}

.grid-icon {
  display: grid;
  grid-template-columns: repeat(2, 5px);
  gap: 3px;
}

.grid-icon i {
  width: 5px;
  height: 5px;
  border: 1px solid white;
}

.list-icon {
  display: grid;
  gap: 3px;
}

.list-icon i {
  display: block;
  width: 14px;
  height: 1px;
  background: white;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.filter-open {
  position: static;
  min-width: 58px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.22);
  color: white;
  box-shadow: none;
  font: 10px/1 var(--mono);
  text-transform: uppercase;
}

.filter-open span:not(:empty)::before {
  content: " · ";
}

.list-view {
  position: absolute;
  inset: 0;
  padding: 150px 24px 90px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.94);
  opacity: 0;
  visibility: hidden;
  transform: translateY(28px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
}

body.list-mode .grid-zoom {
  opacity: 0;
  pointer-events: none;
}

body.list-mode .list-view {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.list-title {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(42px, 4vw, 62px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.list-title span:last-child {
  color: #575757;
}

.year-group {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 220px;
  padding: 55px 8px 60px;
  border-bottom: 1px solid var(--line);
}

.year-group h2 {
  margin: 0;
  font-size: 22px;
}

.project-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.3fr) 1fr 140px;
  align-items: center;
  width: 100%;
  min-height: 45px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.project-row:hover {
  color: #ff6c2f;
}

.project-row.is-filtered {
  pointer-events: none;
  opacity: 0.14;
}

.project-row-title {
  font-weight: 600;
}

.project-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.project-row-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: white;
  font: 9px/1 var(--mono);
  text-transform: uppercase;
}

.project-row-client {
  text-align: right;
}

.filter-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}

.filter-panel.open {
  visibility: visible;
  pointer-events: auto;
}

.filter-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  backdrop-filter: blur(0);
  transition: opacity 0.55s var(--ease), backdrop-filter 0.55s var(--ease);
}

.filter-panel.open .filter-shade {
  opacity: 1;
  backdrop-filter: blur(4px);
}

.filter-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 36vw);
  height: 100%;
  padding: 105px 24px 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 38%, rgba(50, 88, 62, 0.6), transparent 45%),
    radial-gradient(circle at 90% 12%, rgba(40, 73, 98, 0.5), transparent 42%),
    #030504;
  transform: translateX(100%);
  transition: transform 0.65s var(--ease);
}

.filter-panel.open .filter-inner {
  transform: none;
}

.eyebrow {
  margin: 0 0 22px;
  color: #858585;
  font: 10px/1.1 var(--mono);
  text-transform: uppercase;
}

.zone-options {
  margin-bottom: 70px;
}

.zone-options button {
  display: block;
  padding: 0;
  background: transparent;
  color: #4d4d4d;
  font-size: clamp(38px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.zone-options button.active,
.zone-options button:hover {
  color: white;
}

.filter-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.filter-options button {
  padding: 0;
  background: transparent;
  color: white;
  font: 10px/1.15 var(--mono);
  text-align: left;
  text-transform: uppercase;
}

.filter-options button.active,
.filter-options button:hover {
  color: #ff6c2f;
}

.filter-partner-label {
  margin-top: 38px;
}

.filter-close {
  position: absolute;
  right: 24px;
  bottom: 34px;
  background: white;
}

.page-layer {
  z-index: 20;
  overflow: hidden;
  background: #202020;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity 0.45s var(--ease), transform 0.8s var(--ease), visibility 0.8s;
}

.page-layer.open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.page-layer.clients-open {
  background: #030303;
}

.page-layer.clients-open .page-scroll {
  padding: 0;
  overflow: hidden;
}

.page-scroll {
  height: 100%;
  padding: 245px 24px 135px;
  overflow-y: auto;
}

.page-intro {
  display: grid;
  grid-template-columns: 26% 1fr;
  padding: 28px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.page-intro h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(54px, 8.5vw, 138px);
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.page-intro .eyebrow {
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.5fr 0.8fr;
  grid-template-rows: minmax(0, 1fr);
  gap: 10px;
  height: 400px;
  min-height: 0;
  overflow: hidden;
}

.about-grid img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
}

.about-grid img:nth-child(2) {
  object-position: 60% 45%;
}

.page-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.page-body p:last-child {
  max-width: 750px;
  margin: 0;
  font-size: clamp(26px, 3.3vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.about-bio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 84px);
  max-width: 1180px;
}

.about-bio-copy {
  display: grid;
  align-content: start;
  gap: 24px;
}

.page-body .about-bio-copy p {
  max-width: 34em;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.48;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

.page-body .about-bio-copy--en p {
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: -0.02em;
  word-break: normal;
}

.roles {
  margin-top: 80px;
}

.role-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: clamp(22px, 3vw, 46px);
}

.role-row span:nth-child(2) {
  color: #777;
}

.client-constellation {
  position: relative;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, 0.065), transparent 43%),
    radial-gradient(ellipse at 50% 50%, #090909 0, #030303 72%);
  isolation: isolate;
}

.client-constellation::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 48%, transparent 30%, rgba(0, 0, 0, 0.78) 92%);
  pointer-events: none;
}

.client-index {
  position: absolute;
  z-index: 2;
  top: 165px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: rgba(255, 255, 255, 0.48);
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.03em;
}

.client-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(74px, 12.5vw, 230px);
  line-height: 0.8;
  letter-spacing: -0.075em;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.client-orbit {
  position: absolute;
  inset: 118px 0 100px;
  z-index: 1;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.client-mark {
  position: absolute;
  top: var(--y);
  left: var(--x);
  min-width: 90px;
  padding: 14px;
  background: transparent;
  text-align: center;
  transform: translate(-50%, -50%) rotate(var(--rotate)) scale(var(--scale));
  transform-origin: center;
}

.client-mark-float {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  animation: client-float var(--drift) ease-in-out infinite alternate;
}

.client-mark-logo {
  display: block;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(20px, 2.3vw, 42px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.055em;
  white-space: nowrap;
  filter: grayscale(1);
  transition: color 0.14s ease-out, filter 0.14s ease-out, text-shadow 0.14s ease-out, transform 0.18s var(--ease);
}

.client-mark--serif .client-mark-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.client-mark--wide .client-mark-logo {
  font-size: clamp(15px, 1.65vw, 29px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.client-mark--compact .client-mark-logo {
  font-family: "Arial Narrow", var(--sans);
  font-weight: 800;
  letter-spacing: -0.085em;
  text-transform: uppercase;
}

.client-mark--mono .client-mark-logo {
  font: 700 clamp(16px, 1.8vw, 31px)/0.9 var(--mono);
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.client-mark:hover .client-mark-logo,
.client-mark:focus-visible .client-mark-logo {
  color: white;
  filter: none;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.24);
  transform: scale(1.08);
}

.client-mark:hover .client-mark-float,
.client-mark:focus-visible .client-mark-float {
  animation-play-state: paused;
}

.client-mark-mobile-meta {
  display: none;
}

.client-focus {
  position: absolute;
  z-index: 3;
  bottom: 112px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.43);
  font: 10px/1.2 var(--mono);
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
  pointer-events: none;
}

.client-focus strong {
  color: white;
  font-weight: 500;
}

.client-window-shade {
  position: fixed;
  inset: 0;
  z-index: 4;
  background: rgba(0, 0, 0, 0.64);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(7px);
  transition: opacity 0.24s ease-out;
}

.client-window-shade.open {
  opacity: 1;
  pointer-events: auto;
}

.client-window {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 5;
  width: min(900px, calc(100vw - 96px));
  max-height: min(650px, calc(100vh - 210px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(9, 9, 9, 0.96);
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.975);
  transition: opacity 0.2s ease-out, transform 0.32s var(--ease), visibility 0.32s;
}

.client-window.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.client-window-head {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.56);
  font: 9px/1 var(--mono);
  letter-spacing: 0.04em;
}

.client-window-close {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: white;
  font: 9px/1 var(--mono);
}

.client-window-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(18px, 2.6vw, 34px);
}

.client-window-media {
  aspect-ratio: 1.15;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #151515;
}

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

.client-window-media.is-video-thumbnail img {
  object-fit: contain;
}

.client-window-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.client-window-copy > p:first-child {
  margin: 2px 0 24px;
  color: rgba(255, 255, 255, 0.48);
  font: 9px/1.25 var(--mono);
  text-transform: uppercase;
}

.client-window-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.84;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.client-window-copy > p:nth-of-type(2) {
  max-width: 32em;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
  line-height: 1.38;
}

.client-window-project {
  margin-top: auto;
  padding: 10px 0 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: white;
  font: 10px/1 var(--mono);
}

@keyframes client-float {
  from { transform: translate3d(-2px, -3px, 0); }
  to { transform: translate3d(3px, 4px, 0); }
}

body.clients-mode .view-toggle,
body.clients-mode .filter-open,
body.clients-mode .mobile-filter {
  opacity: 0;
  pointer-events: none;
}

.contact-email {
  display: inline-block;
  margin-top: 20px;
  color: white;
  font-size: clamp(38px, 7vw, 110px);
  font-weight: 700;
  letter-spacing: -0.07em;
  text-decoration: none;
  border-bottom: 4px solid white;
}

.detail-layer {
  z-index: 80;
  background: #f4f0e7;
  color: #111;
  visibility: hidden;
  transform: translateY(105%);
  transition: transform 0.9s var(--ease), visibility 0.9s;
}

.detail-layer.open {
  visibility: visible;
  transform: none;
}

.detail-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 24px;
}

.detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-close {
  min-height: 48px;
}

.detail-client {
  font: 12px/1 var(--mono);
  text-transform: uppercase;
}

.detail-title {
  max-width: 1280px;
  margin: 54px auto 30px;
  font-size: clamp(42px, 6.6vw, 106px);
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-align: center;
  text-transform: uppercase;
}

.detail-rule {
  height: 1px;
  background: rgba(0, 0, 0, 0.28);
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px 0 60px;
  font: 10px/1 var(--mono);
  text-transform: uppercase;
}

.detail-meta span:nth-child(2) {
  text-align: center;
}

.detail-live {
  text-align: right;
}

.detail-hero {
  width: min(780px, 72vw, 72vh);
  aspect-ratio: 1;
  margin: 40px auto 100px;
  overflow: hidden;
  background: #111;
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero.is-photo-archive {
  width: min(1180px, 84vw);
  height: min(var(--detail-hero-max-height, 72vh), 860px);
  max-height: min(var(--detail-hero-max-height, 72vh), 860px);
  aspect-ratio: auto;
  background: #111;
}

.detail-hero.is-photo-archive > #detail-image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(var(--detail-hero-max-height, 72vh), 860px);
  margin-inline: auto;
  object-fit: contain;
}

.detail-photo-hero {
  display: grid;
  width: 100%;
  height: 100%;
  gap: var(--detail-gallery-gap, 8px);
  overflow: hidden;
}

.detail-photo-hero[hidden] {
  display: none;
}

.detail-photo-hero-cut {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #0b0b0b;
}

.detail-photo-hero-cut img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus-x, 50%) var(--hero-focus-y, 50%);
  transform: scale(var(--hero-zoom, 1));
  transform-origin: var(--hero-focus-x, 50%) var(--hero-focus-y, 50%);
}

.detail-photo-hero.layout-single {
  grid-template-columns: 1fr;
}

.detail-photo-hero.layout-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-photo-hero.layout-stack {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.detail-photo-hero.layout-triptych {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-photo-hero.layout-lead-left,
.detail-photo-hero.layout-lead-right {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.detail-photo-hero.layout-lead-left {
  grid-template-columns: 2fr 1fr;
}

.detail-photo-hero.layout-lead-left .detail-photo-hero-cut:first-child {
  grid-row: 1 / 3;
}

.detail-photo-hero.layout-lead-right {
  grid-template-columns: 1fr 2fr;
}

.detail-photo-hero.layout-lead-right .detail-photo-hero-cut:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
}

.detail-hero-caption {
  width: min(1180px, 84vw);
  margin: -80px auto 100px;
  font: 10px/1.45 var(--mono);
  text-transform: uppercase;
}

.detail-hero-caption[hidden] {
  display: none;
}

.detail-hero.is-video {
  width: min(1180px, 84vw, 128vh);
  aspect-ratio: 16 / 9;
}

.detail-hero.is-video.is-portrait {
  width: min(430px, 72vw, 40.5vh);
  aspect-ratio: 9 / 16;
}

.detail-video,
.detail-video iframe {
  width: 100%;
  height: 100%;
}

.detail-video iframe {
  display: block;
  border: 0;
  background: #000;
}

.detail-video-external {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
  background: #111;
  text-decoration: none;
}

.detail-video-external[hidden],
.detail-youtube-link[hidden] {
  display: none;
}

.detail-video-external::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.72));
}

.detail-video-external::before {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  padding: 18px 24px;
  color: #111;
  font: 12px/1 var(--mono);
  content: 'PLAY ↗';
  background: #f3efe7;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.detail-video-external:hover::before {
  transform: translate(-50%, -50%) scale(1.06);
}

.detail-video-external img {
  transition: transform 420ms cubic-bezier(0.2, 0.75, 0.25, 1), filter 420ms ease;
}

.detail-video-external:hover img {
  filter: brightness(0.82);
  transform: scale(1.025);
}

.detail-video-external-label {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--mono);
}

.detail-video-external-label small {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.detail-video-external-label strong {
  font-size: clamp(14px, 1.26vw, 20px);
  letter-spacing: -0.04em;
}

.detail-youtube-link {
  display: block;
  width: max-content;
  margin: -74px max(8vw, 24px) 100px auto;
  color: #111;
  font: 10px/1 var(--mono);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.detail-copy {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding: 42px 0 84px;
  border-top: 1px solid rgba(0, 0, 0, 0.28);
}

.detail-copy p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: clamp(18px, 2.4vw, 37px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.detail-gallery[hidden] {
  display: none;
}

.detail-gallery {
  padding: 78px 0 150px;
  border-top: 1px solid rgba(0, 0, 0, 0.28);
}

.detail-gallery-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 70px;
  font: 10px/1 var(--mono);
}

.detail-gallery-list {
  display: grid;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: var(--detail-gallery-gap, 8px);
  align-items: start;
}

.detail-gallery-item {
  min-width: 0;
  grid-column: span var(--gallery-span, 24);
  width: 100%;
  margin: 0;
}

.detail-gallery-item.layout-half {
  grid-column: span 12;
}

.detail-gallery-item.layout-third {
  grid-column: span 8;
}

.detail-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  background: #111;
}

.detail-gallery-item figcaption {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
  font: 10px/1.45 var(--mono);
  text-transform: uppercase;
}

.detail-gallery-item figcaption span {
  color: rgba(0, 0, 0, 0.45);
}

.detail-client-projects[hidden] {
  display: none;
}

.detail-client-projects {
  padding: 72px 0 110px;
  border-top: 1px solid rgba(0, 0, 0, 0.28);
}

.detail-client-projects-head {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: end;
  margin-bottom: 38px;
  font: 10px/1 var(--mono);
}

.detail-client-projects-head h2 {
  margin: 0;
  font: 700 clamp(23px, 3.36vw, 53px)/0.84 var(--sans);
  letter-spacing: -0.06em;
  text-align: center;
}

.detail-client-projects-head span:last-child {
  text-align: right;
}

.detail-client-project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(0, 0, 0, 0.24);
}

.detail-client-project {
  min-width: 0;
  padding: 12px;
  color: #111;
  background: #f4f0e7;
  text-align: left;
}

.detail-client-project-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.detail-client-project-media::after {
  position: absolute;
  inset: 0;
  content: '';
  box-shadow: inset 0 0 0 0 rgba(255, 90, 31, 0);
  transition: box-shadow 220ms ease;
}

.detail-client-project:hover .detail-client-project-media::after,
.detail-client-project.is-current .detail-client-project-media::after {
  box-shadow: inset 0 0 0 4px #ff5a1f;
}

.detail-client-project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms var(--ease), filter 350ms ease;
}

.detail-client-project-media.is-video-thumbnail img {
  object-fit: contain;
}

.detail-client-project:hover .detail-client-project-media img {
  filter: brightness(0.82);
  transform: scale(1.025);
}

.detail-client-project:hover .detail-client-project-media.is-video-thumbnail img {
  filter: none;
  transform: none;
}

.detail-client-project-media > span {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  display: grid;
  width: 30px;
  height: 30px;
  color: #111;
  background: #f4f0e7;
  border-radius: 50%;
  place-items: center;
  font: 9px/1 var(--mono);
}

.detail-client-project-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 16px 4px 8px;
}

.detail-client-project-info small,
.detail-client-project-info em {
  font: 9px/1.2 var(--mono);
  text-transform: uppercase;
}

.detail-client-project-info em {
  font-style: normal;
  text-align: right;
}

.detail-client-project-info strong {
  grid-column: 1 / -1;
  font-size: clamp(14px, 1.32vw, 20px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.detail-next {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 90px 0 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.28);
  font: 10px/1 var(--mono);
}

.detail-next button {
  max-width: 70%;
  padding: 0;
  background: transparent;
  color: #111;
  font-size: clamp(29px, 4.8vw, 77px);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.065em;
  text-align: right;
  text-transform: uppercase;
}

.transition-wipe {
  position: fixed;
  z-index: 160;
  inset: 0;
  background: #ff5a1f;
  pointer-events: none;
  transform: translateY(105%);
}

.transition-wipe.play {
  animation: wipe 1s var(--ease);
}

@keyframes wipe {
  0% { transform: translateY(105%); }
  48%, 55% { transform: translateY(0); }
  100% { transform: translateY(-105%); }
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  overflow: clip;
  background: #020202;
  isolation: isolate;
}

.landing-fade {
  pointer-events: none;
  transform: translateZ(0);
}

.landing-fade.is-dissolving {
  opacity: 0;
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-fade.is-complete {
  display: none;
}

body.is-loading .hud,
body.is-loading .brand {
  opacity: 0;
}

body.ready .hud,
body.ready .brand {
  animation: controls-in 0.8s 0.2s both;
}

@keyframes controls-in {
  from { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 900px) {
  .hud {
    height: 108px;
    display: grid;
    grid-template-columns: 84px minmax(76px, 1fr) auto;
    grid-template-rows: 34px 30px;
    align-items: center;
    column-gap: 10px;
    row-gap: 7px;
    padding: 12px 14px 25px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.94) 0%,
      rgba(0, 0, 0, 0.76) 52%,
      rgba(0, 0, 0, 0.32) 80%,
      rgba(4, 4, 4, 0) 100%
    );
  }

  .brand {
    top: 12px;
    left: 14px;
    width: 84px;
    height: 38px;
  }

  .brand-slot {
    grid-column: 1;
    grid-row: 1;
    width: 84px;
    height: 38px;
  }

  .main-nav {
    grid-column: 1 / 3;
    grid-row: 2;
    align-self: end;
  }

  .main-nav button {
    height: 29px;
    padding: 0 7px;
    font-size: 11px;
  }

  .main-nav button.active::after {
    right: 7px;
    left: 7px;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    gap: 8px;
    align-self: center;
  }

  .talk {
    min-width: 0;
    min-height: 28px;
    padding: 0 0 2px;
  }

  .view-toggle {
    align-self: stretch;
  }

  .view-toggle button {
    width: 25px;
    height: 27px;
  }

  .card-top,
  .card-bottom {
    left: 7px;
    right: 7px;
    font-size: 6px;
  }

  .card-tags span {
    padding: 3px 4px;
  }

  .project-card img {
    width: 66%;
    height: 66%;
  }

  .list-view {
    padding: 128px 16px 72px;
  }

  .list-title {
    grid-template-columns: 1fr;
    gap: 4px;
    font-size: 42px;
  }

  .year-group {
    grid-template-columns: 62px 1fr;
    padding: 40px 0;
  }

  .project-row {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .project-row-tags {
    display: none;
  }

  .project-row-client {
    max-width: 80px;
    font-size: 12px;
  }

  .filter-inner {
    width: 100%;
    padding: 98px 24px 26px;
    overflow-y: auto;
    background:
      radial-gradient(circle at 18% 0, rgba(103, 48, 30, 0.45), transparent 42%),
      radial-gradient(circle at 78% 36%, rgba(74, 93, 46, 0.42), transparent 45%),
      #030303;
    transform: translateY(-100%);
  }

  .filter-panel.open .filter-inner {
    transform: none;
  }

  .filter-close {
    position: fixed;
    top: 36px;
    right: 50%;
    bottom: auto;
    min-height: 32px;
    padding: 0 13px;
    font: 10px/1 var(--mono);
    transform: translateX(50%);
  }

  .zone-options {
    margin-bottom: 54px;
  }

  .zone-options button {
    font-size: 40px;
  }

  .filter-columns {
    padding-bottom: 90px;
  }

  .page-scroll {
    padding: 165px 20px 120px;
  }

  .page-intro,
  .page-body,
  .detail-copy {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .page-intro {
    padding-bottom: 70px;
  }

  .page-intro h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

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

  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    height: 560px;
  }

  .about-grid img:nth-child(3) {
    grid-column: span 2;
  }

  .about-grid img:nth-child(4) {
    display: none;
  }

  .role-row {
    grid-template-columns: 1fr auto;
    font-size: 22px;
  }

  .role-row span:nth-child(2) {
    display: none;
  }

  .page-layer.clients-open .page-scroll {
    overflow-y: auto;
  }

  .client-constellation {
    min-height: 980px;
    padding: 150px 20px 135px;
  }

  .client-index {
    position: static;
    gap: 4px;
  }

  .client-title {
    position: static;
    margin: 68px 0 0;
    color: rgba(255, 255, 255, 0.08);
    font-size: clamp(34px, 10.5vw, 46px);
    white-space: normal;
    transform: none;
  }

  .client-orbit {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 20px;
    margin-top: 82px;
    perspective: none;
  }

  .client-mark {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    min-width: 0;
    min-height: 76px;
    padding: 0;
    place-items: center;
    transform: none;
  }

  .client-mark-logo,
  .client-mark--wide .client-mark-logo,
  .client-mark--mono .client-mark-logo {
    font-size: clamp(17px, 5.5vw, 25px);
  }

  .client-mark-mobile-meta {
    display: block;
    color: rgba(255, 255, 255, 0.3);
    font: 8px/1.2 var(--mono);
    text-transform: uppercase;
  }

  .client-focus {
    display: none;
  }

  .client-window {
    width: calc(100vw - 30px);
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    border-radius: 18px;
  }

  .client-window-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px 16px 24px;
  }

  .client-window-media {
    aspect-ratio: 1.65;
    border-radius: 12px;
  }

  .client-window-copy h2 {
    font-size: clamp(38px, 13vw, 62px);
  }

  .client-window-copy > p:first-child {
    margin-bottom: 16px;
  }

  .client-window-copy > p:nth-of-type(2) {
    margin: 20px 0 28px;
    font-size: 13px;
  }

  .detail-scroll {
    padding: 18px 20px;
  }

  .detail-title {
    margin: 57px auto 33px;
    font-size: clamp(31px, 9.6vw, 52px);
  }

  .detail-meta {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .detail-meta span:nth-child(2) {
    text-align: right;
  }

  .detail-live {
    display: none;
  }

  .detail-hero {
    width: min(76vw, 68vh);
    margin: 20px auto 70px;
  }

  .detail-hero.is-video {
    width: min(calc(100vw - 40px), 121vh);
  }

  .detail-hero.is-video.is-portrait {
    width: min(76vw, 430px, 38.25vh);
  }

  .detail-hero.is-photo-archive {
    width: calc(100vw - 40px);
    height: min(var(--detail-hero-max-height, 68vh), 68vh);
    max-height: min(var(--detail-hero-max-height, 68vh), 68vh);
  }

  .detail-hero.is-photo-archive > #detail-image {
    max-height: min(var(--detail-hero-max-height, 68vh), 68vh);
  }

  .detail-hero-caption {
    width: calc(100vw - 40px);
    margin-top: -55px;
    margin-bottom: 70px;
  }

  .detail-client-projects {
    padding: 54px 0 74px;
    overflow: hidden;
  }

  .detail-gallery {
    padding: 54px 0 84px;
  }

  .detail-gallery-head {
    margin-bottom: 34px;
  }

  .detail-gallery-list {
    grid-template-columns: 1fr;
    gap: var(--detail-gallery-gap, 8px);
  }

  .detail-gallery-item,
  .detail-gallery-item.layout-half,
  .detail-gallery-item.layout-third,
  .detail-gallery-item.is-portrait,
  .detail-gallery-item.is-portrait:nth-child(even) {
    grid-column: 1;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .detail-client-projects-head {
    grid-template-columns: 1fr auto;
    gap: 30px 12px;
    align-items: start;
  }

  .detail-client-projects-head h2 {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: clamp(25px, 7.8vw, 38px);
    text-align: left;
  }

  .detail-client-project-list {
    grid-template-columns: none;
    grid-auto-columns: min(78vw, 340px);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
  }

  .detail-client-project {
    scroll-snap-align: start;
  }

  .detail-video-external-label {
    right: 18px;
    bottom: 18px;
    left: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .detail-youtube-link {
    margin-top: -48px;
    margin-bottom: 70px;
  }

  .detail-next {
    display: block;
  }

  .detail-next button {
    max-width: none;
    margin-top: 45px;
    text-align: left;
  }

  html,
  body,
  button {
    cursor: auto;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .explore-hint {
    display: none;
  }

  .landing-fade {
    transition-duration: 0.01ms !important;
  }
}
