:root {
  --black: #050607;
  --white: #f4f6f4;
  --muted: rgba(244, 246, 244, 0.64);
  --line: rgba(244, 246, 244, 0.22);
  --font-condensed: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Courier New", Courier, monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--font-condensed);
  overflow-x: hidden;
}

body.is-preloading {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 172, 86, 0.08), transparent 22rem),
    #000;
  transition: opacity 720ms ease, visibility 720ms ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  width: min(34rem, calc(100vw - 3rem));
  text-align: center;
  text-transform: uppercase;
}

.preloader-inner p {
  margin: 0 0 1.1rem;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.4vw, 0.86rem);
  letter-spacing: 0;
  color: rgba(244, 246, 244, 0.72);
}

.preloader-inner strong {
  display: block;
  font-family: var(--font-condensed);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: 0;
}

.preloader-inner i {
  display: block;
  height: 1px;
  margin-top: clamp(1.2rem, 3vw, 2.2rem);
  background: rgba(244, 246, 244, 0.2);
  overflow: hidden;
}

.preloader-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: rgba(244, 246, 244, 0.92);
  transition: width 120ms linear;
}

.shared-video-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

.shared-video-stage .scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
  transform: translateZ(0);
  will-change: contents;
}

.shared-video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.38)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 32%, rgba(0, 0, 0, 0.34));
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto auto auto minmax(5rem, 1fr);
  align-items: center;
  min-height: 3.2rem;
  padding: 0.65rem 1.25rem;
  color: rgba(244, 246, 244, 0.88);
  font: 0.62rem var(--font-mono);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.72), rgba(5, 6, 7, 0));
}

.brand {
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 5vw, 4.8rem);
}

.audio-toggle {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 2.05rem;
  min-width: 2.05rem;
  min-height: 2.05rem;
  aspect-ratio: 1;
  margin-left: clamp(0.8rem, 1.8vw, 1.5rem);
  padding: 0;
  color: rgba(244, 246, 244, 0.72);
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 246, 244, 0.1), rgba(255, 255, 255, 0.02) 58%, rgba(0, 0, 0, 0.34)),
    rgba(7, 9, 11, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.audio-toggle.is-muted {
  opacity: 0.52;
}

.audio-toggle.needs-gesture {
  color: var(--white);
  border-color: rgba(214, 172, 86, 0.58);
  animation: audioPulse 1.5s ease-in-out infinite;
}

.audio-eq {
  display: grid;
  grid-template-columns: repeat(5, 0.16rem);
  align-items: end;
  gap: 0.12rem;
  height: 0.9rem;
}

.audio-eq i {
  display: block;
  width: 0.16rem;
  height: 0.26rem;
  border-radius: 999px;
  background: rgba(244, 246, 244, 0.7);
  box-shadow: 0 0 0.35rem rgba(244, 246, 244, 0.16);
  transform-origin: bottom;
}

.audio-toggle.is-playing .audio-eq i {
  animation: audioBar 760ms ease-in-out infinite;
  background: rgba(244, 246, 244, 0.92);
}

.audio-toggle.is-playing .audio-eq i:nth-child(2) {
  animation-delay: -180ms;
}

.audio-toggle.is-playing .audio-eq i:nth-child(3) {
  animation-delay: -360ms;
}

.audio-toggle.is-playing .audio-eq i:nth-child(4) {
  animation-delay: -90ms;
}

.audio-toggle.is-playing .audio-eq i:nth-child(5) {
  animation-delay: -270ms;
}

.audio-toggle:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

@keyframes audioBar {
  0%,
  100% {
    height: 0.22rem;
  }

  35% {
    height: 0.86rem;
  }

  65% {
    height: 0.46rem;
  }
}

@keyframes audioPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(214, 172, 86, 0);
  }

  50% {
    box-shadow: 0 0 1rem rgba(214, 172, 86, 0.26);
  }
}

.language-switch {
  display: flex;
  justify-self: end;
  gap: 0.2rem;
  margin-left: clamp(0.8rem, 2vw, 1.8rem);
}

.language-button {
  min-width: 2.2rem;
  min-height: 1.7rem;
  padding: 0 0.45rem;
  color: rgba(244, 246, 244, 0.62);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font: 0.58rem var(--font-mono);
  cursor: pointer;
}

