:root {
  --white: #fafafa;
  --archive: #f2f2ec;
  --black: #000000;
  --ink-92: rgba(0, 0, 0, 0.92);
  --ink-72: rgba(0, 0, 0, 0.72);
  --ink-54: rgba(0, 0, 0, 0.54);
  --ink-28: rgba(0, 0, 0, 0.28);
  --ink-12: rgba(0, 0, 0, 0.12);
  --ink-06: rgba(0, 0, 0, 0.06);
  --paper-84: rgba(250, 250, 250, 0.84);
  --paper-58: rgba(250, 250, 250, 0.58);
  --paper-18: rgba(250, 250, 250, 0.18);
  --gutter: clamp(20px, 4vw, 76px);
  --section: clamp(118px, 14vw, 230px);
  --max: 1680px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--white);
  color: var(--black);
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.35;
  letter-spacing: 0;
  cursor: none;
}

body.loader-active {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  color: #fafafa;
  pointer-events: auto;
  isolation: isolate;
}

/*
 * Loader: black bg, white logo, sinusoidal black wave rises bottom → top.
 *
 * Wave pattern directly adapted from the reference — two radial gradients,
 * half-period offset, tiled repeat-x, producing smooth sine-wave edge:
 *   Gradient A: crests  — full circles sitting AT the wave line, poke UP into white
 *   Gradient B: troughs — inverted circles sitting ABOVE the wave line, bite DOWN into black
 *
 * The container is SVG-masked so both pseudo-elements are clipped to the logo shape.
 * ::after rises by shrinking its `top` from 100% → 0% as --loader-progress increases.
 */

.brand-fill-loader {
  --loader-progress: 0%;
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(82px, 10vw, 142px);
  aspect-ratio: 1;
  /* small font-size so em units in wave background resolve to ~6-8px wave radius */
  font-size: 12px;
  -webkit-mask: url("assets/p1.svg") center / contain no-repeat;
  mask: url("assets/p1.svg") center / contain no-repeat;
}

.brand-fill-loader::before {
  position: absolute;
  inset: 0;
  content: "";
  background: #fafafa;
}

.brand-fill-loader::after {
  position: absolute;
  inset: 0;
  top: calc(100% - var(--loader-progress));
  content: "";
  /*
   * Translated from reference (r = wave radius = 0.56em, period = 2r = 1.12em):
   *
   *   A: radial-gradient(r at 50% 1.6r, #000 99%, transparent 101%)
   *      x-start: calc(50% - r)   size: 2r × 100%   repeat-x
   *      → solid filled circles whose centres are 1.6r below top of element
   *        (crests that push upward into the white area)
   *
   *   B: radial-gradient(r at 50% -0.8r, transparent 99%, #000 101%)
   *      x-start: 50%             size: 2r × 100%   repeat-x, offset-y: 0.8r
   *      → punched-out circles above top edge
   *        (troughs that bite into the black fill)
   *
   * Animation shifts both x positions by +2r per cycle.
   */
  background:
    radial-gradient(0.56em at 50% 0.9em, #000 99%, transparent 101%)
      calc(50% - 0.56em) 0 / 1.12em 100% repeat-x,
    radial-gradient(0.56em at 50% -0.45em, transparent 99%, #000 101%)
      50% 0.45em / 1.12em 100% repeat-x;
  animation: loaderWave 1.6s linear infinite;
  will-change: top, background-position;
}

.brand-fill-loader img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
}

@keyframes loaderWave {
  to {
    background-position:
      calc(50% + 0.56em) 0,
      calc(50% + 1.12em) 0.45em;
  }
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 250;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, var(--ink-06) 1px, transparent 1px) 0 0 / 25vw 100%;
}

a,
button {
  color: inherit;
  cursor: none;
}

a {
  text-decoration: none;
}

button {
  font: inherit;
}

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

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

.arabic {
  font-family: "IBM Plex Sans Arabic", Inter, sans-serif;
}

.editorial-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 300;
  display: grid;
  grid-template-columns: 52px minmax(190px, 360px) auto;
  align-items: center;
  gap: 16px;
  width: min(740px, calc(100vw - 32px));
  min-height: 54px;
  padding: 7px 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.94);
  border: 1px solid rgba(250, 250, 250, 0.16);
  border-radius: 999px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px) saturate(140%);
  transform: translateX(-50%);
  transition: color 520ms var(--ease-out), background 520ms var(--ease-out), border-color 520ms var(--ease-out), box-shadow 520ms var(--ease-out);
}

.editorial-nav.inverted-nav {
  color: var(--black);
  background: rgba(250, 250, 250, 0.9);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 18px 60px rgba(250, 250, 250, 0.08);
}

.nav-left {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-left img {
  width: 26px;
  filter: invert(1);
  transition: filter 520ms var(--ease-out);
}

.editorial-nav.inverted-nav .nav-left img {
  filter: none;
}

.nav-center {
  min-width: 0;
}

.status-window {
  position: relative;
  height: 18px;
  overflow: hidden;
}

.active-status-label,
.menu-trigger,
.menu-drawer a,
.section-label,
.museum-label,
.index-item figcaption,
.studio-meta span,
.service-row span,
.phase-copy span,
.phase-data,
.footer-grid {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.active-status-label {
  display: block;
  white-space: nowrap;
}

.nav-right {
  justify-self: end;
}

.menu-trigger {
  padding: 12px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
}

.section-panel {
  position: relative;
  padding: var(--section) var(--gutter);
}

.section-panel > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin-right: auto;
  margin-left: auto;
}

.studio,
.exhibition,
.capabilities,
.culture {
  background: var(--white);
  color: var(--black);
}

.visual-index {
  background: var(--archive);
  color: var(--black);
}

.section-panel::before {
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.12;
}

.section-label {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  margin-bottom: clamp(72px, 10vw, 160px);
}

.studio-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.7fr);
  gap: clamp(52px, 9vw, 166px);
}

