/* Home hero in the glyph canon (see /GLYPHS.md). The phrases stay in the page as real text;
   with JS they are read out by screen readers while the canvas shows them made of symbols. */
.section_home-header { position: relative; }

.pu-gh_cv {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%; /* JS makes it taller than the hero so the symbols thin out into the next block */
  pointer-events: none;
  z-index: 1;
}

.pu-gh {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3em;
  width: 100%;
  min-height: clamp(260px, 40vh, 400px);
  text-align: center;
}

.pu-gh_t {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #16141a;
}

.pu-gh-on .pu-gh_t {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pu-gh-on .pu-hero-btns {
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 1.8s ease, transform 1.8s cubic-bezier(.2, .8, .2, 1);
}

.pu-gh-on.is-cta .pu-hero-btns {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .pu-gh { min-height: clamp(240px, 36vh, 320px); }
}

/* buttons made of symbols that shimmer in rainbow tints (drawn by pu-hero.js) */
.pu-gb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.pu-gb-on .button_gradient,
.pu-gb-on .button_gradient-glow { display: none !important; }

.pu-hero-btns > .button.pu-gb-on .button_inner { background: #0f0b18; }
.pu-hero-btns > .button.pu-gb-on .button_text { color: #fff; text-shadow: 0 0 6px #0f0b18, 0 0 14px rgba(15, 11, 24, .9); }
.pu-hero-btns > .button.pu-btn-light.pu-gb-on .button_inner { background: #fff; }
.pu-hero-btns > .button.pu-btn-light.pu-gb-on .button_text { color: #1a1a1a; text-shadow: 0 0 6px #fff, 0 0 14px rgba(255, 255, 255, .95); }

.pu-gh-on .pu-hero-btns .button_text {
  opacity: 0;
  transition: opacity 1.4s ease 1.2s;
}

.pu-gh-on.is-cta .pu-hero-btns .button_text { opacity: 1; }

/* the phrase and the buttons sit a little higher than the middle of the screen */
.section_home-header .home-header_component { top: -7vh; }
/* phones: higher still, and the first screen keeps only the phrase, the button and the stores */
@media (max-width: 767px) {
  .section_home-header .home-header_component { top: -19vh; top: -19svh; }
  .section_home-header .home-header_labels-wrap { display: none; }
}
