:root {
  --bg: #020705;
  --panel: rgba(8, 17, 14, 0.74);
  --panel-strong: rgba(10, 20, 16, 0.9);
  --panel-soft: rgba(10, 25, 18, 0.48);
  --text: #eef8ef;
  --muted: #9eb7a3;
  --line: rgba(93, 255, 133, 0.18);
  --line-strong: rgba(93, 255, 133, 0.34);
  --glow: #5dff85;
  --glow-soft: rgba(93, 255, 133, 0.2);
  --accent: #b4ffbe;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --grid-x: 50%;
  --grid-y: 50%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0%, rgba(93, 255, 133, 0.08), transparent 30%), var(--bg);
  overflow-x: hidden;
  cursor: none;
}

body.nav-open {
  overflow: hidden;
}

body.loaded .site-loader {
  opacity: 0;
  visibility: hidden;
}

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

button {
  font: inherit;
}

.bg-system {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.grid-layer,
.grid-distortion,
.aurora-layer,
.noise-layer {
  position: absolute;
  inset: 0;
}

.grid-layer {
  background-image:
    linear-gradient(rgba(93, 255, 133, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 255, 133, 0.13) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1), transparent 88%);
  opacity: 0.8;
  animation: gridPulse 9s ease-in-out infinite;
}

.grid-distortion {
  background:
    radial-gradient(180px circle at var(--grid-x) var(--grid-y), rgba(93, 255, 133, 0.22), transparent 72%),
    radial-gradient(420px circle at var(--grid-x) var(--grid-y), rgba(93, 255, 133, 0.08), transparent 78%);
  filter: blur(16px);
  opacity: 0.95;
  transform:
    translate3d(calc(var(--grid-dx, 0px) * 0.022), calc(var(--grid-dy, 0px) * 0.022), 0)
    scale(calc(1 + var(--grid-speed, 0) * 0.00012));
  transition: transform 0.18s ease-out;
}

.aurora-layer {
  background:
    radial-gradient(circle at 15% 25%, rgba(93, 255, 133, 0.08), transparent 32%),
    radial-gradient(circle at 82% 14%, rgba(154, 255, 200, 0.12), transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(93, 255, 133, 0.07), transparent 28%);
}

.noise-layer {
  opacity: 0.035;
  background-image:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
  background-size: 100% 3px;
  mix-blend-mode: screen;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(1, 4, 2, 0.98);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.loader-shell {
  width: min(720px, calc(100vw - 2rem));
  padding: 2rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 17, 12, 0.95), rgba(2, 8, 5, 0.95));
  box-shadow: var(--shadow);
}

.loader-kicker {
  margin-bottom: 1rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
}

.loader-terminal {
  font-family: "Orbitron", sans-serif;
  color: var(--glow);
  text-shadow: 0 0 10px rgba(93, 255, 133, 0.4);
}

.loader-line {
  min-height: 1.5em;
  margin: 0 0 0.85rem;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
}

.loader-line::after {
  content: "_";
  margin-left: 0.18rem;
  animation: blink 0.7s steps(1) infinite;
}

.loader-line.show {
  opacity: 1;
  animation: typing 1.2s steps(38, end) forwards, glitch 0.28s steps(2) 2;
}

.loader-line.done::after {
  opacity: 0;
}

.loader-line-accent {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 1rem 0;
}

.site-header.scrolled .nav-shell {
  background: rgba(7, 15, 12, 0.86);
  border-color: var(--line-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: rgba(7, 15, 12, 0.62);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img,
.site-footer img {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(93, 255, 133, 0.16));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-menu a {
  font-family: "Rajdhani", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--text);
  text-shadow: 0 0 14px rgba(93, 255, 133, 0.35);
}

.nav-cta {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line-strong);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

main,
.site-footer {
  width: min(1220px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - 96px);
  padding: 4rem 0 3rem;
}

.hero-panel,
.hero-aside,
.glass-card,
.service-card,
.timeline-step,
.team-card,
.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 18, 14, 0.72), rgba(7, 15, 12, 0.36));
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: clamp(2rem, 4vw, 4rem);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.45rem, 7vw, 5.5rem);
  max-width: 10.4ch;
}

.hero h1 span,
.section-heading h2 span {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(93, 255, 133, 0.18);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--glow);
}

.hero-copy,
.hero-subcopy,
.section-heading,
.glass-card p,
.service-card p,
.timeline-step p,
.contact-card,
.site-footer p {
  color: var(--muted);
}

.hero-copy {
  max-width: 56ch;
  margin: 1.4rem 0 0;
  font-size: 0.94rem;
  line-height: 1.9;
}

.hero-subcopy {
  margin: 1rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.8rem);
  line-height: 1.4;
  letter-spacing: 0.06em;
}