.studio-meta {
  display: grid;
  align-self: start;
  border-top: 1px solid var(--ink-12);
}

.studio-meta div {
  display: grid;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid var(--ink-12);
}

.studio-meta strong {
  max-width: 310px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.studio-copy {
  display: grid;
  gap: clamp(46px, 7vw, 112px);
}

.studio-copy h2,
.section-heading h2,
.progression-heading h2,
.culture-text h2,
.split-copy h2 {
  margin: 0;
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0;
}

.copy-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 90px);
  max-width: 920px;
}

.copy-columns p,
.progression-heading p,
.phase-copy p,
.culture-text p {
  margin: 0;
  color: var(--ink-72);
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 500;
  line-height: 1.68;
}

.split-transition {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.split-pin {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.split-pin::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, rgba(250, 250, 250, 0.1) 1px, transparent 1px) 0 0 / 25vw 100%;
}

.split-panel {
  position: absolute;
  top: 50%;
  width: min(45vw, 630px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--paper-18);
  transform: translateY(-50%);
  will-change: transform;
}

.split-left {
  right: 50%;
}

.split-right {
  left: 50%;
}

.split-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy {
  position: absolute;
  top: clamp(112px, 14vh, 170px);
  left: var(--gutter);
  z-index: 4;
  display: grid;
  gap: 14px;
  width: min(460px, calc(100vw - 40px));
  color: var(--white);
}

.split-copy span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.split-copy h2 {
  font-size: clamp(26px, 3.4vw, 58px);
}

.section-heading {
  max-width: 1160px;
  margin-bottom: clamp(80px, 11vw, 180px);
}

.exhibition-grid,
.index-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 54px);
  align-items: start;
}

#exhibition .case-parallax-stack {
  display: grid;
}

#exhibition .relative {
  position: relative;
}

#exhibition .absolute {
  position: absolute;
}

#exhibition .inset-0 {
  inset: 0;
}

#exhibition .top-\[-15\%\] {
  top: -15%;
}

#exhibition .left-0 {
  left: 0;
}

#exhibition .bottom-8 {
  bottom: 32px;
}

#exhibition .left-8 {
  left: 32px;
}

#exhibition .w-full {
  width: 100%;
}

#exhibition .w-\[90vw\] {
  width: 90vw;
}

#exhibition .h-\[60vh\] {
  height: 60vh;
}

#exhibition .h-\[130\%\] {
  height: 130%;
}

#exhibition .min-h-\[80vh\] {
  min-height: 80vh;
}

#exhibition .flex {
  display: flex;
}

#exhibition .items-center {
  align-items: center;
}

#exhibition .justify-center {
  justify-content: center;
}

#exhibition .py-24 {
  padding-top: clamp(80px, 8vw, 128px);
  padding-bottom: clamp(80px, 8vw, 128px);
}

#exhibition .overflow-hidden {
  overflow: hidden;
}

#exhibition .object-cover {
  object-fit: cover;
}

#exhibition .z-10 {
  z-index: 10;
}

#exhibition .z-20 {
  z-index: 20;
}

#exhibition .pointer-events-none {
  pointer-events: none;
}

#exhibition .uppercase {
  text-transform: uppercase;
}

#exhibition .font-bold {
  font-weight: 900;
}

#exhibition .tracking-tighter {
  letter-spacing: 0;
}

#exhibition .tracking-widest {
  letter-spacing: 0.18em;
}

#exhibition .leading-tight {
  line-height: 1.1;
}

#exhibition .text-\[10px\] {
  font-size: 10px;
}

#exhibition .text-5xl {
  font-size: clamp(44px, 7vw, 80px);
}

#exhibition .text-\[\#FAFAFA\] {
  color: #fafafa;
}

#exhibition .text-\[\#0A0A0A\] {
  color: #0a0a0a;
}

#exhibition .bg-\[\#EAEAEA\] {
  background: #eaeaea;
}

#exhibition .mix-blend-difference {
  mix-blend-mode: difference;
}

#exhibition .border-b {
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

#exhibition .case-parallax-block {
  width: 100%;
  cursor: none;
}

#exhibition .case-container {
  overflow: hidden;
  will-change: transform;
}

#exhibition .case-parallax-img {
  will-change: transform;
}

#exhibition .case-title {
  max-width: min(1100px, 88vw);
  margin: 0;
  text-align: center;
  line-height: 0.88;
}

#exhibition .case-meta {
  display: grid;
  gap: 4px;
}

#exhibition .case-meta p {
  margin: 0;
}

@media (min-width: 768px) {
  #exhibition .md\:w-\[75vw\] {
    width: 75vw;
  }

  #exhibition .md\:h-\[80vh\] {
    height: 80vh;
  }

  #exhibition .md\:text-8xl {
    font-size: clamp(78px, 9vw, 150px);
  }

  #exhibition .md\:bottom-12 {
    bottom: 48px;
  }

  #exhibition .md\:left-12 {
    left: 48px;
  }
}

.work-item {
  display: grid;
  gap: 18px;
}

.work-item figure,
.index-item {
  margin: 0;
  overflow: hidden;
  background: var(--ink-06);
}

.work-item img,
.index-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.work-item:hover img,
.index-item:hover img {
  transform: scale(1.035);
}

.work-hero {
  grid-column: 1 / span 7;
}

.work-hero figure {
  aspect-ratio: 1 / 1.06;
}

.work-small {
  grid-column: 9 / span 3;
}

.work-small figure {
  aspect-ratio: 1 / 1.12;
}

.work-offset {
  margin-top: -6vw;
}

.work-tall {
  grid-column: 8 / span 4;
  margin-top: 12vw;
}

.work-tall figure {
  aspect-ratio: 3 / 4.4;
}

.work-wide {
  grid-column: 2 / span 6;
  margin-top: -3vw;
}

.work-wide figure {
  aspect-ratio: 1.35 / 1;
}

