:root {
  color-scheme: dark;
  --bg: #070707;
  --panel: rgba(18, 18, 18, 0.78);
  --panel-strong: #111111;
  --gold: #d6a84f;
  --gold-bright: #ffd97a;
  --electric: #28f3ff;
  --electric-soft: rgba(40, 243, 255, 0.28);
  --hot-gold: #ffbf35;
  --text: #f8f3e8;
  --muted: #b9ad98;
  --line: rgba(214, 168, 79, 0.24);
  --danger: #ff9f8a;
  --success: #a9f5c7;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(40, 243, 255, 0.16), transparent 32rem),
    radial-gradient(circle at 20% 0%, rgba(255, 191, 53, 0.2), transparent 34rem),
    linear-gradient(180deg, #030304 0%, #0c0c0f 46%, #040404 100%);
  color: var(--text);
}

.noscript-banner {
  position: relative;
  z-index: 40;
  padding: 0.75rem 1rem;
  color: #111;
  background: linear-gradient(135deg, var(--gold-bright), var(--hot-gold));
  font-weight: 700;
  text-align: center;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.86), rgba(10, 13, 14, 0.72));
  border-bottom: 1px solid rgba(40, 243, 255, 0.18);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  color: var(--gold-bright);
  text-shadow: 0 0 24px rgba(255, 217, 122, 0.42);
}

.brand img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 18px rgba(40, 243, 255, 0.26), 0 0 26px rgba(255, 217, 122, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav-chat:hover {
  color: var(--gold-bright);
}

.nav-chat,
button {
  font: inherit;
}

.nav-chat {
  border: 1px solid rgba(255, 217, 122, 0.46);
  color: var(--text);
  background: linear-gradient(135deg, rgba(214, 168, 79, 0.12), rgba(40, 243, 255, 0.08));
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  overflow: hidden;
  padding: 8rem clamp(1rem, 6vw, 6rem) 5rem;
  border-bottom: 1px solid rgba(40, 243, 255, 0.2);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 7% -12% auto auto;
  width: min(68rem, 86vw);
  aspect-ratio: 1;
  border: 1px solid rgba(40, 243, 255, 0.16);
  transform: rotate(24deg) skewX(-8deg);
  background:
    linear-gradient(90deg, transparent, rgba(40, 243, 255, 0.16), transparent),
    repeating-linear-gradient(0deg, transparent 0 26px, rgba(40, 243, 255, 0.08) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 26px, rgba(255, 191, 53, 0.08) 27px 28px);
  filter: drop-shadow(0 0 26px rgba(40, 243, 255, 0.16));
  animation: gridDrift 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(40, 243, 255, 0.1) 42.4%, transparent 43%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: cyberScan 5.8s linear infinite;
}

.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-line {
  position: absolute;
  height: 1px;
  width: 46vw;
  background: linear-gradient(90deg, transparent, var(--electric), var(--gold-bright), transparent);
  opacity: 0.86;
  filter: drop-shadow(0 0 16px rgba(40, 243, 255, 0.55));
  animation: sweep 5.4s linear infinite;
}

.line-a { top: 30%; left: -10%; }
.line-b { top: 55%; right: -8%; animation-delay: -2s; }
.line-c { top: 72%; left: 18%; animation-delay: -4s; }

.pulse-node {
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 0 0 rgba(40, 243, 255, 0.46), 0 0 18px rgba(40, 243, 255, 0.8);
  animation: pulse 2.4s infinite;
}

.node-a { top: 29%; left: 72%; }
.node-b { top: 58%; left: 62%; animation-delay: -0.8s; }
.node-c { top: 72%; left: 34%; animation-delay: -1.4s; }

.hero-content,
.section {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 56rem;
}

.hero-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  border: 1px solid rgba(40, 243, 255, 0.28);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 28px rgba(40, 243, 255, 0.12), inset 0 0 24px rgba(255, 217, 122, 0.06);
}

.hero-logo-lockup img {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.hero-logo-lockup span {
  color: var(--electric);
  font-size: 0.76rem;
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 217, 122, 0.36);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 14ch;
  font-size: 6.8rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow:
    0 0 34px rgba(255, 217, 122, 0.22),
    0 0 74px rgba(40, 243, 255, 0.16);
}

h2 {
  margin: 0;
  font-size: 3.7rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 48rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.9;
  text-shadow: 0 0 28px rgba(0, 0, 0, 0.72);
}

.hero-actions,
.direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 217, 122, 0.32);
  padding: 0.78rem 1.15rem;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(40, 243, 255, 0.06));
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 46px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 243, 255, 0.62);
  box-shadow: 0 0 30px rgba(40, 243, 255, 0.18), 0 20px 52px rgba(0, 0, 0, 0.34);
}

.button.primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-bright), var(--hot-gold));
  border: 0;
  font-weight: 800;
}

.hero-core {
  position: relative;
  z-index: 2;
  min-height: 36rem;
  border: 1px solid rgba(40, 243, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(40, 243, 255, 0.08), transparent 38%),
    linear-gradient(225deg, rgba(255, 191, 53, 0.12), transparent 42%),
    rgba(2, 7, 8, 0.46);
  box-shadow:
    inset 0 0 70px rgba(40, 243, 255, 0.08),
    inset 0 0 120px rgba(255, 191, 53, 0.07),
    0 36px 120px rgba(0, 0, 0, 0.46);
  clip-path: polygon(9% 0, 100% 0, 100% 86%, 88% 100%, 0 100%, 0 12%);
  overflow: hidden;
}

.hero-core::before,
.hero-core::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-core::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(40, 243, 255, 0.08) 35px 36px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255, 191, 53, 0.07) 35px 36px);
  transform: perspective(42rem) rotateX(62deg) translateY(3rem);
  transform-origin: bottom;
  animation: cyberMapDrift 8s linear infinite;
}