.language-button.active,
.language-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.project-code {
  justify-self: end;
  text-align: right;
}

.admin-link {
  justify-self: end;
  min-width: 4.5rem;
  padding: 0.42rem 0.7rem;
  text-align: center;
  color: rgba(244, 246, 244, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.admin-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.scrub-scene {
  height: 420svh;
  min-height: 420svh;
  position: relative;
  z-index: 1;
  background: transparent;
}

.video-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: transparent;
}

.scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #000;
}

.video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.scene-copy {
  position: absolute;
  left: clamp(1.2rem, 5vw, 5rem);
  top: 18vh;
  z-index: 4;
  max-width: min(38rem, calc(100vw - 2.4rem));
  text-transform: uppercase;
  transform: translate3d(calc(var(--scroll-progress, 0) * -28px), calc(var(--scroll-progress, 0) * -18px), 0);
  opacity: calc(1 - var(--scroll-progress, 0) * 0.28);
}

.kicker,
.specs,
.scene-meta {
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.kicker {
  margin: 0 0 1.2rem;
  color: var(--muted);
  font-size: clamp(0.58rem, 1vw, 0.7rem);
  line-height: 1.7;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-condensed);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 11vw, 10.5rem);
}

.headline-mixer {
  position: relative;
  width: min(13ch, calc(100vw - 2.4rem));
  min-height: clamp(14rem, 26vw, 27rem);
}

.headline {
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 10ch;
  font-size: clamp(3.2rem, 8vw, 8.2rem);
  will-change: opacity, transform, filter;
}

.headline-primary {
  opacity: clamp(0, calc(1.05 - var(--scroll-progress, 0) * 1.9), 1);
  transform: translate3d(calc(var(--scroll-progress, 0) * -34px), calc(var(--scroll-progress, 0) * -18px), 0);
  filter: blur(calc(var(--scroll-progress, 0) * 3px));
}

.headline-secondary {
  opacity: clamp(0, calc((var(--scroll-progress, 0) - 0.26) * 3.2), 1);
  transform: translate3d(calc((1 - var(--scroll-progress, 0)) * 42px), calc((1 - var(--scroll-progress, 0)) * 22px), 0);
  filter: blur(calc((1 - var(--scroll-progress, 0)) * 3px));
}

.direction-cloud {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.direction-word {
  position: absolute;
  left: var(--x);
  top: var(--y);
  max-width: min(34rem, 42vw);
  color: rgba(214, 172, 86, var(--direction-opacity, 0));
  font-family: var(--font-condensed);
  font-size: clamp(2rem, 3.8vw, 4.8rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: none;
  transform:
    translate3d(
      calc(var(--direction-x, 0) * 1px),
      0,
      0
    );
  filter: blur(calc((1 - var(--direction-opacity, 0)) * 5px));
  will-change: opacity, transform, filter;
}

.direction-word-1 {
  --x: 57vw;
  --y: 20vh;
}

.direction-word-2 {
  --x: 72vw;
  --y: 32vh;
}

.direction-word-3 {
  --x: 63vw;
  --y: 45vh;
}

.direction-word-4 {
  --x: 74vw;
  --y: 58vh;
}

.direction-word-5 {
  --x: 69vw;
  --y: 72vh;
}

.direction-word-6 {
  --x: 62vw;
  --y: 54vh;
}

h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 8rem);
}

.specs {
  position: relative;
  margin: 2rem 0 0;
  padding-top: 1rem;
  color: rgba(244, 246, 244, 0.78);
  font-size: clamp(0.56rem, 1vw, 0.68rem);
  line-height: 1.8;
}

.specs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.2rem;
  height: 1px;
  background: currentColor;
}

.scene-meta {
  position: absolute;
  right: 1.25rem;
  bottom: 1.1rem;
  z-index: 4;
  display: flex;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.scroll-cue {
  position: fixed;
  left: 50%;
  bottom: 2.05rem;
  z-index: 9;
  width: 1.6rem;
  height: 2.75rem;
  transform: translateX(-50%);
  opacity: clamp(0, calc(1 - var(--scroll-progress, 0) * 7), 0.9);
  pointer-events: none;
  transition: opacity 260ms ease;
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 2.1rem;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.82));
  animation: scrollCue 2.2s ease-in-out infinite;
}

