:root {
  --ink: #151E2E;
  --ink-2: #1E2A40;
  --steel: #3A4A63;
  --steel-light: #C7CFDB;
  --brass: #B8863E;
  --brass-light: #D4A868;
  --paper: #F2EEE4;
  --paper-2: #E9E3D4;
  --text-dark: #1D2530;
  --text-mid: #5B6472;
  --serif: 'Fraunces', serif;
  --sans: 'IBM Plex Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--paper);
  line-height: 1.55;
}

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

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

#services, #reach, #employers, #candidates, #contact {
  scroll-margin-top: 84px;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text-mid); max-width: 62ch; }

/* Header */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.brand-accent { color: var(--brass-light); }
.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--steel-light);
  text-decoration: none;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--paper); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-light); }
.btn-ghost { color: var(--paper); border-color: var(--steel); }
.btn-ghost:hover { border-color: var(--brass-light); color: var(--brass-light); }
.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-small { padding: 9px 18px; font-size: 0.88rem; white-space: nowrap; }

/* Hero */
.hero {
  background:
    linear-gradient(rgba(21,30,46,0.90), rgba(21,30,46,0.94)),
    url('https://images.unsplash.com/photo-1516199423456-1f1e91b06f25?auto=format&fit=crop&w=1800&q=70') center 35%/cover no-repeat;
  padding: 80px 0 60px;
}
.hero-row {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-copy { flex: 1.1; }
.hero h1 { color: var(--paper); }
.hero-sub { color: var(--steel-light); font-size: 1.08rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.hero-diagram { flex: 1; max-width: 420px; }
.hero-diagram svg { width: 100%; height: auto; }

/* About */
.about { padding: 76px 0; }
.about-grid { max-width: 780px; }
.about-text p { max-width: 60ch; }

/* Services */
.services { background: var(--paper-2); padding: 76px 0; }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--steel);
  margin-top: 32px;
  border: 1px solid var(--steel);
}
.service-item {
  background: var(--paper-2);
  padding: 32px;
}
.service-item h3 { margin-bottom: 0.4em; }
.service-item p { margin: 0; max-width: 40ch; }

/* Reach: industries & regions */
.reach {
  padding: 76px 0;
  background:
    linear-gradient(rgba(30,42,64,0.90), rgba(30,42,64,0.94)),
    url('https://images.unsplash.com/photo-1553796661-17b7fa359f49?auto=format&fit=crop&w=1800&q=70') center 60%/cover no-repeat;
}
.reach h2 { color: var(--paper); }
.reach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 24px;
}
.reach-block h3 {
  color: var(--brass-light);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--steel);
  color: var(--steel-light);
  font-size: 0.88rem;
  border-radius: 2px;
}
.tag-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--brass-light);
}
.region-map {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-bottom: 12px;
  display: block;
}
.reach-note { color: var(--steel-light); font-size: 0.92rem; max-width: 42ch; margin: 0; }

@media (max-width: 700px) {
  .reach-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Split panels */
.split { display: flex; flex-wrap: wrap; }
.split-panel { flex: 1 1 380px; padding: 72px 32px; }
.panel-dark { background: var(--ink-2); }
.panel-dark h2, .panel-dark p { color: var(--paper); }
.panel-dark p { color: var(--steel-light); }
.panel-light { background: var(--paper); }
.split-inner { max-width: 440px; margin: 0 auto; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  color: var(--text-mid);
  border-bottom: 1px solid rgba(120,120,120,0.15);
}
.panel-dark .check-list li { color: var(--steel-light); border-bottom-color: rgba(255,255,255,0.1); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--brass);
}

/* Contact */
.contact { padding: 80px 0 96px; }
.contact-sub { max-width: 52ch; }
.contact-form {
  max-width: 520px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.88rem; color: var(--text-mid); }
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 11px 12px;
  border: 1px solid #B9B2A0;
  background: #fff;
  border-radius: 2px;
  color: var(--text-dark);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
}
.contact-form .btn { align-self: flex-start; margin-top: 4px; }
.contact-alt { margin-top: 20px; font-size: 0.92rem; }

/* Footer */
.site-footer { background: var(--ink); padding: 26px 0; }
.footer-row {
  display: flex;
  justify-content: space-between;
  color: var(--steel-light);
  font-size: 0.85rem;
}
.footer-links a { text-decoration: none; color: var(--steel-light); }
.footer-links a:hover { color: var(--brass-light); }

/* Responsive */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .hero-row { flex-direction: column; }
  .hero-diagram { order: -1; max-width: 320px; }
  .service-list { grid-template-columns: 1fr; }
}
