.portfolio-editorial {
  --hero-progress: 0;
  position: relative;
  min-height: 100svh;
  overflow: clip;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(117, 199, 160, 0.1), transparent 34%),
    radial-gradient(ellipse at 78% 12%, rgba(244, 196, 107, 0.08), transparent 28%),
    #080a0f;
  color: #f6f7fb;
  padding: clamp(96px, 14vh, 150px) clamp(18px, 4vw, 56px) clamp(34px, 7vh, 72px);
}

.portfolio-editorial::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 49.95%, rgba(117, 199, 160, 0.16) 50%, transparent 50.05%),
    linear-gradient(180deg, transparent 0 63%, rgba(246, 247, 251, 0.08) 63%, transparent 78%);
  pointer-events: none;
}

.portfolio-editorial__count {
  position: absolute;
  top: clamp(112px, 15vh, 150px);
  left: clamp(18px, 4vw, 64px);
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px;
  align-items: start;
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(14px, 1.4vw, 19px);
  line-height: 0.9;
}

.portfolio-editorial__count span:first-child {
  transform: translateY(8px);
}

.portfolio-editorial__count span:last-child {
  font-size: 0.82em;
}

.portfolio-editorial__type {
  position: relative;
  z-index: 4;
  width: min(1328px, 100%);
  margin: 0 auto;
  padding-top: clamp(26px, 6vh, 60px);
}

.portfolio-hero__label {
  margin: 0 0 12px;
  color: #75c7a0;
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.portfolio-editorial h1 {
  max-width: 100%;
  margin: 0;
  color: #f6f7fb;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(82px, 18vw, 246px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.72;
  text-transform: uppercase;
}

.portfolio-editorial h1 > span {
  display: block;
  white-space: nowrap;
}

.split-letter {
  display: inline-block;
  transform-origin: 50% 60%;
  will-change: transform;
}

.portfolio-portrait {
  position: absolute;
  top: 48%;
  left: 50%;
  z-index: 5;
  width: clamp(260px, 25vw, 360px);
  margin: 0;
  transform: translate3d(-50%, -38%, 0);
}

.portfolio-portrait::before {
  content: "";
  position: absolute;
  inset: 16% -14% -8%;
  z-index: -1;
  border: 1px solid rgba(246, 247, 251, 0.12);
  background:
    linear-gradient(135deg, rgba(117, 199, 160, 0.14), rgba(17, 21, 29, 0.96)),
    #11151d;
}

.portfolio-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 0.78;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08);
}

.portfolio-portrait figcaption {
  position: absolute;
  left: max(-28vw, -310px);
  bottom: 26px;
  display: grid;
  gap: 6px;
  color: #f6f7fb;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(22px, 2.7vw, 38px);
  line-height: 0.95;
  text-transform: uppercase;
}

.portfolio-editorial__statement {
  position: absolute;
  left: 50%;
  bottom: clamp(86px, 11vh, 118px);
  z-index: 5;
  width: min(520px, calc(100% - 40px));
  margin: 0;
  color: #c3cad7;
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.portfolio-recent-link {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(30px, 6vh, 62px);
  z-index: 6;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: #f6f7fb;
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  text-decoration: none;
  text-transform: uppercase;
}

.portfolio-recent-link span {
  color: #aeb6c7;
  font-size: 14px;
}

.portfolio-recent-link strong {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(32px, 3.6vw, 58px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.portfolio-recent-link::after,
.stage-case-link::after,
.work-picker__item::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 520ms cubic-bezier(0.11, 0.82, 0.39, 0.92);
}

.portfolio-recent-link:hover::after,
.portfolio-recent-link:focus-visible::after,
.stage-case-link:hover::after,
.stage-case-link:focus-visible::after,
.work-picker__item:hover::after,
.work-picker__item:focus-visible::after,
.work-picker__item.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.recent-stage {
  --stage-progress: 0;
  --screen-y: 0px;
  --screen-scale: 1;
  --world-tilt: 42deg;
  --project-screen-top: 18vh;
  --project-screen-width: min(380px, 27vw);
  --project-screen-z: 54px;
  --project-screen-tilt: 82deg;
  --project-screen-depth: 0.22;
  --floor-tilt: 61deg;
  --wall-opacity: 0.5;
  --wall-skew-left: 0deg;
  --wall-skew-right: 0deg;
  --projector-beam-opacity: 0;
  --rail-opacity: 0;
  --rail-y: 112px;
  --case-opacity: 0;
  --case-y: 58px;
  --heading-opacity: 0.9;
  --heading-y: 0px;
  --light-pool-opacity: 0;
  --screen-overlay-opacity: 0.075;
  --screen-glow-opacity: 0.035;
  --projector-top: 58vh;
  --projector-y: 0px;
  --projector-scale: 0.72;
  --projector-tilt: 74deg;
  --projector-opacity: 1;
  --projector-beam-top: 20vh;
  --projector-beam-width: min(220px, 18vw);
  --projector-beam-height: 0px;
  position: relative;
  min-height: 360svh;
  background: #080808;
  color: #f5f5f5;
}

.recent-stage__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(245, 245, 245, 0.1), transparent 46%),
    #080808;
  isolation: isolate;
}

