/* KW Automotive page — first structural version. */

body[data-page="kw"] {
  background: #f3f2ed;
}

body[data-page="kw"] .site-nav .nav-dropdown-toggle {
  color: var(--yellow) !important;
  background: rgba(245, 196, 0, 0.1) !important;
}

.kw-page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 94px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 196, 0, 0.16), transparent 31%),
    repeating-linear-gradient(135deg, transparent 0 70px, rgba(255, 255, 255, 0.035) 70px 71px, transparent 71px 140px),
    #080a0e;
}

.kw-page-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -30vw;
  width: 54vw;
  height: 54vw;
  border: 1px solid rgba(245, 196, 0, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(245, 196, 0, 0.025), 0 0 0 14vw rgba(245, 196, 0, 0.018);
  pointer-events: none;
}

.kw-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.kw-page-hero-copy h1 {
  max-width: 650px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  letter-spacing: -0.055em;
}

.kw-page-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
}

.kw-page-hero-copy .eyebrow,
.kw-expertise-section .eyebrow,
.kw-cta-section .eyebrow {
  color: var(--yellow) !important;
}

.kw-page-hero-copy .eyebrow::before,
.kw-expertise-section .eyebrow::before,
.kw-cta-section .eyebrow::before {
  background: var(--yellow) !important;
}

.kw-page-dealer-note {
  margin: 25px 0 30px;
  padding-left: 16px;
  border-left: 4px solid var(--yellow);
  color: #fff !important;
  font-weight: 750;
}

.kw-performance-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(245, 196, 0, 0.5);
  border-radius: 10px;
  background: #111318;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.kw-performance-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.02) 30%, rgba(5, 5, 5, 0.88) 100%);
}

.kw-performance-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 28px;
  top: 26px;
  width: 92px;
  height: 6px;
  background: var(--yellow);
  transform: skewX(-25deg);
}

.kw-performance-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: 48% center;
}

.kw-performance-brand {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--yellow);
  background: rgba(8, 10, 14, 0.88);
  backdrop-filter: blur(10px);
}

.kw-performance-brand img {
  width: 118px;
  height: 70px;
  object-fit: contain;
}

.kw-performance-brand span {
  max-width: 220px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kw-intro-section {
  background: #fff;
}

.kw-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.kw-intro-grid h2 {
  max-width: 520px;
}

.kw-intro-copy > p {
  max-width: 720px;
  font-size: 1.04rem;
}

.kw-focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.kw-focus-row span {
  padding: 9px 12px;
  border: 1px solid #d7d5cd;
  border-top: 3px solid var(--yellow);
  border-radius: 5px;
  color: #15171c;
  background: #f8f7f2;
  font-size: 0.83rem;
  font-weight: 850;
}

.kw-products-section {
  background:
    repeating-linear-gradient(135deg, transparent 0 68px, rgba(17, 19, 24, 0.025) 68px 69px, transparent 69px 136px),
    #f1f0eb;
}

.kw-products-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  column-gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.kw-products-heading .eyebrow,
.kw-products-heading h2 {
  grid-column: 1;
}

.kw-products-heading > p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding-left: 18px;
  border-left: 4px solid var(--yellow);
}

.kw-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.kw-category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #d7d5cd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 19, 24, 0.06);
}

.kw-category-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: 23px;
  width: 100px;
  height: 5px;
  background: var(--yellow);
  transform: skewX(-25deg);
}

.kw-category-card-featured {
  color: #fff;
  border-color: #16191e;
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.12), transparent 45%),
    #101318;
}

.kw-category-number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.kw-category-card h3 {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.kw-category-card p {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin-bottom: 0;
  color: #69717a;
}

.kw-category-card-featured p {
  color: rgba(255, 255, 255, 0.68);
}

.kw-category-card img {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 70px;
  height: 44px;
  object-fit: contain;
}

.kw-expertise-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(245, 196, 0, 0.09), transparent 33%),
    #0c0f13;
}

.kw-expertise-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 8vw, 108px);
  align-items: start;
}

.kw-expertise-intro {
  position: sticky;
  top: 120px;
}

.kw-expertise-intro h2 {
  color: #fff;
}

