:root {
  color-scheme: dark;
  --bg: #05070a;
  --panel: rgba(11, 18, 28, 0.78);
  --panel-solid: #0d141d;
  --line: rgba(255, 255, 255, 0.14);
  --text: #f6f8fb;
  --muted: #a7b0bd;
  --blue: #23b7ff;
  --green: #52e0a4;
  --amber: #ffbd59;
  --red: #ff6b6b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(35, 183, 255, 0.12), transparent 32rem),
    radial-gradient(circle at 85% 8%, rgba(82, 224, 164, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.82), transparent 78%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 10, 0.78);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.header-cta,
.nav,
.btn {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 226px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(35, 183, 255, 0.5);
  background: linear-gradient(135deg, rgba(35, 183, 255, 0.28), rgba(82, 224, 164, 0.2));
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 2px;
}

.nav {
  gap: clamp(12px, 2vw, 30px);
  color: #d7dde6;
  font-size: 0.94rem;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: var(--green);
}

.header-cta {
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta svg,
.btn svg,
.feature-list svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 5vw, 72px) 40px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.08);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.92) 0%, rgba(5, 7, 10, 0.65) 46%, rgba(5, 7, 10, 0.24) 100%),
    linear-gradient(0deg, rgba(5, 7, 10, 0.95) 0%, transparent 46%);
}

.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: 32%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(82, 224, 164, 0.8), transparent);
  box-shadow: 0 0 28px rgba(82, 224, 164, 0.7);
  animation: scan 5.5s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% {
    transform: translateY(-90px);
    opacity: 0.25;
  }
  50% {
    transform: translateY(140px);
    opacity: 0.85;
  }
}

.hero-content {
  max-width: 820px;
  padding-bottom: clamp(28px, 7vh, 74px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3.7rem, 9vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.hero-copy,
.section-heading p,
.showcase-copy p,
.contact-content p,
.intro-copy p {
  color: #d6dde8;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.hero-copy {
  max-width: 690px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: #041018;
  box-shadow: 0 18px 48px rgba(35, 183, 255, 0.22);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.btn.dark {
  color: #081018;
  background: #f5f8fc;
}

.flight-panel {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  max-width: min(560px, calc(100% - 36px));
  border: 1px solid var(--line);
  background: rgba(5, 7, 10, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.flight-panel div {
  padding: 18px;
  border-left: 1px solid var(--line);
}

.flight-panel div:first-child {
  border-left: 0;
}

.flight-panel span {
  display: block;
  color: var(--amber);
  font-size: 1.35rem;
  font-weight: 900;
}

.flight-panel small {
  color: var(--muted);
  line-height: 1.35;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.intro-band {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(35, 183, 255, 0.08), rgba(82, 224, 164, 0.05), rgba(255, 189, 89, 0.07));
}

.intro-copy {
  max-width: 1060px;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

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

.service-card {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.18);
}

.service-card svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
  margin-bottom: 28px;
}

.service-card:nth-child(2) svg {
  color: var(--green);
}

.service-card:nth-child(3) svg {
  color: var(--amber);
}

.service-card:nth-child(4) svg {
  color: var(--red);
}

.service-card p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 0 clamp(18px, 5vw, 72px) clamp(72px, 10vw, 132px);
}

.showcase-image {
  min-height: 620px;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.showcase-copy {
  max-width: 640px;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  color: #e6ebf2;
  line-height: 1.45;
}

.feature-list svg {
  flex: 0 0 auto;
  color: var(--green);
  margin-top: 2px;
}

.portfolio {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.project-card {
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.22);
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.06);
}

.project-card div {
  padding: 24px;
}

.project-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline-item {
  min-height: 250px;
  padding: 28px;
  background: var(--panel-solid);
}

.timeline-item span {
  display: block;
  margin-bottom: 56px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 72px) clamp(42px, 7vw, 72px);
  padding: clamp(36px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(35, 183, 255, 0.22), rgba(82, 224, 164, 0.16)),
    #101923;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.contact-content {
  max-width: 820px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .nav {
    display: none;
  }

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

  .showcase,
  .contact {
    grid-template-columns: 1fr;
  }

  .showcase-image,
  .showcase-image img {
    min-height: 440px;
  }

  .contact-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .hero {
    min-height: 96vh;
    padding: 120px 18px 260px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .flight-panel {
    left: 18px;
    right: 18px;
    bottom: 24px;
    grid-template-columns: 1fr;
  }

  .flight-panel div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .flight-panel div:first-child {
    border-top: 0;
  }

  .section {
    padding: 68px 18px;
  }

  .service-grid,
  .timeline,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .timeline-item {
    min-height: auto;
  }

  .showcase {
    padding: 0 18px 68px;
  }

  .showcase-image,
  .showcase-image img {
    min-height: 330px;
  }

  .contact {
    margin: 0 18px 34px;
    padding: 30px 22px;
  }

  .site-footer {
    flex-direction: column;
  }
}
