@font-face {
  font-family: "PPPangram";
  src: url("../assets/fonts/PPPangramSans-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "PPPangram";
  src: url("../assets/fonts/PPPangramSans-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "PPPangram";
  src: url("../assets/fonts/PPPangramSans-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Octane";
  src: url("../assets/fonts/OctaneGX.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --red: #fa0000;
  --warm-grey: #ddd3c8;
  --mid-grey: #999999;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.24);
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "PPPangram", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

p,
h1,
h2 {
  margin: 0;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 30px;
}

body:not([data-page="home"]) .site-nav {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.48) 68%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body:not([data-page="home"]) .site-nav-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  gap: 0;
}

body:not([data-page="home"]) .site-nav-spacer,
body:not([data-page="home"]) .site-links {
  display: none !important;
}

body:not([data-page="home"]) .site-brand {
  justify-self: auto;
  margin: 0 auto;
}

.site-nav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.site-nav-spacer {
  min-height: 1px;
}

.home-nav-empty {
  min-height: 1px;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  justify-self: center;
  gap: 0.9em;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-brand span {
  color: var(--red);
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.24em;
}

.site-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.site-links a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.76;
  transition:
    opacity 0.22s ease,
    color 0.22s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-links a:hover {
  opacity: 1;
  color: var(--red);
}

body[data-page="work"] .site-links a[href="./work.html"],
body[data-page="studio"] .site-links a[href="./studio.html"],
body[data-page="people"] .site-links a[href="./people.html"],
body[data-page="contact"] .site-links a[href="./contact.html"] {
  opacity: 1;
  color: var(--red);
}

.site-links-left {
  justify-self: start;
}

.site-links-right {
  justify-self: end;
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

body:not([data-page="home"]) .menu-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  transform: translateY(-50%);
}

.menu-toggle span {
  display: block;
  width: 32px;
  height: 2px;
  margin-left: auto;
  background: currentColor;
  transition:
    transform 0.26s ease,
    opacity 0.26s ease;
}

.menu-toggle span + span {
  margin-top: 8px;
}

.menu-toggle span:nth-child(2) {
  background: var(--red);
}

.menu-panel {
  position: fixed;
  top: 70px;
  right: 24px;
  z-index: 520;
  min-width: 220px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(8, 8, 8, 0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.24s ease,
    transform 0.24s ease;
}

.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-panel-nav {
  display: grid;
  gap: 10px;
}

.menu-panel-nav a {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.22s ease;
}

.menu-panel-nav a:hover {
  color: var(--red);
}

body[data-page="home"] .site-nav {
  padding: 18px 24px;
}

body[data-page="home"] .site-nav-grid {
  grid-template-columns: 1fr auto 1fr;
}

body[data-page="home"] .site-links {
  display: none;
}

body[data-page="home"] .menu-toggle {
  display: block;
}

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px 48px;
}

.hero-shell {
  width: min(90vw, 1280px);
  margin: 0 auto;
  transform: translateY(-56px);
}

.hero-wrapper {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-col {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: min(45vw, 586px);
  cursor: pointer;
  transition:
    flex 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-wrapper:hover .hero-col {
  flex: 0.88;
}

.hero-wrapper:hover .hero-col:hover {
  flex: 1.22;
}

.hero-video,
.hero-overlay,
.hero-letter {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.06)),
    linear-gradient(to top, rgba(0, 0, 0, 0.04), transparent 42%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-letter {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2vw;
  padding-bottom: 7.5vw;
  font-family: "Octane", sans-serif;
  font-variation-settings: "wght" 10, "wdth" 0;
  font-size: clamp(220px, 25vw, 440px);
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
  text-transform: uppercase;
  transform-style: preserve-3d;
  pointer-events: none;
  text-shadow: 0 0 50px var(--shadow);
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    font-variation-settings 3s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 0.45s ease;
  will-change: transform, opacity;
}

.hero-col[data-letter="M"] .hero-letter {
  transform: translateX(0);
}

.hero-col[data-letter="O"] .hero-letter {
  transform: translateX(0);
}

.hero-col[data-letter="S"] .hero-letter {
  transform: translateX(-0.004em);
}

.hero-col[data-letter="A"] .hero-letter {
  transform: translateX(-0.008em);
}

.hero-col[data-letter="I"] .hero-letter {
  transform: translateX(0.012em);
}

.hero-col[data-letter="C"] .hero-letter {
  transform: translateX(0);
}

.hero-col:hover .hero-video,
.hero-col:hover .hero-overlay {
  opacity: 1;
}

.hero-col:hover .hero-letter {
  transform: translateX(0);
  font-variation-settings: "wght" 10, "wdth" 100;
}

.hero-col:focus-visible {
  outline: 1px solid rgba(250, 0, 0, 0.6);
  outline-offset: -1px;
}

.hero-alt .hero-shell {
  transform: translateY(-38px);
}

.hero-mobile-wordmark {
  display: none;
}

.hero-wrapper-alt {
  align-items: stretch;
}

.hero-col-alt {
  overflow: visible;
}

.hero-col-alt .hero-media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-col-alt .hero-letter-shell {
  position: absolute;
  inset: 0;
  z-index: 16;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
}

.hero-col-alt .hero-letter {
  position: relative;
  inset: auto;
  width: 145%;
  max-width: none;
  padding-top: 0;
  padding-bottom: 0;
  text-align: center;
  text-shadow:
    0 0 40px rgba(0, 0, 0, 0.34),
    0 0 1px rgba(255, 255, 255, 0.4);
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    font-variation-settings 2.6s cubic-bezier(0.165, 0.84, 0.44, 1),
    letter-spacing 0.45s ease,
    opacity 0.45s ease;
}

.hero-col-alt[data-letter="M"] .hero-letter {
  transform: translateX(-0.08em);
}

.hero-col-alt[data-letter="O"] .hero-letter {
  transform: translateX(-0.03em);
}

.hero-col-alt[data-letter="S"] .hero-letter {
  transform: translateX(0.02em);
}

.hero-col-alt[data-letter="A"] .hero-letter {
  transform: translateX(0.01em);
}

.hero-col-alt[data-letter="I"] .hero-letter {
  transform: translateX(0.04em);
}

.hero-col-alt[data-letter="C"] .hero-letter {
  transform: translateX(0.08em);
}

.hero-wrapper-alt:hover .hero-col-alt {
  flex: 0.92;
}

.hero-wrapper-alt:hover .hero-col-alt:hover {
  flex: 1.16;
}

.hero-col-alt:hover .hero-letter {
  font-variation-settings: "wght" 10, "wdth" 100;
  letter-spacing: 0.03em;
}

body.home-pangram .hero-alt .hero-shell {
  transform: translateY(-18px);
}

body.home-pangram .hero-col-alt .hero-letter,
body.home-pangram .hero-mobile-wordmark {
  font-family: "PPPangram", sans-serif;
  font-variation-settings: normal;
  font-weight: 700;
  letter-spacing: -0.05em;
  text-shadow:
    0 0 28px rgba(0, 0, 0, 0.34),
    0 0 1px rgba(255, 255, 255, 0.22);
}

body.home-pangram .hero-col-alt .hero-letter {
  width: 111%;
  font-size: clamp(190px, 21vw, 332px);
  line-height: 0.86;
  transform: translateX(var(--pangram-shift, 0));
}

body.home-pangram .hero-col-alt[data-letter="M"] .hero-letter {
  --pangram-shift: -0.025em;
}

body.home-pangram .hero-col-alt[data-letter="O"] .hero-letter {
  --pangram-shift: 0.006em;
}

body.home-pangram .hero-col-alt[data-letter="S"] .hero-letter {
  --pangram-shift: 0;
}

body.home-pangram .hero-col-alt[data-letter="A"] .hero-letter {
  --pangram-shift: -0.012em;
}

body.home-pangram .hero-col-alt[data-letter="I"] .hero-letter {
  --pangram-shift: -0.05em;
}

body.home-pangram .hero-col-alt[data-letter="C"] .hero-letter {
  --pangram-shift: -0.02em;
}

body.home-pangram .hero-col-alt:hover .hero-letter {
  transform: translateX(var(--pangram-shift, 0)) scale(1.02);
}

body.home-pangram .hero-mobile-wordmark {
  line-height: 0.84;
}

.studio-wordmark-prototype .hero-alt .hero-shell {
  transform: translateY(-26px);
}

.studio-wordmark-prototype .hero-col-alt .hero-letter,
.studio-wordmark-prototype .hero-mobile-wordmark {
  width: 138%;
  letter-spacing: 0.008em;
  text-shadow:
    0 0 32px rgba(0, 0, 0, 0.3),
    0 0 1px rgba(255, 255, 255, 0.32);
}

.studio-wordmark-prototype .hero-col-alt[data-letter="S"] .hero-letter {
  transform: translateX(-0.05em);
}

.studio-wordmark-prototype .hero-col-alt[data-letter="T"] .hero-letter {
  transform: translateX(-0.015em);
}

.studio-wordmark-prototype .hero-col-alt[data-letter="U"] .hero-letter {
  transform: translateX(0);
}

.studio-wordmark-prototype .hero-col-alt[data-letter="D"] .hero-letter {
  transform: translateX(0.014em);
}

.studio-wordmark-prototype .hero-col-alt[data-letter="I"] .hero-letter {
  transform: translateX(0.03em);
}

.studio-wordmark-prototype .hero-col-alt[data-letter="O"] .hero-letter {
  transform: translateX(0.056em);
}

.studio-wordmark-prototype .hero-wrapper-alt:hover .hero-col-alt {
  flex: 0.95;
}

.studio-wordmark-prototype .hero-wrapper-alt:hover .hero-col-alt:hover {
  flex: 1.11;
}

.studio-wordmark-prototype .hero-col-alt .hero-overlay {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.03) 34%),
    linear-gradient(to top, rgba(0, 0, 0, 0.18), transparent 36%);
}

.studio-wordmark-prototype .hero-meta {
  bottom: 168px;
}

.studio-wordmark-prototype .hero-kicker {
  font-size: 28px;
  letter-spacing: 0.14em;
}

.studio-tiles-prototype .studio-tile-hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 92px 16px 34px;
}

.studio-tiles-prototype .studio-tile-shell {
  position: relative;
  width: min(calc(100vw - 120px), 1120px);
  animation: studioTileFade 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.studio-tiles-prototype .studio-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.studio-tiles-prototype .studio-tile-cell {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #050505;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.studio-tiles-prototype .studio-tile-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), transparent 26%),
    linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 34%);
  pointer-events: none;
}

.studio-tiles-prototype .studio-tile-cell video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04) brightness(0.88);
}

.studio-tiles-prototype .studio-tile-wordmark-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  pointer-events: none;
}

.studio-tiles-prototype .studio-tile-wordmark {
  width: min(100%, 1080px);
  margin: 0;
  color: var(--white);
  font-family: "Octane", sans-serif;
  font-variation-settings: "wght" 10, "wdth" 44;
  font-size: clamp(132px, 15vw, 312px);
  font-weight: 100;
  line-height: 0.92;
  letter-spacing: 0.018em;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 30px rgba(0, 0, 0, 0.42),
    0 0 1px rgba(255, 255, 255, 0.18);
  animation: studioWordmarkIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) both;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: auto;
}