.scroll-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.62rem;
  height: 0.62rem;
  border-right: 1px solid rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.92);
  transform: translate(-50%, 0.02rem) rotate(45deg);
}

@keyframes scrollCue {
  0%, 100% {
    transform: translate3d(-50%, -0.18rem, 0);
    opacity: 0.42;
  }
  45% {
    transform: translate3d(-50%, 0.22rem, 0);
    opacity: 1;
  }
}

.progress {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 22;
  width: min(28rem, 58vw);
  height: 1px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.25);
}

.progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
}

.details {
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 6rem clamp(1.2rem, 6vw, 6rem);
  background: #080a0c;
  border-top: 1px solid var(--line);
}

.works {
  position: relative;
  z-index: 1;
  min-height: 380svh;
  --works-progress: 0;
  --works-track-x: 0px;
  --card-0: 0;
  --card-1: 0;
  --card-2: 0;
  --card-3: 0;
  --card-4: 0;
  --card-5: 0;
  padding: 0;
  background: transparent;
  border-top: 0;
  overflow: clip;
}

.works-video-stage {
  display: none;
}

.works-scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(0.95) contrast(1.04) brightness(0.98);
}

.works-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.works-content {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 100svh;
  min-height: 100svh;
  margin-top: 0;
  padding: 5.4rem clamp(1rem, 3vw, 3rem) 3rem;
  display: block;
  overflow: hidden;
}

.works-heading {
  position: absolute;
  top: clamp(6rem, 16vh, 9.5rem);
  left: clamp(1rem, 3vw, 3rem);
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: min(28rem, 36vw);
  margin: 0;
  opacity: clamp(0, calc(var(--works-progress) * 2.4), 1);
  transform: translate3d(calc((1 - var(--works-progress)) * 42px), calc((1 - var(--works-progress)) * 24px), 0);
  pointer-events: none;
}

.works-heading .kicker {
  grid-column: 1 / -1;
  margin: 0;
}

.works-heading h2 {
  max-width: none;
  text-align: left;
}

.works-heading > p:last-child {
  display: none;
}

.works-controls {
  position: absolute;
  right: clamp(1rem, 3vw, 3rem);
  top: calc(52% + clamp(7.4rem, 9.5vw, 10.4rem));
  z-index: 5;
  display: flex;
  gap: 0.45rem;
}

.works-arrow {
  display: grid;
  place-items: center;
  width: 2.45rem;
  aspect-ratio: 1;
  color: rgba(244, 246, 244, 0.74);
  background: rgba(7, 9, 11, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  font: 1.55rem/1 var(--font-condensed);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.works-arrow:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.works-arrow:active {
  transform: translateY(0) scale(0.96);
}

.project-grid {
  position: absolute;
  left: clamp(1rem, 3vw, 3rem);
  right: auto;
  top: 52%;
  display: flex;
  gap: 0.7rem;
  width: max-content;
  max-width: none;
  margin-left: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  transform: translate3d(var(--works-track-x), -50%, 0);
  transition: transform 80ms linear;
  will-change: transform;
}

.project-scroll {
  position: absolute;
  inset: 0;
  overflow: visible;
}

.project-card {
  position: relative;
  width: clamp(17rem, 24vw, 24rem);
  min-height: clamp(14rem, 20vw, 20rem);
  flex: 0 0 auto;
  overflow: hidden;
  background: rgba(10, 12, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  isolation: isolate;
  opacity: var(--card-reveal, 1);
  transform: translate3d(calc((1 - var(--card-reveal, 1)) * 64px), calc((1 - var(--card-reveal, 1)) * 28px), 0);
  transition: opacity 180ms linear, transform 180ms linear;
  will-change: opacity, transform;
}

.project-card:nth-child(1) { --card-reveal: var(--card-0); }
.project-card:nth-child(2) { --card-reveal: var(--card-1); }
.project-card:nth-child(3) { --card-reveal: var(--card-2); }
.project-card:nth-child(4) { --card-reveal: var(--card-3); }
.project-card:nth-child(5) { --card-reveal: var(--card-4); }
.project-card:nth-child(6) { --card-reveal: var(--card-5); }

.project-thumb {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.84)),
    url("assets/fall-line-house.png");
  background-size: cover;
  background-position: center;
  opacity: 0.68;
  filter: grayscale(0.18) contrast(1.08) brightness(0.68);
  transform: scale(1.04);
  transition: transform 500ms ease, filter 500ms ease;
}

.project-card:nth-child(2) .project-thumb,
.project-card:nth-child(5) .project-thumb {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.84)),
    url("assets/fall-line-house.png");
  background-position: 66% center;
}

