/* EVNETICS vehicles.css (owner B) · v3 search by vehicle: hub, cinematic brand pages, image credits.
   Loaded after main.css (A) and widgets.css (C); uses A's tokens (--ground, --card, --brand-text, --banner-*, --rec-bg,
   --img-bg, --r-lg ...) and shared classes (.wrap, .btn, .chips, .eyebrow, .lede, .table-wrap).
   The colours this file adds are tokens too, light and dark, below. */

/* ------------------------------------------------------------------ 1. tokens */
:root {
  --v-stage-top: #F4F6FA;
  --v-stage-bottom: #E3E9F1;
  --v-floor: rgba(11, 18, 32, .22);
  --v-illus-ink: #8C97A8;
  --v-tile-shade: linear-gradient(0deg, rgba(5, 9, 16, .78) 0%, rgba(5, 9, 16, .35) 55%, rgba(5, 9, 16, .35) 100%);
  --v-scrim-phone: linear-gradient(0deg, rgba(5, 9, 16, .92) 0%, rgba(5, 9, 16, .74) 55%, rgba(5, 9, 16, .3) 100%);
  --v-banner-placeholder: #556074;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --v-stage-top: #1A2230;
    --v-stage-bottom: #10161F;
    --v-floor: rgba(0, 0, 0, .55);
    --v-illus-ink: #6F7C91;
  }
}
:root[data-theme="dark"] {
  --v-stage-top: #1A2230;
  --v-stage-bottom: #10161F;
  --v-floor: rgba(0, 0, 0, .55);
  --v-illus-ink: #6F7C91;
}

/* controls that only work with JS (the lists below stay complete without it) */
.no-js .v-bsearch, .no-js .v-filterbar, .no-js .v-hsearch { display: none; }

/* ------------------------------------------------------------------ 2. brand banner (section 7) */
.v-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 460px;
  background: var(--banner-ground); color: var(--banner-ink);
}
.v-banner--plain { background: var(--brand-deep); }
.v-banner-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: var(--pos, 60% 50%);
}
.v-scrim { position: absolute; inset: 0; z-index: -1; background: var(--banner-scrim); }
.v-banner-in { padding-block: 72px 64px; display: flex; flex-direction: column; gap: 18px; }
.v-banner-in > * { max-width: 620px; margin: 0; }
.v-crumbs { font-size: 15px; color: var(--banner-ink-muted); }
.v-crumbs a { color: inherit; }
.v-crumbs a:focus-visible, .v-bsearch input:focus-visible { outline-color: var(--banner-ink); }
.v-banner h1 { color: var(--banner-ink); font-size: clamp(44px, 5vw, 76px); line-height: 1; }
.v-banner-lede { font-size: 21px; line-height: 1.5; color: var(--banner-ink-muted); }
.v-bsearch { display: flex; flex-direction: column; gap: 8px; max-width: 460px; margin-top: 4px; }
.v-bsearch label { font-size: 15px; font-weight: 600; color: var(--banner-ink); }
.v-bsearch input,
.v-bsearch input:hover {
  min-height: 54px; padding: 14px 22px; border-radius: var(--r-pill);
  background: var(--banner-input); color: var(--banner-input-ink); border-color: var(--banner-input-line);
  color-scheme: light;
}
.v-bsearch input::placeholder { color: var(--v-banner-placeholder); }
.v-bsearch input:focus-visible { border-radius: var(--r-pill); border-color: var(--banner-input-line); }