.hero-subcopy span {
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border: 1px solid var(--line-strong);
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(93, 255, 133, 0.14);
}

.button-primary {
  background: linear-gradient(90deg, rgba(93, 255, 133, 0.94), rgba(180, 255, 190, 0.88));
  color: #051008;
}

.button-secondary {
  background: rgba(93, 255, 133, 0.04);
  color: var(--text);
}

.hero-aside {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.status-card {
  padding: 1.3rem;
  border: 1px solid rgba(93, 255, 133, 0.12);
  background: var(--panel-soft);
}

.status-label,
.contact-label {
  margin-bottom: 0.65rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--glow);
}

.status-value {
  font-size: 1rem;
  line-height: 1.7;
}

.section {
  padding: 4rem 0;
}

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

.section-heading h2 {
  font-size: clamp(1.82rem, 3.7vw, 3.2rem);
}

.section-heading p {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  line-height: 1.85;
}

.about-grid,
.contact-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.glass-card {
  padding: 1.7rem;
}

.glass-card p,
.feature-list,
.service-card p,
.timeline-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
}

.about-intro {
  margin-bottom: 1rem !important;
}

.feature-list {
  padding-left: 1.1rem;
}

.feature-list li + li {
  margin-top: 0.85rem;
}

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

.service-card,
.team-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card::before,
.team-card::before,
.timeline-step::before,
.contact-card::before,
.hero-panel::before,
.hero-aside::before,
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(93, 255, 133, 0.08), transparent 42%);
  pointer-events: none;
}

.card-index,
.timeline-step span,
.team-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line);
  color: var(--glow);
  font-family: "Orbitron", sans-serif;
}

.card-index,
.timeline-step span {
  width: 56px;
  height: 56px;
  font-size: 0.82rem;
}

.service-card h3,
.timeline-step h3,
.team-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.service-card:hover,
.team-card:hover,
.timeline-step:hover,
.contact-card:hover,
.glass-card:hover,
.hero-panel:hover,
.hero-aside:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 28px rgba(93, 255, 133, 0.08);
}

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

.timeline-step {
  position: relative;
  padding: 1.5rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-mark {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(93, 255, 133, 0.08);
  font-size: 1rem;
}

.team-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.6rem;
}

.contact-card a {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(0.96rem, 2.7vw, 1.28rem);
  letter-spacing: 0.02em;
  word-break: break-word;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: grid;
  gap: 0.85rem;
}

.footer-brand p {
  max-width: 36ch;
  margin: 0;
  line-height: 1.8;
}

.footer-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 40;
  translate: -50% -50%;
  transition: opacity 0.2s ease, transform 0.22s ease;
}

.cursor-dot {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background:
    center / 28px 28px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23b4ffbe' d='M52 12 36 18 20 34l-8 2-4 12 12-4 2-8 16-16 6-16 8 8ZM24 40l-6 2-2 6 6-2 2-6Zm19-18a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 18px rgba(93, 255, 133, 0.34));
  animation: shipFloat 3.2s ease-in-out infinite;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(93, 255, 133, 0.45);
  border-radius: 50%;
  animation: ringPulse 2.8s ease-in-out infinite;
}

body.cursor-glow .cursor-ring {
  transform: scale(1.18);
  border-color: rgba(180, 255, 190, 0.8);
}

body,
a,
button,
.button,
.nav-menu a,
.service-card,
.team-card,
.timeline-step,
.contact-card {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 64 64'%3E%3Cpath fill='%23b4ffbe' d='M52 12 36 18 20 34l-8 2-4 12 12-4 2-8 16-16 6-16 8 8ZM24 40l-6 2-2 6 6-2 2-6Zm19-18a5 5 0 1 0 0-10 5 5 0 0 0 0 10Z'/%3E%3C/svg%3E")
      16 16,
    auto;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes glitch {
  0%,
  100% {
    transform: translateX(0);
  }
  33% {
    transform: translateX(2px);
  }
  66% {
    transform: translateX(-2px);
  }
}

@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.74;
    background-size: 44px 44px;
  }
  50% {
    opacity: 0.88;
    background-size: 46px 46px;
  }
}

@keyframes shipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

@keyframes ringPulse {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero,
  .about-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  .site-header {
    padding-inline: 0.75rem;
  }

  main,
  .site-footer {
    width: min(100% - 1.5rem, 1220px);
  }

  .nav-toggle {
    display: inline-flex;
  }

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

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

  .nav-menu {
    position: fixed;
    inset: 92px 0 auto;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 1.5rem);
    margin: 0 0.75rem;
    padding: 1rem;
    border: 1px solid var(--line);
    background: rgba(7, 15, 12, 0.96);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4.2rem);
  }

  .card-grid,
  .team-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .loader-shell {
    padding: 1.4rem;
  }

  .loader-line {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
