/* ===========================================================================
   AlloTech.AI — visual layer
   Restores the design language of the previous homepage (animated aurora
   background, photographic AI-employee avatars, hover lift + spotlight,
   live status pulse, scroll reveal) on top of the accessible token set.
   Every motion rule is disabled under prefers-reduced-motion.
   =========================================================================== */

/* ------------------------------------------------------------- aurora field */
.aurora {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none; background: var(--navy-900);
}
.aurora span {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(70px); opacity: .85; will-change: transform;
}
.aurora .a1 {
  width: 46vw; height: 46vw; left: -8vw; top: -10vw;
  background: radial-gradient(circle, rgba(0,200,255,.42), transparent 70%);
  animation: aurora-1 26s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 40vw; height: 40vw; right: -6vw; top: 12vh;
  background: radial-gradient(circle, rgba(56,189,248,.30), transparent 70%);
  animation: aurora-2 32s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 52vw; height: 52vw; left: 22vw; bottom: -22vw;
  background: radial-gradient(circle, rgba(15,163,206,.28), transparent 70%);
  animation: aurora-3 38s ease-in-out infinite alternate;
}
@keyframes aurora-1 { from { transform: translate3d(0,0,0) scale(1); }
                      to   { transform: translate3d(6vw,7vh,0) scale(1.15); } }
@keyframes aurora-2 { from { transform: translate3d(0,0,0) scale(1.1); }
                      to   { transform: translate3d(-7vw,10vh,0) scale(1); } }
@keyframes aurora-3 { from { transform: translate3d(0,0,0) scale(1); }
                      to   { transform: translate3d(-5vw,-8vh,0) scale(1.2); } }

/* Sections sit on the aurora, so they need their own translucent ground. */
body { background: transparent; }
section.alt { background: rgba(14,21,36,.72); backdrop-filter: blur(6px); }
header.site { background: rgba(11,15,26,.82); }
footer.site { background: rgba(6,11,20,.88); }

/* ------------------------------------------------------------- glass cards */
.card {
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(14px);
  border-top-color: rgba(255,255,255,.10);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
  position: relative; overflow: hidden;
}
section.alt .card { background: rgba(18,28,46,.6); }
.card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(420px circle at 50% 0%, rgba(0,200,255,.13), transparent 70%);
}
.card:hover { transform: translateY(-3px); border-color: rgba(0,200,255,.34); }
.card:hover::after { opacity: 1; }

/* ------------------------------------------------- AI employee avatar cards */
.emp { padding: 0; display: flex; flex-direction: column; }
.emp .shot { position: relative; height: 208px; overflow: hidden; flex: none; }
.emp .shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.emp:hover .shot img { transform: scale(1.06); }
.emp .shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,15,26,.97) 4%, rgba(11,15,26,.35) 46%, transparent 78%);
}
.emp .live {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--ok);
}
.emp .dot { position: relative; width: 7px; height: 7px; }
.emp .dot i, .emp .dot b {
  position: absolute; inset: 0; border-radius: 50%; background: var(--ok); display: block;
}
.emp .dot i { animation: status-pulse 2.2s ease-out infinite; }
@keyframes status-pulse {
  0%   { transform: scale(1); opacity: .9; }
  100% { transform: scale(3); opacity: 0; }
}
.emp .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.emp .body .top { display: block; margin-bottom: 12px; }
.emp .body .top h3 { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin: 0 0 3px; }
.emp .body .role { font-size: 13.5px; }
.emp .body p { flex: 1; }

/* ---------------------------------------------------------- scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.d1.in { transition-delay: .08s; }
.reveal.d2.in { transition-delay: .16s; }
.reveal.d3.in { transition-delay: .24s; }

/* ------------------------------------------------------------ hero accents */
.hero { position: relative; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--cyan) 10%, #7FE7FF 55%, var(--text) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; background: rgba(15,23,42,.5);
}
.chip b { color: var(--cyan); font-weight: 700; }

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .aurora span { animation: none !important; }
  .emp .dot i { animation: none !important; opacity: 0 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card:hover, .emp:hover .shot img { transform: none !important; }
}

/* =========================================================================
   Content protection (owner request).
   Discourages casual mouse-drag copying of body copy. Deliberately does NOT
   apply to form fields, and does not block right-click or keyboard use.
   ========================================================================= */
main, header.site, footer.site { -webkit-user-select: none; user-select: none; }
input, textarea, select, [contenteditable="true"], .selectable,
address, code, pre, a[href^="mailto:"], a[href^="tel:"] {
  -webkit-user-select: text !important; user-select: text !important;
}
main img, .emp .shot img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }

/* ------------------------------------------------------------- hero visual */
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 52px; align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 34px; } }
.hero-art { position: relative; }
.hero-art .frame {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.hero-art .frame img { width: 100%; height: auto; display: block; }
.hero-art .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,15,26,.9), transparent 55%);
}
.hero-art .panel {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  background: rgba(11,15,26,.82); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.10); border-radius: 13px; padding: 14px 16px;
}
.hero-art .panel .hd {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted);
}
.hero-art .panel .hd .dot { position: relative; width: 7px; height: 7px; }
.hero-art .panel .hd .dot i, .hero-art .panel .hd .dot b {
  position: absolute; inset: 0; border-radius: 50%; background: var(--ok); display: block;
}
.hero-art .panel .hd .dot i { animation: status-pulse 2.2s ease-out infinite; }
.hero-art .row {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13.5px; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.06);
}
.hero-art .row:first-of-type { border-top: 0; }
.hero-art .row .who { color: var(--text); font-weight: 600; }
.hero-art .row .what { color: var(--muted); text-align: right; }
@media (prefers-reduced-motion: reduce) { .hero-art .panel .hd .dot i { animation: none; opacity: 0; } }

.hero-copy { min-width: 0; }
.hero-copy .lede, .hero-copy .trust-strip { max-width: 54ch; }
