/* ==================================================================
 |  jhaiyzsoft — company site  ·  "Cinematic" theme (v3)
 |
 |  One stylesheet, no framework, no build step, no external requests.
 |  Drop the folder on any web server (or open index.html directly) and
 |  it works.
 |
 |  Palette is pulled from the JS logo itself: electric blue, magenta,
 |  ember orange and violet, set against deep space. Motion is layered
 |  (letterbox intro, starfield + grid horizon canvas, scroll reveals,
 |  cursor-lit cards) and all of it switches off under
 |  prefers-reduced-motion.
 * ================================================================*/

:root {
  /* brand — from the logo */
  --blue: #3b82f6;
  --cyan: #38d9ff;
  --magenta: #ec4899;
  --pink: #f472d0;
  --ember: #ff8a3d;
  --violet: #8b5cf6;

  /* space */
  --void: #04050c;
  --deep: #080a17;
  --panel: rgba(16, 20, 42, .55);
  --panel-solid: #0d1024;
  --line: rgba(148, 163, 255, .13);
  --line-hi: rgba(148, 163, 255, .28);

  /* text */
  --ink: #f2f4ff;
  --body: #b4b9d6;
  --muted: #7a80a6;

  --brand: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 28%, var(--violet) 52%, var(--magenta) 76%, var(--ember) 100%);
  --brand-soft: linear-gradient(135deg, #3b82f6, #8b5cf6 55%, #ec4899);

  --glow-blue: 0 0 24px rgba(56, 217, 255, .35);
  --glow-mag: 0 0 30px rgba(236, 72, 153, .35);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, .7);

  --mono: "Cascadia Code", "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--void); }

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(59, 130, 246, .12), transparent 60%),
    radial-gradient(900px 700px at 110% 75%, rgba(236, 72, 153, .09), transparent 60%),
    var(--void);
  color: var(--body);
  font-family: var(--display);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film grain + scanlines laid over everything, never intercepting clicks */
body::before,
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
}
body::before {
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .9s steps(4) infinite;
}
body::after {
  opacity: .25;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 0, 0, .18) 2px 3px);
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -1%); }
  100% { transform: translate(0, 0); }
}

::selection { background: rgba(236, 72, 153, .45); color: #fff; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 14px; font-weight: 750; }
h1 { font-size: clamp(40px, 5vw, 68px); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 50px); letter-spacing: -.025em; }
h3 { font-size: 20px; letter-spacing: -.01em; }
p { margin: 0 0 16px; }
a { color: var(--cyan); }
strong { color: var(--ink); }

.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; position: relative; }

.grad-text {
  background: var(--brand); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% 0; } }

/* ---------------- cinematic intro: letterbox bars ---------------- */
.letterbox { position: fixed; inset: 0; pointer-events: none; z-index: 300; }
.letterbox::before,
.letterbox::after {
  content: ""; position: absolute; left: 0; right: 0; height: 50.5vh; background: #000;
  transition: transform 1.4s var(--ease);
}
.letterbox::before { top: 0; }
.letterbox::after  { bottom: 0; }
.letterbox.is-open::before { transform: translateY(-100%); }
.letterbox.is-open::after  { transform: translateY(100%); }
.letterbox .lb-title {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 1;
  font-family: var(--mono); font-size: 13px; letter-spacing: .5em; color: #8b93c9;
  text-transform: uppercase; transition: opacity .4s ease;
}
.letterbox.is-open .lb-title { opacity: 0; }