.kw-expertise-intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.kw-expertise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kw-expertise-list article {
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 3px solid var(--yellow);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.kw-expertise-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
}

.kw-expertise-list h3 {
  margin-bottom: 0;
  color: #fff;
}

.kw-cta-section {
  color: #fff;
  background:
    radial-gradient(circle at 15% 50%, rgba(245, 196, 0, 0.17), transparent 32%),
    repeating-linear-gradient(135deg, transparent 0 54px, rgba(255, 255, 255, 0.035) 54px 55px, transparent 55px 110px),
    #171a1f;
}

.kw-contact-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.kw-contact-cta > div:first-child {
  max-width: 700px;
}

.kw-contact-cta h2 {
  color: #fff;
}

.kw-contact-cta p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.kw-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.kw-home-cta {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .kw-page-hero-grid,
  .kw-intro-grid,
  .kw-expertise-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .kw-page-hero-grid {
    gap: 38px;
  }

  .kw-page-hero-copy h1 {
    font-size: clamp(3rem, 11vw, 5.2rem);
  }

  .kw-performance-visual,
  .kw-performance-photo {
    min-height: 440px;
    height: 440px;
  }

  .kw-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kw-expertise-intro {
    position: static;
  }

  .kw-contact-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .kw-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .kw-page-hero {
    padding: 54px 0 60px;
  }

  .kw-page-hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2.8rem, 16vw, 4.5rem);
  }

  .kw-performance-visual,
  .kw-performance-photo {
    min-height: 330px;
    height: 330px;
  }

  .kw-performance-photo {
    object-position: 42% center;
  }

  .kw-performance-brand {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 12px 14px;
  }

  .kw-performance-brand img {
    width: 82px;
    height: 50px;
  }

  .kw-performance-brand span {
    max-width: 150px;
    font-size: 0.67rem;
  }

  .kw-products-heading,
  .kw-category-grid,
  .kw-expertise-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .kw-products-heading > p:not(.eyebrow) {
    grid-column: 1;
    grid-row: auto;
    margin-top: 10px;
  }

  .kw-category-card {
    min-height: 225px;
    padding: 24px;
  }

  .kw-category-number {
    margin-bottom: 38px;
  }

  .kw-expertise-list article {
    min-height: 118px;
  }

  .kw-contact-cta,
  .kw-cta-actions,
  .kw-cta-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kw-page-hero *,
  .kw-products-section *,
  .kw-expertise-section * {
    scroll-behavior: auto;
  }
}

/* Expandable technical product guide. */
.kw-guide-section {
  position: relative;
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(245, 196, 0, 0.08), transparent 26%),
    repeating-linear-gradient(135deg, transparent 0 70px, rgba(255, 255, 255, 0.022) 70px 71px, transparent 71px 140px),
    #080a0d;
}

.kw-guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.kw-guide-sidebar {
  position: sticky;
  top: 108px;
  z-index: 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 4px solid var(--yellow);
  border-radius: 8px;
  background: rgba(17, 20, 25, 0.96);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.kw-guide-nav-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 18px;
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.kw-guide-nav-chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.kw-guide-sidebar.is-open .kw-guide-nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

.kw-guide-nav {
  display: grid;
  padding: 13px;
}

.kw-guide-nav a {
  position: relative;
  display: block;
  padding: 7px 10px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1.35;
  transition: color 160ms ease, background 160ms ease, padding-left 160ms ease;
}

.kw-guide-nav a:hover,
.kw-guide-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  padding-left: 13px;
}

.kw-guide-nav a.is-active {
  color: #0b0d10;
  background: var(--yellow);
}

.kw-guide-nav-main {
  margin-top: 5px;
  color: #fff !important;
  font-size: 0.9rem !important;
  font-weight: 880 !important;
}

.kw-guide-nav-main:first-child {
  margin-top: 0;
}

.kw-guide-nav-main.is-active {
  color: #0b0d10 !important;
}

.kw-guide-nav-group {
  display: grid;
  margin: 5px 0 10px 10px;
  padding-left: 9px;
  border-left: 1px solid rgba(245, 196, 0, 0.34);
}

