/* ==========================================================================
   Arcaneflow — Nocturne III · final v4 · the hero
   The live mark and floor under a drifting Milky Way of colour tiles (Mosaic). The copy fades in with the
   flower; "Powering the" builds letter by letter, then "OpenWeb." grows from blocks.
   ========================================================================== */
/* the face the block word is rasterised from */
@font-face { font-family: "NL Albert Sans 800"; src: url("../fonts/albert-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: block; }

.hero.bk .bk-copy { width: min(620px, 50%); }
.hero.bk h1 { margin-top: 22px; font-size: clamp(52px, 5.5vw, 90px); }
.hero.bk .bk-lead { display: block; font-size: .76em; line-height: 1; letter-spacing: -.055em; color: #F4F3FC; }
.hero.bk .bk-word { position: relative; display: block; margin-top: .02em; font-size: 1.3em; line-height: 1.04; }
.hero.bk .bk-text { font-weight: 800; letter-spacing: -.01em; white-space: nowrap; background: linear-gradient(90deg, #A6C9FF 4%, #B99BF2 50%, #F1A0D1 94%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* once the blocks take over, the real text stays (selectable, read by screen readers) but paints nothing */
.hero.bk .bk-copy.bk-ready .bk-text { background: none; }
.hero.bk .platform { margin-top: 22px; padding-top: 0; border-top: 0; max-width: 560px; }
.hero.bk .hero-actions { margin-top: 28px; gap: 28px; }
.bk-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; display: block; }
@media (min-width: 761px) and (max-height: 840px) {
  .hero.bk h1 { font-size: clamp(48px, min(5.5vw, 9.4vh), 90px); margin-top: 16px; }
  .hero.bk .platform { margin-top: 16px; }
  .hero.bk .hero-actions { margin-top: 20px; }
}
@media (max-width: 980px) { .hero.bk .bk-copy { width: min(540px, 60%); } .hero.bk h1 { font-size: clamp(46px, 6.3vw, 64px); } }
@media (max-width: 760px) {
  .hero.bk .bk-copy { width: 100%; }
  .hero.bk h1 { font-size: clamp(38px, 11vw, 54px); margin-top: 12px; }
  .hero.bk .bk-lead { font-size: .74em; }
  .hero.bk .platform { margin-top: 14px; font-size: 15px; }
  .hero.bk .hero-actions { margin-top: 18px; gap: 20px; }
}

/* the copy starts hidden while motion runs (bk-bloom.js fades it in) */
html:not(.af-paused) .hero.hx3 .eyebrow, html:not(.af-paused) .hero.hx3 .platform, html:not(.af-paused) .hero.hx3 .hero-actions { opacity: 0; }
.hero.hx3 .platform .t-blue { color: #8FDDFF; } .hero.hx3 .platform .t-pink { color: #FF86BF; }
.hero.hx3 .bk-scene { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero.hx3 .bk-lw { display: inline-block; white-space: nowrap; }
.hero.hx3 .bk-lc { display: inline-block; will-change: opacity, translate, filter; }
html:not(.af-paused) .hero.hx3 .bk-lead:not(:has(.bk-lc)) { opacity: 0; }
.hx-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .055; mix-blend-mode: overlay; }

/* The hero · Mosaic — the galaxy flowing through a fixed grid of flat colour cells, the way the mark is built from
   cubes; crisp stars over it, the live floor below. Albert Sans light with a Geist Pixel eyebrow. */
.hero.h3-05 { background: linear-gradient(180deg, #05040F 0%, #080A1E 50%, #0D1029 72%, #08081A 82%, #06060F 100%); }
.h3-05 .eyebrow { gap: 12px; font: 400 13px/1 "Geist Pixel", var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #E2DCF8; }
.h3-05 .eyebrow .pix { background: #FF6FB0; box-shadow: 8px 0 rgba(255, 111, 176, .5), 0 8px rgba(111, 160, 255, .5), 8px 8px rgba(111, 160, 255, .22); }
.h3-05 .bk-lead { font: 300 .84em/1 var(--f-head); letter-spacing: -.05em; color: #F7F3FD; }
.hero.h3-05 .platform { font: 400 18px/1.5 var(--f-head); letter-spacing: -.01em; color: #D5CFE6; }