/* ------------------------------------------------------------------ 3. filter pills */
.v-filterbar { padding-block: 40px 8px; }
.v-pills { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.v-pills-l { font-size: 15px; font-weight: 600; color: var(--muted); margin-right: 6px; }
.v-pills-sep { width: 1.5px; height: 28px; background: var(--line); margin-inline: 4px; }
.v-pill {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 9px 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
  font-size: 16px; font-weight: 600; line-height: 1.2;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.v-pill:hover { border-color: var(--ink); }
.v-pill-n { font-weight: 500; color: var(--muted); }
.v-pill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.v-pill[aria-pressed="true"] .v-pill-n { color: var(--on-brand-muted); }
.v-pill:focus-visible { border-radius: var(--r-pill); }

/* ------------------------------------------------------------------ 4. model cards */
.v-models { padding-block: 24px 80px; }
.v-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.v-card { min-width: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.v-card-in {
  height: 100%; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--r-lg); overflow: hidden;
}
.v-card:target .v-card-in { border-color: var(--brand-text); box-shadow: 0 0 0 2px var(--brand-text); }

.v-media, .v-rmedia { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--img-bg); }
.v-media img, .v-rmedia img { width: 100%; height: 100%; max-width: none; }
.v-media--photo img, .v-rmedia--photo img { object-fit: cover; object-position: var(--pos, 50% 50%); }
/* studio render on a soft stage, with a floor shadow */
.v-media--render, .v-media--illus, .v-rmedia--render, .v-rmedia--illus {
  background: linear-gradient(180deg, var(--v-stage-top) 0%, var(--v-stage-bottom) 100%);
  display: flex; align-items: flex-end; justify-content: center;
}
.v-media--render { padding: 9% 8% 10%; }
.v-rmedia--render { padding: 8% 6% 9%; }
.v-media--render::after, .v-rmedia--render::after {
  content: ""; position: absolute; left: 16%; right: 16%; bottom: 7%; height: 9%;
  background: radial-gradient(closest-side, var(--v-floor), transparent);
}
.v-media--render img, .v-rmedia--render img { position: relative; z-index: 1; object-fit: contain; object-position: 50% 100%; }
/* body-type line drawing, painted in the theme colour through the SVG as a mask */
.v-media--illus, .v-rmedia--illus { align-items: center; }
.v-illus {
  display: block; width: 80%; aspect-ratio: 480 / 200;
  background: var(--v-illus-ink);
  -webkit-mask: var(--illus) center / contain no-repeat; mask: var(--illus) center / contain no-repeat;
}

.v-card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.v-card-body > * { margin: 0; }
.v-card-title {
  font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.v-card-meta { font-size: 15px; color: var(--muted); }
.v-rec {
  margin-top: 6px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--rec-bg);
  display: flex; flex-direction: column; gap: 2px;
}
.v-rec p { margin: 0; }
.v-rec-k { font-size: 14px; color: var(--muted); }
.v-rec-v { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--brand-text); }
.v-rec-c { font-size: 15px; line-height: 1.45; color: var(--muted); }

.v-more { font-size: 16px; }
.v-more > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--brand-text); font-weight: 600;
}
.v-more > summary::-webkit-details-marker { display: none; }
.v-more > summary::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.v-more[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.v-more > summary:focus-visible { border-radius: 6px; }
.v-specs { margin: 4px 0 12px; display: flex; flex-direction: column; }
.v-specs > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 9px 0; border-top: 1px solid var(--line); }
.v-specs dt { color: var(--muted); font-size: 15px; }
.v-specs dd { margin: 0 0 0 auto; font-weight: 600; font-size: 15px; text-align: right; overflow-wrap: anywhere; }
.v-specs > .v-spec-long { flex-direction: column; }
.v-specs > .v-spec-long dd { margin: 0; text-align: left; font-weight: 500; line-height: 1.5; }
.v-more-p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.v-ask {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; font-size: 16px; color: var(--brand-text);
}
.v-none { margin-top: 24px; font-size: 18px; color: var(--muted); }
.v-credit-line { margin: 32px 0 0; font-size: 15px; color: var(--muted); }
.v-credit-line.teaser-credit { margin-top: 16px; }

