/* ============================================================
   Mildod LLC — landing page stylesheet
   Palette
     --ink    #0B1F33  deep navy (hero, contact, footer)
     --steel  #14304D  panel navy
     --brand  #147EDE  Mildod brand blue (links, focus)
     --gold   #C9A227  service-ribbon accent
     --paper  #F7F9FB  light section tint
     --slate  #33475B  body text
   Type
     Barlow Condensed  — display
     Source Sans 3     — body
     IBM Plex Mono     — eyebrows / tags
   ============================================================ */

:root {
  --ink:   #0B1F33;
  --steel: #14304D;
  --brand: #147EDE;
  --gold:  #C9A227;
  --paper: #F7F9FB;
  --slate: #33475B;
  --line:  #DCE4EC;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font: 400 17px/1.7 "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--slate);
  background: var(--white);
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

img { max-width: 100%; height: auto; }

a { color: var(--brand); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 10px 16px; z-index: 200; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 700; line-height: 1.05; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.1; text-transform: uppercase; }
h3 { font-size: 24px; font-weight: 600; }

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 10px;
}
.eyebrow-light { color: var(--gold); }

/* Service-ribbon motif: three stacked bars under each heading */
.ribbon { display: inline-flex; flex-direction: column; gap: 3px; margin: 4px 0 22px; }
.ribbon i { display: block; height: 4px; border-radius: 1px; }
.ribbon i:nth-child(1) { width: 64px; background: var(--gold); }
.ribbon i:nth-child(2) { width: 44px; background: var(--brand); }
.ribbon i:nth-child(3) { width: 26px; background: var(--line); }
.section-dark .ribbon i:nth-child(3),
.hero .ribbon i:nth-child(3) { background: rgba(255,255,255,0.35); }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px; flex-wrap: wrap;
}
.brand {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--white); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 14px; height: 14px;
  background: linear-gradient(135deg, var(--gold) 50%, var(--brand) 50%);
  transform: rotate(45deg);
}
.brand-llc { color: var(--gold); font-weight: 500; }

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.nav-links a {
  display: block; padding: 10px 14px;
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--gold); color: var(--ink) !important;
  border-radius: 3px; border-bottom: none !important;
}
.nav-cta:hover { filter: brightness(1.08); }

/* ---------- Hero ---------- */

.hero {
  background:
    linear-gradient(rgba(11,31,51,0.92), rgba(11,31,51,0.96)),
    url("/dodimages/cyber2.jpg") center/cover no-repeat,
    var(--ink);
  color: rgba(255,255,255,0.85);
  position: relative;
}
.hero::after {
  /* faint tactical grid */
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-inner { position: relative; z-index: 1; padding: 110px 24px 90px; }
.hero h1 { color: var(--white); }
.hero-lede { max-width: 640px; font-size: 19px; margin: 0 0 32px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.btn {
  display: inline-block; padding: 13px 28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; border-radius: 3px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.15s, filter 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-wide { width: 100%; border: none; }

.cred-chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.cred-chips li {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
  border-left: 3px solid var(--gold);
  padding: 7px 12px; border-radius: 2px;
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: rgba(255,255,255,0.85); }
.section-dark h2 { color: var(--white); }

.grid-2 {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start;
}

.about-media { margin: 0; text-align: center; }
.about-media img {
  width: 260px; padding: 16px; background: var(--white);
  border: 1px solid var(--line); border-top: 4px solid var(--gold);
  box-shadow: 0 10px 30px rgba(11,31,51,0.08);
}
.about-media figcaption {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); margin-top: 12px;
}

/* ---------- Capability cards ---------- */

.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line);
  padding: 26px 24px 22px;
  transition: border-top-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 14px 34px rgba(11,31,51,0.10);
  transform: translateY(-3px);
}
.card h3 { margin: 6px 0 8px; }
.card p:last-child { margin-bottom: 0; font-size: 15.5px; }

.card-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em;
  color: var(--brand); margin: 0;
}

/* ---------- Benefits / EEO ---------- */

.benefit-list { list-style: none; margin: 14px 0 0; padding: 0; }
.benefit-list li {
  padding: 10px 0 10px 26px; position: relative;
  border-bottom: 1px solid var(--line);
}
.benefit-list li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 12px; height: 4px; background: var(--gold);
}

.eeo {
  background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  padding: 26px 26px 20px; font-size: 15px;
}
.eeo-code {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.12em; color: var(--brand); margin-bottom: 0;
}

/* ---------- Testimonials ---------- */

.quote-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px;
}
.quote-grid blockquote {
  margin: 0; background: var(--white);
  border: 1px solid var(--line); border-left: 4px solid var(--gold);
  padding: 24px;
}
.quote-grid blockquote p {
  font-size: 18px; font-style: italic; color: var(--ink); margin: 0 0 14px;
}
.quote-grid footer {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* ---------- Contact ---------- */

.contact-info a { color: var(--gold); }

.contact-meta { margin: 28px 0 0; }
.contact-meta div {
  display: flex; gap: 16px; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-meta dt {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); width: 92px; flex: none; padding-top: 3px;
}
.contact-meta dd { margin: 0; color: var(--white); }

.contact-form-panel {
  background: var(--steel);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 4px solid var(--gold);
  padding: 30px;
}

.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.75); margin-bottom: 6px;
}
.field input,
.field textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px; color: var(--white);
  padding: 12px 14px; font: inherit; font-size: 16px;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.4); }
.field input:focus,
.field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; }

.alert-success {
  background: rgba(201,162,39,0.15);
  border: 1px solid var(--gold);
  color: #F0DFA3;
  padding: 14px 16px; margin-bottom: 20px; border-radius: 3px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #081726; color: rgba(255,255,255,0.65);
  padding: 44px 0; font-size: 14px;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-brand { font-size: 20px; margin: 0; }
.footer-tag {
  margin: 2px 0 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}
.footer-links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-links a:hover { color: var(--gold); }
.footer-legal { margin: 0; }
.footer-legal a { color: rgba(255,255,255,0.75); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .card-grid, .quote-grid { grid-template-columns: 1fr 1fr; }
  .about-media { text-align: left; }
}

@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .hero-inner { padding: 80px 24px 64px; }
  .card-grid, .quote-grid, .field-row { grid-template-columns: 1fr; }
  .nav-inner { justify-content: center; padding-top: 8px; padding-bottom: 8px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