.work-narrow {
  grid-column: 10 / span 2;
  margin-top: 8vw;
}

.work-narrow figure {
  aspect-ratio: 0.86 / 1;
}

.museum-label {
  display: grid;
  gap: 6px;
  max-width: 330px;
  color: var(--ink-54);
}

.museum-label strong,
.museum-label em {
  color: var(--black);
  font-style: normal;
}

.museum-label::before {
  width: 42px;
  height: 1px;
  margin-bottom: 2px;
  content: "";
  background: var(--black);
  opacity: 0.42;
}

.index-mass {
  grid-column: 2 / span 7;
  aspect-ratio: 1.15 / 1;
}

.index-slip {
  grid-column: 10 / span 2;
  aspect-ratio: 1 / 1.25;
  margin-top: -5vw;
}

.index-tall {
  grid-column: 1 / span 4;
  aspect-ratio: 0.8 / 1;
  margin-top: 8vw;
}

.index-low {
  grid-column: 6 / span 5;
  aspect-ratio: 1.6 / 1;
  margin-top: 14vw;
}

.index-item {
  position: relative;
}

.index-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}

.visual-slideshow {
  position: relative;
  min-height: clamp(620px, 78vh, 860px);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}

.visual-slideshow::before,
.visual-slideshow::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
}

.visual-slideshow::before {
  background:
    linear-gradient(90deg, rgba(250, 250, 250, 0.13) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(0deg, rgba(250, 250, 250, 0.09) 1px, transparent 1px) 0 0 / 100% 25%;
  opacity: 0.18;
}

.visual-slideshow::after {
  background: radial-gradient(circle at 50% 50%, transparent 0, rgba(0, 0, 0, 0.38) 76%);
}

.visual-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  pointer-events: none;
  will-change: opacity, transform;
}

.visual-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.visual-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.06);
  will-change: transform;
}

.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: grid;
  gap: 0.02em;
  width: min(1180px, calc(100vw - (var(--gutter) * 2)));
  color: var(--white);
  font-size: clamp(46px, 8.8vw, 154px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.slide-text span {
  display: block;
}

.visual-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(250, 250, 250, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  backdrop-filter: blur(14px);
  transform: translateY(-50%);
  transition: background 360ms var(--ease-out), border-color 360ms var(--ease-out);
}

.visual-nav:hover {
  background: rgba(250, 250, 250, 0.12);
  border-color: rgba(250, 250, 250, 0.42);
}

.visual-nav-left {
  left: clamp(18px, 2.5vw, 44px);
}

.visual-nav-right {
  right: clamp(18px, 2.5vw, 44px);
}

.visual-counter {
  position: absolute;
  right: clamp(18px, 2.5vw, 44px);
  bottom: clamp(18px, 2.5vw, 44px);
  z-index: 5;
  color: rgba(250, 250, 250, 0.84);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.visual-index .visual-slideshow,
.visual-index .portfolio-gallery {
  display: none;
}

.visual-index {
  background: var(--black);
  color: var(--white);
}

.visual-index .section-label {
  color: rgba(250, 250, 250, 0.76);
}

.visual-depth-gallery {
  position: relative;
  width: 100%;
  min-height: min(980px, 100vh);
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
}

.visual-depth-gallery::before,
.visual-depth-gallery::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.visual-depth-gallery::before {
  background:
    linear-gradient(90deg, rgba(250, 250, 250, 0.09) 1px, transparent 1px) 0 0 / 20vw 100%,
    linear-gradient(0deg, rgba(250, 250, 250, 0.07) 1px, transparent 1px) 0 0 / 100% 25%;
  opacity: 0.18;
}

.visual-depth-gallery::after {
  background:
    radial-gradient(circle at 50% 45%, transparent 0, rgba(0, 0, 0, 0.3) 62%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 22%, transparent 72%, rgba(0, 0, 0, 0.48));
}

.visual-depth-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: none;
}

.visual-depth-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: var(--gutter);
  text-align: center;
  pointer-events: none;
  mix-blend-mode: exclusion;
}

.visual-depth-overlay h2 {
  max-width: 980px;
  margin: 0;
  color: var(--white);
  font-size: clamp(54px, 8vw, 136px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.visual-depth-overlay .italic {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
}

.visual-depth-overlay p {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(18px, 2.2vw, 30px);
  left: var(--gutter);
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.visual-depth-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  padding: clamp(40px, 6vw, 90px);
  opacity: 1;
  pointer-events: none;
  perspective: 1800px;
}

.visual-depth-gallery.is-webgl .visual-depth-fallback {
  opacity: 0;
}

.visual-depth-fallback figure {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(250, 250, 250, 0.12);
  background: var(--black);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  animation: fallbackDepth 18s linear infinite;
}

.visual-depth-fallback figure:nth-child(1) {
  width: min(36vw, 520px);
  transform: translate3d(-80%, -36%, -220px) rotateY(-22deg) rotateZ(-3deg);
  animation-delay: 0s;
}

.visual-depth-fallback figure:nth-child(2) {
  width: min(28vw, 420px);
  transform: translate3d(6%, -72%, -360px) rotateY(18deg) rotateZ(2deg);
  animation-delay: -3s;
}

.visual-depth-fallback figure:nth-child(3) {
  width: min(24vw, 360px);
  transform: translate3d(48%, -10%, -520px) rotateY(-16deg) rotateZ(4deg);
  animation-delay: -6s;
}

.visual-depth-fallback figure:nth-child(4) {
  width: min(30vw, 450px);
  transform: translate3d(-30%, 10%, -680px) rotateY(24deg) rotateZ(-2deg);
  animation-delay: -9s;
}

.visual-depth-fallback figure:nth-child(5) {
  width: min(22vw, 340px);
  transform: translate3d(18%, 28%, -840px) rotateY(-28deg) rotateZ(3deg);
  animation-delay: -12s;
}

.visual-depth-fallback figure:nth-child(6) {
  width: min(26vw, 390px);
  transform: translate3d(-62%, 18%, -1000px) rotateY(14deg) rotateZ(-5deg);
  animation-delay: -15s;
}

.visual-depth-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes fallbackDepth {
  0%,
  100% {
    opacity: 0.28;
    filter: blur(4px);
  }
  38%,
  68% {
    opacity: 0.92;
    filter: blur(0);
  }
}

.portfolio-gallery {
  position: relative;
  overflow: hidden;
  min-height: clamp(720px, 86vh, 860px);
  padding: clamp(46px, 5.6vw, 78px) clamp(18px, 3vw, 42px) 42px;
  border: 1px solid var(--ink-10);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    rgba(250, 250, 250, 0.82);
  color: var(--black);
  isolation: isolate;
}

.portfolio-gallery::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 38%, rgba(0, 0, 0, 0.075), transparent 38%);
  content: "";
}

