/* The car detail page, set like an automotive feature: a studio portrait beside the name, a ribbon of
   figures, the walkaround photographed in the yard, then the notes, a grouped specification and the price in context. */

/* ---------- Opening: name on the left, studio portrait on the right ---------- */

.vx-hero { display: grid; grid-template-columns: minmax(0,4.4fr) minmax(0,7.6fr); background: var(--deep); color: #fff; }
.vx-hero-copy { display: flex; flex-direction: column; padding: 30px clamp(28px,3.4vw,56px) 52px var(--gutter); }
.vx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; color: #9fb8be; }
.vx-crumbs svg { width: 13px; height: 13px; opacity: .6; }
.vx-crumbs a:hover { color: var(--orange-light); }
.vx-crumbs span { color: #e2eaec; }
.vx-id { margin-top: auto; padding-top: 60px; }
.vx-logo { display: block; width: auto; height: 34px; max-width: 120px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 30px; }
.vx-id .eyebrow { color: #a9c0c6; }
.vx-id h1 { margin-top: 18px; }
.vx-make { display: block; font: 400 clamp(22px,1.9vw,30px)/1.1 var(--display); letter-spacing: -.035em; color: #9fb8be; }
.vx-model { display: block; margin-top: 6px; margin-left: -.04em; font: 600 clamp(76px,7.8vw,150px)/.84 'Barlow Condensed',Impact,sans-serif; letter-spacing: -.015em; text-transform: uppercase; overflow-wrap: anywhere; }
.vx-hero-foot { margin-top: 46px; padding-top: 26px; border-top: 1px solid #ffffff26; }
.vx-price>span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9fb8be; }
.vx-price strong { display: block; margin-top: 8px; font: 400 clamp(36px,3.2vw,48px)/1.05 var(--display); letter-spacing: -.05em; }
.vx-price strong small { font: 12px var(--body); letter-spacing: .06em; color: #b9ccd1; margin-right: 6px; }
.vx-price strong small:last-child:not(:first-child) { margin: 0 0 0 4px; letter-spacing: 0; font-size: 14px; }
.vx-price em { display: inline-block; margin-top: 12px; padding: 5px 10px; font-style: normal; font-size: 12px; color: var(--deep); background: var(--orange-light); }
.vx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 28px; }
.vx-actions .studio-button { gap: 36px; font-size: 13px; }
.vx-actions .text-link { color: #fff; border-color: #ffffff4d; font-size: 13.5px; }
.vx-actions .text-link svg { color: var(--orange); }

.vx-stage { position: relative; min-width: 0; min-height: 42vw; background: #e6e6e3; overflow: hidden; }
.vx-stage img { position: absolute; inset: 0; width: 100%; height: 100%; }
.vx-stage-car { object-fit: cover; object-position: 50% 55%; }
.vx-stage.is-photo img { object-fit: cover; object-position: 50% 58%; }
.vx-stage::before { content: ''; position: absolute; z-index: 1; top: 28px; right: 28px; width: 36px; height: 36px; border-top: 1px solid var(--orange); border-right: 1px solid var(--orange); pointer-events: none; }
.vx-stage .studio-cover-label { top: 24px; left: 24px; font-size: 10px; }
.vx-stage figcaption { z-index: 1; position: absolute; left: 28px; right: 28px; bottom: 24px; display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid #15343c26; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #4b5b60; }
.vx-stage.is-photo figcaption { color: #fff; border-color: #ffffff4d; }

/* ---------- Figures ---------- */

.studio .vx-ribbon.wrap { max-width: none; padding-inline: var(--gutter); }
.vx-ribbon { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.vx-ribbon>div { padding: 30px 20px 32px 0; }
.vx-ribbon>div+div { padding-left: 24px; border-left: 1px solid var(--line); }
.vx-ribbon span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vx-ribbon strong { display: block; margin-top: 12px; font: 600 clamp(30px,3vw,44px)/1 'Barlow Condensed',Impact,sans-serif; letter-spacing: -.01em; overflow-wrap: anywhere; }
.vx-ribbon small { font: 12px var(--body); letter-spacing: .06em; color: var(--muted); margin-left: 6px; }

/* Specification icons: drawn on the same 24px grid and stroke as the rest of the site. */
.vx-figure-icon { display: block; width: 30px; height: 30px; margin-bottom: 14px; color: var(--orange-ink); stroke-width: 1.35; }
.vx-group dt,.vx-card-facts dt { display: flex; align-items: center; gap: 9px; }
.vx-spec-icon,.vx-fact-icon { flex: none; width: 18px; height: 18px; color: var(--ink); stroke-width: 1.5; }
.vx-card-facts .vx-fact-icon { width: 17px; height: 17px; color: var(--orange-ink); }

/* ---------- The walkaround ---------- */

.vx-walk { padding-top: 110px; }
.vx-walk-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 60px; align-items: end; }
.vx-walk-head .eyebrow { color: var(--muted); margin-bottom: 22px; }
.studio .vx-walk-head h2 { font: 400 clamp(40px,4.4vw,66px)/1.04 var(--display); letter-spacing: -.058em; }
.vx-walk-side { justify-self: end; max-width: 400px; }
.vx-walk-side p { font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.vx-walk-nav { display: flex; gap: 10px; margin-top: 24px; }
.vx-walk-nav button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: none; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.vx-walk-nav button:hover { background: var(--orange); border-color: var(--orange); color: var(--deep); }
.vx-walk-nav svg { width: 22px; height: 22px; }
.vx-strip { display: flex; gap: 16px; margin-top: 52px; padding: 0 var(--gutter) 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@media(min-width:1700px) { .vx-strip { padding-inline: max(var(--gutter),calc((100vw - 1500px)/2 + var(--gutter))); scroll-padding-inline: max(var(--gutter),calc((100vw - 1500px)/2 + var(--gutter))); } }
.vx-strip:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.vx-shot { position: relative; flex: none; height: clamp(300px,36vw,540px); aspect-ratio: 4/3; padding: 0; border: 0; background: var(--paper); overflow: hidden; scroll-snap-align: start; cursor: zoom-in; }
.vx-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vx-shot:hover img { transform: scale(1.035); }
.vx-shot span { position: absolute; left: 16px; bottom: 14px; padding: 6px 10px; font: 600 15px/1 'Barlow Condensed',Impact,sans-serif; letter-spacing: .04em; color: #fff; background: #061c26b3; }
.vx-shot:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Notes, specification, the price in context ---------- */

.vx-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,370px); gap: clamp(50px,6vw,110px); align-items: start; padding-top: 30px; padding-bottom: 120px; }
.vx-section { padding-top: 90px; }
.vx-section>.eyebrow { color: var(--muted); margin-bottom: 22px; }
.studio .vx-section h2 { font: 400 clamp(32px,3vw,46px)/1.1 var(--display); letter-spacing: -.055em; max-width: 680px; }
.vx-lead { position: relative; margin: 0; padding-left: 34px; font: 400 clamp(22px,2vw,28px)/1.45 var(--display); letter-spacing: -.03em; color: var(--ink); max-width: 720px; }
.vx-lead::before { content: ''; position: absolute; left: 0; top: .35em; bottom: .35em; width: 2px; background: var(--orange); }
.vx-story-text { columns: 2; column-gap: 40px; margin-top: 34px; padding-left: 34px; }
.vx-ticks { list-style: none; padding: 0; margin: 0 0 16px; border-top: 1px solid var(--line); break-inside: avoid; }
.vx-ticks li { display: flex; gap: 12px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.vx-ticks svg { flex: none; width: 16px; height: 16px; color: var(--orange-ink); transform: translateY(3px); }
.vx-story-text p { font-size: 15px; line-height: 1.8; color: var(--muted); break-inside: avoid; margin-bottom: 16px; }

.vx-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; margin-top: 34px; }
.vx-group h3 { font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.vx-group dl>div { padding: 13px 0 14px; border-bottom: 1px solid var(--line); }
.vx-group dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.vx-group dd { margin: 5px 0 0; font: 400 16px/1.4 var(--display); letter-spacing: -.02em; }
.vx-source { margin-top: 18px; font-size: 12.5px; color: var(--muted); }

.vx-plot { position: relative; height: calc(var(--rows) * 16px + 64px); margin-top: 40px; border-bottom: 1px solid var(--ink); }
.vx-plot::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(90deg,var(--line) 1px,transparent 1px) 0 0 / 25% 100%; opacity: .7; pointer-events: none; }
.vx-dot { position: absolute; bottom: calc(10px + var(--row) * 16px); width: 22px; height: 22px; margin-left: -11px; display: grid; place-items: center; }
.vx-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #9aa9ad; box-shadow: 0 0 0 2px #fff; transition: transform .25s, background .25s; }
.vx-dot:hover::after,.vx-dot:focus-visible::after { transform: scale(1.4); background: var(--ink); }
.vx-dot.is-this { z-index: 2; }
.vx-dot.is-this::after { width: 14px; height: 14px; background: var(--orange); }
.vx-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%,4px); padding: 8px 10px; white-space: nowrap; font-size: 12px; color: #fff; background: var(--deep); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 3; }
.vx-tip b { display: block; font-weight: 400; color: var(--orange-light); margin-top: 2px; }
.vx-dot:hover .vx-tip,.vx-dot:focus-visible .vx-tip { opacity: 1; transform: translate(-50%,0); }
.vx-dot.tip-start .vx-tip { left: 0; transform: translate(0,4px); }
.vx-dot.tip-end .vx-tip { left: auto; right: 0; transform: translate(0,4px); }
.vx-dot.tip-start:hover .vx-tip,.vx-dot.tip-start:focus-visible .vx-tip,.vx-dot.tip-end:hover .vx-tip,.vx-dot.tip-end:focus-visible .vx-tip { transform: none; }
.vx-position { overflow-x: clip; }
.vx-this-label.tip-start { transform: translateX(-11px); }
.vx-this-label.tip-end { transform: translateX(calc(-100% + 11px)); }
.vx-this-label { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-ink); }
.vx-axis { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.vx-axis span:nth-child(2) { letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }

.vx-checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 34px; }
.vx-checks li { padding-top: 18px; border-top: 1px solid var(--ink); }
.vx-checks span { font-size: 12px; letter-spacing: .08em; color: var(--orange-ink); }
.vx-checks h3 { font: 400 20px/1.2 var(--display); letter-spacing: -.035em; margin-top: 14px; }
.vx-checks p { font-size: 14px; line-height: 1.65; color: var(--muted); margin-top: 8px; }

/* ---------- Summary card ---------- */

.vx-aside { position: sticky; top: 30px; margin-top: 90px; }
.vx-card { background: #fff; border-top: 2px solid var(--orange); padding: 26px 28px 30px; box-shadow: 0 40px 80px -50px #0b252e66; outline: 1px solid var(--line); outline-offset: -1px; }
.vx-card-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vx-card-top span:last-child { text-align: right; letter-spacing: .04em; text-transform: none; }
.vx-card-price { margin-top: 18px; font: 400 42px/1.1 var(--display); letter-spacing: -.05em; }
.vx-card-price small { font: 12px var(--body); letter-spacing: .06em; color: var(--muted); margin-right: 6px; }
.vx-card-price small:last-child:not(:first-child) { margin: 0 0 0 4px; letter-spacing: 0; font-size: 14px; }
.vx-saving { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.vx-saving span { padding: 4px 9px; font-size: 12px; color: var(--orange-ink); background: #f5822014; }
.vx-card-facts { margin: 22px 0 24px; border-top: 1px solid var(--line); }
.vx-card-facts>div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.vx-card-facts dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.vx-card-facts dd { margin: 0; }
.vx-primary { width: 100%; font-size: 13.5px; }
.vx-secondary { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 10px; padding: 15px 21px; border: 1px solid var(--ink); background: none; color: var(--ink); font-size: 13.5px; transition: background .3s, color .3s; }
.vx-secondary svg { width: 20px; height: 20px; }
.vx-secondary:hover { background: var(--ink); color: #fff; }
.vx-card-note { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-top: 16px; }
.vx-card .booking-panel { background: none; padding: 0; margin-top: 20px; scroll-margin-top: 30px; }
.vx-card .booking-panel h2 { font: 400 22px/1.2 var(--display); letter-spacing: -.04em; margin-bottom: 18px; }

/* ---------- Visit and related ---------- */

.vx-visit { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: var(--deep); color: #fff; }
.vx-visit figure { min-height: 420px; overflow: hidden; }
.vx-visit img { width: 100%; height: 100%; object-fit: cover; object-position: 74% 55%; }
.vx-visit>div { align-self: center; padding: 60px var(--gutter) 64px clamp(40px,5vw,80px); }
.vx-visit .eyebrow { color: var(--orange-light); margin-bottom: 18px; }
.studio .vx-visit h2 { font: 400 clamp(34px,3.4vw,52px)/1.05 var(--display); letter-spacing: -.055em; }
.vx-visit p:not(.eyebrow) { font-size: 15.5px; line-height: 1.7; color: #c9d8dc; margin-top: 18px; max-width: 440px; }
.vx-visit-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 30px; }
.vx-visit .studio-button { gap: 30px; font-size: 13px; }
.vx-visit .text-link { color: #fff; border-color: #ffffff4d; font-size: 13.5px; }
.vx-visit .text-link svg { color: var(--orange); }

.vx-related { background: var(--paper); padding-block: 100px 110px; }
.vx-related-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 44px; }
.vx-related-head .eyebrow { color: var(--muted); margin-bottom: 18px; }
.studio .vx-related-head h2 { font: 400 clamp(34px,3.4vw,52px)/1.05 var(--display); letter-spacing: -.055em; }

.vx-bar { display: none; }

@media(max-width:1100px) {
  .vx-ribbon { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .vx-ribbon>div:nth-child(4) { padding-left: 0; border-left: 0; }
  .vx-ribbon>div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .vx-checks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vx-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:960px) {
  .vx-hero { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .vx-stage { order: -1; aspect-ratio: 3/2; min-height: 0; }
  .vx-hero-copy { padding: 28px var(--gutter) 44px; }
  .vx-crumbs { order: -1; }
  .vx-id { padding-top: 36px; }
  .vx-body { grid-template-columns: minmax(0,1fr); }
  .vx-aside { position: static; margin-top: 70px; }
  .vx-walk-head { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .vx-walk-side { justify-self: start; }
  .vx-visit { grid-template-columns: minmax(0,1fr); }
  .vx-visit figure { min-height: 0; aspect-ratio: 1.6; }
  .vx-visit>div { padding: 44px var(--gutter) 50px; }
  .vx-bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -20px 40px -30px #0b252e66; }
  .vx-bar span { display: block; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .vx-bar strong { display: block; font: 400 22px/1.2 var(--display); letter-spacing: -.04em; }
  .vx-bar strong small { font: 10.5px var(--body); letter-spacing: .06em; color: var(--muted); margin-right: 4px; }
  .vx-bar strong small:last-child:not(:first-child) { margin: 0 0 0 3px; letter-spacing: 0; }
  .vx-bar .studio-button { flex: none; gap: 18px; min-height: 48px; padding: 12px 16px; font-size: 12.5px; }
  .studio[data-page='vehicle'] .site-footer { padding-bottom: 80px; }
}
@media(max-width:700px) {
  .vx-stage { aspect-ratio: 3/2; }
  .vx-stage::before { top: 16px; right: 16px; width: 24px; height: 24px; }
  .vx-stage .studio-cover-label { top: 14px; left: 14px; }
  .vx-stage figcaption { left: 16px; right: 16px; bottom: 14px; font-size: 10px; }
  .vx-logo { height: 26px; margin-bottom: 22px; }
  .vx-model { font-size: clamp(64px,19vw,96px); }
  .vx-price strong { font-size: 34px; }
  .vx-actions .studio-button { width: 100%; }
  .vx-ribbon { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .vx-ribbon>div,.vx-ribbon>div+div { padding: 20px 14px 22px 0; border-left: 0; }
  .vx-ribbon>div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .vx-ribbon>div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .vx-ribbon strong { font-size: 30px; }
  .vx-figure-icon { width: 26px; height: 26px; margin-bottom: 10px; }
  .vx-ribbon>div:last-child:nth-child(odd) { grid-column: 1/-1; padding-left: 0; border-left: 0; }
  .vx-walk { padding-top: 70px; }
  .studio .vx-walk-head h2 { font-size: 40px; }
  .vx-strip { gap: 10px; margin-top: 36px; }
  .vx-shot { height: auto; width: 82vw; }
  .vx-section { padding-top: 64px; }
  .vx-lead { padding-left: 22px; font-size: 20px; }
  .vx-story-text { columns: 1; padding-left: 22px; }
  .vx-groups,.vx-checks { grid-template-columns: minmax(0,1fr); }
  .vx-groups { gap: 26px; }
  .vx-this-label { font-size: 10px; }
  .vx-axis span:nth-child(2) { display: none; }
  .vx-related { padding-block: 70px 80px; }
  .vx-related-head { display: block; }
  .vx-related-head .text-link { margin-top: 18px; }
}
