/* The Uzbekistan site's styles. Sizes follow the Next.js site's 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; } }

/* Image link cards. */
.link-cards { display: grid; gap: 32px; }
.link-card { display: flex; flex-direction: column; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.link-card-img { flex-shrink: 0; width: 100%; aspect-ratio: 471 / 226; }
.link-card-img img { width: 100%; height: 100%; object-fit: cover; }
.link-card-bar { width: 50%; height: 6.1px; background: var(--primary); }
.link-card-body { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 32px 24px; }
.link-card h3 { text-align: center; font-size: 23.67px; }
.link-card .btn { min-width: 0; padding-inline: 40px; }
.link-card .btn:not(:hover, :active) { border-color: #000; }
@media (min-width: 768px) {
  .link-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .link-card { box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .link-card-bar { height: 7.32px; }
  .link-card-body { gap: 32px; padding-block: 40px; }
  .link-card h3 { font-size: 28.4px; }
}

/* News: one lead story and a scrolling list on phones; pages that cross-fade from 768px. Each story opens in a dialog. */
.news-card { position: relative; }
.news-card::before { content: ""; position: absolute; inset: -12px; background: #fff; opacity: 0; box-shadow: 0 10px 30px rgba(56, 56, 56, .18); transition: opacity .3s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.news-card:hover::before { opacity: 1; }
.news-card > * { position: relative; }
.news-card-img { overflow: hidden; }
.news-card-img img { width: 100%; aspect-ratio: 720 / 345; object-fit: cover; }
.news-card h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; line-height: 135%; font-weight: 700; color: #000; text-transform: uppercase; }
.news-card-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-weight: 300; line-height: 160%; color: #000; }
.news-meta { display: flex; align-items: center; gap: 12px; font-weight: 300; color: rgba(0, 0, 0, .47); }
.news-meta i { flex-shrink: 0; width: 1px; height: 14px; background: rgba(0, 0, 0, .15); }
.news-card > .news-open { position: absolute; inset: 0; z-index: 10; }
.news-open:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
@media (max-width: 767px) {
  .news-card--lead::before { inset: -16px; }
  .news-card--lead h3 { margin-top: 20px; -webkit-line-clamp: 3; font-size: 22.89px; }
  .news-card--lead .news-card-desc { margin-top: 16px; font-size: 11.82px; }
  .news-card--lead .news-meta { margin-top: 20px; font-size: 11.8px; }
  .news-rest { display: flex; flex-direction: column; gap: 16px; max-height: 280px; margin: 28px -12px 0 0; padding: 8px 12px; overflow: auto; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .25) transparent; }
  .news-page { display: contents; }
  .news-rest .news-card { display: flex; align-items: center; gap: 12px; }
  .news-rest .news-card::before { inset: -8px; }
  .news-rest .news-card-img { flex-shrink: 0; width: 28%; max-width: 156px; }
  .news-rest .news-card-img img { aspect-ratio: 156 / 62; }
  .news-rest .news-card-text { flex: 1; min-width: 0; }
  .news-rest h3 { font-size: 16.15px; }
  .news-rest .news-card-desc { display: none; }
  .news-rest .news-meta { margin-top: 6px; font-size: 11.8px; }
  .news .pager { display: none; }
}
@media (min-width: 640px) and (max-width: 767px) { .news-rest { max-height: 320px; } }
@media (min-width: 768px) {
  .news-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 40px 20px; }
  .news-rest, .news-page:first-child { display: contents; }
  .news-page:not(:first-child) { position: absolute; inset: 0 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 40px 20px; pointer-events: none; }
  .news-card { display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
  .news-card.is-shown { opacity: 1; pointer-events: auto; }
  .news-card-text { display: flex; flex: 1; flex-direction: column; }
  .news-card h3 { margin-top: 16px; font-size: 15px; }
  .news-card-desc { margin-top: 12px; font-size: 14px; }
  .news-meta { margin-top: auto; padding-top: 16px; font-size: 13px; }
  .news-card--lead { grid-column: span 2; flex-direction: row-reverse; gap: 24px; }
  .news-card--lead .news-card-img { flex: 1; }
  .news-card--lead .news-card-img img { height: 100%; aspect-ratio: 1200 / 686; }
  .news-card--lead .news-card-text { flex: none; width: 42%; }
  .news-card--lead h3 { display: block; margin-top: 0; font-size: 24px; line-height: 130%; }
  .news-card--lead .news-card-desc { -webkit-line-clamp: 4; margin-top: 20px; font-size: 16px; line-height: 165%; }
  .news-card--lead .news-meta { padding-top: 24px; font-size: 14px; line-height: calc(1.25 / .875); }
  .news .pager { margin-top: 56px; }
}
@media (min-width: 1024px) {
  .news-grid, .news-page:not(:first-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
  .news-card h3 { font-size: 17.73px; }
  .news-card-desc, .news-meta { font-size: 16.91px; }
  .news-card--lead { grid-column: span 3; }
  .news-card--lead h3 { font-size: 31.84px; }
  .news-card--lead .news-card-desc { font-size: 18.91px; }
  .news-card--lead .news-meta { font-size: 16.91px; }
}
@media (min-width: 1280px) {
  .news-card--lead { gap: 40px; }
  .news-card--lead .news-card-desc { margin-top: 24px; }
  .news-card--lead .news-meta { padding-top: 32px; }
}

/* Pager: previous, a dot per page, next. */
.pager { display: flex; align-items: center; justify-content: center; gap: 20px; }
.pager-prev, .pager-next { display: flex; align-items: center; justify-content: center; width: 44px; height: 36px; transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.pager-prev { border: 1px solid rgba(0, 0, 0, .7); color: #000; }
.pager-prev:hover { background: rgba(0, 0, 0, .05); }
.pager-next { background: var(--primary); color: #fff; }
.pager-next:hover { background: rgba(193, 15, 16, .9); }
.pager-prev:disabled, .pager-next:disabled { cursor: not-allowed; opacity: .3; }
.pager-prev:disabled:hover { background: none; }
.pager-dots { display: flex; align-items: center; gap: 14px; }
.pager-dots button { position: relative; width: 10px; height: 10px; border-radius: 50%; background: rgba(0, 0, 0, .2); transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.pager-dots button::before { content: ""; position: absolute; inset: -7px; }
.pager-dots button:hover { background: rgba(0, 0, 0, .4); }
.pager-dots button[aria-current="true"] { background: var(--primary); }

/* Story dialog: a news story opened in full. */
.story-dialog { display: flex; flex-direction: column; gap: 16px; width: 90vw; padding: 16px; color: #fff; }
.story-img { position: relative; flex-shrink: 0; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.story-text { max-height: 350px; margin-top: 4px; overflow: auto; }
.story-dialog h2 { font-size: 24px; line-height: calc(2 / 1.5); font-weight: 300; }
.story-dialog .dialog-round { top: 24px; right: 24px; box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 2px -1px rgba(0, 0, 0, .3); }
.story-body { margin-top: 20px; font-weight: 300; }
@media (min-width: 768px) { .story-dialog .dialog-round { top: 32px; right: 32px; } }
@media (min-width: 640px) { .story-dialog { width: 650px; } }
@media (min-width: 768px) { .story-dialog { width: 700px; padding: 24px; } .story-dialog h2 { font-size: 30px; } .story-body { font-size: 19px; } }
@media (min-width: 1024px) { .story-dialog { width: 800px; } }
@media (min-width: 1280px) { .story-dialog { width: 900px; } }

/* 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; }
}

/* Panels that slide sideways past each other; the stack keeps the open one's height. */
.switch-clip { overflow-x: clip; }
.switch-stack { position: relative; transition: height .5s cubic-bezier(.4, 0, .2, 1); }
/* Wider than the box, so the button's shadow under it is never cut. */
.switch-stack.is-switching { clip-path: inset(-24px -100px); }
.switch-panel { position: absolute; inset: 0 0 auto; visibility: hidden; opacity: 0; translate: 100% 0; transition: opacity .5s cubic-bezier(.4, 0, .2, 1), translate .5s cubic-bezier(.4, 0, .2, 1), visibility .5s cubic-bezier(.4, 0, .2, 1); }
.switch-panel.is-before { translate: -100% 0; }
.switch-panel.is-active { position: relative; visibility: visible; opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .switch-stack, .switch-panel { transition: none; } }

/* Test drive and contact: photo with options, and the form card beside it. */
.td { display: flex; flex-direction: column; gap: 32px; }
.td-photo { position: relative; aspect-ratio: 440 / 275; width: 100%; }
.td-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.td-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), rgba(0, 0, 0, .2), rgba(0, 0, 0, .05)); }
.td-photo-text { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; height: 100%; padding: 24px; color: #fff; }
.td-photo-text .toyota-mark { align-self: flex-start; width: auto; height: 24px; margin-bottom: auto; }
.td-photo-text h3 { font-size: 18px; text-transform: uppercase; }
.td-desc { margin-top: 12px; font-size: 13px; line-height: 1.375; font-weight: 300; color: rgba(255, 255, 255, .9); }
.td-photo .options { display: none; }
.td-mobile-options { margin-top: -4px; }
.td-card { min-width: 0; padding: 36px 24px; border: 1px solid #f1f1f1; background: #fff; box-shadow: 0 11.1px 22.21px rgba(13, 16, 45, .1), 0 23.13px 46.27px rgba(13, 16, 45, .1); }
.switch-panel h3 { text-align: center; font-size: 24px; color: #1c244b; text-transform: uppercase; }
.td-sub { margin-top: 4px; text-align: center; font-size: 16px; font-weight: 300; color: #172640; }
.switch-panel .form-embed { margin-top: 28px; }
@media (min-width: 1024px) {
  .td { flex-direction: row; align-items: center; }
  .td-photo { flex-basis: calc((100% - 32px) * 56 / 98); aspect-ratio: 950 / 680; width: auto; min-width: 0; min-height: 500px; }
  .td-photo-text { padding: 32px 32px 28px; }
  .td-photo-text .toyota-mark { height: 40px; }
  .td-photo-text h3 { font-size: 30px; }
  .td-desc { max-width: 512px; font-size: 16px; line-height: 1.5; }
  .td-photo .options { display: block; margin-top: 36px; }
  .td-mobile-options { display: none; }
  .td-card { flex-basis: calc((100% - 32px) * 42 / 98); }
  .switch-panel h3 { font-size: 30px; }
}
@media (min-width: 1280px) {
  .td-photo { flex-basis: calc((100% - 32px) * 60 / 98); }
  .td-photo-text { padding: 48px 56px 40px; }
  .td-card { flex-basis: calc((100% - 32px) * 38 / 98); padding: 40px 32px 36px; }
}
@media (min-width: 1536px) {
  .td-photo-text { padding: 64px 96px 56px; }
  .td-photo-text .toyota-mark { height: 52px; }
  .td-photo-text h3 { font-size: 40px; }
  .td-desc { font-size: 18px; }
}

/* 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; } }

/* ========== HEV page ========== */
/* Glossy banner (HEV): glass pill links over the picture, each with a blurred ghost of its text in the glass. */
@media (min-width: 640px) { .banner-shade--hev { background: rgba(0, 0, 0, .05); } }
.glossy-desc { max-width: 500px; transform: translateY(-10px); font-size: 14px; font-weight: 300; color: #fff; }
.glossy h1 { font-size: 32px; line-height: 28px; font-weight: 300; color: #fff; text-transform: uppercase; }
.pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pills--mobile { margin-top: 16px; padding-inline: 24px; }
.pills--desktop { margin-top: 2%; }
.pill { position: relative; overflow: hidden; padding: 8px 6px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8.4px; background: rgba(255, 255, 255, .1); box-shadow: 0 8px 30px rgba(0, 0, 0, .08), inset 0 1px 2px rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.pill:focus-visible { outline-color: #fff; }
.pill-text, .pill-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; white-space: nowrap; }
.pill-text { position: relative; z-index: 2; }
.pill-ghost { position: absolute; left: 0; z-index: 1; overflow: hidden; scale: 1.01 1.3; filter: blur(2px); opacity: .3; user-select: none; }
.pill-icon { flex-shrink: 0; width: 12px; height: 12px; object-fit: contain; }
.pill span span { padding-bottom: 2px; font-size: 13px; color: rgba(255, 255, 255, .9); filter: drop-shadow(0 0 12px rgba(255, 255, 255, .8)); }
.glossy-wordmark { position: absolute; right: 0; bottom: 28px; left: 0; z-index: 10; display: none; pointer-events: none; }
.glossy-wordmark img { width: 280px; }
@media (min-width: 640px) {
  .glossy-desktop { margin-top: 110px; }
  .pills { display: flex; flex-wrap: wrap; gap: 12px; }
  .pill { padding: 10px 20px; }
  .pill-icon { width: 18px; height: 18px; }
  .pill span span { font-size: 14px; }
}
@media (min-width: 768px) { .pill { padding-inline: 14px; } .pill span span { font-size: 16px; } }
@media (min-width: 1024px) {
  .glossy-desktop { margin-top: 140px; }
  .glossy-desc { transform: translateY(-14px); font-size: 16px; }
  .glossy h1 { font-size: 47px; line-height: 52px; }
  .pills { gap: 16px; }
  .pills--desktop { margin-top: 3%; }
  .glossy-wordmark { display: block; }
}
@media (min-width: 1280px) { .glossy-desktop { margin-top: 222px; } .glossy-desc { max-width: 750px; font-size: 18px; } }
@media (min-width: 1536px) { .glossy h1 { margin-top: .5%; font-size: 64px; line-height: 68px; } .pills--desktop { margin-top: 2%; } }

/* Comparison (HEV): model tabs; a hybrid and a petrol card, side by side with their figures over the photo from 1024px,
   stacked with the figures under it below that. One model fades out downwards before the next fades in. */
.cmp-body { display: flex; flex-direction: column; margin-top: 16px; }
.cmp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.cmp-tab { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; height: 52px; padding: 0 6px; overflow: hidden; border: 1px solid #000; background: #fff; transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1); }
.cmp-tab[aria-selected="true"] { border: 0 solid #e4e4e7; background: var(--hev-gradient); }
.cmp-tab-car { display: none; flex-shrink: 0; width: 90px; }
.cmp-tab-name { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 4px; height: 100%; margin-inline: auto; padding-block: 8px; line-height: 1; }
.cmp-tab-name > img { width: 100%; min-height: 0; margin-inline: auto; object-fit: cover; }
.cmp-tab-hev { display: flex; height: 16px; margin-inline: auto; overflow: hidden; }
.cmp-tab-hev img { flex-shrink: 0; width: auto; height: 16px; }
.cmp-tab .on-dark, .cmp-tab[aria-selected="true"] .on-light { display: none; }
.cmp-tab[aria-selected="true"] .on-dark { display: block; }
.cmp-panels { margin-top: 24px; }
.cmp-panel { display: flex; flex-direction: column; gap: 16px; transition: opacity .25s ease-out, translate .25s ease-out; }
.cmp-panel.is-out { translate: 0 10px; opacity: 0; }
.cmp-card { display: grid; grid-template-columns: minmax(0, 1fr); }
.cmp-photo { position: relative; grid-area: 1 / 1; overflow: hidden; }
.cmp-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(0, 0, 0, .8), transparent) left / 60% 100% no-repeat, rgba(0, 0, 0, .2); }
.cmp-photo::after { content: ""; position: absolute; inset: 0 auto 0 0; z-index: 2; width: 5px; background: #1f5dbe; }
.cmp-card--petrol .cmp-photo::after { background: #c10e0f; }
.cmp-text { display: contents; }
.cmp-head { position: relative; z-index: 1; grid-area: 1 / 1; display: flex; flex-direction: column; padding: 4%; }
.cmp-badge { align-self: flex-start; width: auto; height: 16px; }
.cmp-title { display: flex; flex-direction: column-reverse; margin-top: calc(53px + 5%); color: #fff; }
.cmp-title > span:first-child { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: .025em; }
.cmp-sub { margin-bottom: -6px; font-size: 18px; font-weight: 300; letter-spacing: .15em; }
.cmp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.cmp-stat { display: flex; flex-direction: column; justify-content: space-between; gap: 2px; width: 100%; padding: 10px 12px; border: 1px solid #fff; color: #fff; background: linear-gradient(to right, #4291da, #062848); background: linear-gradient(to right in oklab, #4291da, #062848); -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px); }
.cmp-card--petrol .cmp-stat { background: linear-gradient(to right, #505150, #020202); background: linear-gradient(to right in oklab, #505150, #020202); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.cmp-stat-label { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 12px; font-weight: 300; }
.cmp-stat-label img { width: auto; height: 20px; }
.cmp-stat-value { font-size: 28px; line-height: 1; font-weight: 600; }
.cmp-stat-value span { font-size: 13px; font-weight: 300; }
.cmp-stat-delta { display: inline-flex; align-items: center; gap: 4px; width: fit-content; margin-top: 8px; padding: 2px 6px; background: #143822; font-size: 12px; font-weight: 300; color: #48d87d; }
.cmp-stat-delta svg { margin-inline-end: 4px; }
.cmp-pill { grid-row: 3; margin-top: 8px; padding: 8px 12px; background: linear-gradient(to right, #4291da, #062848); background: linear-gradient(to right in oklab, #4291da, #062848); font-size: 13px; font-weight: 300; color: #fff; }
.cmp-vs { display: none; }
.btn.cmp-reserve { width: 100%; min-height: 44px; margin-top: 8px; font-size: 14px; font-weight: 300; }
.btn.cmp-book { display: none; min-width: 260px; min-height: 48px; margin: 32px auto 0; font-size: 16px; font-weight: 300; }
@media (min-width: 768px) {
  .cmp-tabs { display: flex; flex-wrap: wrap; gap: 32px; }
  .cmp-tab { width: 300px; height: 50px; padding-inline: 12px; }
  .cmp-tab-car { display: block; }
  .cmp-tab-name > img { width: 140px; }
}
@media (min-width: 1024px) {
  .cmp-panels { margin-top: 40px; }
  .cmp-panel { flex-direction: row; align-items: stretch; }
  .cmp-card { position: relative; display: block; flex: 1 1 0%; min-width: 0; min-height: 360px; overflow: hidden; }
  .cmp-photo { position: absolute; inset: 0; }
  .cmp-photo::after { width: 10px; }
  .cmp-text { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 4%; }
  .cmp-head { padding: 0; }
  .cmp-badge { height: 24px; }
  .cmp-title { flex-direction: column; margin-top: 5%; }
  .cmp-title > span:first-child { font-size: 55px; }
  .cmp-sub { margin: -6px 0 0; font-size: 23px; }
  .cmp-pill { width: fit-content; height: 37px; margin-top: 16px; padding: 6px 20px; border: 1px solid #fff; background: linear-gradient(to right, rgba(66, 145, 218, .5), rgba(6, 40, 72, .5)); background: linear-gradient(to right in oklab, rgba(66, 145, 218, .5), rgba(6, 40, 72, .5)); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); font-size: 16px; }
  .cmp-stats { display: flex; gap: 12px; margin-top: 24px; }
  /* The petrol card keeps the room of the pill it has none of. */
  .cmp-card--petrol .cmp-stats { margin-top: 82px; }
  .cmp-stat { height: 120px; max-width: 250px; padding: 12px 16px; background: linear-gradient(to right, rgba(66, 145, 218, .3), rgba(6, 40, 72, .3)); background: linear-gradient(to right in oklab, rgba(66, 145, 218, .3), rgba(6, 40, 72, .3)); }
  .cmp-card--petrol .cmp-stat { background: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(0, 0, 0, .3)); }
  .cmp-stat--plain { justify-content: flex-start; gap: 12px; }
  .cmp-stat--plain .cmp-stat-value { font-size: 32px; }
  .cmp-stat--plain .cmp-stat-value span { font-size: 15px; }
  .cmp-stat-label, .cmp-stat-delta { font-size: 14px; }
  .cmp-vs { display: flex; align-items: center; }
  .cmp-vs span { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 56px; height: 56px; border: 2px solid #003fc7; border-radius: 50%; background: #fff; font-size: 30px; font-weight: 600; color: #000; }
  .btn.cmp-reserve { display: none; }
  .btn.cmp-book { display: inline-flex; }
}
@media (min-width: 1280px) { .cmp-stat-label { font-size: 16px; } }
@media (min-width: 1536px) {
  .cmp-body { display: grid; grid-template-columns: 1fr auto; align-items: start; }
  .cmp-panels { grid-area: 2 / 1 / 3 / 3; }
  .btn.cmp-book { grid-area: 1 / 2; min-height: 50px; margin: 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .cmp-panel { transition: none; } }

.cmp-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
.cmp-feature h3 { position: relative; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; letter-spacing: .025em; color: #1c244b; }
.cmp-feature h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #0063bf; }
.cmp-feature h3 img { position: relative; z-index: 1; flex-shrink: 0; width: 48px; height: 48px; object-fit: cover; }
.cmp-feature-text { margin-top: 16px; font-size: 14px; font-weight: 300; color: #172640; }
.cmp-feature-text ul { margin-inline-start: 4px; }
.cmp-feature-text li + li { margin-top: 4px; }
.cmp-feature-text li:first-child { font-weight: 600; }
@media (min-width: 1024px) {
  .cmp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
  .cmp-feature h3 { font-size: 22px; }
  .cmp-feature h3::after { width: 60%; }
  .cmp-feature h3 img { width: 56px; height: 56px; }
  .cmp-feature-text { margin-top: 24px; font-size: 16px; }
}

/* Numbered list beside a picture (HEV warranty). */
.numbered { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 32px; }
.numbered-img img { width: 83%; margin-inline: auto; aspect-ratio: 2208 / 2307; object-fit: cover; }
.numbered .numbered-list { margin: 8px 0 0; list-style: none; }
.numbered-list li { display: flex; align-items: flex-start; gap: 16px; padding-block: 16px; border-bottom: 1px solid #d9d9d9; }
.numbered-list li:last-child { border-bottom: 0; }
.numbered-no { flex-shrink: 0; width: 76px; font-family: montserratThin, var(--font); font-size: 60px; line-height: 1; font-weight: 100; background: var(--hev-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.numbered-list h3 { font-size: 18px; letter-spacing: .025em; color: #000; text-transform: uppercase; }
.numbered-list p { margin-top: 4px; font-size: 14px; line-height: 1.625; font-weight: 300; color: #404040; }
@media (min-width: 768px) { .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); } .numbered .heading h2 { font-size: 42px; } }
@media (min-width: 1024px) {
  .numbered { gap: 48px; }
  .numbered .numbered-list { margin-top: 16px; }
  .numbered-list li { gap: 24px; padding-block: 20px; }
  .numbered-no { width: 96px; font-size: 78px; }
  .numbered-list h3 { font-size: 20px; }
}

/* Mosaic gallery header: a wide picture with two marks, a heading and a line. */
.mosaic-hero { position: relative; margin-top: 8px; isolation: isolate; }
.mosaic-hero-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.mosaic-hero-in { display: flex; flex-direction: column; align-items: center; justify-content: center; padding-block: 40px; text-align: center; }
.mosaic-hero-marks { display: flex; align-items: center; gap: 64px; }
.mosaic-hero-marks .mark-one { width: auto; height: 32px; }
.mosaic-hero-marks .mark-two { width: auto; height: 24px; }
.mosaic-hero h3 { margin-top: 24px; font-size: 16px; font-weight: 300; color: #fff; text-transform: uppercase; text-shadow: 1px 1px 10px #000; }
.mosaic-hero p { max-width: 80%; margin-top: 16px; font-size: 12px; font-weight: 300; color: rgba(255, 255, 255, .85); text-shadow: 1px 1px 10px #000; }
@media (min-width: 640px) { .mosaic-hero h3 { font-size: 24px; } .mosaic-hero p { font-size: 14px; } }
@media (min-width: 1024px) {
  .mosaic-hero { margin-top: 16px; }
  .mosaic-hero-in { padding-block: 48px; }
  .mosaic-hero-marks { gap: 80px; }
  .mosaic-hero-marks .mark-one { height: 48px; }
  .mosaic-hero-marks .mark-two { height: 32px; }
  .mosaic-hero h3 { margin-top: 32px; font-size: 34px; }
  .mosaic-hero p { max-width: 60%; margin-top: 24px; font-size: 16px; }
}
@media (min-width: 1280px) { .mosaic-hero h3 { font-size: 38px; } }

/* Hybrid technology: a diagram whose parts open their labels one at a time, and an accordion of the parts, below 1024px;
   from there a labelled diagram and the parts as cards. */
.tech { margin-top: 24px; }
.tech-diagram { display: none; width: 100%; aspect-ratio: 3013 / 1296; object-fit: cover; }
.tech-mobile { position: relative; margin-block: 24px; }
.tech-mobile-img { width: 100%; aspect-ratio: 440 / 249; object-fit: cover; }
.hotspot-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hotspot-line line { stroke: #0063bf; stroke-width: 3; vector-effect: non-scaling-stroke; scale: 0; transition: scale .5s ease-out; }
.hotspot-line:has(+ .hotspot[aria-pressed="true"]) line { scale: 1; }
.hotspot { position: absolute; display: flex; transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.hotspot--left { flex-direction: row-reverse; }
.hotspot::after { content: ""; position: absolute; bottom: 0; left: 0; z-index: 3; width: 100%; height: 3px; background: #0063bf; opacity: 0; transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
.hotspot--top::after { top: 0; bottom: auto; }
.hotspot-icon { position: relative; z-index: 1; display: flex; flex-shrink: 0; height: 40px; overflow: hidden; }
.hotspot-icon img { flex-shrink: 0; max-width: none; width: auto; height: 40px; }
.hotspot-label { position: relative; z-index: 2; height: 40px; overflow: hidden; }
.hotspot-label > span { display: flex; align-items: center; justify-content: center; height: 40px; margin-inline-start: -350px; padding-inline: 16px; background: #fff; font-size: 14px; line-height: 1.2; white-space: nowrap; opacity: 0; transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.hotspot[aria-pressed="true"] { z-index: 1; box-shadow: 2.73px 7.23px 20.72px 0 rgba(56, 56, 56, .17); }
.hotspot[aria-pressed="true"]::after { opacity: 1; }
.hotspot[aria-pressed="true"] .hotspot-label > span { margin-inline-start: 0; opacity: 1; }
.hotspot--engine { top: 15%; left: 8%; } .hotspot--engine[aria-pressed="true"] { left: 10%; }
.hotspot--tire { left: 10%; bottom: 7%; } .hotspot--tire[aria-pressed="true"] { left: 6%; }
.hotspot--battery { top: 8%; right: 10%; } .hotspot--battery[aria-pressed="true"] { right: 5%; }
.hotspot--inverter { top: 0; right: 45%; } .hotspot--inverter[aria-pressed="true"] { right: 30%; }
.hotspot--motor { right: 22%; bottom: 5%; } .hotspot--motor[aria-pressed="true"] { right: 17%; }
@media (min-width: 640px) {
  .hotspot-icon { width: 7vw; height: 7vw; }
  .hotspot-icon img { width: 100%; height: 100%; }
  .hotspot-label, .hotspot-label > span { height: 7vw; }
  .hotspot-label > span { padding-inline: 20px; }
}
@media (min-width: 768px) { .hotspot-label > span { font-size: 16px; } }
/* On phones an open label takes room: the icons it would cover step aside. */
@media (max-width: 639px) {
  .hotspot-label > span { padding-inline: 12px; font-size: 13px; }
  .tech-mobile:has(.hotspot--engine[aria-pressed="true"]) .hotspot--inverter { top: -20px; }
  .tech-mobile:has(.hotspot--tire[aria-pressed="true"]) .hotspot--motor { right: 8%; }
  .tech-mobile:has(.hotspot--motor[aria-pressed="true"]) .hotspot--tire { left: 3%; }
}
@media (max-width: 399px) {
  .hotspot--inverter[aria-pressed="true"] { top: -18px; }
  .tech-mobile:has(.hotspot--battery[aria-pressed="true"]) .hotspot--inverter { right: 54%; }
}
.parts { margin-top: 20px; }
.part { position: relative; margin-bottom: 8px; padding-inline: 20px; overflow: hidden; isolation: isolate; color: #fff; }
.part-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.part::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, .8)); transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
.part::after { content: ""; position: absolute; inset: auto 0 0; z-index: -1; height: 75%; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .5s cubic-bezier(.4, 0, .2, 1); }
.part.is-open::before { opacity: 0; }
.part.is-open::after { opacity: 1; }
.part h3 { display: flex; }
.part-toggle { display: flex; flex: 1; align-items: flex-start; justify-content: space-between; gap: 16px; padding-block: 18px; text-align: left; font-size: 18px; font-weight: 500; text-transform: uppercase; }
.part-toggle:focus-visible { outline-color: #fff; outline-offset: -6px; }
.part-title { letter-spacing: .025em; transition: all .5s cubic-bezier(.4, 0, .2, 1); }
.part.is-open .part-title { padding-top: 160px; }
.part-arrow { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid #fff; }
.part-arrow svg { width: 24px; height: 24px; rotate: 90deg; transition: rotate .5s cubic-bezier(.4, 0, .2, 1); }
.part.is-open .part-arrow { border: 0; background: var(--hev-gradient); }
.part.is-open .part-arrow svg { rotate: 270deg; }
.part-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s ease-out, visibility 0s .5s; }
.part.is-open .part-panel { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s ease-out; }
.part-panel > div { min-height: 0; overflow: hidden; }
.part-panel p { padding-bottom: 24px; font-size: 14px; line-height: 20px; font-weight: 300; }
.part-cards { display: none; }
.part-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; box-shadow: .86px 15.56px 24.37px rgba(38, 38, 38, .17); }
.part-card > img { width: 100%; aspect-ratio: 280 / 170; object-fit: cover; }
.part-card-bar { width: 50%; height: 8.5px; margin-inline-start: auto; background: var(--hev-gradient); }
.part-card-text { padding: 8px 12px 12px; }
.part-card h3 { font-size: 16px; line-height: 1.25; font-weight: 600; }
.part-card p { font-size: 14px; font-weight: 300; }
@media (min-width: 1024px) {
  .tech { margin-top: 50px; }
  .tech-diagram { display: block; margin-top: 80px; }
  .tech-mobile, .parts { display: none; }
  .part-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { .hotspot-line line, .hotspot, .hotspot::after, .hotspot-label > span, .part::before, .part::after, .part-title, .part-arrow svg, .part-panel, .part.is-open .part-panel { transition: none; } }

/* Stat cards (HEV history). */
.stat-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.stat-card { display: flex; background: #fff; box-shadow: .86px 15.56px 24.37px rgba(38, 38, 38, .12); }
.stat-card::before { content: ""; flex-shrink: 0; width: 4px; background: var(--hev-gradient); }
.stat-card > div { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.stat-card p { font-size: 12px; font-weight: 300; color: #000; }
.stat-card .stat-card-value { font-size: 28px; font-weight: 700; color: var(--ink); }
.history-map img { width: 100%; margin-top: 32px; aspect-ratio: 1568 / 6115; object-fit: cover; pointer-events: none; }
@media (min-width: 1024px) {
  .stat-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .stat-card > div { padding: 20px 24px; }
  .stat-card p { font-size: 18px; }
  .stat-card .stat-card-value { font-size: 40px; }
  .history-map img { margin-top: 40px; aspect-ratio: 4641 / 3135; }
}

/* 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; } }

/* Mileage menu: a timeline of service intervals; each opens its card. */
#mileage .heading-desc p + p { margin-top: 12px; }
.mileage-scroll { margin: 32px -24px 0; overflow: auto; scrollbar-width: none; }
.mileage-scroll::-webkit-scrollbar { display: none; }
.mileage-track { --item: 116px; --progress: 0; position: relative; display: flex; justify-content: space-between; width: 100%; min-width: max-content; }
.mileage-track::before, .mileage-track::after { content: ""; position: absolute; top: 35px; left: 0; pointer-events: none; }
.mileage-track::before { right: 0; height: 2px; background: rgba(0, 0, 0, .15); }
.mileage-track::after { height: 3px; width: calc(var(--item) / 2 + (100% - var(--item)) * var(--progress)); background: var(--primary); transition: width .3s cubic-bezier(.4, 0, .2, 1); }
.mileage-stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: var(--item); flex-shrink: 0; }
.mileage-stop:focus-visible { outline-offset: -2px; }
.mileage-dot { position: relative; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-bottom: 26px; border: 4px solid rgba(0, 0, 0, .2); border-radius: 50%; }
.mileage-dot::after { content: ""; position: absolute; width: 0; height: 0; border-radius: 50%; background: var(--primary); transition: width .5s cubic-bezier(.4, 0, .2, 1), height .5s cubic-bezier(.4, 0, .2, 1); }
.mileage-stop[aria-selected="true"] .mileage-dot::after { width: 20px; height: 20px; }
.mileage-stop[aria-selected="true"]::after { content: ""; position: absolute; top: 33px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.mileage-value { font-size: 25px; line-height: 1; font-weight: 600; color: #9b9b9b; transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.mileage-km { margin-top: 2px; font-size: 11px; line-height: 1; font-weight: 300; color: #b0b0b0; text-transform: uppercase; transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.mileage-stop[aria-selected="true"] .mileage-value, .mileage-stop[aria-selected="true"] .mileage-km { color: var(--primary); }
.mileage-stop[aria-selected="true"] .mileage-value span { color: var(--ink); }
.mileage-card { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; margin-top: 32px; padding: 20px 12px; border-inline-start: 8px solid var(--primary); background: #fff; box-shadow: 0 11.1px 22.21px 0 rgba(13, 16, 45, .1), 0 23.13px 46.27px -11.1px rgba(13, 16, 45, .1); }
.mileage-card.is-changing { position: relative; overflow: clip; }
.mileage-card.mileage-ghost { position: absolute; inset: 0 0 auto -8px; margin: 0; border-color: transparent; background: none; box-shadow: none; pointer-events: none; }
.mileage-big { grid-row: span 2; display: flex; align-items: center; justify-content: center; font-size: 36px; line-height: 1; font-weight: 300; }
.mileage-big span { font-size: 18px; }
.mileage-card h3 { align-self: end; font-size: 18px; line-height: 1.25; font-weight: 300; }
.mileage-card .semibold { font-weight: 600; }
.mileage-card .ink { color: var(--ink); }
.mileage-desc { margin-top: 8px; font-size: 12px; line-height: 1.375; font-weight: 300; color: #6b6b6b; }
.mileage-services { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 16px 0 0; list-style: none; }
.mileage-services li { display: flex; align-items: center; justify-content: center; min-height: 22px; padding-inline: 4px; border: 1px solid rgba(0, 0, 0, .15); text-align: center; font-size: 12px; line-height: 1.25; font-weight: 300; color: #6b6b6b; }
@media (min-width: 768px) {
  #mileage .heading-desc p + p { margin-top: 16px; }
  .mileage-scroll { margin: 48px 0 0; }
  .mileage-track { --item: 64px; }
  .mileage-card { column-gap: 20px; margin-top: 40px; padding: 32px 32px 32px 0; }
  .mileage-big { grid-row: span 3; width: 176px; font-size: 64px; }
  .mileage-big span { font-size: 32px; }
  .mileage-card h3 { font-size: 36px; }
  .mileage-desc { margin-top: 12px; font-size: 16px; }
  .mileage-services { grid-column: 2; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 8px; margin-top: 24px; }
  .mileage-services li { min-height: 32px; padding-inline: 12px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mileage-track::after, .mileage-dot::after { transition: none; } }

/* Vehicle check (SSC lookup): a picture beside the form, and the answer in a dialog. */
.ssc { display: flex; flex-direction: column; gap: 44px; max-width: 1400px; margin-inline: auto; }
.ssc-img img { width: 100%; max-width: 600px; aspect-ratio: 518 / 335; margin-inline: auto; object-fit: cover; }
.ssc-card { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 600px; margin-inline: auto; padding: 40px 24px; box-shadow: 0 11.1px 22.21px 0 rgba(13, 16, 45, .1), 0 23.13px 46.27px -11.1px rgba(13, 16, 45, .1); }
.ssc-in { width: 100%; max-width: 460px; margin-inline: auto; }
.ssc-card h2 { text-align: center; font-size: 25px; color: #1d254b; text-transform: uppercase; }
.ssc-sub { margin-top: 8px; text-align: center; color: #162740; }
.ssc-form { min-height: 190px; margin-block: 28px; }
.ssc-note { text-align: center; font-style: italic; color: #172640; }
.ssc-note sup { position: relative; top: -.5em; vertical-align: baseline; font-size: 75%; line-height: 0; color: #c10e0f; }
.ssc-card .btn { display: flex; width: fit-content; margin: 22px auto 0; }
.ssc-head { align-items: stretch; justify-content: flex-start; height: auto; padding: 24px 4px 36px; text-align: center; color: #fff; }
.ssc-head > :not(.form-dialog-bg, .dialog-x) { position: relative; }
.ssc-icon { width: 120px; margin: 0 auto -16px; aspect-ratio: 140 / 143; object-fit: cover; }
.ssc-head h2 { font-family: var(--font); font-size: 24px; line-height: 1.25; font-weight: 600; }
.ssc-desc { margin-top: 4px; font-size: 18px; font-weight: 300; }
.ssc-desc.is-small { font-size: 14px; }
.ssc-green { color: #3fb44c; }
.ssc-orange { color: #eda109; }
.ssc-red { color: #c10e0f; }
.ssc-recaptcha { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 20px; padding-inline: 16px; font-size: 13px; font-weight: 300; color: rgba(255, 255, 255, .8); }
.ssc-recaptcha-box { display: flex; justify-content: center; }
.ssc-status { display: flex; align-items: center; gap: 8px; }
.ssc-status:empty { position: absolute; }
.ssc-status svg { width: 16px; height: 16px; flex-shrink: 0; }
.ssc-badges { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 0 16px 16px; list-style: none; }
.ssc-badges:empty { display: none; }
.ssc-badge { display: flex; align-items: center; gap: 12px; padding: 8px; border: 2px solid #658a3a; border-radius: 10.4px; background: #e9f2db; color: #276e00; }
.ssc-badge svg { translate: 0 1px; }
.ssc-badge--orange { border-color: #cb7301; background: #fee9cd; color: #7a3500; }
.ssc-badge--red { border-color: #fde7e7; background: #fde7e7; color: #be0000; }
@media (min-width: 768px) {
  .ssc-card { padding: 32px 56px; }
  .ssc-card h2 { font-size: 30px; }
  .ssc-head { padding: 40px 4px 48px; }
  .ssc-icon { width: 140px; margin-bottom: -24px; }
  .ssc-head h2 { font-size: 33px; }
  .ssc-desc { font-size: 20px; }
  .ssc-desc.is-small { font-size: 16px; }
  .ssc-recaptcha { font-size: 14px; }
  .ssc-badges { gap: 16px; padding: 0 24px 24px; }
  .ssc-badge { font-size: 18px; }
}
@media (min-width: 1024px) {
  .ssc { flex-direction: row; align-items: stretch; gap: 64px; }
  .ssc-img { position: relative; flex: 1; }
  .ssc-img img { position: absolute; top: 0; left: 0; height: 100%; max-width: max-content; aspect-ratio: auto; object-fit: contain; }
  .ssc-card { flex: 1; }
}

/* Photo cards with an icon (warranty). Below 768px they swipe. */
.photo-card { display: flex; flex-direction: column; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.photo-card-img { flex-shrink: 0; width: 100%; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
.photo-card-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 8px 20px 10px; }
.photo-card-body::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 5.73px; background: var(--primary); }
.photo-card-icon { width: 56px; height: 56px; flex-shrink: 0; object-fit: contain; }
.photo-card h3 { margin-top: 12px; font-size: 20.59px; line-height: 130%; font-weight: 600; color: #1e1e1e; }
.photo-card-desc { margin-top: 6px; font-size: 12.01px; line-height: 140%; font-weight: 300; color: #58595b; }
@media (min-width: 768px) {
  .photo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .photo-card { box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .photo-card-img { aspect-ratio: 368 / 239; }
  .photo-card-body::before { height: 5.4px; }
  .photo-card-icon { width: 48px; height: 48px; }
  .photo-card h3 { font-size: 19.39px; }
  .photo-card-desc { font-size: 11.31px; }
}
@media (min-width: 1024px) { .photo-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ========== Financing page ========== */
/* White cards with a red belt on their top right. */
.stepped-card, .split-card { position: relative; background: #fff; box-shadow: .42px 7.5px 11.74px rgba(38, 38, 38, .17); }
.stepped-card::before, .split-card::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 3px; background: var(--primary); }

/* Stepped icon cards: four cards that step down, then a short article. Below 768px they swipe. */
.stepped-card { display: flex; flex-direction: column; min-height: 240px; padding: 27px 24px 20px; }
.stepped-icon { position: absolute; top: 36px; right: 24px; width: 108px; height: 92px; object-fit: contain; object-position: right; pointer-events: none; }
.stepped-card h3 { position: relative; padding-inline-end: 120px; font-size: 24px; line-height: 130%; font-weight: 300; color: #1e1e1e; }
.stepped-desc { position: relative; margin-top: auto; padding-top: 24px; font-size: 16px; line-height: 140%; font-weight: 300; color: #000; }
#banks .swipe + .dots { margin-top: 24px; }
.stepped-article { margin-top: 28px; }
.stepped-article h3 { font-size: 24px; line-height: 130%; font-weight: 300; color: #1e1e1e; text-transform: uppercase; }
.stepped-article .paragraph { margin-top: 8px; color: #1e1e1e; }
@media (min-width: 768px) {
  .stepped { --card-h: 254px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; row-gap: 24px; }
  .stepped-card { min-height: var(--card-h); padding: 8.5px 30px 30px; box-shadow: .86px 15.56px 24.37px rgba(38, 38, 38, .17); }
  .stepped-card::before { height: 8.5px; }
  .stepped-icon { top: 36%; right: 30px; width: 112px; height: 96px; transform: translateY(-50%); }
  .stepped-card h3 { padding-inline-end: 50%; font-size: 25px; line-height: 140%; }
  .stepped-desc { padding-inline-end: 40px; font-size: 17px; }
  .stepped-card:nth-child(1) { z-index: 4; }
  .stepped-card:nth-child(2) { z-index: 3; }
  .stepped-card:nth-child(3) { z-index: 2; }
  .stepped-card:nth-child(4) { z-index: 1; }
  .stepped-article { margin-top: 8px; }
  .stepped-article h3 { font-size: 39px; }
  .stepped-article .paragraph { margin-top: 24px; }
}
@media (min-width: 1280px) {
  .stepped { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 0; }
  .stepped-card:nth-child(2) { min-height: calc(var(--card-h) * 1.1); }
  .stepped-card:nth-child(3) { min-height: calc(var(--card-h) * 1.21); }
  .stepped-card:nth-child(4) { min-height: calc(var(--card-h) * 1.331); }
  .stepped-card:not(:first-child) .stepped-icon { top: 42%; width: 128px; height: 108px; }
}

/* Split photo cards (insurance): a photo strip and the copy, side by side; hovering one turns its rule and tags red. */
.split-cards { display: grid; margin-top: 4px; }
.split-card { display: flex; min-height: 231px; padding-top: 6px; border: 1px solid #656565; }
.split-card + .split-card { border-top: 0; }
.split-card::before { top: -1px; right: -1px; width: 34.2%; height: 6px; }
.split-card--flip { flex-direction: row-reverse; }
.split-card--flip::before { right: auto; left: -1px; }
.split-card-img { position: relative; width: 30.5%; flex-shrink: 0; margin-top: -6px; }
.split-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-card-text { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 23px 14px 28px 12px; }
.split-card--flip .split-card-text { padding: 23px 12px 28px 14px; }
.split-tagline { display: flex; align-items: center; gap: 5px; font-size: 7px; line-height: 120%; letter-spacing: .5em; color: #5a0000; text-transform: uppercase; }
.split-tagline::before { content: ""; width: 26px; height: 1px; flex-shrink: 0; border-radius: 999px; background: #bf0000; }
.split-tagline span { margin-inline-start: 4px; }
.split-card h3 { margin-top: 17px; font-size: 14px; line-height: 140%; font-weight: 300; color: #000; text-transform: uppercase; }
.split-rule { width: 123px; height: 1px; margin-top: 13px; background: #cdcdcd; transition: width .3s cubic-bezier(.4, 0, .2, 1), background-color .3s cubic-bezier(.4, 0, .2, 1); }
.split-desc { margin-top: 16px; font-size: 10px; line-height: 140%; font-weight: 300; color: #333; }
.split-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: auto 0 0; padding-top: 16px; list-style: none; }
.split-tags li { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 21px; padding: 2px 6px; border: 1px solid #ccc; text-align: center; font-size: 9px; color: #333; transition: border-color .3s cubic-bezier(.4, 0, .2, 1); }
.split-tags li::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #bdbdbd; transition: background-color .3s cubic-bezier(.4, 0, .2, 1); }
.split-tags span { translate: 0 -2px; }
.is-highlighted .split-rule, .is-highlighted .split-tags li::before { background: var(--primary); }
.is-highlighted .split-tags li { border-color: var(--primary); }
@media (hover: hover) {
  .split-card:not(.is-highlighted):hover .split-rule { background: #bf0000; }
  .split-card:hover .split-tags li::before { background: var(--primary); }
  .split-card:hover .split-tags li { border-color: var(--primary); }
}
@media (min-width: 768px) {
  .split-cards { margin-top: 12px; }
  .split-card { min-height: 443px; padding-top: 12px; box-shadow: none; }
  .split-card::before { width: 36%; height: 12px; }
  .split-card-img { margin-top: -12px; }
  .split-card-text { padding: 55px 9.1% 47px 7.26%; }
  .split-card--flip .split-card-text { padding: 55px 7.26% 47px 9.1%; }
  .split-tagline { font-size: 13.5px; }
  .split-tagline::before { width: 48px; height: 2px; }
  .split-tagline span { translate: 0 -2px; }
  .split-card h3 { margin-top: 33px; font-size: 27.8px; }
  .split-rule { width: 91px; height: 2px; margin-top: 22px; }
  .is-highlighted .split-rule { width: 232px; }
  .split-desc { max-width: 560px; margin-top: 32px; font-size: 14px; }
  .split-tags { max-width: 372px; gap: 20px; }
  .split-tags li { gap: 14px; min-height: 36px; padding-inline: 8px; font-size: 13.5px; }
  .split-tags li::before { width: 10.29px; height: 10.29px; }
}
@media (min-width: 768px) and (hover: hover) { .split-card:hover .split-rule { width: 232px; } }
@media (min-width: 1400px) {
  .split-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-card:nth-child(-n+2) { border-top: 1px solid #656565; }
  .split-card:nth-child(even) { border-inline-start: 0; }
}

/* Quote banner: a photo with a big quote and a form card beside it (financing). */
.quote { display: flex; flex-direction: column; gap: 32px; }
.quote-photo { position: relative; aspect-ratio: 897 / 675; min-width: 0; }
.quote-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-text { position: relative; z-index: 1; isolation: isolate; display: flex; flex-direction: column; min-height: 100%; padding: 24px; color: #fff; }
.quote-text::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .24) 0%, rgba(0, 0, 0, .449) 29.55%, rgba(0, 0, 0, .528) 71.7%, rgba(0, 0, 0, .36) 100%); }
.quote-mark { position: absolute; bottom: 24px; left: 8px; z-index: -1; width: 90px; aspect-ratio: 202 / 190; object-fit: cover; opacity: .3; filter: brightness(.69); }
.quote-text .toyota-mark { width: auto; height: 24px; flex-shrink: 0; align-self: flex-start; }
.quote-text h3 { margin-top: 24px; font-size: 18px; line-height: 104%; letter-spacing: -.015em; text-transform: uppercase; }
.quote-desc { margin-top: 12px; font-size: 13px; line-height: 140%; font-weight: 300; letter-spacing: -.011em; text-shadow: 0 3.7px 3.7px rgba(0, 0, 0, .25); }
.quote-card { min-width: 0; padding: 36px 24px; border: 1px solid #f1f1f1; background: #fff; box-shadow: 0 10.43px 20.86px rgba(13, 16, 45, .1), 0 21.73px 43.46px -10.43px rgba(13, 16, 45, .1); }
.quote-card h3 { text-align: center; font-size: 24px; line-height: 104%; font-weight: 300; letter-spacing: -.015em; color: #172640; text-transform: uppercase; }
.quote-sub { margin-top: 16px; text-align: center; font-size: 16px; line-height: 104%; font-weight: 300; color: #172640; }
.quote-card .form-embed { margin-top: 24px; }
@media (min-width: 768px) {
  .quote-text { padding: 40px; }
  .quote-mark { bottom: 40px; width: 120px; }
  .quote-text .toyota-mark { height: 36px; }
  .quote-text h3 { margin-top: 40px; font-size: 30px; }
  .quote-desc { margin-top: 24px; font-size: 17px; }
}
@media (min-width: 1024px) {
  .quote { flex-direction: row; align-items: center; gap: 2%; }
  .quote-photo { flex-basis: 56%; min-height: 500px; }
  .quote-text { padding: 38px 38px 24px 44px; }
  .quote-mark { top: 206px; bottom: auto; left: -22px; width: 134px; }
  .quote-text .toyota-mark { height: 31px; margin-inline-start: 11px; }
  .quote-text h3 { max-width: 453px; margin-top: 42px; font-size: 25px; }
  .quote-desc { max-width: 363px; margin: 38px 0 0 113px; font-size: 14px; }
  .quote-card { flex-basis: 42%; padding: 31px 27px; }
  .quote-card h3 { font-size: 31.6px; }
  .quote-sub { font-size: 17px; }
}
@media (min-width: 1280px) {
  .quote { gap: 2.24%; }
  .quote-photo { flex-basis: 59%; }
  .quote-text { padding: 46px 47px 24px 58px; }
  .quote-mark { top: 269px; left: -24px; width: 176px; }
  .quote-text .toyota-mark { height: 41px; margin-inline-start: 15px; }
  .quote-text h3 { max-width: 592px; margin-top: 54px; font-size: 32px; }
  .quote-desc { max-width: 475px; margin: 50px 0 0 147px; font-size: 18px; }
  .quote-card { flex-basis: 38.75%; }
}
@media (min-width: 1536px) {
  .quote-text { padding: 57px 58px 24px 71px; }
  .quote-mark { top: 332px; left: -35px; width: 217px; }
  .quote-text .toyota-mark { height: 50px; margin-inline-start: 18px; }
  .quote-text h3 { max-width: 731px; margin-top: 67px; font-size: 40px; }
  .quote-desc { max-width: 586px; margin: 62px 0 0 182px; font-size: 22px; }
}

/* 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; } }

/* Cards */
.promo-cards { --above: 32px; }
.promo-cards > .carousel-track { gap: 20px; }
.promo-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); transition: scale .3s cubic-bezier(.4, 0, .2, 1); }
.promo-card-img { flex-shrink: 0; width: 100%; aspect-ratio: 358 / 197; overflow: hidden; }
.promo-card-img picture, .promo-card-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-ribbon { position: absolute; top: -4px; right: -4px; width: 36%; max-width: 144px; aspect-ratio: 1; pointer-events: none; }
.promo-ribbon img { width: 100%; height: 100%; object-fit: cover; }
.promo-ribbon span { position: absolute; top: 38%; left: 61%; width: 110%; overflow: hidden; padding-inline: 8px; translate: -50% -50%; rotate: 45deg; text-align: center; font-size: 10px; line-height: 16px; font-weight: 500; color: #fff; text-overflow: ellipsis; white-space: nowrap; }
.promo-card-bar { align-self: flex-end; width: 50%; height: 4px; margin-top: 2px; background: var(--primary); }
.promo-card-body { display: flex; flex-direction: column; align-items: flex-start; flex-grow: 1; gap: 12px; padding: 4px 24px 24px; }
.promo-status { font-size: 14px; line-height: 1; font-weight: 600; color: rgba(0, 0, 0, .7); }
.promo-status--active, .promo-status--upcoming { color: #008b1c; }
.promo-status--expired { color: #950001; }
.promo-card h3 { font-size: 28px; line-height: 1.25; }
.promo-summary { font-size: 14px; line-height: 1.25; font-weight: 300; color: rgba(0, 0, 0, .6); }
.promo-more { position: relative; display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-size: 12px; font-weight: 300; color: rgba(0, 0, 0, .6); transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.promo-more svg { width: 14px; height: 14px; stroke-width: 1.5; }
.promo-more::before { content: ""; position: absolute; inset: 6px -8px -10px; }
@media (hover: hover) { .promo-more:hover { color: var(--primary); } }
@media (min-width: 640px) { .promo-cards .promo-item { flex-basis: calc(50% - 10px); } }
@media (min-width: 768px) {
  .promo-cards { --above: 40px; }
  .promo-cards > .carousel-track { gap: 30px; }
  .promo-card { box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .promo-ribbon span { font-size: 11px; }
  .promo-card-bar { height: 8px; margin-top: 4px; }
  .promo-card-body { gap: 16px; padding: 8px 28px 32px; }
  .promo-status { font-size: 15px; }
  .promo-card h3 { font-size: 33px; }
  .promo-summary { font-size: 15px; }
  .promo-more { font-size: 13px; }
}
@media (min-width: 1024px) {
  .promo-cards .promo-item { flex-basis: calc(33.333% - 20px); }
  @media (hover: hover) { .promo-card:hover { scale: 1.02; } }
}
@media (min-width: 1280px) { .promo-cards .promo-item { flex-basis: calc(25% - 22.5px); } }
@media (prefers-reduced-motion: reduce) { .promo-card { 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; } }

/* Events: two rows of photos running past each other without end, at 50px a second (about.js fills them); the mouse stops both. */
.events-rows { position: relative; width: 100%; overflow: hidden; }
.events-row { display: flex; overflow-x: hidden; }
.events-row:not(.events-row--reverse) { margin-bottom: 16px; }
.events-strip { display: flex; flex: 0 0 auto; align-items: center; animation: events-run var(--events-time, 30s) linear infinite; }
.events-row--reverse .events-strip { animation-direction: reverse; }
.events-rows:hover .events-strip, .events-rows:focus-within .events-strip, .events-rows.is-paused .events-strip { animation-play-state: paused; }
@keyframes events-run { to { transform: translateX(-100%); } }
.event-card { position: relative; flex-shrink: 0; width: 300px; height: 200px; margin-inline: 8px; transform-origin: bottom; transition: scale .5s cubic-bezier(.4, 0, .2, 1); }
.events-row--reverse .event-card { transform-origin: top; }
.event-card img { width: 100%; height: 100%; object-fit: cover; }
.event-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.event-card figcaption { position: absolute; bottom: 12px; left: 12px; z-index: 1; color: #fff; }
.event-card strong, .event-card span { display: block; font-size: 15px; font-weight: 300; }
.event-card strong { font-weight: 700; }
@media (min-width: 768px) {
  .events-rows { margin-bottom: -20px; }
  .events-row { padding-top: 40px; }
  .events-row--reverse { padding: 0 0 40px; }
  .event-card strong { font-size: 18px; }
  .event-card span { font-size: 14px; }
}
@media (min-width: 768px) and (hover: hover) { .event-card:hover { scale: 1.05; } }
@media (prefers-reduced-motion: reduce) {
  .events-strip { animation: none; }
  .events-row { overflow-x: auto; }
  .events-row [aria-hidden] { display: none; }
  .event-card { 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; } }

/* Brochure download: a book beside a box that picks a model and a document. */
.brochure { display: flex; flex-direction: column; }
.brochure-img { flex-shrink: 0; align-self: center; width: 82%; aspect-ratio: 2230 / 2123; object-fit: contain; }
.brochure-box { position: relative; flex: 1; padding: 36px 28px 28px; background: #fff; box-shadow: .42px 7.5px 11.74px rgba(38, 38, 38, .17); }
.brochure-box::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 3px; background: var(--primary); }
.brochure-box h2 { font-size: 18px; line-height: 130%; font-weight: 300; letter-spacing: .02em; color: #1a1a1a; text-transform: uppercase; }
.brochure-rule { display: block; width: 110px; height: 2px; margin-top: 16px; border-radius: 999px; background: var(--primary); }
.brochure-desc { max-width: 470px; margin-top: 20px; font-size: 12px; line-height: 1.5; font-weight: 300; color: #333; }
.brochure-picker { margin-top: 20px; }
.brochure-field, .brochure-types label { height: 25px; border: 1px solid #d9d9d9; font-size: 10px; font-weight: 300; transition: color .3s cubic-bezier(.4, 0, .2, 1), background-color .3s cubic-bezier(.4, 0, .2, 1), border-color .3s cubic-bezier(.4, 0, .2, 1); }
.brochure-field { position: relative; display: flex; align-items: center; width: 100%; padding: 0 32px 0 12px; background: #fff; color: #8c8c8c; text-align: left; }
.brochure-field.is-picked { color: #1a1a1a; }
.brochure-field > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brochure-field:focus-visible, .brochure-native select:focus-visible + .brochure-field, .brochure-select.is-open .brochure-field { border-color: #000; }
.brochure-field:focus-visible { outline: 1px solid #000; outline-offset: 2px; }
.brochure-select.is-open .brochure-field { outline: none; }
.brochure-native select:focus-visible + .brochure-field { outline: 1px solid #000; outline-offset: 2px; }
.brochure-native svg, .brochure-field > svg { position: absolute; top: 50%; right: 10px; width: 14px; height: 14px; translate: 0 -50%; stroke-width: 1.5; color: #1a1a1a; pointer-events: none; transition: rotate .2s cubic-bezier(.4, 0, .2, 1); }
.brochure-select.is-open .brochure-field > svg { rotate: 180deg; }
/* A finger gets the phone's own picker, laid over the field at 16px so that iOS doesn't zoom in. */
.brochure-native { position: relative; display: none; }
.brochure-native select { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; appearance: none; font-size: 16px; opacity: 0; cursor: pointer; }
.brochure-select { position: relative; }
@media (pointer: coarse) { .brochure-native { display: block; } .brochure-select { display: none; } }
/* While the list is open a clear sheet takes the clicks meant for the rest of the page. */
.brochure-select.is-open { z-index: 50; }
.brochure-select.is-open::before { content: ""; position: fixed; inset: 0; z-index: 1; }
.brochure-list { position: absolute; z-index: 2; width: 100%; padding: 4px; overflow: hidden auto; border: 1px solid #d9d9d9; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .12); scrollbar-width: none; animation: brochure-list .15s ease; }
@keyframes brochure-list { from { opacity: 0; transform: translateY(-4px); } }
.brochure-option { position: relative; display: flex; align-items: center; padding: 8px 32px 8px 12px; font-size: 12px; font-weight: 300; color: #1a1a1a; user-select: none; cursor: pointer; }
.brochure-option.is-active { background: rgba(0, 0, 0, .05); }
.brochure-option[aria-selected="true"] { color: var(--primary); }
.brochure-option svg { position: absolute; right: 10px; width: 14px; height: 14px; }
.brochure-option[aria-selected="false"] svg { display: none; }
.brochure-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.brochure-types label { position: relative; display: flex; align-items: center; justify-content: center; gap: 5px; width: 100%; padding-inline: 4px; color: #8c8c8c; white-space: nowrap; cursor: pointer; }
.brochure-types i { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: #c4c4c4; transition: background-color .3s cubic-bezier(.4, 0, .2, 1); }
.brochure-types label:has(:focus-visible) { border-color: #000; }
.brochure-types label:has(:checked) { border-color: var(--primary); color: #1a1a1a; cursor: default; }
.brochure-types label:has(:checked) i { background: var(--primary); }
.brochure-types label:has(:focus-visible) { outline: 1px solid #000; outline-offset: 2px; }
.brochure-types label:has(:disabled) { cursor: not-allowed; opacity: .5; }
@media (hover: hover) {
  .brochure-field:hover, .brochure-native select:hover + .brochure-field, .brochure-types label:not(:has(:checked, :disabled)):hover { border-color: #000; }
}
/* Never disabled: pressed too early, it says what is missing. Until there is a file it is an outline. */
.brochure-picker .brochure-download { width: 100%; min-width: 0; min-height: 46px; margin-top: 16px; font-size: 13px; font-weight: 300; }
.brochure-picker .brochure-download[aria-disabled="true"] { pointer-events: auto; opacity: 1; }
.brochure-picker .brochure-download.is-empty { border-color: #000; color: #000; box-shadow: none; opacity: .5; cursor: not-allowed; }
.brochure-download.is-empty::before { opacity: 0; }
.brochure-download.is-empty .btn-glow { display: none; }
.brochure-idle, .brochure-busy { display: flex; align-items: center; justify-content: center; gap: 8px; font-variant-numeric: tabular-nums; }
.brochure-idle svg { flex-shrink: 0; width: 16px; height: 16px; }
.brochure-progress { position: absolute; inset: 0 auto 0 0; z-index: -1; width: 0; background: rgba(0, 0, 0, .2); transition: width .2s cubic-bezier(.4, 0, .2, 1); }
.brochure-hint { margin-top: 8px; font-size: 11px; font-weight: 300; color: var(--primary); }
.brochure-social { display: flex; gap: 9px; margin: 24px 0 0; list-style: none; }
.brochure-social a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #d9d9d9; }
.brochure-social svg { width: 24px; height: 24px; fill: #000; }
@media (hover: hover) {
  .brochure-social a:hover { border-color: #000; }
  .brochure-social .is-linkedin:hover svg { fill: #0a66c2; }
  .brochure-social .is-telegram:hover svg { fill: #2aabee; }
  .brochure-social .is-instagram:hover svg { fill: url("#instagram-brand"); }
  .brochure-social .is-whatsapp:hover svg { fill: #25d366; }
}
@media (min-width: 768px) {
  .brochure { flex-direction: row; align-items: center; }
  .brochure-img { align-self: auto; width: 55%; }
  .brochure-box { padding: 44px 40px 40px; box-shadow: .86px 15.56px 24.37px rgba(38, 38, 38, .17); }
  .brochure-box::before { height: 8.5px; }
  .brochure-box h2 { font-size: 21px; line-height: 1.5; }
  .brochure-rule { width: 160px; margin-top: 20px; }
  .brochure-desc { font-size: 13px; }
  .brochure-picker { margin-top: 28px; }
  .brochure-field, .brochure-types label { height: 29px; font-size: 11px; }
  .brochure-types { gap: 8px; margin-top: 8px; }
  .brochure-types label { gap: 6px; }
  .brochure-types i { width: 8px; height: 8px; }
  .brochure-picker .brochure-download { min-height: 42px; margin-top: 24px; font-size: 14px; }
  .brochure-picker .brochure-download.is-empty { border-color: var(--primary); }
  .brochure-hint { font-size: 12px; }
  .brochure-social { gap: 8px; margin-top: 40px; }
}
@media (min-width: 1024px) {
  .brochure-box { padding: 46px 52px 44px; }
  .brochure-box h2 { font-size: 25px; }
  .brochure-rule { width: 200px; margin-top: 26px; }
  .brochure-desc { margin-top: 24px; font-size: 14px; }
  .brochure-picker { margin-top: 36px; }
  .brochure-field, .brochure-types label { height: 34px; font-size: 13px; }
  .brochure-native svg, .brochure-field > svg { width: 16px; height: 16px; }
  .brochure-option { font-size: 13px; }
  .brochure-types { gap: 12px; margin-top: 12px; }
  .brochure-types label { gap: 8px; }
  .brochure-types i { width: 10px; height: 10px; }
  .brochure-picker .brochure-download { min-height: 46px; margin-top: 32px; font-size: 15px; }
  .brochure-social { gap: 10px; margin-top: 60px; }
  .brochure-social a { width: 48px; height: 48px; }
  .brochure-social svg { width: 26px; height: 26px; }
}
@media (min-width: 1280px) {
  .brochure-box { padding: 70px 84px 64px; }
  .brochure-box h2 { font-size: 31px; }
  .brochure-rule { width: 258px; height: 3px; margin-top: 33px; }
  .brochure-desc { margin-top: 30px; font-size: 16px; line-height: 145%; }
  .brochure-picker { max-width: 542px; margin-top: 50px; }
  .brochure-field, .brochure-types label { height: 40px; font-size: 15px; }
  .brochure-field { padding: 0 40px 0 16px; }
  .brochure-native svg, .brochure-field > svg { right: 14px; width: 18px; height: 18px; }
  .brochure-option { padding-inline-start: 16px; font-size: 15px; }
  .brochure-types { gap: 16px; margin-top: 16px; }
  .brochure-types label { gap: 9px; }
  .brochure-types i { width: 11.47px; height: 11.47px; }
  .brochure-picker .brochure-download { min-height: 49px; margin-top: 44px; font-size: 16px; }
  .brochure-idle svg { width: 18px; height: 18px; }
  .brochure-hint { margin-top: 12px; font-size: 13px; }
  .brochure-social { gap: 12px; margin-top: 98px; }
  .brochure-social a { width: 54px; height: 54px; }
  .brochure-social svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .brochure-list { animation: none; } .brochure-field > svg { transition: none; } }

/* Support form: the feedback banner (promotions.css) 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; } }
.soon { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; height: 100vh; padding-inline: 24px; }
.soon h1 { text-align: center; font-size: 26px; font-weight: 300; color: #1e1e1e; text-transform: uppercase; }
.soon-img { width: 100%; max-width: 674px; aspect-ratio: 674 / 432; object-fit: cover; }
@media (min-width: 768px) { .soon h1 { font-size: 35px; } }
@media (min-width: 1280px) { .soon h1 { font-size: 56px; } }
@media (min-width: 1568px) { .soon { padding-inline: 0; } }

/* ========== Dealer pages ========== */
/* Dealer pages. */
.banner-shade--dealer { background: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent) top / 100% 90% no-repeat; }
@media (min-width: 640px) { .banner-shade--dealer { background: linear-gradient(to right, rgba(0, 0, 0, .3) 20%, transparent) left / 70% 100% no-repeat, linear-gradient(to bottom, rgba(0, 0, 0, .6) 25%, rgba(0, 0, 0, .3) 55%, transparent); } }
.dealer-hero-desktop { margin-top: 110px; }
.dealer-desc { max-width: 320px; transform: translateY(-10px); font-size: 14px; font-weight: 300; color: #fff; }
.dealer-hero h1 { margin-top: 24px; font-size: 40px; line-height: 105%; font-weight: 300; color: #fff; text-transform: uppercase; }
.dealer-hero .banner-ctas { margin-top: 32px; }
@media (min-width: 1024px) {
  .dealer-hero-desktop { margin-top: 140px; }
  .dealer-desc { max-width: 380px; transform: translateY(-14px); font-size: 16px; }
  .dealer-hero h1 { margin-top: 32px; font-size: 58px; }
  .dealer-hero .banner-ctas { margin-top: 40px; }
}
@media (min-width: 1280px) { .dealer-hero-desktop { margin-top: 222px; } .dealer-desc { max-width: 420px; font-size: 18px; } }
@media (min-width: 1536px) { .dealer-hero h1 { font-size: 80px; } }

/* 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; }

/* The paragraph under a centred heading. */
.dealer-lead { margin: 20px auto 0; color: #1e1e1e; }
.dealer-lead > * { text-align: center; }
@media (min-width: 640px) { .dealer-lead { width: 70%; } }
@media (min-width: 768px) { .dealer-lead { width: 50%; margin-top: 30px; } }

/* Lineup strip (component): model cards that drift by on wide screens, and swipe one at a time on phones. */
.strip { width: 100%; margin-top: 34px; overflow-x: clip; user-select: none; }
.strip .carousel { overflow: visible; }
.strip .carousel-track { align-items: stretch; }
.strip-slide { padding-inline: 20px; }
.spec-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); transition: scale .3s cubic-bezier(.4, 0, .2, 1); }
.spec-card > img { flex-shrink: 0; aspect-ratio: 20 / 9; width: 100%; min-height: 0; object-fit: cover; }
.spec-card-bar { align-self: flex-end; width: 50%; height: 8px; margin-top: 7px; background: var(--primary); }
.spec-card-body { display: flex; flex: 1; flex-direction: column; padding: 16px 20px 24px; }
.spec-card h3 { font-size: 24px; line-height: 1.25; font-weight: 300; color: #1e1e1e; }
.spec-card dl { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.spec-card dl div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.spec-card dt { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 300; color: #767676; }
.spec-card dt img { flex-shrink: 0; width: 21px; height: 21px; object-fit: cover; }
.spec-card dd { font-size: 14px; color: #1e1e1e; }
.spec-card-foot { display: flex; justify-content: center; margin-top: auto; padding-top: 32px; }
.spec-card .btn { width: 228px; min-width: 0; max-width: 100%; border-color: transparent; font-size: 15px; font-weight: 300; color: #fff; }
.spec-card .btn::before { opacity: 1; }
.strip-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.strip-nav > button { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 35px; height: 35px; transition: all .3s cubic-bezier(.4, 0, .2, 1); }
.strip-nav .dots { gap: 16px; }
.strip-prev { border: 1px solid #000; color: #000; }
.strip-next { background: var(--primary); color: #fef2f2; }
.strip-next:hover { background: rgba(193, 15, 16, .9); }
@media (min-width: 768px) {
  .strip { margin-top: 28px; }
  .strip .carousel-track > .strip-slide { flex-basis: auto; width: 404px; padding-inline: 22px; }
  .spec-card:hover { z-index: 10; scale: 1.08; }
  .spec-card > img { aspect-ratio: 716 / 395; }
  .spec-card-body { padding: 16px 32px 32px; }
  .spec-card h3 { font-size: 26px; }
  .spec-card dl { gap: 12px; margin-top: 20px; }
  .spec-card dt, .spec-card dd { font-size: 15.35px; }
  .spec-card .btn { font-size: 16px; }
  .spec-card:not(:hover) .btn:not(:hover, :active) { border-color: var(--primary); color: #000; }
  .spec-card:not(:hover) .btn:not(:hover, :active)::before { opacity: 0; }
  .strip-nav { display: none; }
}

/* 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)); } }

/* Other dealers. */
.dealer-cards { margin-top: 32px; }
.dealer-card { display: flex; flex-direction: column; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.dealer-card > img { flex-shrink: 0; aspect-ratio: 366 / 122; width: 100%; min-height: 0; object-fit: cover; }
.dealer-card-bar { align-self: flex-end; width: 50%; height: 5px; background: var(--primary); }
.dealer-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 32px 28px; }
.dealer-card h3 { font-size: 20px; line-height: 130%; color: #1e1e1e; }
.dealer-card address { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 12px; font-style: normal; font-weight: 300; color: #8c8c8c; }
.dealer-card address svg { flex-shrink: 0; width: 13px; height: 13px; margin-top: 1px; stroke-width: 1.5; }
.dealer-card-foot { display: flex; justify-content: center; margin-top: auto; padding-top: 24px; }
.dealer-card .btn { font-size: 15px; }
.dealer-card .btn:not(:hover, :active) { border-color: var(--primary); }
@media (min-width: 768px) {
  .dealer-cards { margin-top: 40px; }
  .dealer-cards > .carousel-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
  .dealer-card { box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .dealer-card-bar { height: 7px; }
  .dealer-card-body { padding: 28px 40px 32px; }
  .dealer-card h3 { font-size: 26px; }
  .dealer-card address { margin-top: 12px; font-size: 13px; }
  .dealer-card address svg { width: 14px; height: 14px; }
  .dealer-card-foot { padding-top: 28px; }
  .dealer-card .btn { font-size: 16px; }
}
@media (min-width: 1280px) { .dealer-cards > .carousel-track { 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; } }

/* Side image cards (warranty). */
.side-cards { display: grid; gap: 10px; }
.side-card { display: flex; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.side-card-img { position: relative; flex-shrink: 0; width: 33%; min-height: 82px; }
.side-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.side-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 12px 20px; }
.side-card h3 { font-size: 17px; line-height: 120%; color: #000; text-transform: uppercase; }
.side-card p { margin-top: 8px; font-size: 11px; line-height: 140%; font-weight: 300; color: #000; }
.side-card a { width: fit-content; margin-top: auto; padding-top: 12px; }
.side-card a span { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 300; color: #979797; transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.side-card a span:hover { color: var(--primary); }
.side-card svg { width: 14px; height: 14px; stroke-width: 1.5; }
.side-card::after { content: ""; flex-shrink: 0; width: 6.5px; background: var(--primary); }
.side-card--blue::after { background: #0b4ea2; }
@media (min-width: 768px) {
  .side-cards { grid-auto-flow: column; grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .side-card { box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .side-card-img { width: 160px; min-height: 187px; }
  .side-card-body { padding: 36px 20px 24px; }
  .side-card h3 { font-size: 23px; }
  .side-card p { margin-top: 10px; font-size: 15px; }
  .side-card a span { font-size: 13px; }
  .side-card::after { width: 8px; }
}
@media (min-width: 1024px) { .side-card-img { width: 264px; } .side-card-body { padding-inline: 32px; } }

/* Explorer (component): a trim's photos and specifications, and its card; then the showcase cards. Phones read
   it as one column (photos, card, specifications, showcase); from 1024px it is two rows, and all four showcase cards are one height. */
.xp { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.xp-left, .xp-right { display: contents; }
.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, .xp-dots a { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #d9d9d9; transition: background .15s cubic-bezier(.4, 0, .2, 1); }
.xp-turns button::before, .xp-dots a::before { content: ""; position: absolute; inset: -8px -4px; }
.xp-turns [aria-current="true"], .xp-dots [aria-current="true"] { background: var(--primary); }
.xp-slot { position: relative; order: 3; }
.xp-specs { padding: 16px; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); overflow-anchor: none; }
.xp-thumbs { display: flex; overflow: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.xp-thumbs::-webkit-scrollbar { display: none; }
.xp-thumbs a { position: relative; flex-shrink: 0; aspect-ratio: 156 / 80; width: 42%; overflow: hidden; scroll-snap-align: start; }
.xp-thumbs a:focus-visible { outline-offset: -2px; }
.xp-thumbs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .4; transition: opacity .3s cubic-bezier(.4, 0, .2, 1); }
.xp-thumbs [aria-current="true"] img { opacity: 1; }
.xp-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.xp-dots a { width: 10px; height: 10px; }
.xp-specs h3 { margin-top: 24px; font-size: 20px; font-weight: 300; }
.xp-list { display: grid; column-gap: 32px; }
.xp-head { margin-top: 12px; }
.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; }
.xp-extra { height: 0; overflow: hidden; transition: height .5s cubic-bezier(0, 0, .2, 1); }
.xp-foot { padding-top: 20px; }
.xp-foot.is-empty { padding-top: 0; }
.xp-foot.is-empty button { display: none; }
.xp-foot button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding-block: 14px; border: 1px solid #d6d6d6; font-size: 15px; font-weight: 300; scroll-margin-bottom: 24px; transition: border-color .15s cubic-bezier(.4, 0, .2, 1); }
.xp-foot button:hover { border-color: #1e1e1e; }
.xp-foot svg { stroke-width: 1.5; transition: transform .15s cubic-bezier(.4, 0, .2, 1); }
.xp-foot [aria-expanded="true"] svg { transform: rotate(180deg); }
.xp-trim { display: flex; order: 2; flex-direction: column; }
.xp-trim::before { content: ""; width: 50%; height: 5px; margin-inline-start: auto; background: var(--primary); }
.xp-card { display: flex; flex: 1; flex-direction: column; padding: 20px; background: #fff; box-shadow: .78px 13.99px 21.91px 0 rgba(56, 56, 56, .17); }
.xp-card h3 { font-size: 19px; line-height: 120%; font-weight: 700; text-transform: uppercase; }
.xp-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.xp-chips a { padding: 6px 8px; font-size: 11px; font-weight: 300; color: #9c9c9c; text-transform: uppercase; transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1); }
.xp-chips a:hover { color: #1e1e1e; }
.xp-chips [aria-current="true"], .xp-chips [aria-current="true"]:hover { background: var(--primary); font-weight: 600; color: #fff; }
/* Every trim's copy and price share one place, so the slot keeps the longest one's size and nothing moves on a switch. */
.xp-copy { display: grid; margin-top: 24px; }
.xp-prices { display: grid; margin-top: 32px; }
.xp-copy > div, .xp-prices > p { grid-area: 1 / 1; opacity: 0; pointer-events: none; }
.xp-copy > .is-on, .xp-prices > .is-on { opacity: 1; pointer-events: auto; }
.xp-copy h4 { font-size: 17px; }
.xp-desc { margin-top: 12px; text-align: justify; font-size: 14px; line-height: 175%; font-weight: 300; color: #5c5c5c; }
.xp-prices p { display: flex; align-items: baseline; gap: 4px; }
.xp-prices span:first-child { font-size: 14px; font-weight: 300; color: #4a4a4a; }
.xp-prices span:last-child { font-size: 30px; line-height: 110%; font-weight: 300; color: #1e1e1e; }
.xp-actions { display: flex; align-items: stretch; gap: 10px; margin-top: 20px; }
.xp-actions .btn { flex: 1; min-width: 0; min-height: 46px; font-size: 15px; }
.xp-pdf { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid #b5b5b5; color: #1e1e1e; transition: border-color .15s cubic-bezier(.4, 0, .2, 1); }
.xp-pdf:hover { border-color: #1e1e1e; }
.xp-pdf svg { width: 22px; height: 22px; }
.xp-wordmark { width: 70%; height: 30px; margin-top: 28px; object-fit: contain; object-position: left; }
.xp-wordmark-text { margin-top: 28px; font-size: 20px; line-height: 1; font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
@media (min-width: 1024px) {
  .xp { display: grid; grid-template-columns: 888fr 606fr; gap: 14px 25px; margin-top: 40px; }
  .xp-left, .xp-right { display: flex; flex-direction: column; gap: 10px; }
  .xp-right { gap: 14px; }
  .xp-stage, .xp-slot, .xp-trim { 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-slot { flex: 1; }
  .xp-specs { display: flex; flex-direction: column; min-height: 100%; padding: 20px; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  /* Opened, the specifications lie over what follows; the slot keeps the size they had. */
  .xp-slot.is-floating .xp-specs { position: absolute; inset: 0 0 auto; z-index: 30; }
  .xp-slot.is-floating::after { content: ""; display: block; height: var(--reserved); }
  .xp-thumbs { justify-content: center; gap: 7px; }
  .xp-thumbs a { flex: 1; width: auto; max-width: calc((100% - 28px) / 5); }
  .xp-dots { display: none; }
  .xp-specs h3 { margin-top: 28px; font-size: 26px; }
  .xp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xp-head { margin-top: 16px; }
  .xp-list div { padding-block: 10px; }
  .xp-list dt, .xp-list dd { font-size: 15px; }
  .xp-foot { margin-top: auto; }
  .xp-foot button { font-size: 17px; }
  .xp-trim--fill { flex: 1; }
  .xp-trim::before { height: 9px; }
  .xp-card { min-height: 640px; padding: 38px; box-shadow: .86px 15.56px 24.37px 0 rgba(56, 56, 56, .17); }
  .xp--single .xp-card { min-height: 560px; }
  .xp-card h3 { font-size: 30px; }
  .xp-chips { column-gap: 16px; margin-top: 24px; }
  .xp-chips a { padding: 8px 14px; font-size: 16px; }
  .xp-copy { margin-top: 32px; }
  .xp-copy h4 { font-size: 22px; }
  .xp-desc { margin-top: 16px; font-size: 16px; }
  .xp-prices { margin-top: auto; padding-top: 40px; }
  .xp-prices span:first-child { font-size: 17px; }
  .xp-prices span:last-child { font-size: 42px; }
  .xp-actions { margin-top: 24px; }
  .xp-actions .btn { min-height: 52px; font-size: 16px; }
  .xp-pdf { width: 52px; height: 52px; }
  .xp-pdf svg { width: 26px; height: 26px; }
  .xp-wordmark { height: 40px; margin-top: 36px; }
  .xp-wordmark-text { margin-top: 36px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { .xp-extra { transition-duration: .01ms; } }

/* Showcase cards: a photo with its caption; each opens its photos in the gallery. */
.showcase { position: relative; aspect-ratio: 583 / 265; overflow: hidden; }
.showcase--lead { order: 4; }
.showcase-pair { display: grid; order: 5; gap: 14px; }
.showcase--last { order: 6; }
.showcase > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s cubic-bezier(.4, 0, .2, 1); }
.showcase:hover > img { scale: 1.03; }
.showcase::after { content: ""; position: absolute; inset: auto 0 0; height: 65%; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .4), transparent); }
.showcase-text { position: absolute; inset: auto 0 0; z-index: 1; display: flex; align-items: flex-end; gap: 16px; padding: 16px; color: #fff; }
.showcase-text > div { flex: 1; min-width: 0; }
.showcase-text h3 { font-size: 18px; line-height: 1.25; font-weight: 700; }
.showcase-text p { margin-top: 4px; font-size: 14px; line-height: 135%; font-weight: 300; color: rgba(255, 255, 255, .9); }
.showcase-text svg { flex-shrink: 0; width: 20px; height: 20px; margin-bottom: 2px; stroke-width: 1.5; }
.showcase-open { position: absolute; inset: 0; z-index: 10; }
.showcase-open:focus-visible { outline-color: #fff; outline-offset: -4px; }
@media (min-width: 768px) { .showcase-text h3 { font-size: 24px; } .showcase-text p { font-size: 18px; } }
@media (min-width: 1024px) {
  .showcase, .showcase-pair { order: 0; }
  .showcase--lead, .showcase--last { aspect-ratio: 606 / 285; }
  .showcase-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase--pair { aspect-ratio: 437 / 285; }
  .showcase--pair, .showcase--last { align-self: stretch; }
  .showcase-text { padding: 24px; }
  .showcase-text h3 { font-size: 22px; }
  .showcase-text p { font-size: 16px; }
  .showcase-text svg { width: 24px; height: 24px; }
}

/* Gallery (component): a showcase card's photos in a dialog, moved on by the red bar under them. */
.gallery { display: flex; flex-direction: column; gap: 16px; width: 90vw; max-width: 91.6667%; max-height: 91.6667%; padding: 16px; }
.gallery .carousel { flex-shrink: 0; aspect-ratio: 16 / 9; width: 100%; }
.gallery .carousel-track, .gallery .carousel-track > * { height: 100%; }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.gallery-row { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 32px; }
.gallery-bar { display: flex; justify-content: center; gap: 4px; width: 100%; max-width: 70%; height: 2px; }
.gallery-bar button { position: relative; flex: 1; height: 100%; border-radius: 999px; background: rgba(123, 123, 123, .7); }
.gallery-bar button::before { content: ""; position: absolute; inset: -11px 0; }
.gallery-bar button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; opacity: 0; transition: opacity .5s linear; }
.gallery-bar button:focus-visible { outline-color: #fff; outline-offset: 6px; }
.gallery-bar span { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--primary); }
.gallery-bar .is-past span, .gallery-bar .is-active span { width: 100%; }
.gallery-bar .is-active span { transition: width var(--story) linear; }
.gallery-bar .is-past::after { opacity: 1; }
.gallery-close { position: absolute; top: 50%; right: 0; width: 24px; height: 24px; border: 2px solid #fff; border-radius: 50%; color: #fff; transform: translateY(-50%); box-shadow: 0 1px 3px rgba(0, 0, 0, .3), 0 1px 2px -1px rgba(0, 0, 0, .3); transition: all .15s cubic-bezier(.4, 0, .2, 1); }
.gallery-close:hover { background: #fff; color: #18181b; }
.gallery-close svg { width: 100%; height: 100%; }
@media (min-width: 640px) { .gallery { width: 650px; } }
@media (min-width: 768px) {
  .gallery { padding: 24px; }
  .gallery-bar { gap: 8px; max-width: 500px; }
  .gallery-close { width: 32px; height: 32px; }
}
@media (min-width: 1024px) { .gallery { width: 75vw; } }
@media (min-width: 1536px) { .gallery { width: 50vw; } }

/* 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; }
}

/* Design highlights: a lead photo, four cards that dim each other, the copy and the interior slides. */
.design-bar { display: block; width: 50%; height: 4px; margin-inline-start: auto; background: var(--primary); }
.design-lead-img, .design-card-img { position: relative; overflow: hidden; }
.design-lead-img img { aspect-ratio: 9 / 4; width: 100%; object-fit: cover; }
.design-lead-img::after, .design-card-img::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15), transparent); pointer-events: none; }
.design-lead-img h3 { position: absolute; bottom: 12px; left: 16px; z-index: 1; font-size: 20px; line-height: 120%; font-weight: 300; color: #fff; }
.design-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.design-lead + .design-cards { margin-top: 10px; }
.design-card .design-bar { opacity: 0; transition: opacity .3s cubic-bezier(.4, 0, .2, 1); }
.design-card:hover .design-bar { opacity: 1; }
.design-card-img img { aspect-ratio: 5 / 3; width: 100%; object-fit: cover; }
.design-card-img::after { background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .3), transparent); }
.design-card-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .3s cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
.design-cards:has(.design-card:hover) .design-card:not(:hover) .design-card-img::before { opacity: 1; }
.design-card h3 { position: absolute; inset: auto 0 12px; z-index: 2; padding-inline: 8px; text-align: center; font-size: 14.98px; line-height: 121%; font-weight: 300; color: #fff; }
.design-lead ~ .design-desc, .design-cards ~ .design-desc { margin-top: 32px; }
.design-lead ~ .design-viewer, .design-cards ~ .design-viewer, .design-desc ~ .design-viewer { margin-top: 56px; }
.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-head img { flex-shrink: 0; aspect-ratio: 416 / 366; width: 49px; object-fit: cover; }
.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-lead-img img { aspect-ratio: 38 / 11; }
  .design-lead-img h3 { bottom: 46px; left: 75px; font-size: 39.79px; }
  .design-lead + .design-cards { margin-top: 44px; }
  .design-card-img img { aspect-ratio: 1440 / 1107; }
  .design-card h3 { bottom: 37px; padding-inline: 16px; font-size: 28.56px; }
  .design-lead ~ .design-desc, .design-cards ~ .design-desc { margin-top: 56px; }
  .design-lead ~ .design-viewer, .design-cards ~ .design-viewer, .design-desc ~ .design-viewer { margin-top: 80px; }
  .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-head img { width: 101px; }
  .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-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .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; } }

/* Why this model. */
.why-copy { display: flex; flex-direction: column; }
.why-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 0; list-style: none; }
.why-tiles li { display: flex; }
.why-tile { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 7px 8px 12px; background: #fff; box-shadow: .42px 7.5px 11.74px rgba(38, 38, 38, .17); }
.why-tile::before { content: ""; position: absolute; top: 0; right: 0; width: 50%; height: 3px; background: var(--primary); }
.why-tile img { aspect-ratio: 1; width: 24px; object-fit: cover; }
.why-tile h3 { margin-top: 8px; text-align: center; font-size: 10px; line-height: 130%; }
.why-lead { margin-top: 24px; font-size: 18px; line-height: 130%; font-weight: 600; color: #1e1e1e; }
.why-text { margin-top: 12px; font-size: 8.55px; line-height: 165%; font-weight: 300; color: #adadad; }
.why-video { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.why-copy > :first-child, .why-video-text > :first-child { margin-top: 0; }
.why-poster { position: relative; display: block; flex-shrink: 0; aspect-ratio: 245 / 130; width: 35%; }
.why-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-play { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: #fff; color: #b5b5b5; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); transition: scale .3s cubic-bezier(.4, 0, .2, 1); }
.why-video:hover .why-play { scale: 1.1; }
.why-play svg { width: 12px; height: 12px; margin-inline-start: 1px; fill: currentColor; }
.why-video-text { display: block; min-width: 0; }
.why-video-text > span { display: block; margin-top: 6px; font-size: 8.55px; line-height: 165%; font-weight: 300; color: #adadad; }
.why-video-text > .why-video-title { font-size: 15.51px; line-height: 120%; font-weight: 600; color: #1e1e1e; }
.why-image { align-self: center; aspect-ratio: 1800 / 1349; width: 100%; margin-top: 32px; object-fit: contain; }
@media (min-width: 768px) {
  .why-tile { padding-top: 12.5px; box-shadow: .86px 15.56px 24.37px rgba(38, 38, 38, .17); }
  .why-tile::before { height: 8.5px; }
}
@media (min-width: 1024px) {
  .why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .why-tiles { gap: 30px; }
  .why-tile { padding: 14.5px 16px 24px; }
  .why-tile img { width: 62px; }
  .why-tile h3 { margin-top: 36px; font-size: 18.79px; }
  .why-lead { max-width: 460px; margin-top: 40px; font-size: 30.21px; }
  .why-text { max-width: 640px; margin-top: 24px; font-size: 16.66px; }
  .why-video { gap: 34px; margin-top: 32px; }
  .why-poster { width: 323px; }
  .why-play { width: 59px; height: 59px; margin: -29.5px 0 0 -29.5px; }
  .why-play svg { width: 24px; height: 24px; margin-inline-start: 2px; }
  .why-video-text > span { margin-top: 12px; font-size: 16.66px; }
  .why-video-text > .why-video-title { font-size: 30.21px; }
  .why-image { margin-top: 0; }
}