.project-card:nth-child(3) .project-thumb,
.project-card:nth-child(6) .project-thumb {
  background-position: 30% center;
  filter: grayscale(0.65) contrast(1.2) brightness(0.62);
}

.project-card:nth-child(4) .project-thumb {
  background-position: 72% center;
}

.project-brief {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.4rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(5, 7, 9, 0), rgba(5, 7, 9, 0.92) 34%, rgba(5, 7, 9, 0.98));
  text-transform: uppercase;
}

.project-brief span,
.project-panel dl,
.project-panel .kicker {
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.project-brief span {
  display: none;
  color: var(--muted);
  font-size: 0.62rem;
}

.project-brief h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 1.9vw, 2.05rem);
  line-height: 0.98;
  font-weight: 400;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.project-brief p {
  max-width: 20rem;
  margin: 0;
  color: rgba(244, 246, 244, 0.72);
  font: 0.62rem/1.55 var(--font-mono);
}

.project-panel {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: end;
  padding: 1.2rem;
  background: rgba(4, 6, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.24);
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 260ms ease, transform 260ms ease;
}

.project-card:hover .project-panel,
.project-card:focus-within .project-panel {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover .project-thumb,
.project-card:focus-within .project-thumb {
  transform: scale(1.1);
  opacity: 0.5;
  filter: grayscale(0) contrast(1.12) brightness(0.5);
}

.project-panel h4 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.75rem, 2.6vw, 3.2rem);
  line-height: 0.95;
  font-weight: 400;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.project-panel p:not(.kicker) {
  max-width: 24rem;
  margin: 0 0 1rem;
  color: rgba(244, 246, 244, 0.82);
  font: 0.72rem/1.7 var(--font-mono);
  text-transform: uppercase;
}

.project-panel dl {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
  font-size: 0.62rem;
  text-transform: uppercase;
}

.project-panel dl div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.8rem;
}

.project-panel dt {
  color: rgba(244, 246, 244, 0.48);
}

.project-panel dd {
  margin: 0;
}

.project-open,
.media-tab,
.photo-prev,
.photo-next,
.modal-close {
  min-height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font: 0.62rem var(--font-mono);
  text-transform: uppercase;
  cursor: pointer;
}

.project-open:hover,
.media-tab:hover,
.photo-prev:hover,
.photo-next:hover,
.modal-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.project-modal {
  width: min(74rem, calc(100vw - 2rem));
  max-height: min(46rem, calc(100svh - 2rem));
  padding: 0;
  color: var(--white);
  background: #050607;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.project-modal::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 3;
  padding: 0 0.9rem;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.65fr);
  align-items: stretch;
}

.modal-media {
  position: relative;
  align-self: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(82svh, 42rem);
  background: #000;
}

.modal-video,
.modal-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal-photo {
  display: none;
}

.project-modal[data-mode="photo"] .modal-video {
  display: none;
}

.project-modal[data-mode="photo"] .modal-photo {
  display: block;
}

.contacts {
  position: relative;
  z-index: 1;
  min-height: 320svh;
  --contacts-progress: 0;
  background: transparent;
  border-top: 0;
  overflow: clip;
}

.contacts-video-stage {
  display: none;
}

.contacts-scrub-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
  filter: saturate(0.98) contrast(1.02) brightness(1.08);
}

.contacts-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: transparent;
}

.contacts-content {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100svh;
  min-height: 100svh;
  margin-top: 0;
  padding: 5.2rem clamp(1.2rem, 5vw, 5rem) 1.7rem;
}

