/* ==========================================================================
   SYFY AGENTS — Mixed light/dark redesign v2.2
   Accent: electric azure + coral
   Type: Rajdhani (headings) / Inter (body) — matching live site
   ========================================================================== */

:root {
  --ink: #0e1016;
  --ink-2: #161922;
  --ink-3: #1e2330;
  --paper: #f7f5f2;
  --paper-2: #faf8f5;
  --mist: #efece7;
  --text-dark: #12151c;
  --text-soft: #667085;
  --ivory: #f3f5fa;
  --ivory-soft: #c5cbd8;
  --muted-dark: #8b93a7;
  --azure: #3d7eff;
  --azure-deep: #255fe0;
  --azure-soft: rgba(61, 126, 255, 0.12);
  --coral: #ff4b6e;
  --coral-deep: #e6355a;
  --line-light: rgba(18, 21, 28, 0.08);
  --line-dark: rgba(243, 245, 250, 0.12);
  --brand: "Rajdhani", "Inter", sans-serif;
  --display: "Rajdhani", "Inter", sans-serif;
  --sans: "Inter", sans-serif;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow: 0 16px 40px rgba(61, 126, 255, 0.28);
  --glow-coral: 0 16px 40px rgba(255, 75, 110, 0.28);
  --texture-white: #f6f4f0;
  --mx: 50%;
  --my: 50%;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.syfy-body {
  margin: 0;
  background: var(--texture-white);
  color: var(--text-dark);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

/* Soft cursor glow that follows the mouse */
.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(61, 126, 255, 0.16) 0%, rgba(255, 75, 110, 0.08) 35%, transparent 70%);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform;
}

body.has-pointer .cursor-glow { opacity: 1; }
body.is-loading .cursor-glow { opacity: 0; }

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

em {
  font-style: normal;
  font-weight: 700;
  color: var(--azure);
}

.section-dark em,
.site-footer em { color: #7eb0ff; }

.hero-title em { color: var(--azure-deep); }

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.accent { color: var(--coral); }

/* Theme surfaces — textured warm white */
.section-light {
  position: relative;
  overflow: hidden;
  background-color: var(--texture-white);
  background-image:
    radial-gradient(ellipse 80% 60% at var(--mx) var(--my), rgba(61, 126, 255, 0.07), transparent 55%),
    radial-gradient(ellipse at 12% 18%, rgba(61, 126, 255, 0.05), transparent 42%),
    radial-gradient(ellipse at 88% 78%, rgba(255, 75, 110, 0.045), transparent 40%),
    linear-gradient(180deg, #faf8f5 0%, #f4f1ec 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-blend-mode: normal, normal, normal, normal, soft-light;
  color: var(--text-dark);
}

.section-light::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.section-light .section-code { color: var(--coral); }
.section-light .section-lead { color: var(--text-soft); }
.section-light em { color: var(--azure-deep); }

.section-dark {
  background: var(--ink);
  color: var(--ivory);
}

.section-dark .section-code { color: #7eb0ff; }
.section-dark .section-lead { color: var(--muted-dark); }

/* Neon background icons / orbs */
.neon-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.neon-field-soft .neon-icon { opacity: 0.55; }


.neon-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: var(--azure);
  background: rgba(250, 248, 245, 0.75);
  border: 1px solid rgba(61, 126, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 0 22px rgba(61, 126, 255, 0.35),
    0 10px 28px rgba(61, 126, 255, 0.12);
  animation: neon-float 7s ease-in-out infinite;
  will-change: transform;
}

.neon-icon.is-near {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 30px rgba(61, 126, 255, 0.55),
    0 12px 32px rgba(61, 126, 255, 0.22);
}

.neon-icon svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px rgba(61, 126, 255, 0.75));
}

.neon-icon:nth-child(even) {
  color: var(--coral);
  border-color: rgba(255, 75, 110, 0.25);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 0 22px rgba(255, 75, 110, 0.32),
    0 10px 28px rgba(255, 75, 110, 0.1);
  animation-duration: 8.5s;
}

.neon-icon:nth-child(even) svg {
  filter: drop-shadow(0 0 6px rgba(255, 75, 110, 0.75));
}

.neon-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  animation: neon-pulse 6s ease-in-out infinite;
}

