/* 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(4, minmax(0, 1fr)); }
.prismfall-story .story-screen { border-color: #a4bff15e; }
.prismfall-story .story-screen img { aspect-ratio: 660 / 1430; }
.prismfall-story .story-gallery figcaption { font-size: 13px; color: #d4c9e4; }
.prismfall-story .story-note { font-size: .875rem; 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; }
}
.prismfall-doc-links { display:flex; flex-wrap:wrap; gap:.7rem; margin-block:2rem 0; padding-block-start:1rem; border-top:1px solid #a4bff12e; }
.prismfall-policy { min-height:100vh; }
.prismfall-policy .story-layout { max-width: 980px; padding-block-end: 2.5rem; }
.prismfall-policy-head { border:1px solid #a4bff14a; border-radius:1.5rem; padding:clamp(1.25rem,5vw,2.75rem); background:linear-gradient(135deg,#251833,#102036); }
.prismfall-policy-head h1 { font-size:clamp(1.8rem,4.8vw,3.65rem); letter-spacing:-.025em; line-height:1.16; margin:.6rem 0 1rem; }
.prismfall-policy-head .story-eyebrow { display:flex; align-items:center; gap:.6rem; font-size:.875rem; }
.prismfall-policy-head .story-eyebrow img { border-radius:25%; width:2rem; height:2rem; }
.prismfall-policy-head p { margin:0; max-width:72ch; font-size:1rem; line-height:1.7; color:#e0d6e9; }
.prismfall-policy-head time { display:block; padding-top:.9rem; color:#c2dfff; font-size:.875rem; }
.prismfall-policy-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-block:1rem 0; }
.prismfall-policy-grid section { padding:clamp(1rem,3vw,1.55rem); border:1px solid #a4bff135; border-radius:1.15rem; background:#171124; }
.prismfall-policy-grid h2 { font-size:1.13rem; line-height:1.3; margin:0 0 .7rem; color:#ebf2ff; }
.prismfall-policy-grid p { font-size:1rem; line-height:1.7; margin:0; color:#d7cce1; }
.prismfall-policy footer { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; margin-block-start:1.2rem; padding:1rem .5rem 0; border-top:1px solid #a4bff12a; }
@media(max-width:680px){.prismfall-policy-grid{grid-template-columns:1fr}}
