.wg-brand-hero {
  --wg-brand-detail-accent: #e53226;
  --wg-brand-detail-ink: #151515;
  --wg-brand-detail-pointer-x: 78%;
  --wg-brand-detail-pointer-y: 35%;
  position: relative;
  display: grid;
  min-height: clamp(22rem, 35vw, 31rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 4.75rem);
  overflow: hidden;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.15fr) minmax(14rem, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4.5rem);
}

.wg-brand-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.wg-brand-hero::after {
  position: absolute;
  z-index: -2;
  right: -9%;
  bottom: -48%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--wg-brand-detail-accent);
  content: "";
  opacity: .09;
}

.wg-brand-hero__glow {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: .4rem;
  height: 100%;
  background: var(--wg-brand-detail-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}

.wg-brand-hero.is-visible .wg-brand-hero__glow { transform: scaleY(1); }

.wg-brand-hero__content {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.wg-brand-hero__eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: .9rem;
  gap: .7rem;
  color: var(--wg-brand-detail-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.wg-brand-hero__eyebrow::before {
  width: 2.25rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.wg-brand-hero__title {
  margin: 0;
  color: var(--wg-brand-detail-ink);
  font-size: clamp(2.35rem, 5.7vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .94;
}

.wg-brand-hero__title-prefix,
.wg-brand-hero__name { display: block; }

.wg-brand-hero__title-prefix {
  font-size: .42em;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.25;
}

.wg-brand-hero__name {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin-top: .05em;
  color: var(--wg-brand-detail-ink);
  text-transform: uppercase;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  white-space: nowrap;
}

.wg-brand-hero__name::after {
  position: absolute;
  right: 0;
  bottom: -.12em;
  left: 0;
  height: .08em;
  border-radius: 99rem;
  background: var(--wg-brand-detail-accent);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .75s .35s cubic-bezier(.16, 1, .3, 1);
}

.wg-brand-hero.is-visible .wg-brand-hero__name::after { transform: scaleX(1); }

.wg-brand-hero__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(.28em) rotate(4deg);
  transition: opacity .5s ease, transform .65s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(.16s + var(--wg-letter-index) * 55ms);
}

.wg-brand-hero.is-visible .wg-brand-hero__letter {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.wg-brand-hero__description {
  max-width: 43rem;
  margin-top: clamp(1.35rem, 2.4vw, 2rem);
  color: rgb(21 21 21 / .72);
  font-size: clamp(.95rem, 1.35vw, 1.075rem);
  line-height: 1.7;
}

.wg-brand-hero__description > :last-child { margin-bottom: 0; }

.wg-brand-hero__cta {
    display: inline-flex;
    min-height: 3rem;
    margin-top: 1.75rem;
    padding: .8rem 1.15rem .8rem 1.3rem;
    align-items: center;
    gap: .7rem;
    border-radius: 20px 2px;
    /* background: #151515; */
    /* box-shadow: 6px 6px 0 0 rgb(0 0 0 / 11%); */
    /* color: #fff; */
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.wg-brand-hero__cta:hover, .wg-brand-hero__cta:focus-visible {
    background: rgb(255 255 255);
    box-shadow: 2px 2px 0px 4px #000000;
    color: #000000;
    transform: translateY(-2px);
}

.wg-brand-hero__cta:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--wg-brand-detail-accent) 35%, transparent);
  outline-offset: 3px;
}

.wg-brand-hero__cta svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .25s ease;
}

.wg-brand-hero__cta:hover svg,
.wg-brand-hero__cta:focus-visible svg { transform: translateY(.18rem); }

.wg-brand-hero__visual {
  position: relative;
  display: grid;
  width: min(100%, 24rem);
  justify-self: center;
  aspect-ratio: 1;
  place-items: center;
  transform: perspective(900px) rotateX(var(--wg-brand-logo-rotate-x, 0deg)) rotateY(var(--wg-brand-logo-rotate-y, 0deg));
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}

.wg-brand-hero__orbit {
  position: absolute;
  border: 1px solid rgb(21 21 21 / .12);
  border-radius: 50%;
}

.wg-brand-hero__orbit--outer {
  inset: 0;
  border-style: dashed;
  animation: wg-brand-orbit 28s linear infinite;
}

.wg-brand-hero__orbit--inner {
  inset: 13%;
  border-color: color-mix(in srgb, var(--wg-brand-detail-accent) 28%, transparent);
}

.wg-brand-hero__logo-shell {
  position: relative;
  display: grid;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2.2rem 4rem rgb(21 21 21 / .13), inset 0 0 0 1px rgb(21 21 21 / .06);
  place-items: center;
  transform: translateZ(2rem);
}

.wg-brand-hero__logo-shell::before {
  position: absolute;
  inset: -.55rem;
  border: .18rem solid var(--wg-brand-detail-accent);
  border-radius: inherit;
  content: "";
  opacity: .82;
  clip-path: polygon(0 0, 76% 0, 76% 18%, 100% 18%, 100% 100%, 24% 100%, 24% 82%, 0 82%);
}

.wg-brand-hero__logo {
  display: block;
  width: 78%;
  height: 78%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .35s ease, transform .5s cubic-bezier(.16, 1, .3, 1);
}

.wg-brand-hero__wordmark {
  position: absolute;
  z-index: 0;
  top: 80%;
  left: 50%;
  width: max-content;
  max-width: none;
  color: var(--wg-brand-detail-accent);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: clamp(8rem, 18vw, 22rem);
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: .78;
  opacity: .04;
  pointer-events: none;
  text-transform: uppercase;
  transform: translate(-50%, -50%) scaleX(.94);
  transform-origin: center;
  user-select: none;
  white-space: nowrap;
}

.wg-brand-hero--has-logo .wg-brand-hero__logo {
  opacity: 1;
  transform: scale(1);
}

.wg-brand-hero--wordmark .wg-brand-hero__logo {
  display: none;
}

.wg-brand-hero--wordmark .wg-brand-hero__logo-shell {
  opacity: 0;
}

.wg-brand-hero__long-description {
  max-width: 60rem;
  margin: -1rem 0 clamp(2rem, 4vw, 3.5rem);
  color: var(--bs-secondary-color);
  line-height: 1.75;
}

@keyframes wg-brand-orbit { to { transform: rotate(360deg); } }

@media (max-width: 991.98px) {
  .wg-brand-hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) minmax(11rem, .65fr);
  }
}

@media (max-width: 767.98px) {
  .wg-brand-hero {
    padding: 1.75rem 1.35rem 2rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .wg-brand-hero__visual {
    width: min(72vw, 18rem);
    grid-row: 1;
  }

  .wg-brand-hero__content { text-align: center; }
  .wg-brand-hero__eyebrow { justify-content: center; }
  .wg-brand-hero__name { margin-inline: auto; }
  .wg-brand-hero__description { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .wg-brand-hero__glow,
  .wg-brand-hero__letter,
  .wg-brand-hero__name::after,
  .wg-brand-hero__cta,
  .wg-brand-hero__cta svg,
  .wg-brand-hero__visual { transition: none; }

  .wg-brand-hero__letter {
    opacity: 1;
    transform: none;
  }

  .wg-brand-hero__orbit--outer { animation: none; }
}
