/* === V5 HERO STYLES — abstract animated ============================ */

.v5-hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  --mx: 0;
  --my: 0;
  background: #fff6df;
  border-bottom: 4px solid #1a1410;
  isolation: isolate;
}

/* dotted grid background */
.v5-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(circle at center, #1a1410 1.4px, transparent 1.6px);
  background-size: 32px 32px;
  background-position: 0 0;
  opacity: 0.10;
  pointer-events: none;
}
.v5-hero::before {
  /* big soft color washes */
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 210, 58, 0.35), transparent 40%),
    radial-gradient(circle at 82% 18%, rgba(143, 62, 199, 0.20), transparent 38%),
    radial-gradient(circle at 18% 82%, rgba(47, 184, 166, 0.22), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(232, 52, 74, 0.20), transparent 40%);
  filter: blur(8px);
}

/* shape wrappers — parallax with mouse */
.v5-shape-wrap {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  transform: translate(
    calc(var(--mx) * -1px * 8),
    calc(var(--my) * -1px * 8)
  );
}

.v5-shape {
  display: block;
  width: 110px;
  height: 110px;
  filter: drop-shadow(4px 5px 0 rgba(26, 20, 16, 0.12));
  will-change: transform;
  /* depth multiplier on parallax */
  transform: translate(
    calc(var(--mx) * -1px * var(--depth, 3) * 4),
    calc(var(--my) * -1px * var(--depth, 3) * 4)
  );
}

/* size variants per shape type */
.v5-shape[viewBox$="200 200"] { width: 130px; height: 130px; } /* blobs/rings */
.v5-shape[viewBox$="220 220"] { width: 160px; height: 160px; } /* arcs */
.v5-shape[viewBox*="240 60"]  { width: 240px; height: 60px;  } /* squiggle */
.v5-shape[viewBox$="100 100"] { width: 88px;  height: 88px;  } /* cross / dots */
.v5-shape[viewBox$="120 120"] { width: 100px; height: 100px; } /* tri / stripes */
.v5-shape[viewBox$="140 140"] { width: 120px; height: 120px; } /* burst */

/* name + tagline */
.v5-name-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  padding: 0 24px;
}
.v5-name {
  width: min(70vw, 880px);
  height: auto;
  filter: drop-shadow(8px 8px 0 #1a1410);
  will-change: transform;
}
.v5-name path {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}

.v5-tagline-wrap { margin-top: 22px; }
.v5-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff6df;
  border: 3px solid #1a1410;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  color: #1a1410;
  box-shadow: 4px 4px 0 #1a1410;
  text-transform: lowercase;
}
.v5-tagline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e8344a;
  box-shadow: 0 0 0 2px #1a1410;
}

/* scroll cue */
.v5-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1410;
  background: #fff6df;
  border: 2px solid #1a1410;
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 2px 2px 0 #1a1410;
  animation: v5-cue-bob 1.6s ease-in-out infinite;
}
@keyframes v5-cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .v5-cue { animation: none; }
}