/* ---------------- header ---------------- */
.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s, border-color .3s, backdrop-filter .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.site-head.is-scrolled {
  background: rgba(6, 8, 20, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.head-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 0; transition: padding .3s;
}
.site-head.is-scrolled .head-row { padding: 11px 0; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  object-fit: cover; display: block;
  box-shadow: 0 0 0 1px var(--line-hi), 0 0 22px rgba(139, 92, 246, .45);
}
.logo-text { font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; }
.logo-text span {
  background: linear-gradient(90deg, var(--magenta), var(--ember));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 15px; border-radius: 10px; text-decoration: none;
  color: var(--body); font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  transition: color .2s;
}
.nav a:not(.cta)::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:not(.cta):hover { color: var(--ink); }
.nav a:not(.cta):hover::after { transform: scaleX(1); }
.nav a.cta {
  margin-left: 8px; color: #fff;
  background: linear-gradient(var(--deep), var(--deep)) padding-box, var(--brand) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 20px rgba(139, 92, 246, .25);
  transition: box-shadow .25s, background .25s;
}
.nav a.cta:hover {
  background: linear-gradient(rgba(20, 16, 48, .6), rgba(20, 16, 48, .6)) padding-box, var(--brand) border-box;
  box-shadow: 0 0 30px rgba(236, 72, 153, .45);
}

/* ---------------- hero ---------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 90px; overflow: hidden; isolation: isolate;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero::after { /* vignette + fade into the page + legibility veil behind copy */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 12, .55), transparent 55%),
    radial-gradient(ellipse at 50% 45%, transparent 40%, rgba(4, 5, 12, .75) 100%),
    linear-gradient(to bottom, transparent 70%, var(--void));
}

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: #a7b0e8;
  border: 1px solid var(--line-hi); border-radius: 999px;
  background: rgba(12, 16, 36, .55); backdrop-filter: blur(6px);
  padding: 8px 16px; margin-bottom: 26px;
}
.eyebrow i {
  width: 8px; height: 8px; border-radius: 50%; background: #22e3a3;
  box-shadow: 0 0 0 0 rgba(34, 227, 163, .6); animation: ping 2s infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(34, 227, 163, .6); }
  80%  { box-shadow: 0 0 0 10px rgba(34, 227, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 227, 163, 0); }
}