/* ------------------------------------------------------------------ 5. how we recommend (generated partial) */
.v-hwr { background: var(--surface); }
.v-hwr-in { padding-block: 72px; display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.v-hwr-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.v-hwr-copy > * { margin: 0; }
.v-hwr h2 { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.15; }
.v-hwr-copy p { color: var(--muted); }
.v-hwr .table-wrap { flex: 1 1 520px; min-width: 0; }
.v-hwr-table { font-size: 17px; }
.table-wrap .v-hwr-table { min-width: 0; }
.v-hwr-table td:last-child { font-weight: 600; white-space: nowrap; }
.v-hwr-table th:last-child, .v-hwr-table td:last-child { padding-right: 0; }

/* ------------------------------------------------------------------ 6. "Not sure which <Brand>" band */
.v-band { background: var(--brand); color: var(--on-brand); }
.v-band-in { padding-block: 64px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.v-band-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.v-band-copy > * { margin: 0; }
.v-band h2 { color: var(--on-brand); font-size: clamp(28px, 2.6vw, 34px); line-height: 1.15; }
.v-band p { font-size: 19px; color: var(--on-brand-muted); max-width: 36em; }
.v-band-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.v-band .btn:focus-visible { outline-color: var(--on-brand); }

/* ------------------------------------------------------------------ 7. hub: search first */
.v-hub-hero { padding-block: 72px 40px; }
.v-hub-hero .wrap > * { margin: 0; }
.v-hub-hero .wrap > h1 { margin-top: 14px; max-width: 15em; }
.v-hub-hero .wrap > .lede { margin-top: 18px; }
.v-hub-hero .wrap > .v-hsearch { margin-top: 36px; }
.v-hub-hero .wrap > .v-results { margin-top: 28px; }
.v-hsearch { max-width: 760px; display: flex; flex-direction: column; gap: 10px; }
.v-hsearch-l { font-size: 15px; font-weight: 600; }
.v-hsearch-row { position: relative; }
.v-hsearch-icon { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.v-hsearch-row input {
  min-height: 66px; padding: 16px 24px 16px 60px; border-radius: var(--r-pill);
  font-size: 20px; box-shadow: var(--shadow);
}
.v-hsearch-row input:focus-visible { border-radius: var(--r-pill); }
.v-filters { margin-top: 4px; }
.v-filters > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 16px; color: var(--brand-text);
}
.v-filters > summary::-webkit-details-marker { display: none; }
.v-filters > summary::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.v-filters[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.v-filters > summary:focus-visible { border-radius: 6px; }
.v-filters-in { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 4px; }
.v-filters .v-pills-l { min-width: 4.6em; }

.js .v-results:not(.is-on) { display: none; }
.v-count { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--muted); }
.v-rlist { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 12px; }
.v-r-a {
  height: 100%; display: flex; align-items: center; gap: 16px; padding: 10px 18px 10px 10px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 18px;
  color: var(--ink); text-decoration: none;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.v-r-a:hover { box-shadow: var(--shadow-lift); border-color: transparent; }
.v-r-a:focus-visible { border-radius: 18px; }
.v-rmedia { flex: none; width: 168px; border-radius: 12px; }
.v-r-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v-r-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.v-r-meta { font-size: 14px; color: var(--muted); }
.v-r-rec { font-size: 15px; color: var(--muted); line-height: 1.4; }
.v-r-rec strong { color: var(--ink); white-space: nowrap; }
.v-more-btn { margin-top: 18px; }

/* brand tiles: the banner photo, 4:3, darkened, with the name over it */
.v-brands { padding-block: 40px 96px; }
.v-brands h2 { margin: 0 0 28px; font-size: clamp(28px, 2.6vw, 34px); line-height: 1.15; }
.v-tiles { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.v-tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  aspect-ratio: 4 / 3; padding: 18px 20px; border-radius: var(--r-lg);
  background: var(--brand-deep); color: var(--banner-ink); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.v-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.v-tile:focus-visible { border-radius: var(--r-lg); }
.v-tile img { position: absolute; z-index: -2; max-width: none; transition: transform .5s var(--ease); }
.v-tile--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 60% 50%); }
.v-tile--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--v-tile-shade); }
.v-tile--photo:hover img { transform: scale(1.04); }
/* no photo yet: a quiet tile on the same soft stage as the model cards, so the photo tiles lead */
.v-tile--render, .v-tile--plain {
  background: linear-gradient(180deg, var(--v-stage-top) 0%, var(--v-stage-bottom) 100%);
  color: var(--ink); box-shadow: inset 0 0 0 1px var(--card-line);
}
.v-tile--render .v-tile-n, .v-tile--plain .v-tile-n { color: var(--muted); }
.v-tile--render img { left: 9%; top: 9%; width: 82%; height: 54%; object-fit: contain; object-position: 50% 100%; }
.v-tile--render:hover img { transform: translateY(-2px) scale(1.03); }
.v-tile-illus {
  position: absolute; z-index: -1; left: 14%; right: 14%; top: 16%; aspect-ratio: 480 / 200;
  background: var(--v-illus-ink); opacity: .5;
  -webkit-mask: var(--illus) center / contain no-repeat; mask: var(--illus) center / contain no-repeat;
}
.v-tile-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.v-tile-n { font-size: 15px; color: var(--banner-ink-muted); }

