:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #101010;
  --panel-2: #151515;
  --text: #f5f5f0;
  --muted: #999992;
  --line: #2b2b29;
  --accent: #ccff00;
  --accent-dark: #283300;
  --page-pad: clamp(20px, 5.5vw, 88px);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

body.is-modal-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

::selection {
  background: var(--accent);
  color: #000;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 14px var(--page-pad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 8, 0.82);
  backdrop-filter: blur(16px);
}

.wordmark {
  width: fit-content;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.35vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 46px);
}

.site-nav a,
.availability {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  font-size: clamp(0.84rem, 0.78vw, 0.91rem);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.availability {
  justify-self: end;
  color: var(--muted);
  font-size: 0.8rem;
}

.availability span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(204, 255, 0, 0.7);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(330px, 26vw, 440px);
  align-items: center;
  gap: clamp(40px, 5vw, 92px);
  min-height: 100svh;
  padding: 124px var(--page-pad) 54px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 74%);
}

.hero::after {
  position: absolute;
  top: 10%;
  left: -16%;
  z-index: -3;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.09), transparent 65%);
  content: "";
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy {
  align-self: center;
  min-width: 0;
}

.hero-icon {
  position: relative;
  top: -10px;
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--accent);
  animation: hero-icon-spin 15s linear infinite;
  transform-origin: center;
}

@keyframes hero-icon-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero h1,
.section-heading h2,
.site-footer h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.84;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(3.3rem, 7vw, 8.2rem);
  line-height: 0.92;
}

.hero h1 span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
}

.hero h1 span:last-child {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.14vw, 2px) var(--text);
}

.hero .eyebrow {
  margin-bottom: clamp(30px, 2.4vw, 38px);
}

.hero-description {
  max-width: 760px;
  margin: 38px 0 0;
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  font-weight: 300;
  line-height: 1.55;
}

.text-cta {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 36px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-cta span {
  transition: transform 180ms ease;
}

.text-cta:hover span {
  transform: translateY(4px);
}

.hero-film {
  position: relative;
  justify-self: end;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
  border: 1px solid #30302f;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 0 45px rgba(204, 255, 0, 0.08);
  cursor: pointer;
}

.hero-film img,
.hero-film-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-film img {
  object-fit: cover;
  opacity: 0.9;
  transition: filter 300ms ease, transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-film-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 44%);
}

.hero-film:hover img {
  filter: saturate(0.75) contrast(1.1);
  opacity: 0.68;
  transform: scale(1.035);
}

.featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  background: var(--accent);
  color: #000;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 68px;
  height: 68px;
  padding-left: 4px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 1.2rem;
  transform: translate(-50%, -50%);
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.25, 1.4);
}

.hero-film:hover .play-button {
  transform: translate(-50%, -50%) scale(1.13);
}

.film-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.film-caption small,
.film-caption strong {
  font-size: 0.73rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.film-caption small {
  color: var(--accent);
  font-weight: 700;
}

.hero-index {
  position: absolute;
  right: var(--page-pad);
  bottom: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.work {
  padding: clamp(90px, 10vw, 160px) var(--page-pad);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 56px;
  margin-bottom: clamp(70px, 8vw, 120px);
}

.section-heading h2 {
  font-size: clamp(3.1rem, 7vw, 7.5rem);
  line-height: 1.1;
}

.section-heading .title-highlight {
  display: inline;
  padding: 0.015em 0.09em 0.055em;
  background: var(--accent);
  color: #050505;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.section-heading > p {
  max-width: 520px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: clamp(1.12rem, 1.35vw, 1.3rem);
  line-height: 1.55;
}

.category-list {
  border-top: 1px solid var(--line);
}

.category {
  border-bottom: 1px solid var(--line);
}

.category h3,
.project-row h4 {
  margin: 0;
}

.category-toggle,
.project-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.category-toggle {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 34px 0;
}

.category-number {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.category-name {
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 5.3rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #5a5a56;
  transition: color 180ms ease, -webkit-text-stroke 180ms ease;
}

.category-toggle:hover .category-name,
.category-toggle:focus-visible .category-name {
  color: var(--accent);
  -webkit-text-stroke-color: var(--accent);
}

.category.is-open .category-name {
  color: var(--text);
  -webkit-text-stroke: 0 transparent;
}

.toggle-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.6rem;
}

.category-content {
  padding: 0 0 clamp(58px, 6vw, 88px) 92px;
  animation: reveal 280ms ease both;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-row {
  border-bottom: 1px solid var(--line);
}

.project-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(130px, 0.25fr) 44px;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 20px 0;
}

.project-toggle > span:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.project-toggle small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-arrow {
  justify-self: end;
  color: var(--accent);
  font-size: 1.4rem;
  transition: transform 200ms ease;
}

.project-toggle[aria-expanded="true"] .project-arrow {
  transform: rotate(90deg);
}

.project-toggle:hover > span:first-child {
  color: var(--accent);
}

.project-content {
  padding: 0 0 40px;
  animation: reveal 240ms ease both;
}

.project-intro {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(280px, 1fr);
  gap: 30px;
  padding: 16px 0 30px;
}

.project-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

.project-intro .project-kicker {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-intro .gallery-instruction {
  grid-column: 2;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-note {
  max-width: 760px;
  margin: 28px 0 40px;
  padding: 28px 30px 32px;
  border: 1px solid #292925;
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.055), rgba(255, 255, 255, 0.018));
}

.project-note p {
  max-width: 42ch;
  margin: 0;
  color: #c0c0ba;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.6;
}

.case-study-link {
  display: inline-block;
  margin: 22px 0 0;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.case-study-link:hover,
.case-study-link:focus-visible {
  color: var(--accent);
}

.video-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-height: 58rem;
  padding: 0 12px 18px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--accent) #1b1b1b;
  scrollbar-width: thin;
}

.video-gallery.portrait-gallery {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  max-height: 74rem;
}

.video-gallery.compact-gallery {
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
  max-height: none;
  overflow: visible;
}

.project-content:has(> .video-gallery) {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 4vw, 64px);
  width: 100%;
  padding: 28px 0 46px;
}