.showcase-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: #080808;
}

.recent-stage__heading {
  position: absolute;
  top: clamp(80px, 9vh, 112px);
  left: 0;
  z-index: 6;
  display: grid;
  justify-items: start;
  gap: 8px;
  width: 100%;
  padding: 0 clamp(18px, 4vw, 56px);
  opacity: var(--heading-opacity);
  transform: translate3d(0, var(--heading-y), 0);
  pointer-events: none;
}

.recent-stage__heading h2 {
  margin: 0;
  color: rgba(245, 245, 245, 0.78);
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(52px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.82;
  text-align: left;
  text-transform: uppercase;
}

.recent-stage__heading > span {
  color: #9a9a9a;
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.stage-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  perspective: 980px;
  pointer-events: none;
}

.stage-world {
  position: absolute;
  inset: 0;
  transform: translate3d(0, var(--screen-y), 0) rotateX(var(--world-tilt)) scale(var(--screen-scale));
  transform-origin: 50% 6%;
  transform-style: preserve-3d;
  will-change: transform;
}

.stage-world::before,
.stage-world::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
}

.stage-world::before {
  display: none;
}

.stage-world::after {
  bottom: 11vh;
  z-index: 4;
  width: min(420px, 28vw);
  height: min(210px, 16vw);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(245, 245, 245, 0.22), rgba(245, 245, 245, 0.08) 43%, transparent 73%);
  opacity: var(--light-pool-opacity);
  transform: translateX(-50%);
}

.stage-floor,
.stage-wall,
.stage-projector-beam,
.stage-projector,
.stage-screen {
  position: absolute;
  left: 50%;
}

.stage-floor {
  bottom: -9vh;
  z-index: 2;
  width: min(1280px, 92vw);
  height: 88vh;
  background:
    linear-gradient(100deg, transparent 0 16%, rgba(245, 245, 245, 0.28) 16.2%, transparent 16.7%, transparent 83.3%, rgba(245, 245, 245, 0.28) 83.8%, transparent 84.2%),
    linear-gradient(90deg, rgba(245, 245, 245, 0.06), transparent 18%, rgba(245, 245, 245, 0.045) 50%, transparent 82%, rgba(245, 245, 245, 0.06)),
    repeating-linear-gradient(90deg, rgba(245, 245, 245, 0.065) 0 1px, transparent 1px 150px),
    repeating-linear-gradient(0deg, rgba(245, 245, 245, 0.055) 0 1px, transparent 1px 126px),
    radial-gradient(ellipse at 50% 82%, rgba(245, 245, 245, 0.16), transparent 32%),
    linear-gradient(180deg, #2b2b2b 0%, #1d1d1d 50%, #101010 100%);
  clip-path: polygon(26% 0, 74% 0, 100% 100%, 0 100%);
  transform: translate3d(-50%, 0, -120px) rotateX(var(--floor-tilt));
  transform-origin: bottom center;
  box-shadow:
    inset 0 0 120px rgba(0, 0, 0, 0.84),
    0 -1px 0 rgba(245, 245, 245, 0.16);
}

.stage-floor::before,
.stage-floor::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(245, 245, 245, 0.42), rgba(245, 245, 245, 0.78));
  opacity: 0.55;
}

.stage-floor::before {
  left: 0;
}

.stage-floor::after {
  right: 0;
}