.kw-guide-nav-group > span {
  padding: 7px 9px 3px;
  color: var(--yellow);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kw-guide-content {
  min-width: 0;
}

.kw-product-family,
.kw-future-family,
.kw-product-card {
  scroll-margin-top: 112px;
}

.kw-product-family + .kw-product-family,
.kw-future-family {
  margin-top: clamp(72px, 9vw, 118px);
}

.kw-family-heading {
  max-width: 790px;
  margin-bottom: 34px;
  padding: 0 0 28px 22px;
  border-left: 5px solid var(--yellow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kw-family-heading .eyebrow,
.kw-future-family .eyebrow {
  color: var(--yellow) !important;
}

.kw-family-heading .eyebrow::before,
.kw-future-family .eyebrow::before {
  display: none !important;
}

.kw-family-heading h2,
.kw-future-family h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

.kw-family-heading > p:not(.eyebrow),
.kw-future-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
}

.kw-product-category + .kw-product-category {
  margin-top: 64px;
}

.kw-category-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.kw-category-heading > span {
  padding: 7px 10px;
  border: 1px solid rgba(245, 196, 0, 0.46);
  border-radius: 4px;
  color: var(--yellow);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kw-category-heading h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.kw-track-category {
  padding-top: 58px;
  border-top: 1px solid rgba(245, 196, 0, 0.22);
}

.kw-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kw-product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: #15181d;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.kw-product-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: 26px;
  width: 94px;
  height: 5px;
  background: var(--yellow);
  transform: skewX(-24deg);
}

.kw-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 196, 0, 0.52);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.31);
}

.kw-product-media {
  position: relative;
  display: grid;
  place-content: center;
  gap: 7px;
  min-height: 255px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.09), transparent 42%),
    repeating-linear-gradient(135deg, transparent 0 38px, rgba(255, 255, 255, 0.03) 38px 39px, transparent 39px 78px),
    #0e1115;
  text-align: center;
}

.kw-product-media::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border: 1px solid rgba(245, 196, 0, 0.5);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 1.25rem;
  font-weight: 350;
}