.hero-core::after {
  background: linear-gradient(180deg, transparent, rgba(40, 243, 255, 0.22), transparent);
  height: 38%;
  animation: verticalScan 4.6s linear infinite;
}

.core-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(24rem, 72%);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.core-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(40, 243, 255, 0.34);
  box-shadow: 0 0 32px rgba(40, 243, 255, 0.18), inset 0 0 26px rgba(255, 191, 53, 0.08);
}

.ring-one {
  animation: rotateCore 10s linear infinite;
}

.ring-two {
  inset: 14%;
  border-color: rgba(255, 217, 122, 0.48);
  border-style: dashed;
  animation: rotateCore 7s linear infinite reverse;
}

.ring-three {
  inset: 28%;
  border-color: rgba(40, 243, 255, 0.52);
  animation: rotateCore 5.6s linear infinite;
}

.core-scan {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(40, 243, 255, 0.42), transparent 18%, transparent 100%);
  filter: blur(0.3px);
  animation: rotateCore 2.8s linear infinite;
}

.core-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 6.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  color: #071011;
  background: radial-gradient(circle, #ffffff 0 8%, var(--electric) 9% 46%, var(--gold-bright) 47% 100%);
  font-weight: 900;
  font-size: 1.35rem;
  box-shadow: 0 0 40px rgba(40, 243, 255, 0.68), 0 0 100px rgba(255, 217, 122, 0.36);
}

.core-node {
  position: absolute;
  width: 0.72rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 20px rgba(40, 243, 255, 0.86);
}

.core-node-a { top: 9%; left: 50%; }
.core-node-b { right: 12%; top: 58%; background: var(--gold-bright); }
.core-node-c { left: 10%; bottom: 22%; }

.data-towers {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 10%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 9rem;
}

.data-tower {
  width: 12%;
  min-width: 2.1rem;
  border: 1px solid rgba(40, 243, 255, 0.34);
  background: linear-gradient(180deg, rgba(40, 243, 255, 0.42), rgba(255, 191, 53, 0.08));
  box-shadow: 0 0 28px rgba(40, 243, 255, 0.18);
  animation: dataRise 2.4s ease-in-out infinite alternate;
}

.tower-a { height: 52%; }
.tower-b { height: 82%; animation-delay: -0.7s; }
.tower-c { height: 66%; animation-delay: -1.1s; }
.tower-d { height: 44%; animation-delay: -1.5s; }

.infrastructure-map {
  position: absolute;
  inset: 12% 8% auto auto;
  width: 40%;
  height: 34%;
}

.infrastructure-map span {
  position: absolute;
  border: 1px solid rgba(255, 217, 122, 0.42);
  background: rgba(255, 191, 53, 0.04);
  box-shadow: 0 0 18px rgba(255, 191, 53, 0.12);
}

.infrastructure-map span:nth-child(1) { left: 4%; bottom: 0; width: 18%; height: 58%; }
.infrastructure-map span:nth-child(2) { left: 27%; bottom: 0; width: 20%; height: 88%; }
.infrastructure-map span:nth-child(3) { left: 52%; bottom: 0; width: 17%; height: 68%; }
.infrastructure-map span:nth-child(4) { left: 74%; bottom: 0; width: 22%; height: 100%; }

.proof-chip {
  position: absolute;
  display: grid;
  gap: 0.2rem;
  min-width: 10rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(40, 243, 255, 0.34);
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 32px rgba(40, 243, 255, 0.12);
}

.proof-chip small {
  color: var(--electric);
  font-weight: 900;
}

.proof-chip strong {
  color: var(--text);
  font-size: 0.92rem;
}

.chip-a { top: 9%; left: 8%; }
.chip-b { right: 6%; top: 48%; }
.chip-c { left: 12%; bottom: 10%; }

.button.secondary {
  background: rgba(214, 168, 79, 0.12);
}

.button.ghost {
  background: transparent;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 6rem);
}

.section-heading {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.section-heading p,
.contact-copy p,
.section-note {
  color: var(--muted);
  line-height: 1.8;
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.qualification-card,
.process-list li,
.contact-form,
.chat-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22), inset 0 0 28px rgba(40, 243, 255, 0.03);
}

.qualification-card {
  position: relative;
  overflow: hidden;
  min-height: 11rem;
  padding: 1.2rem;
  counter-increment: qualification;
  background:
    linear-gradient(135deg, rgba(40, 243, 255, 0.09), transparent 42%),
    linear-gradient(225deg, rgba(255, 191, 53, 0.12), transparent 46%),
    rgba(10, 10, 10, 0.82);
}

.qualification-card::before {
  content: "HX-" counter(qualification, decimal-leading-zero);
  display: inline-flex;
  margin-bottom: 1.1rem;
  color: var(--electric);
  font-weight: 900;
  font-size: 0.76rem;
}

.qualification-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--gold-bright), transparent);
  transform: translateX(-48%);
  animation: cardSweep 3.4s ease-in-out infinite;
}

.qualification-card p {
  color: var(--muted);
  line-height: 1.7;
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.capability-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.engineering-link .capability-list::before {
  content: "";
  position: absolute;
  inset: 50% 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--gold-bright), transparent);
  box-shadow: 0 0 24px rgba(40, 243, 255, 0.36);
  animation: linkFlow 3.2s linear infinite;
}

.capability-list div {
  position: relative;
  display: grid;
  gap: 1rem;
  min-height: 11rem;
  padding: 1.2rem;
  border: 1px solid rgba(40, 243, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 243, 255, 0.08), transparent 48%),
    rgba(9, 10, 10, 0.74);
  box-shadow: inset 0 0 42px rgba(40, 243, 255, 0.04);
  overflow: hidden;
}

.capability-list div::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 0.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 20px rgba(40, 243, 255, 0.85);
}

.capability-list em {
  color: var(--electric);
  font-style: normal;
  font-weight: 900;
  font-size: 0.78rem;
}

