.brands-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 13, 22, .07), transparent 25%),
    radial-gradient(circle at 88% 35%, rgba(49, 91, 214, .07), transparent 28%),
    #eef0f2;
}

.brands-page .desktop-nav {
  gap: clamp(18px, 2vw, 34px);
}

.brands-page .desktop-nav a.is-current::after {
  left: 0;
  right: 0;
}

.brands-page main {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brands-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(500px, .95fr) minmax(560px, 1.05fr);
  background:
    linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255, 255, 255, .87) 49%, rgba(247, 249, 251, .44) 100%),
    repeating-linear-gradient(90deg, transparent 0, transparent 119px, rgba(25, 31, 43, .025) 120px);
  border-bottom: 1px solid var(--line);
}

.brands-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  background:
    radial-gradient(circle at 58% 45%, rgba(255, 255, 255, .9) 0 12%, transparent 34%),
    linear-gradient(145deg, rgba(242, 13, 22, .06), transparent 38%),
    linear-gradient(15deg, rgba(49, 91, 214, .08), transparent 44%);
  pointer-events: none;
}

.brands-hero-copy {
  position: relative;
  z-index: 3;
  padding: 64px 20px 62px 60px;
  align-self: center;
}

.brands-breadcrumbs {
  margin-bottom: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7d838c;
  font-size: 12px;
}

.brands-breadcrumbs a:hover {
  color: var(--red);
}

.brands-eyebrow,
.brands-section-kicker {
  display: block;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brands-eyebrow {
  margin: 0 0 18px;
}

.brands-eyebrow span {
  margin-right: 7px;
}

.brands-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(50px, 5vw, 76px);
  line-height: .95;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

.brands-hero h1 em {
  display: block;
  margin-top: 7px;
  color: var(--red);
  font-style: normal;
}

.brands-hero-lead {
  max-width: 660px;
  margin: 26px 0 0;
  color: #5e6570;
  font-size: 17px;
  line-height: 1.65;
}

.brands-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brands-hero-facts {
  margin-top: 38px;
  display: flex;
  align-items: stretch;
}

.brands-hero-facts span {
  min-width: 130px;
  padding-right: 28px;
  display: grid;
  gap: 3px;
}

.brands-hero-facts span + span {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.brands-hero-facts strong {
  font-size: 21px;
}

.brands-hero-facts small {
  color: #737984;
  font-size: 10px;
}

.brands-hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
}

.brands-hero-car {
  position: absolute;
  z-index: 3;
  width: 108%;
  right: -14%;
  top: 20%;
  animation: brandHeroCarIn 1.1s cubic-bezier(.2, .75, .15, 1) both;
}

.brands-hero-car img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 25px rgba(20, 27, 37, .18));
  animation: brandHeroFloat 5.5s ease-in-out 1.1s infinite;
}

.brands-hero-glow {
  position: absolute;
  z-index: 1;
  left: 19%;
  right: 4%;
  bottom: 9%;
  height: 19%;
  background: radial-gradient(ellipse, rgba(20, 27, 37, .24), transparent 68%);
  filter: blur(11px);
}

.brands-hero-line {
  position: absolute;
  z-index: 1;
  width: 76%;
  height: 2px;
  right: -7%;
  top: 67%;
  background: linear-gradient(90deg, transparent, rgba(242, 13, 22, .5), transparent);
  transform: rotate(-7deg);
}

.brands-hero-orbit {
  position: absolute;
  z-index: 1;
  display: block;
  border: 1px solid rgba(242, 13, 22, .18);
  border-radius: 50%;
  animation: brandOrbit 16s linear infinite;
}

.brands-hero-orbit::before,
.brands-hero-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px var(--red), 0 5px 16px rgba(242, 13, 22, .24);
}

.brands-hero-orbit--one {
  width: 330px;
  height: 330px;
  top: 11%;
  right: 8%;
}

.brands-hero-orbit--one::before {
  top: 12%;
  left: 13%;
}

.brands-hero-orbit--one::after {
  right: -6px;
  bottom: 36%;
}

.brands-hero-orbit--two {
  width: 205px;
  height: 205px;
  right: 38%;
  bottom: 7%;
  border-color: rgba(49, 91, 214, .16);
  animation-direction: reverse;
  animation-duration: 12s;
}