.kw-product-media > span {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.kw-product-media code {
  color: rgba(255, 255, 255, 0.45);
  font: 600 0.69rem/1.4 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.kw-product-media-image {
  place-content: stretch;
  min-height: 320px;
  padding: 18px;
}

.kw-product-media-image::before {
  display: none;
  content: none;
}

.kw-product-media-image img {
  display: block;
  width: 100%;
  height: 284px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.kw-product-media-light {
  background: #fff;
}

.kw-product-media-dark {
  background: #000;
}

.kw-product-card:hover .kw-product-media-image img {
  transform: scale(1.035);
}

.kw-product-copy {
  position: relative;
  z-index: 1;
  padding: 25px 26px 32px;
}

.kw-product-kicker {
  margin-bottom: 8px;
  color: var(--yellow) !important;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kw-product-copy h4 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.kw-product-copy > p:not(.kw-product-kicker) {
  min-height: 52px;
  color: rgba(255, 255, 255, 0.64);
}

.kw-product-copy ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 19px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.kw-product-copy li {
  position: relative;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
  line-height: 1.42;
}

.kw-product-copy li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.kw-future-family {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  align-items: stretch;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: #15181d;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.25);
}

.kw-future-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 52px);
}

.kw-future-copy > span {
  width: fit-content;
  margin-top: 25px;
  padding: 8px 11px;
  border-top: 3px solid var(--yellow);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kw-future-media {
  min-height: 390px;
  border-bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .kw-guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .kw-guide-sidebar {
    top: 84px;
    overflow: visible;
  }

  .kw-guide-nav-toggle {
    display: flex;
  }

  .kw-guide-sidebar.is-enhanced .kw-guide-nav {
    position: absolute;
    top: 100%;
    right: -1px;
    left: -1px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: rgba(17, 20, 25, 0.99);
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.38);
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 220ms ease, opacity 180ms ease, visibility 180ms ease, padding 220ms ease;
  }

  .kw-guide-sidebar.is-enhanced.is-open .kw-guide-nav {
    max-height: min(68vh, 660px);
    padding-top: 8px;
    padding-bottom: 13px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .kw-product-family,
  .kw-future-family,
  .kw-product-card {
    scroll-margin-top: 162px;
  }
}

@media (max-width: 720px) {
  .kw-product-grid,
  .kw-future-family {
    grid-template-columns: minmax(0, 1fr);
  }

  .kw-product-media {
    min-height: 220px;
  }

  .kw-product-media-image {
    min-height: 280px;
  }

  .kw-product-media-image img {
    height: 244px;
  }

  .kw-product-copy {
    padding: 23px 22px 29px;
  }

  .kw-product-copy > p:not(.kw-product-kicker) {
    min-height: 0;
  }

  .kw-future-family {
    min-height: 0;
  }

  .kw-future-media {
    min-height: 260px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .kw-guide-section {
    padding-top: 48px;
  }

  .kw-guide-sidebar {
    top: 78px;
  }

  .kw-family-heading {
    padding-left: 16px;
  }

  .kw-category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .kw-product-category + .kw-product-category {
    margin-top: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kw-product-card,
  .kw-guide-nav a,
  .kw-guide-nav,
  .kw-guide-nav-chevron,
  .kw-product-media-image img {
    transition: none !important;
  }
}

/* KW Automotive catalogue: Version 1 product overview. */
.kw-catalog-main {
  --kw-purple: #6a307b;
  --kw-gold: #deb148;
  --kw-black: #363430;
  --kw-dark-gray: #866867;
  --kw-white: #f4f4f5;
  color: var(--kw-black);
  background: var(--kw-white);
}

.kw-catalog-heading {
  padding: clamp(30px, 4vw, 48px) 0 28px;
  border-bottom: 1px solid #d9d4da;
  background: #fff;
}

.kw-catalog-heading h1 {
  margin: 0 0 6px;
  color: var(--kw-purple);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.kw-catalog-heading p {
  margin: 0;
  color: var(--kw-black);
  font-size: 1rem;
}

.kw-catalog-section {
  min-height: 620px;
  padding: clamp(34px, 5vw, 64px) 0 clamp(60px, 7vw, 92px);
  background: var(--kw-white);
}

.kw-catalog-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.kw-catalog-sidebar {
  position: sticky;
  top: 104px;
}

.kw-catalog-nav {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #d4cbd6;
  border-top: 4px solid var(--kw-gold);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(54, 52, 48, 0.08);
}

.kw-catalog-nav button {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-left: 4px solid transparent;
  border-radius: 4px;
  color: var(--kw-black);
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.kw-catalog-nav button:hover,
.kw-catalog-nav button:focus-visible {
  border-color: #d8c4de;
  border-left-color: var(--kw-gold);
  color: var(--kw-purple);
  background: #f8f4f8;
}

.kw-catalog-nav button[aria-selected="true"] {
  border-color: var(--kw-purple);
  border-left-color: var(--kw-gold);
  color: #fff;
  background: var(--kw-purple);
}

.kw-catalog-nav button:focus-visible {
  outline: 3px solid rgba(222, 177, 72, 0.42);
  outline-offset: 2px;
}

.kw-catalog-content {
  min-width: 0;
}

.kw-catalog-panel[hidden] {
  display: none !important;
}

.kw-catalog-panel {
  min-height: 360px;
}

.kw-catalog-panel-heading {
  margin-bottom: 28px;
  padding-bottom: 17px;
  border-bottom: 2px solid var(--kw-gold);
}

.kw-catalog-panel-heading h2 {
  margin: 0;
  color: var(--kw-purple);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.kw-catalog-product-group + .kw-catalog-product-group {
  margin-top: 52px;
}

.kw-catalog-product-group > h3 {
  margin: 0 0 18px;
  padding-left: 13px;
  border-left: 4px solid var(--kw-gold);
  color: var(--kw-black);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.kw-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.kw-catalog-card {
  overflow: hidden;
  border: 1px solid #d6cbd9;
  border-top: 4px solid var(--kw-purple);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(54, 52, 48, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.kw-catalog-card:hover {
  transform: translateY(-3px);
  border-color: var(--kw-gold);
  box-shadow: 0 18px 38px rgba(54, 52, 48, 0.12);
}

.kw-catalog-media {
  display: grid;
  place-items: center;
  height: 310px;
  padding: 18px;
  overflow: hidden;
  border-bottom: 1px solid #ddd6df;
}

.kw-catalog-media-light {
  background: #fff;
}

.kw-catalog-media-dark {
  background: #000;
}

.kw-catalog-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.kw-catalog-card:hover .kw-catalog-media img {
  transform: scale(1.025);
}

.kw-catalog-card-copy {
  padding: 23px 24px 28px;
}

.kw-catalog-category {
  margin: 0 0 7px;
  color: var(--kw-purple);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.kw-catalog-card-copy h4 {
  margin: 0;
  color: var(--kw-black);
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.kw-catalog-card-copy ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #ded8df;
  list-style: none;
}

.kw-catalog-card-copy li {
  position: relative;
  padding-left: 17px;
  color: var(--kw-black);
  font-size: 0.92rem;
  line-height: 1.45;
}

.kw-catalog-card-copy li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--kw-gold);
}

@media (max-width: 920px) {
  .kw-catalog-layout {
    grid-template-columns: minmax(180px, 210px) minmax(0, 1fr);
    gap: 26px;
  }

  .kw-catalog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .kw-catalog-heading {
    padding-top: 28px;
  }

  .kw-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .kw-catalog-sidebar {
    position: static;
  }

  .kw-catalog-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kw-catalog-nav button {
    text-align: center;
  }

  .kw-catalog-media {
    height: 280px;
  }
}

@media (max-width: 480px) {
  .kw-catalog-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .kw-catalog-nav button {
    text-align: left;
  }

  .kw-catalog-media {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kw-catalog-nav button,
  .kw-catalog-card,
  .kw-catalog-media img {
    transition: none !important;
  }
}

/* Continuous brand catalogue. Each manufacturer can override these tokens later. */
.brand-catalog-main {
  background: #f4f4f5;
}

.brand-catalog-page-heading {
  padding: clamp(22px, 3vw, 32px) 0 20px;
  border-bottom: 1px solid #d7d7d8;
  background: #fff;
}

.brand-catalog-page-heading h1 {
  margin: 0 0 4px;
  color: #111318;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.brand-catalog-page-heading p {
  margin: 0;
  color: #61666d;
  font-size: 0.92rem;
}

.brand-scroll-nav {
  --scroll-nav-accent: #6a307b;
  --scroll-nav-surface: rgba(244, 244, 245, 0.96);
  --scroll-nav-text: #363430;
  --scroll-nav-muted: #866867;
  --scroll-nav-active-background: #6a307b;
  --scroll-nav-active-text: #f4f4f5;
  --scroll-nav-border: rgba(106, 48, 123, 0.28);
  --scroll-nav-hover-background: rgba(106, 48, 123, 0.09);
  --scroll-nav-art: url("../images/suspension-pattern.webp");
  --scroll-nav-art-size: 390px 390px;
  --scroll-nav-art-position: center;
  --scroll-nav-art-repeat: repeat;
  --scroll-nav-art-opacity: 0.08;
  --scroll-nav-art-filter: grayscale(1) contrast(0.78);
  position: fixed;
  top: 50%;
  left: max(10px, calc(50vw - 720px));
  z-index: 12;
  display: grid;
  align-content: center;
  gap: 6px;
  width: 146px;
  height: clamp(400px, 58vh, 540px);
  padding: 48px 8px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--scroll-nav-border);
  border-left: 3px solid var(--scroll-nav-accent);
  border-radius: 6px;
  background: var(--scroll-nav-surface);
  box-shadow: 0 12px 28px rgba(14, 9, 20, 0.12);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-scroll-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--scroll-nav-art);
  background-repeat: var(--scroll-nav-art-repeat);
  background-position: var(--scroll-nav-art-position);
  background-size: var(--scroll-nav-art-size);
  filter: var(--scroll-nav-art-filter);
  opacity: var(--scroll-nav-art-opacity);
  transition: opacity 180ms ease, filter 180ms ease;
}

.brand-scroll-nav a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--scroll-nav-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  transition: color 160ms ease, background-color 160ms ease;
}

.brand-scroll-nav a:hover,
.brand-scroll-nav a:focus-visible {
  color: var(--scroll-nav-text);
  background: var(--scroll-nav-hover-background);
}

.brand-scroll-nav a[aria-current="location"] {
  color: var(--scroll-nav-active-text);
  background: var(--scroll-nav-active-background);
}

.brand-scroll-nav[data-active-section="st-suspensions"] {
  --scroll-nav-accent: #f5dd4e;
  --scroll-nav-surface: rgba(14, 9, 20, 0.96);
  --scroll-nav-text: #f4f4f5;
  --scroll-nav-muted: rgba(244, 244, 245, 0.7);
  --scroll-nav-active-background: #f5dd4e;
  --scroll-nav-active-text: #0e0914;
  --scroll-nav-border: rgba(182, 163, 58, 0.6);
  --scroll-nav-hover-background: rgba(245, 221, 78, 0.12);
  --scroll-nav-art: url("../images/suspension-pattern.webp");
  --scroll-nav-art-size: 390px 390px;
  --scroll-nav-art-position: center;
  --scroll-nav-art-repeat: repeat;
  --scroll-nav-art-opacity: 0.12;
  --scroll-nav-art-filter: brightness(0) invert(1);
}

.brand-scroll-nav[data-active-section="st-wheel-spacers"] {
  --scroll-nav-accent: #36393f;
  --scroll-nav-surface: rgba(244, 244, 245, 0.96);
  --scroll-nav-text: #1e2024;
  --scroll-nav-muted: #696d74;
  --scroll-nav-active-background: #36393f;
  --scroll-nav-active-text: #f4f4f5;
  --scroll-nav-border: rgba(54, 57, 63, 0.28);
  --scroll-nav-hover-background: rgba(54, 57, 63, 0.08);
  --scroll-nav-art: url("../images/partners/st.webp");
  --scroll-nav-art-size: 134px auto;
  --scroll-nav-art-position: center 72%;
  --scroll-nav-art-repeat: no-repeat;
  --scroll-nav-art-opacity: 0.09;
  --scroll-nav-art-filter: grayscale(1) contrast(0.85);
}

.brand-scroll-nav[data-active-section="bbs-wheels"] {
  --scroll-nav-accent: #f4f4f5;
  --scroll-nav-surface: rgba(23, 25, 29, 0.96);
  --scroll-nav-text: #f4f4f5;
  --scroll-nav-muted: #b3b5ba;
  --scroll-nav-active-background: #f4f4f5;
  --scroll-nav-active-text: #17191d;
  --scroll-nav-border: rgba(244, 244, 245, 0.28);
  --scroll-nav-hover-background: rgba(244, 244, 245, 0.1);
  --scroll-nav-art: url("../images/partners/bbs.webp");
  --scroll-nav-art-size: 124px auto;
  --scroll-nav-art-position: center 72%;
  --scroll-nav-art-repeat: no-repeat;
  --scroll-nav-art-opacity: 0.11;
  --scroll-nav-art-filter: grayscale(1) brightness(2.2) contrast(0.75);
}

.brand-section {
  --brand-primary: #111318;
  --brand-accent: #f5c400;
  --brand-heading: #111318;
  --brand-text: #292c31;
  --brand-muted: #666b72;
  --brand-background: #f4f4f5;
  --brand-card-background: #fff;
  --brand-border: #d4d5d7;
  --brand-shadow: rgba(17, 19, 24, 0.09);
  --brand-logo-background: #fff;
  --brand-media-border: #dedfe1;
  --brand-divider: #d7d8da;
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 62px) 0;
  color: var(--brand-text);
  background: var(--brand-background);
  scroll-margin-top: 76px;
}

.brand-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.brand-section-inner {
  position: relative;
  z-index: 1;
}

.brand-section-header {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: clamp(18px, 3vw, 25px);
  border-bottom: 1px solid var(--brand-divider);
}

.brand-section-header-compact {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.brand-coming-soon {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin: 10px 0 0;
  padding: 5px 10px;
  border: 1px solid var(--brand-accent);
  border-radius: 4px;
  color: var(--brand-background);
  background: var(--brand-primary);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 140px;
  height: 86px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-bottom: 4px solid var(--brand-accent);
  border-radius: 6px;
  background: var(--brand-logo-background);
  box-shadow: 0 12px 28px var(--brand-shadow);
}

.brand-logo-frame img {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block;
  width: calc(100% - 20px) !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: translate(-50%, -50%) !important;
}

.brand-section-header h2 {
  margin: 0;
  color: var(--brand-heading);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.brand-section-header p {
  max-width: 700px;
  margin: 9px 0 0;
  color: var(--brand-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.brand-product-group + .brand-product-group {
  margin-top: clamp(34px, 4vw, 46px);
}

.brand-product-group > h3 {
  margin: 0 0 14px;
  padding-left: 11px;
  border-left: 4px solid var(--brand-accent);
  color: var(--brand-heading);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.brand-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brand-product-card {
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-top: 4px solid var(--brand-primary);
  border-radius: 6px;
  color: var(--brand-text);
  background: var(--brand-card-background);
  box-shadow: 0 14px 34px var(--brand-shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.brand-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-accent);
  box-shadow: 0 20px 42px var(--brand-shadow);
}

.brand-product-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  padding: 12px;
  overflow: hidden;
  border-bottom: 1px solid var(--brand-media-border);
}

.brand-product-media-light {
  background: #fff;
}

.brand-product-media-dark {
  background: #000;
}

.brand-product-media img {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  bottom: 12px !important;
  left: 12px !important;
  display: block;
  width: calc(100% - 24px) !important;
  height: calc(100% - 24px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.brand-product-card:hover .brand-product-media img {
  transform: none !important;
}

.brand-product-copy {
  padding: 17px 18px 20px;
}

.brand-product-category {
  margin: 0 0 5px;
  color: var(--brand-primary);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.brand-product-copy h4 {
  margin: 0;
  color: var(--brand-heading);
  font-size: 1.28rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand-product-copy ul {
  display: grid;
  gap: 5px;
  margin: 14px 0 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--brand-divider);
  list-style: none;
}

.brand-product-copy li {
  position: relative;
  padding-left: 17px;
  color: var(--brand-text);
  font-size: 0.875rem;
  line-height: 1.4;
}

.brand-product-copy li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-accent);
}

.brand-section-kw {
  --kw-purple: #6a307b;
  --kw-gold: #deb148;
  --kw-black: #363430;
  --kw-dark-gray: #866867;
  --kw-white: #f4f4f5;
  --brand-primary: var(--kw-purple);
  --brand-accent: var(--kw-gold);
  --brand-heading: var(--kw-purple);
  --brand-text: var(--kw-black);
  --brand-muted: var(--kw-dark-gray);
  --brand-background: var(--kw-white);
  --brand-card-background: #fff;
  --brand-border: #d5c5da;
  --brand-shadow: rgba(106, 48, 123, 0.11);
  --brand-logo-background: #fff;
  --brand-media-border: #ddd3df;
  --brand-divider: #d7c9da;
  background:
    linear-gradient(120deg, rgba(106, 48, 123, 0.075), transparent 34%),
    linear-gradient(300deg, rgba(222, 177, 72, 0.055), transparent 28%),
    var(--kw-white);
}

.brand-section-kw .brand-product-card {
  border-top-color: var(--kw-purple);
}

.brand-section-kw .brand-product-card:hover {
  border-color: var(--kw-gold);
}

.brand-section-st {
  --st-yellow: #f5dd4e;
  --st-black: #0e0914;
  --st-gold-dark: #7e702a;
  --st-gold-mid: #b6a33a;
  --st-white: #f4f4f5;
  --brand-primary: var(--st-yellow);
  --brand-accent: var(--st-gold-mid);
  --brand-heading: var(--st-yellow);
  --brand-text: var(--st-white);
  --brand-muted: var(--st-white);
  --brand-background: var(--st-black);
  --brand-card-background: var(--st-black);
  --brand-border: var(--st-gold-dark);
  --brand-shadow: rgba(14, 9, 20, 0.48);
  --brand-logo-background: var(--st-white);
  --brand-media-border: var(--st-gold-dark);
  --brand-divider: var(--st-gold-dark);
  background:
    linear-gradient(125deg, rgba(245, 221, 78, 0.065), transparent 34%),
    linear-gradient(305deg, rgba(182, 163, 58, 0.05), transparent 28%),
    var(--st-black);
}

.brand-section-st::before {
  background: linear-gradient(90deg, var(--st-yellow), var(--st-gold-dark));
}

.brand-section-st .brand-section-header {
  border-bottom-color: var(--st-gold-dark);
}

.brand-section-st .brand-logo-frame {
  border-color: var(--st-gold-dark);
  border-bottom-color: var(--st-yellow);
  box-shadow: 0 12px 28px rgba(245, 221, 78, 0.08);
}

.brand-section-st .brand-section-header p {
  color: rgba(244, 244, 245, 0.76);
}

.brand-section-st .brand-product-card {
  border-color: var(--st-gold-dark);
  border-top-color: var(--st-yellow);
  background:
    linear-gradient(145deg, rgba(245, 221, 78, 0.035), transparent 42%),
    var(--st-black);
}

.brand-section-st .brand-product-card:hover {
  border-color: var(--st-yellow);
  box-shadow: 0 20px 42px rgba(245, 221, 78, 0.14);
}

.brand-section-st .brand-product-media-dark {
  background: var(--st-black);
}

.brand-section-st .brand-product-category {
  color: var(--st-gold-mid);
}

.brand-section-st .brand-product-copy h4 {
  color: var(--st-yellow);
}

.brand-section-st .brand-product-copy ul {
  border-top-color: var(--st-gold-dark);
}

.brand-section-st .brand-product-copy li::before {
  background: var(--st-yellow);
}

.brand-section-st .btn {
  border-color: var(--st-yellow);
  color: var(--st-black);
  background: var(--st-yellow);
}

.brand-section-st .btn:hover,
.brand-section-st .btn:focus-visible {
  border-color: var(--st-gold-mid);
  background: var(--st-gold-mid);
}

/* Neutral tokens remain until the official ST Wheel Spacers and BBS palettes are supplied. */
.brand-section-st-spacers {
  --brand-primary: #36393f;
  --brand-accent: #aeb1b6;
  --brand-heading: #1e2024;
  --brand-text: #303339;
  --brand-muted: #696d74;
  --brand-background: #e8e9eb;
  --brand-card-background: #fff;
  --brand-border: #c9cbd0;
  --brand-shadow: rgba(30, 32, 36, 0.08);
  --brand-logo-background: #fff;
  --brand-divider: #c9cbd0;
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}

.brand-section-bbs {
  --brand-primary: #f4f4f5;
  --brand-accent: #8e9299;
  --brand-heading: #fff;
  --brand-text: #ececef;
  --brand-muted: #b3b5ba;
  --brand-background: #17191d;
  --brand-card-background: #202329;
  --brand-border: #383c43;
  --brand-shadow: rgba(0, 0, 0, 0.24);
  --brand-logo-background: #fff;
  --brand-divider: #383c43;
  padding-top: clamp(34px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}

@media (max-width: 1100px) {
  .brand-scroll-nav {
    display: none;
  }

  .brand-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1101px) and (max-width: 1430px) {
  .brand-scroll-nav {
    left: 8px;
    width: 48px;
    height: clamp(340px, 52vh, 440px);
    padding: 34px 5px;
  }

  .brand-scroll-nav a {
    justify-content: center;
    min-height: 38px;
    padding: 8px 4px;
    text-align: center;
    font-size: 0;
  }

  .brand-scroll-nav a::after {
    content: attr(data-short-label);
    font-size: 0.66rem;
  }

  .brand-scroll-nav::before {
    opacity: 0.07;
  }
}

@media (max-width: 820px) {
  .brand-section-header {
    grid-template-columns: 126px minmax(0, 1fr);
  }

  .brand-logo-frame {
    width: 126px;
    height: 80px;
  }
}

@media (max-width: 700px) {
  .brand-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 580px) {
  .brand-section-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .brand-logo-frame {
    width: min(150px, 62vw);
    height: 88px;
  }

  .brand-product-media {
    height: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-scroll-nav,
  .brand-scroll-nav a,
  .brand-product-card,
  .brand-product-media img {
    transition: none !important;
  }
}
