.brand-intro{background:linear-gradient(120deg,#17271f,#30473a);color:#fff;border-radius:24px;display:grid;grid-template-columns:1fr minmax(160px,25%);align-items:center;gap:7%;padding:clamp(24px,5vw,76px);margin:22px 0 50px}.brand-intro .eyebrow{color:#cbec9d}.brand-intro h1{color:white;margin:22px 0 16px}.brand-intro p{max-width:60ch;line-height:1.7;color:#e1eadf}.brand-emblem{background:#f5f7f1;color:#203328;border-radius:16px;min-height:150px;display:grid;place-items:center;padding:25px;font-size:22px}.brand-emblem img{width:100%;height:100px;object-fit:contain}.brand-directory{border:1px solid #d3decf;border-radius:14px;margin:20px 0;padding:16px 20px;background:#f3f6ef}.brand-directory summary{cursor:pointer;font-weight:700}.brand-directory .brand-grid{margin:18px 0 0}.brand-detail-link{display:inline-block;margin:10px 0 16px;border-bottom:1px solid #a2b594;font-weight:600}.brand-page .car-image img{object-fit:contain}.brand-page .cars{margin-top:25px}@media(max-width:620px){.brand-intro{grid-template-columns:1fr;gap:18px}.brand-emblem{grid-row:1;width:110px;min-height:65px;padding:12px}.brand-emblem img{height:44px}}


/* EViGO / brand directory: the homepage shows only brands and their marks. */
.ev-home .ev-brands {
  display:block;
  width:100%;
  padding-top:clamp(50px,6vw,92px);
  padding-bottom:clamp(50px,6vw,90px);
}
.ev-home .ev-brands-heading {margin-bottom:22px}
.ev-home .ev-brands-heading h2 {margin:18px 0 0}
.ev-home .ev-logo-grid {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
}
.ev-home .ev-logo-grid .ev-brand-tile {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:12px 10px;
  min-width:0;
  min-height:88px;
  background:rgba(247,250,249,.47);
  border:1px solid rgba(255,255,255,.88);
  border-radius:15px;
  box-shadow:0 8px 22px rgba(21,40,47,.055),inset 0 1px 0 rgba(255,255,255,.54);
  -webkit-backdrop-filter:blur(9px) saturate(110%);
  backdrop-filter:blur(9px) saturate(110%);
  text-decoration:none;
  transition:transform .2s ease,background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.ev-home .ev-logo-grid .ev-brand-tile:hover,
.ev-home .ev-logo-grid .ev-brand-tile:focus-visible {
  transform:translateY(-3px);
  background:rgba(238,247,241,.77);
  border-color:rgba(161,188,173,.78);
  box-shadow:0 14px 30px rgba(21,40,47,.11),inset 0 1px 0 rgba(255,255,255,.62);
}
.ev-home .ev-logo-mark {
  display:flex;
  justify-content:center;
  align-items:center;
  flex:0 0 auto;
  width:100%;
  height:44px;
  color:#263c35;
}
.ev-home .ev-logo-mark img {
  display:block;
  max-width:min(96px,90%);
  max-height:42px;
  width:auto;
  height:auto;
  object-fit:contain;

}
.ev-home .ev-logo-mark img[hidden],
.ev-home .ev-logo-fallback[hidden] {display:none!important}
.ev-home .ev-logo-fallback {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  max-width:100%;
  font-size:clamp(23px,2vw,34px);
  line-height:1.1;
  font-weight:850;
  letter-spacing:-.065em;
  text-align:center;
  overflow-wrap:anywhere;
  color:#263c35;
}
.ev-home .ev-logo-grid .ev-brand-name {
  font-size:12px;
  line-height:1.35;
  color:#2b4239;
  font-weight:680;
  text-align:center;
  overflow-wrap:anywhere;
}
@media(max-width:1100px){
  .ev-home .ev-logo-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
}
@media(max-width:750px){
  .ev-home .ev-logo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .ev-home .ev-logo-grid .ev-brand-tile{min-height:82px;padding:10px 6px}
  .ev-home .ev-logo-mark{height:37px}
  .ev-home .ev-logo-mark img{max-height:36px;max-width:min(76px,90%)}
}
@media(max-width:359px){
  .ev-home .ev-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .ev-home .ev-logo-grid .ev-brand-tile{min-height:78px;border-radius:14px}
  .ev-home .ev-brands-heading{margin-bottom:22px}
}
@media(prefers-reduced-motion:reduce){
  .ev-home .ev-logo-grid .ev-brand-tile{transition:none}
}
