
  /* The shader is the hero's paper. It's anchored to the top of the page
     (absolute, not fixed) so it scrolls AWAY with the hero — the names ride up
     out of view instead of hanging pinned while the next section slides over
     them (that pinned-while-scrolling look was the "parallax"). Every section
     below is opaque, so nothing relies on seeing it through them. */
  #gl{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;                /* fallback: iOS Safari < 15.4 lacks svh — full height, never a 0-height collapse */
    height: 100svh;
    display: block;
    z-index: 0;
    opacity: 0;                   /* faded + focused in once the typed intro resolves */
    filter: blur(16px);
    transition: opacity 1.15s ease .3s, filter 1.2s ease .3s;
  }
  /* `none`, not blur(0): it animates from blur(16px) the same way, but once the
     transition is over the canvas carries no filter at all. A blur(0) left on it
     kept the full-screen canvas behind a filter pass on every frame it drew. */
  body.revealed #gl{ opacity: 1; filter: none; }

  .hero{
    position: relative;
    z-index: 1;
    height: 100vh;                /* fallback: iOS Safari < 15.4 lacks svh */
    height: 100svh;
    width: 100%;
    pointer-events: none;         /* let the canvas feel every move */
  }

  /* ── centered invitation block ────────────────────── */
  .center{
    position:absolute; inset:0;
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    text-align:center;
    padding: 0 24px;
    transform: translateY(-2.2vh);
  }

  .names{
    font-family: 'LF Serif', 'Fraunces', Georgia, 'Times New Roman', serif;   /* the names stay in LoveFrom Serif; PF Regal Text is for the Cyrillic titles */
    font-weight: 440;
    font-optical-sizing: auto;
    /* Fluid: the full line "Noormuhammad & Sumaya" is ~12.5× the font-size wide,
       so it only fits on one line above ~1300px. Below that it wraps to two lines
       ("Noormuhammad" / "& Sumaya" — bound by the &nbsp; in the markup). The
       longest line, "Noormuhammad", is ~7.7em, so the vw term keeps it inside
       the viewport minus the 24px side padding instead of overflowing. The
       shader bakes the names from their ACTUAL wrapped line-boxes (see
       stampText), so the two-line phone layout reveals correctly in the cloth. */
    font-size: clamp(34px, calc(12.6vw - 6px), 100px);
    line-height: .94;
    letter-spacing: -0.022em;
    margin: clamp(22px, 3.4vh, 40px) 0;
    color: var(--ink);
    /* soft halo keeps names crisp when colour bleeds in behind */
    text-shadow: 0 0 36px rgba(255,255,255,.55), 0 0 12px rgba(255,255,255,.5);
  }
  .names .amp{ font-weight: 360; padding: 0 .04em; }

  .meta{
    font-size: clamp(9.9px, 1.24vw, 13.2px);
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(255,255,255,.7);
  }
  .meta .arrow{ margin: 0 .55em; opacity:.75; }
