/* 555 Scooters page CSS: only what the kit (assets/system.css, layout.css) does not have. */

/* place tokens: square photographs and cards, 2px buttons (system.md, Radius) */
:root { --r-lg: 0; --r-md: 0; --r-sm: 2px; --r-btn: 2px; }
.g-alt { background: var(--p-surface); }
/* one link look in running text: ink, a thin underline that thickens on hover */
a.u, button.u { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: text-decoration-color .2s, text-decoration-thickness .2s; }
a.u:hover, button.u:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* nav: the client's logo */
.nav__logo img { display: block; height: 48px; width: auto; }
@media (max-width: 639px) { .nav__logo img { height: 40px; } }

/* hero: the old site's landing video under the header (poster until it plays; poster only on phones) */
.hero-film { background: #1b1b1b; object-fit: cover; object-position: 50% 55%; }
.hero--place > .wrap > .hero-text { position: relative; }
.hero-film__pause {
  position: absolute; right: 0; top: calc(-1 * var(--hgap) - 56px); z-index: 2;
  width: 40px; height: 40px; border-radius: 999px; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgb(246 243 236 / .85); color: var(--p-ink); transition: transform .2s ease;
}
.hero-film__pause svg { width: 18px; height: 18px; }
.hero-film__pause .i-play, .hero-film__pause[aria-pressed="true"] .i-pause { display: none; }
.hero-film__pause[aria-pressed="true"] .i-play { display: block; }
.hero-film__pause:hover { transform: scale(1.06); }

/* rent: the photograph beside the form, the three steps in the head row */
.rent-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: var(--t-body); color: var(--muted); }
.rent-steps li:first-child { color: var(--ink); font-weight: 500; }
#rent .section-head { margin-bottom: var(--s-7); }
.rent-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-content: start; }
.rent-form > * { grid-column: 1 / -1; }
.rent-form .field { display: grid; gap: var(--s-2); min-width: 0; }
.rent-form label { font-size: var(--t-small); font-weight: 500; }
.rent-form :is(input, select, textarea) {
  width: 100%; min-height: 48px; padding: 10px 12px; font: 400 16px/1.4 var(--font-text); color: var(--ink);
  background: var(--p-bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
}
.rent-form textarea { min-height: 72px; resize: vertical; }
.rent-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--action); outline-offset: 1px; }
.rent-form [aria-invalid="true"] { border-color: #a1261b; }
.rent-form .field__error { margin: 0; color: #a1261b; font-size: var(--t-small); }
.rent-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.rent-form__row--vehicle { grid-template-columns: 1fr 96px; }
@media (max-width: 479px) { .rent-form__row:not(.rent-form__row--vehicle) { grid-template-columns: 1fr; } }
.rent-quote { padding: var(--s-4) 0; border-block: 1px solid var(--line-strong); font-size: var(--t-body); line-height: 1.5; }
.rent-quote p { margin: 0; }
.rent-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rent-form .btn-row { margin: 0; }
.rent-form .btn[disabled] { opacity: .55; cursor: not-allowed; }
.rent-form .form__status { margin: 0; min-height: 0; font-size: var(--t-body); }
.rent-form .form__status:empty { display: none; }
.rent-form__pay { display: block; width: 300px; max-width: 100%; height: auto; }
.rent-done { padding: var(--s-5); background: var(--p-bg); border-left: 3px solid var(--action); outline: none; }
.rent-done p { margin: 0 0 var(--s-2); }
.rent-done__title { font-weight: 600; font-size: var(--t-lead); }
#rent .pl-photo { --pl-head: 0px; }
#rent .rent-form.span-6 { grid-column: 1 / span 6; }
#rent .pl-photo.start-7 { grid-column: 7 / -1; }
@media (max-width: 1023px) { #rent .rent-form.span-6, #rent .pl-photo.start-7 { grid-column: 1 / -1; } }

/* about: the statement (word-highlight), then the reviews and the news feed */
#about .about { display: grid; gap: var(--s-5); align-content: start; }
#about .about > * { margin: 0; }
.about__lead { font-size: var(--t-lead); line-height: 1.5; }
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-5); }
.review { margin: 0; padding-left: var(--s-4); border-left: 2px solid var(--line-strong); }
.review blockquote { margin: 0; }
.review p { margin: 0; font-size: var(--t-body); line-height: 1.55; }
.review figcaption { margin-top: var(--s-2); font-size: var(--t-small); color: var(--muted); }
.review cite { font-style: italic; }
.review:first-child { grid-column: 1 / -1; }
@media (max-width: 639px) { .reviews { grid-template-columns: 1fr; } }
.news h3 { margin: 0 0 var(--s-5); font-size: var(--t-small); font-weight: 500; color: var(--muted); }
.news__feed { min-height: 200px; max-width: 500px; }
.news__feed .fb-page, .news__feed iframe { max-width: 100%; }

/* fleet: six across at 1280 and up, four at 1024, three at 768, two on a phone */
/* 21 vehicles do not fit two screens at any width: the fleet grows past them (waived in .taste-skill/waivers.json) */
#scooters { --h: 2; height: auto !important; min-height: calc(2 * 100svh); }
.fleet__grid { row-gap: var(--s-4); }
.fleet-card { grid-column: span 2; display: flex; flex-direction: column; gap: 2px; }
.fleet-card__photo { display: block; overflow: hidden; background: var(--p-surface); aspect-ratio: 1; }
.fleet-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease, ease); }
.fleet-card:hover .fleet-card__photo img { transform: scale(1.03); }
.fleet-card__name { margin: var(--s-1) 0 0; font: 500 16px/1.4 var(--font-text); letter-spacing: 0; }
.fleet-card__price { margin: 0; font-size: var(--t-body); line-height: 1.4; font-variant-numeric: tabular-nums; }
.fleet-card__price--off { color: #a1261b; }
.fleet-card__tag { display: inline-block; padding: 0 6px; font-size: var(--t-label); font-weight: 500; background: var(--p-ink); color: var(--p-bg); border-radius: 2px; }
/* type and features on one muted run: "Scooter · 125cc · Fuel injection" (the same words as the old list) */
.fleet-card__desc { font-size: var(--t-small); line-height: 1.45; color: var(--muted); }
.fleet-card__desc :is(p, ul, ol, li) { display: inline; margin: 0; padding: 0; }
.fleet-card__desc li::before, .fleet-card__desc ul::before { content: " · "; }
.fleet-card__desc ul > li:first-child::before { content: ""; }
.fleet-card__btn { margin-top: auto; padding-top: var(--s-1); align-self: start; font-weight: 500; }
.fleet__note { margin: var(--s-5) 0 0; max-width: 100ch; font-size: var(--t-body); line-height: 1.6; }
@media (max-width: 639px) { .fleet-card__btn { display: inline-flex; align-items: center; min-height: 44px; padding-top: 0; } }
@media (max-width: 1279px) { .fleet-card { grid-column: span 3; } }
@media (max-width: 1023px) { .fleet-card { grid-column: span 4; } }
@media (max-width: 639px) { .fleet-card { grid-column: span 6; } }
.fleet-card__rate { white-space: nowrap; }

/* requirements: text left, the billboard develops on the right (picture-develops) */
.req { display: grid; gap: var(--s-5); align-content: start; }
.req > *, .req p { margin: 0; }
.req > p:last-child { font-size: var(--t-lead); line-height: 1.5; }
.develop > a { display: block; height: 100%; overflow: hidden; }
.develop > a img { transition: transform .35s ease; }
.develop > a:hover img { transform: scale(1.03); }
.req__lead { font-size: var(--t-lead); line-height: 1.5; }
.req__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.req__cols .t-label { margin-bottom: var(--s-2); color: var(--ink); }
@media (max-width: 479px) { .req__cols { grid-template-columns: 1fr; } }
.develop { margin: 0; overflow: hidden; align-self: stretch; }
.develop picture { display: block; height: 100%; }
.develop img { display: block; width: 100%; height: 100%; min-height: 294px; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 1023px) { .develop img { height: auto; min-height: 0; } }
@media (max-width: 1023px) { .develop { margin-top: var(--s-7); } }

/* footer: contact, directions with the street set large, the map */
.contact .grid { row-gap: var(--s-6); }
.contact h2 { margin: 0; }
.contact h3 { margin: var(--s-4) 0 0; font: 500 var(--t-small)/1.4 var(--font-text); color: var(--muted); }
.contact .stack-4 > :first-child { margin-top: 0; }
.contact p, .contact address { margin: 0; font-style: normal; font-size: var(--t-body); line-height: 1.6; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.contact__list li { display: grid; grid-template-columns: 96px 1fr; gap: var(--s-4); align-items: baseline; }
.contact__list .t-label { color: var(--muted); }
.contact h2 { margin-bottom: var(--s-4); }
.contact .type-moment { font: var(--display-weight) clamp(36px, 4.4vw, 64px)/1.02 var(--font-display); letter-spacing: -0.03em; }
.type-moment a { color: var(--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease, ease); }
.type-moment a:hover { background-size: 100% 2px; }
.contact__map { flex: 1 1 0; min-height: 220px; background: var(--p-surface); }
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; }
.share-btn { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1279px) { footer.closing { height: auto; min-height: 100svh; } }

@media print {
  .nav, .actionbar, .hero-film__play, .rent-form, .contact__map, .news { display: none !important; }
  main > section, footer.closing { height: auto !important; }
}