.no-1 { width: 180px; height: 180px; top: 8%; right: -40px; background: rgba(61, 126, 255, 0.28); }
.no-2 { width: 140px; height: 140px; bottom: 12%; left: -30px; background: rgba(255, 75, 110, 0.22); animation-delay: 1.2s; }
.no-3 { width: 220px; height: 220px; top: 10%; right: 8%; background: rgba(61, 126, 255, 0.16); }
.no-4 { width: 160px; height: 160px; bottom: 8%; left: 6%; background: rgba(255, 75, 110, 0.14); animation-delay: 0.8s; }
.no-5 { width: 200px; height: 200px; top: 20%; left: 50%; transform: translateX(-50%); background: rgba(61, 126, 255, 0.14); }
.no-6 { width: 180px; height: 180px; top: 15%; left: 12%; background: rgba(255, 75, 110, 0.14); }
.no-7 { width: 210px; height: 210px; bottom: 10%; right: 10%; background: rgba(61, 126, 255, 0.16); animation-delay: 1s; }

.ni-1 { top: 14%; right: 10%; }
.ni-2 { top: 42%; right: 22%; animation-delay: 1.1s; }
.ni-3 { bottom: 18%; right: 8%; animation-delay: 2s; }
.ni-4 { top: 18%; right: 6%; animation-delay: 0.4s; }
.ni-5 { top: 48%; left: 4%; animation-delay: 1.4s; }
.ni-6 { bottom: 16%; right: 18%; animation-delay: 2.2s; }
.ni-7 { top: 22%; left: 12%; animation-delay: 0.6s; }
.ni-8 { top: 28%; right: 14%; animation-delay: 1.5s; }
.ni-9 { top: 20%; left: 10%; animation-delay: 0.3s; }
.ni-10 { bottom: 22%; right: 12%; animation-delay: 1.8s; }

@keyframes neon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes neon-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.08); }
}

.hero-copy-panel,
.divisions,
.cta-band,
.final-cta { position: relative; }

.hero-copy,
.divisions-layout,
.cta-band-inner,
.final-cta-inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .ni-2, .ni-3, .ni-6, .ni-8, .ni-10 { display: none; }
  .neon-icon { width: 44px; height: 44px; border-radius: 12px; }
  .neon-icon svg { width: 20px; height: 20px; }
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(61, 126, 255, 0.18), transparent 50%),
    var(--ink);
  transition: opacity 0.75s var(--ease), visibility 0.75s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner { text-align: center; width: min(300px, 82vw); }

.loader-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(61, 126, 255, 0.45);
  animation: soft-pulse 2s ease-in-out infinite;
}

.loader-logo img { width: 100%; height: 100%; object-fit: cover; }

.loader-brand {
  font-family: var(--brand);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 1.15rem;
  color: var(--ivory);
  margin-bottom: 1.6rem;
}

.loader-line {
  height: 2px;
  background: rgba(243, 245, 250, 0.12);
  overflow: hidden;
  border-radius: 99px;
}

.loader-line span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--azure), var(--coral));
  animation: load-fill 1.9s var(--ease) forwards;
}

.loader-status {
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted-dark);
}

@keyframes load-fill { to { width: 100%; } }

@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 126, 255, 0.15); }
  50% { box-shadow: 0 0 28px 2px rgba(61, 126, 255, 0.35); }
}

/* Header — solid bar ABOVE hero (never over video) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transform: translateY(0);
  background-color: #faf8f5;
  background-image:
    linear-gradient(180deg, #faf8f5, #f6f3ef),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  background-blend-mode: normal, soft-light;
  border-bottom: 1px solid var(--line-light);
  box-shadow: 0 4px 24px rgba(18, 21, 28, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(18, 21, 28, 0.08);
}

.site-header.is-hidden { transform: translateY(-110%); }

/* Push all page content below the solid header */
main {
  padding-top: var(--header-h);
}

.header-inner {
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(61, 126, 255, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05);
  box-shadow: var(--glow);
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--brand);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1.15rem;
  color: var(--text-dark);
}