.capability-list span {
  color: var(--muted);
  text-align: left;
}

.technology {
  background:
    linear-gradient(135deg, rgba(40, 243, 255, 0.08), transparent 42%),
    linear-gradient(225deg, rgba(255, 191, 53, 0.12), transparent 42%),
    rgba(5, 5, 5, 0.62);
  border-block: 1px solid rgba(40, 243, 255, 0.22);
}

.innovation-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(40, 243, 255, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.innovation-band div {
  position: relative;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  background: linear-gradient(180deg, rgba(40, 243, 255, 0.09), rgba(0, 0, 0, 0.34));
  border-right: 1px solid rgba(40, 243, 255, 0.2);
  overflow: hidden;
}

.research-console div::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.15rem;
  height: 0.35rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--electric), var(--gold-bright) 62%, rgba(255, 255, 255, 0.12) 62%),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 18px rgba(40, 243, 255, 0.24);
}

.research-console div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 42%, transparent 47%);
  transform: translateX(-120%);
  animation: consoleSweep 4.2s ease-in-out infinite;
}

.innovation-band div:last-child {
  border-right: 0;
}

.innovation-band span {
  display: block;
  color: var(--electric);
  margin-bottom: 0.5rem;
}

.innovation-band i {
  display: block;
  margin-top: 1.2rem;
  padding-bottom: 1rem;
  color: var(--muted);
  font-style: normal;
  font-size: 0.86rem;
}

.ai-discovery {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 191, 53, 0.12), transparent 28rem),
    radial-gradient(circle at 82% 40%, rgba(40, 243, 255, 0.12), transparent 30rem),
    rgba(4, 4, 4, 0.62);
}

.answer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.answer-grid article {
  position: relative;
  min-height: 15rem;
  padding: 1.2rem;
  border: 1px solid rgba(40, 243, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 243, 255, 0.1), transparent 48%),
    linear-gradient(225deg, rgba(255, 191, 53, 0.1), transparent 42%),
    rgba(9, 10, 10, 0.78);
  box-shadow: inset 0 0 38px rgba(40, 243, 255, 0.04), 0 22px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.answer-grid article::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1rem;
  height: 1px;
  background: linear-gradient(90deg, var(--electric), var(--gold-bright), transparent);
  box-shadow: 0 0 18px rgba(40, 243, 255, 0.28);
}

.answer-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--electric);
  font-weight: 900;
  font-size: 0.82rem;
}

.answer-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-path .process-list::before {
  content: "";
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 3.1rem;
  height: 1px;
  background: linear-gradient(90deg, var(--electric), var(--gold-bright), var(--electric));
  box-shadow: 0 0 22px rgba(40, 243, 255, 0.35);
}

.process-list li {
  position: relative;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 191, 53, 0.08), rgba(40, 243, 255, 0.05)),
    rgba(10, 10, 10, 0.78);
}

.process-list span {
  display: inline-block;
  margin-bottom: 1.8rem;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(40, 243, 255, 0.28);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  box-shadow: 0 0 20px rgba(40, 243, 255, 0.12);
}

.process-list p {
  color: var(--muted);
  line-height: 1.7;
}

.direct-contact a {
  color: var(--gold-bright);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.25rem;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.2rem;
  overflow: hidden;
}

.secure-terminal .contact-form::before {
  content: "SECURE CONTACT CHANNEL";
  color: var(--electric);
  font-weight: 900;
  font-size: 0.72rem;
}

.secure-terminal .contact-form::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(40, 243, 255, 0.1), transparent),
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(40, 243, 255, 0.035) 19px 20px);
  opacity: 0.7;
  animation: terminalScan 5s linear infinite;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.chat-input input {
  width: 100%;
  border: 1px solid rgba(40, 243, 255, 0.24);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  padding: 0.85rem;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.chat-input input:focus {
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(40, 243, 255, 0.14);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.chat-widget {
  position: fixed;
  z-index: 30;
  right: 1rem;
  bottom: 1rem;
  width: min(24rem, calc(100vw - 2rem));
}

.chat-toggle {
  display: block;
  margin-left: auto;
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.1rem;
  color: #111;
  background: linear-gradient(135deg, var(--electric), var(--gold-bright));
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(40, 243, 255, 0.28), 0 18px 46px rgba(0, 0, 0, 0.36);
}

.chat-panel {
  margin-top: 0.75rem;
  overflow: hidden;
  border-color: rgba(40, 243, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(40, 243, 255, 0.08), rgba(255, 191, 53, 0.08)),
    rgba(9, 9, 9, 0.9);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.chat-header button {
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 0.75rem;
  max-height: 18rem;
  overflow: auto;
  padding: 1rem;
}

.message {
  max-width: 86%;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  line-height: 1.55;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.message.user {
  justify-self: end;
  color: #141414;
  background: var(--gold-bright);
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1rem 1rem;
}

.quick-questions button {
  border: 1px solid rgba(40, 243, 255, 0.25);
  border-radius: 999px;
  color: var(--text);
  background: rgba(40, 243, 255, 0.07);
  padding: 0.45rem 0.65rem;
  cursor: pointer;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.chat-input button {
  border: 0;
  border-radius: 6px;
  color: #111;
  background: linear-gradient(135deg, var(--electric), var(--gold-bright));
  padding: 0 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2.5rem clamp(1rem, 6vw, 6rem);
  border-top: 1px solid rgba(40, 243, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 191, 53, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(40, 243, 255, 0.08), transparent 42%),
    rgba(3, 3, 3, 0.92);
}

.site-footer strong {
  color: var(--gold-bright);
}

.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.footer-links a,
.footer-contact a {
  color: var(--text);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold-bright);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 217, 122, 0.16);
  font-size: 0.9rem;
}

.footer-note a {
  display: inline-flex;
  margin-left: 0.75rem;
  color: var(--muted);
}

.footer-note a:hover {
  color: var(--gold-bright);
}

@keyframes gridDrift {
  from { transform: rotate(24deg) skewX(-8deg) translate3d(0, 0, 0); }
  to { transform: rotate(28deg) skewX(-8deg) translate3d(-2rem, 1rem, 0); }
}

@keyframes sweep {
  from { transform: translateX(-14vw); opacity: 0; }
  30% { opacity: 0.75; }
  to { transform: translateX(34vw); opacity: 0; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 243, 255, 0.42), 0 0 18px rgba(40, 243, 255, 0.8); }
  70% { box-shadow: 0 0 0 18px rgba(40, 243, 255, 0), 0 0 24px rgba(40, 243, 255, 0.8); }
  100% { box-shadow: 0 0 0 0 rgba(40, 243, 255, 0), 0 0 18px rgba(40, 243, 255, 0.8); }
}

@keyframes cyberScan {
  from { background-position: -20vw 0, 0 0; }
  to { background-position: 120vw 0, 0 24px; }
}

@keyframes cyberMapDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 72px 0, 0 72px; }
}

