/* Gemin Motors by Theuns. Mostly the red of the sign and the bow, a little black, white for words.
   One display face (Anton, like the capitals on the sign) and one text face (Work Sans). Square corners. */
:root {
  --red: #c8141f;
  --red-deep: #a20f18;
  --red-dark: #860b13;
  --red-light: #dc3a43;
  --black: #141414;
  --white: #ffffff;
  --soft: rgba(255, 255, 255, .8);
  --scrim: rgba(0, 0, 0, .58);

  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --text: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-head: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  --step-title: clamp(3.5rem, 1.6rem + 7.6vw, 9rem);
  --step-car: clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem);
  --step-mono: clamp(9rem, 15vw, 15rem);

  --margin: clamp(16px, 2.4vw, 36px);
  --gutter: clamp(12px, 1.6vw, 24px);
  --section: clamp(96px, 12vw, 180px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 10 L10 0 L20 10 Z' fill='%23c8141f'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--red);
  color: var(--white);
  font: 400 var(--step-body)/1.5 var(--text);
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
p { text-wrap: pretty; }
h1, h2 {
  font-family: var(--display);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
h1 { font-size: var(--step-title); }
h2 { font-size: var(--step-head); }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.small { font-size: var(--step-small); }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
::selection { background: var(--black); color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -80px; z-index: 100; padding: 12px 18px; background: var(--black); font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

/* Buttons: one shape, square */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  background: var(--black);
  color: var(--white);
  border: 0;
  font: 600 var(--step-body)/1.15 var(--text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s ease;
}
.btn:hover { background: #2c2c2c; }
.btn:active { transform: scale(.97); }
.btn-deep, .btn-dark-red { background: var(--red-dark); }
.btn-deep:hover, .btn-dark-red:hover { background: var(--red-deep); }
.btn-red { background: var(--red); }
.btn-red:hover { background: var(--red-light); }
.btn-small { flex: none; min-height: 44px; padding: 0 18px; font-size: 1rem; white-space: nowrap; }
.btn-wide { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

/* The bar: links on the left, the sign's logo in the middle, one action on the right */
.bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px 24px;
  padding: 14px var(--margin);
}
.bar-links { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 28px; font-weight: 600; font-size: 1rem; }
.bar-links a, .bar-call { padding: 10px 0; text-decoration: none; text-decoration-thickness: 3px; text-underline-offset: 8px; transition: opacity .2s ease; }
.bar-links a:hover, .bar-call:hover { opacity: .7; }
.bar-links a[aria-current="page"] { text-decoration-line: underline; }
.bar-call { grid-column: 1; justify-self: start; display: none; font-weight: 600; font-size: 1rem; }
.bar-brand {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 1rem/1.1 var(--display);
  letter-spacing: .01em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .3s var(--ease);
}
.bar-brand:active { transform: scale(.97); }
.bar-brand img { height: 50px; width: auto; }
.bar-end { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 8px; }
.bar-menu {
  display: none;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  border: 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

/* The phone menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 14px var(--margin) 24px;
  background: var(--red-dark);
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top .bar-menu { display: block; }
.menu-links { margin: 40px 0 32px; }
.menu-links a {
  display: block;
  padding: 4px 0;
  font: 400 clamp(3rem, 14vw, 4.5rem)/1.05 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}
.menu-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 5px; text-underline-offset: 10px; }
.menu-actions { margin-top: auto; display: grid; gap: 8px; }
.menu-open { overflow: hidden; }

/* Home: the name moving across the bow */
.hero {
  --sq: clamp(200px, 19vw, 300px);
  --line: clamp(9.375rem, 15vw, 14.375rem);
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: calc(100svh - 78px);
  padding: clamp(16px, 4vh, 48px) 0 clamp(24px, 4vh, 40px);
}
.hero-band { position: relative; height: calc(var(--sq) + 24px); }
.hero-square {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--sq);
  height: var(--sq);
  translate: -50% -50%;
  object-fit: cover;
  animation: drift 18s ease-out both;
}
@keyframes drift { from { scale: 1.08; } to { scale: 1; } }
.hero-title { position: absolute; inset: 0; z-index: 1; font-size: var(--line); }
.mq {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  overflow: hidden;
  white-space: nowrap;
  font: 400 var(--line)/.9 var(--display);
  letter-spacing: -.02em;
  text-transform: uppercase;
  pointer-events: none;
}
.mq-out {
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
    calc(50% - var(--sq) / 2) 0, calc(50% - var(--sq) / 2) 100%, calc(50% + var(--sq) / 2) 100%, calc(50% + var(--sq) / 2) 0, calc(50% - var(--sq) / 2) 0);
}
.mq-in { color: var(--black); clip-path: inset(0 calc(50% - var(--sq) / 2)); }
.mq-track { display: inline-flex; align-items: center; animation: slide var(--mq-time, 80s) linear infinite; will-change: transform; }
.mq-track span { display: inline-flex; align-items: center; }
.mq-word { padding: 0 .1em; }
.mq-dot { width: .2em; height: .2em; margin: 0 .16em; border-radius: 50%; background: currentColor; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
.hero-copy { display: grid; justify-items: center; gap: 20px; padding: clamp(40px, 9vh, 112px) var(--margin) 0; text-align: center; }
.hero-copy .lead { max-width: 36ch; }
.hero-fact { font-weight: 600; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 32px var(--margin) 0; }

/* Home: what your budget buys */
.budget {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  padding: var(--section) var(--margin);
  background: var(--red-deep);
}
.budget-main { grid-column: 2 / 8; --fig: 184px; }
.budget-main > h2, .budget-control, .budget-go { margin-left: calc(var(--fig) + 24px); }
.budget-control { display: none; margin-top: 32px; }
.js .budget-control { display: block; }
.budget-control label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; }
.budget-control output { font: 400 var(--step-lead)/1 var(--display); }
.range {
  width: 100%;
  height: 44px;
  margin: 8px 0 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 8px; background: var(--red-dark); }
.range::-moz-range-track { height: 8px; background: var(--red-dark); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--black); border: 0; transition: transform .2s var(--ease); }
.range::-moz-range-thumb { width: 32px; height: 32px; background: var(--black); border: 0; border-radius: 0; }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.figures { margin-top: 40px; display: grid; gap: 26px; }
.figures div { display: grid; grid-template-columns: var(--fig) minmax(0, 1fr); gap: 24px; align-items: baseline; }
.figures dt { font: 400 var(--step-head)/1 var(--display); text-align: right; font-variant-numeric: tabular-nums; }
.figures dd { max-width: 40ch; }
.budget-go { margin-top: 40px; }
.budget-photo { grid-column: 9 / 12; align-self: start; margin-top: 120px; display: block; overflow: hidden; }
.budget-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease), opacity .3s ease; }
.budget-photo:hover img { transform: scale(1.04); }
.budget-photo span { display: block; margin-top: 10px; font-size: var(--step-small); }
.budget-photo span b { font-weight: 600; }

