/* Fixed brand words with a collapsible slot. Shared with the iframe version. */
.brand-typography {
  container-type: inline-size;
  color: #7d163f;
  text-align: center;
}
.brand-typography #hero-title,
html[dir] .has-hero-video .hero-core.brand-typography #hero-title {
  margin: 0;
  font: 900 clamp(19px, 7.8cqi, 49px)/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: -.04em;
}
#hero-title .out-series-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .1em;
  direction: ltr;
  white-space: nowrap;
  padding-block: .1em;
}
#hero-title .out-series-line > span { flex-shrink: 0; }
#hero-title .out-series-slot {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 0;
  height: 1.48em;
  border-radius: .28em;
  background: #ffd5e5;
  overflow: hidden;
}
#hero-title .out-series-word {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .24em;
  width: max-content;
  padding-inline: .42em;
  font-size: .78em;
  line-height: 1;
  letter-spacing: -.025em;
  color: #c60046;
  opacity: 0;
}
#hero-title .out-series-icon {
  display: block;
  flex: 0 0 auto;
  width: .85em;
  height: .85em;
}
#hero-title .out-series-icon:first-child { transform: scaleX(-1); }
.brand-typography .brand-tagline {
  margin: 12px 0 0;
  color: #7d163f;
  font: 700 clamp(10px, 2.3cqi, 13px)/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  direction: ltr;
}
html[dir] .has-hero-video .hero-core.brand-typography #hero-title {
  font-size: clamp(19px, 7.8cqi, 64px);
}
.has-hero-video .brand-typography .brand-tagline {
  margin-top: 8px;
  font-size: clamp(10px, 2cqi, 13px);
  letter-spacing: .2em;
}

.brand-concept-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background-size: 144px 144px;
  background-repeat: repeat;
  background-position: center;
  opacity: .75;
  pointer-events: none;
}
.brand-concept-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,#2510200d,#2510208c 38%,#2510208c 62%,#2510200d);
}
.has-hero-video .hero-core.brand-typography,
.has-hero-video .brand-typography .brand-tagline { color: #fff; }
.has-hero-video .brand-typography #hero-title { text-shadow: 0 2px 12px #210d2870; }
.has-hero-video #hero-title .out-series-slot {
  background: #ffd5e52e;
  box-shadow: inset 0 0 0 1px #ffffff45;
}
.has-hero-video #hero-title .out-series-word { color: #fff; }

/* A burst of unboxed icons radiates from the panel's centre. */
.brand-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.has-hero-video .brand-typography :is(h1, .brand-tagline) { position: relative; z-index: 1; }
.brand-floater {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  color: #df004c;
  filter: drop-shadow(0 1px 2px #fff9);
  opacity: 0;
}
.brand-floater svg { width: 100%; height: 100%; stroke-width: 2.3; }
.brand-floater:nth-child(4n + 1) { color: #ffcf40; }
.brand-floater:nth-child(4n + 2) { color: #b58aff; }
.brand-floater:nth-child(4n + 3) { color: #54d7b0; }
@media(max-width:800px) {
  .brand-concept-pattern { background-size: 112px 112px; }
  .brand-floater { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
}
@media(prefers-reduced-motion:reduce) { .brand-floaters { display: none; } }
.motion-paused .brand-floaters { display: none; }

/* This document can be embedded at any width without external dependencies. */
.brand-embed {
  display: grid;
  align-items: center;
  min-height: 100svh;
  margin: 0;
  background: transparent;
}
.brand-embed .brand-typography {
  box-sizing: border-box;
  width: min(600px, 100%);
  margin-inline: auto;
  padding: 20px 16px;
}
