@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700;800&display=swap');

:root {
  --black: #0b0b0b;
  --black-2: #121212;
  --charcoal: #1a1a1a;
  --red: #d71920;
  --red-dark: #ad1117;
  --white: #ffffff;
  --soft-white: #ededeb;
  --muted: #a9a9a6;
  --line: #292929;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* White header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  color: var(--black);
  border-bottom: 1px solid #eeeeee;
  
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand img { width: 172px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a { position: relative; padding: 29px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 20px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 11px 18px !important;
  color: white !important;
  background: var(--red);
  border-radius: 3px;
}
.nav-cta::after { display: none; }
.menu-button {
  display: none;
  background: none;
  color: var(--black);
  border: 0;
  font-size: 27px;
}

/* Dark page */
.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 83% 40%, rgba(215,25,32,.14), transparent 25%),
    linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
  border-bottom: 1px solid var(--line);
}
.hero-content { max-width: 780px; padding: 105px 0; }
.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1, h2, h3 {
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.12;
  margin: 0 0 18px;
}
h1 { font-size: clamp(42px, 6vw, 76px); letter-spacing: -.045em; }
h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; }
h3 { font-size: 20px; }
.lead { font-size: 19px; color: #c4c4c1; max-width: 670px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 3px;
  border: 1px solid #555;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
}
.btn-primary { background: var(--red); color: white; border-color: var(--red); }
.btn-primary:hover { background: white; color: var(--black); border-color: white; }
.btn-light { background: transparent; color: white; border-color: #666; }
.btn-light:hover { border-color: white; }

.section { padding: 95px 0; background: var(--black); }
.section-muted { background: var(--black-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 17px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--black-2);
  padding: 34px;
  min-height: 245px;
}
.card-number { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.card p { color: var(--muted); margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; }
.feature-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
  color: #ddd;
}
.feature-list li::before {
  content: "•";
  color: var(--red);
  margin-right: 12px;
}
.statement {
  padding: 42px;
  background: #050505;
  color: white;
  border-left: 4px solid var(--red);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.statement p { color: #b8b8b5; margin-bottom: 0; }

.page-hero {
  padding: 105px 0 85px;
  background: var(--black-2);
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 690px; color: var(--muted); font-size: 18px; }

.service-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
  padding: 34px;
  background: var(--black-2);
}
.service-item .num { color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: .1em; }
.service-item p { color: var(--muted); margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}
.contact-panel { padding: 36px; background: var(--black-2); border: 1px solid var(--line); }
.contact-panel p { color: var(--muted); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 13px; font-weight: 700; color: #ddd; }
input, textarea, select {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #343434;
  border-radius: 3px;
  padding: 13px 14px;
  background: #151515;
  color: white;
  font: inherit;
}
input::placeholder, textarea::placeholder { color: #777; }
textarea { min-height: 150px; resize: vertical; }
select { color: #ddd; }

.site-footer {
  background: #050505;
  color: white;
  padding: 65px 0 25px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 45px;
}
.footer-wordmark {
  display: inline-block;
  margin-bottom: 18px;
}
.footer-wordmark .fortress {
  display: block;
  color: white;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .24em;
}
.footer-wordmark .engineers {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: var(--red);
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .22em;
}
.footer-wordmark .engineers::before,
.footer-wordmark .engineers::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--red);
}
.footer p, .footer-links a { color: #a4a4a1; }
.footer-links { display: grid; gap: 7px; font-size: 14px; }
.copyright {
  padding-top: 22px;
  border-top: 1px solid #292929;
  color: #777;
  font-size: 12px;
}

.reveal { animation: rise .65s ease both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 800px) {
  .nav { min-height: 70px; }
  .brand img { width: 145px; }
  .menu-button { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: white;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #eeeeee;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; }
  .nav-links a::after { bottom: 6px; transform-origin: left; }
  .nav-cta { text-align: center; margin-top: 7px; }
  .hero { min-height: auto; }
  .hero-content { padding: 80px 0; }
  .grid-3, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .split { gap: 40px; }
  .service-item { grid-template-columns: 1fr; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-wordmark .fortress { font-size: 25px; }
}