.studio-tiles-prototype .studio-tile-letter {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  transition:
    flex-grow 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    font-variation-settings 2.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    letter-spacing 0.38s ease,
    transform 0.38s ease,
    color 0.22s ease;
  will-change: transform;
}

.studio-tiles-prototype .studio-tile-wordmark:hover .studio-tile-letter {
  flex-grow: 0.92;
}

.studio-tiles-prototype .studio-tile-letter:hover {
  flex-grow: 1.18;
  font-variation-settings: "wght" 10, "wdth" 100;
  letter-spacing: 0.03em;
  transform: scale(1.015);
}

.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(1):hover) .studio-tile-cell:nth-child(1),
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(2):hover) .studio-tile-cell:nth-child(2),
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(3):hover) .studio-tile-cell:nth-child(3),
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(4):hover) .studio-tile-cell:nth-child(4),
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(5):hover) .studio-tile-cell:nth-child(5),
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(6):hover) .studio-tile-cell:nth-child(6) {
  transform: translateY(-3px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.24);
}

.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(1):hover) .studio-tile-cell:nth-child(1) video,
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(2):hover) .studio-tile-cell:nth-child(2) video,
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(3):hover) .studio-tile-cell:nth-child(3) video,
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(4):hover) .studio-tile-cell:nth-child(4) video,
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(5):hover) .studio-tile-cell:nth-child(5) video,
.studio-tiles-prototype .studio-tile-shell:has(.studio-tile-letter:nth-child(6):hover) .studio-tile-cell:nth-child(6) video {
  filter: saturate(1.02) contrast(1.06) brightness(0.96);
}