@keyframes verticalScan {
  from { transform: translateY(-110%); opacity: 0; }
  22% { opacity: 0.9; }
  to { transform: translateY(280%); opacity: 0; }
}

@keyframes rotateCore {
  to { transform: rotate(360deg); }
}

@keyframes dataRise {
  from { transform: scaleY(0.72); opacity: 0.72; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes cardSweep {
  50% { transform: translateX(0); }
  100% { transform: translateX(110%); }
}

@keyframes linkFlow {
  from { filter: hue-rotate(0deg); transform: scaleX(0.86); }
  to { filter: hue-rotate(35deg); transform: scaleX(1); }
}

@keyframes consoleSweep {
  45% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

@keyframes terminalScan {
  from { background-position: -40rem 0, 0 0; }
  to { background-position: 40rem 0, 0 40px; }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-core {
    min-height: 28rem;
    order: 2;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .qualification-grid,
  .process-list,
  .innovation-band,
  .answer-grid,
  .split-section,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .innovation-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .innovation-band div:last-child {
    border-bottom: 0;
  }

  .capability-list div {
    display: grid;
  }

  .capability-list span {
    text-align: left;
  }

  .capability-list {
    grid-template-columns: 1fr;
  }

  .engineering-link .capability-list::before,
  .project-path .process-list::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0.85rem 1rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand img {
    width: 2rem;
    height: 2rem;
  }

  .nav {
    gap: 0.65rem;
    font-size: 0.88rem;
  }

  .nav-chat {
    padding: 0.48rem 0.7rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1rem 4rem;
    gap: 1.5rem;
  }

  .hero-logo-lockup {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.75rem, 16vw, 3.4rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.45rem);
  }

  .hero-core {
    min-height: 22rem;
    clip-path: polygon(5% 0, 100% 0, 100% 92%, 88% 100%, 0 100%, 0 8%);
  }

  .hero-copy,
  .section-heading > p,
  .section-note {
    line-height: 1.75;
  }

  .section {
    padding-inline: 1rem;
  }

  .proof-chip {
    min-width: 8rem;
    font-size: 0.8rem;
  }

  .chip-b {
    top: 55%;
  }

  .hero-actions,
  .direct-contact {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .chat-widget {
    right: 0.75rem;
    bottom: 0.75rem;
    width: calc(100vw - 1.5rem);
  }

  .chat-panel {
    max-height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
  }

  .chat-panel[hidden] {
    display: none;
  }

  .chat-messages {
    max-height: 34vh;
  }

  .chat-input {
    grid-template-columns: 1fr;
  }

  .chat-input button {
    min-height: 2.75rem;
  }
}

/* Three.js stage layering */
.experience-canvas {
  z-index: 0;
}

body::before,
body::after {
  z-index: 1;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header,
.sound-toggle,
.scene-rail,
.experience-progress,
.chat-widget,
.entry-gate {
  z-index: 30;
}

.entry-gate {
  z-index: 100;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Liquid glass visual system */
:root {
  --bg: #05070a;
  --panel: rgba(245, 250, 255, 0.08);
  --panel-strong: rgba(245, 250, 255, 0.12);
  --gold: #d6b66a;
  --gold-bright: #f4d991;
  --electric: #7de7ff;
  --electric-soft: rgba(125, 231, 255, 0.22);
  --hot-gold: #f0bf62;
  --text: #f7fbff;
  --muted: rgba(229, 237, 244, 0.72);
  --line: rgba(229, 246, 255, 0.18);
}

body {
  background:
    linear-gradient(128deg, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(238deg, rgba(80, 205, 255, 0.2), transparent 34%),
    linear-gradient(180deg, #0b1118 0%, #07090e 44%, #101318 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.1) 18.2% 18.8%, transparent 19% 100%),
    linear-gradient(68deg, transparent 0 54%, rgba(125, 231, 255, 0.12) 54.2% 55%, transparent 55.4% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 82px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 82px);
  animation: glassField 16s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, rgba(125, 231, 255, 0.08) 62%, transparent 100%);
  opacity: 0.72;
  mix-blend-mode: screen;
}

.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(8, 16, 24, 0.96), rgba(3, 6, 10, 0.92)),
    linear-gradient(90deg, rgba(125, 231, 255, 0.16), transparent);
  animation: gateExit 3.1s cubic-bezier(0.7, 0, 0.2, 1) forwards;
  pointer-events: none;
}

.entry-glass {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  width: min(18rem, 72vw);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px) saturate(150%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -24px 48px rgba(125, 231, 255, 0.08),
    0 38px 120px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  animation: glassBoot 2.8s ease forwards;
}

.entry-glass::before {
  content: "";
  position: absolute;
  inset: -35% -70%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: translateX(-46%) rotate(8deg);
  animation: glassShine 2.2s ease-in-out forwards;
}

.entry-glass img {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32), 0 0 36px rgba(125, 231, 255, 0.28);
}

.entry-glass span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 900;
}

.entry-glass i {
  width: 70%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--electric), var(--gold-bright), transparent);
  animation: gateLine 1.5s ease-in-out infinite;
}

.site-header {
  top: 1rem;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055)),
    rgba(6, 10, 14, 0.58);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(26px) saturate(160%);
}

