/* ============================================================
   AFTERBURN — home.css
   index.html ONLY. Loaded after site-fx.css. Holds only the
   homepage-specific layout (hero, manifesto grid, stats sizing,
   gallery, CTA). The shared animation engine lives in site-fx.css.
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */

.home .hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 clamp(2rem, 5vw, 4rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
}
.hero__blob--1 {
  width: 46vw; height: 46vw;
  top: -12vw; left: -10vw;
  background: radial-gradient(circle, var(--c-cyan), transparent 70%);
}
.hero__blob--2 {
  width: 40vw; height: 40vw;
  bottom: -14vw; right: -8vw;
  background: radial-gradient(circle, var(--c-magenta), transparent 70%);
}
.hero__blob--3 {
  width: 28vw; height: 28vw;
  top: 30%; right: 22%;
  background: radial-gradient(circle, var(--c-gold), transparent 70%);
  opacity: 0.4;
}

.hero__inner-bold {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.hero__eyebrow-bold {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin-bottom: clamp(1rem, 2vw, 1.75rem);
}

.hero__kicker {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 13vw, 11rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: var(--color-text);
}
/* The split-line wrapper clips horizontally (overflow:hidden), and Lyzero's
   first/last glyphs (e.g. the "C" in COGNITA) have ink past their advance box,
   so the edges shave off. Give the line a hair of room and offset it back to
   keep the text aligned. */
.hero__kicker .split-line {
  padding-left: 0.12em;
  margin-left: -0.12em;
  padding-right: 0.12em;
  margin-right: -0.12em;
}

.hero__kicker--grad,
.hero__kicker--grad .split-unit {
  background: linear-gradient(100deg, var(--c-cyan) 10%, var(--c-magenta) 60%, var(--c-gold) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  max-width: 46ch;
  opacity: 0.85;
}

.hero__actions-bold {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .hero__actions-bold {
    justify-content: center;
    gap: 0.75rem;
  }
  .hero__actions-bold .btn {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.hero__banner {
  position: relative;
  z-index: 1;
  width: 100%;
  /* soft fade into the page background at the bottom edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.hero__banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* banner reveal: fade + gentle zoom-out for a smooth entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .home .hero__banner[data-reveal] {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out);
  }
  .js .home .hero__banner[data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

.home .scroll-cue--banner {
  position: static;
  transform: none;
  left: auto;
  bottom: auto;
  margin: -10vh auto 0;
}

@media (max-width: 860px) {
  .home .scroll-cue { display: none; }
}

/* ============================================================
   STATS BAND (homepage sizing + hover)
   ============================================================ */

.home .section--dark { position: relative; overflow: hidden; }

.home .stat-item {
  position: relative;
  border-radius: var(--radius-lg);
  transition: background-color var(--transition), transform var(--transition);
}
.home .stat-item:hover { background: rgba(255,255,255,0.04); transform: translateY(-4px); }

.home .stat-number { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.home .stat-label { opacity: 0.55; }

/* ============================================================
   MANIFESTO — sticky heading + scroll word reveal layout
   ============================================================ */

.manifesto__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.manifesto__head {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}
.manifesto__eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-magenta);
  margin-bottom: 1rem;
}
.manifesto__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  line-height: 1.12;
}
.manifesto__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--c-cyan), var(--c-magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.manifesto__text {
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.manifesto__text strong {
  font-weight: 700;
  color: var(--c-magenta);
}

@media (max-width: 800px) {
  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__head { position: static; }
}

/* ============================================================
   GALLERY — zoom on hover
   ============================================================ */

.home .gallery__item { will-change: transform; }
.home .gallery__item img { transition: transform 0.6s var(--ease-out); }
.home .gallery__item:hover img { transform: scale(1.07); }

/* ============================================================
   CTA BLOCK
   ============================================================ */

.cta-bold {
  background: linear-gradient(120deg, var(--color-text) 0%, #15294d 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-bold__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.cta-bold__title {
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  line-height: 1.1;
}
.cta-bold__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--c-cyan), var(--c-gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-bold__text {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  opacity: 0.8;
  max-width: 56ch;
}
.cta-bold__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cta-bold .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.cta-bold .btn--outline:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
.cta-bold__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,191,191,0.25), transparent 70%);
  top: -20vw; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  filter: blur(40px);
}