.portfolio-gallery-header {
  position: relative;
  z-index: 6;
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.portfolio-gallery-header h2 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(50px, 5.9vw, 104px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.portfolio-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(300px, 35vw, 390px);
  margin: clamp(-126px, -9vw, -96px) auto 0;
  padding-top: 0;
  perspective: 5000px;
}

.portfolio-card {
  position: relative;
  z-index: var(--z);
  flex: 0 0 clamp(220px, 21vw, 330px);
  aspect-ratio: 16 / 10;
  margin: 0 0 0 clamp(-244px, -15vw, -176px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink-06);
  box-shadow:
    rgba(0, 0, 0, 0.01) 1px 0 1px,
    rgba(0, 0, 0, 0.04) 3px 0 3px,
    rgba(0, 0, 0, 0.1) 8px 0 8px,
    rgba(0, 0, 0, 0.26) 24px 0 26px;
  cursor: none;
  --hover-y: 0px;
  --intro-y: 0px;
  --card-scale: 1;
  transform: perspective(5000px) rotateY(-45deg) translateY(calc((var(--lift) * -0.58) + var(--hover-y) + var(--intro-y))) scale(var(--card-scale));
  transform-origin: center bottom;
  transition: filter 240ms var(--ease-out);
  will-change: transform, opacity;
}

.portfolio-card:first-child {
  margin-left: 0;
}

.portfolio-card img,
.portfolio-mobile-marquee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.portfolio-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.portfolio-card.is-muted {
  filter: saturate(0.72) brightness(0.76);
}

.portfolio-card.is-hovered {
  filter: saturate(1.06) brightness(1.03);
}

.portfolio-mobile-marquee {
  display: none;
}

@keyframes portfolioMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 16px));
  }
}

.service-list {
  border-top: 1px solid var(--ink-12);
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(260px, 0.9fr) minmax(320px, 0.86fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: center;
  width: 100%;
  min-height: 132px;
  padding: 34px 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--ink-12);
  background: transparent;
  text-align: left;
  transition: padding 620ms var(--ease-out), border-color 620ms var(--ease-out), opacity 620ms var(--ease-out);
}

.service-row::before,
.service-row::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  content: "";
  background: var(--black);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out), opacity 1.4s var(--ease-out);
}

.service-row::before {
  top: 34%;
}

.service-row::after {
  top: 66%;
}

.service-list:hover .service-row {
  opacity: 0.42;
}

.service-list .service-row:hover {
  padding-left: 18px;
  border-bottom-color: var(--black);
  opacity: 1;
}

.service-row:hover::before,
.service-row:hover::after {
  opacity: 0.18;
  transform: scaleX(1);
}

.service-row strong {
  font-size: clamp(34px, 5.2vw, 92px);
  font-weight: 900;
  line-height: 0.88;
}

.service-row em {
  display: grid;
  gap: 12px;
  max-width: 560px;
  color: var(--ink-54);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-row b {
  color: var(--black);
}

.progression {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.process-ink {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 72% 18%, rgba(250, 250, 250, 0.13), transparent 30%), var(--black);
  opacity: 0.42;
  transform: scale(1.04);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}

.progression-layout.is-backstage-active ~ * {
  pointer-events: none;
}

.progression.is-backstage-active .process-ink {
  opacity: 1;
  transform: scale(1);
}

.progression .section-label,
.progression-heading p,
.phase-copy p {
  color: var(--paper-58);
}

.progression-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) 1px minmax(0, 1.18fr);
  gap: clamp(42px, 7vw, 126px);
}

.progression-heading {
  position: sticky;
  top: 126px;
  align-self: start;
  display: grid;
  gap: 30px;
  max-width: 600px;
}

.progression-heading h2 {
  font-size: clamp(42px, 6vw, 104px);
}

.backstage-toggle {
  grid-column: 3;
  justify-self: start;
  align-self: start;
  margin-top: clamp(28px, 5vw, 58px);
  padding: clamp(18px, 2vw, 28px) 0 0;
  border: 0;
  border-top: 1px solid currentColor;
  background: transparent;
  color: var(--white);
  font-size: clamp(20px, 2.7vw, 42px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.backstage-toggle.is-visible {
  opacity: 0.72;
  transform: translateY(0);
  pointer-events: auto;
}

.backstage-toggle:hover {
  opacity: 1;
  transform: translateX(10px);
}

.progress-tree {
  position: relative;
  height: 100%;
  background: var(--paper-18);
}

.progress-line {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1px;
  height: 0;
  background: var(--white);
}

.phase-stack {
  display: grid;
  border-top: 1px solid var(--paper-18);
}

.phase {
  position: relative;
  display: grid;
  min-height: clamp(310px, 27vw, 470px);
  overflow: hidden;
  padding: clamp(42px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--paper-18);
}

.phase-copy {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(24px, 4vw, 74px);
  will-change: opacity;
}

.phase-copy h3 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(34px, 5vw, 86px);
  font-weight: 900;
  line-height: 0.88;
}

.phase-copy p {
  grid-column: 2;
  max-width: 620px;
}

.phase-video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  will-change: opacity, transform;
}

