/* Olict Design (front/design.js, front/design3d.js). One page exactly a screen tall at every width, with nothing scrolling inside it, painted the car's own
   colour. Top left the words, top right the maker's logo, the car in the middle before its name, and along the foot what it is, the cars, the paints and
   the notice of whose trademarks they are. Every block with data-ink takes its ink (--ink, --logo) as the line passes it. */
.sec-design { background: #F8B400; color: #0B0B0C; }
html.js .sec-design { height: 100vh; min-height: 480px; padding: 0; overflow: hidden; }
html.js .sec-design > .sec-in { width: 100%; height: 100%; margin: 0; }
/* (until design.js has drawn the page, or where it fails, and without JavaScript, the section is its words and the notice) */
html.js .sec-design > .sec-in > p, html.js .sec-design > .sec-in > ul { margin: 0 0 12px; padding: 0 20px; list-style: none; }
html.js .sec-design > .sec-in > p:first-child { padding-top: var(--clear); }
.ds { --side: 72px; position: relative; width: 100%; height: 100%; overflow: hidden; font: 400 15px/1.45 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.ds [data-ink] { color: var(--ink); transition: color .16s; }
.ds-next { position: absolute; inset: 0; will-change: clip-path; }
.ds-next[hidden] { display: none; }
.ds-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none; opacity: 0; transition: opacity .5s;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ds.ready .ds-gl { opacity: 1; }
.ds-gl[hidden] { display: none; }
.ds-gl.held { cursor: grabbing; }
.ds-gl:focus-visible { outline: 2px solid var(--ink); outline-offset: -10px; border-radius: 22px; }
/* (the picture of the first car, where there is no WebGL) */
.ds-still { position: absolute; left: 50%; top: 50%; width: min(62%, 900px); height: auto; transform: translate(-50%, -42%); }
.ds.flat .ds-cars, .ds.flat .ds-paint { display: none; }

.ds-top { position: absolute; z-index: 2; left: 0; right: 0; top: 104px; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; padding: 0 var(--side); pointer-events: none; }
.ds-say { min-width: 0; }
.ds-h { margin: 0; font: 500 46px/1.06 "CooperMed", Georgia, serif; letter-spacing: -.015em; white-space: nowrap; }
.ds-sub { margin: 10px 0 0; font-size: 17px; text-wrap: balance; }
/* the maker's logo: its own drawing, whole, in black or in white only. It does not come in with the words, the line does not cut it, and the stage keeps clear of it */
.ds .ds-maker { flex: none; color: var(--logo, #000); }
.ds-maker svg { display: block; width: auto; height: 92px; }

.ds-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 20px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px 32px; padding: 0 var(--side); pointer-events: none; }
.ds-foot > * { pointer-events: auto; }
.ds-what { min-width: 0; }
.ds-what b { display: block; font-weight: 600; font-size: 21px; line-height: 1.2; letter-spacing: -.015em; }
.ds-what span { display: block; margin-top: 3px; font-size: 14px; }
.ds-what a { display: inline-block; margin-top: 3px; font-size: 12px; line-height: 1.5; color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.ds-cars { grid-column: 2; display: flex; gap: 6px; }
.ds button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ds-cars button { padding: 10px 10px 8px; border-radius: 14px; font-size: 12px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.ds-cars svg { display: block; width: 112px; height: auto; aspect-ratio: 480 / 132; fill: currentColor; opacity: .46; transition: opacity .25s; }
.ds-cars span { display: block; margin-top: 8px; text-align: center; }
.ds-cars button:hover svg { opacity: .72; }
.ds-cars button[aria-pressed="true"] svg { opacity: 1; }
.ds-cars button[aria-pressed="true"] span { font-weight: 600; }
.ds-paint { grid-column: 3; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 14px; font-weight: 500; }
.ds-paints { display: flex; gap: 2px; margin-right: -9px; }
.ds-paints button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.ds-paints button::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px var(--ink); transition: transform .4s var(--enter), box-shadow .16s; }
.ds-paints button:hover::before { transform: scale(1.14); }
.ds-paints button[aria-pressed="true"]::before { box-shadow: 0 0 0 1.5px var(--ink), inset 0 0 0 3.5px var(--c), inset 0 0 0 20px var(--ink); }
.ds-tm { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.4; text-wrap: pretty; }
.ds button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.ds a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

@media (max-width: 1180px) {
  .ds { --side: 32px; }
  .ds-foot { gap: 14px 18px; }
  .ds-cars svg { width: 84px; }
  .ds-paints button { width: 36px; }
}
@media (min-width: 821px) and (max-height: 720px) {
  .ds-top { top: 88px; } .ds-h { font-size: 36px; } .ds-maker svg { height: 78px; } .ds-foot { bottom: 14px; }
}
/* a phone: one locked page in #sc, under the soft head bar. The words on one line, the logo below them at the right, the foot's four rows one under another */
@media (max-width: 820px) {
  html.js #sc > .sec-design { min-height: 0; overflow: hidden; }
  html.js #sc > .sec-design > .sec-in { margin: 0; }
  .ds { --side: 18px; }
  .ds-top { display: block; top: calc(78px + env(safe-area-inset-top, 0px)); }
  .ds-h { font-size: 29px; font-size: clamp(22px, 7.1vw, 29px); }
  .ds-sub { margin-top: 5px; padding-right: 70px; font-size: 15px; }
  .ds .ds-maker { position: absolute; right: var(--side); top: 44px; }
  .ds-maker svg { height: 62px; }
  .ds-foot { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ds-what b { font-size: 19px; } .ds-what span { font-size: 13px; }
  .ds-paint { grid-column: 1; justify-self: stretch; order: 2; flex-direction: row-reverse; align-items: center; justify-content: space-between; }
  .ds-paints { margin: 0 0 0 -9px; } .ds-paints button { width: 44px; }
  .ds-cars { grid-column: 1; order: 3; justify-content: space-between; margin: 0 -8px; gap: 0; }
  .ds-cars button { flex: 1; min-width: 0; padding: 8px 6px 6px; } .ds-cars svg { width: 100%; max-width: 92px; margin: 0 auto; }
  .ds-tm { order: 4; font-size: 11px; line-height: 1.35; }
}
@media (max-width: 820px) and (max-height: 640px) {
  .ds-what span { display: none; }
  .ds-top { top: calc(70px + env(safe-area-inset-top, 0px)); } .ds-h { font-size: 24px; font-size: clamp(21px, 6.8vw, 25px); } .ds .ds-maker { top: 34px; } .ds-maker svg { height: 48px; }
  .ds-foot { gap: 4px; }
}
