:root {
  --bg: #071014;
  --panel: #0d181d;
  --panel-soft: #111f25;
  --ink: #f6fbfb;
  --muted: #b6c3c6;
  --subtle: #7f9298;
  --line: rgba(218, 237, 240, 0.15);
  --line-strong: rgba(218, 237, 240, 0.28);
  --ice: #d9f3f7;
  --teal: #79c2cf;
  --gold: #d6a85e;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 16, 20, 0.72);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand,
.hero-mark {
  display: inline-flex;
  align-items: center;
  font-weight: 850;
}

.brand img,
.footer-brand img {
  width: 176px;
  height: auto;
}

.hero-mark img {
  width: min(380px, 88vw);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #05090b;
}

.hero-image,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.94) 0%, rgba(7, 16, 20, 0.76) 42%, rgba(7, 16, 20, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 16, 20, 0.72), rgba(7, 16, 20, 0.1));
}

.hero-grid {
  z-index: 2;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(217, 243, 247, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 243, 247, 0.2) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 92px;
}

.hero-mark {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 8vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(246, 251, 251, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #061014;
  border-color: transparent;
  background: var(--ice);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.positioning {
  padding: 34px max(20px, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a1519;
}

.positioning p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.section,
.why-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4vw, 3.45rem);
  line-height: 1.07;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  line-height: 1.22;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

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

.service-card {
  min-height: 238px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    var(--panel);
  box-shadow: var(--shadow);
}

.service-card span {
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
}

.service-card p {
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.body-copy p {
  margin-bottom: 18px;
  font-size: 1.06rem;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.why-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(121, 194, 207, 0.12), transparent 42%),
    #0a1519;
}

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

.why-grid article {
  min-height: 260px;
  padding: 24px;
  background: var(--panel-soft);
}

.why-grid p {
  margin-bottom: 0;
  color: var(--subtle);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 42px;
  align-items: center;
}

.contact-section h2 {
  margin-bottom: 16px;
}

.contact-section p {
  max-width: 660px;
  margin-bottom: 0;
}

.contact-panel {
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.contact-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-panel > a:not(.button) {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--ice);
  font-size: 1.18rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-panel .button {
  width: 100%;
}

.footer {
  padding: 28px max(20px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--subtle);
  background: #05090b;
}

.footer p {
  margin: 0;
  color: var(--subtle);
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 138px 0 78px;
  }

  .hero-mark {
    margin-bottom: 34px;
  }

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

  .section-heading.compact {
    margin-bottom: 20px;
  }

  .contact-panel {
    width: min(100%, 460px);
  }

  .section,
  .why-section {
    padding: 70px 0;
  }
}

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

  .brand img {
    width: 150px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 16, 20, 0.94), rgba(7, 16, 20, 0.58)),
      linear-gradient(0deg, rgba(7, 16, 20, 0.8), rgba(7, 16, 20, 0.18));
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    padding-top: 126px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

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

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .why-grid article {
    min-height: auto;
  }

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