.phase-video-container::before,
.phase-video-container::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
}

.phase-video-container::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.12));
}

.phase-video-container::after {
  background: linear-gradient(90deg, rgba(250, 250, 250, 0.2) 1px, transparent 1px) 0 0 / 25% 100%, linear-gradient(0deg, rgba(250, 250, 250, 0.12) 1px, transparent 1px) 0 0 / 100% 50%;
  opacity: 0;
  transform: scaleX(0.92);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}

.progression.is-backstage-active .phase-video-container::after {
  opacity: 1;
  transform: scaleX(1);
}

.phase-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phase-data {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 16px;
  color: var(--white);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.4s var(--ease-out), transform 1.4s var(--ease-out);
}

.progression.is-backstage-active .phase-data {
  opacity: 1;
  transform: translateY(0);
}

.culture-board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(24px, 3vw, 54px);
  align-items: start;
}

.culture-image {
  margin: 0;
  overflow: hidden;
  background: var(--ink-06);
}

.culture-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-a {
  grid-column: 1 / span 4;
  aspect-ratio: 4 / 5;
  margin-top: 12vw;
}

.culture-text {
  grid-column: 5 / span 7;
  display: grid;
  gap: 30px;
}

.culture-text h2 {
  font-size: clamp(48px, 7.2vw, 122px);
}

.culture-text .arabic {
  color: var(--black);
  font-size: clamp(28px, 4vw, 66px);
  font-weight: 300;
  line-height: 1.35;
}

.image-b {
  grid-column: 8 / span 5;
  aspect-ratio: 5 / 6;
}

.image-c {
  grid-column: 5 / span 3;
  aspect-ratio: 3 / 4;
  margin-top: 7vw;
}

.site-footer {
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(154px, 14vw, 230px) var(--gutter) 34px;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  isolation: isolate;
  clip-path: polygon(0 clamp(34px, 4vw, 74px), 100% 0, 100% 100%, 0 100%);
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  left: -6vw;
  width: 112vw;
  pointer-events: none;
  content: "";
  transform: rotate(-2deg);
  transform-origin: center;
}

.site-footer::before {
  top: clamp(36px, 4.7vw, 82px);
  z-index: 1;
  height: 1px;
  background: rgba(250, 250, 250, 0.12);
}

.site-footer::after {
  top: clamp(78px, 7.2vw, 132px);
  z-index: 1;
  height: 1px;
  background: rgba(250, 250, 250, 0.055);
}

.footer-aurora {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -3;
  width: min(84vw, 1200px);
  height: 62vh;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 44%, rgba(201, 168, 74, 0.18), transparent 34%),
    radial-gradient(circle at 65% 62%, rgba(250, 250, 250, 0.08), transparent 42%);
  filter: blur(64px);
  opacity: 0.9;
  transform: translate(-50%, -50%);
  animation: footerBreath 8s ease-in-out infinite alternate;
}

.footer-grid-field {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(250, 250, 250, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(250, 250, 250, 0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

.footer-giant-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -2;
  width: min(112vw, 1550px);
  opacity: 0.045;
  mix-blend-mode: screen;
  transform: translate(-50%, -48%);
  mask-image: radial-gradient(circle at 50% 50%, black 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.22) 62%, transparent 86%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.22) 62%, transparent 86%);
  pointer-events: none;
  user-select: none;
  filter: blur(1.2px);
  will-change: transform, opacity;
}

.footer-giant-logo img {
  width: 100%;
  filter: invert(1) grayscale(1);
}

.footer-marquee {
  position: absolute;
  top: clamp(46px, 5.2vw, 88px);
  left: -5vw;
  z-index: 2;
  width: 110vw;
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(250, 250, 250, 0.08);
  border-bottom: 1px solid rgba(250, 250, 250, 0.08);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  transform: rotate(-2deg);
}

.footer-marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(28px, 4vw, 72px);
  color: rgba(250, 250, 250, 0.48);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  animation: footerMarquee 36s linear infinite;
}

.footer-main {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: clamp(24px, 3vw, 46px);
  width: min(1080px, 100%);
  margin: auto;
  text-align: center;
}

.footer-kicker {
  color: rgba(250, 250, 250, 0.48);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.footer-main h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(62px, 9.5vw, 168px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-transform: none;
  text-wrap: balance;
}

.footer-actions,
.footer-secondary {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.7vw, 24px);
}

.footer-pill {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border: 1px solid rgba(250, 250, 250, 0.12);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(250, 250, 250, 0.1), rgba(250, 250, 250, 0.025));
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 1px rgba(250, 250, 250, 0.14),
    inset 0 -1px 2px rgba(0, 0, 0, 0.28);
  color: var(--white);
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 850;
  letter-spacing: -0.02em;
  backdrop-filter: blur(16px);
  transition: border-color 360ms var(--ease-out), background 360ms var(--ease-out), box-shadow 360ms var(--ease-out);
}

.footer-pill:hover {
  border-color: rgba(250, 250, 250, 0.26);
  background: linear-gradient(145deg, rgba(250, 250, 250, 0.18), rgba(250, 250, 250, 0.04));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 1px rgba(250, 250, 250, 0.22);
}