.stage-wall {
  bottom: 0;
  z-index: 1;
  width: 42vw;
  height: 94vh;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(245, 245, 245, 0.32), transparent 42%),
    linear-gradient(180deg, #666 0%, #323232 38%, #111 100%);
  opacity: var(--wall-opacity);
  transform-origin: bottom center;
}

.stage-wall--left {
  left: 0;
  margin-left: 0;
  clip-path: polygon(100% 12%, 100% 100%, 0 100%, 0 0);
  transform: translateZ(-150px) skewX(var(--wall-skew-left));
}

.stage-wall--right {
  right: 0;
  left: auto;
  margin-left: 0;
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  transform: translateZ(-150px) skewX(var(--wall-skew-right));
}

.stage-projector-beam {
  top: var(--projector-beam-top);
  z-index: 7;
  width: var(--projector-beam-width);
  height: var(--projector-beam-height);
  background:
    radial-gradient(ellipse at 50% 12%, rgba(245, 245, 245, 0.22), rgba(245, 245, 245, 0.08) 40%, transparent 75%),
    linear-gradient(90deg, transparent 0 11%, rgba(245, 245, 245, 0.16) 50%, transparent 89%),
    linear-gradient(180deg, rgba(117, 199, 160, 0.1), rgba(255, 246, 204, 0.16) 58%, transparent 100%);
  clip-path: polygon(16% 0, 84% 0, 52% 100%, 48% 100%);
  filter: blur(3px);
  opacity: var(--projector-beam-opacity);
  transform: translate3d(-50%, 0, 54px);
  transform-origin: 50% 100%;
  mix-blend-mode: screen;
}

.stage-projector {
  top: var(--projector-top);
  z-index: 11;
  width: clamp(150px, 15vw, 224px);
  height: clamp(98px, 10vw, 146px);
  opacity: var(--projector-opacity);
  transform:
    translate3d(-50%, var(--projector-y), 158px)
    rotateX(var(--projector-tilt))
    scale(var(--projector-scale));
  transform-origin: 50% 58%;
  transform-style: preserve-3d;
  will-change: transform, top, opacity;
}

.stage-projector__body {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 78%;
  height: 48%;
  border: 1px solid rgba(245, 245, 245, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.18), transparent 34%),
    linear-gradient(135deg, #2c3035, #111318 56%, #050506);
  box-shadow:
    inset 0 1px 0 rgba(245, 245, 245, 0.22),
    inset 0 -16px 24px rgba(0, 0, 0, 0.48),
    0 24px 42px rgba(0, 0, 0, 0.44);
  transform: translate3d(-50%, 0, 0) rotateX(-6deg);
}

.stage-projector__body::before,
.stage-projector__body::after {
  content: "";
  position: absolute;
  top: 16%;
  border-radius: 999px;
}

.stage-projector__body::before {
  left: 9%;
  width: 14px;
  height: 14px;
  background: #060607;
  box-shadow:
    0 0 0 1px rgba(245, 245, 245, 0.2),
    26px 0 0 #060607,
    26px 0 0 1px rgba(245, 245, 245, 0.2);
}

.stage-projector__body::after {
  right: 12%;
  width: 18%;
  height: 9px;
  background: repeating-linear-gradient(90deg, rgba(245, 245, 245, 0.34) 0 2px, transparent 2px 7px);
  opacity: 0.74;
}

.stage-projector__lens {
  position: absolute;
  top: -18%;
  left: 50%;
  width: 30%;
  aspect-ratio: 1;
  border: 1px solid rgba(245, 245, 245, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(245, 245, 245, 0.2), transparent 34%),
    linear-gradient(135deg, #3b414a, #343942 56%, #252b33);
  box-shadow:
    inset 0 1px 0 rgba(245, 245, 245, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}

.stage-projector__vent {
  position: absolute;
  top: 52%;
  width: 20%;
  height: 3px;
  border-radius: 999px;
  background: rgba(245, 245, 245, 0.3);
}

.stage-projector__vent:nth-child(1) {
  left: 10%;
}

.stage-projector__vent:nth-child(2) {
  left: 36%;
}

.stage-projector__vent:nth-child(3) {
  right: 10%;
}

.recent-stage.has-projector-webgl .stage-projector {
  display: none;
}

.recent-stage.has-projector-webgl .stage-projector-beam {
  z-index: 8;
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255, 252, 225, 0.72), rgba(255, 244, 190, 0.28) 26%, rgba(117, 199, 160, 0.16) 54%, transparent 80%),
    linear-gradient(90deg, transparent 0 7%, rgba(255, 246, 204, 0.32) 35%, rgba(255, 252, 225, 0.58) 50%, rgba(255, 246, 204, 0.32) 65%, transparent 93%),
    linear-gradient(180deg, rgba(255, 246, 204, 0.5), rgba(178, 221, 197, 0.2) 52%, rgba(255, 246, 204, 0.1) 88%, transparent 100%);
  filter: blur(1.8px) drop-shadow(0 0 38px rgba(255, 246, 204, 0.34)) saturate(1.12);
  opacity: var(--projector-beam-opacity);
  transform: translate3d(-50%, 0, calc(var(--project-screen-z) - 4px));
}

