/* Make IT Defense LLC — defense-tech visual language
   Inspired by STR (cinematic dark + Manrope/Inter), REDLattice (navy + cyan),
   ICR (section cadence + teal CTA energy), RII (capability density).
   Original copy & branding. Decorative CSS/SVG tech motifs only. */

:root {
  --bg: #070b14;
  --bg-raised: #0c1524;
  --bg-band: #0a1220;
  --bg-band-alt: #0e1828;
  --surface: #121c2e;
  --border: rgba(90, 144, 191, 0.14);
  --border-strong: rgba(73, 224, 241, 0.28);
  --text: #f2f5fa;
  --text-muted: #9aa8bd;
  --text-dim: #6e7c90;
  --accent: #3db8c9;           /* cooler mid cyan */
  --accent-bright: #49e0f1;    /* REDLattice cyan */
  --accent-soft: rgba(73, 224, 241, 0.12);
  --accent-glow: rgba(73, 224, 241, 0.22);
  --accent-secondary: #5a90bf; /* REDLattice secondary */
  --white: #ffffff;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --max: 1120px;
  --narrow: 720px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #9aeff7;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.shell {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 11, 20, 0.84);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  height: 52px;
  width: auto;
  display: block;
  flex-shrink: 0;
  /* Crisp mark — no drop-shadow (was muddying white-fringe artifacts) */
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.15s var(--ease);
}

.site-nav a:hover {
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: center;
  padding: 6rem 0 5.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 90% 55% at 72% 18%, rgba(73, 224, 241, 0.1), transparent 55%),
    radial-gradient(ellipse 55% 45% at 8% 85%, rgba(90, 144, 191, 0.18), transparent 50%),
    var(--bg);
}

.hero-geometry {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Soft scanlines */
.hero-geometry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(73, 224, 241, 0.015) 3px,
    rgba(73, 224, 241, 0.015) 4px
  );
  opacity: 0.7;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.geo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(73, 224, 241, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 224, 241, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 58% 42%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 58% 42%, #000 12%, transparent 72%);
}

.geo-ring {
  position: absolute;
  width: min(52vw, 540px);
  height: min(52vw, 540px);
  right: -3%;
  top: 6%;
  border: 1px solid rgba(73, 224, 241, 0.16);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(73, 224, 241, 0.05),
    0 0 90px rgba(73, 224, 241, 0.07);
}

.geo-ring::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(73, 224, 241, 0.11);
  border-radius: 50%;
}

.geo-ring::after {
  content: "";
  position: absolute;
  inset: 28%;
  border: 1px solid rgba(73, 224, 241, 0.07);
  border-radius: 50%;
}

/* Radar sweep hint */
.geo-radar {
  position: absolute;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  right: 4%;
  top: 14%;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    transparent 0deg,
    rgba(73, 224, 241, 0.09) 38deg,
    transparent 70deg
  );
  opacity: 0.85;
  mask-image: radial-gradient(circle, #000 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}

.geo-beam {
  position: absolute;
  width: 1px;
  height: 55%;
  right: 24%;
  top: 10%;
  background: linear-gradient(to bottom, transparent, rgba(73, 224, 241, 0.4), transparent);
  transform: rotate(18deg);
  transform-origin: top center;
}

/* Decorative SVG layers positioned in hero */
.tech-svg {
  position: absolute;
  pointer-events: none;
  color: var(--accent-bright);
  opacity: 0.55;
}

.tech-svg-spectrum {
  right: 6%;
  bottom: 12%;
  width: min(280px, 32vw);
  height: auto;
  opacity: 0.45;
}

.tech-svg-nodes {
  left: 4%;
  bottom: 8%;
  width: min(220px, 28vw);
  height: auto;
  opacity: 0.35;
}

.tech-svg-hex {
  right: 18%;
  top: 18%;
  width: min(160px, 18vw);
  height: auto;
  opacity: 0.28;
}

.hero-inner {
  position: relative;
  max-width: 48rem;
  z-index: 1;
}

.hero-eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7.5vw, 5.1rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
}

.hero-lead {
  margin: 0 0 2.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 36rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-bright);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hero-cta::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.hero-cta:hover {
  color: #9aeff7;
}

