/* Brand full-bleed. Metrics from template-spec/08-brand-screen.md */

.brand-screen {
  position: relative;
  overflow: clip;
  z-index: 1;
  height: 954px;
  margin-top: -45px;
  background: rgb(21, 21, 21);
  color: #fff;
  transform: translateY(-450px);
}

.brand-parallax {
  position: absolute;
  top: -15px;
  left: -3.6806%;
  width: 107.3611%;
  height: 103.1447%;
  will-change: transform;
  transform-origin: 50% 50%;
}

.brand-parallax img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-stacks {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 954px;
  padding: 120px 60px 217px;
  overflow: clip;
}

#textanimactivation {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(954px - 120px - 217px);
  gap: 16px;
}

.brand-top {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 24px;
}

.brand-headline {
  margin: 0;
  width: 487px;
  max-width: 100%;
  font-size: 66px;
  line-height: 66px;
  font-weight: 500;
}

html[lang="ja"] .brand-headline,
html[lang="zh"] .brand-headline {
  width: 680px;
}

.brand-fill {
  background-image: linear-gradient(203deg, rgb(255, 255, 255) 33%, rgba(255, 255, 255, 0.4) 84%);
  background-clip: text;
  -webkit-background-clip: text;
  color: rgb(0, 0, 0);
  -webkit-text-fill-color: rgba(0, 0, 0, 0);
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  background: #fff;
  color: #000;
  border-radius: 12px;
  font-size: 16px;
  line-height: 15.2px;
  font-weight: 500;
  letter-spacing: -0.32px;
  white-space: nowrap;
  transition: border-radius 0.2s ease, transform 0.2s ease;
}

.brand-btn:hover {
  border-radius: 20px;
  transform: scale(0.95);
}

.brand-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 640px;
  max-width: 100%;
}

.brand-kicker {
  margin: 0;
  font-size: 32px;
  line-height: 35.2px;
  font-weight: 500;
  color: #fff;
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 13.3px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.brand-chip:hover {
  background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 809.98px) {
  .brand-screen,
  .brand-stacks {
    height: auto;
    min-height: 954px;
  }

  .brand-stacks {
    padding: 120px 20px 217px;
  }

  #textanimactivation {
    gap: 80px;
  }

  .brand-headline {
    font-size: 50px;
    line-height: 50px;
    width: 350px;
    text-align: left;
  }

  .brand-top {
    align-items: flex-start;
    text-align: left;
  }

  .brand-bottom,
  .brand-kicker {
    width: 350px;
    max-width: 100%;
  }

  .brand-kicker {
    line-height: 33.6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-screen,
  .brand-parallax {
    transform: none !important;
  }
}