.hero h1 { margin-bottom: 24px; text-shadow: 0 0 60px rgba(139, 92, 246, .25); }
.hero h1 .line { display: block; }
.hero p.lead { font-size: clamp(17px, 1.6vw, 19.5px); max-width: 600px; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* staged entrance after the letterbox opens */
.stage > * { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.is-live .stage > * {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
}
.is-live .stage > *:nth-child(1) { transition-delay: .15s; }
.is-live .stage > *:nth-child(2) { transition-delay: .3s; }
.is-live .stage > *:nth-child(3) { transition-delay: .5s; }
.is-live .stage > *:nth-child(4) { transition-delay: .65s; }
.is-live .stage > *:nth-child(5) { transition-delay: .8s; }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; text-decoration: none;
  font-weight: 700; font-size: 15.5px; letter-spacing: .01em;
  border: 1px solid transparent; overflow: hidden; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s, border-color .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #fff; background: var(--brand-soft);
  box-shadow: 0 10px 40px -10px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::before { /* light sweep */
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover::before { left: 130%; }
.btn-primary:hover { box-shadow: 0 14px 50px -8px rgba(236, 72, 153, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost {
  color: var(--ink); background: rgba(14, 18, 40, .55); border-color: var(--line-hi);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--cyan); box-shadow: var(--glow-blue); }

/* stats as a HUD strip */
.stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 0; margin-top: 56px;
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(10, 13, 30, .5); backdrop-filter: blur(10px);
  width: fit-content; max-width: 100%;
}
.stat { padding: 16px 26px; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 24px; color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.stat span { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

/* ---- holographic logo ---- */
.holo { position: relative; aspect-ratio: 1; width: min(100%, 460px); margin-inline: auto; }
.holo .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(139, 152, 255, .2);
}
.holo .r1 { inset: 4%; border-style: dashed; border-color: rgba(56, 217, 255, .35); animation: spin 40s linear infinite; }
.holo .r2 { inset: 13%; border: 2px solid transparent; border-top-color: var(--magenta); border-right-color: rgba(236, 72, 153, .3); animation: spin 9s linear infinite reverse; filter: drop-shadow(0 0 8px var(--magenta)); }
.holo .r3 { inset: 20%; border: 1px solid transparent; border-bottom-color: var(--cyan); border-left-color: rgba(56, 217, 255, .3); animation: spin 14s linear infinite; filter: drop-shadow(0 0 6px var(--cyan)); }
.holo .r4 { inset: -2%; border-color: rgba(255, 255, 255, .05); }
.holo .orbit { position: absolute; inset: 4%; animation: spin 18s linear infinite; }
.holo .orbit::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--ember); box-shadow: 0 0 16px 3px var(--ember);
}
.holo .orbit.o2 { inset: 13%; animation-duration: 26s; animation-direction: reverse; }
.holo .orbit.o2::before { background: var(--cyan); box-shadow: 0 0 16px 3px var(--cyan); width: 7px; height: 7px; top: -3.5px; }
@keyframes spin { to { transform: rotate(360deg); } }

.holo .core {
  position: absolute; inset: 27%; border-radius: 30%;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 0 80px rgba(139, 92, 246, .55), 0 0 160px rgba(236, 72, 153, .25);
  animation: float 6s ease-in-out infinite;
}
.holo .core img { width: 100%; height: 100%; object-fit: cover; display: block; }
.holo .core::after { /* holographic sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 48%, transparent 62%);
  background-size: 250% 100%; animation: sheen 5s ease-in-out infinite;
  mix-blend-mode: overlay;
}
@keyframes sheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
@keyframes float { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }

.holo .halo {
  position: absolute; inset: 15%; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, var(--blue), var(--violet), var(--magenta), var(--ember), var(--blue));
  filter: blur(60px); opacity: .45; animation: spin 20s linear infinite;
}

/* HUD readouts around the holo */
.hud {
  position: absolute; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #8e97d0; white-space: nowrap;
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: rgba(8, 10, 24, .6); backdrop-filter: blur(6px);
}
.hud b { color: var(--cyan); font-weight: 600; }
.hud.h1 { top: 6%; left: -4%; }
.hud.h2 { top: 44%; right: -8%; }
.hud.h3 { bottom: 6%; left: 4%; }
.hud.h2 b { color: var(--pink); }
.hud.h3 b { color: var(--ember); }

.scroll-cue {
  position: absolute; right: 34px; bottom: 26px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .3em; color: var(--muted);
  text-decoration: none; text-transform: uppercase;
}
.scroll-cue span {
  width: 1px; height: 44px; background: linear-gradient(var(--cyan), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: #fff; animation: drip 2s var(--ease) infinite;
}
@keyframes drip { to { top: 110%; } }

/* ---------------- marquee ---------------- */
.marquee {
  position: relative; overflow: hidden; padding: 22px 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(59, 130, 246, .05), rgba(236, 72, 153, .05));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 750; letter-spacing: -.01em;
  color: transparent; -webkit-text-stroke: 1px rgba(180, 190, 255, .35);
  padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px;
}
.marquee-track span::after { content: "✦"; -webkit-text-stroke: 0; color: var(--magenta); font-size: .6em; }
.marquee-track span:nth-child(3n+2) { color: var(--ink); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */
section { padding: 120px 0; position: relative; }
section.tint { background: linear-gradient(180deg, transparent, rgba(16, 20, 48, .45) 20%, rgba(16, 20, 48, .45) 80%, transparent); }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 18px;
}
.sec-label::before {
  content: attr(data-idx); color: var(--magenta);
}
.sec-label::after {
  content: ""; width: 48px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent);
}
.sec-head p { font-size: 17.5px; margin: 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ---------------- glass card w/ cursor spotlight ---------------- */
.glass {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.glass::before { /* spotlight fill */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(139, 92, 246, .16), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.glass::after { /* spotlight border */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(56, 217, 255, .9), rgba(236, 72, 153, .6) 35%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.glass:hover::before, .glass:hover::after { opacity: 1; }
.glass:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 0 50px -20px rgba(139, 92, 246, .6); }

/* ---------------- products ---------------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card { padding: 34px; display: flex; flex-direction: column; }
.card .num {
  position: absolute; top: 26px; right: 30px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: rgba(160, 170, 230, .4);
}
.card-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 10px; padding-right: 40px; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, rgba(59, 130, 246, .35), rgba(236, 72, 153, .3));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 8px 24px -8px rgba(139, 92, 246, .7);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin: 2px 0 4px; }
.card .kind { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.card p { font-size: 15.5px; margin: 10px 0 22px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.tag {
  font-size: 12.5px; font-weight: 600; color: #c9cff5;
  background: rgba(139, 152, 255, .07); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 13px;
}

.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 14.5px; font-weight: 700; text-decoration: none; color: var(--cyan);
  transition: gap .25s var(--ease), color .2s;
}
.card-link:hover { gap: 13px; color: #fff; }
.card-link svg { width: 15px; height: 15px; }

/* ---------------- about ---------------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about p { font-size: 17px; }

.principles { display: grid; gap: 14px; margin-top: 8px; counter-reset: pr; }
.principle { padding: 22px 24px 22px 74px; counter-increment: pr; }
.principle::marker { content: none; }
.principle h4 { font-size: 16px; margin: 0 0 5px; }
.principle p { font-size: 14.8px; margin: 0; color: var(--body); }
.principle .pn {
  position: absolute; left: 22px; top: 22px;
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--magenta);
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid rgba(236, 72, 153, .35); background: rgba(236, 72, 153, .08);
}

/* ---------------- contact ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { padding: 30px; text-decoration: none; display: block; }
.contact-card .card-icon { margin-bottom: 20px; }
.contact-card .label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.contact-card .value { font-size: 17px; font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-card .hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

.cta-band {
  position: relative; margin-top: 64px; border-radius: 28px; overflow: hidden; isolation: isolate;
  padding: 64px 56px; color: #fff;
  background: radial-gradient(800px 300px at 90% 0%, rgba(236, 72, 153, .35), transparent 60%),
              radial-gradient(700px 300px at 0% 100%, rgba(59, 130, 246, .35), transparent 60%),
              #0b0d22;
  border: 1px solid var(--line-hi);
}
.cta-band::before { /* rotating light around the border */
  content: ""; position: absolute; inset: -150%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 70%, var(--cyan) 78%, var(--magenta) 85%, var(--ember) 90%, transparent 96%);
  animation: spin 7s linear infinite;
}
.cta-band::after {
  content: ""; position: absolute; inset: 1px; border-radius: 27px; z-index: -1;
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(236, 72, 153, .25), transparent 60%),
    radial-gradient(700px 300px at 0% 100%, rgba(59, 130, 246, .25), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% 28px,
    #0a0c1f;
}
.cta-band h2 { color: #fff; max-width: 700px; }
.cta-band p { color: #c5c9ee; max-width: 580px; margin-bottom: 30px; font-size: 17px; }

/* ---------------- footer ---------------- */
.site-foot { border-top: 1px solid var(--line); padding: 38px 0; position: relative; }
.site-foot::before {
  content: ""; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
  background: var(--brand); opacity: .6; filter: blur(.5px);
}
.foot-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-foot p { margin: 0; font-size: 13.5px; color: var(--muted); }
.foot-links { display: flex; gap: 22px; }
.foot-links a { font-size: 13.5px; color: var(--body); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--cyan); }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .holo { width: min(78vw, 360px); order: -1; margin-bottom: 10px; }
  .hud.h2 { right: -2%; }
  .hud.h1 { left: 0; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 84px 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  /* Nav wraps rather than becoming a hamburger: four links do not justify
     a menu, and a scroll strip would clip the call to action. */
  .head-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .site-head { background: rgba(6, 8, 20, .8); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .logo { justify-content: center; }
  .nav { flex-wrap: wrap; justify-content: center; gap: 4px; }
  .nav a { white-space: nowrap; padding: 7px 12px; font-size: 14px; }
  .nav a.cta { margin-left: 0; }
  .hero { padding-top: 160px; }
  .stats { grid-template-columns: 1fr; width: 100%; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .hud { display: none; }
  .card { padding: 26px; }
  .cta-band { padding: 40px 26px; }
  html { scroll-padding-top: 140px; }
}

/* ---------------- motion off ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .letterbox { display: none; }
  .stage > *, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------------- print: a clean one-page company profile ---------------- */
@media print {
  body { background: #fff; color: #222; font-size: 11pt; }
  body::before, body::after, .letterbox, .site-head, .hero-canvas, .holo, .hero-actions,
  .cta-band, .marquee, .scroll-cue { display: none !important; }
  h1, h2, h3, h4, strong, .stat b, .contact-card .value { color: #111 !important; text-shadow: none; }
  .grad-text { -webkit-text-fill-color: #111; color: #111; }
  .hero { min-height: 0; padding: 0 0 20px; }
  .stage > *, .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .glass { background: #fff; border-color: #ccc; backdrop-filter: none; break-inside: avoid; }
  section { padding: 24px 0; }
}


/* ==================================================================
 |  Module directory modal (HRIS "View modules")
 * ================================================================*/
button.card-link {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 700;
  cursor: pointer; -webkit-appearance: none; appearance: none; align-self: flex-start;
}
button.card-link:focus-visible,
.btn:focus-visible, .nav a:focus-visible, .contact-card:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px;
}

body.modal-open { overflow: hidden; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 3, 10, .72);
  backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .25s ease;
}
.modal.is-open .modal-backdrop { opacity: 1; }

.modal-panel {
  position: relative; width: min(100%, 960px); max-height: calc(100vh - 48px); overflow-y: auto;
  background:
    radial-gradient(700px 260px at 100% 0%, rgba(139, 92, 246, .18), transparent 60%),
    radial-gradient(600px 260px at 0% 0%, rgba(56, 217, 255, .1), transparent 60%),
    var(--panel-solid);
  border: 1px solid var(--line-hi); border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 0 80px -30px rgba(139, 92, 246, .7);
  padding: 38px 36px 30px;
  opacity: 0; transform: translateY(20px) scale(.97);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  scrollbar-width: thin; scrollbar-color: rgba(139, 152, 255, .3) transparent;
}
.modal.is-open .modal-panel { opacity: 1; transform: none; }
.modal-panel:focus { outline: none; }

.modal-x {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-hi); color: var(--body);
  transition: background .2s, color .2s, border-color .2s, transform .3s var(--ease);
}
.modal-x:hover { color: #fff; border-color: var(--magenta); transform: rotate(90deg); box-shadow: var(--glow-mag); }
.modal-x svg { width: 17px; height: 17px; }

.modal-head { padding-right: 44px; }
.modal-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); background: rgba(56, 217, 255, .07);
  border: 1px solid rgba(56, 217, 255, .25); border-radius: 999px;
  padding: 6px 13px; margin-bottom: 16px;
}
.modal-badge svg { width: 14px; height: 14px; fill: currentColor; }
.modal-head h2 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 34px); }
.modal-head > p { font-size: 15.5px; margin: 0 0 22px; max-width: 70ch; }

.modal-features { display: flex; flex-wrap: wrap; gap: 10px; }
.feature-pill {
  display: flex; align-items: center; gap: 12px; flex: 1 1 190px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line);
  border-radius: 14px; padding: 12px 14px;
}
.feature-icon { width: 36px; height: 36px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.feature-icon svg { width: 17px; height: 17px; fill: currentColor; }
.feature-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.feature-text strong { font-size: 13.8px; color: var(--ink); }
.feature-text span { font-size: 12.3px; color: var(--muted); }

.modal-divider { display: flex; align-items: center; gap: 14px; margin: 30px 0 22px; }
.modal-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--line-hi), transparent); }
.modal-divider b {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

.mod-group + .mod-group { margin-top: 26px; }
.mod-grouphead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.mod-grouplbl {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--pink); white-space: nowrap;
}
.mod-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(236, 72, 153, .4), transparent); }
.mod-count {
  font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--muted);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  border-radius: 999px; padding: 1px 9px; flex: none;
}