.recent-stage.has-projector-webgl .showcase-canvas {
  z-index: 2;
  background: transparent;
}

.recent-stage.has-projector-webgl .stage-scene {
  z-index: 1;
}

.stage-screen {
  top: var(--project-screen-top);
  z-index: 9;
  width: var(--project-screen-width);
  aspect-ratio: 1.86;
  border: 8px solid #b8b8b8;
  background: #1b1b1b;
  isolation: isolate;
  overflow: hidden;
  transform: translate3d(-50%, 0, var(--project-screen-z)) rotateX(var(--project-screen-tilt)) scaleY(var(--project-screen-depth));
  transform-origin: 50% 50%;
  box-shadow:
    0 0 34px rgba(245, 245, 245, 0.12),
    0 24px 72px rgba(0, 0, 0, 0.76);
}

.stage-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    repeating-linear-gradient(0deg, rgba(245, 245, 245, 0.035) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, rgba(245, 245, 245, 0.06), rgba(16, 16, 16, 0.28));
  mix-blend-mode: screen;
  opacity: var(--screen-overlay-opacity);
  pointer-events: none;
}

.stage-screen::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 8%, rgba(245, 245, 245, 0.14), rgba(245, 245, 245, 0.04) 34%, transparent 68%);
  mix-blend-mode: screen;
  opacity: var(--screen-glow-opacity);
  pointer-events: none;
}

.stage-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.07) brightness(1.04);
  opacity: 1;
  transition: opacity 240ms ease, transform 640ms cubic-bezier(0.11, 0.82, 0.39, 0.92);
}

.stage-screen[data-preview="mobile"] {
  width: min(440px, var(--project-screen-width));
  aspect-ratio: 1.86;
}

.stage-screen.is-portrait-image img,
.stage-screen.is-square-image img,
.stage-screen[data-preview="mobile"] img {
  object-fit: contain;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(117, 199, 160, 0.08), transparent 62%),
    #11151d;
  padding: clamp(8px, 1.2vw, 14px);
}

.stage-screen[data-preview="dashboard"] img {
  object-fit: cover;
  object-position: center top;
  padding: 0;
}

.stage-screen[data-preview="icon"] {
  width: min(440px, var(--project-screen-width));
  aspect-ratio: 1.86;
}

.stage-screen[data-preview="icon"] img {
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 40%, rgba(117, 199, 160, 0.2), transparent 58%),
    #0b1515;
  padding: clamp(34px, 6vw, 74px);
}

.stage-screen:not(.has-image) img {
  opacity: 0;
}

.stage-screen.is-loading img {
  opacity: 0.16;
  transform: scale(1.025);
}

.stage-screen__loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  background:
    radial-gradient(circle at center, rgba(117, 199, 160, 0.13), transparent 46%),
    rgba(7, 10, 12, 0.72);
  color: rgba(245, 245, 245, 0.72);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.stage-screen.is-loading .stage-screen__loader {
  opacity: 1;
}

.stage-screen__loader-icon {
  width: 68px;
  aspect-ratio: 1;
  background: url("./img/loading.svg") center / contain no-repeat;
}

.stage-screen__loader small {
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stage-screen__wire {
  position: absolute;
  inset: 34px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 10px;
  opacity: 0;
  transition: opacity 240ms ease;
}

.stage-screen:not(.has-image) .stage-screen__wire {
  opacity: 1;
}

.stage-screen__wire span {
  border: 1px solid rgba(245, 245, 245, 0.28);
  background: rgba(245, 245, 245, 0.08);
}

.stage-screen__wire span:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 1 / 2;
}

