/* Responsive and accessible refinements to the original navy-and-cream site. */
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #98703c; outline-offset: 5px; }
section[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; padding: 12px 18px; background: var(--cream); color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.menu-toggle { display: none; color: var(--cream); background: transparent; border: 1px solid #b9aa93; border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.vehicle-link { width: 100%; border: 0; cursor: pointer; }
.car-card img { display: block; }
.booking-help { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 20px 0 0; }
.booking-help a, .widget-status a { text-decoration: underline; text-underline-offset: 3px; }
wheelbase-store { max-width: 100%; overflow-x: clip; }
.widget-status { padding: 18px; margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); background: var(--cream); line-height: 1.6; }
.gallery-modal { overflow-y: auto; }
.gallery-box { overflow-y: auto; }
.gallery-actions { flex-wrap: wrap; }
.gallery-counter { display: inline-block; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 18px; background: var(--cream); }
.gallery-thumb { flex: 0 0 66px; padding: 3px; border: 2px solid transparent; border-radius: 7px; background: transparent; cursor: pointer; }
.gallery-thumb[aria-current="true"] { border-color: var(--navy); }
.gallery-thumb img { width: 56px; height: 40px; object-fit: cover; display: block; border-radius: 3px; }
.gallery-main { min-height: 0; }
.gallery-main img { height: min(52vh, 530px); }
footer a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .navlinks { gap: 16px; }
  .brand { font-size: 18px; }
}
@media (max-width: 900px) {
  .nav { position: relative; }
  .menu-toggle { display: block; margin-left: auto; }
  .navlinks { display: none; position: absolute; top: 78px; left: -4.35%; right: -4.35%; padding: 18px 4%; background: var(--navy); border-top: 1px solid #384957; box-shadow: 0 12px 20px #06142230; }
  .navlinks.open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
  .navlinks a:not(.primary) { display: block; padding: 12px 8px; }
  .navlinks .primary { text-align: center; margin-top: 6px; }
}
@media (max-width: 620px) {
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .nav { height: 72px; gap: 10px; }
  .navlinks { top: 72px; }
  .hero { padding-top: 24px; }
  .hero-photo { min-height: 0; height: 290px; }
  .hero-copy h1 { font-size: clamp(36px, 9.5vw, 42px); }
  .hero-copy p { font-size: 16px; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .info-box { padding: 14px; }
  section { padding: 40px 0; }
  .section-head h2, .about-copy h2 { font-size: 32px; }
  .gallery-modal { padding: 10px; }
  .gallery-box { width: 100%; max-height: 94dvh; }
  .gallery-top { padding: 12px; gap: 12px; }
  .gallery-top h3 { font-size: 20px; }
  .gallery-close { flex-shrink: 0; }
  .gallery-main img { height: min(42dvh, 350px); }
  .gallery-bottom { padding: 12px; }
  .gallery-actions { width: 100%; }
  .gallery-actions button { flex: 1; }
  .gallery-actions a { width: 100%; text-align: center; }
  .booking-shell, .store { padding: 12px; }
  .back { padding: 10px; font-size: 13px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
