.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(4.5rem, 12vh, 8.5rem) clamp(3rem, 8vh, 6rem);
  --hero-ray: var(--mob-vermillion);
}

.hero__decor {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__rays {
  position: absolute;
  top: -30%;
  right: -18%;
  width: min(1100px, 120vw);
  aspect-ratio: 1;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    var(--hero-ray) 0deg 0.55deg,
    transparent 0.55deg 7.5deg
  );
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 8%, rgba(0, 0, 0, .55) 40%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 8%, rgba(0, 0, 0, .55) 40%, transparent 70%);
  opacity: .16;
  animation: heroRayTurn 140s linear infinite;
}

@keyframes heroRayTurn {
  to { transform: rotate(1turn); }
}

.hero__tri {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 19px solid var(--mob-vermillion);
  opacity: .5;
  filter: drop-shadow(0 0 10px var(--mob-vermillion));
  animation: heroFloat 11s ease-in-out infinite;
}

.hero__tri--a { top: 18%; left: 6%; animation-delay: -1.5s; }
.hero__tri--b { top: 64%; left: 13%; rotate: 24deg; scale: .7; opacity: .35; animation-delay: -5s; }
.hero__tri--c { top: 28%; right: 7%; rotate: -18deg; scale: 1.25; opacity: .28; animation-delay: -8s; }

@keyframes heroFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -22px; }
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

@media (min-width: 1100px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero__eyebrow {
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  line-height: 1;
  margin-bottom: .25rem;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: .92;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: var(--glow-magenta,
    0 0 6px rgba(var(--white-rgb), .9),
    0 0 22px var(--mob-magenta),
    0 0 58px var(--mob-magenta));
  animation: flicker 9s ease-in-out infinite;
  will-change: opacity;
}

.hero__underline {
  display: block;
  width: min(340px, 70%);
  height: 2px;
  margin: 1.1rem 0 1.35rem;
  background: linear-gradient(90deg, var(--mob-magenta), var(--mob-magenta-2), transparent);
  box-shadow: 0 0 12px var(--mob-magenta);
  border-radius: 2px;
}

.hero__claim {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
}

.hero__claim-quote { color: var(--mob-magenta-2); }

.hero__claim-sep {
  width: 26px;
  height: 1px;
  background: var(--mob-magenta);
  box-shadow: 0 0 8px var(--mob-magenta);
}

.hero__claim-tail {
  color: var(--text-muted);
  font-weight: 400;
}

.hero__roles {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.4rem;
  padding: 0;
  list-style: none;
}

.hero__role {
  padding: .38rem .85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-600);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.hero__role:first-child {
  color: var(--text);
  border-color: var(--mob-magenta);
  box-shadow: 0 0 14px -4px var(--mob-magenta), inset 0 0 12px -8px var(--mob-magenta);
}

.hero__role:hover {
  color: var(--text);
  border-color: var(--mob-magenta-2);
  box-shadow: 0 0 16px -5px var(--mob-magenta-2);
}

.hero__bio {
  max-width: 54ch;
  margin: 0 0 1.6rem;
  color: var(--text-muted);
  font-size: clamp(.98rem, 1.6vw, 1.08rem);
  line-height: 1.65;
}

.hero__hl {
  color: var(--text);
  font-weight: 600;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: .95rem;
  width: 100%;
  max-width: 540px;
  padding: .95rem 1.25rem;
  margin: 0 0 1.7rem;
  border-radius: 20px;
}

.hero__dot {
  flex: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--text-muted);
}

.hero__status-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}

.hero__status-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}

.hero__status-detail {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hero__status[data-state="live"] {
  border-color: var(--mob-magenta);
  box-shadow: 0 0 26px -10px var(--mob-magenta), inset 0 0 22px -14px var(--mob-magenta);
}

.hero__status[data-state="live"] .hero__dot {
  background: var(--mob-magenta);
  animation: heroPulse 1.8s ease-out infinite;
}

.hero__status[data-state="live"] .hero__status-label {
  color: var(--mob-magenta-2);
  text-shadow: 0 0 14px var(--mob-magenta);
}

.hero__status[data-state="offline"] .hero__dot,
.hero__status[data-state="unknown"] .hero__dot {
  background: var(--ink-500);
  border: 1px solid var(--line);
}

.hero__status[data-state="loading"] .hero__dot {
  background: var(--text-muted);
  animation: heroPulseSoft 1.4s ease-in-out infinite;
}

@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0 var(--mob-magenta); }
  70%  { box-shadow: 0 0 0 14px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes heroPulseSoft {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

.hero__count {
  font-family: var(--font-display);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: var(--text);
  white-space: nowrap;
}

.hero__count-unit {
  color: var(--mob-magenta-2);
  font-size: .78em;
  margin: 0 .4em 0 .06em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 2.1rem;
}

.hero__cta-btn {
  min-width: 190px;
  justify-content: center;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}

.hero__avatar {
  position: relative;
  width: min(420px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--ink-700);
  box-shadow: 0 24px 70px -28px var(--ink-900);
}

.hero__avatar-img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.hero__scroll {
  display: none;
  text-decoration: none;
  color: var(--text-muted);
  transition: color .25s ease;
}

@media (min-width: 1100px) {
  .hero__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
    width: max-content;
    margin: 3.2rem auto 0;
  }
}

.hero__scroll:hover { color: var(--text); }

.hero__scroll-label {
  font-family: var(--font-display);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, var(--mob-magenta), transparent);
  box-shadow: 0 0 10px var(--mob-magenta);
  transform-origin: top;
  animation: heroScrollLine 2.4s ease-in-out infinite;
}

@keyframes heroScrollLine {
  0%, 100% { transform: scaleY(.45); opacity: .5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

@media (max-width: 1099px) {
  .hero__visual { order: -1; }
}

@media (max-width: 767px) {
  .hero { padding-block: clamp(3rem, 9vh, 5rem) 3rem; }
  .hero__status { padding: .85rem 1rem; gap: .75rem; }
  .hero__cta { width: 100%; }
  .hero__cta-btn { flex: 1 1 auto; min-width: 0; }
  .hero__tri--b, .hero__tri--c { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__rays,
  .hero__tri,
  .hero__dot,
  .hero__scroll-line,
  .hero__status[data-state="live"] .hero__dot,
  .hero__status[data-state="loading"] .hero__dot {
    animation: none !important;
  }

  .hero__title { opacity: 1; }
  .hero__scroll-line { transform: none; opacity: .8; }
}