.stage-screen__wire span:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 1 / 3;
}

.stage-screen__wire span:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2 / 5;
}

.stage-screen__wire span:nth-child(4) {
  grid-column: 3 / 7;
  grid-row: 3 / 5;
}

.stage-screen__caption {
  position: absolute;
  inset: auto 16px 14px;
  z-index: 4;
  display: grid;
  gap: 3px;
  color: #f5f5f5;
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
}

.stage-screen__index,
.stage-screen__meta {
  color: #b8b8b8;
  font-size: 11px;
}

.stage-screen__title {
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.work-picker {
  --rail-card-width: min(430px, 34vw);
  --rail-padding: clamp(18px, 4vw, 56px);
  --rail-side-gutter: max(0px, calc((100vw - var(--rail-card-width)) / 2 - var(--rail-padding)));
  position: absolute;
  right: 0;
  bottom: clamp(24px, 4vh, 44px);
  left: 0;
  z-index: 7;
  display: flex;
  gap: clamp(22px, 4vw, 68px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 var(--rail-padding) 18px;
  cursor: grab;
  overscroll-behavior-x: contain;
  scroll-padding-inline: var(--rail-padding);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
  opacity: var(--rail-opacity);
  transform: translateY(var(--rail-y));
  will-change: opacity, transform;
}

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

.work-picker::before,
.work-picker::after {
  content: "";
  flex: 0 0 var(--rail-side-gutter);
}

.work-picker.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.work-picker__item {
  position: relative;
  flex: 0 0 var(--rail-card-width);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 14px;
  align-items: start;
  min-height: 118px;
  border: 1px solid rgba(245, 245, 245, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 245, 245, 0.06), rgba(245, 245, 245, 0.018)),
    rgba(13, 15, 19, 0.76);
  color: #c4cad3;
  padding: 16px;
  scroll-snap-align: center;
  text-decoration: none;
  text-transform: uppercase;
  user-select: none;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease, transform 260ms ease;
}

.work-picker__item span,
.work-picker__item small {
  font-family: "DejaVu Sans Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.work-picker__item span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(245, 245, 245, 0.16);
  border-radius: 50%;
  color: #75c7a0;
}

.work-picker__item strong {
  min-width: 0;
  color: inherit;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.work-picker__item small {
  grid-column: 2;
  color: #8f98a7;
  line-height: 1.35;
}

.work-picker__item::after {
  position: absolute;
  right: 0;
  bottom: -1px;
}

.work-picker__item:hover,
.work-picker__item:focus-visible,
.work-picker__item.is-active {
  border-color: rgba(117, 199, 160, 0.62);
  background:
    linear-gradient(135deg, rgba(117, 199, 160, 0.16), rgba(245, 245, 245, 0.025)),
    rgba(17, 21, 29, 0.88);
  color: #f5f5f5;
  opacity: 1;
  transform: translateY(-8px);
}

.work-picker__item:hover span,
.work-picker__item:focus-visible span,
.work-picker__item.is-active span {
  border-color: rgba(117, 199, 160, 0.72);
  background: rgba(117, 199, 160, 0.12);
}

.stage-case-link {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(200px, 24vh, 270px);
  z-index: 6;
  display: grid;
  justify-items: end;
  color: #f5f5f5;
  font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  letter-spacing: 0;
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
  opacity: var(--case-opacity);
  transform: translateY(var(--case-y));
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .stage-screen__loader-icon {
    background-image: url("./img/new_logo.png");
  }

  .split-letter,
  .stage-world,
  .stage-screen img,
  .work-picker__item {
    transition: none;
  }
}

@media (max-width: 1020px) {
  .portfolio-portrait {
    top: 50%;
    width: clamp(250px, 36vw, 380px);
  }

  .portfolio-portrait figcaption {
    left: max(-22vw, -210px);
  }

  .work-picker {
    --rail-card-width: min(390px, 46vw);
  }
}

@media (max-width: 760px) {
  .portfolio-editorial {
    min-height: auto;
    padding-top: 98px;
    padding-bottom: 42px;
  }

  .portfolio-editorial__type {
    padding-top: 24px;
  }

  .portfolio-editorial h1 {
    font-size: clamp(74px, 23vw, 150px);
    line-height: 0.78;
  }

  .portfolio-portrait {
    position: relative;
    top: auto;
    left: auto;
    width: min(310px, calc(100% - 64px));
    margin: 24px auto 0;
    transform: none;
  }

  .portfolio-portrait figcaption {
    position: static;
    margin-top: 16px;
    font-size: 28px;
  }

  .portfolio-editorial__statement {
    position: relative;
    bottom: auto;
    left: auto;
    width: auto;
    margin: 24px 0 0;
    text-align: left;
    transform: none;
  }

  .portfolio-recent-link {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    justify-items: start;
    margin-top: 24px;
  }

  .recent-stage {
    --world-tilt: 34deg;
    --project-screen-top: 22vh;
    --project-screen-width: min(260px, 72vw);
    --project-screen-z: 20px;
    --project-screen-tilt: 78deg;
    --project-screen-depth: 0.28;
    --floor-tilt: 60deg;
    --wall-opacity: 0.46;
    --wall-skew-left: 0deg;
    --wall-skew-right: 0deg;
    --projector-beam-opacity: 0;
    --rail-opacity: 0;
    --rail-y: 96px;
    --case-opacity: 0;
    --case-y: 44px;
    --heading-opacity: 0.82;
    --heading-y: 0px;
    --light-pool-opacity: 0;
    --screen-overlay-opacity: 0.07;
    --screen-glow-opacity: 0.03;
    --projector-top: 62vh;
    --projector-y: 0px;
    --projector-scale: 0.68;
    --projector-tilt: 72deg;
    --projector-opacity: 1;
    --projector-beam-top: 21vh;
    --projector-beam-width: min(190px, 52vw);
    --projector-beam-height: 0px;
    min-height: 430svh;
  }

  .recent-stage__heading {
    top: 92px;
    left: 18px;
    width: calc(100% - 36px);
    padding: 0;
  }

  .recent-stage__heading h2 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .stage-world {
    inset: 0;
  }

  .stage-screen {
    top: var(--project-screen-top);
    width: var(--project-screen-width);
  }

  .stage-floor {
    bottom: -7vh;
    width: 188vw;
    height: 84vh;
  }

  .stage-wall {
    width: 56vw;
    height: 90vh;
  }

  .stage-projector {
    width: clamp(128px, 40vw, 180px);
    height: clamp(88px, 28vw, 124px);
  }

  .work-picker {
    --rail-card-width: 78vw;
    --rail-padding: 0px;
    --rail-side-gutter: max(0px, calc((100vw - var(--rail-card-width)) / 2));
    right: 18px;
    bottom: 96px;
    left: 18px;
    gap: 16px;
    padding: 0 0 12px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(8, 8, 8, 0.68);
    scroll-padding-inline: 0;
    scrollbar-width: thin;
  }

  .work-picker__item {
    min-height: 112px;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 14px;
  }

  .stage-case-link {
    right: 18px;
    bottom: 26px;
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .portfolio-editorial {
    min-height: 900px;
  }

  .portfolio-editorial__count {
    top: 96px;
  }

  .portfolio-editorial__statement {
    width: calc(100% - 36px);
  }

  .work-picker__item strong {
    font-size: 24px;
  }
}

.project-showcase {
  display: grid;
  gap: clamp(28px, 5vw, 68px);
}

.project-showcase__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.project-showcase__intro p {
  margin: 0;
  max-width: 680px;
  color: #bcbcbc;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.showcase-kicker {
  margin: 0 0 12px;
  color: #a8a8a8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.showcase-title {
  margin: 0;
  color: #f5f5f5;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(44px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.92;
}

.showcase-list {
  display: grid;
  border-top: 1px solid #2d2d2d;
}

.showcase-item {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  min-height: clamp(310px, 48vw, 520px);
  border-bottom: 1px solid #2d2d2d;
  color: #f5f5f5;
  isolation: isolate;
  overflow: clip;
}

.showcase-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.035) 72px 73px);
  opacity: 0;
  transform: scaleX(0.96);
  transform-origin: left;
  transition: opacity 240ms ease, transform 420ms ease;
}

