:root {
  --bg: #17181a;
  --bg-deep: #0d0e10;
  --panel: #1f2124;
  --ink: #fffcfc;
  --muted: rgba(255, 252, 252, 0.68);
  --soft: rgba(255, 252, 252, 0.42);
  --line: rgba(255, 252, 252, 0.12);
  --cyan: #5bc9f5;
  --cyan-deep: #2aa4d4;
  --navy: #0b1e3a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Archivo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: min(92vh, 860px);
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85) contrast(1.05);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 14, 16, 0.82) 0%, rgba(13, 14, 16, 0.55) 48%, rgba(13, 14, 16, 0.22) 100%),
    linear-gradient(180deg, rgba(13, 14, 16, 0.28) 0%, rgba(13, 14, 16, 0.08) 42%, var(--bg-deep) 100%);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 6vw 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.brand em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--soft);
}

.top-contact {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.top-contact:hover {
  color: var(--cyan);
}

.hero {
  max-width: 760px;
  padding: 12vh 6vw 5rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 24, 26, 0.55);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(91, 201, 245, 0.7);
  animation: pulse 1.8s var(--ease) infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(91, 201, 245, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 201, 245, 0);
  }
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.lede {
  margin: 0 0 1.8rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn-primary {
  background: #ececec;
  color: #141516;
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  border: 1px solid rgba(255, 252, 252, 0.28);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 6vw 2.5rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.services article {
  padding: 1.4rem 1.25rem 1.5rem;
  background: rgba(31, 33, 36, 0.92);
}

.services h2 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.work {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.9fr;
  gap: 0.75rem;
  margin: 0 6vw 3.5rem;
}

.work figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--panel);
  min-height: 220px;
}

.work img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  margin: 0 6vw 4rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(31, 33, 36, 0.88), rgba(23, 24, 26, 0.92)),
    url("assets/img/work-orion.jpg") center / cover;
}

.eyebrow {
  margin: 0 0 0.4rem;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}

.contact-copy p:last-child {
  margin: 0;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list span {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--cyan);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 6vw 1.6rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span,
.powered {
  color: var(--soft);
  font-size: 0.82rem;
}

.powered {
  margin: 0;
}

.powered a {
  color: var(--muted);
  text-decoration: none;
}

.powered a:hover {
  color: var(--cyan);
}

@media (max-width: 900px) {
  .services,
  .work,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 8vh;
  }
}

@media (max-width: 640px) {
  .top,
  .hero,
  .footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .services,
  .work,
  .contact {
    grid-template-columns: 1fr;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
  }

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

  .hero {
    padding: 7vh 1.25rem 3.5rem;
  }

  .work figure:last-child {
    display: none;
  }
}