.footer-pill-small {
  min-height: 44px;
  padding: 0 24px;
  color: rgba(250, 250, 250, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-bottom {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  width: 100%;
  color: rgba(250, 250, 250, 0.58);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-legal,
.footer-time {
  display: grid;
  gap: 8px;
}

.footer-time {
  justify-items: center;
}

.footer-top {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(250, 250, 250, 0.12);
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.08);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

@keyframes footerBreath {
  from {
    opacity: 0.54;
    transform: translate(-50%, -50%) scale(0.96);
  }
  to {
    opacity: 0.94;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes footerMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.cursor-point {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 24px;
  height: 24px;
  pointer-events: none;
  background: url("assets/p1.svg") center / contain no-repeat;
  filter: invert(1);
  mix-blend-mode: difference;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}

.cursor-point.is-case-quickview {
  background: var(--black);
  border-radius: 999px;
  filter: none;
  mix-blend-mode: normal;
}

.cursor-point span {
  position: absolute;
  top: 50%;
  left: 34px;
  display: block;
  width: max-content;
  padding: 6px 8px;
  color: var(--white);
  background: var(--black);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
  opacity: 0;
  transform: translateY(-50%) translateX(-8px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

body.is-viewing-raw .cursor-point span {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.cursor-point.is-case-quickview span {
  left: 50%;
  padding: 0;
  color: var(--white);
  background: transparent;
  font-size: 9px;
  letter-spacing: 0.18em;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.system-intro-env {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  padding: 48px var(--gutter);
  background: #000;
  color: #fafafa;
  isolation: isolate;
}

.intro-progress-marker {
  position: absolute;
  z-index: 4;
  color: rgba(250, 250, 250, 0.68);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.intro-progress-marker {
  bottom: 48px;
  left: var(--gutter);
  margin: 0;
  opacity: 0.42;
  pointer-events: none;
}

.system-intro-env::before,
.system-intro-env::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.system-intro-env::before {
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(250, 250, 250, 0.08) 1px, transparent 1px) 0 0 / 25vw 100%,
    linear-gradient(0deg, rgba(250, 250, 250, 0.035) 1px, transparent 1px) 0 0 / 100% 20vh;
}

.system-intro-env::after {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0, rgba(250, 250, 250, 0.12) 50%, transparent 100%) 50% 0 / 1px 100% no-repeat,
    linear-gradient(0deg, transparent 0, rgba(250, 250, 250, 0.1) 50%, transparent 100%) 0 50% / 100% 1px no-repeat,
    radial-gradient(circle at 50% 50%, transparent 0, rgba(0, 0, 0, 0.42) 72%);
  opacity: 0.72;
}

.system-intro-env > * {
  position: relative;
  z-index: 2;
}

.system-core-canvas {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  user-select: none;
}

#intro-query-block,
#intro-verdict-block,
#intro-logo-block {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.query-heading {
  margin: 0;
  color: #fafafa;
  font-family: Inter, sans-serif;
  font-size: clamp(42px, 5.5vw, 92px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.verdict-heading {
  margin: 0;
  color: #fafafa;
  font-family: Inter, sans-serif;
  font-size: clamp(54px, 7.5vw, 130px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

#intro-logo-block.logo-container {
  width: 100%;
}

.logo-mark {
  width: clamp(72px, 7.2vw, 112px);
  height: auto;
  filter: invert(1);
  will-change: transform, opacity, filter;
}

.subtitle-anchor {
  display: flex;
  justify-content: center;
  width: 100%;
}

.subtitle-text {
  min-height: 2.5em;
  margin: 0;
  color: #c9a84a;
  font-family: "IBM Plex Sans Arabic", Inter, sans-serif;
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  will-change: opacity;
}

.system-core-canvas .step-hide {
  display: none;
  opacity: 0;
}

#intro-query-block.is-active,
#intro-verdict-block.is-active,
#intro-logo-block.is-active {
  display: grid;
  place-items: center;
}

@media (max-width: 720px) {
  .system-intro-env {
    height: 100svh;
    min-height: 100svh;
    padding-top: 92px;
    padding-bottom: 30px;
  }

  .intro-progress-marker {
    bottom: 26px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .query-heading {
    font-size: clamp(38px, 13vw, 58px);
  }

  .verdict-heading {
    font-size: clamp(48px, 16vw, 76px);
  }

  #intro-logo-block.logo-container {
    width: 100%;
  }

  .logo-mark {
    width: clamp(62px, 18vw, 86px);
  }

  .eval-meta {
    align-items: flex-start;
    font-size: 10px;
  }
}

.vision-impact-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px) 0 0 / 25vw 100%,
    linear-gradient(0deg, rgba(0, 0, 0, 0.032) 1px, transparent 1px) 0 0 / 100% 20vh,
    #fafafa;
  color: #000;
  isolation: isolate;
}

.vision-impact-section::before,
.vision-impact-section::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.vision-impact-section::before {
  top: clamp(28px, 4vw, 56px);
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: rgba(0, 0, 0, 0.16);
}

.vision-impact-section::after {
  top: var(--gutter);
  bottom: var(--gutter);
  left: 50%;
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
}

.vision-impact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(92px, 10vw, 150px) var(--gutter);
}

.vision-arabic-echo {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(42px, 6vw, 88px);
  z-index: 2;
  max-width: 360px;
  margin: 0;
  color: rgba(0, 0, 0, 0.42);
  font-size: clamp(18px, 2vw, 34px);
  font-weight: 300;
  line-height: 1.35;
  text-align: right;
  pointer-events: none;
}

.vision-impact-heading {
  max-width: 1500px;
  margin: 0;
  color: #000;
  font-size: clamp(48px, 8vw, 132px);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: 0;
}

.vision-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.vision-letter,
.vision-space {
  display: inline-block;
}

.vision-letter {
  will-change: transform, opacity;
}

.vision-space {
  width: 0.25em;
}

@media (max-width: 720px) {
  .vision-impact-section {
    min-height: 100svh;
  }

  .vision-impact-inner {
    min-height: 100svh;
    padding: 92px var(--gutter) 72px;
  }

  .vision-arabic-echo {
    right: var(--gutter);
    bottom: 28px;
    max-width: 240px;
    font-size: 18px;
  }

  .vision-impact-heading {
    font-size: clamp(38px, 12vw, 62px);
    line-height: 0.88;
    letter-spacing: 0;
  }
}

/* Architectural archive refactor */
.editorial-nav {
  top: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: min(90vw, 980px);
  min-height: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.editorial-nav,
.nav-bar,
.menu-drawer {
  box-sizing: border-box;
}

.editorial-nav.inverted-nav {
  color: var(--black);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 12px 24px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(250, 250, 250, 0.12);
  backdrop-filter: blur(18px);
}

.editorial-nav.inverted-nav .nav-bar,
.editorial-nav.inverted-nav .menu-drawer {
  color: var(--black);
  background: rgba(250, 250, 250, 0.9);
  border-color: rgba(0, 0, 0, 0.14);
}

.editorial-nav.inverted-nav .nav-bar {
  height: 48px;
  min-height: 48px;
  padding: 12px 24px;
}

.nav-left {
  width: 24px;
  height: 24px;
  border-radius: 0;
}

.nav-left img {
  width: 24px;
}

.nav-center {
  display: flex;
  align-items: center;
  height: 18px;
  overflow: hidden;
}

.active-dot {
  display: block;
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border-radius: 999px;
  background: currentColor;
  animation: statusPulse 1.6s ease-in-out infinite;
}

@keyframes statusPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.72);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.menu-trigger {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: opacity 360ms var(--ease-out);
}

.menu-trigger:hover {
  opacity: 0.6;
}

.menu-drawer {
  display: grid;
  grid-template-columns: repeat(5, minmax(max-content, 1fr));
  align-items: center;
  width: 100%;
  height: 0;
  overflow: hidden;
  column-gap: clamp(18px, 3vw, 54px);
  padding: 0 28px;
  color: rgba(250, 250, 250, 0.7);
  background: rgba(10, 10, 10, 0.88);
  border-right: 1px solid rgba(250, 250, 250, 0.12);
  border-bottom: 1px solid rgba(250, 250, 250, 0.12);
  border-left: 1px solid rgba(250, 250, 250, 0.12);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.menu-drawer a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: color 360ms var(--ease-out), opacity 360ms var(--ease-out);
}

.menu-drawer a:hover {
  color: inherit;
  opacity: 1;
}

.hero-arrival {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  opacity: 0.62;
  transform: scale(1.2);
  will-change: transform, opacity;
}

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

.hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(250, 250, 250, 0.09) 1px, transparent 1px) 0 0 / 25vw 100%,
    radial-gradient(circle at 50% 50%, transparent 0, rgba(0, 0, 0, 0.72) 72%);
}

.hero-arrival-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(18px, 2vw, 30px);
  width: min(1480px, calc(100vw - (var(--gutter) * 2)));
  text-align: center;
}

.hero-arrival-copy h1,
.hero-subtitle-mask {
  overflow: hidden;
  margin: 0;
}

.hero-arrival-copy h1 span,
.hero-subtitle-mask span {
  display: block;
  transform: none;
  will-change: transform;
}

.hero-arrival-copy h1 {
  font-size: clamp(54px, 12vw, 190px);
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
}

.hero-subtitle-mask {
  justify-self: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-arrival .hero-arabic {
  max-width: none;
  margin: 0;
  color: rgba(250, 250, 250, 0.72);
  font-size: clamp(28px, 4vw, 66px);
  font-weight: 300;
}

#exhibition .case-parallax-stack {
  display: grid;
  gap: clamp(56px, 8vw, 140px);
  max-width: none;
}

#exhibition .case-parallax-block {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
  cursor: none;
}

#exhibition .case-container {
  position: relative;
  overflow: hidden;
  background: #eaeaea;
  will-change: transform;
}

#exhibition .case-parallax-img {
  position: absolute;
  top: -15%;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}

