/* Case pages: shared styles */

.case-page .prototype {
  margin: 0;
  padding: 8px var(--gutter);
  background: var(--green);
  color: #0a0a0c;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.case-hero {
  padding: 56px 0 24px;
}
.case-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.05;
  max-width: 16ch;
}
.case-hero h1 em {
  font-style: normal;
  color: var(--accent);
  text-shadow: var(--glow);
}
/* Text on the left, teaser (portrait video) on the right */
.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 330px);
  gap: 32px 56px;
  align-items: center;
}
@media (max-width: 760px) {
  .case-hero-grid {
    grid-template-columns: 1fr;
  }
}
.teaser {
  margin: 0;
  max-width: 360px;
}
.teaser video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1350;
  background: #0a0a0c;
  border: var(--line-w) solid var(--accent);
  box-shadow: var(--glow);
}
.teaser figcaption {
  margin-top: 8px;
}
.case-hero .lead {
  max-width: 52ch;
  font-size: 1.15rem;
}
.case-block {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
}
.case-block .prose {
  max-width: 62ch;
}
.case-block h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
  line-height: 1.2;
}
.case-block .todo {
  padding: 12px 16px;
  border: 1px dashed var(--muted);
  color: var(--muted);
}
.case-block ul {
  padding-left: 1.1em;
}
.case-block li::marker {
  color: var(--accent);
}