.brands-hero-orbit--two::before {
  left: 24%;
  bottom: -4px;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 5px 16px rgba(49, 91, 214, .25);
}

.brands-hero-orbit--two::after {
  display: none;
}

.brands-hero-chip {
  position: absolute;
  z-index: 5;
  min-width: 72px;
  padding: 8px 13px;
  color: #4e5560;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 999px;
  box-shadow: 0 9px 24px rgba(23, 30, 42, .1);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  animation: brandChipIn .65s ease both;
}

.brands-hero-chip--one {
  top: 22%;
  left: 9%;
  animation-delay: .75s;
}

.brands-hero-chip--two {
  top: 11%;
  right: 12%;
  animation-delay: .9s;
}

.brands-hero-chip--three {
  right: 5%;
  bottom: 23%;
  animation-delay: 1.05s;
}

.brands-hero-note {
  position: absolute;
  z-index: 5;
  left: 8%;
  bottom: 16%;
  min-width: 180px;
  padding: 16px 18px;
  display: grid;
  gap: 3px;
  background: rgba(24, 29, 37, .92);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 38px rgba(18, 23, 31, .18);
  backdrop-filter: blur(10px);
  animation: brandChipIn .65s 1.15s ease both;
}

.brands-hero-note::before {
  content: "";
  position: absolute;
  width: 5px;
  inset: 10px auto 10px 0;
  background: var(--red);
  border-radius: 0 6px 6px 0;
}

.brands-hero-note b {
  font-size: 18px;
}

.brands-hero-note small {
  color: #bfc4cb;
  font-size: 10px;
}

.brand-catalog {
  padding: 84px 60px 92px;
  background:
    linear-gradient(180deg, #fff, #fafbfc),
    repeating-linear-gradient(135deg, rgba(22, 27, 35, .02) 0 1px, transparent 1px 12px);
}

.brands-section-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 80px;
}

.brands-section-heading h2,
.brand-standard h2,
.brand-help h2 {
  margin: 10px 0 0;
  font-size: clamp(36px, 3.4vw, 52px);
  line-height: 1.02;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.brands-section-heading h2 span {
  color: var(--red);
}

.brands-section-heading p {
  max-width: 540px;
  margin: 0;
  color: #68707b;
  line-height: 1.6;
}

.brand-tools {
  margin-top: 34px;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(25, 31, 43, .06);
}

.brand-search {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid #dfe2e7;
  border-radius: 10px;
  background: #fafbfc;
}

.brand-search:focus-within {
  border-color: rgba(242, 13, 22, .45);
  box-shadow: 0 0 0 4px rgba(242, 13, 22, .06);
}

.brand-search svg {
  width: 20px;
  height: 20px;
  margin-left: 16px;
  fill: none;
  stroke: #343a44;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.brand-search input {
  min-width: 0;
  flex: 1;
  height: 46px;
  padding: 0 42px 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
}

.brand-search button {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 8px;
  top: 8px;
  border: 0;
  border-radius: 50%;
  color: #777e88;
  background: #eceef1;
  cursor: pointer;
  font-size: 19px;
}

.brand-letter-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.brand-letter-filter button {
  min-width: 36px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #555c67;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.brand-letter-filter button:hover,
.brand-letter-filter button:focus-visible {
  color: var(--red);
  border-color: rgba(242, 13, 22, .35);
  transform: translateY(-1px);
}

.brand-letter-filter button.is-active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 7px 16px rgba(242, 13, 22, .2);
}

.brand-result-count {
  min-width: 76px;
  padding: 0 10px;
  color: #767d87;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.brand-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-card {
  --card-accent: var(--red);
  position: relative;
  min-width: 0;
  min-height: 330px;
  padding: 18px 20px 17px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, color-mix(in srgb, var(--card-accent) 10%, transparent), transparent 37%),
    linear-gradient(145deg, #fff 0%, #f8f9fb 100%);
  border: 1px solid #e6e8ec;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(25, 31, 43, .045);
  isolation: isolate;
  opacity: 1;
  transform: translateY(0);
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), opacity .5s ease, border-color .25s ease, box-shadow .25s ease;
}