.studio-tiles-prototype .studio-tile-cell {
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.studio-tiles-prototype .studio-tile-meta {
  position: relative;
  z-index: 10;
  padding-top: 26px;
  text-align: center;
  animation: studioTileFade 1.05s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.studio-tiles-prototype .studio-tile-statement {
  width: min(calc(100vw - 48px), 860px);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 300;
  line-height: 1.58;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

@keyframes studioTileFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes studioWordmarkIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-meta {
  position: absolute;
  right: 0;
  bottom: 182px;
  left: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hero-meta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-kicker {
  color: var(--red);
  font-family: "Octane", sans-serif;
  font-variation-settings: "wght" 10, "wdth" 42;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.24);
  transition:
    color 0.22s ease,
    opacity 0.22s ease;
}

a.hero-kicker:hover {
  color: var(--white);
}

a.hero-kicker:focus-visible {
  outline: 1px solid rgba(250, 0, 0, 0.6);
  outline-offset: 6px;
}

.placeholder-section {
  border-top: 1px solid var(--line);
  padding: 120px 48px;
}

.placeholder-inner {
  max-width: 900px;
}

.placeholder-label {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 980px;
  padding: 0 48px 34px;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.placeholder-inner h2 {
  margin-bottom: 14px;
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.placeholder-inner p {
  max-width: 680px;
  color: rgba(221, 211, 200, 0.72);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.contact-preview p + p {
  margin-top: 6px;
}

.work-section {
  position: relative;
  padding: 190px 0 160px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.work-intro {
  display: grid;
  gap: 8px;
  margin-bottom: 30px;
  position: relative;
  z-index: 20;
}

.work-intro-copy {
  max-width: 16ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.work-intro-services {
  max-width: 780px;
  color: rgba(250, 0, 0, 0.9);
  font-size: clamp(12px, 0.95vw, 15px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.work-intro-accent {
  color: var(--red);
}

.work-intro-divider {
  display: inline-block;
  margin: 0 0.55em;
  color: rgba(255, 255, 255, 0.26);
}

.work-list {
  position: relative;
}

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: 12px 48px;
  cursor: pointer;
  position: relative;
}

.work-name-wrap,
.work-category-wrap {
  overflow: hidden;
  position: relative;
  z-index: 20;
}

.work-name {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1.12em 0 var(--red);
  transition:
    color 0.22s ease,
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-category {
  color: rgba(250, 0, 0, 0.62);
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateY(100%);
  transition:
    color 0.22s ease,
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.work-row:hover .work-name {
  color: rgba(255, 255, 255, 0.92);
  transform: translateY(-100%);
}

.work-row:hover .work-category {
  color: var(--red);
  transform: translateY(0);
}

.work-preview {
  position: fixed;
  inset: 0;
  z-index: 10;
  width: min(60vw, 780px);
  height: min(60vh, 520px);
  margin: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.work-preview.is-visible {
  opacity: 1;
}

.work-preview-media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #050505;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.work-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(0, 0, 0, 0.88);
}

.work-lightbox.is-open {
  display: flex;
}

.work-lightbox-inner {
  width: min(1100px, 92vw);
}

.work-lightbox-video {
  width: 100%;
  max-height: 82vh;
  background: #000;
}

.work-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: "PPPangram", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.studio-section {
  position: relative;
  padding: 150px 0 112px;
  border-top: 1px solid var(--line);
  overflow: clip;
}

.studio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(250, 0, 0, 0.1), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 16%);
  pointer-events: none;
}

.studio-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 64px), 1440px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.32fr);
  gap: 28px;
  align-items: end;
}

.studio-hero-copy {
  display: grid;
  gap: 18px;
  max-width: 430px;
  align-self: center;
}

.studio-hero-copy h2 {
  max-width: 10ch;
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.studio-hero-text {
  max-width: 35ch;
  color: rgba(221, 211, 200, 0.76);
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.82;
}

.studio-services {
  color: var(--red);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.6;
  text-transform: uppercase;
}

.studio-filmwall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.studio-media-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: #060606;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  isolation: isolate;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.studio-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.06), transparent 26%),
    linear-gradient(to top, rgba(0, 0, 0, 0.54), transparent 34%);
  pointer-events: none;
  z-index: 2;
}

.studio-media-card:hover {
  transform: translateY(-8px);
  border-color: rgba(250, 0, 0, 0.16);
  box-shadow: 0 30px 78px rgba(0, 0, 0, 0.24);
}

.studio-video-featured,
.studio-media-card video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.05) brightness(0.86);
  transition:
    transform 0.7s ease,
    filter 0.7s ease;
}

.studio-media-card:hover video {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.06) brightness(0.94);
}

.studio-media-card-featured {
  aspect-ratio: 16 / 10;
}

.studio-media-card-1 {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  margin-top: 46px;
}

.studio-media-card-2 {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.studio-media-card-3 {
  grid-column: span 7;
  aspect-ratio: 16 / 9;
}

.studio-media-card-4 {
  grid-column: span 5;
  aspect-ratio: 4 / 3;
  margin-top: -34px;
}

.studio-media-card-5 {
  grid-column: span 12;
  aspect-ratio: 2.2 / 1;
}

.studio-card-tag,
.studio-card-caption {
  position: absolute;
  z-index: 3;
}

.studio-card-tag {
  top: 18px;
  left: 18px;
  margin: 0;
  color: var(--red);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.studio-card-caption {
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 6px;
}

.studio-card-caption p,
.studio-card-caption span {
  margin: 0;
}

.studio-card-caption p {
  max-width: 20ch;
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.studio-card-caption span {
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-transform: uppercase;
}

.studio-card-caption-subtle p {
  max-width: 28ch;
  font-size: 18px;
  line-height: 1.08;
}

.cube-scroll {
  --cube-size: min(46vw, 560px);
  --cube-half: calc(var(--cube-size) / 2);
  --cube-pop: 0px;
  position: relative;
  min-height: 330svh;
  overflow: clip;
  background:
    radial-gradient(circle at 24% 22%, rgba(0, 136, 255, 0.18), transparent 30%),
    radial-gradient(circle at 72% 50%, rgba(250, 0, 0, 0.22), transparent 36%),
    linear-gradient(180deg, #030303 0%, #000 45%, #050505 100%);
}

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

.cube-scroll::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 54% 46%, #000 0%, transparent 68%);
  opacity: 0.62;
}

.cube-scroll::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 28%, transparent 68%, rgba(0, 0, 0, 0.82)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 24%, transparent 70%, rgba(0, 0, 0, 0.92));
}

.cube-stage {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 36px;
  align-items: center;
  min-height: 100svh;
  padding: 116px 48px 52px;
  perspective: 1400px;
}

.cube-copy {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 18px;
  max-width: 440px;
  transform: translateY(calc(var(--cube-progress, 0) * -26px));
}

.cube-copy h1 {
  max-width: 9ch;
  font-size: clamp(54px, 7.7vw, 128px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.cube-copy p:not(.placeholder-label) {
  max-width: 29ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  line-height: 1.75;
}

.cube-scene {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  min-height: 70svh;
  transform-style: preserve-3d;
}

.cube-scene::before {
  content: "";
  position: absolute;
  width: min(58vw, 760px);
  height: min(58vw, 760px);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(250, 0, 0, 0.22), transparent 62%),
    radial-gradient(circle at 32% 30%, rgba(0, 170, 255, 0.2), transparent 40%);
  filter: blur(38px);
  opacity: calc(0.42 + (var(--cube-progress, 0) * 0.36));
  transform: translate3d(7%, -1%, -220px) scale(calc(0.9 + (var(--cube-progress, 0) * 0.2)));
}

.mosaic-cube {
  position: relative;
  width: var(--cube-size);
  height: var(--cube-size);
  transform-style: preserve-3d;
  transform:
    rotateX(-12deg)
    rotateY(-32deg)
    rotateZ(0deg)
    scale(0.92);
  transition: transform 0.08s linear;
  will-change: transform;
}

.mosaic-cube::before {
  content: "";
  position: absolute;
  inset: 9%;
  transform: translateZ(calc(var(--cube-half) * -1.18));
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.92);
  filter: blur(48px);
}

.cube-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: #050505;
  backface-visibility: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 28px 80px rgba(0, 0, 0, 0.48);
}

.cube-face video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.15) brightness(0.86);
  transform: scale(1.08);
}

.cube-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 32%, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.5));
  mix-blend-mode: screen;
  opacity: 0.34;
}

.cube-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 32.8%, rgba(255, 255, 255, 0.12) 33%, transparent 33.4%, transparent 66.2%, rgba(255, 255, 255, 0.12) 66.5%, transparent 66.9%),
    linear-gradient(180deg, transparent 32.8%, rgba(255, 255, 255, 0.12) 33%, transparent 33.4%, transparent 66.2%, rgba(255, 255, 255, 0.12) 66.5%, transparent 66.9%);
  opacity: calc(0.32 + (var(--cube-progress, 0) * 0.34));
  pointer-events: none;
}