.project-content:has(> .video-gallery) .project-intro {
  display: block;
  padding: 28px 30px 32px;
  border: 1px solid #292925;
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.055), rgba(255, 255, 255, 0.018));
}

.project-content:has(> .video-gallery) .project-kicker {
  margin-bottom: 22px;
  font-size: 0.84rem;
  line-height: 1.4;
}

.project-content:has(> .video-gallery) .project-intro > p:not(.project-kicker) {
  max-width: 34ch;
  color: #c0c0ba;
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.6;
}

.project-content:has(> .video-gallery) .project-intro .gallery-instruction {
  margin-top: 24px;
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.45;
}

.project-content:has(> .compact-gallery) .compact-gallery {
  grid-template-columns: repeat(2, minmax(220px, 360px));
  align-items: start;
  justify-content: start;
  gap: 18px;
  padding: 0;
}

.project-content:has(> .compact-gallery) .compact-gallery:has(.video-card:only-child) {
  grid-template-columns: minmax(0, 420px);
}

.project-content:has(> .compact-gallery) .video-card.is-portrait {
  max-width: 260px;
}

@media (min-width: 1200px) {
  #motion-3d-art .compact-gallery {
    grid-template-columns: minmax(260px, 360px) repeat(2, minmax(170px, 230px));
    max-width: 856px;
  }

  #motion-3d-art .video-card.is-portrait {
    width: 100%;
    max-width: 230px;
  }

  #motion-social-games .compact-gallery {
    grid-template-columns: repeat(3, minmax(220px, 300px));
    max-width: 936px;
  }
}

.video-gallery::-webkit-scrollbar {
  width: 8px;
}

.video-gallery::-webkit-scrollbar-track {
  background: #1b1b1b;
}

.video-gallery::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid #30302e;
  border-radius: 3px;
  background: #151515;
  cursor: pointer;
}

.video-card.is-portrait {
  aspect-ratio: 9 / 16;
}

.video-card.is-square {
  aspect-ratio: 1;
}

.video-card img,
.video-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-card img {
  object-fit: cover;
  transition: filter 200ms ease, transform 300ms ease;
}

.video-card::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 67%);
  content: "";
}

.video-card:hover img {
  filter: saturate(0.7);
  transform: scale(1.04);
}

.video-card-index,
.video-card-title,
.video-card-play {
  position: absolute;
  z-index: 1;
}

.video-card-index {
  top: 12px;
  left: 12px;
  padding: 4px 6px;
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
}

.video-card-play {
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.86);
  color: var(--accent);
  font-size: 0.76rem;
}

.video-card-title {
  right: 14px;
  bottom: 13px;
  left: 14px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
}

.archive-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.archive-heading h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.65vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.2;
  text-transform: uppercase;
}

.archive-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#documentary-archive {
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  padding-top: 12px;
}

