/* Prism accents stay inside this project; the portfolio grid and other games keep their original styles. */
.project-grid .project-card[data-project="prismfall"] .project-logo,
.modal-hero[data-modal-project="prismfall"] .modal-logo {
  width: clamp(52px, 7vw, 76px);
  max-width: none;
  max-height: none;
  aspect-ratio: 1;
  height: auto;
  border: 1px solid #b4ddf77a;
  border-radius: 26%;
  background: #101b32;
  box-shadow: 0 10px 24px #05030b9e, 0 0 0 3px #b0d7ff10;
}
.project-grid [data-project="prismfall"] .project-stage {
  background-image: radial-gradient(ellipse at 58% 46%, #5c91d229 0, transparent 60%);
}
.modal-hero[data-modal-project="prismfall"] .modal-device,
.project-grid [data-project="prismfall"] .project-phone {
  border-color: #a9d1f272;
}
.portfolio-story.prismfall-story {
  background: radial-gradient(ellipse at 12% 1%, #34204c70, transparent 52%), radial-gradient(ellipse at 88% 22%, #17365160, transparent 49%), #0b0712;
}
.prismfall-story .story-hero {
  border-color: #a4bff13b;
  background: linear-gradient(135deg, #241634d9, #101a2acf);
}
.prismfall-story .story-eyebrow { color: #a9dafa; }
.prismfall-story h1 {
  margin: .13em 0 .12em;
  font-size: clamp(40px, 6vw, 82px);
  color: #ecf6ff;
  letter-spacing: -.055em;
}
.prismfall-story .story-tagline { color: #d5c9f8; }
.prismfall-story .prismfall-feature {
  position: relative;
  margin: 0;
  isolation: isolate;
}
.prismfall-feature > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #b7d7fc66;
  border-radius: 18px;
  box-shadow: 0 26px 68px #01040a92;
}
.prismfall-feature .prismfall-mark {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 12px;
  width: clamp(36px, 6vw, 68px);
  height: auto;
  border: 1px solid #b4ddf77a;
  border-radius: 26%;
  box-shadow: 0 8px 20px #0b0f1db3;
}
.prismfall-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 0;
}
.prismfall-stats div {
  padding: 12px clamp(12px, 2vw, 21px);
  border: 1px solid #a4bff128;
  border-radius: 14px;
  background: linear-gradient(130deg, #22172f, #131324);
}
.prismfall-stats dt { color: #e2efff; font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; line-height: 1.25; }
.prismfall-stats dd { margin: 2px 0 0; color: #c1b9d4; font-size: 13px; }
.prismfall-story .story-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prismfall-story .story-screen { border-color: #a4bff15e; }
.prismfall-story .story-screen img { aspect-ratio: 660 / 1173; }
.prismfall-story .story-gallery figcaption { font-size: 13px; color: #d4c9e4; }
.prismfall-story .story-note { font-size: 12px; color: #c1afce; }
.prismfall-story .story-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prismfall-story .story-highlights li { color: #d7cbe2; }
.prismfall-modes { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.prismfall-modes li { padding: 3px 12px; border: 1px solid #a4bff14d; border-radius: 999px; color: #cfe3ff; font-size: 12px; }
.prismfall-story :is(.story-button, .story-screen, .story-languages a, .story-home):focus-visible { outline: 2px solid #a9dafa; outline-offset: 4px; }
@media (max-width: 700px) {
  .prismfall-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prismfall-story .story-highlights { grid-template-columns: minmax(0, 1fr); }
  .prismfall-story .story-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prismfall-story .story-screen { border-radius: 19px; }
  .prismfall-story .story-screen img { border-radius: 15px; }
}
@media (max-width: 400px) {
  .prismfall-story .story-gallery { grid-template-columns: minmax(0, 1fr); max-width: 280px; margin-inline: auto; }
}
