/* The homepage: two wordmark rows, MAZE and MIRA flipping to HYR HYR HYR and to MIRA and MAZE, set as one centred
   pair rather than dividing the screen into thirds. Typography, width fitting, the hover reveal and the two-tap
   behaviour on phones come from style.css / script.js unchanged; the Instagram and TikTok icons keep the foot. */

/* ---------- desktop: the pair in the middle of the window ---------- */
@media (min-width: 761px) {
  body.home-page {
    display: flex;
    align-items: center;
  }
  .home-page .landing {
    --row: min(11.45vw, 20.5vh);
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0 0 max(5.6vh, 52px);
    display: grid;
    grid-template-rows: none;
    grid-auto-rows: var(--row);
    row-gap: calc(var(--row) * 0.3);
    align-content: center;
  }
  /* the rows are only as tall as the letters now, so nothing may clip the ascenders */
  .home-page .mega-row { overflow: visible; }
}

/* ---------- phones: the compact centred pair, as the homepage has always been (mobile-layout css) ---------- */
@media (max-width: 760px) and (orientation: landscape) {
  .home-page .landing {
    padding: 12px 0 58px;
    gap: min(2.6vw, 2vh);
  }
  .home-page .mega-row { height: min(14.5vw, 13vh); }
}