.brands-motion-ready .brand-card {
  opacity: 0;
  transform: translateY(22px);
}

.brand-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 210px;
  height: 210px;
  right: -110px;
  top: -130px;
  border-radius: 50%;
  background: var(--card-accent);
  opacity: .08;
  transform: scale(.7);
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}

.brand-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  height: 3px;
  left: 20px;
  right: 100%;
  bottom: 0;
  background: var(--card-accent);
  border-radius: 3px 3px 0 0;
  transition: right .65s cubic-bezier(.2, .8, .2, 1);
}

.brands-motion-ready .brand-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.brand-card:hover,
.brand-card:focus-visible,
.brand-card.is-previewing {
  z-index: 2;
  border-color: color-mix(in srgb, var(--card-accent) 42%, #dfe2e7);
  box-shadow: 0 22px 48px rgba(25, 31, 43, .12);
  transform: translateY(-5px);
  outline: 0;
}

.brand-card:hover::before,
.brand-card:focus-visible::before,
.brand-card.is-previewing::before {
  opacity: .14;
  transform: scale(1.55);
}

.brand-card:hover::after,
.brand-card:focus-visible::after,
.brand-card.is-previewing::after {
  right: 20px;
}

.brand-card[hidden] {
  display: none;
}

.brand-card-index,
.brand-card-hint {
  position: relative;
  z-index: 5;
  color: #969ca5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-card-index {
  justify-self: start;
}

.brand-card-hint {
  position: absolute;
  top: 17px;
  right: 19px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color .25s ease;
}

.brand-card-hint b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e3e7;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .8);
  font-size: 12px;
}

.brand-card:hover .brand-card-hint,
.brand-card:focus-visible .brand-card-hint {
  color: var(--card-accent);
}

.brand-stage {
  position: relative;
  min-height: 225px;
  display: block;
}

.brand-logo {
  position: absolute;
  z-index: 2;
  width: min(48%, 170px);
  height: 100px;
  left: 50%;
  top: 50%;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(1);
  filter: grayscale(1) contrast(1.45);
  mix-blend-mode: multiply;
  opacity: .88;
  transition: opacity .32s ease, transform .62s cubic-bezier(.2, .75, .15, 1), filter .3s ease;
}

.brand-car-wrap {
  position: absolute;
  z-index: 3;
  width: 112%;
  left: -8%;
  top: 8%;
  display: block;
  opacity: 0;
  transform: translateX(105%) scale(.93);
  transform-origin: 55% 70%;
  transition: opacity .28s ease, transform .78s cubic-bezier(.16, .78, .18, 1);
  will-change: transform, opacity;
}

.brand-car {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 13px rgba(20, 27, 37, .16));
}

.brand-car-shadow {
  position: absolute;
  z-index: 1;
  width: 74%;
  height: 16%;
  left: 18%;
  bottom: 6%;
  border-radius: 50%;
  background: rgba(20, 27, 37, .18);
  filter: blur(14px);
  opacity: 0;
  transform: scaleX(.7);
  transition: opacity .5s .15s ease, transform .7s .05s ease;
}

.brand-signal-stack,
.brand-signal,
.brand-signal > i {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  pointer-events: none;
}

.brand-signal-stack {
  z-index: 4;
  visibility: hidden;
}

.brand-card.is-signal-calibrated .brand-signal-stack {
  visibility: visible;
}

.brand-signal > i {
  opacity: 0;
  background: #ffa600;
  -webkit-mask: var(--signal-mask) 0 0 / 100% 100% no-repeat;
  mask: var(--signal-mask) 0 0 / 100% 100% no-repeat;
  transform-origin: center;
  will-change: opacity, filter, clip-path;
}

.brand-signal-core {
  z-index: 3;
  mix-blend-mode: screen;
}

.brand-signal-halo {
  z-index: 2;
  background: #ff9d00;
  filter: blur(2px);
}

.brand-signal-reflection {
  z-index: 1;
  background: #ffb000;
  filter: blur(4px);
}

.brand-card.is-previewing .brand-logo {
  opacity: 0;
  filter: grayscale(.2);
  transform: translate(-78%, -50%) scale(.72);
}

