﻿/* Fresh homepage layer â€” Group + Mega Global only.
   Adds a modern atmosphere (mesh, grain, gradient type, glass chips, scroll cue)
   without changing the copy or the existing hero images. */

/* Reading progress + reveal primitives (shared with human-ui.js) */
.hu-progress{ position:fixed; top:0; left:0; right:0; height:2px; transform-origin:0 50%; transform:scaleX(0);
  z-index:200; pointer-events:none; background:linear-gradient(90deg,var(--brand,#2563eb),var(--accent,#6ee7b7)); }
[data-hreveal]{ opacity:0; transform:translateY(18px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay:calc(var(--hu-i,0) * 70ms); }
[data-hreveal].hu-in{ opacity:1; transform:none; }
.hu-cursor-glow{ position:absolute; inset:0; pointer-events:none; z-index:2; opacity:0; transition:opacity .4s;
  background:radial-gradient(220px 220px at var(--x,50%) var(--y,50%), rgba(255,255,255,.16), transparent 70%); }
#home:hover .hu-cursor-glow{ opacity:1; }

/* â”€â”€ Group hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body[data-site="group"] #home .hero-img-wrap::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(70% 60% at 18% 18%, rgba(20,83,45,.55), transparent 62%),
    radial-gradient(55% 55% at 84% 22%, rgba(216,213,206,.16), transparent 65%),
    radial-gradient(80% 70% at 50% 110%, rgba(4,16,31,.75), transparent 60%);
  mix-blend-mode:multiply;
}
body[data-site="group"] #home .hero-content{ z-index:3; }
body[data-site="group"] .hero-title-accent{
  background:linear-gradient(100deg,#f8fafc 10%,#d8d5ce 42%,#ffffff 55%,#d8d5ce 68%,#f8fafc 92%);
  background-size:220% 100%; -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:huShine 9s linear infinite;
}
@keyframes huShine{ from{ background-position:0% 50%; } to{ background-position:220% 50%; } }

/* â”€â”€ Mega Global hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
body[data-site="megaglobal"] #home .hero-img-wrap::before{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(65% 60% at 15% 20%, rgba(10,79,85,.55), transparent 64%),
    radial-gradient(60% 55% at 86% 18%, rgba(94,234,212,.18), transparent 68%),
    radial-gradient(85% 70% at 50% 112%, rgba(2,20,20,.78), transparent 62%);
  mix-blend-mode:multiply;
}
body[data-site="megaglobal"] #home .hero-content{ z-index:3; }
body[data-site="megaglobal"] .accent-gradient{
  background:linear-gradient(100deg,#f8fafc 8%,#99f6e4 40%,#ffffff 55%,#99f6e4 70%,#f8fafc 94%);
  background-size:220% 100%; -webkit-background-clip:text; background-clip:text; color:transparent;
  animation:huShine 8s linear infinite;
}

/* â”€â”€ Shared hero refinements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#home .hero-badge{ backdrop-filter:blur(10px); }
#home .hero-ctas .hero-cta-primary{ transition:transform .18s ease, box-shadow .25s ease, background .2s ease; will-change:transform; }
#home .hero-ctas a{ will-change:transform; }

.hu-hero-chips{ position:relative; z-index:4; display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:26px; }
.hu-chip{
  display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:999px;
  font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:#fff; background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(12px); box-shadow:0 8px 24px -12px rgba(0,0,0,.55);
}
.hu-chip b{ font-size:14px; letter-spacing:0; }
.hu-chip i{ width:6px; height:6px; border-radius:999px; background:var(--accent,#d8d5ce); }

.hu-scroll{ position:absolute; left:50%; bottom:22px; transform:translateX(-50%); z-index:5;
  display:flex; flex-direction:column; align-items:center; gap:6px; color:rgba(255,255,255,.75);
  font-size:9px; letter-spacing:.26em; text-transform:uppercase; pointer-events:none; }
.hu-scroll::after{ content:""; width:1px; height:34px; background:linear-gradient(180deg,rgba(255,255,255,.85),transparent);
  animation:huDrop 1.8s ease-in-out infinite; }
@keyframes huDrop{ 0%,100%{ opacity:.25; transform:scaleY(.5); transform-origin:top; } 50%{ opacity:1; transform:scaleY(1); } }

@media (prefers-reduced-motion: reduce){
  .hu-progress, [data-hreveal], .hu-cursor-glow{ display:none !important; }
  body[data-site="group"] .hero-title-accent,
  body[data-site="megaglobal"] .accent-gradient{ animation:none; color:inherit; background:none; -webkit-text-fill-color:currentColor; }
  .hu-scroll::after{ animation:none; }
}

