/* A phone uses a vertical product flow, with readable content at natural height. */
@media (max-width: 800px) {
  .vehicles-page .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-block: 12px 32px;
  }
  .vehicles-page .hero-layout { display: contents; container: none; }
  .vehicles-page .hero-content {
    position: relative;
    inset: auto;
    order: 1;
    width: 90%;
    margin-inline: auto;
    padding: 8px 0 24px;
  }
  .vehicles-page .hero h1 {
    max-width: 590px;
    margin: 0 0 14px;
    font-size: clamp(32px, 6.5vw, 42px);
    line-height: 1.16;
    letter-spacing: -.04em;
  }
  .vehicles-page .hero h1 br { display: none; }
  .vehicles-page .hero-description {
    max-width: 590px;
    font-size: 15px;
    line-height: 1.7;
  }
  .vehicles-page .hero-content .text-link { display: none; }

  .vehicles-page .hero-bottom {
    order: 2;
    width: 90%;
    height: 104px;
    margin: 0 auto 16px;
    border-top: 0;
    border-bottom: 1px solid #ffffff24;
  }
  .vehicles-page .vehicle-selectors { scrollbar-width: thin; scroll-padding-inline: 4px; }
  .vehicles-page .vehicle-selector {
    flex: 0 0 116px;
    min-width: 116px;
    min-height: 100px;
    padding: 10px 8px 12px;
    gap: 4px;
  }
  .vehicles-page .vehicle-selector svg { width: 92px; height: 40px; margin: 0; }
  .vehicles-page .selector-label { font-size: 13px; line-height: 1.35; }
  .vehicles-page .selector-label small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.35; }

  .vehicles-page .hero-showcase {
    position: relative;
    inset: auto;
    order: 3;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 12px;
    width: 90%;
    min-height: 0;
    margin: 0 auto;
    container: showcase / inline-size;
  }
  .vehicles-page .vehicle-stage {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 180px;
    max-height: 360px;
    aspect-ratio: 1672 / 941;
  }
  .vehicles-page .vehicle-image-wrap { position: absolute; inset: 0; height: auto; mask-image: none; }
  .vehicles-page .vehicle-image { object-fit: contain; object-position: center; }
  .vehicles-page .hero-specs {
    width: 100%;
    min-height: 0;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid #ffffff24;
  }
  .vehicles-page .hero-specs-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 16px;
    min-height: 0;
  }
  .vehicles-page .hero-specs h2,
  .vehicles-page .hero-specs[data-vehicle] h2 {
    min-height: 30px;
    padding: 0;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.025em;
    overflow-wrap: normal;
  }
  .vehicles-page .hero-specs #hero-drive { min-height: 0; margin: 4px 0 0; font-size: 14px; line-height: 1.6; }
  .vehicles-page .hero-specs-data { display: block; margin: 12px 0 20px; }
  .vehicles-page .hero-specs-data > div,
  .vehicles-page .hero-specs[data-vehicle] .hero-specs-data > div {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 16px;
    min-height: 44px;
    padding-block: 10px;
    border-bottom: 1px solid #ffffff18;
  }
  .vehicles-page .hero-specs-data dt {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    letter-spacing: 0;
    color: #c6d0d5;
  }
  .vehicles-page .hero-specs-data dd {
    min-height: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    text-align: right;
    overflow-wrap: break-word;
  }
  .vehicles-page .hero-details-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #ffffff40;
    border-radius: 4px;
    background: var(--ink-light);
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
  }
  .vehicles-page .hero-details-link:hover { background: var(--slate); }

  /* Keep the measured slots stronger than the phone's base typography rules. */
  .vehicles-page .hero-specs[data-hero-stable] .hero-specs-heading h2 { min-height: var(--hero-stable-name); }
  .vehicles-page .hero-specs[data-hero-stable] .hero-specs-data > div:nth-child(1) { min-height: var(--hero-stable-power); }
  .vehicles-page .hero-specs[data-hero-stable] .hero-specs-data > div:nth-child(2) { min-height: var(--hero-stable-speed); }
  .vehicles-page .hero-specs[data-hero-stable] .hero-specs-data > div:nth-child(3) { min-height: var(--hero-stable-range); }
}