.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.mod-card {
  display: flex; align-items: flex-start; gap: 13px;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
  border-radius: 14px; padding: 15px 16px;
  transition: transform .25s var(--ease), border-color .25s, background .25s, box-shadow .25s;
}
.mod-card:hover {
  transform: translateY(-2px); border-color: rgba(56, 217, 255, .4);
  background: rgba(56, 217, 255, .04); box-shadow: 0 10px 30px -12px rgba(56, 217, 255, .35);
}
.mod-icon { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.mod-icon svg { width: 18px; height: 18px; fill: currentColor; }
.mod-text { min-width: 0; }
.mod-text strong { display: block; font-size: 14.2px; color: var(--ink); line-height: 1.35; margin-bottom: 3px; }
.mod-text > span { display: block; font-size: 12.8px; color: var(--muted); line-height: 1.5; }

/* neon icon tints */
.fi-indigo { background: rgba(99, 102, 241, .16); color: #a5b4fc; box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .3); }
.fi-green  { background: rgba(16, 185, 129, .14); color: #5eead4; box-shadow: inset 0 0 0 1px rgba(16, 185, 129, .3); }
.fi-gold   { background: rgba(255, 138, 61, .14); color: #fdba74; box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .3); }
.fi-blue   { background: rgba(56, 189, 248, .14); color: #7dd3fc; box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .3); }
.fi-purple { background: rgba(168, 85, 247, .16); color: #d8b4fe; box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .3); }
.fi-rose   { background: rgba(236, 72, 153, .15); color: #f9a8d4; box-shadow: inset 0 0 0 1px rgba(236, 72, 153, .3); }

.modal-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line);
}
.modal-foot p { margin: 0; font-size: 14px; color: var(--muted); }

@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-panel { width: 100%; max-height: 100vh; height: 100%; border-radius: 0; border: 0; padding: 26px 20px 24px; }
  .modal-head { padding-right: 40px; }
  .mod-grid { grid-template-columns: 1fr; }
  .modal-foot { flex-direction: column; align-items: stretch; }
  .modal-foot .btn { justify-content: center; }
}
@media print { .modal { display: none !important; } }
