/* atcosstaffing.com — modernized current brand (Duda-parity rebuild 2026-07)
   Palette from data/baseline/brand_signals.json: navy #153250 / #003466,
   teal #48abab (accent #68ccd1). Montserrat headings, Source Sans 3 body. */

:root {
  --navy: #153250;
  --navy-deep: #003466;
  --teal: #48abab;
  --teal-bright: #68ccd1;
  --ink: #2a2f36;
  --paper: #ffffff;
  --mist: #f5f7f9;
  --line: #dfe5ea;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Source Sans Pro", Muli, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3, h4 {
  font-family: Montserrat, system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 1.6em 0 0.5em;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin-top: 0; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0.7em 0; }
a { color: var(--navy-deep); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* header */
header.site {
  background: var(--paper);
  border-bottom: 3px solid var(--teal);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem; padding-top: 0.7rem; padding-bottom: 0.7rem;
}
.logo {
  font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.35rem;
  color: var(--navy); text-decoration: none; letter-spacing: 0.02em;
}
.logo span { color: var(--teal); }
nav.main { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; align-items: center; }
nav.main a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
nav.main a:hover { color: var(--teal); }
nav.main a.cta {
  background: var(--teal); color: #fff; padding: 0.45rem 1rem;
  border-radius: 4px;
}
nav.main a.cta:hover { background: var(--navy-deep); color: #fff; }

/* hero — every page gets the working-people photo under a navy wash so
   text-first pages don't read as a wall of words; the homepage upgrades
   it to the site's motion-background video (self-hosted). */
.hero {
  background:
    linear-gradient(100deg, rgba(9, 27, 46, 0.93) 0%, rgba(0, 52, 102, 0.82) 55%, rgba(21, 50, 80, 0.62) 100%),
    url("/assets/hero-poster.jpg") center 30% / cover no-repeat var(--navy);
  color: #eef3f7; padding: 3rem 0 3.2rem;
}
.hero--video { position: relative; overflow: hidden; background: var(--navy); padding: 4.2rem 0 4.6rem; }
.hero--video video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero--video::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(9, 27, 46, 0.9) 0%, rgba(0, 52, 102, 0.72) 55%, rgba(21, 50, 80, 0.45) 100%);
}
.hero--video .wrap { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero--video video { display: none; }
  .hero--video { background:
    linear-gradient(100deg, rgba(9, 27, 46, 0.9), rgba(0, 52, 102, 0.7)),
    url("/assets/hero-poster.jpg") center / cover no-repeat var(--navy); }
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; max-width: 46em; color: #d5e2ec; }
.hero .kicker, .crumbs {
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal-bright); font-weight: 600;
}
.crumbs { text-transform: none; letter-spacing: 0; margin-bottom: 0.8rem; }
.crumbs a { color: var(--teal-bright); text-decoration: none; }
.crumbs span { color: #b9cbd9; }

/* buttons */
.btn {
  display: inline-block; background: var(--teal); color: #fff;
  font-family: Montserrat, sans-serif; font-weight: 700; text-decoration: none;
  padding: 0.7rem 1.5rem; border-radius: 4px; margin-top: 1rem;
  border: 0; font-size: 1rem; cursor: pointer;
}
.btn:hover { background: var(--teal-bright); color: var(--navy); }
.btn--ghost {
  background: transparent; border: 2px solid var(--teal-bright);
  color: var(--teal-bright); margin-left: 0.6rem;
}
.btn--ghost:hover { background: var(--teal-bright); color: var(--navy); }
.section-lead { max-width: 46em; color: #4c5966; margin-top: -0.3rem; }

/* content */
section { padding: 2.5rem 0; }
section:nth-of-type(even) { background: var(--mist); }
.copy { max-width: 50em; }
.copy h2:first-child { margin-top: 0; }
details {
  border: 1px solid var(--line); border-radius: 6px;
  padding: 0.6rem 1rem; margin: 0.6rem 0; background: #fff;
}
details summary { font-weight: 600; color: var(--navy); cursor: pointer; }

/* CTA band */
.band {
  background: var(--teal); color: #fff; text-align: center; padding: 2.6rem 0;
}
.band h2 { color: #fff; margin-top: 0; }
.band .btn { background: var(--navy); }
.band .btn:hover { background: var(--navy-deep); color: #fff; }

/* cards / grids (statics) */
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.5rem 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 1.3rem 1.4rem; box-shadow: 0 1px 3px rgba(21, 50, 80, 0.06);
}
.card h3 { margin-top: 0; }
.card a.more { font-weight: 600; text-decoration: none; color: var(--teal); }
.card img {
  width: calc(100% + 2.8rem); margin: -1.3rem -1.4rem 1rem;
  border-radius: 8px 8px 0 0; object-fit: cover; aspect-ratio: 16 / 9;
  max-width: none; display: block;
}

/* numbered process steps */
ol.steps { counter-reset: step; list-style: none; padding: 0; display: grid;
  gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
ol.steps li {
  counter-increment: step; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; padding: 1.3rem 1.4rem; position: relative;
}
ol.steps li::before {
  content: counter(step);
  font-family: Montserrat, sans-serif; font-weight: 800; font-size: 1.05rem;
  color: #fff; background: var(--teal); border-radius: 50%;
  width: 2rem; height: 2rem; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 0.6rem;
}
ol.steps h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
ol.steps p { margin: 0; font-size: 0.97rem; }

/* testimonial quotes */
figure.quote {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 8px; padding: 1.3rem 1.4rem; margin: 0;
  display: flex; flex-direction: column; gap: 0.8rem;
}
figure.quote blockquote { margin: 0; font-size: 0.97rem; }
figure.quote figcaption {
  font-family: Montserrat, sans-serif; font-weight: 700; color: var(--navy);
}
figure.quote figcaption span { display: block; font-weight: 400; font-size: 0.85rem; color: #6a7683; }

/* forms (contact) */
form.contact { display: grid; gap: 0.9rem; max-width: 34em; }
form.contact label { font-weight: 600; color: var(--navy); }
form.contact input, form.contact textarea, form.contact select {
  width: 100%; padding: 0.6rem 0.7rem; border: 1px solid var(--line);
  border-radius: 4px; font: inherit;
}
form.contact input:focus, form.contact textarea:focus {
  outline: 2px solid var(--teal); border-color: var(--teal);
}

/* footer */
footer.site {
  background: var(--navy); color: #c7d5e0; padding: 2.8rem 0 1.5rem;
  margin-top: 0;
}
footer.site h4 { color: #fff; margin: 0 0 0.7rem; }
footer.site a { color: #c7d5e0; display: block; text-decoration: none; margin: 0.25rem 0; }
footer.site a:hover { color: var(--teal-bright); }
footer.site .cols {
  display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
footer.site .entity { font-size: 0.9rem; }
footer.site .fine {
  border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 2rem;
  padding-top: 1rem; font-size: 0.85rem; color: #8fa5b5;
}

@media (max-width: 640px) {
  header.site .wrap { justify-content: center; }
  .hero { padding: 2.2rem 0; }
}