.showcase-item:hover::before,
.showcase-item:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.showcase-item__index {
  align-self: start;
  padding-top: clamp(24px, 5vw, 56px);
  color: #737373;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.showcase-item__copy {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 56px) 0;
}

.showcase-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #a8a8a8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-item__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.showcase-item__title {
  margin: 0;
  color: #f5f5f5;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(34px, 6vw, 86px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.showcase-item__title a {
  color: inherit;
  text-decoration: none;
}

.showcase-item__text {
  max-width: 620px;
  margin: 0;
  color: #c7c7c7;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
}

.showcase-item__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #555;
  border-radius: 999px;
  color: #f5f5f5;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.showcase-link:hover,
.showcase-link:focus-visible {
  border-color: #75c7a0;
  background: #75c7a0;
  color: #07110d;
  transform: translateY(-2px);
}

.showcase-media {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: relative;
  min-height: clamp(240px, 36vw, 420px);
  border: 1px solid #3a3a3a;
  border-radius: 0;
  background: #151515;
  overflow: hidden;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0);
  transition: border-color 180ms ease, filter 220ms ease, transform 220ms ease;
}

.showcase-item:hover .showcase-media,
.showcase-item:focus-within .showcase-media {
  border-color: #f5f5f5;
  filter: contrast(1.12) brightness(1.08);
}

