/* ────────────────────────────────────────────────────────────────────────
   Case Plate — converted from
   GANS-main/src/app/projects/major-airspace-restructure/_scenes/
   CasePlateScene.tsx
   ────────────────────────────────────────────────────────────────────── */

.gans-case-plate {
  position: relative;
  overflow: hidden;
  background: var(--cloud, #ffffff);
  padding: 0 2rem 6rem;
}

@media (min-width: 768px) {
  .gans-case-plate {
    padding: 0 3rem 8rem;
  }
}

.gans-case-plate__inner {
  position: relative;
  margin: 0 auto;
  max-width: 1440px;
}

/* ── Frame ───────────────────────────────────────────────────────────── */

.gans-case-plate__frame {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  background: var(--stone-deep, #2a2a2a);
  aspect-ratio: 4 / 5;
}

@media (min-width: 640px) {
  .gans-case-plate__frame {
    aspect-ratio: 16 / 8;
  }
}

.gans-case-plate__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  display: block;
}

/* ── Overlays ────────────────────────────────────────────────────────── */

/* Diagonal corner wash — darkens the top-left so the caption stays legible. */
.gans-case-plate__wash--corner {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    rgba(42, 42, 42, 0.55) 0%,
    transparent 50%,
    transparent 100%
  );
}

/* Bottom scrim — only on mobile (portrait crop exposes bright sky/runway). */
.gans-case-plate__wash--bottom {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(42, 42, 42, 0.85) 0%,
    rgba(42, 42, 42, 0.35) 50%,
    transparent 100%
  );
}

@media (min-width: 640px) {
  .gans-case-plate__wash--bottom { display: none; }
}

/* ── Caption ─────────────────────────────────────────────────────────── */

.gans-case-plate__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2rem;
}

@media (min-width: 768px) {
  .gans-case-plate__caption {
    padding: 3rem;
  }
}

.gans-case-plate__caption-label {
  display: block;
  font-family: var(--font-suisse, sans-serif);
  font-size: 10.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.gans-case-plate__caption-text {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-family: var(--font-suisse, sans-serif);
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--cloud, #ffffff);
}