.brand img,
.hero-logo-lockup img {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.68), 0 20px 48px rgba(0, 0, 0, 0.22), 0 0 34px rgba(125, 231, 255, 0.22);
}

.nav a,
.nav-chat {
  color: rgba(247, 251, 255, 0.84);
}

.nav-chat,
.button,
.direct-contact a,
.process-list span,
.quick-questions button,
.chat-input button {
  border-radius: 999px;
}

.hero {
  padding-top: 9rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 28%),
    linear-gradient(238deg, rgba(125, 231, 255, 0.16), transparent 46%);
}

.hero::before {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(95deg, rgba(255, 255, 255, 0.16), rgba(125, 231, 255, 0.08), transparent),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(255, 255, 255, 0.07) 29px 30px),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(125, 231, 255, 0.07) 29px 30px);
  filter: drop-shadow(0 0 32px rgba(125, 231, 255, 0.16));
}

.hero-content {
  animation: contentRise 1.1s ease 0.35s both;
}

.hero-logo-lockup {
  border-color: rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px) saturate(150%);
}

h1 {
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2),
    0 26px 72px rgba(0, 0, 0, 0.36),
    0 0 58px rgba(125, 231, 255, 0.18);
}

.hero-core,
.qualification-card,
.capability-list div,
.innovation-band,
.innovation-band div,
.answer-grid article,
.process-list li,
.contact-form,
.chat-panel,
.site-footer {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(24px) saturate(148%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -22px 48px rgba(125, 231, 255, 0.045),
    0 24px 86px rgba(0, 0, 0, 0.3);
}

.hero-core {
  clip-path: polygon(7% 0, 100% 0, 100% 88%, 90% 100%, 0 100%, 0 10%);
  animation: contentRise 1.2s ease 0.55s both, glassFloat 6s ease-in-out 1.8s infinite alternate;
}

.hero-core::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.08) 35px 36px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(125, 231, 255, 0.08) 35px 36px);
}

.core-center {
  background: radial-gradient(circle, #ffffff 0 9%, #9af1ff 10% 45%, #d9f8ff 46% 58%, #f4d991 59% 100%);
}

.proof-chip,
.contact-form input,
.contact-form textarea,
.chat-input input {
  border-color: rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(5, 8, 12, 0.42);
  backdrop-filter: blur(18px);
}

.button.primary,
.chat-toggle,
.chat-input button {
  background: linear-gradient(135deg, #f7fbff, #9eefff 46%, #f4d991);
  color: #071016;
}

.button.secondary,
.button.ghost,
.nav-chat {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(20px);
}

.qualification-card::after,
.answer-grid article::after,
.project-path .process-list::before,
.engineering-link .capability-list::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), var(--electric), var(--gold-bright), transparent);
}

.technology,
.ai-discovery,
.site-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(225deg, rgba(125, 231, 255, 0.1), transparent 42%),
    rgba(255, 255, 255, 0.035);
}

@keyframes gateExit {
  0%, 72% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; visibility: hidden; transform: scale(1.04); }
}

