.hero-copy { container-type: inline-size; }
.hero-copy .hero-headline {
  max-width: none;
  font-size: clamp(1rem, 8.55cqi, 5.8rem);
  line-height: 1.1;
}
.hero-copy .hero-headline-prefix,
.hero-copy .hero-headline-topics { display: block; white-space: nowrap; }
.hero-copy .hero-headline-prefix { color: var(--ink); }
.hero-headline-topics { min-block-size: 1.1em; }
.hero-headline-topics .is-typing::after {
  display: inline-block;
  width: .045em;
  height: .78em;
  margin-inline-start: .06em;
  background: currentColor;
  content: "";
}

.hero-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-map-overlay [data-hero-layer] { display: none; }
[data-slide="0"] [data-hero-layer="0"],
[data-slide="1"] [data-hero-layer="1"],
[data-slide="2"] [data-hero-layer="2"],
[data-slide="3"] [data-hero-layer="3"] { display: initial; }
.hero-map-pin, .hero-tax-point circle {
  fill: var(--blue);
  stroke: white;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}
.hero-pin-center { fill: white; }
.hero-tax-point text {
  fill: white;
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: central;
}
.hero-asset-footprint, .hero-permit-parcel {
  fill: #3c61f6;
  fill-opacity: .58;
  stroke: #a9bbff;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hero-permit-parcel {
  fill: #f5c163;
  fill-opacity: .5;
  stroke: #965918;
  stroke-dasharray: 5 3;
}
.hero-art .hero-overlay { z-index: 1; }
.hero-overlay-deck { min-height: 10.1rem; }
.hero-overlay-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: .16rem .48rem;
  gap: .15rem;
  border-top: 1px solid var(--light-rule);
}
.hero-overlay-controls button {
  border: 0;
  padding: .38rem .46rem;
  background: #fff;
  color: var(--blue-dark);
  font-size: .77rem;
  font-weight: 700;
}
.hero-overlay-controls button:hover { background: var(--wash); }
.hero-overlay-controls button:focus-visible { outline-offset: -2px; }
.hero-asset-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: .55rem;
  padding: .45rem .85rem;
  border-bottom: 1px solid var(--light-rule);
}
.hero-art .hero-asset-detail img {
  position: static;
  width: 100%;
  height: 3.75rem;
  z-index: auto;
  transform: none;
  object-position: center 54%;
  object-fit: cover;
}
.hero-asset-detail strong, .hero-asset-detail span { display: block; font-size: .82rem; }
.hero-asset-detail span { color: var(--blue-dark); }
.hero-chart-label { display: flex; justify-content: space-between; gap: .4rem; padding: .45rem .85rem 0; font-size: .8rem; }
.hero-chart-label span { color: var(--muted); font-size: .72rem; }
.hero-chart {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .38rem;
  padding: 0 .85rem .35rem;
}
.hero-chart div { height: 4.62rem; display: flex; flex-direction: column; justify-content: end; gap: .15rem; text-align: center; }
.hero-chart small { color: var(--muted); line-height: 1.15; }
.hero-chart div span { width: 100%; background: #7293fa; transform-origin: bottom; }
.hero-chart div:nth-child(1) span { height: 80%; background: var(--blue); }
.hero-chart div:nth-child(2) span { height: 43.333%; background: #5379f6; }
.hero-chart div:nth-child(3) span { height: 30%; }

.case-poster {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--rule);
  background: var(--wash);
}

.app-film {
  margin: 0;
  min-width: 0;
  background: #111e3b;
  border: 1px solid #2a3c66;
  border-radius: .6rem;
  overflow: hidden;
}
.app-film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #111e3b; }
.app-film video:focus-visible { outline-color: #ccd9ff; outline-offset: -4px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-scene:not([hidden]) { animation: panel-arrive .32s ease-out both; }
  .hero-chart div span { animation: chart-grow .42s ease-out both; }
  .hero-map-overlay [data-hero-layer] { animation: feature-arrive .36s ease-out both; }
  .hero-tax-point { animation: feature-arrive .25s ease-out both; }
  .hero-tax-point:nth-child(2) { animation-delay: .16s; }
  .hero-tax-point:nth-child(3) { animation-delay: .32s; }
  @keyframes feature-arrive { from { opacity: 0; } }
  @keyframes panel-arrive { from { opacity: .6; transform: translateY(.25rem); } }
  @keyframes chart-grow { from { transform: scaleY(.18); } }
}
@media (max-width: 450px) {
  .hero-overlay .board-row { padding-inline: .64rem; font-size: .82rem; }
  .hero-overlay .board-row span { font-size: .7rem; }
}
