:root {
  color-scheme: dark;
  --bg: #07101a;
  --panel: #0c1723;
  --panel-2: #101d2a;
  --ink: #ffffff;
  --muted: #c5ced8;
  --soft: #8c9bab;
  --line: rgba(255, 255, 255, 0.11);
  --blue: #1477d4;
  --blue-2: #1e90ff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(20px, 4.8vw, 92px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.42) 70%, rgba(0, 0, 0, 0));
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 194px;
}

.brand-mark {
  width: 50px;
  height: 50px;
  border: 4px solid var(--white);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 45% 55% 54% 46%;
}

.brand-mark::after {
  inset: -11px -5px -4px -10px;
  transform: rotate(24deg);
}

.brand-text strong {
  display: block;
  font-size: clamp(1.55rem, 2.2vw, 2.05rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-text span {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.main-nav {
  justify-self: end;
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.25vw, 38px);
  height: 100%;
}

.main-nav a {
  position: relative;
  display: grid;
  align-items: center;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: var(--blue-2);
}

.main-nav a[aria-current="page"]::after,
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
}

.quote-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.quote-btn::after,
.btn::after {
  content: ">";
  font-size: 1.25rem;
  font-weight: 400;
}

.btn.secondary {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.78);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  padding: 128px clamp(20px, 7vw, 108px) 70px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.58) 34%, rgba(0, 0, 0, 0.16) 72%),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(7, 16, 26, 0.62), rgba(7, 16, 26, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-size: clamp(0.92rem, 1.4vw, 1.15rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.55vw, 5.1rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 10px;
  color: var(--blue-2);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.blue-line {
  width: 70px;
  height: 4px;
  margin: 28px 0 30px;
  background: var(--blue);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--panel);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0 clamp(20px, 6vw, 92px);
}

.feature {
  min-height: 172px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: center;
  padding: 30px 36px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.icon {
  width: 54px;
  height: 54px;
  color: var(--blue-2);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

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

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 6vw, 92px);
  background: var(--bg);
}

.section.alt {
  background: var(--panel);
}

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

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

.card {
  min-height: 260px;
  padding: clamp(26px, 3.5vw, 42px);
  background: var(--panel-2);
}

.card p,
.copy p,
.split-copy p,
.post-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1fr);
}

.split.reverse .media-panel {
  order: -1;
}

.media-panel {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #050a10;
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.08);
}

.media-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.list {
  display: grid;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  background: var(--blue);
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gallery img:first-child {
  grid-row: span 2;
  height: 578px;
}

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

.stat {
  padding: 26px;
  background: var(--panel-2);
}

.stat strong {
  display: block;
  color: var(--white);
  font-size: 2.15rem;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.contact-panel,
.form-panel {
  padding: clamp(28px, 4vw, 46px);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.contact-panel a {
  color: var(--blue-2);
  font-weight: 800;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font: inherit;
  padding: 15px 16px;
  outline: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.16);
}

.form-status {
  min-height: 28px;
  margin-top: 18px;
  color: #7bd68f;
  font-weight: 800;
}

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

.post-card {
  padding: 30px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.post-card a {
  color: var(--blue-2);
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
  padding: 56px clamp(20px, 6vw, 92px);
  background: #04080d;
  border-top: 1px solid var(--line);
}

.site-footer p {
  color: var(--muted);
}

.footer-title {
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 950;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--blue-2);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .quote-btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  body.nav-open .main-nav {
    position: fixed;
    inset: 104px 0 0;
    display: grid;
    align-content: start;
    height: auto;
    padding: 24px;
    background: rgba(4, 8, 13, 0.98);
  }

  body.nav-open .main-nav a {
    min-height: 54px;
    border-bottom: 1px solid var(--line);
  }

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

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

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

@media (max-width: 820px) {
  .site-header {
    height: 86px;
    padding-inline: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1.45rem;
  }

  .brand-text span {
    font-size: 0.68rem;
  }

  body.nav-open .main-nav {
    inset-top: 86px;
  }

  .hero {
    min-height: 78vh;
    padding: 120px 20px 64px;
    background-position: center;
  }

  .actions,
  .btn {
    width: 100%;
  }

  .feature-strip,
  .grid,
  .split,
  .split.reverse,
  .stats,
  .gallery,
  .contact-layout,
  .posts,
  .site-footer,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .split.reverse .media-panel {
    order: 0;
  }

  .media-panel,
  .media-panel img,
  .gallery img,
  .gallery img:first-child {
    min-height: 0;
    height: 320px;
  }
}
