/* ==========================================================================
   Mobile typography & spacing pass (≤ 640px, with a few ≤ 920px tweaks).
   Loaded after theme.css / theme-pages.css so it wins on small screens.
   ========================================================================== */
@media (max-width: 920px) {
  .section {
    padding: clamp(44px, 9vw, 72px) 0;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section-head-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .page-hero {
    padding-bottom: 36px;
  }
  .page-hero .crumbs {
    margin-bottom: 22px;
  }
  .page-hero + .hazard + .section {
    padding-top: 40px;
  }
  .crumbs li:last-child {
    max-width: 60vw;
  }
  .crumbs li:last-child span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
  }
  .topbar-promo {
    font-size: .7rem;
    letter-spacing: 0;
    padding: 8px 0;
  }
  .float-contact {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.6;
  }
  h1 {
    font-size: clamp(2rem, 9.2vw, 2.6rem);
    letter-spacing: -.03em;
    line-height: 1.05;
  }
  h2 {
    font-size: clamp(1.5rem, 6.4vw, 1.85rem);
    line-height: 1.12;
  }
  h3 {
    font-size: 1.12rem;
  }
  .lede,
  .lead {
    font-size: 1.02rem;
    line-height: 1.55;
  }
  .eyebrow {
    font-size: .66rem;
    letter-spacing: .12em;
    margin-bottom: 12px;
  }
  .wrap,
  .wrap-wide {
    padding-left: 18px;
    padding-right: 18px;
  }
  .btn {
    padding: 13px 18px;
    font-size: .98rem;
  }
  .btn-lg {
    padding: 15px 22px;
    font-size: 1rem;
  }

  /* hero */
  .hero-grid {
    padding-top: 36px;
    padding-bottom: 40px;
    gap: 28px;
  }
  .hero h1 {
    margin-bottom: 14px;
  }
  .hero .lede {
    font-size: 1.02rem;
  }
  .hero-actions {
    margin: 22px 0 26px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-stats {
    gap: 14px 12px;
    padding-top: 20px;
  }
  .hero-stats strong {
    font-size: 1.35rem;
  }
  .hero-stats span {
    font-size: .66rem;
  }
  .hcar-tag {
    font-size: .66rem;
    left: 10px;
    bottom: 14px;
    right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hcar-arrow {
    width: 34px;
    height: 34px;
  }
  .ticker ul {
    min-height: 44px;
    font-size: .68rem;
  }
  .ticker li {
    padding: 0 18px;
  }

  /* page hero */
  .page-hero h1 {
    font-size: clamp(1.9rem, 8.6vw, 2.4rem);
    margin-bottom: 12px;
  }
  .page-hero-model .pl-price {
    font-size: 2.6rem;
  }
  .page-hero-model .hero-actions .btn {
    width: 100%;
  }
  .page-hero-model .spec-card {
    padding: 16px;
  }
  .gal-main img {
    height: 200px;
  }

  /* cards & grids */
  .card-pad,
  .selector,
  .est-panel,
  .q-aside-card,
  .story,
  .step,
  .ink-tile,
  .inc-card,
  .ccard,
  .rate-card,
  .model-card {
    padding: 18px;
  }
  .grid {
    gap: 14px;
  }
  .fleet-grid,
  .rate-grid {
    gap: 14px;
  }
  .mc-media img {
    height: 170px;
  }
  .mc-name {
    font-size: 1.2rem;
  }
  .mc-amount {
    font-size: 1.7rem;
  }
  .sel-grid {
    gap: 14px;
  }
  .chip-opt span {
    padding: 8px 12px;
    font-size: .86rem;
  }
  .est-result {
    padding: 18px;
  }
  .est-big strong {
    font-size: 2.3rem;
  }
  .est-lines {
    font-size: .88rem;
  }
  .est-lines li span:last-child {
    max-width: 55%;
    font-size: .8rem;
  }
  .est-actions .btn {
    width: 100%;
  }
  .power-callout {
    padding: 22px 18px;
    gap: 22px;
  }
  .ink-num {
    font-size: 2rem;
  }
  .photo-band img {
    height: 240px;
  }
  .photo-cap {
    bottom: 12px;
  }
  .photo-cap p {
    font-size: .66rem;
    white-space: normal;
  }
  .cta-inner h2 {
    font-size: 1.5rem;
  }
  .cta-actions .btn {
    width: 100%;
  }
  .trustbar ul {
    gap: 8px 20px;
  }

  /* articles */
  .prose {
    font-size: 1rem;
  }
  .prose h2 {
    font-size: 1.45rem;
    margin-top: 1.8em;
  }
  .prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: .86rem;
  }
  .prose th,
  .prose td {
    padding: 8px 10px;
    white-space: nowrap;
  }
  .answer-box,
  .insight-answer {
    padding: 16px 18px !important;
  }
  .answer-text {
    font-size: 1rem !important;
  }
  .toc {
    padding: 14px 16px;
  }
  .related-grid {
    grid-template-columns: 1fr !important;
  }
  .g-hero img,
  .editorial-image img {
    border-radius: 6px;
  }

  /* quote form */
  .quote-form,
  .q-success {
    padding: 18px;
  }
  .q-actions .btn {
    width: 100%;
  }
  .q-inline-note {
    text-align: center;
    width: 100%;
  }

  /* footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 18px;
    padding: 40px 0 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand img {
    height: 44px;
  }
  .footer-col a {
    font-size: .9rem;
    padding: 5px 0;
  }
  .footer-legal {
    font-size: .74rem;
    padding: 18px 0 24px;
    flex-direction: column;
    gap: 8px;
  }

  /* inner-page components */
  .loc-body,
  .ind-body {
    gap: 26px;
  }
  .spec-dl div {
    flex-direction: column;
    gap: 2px;
  }
  .spec-dl dd {
    text-align: left;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .fit-grid > div {
    padding: 18px;
  }
  .standout-list {
    columns: 1;
  }
  .picker {
    padding: 18px;
  }
  .vs-badge {
    font-size: .85rem;
  }
  .contact-cards-3 .card {
    padding: 20px;
  }
  .cbig {
    font-size: 1.15rem;
  }
  .stories {
    gap: 14px;
  }
  .story-quote {
    font-size: 1.05rem;
  }
}

@media (max-width: 400px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
  .mc-actions,
  .rate-actions {
    grid-template-columns: 1fr;
  }
}
