.brand-hero {
  --hero-controls: #173a42;
  --hero-control-hover: #fff9;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.brand-hero:has(.hero-teaser-slide.is-active) {
  --hero-controls: #f3fbfb;
  --hero-control-hover: #ffffff1f;
}
.hero-carousel-slides { display: grid; }
.hero-carousel-slide {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: clamp(435px, 39vw, 560px);
  position: relative;
  isolation: isolate;
  visibility: hidden;
  opacity: 0;
  background: radial-gradient(ellipse at 76% 48%, #cbe3e6, #e7eff0 44%, #f2f5f5 80%);
  transition: opacity .42s ease, visibility 0s .42s;
}
.hero-carousel-slide.is-active { z-index: 1; visibility: visible; opacity: 1; transition-delay: 0s; }
.brand-hero-inner {
  position: absolute;
  inset: 0;
  width: min(var(--page-width), calc(100% - 148px));
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
  padding-block: 28px 66px;
}
.brand-hero-copy { position: relative; z-index: 1; min-width: 0; }
.brand-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 5.05vw, 76px);
  line-height: 1.12;
  letter-spacing: -.065em;
  font-weight: 800;
}
.brand-hero :is(h1, .brand-hero-title) em { color: #0b6770; font-style: normal; white-space: nowrap; }
.brand-hero-description {
  max-width: 29em;
  color: #40535a;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.8;
}
.brand-hero .actions { margin-top: 21px; }
.brand-hero .button { min-height: 44px; border-radius: 25px; }
.brand-product { position: relative; display: grid; place-items: center; height: 100%; min-height: 0; isolation: isolate; }
.brand-product::before {
  content: "";
  position: absolute;
  z-index: -1;
  height: 98%;
  max-width: 98%;
  aspect-ratio: 1;
  border: 1px solid #6e999f41;
  border-radius: 50%;
}
.brand-product img {
  position: absolute;
  width: 93%;
  height: 95%;
  object-fit: contain;
  filter: drop-shadow(12px 17px 16px #172e3a43);
}
.brand-product-caption { position: absolute; right: 0; bottom: 0; color: #40565f; font-size: 11px; }

.hero-teaser-slide { background: #0b1619; color: #f4fcfd; }
.hero-teaser-slide .brand-hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero-teaser-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-teaser-slide::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: radial-gradient(ellipse at center, #09131980, transparent 82%);
}
.hero-teaser-name {
  margin: 8px 0 11px;
  font-size: clamp(47px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.055em;
}
.hero-teaser-category { color: #92dcdf; font-size: 15px; font-weight: 650; letter-spacing: .08em; }
.hero-teaser-date { color: #e0eff0; font-size: clamp(14px, 1.35vw, 19px); }
.hero-teaser-slide .actions { justify-content: center; }
.hero-teaser-slide .button { border-color: #90aeb3; background: #14272da6; }
.hero-teaser-slide .button:hover { border-color: #aedcdf; background: #28414a; }
.hero-teaser-slide .button span { color: #92dcdf; }

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand-hero[data-carousel-ready] .is-active .brand-hero-copy > * {
  animation: hero-copy-enter .52s cubic-bezier(.2, .65, .3, 1) both;
}
.brand-hero[data-carousel-ready] .is-active .brand-hero-copy > :nth-child(2) { animation-delay: .07s; }
.brand-hero[data-carousel-ready] .is-active .brand-hero-copy > :nth-child(3) { animation-delay: .14s; }
.brand-hero[data-carousel-ready] .is-active .brand-hero-copy > :nth-child(4) { animation-delay: .21s; }

.hero-carousel-controls { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-carousel-controls button {
  pointer-events: auto;
  border: 0;
  color: var(--hero-controls);
  background: transparent;
  cursor: pointer;
}
.hero-carousel-controls button:hover { background: var(--hero-control-hover); }
.hero-carousel-controls button:focus-visible { outline-color: currentColor; }
.hero-carousel-arrow {
  --arrow-angle: 45deg;
  position: absolute;
  top: 50%;
  right: clamp(5px, 1.7vw, 28px);
  width: 46px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  transform: translateY(-50%);
}
.hero-carousel-arrow[data-hero-previous] {
  --arrow-angle: -135deg;
  right: auto;
  left: clamp(5px, 1.7vw, 28px);
}
.hero-carousel-arrow::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid;
  border-right: 2px solid;
  transform: rotate(var(--arrow-angle));
}
.hero-carousel-pages {
  position: absolute;
  display: grid;
  justify-items: start;
  bottom: 15px;
  left: max(74px, calc((100% - var(--page-width)) / 2));
}
.hero-carousel-pages button {
  position: relative;
  min-height: 27px;
  padding: 3px 12px;
  font-size: 13px;
  border-radius: 0 4px 4px 0;
  opacity: .78;
}
.hero-carousel-pages button[aria-pressed="true"] { font-weight: 750; opacity: 1; }
.hero-carousel-pages button[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 0;
  width: 2px;
  border-radius: 2px;
  background: currentColor;
}
.hero-carousel-play {
  position: absolute;
  bottom: 20px;
  right: 76px;
  min-height: 40px;
  padding-inline: 12px;
  border-radius: 8px;
  font-size: 13px;
}
.hero-carousel-play:not(:focus-visible) { clip-path: inset(50%); pointer-events: none; }

@media (max-width: 760px) {
  .hero-carousel-slide { min-height: clamp(421px, 111vw, 510px); }
  .brand-hero-inner {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    justify-items: center;
    align-items: start;
    text-align: center;
    gap: 8px;
    padding-block: 29px 60px;
  }
  .brand-hero h1 { margin-bottom: 11px; font-size: clamp(31px, 7.8vw, 58px); }
  .brand-hero-description { max-width: 29em; margin-inline: auto; }
  .brand-hero .actions { justify-content: center; margin-top: 13px; }
  .brand-product { width: min(100%, 360px); }
  .brand-product img { width: 94%; height: 100%; }
  .brand-product-caption { bottom: -7px; right: 0; }
  .hero-teaser-slide .brand-hero-inner { grid-template-rows: 1fr; align-items: center; }
  .hero-carousel-arrow { top: 62%; width: 40px; height: 48px; }
  .hero-carousel-pages { left: 18px; bottom: 7px; }
  .hero-carousel-pages button { min-height: 25px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide { transition: none; }
  .brand-hero[data-carousel-ready] .is-active .brand-hero-copy > * { animation: none; }
}