#exhibition .case-title {
  margin: 0;
  color: var(--black);
  font-size: clamp(42px, 8vw, 142px);
  font-weight: 900;
  line-height: 0.84;
  text-transform: uppercase;
  letter-spacing: 0;
}

#exhibition .case-meta {
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

#exhibition .case-meta p {
  margin: 0;
}

#exhibition .case-monolith {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 24px;
}

#exhibition .case-monolith .case-container {
  width: min(70vw, 1180px);
  height: 76vh;
}

#exhibition .case-monolith .case-title {
  text-align: center;
}

#exhibition .case-monolith .case-meta {
  justify-self: start;
  margin-left: 15vw;
}

#exhibition .case-offset {
  display: grid;
  grid-template-columns: 42vw minmax(0, 1fr);
  gap: clamp(36px, 6vw, 112px);
  align-items: center;
}

#exhibition .case-offset .case-container {
  width: 42vw;
  height: 72vh;
}

#exhibition .case-offset .case-copy {
  display: grid;
  gap: 28px;
  padding-right: var(--gutter);
}

#exhibition .case-offset .case-title {
  font-size: clamp(56px, 10vw, 170px);
}

#exhibition .case-void {
  min-height: 98vh;
  background: var(--black);
  color: var(--white);
}

#exhibition .case-void::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 33%;
  z-index: 0;
  width: 1px;
  content: "";
  background: rgba(250, 250, 250, 0.24);
}

#exhibition .case-void .case-container {
  position: absolute;
  top: 11vh;
  right: var(--gutter);
  width: min(56vw, 920px);
  height: 74vh;
}

#exhibition .case-void .case-title,
#exhibition .case-void .case-meta {
  position: absolute;
  left: var(--gutter);
  color: var(--white);
}

#exhibition .case-void .case-title {
  bottom: 88px;
  max-width: 320px;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1;
}

#exhibition .case-void .case-meta {
  bottom: 36px;
}

#exhibition .case-takeover {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

#exhibition .case-takeover .case-container {
  width: 100vw;
  height: 100vh;
}

#exhibition .case-takeover .case-title {
  position: absolute;
  z-index: 20;
  width: min(1180px, 88vw);
  color: var(--white);
  text-align: center;
  mix-blend-mode: difference;
}

#exhibition .case-takeover .case-meta {
  position: absolute;
  bottom: 42px;
  left: var(--gutter);
  z-index: 20;
  color: var(--white);
  mix-blend-mode: difference;
}