.brand-sub {
  margin-top: 0.15rem;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--azure);
  text-transform: uppercase;
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 2.2rem;
}

.primary-nav a {
  position: relative;
  font-family: var(--brand);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: color 0.25s ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--azure), var(--coral));
  transition: width 0.35s var(--ease);
}

.primary-nav a:hover,
.primary-nav a.is-active { color: var(--azure-deep); }

.primary-nav a:hover::after,
.primary-nav a.is-active::after { width: 100%; }

.header-cta { display: none; }

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  background: var(--paper-2);
  display: grid;
  place-content: center;
  gap: 7px;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

@media (min-width: 900px) {
  .primary-nav,
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

@media (max-width: 899px) {
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 0.5rem 1.25rem 1.4rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line-light);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s ease;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .primary-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-light);
  }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.7rem;
  font-family: var(--brand);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.btn.is-magnetic {
  transition: transform 0.15s ease-out, background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-3px); }
.btn.is-magnetic:hover { transform: none; }
.btn:hover svg { transform: translateX(4px); }

.btn-sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, #5b93ff 0%, var(--azure) 42%, var(--coral) 120%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(61, 126, 255, 0.25);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.35) 48%, transparent 70%);
  transform: translateX(-130%);
  transition: transform 0.65s var(--ease);
}

.btn-primary:hover { box-shadow: var(--glow); }
.btn-primary:hover::before { transform: translateX(130%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(18, 21, 28, 0.12);
  color: var(--text-dark);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--azure);
  color: var(--azure-deep);
  background: var(--azure-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  font-family: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure-deep);
  transition: gap 0.3s var(--ease), color 0.25s ease;
}

.text-link:hover {
  gap: 0.75rem;
  color: var(--coral);
}

/* Hero — split below header */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  isolation: isolate;
  border-top: 1px solid var(--line-light);
}

.hero-copy-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--texture-white);
  background-image:
    radial-gradient(ellipse 70% 55% at var(--mx) var(--my), rgba(61, 126, 255, 0.1), transparent 55%),
    radial-gradient(ellipse at 0% 0%, rgba(61, 126, 255, 0.07), transparent 45%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 75, 110, 0.05), transparent 40%),
    linear-gradient(165deg, #faf8f5 0%, #f5f2ed 55%, #f0ece6 100%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-blend-mode: normal, normal, normal, normal, soft-light;
  padding: 2.5rem 1.25rem 3rem;
  color: var(--text-dark);
  border-right: 1px solid rgba(18, 21, 28, 0.06);
}

.hero-copy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero-copy {
  width: min(520px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.35rem;
  font-family: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 700;
}

.eyebrow-line {
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--azure), var(--coral));
  box-shadow: 0 0 10px rgba(61, 126, 255, 0.55);
}

.hero-brand {
  margin: 0 0 0.5rem;
  font-family: var(--brand);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  letter-spacing: 0.14em;
  line-height: 1;
  color: var(--text-dark);
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--text-dark);
}

.hero-lead {
  margin: 1.35rem 0 0;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 400;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
  padding: 1.2rem 1rem;
  border: 1px solid var(--line-light);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(18, 21, 28, 0.04);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--azure-deep);
  line-height: 1;
  letter-spacing: 0.04em;
}

.hero-stats span {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 600;
}

.hero-stage {
  position: relative;
  min-height: 55svh;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: -6%;
  will-change: transform;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(14, 16, 22, 0.28), transparent 35%);
  z-index: 1;
}

.hero-stage-frame {
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 2;
  border-radius: 0.35rem;
}

.floating-marks .mark {
  position: absolute;
  z-index: 2;
  width: 10px;
  height: 10px;
  border: 1.5px solid #7eb0ff;
  box-shadow: 0 0 12px rgba(61, 126, 255, 0.8);
  animation: float-mark 6s ease-in-out infinite;
}

.mark-1 { top: 18%; left: 10%; }
.mark-2 { top: 28%; right: 12%; animation-delay: 1.2s; border-color: var(--coral); box-shadow: 0 0 12px rgba(255, 75, 110, 0.8); }
.mark-3 { bottom: 22%; left: 18%; animation-delay: 2.1s; width: 14px; height: 14px; border-radius: 50%; }

