/* ==========================================================
   Nano Workforce — Manpower Supply, Dubai UAE
   Design: industrial dispatch board. Deep ink, concrete grey,
   hi-vis amber used once per screen. Condensed signage
   headlines over a plain workhorse text face.
   ========================================================== */

:root {
  --ink: #0d0d0d;
  --ink-soft: #1a1a1a;
  --slate: #5c5c5c;
  --concrete: #f2f1f1;
  --line: #dcdbd8;
  --paper: #ffffff;
  --volt: #f2f751;
  --volt-deep: #e6ec3f;

  --wrap: 1140px;
  --gut: 24px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Barlow", Helvetica, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.32rem; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: inherit; }

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--volt);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

/* ---------- Header ---------- */

.masthead {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  line-height: 0;
}
.brand img { height: 95px; width: auto; }
.brand-foot { height: 100px; width: auto; margin-bottom: 16px; }

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  font-size: .97rem;
  color: var(--slate);
  padding: 4px 2px;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--volt);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 13px 30px;
  border: 2px solid transparent;
  background: var(--volt);
  color: var(--ink);
  cursor: pointer;
}
.btn:hover { background: var(--volt-deep); }

.btn-line {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-line:hover { background: rgba(255, 255, 255, .1); }

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

.hero {
  background: var(--ink);
  color: var(--paper);
  padding: 74px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 54px;
  align-items: end;
}

.hero h1 { margin-bottom: .32em; }

.hero .lede {
  font-size: 1.15rem;
  color: #c3cad3;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0 60px;
}

.hero-media {
  background: var(--ink-soft);
  align-self: stretch;
  min-height: 300px;
  display: flex;
}
.hero-media img {
  width: 100%;
  object-fit: cover;
}

/* availability strip: the thing a client actually wants to know */
.strip {
  background: var(--volt);
  color: var(--ink);
}
.strip ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.strip li {
  padding: 20px 22px;
  border-left: 1px solid rgba(18, 22, 28, .18);
  font-size: .95rem;
  line-height: 1.4;
}
.strip li:first-child { border-left: 0; }
.strip b {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
}

/* ---------- Page banner (inner pages) ---------- */

.banner {
  background: var(--ink);
  color: var(--paper);
  padding: 62px 0 58px;
  border-bottom: 3px solid var(--volt);
}
.banner p {
  color: #c3cad3;
  font-size: 1.1rem;
  margin: 0;
}

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

.band { padding: 78px 0; }
.band-grey { background: var(--concrete); }

.band-head { margin-bottom: 42px; max-width: 60ch; }
.band-head p { color: var(--slate); margin: 0; }

/* process: genuinely a sequence, so it is numbered */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
}
.steps li {
  padding: 26px 26px 30px 20px;
  border-right: 1px solid var(--line);
}
.steps li:last-child { border-right: 0; padding-right: 0; }
.steps .n {
  font-family: "Barlow Condensed", sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--volt);
  display: inline-block;
  padding: 2px 9px;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: .35em; }
.steps p {
  margin: 0;
  font-size: .97rem;
  color: var(--slate);
}

/* two column text + media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split .media {
  background: var(--concrete);
  min-height: 320px;
}
.split .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ticks li {
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--slate);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 14px;
  height: 4px;
  background: var(--ink);
}
.ticks li:first-child { border-top: 1px solid var(--line); }

/* roster: services and industries read as a schedule, not cards */
.roster { border-top: 2px solid var(--ink); }
.roster > li {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.roster h3 { margin: 0; }
.roster p {
  margin: 0;
  color: var(--slate);
}
.roster .meta {
  display: block;
  font-size: .88rem;
  color: var(--slate);
  margin-top: 6px;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.pair > div {
  border-top: 3px solid var(--volt);
  padding-top: 20px;
}
.pair p { color: var(--slate); margin-bottom: 0; }

/* ---------- Call to action ---------- */

.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 62px 0;
}
.cta h2 { margin-bottom: .3em; }
.cta p {
  color: #b8b8b6;
  margin-bottom: 28px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 60px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  outline: 2px solid var(--volt);
  outline-offset: 1px;
}
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.details li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.details li:first-child { border-top: 1px solid var(--line); }
.details h3 {
  font-size: 1.05rem;
  margin-bottom: .2em;
}
.details p { margin: 0; color: var(--slate); }
.details a { color: var(--ink); }

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

.foot {
  background: var(--ink);
  color: #9aa4b0;
  padding: 54px 0 0;
  font-size: .95rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 42px;
}
.foot h4 {
  color: var(--paper);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.foot p { margin: 0 0 8px; max-width: 42ch; }
.foot li { margin-bottom: 9px; }
.foot a { color: #9aa4b0; text-decoration: none; }
.foot a:hover { color: var(--volt); }


.foot-base {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 18px 0;
}
.foot-base p {
  margin: 0;
  font-size: .87rem;
  color: #6d7783;
}

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

@media (max-width: 900px) {
  .hero { padding-top: 54px; }
  .hero-grid,
  .split,
  .contact-grid,
  .pair { grid-template-columns: 1fr; gap: 34px; }
  .hero-media { min-height: 240px; }
  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding-right: 22px; border-bottom: 1px solid var(--line); }
  .roster > li { grid-template-columns: 1fr; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .band { padding: 56px 0; }
  .strip ul { grid-template-columns: 1fr; }
  .strip li { border-left: 0; border-top: 1px solid rgba(18, 22, 28, .18); }
  .strip li:first-child { border-top: 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; padding-right: 0; }
  .two-up { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