#documentary-archive .documentary-gallery {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  align-items: stretch;
  gap: 20px;
  min-width: 0;
}

.documentary-gallery .video-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  aspect-ratio: auto;
  background: #101010;
}

.documentary-gallery .video-card img {
  position: static;
  grid-column: 1 / -1;
  display: block;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.documentary-gallery .video-card::after {
  content: none;
}

.documentary-gallery .video-card:hover img {
  transform: none;
}

.documentary-gallery .video-card-index {
  position: static;
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  margin: 12px 0 14px 10px;
  padding: 3px 5px;
  line-height: 1.2;
}

.documentary-gallery .video-card-title {
  position: static;
  grid-column: 2;
  grid-row: 2;
  margin: 12px 12px 14px 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  #documentary-archive {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  #documentary-archive .project-intro > p:not(.project-kicker) {
    max-width: 68ch;
  }
}

@media (max-width: 760px) {
  .category-toggle[aria-controls="category-documentary"] {
    grid-template-columns: 34px minmax(0, 1fr) 42px;
  }

  .category-toggle[aria-controls="category-documentary"] .category-name {
    font-size: clamp(1.1rem, 5.5vw, 2.6rem);
    line-height: 1.1;
  }
}

.placeholder-panel {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  border: 1px dashed #41413d;
  background: repeating-linear-gradient(-45deg, #101010, #101010 12px, #131313 12px, #131313 24px);
}

.placeholder-panel p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
}

.placeholder-panel span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.recognition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(60px, 8vw, 130px);
  padding: clamp(90px, 10vw, 150px) var(--page-pad);
  background: #eeeeea;
  color: #101010;
}

.recognition .eyebrow {
  color: #466000;
}

.awards-list {
  border-top: 1px solid #bdbdb6;
}

.awards-list article {
  padding: 22px 0;
  border-bottom: 1px solid #bdbdb6;
}

.awards-list h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}

.awards-list sup {
  color: #466000;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.awards-list p {
  margin: 0;
  color: #5b5b55;
  font-size: 0.98rem;
}

