/* Phone layouts share a single gutter and reserve room for fixed controls. */
@media (max-width:700px) {
  :root {--phone-gutter:clamp(16px,4.6vw,26px);--phone-header:60px;--phone-offset:calc(var(--hol-bar-height,0px) + var(--phone-header) + 16px);}
  html {scroll-padding-block-start:var(--phone-offset);scrollbar-width:thin;scrollbar-color:auto;}
  html.holiday-season {scroll-padding-block-start:var(--phone-offset);}
  body {overflow-wrap:break-word;}
  .site-header,.site-header.is-scrolled {height:var(--phone-header);padding-inline:var(--phone-gutter);gap:8px;}
  .site-header .brand-original {max-width:43%;}
  .site-header .header-actions .btn-small {padding:8px 12px;min-height:42px;}
  .holiday-season .mobile-menu:not([hidden]),.mobile-menu:not([hidden]) {
    top:calc(var(--hol-bar-height,0px) + var(--phone-header));translate:none;
    max-height:calc(100dvh - var(--hol-bar-height,0px) - var(--phone-header));overflow:auto;overscroll-behavior:contain;
  }
  .site-header .christmas-lights {height:27px;}
  .holiday-bar {gap:5px;padding-inline:5px;}
  body.js-motion .reveal,body.cinematic-ready .car-card.motion-card {opacity:1;transform:none;translate:none;}
  .section {padding-inline:var(--phone-gutter);}
  .section-heading h1,.section-heading h2 {text-wrap:balance;}
  .corvette-hero.hero {min-height:0;gap:12px;padding:calc(var(--phone-header) + 28px) var(--phone-gutter) 20px;}
  .corvette-hero .hero-content {padding:0;gap:0;}
  .corvette-hero .hero-eyebrow {margin:0 0 8px;font-size:.6875rem;letter-spacing:.1em;}
  .studio-edition .corvette-hero h1 {font-size:clamp(2.9rem,13.2vw,4.4rem);line-height:.98;margin:0;}
  .corvette-hero .hero-description {margin:6px 0 0;max-width:none;font-size:.9375rem;line-height:1.45;}
  .holiday-season .hero-content .holiday-ticket {display:none;}
  .corvette-hero .hero-buttons {margin-top:10px;gap:16px;flex-wrap:wrap;align-items:center;}
  .corvette-hero .hero-buttons .btn {min-height:44px;padding:10px 14px;font-size:.8125rem;gap:10px;}
  .corvette-hero .hero-buttons .text-link {font-size:.8125rem;gap:6px;min-height:44px;white-space:nowrap;}
  .corvette-hero .showcase-top {min-height:40px;padding:0 12px;}
  .corvette-hero .spotlight-image {aspect-ratio:1.65;}
  .studio-edition .corvette-hero .spotlight-info {min-height:0;padding:10px 14px;}
  .studio-edition .corvette-hero .spotlight-info h2 {font-size:clamp(1.55rem,7.8vw,2.25rem);margin:3px 0 0;}
  .corvette-hero .spotlight-rate strong {font-size:1.65rem;}
  .corvette-hero .featured-action {padding:5px 14px 12px;gap:8px;justify-content:space-between;}
  .corvette-hero .featured-action p {font-size:.75rem;line-height:1.4;}
  .corvette-hero .featured-action .btn {min-height:44px;padding:8px 12px;}
  .corvette-hero .showcase-bottom {display:none;}
  .corvette-hero .hero-bottom {min-height:0;padding:0;gap:10px;justify-content:space-between;}
  .corvette-hero .hero-bottom .hero-caption,.corvette-hero .hero-facts {display:none;}
  .corvette-hero .motion-control {min-height:44px;}
  .corvette-hero .spotlight-tabs button {font-size:.75rem;line-height:1.2;min-height:44px;}
  .redline-ribbon {display:none;}

  /* Show the fleet photography before asking visitors to choose filters. */
  .route-content:has(> .fleet-section),.route-content:has(> .chauffeur-section) {padding-top:calc(var(--phone-header) + 14px);}
  .fleet-section.section {padding-block:32px 38px;}
  .fleet-section .section-top {display:none;}
  .fleet-section .section-heading {margin:0 0 16px;gap:8px;display:grid;}
  .fleet-section .section-heading :is(h1,h2) {font-size:clamp(2.35rem,9vw,3.6rem);line-height:1;letter-spacing:-.025em;margin:0;}
  .fleet-section .section-heading p {font-size:.9375rem;line-height:1.45;margin:0;}
  .fleet-price-toolbar {display:block;margin:0;padding:0;}
  .fleet-price-toolbar > div > .mini-label {display:none;}
  .fleet-price-toolbar .price-periods {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;}
  .fleet-price-toolbar .price-periods button {min-height:44px;padding:5px;font-size:.8125rem;}
  .fleet-price-toolbar .price-periods span {font-size:.6875rem;}
  .holiday-season .fleet-price-toolbar > .holiday-rate-note {margin:9px 0 0;font-size:.8125rem;}
  .fleet-price-context {margin:6px 0 12px;font-size:.8125rem;line-height:1.45;}
  .mobile-fleet-options {margin:0 0 14px;border:1px solid #484449;background:#17171a;}
  .mobile-fleet-options summary {display:flex;align-items:center;gap:10px;padding:12px 14px;min-height:48px;cursor:pointer;list-style:none;}
  .mobile-fleet-options summary::-webkit-details-marker {display:none;}
  .mobile-fleet-options summary strong {color:#fff;font-size:.9375rem;}
  .mobile-fleet-options summary span {color:#d1cccc;margin-left:auto;font-size:.8125rem;}
  .mobile-fleet-options summary::after {content:'';width:8px;height:8px;border:solid #eee;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin:-4px 2px 0 4px;}
  .mobile-fleet-options[open] summary::after {transform:rotate(225deg);margin-top:4px;}
  .mobile-fleet-options[open] {padding-bottom:12px;}
  .mobile-fleet-options > :not(summary) {margin:10px 12px 0;}
  .mobile-fleet-options .fleet-discovery {display:grid;gap:10px;padding:0;}
  .mobile-fleet-options .budget-control,.mobile-fleet-options .fleet-brand-field,.mobile-fleet-options .fleet-search-field {display:grid;gap:4px;font-size:.75rem;letter-spacing:.04em;}
  .mobile-fleet-options :is(input,select) {width:100%;min-width:0;font-size:16px;min-height:44px;}
  .mobile-fleet-options .filter-tabs {display:flex;flex-wrap:wrap;gap:6px;width:100%;overflow:visible;}
  .mobile-fleet-options .filter-tabs button {padding:6px 10px;min-height:44px;font-size:.8125rem;}
  .mobile-fleet-options .sort-control {width:100%;margin-top:10px;}
  .mobile-fleet-options .fleet-discovery-status {min-height:0;flex-wrap:wrap;gap:8px;}
  .mobile-fleet-options #fleet-search-help,.mobile-fleet-options #fleet-result-count {display:none;}
  .mobile-show-results {width:calc(100% - 24px);min-height:44px;border:1px solid #dcbf92;color:#fce9c8;background:#242521;font:650 .875rem Manrope,sans-serif;}
  .fleet-section .fleet-layout-tools {display:none;}
  .fleet-grid,.fleet-grid.full-collection {margin-top:0;gap:18px;}
  .fleet-grid .car-card,.fleet-grid.full-collection .car-card:last-child {margin:0;min-height:0;}
  .fleet-grid .card-image-link,.fleet-grid.full-collection .car-card:last-child .card-image-link {height:auto;aspect-ratio:1.62;}
  .fleet-grid .card-content,.fleet-grid.full-collection .car-card:last-child .card-content {padding:14px 16px;gap:0;min-width:0;}
  .fleet-grid .card-info {gap:8px;}
  .fleet-grid .card-info h3,.fleet-grid.full-collection .car-card:last-child h3 {font-size:clamp(1.65rem,7.6vw,2.4rem);line-height:1.05;margin:3px 0;}
  .fleet-grid .vehicle-edition {margin:3px 0;font-size:.8125rem;}
  .fleet-grid .card-description {margin:8px 0 0;font-size:.9375rem;line-height:1.45;}
  .fleet-grid .card-highlights,.fleet-grid .card-long-stay {display:none;}
  .fleet-grid .card-bottom {margin-top:12px;padding-block:10px;gap:10px;}
  .fleet-grid .card-book {white-space:nowrap;font-size:.8125rem;padding:8px 11px;}
  .fleet-grid .card-price {line-height:1.12;}
  .fleet-grid .compare-car {margin-top:0;min-height:44px;font-size:.8125rem;}
  .fleet-grid .card-photo-strip {padding-inline:12px;}
  .card-image-link:focus {scroll-margin-top:12px;}

  /* A vehicle photo has its own frame, independent of the rate panel's height. */
  .chauffeur-section {display:grid;grid-template-columns:minmax(0,1fr);min-height:0;gap:14px;padding:30px var(--phone-gutter);background:#101719;}
  .chauffeur-section .chauffeur-content {order:0;padding:0;max-width:none;}
  .chauffeur-section .chauffeur-content :is(h1,h2) {font-size:clamp(2.55rem,10.5vw,3.8rem);line-height:.98;margin:7px 0 9px;}
  .chauffeur-section .chauffeur-content p:not(.eyebrow) {font-size:.9375rem;line-height:1.45;margin:0;}
  .chauffeur-section .chauffeur-content > .btn,.chauffeur-section .chauffeur-shade {display:none;}
  .studio-edition .chauffeur-section .chauffeur-bg {order:1;position:static;inset:auto;width:100%;height:auto;aspect-ratio:1.65;object-fit:cover;opacity:1;filter:none;scale:none;translate:none;transform:none;border:1px solid #454641;}
  .chauffeur-section .chauffeur-selector {order:2;margin:0;padding:0;}
  .chauffeur-selector > .mini-label {margin:0 0 6px;font-size:.6875rem;}
  #chauffeur-cars {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  #chauffeur-cars button {display:grid;text-align:left;gap:4px;min-width:0;padding:8px 10px;min-height:64px;}
  #chauffeur-cars button > i,#chauffeur-cars button > span:first-child small {display:none;}
  #chauffeur-cars button > span:first-child {font-size:.9375rem;line-height:1.25;}
  #chauffeur-cars .chauffeur-tab-rate {font-size:.8125rem;}
  .chauffeur-section .chauffeur-rate-panel {order:3;margin:0;padding:16px;max-width:none;}
  .chauffeur-rate-panel > .mini-label {font-size:.6875rem;}
  .chauffeur-rate-panel h3 {margin:6px 0 0;font-size:1.9rem;}
  .chauffeur-rate-panel .vehicle-edition {margin:3px 0;}
  .chauffeur-rate-panel .chauffeur-price {margin:10px 0 0;}
  .chauffeur-rate-panel .chauffeur-minimum {margin:8px 0;padding:8px 0;}
  .chauffeur-rate-panel > p:not(.holiday-rate-note) {margin:8px 0;font-size:.875rem;line-height:1.45;}
  .chauffeur-rate-panel .btn {width:100%;min-height:46px;margin:5px 0;}
  .chauffeur-rate-panel > small {font-size:.75rem;line-height:1.4;}

  .route-detail {padding-top:calc(var(--phone-header) + 18px);}
  .route-detail .route-breadcrumb {padding:8px var(--phone-gutter);margin:0;font-size:.8125rem;}
  .route-detail .vehicle-layout {padding:6px var(--phone-gutter) 24px;gap:14px;}
  .route-detail .gallery-main {height:auto;aspect-ratio:1.35;}
  .gallery-main {touch-action:pan-y pinch-zoom;}
  .route-detail .gallery-thumbs {gap:5px;margin-top:6px;}
  .route-detail .gallery-thumbs button {min-height:44px;max-height:58px;}
  .route-detail .vehicle-copy h1 {font-size:clamp(2.35rem,10vw,3.6rem);line-height:1.05;margin:4px 0;}
  .route-detail .vehicle-copy > p {font-size:.9375rem;line-height:1.5;}
  .route-detail .vehicle-copy > .eyebrow {font-size:.6875rem;}
  .route-quickbook {padding:8px var(--phone-gutter) calc(8px + env(safe-area-inset-bottom));min-height:0;gap:10px;align-items:center;}
  .route-quickbook > div {min-width:0;display:flex;align-items:baseline;flex-wrap:wrap;column-gap:4px;}
  .route-quickbook strong {font-size:1.35rem;line-height:1.1;}
  .route-quickbook > div > span {width:100%;font-size:.6875rem;}
  .route-quickbook .btn {width:auto;min-width:0;flex:0 0 auto;min-height:44px;white-space:nowrap;font-size:.875rem;padding:8px 13px;gap:7px;}
  .has-comparison .route-quickbook {display:none;}
  :is(.booking-dialog,.vehicle-dialog,.compare-dialog) {scrollbar-width:thin;scrollbar-color:auto;}
  .booking-dialog .booking-main {padding:10px var(--phone-gutter) calc(12px + env(safe-area-inset-bottom));}
  .booking-progress {margin-bottom:10px;gap:3px;align-items:center;}
  .booking-progress button {gap:4px;min-height:42px;font-size:.75rem;}
  .booking-progress button span {font-size:.75rem;}
  .booking-progress button b {font:600 .75rem/1.2 Manrope,sans-serif;}
  .booking-main .holiday-booking-note {margin:0 0 12px;padding:7px 10px;font-size:.8125rem;line-height:1.35;}
  #booking-step .step-heading {margin:0 0 14px;padding:0;}
  #booking-step .step-heading .eyebrow {display:none;}
  #booking-step .step-heading h2 {font-size:clamp(1.65rem,7vw,2.25rem);line-height:1.05;margin:0;}
  #booking-step .step-heading > p:last-child {margin:6px 0 0;font-size:.875rem;line-height:1.4;}
  .booking-dialog .segmented button {min-height:44px;padding:7px;font-size:.8125rem;}
  #booking-form .field :is(select,input,textarea),#quick-plan-form :is(input,select) {font-size:16px;}
  .booking-main .booking-navigation {padding:8px 0 calc(8px + env(safe-area-inset-bottom));gap:8px;}
  .booking-navigation .btn {min-height:44px;padding:9px 14px;font-size:.875rem;}
  .booking-navigation #booking-back {min-height:44px;font-size:.875rem;}
  #booking-step :is(input,select,textarea) {scroll-margin-block:68px 84px;}
  .studio-edition .corvette-hero .hero-buttons {display:grid;grid-template-columns:max-content 1fr;gap:10px;width:100%;align-items:center;}
  .studio-edition .corvette-hero .hero-buttons > .btn {width:auto;min-width:0;max-width:none;font-size:.8125rem;padding:8px 12px;gap:6px;}
  .studio-edition .corvette-hero .hero-buttons .text-link {justify-self:start;min-width:0;font-size:.8125rem;min-height:44px;padding:0;gap:4px;}
  .studio-edition .hero-buttons .btn span {width:16px;}
  .studio-edition :is(.section-heading,.chauffeur-content,.quick-plan-heading,.terms-side) :is(h1,h2) em {background:none;-webkit-text-fill-color:#e5dfd2;color:#e5dfd2;}
  .quick-plan.section {padding:32px var(--phone-gutter);}
  .quick-plan-heading {margin:0 0 16px;}
  .quick-plan-heading h2 {font-size:clamp(2rem,8.5vw,3rem);line-height:1.02;margin:4px 0 8px;}
  .quick-plan-heading > p {font-size:.9375rem;line-height:1.45;}
  .quick-plan-heading > .eyebrow {font-size:.6875rem;}
  .trip-planner-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:12px;}
  .trip-planner-layout .trip-preview {display:flex;align-items:center;gap:14px;height:auto;min-height:0;aspect-ratio:auto;margin:0;background:#12171b;}
  .trip-preview::after,.trip-preview figcaption .mini-label {display:none;}
  .trip-planner-layout .trip-preview img {position:static;flex:none;inset:auto;width:96px;height:78px;object-fit:cover;transform:none;}
  .trip-planner-layout .trip-preview figcaption {position:static;display:grid;gap:2px;padding:4px 10px 4px 0;line-height:1.2;background:none;}
  .trip-preview #quick-preview-name {font-size:1.2rem;line-height:1.1;}
  .trip-preview #quick-preview-edition,.trip-preview #quick-preview-rate {font-size:.8125rem;line-height:1.3;}
  #quick-plan-form {gap:12px;}
  .booking-main #booking-step .field {margin-block:0 12px;}
  .booking-main #booking-step .field-row {margin-block:0 10px;}
  .booking-main #booking-step .field-row .field {margin:0;}
  .booking-dialog[open],.booking-dialog[open] .booking-main {animation:none;}
}
@media (min-width:360px) and (max-width:700px) {
  #quick-plan-form,.booking-main .field-row.booking-dates {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  #quick-plan-form > * {grid-column:1/-1;}
  #quick-plan-form > label:has(input[type=date]) {grid-column:auto;}
  #quick-plan-form input[type=date],.booking-dates input:is([type=date],[type=time]) {width:100%;max-width:100%;min-width:0;padding-inline:7px;}
}
@media (max-width:359px) {
  .studio-edition .corvette-hero .hero-buttons > .btn span {display:none;}
}

@media (max-width:820px) {
  .mobile-navigation-open .route-quickbook,.mobile-navigation-open .compare-tray {visibility:hidden;}
  .mobile-navigation-open #mobile-menu {max-height:calc(100dvh - 108px);overflow-y:auto;overscroll-behavior:contain;}
}

@media (max-width:700px) {
  #compare-dialog {padding:18px 12px 16px;scroll-padding-top:54px;}
  #compare-dialog > .close-button {position:sticky;top:0;float:right;z-index:2;width:44px;height:44px;background:#161819;}
  #compare-dialog > .eyebrow {margin:12px 0 8px;}
  #compare-dialog > h2 {clear:both;margin:0 0 10px;}
  #compare-dialog > p:not(.eyebrow) {font-size:.8125rem;line-height:1.5;}
  #compare-dialog:has(article:nth-child(3)) > p:last-of-type::after {content:"Swipe to see all three cars.";display:block;margin-top:8px;font-weight:600;color:white;}
  #compare-grid {clear:both;display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc((100% - 8px)/2);gap:0 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-color:#ab8a62 #222;scrollbar-width:thin;margin-top:14px;padding-bottom:8px;}
  #compare-grid:has(> article:only-child) {grid-auto-columns:100%;}
  #compare-grid article {display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 7;gap:0;padding:8px;min-width:0;scroll-snap-align:start;}
  #compare-grid article > * {grid-column:1;grid-row:auto;margin:0;}
  #compare-grid img {width:100%;height:clamp(82px,21vw,128px);object-fit:cover;}
  #compare-grid .mini-label {padding:8px 0 2px;}
  .studio-edition #compare-grid h3 {font-size:1.35rem;line-height:1.08;overflow-wrap:anywhere;}
  #compare-grid .vehicle-edition {min-height:0;padding:3px 0 8px;}
  #compare-grid dl > div {display:grid;gap:2px;padding:6px 0;font-size:.75rem;line-height:1.3;}
  #compare-grid dd {font-size:.875rem;}
  #compare-grid article > p:last-of-type {font-size:.75rem;line-height:1.4;padding:7px 0;}
  #compare-grid .btn {min-width:0;min-height:44px;padding:6px;font-size:.75rem;white-space:normal;text-align:center;align-self:end;}
}
