.hero-system-profile {
  position: relative;
  z-index: 5;
  min-height: 196px;
  margin: -54px 0 -38px;
  display: grid;
  place-items: center;
  isolation: isolate;
  pointer-events: none;
}

.hero-system-profile::before,
.hero-system-profile::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(var(--blue-rgb), .24);
  border-radius: 50%;
  transform-origin: center;
  pointer-events: none;
}

.hero-system-profile::before {
  width: 330px;
  height: 154px;
  transform: translate(-50%, -50%) rotate(17deg);
  box-shadow: 0 0 80px rgba(var(--blue-rgb), .08);
}

.hero-system-profile::after {
  width: 282px;
  height: 188px;
  border-color: rgba(var(--teal-rgb), .22);
  transform: translate(-50%, -50%) rotate(-23deg);
}

.hero-profile {
  position: relative;
  z-index: 2;
  width: 164px;
  height: 164px;
  margin: 0;
  display: block;
  border-radius: 50%;
  color: var(--ink);
  pointer-events: auto;
  transition: transform .28s ease, filter .28s ease;
}

.hero-profile::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -42px -72px;
  border: 1px solid rgba(var(--amber-rgb), .22);
  border-radius: 50%;
  transform: rotate(64deg);
  pointer-events: none;
}

.hero-profile::after {
  content: "↗";
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  color: var(--paper);
  background: var(--player);
  box-shadow: 0 10px 24px rgba(var(--player-rgb), .22);
  font-size: 14px;
  font-weight: 800;
}

.hero-profile:hover {
  transform: translateY(-5px) scale(1.025);
  filter: saturate(1.06);
}

.hero-profile-frame {
  position: relative;
  width: 164px;
  height: 164px;
  padding: 7px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal) 58%, var(--tealLight));
  box-shadow:
    0 30px 70px rgba(var(--player-rgb), .24),
    0 0 0 13px rgba(var(--paper-rgb), .88),
    0 0 0 14px rgba(var(--blue-rgb), .12);
}

.hero-profile-frame::before,
.hero-profile-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 10px;
  height: 10px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(var(--blue-rgb), .12);
}

.hero-profile-frame::before {
  top: 7px;
  right: 22px;
  background: var(--blue);
}

.hero-profile-frame::after {
  left: 8px;
  bottom: 31px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(var(--teal-rgb), .12);
}

.hero-profile-frame img {
  width: 100%;
  height: 100%;
  display: block;
  border: 5px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  background: var(--paper);
}

.hero-profile-copy {
  display: none;
}

.engagement-band {
  position: relative;
  z-index: 2;
  padding: 0 28px 64px;
  background: var(--paper);
}

.engagement-band-inner {
  max-width: 1384px;
  margin: 0 auto;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  border-radius: 22px;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 20%, rgba(var(--blue-rgb), .55), transparent 34%),
    var(--ink);
  box-shadow: 0 24px 70px rgba(var(--player-rgb), .14);
}

.engagement-copy small {
  display: block;
  margin-bottom: 9px;
  color: var(--tealLight);
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.engagement-copy h3 {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: clamp(24px, 2.3vw, 38px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.engagement-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(var(--paper-rgb), .66);
  font-size: 14px;
  line-height: 1.6;
}

.engagement-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.engagement-actions a {
  min-height: 48px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--paper-rgb), .18);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 760;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.engagement-actions a:first-child {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.engagement-actions a:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--paper-rgb), .5);
}

.floating-contact {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 24px;
  min-height: 50px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(var(--paper-rgb), .18);
  border-radius: 14px;
  color: var(--paper);
  background: var(--player);
  box-shadow: 0 18px 48px rgba(var(--player-rgb), .24);
  font-size: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(var(--player-rgb), .3);
}

.floating-contact i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: var(--tealLight);
  box-shadow: 0 0 0 5px rgba(var(--teal-rgb), .12);
}

@media (max-width: 900px) {
  .hero-system-profile {
    min-height: 168px;
    margin: -28px 0 -30px;
  }

  .hero-system-profile::before {
    width: 280px;
    height: 132px;
  }

  .hero-system-profile::after {
    width: 240px;
    height: 158px;
  }

  .hero-profile,
  .hero-profile-frame {
    width: 136px;
    height: 136px;
  }

  .hero-profile::before {
    inset: -34px -58px;
  }

  .hero-profile::after {
    width: 34px;
    height: 34px;
    bottom: 7px;
  }

  .engagement-band {
    padding: 0 18px 42px;
  }

  .engagement-band-inner {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .engagement-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-system-profile {
    min-height: 136px;
    margin: 0 0 -22px;
  }

  .hero-system-profile::before {
    width: 232px;
    height: 112px;
  }

  .hero-system-profile::after {
    width: 204px;
    height: 134px;
  }

  .hero-profile,
  .hero-profile-frame {
    width: 112px;
    height: 112px;
  }

  .hero-profile::before {
    inset: -27px -46px;
  }

  .hero-profile::after {
    right: -2px;
    bottom: 4px;
    width: 31px;
    height: 31px;
    border-width: 3px;
    font-size: 12px;
  }

  .hero-profile-frame {
    padding: 5px;
    box-shadow:
      0 22px 52px rgba(var(--player-rgb), .22),
      0 0 0 9px rgba(var(--paper-rgb), .9),
      0 0 0 10px rgba(var(--blue-rgb), .12);
  }

  .hero-profile-frame img {
    border-width: 4px;
  }

  .engagement-actions a {
    width: 100%;
  }

  .floating-contact {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 14px;
  }
}
