/* About: the Hello tile heading cycles HELLO → ሰላም → HOLA → BONJOUR.
   Same colour, size, weight and left anchor as HELLO. Every word is
   stacked in one fixed 1em box inside the existing 76px heading, so the
   tile, bio and grid never move (0px change). */
@font-face {
  font-family: "HawiEthiopic";
  src: url("../fonts/NotoSansEthiopic-Hello-900.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1200-137F;
}
body.hawi-page .hp-main .hp-glance-hello .hp-hello-sr {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
body.hawi-page .hp-main .hp-glance-hello .hp-hello-cycle {
  position: relative;
  display: block;
  height: 1em;
  font-family: "HawiDisplay", sans-serif;
  font-weight: 400;
  line-height: 1;
  /* soft mask line just under the baseline, so words rise into place */
  clip-path: inset(-0.3em -0.6em 0.02em -0.3em);
}
body.hawi-page .hp-main .hp-glance-hello .hp-hello-word {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  line-height: 1;
  white-space: nowrap;
  font-family: "HawiDisplay", sans-serif;
  font-weight: 400;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  opacity: 0;
  transform: translate3d(0, 0.28em, 0);
  filter: blur(3px);
  transition:
    opacity 560ms cubic-bezier(.22, .61, .36, 1),
    transform 640ms cubic-bezier(.22, .61, .36, 1),
    filter 560ms cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform, filter;
}
body.hawi-page .hp-main .hp-glance-hello .hp-hello-word.is-on {
  opacity: 1;
  transform: none;
  filter: none;
  transition-delay: 140ms;
}
body.hawi-page .hp-main .hp-glance-hello .hp-hello-word.is-off {
  opacity: 0;
  transform: translate3d(0, -0.22em, 0);
  filter: blur(3px);
  transition-delay: 0ms;
}
/* Ge'ez has no glyphs in the display face. Noto Sans Ethiopic Black,
   condensed, sized so its letter height matches the Latin cap height
   (League Gothic cap .735em ÷ Ethiopic .714em ≈ 1.03). line-height 0 keeps
   it on HELLO's exact baseline. */
body.hawi-page .hp-main .hp-glance-hello .hp-hello-word .hp-hello-am {
  font-family: "HawiEthiopic", "Noto Sans Ethiopic", sans-serif;
  font-weight: 400;
  font-size: 1.03em;
  line-height: 0;
  letter-spacing: .01em;
  margin-left: -.028em; /* match HELLO's left ink edge (wider side bearing) */
  vertical-align: baseline;
}
@media (prefers-reduced-motion: reduce) {
  body.hawi-page .hp-main .hp-glance-hello .hp-hello-word { transition: none; }
  body.hawi-page .hp-main .hp-glance-hello .hp-hello-word:not(.is-hello) { display: none; }
  body.hawi-page .hp-main .hp-glance-hello .hp-hello-word.is-hello { opacity: 1; transform: none; filter: none; }
}