@keyframes glassBoot {
  from { opacity: 0; transform: translateY(18px) scale(0.94); filter: blur(12px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes glassShine {
  from { transform: translateX(-48%) rotate(8deg); }
  to { transform: translateX(48%) rotate(8deg); }
}

@keyframes gateLine {
  0%, 100% { transform: scaleX(0.55); opacity: 0.45; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes contentRise {
  from { opacity: 0; transform: translateY(28px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes glassFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -0.8rem, 0); }
}

@keyframes glassField {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-1.4rem, 0.9rem, 0) scale(1.02); }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
  }
}

@media (max-width: 560px) {
  .entry-glass {
    width: calc(100vw - 2rem);
  }
}

/* Selected direction: A liquid glass components + C aurora laser motion background */
body {
  background:
    radial-gradient(circle at 16% 12%, rgba(125, 231, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(146, 118, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 72% 78%, rgba(244, 217, 145, 0.16), transparent 30rem),
    linear-gradient(135deg, #071019 0%, #0b0f18 38%, #10141d 64%, #06080d 100%);
  overflow-x: hidden;
}

body::before {
  background:
    linear-gradient(116deg, transparent 0 24%, rgba(255, 255, 255, 0.22) 24.3% 24.8%, transparent 25.2%),
    linear-gradient(64deg, transparent 0 42%, rgba(125, 231, 255, 0.18) 42.2% 43%, transparent 43.4%),
    linear-gradient(132deg, transparent 0 62%, rgba(146, 118, 255, 0.16) 62.3% 63.1%, transparent 63.5%),
    radial-gradient(ellipse at 22% 78%, rgba(72, 210, 255, 0.18), transparent 34rem),
    radial-gradient(ellipse at 86% 24%, rgba(244, 217, 145, 0.14), transparent 28rem);
  filter: saturate(1.18);
  animation: auroraLaserDrift 12s ease-in-out infinite alternate;
}

body::after {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent),
    linear-gradient(18deg, transparent 0 42%, rgba(125, 231, 255, 0.16) 42.2% 42.6%, transparent 43%),
    linear-gradient(160deg, transparent 0 50%, rgba(244, 217, 145, 0.12) 50.2% 50.7%, transparent 51%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 96px);
  opacity: 0.78;
  animation: laserVeil 7.6s ease-in-out infinite alternate;
}

.entry-gate {
  background:
    radial-gradient(circle at 22% 26%, rgba(125, 231, 255, 0.24), transparent 24rem),
    radial-gradient(circle at 78% 18%, rgba(146, 118, 255, 0.2), transparent 26rem),
    linear-gradient(135deg, rgba(7, 14, 22, 0.97), rgba(5, 6, 11, 0.94));
}

.hero {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 24%),
    radial-gradient(ellipse at 70% 22%, rgba(125, 231, 255, 0.22), transparent 30rem),
    radial-gradient(ellipse at 18% 72%, rgba(146, 118, 255, 0.14), transparent 28rem);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-visual::before {
  inset: 12% -24%;
  background:
    linear-gradient(105deg, transparent 0 32%, rgba(255, 255, 255, 0.38) 33%, rgba(125, 231, 255, 0.34) 33.6%, transparent 35%),
    linear-gradient(78deg, transparent 0 58%, rgba(244, 217, 145, 0.22) 58.4%, transparent 60%);
  filter: blur(0.3px) drop-shadow(0 0 24px rgba(125, 231, 255, 0.34));
  animation: heroLaserSweep 5.6s ease-in-out infinite;
}

.hero-visual::after {
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(125, 231, 255, 0.42) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 54%, rgba(244, 217, 145, 0.34) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 78%, rgba(146, 118, 255, 0.32) 0 2px, transparent 3px);
  background-size: 18rem 18rem, 22rem 22rem, 26rem 26rem;
  animation: particleField 10s linear infinite;
}

.hero-core,
.hero-logo-lockup,
.site-header,
.qualification-card,
.capability-list div,
.answer-grid article,
.process-list li,
.contact-form,
.chat-panel {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -28px 58px rgba(125, 231, 255, 0.055),
    0 28px 90px rgba(0, 0, 0, 0.32),
    0 0 52px rgba(125, 231, 255, 0.08);
}

.technology,
.ai-discovery,
.site-footer {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 30%),
    radial-gradient(ellipse at 72% 30%, rgba(125, 231, 255, 0.15), transparent 26rem),
    radial-gradient(ellipse at 20% 80%, rgba(146, 118, 255, 0.12), transparent 24rem),
    rgba(255, 255, 255, 0.035);
}

@keyframes auroraLaserDrift {
  0% { transform: translate3d(-1rem, -0.4rem, 0) scale(1); filter: hue-rotate(0deg) saturate(1.12); }
  50% { transform: translate3d(1.4rem, 0.8rem, 0) scale(1.035); filter: hue-rotate(12deg) saturate(1.3); }
  100% { transform: translate3d(-0.4rem, 1.2rem, 0) scale(1.02); filter: hue-rotate(-8deg) saturate(1.18); }
}

@keyframes laserVeil {
  from { transform: translateX(-2.4rem) skewX(-3deg); opacity: 0.58; }
  to { transform: translateX(2.4rem) skewX(3deg); opacity: 0.86; }
}

@keyframes heroLaserSweep {
  0%, 18% { transform: translateX(-28%) skewX(-8deg); opacity: 0; }
  32%, 58% { opacity: 0.92; }
  88%, 100% { transform: translateX(28%) skewX(-8deg); opacity: 0; }
}

@keyframes particleField {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 18rem -18rem, -22rem 22rem, 26rem 26rem; }
}

/* Active-theory-inspired immersive interaction layer */
.experience-canvas {
  position: fixed;
  inset: 0;
  z-index: -4;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: #05080d;
}

body::before,
body::after {
  z-index: -3;
}

html {
  scroll-snap-type: y proximity;
}

body {
  cursor: none;
}

.sound-toggle {
  position: fixed;
  z-index: 35;
  left: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.76rem 1rem;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05)),
    rgba(8, 12, 18, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 18px 52px rgba(0, 0, 0, 0.28);
  font-weight: 900;
  cursor: pointer;
}

.sound-toggle[aria-pressed="true"] {
  color: #071016;
  background: linear-gradient(135deg, #f7fbff, #9eefff 52%, #f4d991);
}

.experience-cursor {
  position: fixed;
  z-index: 90;
  left: 0;
  top: 0;
  width: 3.8rem;
  aspect-ratio: 1;
  margin: -1.9rem 0 0 -1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 32%),
    radial-gradient(circle, rgba(125, 231, 255, 0.16), transparent 68%);
  box-shadow: 0 0 40px rgba(125, 231, 255, 0.22);
  transition: width 180ms ease, margin 180ms ease, border-color 180ms ease;
}

.is-interacting .experience-cursor {
  width: 5.6rem;
  margin: -2.8rem 0 0 -2.8rem;
  border-color: rgba(244, 217, 145, 0.55);
}

.experience-progress {
  position: fixed;
  z-index: 34;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
}

.experience-progress span {
  display: block;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--electric), #a876ff, var(--gold-bright));
  box-shadow: 0 0 18px rgba(125, 231, 255, 0.58);
}

.scene-rail {
  position: fixed;
  z-index: 34;
  right: 1rem;
  top: 50%;
  display: grid;
  gap: 0.55rem;
  transform: translateY(-50%);
}

.scene-rail a {
  display: grid;
  place-items: center;
  width: 2.4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(247, 251, 255, 0.55);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  font-size: 0.7rem;
  font-weight: 900;
  transition: transform 220ms ease, color 220ms ease, background 220ms ease, border-color 220ms ease;
}

.scene-rail a.is-active {
  color: #071016;
  background: linear-gradient(135deg, #f7fbff, #9eefff 48%, #f4d991);
  border-color: rgba(255, 255, 255, 0.64);
  transform: scale(1.16);
  box-shadow: 0 0 28px rgba(125, 231, 255, 0.28);
}

.section,
.hero {
  counter-increment: scene;
  scroll-snap-align: start;
  min-height: 100vh;
  opacity: 0.62;
  transform: translateY(2rem) scale(0.985);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
  filter: saturate(0.86);
}

.hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 0.86fr);
  min-height: 112vh;
}