/* Home: cars on the floor, a band of unequal panels */
.show { padding-top: var(--section); }
.show-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; padding: 0 var(--margin) 56px; }
.band { display: flex; height: 68svh; min-height: 420px; }
.panel {
  position: relative;
  flex: var(--g, 2) 1 0;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: flex-grow .5s var(--ease);
}
.band:hover .panel:hover { flex-grow: 6; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.panel:hover img { transform: scale(1.03); }
.panel-label { position: absolute; left: 0; bottom: 0; max-width: 100%; padding: 14px 20px 16px; background: var(--scrim); font-size: 1rem; line-height: 1.3; }
.panel-label b { display: block; font-weight: 600; }
.panel-label span { font: 400 var(--step-lead)/1.2 var(--display); }
.band-caption { padding: 18px var(--margin) 0; font-size: 1rem; }

/* Home: one verb at a time */
.verb { position: relative; display: grid; place-items: center; height: 100svh; min-height: 560px; overflow: hidden; background: var(--black); }
.verb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.verb::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .34); }
.verb-word { position: relative; z-index: 2; margin-top: -8svh; text-align: center; }
.verb-word h2 { font-size: var(--step-mono); line-height: 1; }
.verb-line {
  position: absolute;
  left: var(--margin);
  bottom: var(--margin);
  z-index: 2;
  max-width: 34rem;
  padding: 22px 24px 24px;
  background: var(--scrim);
}
.verb-line .btn { margin-top: 18px; }

