
.phead {
  --phead-fs: clamp(34px, 4.6vw, 60px);
  --phead-pt: clamp(52px, 8vh, 92px);
  --phead-pb: clamp(44px, 6vh, 76px);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--phead-pt) 0 var(--phead-pb);
  text-align: center;

  background: linear-gradient(180deg, #04091A 0%, #04091A 78%, rgba(4, 9, 26, 0) 100%);

  min-height: calc(var(--phead-pt) + var(--phead-pb) + 2 * 1.08 * var(--phead-fs));
  display: flex;
  align-items: center;
}

.phead__aura {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: -46%;
  width: min(1100px, 130%);
  height: 200%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(6, 160, 250, .17), rgba(1, 119, 237, .06) 55%, transparent 72%);
  pointer-events: none;
}

.phead__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(118% 82% at 50% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(118% 82% at 50% 0%, #000 0%, transparent 74%);
  pointer-events: none;
}

.phead__inner { position: relative; z-index: 1; width: 100%; }

.phead__title {
  font-size: var(--phead-fs);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
}
.phead__title em {
  font-style: normal;
  background: linear-gradient(100deg, #06A0FA, #7FE7FF 55%, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 640px) {
  .phead { padding: 44px 0 36px; }
  .phead__title { letter-spacing: -1.2px; }
}

@media (max-width: 640px) {
  .phead {
    --phead-fs: clamp(28px, 7.8vw, 30px);
    --phead-pt: 36px;
    --phead-pb: 32px;
    padding: var(--phead-pt) 0 var(--phead-pb);
    min-height: 0;
    text-align: left;
  }
  .phead__title { margin: 0; letter-spacing: -1px; }
  .phead__title br { display: none; }
}