.founder-card {
  align-self: center;
  width: min(56rem, 94vw);
  max-height: min(74svh, 47rem);
  overflow: auto;
  margin-left: clamp(0rem, 6vw, 5.5rem);
  padding: clamp(1.55rem, 2.5vw, 2.35rem);
  color: rgba(244, 246, 244, 0.9);
  background: rgba(7, 9, 11, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  transform:
    translate3d(
      calc((1 - var(--contacts-progress)) * 42px),
      calc((1 - var(--contacts-progress)) * 24px),
      0
    );
  opacity: clamp(0, calc(var(--contacts-progress) * 2.8), 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 246, 244, 0.46) transparent;
}

.founder-card::-webkit-scrollbar {
  width: 3px;
}

.founder-card::-webkit-scrollbar-track {
  background: transparent;
}

.founder-card::-webkit-scrollbar-thumb {
  background: rgba(244, 246, 244, 0.42);
  border-radius: 999px;
}

.founder-card::-webkit-scrollbar-button {
  display: none;
}

.founder-card h2 {
  max-width: 12ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.25rem, 5.7vw, 6.35rem);
  text-transform: uppercase;
}

.founder-card p:not(.kicker) {
  max-width: 51rem;
  margin: 0 0 0.9rem;
  color: rgba(244, 246, 244, 0.84);
  font: 0.9rem/1.68 var(--font-mono);
  text-transform: uppercase;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  width: min(88rem, 100%);
  margin-left: auto;
  transform: translate3d(0, calc((1 - var(--contacts-progress)) * 34px), 0);
  opacity: clamp(0, calc((var(--contacts-progress) - 0.18) * 2.4), 1);
}

.contact-strip a,
.contact-strip address {
  min-height: 6.6rem;
  margin: 0;
  padding: 1.15rem 1.25rem;
  color: rgba(244, 246, 244, 0.94);
  background: rgba(7, 9, 11, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  font: 0.94rem/1.5 var(--font-mono);
  text-transform: uppercase;
  font-style: normal;
  overflow-wrap: anywhere;
}

.contact-strip span {
  display: block;
  margin-bottom: 0.8rem;
  color: rgba(244, 246, 244, 0.58);
  font-size: 0.74rem;
}

.modal-info {
  display: grid;
  align-content: end;
  gap: 1rem;
  max-height: min(82svh, 42rem);
  overflow: auto;
  padding: 4rem 1.2rem 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 246, 244, 0.32) transparent;
}

.modal-info::-webkit-scrollbar {
  width: 3px;
}

.modal-info::-webkit-scrollbar-track {
  background: transparent;
}

.modal-info::-webkit-scrollbar-thumb {
  background: rgba(244, 246, 244, 0.32);
  border-radius: 999px;
}

.modal-info h3 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 0.9;
  font-weight: 400;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.modal-copy {
  margin: 0;
  color: rgba(244, 246, 244, 0.78);
  font: 0.72rem/1.7 var(--font-mono);
  text-transform: uppercase;
}

.modal-tabs,
.photo-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.media-tab.active {
  background: rgba(255, 255, 255, 0.2);
}

.photo-controls {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.photo-count {
  font: 0.62rem var(--font-mono);
  color: var(--muted);
}

.admin-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 78% 8%, rgba(244, 246, 244, 0.12), transparent 26rem),
    linear-gradient(180deg, rgba(5, 6, 7, 0.78), rgba(5, 6, 7, 0.98));
}

.admin-shell {
  min-height: 100svh;
  padding: 6rem clamp(1rem, 4vw, 4rem) 3rem;
}

.admin-intro {
  display: grid;
  grid-template-columns: minmax(16rem, 0.48fr) minmax(18rem, 0.72fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: 1.2rem;
}

.admin-intro h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  text-transform: uppercase;
}

.admin-intro p {
  max-width: 42rem;
  margin: 0;
  color: rgba(244, 246, 244, 0.68);
  font: 0.72rem/1.7 var(--font-mono);
  text-transform: uppercase;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.28fr) minmax(0, 0.82fr);
  gap: 0.9rem;
  align-items: start;
}