/* Home: home with a red bow, prints on a wall */
.gallery { padding: var(--section) var(--margin); }
.gallery-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }
.gallery-head h2 { grid-column: 1 / 7; }
.gallery-head p { grid-column: 8 / 13; }
.prints { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px var(--gutter); margin-top: 72px; align-items: start; }
.print img { width: 100%; object-fit: cover; }
.print figcaption { margin-top: 10px; font-size: var(--step-small); }
.p1 { grid-column: 1 / 6; grid-row: 1; }
.p1 img { aspect-ratio: 1; }
.p2 { grid-column: 6 / 13; grid-row: 1; margin-top: 14vh; }
.p2 img { aspect-ratio: 5 / 4; }
.p3 { grid-column: 7 / 11; grid-row: 2; margin-top: 12vh; }
.p3 img { aspect-ratio: 1; }
.p4 { grid-column: 2 / 6; grid-row: 2; margin-top: -4vh; }
.p4 img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.p5 { grid-column: 8 / 13; grid-row: 3; margin-top: -10vh; }
.p5 img { aspect-ratio: 1; }

/* Home: the address in display rows */
.rows a, .rows h2 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(84px, 10.4vw, 150px);
  padding: 0 var(--margin) clamp(12px, 1.4vw, 20px);
  font: 400 clamp(2.75rem, 6vw, 5.5rem)/1 var(--display);
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--red-deep);
}
.rows > :nth-child(even) { background: var(--red-dark); }
.rows a { transition: background-color .2s ease; }
.rows a:hover { background: var(--black); }
.rows .row-hi { background: var(--black); }
.rows .row-hi:hover { background: #2c2c2c; }
.arrow { display: grid; place-items: center; width: .9em; height: .9em; flex: none; background: var(--red); transition: transform .3s var(--ease); }
.arrow svg { width: 50%; height: 50%; }
.rows a:hover .arrow { transform: translateX(8px); }

/* Inner pages */
.page-head { padding: clamp(40px, 6vw, 88px) var(--margin) 40px; }
.page-head .lead { margin-top: 20px; max-width: 46ch; }

/* Catalogue: the tools */
.catalogue { padding: 0 var(--margin) var(--section); }
.tools { display: grid; gap: 12px; }
.fields { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 8px; }
.field { display: grid; gap: 6px; font-size: var(--step-small); font-weight: 600; }
.field input, .field select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  background: var(--red-dark);
  color: var(--white);
  border: 0;
  border-radius: 0;
  font: 600 1rem/1 var(--text);
}
.field select { cursor: pointer; }
.field input::placeholder { color: var(--soft); font-weight: 400; }
.field option { background: var(--white); color: var(--black); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  min-height: 44px;
  padding: 0 20px;
  background: var(--red-deep);
  color: var(--white);
  border: 0;
  font: 600 1rem/1 var(--text);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s var(--ease);
}
.filters button:hover { background: var(--red-dark); }
.filters button:active { transform: scale(.97); }
.filters button[aria-pressed="true"] { background: var(--black); }
.cat-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 24px 0 20px; min-height: 44px; }
.cat-count { font-weight: 600; }
.link-button { min-height: 44px; padding: 0; background: none; border: 0; font-weight: 600; font-size: 1rem; text-decoration: underline; cursor: pointer; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.show-more { margin-top: 24px; }

/* A car in a grid */
.tile { position: relative; display: flex; flex-direction: column; background: var(--red-deep); transition: background-color .2s ease; }
.tile:hover { background: var(--red-dark); }
.tile-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--red-dark); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.tile-price { font: 400 var(--step-head)/1 var(--display); }
.tile-name { margin-top: 10px; font: 600 var(--step-body)/1.3 var(--text); letter-spacing: 0; text-transform: none; }
.tile-name a { text-decoration: none; }
.tile-name a:hover { text-decoration: underline; }
.tile-meta { font-size: 1rem; }
.tile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; padding-top: 18px; }
.tile-actions .btn { min-height: 48px; padding: 0 12px; font-size: 1rem; }