.hero-content {
  isolation: isolate;
}

.kinetic-title {
  position: absolute;
  z-index: -1;
  left: -0.4rem;
  top: -4.2rem;
  display: grid;
  gap: 0;
  color: rgba(255, 255, 255, 0.055);
  font-size: clamp(4.5rem, 14vw, 12rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  text-transform: uppercase;
  filter: blur(0.2px);
}

.kinetic-title span {
  display: block;
  transform: translateX(calc((var(--pointer-x, 0.5) - 0.5) * -3rem));
  animation: kineticSlide 7s ease-in-out infinite alternate;
}

.kinetic-title span:nth-child(2) {
  color: rgba(125, 231, 255, 0.08);
  animation-delay: -2s;
}

.kinetic-title span:nth-child(3) {
  color: rgba(244, 217, 145, 0.08);
  animation-delay: -4s;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4.8rem, 11vw, 10.8rem);
}

.hero-copy {
  max-width: 44rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(125, 231, 255, 0.42);
}

.hero-core {
  min-height: min(72vh, 44rem);
  border-radius: 8px;
  transform: perspective(900px) rotateY(calc((var(--pointer-x, 0.5) - 0.5) * -9deg)) rotateX(calc((var(--pointer-y, 0.5) - 0.5) * 7deg));
}

.experience-orbital {
  position: absolute;
  inset: 6%;
  pointer-events: none;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.experience-orbital span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 42px rgba(125, 231, 255, 0.12);
  animation: orbitalTilt 8s linear infinite;
}

.experience-orbital span:nth-child(2) {
  transform: rotateX(64deg);
  border-color: rgba(125, 231, 255, 0.22);
  animation-duration: 6s;
  animation-direction: reverse;
}

.experience-orbital span:nth-child(3) {
  transform: rotateY(64deg);
  border-color: rgba(244, 217, 145, 0.18);
  animation-duration: 11s;
}

.section {
  display: grid;
  align-content: center;
}

.section-heading {
  max-width: 72rem;
}

h2 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 8.8rem);
}

.qualification-grid,
.answer-grid,
.process-list {
  perspective: 1200px;
}

.qualification-card,
.answer-grid article,
.process-list li,
.capability-list div {
  min-height: 15rem;
  transform-origin: center;
}

.hero.is-active,
.section.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1.08);
}

.section::before,
.hero::marker {
  display: none;
}

.section::after {
  content: "SCENE 0" counter(scene);
  position: absolute;
  right: clamp(1rem, 6vw, 6rem);
  top: clamp(1.4rem, 4vw, 3rem);
  color: rgba(247, 251, 255, 0.2);
  font-size: clamp(2.2rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.hero::before {
  animation: gridDrift 12s ease-in-out infinite alternate, laserParallax 7s ease-in-out infinite alternate;
}

.hero-content,
.hero-core,
.qualification-card,
.capability-list div,
.innovation-band,
.answer-grid article,
.process-list li,
.contact-form {
  transform-style: preserve-3d;
}

.qualification-card,
.capability-list div,
.answer-grid article,
.process-list li {
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.qualification-card:hover,
.capability-list div:hover,
.answer-grid article:hover,
.process-list li:hover {
  transform: translateY(-0.45rem) perspective(900px) rotateX(calc((var(--pointer-y, 0.5) - 0.5) * -4deg)) rotateY(calc((var(--pointer-x, 0.5) - 0.5) * 4deg));
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 30px 110px rgba(0, 0, 0, 0.34),
    0 0 70px rgba(125, 231, 255, 0.14);
}

.hero-logo-lockup,
.proof-chip,
.direct-contact a,
.footer-links a,
.footer-contact a {
  position: relative;
  overflow: hidden;
}

.hero-logo-lockup::after,
.proof-chip::after,
.direct-contact a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 36%, rgba(255, 255, 255, 0.32) 44%, transparent 52% 100%);
  transform: translateX(-120%);
  animation: microSweep 4.8s ease-in-out infinite;
}

.core-orbit {
  filter: drop-shadow(0 0 26px rgba(125, 231, 255, 0.16));
}

.core-node,
.pulse-node {
  animation: nodePulseTheory 2.4s ease-in-out infinite;
}

.grid-line {
  animation: sweep 4.4s linear infinite, laserColorShift 5.2s ease-in-out infinite alternate;
}

.hero::after,
.section > .section-heading::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 16rem;
  aspect-ratio: 1;
  right: calc(var(--pointer-x, 0.5) * 12vw);
  top: calc(var(--pointer-y, 0.5) * 28vh);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), rgba(125, 231, 255, 0.12) 28%, transparent 64%);
  filter: blur(18px);
  opacity: 0.18;
  mix-blend-mode: screen;
}

.site-footer {
  position: relative;
}

@keyframes laserParallax {
  from { filter: drop-shadow(0 0 18px rgba(125, 231, 255, 0.12)); }
  to { filter: drop-shadow(0 0 38px rgba(146, 118, 255, 0.18)); }
}

@keyframes microSweep {
  0%, 40% { transform: translateX(-120%); opacity: 0; }
  52% { opacity: 1; }
  72%, 100% { transform: translateX(120%); opacity: 0; }
}

@keyframes nodePulseTheory {
  0%, 100% { transform: scale(0.86); opacity: 0.58; }
  50% { transform: scale(1.28); opacity: 1; }
}

@keyframes laserColorShift {
  from { filter: hue-rotate(0deg) drop-shadow(0 0 16px rgba(125, 231, 255, 0.55)); }
  to { filter: hue-rotate(42deg) drop-shadow(0 0 26px rgba(244, 217, 145, 0.42)); }
}