.admin-list-panel,
.admin-form {
  background: rgba(7, 9, 11, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.admin-list-panel {
  position: sticky;
  top: 4.5rem;
  padding: 0.9rem;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-project-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.admin-language-block {
  display: grid;
  gap: 0.8rem;
  margin: 0.35rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-language-block h2 {
  max-width: none;
  margin: 0;
  color: rgba(244, 246, 244, 0.72);
  font: 0.7rem var(--font-mono);
  text-transform: uppercase;
}

.admin-project-row {
  display: grid;
  grid-template-columns: 1fr 4.9rem 2.3rem;
  gap: 0.35rem;
  transition: opacity 160ms ease, transform 160ms ease;
}

.admin-project-row.dragging {
  opacity: 0.42;
  transform: scale(0.985);
}

.admin-project-row.drag-over .admin-project-item {
  background: rgba(214, 172, 86, 0.14);
  border-color: rgba(214, 172, 86, 0.48);
}

.admin-project-item,
.admin-project-move,
.admin-project-remove,
.admin-button {
  min-height: 2.45rem;
  padding: 0 0.85rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: 0.62rem var(--font-mono);
  text-transform: uppercase;
  cursor: pointer;
}

.admin-project-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  text-align: left;
}

.admin-project-order {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem;
}

.admin-project-move {
  padding: 0;
  color: rgba(244, 246, 244, 0.72);
  font-size: 0.8rem;
}

.admin-project-move:disabled {
  opacity: 0.24;
  cursor: default;
}

.admin-project-handle {
  color: rgba(244, 246, 244, 0.42);
  cursor: grab;
}

.admin-project-row:active .admin-project-handle {
  cursor: grabbing;
}

.admin-project-remove {
  padding: 0;
  font-size: 1rem;
  color: rgba(244, 246, 244, 0.62);
}

.admin-project-item span {
  color: rgba(244, 246, 244, 0.48);
}

.admin-project-row.active .admin-project-item,
.admin-button:hover,
.admin-project-item:hover,
.admin-project-move:not(:disabled):hover,
.admin-project-remove:hover {
  background: rgba(255, 255, 255, 0.17);
}

.admin-project-remove:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.admin-button.subtle {
  background: rgba(255, 255, 255, 0.03);
}

.admin-form {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1rem, 2vw, 1.4rem);
}

.admin-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(244, 246, 244, 0.6);
  font: 0.62rem var(--font-mono);
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.8rem;
  font: 0.78rem/1.5 var(--font-mono);
}

.admin-form input[type="file"] {
  padding: 0.65rem;
}

.admin-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.admin-preview {
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) 1fr;
  gap: 1rem;
  align-items: end;
  min-height: 9rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-thumb-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #000;
}

.admin-preview-title {
  display: block;
  margin-bottom: 0.6rem;
  font-size: clamp(1.7rem, 3vw, 3.2rem);
  line-height: 0.92;
  text-transform: uppercase;
  font-weight: 400;
}

.admin-preview-copy,
.admin-status {
  margin: 0;
  color: rgba(244, 246, 244, 0.68);
  font: 0.66rem/1.6 var(--font-mono);
  text-transform: uppercase;
}

.admin-file-summary {
  min-height: 2.3rem;
  padding: 0.72rem 0.8rem;
  color: rgba(244, 246, 244, 0.72);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: 0.64rem/1.45 var(--font-mono);
  text-transform: uppercase;
}