/* Cars without a photo yet */
.cat-more { margin-top: var(--section); }
.cat-more .lead { margin-top: 18px; max-width: 46ch; }
.cat-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 32px; }
.cat-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 20px; padding: 14px 16px; background: var(--red-deep); transition: background-color .2s ease; }
.cat-row:hover { background: var(--red-dark); }
.cat-row h3 { font: 600 var(--step-body)/1.3 var(--text); }
.cat-row h3 a { text-decoration: none; }
.cat-row h3 a:hover { text-decoration: underline; }
.cat-row p:not(.cat-row-price) { font-size: 1rem; }
.cat-row-price { font: 400 var(--step-lead)/1.1 var(--display); white-space: nowrap; }

/* One car */
.crumbs { padding: 12px var(--margin) 0; font-weight: 600; font-size: 1rem; }
.crumbs a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; transition: opacity .2s ease; }
.crumbs a:hover { opacity: .7; }
.car { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding: 16px var(--margin) var(--section); }
.car-media { position: sticky; top: 16px; }
.car-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--red-dark); }
.car-none { display: grid; place-content: center; justify-items: center; gap: 18px; aspect-ratio: 16 / 9; padding: 24px; background: var(--red-deep); text-align: center; }
.car-none img { width: min(240px, 50%); }
.car-info h1 { font-size: var(--step-car); line-height: .98; }
.car-price { margin-top: 14px; font: 400 var(--step-car)/1 var(--display); }
.specs { display: grid; grid-template-columns: auto minmax(0, 1fr); margin-top: 28px; font-size: 1rem; }
.specs dt, .specs dd { padding: 10px 0; }
.specs dt { padding-right: 32px; font-weight: 600; }
.specs dt:nth-of-type(odd), .specs dd:nth-of-type(odd) { background: var(--red-deep); }
.specs dt:nth-of-type(odd) { padding-left: 14px; }
.car-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 28px; }
.car-actions .btn:first-child { grid-column: 1 / -1; }
.car-actions .btn { padding: 0 14px; }
.car-note { margin-top: 16px; max-width: 60ch; font-size: 1rem; }
.car-sub { margin-top: 12px; }
.car-fin {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding: var(--section) var(--margin);
  background: var(--red-deep);
}
.car-fin .lead { margin-top: 18px; max-width: 36ch; }
.similar { padding: var(--section) var(--margin); }
.similar h2 { margin-bottom: 36px; }
.similar .cat-grid .tile-name { font-family: var(--text); }
.dock { display: none; }
.missing { padding: clamp(40px, 6vw, 88px) var(--margin) var(--section); }
.missing .lead { margin-top: 20px; max-width: 40ch; }