@keyframes kineticSlide {
  from { transform: translateX(calc((var(--pointer-x, 0.5) - 0.5) * -3rem)) skewX(-4deg); }
  to { transform: translateX(calc((var(--pointer-x, 0.5) - 0.5) * 3rem)) skewX(4deg); }
}

@keyframes orbitalTilt {
  to { rotate: 360deg; }
}

@media (max-width: 560px) {
  .sound-toggle {
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.65rem 0.82rem;
    font-size: 0.82rem;
  }

  .section::after {
    opacity: 0.45;
    top: 1rem;
  }

  body {
    cursor: auto;
  }

  .experience-cursor,
  .scene-rail {
    display: none;
  }

  .kinetic-title {
    top: -1rem;
    font-size: 4.2rem;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 4.6rem);
  }
}

/* Three.js immersive object-stage override */
.three-ready body {
  background:
    radial-gradient(circle at 50% 12%, rgba(125, 231, 255, 0.13), transparent 34rem),
    radial-gradient(circle at 72% 68%, rgba(139, 102, 255, 0.11), transparent 32rem),
    radial-gradient(circle at 18% 72%, rgba(244, 217, 145, 0.09), transparent 28rem),
    #02050a;
}

.three-ready .experience-canvas {
  z-index: 0;
  opacity: 1;
  background: #02050a;
  filter: saturate(1.18) contrast(1.08);
}

.three-ready body::before,
.three-ready body::after {
  z-index: 1;
  opacity: 0.42;
}

.three-ready main,
.three-ready .site-footer {
  position: relative;
  z-index: 3;
}

.three-ready .site-header,
.three-ready .sound-toggle,
.three-ready .scene-rail,
.three-ready .experience-progress,
.three-ready .chat-widget {
  z-index: 42;
}

.three-ready .entry-gate {
  z-index: 100;
}

.three-ready .hero {
  min-height: 124vh;
  grid-template-columns: minmax(20rem, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: center;
  padding-top: 12rem;
  padding-bottom: 12vh;
  background: transparent;
  border-bottom: 0;
}

.three-ready .hero::before {
  opacity: 0.18;
  transform: rotate(24deg) skewX(-8deg) translate3d(16vw, 0, 0);
}

.three-ready .hero::after,
.three-ready .hero-visual {
  opacity: 0.26;
}

.three-ready .hero-content {
  max-width: min(30rem, 88vw);
  padding: 1.1rem 0 1.2rem;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.72);
}

.three-ready .kinetic-title {
  top: -5.4rem;
  opacity: 0.82;
  color: rgba(255, 255, 255, 0.035);
  filter: blur(0.6px);
}

.three-ready .hero-logo-lockup {
  transform: scale(0.88);
  transform-origin: left center;
  opacity: 0.84;
}

.three-ready h1 {
  max-width: 6.4ch;
  font-size: clamp(3.35rem, 6.4vw, 5.95rem);
}

.three-ready .hero-copy {
  max-width: 28rem;
  color: rgba(247, 251, 255, 0.76);
  background:
    linear-gradient(90deg, rgba(3, 7, 12, 0.78), rgba(3, 7, 12, 0.28), transparent);
  padding: 0.85rem 1rem;
  border-left-color: rgba(125, 231, 255, 0.66);
  backdrop-filter: blur(14px);
}

.three-ready .hero-actions {
  margin-top: 1.25rem;
}

.three-ready .hero-core {
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
  filter: blur(12px) saturate(0.72);
  transform: scale(0.82);
  pointer-events: none;
}

.three-ready .section {
  display: flex;
  min-height: 108vh;
  align-items: center;
  background: transparent;
  border: 0;
}

.three-ready .section:nth-of-type(odd) {
  justify-content: flex-end;
}

.three-ready .section-heading,
.three-ready .contact-copy {
  width: min(38rem, 88vw);
  margin-bottom: 1.4rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045)),
    rgba(2, 6, 12, 0.52);
  backdrop-filter: blur(24px) saturate(145%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 28px 86px rgba(0, 0, 0, 0.34),
    0 0 60px rgba(125, 231, 255, 0.08);
}

.three-ready .section-heading h2,
.three-ready .contact-copy h2 {
  max-width: 11ch;
  font-size: clamp(2.75rem, 6vw, 6.8rem);
}

.three-ready .qualification-grid,
.three-ready .answer-grid,
.three-ready .process-list,
.three-ready .capability-list,
.three-ready .innovation-band {
  width: min(72rem, 100%);
  opacity: 0.54;
  transform: scale(0.94);
  transform-origin: center;
}

.three-ready .qualification-card,
.three-ready .answer-grid article,
.three-ready .process-list li,
.three-ready .capability-list div,
.three-ready .innovation-band,
.three-ready .innovation-band div {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.026)),
    rgba(2, 7, 13, 0.32);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(135%);
}

.three-ready .technology,
.three-ready .ai-discovery {
  background: transparent;
}

.three-ready .contact-section {
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 0.62fr);
  align-items: center;
}

.three-ready .contact-form {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(2, 7, 13, 0.6);
  backdrop-filter: blur(26px) saturate(150%);
}

.three-ready .site-footer {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(2, 6, 12, 0.74);
  backdrop-filter: blur(22px) saturate(140%);
}

@media (max-width: 900px) {
  .three-ready .hero {
    grid-template-columns: 1fr;
    min-height: 116vh;
    padding-top: 8rem;
    padding-bottom: 8vh;
  }

  .three-ready .hero-core {
    display: none;
  }

  .three-ready .section,
  .three-ready .section:nth-of-type(odd) {
    display: grid;
    justify-content: stretch;
    min-height: auto;
    padding-block: 5rem;
  }

  .three-ready .qualification-grid,
  .three-ready .answer-grid,
  .three-ready .process-list,
  .three-ready .capability-list,
  .three-ready .innovation-band {
    opacity: 0.8;
    transform: none;
  }

  .three-ready .contact-section {
    grid-template-columns: 1fr;
  }
}
