:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --surface: #121212;
  --surface-light: #1a1a1a;
  --text: #f5f5f5;
  --muted: #a9a9a9;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #1f6fff;
  --accent-soft: rgba(31, 111, 255, 0.18);

  --max-width: 1180px;
  --header-height: 82px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAVIGATION */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}

.navbar {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  width: 74px;
  height: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 7px 0;
}

/* HERO */

.hero {
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding: 150px max(24px, calc((100vw - var(--max-width)) / 2 + 24px)) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 70px;
  margin: 0 auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(31, 111, 255, 0.18), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07), transparent 24%);
  pointer-events: none;
  z-index: -2;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  opacity: 0.35;
  z-index: -1;
}

.hero-content {
  animation: fadeUp 0.9s ease both;
}

.hero-logo {
  width: min(420px, 90%);
  margin: 0 0 42px 0;
  transform: translateX(-24px);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 700;
  margin-bottom: 20px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin-bottom: 28px;
}

.hero-subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--text);
  color: #050505;
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
}

/* HERO SIDE PANEL */

.hero-side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 1s ease both;
  animation-delay: 0.18s;
}

.spec-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  border-radius: 18px;
}

.spec-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spec-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

/* SECTIONS */

.section {
  width: 100%;
  margin: 0 auto;
  padding: 120px max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
  border-top: 1px solid var(--line);
}

.dark-section {
  background: var(--bg-soft);
}

.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.section h2 {
  max-width: 800px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}

.section-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 42px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.info-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 22px;
  padding: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 255, 0.55);
  background: var(--surface-light);
}

.info-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.capabilities-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.capabilities-list div {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 22px;
  border-radius: 18px;
  font-weight: 700;
  text-align: center;
}

.contact-section {
  text-align: left;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 60px 24px;
  text-align: center;
  background: #030303;
}

.footer-logo {
  width: min(430px, 90%);
  margin: 0 auto 24px;
}

.footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ANIMATION */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero-side-panel {
    max-width: 520px;
  }

  .card-grid,
  .capabilities-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 76px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    padding: 28px 24px;
    background: rgba(5, 5, 5, 0.96);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-logo img {
    width: 62px;
  }

  .hero {
    padding-top: 130px;
  }

.hero-logo {
  width: min(420px, 90%);
  margin: 0 0 42px 0;
  transform: translateX(-12px);
}
  .section {
    padding-top: 86px;
    padding-bottom: 86px;
  }
}
/* FEATURED PROJECT */

.project-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(31, 111, 255, 0.16), transparent 30%),
    #050505;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
}

.project-card {
  border: 1px solid rgba(31, 111, 255, 0.35);
  border-radius: 28px;
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(31, 111, 255, 0.14), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.project-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.project-header span,
.project-specs span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.project-header strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
}

.project-specs {
  display: grid;
  gap: 18px;
}

.project-specs div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.project-specs strong {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .project-layout {
    grid-template-columns: 1fr;
  }

  .project-card {
    max-width: 520px;
  }
}
/* SCROLL REVEAL ANIMATIONS */

/* SCROLL REVEAL ANIMATIONS */

.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* CAPABILITIES SECTION */

.capabilities-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 111, 255, 0.13), transparent 30%),
    var(--bg-soft);
}

.capabilities-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.capabilities-intro {
  position: sticky;
  top: 120px;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.capability-card {
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.capability-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 111, 255, 0.55);
  background:
    linear-gradient(145deg, rgba(31, 111, 255, 0.14), rgba(255, 255, 255, 0.035));
}

.capability-number {
  display: inline-block;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 46px;
}

.capability-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.capability-card p {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .capabilities-layout {
    grid-template-columns: 1fr;
  }

  .capabilities-intro {
    position: static;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: auto;
  }
}
/* INDUSTRIES SECTION */

.industries-section {
  background:
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.06), transparent 26%),
    #050505;
}

.industries-header {
  max-width: 820px;
  margin-bottom: 48px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.industry-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(31, 111, 255, 0.22);
  border-radius: 50%;
}

.industry-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 111, 255, 0.55);
  background:
    linear-gradient(145deg, rgba(31, 111, 255, 0.14), rgba(255, 255, 255, 0.035));
}

.industry-card span {
  display: inline-block;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 62px;
}

.industry-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.industry-card p {
  color: var(--muted);
  line-height: 1.7;
}

.wide-card {
  grid-column: span 2;
}

@media (max-width: 1000px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wide-card {
    grid-column: span 2;
  }
}

@media (max-width: 650px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-column: span 1;
  }

  .industry-card {
    min-height: auto;
  }
}
/* CONTACT SECTION */

.contact-section {
  background:
    radial-gradient(circle at 20% 15%, rgba(31, 111, 255, 0.14), transparent 30%),
    #050505;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 70px;
  align-items: center;
}

.contact-card {
  border: 1px solid rgba(31, 111, 255, 0.35);
  border-radius: 28px;
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(31, 111, 255, 0.12), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.contact-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:first-child {
  padding-top: 0;
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-row span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.contact-row strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

/* FOOTER UPGRADE */

.footer {
  border-top: 1px solid var(--line);
  background: #030303;
  padding: 70px max(24px, calc((100vw - var(--max-width)) / 2 + 24px)) 28px;
  text-align: left;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 42px;
}

.footer-logo {
  width: min(360px, 90%);
  margin-bottom: 22px;
}

.footer p {
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 14px;
  min-width: 160px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-card {
    max-width: 560px;
  }

  .footer-inner {
    flex-direction: column;
  }
}