.cube-letter {
  position: absolute;
  right: 7%;
  bottom: 5%;
  z-index: 4;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Octane", sans-serif;
  font-variation-settings: "wght" 10, "wdth" 52;
  font-size: clamp(92px, 11vw, 170px);
  line-height: 0.78;
  text-shadow: 0 0 32px rgba(0, 0, 0, 0.52);
  pointer-events: none;
}

.cube-face-front {
  transform: rotateY(0deg) translateZ(calc(var(--cube-half) + var(--cube-pop)));
}

.cube-face-back {
  transform: rotateY(180deg) translateZ(calc(var(--cube-half) + var(--cube-pop)));
}

.cube-face-right {
  transform: rotateY(90deg) translateZ(calc(var(--cube-half) + var(--cube-pop)));
}

.cube-face-left {
  transform: rotateY(-90deg) translateZ(calc(var(--cube-half) + var(--cube-pop)));
}

.cube-face-top {
  transform: rotateX(90deg) translateZ(calc(var(--cube-half) + var(--cube-pop)));
}

.cube-face-bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--cube-half) + var(--cube-pop)));
}

.cube-status {
  position: absolute;
  right: 48px;
  bottom: 38px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.cube-status-line {
  position: relative;
  width: 112px;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.cube-status-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: calc(var(--cube-progress, 0) * 100%);
  height: 3px;
  background: var(--red);
}

.cube-outro {
  min-height: 78svh;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 120px 48px;
  background:
    radial-gradient(circle at 82% 20%, rgba(250, 0, 0, 0.12), transparent 30%),
    #000;
}

.cube-outro h2 {
  max-width: 13ch;
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.cube-outro a {
  width: fit-content;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.board-studio {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 1.5fr);
  gap: 34px;
  align-items: center;
  padding: 116px 34px 42px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 46%, rgba(250, 0, 0, 0.1), transparent 32%),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.05), transparent 24%),
    #000;
}

.board-studio::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 32%, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.board-copy {
  position: relative;
  z-index: 30;
  max-width: 400px;
}

.board-copy h1 {
  margin: 0;
  max-width: 9ch;
  color: var(--white);
  font-size: clamp(46px, 5.6vw, 96px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: uppercase;
}

.board-copy p:not(.placeholder-label) {
  max-width: 30ch;
  margin: 18px 0 0;
  color: rgba(221, 211, 200, 0.72);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.board-surface {
  position: relative;
  z-index: 10;
  width: min(68vw, 980px);
  aspect-ratio: 1.42;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 26px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 64% 30%, rgba(255, 255, 255, 0.055), transparent 28%),
    linear-gradient(135deg, #131313, #050505 72%);
  background-size:
    54px 54px,
    54px 54px,
    auto,
    auto;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 42px 100px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.board-surface::before {
  content: "MOSAIC / STUDIO BOARD";
  position: absolute;
  right: 24px;
  bottom: 18px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.board-measure {
  position: absolute;
  z-index: 3;
  opacity: 0.28;
  pointer-events: none;
}

.board-measure-top {
  top: 20px;
  right: 24px;
  left: 24px;
  height: 1px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0 1px, transparent 1px 18px),
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
}

.board-measure-left {
  top: 24px;
  bottom: 24px;
  left: 22px;
  width: 1px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.32), transparent);
}

.board-redline {
  position: absolute;
  top: 11%;
  bottom: 11%;
  left: 51%;
  z-index: 8;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(250, 0, 0, 0.65), transparent);
  opacity: 0.7;
  animation: boardRedline 9s ease-in-out infinite alternate;
}

.board-tile {
  position: absolute;
  z-index: 12;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #040404;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  animation: boardTileDrift 10s ease-in-out infinite alternate;
  transition:
    border-color 0.28s ease,
    filter 0.28s ease,
    transform 0.35s ease;
}

.board-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.16), transparent 23%, transparent 74%, rgba(255, 255, 255, 0.035)),
    linear-gradient(to top, rgba(0, 0, 0, 0.24), transparent 40%);
  pointer-events: none;
}

.board-tile:hover {
  z-index: 20;
  border-color: rgba(250, 0, 0, 0.24);
  filter: brightness(1.08);
}

.board-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.06) brightness(0.82);
  transform: scale(1.06);
}

.board-tile-a {
  top: 13%;
  left: 12%;
  width: 42%;
  aspect-ratio: 16 / 9;
  transform: rotate(-1deg);
}

.board-tile-b {
  top: 10%;
  right: 11%;
  width: 24%;
  aspect-ratio: 4 / 5;
  transform: rotate(2.4deg);
  animation-delay: -2.2s;
}

.board-tile-c {
  top: 42%;
  left: 6%;
  width: 30%;
  aspect-ratio: 1;
  transform: rotate(2deg);
  animation-delay: -4.4s;
}

.board-tile-d {
  right: 20%;
  bottom: 16%;
  width: 44%;
  aspect-ratio: 16 / 10;
  transform: rotate(-2deg);
  animation-delay: -6.1s;
}

.board-tile-e {
  right: 6%;
  bottom: 35%;
  width: 22%;
  aspect-ratio: 9 / 16;
  transform: rotate(3deg);
  animation-delay: -7.6s;
}

.board-tile-f {
  bottom: 8%;
  left: 31%;
  width: 22%;
  aspect-ratio: 4 / 3;
  transform: rotate(1.5deg);
  animation-delay: -8.8s;
}

@keyframes boardTileDrift {
  from {
    margin-top: -5px;
    margin-left: -4px;
  }

  to {
    margin-top: 8px;
    margin-left: 5px;
  }
}

@keyframes boardRedline {
  from {
    transform: translateX(-48px);
    opacity: 0.32;
  }

  to {
    transform: translateX(42px);
    opacity: 0.72;
  }
}

.device-studio {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: 28px;
  align-items: center;
  padding: 120px 36px 56px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 50%, rgba(250, 0, 0, 0.1), transparent 30%),
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.08), transparent 24%),
    #000;
}

.device-studio::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 34%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 28%, rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.device-studio-copy {
  position: relative;
  z-index: 20;
  max-width: 430px;
}

.device-studio-copy h1 {
  margin: 0;
  max-width: 10ch;
  color: var(--white);
  font-size: clamp(46px, 5.8vw, 98px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.92;
  text-transform: uppercase;
}

.device-studio-copy p:not(.placeholder-label) {
  max-width: 32ch;
  margin: 18px 0 0;
  color: rgba(221, 211, 200, 0.72);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.device-stage {
  position: relative;
  z-index: 10;
  width: min(67vw, 980px);
  min-height: min(64vw, 720px);
  justify-self: end;
  perspective: 1200px;
}

.device-frame {
  position: absolute;
  border-radius: 28px;
  transform-style: preserve-3d;
  animation: deviceDrift 9s ease-in-out infinite alternate;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.38));
}

.device-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 10px solid rgba(9, 9, 9, 0.96);
  border-radius: inherit;
  background: #050505;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 34px rgba(250, 0, 0, 0.06);
}

