.project-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.055), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(134, 22, 38, 0.18), transparent 34%),
    radial-gradient(circle at 50% 86%, rgba(255, 255, 255, 0.035), transparent 28%),
    #000;
  color: var(--white);
}

.project-page .site-header {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.project-main {
  position: relative;
  z-index: 10;
  width: calc(100vw - 96px);
  max-width: none;
  margin: 0 auto;
  padding: 92px 0 88px;
}

.project-shell {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(8, 8, 8, 0.74);
  box-shadow:
    0 44px 150px rgba(0, 0, 0, 0.72),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.project-hero {
  padding: 26px;
}

.project-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.46),
    inset 0 0 0 1px rgba(255, 255, 255, 0.065);
}

.project-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.project-info {
  max-width: 960px;
  padding: 18px 48px 46px;
}

.project-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.project-title {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  place-items: initial;
  max-width: 920px;
  margin: 0 0 18px;
  padding: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.38em;
  text-align: left;
  text-transform: uppercase;
  filter: blur(0.1px);
  pointer-events: auto;
}

.project-meta {
  max-width: 880px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-description {
  max-width: 760px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.78;
  font-weight: 400;
}

.project-description p {
  margin: 0 0 18px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.project-actions a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition:
    color 260ms ease,
    transform 260ms var(--ease-cinema),
    letter-spacing 320ms var(--ease-cinema);
}

.project-actions a:hover {
  color: #fff;
  transform: translateY(-1px);
  letter-spacing: 0.3em;
}

.project-section {
  padding: 42px 48px 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-section-label {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.project-capabilities-section {
  padding-top: 38px;
  padding-bottom: 42px;
}

.project-capabilities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 880px;
}

.project-capability-item {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.095),
    0 10px 34px rgba(0, 0, 0, 0.18);
}

.project-capability-item span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-capability-item.is-original-ip {
  background: rgba(80, 255, 165, 0.035);
  box-shadow:
    inset 0 0 0 1px rgba(112, 255, 178, 0.42),
    0 0 22px rgba(112, 255, 178, 0.08),
    0 10px 34px rgba(0, 0, 0, 0.18);
}

.project-capability-item.is-original-ip span {
  color: rgba(185, 255, 215, 0.9);
}

.project-capability-item.is-development {
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 10px 34px rgba(0, 0, 0, 0.18);
}

.project-capability-item.is-development span {
  color: rgba(255, 255, 255, 0.78);
}

.project-capability-item.is-opportunity {
  background: rgba(255, 208, 92, 0.035);
  box-shadow:
    inset 0 0 0 1px rgba(255, 208, 92, 0.34),
    0 0 22px rgba(255, 208, 92, 0.07),
    0 10px 34px rgba(0, 0, 0, 0.18);
}

.project-capability-item.is-opportunity span {
  color: rgba(255, 229, 166, 0.88);
}

.project-capability-item.is-reelshort-ip {
  background:
    linear-gradient(135deg, rgba(255, 36, 118, 0.13), rgba(255, 121, 32, 0.09)),
    rgba(255, 255, 255, 0.025);
  box-shadow:
    inset 0 0 0 1px rgba(255, 86, 130, 0.5),
    0 0 24px rgba(255, 54, 118, 0.11),
    0 10px 34px rgba(0, 0, 0, 0.18);
}

.project-capability-item.is-reelshort-ip span {
  color: rgba(255, 218, 225, 0.96);
}

.project-video.is-vertical {
  width: min(520px, 100%);
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.project-stills-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-still {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.035);
  box-shadow:
    0 24px 76px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.055);
}

.project-still img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.project-stills-grid.is-vertical-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-stills-grid.is-vertical-gallery .project-still {
  aspect-ratio: 9 / 16;
}

.project-footer {
  padding: 34px 48px 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.project-footer p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.project-footer strong {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 800;
}

@media (max-width: 760px) {
    .project-main {
    width: calc(100vw - 28px);
    padding: 108px 0 64px;
  }

  .project-shell {
    border-radius: 16px;
  }

  .project-hero {
    padding: 14px;
  }

  .project-video {
    border-radius: 11px;
  }

  .project-info {
    padding: 22px 24px 36px;
  }

  .project-title {
  font-size: 12px;
  letter-spacing: 0.28em;
}

  .project-description {
    font-size: 14px;
    line-height: 1.7;
  }

  .project-actions {
    gap: 16px;
  }

  .project-section {
    padding: 34px 24px 38px;
  }

  .project-stills-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-footer {
    padding: 28px 24px 34px;
  }

  .project-capabilities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .project-capability-item {
    min-height: 0;
    padding: 8px 11px 7px;
    border-radius: 999px;
  }

  .project-capability-item span {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .project-stills-grid.is-vertical-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}