@keyframes float-mark {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(-12px); opacity: 1; }
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--brand);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #fff;
}

.scroll-cue i {
  width: 36px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--azure), var(--coral), transparent);
  box-shadow: 0 0 10px rgba(61, 126, 255, 0.7);
  animation: cue-line 1.8s ease-in-out infinite;
}

@keyframes cue-line {
  0%, 100% { transform: scaleX(0.45); transform-origin: left; opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 1; }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(400px, 0.88fr) 1.22fr;
    min-height: calc(100svh - var(--header-h));
  }

  .hero-copy-panel {
    padding: 3rem 3rem 3.5rem 4vw;
  }

  .hero-copy { margin: 0; width: 100%; max-width: 520px; }

  .hero-stage {
    min-height: calc(100svh - var(--header-h));
    position: sticky;
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
  }

  body.header-collapsed .hero-stage {
    top: 0;
    height: 100svh;
    min-height: 100svh;
  }

  .hero-stage::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.08), transparent 20%);
  }
}

/* Sections */
.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section-head { max-width: 36rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

.section-code {
  margin: 0 0 0.9rem;
  font-family: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
}

.section-lead {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 36rem;
}

.divisions {
  background-color: var(--texture-white);
  background-image:
    radial-gradient(ellipse 80% 60% at var(--mx) var(--my), rgba(61, 126, 255, 0.06), transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(61, 126, 255, 0.06), transparent 42%),
    linear-gradient(180deg, #faf8f5, #f3f0eb),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-blend-mode: normal, normal, normal, soft-light;
}

.divisions-board { display: grid; gap: 2rem; }

.division-item {
  border-top: 1px solid var(--line-light);
  transition: background 0.35s ease;
}

.division-item:last-child { border-bottom: 1px solid var(--line-light); }

.division-item.is-active {
  background: linear-gradient(90deg, rgba(61, 126, 255, 0.06), rgba(255, 75, 110, 0.035));
  border-radius: 0.75rem;
  box-shadow: inset 0 0 0 1px rgba(61, 126, 255, 0.08);
}

.division-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 0.75rem;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.division-num {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--azure);
  min-width: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(61, 126, 255, 0.25);
}

.division-tag {
  display: block;
  font-family: var(--brand);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.division-name {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1;
  transition: color 0.3s ease;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.division-item.is-active .division-name,
.division-trigger:hover .division-name {
  color: var(--azure-deep);
}

.division-plus {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  position: relative;
  background: var(--paper-2);
  box-shadow: 0 0 14px rgba(255, 75, 110, 0.12);
}

.division-plus::before,
.division-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--coral);
  transition: transform 0.35s var(--ease);
}

.division-plus::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.division-plus::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.division-item.is-active .division-plus::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.division-detail {
  padding: 0 0.75rem 1.5rem 3.6rem;
  max-width: 34rem;
}

.division-detail[hidden] { display: none; }

.division-detail p {
  margin: 0;
  color: var(--text-soft);
}

.division-detail ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.division-detail li {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(18, 21, 28, 0.03);
}

.division-mobile-visual {
  display: block;
  overflow: hidden;
  margin: 0 0.75rem 1.25rem;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(18, 21, 28, 0.08);
}

.division-mobile-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.division-preview { display: none; }

@media (min-width: 980px) {
  .divisions-board {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }

  .division-preview {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
    height: min(68vh, 560px);
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid var(--line-light);
    background: var(--ink-2);
    box-shadow:
      0 24px 60px rgba(18, 21, 28, 0.1),
      0 0 0 1px rgba(61, 126, 255, 0.08),
      0 0 40px rgba(61, 126, 255, 0.08);
  }

  .preview-shot {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.55s var(--ease), transform 0.9s var(--ease);
  }

  .preview-shot.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
  }

  .preview-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .preview-shot figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.4rem 1.5rem;
    background: linear-gradient(to top, rgba(14, 16, 22, 0.88), transparent);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--ivory);
  }

  .preview-shot figcaption span {
    font-family: var(--brand);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #7eb0ff;
    font-weight: 700;
  }

  .preview-shot figcaption strong {
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  .division-mobile-visual { display: none; }
}