.device-bezel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.05)),
    linear-gradient(to top, rgba(0, 0, 0, 0.28), transparent 36%);
  pointer-events: none;
}

.device-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.08) brightness(0.82);
  transform: scale(1.08);
  transition:
    opacity 0.45s ease,
    transform 0.8s ease;
}

.device-video.is-switching {
  opacity: 0.14;
  transform: scale(1.14);
}

.device-frame-main {
  top: 12%;
  left: 16%;
  width: 58%;
  aspect-ratio: 16 / 10;
  border-radius: 30px;
  transform: rotateX(2deg) rotateY(-8deg) rotateZ(-2deg);
}

.device-frame-phone {
  top: 7%;
  right: 5%;
  width: 18%;
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  animation-delay: -2.8s;
  transform: rotateX(4deg) rotateY(12deg) rotateZ(4deg);
}

.device-frame-tablet {
  bottom: 15%;
  left: 3%;
  width: 28%;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  animation-delay: -4.1s;
  transform: rotateX(4deg) rotateY(-14deg) rotateZ(5deg);
}

.device-frame-laptop {
  right: 14%;
  bottom: 9%;
  width: 44%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  animation-delay: -6.3s;
  transform: rotateX(-1deg) rotateY(7deg) rotateZ(2deg);
}

.device-frame-small {
  top: 49%;
  right: 1%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 26px;
  animation-delay: -7.4s;
  transform: rotateX(7deg) rotateY(10deg) rotateZ(-5deg);
}

@keyframes deviceDrift {
  from {
    margin-top: -8px;
    margin-left: -4px;
  }

  to {
    margin-top: 10px;
    margin-left: 6px;
  }
}

.team-section {
  position: relative;
  padding: 0;
  border-top: 1px solid var(--line);
  overflow: clip;
}

.team-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 38%, rgba(250, 0, 0, 0.12), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent 18%);
  pointer-events: none;
}

.team-stage {
  position: sticky;
  top: 98px;
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.5fr);
  gap: 44px;
  align-items: center;
  padding: 110px 34px 32px;
}

.team-intro {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  max-width: 420px;
  padding-bottom: 0;
}

.team-intro h2 {
  max-width: 11ch;
}

.team-intro-accent {
  color: var(--red);
}

.team-intro-copy {
  max-width: 34ch;
  color: rgba(221, 211, 200, 0.76);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.team-intro-note {
  margin: 4px 0 0;
  color: rgba(221, 211, 200, 0.42);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.team-rail-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding-bottom: 18px;
}

.team-rail {
  display: flex;
  gap: 24px;
  align-items: stretch;
  will-change: transform;
}

.team-panel {
  position: relative;
  flex: 0 0 clamp(320px, 25vw, 360px);
  min-width: 0;
  min-height: min(74vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.008)),
    rgba(9, 9, 9, 0.76);
  cursor: pointer;
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
}

.team-panel:hover {
  transform: translateY(-10px);
  border-color: rgba(250, 0, 0, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(12, 12, 12, 0.88);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}

.team-portrait {
  aspect-ratio: 4 / 5;
  min-height: 0;
  position: relative;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(160deg, #1a1a1a, #050505 70%);
  filter: grayscale(0.15);
  overflow: hidden;
  transition:
    filter 0.28s ease,
    transform 0.45s ease;
}

.team-panel:hover .team-portrait {
  filter: grayscale(0);
  transform: scale(1.03);
}

.team-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.26), transparent 28%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04), transparent 24%);
  pointer-events: none;
}

.team-portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.03) brightness(0.9);
}

.team-portrait-a {
  background: #0e0e0e;
}

.team-portrait-a .team-portrait-image {
  object-position: 58% 34%;
}

.team-lightbox-portrait.team-portrait-a .team-lightbox-image {
  object-position: 55% 28%;
}

.team-portrait-b {
  background: #111;
}

.team-portrait-b .team-portrait-image {
  object-position: 52% 34%;
}

.team-lightbox-portrait.team-portrait-b .team-lightbox-image {
  object-position: 56% 34%;
}

.team-portrait-c {
  background: #111;
}

.team-portrait-c .team-portrait-image {
  object-position: 50% 24%;
}

.team-lightbox-portrait.team-portrait-c .team-lightbox-image {
  object-position: 50% 24%;
}

.team-portrait-d {
  background: #111;
}

.team-portrait-d .team-portrait-image {
  object-position: 50% 22%;
}

.team-lightbox-portrait.team-portrait-d .team-lightbox-image {
  object-position: 50% 20%;
}

.team-portrait-e {
  background: #111;
}

.team-portrait-e .team-portrait-image {
  object-position: 50% 18%;
}

.team-lightbox-portrait.team-portrait-e .team-lightbox-image {
  object-position: 50% 18%;
}

.team-panel-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  align-content: start;
  padding: 2px 6px 6px;
}

.team-panel-index {
  margin: 0;
  color: rgba(221, 211, 200, 0.42);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-panel-name {
  position: relative;
  margin: 0;
  display: block;
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 0 0 rgba(250, 0, 0, 0);
  transition:
    color 0.24s ease,
    text-shadow 0.24s ease;
  text-wrap: balance;
}

.team-panel:hover .team-panel-name {
  color: var(--red);
  text-shadow: 0 0 16px rgba(250, 0, 0, 0.12);
}

.team-panel-role {
  margin: 0;
  color: var(--red);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.team-panel-cta {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.team-lightbox {
  position: fixed;
  inset: 0;
  z-index: 820;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.92);
}

.team-lightbox.is-open {
  display: flex;
}

.team-lightbox-inner {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(360px, 1fr);
  gap: 34px;
  width: min(1120px, 92vw);
  padding: 28px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(250, 0, 0, 0.08), transparent 36%),
    rgba(10, 10, 10, 0.96);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45);
}

.team-lightbox-portrait {
  aspect-ratio: 3 / 4;
  position: relative;
  border-radius: 22px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(160deg, #1a1a1a, #050505 70%);
  overflow: hidden;
}

.team-lightbox-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02) brightness(0.94);
}

.team-lightbox-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 16px 8px 12px 0;
}