.showcase-media::before,
.showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.showcase-media::before {
  background:
    linear-gradient(120deg, transparent 0 46%, rgba(255, 255, 255, 0.18) 50%, transparent 54%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 9px);
  opacity: 0.45;
  transform: translateX(-18%);
  transition: transform 580ms ease, opacity 240ms ease;
}

.showcase-item:hover .showcase-media::before,
.showcase-item:focus-within .showcase-media::before {
  opacity: 0.8;
  transform: translateX(18%);
}

.showcase-media::after {
  border: 1px solid rgba(255, 255, 255, 0.12);
  inset: 12px;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: contrast(1.12);
  opacity: 0.88;
}

.showcase-media__chrome {
  display: grid;
  grid-template-rows: 44px minmax(0, 1fr);
  min-height: inherit;
}

.showcase-media__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3a3a3a;
  color: #9d9d9d;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-dots {
  display: inline-flex;
  gap: 6px;
}

.showcase-dots span {
  width: 8px;
  height: 8px;
  border: 1px solid #777;
  border-radius: 50%;
}

.showcase-wire {
  display: grid;
  gap: 14px;
  align-content: center;
  min-height: 100%;
  padding: clamp(22px, 4vw, 42px);
}

.showcase-wire__row,
.showcase-wire__block {
  border: 1px solid #4a4a4a;
  background: #202020;
}

.showcase-wire__row {
  min-height: 14px;
}

.showcase-wire__row:nth-child(1) {
  width: 72%;
}

.showcase-wire__row:nth-child(2) {
  width: 48%;
}

.showcase-wire__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.showcase-wire__block {
  aspect-ratio: 1;
}

.showcase-wire__terminal {
  border: 1px solid #4a4a4a;
  background:
    linear-gradient(#262626, #181818),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 8px);
  padding: 18px;
  color: #d8d8d8;
  font-family: "DejaVu Sans Mono", monospace;
  font-size: 13px;
  line-height: 1.8;
}

.showcase-item[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
}

.showcase-item[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 620ms ease;
}

.showcase-list--compact .showcase-item {
  grid-template-columns: 64px minmax(0, 1fr) minmax(260px, 0.72fr);
  min-height: clamp(250px, 35vw, 380px);
}

.showcase-list--compact .showcase-item__title {
  font-size: clamp(30px, 4.8vw, 62px);
}

@media (max-width: 900px) {
  .project-showcase__intro,
  .showcase-item,
  .showcase-list--compact .showcase-item {
    grid-template-columns: 1fr;
  }

  .showcase-item {
    gap: 0;
    min-height: auto;
    padding: 0 0 34px;
  }

  .showcase-item__index {
    padding-top: 30px;
  }

  .showcase-item__copy {
    padding: 16px 0 24px;
  }

  .showcase-media {
    min-height: clamp(240px, 72vw, 420px);
  }
}

@media (max-width: 560px) {
  .showcase-title {
    font-size: 46px;
  }

  .showcase-item__title {
    font-size: 38px;
  }

  .showcase-item__links {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-link {
    width: 100%;
  }
}
