/* =========================================================
   Dark Mesh Tech — site stylesheet
   Palette: red / black / white, mirrored from the brand shield
   ========================================================= */

:root {
  --red: #d40000;
  --red-dark: #a80000;
  --red-glow: rgba(212, 0, 0, 0.35);
  --black: #0b0b0c;
  --black-soft: #151517;
  --charcoal: #1e1e21;
  --white: #ffffff;
  --gray-100: #f6f6f7;
  --gray-300: #d8d8db;
  --gray-500: #8a8a90;
  --gray-700: #3a3a3e;
  --radius: 6px;
  --maxw: 1180px;
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font-head: "Rajdhani", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--gray-700); }

.placeholder {
  display: inline-block;
  background: repeating-linear-gradient(
    45deg, rgba(212,0,0,0.08), rgba(212,0,0,0.08) 6px,
    rgba(212,0,0,0.16) 6px, rgba(212,0,0,0.16) 12px
  );
  border: 1px dashed var(--red);
  color: var(--red-dark);
  font-style: italic;
  padding: 0 6px;
  border-radius: 3px;
}

.team-photo {
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--red);
}
.team-photo img {
  width: 100%;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px var(--red-glow);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--black); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline-dark:hover { background: var(--black); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--black);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-text { display: none; }

.main-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--red);
  border-color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  margin: 4px 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, var(--red) 0, transparent 2px),
    radial-gradient(circle at 85% 15%, var(--red) 0, transparent 2px),
    radial-gradient(circle at 60% 80%, var(--red) 0, transparent 2px),
    radial-gradient(circle at 30% 70%, var(--red) 0, transparent 2px),
    radial-gradient(circle at 90% 60%, var(--red) 0, transparent 2px);
  background-size: 100% 100%;
  opacity: 0.5;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(212,0,0,0.14) 1px, transparent 1px) 0 0/70px 70px,
    linear-gradient(30deg, rgba(212,0,0,0.10) 1px, transparent 1px) 0 0/70px 70px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; text-align: center; }
.hero .eyebrow {
  display: inline-block;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: calc(0.9rem + 2pt);
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--red); }
.hero .lede {
  color: var(--gray-300);
  max-width: 640px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}
.hero .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero .shield-mark {
  width: 240px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 24px var(--red-glow));
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark p { color: var(--gray-300); }
.section-dark h2 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .kicker {
  display: block;
  color: var(--red);
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.section-head .tagline {
  font-size: calc(1rem + 2pt);
}

.identity-block {
  max-width: 760px;
  margin: 0 auto 56px;
  padding: 36px 40px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
}
.identity-block h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.identity-block p {
  margin-bottom: 14px;
  line-height: 1.7;
}
.identity-block p:last-child { margin-bottom: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 32px 26px;
  height: 100%;
}
.card h3 { margin-bottom: 10px; }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon img { width: 22px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-row .num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--red);
  font-weight: 700;
}
.stat-row .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--gray-300);
}

.leader-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 26px;
}
.leader-card .avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--black-soft);
  border: 3px solid var(--red);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-500);
  font-family: var(--font-head);
  font-size: 1.6rem;
}

.locations {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}
.locations .loc {
  padding: 20px 34px;
}
.locations .loc:not(:last-child) {
  border-right: 3px solid var(--red);
}
.locations .loc h3 { margin-bottom: 4px; }
.locations .loc span { color: var(--gray-500); font-size: 0.9rem; }

/* Benefits blocks (careers) */
.benefit {
  border: 1px solid var(--gray-300);
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 20px;
  background: var(--white);
}
.benefit h3 { margin-bottom: 8px; }

/* Job listings (hiring) */
.job {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}
.job-head {
  background: var(--black);
  color: var(--white);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.job-head h3 { margin: 0; color: var(--white); }
.job-head .tag {
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-head);
}
.job-head a.tag {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.job-head a.tag:hover {
  opacity: 0.85;
}
.job-body { padding: 26px 28px; }
.qual-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 18px;
}
.qual-cols h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  color: var(--red-dark);
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.qual-cols ul { margin: 0; padding-left: 20px; color: var(--gray-700); }
.qual-cols li { margin-bottom: 6px; }

.hiring-intro {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px 34px;
  margin-bottom: 44px;
  text-align: center;
}
.hiring-intro p { color: var(--gray-300); margin-bottom: 18px; }

/* Gear password gate */
.gate {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--gray-300);
  border-top: 5px solid var(--red);
  border-radius: var(--radius);
  padding: 44px 36px;
}
.gate input[type="text"],
.gate input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  margin: 18px 0;
  font-size: 1rem;
  font-family: var(--font-body);
}
.gate .lock {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.6rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 56px 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-700);
  margin-bottom: 24px;
}
.footer-top img { height: 44px; margin-bottom: 14px; }
.footer-top p { color: var(--gray-500); font-size: 0.92rem; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-500);
}
.footer-bottom .social a {
  display: inline-flex;
  width: 34px; height: 34px;
  border: 1px solid var(--gray-700);
  border-radius: 50%;
  align-items: center; justify-content: center;
  margin-left: 8px;
}
.footer-bottom .social a:hover { border-color: var(--red); color: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .qual-cols { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; inset: 84px 0 0 0; background: var(--white); transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; padding: 20px; gap: 0; }
  .main-nav a { padding: 16px 6px; border-bottom: 1px solid var(--gray-300); }
  .nav-toggle { display: block; }
  .job-head { flex-direction: column; align-items: flex-start; }
}
