/* The dealer sites' styles, the same file in every dealer's folder. Breakpoints: 640, 768, 1024, 1280, 1536px. */

@font-face { font-family: toyotaType; src: url(/fonts/Toyota-Type-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: toyotaType; src: url(/fonts/Toyota-Type.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: toyotaType; src: url(/fonts/Toyota-Type-Book.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: toyotaType; src: url(/fonts/Toyota-Type-Semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: toyotaType; src: url(/fonts/Toyota-Type-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: toyotaBook; src: url(/fonts/Toyota-Type-Book.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: toyotaText; src: url(/fonts/ToyotaText-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: toyotaText; src: url(/fonts/ToyotaText-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: toyotaText; src: url(/fonts/ToyotaText-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: toyotaText; src: url(/fonts/ToyotaText-BoldItalic.woff2) format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: toyotaDisplay; src: url(/fonts/ToyotaDisplay-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: toyotaDisplay; src: url(/fonts/ToyotaDisplay-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --system: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font: toyotaType, var(--system);
  --font-book: toyotaBook, var(--system);
  --font-text: toyotaText, var(--system);
  --font-display: toyotaDisplay, var(--system);
  --container: 1520px;
  --ink: #09090b;
  --dark: #1e1e1e;
  --muted: #576675;
  --primary: #c10f10;
  --red: #ff2c2c;
  --btn-gradient: linear-gradient(90deg, #c00000, #990000);
  --card-gradient: linear-gradient(to right, #4b4b4b, #2f2f2f);
  --grey: #9c9c9c;
  --tri: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(90 12 12)' fill='white' stroke='white' fill-opacity='.8' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3C/svg%3E");
  --tri-grey: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(90 12 12)' fill='%23d9d9d9' stroke='%23d9d9d9' fill-opacity='1' stroke-opacity='1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3C/svg%3E");
  --tri-grey-back: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(-90 12 12)' fill='%23d9d9d9' stroke='%23d9d9d9' fill-opacity='1' stroke-opacity='1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'/%3E%3C/svg%3E");
  --nav-shadow: -4.5px 8.1px 14.04px 0 rgba(0, 0, 0, .2);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; border: 0 solid #e4e4e7; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { font-family: var(--font); font-synthesis: none; }
body { width: 100%; overflow-x: hidden; background: rgb(254, 255, 254); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video, iframe, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: inherit; }
button, input, select, textarea { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.toyota-book { font-family: var(--font-book); }
.toyota-text { font-family: var(--font-text); }
.toyota-display { font-family: var(--font-display); }

main { display: flex; flex-direction: column; gap: 56px; width: 100%; max-width: 100%; }
main:focus { outline: none; }
ul { margin-inline-start: 8px; list-style: disc inside; }
ol { margin-inline-start: 8px; list-style: decimal inside; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; }
.pad { padding-inline: 24px; }
.paragraph { text-align: justify; font-size: 14px; line-height: 150%; font-weight: 300; }
.paragraph > * { text-align: justify; font-size: 14px; line-height: calc(1.25 / .875); font-weight: 300; }
@media (min-width: 768px) {
  main { gap: 80px; }
  .paragraph { font-size: 18px; }
  .paragraph > * { font-size: 18px; line-height: calc(1.75 / 1.125); }
}
@media (min-width: 1024px) {
  ul, ol { margin-inline-start: 20px; }
}
@media (min-width: 1568px) {
  .pad { padding-inline: 0; }
}
.flush-bottom { margin-bottom: -48px; }
@media (min-width: 768px) { .flush-bottom { margin-bottom: -112px; } }

/* Accessibility: a link past the menu, and what only screen readers get. */
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 12px 20px; background: #fff; color: #000; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* The page holds still behind an open dialog, keeping the scrollbar's room so nothing shifts. */
.is-locked body { overflow: hidden; padding-inline-end: var(--lock-gap, 0px); }
.is-locked .nav-sticky { padding-inline-end: var(--lock-gap, 0px); }

/* Between pages: the Toyota loader covers the screen. */
.page-loader { position: fixed; inset: 0; z-index: 9999999; background: #fff; color: var(--primary); }
.page-loader > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; height: 100%; animation: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.page-loader img { width: 150px; height: auto; filter: invert(1); }
.page-loader .spinner { width: 50px; height: 50px; }
.spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .5; } }

/* ---------- The Toyota button (component): a red gradient block with a light that runs round its edge on hover. site.js adds the four edge lights and the spinner. ---------- */
.btn {
  position: relative; z-index: 10;
  display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px;
  height: 40px; min-height: 45px; min-width: 220px; padding: 0 24px;
  border: 1px solid transparent; color: #fff; background: none;
  font-size: 16px; font-weight: 400; line-height: 1.5; white-space: nowrap; text-align: center;
  box-shadow: 1px 3px 12.6px rgba(0, 0, 0, .61); cursor: pointer; transition: all .15s cubic-bezier(.4, 0, .2, 1);
}
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-gradient); transition: opacity .3s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.btn:disabled { pointer-events: none; opacity: .8; }
.btn:focus-visible { outline: 3px solid rgba(193, 15, 16, .5); outline-offset: 1px; }
.btn--outline { color: #000; border-color: #000; box-shadow: none; }
.btn--outline::before { opacity: 0; }
.btn--outline:hover, .btn--outline:active { border-color: transparent; color: #fff; box-shadow: 1px 3px 12.6px rgba(0, 0, 0, .61); }
.btn--outline:hover::before, .btn--outline:active::before { opacity: 1; }
@media (min-width: 768px) {
  .btn:not(.btn--squeeze) { min-height: 50px; min-width: 246px; font-size: 18px; }
  .btn--outline { border-color: var(--primary); }
  .btn--outline:hover, .btn--outline:active { border-color: transparent; }
}
/* Squeezed: keeps the phone size until 1024px. */
@media (min-width: 1024px) { .btn--squeeze { min-height: 50px; min-width: 246px; font-size: 18px; } }
.btn > span:not([class]) { transition: opacity 1s cubic-bezier(.4, 0, .2, 1); }
.btn.is-busy > span:not([class]) { opacity: 0; }
.btn-spin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; }
.btn-spin svg { opacity: 0; translate: 0 -100%; transition: opacity 1s cubic-bezier(.4, 0, .2, 1), translate 1s cubic-bezier(.4, 0, .2, 1); }
.btn.is-busy .btn-spin svg { opacity: 1; translate: none; }
.btn-glow { position: absolute; inset: -1px; pointer-events: none; }
.btn-glow i { position: absolute; z-index: 10; border-radius: 32px; background: #fff; transform: translateZ(0); }
.btn-glow i:nth-child(odd) { height: 1.5px; box-shadow: 0 0 3px rgba(255, 255, 255, .9), 0 0 8px rgba(255, 255, 255, .7), 0 0 18px rgba(255, 255, 255, .5); }
.btn-glow i:nth-child(even) { width: 1.5px; box-shadow: 0 0 5px #fff, 0 0 12px rgba(255, 255, 255, .9), 0 0 24px rgba(255, 255, 255, .7); }
.btn-glow i:nth-child(1) { top: 0; }
.btn-glow i:nth-child(2) { right: 0; }
.btn-glow i:nth-child(3) { bottom: 0; }
.btn-glow i:nth-child(4) { left: 0; }
.btn:active .btn-glow i:nth-child(1) { animation: glow-top 2s linear infinite; }
.btn:active .btn-glow i:nth-child(2) { animation: glow-right 2s linear infinite; }
.btn:active .btn-glow i:nth-child(3) { animation: glow-bottom 2s linear infinite; }
.btn:active .btn-glow i:nth-child(4) { animation: glow-left 2s linear infinite; }
@media (min-width: 768px) {
  .btn:hover .btn-glow i:nth-child(1) { animation: glow-top 2s linear infinite; }
  .btn:hover .btn-glow i:nth-child(2) { animation: glow-right 2s linear infinite; }
  .btn:hover .btn-glow i:nth-child(3) { animation: glow-bottom 2s linear infinite; }
  .btn:hover .btn-glow i:nth-child(4) { animation: glow-left 2s linear infinite; }
}
@keyframes glow-top { 0% { left: 0; width: 0; } 20% { left: 0; width: 100%; } 40% { left: 100%; width: 0; } }
@keyframes glow-right { 20% { top: 0; height: 0; } 40% { top: 0; height: 100%; } 60% { top: 100%; height: 0; } }
@keyframes glow-bottom { 40% { left: 100%; width: 0; } 60% { left: 0; width: 100%; } 80% { left: 0; width: 0; } }
@keyframes glow-left { 60% { top: 100%; height: 0; } 80% { top: 0; height: 100%; } 100% { top: 0; height: 0; } }

/* A link with a red belt that grows under it. */
.nav-link { position: relative; display: inline-block; padding: 6px 8px; white-space: nowrap; transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.belt { position: absolute; bottom: 0; left: 50%; width: 0; height: 1px; transform: translateX(-50%) scaleY(3); border-radius: 999px; background: var(--red); opacity: 0; transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.nav-link:hover .belt, .nav-link:active .belt, .nav-link[aria-expanded="true"] .belt, .nav-link[aria-pressed="true"] .belt, .nav-link[aria-current] .belt { width: 100%; opacity: 1; }

/* ---------- Navigation (component) ---------- */
.nav { position: absolute; top: 0; left: 0; z-index: 50; width: 100%; overflow-x: clip; padding-top: 30px; color: #fff; }
.nav--dark { color: #000; }
.nav-sticky { position: fixed; inset: 0 0 auto; z-index: 600; padding-block: 8px; background: #fff; transform: translateY(-100%); transition: transform .25s ease-in-out; }
.nav-sticky.is-shown { transform: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .1); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.nav-logo { position: relative; z-index: 20; }
.nav-logo svg { width: 44px; height: auto; }
.nav-center { display: flex; align-items: center; justify-content: center; width: 0; height: 0; }
.nav-strip { display: none; }
/* Menus: the panel hangs from the bar's lower edge and slides down out of it. */
.drop { display: flex; align-items: flex-start; width: fit-content; height: fit-content; }
.drop--end { justify-content: flex-end; }
.drop-panel { position: absolute; top: 100%; visibility: hidden; pointer-events: none; transition: visibility 0s .5s; }
.drop--models > .drop-panel { left: 0; display: flex; justify-content: center; width: 100%; }
.drop-clip { overflow: hidden; }
.drop-body { opacity: 0; transform: translate3d(0, -100%, 0); transition: opacity .5s cubic-bezier(.4, 0, .2, 1), transform .5s cubic-bezier(.4, 0, .2, 1); }
.drop.is-open > .drop-panel { visibility: visible; pointer-events: auto; transition: none; }
.drop.is-open > .drop-panel .drop-body { opacity: 1; transform: translateZ(0); }
.nav-strip > .drop > .nav-link { display: flex; align-items: center; }
.nav-caret { position: relative; top: 3px; flex-shrink: 0; margin-inline-start: 8px; transform: rotate(180deg); transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.drop.is-open .nav-caret { transform: none; }
.nav-list { display: flex; flex-direction: column; gap: 16px; width: 100%; padding: 16px 70px 20px 16px; background: var(--card-gradient); box-shadow: var(--nav-shadow); }
.nav-list .nav-link { display: flex; align-items: center; color: var(--grey); }
.nav-list .nav-link:hover, .nav-list .nav-link[aria-current] { color: #fff; }
.mega { display: flex; flex-direction: column; align-items: center; gap: 16px; width: 1050px; max-width: min(calc(100vw - 48px), 1050px); padding: 20px 48px 32px; background: var(--card-gradient); }
.mega-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; width: 100%; margin-bottom: 20px; }
.mega-tabs .nav-link { font-weight: 300; color: var(--grey); }
.mega-tabs .nav-link[aria-pressed="true"] { color: #fff; }
.mega-models { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; }
.mega-model { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; overflow: hidden; padding-bottom: 12px; color: var(--grey); font-weight: 300; }
.mega-model:hover, .mega-model[aria-current] { color: #fff; }
.mega-model .belt { max-width: 70%; }
.mega-img { width: 200px; height: 80px; opacity: .53; transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
.mega-img img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.mega-model:hover .mega-img, .mega-model:focus .mega-img, .mega-model[aria-current] .mega-img { opacity: 1; }
.nav-lang { display: none; }
.nav-lang-btn { display: flex; align-items: center; gap: 6px; padding: 6px; }
.nav-lang-btn > span:last-child { font-size: 14px; font-weight: 300; text-transform: uppercase; }
.nav-globe { display: flex; flex-direction: column; gap: 5px; width: 20px; transform: translateY(1px); }
.nav-globe::after { content: ""; width: 19px; height: 1px; margin-inline: auto; background: currentColor; }
.nav-lang .langs { gap: 12px; padding: 11px 12px; background: var(--card-gradient); }
.langs { display: flex; }
.langs a { display: flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, .6); text-transform: uppercase; transition: color .5s cubic-bezier(.4, 0, .2, 1); }
.langs a:hover { color: #fff; }
.langs a[aria-current] { border-bottom: 1px solid #e4e4e7; color: #fff; }
.langs span { font-size: 14px; font-weight: 300; }
.langs img { flex: none; width: 18px; height: 12px; object-fit: cover; }
.nav-toggle { position: relative; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid #e4e4e7; color: #fff; }
.nav--dark .nav-toggle { border-color: #000; color: #000; }
.nav-burger > .drop-panel { padding-top: 10px; }
.nav-mobile { display: flex; flex-direction: column; gap: 8px; width: fit-content; padding: 18px 40px 26px 20px; background: var(--card-gradient); box-shadow: -5.1px 9.17px 15.9px 0 rgba(0, 0, 0, .2); color: var(--grey); font-size: 19px; }
.nav-tree { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; font-weight: 300; }
.nav-tree .nav-link { width: fit-content; padding: 0 0 2px; color: var(--grey); font-size: 19px; }
.nav-tree .tree-toggle[aria-expanded="true"], .nav-tree [aria-current] { color: #fff; font-weight: 400; }
.nav-tree .tree-toggle { padding: 0; transition: none; font-weight: 300; }
.nav-mobile .langs { gap: 16px; margin-top: 20px; }
.nav-mobile .langs a { gap: 4px; color: var(--grey); }
.nav-mobile .langs a:hover, .nav-mobile .langs a[aria-current] { color: #fff; }
.nav-mobile .langs a[aria-current] { border-bottom: 2px solid #fff; }
.nav-mobile .langs span { font-size: 16px; transform: translateY(-2px); }
.nav-mobile .langs img { width: 20px; height: 13.5px; }
.nav-mobile .langs a:not([aria-current]) img { filter: grayscale(1); }
/* A branch opens to its own height. */
.tree { display: flex; flex-direction: column; width: 100%; }
.tree-panel { display: grid; grid-template-rows: 0fr; width: 100%; visibility: hidden; transition: grid-template-rows .5s cubic-bezier(.4, 0, .2, 1), visibility 0s .5s; }
.tree.is-open > .tree-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s cubic-bezier(.4, 0, .2, 1); }
.tree-clip { min-height: 0; overflow: hidden; }
.tree-branch { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.tree-branch::before { content: ""; position: absolute; top: 0; left: 6px; width: 1px; height: calc(100% - 19px); background: var(--grey); }
.tree-branch--deep { margin-left: 16px; }
.tree-row { position: relative; display: flex; align-items: center; height: 40px; margin-inline-start: 20px; }
.tree-row::before { content: ""; position: absolute; left: -14px; width: 8px; height: 1px; background: var(--grey); }
.tree-row .nav-link { font-size: 16px; }
@media (min-width: 1024px) { .nav-logo svg { width: 77px; } }
@media (min-width: 1280px) {
  .nav { padding-top: 60px; }
  .nav-burger { display: none; }
  .nav-lang { display: flex; }
  .nav-strip { display: flex; flex-shrink: 0; align-items: baseline; justify-content: center; gap: 20px; width: 100vw; max-width: min(calc(100dvw - 226px), 1342px); max-height: 100vh; }
  .nav-strip .nav-link { font-size: 15px; }
  .nav-strip .mega .nav-link { font-size: 17px; }
  .nav-strip > .nav-link { text-align: center; line-height: 120%; white-space: normal; }
  .nav-strip--long { gap: clamp(8px, .9vw, 16px); }
  .nav-strip--long .nav-link, .nav-strip--long .mega .nav-link { font-size: clamp(13px, 1vw, 17px); }
}
@media (min-width: 1568px) { .nav-bar { padding-inline: 0; } }
@media (min-width: 1600px) {
  .nav-strip { gap: 47px; }
  .nav-strip--long { gap: clamp(8px, .9vw, 16px); }
  .nav-strip .nav-link { font-size: 17px; }
}

/* ---------- Footer (component) ---------- */
.ftr { margin-top: 48px; }
.ftr .belt { background: #c62122; }
.ftr-rule { position: relative; height: 2px; margin-bottom: 16px; background: #b2b2b2; color: #b2b2b2; }
.ftr-rule svg { display: none; position: absolute; top: -3px; width: 8px; height: 8px; }
.ftr-rule-start { left: 0; transform: translateX(-.5px) rotate(90deg); }
.ftr-rule-end { right: 0; transform: translateX(.5px) rotate(-90deg); }
.ftr-main { display: flex; flex-direction: column; padding: 16px 24px; }
.ftr-logo { width: 100%; max-width: 240px; }
.ftr-logo img { width: 100%; height: auto; object-fit: cover; }
.ftr-line { display: none; height: 1px; margin-top: 28px; background: #000; }
.ftr-mission { margin-top: 24px; }
.ftr-mission h2 { margin-bottom: 8px; font-size: 18px; font-weight: 600; color: #484848; }
.ftr-mission p { font-size: 14px; font-weight: 300; color: #515151; }
.ftr-columns { display: flex; gap: 40px; margin-top: 24px; font-weight: 300; color: #515151; }
.ftr-links { display: flex; flex-direction: column; gap: 12px; width: fit-content; }
.ftr-links h3, .ftr-contact h2, .ftr-follow h2 { font-size: 22px; font-weight: 600; color: #484848; }
.ftr-grid { display: grid; grid-auto-flow: column; justify-items: start; gap: 12px 16px; }
.ftr-grid[data-rows="5"] { grid-template-rows: repeat(5, auto); }
.ftr-grid .nav-link { padding: 6px 8px 4px 0; font-size: 16px; font-weight: 300; color: #515151; }
.ftr-contact { margin-top: 24px; }
.ftr-contact h2 { margin-bottom: 12px; }
.ftr-contacts { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.ftr-contacts > div { display: flex; flex-direction: column; }
.ftr-contact h3 { color: #000; }
.ftr-contacts .nav-link, .ftr-contacts p { width: fit-content; padding: 0 0 4px; font-weight: 300; color: #515151; }
.ftr-follow { margin: 24px 0 8px; }
.ftr-follow h2 { margin-bottom: 24px; }
.btn.ftr-cta { display: none; max-width: 246px; margin-bottom: 70px; font-family: var(--font-book); font-size: 16px; }
.ftr-social { display: flex; gap: 16px; }
.ftr-social a { position: relative; display: flex; align-items: center; justify-content: center; width: 50px; aspect-ratio: 1; border: 1px solid #000; }
.ftr-social img { width: 70%; height: 70%; object-fit: cover; }
.ftr-social img:first-child { position: absolute; }
.ftr-social img:last-child, .ftr-social a:hover img:first-child { opacity: 0; }
.ftr-social a:hover img:last-child { opacity: 1; }
.ftr-bottom { padding: 16px; background: var(--dark); color: #a7a7a7; font-size: 14px; line-height: calc(1.25 / .875); }
.ftr-bottom-in { display: flex; flex-direction: column; gap: 28px; width: 100%; max-width: var(--container); margin-inline: auto; }
.ftr-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 12px; }
.ftr-legal .nav-link { padding-inline: 0; font-weight: 300; }
.ftr-legal .nav-link:hover { color: rgba(255, 255, 255, .8); }
.ftr-legal .belt { background: rgba(255, 255, 255, .8); }
.ftr-bottom p { text-align: center; font-weight: 300; }
@media (min-width: 768px) { .ftr { margin-top: 112px; } }
@media (min-width: 1024px) { .ftr-contacts { padding-top: 4px; } }
@media (min-width: 1280px) {
  .ftr-rule { margin-bottom: 0; }
  .ftr-rule svg, .ftr-line { display: block; }
  .ftr-main { flex-direction: row; justify-content: space-between; gap: 24px; width: 100%; max-width: 1520px; margin-inline: auto; padding-block: 80px; }
  .ftr-about { max-width: 300px; }
  .ftr-logo { max-width: 85%; }
  .ftr-columns, .ftr-contact { margin-top: 0; }
  .ftr-grid { column-gap: 40px; }
  .ftr-follow { display: flex; flex-direction: column; margin: 0; }
  .btn.ftr-cta { display: flex; }
  .ftr-bottom-in { flex-direction: row; align-items: center; justify-content: space-between; gap: 0; }
  .ftr-legal .nav-link, .ftr-bottom p { font-size: 17px; }
}
@media (min-width: 1536px) {
  .ftr-mission h2 { font-size: 24px; }
  .ftr-mission p { font-size: 18px; }
  .ftr-columns { gap: 80px; }
  .ftr-grid .nav-link, .ftr-contacts { font-size: 18px; }
}
@media (min-width: 1568px) { .ftr-main { padding-inline: 0; } }

/* ---------- Dialogs (component; site.js, openDialog): a blurred dark overlay, and a panel that fades and zooms in and out. ---------- */
.dialog { position: fixed; inset: 0; z-index: 700; }
.dialog-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); backdrop-filter: blur(5px); animation: fade-in .15s ease; touch-action: none; }
.dialog-panel {
  position: absolute; top: 50%; left: 50%; max-width: 90vw; max-height: 90vh; translate: -50% -50%;
  overflow: hidden auto; overscroll-behavior: contain; touch-action: pan-y; outline: none;
  background: linear-gradient(to bottom, #4b4b4b, #2f2f2f); box-shadow: 0 8px 20px #000; animation: dialog-in .2s ease;
}
.dialog.is-closing .dialog-overlay { backdrop-filter: none; animation: fade-out .15s ease forwards; }
.dialog.is-closing .dialog-panel { animation: dialog-out .2s ease forwards; pointer-events: none; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes dialog-in { from { opacity: 0; scale: .95; } }
@keyframes dialog-out { to { opacity: 0; scale: .95; } }
.form-dialog { width: 470px; }
.form-dialog-head { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 190px; overflow: hidden; background: #000; }
.form-dialog-head::before { content: ""; position: absolute; top: 0; right: 0; z-index: 1; width: 50%; height: 8px; background: var(--primary); }
.form-dialog-bg { position: absolute; top: 50%; left: 50%; width: auto; min-width: 100%; height: auto; min-height: 100%; transform: translate(-50%, -50%); object-fit: cover; }
.form-dialog-icon { position: relative; width: 120px; height: auto; margin-bottom: -16px; transform: translateY(16px); }
.form-dialog-icon--plate { width: 48px; margin-bottom: 16px; transform: none; filter: drop-shadow(0 0 10px rgba(255, 255, 255, .55)) drop-shadow(0 0 26px rgba(255, 255, 255, .3)); }
.form-dialog-head h2 { position: relative; width: 100%; text-align: center; font-family: var(--font-book); font-size: 26px; color: #fff; }
.form-dialog-body { margin-top: 16px; padding: 0 20px 40px; }
.form-dialog-slot { min-height: 170px; }
.form-dialog-slot[data-size="consultation"] { height: 255px; }
.form-dialog-slot[data-size="service-booking"] { min-height: 340px; }
.form-dialog-foot { display: flex; justify-content: center; margin-top: 40px; }
.form-dialog-foot .btn { width: fit-content; margin-inline: auto; padding-inline: 40px; font-weight: 100; }
@media (min-width: 768px) { .form-dialog-body { padding: 0 42px 48.5px; } }
/* Closing by the overlay or Escape is the look; the keyboard gets a button too. */
.dialog-x { position: absolute; top: 14px; right: 10px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #fff; opacity: 0; }
.dialog-x:focus-visible { opacity: 1; }
.dialog-round { position: absolute; top: 12px; right: 8px; z-index: 10; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 3px solid #fff; border-radius: 50%; color: #fff; transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.dialog-round:hover { background: #fff; color: #18181b; }
.dialog-round svg { width: 100%; height: 100%; }
@media (min-width: 768px) { .dialog-round { width: 32px; height: 32px; } }

@media (prefers-reduced-motion: reduce) {
  .btn-glow { display: none; }
  .dialog-overlay, .dialog-panel, .page-loader > div { animation-duration: .01ms !important; }
  .drop-body, .tree-panel, .nav-sticky { transition-duration: .01ms !important; }
}

/* ---------- Tickets forms: theme for the ADP web components ---------- */
.shift-form::part(general-inquiry-modal-form) {
  margin: 0px 0px;
  user-select: none;
  font-family: toyotaType, system-ui, sans-serif !important;
}

.shift-form,
.shift-form::part(form-dialog-modal) {
  font-family: toyotaType, system-ui, sans-serif !important;
}

.shift-form:not(.modal-form)::part(form-input-label) {
  display: none;
}

.shift-form::part(form-input-label) {
  font-weight: 300 !important;
  font-size: 16px !important;
}

@media (min-width: 767px) {
  .shift-form::part(form-vin-input-vin-vin) {
    display: none !important;
  }
}

::part(select-arrow),
::part(form-input-select-icon-container) {
  pointer-events: none !important;
}

.modal-form::part(custom-form-select-option),
.shift-form::part(custom-form-select-option),
.modal-form::part(custom-shift-select-option),
.shift-form::part(custom-shift-select-option) {
  padding-bottom: 0px !important;
  align-items: center;
}

.shift-form::part(phone-country-selection-select-icon-container) {
  display: none !important;
}

.shift-form::part(phone-input-country-selection) {
  width: 50px;
}

.shift-form::part(phone-country-selection-input-select) {
  padding-left: 8px !important;
  text-align: center !important;
  padding-right: 8px !important;
}

::part(phone-country-selection-input-select) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
::part(form-input-with-country) {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.modal-form::part(phone-country-selection-select-container) {
  height: min-content !important;
}

.shift-form:not(.modal-form)::part(vin-validator) {
  color: #c5cbd0;
  border-radius: 4px;
  background-color: white;
}

.shift-form:not(.modal-form)::part(vin-validator):hover {
  color: #9a9c9e;
}

.shift-form:not(.modal-form)::part(form-input)::placeholder,
.shift-form:not(.modal-form)::part(form-input-select)::placeholder,
.shift-form:not(.modal-form)::part(form-input-textarea)::placeholder {
  font-size: 14px;
  color: #576675;
}

.shift-form:not(.modal-form)::part(form-input),
.shift-form:not(.modal-form)::part(form-input-select) {
  border-radius: 5.55px;
  border-color: #c5cbd0;
}

.shift-form::part(phone-country-selection-input-select),
.shift-form::part(form-input-prefix) {
  font-size: 14px;
  color: black;
  font-weight: 300;
}

.shift-form::part(form-input),
.shift-form::part(form-input-select) {
  height: 47px !important;
  font-weight: 300 !important;
}

.shift-form:not(.modal-form)::part(form-input-textarea) {
  color: black;
  font-size: 14px;
  border-radius: 5.55px;
  height: 95px !important;
  border-color: #c5cbd0;
  font-weight: 300 !important;
}

.shift-form:not(.modal-form)::part(form-input-textarea)::placeholder {
  font-size: 14px;
  color: #576675;
  font-weight: 300 !important;
}

.shift-form::part(form-input)::placeholder,
.shift-form::part(form-input-select)::placeholder {
  font-weight: 300 !important;
}

.shift-form::part(form-error-message) {
  margin-top: -2px !important;
}

.shift-form::part(container) {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shift-form:not(.modal-form)::part(container) {
  gap: 20px;
}

.shift-form:not(.modal-form)::part(inputs_2_col_wrapper) {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 640px) {
  .shift-form:not(.modal-form)::part(inputs_2_col_wrapper) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.modal-form::part(form-loader-icon) {
  stroke: #bdbdbd;
}

.modal-form::part(form-input-label) {
  color: #9d9d9d !important;
}

.modal-form::part(form-input),
.modal-form::part(form-input-select) {
  border-radius: 0px;
  color: #9d9d9d !important;
  background-color: #282828;
  border-color: #4b4b4b !important;
}

.modal-form::part(phone-country-selection-input-select),
.modal-form::part(form-input-prefix) {
  color: #9d9d9d !important;
  font-weight: 300;
  font-size: 16px;
}

.shift-form::part(form-select-container) {
  z-index: 14;
}

.shift-form::part(form-select-container-downwards) {
  margin-top: 15px !important;
}

.shift-form::part(form-select-option) {
  height: 40px;
  padding-bottom: 12px;
}

.shift-form::part(attachments-file-trigger) {
  border: none;
  color: #626b79;
  font-weight: 600 !important;
  background-color: #e8e9ea;
}

.shift-form::part(attachments-container) {
  max-width: 300px;
}

.modal-form::part(form-select-container) {
  z-index: 30;
  max-height: 175px;
  border-radius: 0px;
  margin-top: 13px !important;
  color: #9d9d9d !important;
  background-color: #282828;
  border-color: #4b4b4b !important;
  -webkit-overflow-scrolling: touch !important;
}

.modal-form::part(shift-select-container) {
  max-height: 175px;
  border-radius: 0px;
  color: #9d9d9d !important;
  background-color: #282828;
  border-color: #4b4b4b !important;
  -webkit-overflow-scrolling: touch !important;
}

@supports (-webkit-touch-callout: none) {
  .radix-dialog-content {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

.modal-form::part(form-select-option),
.modal-form::part(shift-select-option) {
  color: #9d9d9d;
  font-size: 16px;
}

.modal-form::part(select-arrow) {
  fill: #9d9d9d !important;
}
.modal-form::part(form-select-option-selected),
.modal-form::part(shift-select-option-selected) {
  background-color: #141414 !important;
  color: #9d9d9d !important;
}

.modal-form::part(form-select-option):hover,
.modal-form::part(shift-select-option):hover {
  background-color: #141414;
}

.shift-form::part(dialog-wrapper) {
  font-weight: 300;
}

.modal-form::part(dialog-wrapper) {
  color: white;
  background-color: #3f3f3f;
}

.modal-form::part(form-select-spinner),
.modal-form::part(shift-select-spinner) {
  filter: invert(1) opacity(0.5);
}

.shift-form::part(dialog-close-button) {
  font-weight: 300;
  margin-top: 16px;
  margin-left: auto;
  line-height: 15rem;
  margin-right: auto;
}

.modal-form::part(form-input):-webkit-autofill,
.modal-form::part(form-input):-webkit-autofill:hover,
.modal-form::part(form-input):-webkit-autofill:focus,
.modal-form::part(form-input):-webkit-autofill:active,
.modal-form::part(form-input-select):-webkit-autofill,
.modal-form::part(form-input-select):-webkit-autofill:hover,
.modal-form::part(form-input-select):-webkit-autofill:focus,
.modal-form::part(form-input-select):-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #282828 inset !important;
  -webkit-text-fill-color: #9d9d9d !important;
  background-clip: padding-box;
  border: 1px solid #4b4b4b;
}

.modal-form::part(form-input):-webkit-autofill,
.modal-form::part(form-input-select):-webkit-autofill {
  -webkit-text-fill-color: #9d9d9d !important;
}

.modal-form::part(form-input)::placeholder,
.modal-form::part(form-input-select)::placeholder {
  color: #7d7d7d;
}

.modal-form::part(form-select-container),
.modal-form::part(shift-select-container) {
  overflow-y: auto;
  scrollbar-width: thin; 
  scrollbar-color: #ffffff #2b2b2b; 
}

.modal-form::part(form-select-container)::-webkit-scrollbar,
.modal-form::part(shift-select-container)::-webkit-scrollbar {
  width: 6px;
}

.modal-form::part(form-select-container)::-webkit-scrollbar-track,
.modal-form::part(shift-select-container)::-webkit-scrollbar-track {
  background: #2b2b2b; 
  border-radius: 10px;
}

.modal-form::part(form-select-container)::-webkit-scrollbar-thumb,
.modal-form::part(shift-select-container)::-webkit-scrollbar-thumb {
  background-color: #ffffff; 
  border-radius: 999px;
  min-height: 40px;
}

.modal-form::part(form-select-container)::-webkit-scrollbar-thumb:hover,
.modal-form::part(shift-select-container)::-webkit-scrollbar-thumb:hover {
  background-color: #e5e5e5;
}

/* ---------- Sections ---------- */
.red { color: var(--primary); }
.heading { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.heading h2, .heading h1 { max-width: min(80vw, 95%); font-size: 26px; line-height: 150%; font-weight: 300; text-transform: uppercase; }
.heading::after { content: ""; flex-grow: 1; height: 39px; background: linear-gradient(to right, rgba(0, 0, 0, .15), transparent) no-repeat 0 50% / 100% 2px; }
.heading--centered::before { content: ""; flex-grow: 1; height: 39px; background: linear-gradient(to left, rgba(0, 0, 0, .15), transparent) no-repeat 0 50% / 100% 2px; }
.heading:has(+ .heading-desc) { margin-bottom: 0; }
.heading-desc { margin-block: 28px 16px; text-align: justify; }
@media (min-width: 768px) {
  .heading { gap: 16px; margin-bottom: 24px; }
  .heading-desc { margin-bottom: 24px; }
  .heading h2, .heading h1 { max-width: min(80vw, 95%); font-size: 40px; }
  .heading::after { height: 60px; margin-inline-start: -4px; background: var(--tri-grey) no-repeat 0 50% / 10px 10px, linear-gradient(to right, rgba(0, 0, 0, .15), transparent) no-repeat 4px 50% / calc(100% - 4px) 2px; }
  .heading--centered::before { height: 60px; margin-inline-end: -4px; background: var(--tri-grey-back) no-repeat 100% 50% / 10px 10px, linear-gradient(to left, rgba(0, 0, 0, .15), transparent) no-repeat 0 50% / calc(100% - 4px) 2px; }
}

/* A line that runs from a banner heading to the edge of the screen, with a small triangle at its start. */
.line-content { display: flex; align-items: flex-start; gap: 16px; }
.line-before { position: relative; display: none; flex-shrink: 0; width: 8px; height: 1px; background: rgba(255, 255, 255, .8); opacity: 0; }
.line-after { position: relative; flex: 1; flex-shrink: 0; height: 1px; background: linear-gradient(to right, rgba(255, 255, 255, .8), transparent); }
.line-after::before, .line-before::after { content: ""; position: absolute; top: -4.5px; width: 10px; height: 10px; background: var(--tri) no-repeat 50% / 10px 10px; }
.line-after::before { left: -4px; }
.line-before::after { right: -4px; transform: rotate(180deg); }
@media (min-width: 640px) {
  .line-before { display: block; }
  .line-after { background: rgba(255, 255, 255, .8); }
}
@media (min-width: 1568px) { .line-before { width: calc(((100% - var(--container)) / 2) - 16px); } }
@media (min-width: 1600px) { .line-before { opacity: 1; } }

/* Carousels (component; site.js, carousel): a view, and a track of slides that a mouse or a finger can drag. */
.carousel { overflow: hidden; touch-action: pan-y pinch-zoom; }
.carousel-track { display: flex; }
.carousel-track > * { flex: 0 0 100%; min-width: 0; }
.carousel img { -webkit-user-drag: none; user-select: none; }
.carousel.is-held { user-select: none; }
.dots { display: flex; align-items: center; justify-content: center; }
.dots[hidden] { display: none; }

/* Banner: the full-width picture at the top of a page. */
.banner { position: relative; width: 100%; aspect-ratio: .46; overflow: hidden; }
@media (min-width: 640px) { .banner { aspect-ratio: 16 / 9; max-height: calc(100vh - 50px); } }
@media (min-width: 1024px) { .banner { min-height: 640px; } }
.banner-social { display: none; }
@media (min-width: 1024px) {
  .banner-social { position: absolute; bottom: 20px; left: 50%; z-index: 10; transform: translateX(-50%); display: flex; justify-content: flex-end; gap: 8px; padding-inline: 24px; pointer-events: none; }
  .banner-social a { position: relative; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid #fff; pointer-events: auto; }
  .banner-social img { width: 60%; height: 60%; object-fit: cover; }
  .banner-social img:first-child { position: absolute; }
  .banner-social img:last-child, .banner-social a:hover img:first-child { opacity: 0; }
  .banner-social a:hover img:last-child { opacity: 1; }
}
@media (min-width: 1280px) { .banner-social { gap: 12px; } }
@media (min-width: 1568px) { .banner-social { padding-inline: 0; } }

/* Fading banner ([data-hero]): pictures and texts cross-fade; the story bar moves them on. Text can be selected; a drag anywhere else swipes. */
.hero .carousel, .hero .carousel-track { position: absolute; inset: 0; height: 100%; cursor: grab; }
.hero .carousel.is-held { cursor: grabbing; }
.hero-slide { position: relative; height: 100%; }
.hero-slide picture, .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-texts { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; padding-top: 40%; pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent) top / 100% 80% no-repeat; }
.hero-inner { width: 100%; }
.hero-copy { display: grid; width: 100%; }
.hero-text { grid-area: 1 / 1; width: 100%; opacity: 0; transition: opacity .2s cubic-bezier(.4, 0, 1, 1); }
.hero-text.is-active { opacity: 1; transition: opacity .5s cubic-bezier(0, 0, .2, 1) .2s; }
.hero-text.is-active [data-selectable] { pointer-events: auto; cursor: text; }
.hero-text .line-content { padding-inline-start: 24px; }
.hero-text h1, .hero-text h2 { max-width: 90%; transform: translateY(-20px); font-size: 36px; line-height: 36px; font-weight: 600; color: #fff; text-transform: uppercase; }
.hero-desc { width: 100%; margin-top: 4px; padding-inline: 24px; font-size: 14px; font-weight: 300; color: #fff; }
.hero-ctas { display: flex; justify-content: center; margin-top: 7%; }
.hero-cta { display: none; pointer-events: auto; }
.hero-cta.is-active { display: block; }
.story { position: absolute; bottom: 32px; left: 50%; z-index: 10; display: flex; justify-content: center; gap: 4px; width: 100%; max-width: 80vw; height: 4px; transform: translateX(-50%); }
.story button { position: relative; flex: 1; height: 100%; }
.story button::before { content: ""; position: absolute; inset: -10px 0; }
.story button::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: rgba(123, 123, 123, .7); }
.story span { position: absolute; inset: 0 auto 0 0; z-index: 1; width: 0; border-radius: 999px; background: #fff; transition: none; }
.story .is-past span { width: 100%; }
.story .is-active span { width: 100%; transition: width var(--story, 5000ms) linear; }
.story-pause { position: absolute; bottom: 48px; left: 50%; z-index: 20; padding: 8px 16px; background: #fff; color: #000; font-size: 14px; opacity: 0; pointer-events: none; transform: translateX(-50%); }
.story-pause:focus-visible { opacity: 1; pointer-events: auto; }
@media (min-width: 640px) {
  .hero-shade { background: linear-gradient(to right, rgba(0, 0, 0, .75) 29%, rgba(0, 0, 0, .22) 91%, transparent) left / 56% 100% no-repeat, linear-gradient(to bottom, #000, transparent) top / 100% 41% no-repeat; }
  .hero-texts { justify-content: center; padding-top: 0; }
  .hero-inner { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
  .hero-text .line-content { padding-inline-start: 0; }
  .hero-text .line-after { display: none; }
  .hero-text h1, .hero-text h2 { max-width: 60%; transform: none; font-size: 48px; line-height: 95%; font-weight: 700; }
  .hero-desc { max-width: 500px; margin-top: 24px; padding: 0; font-size: 16px; }
  .hero-ctas { justify-content: flex-start; margin-top: 40px; }
  .story { max-width: 500px; }
}
@media (min-width: 768px) { .story { gap: 8px; } }
@media (min-width: 1024px) {
  .hero-text h1, .hero-text h2 { font-size: 64px; }
  .story { bottom: 80px; }
  .story-pause { bottom: 96px; }
}
@media (min-width: 1280px) { .hero-desc { max-width: 750px; font-size: 18px; line-height: calc(1.75 / 1.125); } }
@media (min-width: 1536px) { .hero-text h1, .hero-text h2 { font-size: 91px; } }
@media (prefers-reduced-motion: reduce) { .hero-text, .hero-text.is-active { transition: none; } }

/* Option buttons that switch between forms. */
.options-label { text-align: center; font-weight: 300; font-size: 15px; color: #172640; }
.options-buttons { display: flex; flex-direction: column; gap: 20px; width: fit-content; margin: 52px auto 0; }
.options .btn--outline:not(:hover, :active) { border-color: #000; }
.options--over .options-label { display: flex; align-items: center; gap: 20px; font-size: 16px; color: #fff; }
.options--over .options-label::before, .options--over .options-label::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .4); }
.options--over .options-buttons { gap: 16px; margin-top: 36px; }
.options--over .btn--outline { color: #fff; }
.options--over .btn--outline:not(:hover, :active) { border-color: #fff; }
@media (min-width: 1536px) {
  .options--over .options-label { font-size: 18px; }
  .options--over .options-buttons { flex-direction: row; align-items: center; justify-content: center; gap: 16px 32px; width: 100%; margin-top: 48px; }
  .options--over .btn { flex: auto; min-width: 0; padding-inline: 20px; }
}

/* A Tickets form written into a page, with its submit button under it. */
.form-embed { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 32px; }
.form-slot { display: flex; flex-direction: column; justify-content: center; min-height: 440px; }
.form-slot.is-ready { min-height: 0; }
.form-embed [data-form-submit] { margin-inline: auto; font-weight: 300; }
@media (min-width: 640px) { .form-slot { min-height: 304px; } .form-slot.is-ready { min-height: 0; } }

/* Google reCAPTCHA (used by the Tickets forms) keeps its badge out of sight, as on the Next.js site. */
.grecaptcha-badge { opacity: 0 !important; }

@font-face { font-family: montserratThin; src: url(/fonts/Montserrat-Thin.woff2) format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: poiret; src: url(/fonts/PoiretOne.woff2) format("woff2"); font-weight: 400; font-display: swap; }
:root { --hev-gradient: linear-gradient(to right, #00427f, #0077e5); }
.hev-gradient { background: var(--hev-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hev-blue { color: #004280; }
.petrol-red { color: #f30000; text-shadow: 0 0 1px rgba(0, 0, 0, .3); }
.full-img { width: 100%; }

/* Banner texts: the mobile title over the picture, and the desktop line, title and actions. Shared by every page banner. */
.banner-img, .banner-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-texts { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.banner-texts > :not(.banner-shade) { position: relative; }
.banner-mobile { padding-top: 40%; }
.banner-mobile .line-content { width: 100%; margin-top: 12px; padding-inline-start: 24px; }
.banner-mobile-title { max-width: 90%; transform: translateY(-20px); font-size: 36px; line-height: 36px; font-weight: 300; color: #fff; text-transform: uppercase; }
.banner-mobile-desc { width: 100%; margin: 4px auto 0; padding-inline: 24px; font-size: 14px; font-weight: 300; color: #fff; }
.banner-mobile-ctas { display: flex; justify-content: center; margin-top: 7%; }
.banner-mobile-ctas--two { flex-direction: column; align-items: center; gap: 16px; }
.banner-mobile .btn, .banner-desktop .btn { font-weight: 300; }
.banner-mobile .btn { font-size: 16px; }
.banner-texts .btn--outline { color: #fff; }
.banner-texts .btn--outline:not(:hover, :active) { border-color: #fff; }
.banner-desktop { display: none; }
.banner-ctas { display: flex; }
.packed { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
@media (min-width: 640px) {
  .banner-mobile { display: none; }
  .banner-desktop { display: flex; flex-direction: column; width: 100%; height: 100%; }
}
@media (min-width: 1568px) { .packed { padding-inline: 0; } }

/* Swipe rows (component): <div class="carousel swipe" data-swipe="md"><div class="carousel-track ...">items</div></div> is the
   items' own layout from 768px ("lg": from 1024px) and below that an endless row, one item at a time, with dots under it. */
.swipe + .dots { gap: 12px; margin-top: 32px; }
.dots button { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #8c8c8c; transition: background .3s cubic-bezier(.4, 0, .2, 1); }
.dots button::before { content: ""; position: absolute; inset: -7px -1px; }
.dots button[aria-current="true"] { background: var(--primary); }
@media (max-width: 767px) {
  .swipe[data-swipe="md"] { overflow-x: clip; overflow-y: visible; margin-inline: -24px; }
  .swipe[data-swipe="md"] > .carousel-track { display: flex; align-items: stretch; gap: 0; margin: 0; }
  .swipe[data-swipe="md"] > .carousel-track > * { flex: 0 0 calc(100% - 48px); margin: 0 24px; }
}
@media (max-width: 1023px) {
  .swipe[data-swipe="lg"] { overflow-x: clip; overflow-y: visible; margin-inline: -24px; }
  .swipe[data-swipe="lg"] > .carousel-track { display: flex; align-items: stretch; gap: 0; margin: 0; }
  .swipe[data-swipe="lg"] > .carousel-track > * { flex: 0 0 calc(100% - 48px); margin: 0 24px; }
}
@media (min-width: 768px) { .swipe[data-swipe="md"] { overflow: visible; touch-action: auto; } }
@media (min-width: 1024px) { .swipe[data-swipe="lg"] { overflow: visible; touch-action: auto; } }

/* Paged rows (component): a [data-paged] carousel stops at its ends; arrows and a dot per stop under it. The cards glide away under
   soft edges; the room around them is for their shadows. */
.carousel[data-paged], .lineup .carousel { --edge: 20px; margin: calc(var(--above, 0px) - 10px) calc(-1 * var(--edge)) -56px; padding: 10px var(--edge) 56px; -webkit-mask-image: linear-gradient(to right, transparent, #000 calc(var(--edge) * .7), #000 calc(100% - var(--edge) * .7), transparent); mask-image: linear-gradient(to right, transparent, #000 calc(var(--edge) * .7), #000 calc(100% - var(--edge) * .7), transparent); }
.paged-nav, .lineup-nav { position: relative; z-index: 1; }
@media (min-width: 768px) { .carousel[data-paged], .lineup .carousel { --edge: 24px; } }
.paged-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }
.paged-nav[hidden] { display: none; }
.paged-nav > button { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 36px; height: 36px; transition: color .15s, background-color .15s, border-color .15s, filter .15s; }
.paged-nav > button svg { stroke-width: 1.5; }
.paged-nav > button:disabled { cursor: default; opacity: .35; }
.paged-prev { border: 1px solid rgba(0, 0, 0, .15); background: #fff; color: #000; }
.paged-prev:hover { border-color: rgba(0, 0, 0, .4); }
.paged-next { background: var(--primary); color: #fff; }
.paged-next:hover { filter: brightness(1.1); }
.paged-nav .dots { flex-wrap: wrap; gap: 6px; max-width: 60vw; }
.paged-nav .dots button { width: 6px; height: 6px; background: rgba(0, 0, 0, .15); transition: background .15s cubic-bezier(.4, 0, .2, 1); }
.paged-nav .dots button:hover { background: rgba(0, 0, 0, .3); }
.paged-nav .dots button[aria-current="true"] { background: var(--primary); }
@media (min-width: 768px) {
  .paged-nav { gap: 24px; margin-top: 48px; }
  .paged-nav > button { width: 40px; height: 40px; }
  .paged-nav .dots { gap: 8px; }
  .paged-nav .dots button { width: 8px; height: 8px; }
}

/* Banner shades: each page banner darkens its picture its own way. */
.banner-shade { position: absolute; inset: 0; pointer-events: none; }
.banner-shade--financing { background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .1)); }
.banner-shade--about { background: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent) top / 100% 80% no-repeat; }
@media (min-width: 640px) {
  .banner-shade--financing { background: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent) top / 100% 70% no-repeat, linear-gradient(to right, rgba(0, 0, 0, .2) 29%, rgba(0, 0, 0, .22) 91%, transparent) left / 40% 100% no-repeat; }
  .banner-shade--about { background: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent) top / 100% 90% no-repeat; }
}

/* National hero (line-led): description on the line, then the title and its actions. */
.national-desc { max-width: 500px; transform: translateY(-10px); font-size: 14px; font-weight: 300; color: #fff; }
.national-hero h1 { margin-top: 1.5%; font-size: 42px; line-height: 110%; font-weight: 300; color: #fff; text-transform: uppercase; }
.national-ctas { flex-wrap: wrap; gap: 28px; margin-top: 4%; }
@media (min-width: 640px) { .national-hero-desktop { margin-top: 110px; } }
@media (min-width: 1024px) {
  .national-hero-desktop { margin-top: 140px; }
  .national-desc { transform: translateY(-14px); font-size: 16px; }
  .national-hero h1 { font-size: 56px; }
}
@media (min-width: 1280px) { .national-hero-desktop { margin-top: 222px; } .national-desc { max-width: 440px; font-size: 18px; } }
@media (min-width: 1536px) { .national-hero h1 { font-size: 78px; } }

/* Inquiry form over a wide picture (HEV, dealer pages). */
.inquiry { padding-bottom: 24px; }
.inquiry-bg { position: relative; width: 100%; background: #000; }
.inquiry-img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.inquiry-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 32px 24px 56px; background: #fff; box-shadow: 0 0 30px 0 rgba(13, 16, 45, .07), 0 23px 46px -11px rgba(13, 16, 45, .1); }
.inquiry-card .toyota-mark { width: 45px; height: 45px; }
.inquiry-card h2 { font-size: 30px; color: #1c244b; text-transform: uppercase; }
.inquiry-sub { margin-bottom: 16px; font-size: 16px; font-weight: 300; color: #172640; }
.inquiry-card .form-embed { width: 100%; gap: 37px; }
.inquiry-card .form-slot { justify-content: flex-start; height: 367px; min-height: 0; }
@media (min-width: 640px) { .inquiry-card .form-slot { height: 233px; } }
@media (min-width: 768px) { .inquiry-card { padding-inline: 32px; } }
@media (min-width: 1024px) {
  .inquiry { padding-bottom: 0; }
  .inquiry-bg { aspect-ratio: 1920 / 667; padding: 79px 0 92px; }
  .inquiry-img { display: block; }
  .inquiry-card { max-width: 666px; margin: 0 24px 0 auto; padding: 48px; }
  .inquiry-card .toyota-mark { display: none; }
}
@media (min-width: 1536px) { .inquiry-card { margin: 0 0 0 55%; } }

.ink { color: var(--ink); }
.semibold { font-weight: 600; }

/* ========== Service page ========== */
/* Service hero: the description on the line, dotted anchor links under the title, two actions and the Service Care seal. */
.banner-shade--service { background: linear-gradient(to bottom, rgba(0, 0, 0, .9), rgba(0, 0, 0, .15)); }
.service-hero .banner-mobile-desc { margin-top: 16px; }
.service-hero .banner-mobile-ctas { flex-direction: column-reverse; align-items: center; gap: 12px; padding-inline: 24px; }
.service-hero .national-desc { max-width: 500px; }
.service-hero h1 { max-width: 600px; margin-top: -4px; font-size: 40px; line-height: 1; font-weight: 300; color: #fff; text-transform: uppercase; }
.service-hero .banner-ctas { gap: 20px; margin-top: 24px; }
.service-hero .service-badge { position: absolute; right: 0; bottom: 100px; left: 0; display: none; pointer-events: none; }
.service-badge .packed { display: flex; justify-content: flex-end; }
.service-badge img { width: 56px; flex-shrink: 0; aspect-ratio: 281 / 368; object-fit: cover; }
.highlights { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: 24px; list-style: none; }
.banner-mobile .highlights { gap: 8px 20px; margin-top: 20px; padding-inline: 24px; }
.highlights li { display: flex; align-items: center; gap: 8px; }
.highlights li::before { content: ""; width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: #fff; transition: background-color .3s cubic-bezier(.4, 0, .2, 1); }
.highlights a { position: relative; font-size: 14px; line-height: 1; font-weight: 300; color: #fff; text-transform: uppercase; text-decoration: underline dotted; text-underline-offset: 3px; transition: color .3s cubic-bezier(.4, 0, .2, 1); }
.highlights a::before { content: ""; position: absolute; inset: -5px 0; }
@media (hover: hover) {
  .highlights li:hover::before { background: var(--primary); }
  .highlights li:hover a { color: var(--primary); }
}
@media (min-width: 640px) {
  .banner-shade--service { background: linear-gradient(to bottom, rgba(0, 0, 0, .9), rgba(0, 0, 0, .4)); }
  .service-hero-desktop { margin-top: 14%; }
  .service-hero .service-badge { display: block; }
}
@media (min-width: 768px) { .service-hero-desktop { margin-top: 15%; } }
@media (min-width: 1024px) {
  .service-hero-desktop { margin-top: 140px; }
  .service-hero h1 { max-width: 900px; font-size: 58px; }
  .service-hero .banner-ctas { margin-top: 60px; }
  .service-badge img { width: 72px; }
  .highlights { gap: 12px 48px; margin-top: 40px; }
  .highlights li { gap: 14px; }
  .highlights li::before { width: 8px; height: 8px; }
  .highlights a { font-size: 19px; }
}
@media (min-width: 1280px) { .service-hero-desktop { margin-top: 222px; } }
@media (min-width: 1536px) {
  .service-hero h1 { max-width: 1200px; font-size: 78px; }
  .service-badge img { width: 84px; }
  .highlights a { font-size: 22.39px; }
}

/* Mosaic cards: a tall featured card, smaller cards and a wide photo. Below 1024px the smaller cards swipe. */
.mosaic { margin-top: 32px; }
.mosaic-card { display: flex; flex-direction: column; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.mosaic-card-img { position: relative; flex-shrink: 0; width: 100%; min-height: 0; aspect-ratio: 440 / 240; overflow: hidden; }
.mosaic-card-img img, .mosaic-wide img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-card-img::after { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 10px; background: var(--primary); }
.mosaic-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 24px 24px; }
.mosaic-card h3 { font-size: 22px; line-height: 130%; color: #000; text-transform: uppercase; }
.mosaic-card-desc { margin-top: 6px; font-size: 15px; line-height: 170%; font-weight: 300; color: #000; }
.mosaic-card--featured .mosaic-card-img { aspect-ratio: 440 / 230; }
.mosaic-card--featured .mosaic-card-img img { object-position: top; }
.mosaic-card--featured .mosaic-card-body { padding: 24px 24px 28px; }
.mosaic-badge { display: flex; margin-top: auto; padding-top: 16px; }
.mosaic-badge span { padding: 8px 12px; background: var(--primary); font-size: 18px; line-height: 1; color: #fff; text-transform: uppercase; }
.mosaic-wide { margin-top: 12px; aspect-ratio: 1173 / 615; overflow: hidden; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.mosaic-wide picture { height: 100%; }
.mosaic .swipe { margin-top: 12px; }
@media (min-width: 1024px) {
  .mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
  .mosaic .swipe, .mosaic .carousel-track { display: contents; }
  .mosaic-card { box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .mosaic-card-img { aspect-ratio: 373 / 175; }
  .mosaic-card-img::after { height: 12px; }
  .mosaic-card h3 { font-size: 25.89px; }
  .mosaic-card-desc { font-size: 18.06px; }
  .mosaic-card--featured { grid-row: span 2; }
  .mosaic-card--featured .mosaic-card-img { aspect-ratio: 373 / 375; }
  .mosaic-card--featured .mosaic-card-img img { object-position: center; }
  .mosaic-card--featured .mosaic-card-body { padding: 28px 30px; }
  .mosaic-badge span { font-size: 21.34px; }
  .mosaic-wide { order: 1; grid-column: span 2; margin-top: 0; aspect-ratio: auto; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
}

/* Numbered steps with big thin numerals (reasons and booking). */
.steps { margin: 16px 0 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 12px; padding-block: 8px; border-bottom: 1px solid #d9d9d9; }
.steps li:last-child { border-bottom: 0; }
.steps-no { width: 1.2em; flex-shrink: 0; font-family: montserratThin, var(--font); font-size: 57.19px; line-height: 75%; font-weight: 100; color: var(--primary); }
.steps li > div { min-width: 0; }
.steps h3 { font-size: 13px; line-height: 1.25; letter-spacing: .02em; color: #000; text-transform: uppercase; }
.steps p { margin-top: 6px; font-size: 10px; line-height: 145%; font-weight: 300; color: #727272; }
.steps--booking { margin-top: 24px; }
.steps--booking li { padding-block: 12px; }
.steps--booking h3 { font-weight: 600; color: #1e1e1e; }
@media (min-width: 768px) {
  .steps-no { font-size: 90px; }
  .steps h3 { font-size: 20px; }
  .steps p { font-size: 15px; }
  .steps--booking .steps-no { font-size: 65px; }
  .steps--booking h3 { font-size: 18px; }
  .steps--booking p { font-size: 13px; }
}
@media (min-width: 1024px) {
  .steps li { gap: 32px; padding-block: 24px; }
  .steps--booking { margin-top: 32px; }
  .steps--booking li { gap: 24px; padding-block: 20px; }
  .steps--booking .steps-no { font-size: 73.34px; }
  .steps--booking h3 { font-size: 22px; }
  .steps--booking p { font-size: 16px; }
}
@media (min-width: 1280px) {
  .steps--reasons .steps-no { font-size: 111.75px; }
  .steps--reasons h3 { font-size: 25.89px; }
  .steps--reasons p { font-size: 18.06px; }
}

/* Reasons: a photo that bleeds off the left edge beside the numbered reasons. */
.reasons { margin-top: 28px; }
.reasons-img { position: relative; padding-inline: 24px; }
.reasons-img img { width: 100%; aspect-ratio: 2910 / 1532; object-fit: cover; }
.reasons-img::after { content: ""; position: absolute; top: 0; right: 24px; bottom: 0; z-index: 1; width: 8px; background: var(--primary); }
.reasons-text { margin-top: 36px; padding-inline: 24px; }
.reasons-text h2 { font-size: 28px; line-height: 115%; font-weight: 300; color: #1e1e1e; text-transform: uppercase; }
@media (min-width: 768px) { .reasons-text h2 { font-size: 44px; } }
@media (min-width: 1024px) {
  .reasons { display: flex; align-items: center; gap: 53px; margin-top: 64px; }
  .reasons-img { width: 50%; flex-shrink: 0; padding: 0; }
  .reasons-img img { aspect-ratio: 2910 / 2358; }
  .reasons-img::after { right: 0; width: 16px; }
  .reasons-text { flex: 1; min-width: 0; margin-top: 0; padding: 0 max(24px, calc((100vw - 1520px) / 2)) 0 0; }
}
@media (min-width: 1280px) { .reasons-text h2 { font-size: 54.03px; } }

/* Booking: numbered steps beside a form card. */
.booking-img { width: 100%; aspect-ratio: 2310 / 867; object-fit: cover; }
.booking-bar { display: block; height: 8.63px; background: var(--primary); }
.booking-card { margin: 36px -24px 0; padding: 36px 24px; border: 1px solid #f1f1f1; background: #fff; text-align: center; box-shadow: 0 11.1px 22.21px rgba(13, 16, 45, .1), 0 23.13px 46.27px rgba(13, 16, 45, .1); }
.booking-card .toyota-mark { width: auto; height: 32px; margin-inline: auto; color: #1c244b; }
.booking-card h3 { margin-top: 20px; font-size: 24px; color: #1c244b; text-transform: uppercase; }
.booking-sub { margin-top: 8px; font-size: 16px; font-weight: 300; color: #172640; }
.booking-card .form-embed { margin-top: 32px; text-align: start; }
@media (min-width: 1024px) {
  .booking { display: flex; align-items: flex-start; gap: 40px; }
  .booking-steps { flex: 1; min-width: 0; }
  .booking-bar { height: 17px; }
  .booking-card { width: 43.4%; flex-shrink: 0; margin: 0; padding: 56px 48px 48px; }
  .booking-card .toyota-mark { height: 36px; }
  .booking-card h3 { margin-top: 24px; font-size: 30px; }
}
@media (min-width: 1280px) { .booking { gap: 85px; } }

/* ========== Financing page ========== */
/* Finance calculator (component): the three steps, and the panel with the sliders and the monthly payment. */
.calc { display: flex; flex-direction: column; gap: 30px; }
.calc-steps { display: flex; flex-direction: column; gap: 22px; flex: 1; min-width: 0; }
.calc-step { display: flex; align-items: center; gap: 7px; font-size: 17.25px; color: #1e1e1e; }
.calc-step span { padding: 6px 8px; border: 1px solid rgba(0, 0, 0, .3); line-height: 1; }
.calc-step b { font-weight: 600; }
.calc-models { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 7px; margin-top: 10px; }
.calc-model { position: relative; aspect-ratio: 366 / 483; overflow: hidden; text-align: start; }
.calc-model img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.calc-model::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .55); transition: opacity .3s cubic-bezier(.4, 0, .2, 1); }
.calc-model::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: 1; width: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.calc-model[aria-pressed="true"]::before { opacity: 0; }
.calc-model[aria-pressed="true"]::after { transform: none; }
.calc-model-name { position: absolute; bottom: 0; left: 0; z-index: 2; width: 100%; padding: 5px; line-height: 115%; color: #fff; text-transform: uppercase; }
.calc-model-name span { display: block; font-size: 10px; line-height: 115%; }
.calc-model-name span + span { font-size: 7px; color: rgba(255, 255, 255, .7); }
/* Every model's trims share one place. Choosing a car fades its trims in one after another as the old ones fade out; on phones the
   place changes height with them (site.js). */
.calc-variants { display: grid; align-items: start; margin-top: 10px; clip-path: inset(-24px); transition: height .4s cubic-bezier(.4, 0, .2, 1); }
.calc-variants > div { grid-area: 1 / 1; display: grid; align-content: start; gap: 9px; }
.calc-variant { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 13px; border: 1px solid #d5d5d5; transition: background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1), opacity .4s ease-out var(--wait), translate .4s ease-out var(--wait); --wait: calc(.12s + var(--i, 0) * .05s); }
.calc-variants > [inert] .calc-variant { --wait: 0s; opacity: 0; translate: 0 14px; transition-duration: .15s, .15s, .2s, .2s; }
.calc-variant span { flex-shrink: 0; font-size: 10px; font-weight: 300; color: #b5b5b5; }
.calc-variant span:first-child { flex-shrink: 1; overflow: hidden; font-size: 13px; font-weight: 400; color: #3c3c3c; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.calc-variant[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.calc-variant[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
.calc-variant[aria-pressed="true"] span:first-child { color: #fff; }
.calc-note { margin-top: 10px; font-size: 11px; color: #b5b5b5; }
.calc-renders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 24px; }
.calc-renders .calc-stack { width: 100%; aspect-ratio: 3 / 2; }
.calc-stack { position: relative; isolation: isolate; }
.calc-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.calc-renders .calc-stack img { object-fit: contain; }
.calc-stack .is-under { opacity: 1; }
.calc-stack .is-active { z-index: 10; opacity: 1; transition: opacity .5s cubic-bezier(0, 0, .2, 1); }
.calc-panel { width: 100%; flex-shrink: 0; }
.calc-hero { position: relative; width: 100%; aspect-ratio: 2799 / 1308; overflow: hidden; }
.calc-hero .calc-stack { position: absolute; inset: 0; }
.calc-hero::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 62%; background: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .25), transparent); }
.calc-hero::after { content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 45%; background: linear-gradient(to top, rgba(0, 0, 0, .6), transparent); }
.calc-name { position: absolute; top: 14px; left: 10px; z-index: 2; width: 100%; }
.calc-name p { font-size: 17.25px; line-height: 1; font-weight: 600; letter-spacing: .02em; color: #fff; text-transform: uppercase; }
.calc-lockup { object-fit: contain; object-position: left; }
.calc-lockup.is-white { filter: brightness(0) invert(1); }
.calc-badge { width: 42px; margin-top: 8px; aspect-ratio: 293 / 71; object-fit: cover; }
.calc-price { position: absolute; bottom: 11px; left: 10px; z-index: 2; font-size: 22px; line-height: 1; font-weight: 600; color: #fff; }
.calc-price span { font-size: 15px; font-weight: 400; }
.calc-programmes { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; margin-top: 23px; border: 1px solid #d5d5d5; }
.calc-programmes button { padding-block: 9px; font-size: 14.78px; color: #1e1e1e; transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1); }
.calc-programmes button[aria-pressed="true"] { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.calc-programmes button:disabled { cursor: not-allowed; opacity: .4; }
.calc-selects { display: flex; flex-direction: column; gap: 13px; margin-top: 18px; }
.calc-select { position: relative; }
.calc-field { display: block; width: 100%; padding: 9px 13px; overflow: hidden; border: 1px solid #818181; background: #fff; text-align: start; font-size: 13px; color: #525252; text-overflow: ellipsis; white-space: nowrap; appearance: none; }
.calc-field:disabled { cursor: not-allowed; opacity: .7; }
.calc-field:enabled { padding-right: 40px; cursor: pointer; transition: border-color .2s cubic-bezier(.4, 0, .2, 1), box-shadow .2s cubic-bezier(.4, 0, .2, 1); }
.calc-field:enabled:focus-visible { border-color: #1e1e1e; outline: none; box-shadow: 0 0 0 3px rgba(192, 0, 0, .18); }
.calc-select.is-open .calc-trigger { border-color: #1e1e1e; box-shadow: none; }
.calc-native { display: none; }
.calc-chevron { position: absolute; top: 50%; right: 14px; width: 18px; height: 18px; translate: 0 -50%; color: #1e1e1e; pointer-events: none; transition: rotate .2s cubic-bezier(.4, 0, .2, 1); }
.calc-select.is-open .calc-chevron { rotate: 180deg; }
.calc-select.is-open { z-index: 650; }
.calc-select.is-open::before { content: ""; position: fixed; inset: 0; z-index: 1; }
.calc-list { position: absolute; top: calc(100% + 6px); left: 0; z-index: 2; width: 100%; overflow: hidden auto; padding: 6px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 14px; background: rgba(255, 255, 255, .62); box-shadow: 0 18px 48px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .8); backdrop-filter: blur(24px) saturate(180%); scrollbar-width: none; overscroll-behavior: contain; animation: calc-list-in .15s ease; }
.calc-list.is-above { top: auto; bottom: calc(100% + 6px); }
.calc-list.is-closing { animation: fade-out .15s ease forwards; pointer-events: none; }
@keyframes calc-list-in { from { opacity: 0; transform: translateY(-8px) scale(.95); } }
.calc-list > * { position: relative; display: flex; align-items: center; padding: 10px 40px 10px 14px; border-radius: 9px; font-size: 13px; color: #1e1e1e; cursor: pointer; user-select: none; }
.calc-list > .is-at { background: rgba(0, 0, 0, .06); }
.calc-list > [aria-selected="true"] { color: var(--primary); }
.calc-list svg { position: absolute; right: 14px; width: 16px; height: 16px; }
.calc-list > :not([aria-selected="true"]) svg { display: none; }
@media (pointer: coarse) {
  .calc-native { display: block; }
  .calc-trigger { display: none; }
  .calc-chevron { margin-right: -1px; }
}
@media (hover: hover) {
  .calc-variant:not([aria-pressed="true"]):hover { border-color: var(--primary); }
  .calc-programmes button:not([aria-pressed="true"]):enabled:hover { background: rgba(0, 0, 0, .05); }
  .calc-field:enabled:hover { border-color: #1e1e1e; }
}
.calc-slider { margin-top: 18px; }
.calc-slider + .calc-slider { margin-top: 14px; }
.calc-slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 13px; color: #1e1e1e; }
.calc-slider-value b { font-weight: 400; color: var(--primary); }
/* Taller than its thumb, so a finger can hold it; the margins take the extra height back. */
.calc-range { --thumb: 16px; --spare: calc((24px - var(--thumb)) / 2); display: block; width: 100%; height: 24px; margin: calc(7px - var(--spare)) 0 calc(0px - var(--spare)); background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc-range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, #c00000 0, #c00000 var(--fill), #d9d9d9 var(--fill), #d9d9d9 100%); }
.calc-range::-webkit-slider-thumb { width: var(--thumb); height: var(--thumb); margin-top: calc((2px - var(--thumb)) / 2); border: 1.5px solid #c00000; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); -webkit-appearance: none; appearance: none; }
.calc-range::-moz-range-track { height: 2px; background: #d9d9d9; }
.calc-range::-moz-range-progress { height: 2px; background: #c00000; }
.calc-range::-moz-range-thumb { width: var(--thumb); height: var(--thumb); border: 1.5px solid #c00000; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.calc-range:focus-visible { outline: none; }
.calc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 1px 3px rgba(0, 0, 0, .2), 0 0 0 3px rgba(192, 0, 0, .25); }
.calc-range:focus-visible::-moz-range-thumb { box-shadow: 0 1px 3px rgba(0, 0, 0, .2), 0 0 0 3px rgba(192, 0, 0, .25); }
.calc-range:disabled { cursor: not-allowed; opacity: .7; }
.calc-scale { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; font-size: 9px; color: #b5b5b5; }
.calc-result { margin-top: 22px; padding: 10px 11px 12px; border: 1px solid #e5e5e5; border-inline-start: 4px solid var(--primary); }
.calc-result-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 9px; color: #8a8a8a; }
.calc-result-head > span + span { text-align: end; }
.calc-result-head .red { color: #e40000; }
.calc-monthly { display: flex; align-items: baseline; gap: 7px; min-height: 28px; margin-top: 2px; font-size: 28px; line-height: 1; color: #1e1e1e; }
.calc-unit { font-size: 13px; color: var(--primary); }
.calc-price-note { margin-top: 6px; font-size: 8px; color: #8a8a8a; }
.calc-insurance { font-size: 11px; line-height: 1.4; color: #6b6b6b; }
.calc-insurance .red { color: #e40000; }
.calc-legal { padding: 8px 12px; border-inline-start: 3px solid var(--primary); background: #f6f6f6; font-size: 12px; line-height: 1.4; color: #3c3c3c; }
.calc-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; border-top: 1px solid #e5e5e5; }
.calc-metrics div { padding-top: 8px; }
.calc-metrics div + div { padding-inline-start: 10px; border-inline-start: 1px solid #e5e5e5; }
.calc-metrics dt { font-size: 8px; color: #8a8a8a; }
.calc-metrics dd { margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--primary); }
.calc-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.calc-ctas .btn { width: 100%; min-width: 0; min-height: 37px; font-size: 14.78px; }
.calc-ctas .btn--outline:not(:hover, :active) { border-color: #d5d5d5; color: #1e1e1e; }
@media (min-width: 768px) {
  .calc-steps { gap: 40px; }
  .calc-step { gap: 11px; font-size: 24.14px; }
  .calc-step span { padding: 8px 11px; }
  .calc-models { gap: 18px; margin-top: 18px; }
  .calc-model-name { padding: 11px 13px; }
  .calc-model-name span { font-size: 14px; }
  .calc-model-name span + span { font-size: 9.85px; }
  /* Every model's trims share one cell, so the box keeps the height of the longest list and step 03 stays put. */
  .calc-variants { margin-top: 18px; }
  .calc-variants > div { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 18px; }
  .calc-variant { padding: 14px 21px; }
  .calc-variant span { font-size: 15px; }
  .calc-variant span:first-child { font-size: 20px; }
  .calc-note { margin-top: 18px; font-size: 17px; }
  .calc-renders { gap: 18px; margin-top: 40px; }
  .calc-hero::after { display: none; }
  .calc-name { top: 26px; left: 32px; }
  .calc-name p { font-size: 25.11px; }
  .calc-badge { width: 65px; margin-top: 15px; }
  .calc-price { top: 26px; right: 32px; bottom: auto; left: auto; font-size: 23px; }
  .calc-body { padding: 0 32px 32px; }
  .calc-programmes { margin-top: 30px; }
  .calc-programmes button { padding-block: 13px; font-size: 21px; }
  .calc-selects { margin-top: 24px; }
  .calc-field { padding: 11px 18px; font-size: 18.28px; }
  .calc-field:enabled { padding-right: 48px; }
  .calc-chevron { right: 19px; width: 26px; height: 26px; }
  .calc-list > * { font-size: 18.28px; }
  .calc-list svg { width: 20px; height: 20px; }
  .calc-slider { margin-top: 22px; }
  .calc-slider + .calc-slider { margin-top: 18px; }
  .calc-slider-head { font-size: 18px; }
  .calc-range { --thumb: 21px; margin-top: calc(10px - var(--spare)); }
  .calc-scale { margin-top: 4px; font-size: 13px; }
  .calc-result { margin-top: 26px; padding: 18px 24px 16px; }
  .calc-result-head { font-size: 14.5px; }
  .calc-monthly { min-height: 40px; margin-top: 3px; font-size: 40px; }
  .calc-unit { font-size: 22px; }
  .calc-price-note { margin-top: 8px; font-size: 12.5px; }
  .calc-legal { font-size: 14px; }
  .calc-metrics { margin-top: 13px; }
  .calc-metrics div { padding-top: 12px; }
  .calc-metrics div + div { padding-inline-start: 16px; }
  .calc-metrics dt { font-size: 13.5px; }
  .calc-metrics dd { margin-top: 5px; font-size: 17px; }
  .calc-ctas { margin-top: 26px; }
  .calc-ctas .btn { min-height: 46px; font-size: 19px; }
}
@media (min-width: 1024px) {
  .calc { flex-direction: row; gap: 42px; }
  .calc-panel { width: 695px; background: #fff; box-shadow: 0 4px 30px rgba(0, 0, 0, .12); }
}
@media (prefers-reduced-motion: reduce) {
  .calc-stack .is-active, .calc-variants, .calc-variant, .calc-model::before, .calc-model::after, .calc-chevron, .split-rule { transition: none; }
  .calc-list, .calc-list.is-closing { animation-duration: .01ms; }
}

/* ========== Promotions page ========== */
/* Promotions: featured promotions as a slideshow, every promotion as a card, details in a dialog. */
.promotions { display: flex; flex-direction: column; gap: 56px; overflow-x: clip; }
@media (min-width: 768px) { .promotions { gap: 80px; } }

/* The pictures slide; their texts cross-fade in one place, so the button under them stays still. */
.promo-hero .carousel, .promo-hero .carousel-track { position: absolute; inset: 0; }
.promo-slide { position: relative; }
.promo-slide picture, .promo-slide img { width: 100%; height: 100%; object-fit: cover; }
.promo-slide::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 68% 48% at 50% 20%, rgba(0, 0, 0, .52) 0%, rgba(0, 0, 0, .26) 55%, transparent 100%), radial-gradient(ellipse at center, rgba(0, 0, 0, .24) 0%, rgba(0, 0, 0, .4) 60%, rgba(0, 0, 0, .72) 100%); }
.promo-hero-texts { position: absolute; top: 16%; left: 0; right: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; padding-inline: 24px; text-align: center; color: #fff; pointer-events: none; text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 3px 20px rgba(0, 0, 0, .65); }
.promo-hero-copy { display: grid; justify-items: center; width: 100%; }
.promo-hero-text { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; width: 100%; opacity: 0; transition: opacity .2s cubic-bezier(.4, 0, 1, 1); }
.promo-hero-text.is-active { opacity: 1; transition: opacity .5s cubic-bezier(0, 0, .2, 1) .2s; }
.promo-hero-text.is-active [data-selectable] { pointer-events: auto; cursor: text; }
.promo-hero-text h1, .promo-hero-text h2 { font-size: 28px; line-height: 112%; font-weight: 700; }
.promo-hero-desc { max-width: 600px; margin-top: 12px; font-size: 13px; line-height: 1.625; font-weight: 300; color: rgba(255, 255, 255, .9); }
.promo-hero .promo-hero-cta { margin-top: 16px; font-weight: 300; pointer-events: auto; box-shadow: 0 4px 10px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .45); }
@media (min-width: 640px) {
  .promo-hero-text h1, .promo-hero-text h2 { font-size: 40px; }
  .promo-hero-desc { margin-top: 16px; font-size: 15px; }
}
@media (min-width: 768px) { .promo-hero-texts { top: 22%; } }
@media (min-width: 1024px) {
  .promo-hero-text h1, .promo-hero-text h2 { font-size: 52px; }
  .promo-hero-desc { max-width: 75vw; font-size: 17px; }
}
@media (min-width: 1280px) { .promo-hero-text h1, .promo-hero-text h2 { font-size: 70px; } }
@media (prefers-reduced-motion: reduce) { .promo-hero-text, .promo-hero-text.is-active { transition: none; } }

/* Details: a glass panel over the blurred page. */
.promo-dialog .dialog-overlay { background: rgba(0, 0, 0, .5); backdrop-filter: blur(10px); }
.promo-dialog.is-closing .dialog-overlay { backdrop-filter: blur(10px); animation-duration: .15s; }
.promo-panel { display: grid; gap: 16px; width: 100%; max-width: min(95dvw, 1240px); max-height: 90dvh; padding: 24px 40px 24px 24px; overflow: auto; touch-action: auto; border: 1px solid #fff; border-radius: 7px; background: rgba(20, 20, 22, .95); color: #fff; color-scheme: dark; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .45) transparent; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); backdrop-filter: blur(6px); }
.promo-close { position: absolute; inset-inline-end: 16px; top: 12px; color: rgba(255, 255, 255, .8); }
.promo-close:focus-visible { outline-color: #fff; }
.promo-panel h2[id] { padding-inline-end: 32px; font-size: 22px; line-height: 140%; font-weight: 600; }
.promo-panel-img { width: 100%; aspect-ratio: 3630 / 2046; object-fit: cover; }
.promo-panel-body { min-width: 0; }
.promo-panel-body > :not(:last-child), .promo-prose > :not(:last-child) { margin-bottom: 16px; }
.promo-prose { min-width: 0; overflow-x: auto; }
.promo-prose > .gap { margin-top: 56px; }
.promo-prose p, .promo-prose li { font-size: 14px; line-height: 24px; }
.promo-prose p.lead { font-size: 15px; line-height: 170%; }
.promo-prose h2 { padding-top: 16px; font-size: 20px; line-height: 170%; }
.promo-prose h2 strong { font-weight: 600; text-transform: uppercase; }
.promo-prose h3 { padding-top: 8px; font-size: 18px; line-height: 1.5; }
.promo-prose ul, .promo-prose ol { padding-inline-start: 24px; }
.promo-prose li { padding-inline-start: 4px; }
.promo-prose li:not(:last-child) { margin-bottom: 6px; }
.promo-prose li::marker { color: rgba(255, 255, 255, .6); }
.promo-prose table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: center; }
.promo-prose th { padding: 20px 8px; border-block: .5px solid #fff; font-size: 13px; font-weight: 400; color: #acacac; }
.promo-prose td { padding: 16px 8px; border-bottom: .5px solid #fff; font-size: 15px; line-height: 170%; white-space: nowrap; }
.promo-prose hr { border-top: 1px solid rgba(255, 255, 255, .15); }
.promo-panel a { color: rgba(255, 255, 255, .8); text-decoration: underline; text-underline-offset: 4px; transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.promo-contacts { display: grid; gap: 12px; }
.promo-contacts > div { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 7px; background: rgba(255, 255, 255, .05); font-size: 14px; line-height: 24px; }
.promo-contact-name { font-weight: 600; }
@media (hover: hover) { .promo-close:hover, .promo-panel a:hover { color: #fff; } }
@media (min-width: 640px) { .promo-contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .promo-panel { padding: 48px; }
  .promo-panel h2[id] { font-size: 36px; line-height: 1.5; }
  .promo-prose p { font-size: 16px; line-height: 1.5; }
  .promo-prose li { font-size: 16px; }
  .promo-prose p.lead { font-size: 18px; }
  .promo-prose h2 { padding-top: 40px; font-size: 26px; }
  .promo-prose h3 { font-size: 20px; }
  .promo-prose th { font-size: 15px; }
  .promo-prose td { font-size: 18px; }
  .promo-contacts > div { padding: 16px 20px; font-size: 16px; }
}
@media (min-width: 1280px) { .promo-panel { padding: 65px 100px; } }

/* Feedback banner: a red block with a quote and a form card. */
.feedback { background: linear-gradient(to bottom right, #b90000, #5b0000); background-image: linear-gradient(to bottom right in oklab, #b90000, #5b0000); }
.feedback .toyota-mark { color: #fff; }
.feedback .gap { margin-top: 1lh; }
.feedback-mark { display: none; }
.feedback-copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px 0 40px; color: #fff; }
.feedback-copy h2 { width: 90%; text-align: center; font-size: 23px; text-transform: uppercase; }
.feedback-quote { display: contents; }
.feedback-quote > img { position: absolute; top: 80px; left: 20px; width: 90px; opacity: .18; }
.feedback-quote .paragraph > * { font-size: 14px; }
.feedback-quote > .paragraph { width: 90%; padding-inline-start: 48px; }
.feedback-quote > .paragraph, .feedback-quote > .paragraph > * { text-align: start; }
.feedback-card { padding: 24px 24px 44px; background: #fff; box-shadow: 0 11.1px 22.21px rgba(13, 16, 45, .1); }
.feedback-card h3 { text-align: center; font-size: 30px; color: #1c244b; text-transform: uppercase; }
.feedback-sub { text-align: center; font-size: 16px; font-weight: 300; color: #172640; }
.feedback-card .form-embed { margin-top: 24px; }
.feedback-foot { display: flex; align-items: center; gap: 20px; padding-block: 20px; }
.feedback-foot::before, .feedback-foot::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(255, 255, 255, .45)); }
.feedback-foot::after { background: linear-gradient(to left, transparent, rgba(255, 255, 255, .45)); }
.feedback-foot .toyota-mark { flex-shrink: 0; width: auto; height: 30px; }
@media (min-width: 1024px) {
  .feedback { position: relative; padding-block: 80px; }
  .feedback-mark { position: absolute; top: 56px; left: 50%; display: block; transform: translateX(-50%); }
  .feedback-mark .toyota-mark { width: auto; height: 50px; }
  .feedback-in { display: flex; align-items: stretch; gap: 32px; padding-inline: 24px; }
  .feedback-copy { flex: 55%; justify-content: center; gap: 0; padding: 80px 0; }
  .feedback-copy h2 { width: 100%; text-align: start; font-size: 40px; }
  .feedback-quote { display: flex; align-items: flex-start; width: 100%; margin-top: 40px; }
  .feedback-quote > img { position: static; flex-shrink: 0; width: 14vw; opacity: 1; transform: translateY(16px); }
  .feedback-quote .paragraph > * { font-size: 22px; }
  .feedback-quote > .paragraph { flex: 1; width: auto; padding: 0 40px 0 20px; }
  .feedback-side { display: flex; flex: 45%; align-items: center; justify-content: center; min-width: 560px; }
  .feedback-card { width: 100%; max-width: 680px; padding: 40px 24px; border: 2px solid #f1f1f1; box-shadow: 0 11.1px 22.21px rgba(13, 16, 45, .1), 0 23.13px 46.27px rgba(13, 16, 45, .1); }
  .feedback-card .form-embed { margin-top: 28px; padding-inline: 8px; }
  .feedback-foot { display: none; }
}
@media (min-width: 1280px) { .feedback-quote > img { margin-inline-start: -20px; } }
@media (min-width: 1536px) {
  .feedback-in { gap: 40px; }
  .feedback-quote > img { margin-inline-start: -40px; }
  .feedback-quote > .paragraph { padding-inline-end: 8px; }
}
@media (min-width: 1568px) { .feedback-in { padding-inline: 0; } }

/* ========== About page ========== */
/* History timeline: an endless carousel of framed photos on a dashed line, one centred at a time; its story fades in below. */
.timeline-stage { position: relative; aspect-ratio: 1.77; width: 100%; margin-top: 40px; overflow-x: clip; }
.timeline-line { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.timeline-view, .timeline-view .carousel-track { position: relative; width: 100%; height: 100%; }
.timeline-view:focus-visible { outline-offset: -4px; }
.timeline-view .timeline-slide { display: flex; flex: 0 0 100%; align-items: center; justify-content: center; }
.timeline-photo { position: relative; width: 100%; }
.timeline-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.timeline-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 25%; background: linear-gradient(to top, rgba(0, 0, 0, .2), transparent); }
.timeline-nav { position: absolute; top: 100%; left: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 16px; }
.timeline-dot { position: relative; width: 10px; height: 10px; border-radius: 999px; background: #8c8c8c; transition: background .3s cubic-bezier(.4, 0, .2, 1); }
.timeline-dot::before { content: ""; position: absolute; inset: -7px -6px; }
.timeline-dot[aria-current="true"] { background: var(--primary); }
.timeline-prev, .timeline-next { display: none; flex-shrink: 0; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0 solid #fff; color: #fef2f2; transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.timeline-prev { border-width: 1px; }
.timeline-next { background: var(--primary); }
@media (hover: hover) { .timeline-next:hover { background: rgba(193, 15, 16, .9); } }
.timeline-stories { display: grid; width: calc(100vw - 32px); margin: 16px 0 0 16px; }
.timeline-story { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .3s cubic-bezier(.4, 0, .2, 1), visibility .3s; }
.timeline-story.is-active { opacity: 1; visibility: visible; }
.timeline-story-in { display: flex; flex-direction: column; }
.timeline-story h3 { display: flex; flex-shrink: 0; align-items: baseline; font-size: 90px; }
.timeline-story small { translate: 0 -6px; font-size: 20px; font-weight: 300; }
.timeline-story h4 { font-weight: 600; }
.timeline-story .paragraph { margin-top: 8px; }
@media (min-width: 768px) {
  .timeline-stage { aspect-ratio: 3.119; }
  .timeline-view .timeline-slide { flex-basis: 70vw; padding-inline: 6.5vw; }
  .timeline-nav { gap: 16px; height: 0; margin: 0; translate: 0 -40px; }
  .timeline-dot { width: 13px; height: 13px; background: #fff; }
  .timeline-prev, .timeline-next { display: flex; }
}
@media (min-width: 1024px) {
  .timeline-stage { aspect-ratio: 3.78; }
  .timeline-view .timeline-slide { flex-basis: 60vw; }
  .timeline-story-in { flex-direction: row; align-items: flex-start; gap: 45px; margin-inline: auto; }
  .timeline-story h3 { font-size: 132px; }
  .timeline-story small { font-size: 26px; }
  .timeline-story h4 { margin-top: 32px; font-size: 26px; }
  .timeline-story .paragraph { margin-top: 14px; }
}
@media (min-width: 1280px) { .timeline-story-in { width: 70vw; } }
@media (min-width: 1536px) { .timeline-story-in { padding-inline: 100px; } }
@media (prefers-reduced-motion: reduce) { .timeline-story { transition: none; } }

/* ========== Support and text pages ========== */
/* Support hero: a light title over a bold accent word, and two actions. */
.banner-shade--support { background: linear-gradient(to bottom, rgba(0, 0, 0, .7), rgba(0, 0, 0, .2)); }
.dual-hero .banner-mobile { padding-top: 45%; }
.dual-hero .banner-mobile-ctas { gap: 12px; }
.dual-hero-desktop { padding-top: max(12.5%, 8rem); }
.dual-hero-eyebrow { max-width: 500px; transform: translateY(-10px); font-size: 14px; font-weight: 300; color: #fff; }
.dual-hero h1 { font-size: 28px; line-height: 115%; color: #fff; text-transform: uppercase; }
.dual-hero h1 span { font-weight: 300; }
.dual-hero h1 b { display: block; font-size: 46px; line-height: 95%; }
.dual-hero .banner-ctas { gap: 20px; margin-top: 32px; }
@media (min-width: 640px) {
  .banner-shade--support { background: linear-gradient(to bottom, rgba(0, 0, 0, .7), transparent) top / 100% 90% no-repeat, linear-gradient(to right, rgba(0, 0, 0, .7), rgba(0, 0, 0, .3), transparent) left / 55% 100% no-repeat; }
}
@media (min-width: 1024px) {
  .dual-hero-eyebrow { transform: translateY(-14px); font-size: 16px; }
  .dual-hero h1 { font-size: 36px; }
  .dual-hero h1 b { font-size: 60px; }
  .dual-hero .banner-ctas { margin-top: 40px; }
}
@media (min-width: 1280px) { .dual-hero-eyebrow { max-width: 750px; font-size: 18px; } }
@media (min-width: 1536px) { .dual-hero h1 { font-size: 48px; } .dual-hero h1 b { font-size: 80px; } }

/* FAQ: big numbered questions; three show until "show more" opens the rest to their own height. */
.faq-list { list-style: none; }
.faq-list > li { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s cubic-bezier(0, 0, .2, 1); }
.faq-clip { min-height: 0; overflow: hidden; transition: visibility 0s; }
.faq-row { display: flex; align-items: flex-start; gap: 16px; padding-block: 16px; border-bottom: 1px solid #d9d9d9; }
.faq-row > div { min-width: 0; }
.faq-list > li:last-child .faq-row, [data-faq]:not(.is-open) .faq-list > li:not(.faq-more):has(+ .faq-more) .faq-row { border-bottom: 0; }
[data-faq]:not(.is-open) .faq-more { grid-template-rows: 0fr; }
[data-faq]:not(.is-open) .faq-more .faq-clip { visibility: hidden; transition-delay: .5s; }
.faq-no { flex-shrink: 0; width: 112px; font-family: montserratThin, var(--font); font-size: 90px; line-height: 1; font-weight: 100; color: var(--primary); }
.faq-list h3 { font-size: 18px; line-height: 1.375; font-weight: 300; letter-spacing: .025em; color: #000; text-transform: uppercase; }
.faq-list p { margin-top: 6px; font-size: 12px; line-height: 1.625; font-weight: 300; color: #404040; }
.faq-list b, .faq-list strong, .dual-hero b { font-weight: 700; }
.faq-toggle { display: flex; justify-content: center; }
.faq-toggle .btn { font-size: 14px; font-weight: 300; }
@media (min-width: 768px) {
  .faq-row { gap: 32px; padding-block: 20px; }
  .faq-no { width: 140px; font-size: 110px; }
  .faq-list h3 { font-size: 27px; }
  .faq-list p { font-size: 17px; }
  .faq-toggle .btn { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .faq-list > li, .faq-clip { transition: none; } }

/* Support form: the feedback banner with contacts and a note. */
.feedback-notes { display: contents; }
.feedback-notes > * { width: 90%; padding-inline-start: 48px; }
.feedback--support .feedback-copy h2 { text-align: start; font-size: 25px; }
.feedback-contacts { display: flex; flex-direction: column; gap: 4px; margin: 0; list-style: none; font-size: 14px; font-weight: 300; }
.feedback-contacts li { display: flex; align-items: center; gap: 12px; }
.feedback-contacts img { flex-shrink: 0; width: 16px; height: 16px; object-fit: contain; }
@media (hover: hover) { .feedback-contacts a:hover { text-decoration: underline; } }
.feedback--support .form-embed { gap: 28px; }
.feedback--support .form-slot { display: block; min-height: 440px; }
.feedback .form-note { text-align: center; font-size: 14px; font-style: italic; }
.form-note .red { color: #c10e0f; }
@media (min-width: 640px) { .feedback--support .form-slot { min-height: 304px; } }
@media (min-width: 1024px) {
  .feedback--support .feedback-mark .toyota-mark { width: 74px; }
  .feedback--support .feedback-copy h2 { font-size: 40px; }
  .feedback-notes { display: block; flex: 1; padding: 0 40px 0 20px; }
  .feedback-notes > * { width: auto; padding-inline-start: 0; }
  .feedback-contacts { gap: 6px; margin: 24px 0; padding-inline-start: 24px; font-size: 22px; }
  .feedback-contacts img { width: 22px; height: 22px; }
}
@media (min-width: 1536px) { .feedback-notes { padding-inline-end: 8px; } }

/* Text pages: a big heading and lead, then titled sections (legal information). */
.article-head { margin-top: 120px; }
.article-head h1 { margin-top: -20px; font-size: 30px; line-height: 1.25; font-weight: 300; color: #1e1e1e; text-transform: uppercase; }
.article-lead { margin-top: 12px; font-weight: 300; }
.article-lead > * { font-size: 16px; }
.article .heading { margin-bottom: 0; }
.article .heading h2 { max-width: min(80vw, 95%); }
.article-body { font-weight: 300; }
.article-body .gap { margin-top: 24px; }
.article-body p { text-align: justify; }
.article-body a { color: #193cb8; }
@media (hover: hover) { .article-body a:hover { text-decoration: underline; } }
@media (min-width: 768px) {
  .article-head { margin-top: 144px; }
  .article-head h1 { font-size: 44px; }
  .article-lead > * { font-size: 18px; }
  .article .heading { margin-bottom: 8px; }
}
@media (min-width: 1024px) { .article-head h1 { margin-top: 4px; font-size: 35px; } .article-lead { margin-top: 24px; } }
@media (min-width: 1536px) { .article-head h1 { margin-top: 8px; font-size: 56px; } }

/* 404 and "under development". */
.not-found { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 40px; text-align: center; }
.not-found-img { width: 100%; max-width: 865px; aspect-ratio: 865 / 358; object-fit: cover; }
.not-found h1 { margin-top: 14px; font-size: 16px; }
.not-found p { margin-top: 12px; font-size: 14px; font-weight: 300; color: var(--muted); }
.not-found .btn { margin-top: 30px; }
@media (min-width: 768px) { .not-found h1 { margin-top: 28px; font-size: 26px; } .not-found p { font-size: 18px; } .not-found .btn { margin-top: 60px; } }
/* ========== Dealer pages ========== */
/* Dealer pages. */
/* The dealership on a map (its photo on phones) beside its contact card. */
.dealer-grid { display: grid; gap: 18px; }
.dealer-photo { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.dealer-panel { position: relative; min-width: 0; padding-top: 3px; background: #fff; box-shadow: .58px 10.51px 16.46px 0 rgba(56, 56, 56, .17); }
.dealer-panel::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 5px; background: var(--primary); }
.dealer-panel-in { display: flex; flex-direction: column; height: 100%; padding: 26px 26px 32px; }
.dealer-panel h3 { text-align: center; font-size: 20px; font-weight: 600; text-transform: uppercase; }
.dealer-tabs { display: flex; margin-top: 26px; }
.dealer-tabs > * + * { margin-inline-start: -1px; }
.dealer-tabs > * { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 42px; padding-inline: 8px; border: 1px solid #d9d9d9; text-align: center; font-size: 12px; line-height: 120%; color: #8f8f8f; text-transform: uppercase; transition: color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1); }
.dealer-tabs a:hover { border-color: var(--primary); color: var(--primary); }
.dealer-tabs > * { transition: background-color .25s cubic-bezier(.4, 0, .2, 1), border-color .25s cubic-bezier(.4, 0, .2, 1), color .25s cubic-bezier(.4, 0, .2, 1); }
.dealer-tabs [aria-current] { border-color: var(--primary); background: var(--primary); font-weight: 600; color: #fff; pointer-events: none; }
.dealer-details { margin-top: 18px; border-top: 1px solid #d9d9d9; }
.dealer-details div { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-block: 11px; border-bottom: 1px solid #d9d9d9; }
.dealer-details dt { font-size: 14px; font-weight: 300; color: #8f8f8f; }
.dealer-details dd { text-align: right; font-size: 14px; font-weight: 300; }
.dealer-details .hour { font-size: 16px; color: var(--primary); }
.dealer-details a { transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.dealer-details a:hover { color: var(--primary); }
.dealer-site { display: flex; justify-content: center; margin-top: 32px; }
.dealer-site .btn { font-weight: 300; }
@media (min-width: 768px) { .dealer-panel { padding-top: 8.5px; } }
@media (min-width: 1024px) {
  .dealer-grid { grid-template-columns: 60fr 40fr; gap: 60px; }
  .dealer-photo { display: none; }
  .dealer-panel { box-shadow: .93px 16.66px 26.09px rgba(56, 56, 56, .17); }
  .dealer-panel::before { height: 7px; }
  .dealer-panel-in { padding: 45px 46px; }
  .dealer-panel h3 { text-align: start; font-size: 30px; }
  .dealer-tabs > * { min-height: 50px; font-size: 15px; }
  .dealer-details { margin-top: 22px; }
  .dealer-details div { padding-block: 13px; }
  .dealer-details dt, .dealer-details dd { font-size: 19px; }
  .dealer-details .hour { font-size: 22px; }
  .dealer-site { margin-top: auto; padding-top: 60px; }
}

/* Map (component): CARTO tiles, the dealer's pin with its card above it, and zoom buttons. */
.dealer-map { position: relative; z-index: 0; display: none; min-height: 520px; overflow: hidden; background: #ddd; box-shadow: .93px 16.66px 26.09px rgba(0, 0, 0, .14); font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; font-size: 12px; color: #333; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.dealer-map.is-held { cursor: grabbing; user-select: none; }
.dealer-map.is-held .map-pin { cursor: grabbing; }
.dealer-map:focus-visible { outline-offset: -3px; }
@media (min-width: 1024px) { .dealer-map { display: block; } }
.map-level { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.map-level img { position: absolute; width: 256px; max-width: none; height: 256px; opacity: 0; transition: opacity .2s linear; user-select: none; -webkit-user-drag: none; }
.map-level .is-loaded { opacity: 1; }
.map-tiles { position: absolute; inset: 0; z-index: 0; }
.map-pin { position: absolute; top: -40px; left: -20px; z-index: 1; width: 40px; height: 40px; }
.map-pin .toyota-mark { position: absolute; top: 6.2px; left: 8.6px; width: 22.2px; height: 14.4px; color: #fff; }
.map-popup { position: absolute; top: 0; left: -155px; z-index: 2; width: 309px; visibility: hidden; opacity: 0; font-size: 13px; line-height: 1.3; cursor: auto; transition: opacity .2s linear, visibility 0s .2s; }
.map-popup.is-open { visibility: visible; opacity: 1; transition: opacity .2s linear; }
.is-zooming .map-level, .is-zooming .map-pin, .is-zooming .map-popup.is-open { transition: transform .25s cubic-bezier(0, 0, .25, 1); }
.map-tip { position: absolute; top: 100%; left: 50%; width: 40px; height: 20px; margin: -1px 0 0 -20px; overflow: hidden; pointer-events: none; }
.map-tip::before { content: ""; position: absolute; top: -10px; left: 11.5px; width: 17px; height: 17px; background: #fff; box-shadow: 0 3px 14px rgba(0, 0, 0, .4); transform: rotate(45deg); }
.map-card { width: 308px; background: #fff; box-shadow: .93px 16.66px 26.09px 0 rgba(56, 56, 56, .17); }
.map-card > img { aspect-ratio: 944 / 457; width: 100%; object-fit: cover; }
.map-card-body { position: relative; padding: 23.5px 30px 20px; }
.map-card-body::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 6px; background: var(--primary); }
.map-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.map-card-head h3 { font-size: 20px; line-height: 120%; }
.map-card-head img { flex-shrink: 0; aspect-ratio: 43 / 28; width: 25px; margin-top: 4px; object-fit: cover; }
.map-card-place { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 300; color: #8f8f8f; }
.map-card-place svg { flex-shrink: 0; width: 14px; height: 14px; }
.map-card-desc { margin-top: 12px; line-height: 140%; font-weight: 300; }
.map-card-foot { display: flex; justify-content: center; margin-top: 18px; }
.map-card-foot .btn { width: 207px; min-width: 0; min-height: 43px; border-color: var(--primary); font-size: 14px; line-height: 1.3; font-weight: 300; }
.map-card-foot .btn:hover, .map-card-foot .btn:active { border-color: transparent; }
.map-card-foot svg { width: 14px; height: 14px; }
.map-zoom { position: absolute; top: 10px; left: 10px; z-index: 3; border: 2px solid rgba(0, 0, 0, .2); border-radius: 4px; background-clip: padding-box; cursor: auto; }
.map-zoom button { display: block; width: 30px; height: 30px; border-bottom: 1px solid #ccc; border-radius: 2px 2px 0 0; background: #fff; font: bold 22px/30px "Lucida Console", Monaco, monospace; color: #000; text-indent: 1px; }
.map-zoom button:last-child { border-bottom: 0; border-radius: 0 0 2px 2px; }
.map-zoom button:hover, .map-zoom button:focus { background: #f4f4f4; }
.map-zoom button:disabled { background: #f4f4f4; color: #bbb; cursor: default; }
.map-credit { position: absolute; right: 0; bottom: 0; z-index: 3; padding: 0 5px; background: rgba(255, 255, 255, .7); font-size: 10px; line-height: 1.4; cursor: auto; }
.map-credit a { color: #0078a8; }
.map-credit a:hover, .map-credit a:focus { text-decoration: underline; }

/* Outset icon cards (service centre): an icon standing on each card's top edge, which runs on from it as a red line. */
.outset-cards { display: grid; gap: 78px 16px; margin-top: 78px; }
.outset-card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 72px 24px 32px; background: #fff; text-align: center; box-shadow: .93px 16.66px 26.09px rgba(56, 56, 56, .14); transition: scale .3s cubic-bezier(.4, 0, .2, 1); }
.outset-card:hover { scale: 1.02; }
.outset-card::before { content: ""; position: absolute; top: 0; left: 50%; width: calc(50% - 48px); height: 5px; background: var(--primary); transform: translateX(48px); }
.outset-card > img { position: absolute; top: -48px; left: 50%; width: 96px; height: 96px; object-fit: cover; transform: translateX(-50%); }
.outset-card h3 { font-size: 20px; line-height: 130%; text-transform: uppercase; }
.outset-card p { margin-top: 16px; font-size: 14px; line-height: 150%; font-weight: 300; color: #4c4c4c; }
.outset-card-foot { margin-top: auto; padding-top: 32px; }
.outset-card .btn { width: 182px; min-width: 0; min-height: 43px; font-size: 14px; font-weight: 300; }
.outset-card:hover .btn { border-color: transparent; color: #fff; box-shadow: 1px 3px 12.6px rgba(0, 0, 0, .61); }
.outset-card:hover .btn::before { opacity: 1; }
@media (min-width: 768px) { .outset-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .outset-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ========== Model pages ========== */
/* Model pages. */
.banner-shade--model { background: linear-gradient(to bottom, rgba(0, 0, 0, .5), transparent) top / 100% 60% no-repeat; }
@media (min-width: 640px) { .banner-shade--model { background: linear-gradient(to right, rgba(0, 0, 0, .75) 29%, rgba(0, 0, 0, .22) 91%, transparent) left / 56% 100% no-repeat, linear-gradient(to bottom, #000, transparent) top / 100% 41% no-repeat; } }
.model-eyebrow { font-family: poiret, var(--font); font-size: 36px; line-height: 150%; color: #fff; }
.banner-mobile .model-eyebrow { position: absolute; padding-inline-start: 24px; transform: translateY(-100%); }
.model-hero .banner-mobile-title { font-weight: 600; }
.model-hero-desktop { justify-content: center; }
.model-hero .banner-desktop .btn { font-weight: 400; }
.model-hero h1 { max-width: 60%; font-size: 48px; line-height: 82%; font-weight: 700; letter-spacing: -.025em; color: #fff; text-transform: uppercase; }
.model-hero-desc { max-width: 500px; margin-top: 24px; font-weight: 300; color: #fff; }
.model-hero .banner-ctas { margin-top: 40px; }
@media (min-width: 640px) { .model-eyebrow { margin-bottom: -8px; font-size: 26px; } }
@media (min-width: 1024px) { .model-eyebrow { font-size: 34px; } .model-hero h1 { font-size: 64px; } }
@media (min-width: 1280px) { .model-eyebrow { margin-bottom: -16px; } .model-hero-desc { font-size: 18px; line-height: calc(1.75 / 1.125); } }
@media (min-width: 1536px) { .model-eyebrow { font-size: 56px; } .model-hero h1 { font-size: 91px; } }

/* Lineup: the other models in a row that stops at its ends. The row's view reaches 24px into the page's
   gutters so the cards keep their shadows; cards out of view fade. From 1616px the arrows stand beside the row. */
.lineup .heading-desc, .lineup .heading-desc > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.lineup-box { position: relative; margin-top: 32px; }
.lineup .carousel-track { gap: 20px; }
.lineup-card { display: flex; flex-direction: column; background: #fff; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
.lineup-card-img { position: relative; flex-shrink: 0; aspect-ratio: 1433 / 789; width: 100%; min-height: 0; overflow: hidden; }
.lineup-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lineup-card-bar { align-self: flex-end; width: 50%; height: 8px; margin-top: 7px; background: var(--primary); }
.lineup-card-body { display: flex; flex: 1; flex-direction: column; padding: 13px 14px 19px; }
.lineup-card h3 { font-size: 25px; line-height: 120%; font-weight: 300; color: #1e1e1e; }
.lineup-card-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 8px; font-size: 16px; line-height: 160%; font-weight: 300; color: #9c9c9c; }
.lineup-card ul { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 10px 8px; margin: 16px 0 0; list-style: none; }
.lineup-card li { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 300; color: #1e1e1e; }
.lineup-card li img { flex-shrink: 0; width: 15px; height: 15px; object-fit: contain; }
.lineup-price { display: flex; align-items: baseline; gap: 4px; margin-top: auto; padding-top: 18px; }
.lineup-price span:first-child { font-size: 14px; font-weight: 700; color: #1e1e1e; }
.lineup-price span:last-child { font-size: 32px; line-height: 1; font-weight: 300; color: #1e1e1e; }
.lineup-card .btn { width: 100%; min-width: 0; min-height: 55px; margin-top: 14px; border-color: transparent; font-size: 16px; color: #fff; box-shadow: 1px 3px 12.6px rgba(0, 0, 0, .61); }
.lineup-card .btn::before { opacity: 1; }
.lineup-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.lineup-prev, .lineup-next { display: none; flex-shrink: 0; align-items: center; justify-content: center; width: 29px; height: 29px; transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.lineup-prev { background: #f1f1f1; color: #1e1e1e; }
.lineup-prev:hover { background: #e4e4e4; }
.lineup-next { background: var(--primary); color: #fff; }
.lineup-next:hover { background: #a50000; }
.lineup-prev:disabled, .lineup-next:disabled { cursor: default; opacity: .4; }
.lineup-prev svg, .lineup-next svg { stroke-width: 1.5; }
.lineup-nav .dots { gap: 11px; }
.lineup-nav .dots[hidden] { display: flex !important; }
.lineup-nav .dots button { width: 9px; height: 9px; background: #d9d9d9; transition: background .15s cubic-bezier(.4, 0, .2, 1); }
.lineup-nav .dots button::before { inset: -8px -5px; }
.lineup-nav .dots [aria-current="true"] { background: var(--primary); }
@media (min-width: 768px) {
  .lineup-box { margin-top: 52px; }
  .lineup .carousel-track { gap: 26px; }
  .lineup .carousel-track > * { flex-basis: calc(50% - 13px); }
  .lineup-card-body { padding-inline: 22px; }
  .lineup-card h3 { font-size: 23px; }
  .lineup-card-desc { font-size: 14px; }
  .lineup-card ul { column-gap: 14px; }
  .lineup-card li { font-size: 12.76px; }
  .lineup-card li img { width: 14px; height: 14px; }
  .lineup-price span:first-child { font-size: 12px; }
  .lineup-price span:last-child { font-size: 28px; }
  .lineup-card .btn { min-height: 47px; font-size: 13px; }
  .lineup-card:not(:hover) .btn:not(:hover, :active) { border-color: #000; color: #000; box-shadow: none; }
  .lineup-card:not(:hover) .btn:not(:hover, :active)::before { opacity: 0; }
  .lineup-prev, .lineup-next { display: flex; }
}
@media (min-width: 1280px) { .lineup .carousel-track > * { flex-basis: calc(33.333% - 17.34px); } }
@media (min-width: 1536px) { .lineup .carousel-track > * { flex-basis: calc(25% - 19.5px); } }
@media (min-width: 1616px) {
  .lineup-nav { position: static; display: block; margin-top: 0; }
  .lineup-nav .dots, .lineup-nav .dots[hidden] { display: none !important; }
  .lineup-prev, .lineup-next { position: absolute; top: 50%; z-index: 10; transform: translateY(-50%); }
  .lineup-prev { left: -44px; }
  .lineup-next { right: -44px; }
}

/* Explorer (model page): a trim's photos that the arrows turn, and its rows of figures. */
.xp-stage { position: relative; order: 1; aspect-ratio: 588 / 220; width: 100%; overflow: hidden; }
.xp-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.xp-stage > .is-on { opacity: 1; }
.xp-prev, .xp-next { position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; transform: translateY(-50%); transition: background .15s cubic-bezier(.4, 0, .2, 1); }
.xp-prev { left: 12px; background: rgba(241, 241, 241, .9); color: #1e1e1e; }
.xp-prev:hover { background: #fff; }
.xp-next { right: 12px; background: var(--primary); color: #fff; }
.xp-next:hover { background: #a50000; }
.xp-prev svg, .xp-next svg { stroke-width: 1.5; }
.xp-turns { position: absolute; bottom: 10px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.xp-turns button { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #d9d9d9; transition: background .15s cubic-bezier(.4, 0, .2, 1); }
.xp-turns button::before { content: ""; position: absolute; inset: -8px -4px; }
.xp-turns [aria-current="true"] { background: var(--primary); }
.xp-list { display: grid; column-gap: 32px; }
.xp-list div { display: flex; align-items: center; gap: 12px; padding-block: 11px; border-bottom: 1px solid #e6e6e6; }
.xp-list dt { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 300; color: #7a7a7a; }
.xp-list img { flex-shrink: 0; width: 18px; height: 18px; object-fit: contain; }
.xp-list dd { flex: 1; min-width: 0; padding-inline-start: 8px; text-align: right; font-size: 14px; color: #1e1e1e; text-wrap: pretty; }
@media (min-width: 1024px) {
  .xp-stage { order: 0; }
  .xp-stage { aspect-ratio: 666 / 315; }
  .xp-prev { left: 35px; }
  .xp-next { right: 35px; }
  .xp-prev, .xp-next { width: 52px; height: 52px; }
  .xp-prev svg, .xp-next svg { width: 20px; height: 20px; }
  .xp-turns { bottom: 16px; gap: 12px; }
  .xp-turns button { width: 10px; height: 10px; }
  .xp-turns button::before { inset: -7px -6px; }
  .xp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-list div { padding-block: 10px; }
  .xp-list dt, .xp-list dd { font-size: 15px; }
}

/* Interior viewer (model page): photos the arrows cross-fade, beside a card with a checked list. */
.design-bar { display: block; width: 50%; height: 4px; margin-inline-start: auto; background: var(--primary); }
.design-stage { position: relative; aspect-ratio: 5 / 3; width: 100%; overflow: hidden; }
.design-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
.design-stage > .is-on { opacity: 1; }
.design-prev, .design-next { position: absolute; top: 50%; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; transform: translateY(-50%); transition: background .15s cubic-bezier(.4, 0, .2, 1); }
.design-prev { left: 12px; background: #f1f1f1; color: #1e1e1e; }
.design-prev:hover { background: #e2e2e2; }
.design-next { right: 12px; background: var(--primary); color: #fff; }
.design-next:hover { background: #a50000; }
.design-prev svg, .design-next svg { stroke-width: 1.5; }
.design-panel { display: flex; flex-direction: column; margin-top: 28px; }
.design-panel-body { display: flex; flex: 1; flex-direction: column; padding: 28px 28px 32px; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.design-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.design-panel-head h3 { font-size: 22px; line-height: 120%; font-weight: 300; }
.design-panel-desc { margin-top: 24px; font-size: 13.73px; line-height: 170%; font-weight: 300; color: #8a8a8a; }
.design-checks { display: flex; flex-direction: column; gap: 16px; margin: 36px 0 0; list-style: none; }
.design-checks li { display: flex; align-items: center; gap: 14px; font-size: 14.77px; line-height: 120%; font-weight: 600; color: #1e1e1e; }
.design-checks svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--primary); stroke-width: 3; }
@media (min-width: 768px) {
  .design-bar { height: 6px; }
  .design-prev, .design-next { width: 48px; height: 48px; }
  .design-prev { left: 32px; }
  .design-next { right: 32px; }
  .design-prev svg, .design-next svg { width: 20px; height: 20px; }
  .design-panel-body { padding: 33px 44px 48px; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .design-panel-head { gap: 32px; }
  .design-panel-head h3 { font-size: 30.22px; }
  .design-panel-desc { margin-top: 8px; font-size: 16.42px; }
  .design-checks { gap: 24px; margin-top: 48px; }
  .design-checks li { gap: 20px; font-size: 20.06px; }
  .design-checks svg { width: 24px; height: 24px; }
}
@media (min-width: 1024px) {
  .design-viewer { display: grid; grid-template-columns: 830fr 660fr; align-items: stretch; column-gap: 30px; }
  .design-stage { aspect-ratio: 3312 / 1719; }
  .design-panel { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .design-stage > img { transition: none; } }

/* ========== From the main site ========== */
/* A paragraph under a centred heading. */
.life-centered .heading h2 { text-align: center; }
.life-lead { margin: 20px auto 16px; }
.life-lead > * { text-align: center; }
.heading:has(+ .life-lead) { margin-bottom: 0; }
@media (min-width: 640px) { .life-lead { width: 70%; } }
@media (min-width: 768px) { .life-lead { width: 50%; margin-block: 30px 24px; } }
/* Faces: tabs of people. The old tab's cards leave one after another, then the new tab's arrive. */
.face-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.face-tab { position: relative; z-index: 10; display: inline-flex; align-items: center; justify-content: center; height: 40px; min-width: 189px; padding: 0 2px; border: 1px solid #000; color: #000; font-size: 14px; white-space: nowrap; transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.face-tab::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-gradient); opacity: 0; transition: opacity .3s cubic-bezier(.4, 0, .2, 1); }
.face-tab[aria-selected="true"] { border-color: transparent; color: #fff; box-shadow: 1px 3px 12.6px rgba(0, 0, 0, .61); }
.face-tab[aria-selected="true"]::before { opacity: 1; }
.face-tab:focus-visible { outline: 3px solid rgba(193, 15, 16, .5); outline-offset: 1px; }
.faces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.faces:focus-visible { outline-offset: 8px; }
.face { position: relative; z-index: 10; display: flex; flex-direction: column; overflow: hidden; background: #fff; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1); }
.face-img { flex-shrink: 0; width: 100%; aspect-ratio: 348 / 198; object-fit: cover; background: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .15)); }
.face-text { position: relative; display: flex; flex: 1; flex-direction: column; justify-content: space-between; margin-top: 5px; padding: 8px 0 8px 16px; background: #fff; }
.face-text::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 3px; background: var(--primary); }
.face-name { font-size: 13px; color: #464646; }
.face-desc { display: none; }
.face-role { margin-top: 5px; font-size: 8px; color: #9c9c9c; }
.faces-group { grid-column: 1 / -1; margin-block: 8px -8px; text-align: center; font-size: 18px; font-weight: 300; }
@media (min-width: 768px) {
  .face-tab { width: 250px; height: 50px; border-color: var(--primary); font-size: 16px; }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
  .face-text { margin-top: 9px; padding: 16px 20px 20px; }
  .face-text::before { height: 8.5px; }
  .face-name { font-size: 24px; }
  .face-desc { display: block; margin-top: 12px; font-size: 12px; font-weight: 300; }
  .face-role { margin-top: 24px; font-size: 16px; }
  .faces-group { margin-block: 16px -16px; font-size: 22px; }
}
@media (min-width: 1024px) { .faces { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Photos: a mosaic that dims the rest while one is pointed at; each opens in the gallery. Phones show the first five and a button. */
.mosaic-photos { display: flex; flex-wrap: wrap; justify-content: center; }
.mosaic-tile { position: relative; height: 20dvh; overflow: hidden; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-tile::after { content: ""; position: absolute; inset: 0; transition: background .5s cubic-bezier(.4, 0, .2, 1); }
.mosaic-photos:has(.mosaic-tile:hover) .mosaic-tile:not(:hover)::after { background: rgba(0, 0, 0, .4); }
.mosaic-tile:focus-visible { z-index: 1; outline: 3px solid #fff; outline-offset: -5px; }
.mosaic-tile:nth-child(1) { width: 39.9%; }
.mosaic-tile:nth-child(2) { width: 60.1%; }
.mosaic-tile:nth-child(3) { width: 25.6%; }
.mosaic-tile:nth-child(4) { width: 39.9%; }
.mosaic-tile:nth-child(5) { width: 34.5%; }
.mosaic-tile:nth-child(n + 6) { display: none; }
.btn.mosaic-more { min-height: 44px; margin-top: 24px; border-color: #0077e5; font-size: 14px; }
.btn.mosaic-more:hover, .btn.mosaic-more:active { border-color: transparent; }
.btn.mosaic-more::before { background: var(--hev-gradient); }
@media (min-width: 1024px) {
  .mosaic-photos { display: grid; grid-template: repeat(2, 50%) / 16.83% 13.5321% 7.4479% 13.47965% 17.99035% 16.83% 13.89%; height: 50svh; margin-bottom: 32px; }
  .mosaic-tile:nth-child(n) { display: block; width: auto; height: 100%; min-height: 0; }
  .mosaic-tile:nth-child(1) { grid-area: 1 / 1 / 3 / 2; }
  .mosaic-tile:nth-child(2) { grid-area: 1 / 2 / 2 / 4; }
  .mosaic-tile:nth-child(3) { grid-area: 1 / 4 / 2 / 6; }
  .mosaic-tile:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
  .mosaic-tile:nth-child(5) { grid-area: 2 / 3 / 3 / 5; }
  .mosaic-tile:nth-child(6) { grid-area: 2 / 5 / 3 / 6; }
  .mosaic-tile:nth-child(7) { grid-area: 1 / 6 / 3 / 7; }
  .mosaic-tile:nth-child(8) { grid-area: 1 / 7 / 2 / 8; }
  .mosaic-tile:nth-child(9) { grid-area: 2 / 7 / 3 / 8; }
  .btn.mosaic-more { display: none; }
}
/* Album (component): photos in a dialog, moved on every seven seconds by the bar under them. */
.album { display: flex; flex-direction: column; gap: 16px; width: 90vw; max-width: 91.6667%; max-height: 91.6667%; padding: 16px; overflow: hidden; }
.album .carousel { flex-shrink: 0; width: 100%; aspect-ratio: 16 / 9; }
.album .carousel-track, .album .carousel-track > * { height: 100%; }
.album img { width: 100%; height: 100%; object-fit: contain; }
.album .dialog-round { top: 24px; right: 24px; border-width: 2px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 2px -1px rgba(0, 0, 0, .3); }
@media (min-width: 640px) { .album { width: 650px; } }
@media (min-width: 768px) { .album { padding: 24px; } .album .dialog-round { top: 32px; right: 32px; } }
@media (min-width: 1024px) { .album { width: 75vw; } }
@media (min-width: 1536px) { .album { width: 50vw; } }
/* The story bar inside a dialog. */
.dialog-bar { display: flex; justify-content: center; gap: 4px; width: 100%; max-width: 80%; height: 2px; margin: 2px auto; flex-shrink: 0; }
.dialog-bar button { position: relative; flex: 1; height: 100%; overflow: visible; border-radius: 999px; background: rgba(123, 123, 123, .7); }
.dialog-bar button::before { content: ""; position: absolute; inset: -11px 0; }
.dialog-bar button:focus-visible { outline-color: #fff; outline-offset: 6px; }
.dialog-bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: #fff; }
.dialog-bar .is-past span, .dialog-bar .is-active span { width: 100%; }
.dialog-bar .is-active span { transition: width var(--story) linear; }
@media (min-width: 768px) { .dialog-bar { gap: 8px; max-width: 500px; margin-top: 8px; } }

/* ========== Dealer sections ========== */
.hev-blue { color: #0a5cb4; }
.lineup .heading { margin-bottom: 0; }
.ftr-grid[data-rows="3"] { grid-template-rows: repeat(3, auto); }
.ftr-addresses { margin: 0; list-style-position: outside; padding-inline-start: 1.2em; font-weight: 300; color: #515151; }
.ftr-contacts p .nav-link { display: inline-block; }
.mega-all { color: var(--grey); font-weight: 300; }
.mega-all:hover, .mega-all[aria-current] { color: #fff; }

/* Home banner: a lighter shade than the national one, so the photo stays bright. */
@media (min-width: 640px) {
  .hero--home .hero-shade { background: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, .19) 65%, transparent) left / 56% 100% no-repeat, linear-gradient(to bottom, rgba(0, 0, 0, .66), transparent) top / 100% 41% no-repeat, rgba(0, 0, 0, .1); }
}

.hero--home .hero-desc { max-width: 500px; }
@media (min-width: 1280px) { .hero--home .hero-desc { margin-top: 40px; } }
@media (min-width: 1568px) { .hero--home .hero-inner { padding-inline: 0; } }

/* Inquiry card with the long test-drive form: as tall as the form. */
.inquiry-card--tall .form-slot { height: auto; min-height: 367px; }
.inquiry-card h2, .inquiry-sub { text-align: center; }
@media (min-width: 1024px) {
  .inquiry-bg:has(.inquiry-card--tall) { aspect-ratio: auto; padding-block: 68px; }
  .inquiry-card--tall .form-slot { min-height: 380px; }
}

/* A card's button is the size of its label on wide screens, as drawn. */
@media (min-width: 768px) {
  #models .lineup-card .btn { align-self: center; width: 246px; max-width: 100%; min-height: 50px; font-size: 16px; font-weight: 300; }
}

/* Branches: the same card as on the national dealer pages, one branch shown at a time. */
.dealer-tabs button { cursor: pointer; }
.dealer-about { display: flex; flex: 1; flex-direction: column; }
.dealer-about > div { display: flex; flex: 1; flex-direction: column; }
@media (min-width: 1536px) { .dealer-tabs > * { font-size: 17px; } }
@media (hover: hover) { .dealer-tabs button:not([aria-current]):hover { border-color: var(--primary); color: var(--primary); } }

/* Offers: cards round a car seen from above; two columns without it below 1280px, swiped one at a time on phones. */
.offers { margin-top: 24px; }
.offers-car { display: none; }
.offer { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 32px 24px 30px; background: #fff; box-shadow: .86px 15.56px 24.37px rgba(38, 38, 38, .12); }
.offer::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 5px; background: var(--primary); }
.offer h3 { padding: 6px 0 6px 12px; border-inline-start: 3px solid var(--primary); font-size: 22px; line-height: 120%; font-weight: 600; color: #000; }
.offer p { margin: 16px 0 24px; font-size: 16px; line-height: 130%; font-weight: 300; color: #767676; }
.offer .btn { width: 100%; max-width: 246px; min-width: 0; margin-top: auto; padding-inline: 12px; font-size: 16px; font-weight: 300; }
.offer .btn svg { width: 18px; height: 18px; }
@media (hover: hover) {
  .offer:hover .btn { border-color: transparent; color: #fff; box-shadow: 1px 3px 12.6px rgba(0, 0, 0, .61); }
  .offer:hover .btn::before { opacity: 1; }
}
@media (min-width: 768px) {
  .offers .carousel-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, 1fr); grid-auto-flow: column; gap: 24px; }
}
@media (min-width: 1024px) { .offer p { font-size: 14px; } }
@media (min-width: 1280px) {
  .offers { position: relative; margin-top: 45px; }
  .offers-car { position: absolute; top: 50%; left: 50%; display: block; width: 35%; translate: -50% -50%; }
  .offers .carousel-track { grid-template-columns: repeat(2, 27.2%); justify-content: space-between; gap: 50px 0; }
  .offer { padding: 32px 37px 30px; }
  .offer h3 { font-size: 26px; }
  /* A hairline from the card's inner edge down to a dot beside the car. */
  .offer::after { content: ""; position: absolute; top: 105px; left: 100%; width: 81px; height: 78px; background: radial-gradient(circle at calc(100% - 2.5px) calc(100% - 2.5px), #909090 2.5px, transparent 3px), linear-gradient(to top right, transparent calc(50% - .6px), #909090 calc(50% - .5px), #909090 calc(50% + .5px), transparent calc(50% + .6px)); }
  .offer:nth-child(n + 4)::after { right: 100%; left: auto; scale: -1 1; }
}
@media (min-width: 1280px) and (max-width: 1535px) { .offer::after { width: 40px; } }

/* Reviews: an endless row, the one in the middle larger; its neighbours run off the screen. */
.reviews { overflow-x: clip; }
.reviews-head { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 24px; isolation: isolate; }
.reviews-head::after { content: ""; width: 160px; height: 2px; margin-top: 12px; background: linear-gradient(to right, transparent, rgba(0, 0, 0, .15), transparent); }
.reviews-head h2 { text-align: center; font-size: 26px; line-height: 150%; font-weight: 300; text-transform: uppercase; }
.reviews-quote { position: absolute; top: 0; left: 50%; z-index: -1; width: 96px; translate: -150% 0; filter: brightness(.945); }
.reviews .carousel { margin-top: 32px; overflow: visible; }
.reviews .carousel-track { align-items: stretch; padding-block: 32px; }
.reviews .carousel-track > * { flex-basis: 85%; padding-inline: 12px; }
.review { position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; padding: 50px 24px 40px; background: #fff; box-shadow: .86px 15.56px 24.37px rgba(38, 38, 38, .12); transition: scale .5s cubic-bezier(.4, 0, .2, 1); }
.review::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 5px; background: var(--primary); }
.review-photo { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.review figcaption { margin-top: 16px; text-align: center; font-size: 18px; font-weight: 600; color: #1e1e1e; }
.review blockquote { position: relative; width: 100%; margin-top: 32px; font-size: 16px; line-height: 143%; font-weight: 300; color: #1e1e1e; isolation: isolate; }
.review blockquote::before, .review blockquote::after { content: ""; position: absolute; z-index: -1; width: 78px; height: 73px; background: url(/media/site/quotation.avif) center / contain no-repeat; filter: brightness(.953); }
.review blockquote::before { top: -20px; left: -4px; }
.review blockquote::after { right: 0; bottom: -40px; rotate: 180deg; }
.reviews .dots { gap: 12px; margin-top: 8px; }
@media (min-width: 640px) { .reviews .carousel-track > * { flex-basis: 60%; } }
@media (min-width: 768px) {
  .reviews-head { padding-top: 56px; }
  .reviews-head::after { width: 264px; margin-top: 20px; }
  .reviews-head h2 { font-size: 40px; }
  .reviews-quote { width: 200px; translate: -140% 0; }
  .reviews .carousel { margin-top: 46px; }
  .reviews .carousel-track > * { flex-basis: 45%; }
}
@media (min-width: 1024px) {
  .reviews .carousel-track { padding-block: 48px; }
  .reviews .carousel-track > * { flex-basis: 393px; padding-inline: 25px; }
  .review { min-height: 449px; padding-inline: 40px; }
  .review-photo { width: 83px; height: 83px; }
  .review blockquote { font-size: 14px; }
  .review-slide.is-active { position: relative; z-index: 1; }
  .review-slide.is-active .review { scale: 1.2; }
}
@media (prefers-reduced-motion: reduce) { .review { transition: none; } }

/* ---------- Models page ---------- */
/* The line of cars under the title, and the finder, a glass card that stands on it. */
.models-hero { position: relative; padding-top: 100px; }
.models-hero-in { position: relative; z-index: 1; }
.models-hero h1 { font-size: clamp(34px, 11vw, 44px); line-height: 88%; font-weight: 700; color: #e6e6e6; text-transform: uppercase; text-shadow: 2px 2px 1px rgba(201, 44, 45, .18), .6px 1.95px .16px rgba(201, 44, 45, .15); }
.models-hero-desc { max-width: 720px; margin-top: 24px; font-size: 16px; line-height: 160%; font-weight: 300; color: #444; }
.models-hero-copy .btn { margin-top: 32px; font-weight: 300; }
.models-hero-cars img { width: 100%; margin-top: 32px; aspect-ratio: 1240 / 707; object-fit: cover; }
.models-hero .banner-social { display: none; }
.finder { position: relative; margin-top: 40px; padding: 40px 24px 32px; background: rgba(255, 255, 255, .4); box-shadow: .6px 11px 17.3px rgba(56, 56, 56, .17); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.finder::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 6px; background: var(--primary); }
.finder h2 { font-size: 26px; line-height: 120%; font-weight: 300; color: #111; text-transform: uppercase; }
.finder-row { display: grid; gap: 10px; margin-top: 16px; }
.finder h2 + .finder-row { margin-top: 32px; }
.finder-row > span { font-size: 16px; font-weight: 300; color: #454545; }
.finder-row > div { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-row label { position: relative; display: flex; flex-grow: 1; align-items: center; justify-content: center; min-height: 44px; padding-inline: 12px; border: 1px solid #c5c5c5; background: rgba(255, 255, 255, .6); text-align: center; font-size: 16px; font-weight: 300; color: #707070; cursor: pointer; user-select: none; transition: color .15s, background-color .15s, border-color .15s; }
.finder-row label:has(:checked) { border-color: var(--primary); background: var(--primary); color: #fff; }
.finder-row label:has(:disabled) { color: #b5b5b5; cursor: default; }
.finder-row label:has(:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
@media (hover: hover) { .finder-row label:not(:has(:disabled)):hover { border-color: var(--primary); } }
.finder .btn { width: 100%; margin-top: 40px; font-weight: 300; }
@media (min-width: 768px) {
  .models-hero h1 { font-size: 72px; }
  .models-hero-desc { margin-top: 32px; font-size: 18px; }
  .finder { padding: 56px 42px 52px 60px; }
  .finder h2 { font-size: 36px; }
  .finder h2 + .finder-row { margin-top: 44px; }
  .finder-row { grid-template-columns: 78px minmax(0, 1fr); gap: 14px; }
  .finder-row > span { padding-top: 4px; font-size: 17px; }
  .finder-row label { min-height: 34px; font-size: 17px; }
  .finder .btn { width: auto; margin-top: 52px; }
}
@media (min-width: 1024px) {
  .models-hero { padding-top: 150px; }
  .models-hero h1 { font-size: 54px; }
  .models-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 40px; align-items: start; }
  .models-hero-copy { padding-top: 36px; }
  .models-hero-cars img { aspect-ratio: 2560 / 708; }
  .finder { margin-top: 0; }
  .models-hero .banner-social { position: static; display: flex; max-width: var(--container); margin: 0 auto; transform: none; }
  .models-hero .banner-social a { border-color: #000; }
}
@media (min-width: 1280px) {
  .models-hero { padding-top: 204px; }
  .models-hero h1 { font-size: 72px; }
  .models-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 586px); }
  .models-hero-cars img { margin-top: -12.9vw; }
}
@media (min-width: 1536px) { .models-hero h1 { font-size: 101px; } }

/* Bestsellers: wide cards; the one pointed at steps up. */
.hits { display: grid; gap: 24px; margin: 32px 0 0; list-style: none; }
.hit { display: flex; flex-direction: column; padding: 24px 20px 28px; background: #fff; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); transition: translate .3s cubic-bezier(.4, 0, .2, 1); }
.hit-head { display: flex; align-items: center; gap: 16px; }
.hit-head img { flex-shrink: 0; width: 38%; max-width: 148px; aspect-ratio: 148 / 95; object-fit: contain; }
.hit-head > div { min-width: 0; padding: 4px 0 4px 16px; border-inline-start: 1px solid var(--primary); }
.hit h3 { font-size: 20px; line-height: 120%; font-weight: 300; color: #111; text-transform: uppercase; }
.hit-head p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin-top: 8px; font-size: 14px; line-height: 150%; font-weight: 300; color: #444; }
.hit-stats { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: 0 12px; margin-top: 28px; text-align: center; }
.hit-stats div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.hit-stats dt { font-size: 14px; font-weight: 300; color: #767676; }
.hit-stats dd { font-size: 20px; line-height: 120%; font-weight: 300; }
.hit-foot { display: flex; justify-content: center; margin-top: auto; padding-top: 28px; }
.hit .btn { width: 100%; max-width: 246px; min-width: 0; font-weight: 300; }
@media (hover: hover) {
  .hit:hover .btn { border-color: transparent; color: #fff; box-shadow: 1px 3px 12.6px rgba(0, 0, 0, .61); }
  .hit:hover .btn::before { opacity: 1; }
}
@media (min-width: 640px) { .hit-stats dd { font-size: 22px; white-space: nowrap; } }
@media (min-width: 768px) {
  .hits { margin-top: 48px; }
  .hit { padding: 28px 36px; }
  .hit-head { gap: 20px; }
  .hit-head > div { padding-inline-start: 24px; }
  .hit h3 { font-size: 21px; }
  .hit-head p { font-size: 13px; }
  .hit-stats { margin-top: 36px; }
  .hit-stats dt { font-size: 13px; }
}
@media (min-width: 1024px) { .hits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) {
  .hits { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 40px; }
  .hit:hover { translate: 0 -40px; }
}
@media (min-width: 1536px) { .hit-stats dd { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .hit { transition: none; } }

/* Every model as a card, sorted and filtered. */
#all-models { scroll-margin-top: 96px; }
.grid-sort { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.grid-sort .btn { min-width: 140px; min-height: 48px; font-size: 16px; font-weight: 300; }
.grid-sort .btn svg { width: 14px; height: 14px; }
.grid-reset { min-height: 44px; padding-inline: 8px; font-size: 16px; font-weight: 300; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.model-grid { display: grid; gap: 24px; margin: 40px 0 0; list-style: none; }
.grid-empty { margin-top: 40px; font-size: 16px; font-weight: 300; color: #767676; }
.model-grid .lineup-card-desc { -webkit-line-clamp: 2; line-height: 140%; }
.model-grid .lineup-price { margin-top: 12px; padding-top: 0; }
.model-grid .lineup-card-body > ul { margin-top: 14px; }
.lineup-card-ctas { display: flex; gap: 12px; margin-top: auto; padding-top: 18px; }
.lineup-card-ctas .btn { flex: 1; min-width: 0; padding-inline: 8px; margin: 0; }
@media (max-width: 767px) { .lineup-card-ctas .btn + .btn { border-color: #000; color: #000; box-shadow: none; } .lineup-card-ctas .btn + .btn::before { opacity: 0; } }
@media (min-width: 768px) {
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineup-card-ctas .btn { min-height: 46px; font-size: 14px; font-weight: 300; }
  /* Pointing at the card fills its first button only. */
  .lineup-card:hover .lineup-card-ctas .btn + .btn:not(:hover, :active) { border-color: #000; color: #000; box-shadow: none; }
  .lineup-card:hover .lineup-card-ctas .btn + .btn:not(:hover, :active)::before { opacity: 0; }
}
@media (min-width: 1280px) { .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1536px) { .model-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } }

/* ---------- Model page ---------- */
/* Key specs: numbered cards round the car; from 1280px in three columns. */
.ks { display: grid; gap: 24px; margin-top: 32px; }
.ks-card { position: relative; min-width: 0; padding: 20px; background: #fff; box-shadow: 0 4px 24px rgba(0, 0, 0, .09); }
.ks-card--belt::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 4px; background: var(--primary); }
.ks-model { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 22px; line-height: 1.25; font-weight: 300; color: #111; text-transform: uppercase; }
.ks-model img { flex-shrink: 0; width: 112px; height: 28px; object-fit: contain; object-position: right; }
/* The calculator's numbered headings and the explorer's stage and rows, at this section's sizes. */
.ks .calc-step { gap: 12px; font-size: 18px; line-height: 1.25; }
.ks .calc-step span { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-color: #1e1e1e; font-weight: 700; }
.ks .calc-step b { font-weight: 300; }
.ks .calc-step em { margin-inline-start: auto; text-align: end; font-size: 16px; font-style: normal; }
.ks .xp-stage { aspect-ratio: 3 / 2; margin-bottom: 60px; overflow: visible; }
.ks .xp-stage > img { transition: opacity .3s cubic-bezier(.4, 0, .2, 1); }
.ks .xp-prev, .ks .xp-next { top: auto; bottom: -56px; width: 36px; height: 36px; transform: none; }
.ks .xp-prev { left: calc(50% - 128px); background: #f1f1f1; }
.ks .xp-prev:hover { background: #e2e2e2; }
.ks .xp-next { right: calc(50% - 128px); }
.ks .xp-turns { bottom: -43px; gap: 10px; }
.ks .xp-turns button { width: 10px; height: 10px; background: #8c8c8c; }
.ks .xp-turns [aria-current="true"] { background: var(--primary); }
.ks .xp-list { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
.ks .xp-list div { padding-block: 9px; }
.ks .xp-list dt, .ks .xp-list dd { font-size: 16px; line-height: 1.3; }
.ks-stage { display: flex; flex-direction: column; justify-content: center; width: 100%; max-width: 640px; margin-inline: auto; }
.ks-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ks-nav > button { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; transition: background-color .15s; }
.ks-nav svg { stroke-width: 1.5; }
.ks-prev { background: #f1f1f1; color: #1e1e1e; }
.ks-prev:hover { background: #e2e2e2; }
.ks-next { background: var(--primary); color: #fff; }
.ks-next:hover { background: #a50000; }
.ks-other { margin-top: 8px; text-align: center; font-size: 13px; font-weight: 300; color: #767676; }
.ks-swatches { display: flex; flex-wrap: wrap; margin: 8px 0 0 -6px; }
.ks-swatches button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.ks-swatches svg { width: 30px; height: 30px; border: 1px solid #d9d9d9; }
.ks-swatches [aria-pressed="true"] svg { outline: 1px solid #1e1e1e; outline-offset: 3px; }
.ks-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin-block: 24px 28px; }
.ks-chips a { display: flex; align-items: center; min-height: 46px; padding-inline: 12px; border: 1px solid #bdbdbd; font-size: 16px; line-height: 1.2; font-weight: 300; color: #1e1e1e; text-transform: uppercase; transition: color .15s, background-color .15s, border-color .15s; }
.ks-chips a:only-child { grid-column: 1 / -1; }
.ks-chips a:hover { border-color: var(--primary); }
.ks-chips [aria-current] { border-color: var(--primary); background: var(--primary); color: #fff; box-shadow: 0 4px 8px rgba(0, 0, 0, .2); }
.ks-trims .btn { width: 100%; min-width: 0; font-size: 16px; }
.ks-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 16px; padding-inline: 16px; border: 1px solid var(--primary); font-size: 14px; color: #1e1e1e; transition: color .15s, background-color .15s; }
.ks-more:hover { background: var(--primary); color: #fff; }
.ks-more svg { stroke-width: 1.5; }
.ks-photo { aspect-ratio: 445 / 225; width: 100%; margin-top: 24px; object-fit: cover; }
.ks-comfort .ks-nav { margin-top: 24px; }
.ks-comfort h4 { text-align: center; font-size: 20px; line-height: 1.25; font-weight: 300; color: #111; }
.ks-text { margin-top: 16px; font-size: 16px; line-height: 150%; font-weight: 300; color: #444; }
.ks-safety .ks-photo { border: 1px solid #d9d9d9; }
.ks-safety ul { display: grid; gap: 20px 16px; margin: 24px 0 0; list-style: none; }
.ks-safety li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 140%; font-weight: 300; color: #1e1e1e; }
.ks-safety li svg { flex-shrink: 0; width: 40px; height: 40px; color: #346257; }
@media (min-width: 640px) { .ks-safety ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) {
  .ks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .ks-name { grid-area: 1 / 1; }
  .ks-colors { grid-area: 1 / 2; }
  .ks-stage { grid-area: 2 / 1 / 3 / 3; }
  .ks-trims { grid-area: 3 / 1; }
  .ks-engine { grid-area: 3 / 2; }
  .ks-dynamics { grid-column: 1 / -1; }
  .ks-model { padding-inline-start: 14px; font-size: 24px; }
  .ks-nav > button { width: 36px; height: 36px; }
  .ks-chips a { padding-inline: 16px; font-size: 18px; }
  .ks-comfort h4 { font-size: 22px; }
  .ks-text, .ks-safety li { font-size: 14px; }
}
@media (min-width: 1280px) {
  .ks { grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 30px 0; }
  .ks-name { grid-area: 1 / 1 / 2 / 18; }
  .ks-trims { grid-area: 2 / 1 / 3 / 18; }
  .ks-stage { grid-area: 1 / 18 / 3 / 44; max-width: none; padding-inline: 20px; }
  .ks-colors { grid-area: 1 / 44 / 2 / 61; }
  .ks-engine { grid-area: 2 / 44 / 3 / 61; }
  .ks .ks-comfort, .ks .ks-safety, .ks .ks-dynamics { grid-column: span 20; grid-row: 3; }
  .ks-comfort { margin-inline-end: 16px; }
  .ks-safety { margin-inline: 8px; }
  .ks-dynamics { margin-inline-start: 16px; }
  .ks-trims, .ks-engine { display: flex; flex-direction: column; }
  .ks-chips { align-content: start; flex: 1; }
  .ks-engine .ks-more { margin-top: auto; }
}
.specs-dialog { width: 90vw; max-width: 1100px; padding: 24px; color: #fff; }
.specs-dialog h2 { padding-inline-end: 48px; font-size: 24px; font-weight: 300; }
.specs-dialog p { margin-top: 4px; font-weight: 300; color: #c9c9c9; }
.specs-dialog .xp-list { margin-top: 16px; }
.specs-dialog .xp-list div { border-color: rgba(255, 255, 255, .15); }
.specs-dialog .xp-list dt { color: #c9c9c9; }
.specs-dialog .xp-list dd { color: #fff; }
.specs-dialog .xp-list img { filter: brightness(0) invert(1); }
@media (min-width: 768px) { .specs-dialog { padding: 32px 40px 40px; } .specs-dialog h2 { font-size: 30px; } }

#prices { scroll-margin-top: 96px; }
/* Between 1024 and 1280px the national calculator's two columns are too narrow for the steps. */
@media (min-width: 1024px) and (max-width: 1279px) { .calc { flex-direction: column; } .calc .calc-panel { width: 100%; } }
/* Benefits: one strip of four. */
#benefits { margin-top: -24px; }
.benefits { display: grid; gap: 32px; margin: 0; padding: 32px 24px; background: #fff; box-shadow: 0 4px 24px rgba(0, 0, 0, .09); list-style: none; }
.benefits li { display: flex; gap: 20px; }
.benefits svg { flex-shrink: 0; width: 40px; height: 40px; color: var(--primary); }
.benefits h3 { font-size: 20px; line-height: 1.25; font-weight: 300; color: #111; text-transform: uppercase; }
.benefits p { margin-top: 12px; font-size: 16px; line-height: 150%; font-weight: 300; color: #444; }
@media (min-width: 768px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 28px; } .benefits h3 { font-size: 22px; } .benefits p { font-size: 15px; } }
@media (min-width: 1280px) { .benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Promotions page ---------- */
/* ---------- Service page ---------- */
.service-hero h1 { font-weight: 600; }
.service-hero .highlights--list { flex-direction: column; align-items: flex-start; gap: 18px; }
.highlights--list a { text-transform: none; }
.mosaic-card-tag { align-self: flex-start; margin-bottom: 8px; padding: 4px 10px; border: 1px solid #9c9c9c; font-size: 11px; color: #1e1e1e; text-transform: uppercase; }
.mosaic-card-body .btn { align-self: flex-start; margin-top: 16px; font-weight: 300; }
#warranty .steps h3 { color: #000; }

/* ---------- About page ---------- */
.about-hero h1 { font-weight: 600; }
/* The way to a Toyota: six steps on a line; the line runs red to the step pointed at. */
.journey { display: flex; gap: 15px; margin: 32px -24px 0; padding: 0 24px 8px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; scrollbar-width: thin; }
.journey li { flex: none; width: 78%; scroll-snap-align: start; }
.journey li:not(:last-child) .journey-line { margin-inline-end: -15px; }
.journey-line { display: flex; align-items: center; height: 32px; }
.journey-line::before { content: ""; flex: none; width: 20px; height: 20px; margin-inline: 6px; border: 3px solid #d4d4d4; border-radius: 50%; background: #fff; transition: all .3s; }
.journey-line::after { content: ""; flex: 1; height: 2px; background: #d9d9d9; transition: background-color .3s; }
.journey li:last-child .journey-line { position: relative; padding-inline-end: 6px; }
.journey li:last-child .journey-line i { position: absolute; top: 11px; right: 0; border-block: 5px solid transparent; border-inline-start: 8px solid #d9d9d9; }
.journey li:first-child .journey-line::before { border-color: var(--primary); }
.journey-no { display: block; margin-top: 12px; font-size: 24px; font-weight: 600; color: #111; }
.journey h3 { min-height: 2.3em; margin-top: 12px; font-size: 22px; line-height: 112%; font-weight: 300; color: #111; text-transform: uppercase; }
.journey p { min-height: 4.6em; max-width: 250px; margin-top: 16px; font-size: 16px; line-height: 150%; font-weight: 300; color: #333; }
.journey-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 8px; font-size: 14px; font-weight: 300; color: #767676; transition: color .15s; }
.journey-more:hover { color: var(--primary); }
.journey-more svg { width: 14px; height: 14px; }
.journey img { aspect-ratio: 241 / 210; width: 100%; margin-top: 16px; object-fit: cover; }
.journey:has(li:is(:hover, :focus-within)) .journey-line::before { border-color: var(--primary); }
.journey:has(li:is(:hover, :focus-within)) .journey-line::after { background: var(--primary); }
.journey li:is(:hover, :focus-within) ~ li .journey-line::before { border-color: #d4d4d4; }
.journey li:is(:hover, :focus-within) .journey-line::after, .journey li:is(:hover, :focus-within) ~ li .journey-line::after { background: #d9d9d9; }
.journey li:is(:hover, :focus-within) .journey-line::before { width: 32px; height: 32px; margin-inline: 0; border: 6px solid #e61e1e; background: #f00; box-shadow: 0 0 0 1px #c00000; }
@media (min-width: 640px) { .journey li { width: 45%; } }
@media (min-width: 768px) { .journey { margin-top: 48px; } .journey li { width: 31%; } .journey h3 { font-size: 26px; } }
@media (min-width: 1280px) {
  .journey { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 64px 0 0; padding: 0; overflow: visible; }
  .journey li { width: auto; }
  .journey h3 { font-size: 19px; }
  .journey p { font-size: 15px; }
  .journey-more { font-size: 13px; }
}
@media (min-width: 1536px) { .journey h3 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .journey-line::before, .journey-line::after { transition: none; } }
/* ---------- Sections of the national and main sites, fitted to the dealers' design ---------- */
/* Photo mosaic (main, HEV page): as tall as drawn, and red. */
.model-photos { margin-top: 32px; }
.model-photos .btn.mosaic-more { border-color: var(--primary); }
.model-photos .btn.mosaic-more::before { background: var(--btn-gradient); }
@media (min-width: 1024px) { .model-photos.mosaic-photos { height: auto; margin-block: 48px 0; aspect-ratio: 1920 / 765; } }

/* Promotions banner (national): the title stands between two lines. */
.promo-hero .promo-slide::after { background: linear-gradient(to bottom, rgba(0, 0, 0, .6), transparent 45%); }
.promo-hero-text h1, .promo-hero-text h2 { font-weight: 600; text-transform: uppercase; }
.promo-hero .line-content { width: 100%; align-items: center; justify-content: center; gap: 24px; }
.promo-hero .line-before, .promo-hero .line-after { display: none; }
@media (min-width: 768px) {
  .promo-hero .promo-hero-texts { padding-inline: 0; }
  .promo-hero .line-before, .promo-hero .line-after { display: block; flex: 1; width: auto; opacity: 1; background: rgba(255, 255, 255, .6); }
}
@media (min-width: 768px) and (max-width: 1279px) { .promo-hero .promo-hero-texts { top: 14%; } .promo-hero .promo-hero-desc, .promo-hero .promo-hero-cta { margin-top: 8px; } }
@media (min-width: 1280px) { .promo-hero .promo-hero-texts { top: 17%; } .promo-hero .promo-hero-desc { margin-top: 24px; } .promo-hero .promo-hero-cta { margin-top: 28px; } }
@media (min-width: 1536px) { .promo-hero-text h1, .promo-hero-text h2 { font-size: 84px; } }

/* Offers: the national interior viewer, its card numbered; the two change sides on every other row. */
.deals { display: flex; flex-direction: column; gap: 56px; margin-top: 32px; }
.deals .design-stage { box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
.deals .calc-step { gap: 16px; font-size: 20px; line-height: 120%; text-transform: uppercase; }
.deals .calc-step span { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid #000; font-size: 20px; font-weight: 600; }
.deals .calc-step b { font-weight: 400; }
.deal-text { margin-top: 28px; }
.deal-eyebrow { font-size: 16px; line-height: 130%; font-weight: 300; text-transform: uppercase; }
.deal-value { margin-top: 4px; font-size: 32px; line-height: 125%; }
.deal-value small { font-size: 16px; font-weight: 700; }
.deal-note { margin-top: 4px; font-size: 16px; line-height: 150%; font-weight: 300; color: #767676; }
.deals .design-checks { margin-top: 24px; }
.deals .design-checks li { font-size: 17px; font-weight: 400; }
.deals .design-checks svg { width: 26px; height: 26px; stroke-width: 3.5; }
.deals .design-panel .btn { width: 100%; margin-top: 32px; font-weight: 300; }
@media (min-width: 768px) {
  .deals { margin-top: 40px; }
  .deals .calc-step { font-size: 26px; }
  .deals .calc-step span { width: 50px; height: 50px; font-size: 24px; }
  .deals .design-panel-body { padding: 36px 40px 40px; }
  .deal-text { margin-top: 36px; padding-inline-start: 30px; }
  .deal-eyebrow, .deal-value small { font-size: 18px; }
  .deal-value { font-size: 40px; }
  .deals .design-checks { gap: 16px; margin-top: 28px; }
  .deals .design-checks li { font-size: 20px; }
  .deals .design-panel .btn { width: 295px; max-width: 100%; margin-top: 44px; }
}
@media (min-width: 1024px) {
  .deals .design-viewer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 42px; }
  .deals .design-viewer:nth-child(even) > :first-child { order: 2; }
  .deals .design-viewer > :first-child { display: grid; }
  .deals .design-stage { aspect-ratio: auto; min-height: 519px; }
  .deals .design-panel-body { padding-inline: 28px; }
}
@media (min-width: 1280px) {
  .deals { gap: 80px; }
  .deals .design-viewer { grid-template-columns: 970fr 508fr; }
  .deals .design-viewer:nth-child(even) { grid-template-columns: 508fr 970fr; }
  .deals .design-panel-body { padding-inline: 40px; }
}

/* Parts: the lineup row; the product stands over its card's upper edge. */
.parts .lineup-card { position: relative; background: none; box-shadow: none; isolation: isolate; }
.parts .lineup-card::before { content: ""; position: absolute; inset: 96px 0 0; z-index: -1; background: #fff; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
.parts .lineup-card-img { aspect-ratio: auto; height: 200px; }
.parts .lineup-card-img img { padding-inline: 24px; object-fit: contain; }
.parts .lineup-card h3 { font-size: 20px; line-height: 130%; }
.parts .lineup-price { margin-top: 8px; padding-top: 0; }
.parts .lineup-price span:first-child { color: var(--primary); }
.parts .lineup-card-desc { margin-bottom: 20px; line-height: 130%; color: #606060; -webkit-line-clamp: 4; }
.parts .lineup-card .btn { margin-top: auto; }
@media (min-width: 768px) {
  .parts .lineup-card-body { padding: 13px 38px 32px; }
  .parts .lineup-card .btn { width: 246px; max-width: 100%; min-height: 50px; font-size: 16px; font-weight: 300; }
  .parts.lineup .carousel-track { gap: 12px; }
  .parts.lineup .carousel-track > * { flex-basis: calc(50% - 6px); }
}
@media (min-width: 1280px) { .parts.lineup .carousel-track > * { flex-basis: calc(33.333% - 8px); } }
@media (min-width: 1536px) { .parts.lineup .carousel-track > * { flex-basis: calc(25% - 9px); } }

.parts .heading-desc, .parts .heading-desc > p { display: block; }

/* Team (main site): its roles readable on phones too. */
@media (max-width: 767px) { .face-role { font-size: 12px; } }

/* Outset cards (national service centre): a wide plate, three in a row, no button. */
.outset-cards--plates { gap: 56px 32px; margin-top: 56px; }
.outset-cards--plates .outset-card { padding: 80px 24px 40px; }
.outset-cards--plates .outset-card::before { width: calc(50% - 80px); transform: translateX(80px); }
.outset-cards--plates .outset-card > img { top: -22px; width: 160px; height: 78px; max-width: none; box-shadow: 0 4px 8px rgba(0, 0, 0, .2); }
.outset-cards--plates .outset-card h3 { font-size: 22px; font-weight: 300; color: #1e1e1e; text-transform: none; }
.outset-cards--plates .outset-card p { margin-top: 12px; font-size: 16px; }
@media (min-width: 768px) { .outset-cards--plates .outset-card h3 { font-size: 26px; } }
@media (min-width: 1024px) { .outset-cards--plates { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 70px; } }

/* Contacts: the option buttons under the form. */
@media (min-width: 1024px) and (max-width: 1279px) { .feedback-side { min-width: 0; } }
.feedback-side--stack { flex-direction: column; gap: 24px; }
.feedback-side--stack .options { width: 100%; max-width: 680px; padding: 20px 24px 40px; }
.feedback-side--stack .options .btn { font-weight: 300; }
.feedback-side--stack .options-buttons { flex-flow: row wrap; justify-content: center; width: 100%; margin-top: 24px; }
@media (min-width: 1024px) { .feedback-side--stack .options { padding: 0; } .feedback-side--stack .options .btn { flex: 1; min-width: 0; } }

/* Text pages: the long words of their headings break on phones. */
.article-head h1, .article .heading h2 { overflow-wrap: anywhere; }
