@font-face {
  font-family: "Reforma 1918";
}

@font-face {
  font-family: "Poppins";
}

:root {
  --main-font: "Reforma 1918", Georgia, serif;
  --sub-font: "Poppins", "Segoe UI", sans-serif;
  --color-black: #050608;
  --color-white: #f8fbff;
  --color-navy: #102030;
  --color-navy-soft: #15283b;
  --color-navy-mid: #18314a;
  --color-accent: #28c6e5;
  --color-accent-soft: rgba(40, 198, 229, 0.18);
  --color-border: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.42);

  --font-size-h1: clamp(3rem, 8vw, 7rem);
  --font-size-desc-1: clamp(1rem, 1.25vw, 1.1rem);
  --font-size-desc-2: 0.82rem;
  --font-size-header-text-1: 0.92rem;
  --font-size-btn-1: 0.92rem;

  --line-height-h1: 0.95;
  --line-height-desc-1: 1.7;
  --line-height-desc-2: 1.3;
  --line-height-header-text-1: 1;
  --line-height-btn-1: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(40, 198, 229, 0.16), transparent 28%),
    radial-gradient(circle at right 10% top 20%, rgba(60, 113, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #050608 0%, #0a1016 100%);
  color: var(--color-white);
  font-family: var(--sub-font);
}

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

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

.shell {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.title {
  font-family: var(--main-font);
  font-weight: 500;
  color: var(--color-white);
}

.title-h1 {
  display: grid;
  gap: 0.25rem;
  font-family: var(--main-font);
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
  font-weight: 700;
  letter-spacing: 0rem;
  text-transform: uppercase;
}

.desc-1 {
  font-family: var(--sub-font);
  font-size: var(--font-size-desc-1);
  line-height: var(--line-height-desc-1);
  font-weight: 400;
  color: rgba(248, 251, 255, 0.82);
}

.desc-2 {
  font-family: var(--sub-font);
  font-size: var(--font-size-desc-2);
  line-height: var(--line-height-desc-2);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.header-text-1 {
  font-family: var(--sub-font);
  font-size: var(--font-size-header-text-1);
  line-height: var(--line-height-header-text-1);
  font-weight: 500;
  color: rgba(248, 251, 255, 0.84);
}

.btn-1 {
  font-family: var(--sub-font);
  font-size: var(--font-size-btn-1);
  line-height: var(--line-height-btn-1);
  font-weight: 600;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 18px;
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(8, 13, 19, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand {
  font-family: var(--main-font);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  justify-self: start;
}

.header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.header-menu__item {
  position: relative;
  transition: color 0.25s ease;
}

.header-menu__item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header-menu__item:hover,
.header-menu__item:focus-visible {
  color: var(--color-white);
}

.header-menu__item:hover::after,
.header-menu__item:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(40, 198, 229, 0.28);
  background: linear-gradient(135deg, rgba(24, 49, 74, 0.98), rgba(16, 32, 48, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(40, 198, 229, 0.52);
  box-shadow: 0 12px 30px rgba(16, 32, 48, 0.45);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 156px 0 72px;
  overflow: clip;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1) contrast(1) brightness(0.62);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 10, 0.26), rgba(5, 8, 10, 0.42)),
    radial-gradient(circle at 18% 22%, rgba(40, 198, 229, 0.14), transparent 32%),
    radial-gradient(circle at 82% 26%, rgba(60, 113, 255, 0.14), transparent 28%);
  pointer-events: none;
  z-index: 1;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-copy {
  max-width: 980px;
  padding-top: clamp(3rem, 10vh, 7rem);
}

.eyebrow {
  margin-bottom: 1.4rem;
}

.title-block {
  margin-bottom: 1.5rem;
}

.title-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18em;
}

.title-row-2 {
  padding-left: 0;
}

.title-piece {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

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

.hero-summary {
  max-width: 46rem;
}

.stats-strip {
  padding: 0 0 60px;
}

.projectFactsWrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(64, 112, 163, 0.28);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 18, 28, 0.95), rgba(7, 12, 18, 0.95));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.projectFactsWrap .item {
  padding: 26px 18px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.projectFactsWrap .item:last-child {
  border-right: 0;
}

.projectFactsWrap .item:nth-child(1) {
  background: #112334;
}

.projectFactsWrap .item:nth-child(2) {
  background: #13283c;
}

.projectFactsWrap .item:nth-child(3) {
  background: #162d43;
}

.projectFactsWrap .item:nth-child(4) {
  background: #193249;
}

.projectFactsWrap .number {
  margin-bottom: 0.55rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  font-weight: 700;
  color: var(--color-white);
}

.projectFactsWrap .suffix {
  color: var(--color-white);
}

.projectFactsWrap .item p:last-child {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(120, 178, 221, 0.84);
}

.logo-marquee-section {
  padding: 1rem 0 4rem;
}

.section-head {
  margin-bottom: 1.8rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.logo-marquee {
  width: min(1400px, 100%);
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 26s linear infinite;
  padding: 10px 0;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 118px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(16, 32, 48, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.logo-pill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.logo-pill:hover img {
  filter: grayscale(0) brightness(1.08);
  transform: scale(1.03);
}

.services-section {
  padding: 2rem 0 6rem;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  padding-inline: clamp(16px, 5vw, 72px);
}

.service-card {
  width: min(100%, 360px);
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(24, 49, 74, 0.95), rgba(12, 20, 31, 0.96)),
    #121c29;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(40, 198, 229, 0.28);
}

.service-card__icon {
  width: 84px;
  height: 84px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 22px;
  background: var(--color-accent-soft);
}

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

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 600;
}

.service-card p {
  flex: 1;
  color: rgba(248, 251, 255, 0.74);
  line-height: 1.7;
}

.service-card a {
  margin-top: 24px;
  align-self: flex-start;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease;
}

.service-card a:hover,
.service-card a:focus-visible {
  background: rgba(40, 198, 229, 0.2);
}

.site-footer {
  padding: 2.75rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 10, 0.66);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: flex-start;
}

.brand--footer {
  display: inline-block;
  margin-bottom: 0.9rem;
}

.footer-copy,
.footer-contact p,
.footer-contact a {
  color: rgba(248, 251, 255, 0.72);
  line-height: 1.7;
}

.footer-label {
  margin-bottom: 0.35rem;
  color: var(--color-white) !important;
  font-weight: 600;
}

.footer-contact a {
  color: var(--color-accent);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .header {
    padding-top: 12px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    border-radius: 28px;
    padding: 18px 20px;
  }

  .header-menu {
    grid-column: 1 / -1;
    gap: 24px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .nav-cta {
    min-width: 136px;
    padding: 12px 16px;
  }

  .hero {
    padding-top: 190px;
  }

  .hero-video {
    height: 100%;
  }

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

  .projectFactsWrap .item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), 1280px);
  }

  .title-row-2 {
    padding-left: 0;
  }

  .projectFactsWrap {
    grid-template-columns: 1fr;
  }

  .projectFactsWrap .item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .projectFactsWrap .item:last-child {
    border-bottom: 0;
  }

  .logo-pill {
    width: 180px;
    height: 102px;
  }

  .services-grid {
    padding-inline: 0;
  }

  .service-card {
    width: 100%;
  }

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