/* ===== Brands page redesign ===== */

/* hero helpers */
.page-hero__sub{
  margin: 10px 0 0;
  max-width: 78ch;
  line-height: 1.75;
  color: rgba(255,255,255,.88);
  text-shadow: 0 10px 26px rgba(0,0,0,.45);
}

.page-hero__actions{
  margin-top: 18px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* generic */
.brands-overview,
.brands-platform,
.brands-journey,
.brands-showcase,
.brands-commercial{
  position: relative;
}

.brands-overview .section-head,
.brands-commercial__head{
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.brands-overview .section-head p:not(.subhead),
.brands-commercial__head p:not(.subhead){
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(11,18,32,.72);
  line-height: 1.85;
}

/* ===== section 1 ===== */
.brands-overview{
  padding-top: 52px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.brands-overview__chips{
  margin-top: 20px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 10px;
}

.bchip{
  display:inline-flex;
  align-items:center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background:#fff;
  border: 1px solid rgba(231,235,241,.95);
  box-shadow: 0 8px 20px rgba(2,8,23,.04);
  color: rgba(11,18,32,.72);
  font-size: 13px;
  font-weight: 800;
}

/* ===== section 1 ===== */
.brands-overview{
  padding-top: 52px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.brands-overview__chips{
  margin-top: 20px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 10px;
}

.bchip{
  display:inline-flex;
  align-items:center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background:#fff;
  border: 1px solid rgba(231,235,241,.95);
  box-shadow: 0 8px 20px rgba(2,8,23,.04);
  color: rgba(11,18,32,.72);
  font-size: 13px;
  font-weight: 800;
}

/* ===== section 2 ===== */
.brands-platform{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0f1115;
}

.brands-platform__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.66) 40%, rgba(0,0,0,.56) 100%),
    radial-gradient(circle at top left, rgba(192,42,48,.16), transparent 24%),
    radial-gradient(circle at bottom right, rgba(22,163,74,.10), transparent 18%),
    var(--brands-platform-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.03);
}

.brands-platform::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.26));
  pointer-events: none;
}

.brands-platform .brands-platform__grid{
  position: relative;
  z-index: 1;
}

.brands-platform__grid{
  display:grid;
  grid-template-columns: minmax(340px, 1.05fr) minmax(600px, .95fr);
  gap: clamp(24px, 4vw, 60px);
  align-items:center;
}

.brands-platform__copy{
  padding: 6px 0;
}

.brands-platform__copy .kicker{
  color: rgba(255,255,255,.72);
}

.brands-platform__copy h2{
  color: #fff;
}

.brands-platform__copy .subhead{
  color: rgba(255,255,255,.86);
}

.brands-platform__copy p:not(.subhead){
  color: rgba(255,255,255,.84);
  line-height: 1.85;
}

.brands-platform__pillars{
  margin-top: 18px;
  display:grid;
  gap: 12px;
}

.brands-platform__pillar{
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  padding: 14px 16px;
  color: rgba(255,255,255,.92);
  line-height: 1.7;
  font-weight: 700;
}

.brands-platform__note{
  margin-top: 18px;
  color: rgba(255,255,255,.84);
  line-height: 1.85;
}

.brands-platform__media{
  display:flex;
  align-items:center;
  justify-content:center;
}

.brands-platform__media-card{
  width: 100%;
  border-radius: 30px;
  padding: clamp(18px, 2.2vw, 28px);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 54px rgba(0,0,0,.28);
}

.brands-platform__media img{
  width:100%;
  max-height: 760px;
  object-fit: contain;
  display:block;
}

/* responsive */
@media (max-width: 1100px){
  .brands-platform__grid{
    grid-template-columns: 1fr;
  }

  .brands-platform__bg{
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.80) 0%, rgba(0,0,0,.70) 46%, rgba(0,0,0,.58) 100%),
      radial-gradient(circle at top left, rgba(192,42,48,.16), transparent 24%),
      radial-gradient(circle at bottom right, rgba(22,163,74,.10), transparent 18%),
      var(--brands-platform-bg);
  }
}

@media (max-width: 768px){
  .brands-platform__media img{
    max-height: 520px;
  }

  .brands-platform__media-card{
    border-radius: 24px;
    padding: 18px;
  }
}

