.hero {
  --hero-header: 91px;
  position: relative;
  isolation: isolate;
  display: block;
  height: calc(100svh - var(--hero-header));
  min-height: 650px;
  padding: 0;
  color: #fff;
  background: #142e24;
}
.hero-scene, .hero-frame, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-scene { z-index: -2; overflow: hidden; }
.hero-frame {
  object-fit: cover;
  object-position: 55% 10%;
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-frame.is-active { opacity: 1; }
/* These scrims keep copy readable over both daylight and night photography. */
.hero::after {
  content: '';
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, #07140cce 0%, #07140c75 25%, #07140c00 54%), linear-gradient(0deg, #07140cee 0%, #07140c00 36%);
}
.hero-content { height: 100%; position: relative; padding-top: clamp(30px, 5vh, 64px); padding-bottom: 22px; display: flex; flex-direction: column; }
.hero .hero-copy { padding: 0; }
.hero h1 { font-size: clamp(42px, 4.3vw, 64px); line-height: 1.08; letter-spacing: -.035em; white-space: normal; font-weight: 550; }
.hero h1 span { color: var(--lime); }
.hero .hero-description { font-size: 15px; line-height: 1.6; color: #fff; margin-top: 22px; }
.hero-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 24px; font-size: 13px; text-decoration: none; border-bottom: 1px solid #ffffff80; padding-bottom: 7px; }
.hero-link:hover { color: var(--lime); border-color: var(--lime); }
.hero-console { margin-top: auto; padding-top: 30px; max-width: 790px; }
.hero-console-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: 13px; }
.hero-state { font-size: 12px; color: #deecd9; }
.hero-controls { display: flex; justify-content: space-between; gap: 24px; }
.hero-control-group { display: flex; }
.hero-control { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 13px 20px; font-size: 13px; font-weight: 500; line-height: 1.2; border: 1px solid #7a9486; background: #142e24; color: white; transition: background .18s ease, color .18s ease; }
.hero-control + .hero-control { margin-left: -1px; }
.hero-control:hover { background: #2b4938; }
.hero-control[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #142e24; position: relative; }
.hero-control:focus-visible, .hero-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; z-index: 1; }
.hero-control .ic { width: 19px; height: 19px; }
.hero-error { background: #142e24; color: white; font-size: 12px; padding: 8px 12px; margin-top: 8px; }
.hero-disclaimer { margin-top: 16px; font-size: 10px; color: #d5e2d4; }
@media (max-width: 850px) {
  .hero { --hero-header: 77px; }
  .hero h1 { font-size: 46px; }
  .hero-controls { gap: 16px; }
  .hero-control { padding-inline: 16px; }
}
@media (max-width: 600px) {
  .hero { --hero-header: 71px; min-height: 680px; }
  .hero-content { padding-top: 28px; padding-bottom: 16px; }
  .hero h1 { font-size: clamp(34px, 8.8vw, 47px); }
  .hero .hero-description { font-size: 13px; margin-top: 16px; }
  .hero-link { font-size: 12px; margin-top: 16px; gap: 14px; }
  .hero-frame { object-position: 54% center; }
  .hero::after { background: linear-gradient(180deg, #07140cbd 0%, #07140c30 43%, #07140c00 53%, #07140cf2 84%); }
  .hero-console { padding-top: 32px; }
  .hero-console-top { display: block; margin-bottom: 10px; }
  .hero-state { margin-top: 3px; font-size: 11px; }
  .hero-controls { flex-direction: column; gap: 10px; }
  .hero-control-group { width: 100%; }
  .hero-control { flex: 1; min-height: 48px; padding: 12px 8px; font-size: 12px; gap: 8px; }
  .hero-disclaimer { margin-top: 12px; font-size: 9px; }
}
@media (max-height: 650px) and (min-width: 601px) {
  .hero { min-height: 560px; }
  .hero-content { padding-top: 26px; }
  .hero h1 { font-size: 42px; }
  .hero .hero-description { margin-top: 16px; }
  .hero-link { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hero-frame, .hero-control { transition: none; } }