.service-row::before {
  top: 0;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.16) 1px, transparent 1px) 0 0 / 80px 100%,
    linear-gradient(0deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px) 0 0 / 100% 28px;
}

.service-row::after {
  top: 18px;
  right: 24px;
  left: auto;
  width: 130px;
  height: auto;
  content: "X 26.2794 / Y 50.2083";
  background: transparent;
  color: var(--ink-54);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  transform: translateY(8px);
}

.service-row:hover::before {
  opacity: 0.16;
  transform: scaleX(1);
}

.service-row:hover::after {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 1;
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.word-mask span {
  display: inline-block;
  will-change: transform;
}

@media (max-width: 1024px) {
  body::before {
    background-size: 50vw 100%;
  }

  .editorial-nav {
    width: calc(100vw - 24px);
    grid-template-columns: 44px minmax(0, 1fr) auto;
  }

  .studio-layout,
  .progression-layout {
    grid-template-columns: 1fr;
  }

  .progression-heading,
  .progress-tree {
    position: relative;
  }

  .backstage-toggle {
    grid-column: 1;
    justify-self: start;
  }

  .progress-tree {
    height: 220px;
  }

  .work-hero,
  .work-small,
  .work-tall,
  .work-wide,
  .work-narrow,
  .index-mass,
  .index-slip,
  .index-tall,
  .index-low {
    grid-column: span 6;
    margin-top: 0;
  }

  .culture-text,
  .image-a,
  .image-b,
  .image-c {
    grid-column: span 12;
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 18px;
    --section: 92px;
  }

  body {
    cursor: auto;
  }

  body::before,
  .cursor-point {
    display: none;
  }

  a,
  button {
    cursor: pointer;
  }

  .editorial-nav {
    top: 12px;
    width: calc(100vw - 18px);
  }

  .nav-bar,
  .editorial-nav.inverted-nav .nav-bar {
    height: 46px;
    min-height: 46px;
    padding: 11px 14px;
  }

  .menu-drawer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0 12px;
  }

  .menu-drawer a {
    min-height: 48px;
    justify-content: flex-start;
    font-size: 9px;
  }

  .menu-trigger,
  .active-status-label {
    font-size: 9px;
  }

  .hero-arabic {
    max-width: 100%;
    font-size: 23px;
    line-height: 1.2;
  }

  .section-label,
  .copy-columns,
  .service-row,
  .phase-copy {
    grid-template-columns: 1fr;
  }

  .section-label {
    gap: 10px;
    margin-bottom: 56px;
  }

  .studio-copy h2,
  .section-heading h2,
  .progression-heading h2,
  .culture-text h2 {
    font-size: clamp(38px, 12vw, 62px);
  }

  .exhibition-grid,
  .index-grid {
    display: block;
  }

  .visual-slideshow {
    min-height: 72vh;
  }

  .visual-depth-gallery {
    min-height: 76vh;
  }

  .visual-depth-overlay h2 {
    max-width: 420px;
    font-size: clamp(38px, 11vw, 70px);
  }

  .backstage-toggle {
    margin-top: 18px;
    font-size: clamp(18px, 7vw, 30px);
  }

  .visual-depth-overlay p {
    max-width: 320px;
    margin: 0 auto;
    font-size: 8px;
    line-height: 1.5;
  }

  .visual-depth-fallback {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 12px;
    padding: 20px;
  }

  .portfolio-gallery {
    min-height: auto;
    padding: 52px 0 34px;
  }

  .portfolio-gallery-header {
    padding: 0 18px;
  }

  .portfolio-gallery-header h2 {
    font-size: clamp(44px, 13vw, 72px);
    letter-spacing: -0.055em;
  }

  .portfolio-card-stage {
    display: none;
  }

  .portfolio-mobile-marquee {
    display: flex;
    gap: 16px;
    width: 100%;
    margin-top: 48px;
    overflow: hidden;
    padding: 12px 0 20px;
  }

  .portfolio-marquee-track {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
    animation: portfolioMarquee 34s linear infinite;
  }

  .portfolio-mobile-marquee:hover .portfolio-marquee-track {
    animation-play-state: paused;
  }

  .portfolio-mobile-marquee figure {
    flex: 0 0 260px;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--ink-06);
    box-shadow: 18px 0 26px rgba(0, 0, 0, 0.16);
  }

  .slide-text {
    width: calc(100vw - 44px);
    font-size: clamp(38px, 13vw, 74px);
    line-height: 0.9;
    letter-spacing: -0.055em;
  }

  .visual-nav {
    top: auto;
    bottom: 18px;
    width: 46px;
    height: 46px;
    font-size: 20px;
    transform: none;
  }

  .visual-counter {
    right: auto;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
  }

  .work-item,
  .index-item {
    margin: 0 0 52px;
  }

  .work-item figure,
  .index-item {
    aspect-ratio: 1 / 1.15;
  }

  .split-transition {
    min-height: 100vh;
  }

  .split-panel {
    width: 78vw;
  }

  .service-row {
    min-height: auto;
    gap: 16px;
    padding: 34px 0;
  }

  .service-row strong {
    font-size: clamp(34px, 13vw, 66px);
  }

  .phase-copy h3,
  .phase-copy p {
    grid-column: auto;
  }

  .phase {
    min-height: 340px;
  }

  .site-footer {
    padding-top: 162px;
    clip-path: polygon(0 42px, 100% 0, 100% 100%, 0 100%);
  }

  .footer-marquee {
    top: 56px;
  }

  .footer-main h2 {
    font-size: clamp(54px, 17vw, 86px);
    letter-spacing: -0.065em;
  }

  .footer-pill {
    min-height: 52px;
    width: 100%;
    max-width: 310px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: start;
    justify-items: start;
  }

  .footer-time {
    justify-items: start;
  }

  .footer-top {
    justify-self: start;
  }
}

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