@media (max-width: 640px){
  .brands-platform__pillar{
    padding: 18px;
  }
}
/* =========================
   SECTION 3
   portfolio card layout
========================= */
.brands-stage{
  background:
    radial-gradient(circle at top left, rgba(192,42,48,.05), transparent 24%),
    radial-gradient(circle at bottom right, rgba(22,163,74,.05), transparent 20%),
    linear-gradient(180deg, #fbfbfb 0%, #f6f6f6 100%);
}

.brands-stage__head{
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.brands-stage__head .subhead{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.brands-stage__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.brands-stage-card{
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(231,235,241,.95);
  box-shadow: 0 12px 30px rgba(2,8,23,.05);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brands-stage-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(2,8,23,.10);
  border-color: rgba(192,42,48,.18);
}

.brands-stage-card__media{
  display: flex;
  flex-direction: column;
  min-height: 270px;
  background: linear-gradient(180deg, #fbfbfc 0%, #f1f3f6 100%);
  text-decoration: none;
}

.brands-stage-card__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.brands-stage-card__logo{
  font-size: 15px;
  font-weight: 900;
  color: rgba(11,18,32,.92);
  line-height: 1.2;
}

.brands-stage-card__badge{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(220,226,235,.95);
  background: rgba(255,255,255,.88);
  color: rgba(11,18,32,.76);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.brands-stage-card__media img{
  width: 100%;
  height: ;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  transition: transform .35s ease;
}

.brands-stage-card:hover .brands-stage-card__media img{
  transform: translateY(-2px) scale(1.02);
}

.brands-stage-card__body{
  padding: 22px;
}

.brands-stage-card__body h3{
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: rgba(11,18,32,.92);
}

.brands-stage-card__tag{
  margin: 6px 0 0;
  color: rgba(11,18,32,.60);
  font-size: 14px;
  font-weight: 700;
}

.brands-stage-card__desc{
  margin: 12px 0 0;
  color: rgba(11,18,32,.72);
  line-height: 1.8;
  font-size: 15px;
}

.brands-stage-card__focus{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(231,235,241,.95);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brands-stage-card__label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(11,18,32,.52);
}

.brands-stage-card__text{
  color: rgba(11,18,32,.72);
  line-height: 1.75;
}

.brands-stage-card__cta{
  margin-top: 16px;
}

.brands-stage-card__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: rgb(192 42 48);
}

.brands-stage-card__link:hover{
  text-decoration: underline;
}

/* responsive */
@media (max-width: 1100px){
  .brands-stage__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .brands-stage-card__media{
    min-height: 230px;
    padding: 14px 14px 0;
  }

  .brands-stage-card__media img{
    height: 180px;
  }

  .brands-stage-card__body{
    padding: 18px;
  }

  .brands-stage-card__top{
    align-items: flex-start;
  }

  .brands-stage-card__badge{
    max-width: 48%;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}
/* ===== section 4 ===== */
.brands-showcase{
  background:
    radial-gradient(circle at top left, rgba(192,42,48,.05), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.brands-showcase__top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 38px;
}

.brands-showcase__copy{
  max-width: 920px;
}

.brands-showcase__copy p:not(.subhead){
  color: rgba(11,18,32,.72);
  line-height: 1.85;
}

/* awards image panel */
.brands-showcase__media{
  position: relative;
  overflow: hidden;
}

.brands-showcase__media--awards{
  height: auto;
  min-height: 0;
  border-radius: 28px;
  padding: 26px 30px;
}

.brands-showcase__media--awards::before{
  display: none;
}

.brands-showcase__img--awards{
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  display: block;
  transform: none;
  filter: none;
  background: transparent;
}

/* smooth looping logo slider */
.brands-showcase__loop{
  position: relative;
  overflow: hidden;
  padding: 12px 0 20px;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.brands-showcase__track{
  display: flex;
  width: max-content;
  will-change: transform;
  animation: brandsShowcaseLoop 44s linear infinite;
}

.brands-showcase__group{
  display: flex;
  align-items: stretch;
  gap: 22px;
  flex-shrink: 0;
  padding-right: 22px;
}

.brands-showcase__loop:hover .brands-showcase__track{
  animation-play-state: paused;
}

.brands-showcase__slide{
  position: relative;
  width: 440px;
  min-height: 270px;
  border-radius: 30px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 150px;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(249,250,251,.98) 100%);
  border: 1px solid rgba(231,235,241,.92);
  box-shadow:
    0 10px 24px rgba(2,8,23,.045),
    0 2px 6px rgba(2,8,23,.03);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.brands-showcase__slide::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(192,42,48,.05), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,0) 44%);
  pointer-events: none;
}

.brands-showcase__slide::after{
  display: none;
}

.brands-showcase__slide:hover{
  transform: translateY(-4px);
  border-color: rgba(192,42,48,.18);
  box-shadow:
    0 16px 34px rgba(2,8,23,.07),
    0 4px 10px rgba(2,8,23,.04);
}

.brands-showcase__slide-copy{
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brands-showcase__slide-copy h3{
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: rgba(11,18,32,.94);
}

.brands-showcase__slide-copy p{
  margin: 0;
  color: rgba(11,18,32,.72);
  line-height: 1.82;
  font-size: 15px;
  max-width: 31ch;
}

.brands-showcase__slide-media{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brands-showcase__slide-logo-wrap{
  width: 100%;
  min-height: 150px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(244,247,250,.96) 100%);
  border: 1px solid rgba(231,235,241,.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 8px 18px rgba(2,8,23,.035);
  position: relative;
  overflow: hidden;
}

.brands-showcase__slide-logo-wrap::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(192,42,48,.05), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,0) 50%);
  pointer-events: none;
}

.brands-showcase__slide-logo{
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(2,8,23,.06));
}

@keyframes brandsShowcaseLoop{
  from{
    transform: translate3d(0,0,0);
  }
  to{
    transform: translate3d(-50%,0,0);
  }
}

/* responsive */
@media (max-width: 1100px){
  .brands-showcase__img--awards{
    max-height: 460px;
  }

  .brands-showcase__group{
    gap: 18px;
    padding-right: 18px;
  }

  .brands-showcase__slide{
    width: 395px;
    min-height: 250px;
    grid-template-columns: minmax(0, 1fr) 135px;
  }

  .brands-showcase__slide-copy h3{
    font-size: 22px;
  }

  .brands-showcase__slide-logo{
    max-height: 68px;
  }
}

@media (max-width: 768px){
  .brands-showcase__media--awards{
    padding: 18px 16px;
    border-radius: 22px;
  }

  .brands-showcase__img--awards{
    max-height: 360px;
  }

  .brands-showcase__track{
    animation-duration: 34s;
  }

  .brands-showcase__group{
    gap: 14px;
    padding-right: 14px;
  }

  .brands-showcase__slide{
    width: 320px;
    min-height: auto;
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
    border-radius: 24px;
  }

  .brands-showcase__slide-copy p{
    max-width: none;
  }

  .brands-showcase__slide-logo-wrap{
    min-height: 120px;
    padding: 16px;
  }

  .brands-showcase__slide-logo{
    max-height: 58px;
  }
}

@media (max-width: 640px){
  .brands-showcase__img--awards{
    max-height: 300px;
  }

  .brands-showcase__slide{
    width: 280px;
  }

  .brands-showcase__slide-copy h3{
    font-size: 20px;
  }

  .brands-showcase__slide-copy p{
    font-size: 14px;
  }
}

/* =========================
   BRANDS SECTION 5
========================= */
.brands-commercial-split{
  background: #fff;
  padding: 0;
}

.brands-commercial-row{
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
}

.brands-commercial-row::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--brands-commercial-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  transform: scale(1.04);
  z-index: 0;
}

.brands-commercial-row::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(248,248,248,1) 0%,
      rgba(248,248,248,.98) 30%,
      rgba(248,248,248,.94) 50%,
      rgba(248,248,248,.78) 68%,
      rgba(248,248,248,.48) 85%,
      rgba(248,248,248,.16) 100%
    ),
    linear-gradient(180deg, rgba(11,18,32,.06), rgba(11,18,32,.06));
  z-index: 1;
}