/* Marquee */
.cta-marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--azure-deep), #4b6fff 40%, var(--coral));
}

.cta-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 1rem 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  animation: marquee 28s linear infinite;
}

.cta-marquee-track .spark {
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.55);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.cta-band {
  text-align: center;
  border-bottom: 1px solid var(--line-light);
  background-color: var(--texture-white);
}

.cta-band-inner,
.final-cta-inner {
  max-width: 42rem;
  margin-inline: auto;
}

.cta-band .section-lead,
.final-cta .section-lead { margin-inline: auto; }

.cta-band .btn,
.final-cta .btn { margin-top: 1.8rem; }

/* Team dark */
.team {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(61, 126, 255, 0.16), transparent 40%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 75, 110, 0.12), transparent 40%),
    var(--ink);
}

.team-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.8rem;
}

.team-chips span {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-family: var(--brand);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  background: rgba(255, 255, 255, 0.03);
}

.team-chips strong {
  color: #7eb0ff;
  font-weight: 700;
  margin-right: 0.25rem;
  text-shadow: 0 0 12px rgba(61, 126, 255, 0.45);
}

.team-frame {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--line-dark);
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease, border-color 0.4s ease;
}

.team-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 126, 255, 0.45);
  box-shadow: var(--glow);
}

.team-frame img {
  width: 100%;
  transition: transform 1.2s var(--ease);
}

.team-frame:hover img { transform: scale(1.04); }

.team-frame figcaption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(14, 16, 22, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  border-radius: 0.9rem;
  color: var(--ivory);
}

.team-frame figcaption .section-code { color: #7eb0ff; margin-bottom: 0.2rem; }

.team-frame figcaption p {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@media (min-width: 900px) {
  .team-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
  .team-copy { margin-bottom: 0; }
}

.final-cta {
  text-align: center;
  background-color: var(--texture-white);
  background-image:
    radial-gradient(ellipse 70% 50% at var(--mx) var(--my), rgba(61, 126, 255, 0.08), transparent 55%),
    radial-gradient(ellipse at 50% 0%, rgba(61, 126, 255, 0.07), transparent 50%),
    linear-gradient(180deg, #faf8f5, #f4f1ec),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-blend-mode: normal, normal, normal, soft-light;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-dark);
  background: var(--ink-2);
  color: var(--ivory);
}

.site-footer .brand-name { color: var(--ivory); }
.site-footer .brand-sub { color: #7eb0ff; }

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 4rem 0 3rem;
}

.footer-brand p {
  margin: 1.25rem 0 0;
  color: var(--muted-dark);
  max-width: 28rem;
}

.footer-mail {
  display: inline-block;
  margin-top: 1.2rem;
  color: #7eb0ff;
  font-family: var(--brand);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  text-shadow: 0 0 16px rgba(61, 126, 255, 0.35);
}

.footer-mail:hover { color: var(--coral); }

.footer-label {
  margin: 0 0 1rem;
  font-family: var(--brand);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7eb0ff;
  font-weight: 700;
}

.footer-links { display: grid; gap: 0.55rem; }
.footer-links a { color: var(--muted-dark); transition: color 0.25s ease; }
.footer-links a:hover { color: #fff; }

.social-row { display: flex; gap: 0.55rem; }

.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ivory-soft);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--azure), var(--coral));
  box-shadow: var(--glow);
}

.footer-bottom { border-top: 1px solid var(--line-dark); }

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1.2rem 0;
  font-size: 0.82rem;
  color: var(--muted-dark);
}

.footer-bottom .accent { color: var(--coral); }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-ready .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy .reveal:nth-child(1) { transition-delay: 0.05s; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.15s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.28s; }
.hero-copy .reveal:nth-child(4) { transition-delay: 0.4s; }
.hero-copy .reveal:nth-child(5) { transition-delay: 0.52s; }
.hero-copy .reveal:nth-child(6) { transition-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .page-loader, .site-header, .btn, .loader-line span,
  .loader-logo, .cta-marquee-track, .floating-marks .mark, .scroll-cue i,
  .neon-icon, .neon-orb {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .page-loader { display: none; }
}