.client-cloud {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.65vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.client-cloud span {
  color: #789800;
}

.clients-note {
  max-width: 520px;
  margin: 68px 0 0 auto;
  padding-top: 18px;
  border-top: 1px solid #bdbdb6;
  color: #5b5b55;
}

.site-footer {
  padding: clamp(90px, 10vw, 150px) var(--page-pad) 38px;
  background: var(--accent);
  color: #050505;
}

.site-footer .eyebrow {
  color: var(--accent-dark);
}

.site-footer h2 {
  max-width: 1200px;
  font-size: clamp(3.8rem, 9.2vw, 9.8rem);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
  margin-top: clamp(60px, 8vw, 110px);
}

.contact-links {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.contact-links a {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 3px solid #050505;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.9vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-links a span {
  transition: transform 180ms ease;
}

.contact-links a:hover span {
  transform: translate(4px, -4px);
}

.footer-meta {
  text-align: right;
}

.footer-meta p {
  margin: 5px 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-dialog {
  width: min(94vw, 1120px);
  max-height: 92svh;
  padding: 0;
  overflow: visible;
  border: 1px solid #383835;
  border-radius: 5px;
  background: #0b0b0b;
  color: var(--text);
  box-shadow: 0 0 80px rgba(204, 255, 0, 0.1);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: #080808;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(300px, 470px) minmax(280px, 1fr);
  min-height: min(78svh, 760px);
}

.modal-media {
  width: auto;
  height: min(78svh, 760px);
  aspect-ratio: 9 / 16;
  align-self: center;
  justify-self: center;
  background: #000;
}

.video-dialog[data-video-aspect="landscape"] .modal-layout {
  grid-template-columns: minmax(420px, 1.35fr) minmax(300px, 0.65fr);
}

.video-dialog[data-video-aspect="landscape"] .modal-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.video-dialog[data-video-aspect="square"] .modal-media {
  width: min(100%, 760px);
  height: auto;
  aspect-ratio: 1;
}

.modal-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
  overflow-y: auto;
}

.modal-client,
.modal-type {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.modal-copy h2 {
  margin: 10px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.15vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: uppercase;
}

.modal-description {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.modal-organizers {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.modal-organizers > span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modal-organizers p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 10px 0 0;
}

.modal-organizers a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.youtube-link {
  width: fit-content;
  margin-top: 38px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .availability {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) clamp(250px, 30vw, 320px);
    gap: clamp(32px, 4vw, 52px);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 6.4vw, 5.4rem);
  }

  .category-content {
    padding-left: 0;
  }

  .video-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 52rem;
  }

  .video-gallery.portrait-gallery {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    max-height: 68rem;
  }

  .video-gallery.compact-gallery {
    grid-template-columns: repeat(auto-fit, minmax(210px, 280px));
    max-height: none;
  }

  .project-content:has(> .video-gallery) {
    grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
    gap: 30px;
  }

  .project-content:has(> .compact-gallery) .compact-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recognition {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    min-height: 70px;
  }

  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.8rem;
  }

  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 54px;
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 90px;
  }

  .hero-copy {
    align-self: auto;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11.25vw, 4.7rem);
  }

  .hero-icon {
    top: 0;
  }

  .hero .eyebrow {
    margin-bottom: 24px;
  }

  .hero-description {
    margin-top: 26px;
  }

  .hero-film {
    justify-self: center;
    width: min(90vw, 390px);
  }

  .hero-index {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading h2 {
    font-size: clamp(2.9rem, 13vw, 5.4rem);
  }

  .section-heading > p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .category-toggle {
    grid-template-columns: 34px 1fr 42px;
    gap: 12px;
    padding: 26px 0;
  }

  .category-name {
    font-size: clamp(1.65rem, 8.5vw, 3.1rem);
  }

  .toggle-mark {
    width: 40px;
    height: 40px;
  }

  .project-toggle {
    grid-template-columns: 1fr 36px;
    gap: 12px;
    min-height: 74px;
  }

  .project-toggle small {
    display: none;
  }

  .project-intro {
    grid-template-columns: 1fr;
  }

  .project-intro .gallery-instruction {
    grid-column: auto;
  }

  .project-note {
    max-width: none;
    margin: 0;
    padding: 0 0 34px;
    border: 0;
    background: none;
  }

  .project-note p {
    margin: 0;
    color: var(--muted);
    font-size: inherit;
    line-height: inherit;
  }

  .case-study-link {
    margin-left: 0;
  }

  .video-gallery {
    grid-template-columns: 1fr;
    max-height: 72svh;
  }

  .video-gallery.portrait-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 76rem;
  }

  .video-gallery.compact-gallery {
    grid-template-columns: minmax(0, 280px);
    max-height: none;
  }

  .project-content:has(> .video-gallery) {
    display: block;
    max-width: none;
    padding: 0 0 40px;
  }

  .project-content:has(> .video-gallery) .project-intro {
    display: grid;
    grid-template-columns: 1fr;
    padding: 16px 0 30px;
    border: 0;
    background: none;
  }

  .project-content:has(> .video-gallery) .project-kicker {
    margin-bottom: 0;
    font-size: 0.78rem;
    line-height: inherit;
  }

  .project-content:has(> .video-gallery) .project-intro > p:not(.project-kicker) {
    max-width: 42ch;
    color: var(--muted);
    font-size: inherit;
    line-height: inherit;
  }

  .project-content:has(> .video-gallery) .project-intro .gallery-instruction {
    margin-top: 0;
  }

  .project-content:has(> .compact-gallery) .compact-gallery {
    grid-template-columns: minmax(0, 280px);
    max-width: none;
  }

  .video-card {
    aspect-ratio: 16 / 9;
  }

  .placeholder-panel {
    flex-direction: column;
    padding: 28px;
  }

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

  .site-footer h2 {
    font-size: clamp(2.25rem, 10vw, 4.3rem);
  }

  .footer-meta {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    text-align: left;
  }

  .video-dialog {
    width: min(94vw, 520px);
    max-height: 90svh;
    overflow-y: auto;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    z-index: 3;
  }

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

  .video-dialog[data-video-aspect="landscape"] .modal-layout {
    grid-template-columns: 1fr;
  }

  .modal-media {
    width: min(100%, 380px);
    height: auto;
    justify-self: center;
  }

  .modal-copy {
    padding: 32px 24px 40px;
  }

  .modal-copy h2 {
    font-size: clamp(1.35rem, 6vw, 1.9rem);
  }
}

@media (max-width: 420px) {
  .site-nav {
    gap: 12px;
  }

  .wordmark {
    max-width: 128px;
    line-height: 1.1;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-film {
    width: 100%;
  }

  .category-number {
    font-size: 0.72rem;
  }

  .category-name {
    font-size: 1.55rem;
  }

  .project-toggle > span:first-child {
    font-size: 1rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