.team-lightbox-role {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-lightbox-name {
  margin: 0;
  font-size: clamp(44px, 5vw, 78px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.team-lightbox-bio {
  margin: 0;
  color: rgba(221, 211, 200, 0.82);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
}

.team-lightbox-note {
  margin: 6px 0 0;
  color: rgba(221, 211, 200, 0.46);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.6;
  text-transform: uppercase;
}

.team-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: "PPPangram", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-section {
  padding: 168px 48px 56px;
  border-top: 1px solid var(--line);
}

.contact-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: border-color 0.22s ease;
}

.contact-overflow {
  overflow: hidden;
}

.contact-heading {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(52px, 8vw, 118px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 1.12em 0 var(--red);
  transition:
    color 0.22s ease,
    transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-detail {
  margin: 0;
  color: var(--red);
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-row:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-row:hover .contact-heading {
  color: rgba(255, 255, 255, 0.88);
  transform: translateY(-100%);
}

.contact-row:hover .contact-detail {
  transform: translateY(0);
}

.contact-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
}

.contact-footer-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.8;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .site-nav {
    padding: 24px 22px;
  }

  .site-nav-grid {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    gap: 12px;
  }

  body:not([data-page="home"]) .site-nav {
    padding: 16px 18px 0;
  }

  body:not([data-page="home"]) .site-nav-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  body:not([data-page="home"]) .site-nav-spacer {
    display: none;
  }

  body:not([data-page="home"]) .site-brand {
    justify-self: start;
    align-self: center;
    gap: 0.75em;
    font-size: 18px;
    letter-spacing: 0.1em;
  }

  body:not([data-page="home"]) .site-brand span {
    font-size: 0.42em;
    letter-spacing: 0.18em;
  }

  body:not([data-page="home"]) .menu-toggle {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    width: 56px;
    height: 56px;
    transform: none;
  }

  body:not([data-page="home"]) .menu-toggle span {
    width: 32px;
  }

  body[data-page="home"] .site-nav {
    padding: 18px 18px 0;
  }

  body[data-page="home"] .site-nav-grid {
    grid-template-columns: 1fr auto;
    justify-items: stretch;
    gap: 12px;
  }

  body[data-page="home"] .site-nav-spacer {
    display: none;
  }

  body[data-page="home"] .home-nav-empty {
    display: none;
  }

  body[data-page="home"] .menu-toggle {
    justify-self: end;
    width: 60px;
    height: 60px;
  }

  body[data-page="home"] .menu-toggle span {
    width: 34px;
  }

  .menu-panel {
    top: 62px;
    right: 18px;
    left: 18px;
    min-width: 0;
  }

  body:not([data-page="home"]) .menu-panel {
    right: 18px;
    left: auto;
    width: min(250px, calc(100vw - 36px));
    padding: 16px 18px 18px;
  }

  body:not([data-page="home"]) .menu-panel-nav {
    justify-items: end;
  }

  body:not([data-page="home"]) .menu-panel-nav a {
    text-align: right;
  }

  .site-brand {
    order: -1;
    gap: 0.6em;
    font-size: 20px;
  }

  .site-links {
    gap: 20px;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 84px 0 0;
  }

  .hero-shell {
    width: 100%;
    transform: none;
  }

  .hero-wrapper {
    flex-direction: column;
  }

  .hero-col {
    min-height: 14.5svh;
  }

  .hero-wrapper:hover .hero-col,
  .hero-wrapper:hover .hero-col:hover {
    flex: 1;
  }

  .hero-letter {
    justify-content: flex-start;
    padding-left: 20px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: clamp(116px, 30vw, 220px);
  }

  .hero-meta {
    position: relative;
    bottom: auto;
    padding: 24px 20px 28px;
  }

  body[data-page="home"] .hero-meta {
    padding: 8px 20px 16px;
  }

  .studio-wordmark-prototype .hero-meta {
    padding: 10px 20px 18px;
  }

  .studio-tiles-prototype .studio-tile-hero {
    padding: 92px 16px 34px;
  }

  .studio-tiles-prototype .studio-tile-shell {
    width: min(calc(100vw - 126px), 292px);
  }

  .studio-tiles-prototype .studio-tile-grid {
    gap: 10px;
  }

  .studio-tiles-prototype .studio-tile-cell {
    border-radius: 12px;
  }

  .studio-tiles-prototype .studio-tile-wordmark {
    width: min(calc(100vw - 6px), 860px);
    font-size: clamp(88px, 23vw, 224px);
    letter-spacing: 0.02em;
  }

  .studio-tiles-prototype .studio-tile-meta {
    padding-top: 30px;
  }

  .studio-tiles-prototype .studio-tile-statement {
    width: min(calc(100vw - 40px), 720px);
    font-size: clamp(14px, 2.4vw, 18px);
    line-height: 1.6;
  }

  body[data-page="home"] .hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 92px 16px 34px;
    flex-direction: column;
  }

  body[data-page="home"] .hero-mobile-wordmark {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 18;
    width: min(calc(100vw - 4px), 860px);
    margin: 0;
    color: var(--white);
    font-family: "Octane", sans-serif;
    font-variation-settings: "wght" 10, "wdth" 44;
    font-size: clamp(88px, 23vw, 224px);
    font-weight: 100;
    line-height: 0.92;
    letter-spacing: 0.026em;
    text-align: center;
    text-transform: uppercase;
    text-shadow:
      0 0 30px rgba(0, 0, 0, 0.42),
      0 0 1px rgba(255, 255, 255, 0.18);
    transform: translate(-50%, -54%);
    will-change: transform, opacity;
    pointer-events: none;
  }

  body[data-page="home"] .hero-alt .hero-shell,
  body[data-page="home"] .hero-shell-alt {
    position: relative;
    z-index: 8;
    width: min(calc(100vw - 126px), 292px);
    transform: none;
  }

  body[data-page="home"] .hero-wrapper-alt {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
  }

  body[data-page="home"] .hero-col-alt {
    min-height: 0;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
  }

  body[data-page="home"] .hero-wrapper-alt:hover .hero-col-alt,
  body[data-page="home"] .hero-wrapper-alt:hover .hero-col-alt:hover {
    flex: 1;
  }

  body[data-page="home"] .hero-col-alt .hero-media-frame {
    position: absolute;
    inset: 0;
  }

  body[data-page="home"] .hero-col-alt .hero-video,
  body[data-page="home"] .hero-col-alt .hero-overlay {
    opacity: 1;
  }

  body[data-page="home"] .hero-col-alt .hero-overlay {
    background:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.12)),
      linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent 48%);
  }

  body[data-page="home"] .hero-col-alt .hero-letter-shell {
    display: none;
  }

  body[data-page="home"] .hero-meta {
    position: relative;
    bottom: auto;
    z-index: 24;
    padding: 30px 16px 0;
  }

  body[data-page="home"] .hero-kicker {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 0.92;
  }

  .studio-wordmark-prototype .hero-kicker {
    font-size: clamp(18px, 4.8vw, 24px);
    letter-spacing: 0.12em;
  }

  body.home-pangram .hero-mobile-wordmark {
    width: min(calc(100vw - 18px), 760px);
    font-size: clamp(66px, 18vw, 156px);
    letter-spacing: -0.06em;
    transform: translate(-50%, -54%);
  }

  body.home-pangram .hero-alt .hero-shell,
  body.home-pangram .hero-shell-alt {
    width: min(calc(100vw - 104px), 316px);
  }

  .hero-kicker {
    font-size: 24px;
  }

  .placeholder-section {
    padding: 84px 20px;
  }

  .work-section {
    padding: 108px 0 60px;
  }

  .work-intro {
    margin-bottom: 18px;
    width: auto;
  }

  .work-intro-copy {
    max-width: 17ch;
    font-size: clamp(22px, 5.2vw, 34px);
    line-height: 1;
  }

  .work-intro-services {
    max-width: 34ch;
    font-size: 12px;
    line-height: 1.42;
  }

  .work-list {
    width: auto;
  }

  .work-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin: 0 16px 10px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008)),
      rgba(8, 8, 8, 0.82);
  }

  .work-category {
    grid-column: 1;
    color: var(--red);
    font-size: clamp(14px, 2vw, 18px);
    transform: translateY(0);
  }

  .work-preview {
    display: none;
  }

  .work-name {
    font-size: clamp(30px, 8vw, 48px);
    text-shadow: none;
    transform: none !important;
  }

  .work-row:hover .work-name {
    transform: none;
  }

  .work-row:hover .work-category {
    transform: translateY(0);
  }

  .work-lightbox {
    padding: 18px;
  }

  .studio-section {
    padding: 112px 0 80px;
  }

  .studio-shell {
    width: min(calc(100% - 32px), 1040px);
    gap: 18px;
  }

  .studio-hero {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .studio-hero-copy {
    max-width: none;
    gap: 12px;
  }

  .studio-hero-copy h2 {
    max-width: 9ch;
    font-size: clamp(40px, 10vw, 68px);
  }

  .studio-hero-text {
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.72;
  }

  .studio-services {
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .studio-media-card-featured {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

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

  .studio-media-card-1,
  .studio-media-card-2,
  .studio-media-card-3,
  .studio-media-card-4 {
    grid-column: span 1;
    aspect-ratio: 16 / 10;
    margin-top: 0;
  }

  .studio-media-card-5 {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .studio-card-caption p {
    font-size: 18px;
  }

  .studio-card-caption span {
    font-size: 11px;
  }

  .board-studio {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 112px 16px 72px;
  }

  .board-studio::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.62), transparent 44%, rgba(0, 0, 0, 0.24));
  }

  .board-copy {
    max-width: none;
  }

  .board-copy h1 {
    max-width: 10ch;
    font-size: clamp(40px, 10vw, 68px);
  }

  .board-copy p:not(.placeholder-label) {
    max-width: 31ch;
    font-size: 15px;
    line-height: 1.72;
  }

  .board-surface {
    width: 100%;
    aspect-ratio: auto;
    min-height: 680px;
    border-radius: 22px;
  }

  .board-tile-a {
    top: 6%;
    left: 7%;
    width: 76%;
  }

  .board-tile-b {
    top: 28%;
    right: 5%;
    width: 34%;
  }

  .board-tile-c {
    top: 43%;
    left: 5%;
    width: 40%;
  }

  .board-tile-d {
    right: 6%;
    bottom: 15%;
    width: 72%;
  }

  .board-tile-e {
    right: 8%;
    bottom: 38%;
    width: 29%;
  }

  .board-tile-f {
    bottom: 7%;
    left: 8%;
    width: 34%;
  }

  .board-redline {
    left: 58%;
  }

  .device-studio {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 112px 16px 74px;
  }

  .device-studio::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.64), transparent 40%, rgba(0, 0, 0, 0.28));
  }

  .device-studio-copy {
    max-width: none;
  }

  .device-studio-copy h1 {
    max-width: 11ch;
    font-size: clamp(40px, 10vw, 68px);
  }

  .device-studio-copy p:not(.placeholder-label) {
    max-width: 31ch;
    font-size: 15px;
    line-height: 1.72;
  }

  .device-stage {
    width: 100%;
    min-height: 700px;
    justify-self: stretch;
  }

  .device-frame-main {
    top: 4%;
    left: 7%;
    width: 72%;
  }

  .device-frame-phone {
    top: 23%;
    right: 4%;
    width: 28%;
  }

  .device-frame-tablet {
    bottom: 20%;
    left: 0;
    width: 42%;
  }

  .device-frame-laptop {
    right: 4%;
    bottom: 10%;
    width: 70%;
  }

  .device-frame-small {
    top: 55%;
    right: 8%;
    width: 30%;
  }

  .studio-media-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 12px;
    margin: 0 16px;
  }

  .studio-media-card,
  .studio-media-card-wide,
  .studio-media-card-tall {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }

  .cube-scroll {
    --cube-size: min(70vw, 420px);
    min-height: 285svh;
  }

  .cube-stage {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 24px;
    padding: 108px 18px 58px;
    perspective: 1100px;
  }

  .cube-copy {
    max-width: none;
    gap: 12px;
    transform: translateY(calc(var(--cube-progress, 0) * -12px));
  }

  .cube-copy h1 {
    max-width: 10ch;
    font-size: clamp(44px, 12vw, 80px);
  }

  .cube-copy p:not(.placeholder-label) {
    max-width: 30ch;
    font-size: 15px;
    line-height: 1.68;
  }

  .cube-scene {
    min-height: 48svh;
  }

  .cube-face {
    border-radius: 20px;
  }

  .cube-letter {
    font-size: clamp(70px, 19vw, 118px);
  }

  .cube-status {
    right: 18px;
    bottom: 24px;
  }

  .cube-status-line {
    width: 78px;
  }

  .cube-outro {
    min-height: 62svh;
    padding: 84px 18px;
  }

  .cube-outro h2 {
    max-width: 12ch;
    font-size: clamp(38px, 11vw, 74px);
  }

  .section-heading {
    padding: 0 20px 28px;
  }

  .team-section {
    min-height: auto !important;
  }

  .team-stage {
    position: relative;
    top: 0;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 104px 16px 18px;
  }

  .team-intro {
    max-width: none;
    padding-bottom: 0;
    gap: 14px;
  }

  .team-intro h2 {
    max-width: 10ch;
    font-size: clamp(40px, 10vw, 62px);
  }

  .team-intro-copy {
    max-width: 32ch;
    font-size: 15px;
    line-height: 1.72;
  }

  .team-rail-wrap {
    overflow: visible;
    padding-bottom: 0;
  }

  .team-rail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    transform: none !important;
  }

  .team-panel {
    min-height: auto;
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
  }

  .team-portrait {
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }

  .team-panel-copy {
    gap: 6px;
    padding: 2px 4px 6px;
  }

  .team-panel-name {
    font-size: clamp(30px, 7.6vw, 46px);
  }

  .team-panel-role {
    font-size: 11px;
  }

  .team-lightbox {
    padding: 18px;
  }

  .team-lightbox-inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
  }

  .team-lightbox-copy {
    gap: 10px;
    padding: 0 2px 6px;
  }

  .team-lightbox-name {
    font-size: clamp(34px, 9vw, 54px);
  }

  .team-lightbox-bio {
    font-size: 15px;
    line-height: 1.72;
  }

  .contact-section {
    padding: 110px 16px 40px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 0 18px;
  }

  .contact-footer {
    flex-direction: column;
    gap: 8px;
  }

  .contact-heading {
    color: var(--white);
    font-size: clamp(44px, 12vw, 82px);
    transform: translateY(0) !important;
    text-shadow: none;
  }

  .contact-detail {
    font-size: clamp(16px, 4.2vw, 22px);
    transform: translateY(0);
  }

  .contact-row:hover .contact-heading,
  .contact-row:hover .contact-detail {
    transform: translateY(0);
  }

}