/* Finance */
.finance {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: clamp(40px, 6vw, 88px) var(--margin) var(--section);
}
.finance-left .lead { margin-top: 24px; max-width: 34ch; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.finance-left .terms { margin-top: 48px; }
.terms h2, .terms h3, .check h2, .slip h3, .apply-side h3 {
  font: 400 var(--step-lead)/1.15 var(--display);
  letter-spacing: 0;
  text-transform: uppercase;
}
.terms h2, .terms h3 { margin-bottom: 10px; }
.terms li { padding: 5px 0; }
.finance-apply { margin-top: 36px; }
.check { background: var(--black); padding: 32px; }
.check h2 { margin-bottom: 8px; }
.q { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 18px; }
.q legend { padding: 0; margin-bottom: 8px; font-size: 1rem; }
.q label { cursor: pointer; }
.q input { position: absolute; opacity: 0; }
.q label span {
  display: grid;
  place-items: center;
  height: 48px;
  background: #2c2c2c;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color .2s ease, transform .2s var(--ease);
}
.q label:hover span { background: #3d3d3d; }
.q label:active span { transform: scale(.97); }
.q input:checked + span { background: var(--red); }
.q input:focus-visible + span { outline: 3px solid var(--white); outline-offset: 2px; }
.check-result { margin-top: 22px; font-weight: 600; min-height: 4.5em; }
.check .btn { width: 100%; margin-top: 6px; }
.check .small { margin-top: 12px; }

.how {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: var(--section) var(--margin);
  background: var(--red-deep);
}
.how-left .lead { margin-top: 22px; max-width: 30ch; }
.note-sign { margin-top: 10px; }
.note-sign b { font-weight: 600; }
.how-left img { margin-top: 32px; width: min(100%, 520px); aspect-ratio: 16 / 9; object-fit: cover; }
.slip { position: relative; background: var(--red); padding: 36px 32px 48px; font-size: 1rem; }
.slip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: var(--zigzag) repeat-x; }
.slip h3 { margin: 28px 0 8px; }
.slip h3:first-child { margin-top: 0; }
.leg { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.leg span { flex: 0 1 auto; max-width: 70%; }
.leg i { flex: 1 1 16px; min-width: 16px; border-bottom: 4px dotted var(--white); transform: translateY(-4px); }
.leg b { font-weight: 600; white-space: nowrap; }
.slip-end { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 24px -32px 0; padding: 14px 32px; background: var(--black); font-weight: 600; }
.slip-end b { font-weight: 600; white-space: nowrap; }

.bows { background: var(--red-dark); padding: var(--section) var(--margin); }
.bows-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 40px; align-items: end; margin-bottom: 40px; }
.bows-head p { font-size: var(--step-lead); line-height: 1.35; }
.bows-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bows-grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }

.faq { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); padding: 0 var(--margin); }
.faq-left { padding: var(--section) 0; }
.accordion { margin-top: 32px; }
.accordion details { margin-bottom: 6px; background: var(--red-deep); }
.accordion summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 16px 52px 16px 18px;
  min-height: 56px;
  transition: background-color .2s ease;
}
.accordion summary:hover { background: var(--red-dark); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-right: 3px solid var(--white);
  border-bottom: 3px solid var(--white);
  transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.accordion details p { max-width: 54ch; padding: 0 18px 18px; }
.faq-photos { position: relative; padding: var(--section) 0; }
.faq-tall { width: 100%; height: 100%; max-height: 760px; object-fit: cover; object-position: 55% 50%; }

/* Closing band */
.closer {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: var(--section) var(--margin);
}
.closer-deep { background: var(--red-deep); }
.closer .lead { margin-top: 18px; max-width: 40ch; }
.closer > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Contact */
.contact-top {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 6vw, 88px) var(--margin) var(--section);
}
.contact-left .lead { margin-top: 20px; max-width: 36ch; }
.methods { margin: 32px 0; }
.methods a {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 2px 16px;
  align-items: baseline;
  padding: 16px 18px;
  background: var(--red-deep);
  margin-bottom: 6px;
  text-decoration: none;
  transition: background-color .2s ease, transform .25s var(--ease);
}
.methods a:hover { background: var(--red-dark); }
.methods a:active { transform: scale(.99); }
.methods span { font-weight: 600; }
.methods b { font-weight: 600; font-size: var(--step-lead); line-height: 1.25; overflow-wrap: anywhere; }
.map { min-height: 460px; background: var(--red-deep); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 460px; border: 0; }

.apply {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
  padding: var(--section) var(--margin);
  background: var(--red-dark);
}
.apply-side { position: sticky; top: 16px; }
.apply-side h2 { margin-bottom: 24px; }
.apply-side h3 { margin-bottom: 8px; }
.apply-side li { padding: 3px 0; font-size: 1rem; }
.apply-fallback { margin-top: 14px; font-size: 1rem; }
.apply-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 24px; }
.apply-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.apply-photos .apply-photo-big { grid-column: 1 / -1; aspect-ratio: 16 / 9; object-position: 50% 45%; }
.apply-frame { background: var(--white); }
.apply-frame iframe { display: block; width: 100%; height: 2000px; border: 0; }