/* ------------------------------------------------------------------ 8. image credits page */
.v-page-head { padding-block: 72px 24px; }
.v-page-head .wrap { display: flex; flex-direction: column; gap: 18px; }
.v-page-head .wrap > * { margin: 0; }
.v-credits { padding-bottom: 96px; }
.v-credit-group { margin-top: 48px; }
.v-credit-group h2 { margin: 0 0 16px; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.v-credit-group h2 a { color: inherit; text-decoration: none; }
.v-credit-group h2 a:hover { text-decoration: underline; }
.v-credits-table { font-size: 16px; table-layout: fixed; }
.v-credits-table th:nth-child(1) { width: 38%; }
.v-credits-table th:nth-child(2) { width: 120px; }
.v-credits-table th:nth-child(3) { width: 26%; }
.v-credits-table td { overflow-wrap: anywhere; }
.v-credits-table td { vertical-align: middle; }
.v-ct-img { width: 120px; }
.v-ct-img img { width: 96px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; background: var(--img-bg); }
.v-ct-img .v-ct-render { object-fit: contain; padding: 4px; background: linear-gradient(180deg, var(--v-stage-top), var(--v-stage-bottom)); }

/* ------------------------------------------------------------------ 9. responsive */
@media (max-width: 1099px) {
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .v-banner { min-height: 340px; }
  .v-scrim { background: var(--v-scrim-phone); }
  .v-banner-in { padding-block: 120px 36px; gap: 14px; }
  /* no photo to show: the plain band does not need the photo's height */
  .v-banner--plain { min-height: 0; }
  .v-banner--plain .v-banner-in { padding-top: 48px; }
  .v-banner-lede { font-size: 18px; }
  .v-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .v-media--illus { aspect-ratio: 2 / 1; }
  .v-filterbar { padding-top: 28px; }
  .v-pill { padding: 8px 14px; font-size: 15px; }
  .v-pills-sep { display: none; }
  .v-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .v-tile { padding: 14px; border-radius: 18px; }
  .v-tile-name { font-size: 18px; }
  .v-tile-n { font-size: 14px; }
  /* small phone tiles: keep the render clear of the name */
  .v-tile--render img { top: 7%; height: 46%; }
  .v-tile-illus { top: 10%; left: 18%; right: 18%; }
  .v-hub-hero { padding-block: 48px 32px; }
  .v-hub-hero .wrap > .v-hsearch { margin-top: 28px; }
  .v-hsearch-row input { min-height: 58px; font-size: 18px; padding-left: 54px; }
  .v-hsearch-icon { left: 19px; }
  .v-rmedia { width: 112px; border-radius: 10px; }
  .v-r-a { gap: 12px; padding: 8px 12px 8px 8px; }
  .v-r-name { font-size: 17px; }
  .v-hwr-in, .v-band-in { padding-block: 56px; }
  .v-models { padding-bottom: 64px; }
  .v-brands { padding-bottom: 64px; }
  .v-page-head { padding-top: 48px; }
  .v-credits-table th:nth-child(2) { width: 84px; }
  .v-ct-img img { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-tile:hover, .v-tile:hover img { transform: none; }
}

/* ================================================================ model pages (SEO 2026-11-15) */
.v-card-title a { color: inherit; text-decoration: none; }
.v-card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v-mp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .v-mp-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; } }
.v-mp-rec { display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.v-mp-rec > * { margin: 0; }
.v-mp-rec .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.v-mp-k { font-family: var(--font-body, inherit); font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin: 0 0 4px; }
.v-mp-v { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; color: var(--brand-text); }
.v-mp-p { color: var(--muted); }
.v-mp-specs .v-specs { margin-top: 8px; }
.v-mp-note { font-size: 15px; color: var(--muted); margin: 8px 0 0; }
.v-mp-specs .v-credit-line { margin-top: 16px; }
.v-mp-chips { margin-top: 8px; }