@media (max-width: 640px) {
  body:not([data-page="home"]) .site-nav {
    padding: 14px 14px 0;
  }

  body:not([data-page="home"]) .site-brand {
    gap: 0.65em;
    font-size: 16px;
  }

  body:not([data-page="home"]) .site-brand span {
    font-size: 0.44em;
    letter-spacing: 0.14em;
  }

  body:not([data-page="home"]) .menu-toggle {
    width: 52px;
    height: 52px;
  }

  body:not([data-page="home"]) .menu-toggle span {
    width: 30px;
  }

  body:not([data-page="home"]) .menu-panel {
    top: 58px;
    right: 12px;
    width: min(224px, calc(100vw - 24px));
    padding: 14px 16px 16px;
    border-radius: 16px;
  }

  .site-links {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-links a {
    font-size: 11px;
  }

  .site-brand {
    gap: 0.5em;
    font-size: 18px;
  }

  body[data-page="home"] .site-brand {
    font-size: 16px;
  }

  body[data-page="home"] .site-nav {
    padding: 14px 14px 0;
  }

  body[data-page="home"] .menu-toggle {
    width: 56px;
    height: 56px;
  }

  body[data-page="home"] .menu-toggle span {
    width: 32px;
  }

  body[data-page="home"] .hero {
    padding: 82px 12px 28px;
  }

  body[data-page="home"] .hero-alt .hero-shell,
  body[data-page="home"] .hero-shell-alt {
    width: min(calc(100vw - 96px), 256px);
  }

  body[data-page="home"] .hero-mobile-wordmark {
    width: min(calc(100vw - 2px), 520px);
    font-size: clamp(74px, 24vw, 144px);
    letter-spacing: 0.012em;
    transform: translate(-50%, -56%);
  }

  .studio-wordmark-prototype .hero-mobile-wordmark {
    width: min(calc(100vw - 6px), 560px);
    font-size: clamp(70px, 22vw, 146px);
    letter-spacing: -0.01em;
  }

  .studio-tiles-prototype .studio-tile-hero {
    padding: 82px 12px 28px;
  }

  .studio-tiles-prototype .studio-tile-shell {
    width: min(calc(100vw - 96px), 256px);
  }

  .studio-tiles-prototype .studio-tile-grid {
    gap: 6px;
  }

  .studio-tiles-prototype .studio-tile-cell {
    border-radius: 10px;
  }

  .studio-tiles-prototype .studio-tile-wordmark {
    width: min(calc(100vw - 2px), 520px);
    font-size: clamp(74px, 24vw, 144px);
    letter-spacing: 0.012em;
  }

  .studio-tiles-prototype .studio-tile-meta {
    padding-top: 24px;
  }

  .studio-tiles-prototype .studio-tile-statement {
    width: min(calc(100vw - 28px), 520px);
    font-size: 13px;
    line-height: 1.58;
  }

  body[data-page="home"] .hero-wrapper-alt {
    gap: 6px;
  }

  body[data-page="home"] .hero-col-alt {
    aspect-ratio: 1;
    border-radius: 10px;
  }

  body[data-page="home"] .hero-meta {
    padding-top: 24px;
  }

  body[data-page="home"] .hero-kicker {
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: 0.07em;
  }

  .studio-wordmark-prototype .hero-kicker {
    font-size: clamp(16px, 4.6vw, 22px);
    letter-spacing: 0.1em;
  }

  body.home-pangram .hero-alt .hero-shell,
  body.home-pangram .hero-shell-alt {
    width: min(calc(100vw - 82px), 272px);
  }

  body.home-pangram .hero-mobile-wordmark {
    width: min(calc(100vw - 10px), 460px);
    font-size: clamp(58px, 18vw, 102px);
    letter-spacing: -0.055em;
    transform: translate(-50%, -56%);
  }

  .hero-tagline {
    font-size: 9px;
    line-height: 1.6;
  }

  .placeholder-inner p {
    font-size: 14px;
  }

  .work-section {
    padding-top: 96px;
  }

  .work-intro-copy {
    max-width: none;
    font-size: clamp(19px, 6vw, 24px);
    line-height: 1.02;
  }

  .work-intro-services {
    max-width: none;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .work-intro-divider {
    margin: 0 0.4em;
  }

  .work-row {
    margin: 0 12px 8px;
    padding: 13px 14px 11px;
    border-radius: 16px;
  }

  .work-name {
    font-size: clamp(24px, 8vw, 34px);
  }

  .work-category {
    font-size: 12px;
    line-height: 1.35;
  }

  .studio-section {
    padding-top: 100px;
  }

  .board-studio {
    padding: 100px 12px 58px;
  }

  .board-surface {
    min-height: 590px;
    border-radius: 18px;
    background-size:
      42px 42px,
      42px 42px,
      auto,
      auto;
  }

  .board-tile {
    border-radius: 11px;
    animation-duration: 12s;
  }

  .board-tile-a {
    left: 4%;
    width: 82%;
  }

  .board-tile-b {
    width: 36%;
  }

  .board-tile-c {
    width: 43%;
  }

  .board-tile-d {
    right: 4%;
    width: 80%;
  }

  .board-tile-e {
    display: none;
  }

  .board-tile-f {
    width: 38%;
  }

  .device-studio {
    padding: 100px 12px 58px;
  }

  .device-stage {
    min-height: 590px;
  }

  .device-bezel {
    border-width: 7px;
  }

  .device-frame {
    animation-duration: 11s;
  }

  .device-frame-main {
    left: 3%;
    width: 78%;
  }

  .device-frame-phone {
    width: 31%;
  }

  .device-frame-tablet {
    width: 45%;
  }

  .device-frame-laptop {
    width: 78%;
  }

  .device-frame-small {
    display: none;
  }

  .studio-hero {
    gap: 16px;
  }

  .studio-shell {
    width: min(calc(100% - 24px), 640px);
  }

  .studio-filmwall {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .studio-media-card-featured,
  .studio-media-card-1,
  .studio-media-card-2,
  .studio-media-card-3,
  .studio-media-card-4,
  .studio-media-card-5 {
    grid-column: auto;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
  }

  .studio-media-card-5 {
    aspect-ratio: 16 / 9;
  }

  .studio-card-tag {
    top: 14px;
    left: 14px;
    font-size: 9px;
  }

  .studio-card-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .studio-card-caption p {
    font-size: 16px;
  }

  .studio-card-caption span {
    font-size: 10px;
  }

  .cube-scroll {
    --cube-size: min(74vw, 300px);
    min-height: 275svh;
  }

  .cube-stage {
    gap: 18px;
    padding: 96px 12px 54px;
  }

  .cube-copy h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .cube-copy p:not(.placeholder-label) {
    max-width: 28ch;
    font-size: 14px;
  }

  .cube-scene {
    min-height: 45svh;
  }

  .cube-face {
    border-radius: 16px;
  }

  .cube-letter {
    right: 6%;
    bottom: 5%;
    font-size: clamp(62px, 20vw, 92px);
  }

  .cube-status {
    right: 12px;
    bottom: 18px;
    gap: 9px;
    font-size: 9px;
  }

  .cube-status-line {
    width: 54px;
  }

  .cube-outro {
    padding: 72px 12px;
  }

  .team-stage {
    padding: 94px 12px 16px;
  }

  .team-intro-copy {
    font-size: 14px;
  }

  .team-intro-note {
    font-size: 10px;
  }

  .team-panel {
    border-radius: 20px;
  }

  .team-portrait {
    border-radius: 16px;
  }

  .team-panel-name {
    font-size: clamp(28px, 8.8vw, 38px);
  }

  .team-lightbox-name {
    font-size: clamp(30px, 10vw, 44px);
  }

  .team-lightbox-bio {
    font-size: 14px;
  }

  .contact-heading {
    font-size: clamp(38px, 14vw, 60px);
  }

  .contact-detail {
    font-size: 15px;
    line-height: 1.45;
  }

}