.hero-cta:hover::after {
  transform: translateX(4px);
}

/* ---------- Mission bands ---------- */
.mission-band {
  position: relative;
  padding: 6.5rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-band);
  overflow: hidden;
}

.mission-band-alt {
  background: var(--bg-band-alt);
}

.mission-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(73, 224, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 224, 241, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.mission-band-alt::before {
  mask-image: linear-gradient(270deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 55%);
}

.mission-deco {
  position: absolute;
  right: max(1.5rem, calc((100% - var(--max)) / 2));
  top: 50%;
  transform: translateY(-50%);
  width: min(200px, 22vw);
  opacity: 0.4;
  pointer-events: none;
  color: var(--accent-bright);
}

.mission-band-alt .mission-deco {
  right: auto;
  left: max(1.5rem, calc((100% - var(--max)) / 2));
}

.mission-inner {
  position: relative;
  max-width: 40rem;
  z-index: 1;
}

.mission-band .eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
}

.mission-band h2 {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--white);
}

.mission-band p {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pills li {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid rgba(73, 224, 241, 0.22);
  border-radius: 999px;
}

/* ---------- Sections shared ---------- */
.section {
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--white);
}

.section-lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ---------- Capability cards ---------- */
.capabilities {
  position: relative;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.capabilities::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(73, 224, 241, 0.07) 1px, transparent 0);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 70%);
  pointer-events: none;
}

.capabilities .shell {
  position: relative;
  z-index: 1;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cap-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  border-top: 2px solid rgba(73, 224, 241, 0.35);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cap-card:hover {
  border-color: rgba(73, 224, 241, 0.4);
  border-top-color: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(73, 224, 241, 0.08), 0 18px 40px rgba(0, 0, 0, 0.35);
}

.cap-icon {
  color: var(--accent-bright);
  margin-bottom: 1rem;
}

.cap-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--white);
  letter-spacing: -0.01em;
}

.cap-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- About ---------- */
.about {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.about-mesh {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 45vw);
  opacity: 0.28;
  pointer-events: none;
  color: var(--accent-bright);
}

.about-inner {
  position: relative;
  max-width: var(--narrow);
  z-index: 1;
}

.about h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--white);
}

.about-copy p {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.about-copy strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(73, 224, 241, 0.09), transparent 60%),
    var(--bg-band);
  text-align: center;
  padding: 7rem 0;
  overflow: hidden;
}

.contact-wave {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translateX(-50%);
  width: min(480px, 80vw);
  opacity: 0.35;
  pointer-events: none;
  color: var(--accent-bright);
}

.contact-inner {
  position: relative;
  max-width: 36rem;
  z-index: 1;
}

.contact h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.8vw, 2.65rem);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.025em;
  color: var(--white);
}

.contact-lede {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.7rem;
  background: var(--white);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border-radius: 3px;
  letter-spacing: 0.02em;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.btn-primary:hover {
  background: #e8f9fc;
  color: var(--bg);
  box-shadow: 0 0 24px rgba(73, 224, 241, 0.25);
}

.contact-meta {
  margin: 1.5rem 0 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--border);
  background: #04070e;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem 1.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-bright);
}

.footer-copy {
  color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-deco {
    opacity: 0.22;
    width: min(140px, 18vw);
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 2rem, var(--max));
  }

  :root {
    --header-h: auto;
  }

  .site-header {
    height: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-block: 0.9rem;
    gap: 0.7rem;
  }

  .site-nav {
    gap: 1.15rem;
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 0 4rem;
  }

  .geo-ring,
  .geo-radar {
    opacity: 0.5;
    right: -18%;
    top: 0;
  }

  .tech-svg-spectrum,
  .tech-svg-nodes,
  .tech-svg-hex {
    opacity: 0.2;
  }

  .mission-band {
    padding: 4.5rem 0;
  }

  .mission-deco {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  .contact {
    padding: 5rem 0;
  }

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

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

  .about-mesh {
    opacity: 0.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-cta::after,
  .cap-card,
  .btn-primary {
    transition: none;
  }
}

