:root {
  color-scheme: dark;
  --ink: #f7fbff;
  --muted: #b9c5d3;
  --line: rgba(255, 255, 255, 0.16);
  --panel: #101820;
  --panel-2: #16222d;
  --accent: #30c7a4;
  --accent-2: #55a7ff;
  --gold: #f4c95d;
  --bg: #071016;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(7, 16, 22, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong {
  max-width: 180px;
  line-height: 1.05;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a:hover,
.header-action:hover {
  color: var(--ink);
}

.header-action {
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 132px clamp(20px, 5vw, 72px) clamp(42px, 7vw, 86px);
  overflow: hidden;
  isolation: isolate;
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 16, 22, 0.94), rgba(7, 16, 22, 0.58) 48%, rgba(7, 16, 22, 0.1)),
    linear-gradient(0deg, rgba(7, 16, 22, 0.92), transparent 44%);
}

.hero-content {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Inter, Manrope, Arial, sans-serif;
  font-size: clamp(54px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  font-family: Inter, Manrope, Arial, sans-serif;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  color: #dbe5ef;
  font-size: 21px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 900;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04100d;
}

.button.secondary {
  color: var(--ink);
}

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

.intro,
.work,
.services,
.systems,
.process,
.cta {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  background: #0b141b;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

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

.project-grid article,
.service-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
}

.project-grid img {
  height: 300px;
  object-fit: cover;
}

.project-grid article:first-child img {
  object-position: 50% 48%;
}

.project-grid span {
  display: block;
  margin: 22px 22px 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-grid h3,
.project-grid p {
  margin-left: 22px;
  margin-right: 22px;
}

.project-grid p {
  margin-bottom: 24px;
  font-size: 16px;
}

.services {
  background: #0a1218;
}

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

.service-grid article {
  padding: 26px;
}

.service-grid span {
  color: var(--accent-2);
  font-weight: 900;
}

.service-grid p {
  font-size: 16px;
}

.systems {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
}

.systems img {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}

.process {
  background: var(--panel-2);
}

.process ol {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--line);
}

.process li {
  counter-increment: step;
  min-height: 220px;
  padding: 28px;
  background: var(--panel);
}

.process li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 30px;
  color: var(--accent);
  font-weight: 900;
}

.process strong,
.process span {
  display: block;
}

.process strong {
  margin-bottom: 10px;
  font-size: 22px;
}

.process span {
  color: var(--muted);
  line-height: 1.6;
}

.cta {
  text-align: center;
}

.cta h2,
.cta p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

footer strong {
  color: var(--ink);
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 94vh;
    padding-top: 178px;
  }

  .intro,
  .systems,
  .project-grid,
  .service-grid,
  .process ol {
    grid-template-columns: 1fr;
  }

  .project-grid img {
    height: 240px;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand strong {
    max-width: none;
  }

  h1 {
    font-size: 50px;
  }

  .hero-content p:not(.eyebrow),
  p {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }
}