.admin-upload-progress {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.admin-progress-label {
  color: rgba(244, 246, 244, 0.64);
  font: 0.62rem var(--font-mono);
  text-transform: uppercase;
}

.admin-progress-percent {
  color: var(--white);
  font: 0.78rem var(--font-mono);
}

.admin-progress-track {
  height: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.admin-progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: rgba(244, 246, 244, 0.86);
  transition: width 160ms ease;
}

.admin-form.is-busy {
  cursor: progress;
}

.admin-form.is-busy .admin-button,
.admin-button:disabled {
  opacity: 0.48;
  cursor: progress;
}

.form-actions {
  align-items: center;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "brand brand brand"
      "nav audio lang";
    min-height: 4.85rem;
    padding: 0.58rem 0.9rem 0.68rem;
    column-gap: 0.48rem;
    row-gap: 0.42rem;
    background: linear-gradient(180deg, rgba(5, 6, 7, 0.84), rgba(5, 6, 7, 0.28) 82%, rgba(5, 6, 7, 0));
  }

  nav {
    grid-area: nav;
    justify-content: flex-start;
    align-items: center;
    gap: clamp(0.62rem, 3.8vw, 1.1rem);
    min-width: 0;
  }

  .audio-toggle {
    grid-area: audio;
    width: 2rem;
    min-width: 2rem;
    min-height: 2rem;
    margin-left: 0;
  }

  .brand {
    grid-area: brand;
    justify-self: center;
    width: 100%;
    text-align: center;
    font-size: clamp(0.58rem, 2.7vw, 0.72rem);
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: clip;
  }

  nav a,
  .admin-link {
    min-height: 1.85rem;
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.66rem, 3.15vw, 0.78rem);
    line-height: 1;
  }

  .language-switch {
    grid-area: lang;
    margin-left: 0;
    gap: 0.16rem;
  }

  .language-button {
    min-width: 1.9rem;
    min-height: 1.55rem;
    padding: 0 0.3rem;
    font-size: 0.56rem;
  }

  .project-code {
    display: none;
  }

  .admin-link {
    display: none;
  }

  .scrub-scene {
    height: 360svh;
    min-height: 360svh;
  }

  .works {
    min-height: 380svh;
    padding: 0;
  }

  .works-content {
    padding: 5rem 0.9rem 3rem;
    overflow: hidden;
  }

  .project-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }

  .project-scroll::-webkit-scrollbar {
    display: none;
  }

  .works-heading {
    top: 5rem;
    left: 2.2rem;
    right: 1.1rem;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: auto;
    margin-left: 0;
    transform: none;
  }

  .works-heading h2 {
    max-width: none;
    font-size: clamp(2.95rem, 13vw, 4.8rem);
    line-height: 0.9;
    color: rgba(244, 246, 244, 0.94);
    opacity: 1;
  }

  .works-controls {
    top: auto;
    right: 0.9rem;
    bottom: max(5.4rem, env(safe-area-inset-bottom));
    align-items: center;
    height: auto;
  }

  .works-arrow {
    width: 2.65rem;
    height: 2.65rem;
    min-height: 2.65rem;
    flex: 0 0 2.65rem;
    background: rgba(7, 9, 11, 0.32);
  }

  .project-grid {
    left: 0.9rem;
    top: 57%;
    width: max-content;
    margin-left: 0;
    transform: translate3d(0, -50%, 0);
    transition: none;
  }

  .project-card {
    width: min(78vw, 22rem);
    min-height: 25.5rem;
    background: rgba(10, 12, 14, 0.74);
    border-color: rgba(255, 255, 255, 0.38);
    scroll-snap-align: start;
  }

  .project-thumb {
    opacity: 1;
    filter: grayscale(0.02) contrast(1.18) brightness(1.12) saturate(1.18);
  }

  .project-brief span {
    font-size: 0.74rem;
  }

  .project-brief h3,
  .project-panel h4 {
    font-size: clamp(1.35rem, 5.85vw, 2.15rem);
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .project-panel p:not(.kicker) {
    font-size: 0.72rem;
    line-height: 1.42;
  }

  .project-panel dl {
    font-size: 0.68rem;
    line-height: 1.28;
  }

  .project-panel .kicker,
  .modal-info .kicker,
  .founder-card .kicker {
    font-size: 0.68rem;
  }

  .contacts {
    min-height: 300svh;
  }

  .contacts-content {
    align-content: stretch;
    padding: 4.4rem 0.75rem 1.15rem;
  }

  .founder-card {
    width: min(100%, calc(100vw - 1.5rem));
    max-height: 55svh;
    margin-left: 0;
    padding: 0.85rem;
    transform: none;
  }

  .founder-card h2 {
    font-size: clamp(2.1rem, 12vw, 3.8rem);
    margin-bottom: 0.65rem;
  }

  .founder-card p:not(.kicker) {
    font-size: 0.78rem;
    line-height: 1.62;
  }

  .contact-strip {
    grid-template-columns: 1fr;
    gap: 0.38rem;
    transform: none;
  }

  .contact-strip a,
  .contact-strip address {
    min-height: auto;
    padding: 0.64rem 0.72rem;
    font-size: 0.78rem;
    line-height: 1.38;
  }

  .contact-strip span {
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
  }

  .admin-shell {
    padding: 5rem 0.9rem 2rem;
  }

  .admin-intro,
  .admin-layout,
  .admin-two,
  .admin-preview {
    grid-template-columns: 1fr;
  }

  .admin-list-panel {
    position: static;
  }

  .project-panel {
    opacity: 1;
    transform: none;
    inset: auto 0 0;
    min-height: auto;
    max-height: none;
    overflow: visible;
    padding: 1.15rem 0.95rem 1rem;
    background: linear-gradient(180deg, rgba(4, 6, 8, 0), rgba(4, 6, 8, 0.64) 24%, rgba(4, 6, 8, 0.96));
    border: 0;
    scrollbar-width: thin;
  }

  .project-card:hover .project-thumb,
  .project-card:focus-within .project-thumb {
    transform: scale(1.04);
    opacity: 1;
    filter: grayscale(0.02) contrast(1.18) brightness(1.12) saturate(1.18);
  }

  .project-panel h4 {
    margin-bottom: 0.9rem;
    color: rgba(255, 255, 255, 0.98);
    text-shadow: none;
  }

  .project-panel p:not(.kicker),
  .project-panel dl {
    display: none;
  }

  .project-open {
    width: 100%;
    min-height: 2.9rem;
    margin-top: 0.15rem;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.34);
    font-size: 0.7rem;
  }

  .project-brief {
    display: none;
  }

  .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-media {
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: 56svh;
  }

  .modal-info {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 1rem;
  }

  .modal-info h3 {
    font-size: clamp(2.3rem, 10vw, 3.8rem);
  }

  .modal-copy {
    font-size: 0.76rem;
    line-height: 1.58;
  }

  .media-tab,
  .photo-controls .admin-button {
    min-height: 2.8rem;
    font-size: 0.7rem;
  }

  .scene-copy {
    left: 2.2rem;
    top: 16vh;
    max-width: calc(100vw - 4.4rem);
    transform: translate3d(calc(var(--scroll-progress, 0) * -10px), calc(var(--scroll-progress, 0) * -18px), 0);
  }

  .headline-mixer {
    width: calc(100vw - 4.4rem);
    min-height: clamp(11rem, 42vw, 18rem);
  }

  .headline {
    max-width: 8.8ch;
    font-size: clamp(2.65rem, 11.4vw, 4.2rem);
    line-height: 0.96;
    overflow-wrap: normal;
    word-break: normal;
  }

  .direction-word {
    max-width: 68vw;
    color: rgba(244, 246, 244, var(--direction-opacity, 0));
    font-size: clamp(1.28rem, 6.3vw, 2.15rem);
    font-weight: 400;
    line-height: 1;
    text-align: center;
  }

  .direction-word-1 {
    --x: 18vw;
    --y: 46vh;
  }

  .direction-word-2 {
    --x: 42vw;
    --y: 54vh;
  }

  .direction-word-3 {
    --x: 21vw;
    --y: 62vh;
  }

  .direction-word-4 {
    --x: 38vw;
    --y: 70vh;
  }

  .direction-word-5 {
    --x: 12vw;
    --y: 78vh;
  }

  .direction-word-6 {
    --x: 48vw;
    --y: 62vh;
  }

  h1 {
    font-size: clamp(2.65rem, 11.4vw, 4.2rem);
    line-height: 0.96;
    overflow-wrap: normal;
    word-break: normal;
  }

  .progress {
    width: calc(100vw - 1.8rem);
  }

  .scroll-cue {
    bottom: 4.1rem;
    width: 1.9rem;
    height: 3.15rem;
    opacity: clamp(0, calc(1 - var(--scroll-progress, 0) * 6), 0.98);
  }

  .scroll-cue span {
    height: 2.45rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96));
  }

  .scroll-cue span::after {
    width: 0.75rem;
    height: 0.75rem;
  }
}
