/* /rent-a-{brand} (SER-597, boards/Brand.html + MakeLogos.html). Body class "crl": tokens and
   components (.tbl, .hbar, .chip, .mchip, .card, .faq, .make-mark) come from base.css; page-only
   rules here. The mark is single-colour (--tx), never the maker's colours. */
.brand-hero { position: relative; overflow: hidden; padding: 28px 0 56px; border-bottom: 1px solid var(--line); }
/* SER-649: the make's photo behind the hero, shaded like the brand x city / city heroes
   (brand-city.css .bc-hero-photo) so the text keeps >= 4.5:1 over the photo */
.brand-hero-photo { display: flex; align-items: flex-end; min-height: 560px; }
.brand-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.brand-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(10,10,11,.95) 0%, rgba(10,10,11,.6) 50%, rgba(10,10,11,.2) 80%), linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,0) 40%); }
.brand-hero-photo > .wrap { position: relative; z-index: 1; width: 100%; }
.brand-hero-mark { display: flex; align-items: center; height: 74px; margin-bottom: 20px; color: var(--tx); }
.brand-hero h1 { margin: 14px 0 0; font-size: var(--fs-hero); overflow-wrap: anywhere; }
.brand-updated { margin: 12px 0 0; font-size: 14px; }
.brand-sub { margin: 16px 0 0; max-width: 680px; font-size: var(--fs-lead); color: var(--tx-2); }
.brand-stats { display: flex; flex-wrap: wrap; gap: 20px 44px; margin-top: 28px; }
.brand-stats .price { font-size: 36px; line-height: 1.1; }
.brand-stats .brand-low { color: var(--accent); }
.brand-stats .brand-low-none { font-size: 22px; line-height: 1.6; color: var(--tx); }

.brand-sec { padding-top: 72px; }
.brand-sec > h2 { margin: 0 0 18px; font-size: var(--fs-h2-sm); }
.brand-sec-lead { margin: -6px 0 20px; max-width: 720px; }
.brand-tbl-wrap { overflow-x: auto; }
.brand-tbl td { vertical-align: middle; }
.brand-tbl .brand-model { display: inline-block; padding: 6px 0; color: var(--tx); font-weight: 700; text-decoration: none; }
.brand-tbl .brand-model:hover { color: var(--accent); }
.brand-tbl .price { white-space: nowrap; }
.brand-cfp { font: 500 14px var(--font-body); }
.brand-range-col { width: 240px; }
.brand-tbl .hbar { width: 220px; max-width: 100%; }
.brand-fine { margin: 14px 0 0; font-size: 14px; }

.brand-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chips .chip { min-height: var(--tap); }
.brand-chips a:focus-visible, .brand-co a:focus-visible, .brand-tbl a:focus-visible, .brand-about a:focus-visible, .brand-faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.brand-cos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.brand-co { display: flex; flex-direction: column; gap: 4px; padding: 22px; min-width: 0; }
.brand-co h3 { margin: 0; font-size: 18px; }
.brand-co h3 a { color: var(--tx); text-decoration: none; overflow-wrap: anywhere; }
.brand-co h3 a:hover { color: var(--accent); }
.brand-co .muted { font-size: 14px; }
.brand-co-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; font-size: 14px; font-weight: 700; }
.brand-co-links a { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; }

.brand-about .prose { max-width: 820px; }
.brand-about .chunk h3 { margin-top: 28px; }
.brand-about .chunk:first-child h3 { margin-top: 0; }
.brand-about .chunk p, .brand-about .chunk ul { margin: 0 0 14px; }
.brand-about .note { font-size: 15px; color: var(--mu); }

.brand-faq .faq h3 { display: inline; margin: 0; font-size: 17px; }
.brand-faq .faq summary { display: flex; align-items: center; min-height: var(--tap); }
.brand-faq .faq summary::-webkit-details-marker { display: none; }
.brand-faq .faq summary::after { content: "+"; margin-left: auto; padding-left: 16px; color: var(--mu); font-weight: 400; font-size: 22px; }
.brand-faq .faq[open] summary::after { content: "\2212"; }
.brand-faq .faq p { margin: 8px 0 0; max-width: 820px; color: var(--tx-2); }
.brand-more { padding-bottom: 96px; }

@media (max-width: 700px) {
  .brand-range-col { display: none; }
  .brand-hero-photo { min-height: 460px; }
  .brand-stats .price { font-size: 28px; }
}
@media (max-width: 600px) { .brand-hero h1 { font-size: clamp(28px, 8.2vw, 44px); overflow-wrap: normal; } }
@media (max-width: 600px) {
  .brand-sec > h2 { font-size: 24px; }
  /* the brand x city phone shade with .7 (not .6) at the top: the brand hero is taller, so the
     photo is zoomed further and the small gold eyebrow sat on bright paint (3.9:1 measured) */
  .brand-hero-photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,11,.8) 55%, rgba(10,10,11,.7) 100%); }
}