/* Privacy and other prose */
.prose { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: 0 var(--margin) var(--section); }
.prose > div { grid-column: 1 / 9; }
.prose h2 { margin: 56px 0 14px; }
.prose p, .prose li { max-width: 66ch; }
.prose p + p, .prose ul + p { margin-top: 14px; }
.prose ul { margin-top: 12px; }
.prose li { padding: 4px 0 4px 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--white); }
.prose aside { grid-column: 10 / 13; align-self: start; position: sticky; top: 16px; margin-top: 56px; padding: 24px; background: var(--red-deep); font-size: 1rem; }
.prose aside p + p { margin-top: 10px; }

/* Footer: columns above, the name below */
.foot {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 100svh;
  padding: 44px var(--margin) 22px;
  background: var(--red-dark);
}
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--gutter); font-size: 1rem; }
.foot-cols p, .foot-cols li { color: var(--soft); }
.foot-cols p + p, .foot-cols li + li { margin-top: 8px; }
.foot-cols .foot-first { color: var(--white); font-weight: 600; }
.foot-cols a { text-decoration: none; transition: color .2s ease; }
.foot-cols a:hover { color: var(--white); text-decoration: underline; }
.foot-logo { width: 180px; margin-bottom: 18px; }
.foot-mark { display: block; width: 100%; height: auto; margin-top: 48px; overflow: visible; }
.foot-mark text { fill: var(--white); font-family: var(--display); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; font-size: var(--step-small); color: var(--soft); }
.foot-legal a { color: var(--white); }

/* Entrances. Only armed when the script has run, so nothing stays hidden without it. */
.motion [data-rise] { opacity: 0; transform: translateY(24px); }
.motion [data-rise].in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.motion [data-open] { opacity: 0; transform: translateY(20px); }
.motion [data-open].in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.motion .band .panel { opacity: 0; transform: translateY(40px); }
.motion .band.in .panel { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform 1s var(--ease), flex-grow .5s var(--ease); transition-delay: var(--d, 0ms); }
.motion .band.in:hover .panel { transition-delay: 0ms; }
.motion .verb-word h2 { opacity: 0; transform: scale(.94); }
.motion .verb.in .verb-word h2 { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform 1.2s var(--ease); }
.motion .foot-mark text { opacity: 0; transform: translateY(40px); }
.motion .foot-mark.in text { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }

@media (max-width: 1020px) {
  .bar-links { gap: 4px 16px; }
  .bar-brand img { height: 44px; }
  .finance, .how, .faq, .contact-top, .apply, .closer, .car, .car-fin { grid-template-columns: minmax(0, 1fr); }
  .apply-side, .car-media { position: static; }
  .apply-photos { display: none; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-rows { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .field-search { grid-column: 1 / -1; }
  .faq-photos { order: -1; padding: 0; margin: 0 calc(var(--margin) * -1); }
  .faq-tall { aspect-ratio: 16 / 10; height: auto; }
  .faq-left { padding: 48px 0 var(--section); }
  .bows-head { grid-template-columns: 1fr; }
  .budget-main { grid-column: 1 / 9; }
  .budget-photo { grid-column: 9 / 13; }
  .gallery-head h2 { grid-column: 1 / -1; }
  .gallery-head p { grid-column: 1 / 9; margin-top: 18px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose > div { grid-column: 1 / -1; }
  .prose aside { grid-column: 1 / -1; position: static; }
}

@media (max-width: 760px) {
  .bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding-top: 10px; padding-bottom: 10px; }
  .bar-brand { gap: 6px; font-size: .875rem; }
  .bar-brand img { height: 40px; }
  .bar-wa { display: none; }
  .js .bar-links { display: none; }
  .js .bar-call { display: block; }
  .js .bar-menu { display: block; }
  .bar-links { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }

  .hero { --sq: 46vw; --line: 34vw; min-height: calc(100svh - 62px); padding-top: 9svh; }
  .hero-copy { padding-top: 56px; gap: 14px; }
  .hero-foot { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .hero-foot .btn { width: 100%; }

  .budget { display: block; }
  .budget-main { --fig: 108px; }
  .budget-main > h2, .budget-control, .budget-go { margin-left: 0; }
  .figures div { gap: 16px; }
  .budget-go { width: 100%; }
  .budget-photo { width: 64%; margin: 48px 0 0 auto; }

  .band { display: grid; grid-template-columns: 36fr 28fr 36fr; grid-template-rows: 1fr 1fr; height: 84svh; min-height: 520px; }
  .panel:nth-child(1) { grid-column: 1 / 3; }
  .panel:nth-child(2) { grid-column: 3; }
  .panel:nth-child(3) { grid-column: 1; }
  .panel:nth-child(4) { grid-column: 2 / 4; }
  .panel-label { padding: 10px var(--margin) 12px; font-size: .875rem; }
  .show-head .btn { width: 100%; }

  .verb-word h2 { font-size: 24vw; }
  .verb-line { left: 0; right: 0; bottom: 0; max-width: none; padding: 18px var(--margin) 22px; }
  .verb-line .btn { width: 100%; }

  .gallery-head p { grid-column: 1 / -1; }
  .prints { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 64px; margin-top: 48px; }
  .print { grid-column: 1 !important; grid-row: auto !important; margin-top: 0 !important; }
  .p1 { width: 70%; }
  .p2 { width: 84%; justify-self: end; }
  .p3 { width: 56%; }
  .p4 { width: 84%; justify-self: end; }
  .p2 img { aspect-ratio: 4 / 5; }
  .p5 { width: calc(100% + var(--margin) * 2); margin-left: calc(var(--margin) * -1) !important; }
  .p5 figcaption { padding: 0 var(--margin); }

  .rows a, .rows h2 { font-size: 9.6vw; min-height: 84px; }
  .rows .row-hi { background: var(--black); }
  .arrow { width: 56px; height: 56px; font-size: 1.5rem; }

  .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-sort { grid-column: 1 / -1; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-row { grid-template-columns: minmax(0, 1fr) auto; }
  .cat-row .btn { grid-column: 1 / -1; }

  .car-actions { grid-template-columns: minmax(0, 1fr); }
  .car { padding-bottom: 0; }
  .dock { position: sticky; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; margin: 24px calc(var(--margin) * -1) 0; }
  .dock .btn { min-height: 58px; padding: 0 8px; }

  .terms { grid-template-columns: 1fr; }
  .finance-left .terms { margin-top: 32px; }
  .check { padding: 24px 18px; }
  .finance-apply { width: 100%; }
  .button-row .btn { width: 100%; }
  .bows-grid { gap: 4px; }
  .slip { padding: 28px 20px 44px; }
  .slip-end { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .leg span { max-width: 62%; }
  .methods a { grid-template-columns: minmax(0, 1fr); }
  .contact-left > .btn { width: 100%; }
  .map, .map iframe { min-height: 340px; }
  .apply-frame iframe { height: 2600px; }

  .foot { padding-top: 32px; }
  .foot-cols { gap: 32px 16px; }
  .foot-logo { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .mq-track { transform: translateX(var(--mq-still, -12%)); }
  .motion [data-rise], .motion [data-open], .motion .band .panel, .motion .verb-word h2, .motion .foot-mark text { opacity: 1; transform: none; }
}

/* Breadcrumb, share button and the car page's finance terms */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs li[aria-current] { font-weight: 400; }
.car-actions .car-share { grid-column: 1 / -1; }
.car-fin h3 { font: 400 var(--step-lead)/1.15 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.missing h1 { font-size: var(--step-car); }
.similar-deep { background: var(--red-deep); }
.similar-deep .tile { background: var(--red); }
.similar-deep .tile:hover { background: var(--red-dark); }
.prose aside img { width: calc(100% + 48px); max-width: none; margin: -24px -24px 20px; aspect-ratio: 4 / 3; object-fit: cover; }
.missing-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.missing-split > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 1020px) { .missing-split { grid-template-columns: minmax(0, 1fr); } }
