/* City vs Zombies experiment: scoped so the other project cards and pages keep their current layout. */
.contain-cover{background:#102b40}
.contain-cover .feature-cover-main img,.city-cover.contain-cover img{object-fit:contain}
.city-cover.contain-cover img{max-height:560px}
.contain-cover .feature-cover-content{padding-top:28px}
.feature-cover-main {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.feature-cover-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-cover-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding: 64px 22px 20px;
  background: linear-gradient(transparent, #05070bf2);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
}

.feature-cover:hover .feature-cover-content,
.feature-cover:focus-within .feature-cover-content {
  opacity: 1;
  transform: none;
}

.feature-cover-content b {
  display: block;
  font-size: 1.35rem;
}

.feature-cover-content small {
  display: block;
  margin-top: 7px;
  color: #d2d9e8;
  letter-spacing: .06em;
}

.feature-cover-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  pointer-events: auto;
}

.feature-cover-actions a {
  padding: 10px 12px;
  border: 1px solid #ffffff35;
  background: #111722e8;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .07em;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.feature-cover-actions a:hover {
  border-color: var(--accent);
}

.feature-cover-actions .feature-play {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b1019;
}

.city-detail {
  --city-surface: #0d131e;
  --city-surface-raised: #121a28;
  --city-gutter: clamp(24px, 7vw, 96px);
}

.city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  padding: 110px 4vw 64px;
}

.city-hero-copy {
  max-width: 820px;
}

.city-hero h1 {
  max-width: 850px;
  margin: 22px 0;
  font-size: clamp(3.8rem, 8vw, 7.6rem);
  line-height: .88;
  letter-spacing: -.07em;
}

.city-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.city-hero .play-link {
  margin-top: 32px;
  padding: 16px 22px;
}

.city-hero-tech {
  min-width: 170px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
}

.city-hero-tech > span {
  color: var(--accent);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.city-hero-tech div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.city-hero-tech div span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: #dbe3f2;
  font-size: .72rem;
  font-weight: 750;
}

.city-cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.city-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080b111f, transparent 45%, #080b1129);
  content: "";
  pointer-events: none;
}

.city-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-snapshot {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr;
  border-bottom: 1px solid var(--line);
  background: var(--city-surface);
}

.project-snapshot > div {
  min-width: 0;
  padding: 30px 4vw;
  border-right: 1px solid var(--line);
}

.project-snapshot > div:last-child {
  border-right: 0;
}

.project-snapshot span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .13em;
}

.project-snapshot strong {
  display: block;
  max-width: 420px;
  font-size: .98rem;
  line-height: 1.45;
}

.project-overview {
  padding: 110px var(--city-gutter);
}

.project-overview h2,
.contribution-showcase h2,
.development-section h2,
.city-video h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.project-overview > .section-label,
.contribution-showcase header > .section-label,
.development-section header > .section-label {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 14px;
  margin-bottom: 24px;
}

.project-overview > .section-label::after,
.contribution-showcase header > .section-label::after,
.development-section header > .section-label::after {
  width: clamp(32px, 4vw, 56px);
  height: 1px;
  background: var(--accent);
  opacity: .55;
  content: "";
}

.project-overview > div {
  max-width: 860px;
}

.project-overview p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.contribution-showcase {
  padding: 105px var(--city-gutter);
  background: var(--city-surface);
  border-block: 1px solid var(--line);
}

.contribution-showcase header {
  max-width: 860px;
  margin-bottom: 60px;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.contribution-area {
  min-height: 295px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, #121a28, #0d131e 70%);
}

.contribution-area > span,
.development-stage > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #a9caff66;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.contribution-area h3,
.development-stage h3 {
  margin: 48px 0 16px;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.contribution-area p,
.development-section header p,
.development-stage p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.development-section {
  padding: 115px var(--city-gutter);
  background:
    radial-gradient(circle at 92% 15%, #66228b30, transparent 32%),
    radial-gradient(circle at 8% 85%, #176a8336, transparent 28%);
}

.development-section header {
  max-width: 860px;
}

.development-section header h2 {
  margin-top: 0;
}

.development-section header p {
  max-width: 720px;
  margin-top: 28px;
  font-size: 1.06rem;
}

.development-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 72px;
  border-top: 1px solid var(--line);
}

.development-stage {
  position: relative;
  padding: 30px 30px 0 0;
}

.development-stage:not(:last-child) {
  margin-right: 30px;
  border-right: 1px solid var(--line);
}

.development-stage::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px #a9caffb3;
  content: "";
}

.development-stage h3 {
  margin-top: 36px;
}

.city-video {
  padding: 0 var(--city-gutter) 105px;
}

.city-video header {
  margin-bottom: 28px;
}

.city-video header h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  text-align: left;
}

.city-video .video {
  border: 1px solid var(--line);
  background: #000;
}

.city-final-cta {
  padding: 48px var(--city-gutter) 105px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-play {
  margin: 0;
}

.project-media-caption,
.project-access-note {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}

.project-media-caption {
  margin: 16px 0 0;
}

.project-access-note {
  max-width: 650px;
  margin: 24px auto 0;
}

@media (max-width: 900px) {
  .feature-cover-content {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }

  .city-hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .city-hero-tech {
    max-width: 340px;
  }

  .development-timeline {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .development-stage,
  .development-stage:not(:last-child) {
    margin: 0;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .development-stage::before {
    top: -5px;
  }
}

@media (max-width: 720px), (hover: none) {
  .feature-cover-content {
    opacity: 1;
    transform: none;
  }

  .city-hero {
    padding: 72px 24px 48px;
  }

  .city-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

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

  .project-snapshot > div {
    padding: 20px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-snapshot > div:last-child {
    border-bottom: 0;
  }

  .project-overview,
  .contribution-showcase,
  .development-section,
  .city-video,
  .city-final-cta {
    padding-right: 24px;
    padding-left: 24px;
  }

  .project-overview,
  .contribution-showcase,
  .development-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

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

  .contribution-area {
    min-height: 0;
  }

  .city-video {
    padding-bottom: 72px;
  }

  .city-final-cta {
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .city-video header h2 {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .feature-cover-actions {
    width: 100%;
  }

  .feature-cover-actions a {
    flex: 1;
    text-align: center;
  }

  .project-overview h2,
  .contribution-showcase h2,
  .development-section h2,
  .city-video h2 {
    font-size: 2.55rem;
  }

  .contribution-area {
    padding: 24px;
  }
}