.brands-commercial-text{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 78px 0;
}

.brands-commercial-text::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.34) 0%,
      rgba(255,255,255,.18) 44%,
      rgba(255,255,255,0) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.brands-commercial-inner{
  position: relative;
  z-index: 1;
  width: 100%;
  padding-left: max(20px, calc((100vw - 1200px)/2));
  padding-right: 54px;
}

.brands-commercial-media{
  position: relative;
  z-index: 2;
}

.brands-commercial-slider{
  margin-top: 24px;
}

.brands-commercial-slides{
  position: relative;
  min-height: 280px;
}

.brands-commercial-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .45s ease, transform .45s ease;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(231,235,241,.95);
  box-shadow: 0 18px 40px rgba(2,8,23,.07);
  padding: 24px;
  overflow: hidden;
}

.brands-commercial-slide::before{
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 14% 12%, rgba(192,42,48,.10), transparent 36%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

.brands-commercial-slide.is-active{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.brands-commercial-slide.is-active::before{
  opacity: 1;
}

.brands-commercial-slide-no{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #c02a30, #c02a30);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  position: relative;
  z-index: 1;
}

.brands-commercial-slide-body{
  position: relative;
  z-index: 1;
}

.brands-commercial-slide-body h3{
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.3;
  color: rgba(11,18,32,.92);
}

.brands-commercial-slide-body p{
  margin: 0;
  color: rgba(11,18,32,.74);
  line-height: 1.85;
}

.brands-commercial-dots{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.brands-commercial-dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(11,18,32,.16);
  transition: transform .2s ease, background .2s ease;
}

.brands-commercial-dot.is-active{
  background: #c02a30;
  transform: scale(1.15);
}

.brands-commercial-closing{
  margin-top: 20px;
  line-height: 1.85;
  max-width: 580px;
  color: rgba(11,18,32,.72);
}

/* responsive */
@media (max-width: 1100px){
  .brands-commercial-row{
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .brands-commercial-row::before{
    background-attachment: scroll;
  }

  .brands-commercial-row::after{
    background:
      linear-gradient(
        180deg,
        rgba(248,248,248,.98) 0%,
        rgba(248,248,248,.94) 40%,
        rgba(248,248,248,.88) 65%,
        rgba(248,248,248,.80) 100%
      ),
      linear-gradient(180deg, rgba(11,18,32,.06), rgba(11,18,32,.06));
  }

  .brands-commercial-text{
    padding: 52px 0;
  }

  .brands-commercial-inner{
    padding: 0 20px;
  }

  .brands-commercial-media{
    min-height: 220px;
  }
}

@media (max-width: 768px){
  .brands-commercial-slides{
    min-height: 320px;
  }

  .brands-commercial-slide{
    padding: 20px;
    border-radius: 24px;
  }

  .brands-commercial-slide-body h3{
    font-size: 21px;
  }
}

@media (max-width: 640px){
  .brands-commercial-text{
    padding: 40px 0;
  }

  .brands-commercial-slides{
    min-height: 360px;
  }

  .brands-commercial-slide-no{
    width: 42px;
    height: 42px;
  }

  .brands-commercial-slide-body h3{
    font-size: 19px;
  }

  .brands-commercial-slide-body p{
    font-size: 15px;
  }
}
/* final CTA */
.final-cta-content .final-sub{
  max-width: 760px;
}

/* responsive */
@media (max-width: 1100px){
  .brands-platform__grid,
  .brands-journey__grid,
  .brands-showcase__top{
    grid-template-columns: 1fr;
  }

  .brands-journey__cards{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-showcase__highlights{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-showcase__highlight.is-feature{
    grid-column: auto;
  }

  .brands-actions-grid{
    grid-template-columns: 1fr;
  }

  .brands-commercial__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brands-commercial__card.is-feature{
    grid-column: auto;
  }
}

@media (max-width: 768px){
  .brands-platform__media img{
    max-height: 520px;
  }

  .brands-journey__media{
    height: 300px;
  }

  .brands-showcase__media{
    height: 280px;
  }

  .brands-journey__cards,
  .brands-showcase__highlights,
  .brands-commercial__grid{
    grid-template-columns: 1fr;
  }

  .brands-action-card__media{
    height: 240px;
  }
}

@media (max-width: 640px){
  .brands-overview{
    padding-top: 40px;
  }

  .brands-platform__pillar,
  .brands-journey__card,
  .brands-showcase__highlight,
  .brands-commercial__card,
  .brands-action-card__body{
    padding: 18px;
  }

  .brands-action-card__media{
    height: 220px;
  }

  .brands-showcase__highlight{
    grid-template-columns: 42px 1fr;
  }

  .brands-showcase__no,
  .brands-commercial__no{
    width: 42px;
    height: 42px;
  }
}