.brand-card.is-previewing .brand-car-wrap {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.brand-card.is-previewing .brand-car-shadow {
  opacity: 1;
  transform: scaleX(1);
}

.brand-card.is-blinking .brand-signal-core,
.brand-card.is-blinking-left .brand-signal--left .brand-signal-core,
.brand-card.is-blinking-right .brand-signal--right .brand-signal-core {
  animation: brandSignalCore .92s linear infinite both;
}

.brand-card.is-blinking .brand-signal-halo,
.brand-card.is-blinking-left .brand-signal--left .brand-signal-halo,
.brand-card.is-blinking-right .brand-signal--right .brand-signal-halo {
  animation: brandSignalHalo .92s linear infinite both;
}

.brand-card.is-blinking .brand-signal-reflection,
.brand-card.is-blinking-left .brand-signal--left .brand-signal-reflection,
.brand-card.is-blinking-right .brand-signal--right .brand-signal-reflection {
  animation: brandSignalReflection .92s linear infinite both;
}

.brand-card.is-blinking .brand-signal--dynamic .brand-signal-core,
.brand-card.is-blinking-left .brand-signal--left.brand-signal--dynamic .brand-signal-core,
.brand-card.is-blinking-right .brand-signal--right.brand-signal--dynamic .brand-signal-core {
  animation-name: brandSignalDynamicCore;
}

.brand-card-footer {
  position: relative;
  z-index: 5;
  min-height: 54px;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(224, 227, 232, .9);
}

.brand-card-footer > span {
  display: grid;
  gap: 3px;
}

.brand-card-footer strong {
  font-size: 18px;
}

.brand-card-footer small {
  color: #7c838d;
  font-size: 10px;
}

.brand-card-footer > b {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe2e7;
  border-radius: 50%;
  color: var(--red);
  background: rgba(255, 255, 255, .9);
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease;
}

.brand-card:hover .brand-card-footer > b,
.brand-card:focus-visible .brand-card-footer > b {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateX(3px);
}

.brand-empty {
  margin-top: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px dashed rgba(242, 13, 22, .4);
  border-radius: 16px;
  background: rgba(255, 255, 255, .8);
}

.brand-empty[hidden] {
  display: none;
}

.brand-empty > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 13, 22, .28);
  border-radius: 50%;
  color: var(--red);
  font-size: 25px;
  font-weight: 800;
}

.brand-empty strong {
  font-size: 17px;
}

.brand-empty p {
  margin: 4px 0 0;
  color: #6e7580;
  font-size: 12px;
}

.brand-standard {
  padding: 82px 60px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 72px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 13, 22, .22), transparent 31%),
    linear-gradient(135deg, #1a2028, #292f38);
}

.brand-standard h2 {
  max-width: 520px;
}

.brand-standard-copy p {
  max-width: 540px;
  margin: 22px 0 0;
  color: #b9c0ca;
  line-height: 1.65;
}

.brand-standard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.brand-standard-grid article {
  position: relative;
  min-height: 165px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .045);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.brand-standard-grid article::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -85px;
  bottom: -85px;
  border: 1px solid rgba(242, 13, 22, .32);
  border-radius: 50%;
  transition: transform .5s ease;
}

.brand-standard-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 13, 22, .42);
  background: rgba(255, 255, 255, .075);
}

.brand-standard-grid article:hover::after {
  transform: scale(1.7);
}

.brand-standard-grid article span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.brand-standard-grid article strong {
  margin-top: 17px;
  display: block;
  font-size: 16px;
}

.brand-standard-grid article p {
  margin: 8px 0 0;
  color: #adb5c0;
  font-size: 11px;
  line-height: 1.55;
}

.brand-help {
  position: relative;
  margin: 58px 60px 70px;
  padding: 46px 50px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #e80812 0%, #f20d16 52%, #c90710 100%);
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(242, 13, 22, .22);
}

.brand-help-pattern {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -260px;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, .04),
    0 0 0 120px rgba(255, 255, 255, .025);
  animation: brandHelpPulse 5s ease-in-out infinite;
}

.brand-help-copy,
.brand-help-actions {
  position: relative;
  z-index: 2;
}

