/* Model-family navigation sits directly beneath the opening film. */
#models {
  border-block-start: 0;
  padding-block-start: clamp(1.375rem, 2.6vw, 2.75rem);
}
@media (max-width: 800px) {
  #models .model-tabs {
    justify-content: flex-start;
    gap: 1.375rem;
    overflow: visible;
  }
}

/* Both model tabs use the same media frame. */
#models .model-panel-expanded .model-visual {
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 16 / 10;
  align-self: start;
}
#models .model-visual video { object-fit: cover; }
.model-context {
  display: block;
  margin-block-end: .45rem;
  color: var(--white);
  font-weight: 600;
}
.model-actions { margin-top: 1.5rem; }
.model-actions a {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  min-height: 44px;
  color: var(--green);
  font-size: .94rem;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-color: #54735e;
  text-underline-offset: .3em;
}
.model-actions a::after { content: "↗"; font-family: var(--mono); }
.model-actions a:hover { text-decoration-color: currentColor; }
@media (max-width: 1050px) {
  #models .model-panel-expanded .model-visual { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: no-preference) {
  #model-features .feature-arrival {
    animation: model-feature-arrival 430ms cubic-bezier(.16,.7,.3,1) var(--feature-delay, 0ms) backwards;
  }
  @keyframes model-feature-arrival {
    from { opacity: .48; transform: translateY(.55rem); }
    to { opacity: 1; transform: none; }
  }
}
