/* Bizappture homepage: cursor-tracking character hero.
   Attribute selectors only, because the page runtime (support.js) renders markup without classes. */
[data-bzt-hero] {
  --hero-bg: #0F75BC;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  height: calc(100dvh - 76px); /* viewport minus the sticky site header */
  min-height: 600px;
  max-height: 1000px;
  background: var(--hero-bg);
  color: #FFFDF6;
  border-bottom: 2px solid #14120F;
}
[data-bzt-hero-canvas] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* Shown if the frames fail to load: the static character, same placement. */
[data-bzt-hero-fallback] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: 66% 100%;
  display: none;
}
.bzt-hero-failed [data-bzt-hero-fallback] { display: block; }

[data-bzt-hero-inner] {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px clamp(40px, 8vh, 88px);
  display: flex;
  align-items: flex-end;
  pointer-events: none; /* let the canvas area stay "empty" for the cursor */
}
[data-bzt-hero-copy] {
  position: relative;
  max-width: 560px;
  pointer-events: auto;
}
[data-bzt-hero-eyebrow] {
  display: inline-flex; align-items: center; gap: 9px;
  background: #14120F; color: #FFFDF6;
  border-radius: 999px; padding: 8px 16px;
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  animation: fade 500ms ease both;
}
[data-bzt-hero-eyebrow] > span {
  width: 7px; height: 7px; border-radius: 50%; background: #FFFDF6; display: inline-block;
}
[data-bzt-hero-hi] {
  display: block;
  margin: 22px 0 0;
  font-family: "Dancing Script", cursive;
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  text-shadow: 0 4px 18px rgba(8, 30, 60, 0.28);
  animation: rise 720ms cubic-bezier(0.23,1,0.32,1) both; animation-delay: 40ms;
}
[data-bzt-hero-title] {
  font-family: var(--display, "Bricolage Grotesque", "Geist", sans-serif);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin: 10px 0 0;
  max-width: 12ch;
  text-wrap: balance;
  text-shadow: 0 6px 30px rgba(8, 30, 60, 0.22);
  animation: rise 720ms cubic-bezier(0.23,1,0.32,1) both; animation-delay: 60ms;
}
[data-bzt-hero-sub] {
  margin: 18px 0 0;
  max-width: 30ch;
  font-family: var(--display, "Bricolage Grotesque", "Geist", sans-serif);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(255, 253, 246, 0.9);
  animation: fade 600ms ease both; animation-delay: 300ms;
}
[data-bzt-hero-actions] {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px;
  animation: rise 720ms cubic-bezier(0.23,1,0.32,1) both; animation-delay: 220ms;
}

/* Custom cursor: glowing dot + aura ring, only over the hero (enabled by hero-home.js) */
[data-bzt-cursor], [data-bzt-aura] {
  position: fixed; top: 0; left: 0; z-index: 70;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform;
  transition: opacity 180ms ease;
}
.bzt-cursor-on [data-bzt-hero], .bzt-cursor-on [data-bzt-hero] * { cursor: none !important; }
.bzt-cursor-on [data-bzt-cursor], .bzt-cursor-on [data-bzt-aura] { opacity: 1; }
[data-bzt-cursor] {
  width: 8px; height: 8px;
  background: #fff;
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.75);
}
[data-bzt-aura] {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.25);
  transition: width 260ms cubic-bezier(0.23,1,0.32,1), height 260ms cubic-bezier(0.23,1,0.32,1),
              background-color 260ms ease, opacity 180ms ease;
}
.bzt-cursor-hover [data-bzt-aura] { width: 66px; height: 66px; background: rgba(255, 255, 255, 0.14); }

@media (max-width: 860px) {
  [data-bzt-hero-inner] { padding-left: 22px; padding-right: 22px; }
}
@media (max-width: 700px) and (orientation: portrait) {
  [data-bzt-hero] { height: calc(100svh - 64px); min-height: 640px; max-height: none; }
  [data-bzt-hero-inner] { padding-bottom: 32px; }
  [data-bzt-hero-copy] { width: 100%; }
  [data-bzt-hero-copy]::before {
    /* the character frame ends 40px below the copy's top edge; hide that seam */
    content: ""; position: absolute; inset: -90px -40px -120px -40px; z-index: -1;
    background: linear-gradient(to bottom, transparent 0, var(--hero-bg) 130px);
  }
  [data-bzt-hero-hi] { margin-top: 16px; font-size: 30px; }
  [data-bzt-hero-title] { font-size: 44px; max-width: none; }
  [data-bzt-hero-sub] { font-size: 18px; margin-top: 12px; }
  [data-bzt-hero-actions] { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-bzt-aura] { transition: opacity 180ms ease; }
}