.brand-help-copy > span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-help h2 {
  max-width: 790px;
  font-size: clamp(32px, 3.2vw, 48px);
}

.brand-help p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.55;
}

.brand-help-actions {
  display: grid;
  gap: 15px;
}

.brand-help-button {
  min-height: 54px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 28px rgba(107, 0, 6, .2);
}

.brand-help-button:hover,
.brand-help-button:focus-visible {
  background: #fff;
}

.brand-help-actions > a:last-child {
  display: grid;
  gap: 3px;
  text-align: center;
}

.brand-help-actions small {
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
}

.brand-help-actions strong {
  font-size: 16px;
}

.brands-motion-ready [data-brand-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .75s cubic-bezier(.2, .72, .18, 1);
}

.brands-motion-ready [data-brand-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes brandHeroCarIn {
  from { opacity: 0; transform: translateX(28%) scale(.94); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes brandHeroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes brandChipIn {
  from { opacity: 0; transform: translateY(14px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes brandOrbit {
  to { transform: rotate(360deg); }
}

@keyframes brandSignalCore {
  0%, 8% { opacity: 0; filter: brightness(.9); }
  20% { opacity: .9; filter: brightness(1.08); }
  42% { opacity: 1; filter: brightness(1.14); }
  61% { opacity: 0; filter: brightness(.98); }
  100% { opacity: 0; filter: brightness(.9); }
}

@keyframes brandSignalHalo {
  0%, 8% { opacity: 0; filter: blur(2px) brightness(.9); }
  22% { opacity: .34; filter: blur(2px) brightness(1.08); }
  42% { opacity: .42; filter: blur(2.2px) brightness(1.12); }
  63% { opacity: 0; filter: blur(2.5px) brightness(.96); }
  100% { opacity: 0; filter: blur(2px) brightness(.9); }
}

@keyframes brandSignalReflection {
  0%, 10% { opacity: 0; filter: blur(4px); }
  24% { opacity: .12; filter: blur(4px); }
  42% { opacity: .16; filter: blur(4.5px); }
  64% { opacity: 0; filter: blur(5px); }
  100% { opacity: 0; filter: blur(4px); }
}

@keyframes brandSignalDynamicCore {
  0%, 8% {
    opacity: 0;
    clip-path: inset(0 calc(100% - var(--signal-reveal-start)) 0 0);
    filter: brightness(.9);
  }
  20% {
    opacity: .9;
    clip-path: inset(0 calc(100% - var(--signal-reveal-start)) 0 0);
    filter: brightness(1.08);
  }
  38%, 42% {
    opacity: 1;
    clip-path: inset(0 calc(100% - var(--signal-reveal-end)) 0 0);
    filter: brightness(1.14);
  }
  61% {
    opacity: 0;
    clip-path: inset(0 calc(100% - var(--signal-reveal-end)) 0 0);
    filter: brightness(.98);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 calc(100% - var(--signal-reveal-start)) 0 0);
    filter: brightness(.9);
  }
}

@keyframes brandHelpPulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.06); opacity: .55; }
}

@media (max-width: 1280px) {
  .brands-page .desktop-nav {
    gap: 20px;
  }

  .brands-hero {
    grid-template-columns: minmax(460px, .95fr) minmax(500px, 1.05fr);
  }

  .brands-hero-copy {
    padding-left: 44px;
  }

  .brand-catalog,
  .brand-standard {
    padding-left: 44px;
    padding-right: 44px;
  }

  .brand-help {
    margin-left: 44px;
    margin-right: 44px;
  }

  .brand-tools {
    grid-template-columns: minmax(260px, 1fr) 1.35fr;
  }

  .brand-result-count {
    grid-column: 1 / -1;
    padding: 0 4px 3px;
    text-align: left;
  }
}

@media (max-width: 1080px) {
  .brands-hero {
    min-height: 920px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 430px;
  }

  .brands-hero-copy {
    padding: 52px 44px 12px;
  }

  .brands-breadcrumbs {
    margin-bottom: 30px;
  }

  .brands-hero-visual {
    min-height: 430px;
  }

  .brands-hero-car {
    width: 80%;
    right: 2%;
    top: -2%;
  }

  .brands-hero-note {
    left: 8%;
    bottom: 15%;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-standard {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .brand-help {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brand-help-actions {
    display: flex;
    align-items: center;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .brands-page .page-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .brands-hero {
    min-height: 790px;
    grid-template-rows: auto 350px;
  }

  .brands-hero-copy {
    padding: 36px 22px 0;
  }

  .brands-breadcrumbs {
    margin-bottom: 25px;
  }

  .brands-hero h1 {
    font-size: clamp(42px, 12.5vw, 62px);
  }

  .brands-hero-lead {
    font-size: 15px;
  }

  .brands-hero-facts {
    margin-top: 30px;
  }

  .brands-hero-facts span {
    min-width: 0;
    padding-right: 16px;
  }

  .brands-hero-facts span + span {
    padding-left: 16px;
  }

  .brands-hero-facts strong {
    font-size: 17px;
  }

  .brands-hero-visual {
    min-height: 350px;
  }

  .brands-hero-car {
    width: 108%;
    right: -18%;
    top: 7%;
  }

  .brands-hero-chip--one {
    left: 4%;
  }

  .brands-hero-chip--two {
    right: 5%;
  }

  .brands-hero-chip--three,
  .brands-hero-orbit--two {
    display: none;
  }

  .brands-hero-note {
    left: 4%;
    bottom: 10%;
    min-width: 155px;
  }

  .brand-catalog {
    padding: 66px 20px 72px;
  }

  .brands-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brands-section-heading p {
    font-size: 13px;
  }

  .brand-tools {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .brand-letter-filter {
    justify-content: flex-start;
  }

  .brand-result-count {
    grid-column: auto;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    min-height: 320px;
  }

  .brand-empty {
    grid-template-columns: auto 1fr;
  }

  .brand-empty .button {
    grid-column: 1 / -1;
  }

  .brand-standard {
    padding: 66px 20px;
  }

  .brand-standard-grid {
    grid-template-columns: 1fr;
  }

  .brand-help {
    margin: 34px 20px 54px;
    padding: 36px 24px;
  }

  .brand-help-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (hover: none), (pointer: coarse) {
  .brand-card {
    min-height: 270px;
  }

  .brand-stage {
    min-height: 165px;
  }

  .brand-card-hint {
    font-size: 0;
  }

  .brand-card-hint b {
    font-size: 12px;
  }

  .brand-logo {
    width: 38%;
    left: 27%;
  }

  .brand-car-wrap {
    width: 64%;
    left: 38%;
    top: 17%;
    opacity: .2;
    transform: translateX(0) scale(1);
  }

  .brand-car-shadow,
  .brand-signal-stack {
    display: none;
  }

  .brand-card:active {
    transform: scale(.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brands-hero-car,
  .brands-hero-car img,
  .brands-hero-chip,
  .brands-hero-note,
  .brands-hero-orbit,
  .brand-help-pattern {
    animation: none !important;
  }

  .brand-card,
  .brand-logo,
  .brand-car-wrap,
  [data-brand-reveal] {
    transition-duration: .01ms !important;
  }

  .brand-card.is-blinking .brand-signal > i,
  .brand-card.is-blinking-left .brand-signal > i,
  .brand-card.is-blinking-right .brand-signal > i {
    animation: none !important;
    opacity: 0;
  }
}

/* Calibration views are disabled by default and enabled only with ?signal-debug=. */
.signal-debug .brand-logo {
  opacity: 0;
  transform: translate(-78%, -50%) scale(.72);
}

.signal-debug .brand-car-wrap {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.signal-debug .brand-car-shadow {
  opacity: 1;
  transform: scaleX(1);
}

.signal-debug .brand-signal-stack {
  display: block !important;
}

.signal-debug .brand-signal-core {
  opacity: var(--signal-debug-opacity, 1) !important;
  animation: none !important;
  background: #00f5ff;
  filter:
    drop-shadow(1px 0 #ff00e5)
    drop-shadow(-1px 0 #ff00e5)
    drop-shadow(0 1px #ff00e5)
    drop-shadow(0 -1px #ff00e5);
}

.signal-debug .brand-signal-halo,
.signal-debug .brand-signal-reflection {
  display: none;
}
