/* HumanWorks Staffing — shared site styles
   Executive-grade light theme: warm paper, deep navy ink, restrained gold. */

:root {
  --paper:   #fcfbf7;
  --surface: #f4f0e8;
  --ink:     #16222e;
  --ink-soft:#43505c;
  --muted:   #6b7681;
  --gold:    #a8853b;
  --gold-deep: #8a6c2c;
  --line:    rgba(22,34,46,0.12);
  --line-soft: rgba(22,34,46,0.07);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.1rem 4rem;
  background: rgba(252,251,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 2.2rem; list-style: none; align-items: center; flex-wrap: wrap; }

.nav-links a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.nav-cta {
  border: 1px solid var(--gold); color: var(--gold-deep) !important;
  padding: 0.5rem 1.15rem; border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--gold); color: #fff !important; }

/* ── TYPE / SECTIONS ─────────────────────────────────────────────────────── */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.01em;
}
h1 em, h2 em { font-style: italic; color: var(--gold-deep); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 500; line-height: 1.15; margin-bottom: 1.25rem;
}

h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 0.9rem;
}
.eyebrow::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--gold); }
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::before { display: none; }

section { padding: 5.5rem 4rem; }
.section-alt { background: var(--surface); }

.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 620px; line-height: 1.8; }

/* ── HERO ────────────────────────────────────────────────────────────────── */
.hero { padding: 6.5rem 4rem 5rem; position: relative; overflow: hidden; }
.hero-rule {
  position: absolute; left: 4rem; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold) 35%, var(--gold) 65%, transparent);
  opacity: 0.35;
}
.hero-content { position: relative; max-width: 880px; animation: fadeUp 0.8s ease both; }
.hero-content h1 { margin-bottom: 1.6rem; }
.hero-sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 600px; margin-bottom: 2.6rem; line-height: 1.85; }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); transform: translateY(-1px); }

.btn-secondary {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-deep); }

/* ── STAT BAND ───────────────────────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  display: grid; grid-template-columns: repeat(3, 1fr);
  text-align: center; margin: 0 4rem;
}
.stat { padding: 2.6rem 1rem; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 2.7rem; font-weight: 600; color: var(--gold-deep); line-height: 1.1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.74rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }

/* ── CARD GRIDS ──────────────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 3rem; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line-soft);
  padding: 2.2rem; position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { border-color: var(--line); box-shadow: 0 10px 30px rgba(22,34,46,0.06); }

.card h3 { margin-bottom: 0.65rem; }
.card p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.75; }

.card-tag {
  display: inline-block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); border: 1px solid var(--gold); border-radius: 2px;
  padding: 0.15rem 0.55rem; margin-bottom: 1rem;
}
.card-link { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-top: 1.2rem; display: inline-block; }

/* ── PROCESS STEPS ───────────────────────────────────────────────────────── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 3.2rem; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 1.9rem; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: 0.4;
}
.step { padding: 0 1.6rem; text-align: center; }
.step-num {
  width: 3.8rem; height: 3.8rem; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-deep);
  margin: 0 auto 1.3rem; background: var(--paper); position: relative; z-index: 1;
}
.step h4 { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; margin-bottom: 0.45rem; }
.step p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }

/* ── SPLIT / FEATURE LAYOUTS ─────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }

.check-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.check-item {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.35rem 1.5rem; background: #fff; border: 1px solid var(--line-soft);
  transition: border-color 0.2s;
}
.check-item:hover { border-color: var(--gold); }
.check-mark { color: var(--gold-deep); font-size: 1rem; margin-top: 0.15rem; flex-shrink: 0; }
.check-item h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 0.3rem; }
.check-item p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7; }

.quote-panel { position: relative; padding: 2.8rem; border: 1px solid var(--line); background: #fff; }
.quote-panel::before { content: ''; position: absolute; inset: 0.5rem; border: 1px solid var(--line-soft); pointer-events: none; }
.quote-text { font-family: var(--font-display); font-size: 1.5rem; font-style: italic; line-height: 1.5; margin-bottom: 1.4rem; }
.quote-attr { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); }

/* ── PRACTICE SECTIONS (for-employers) ───────────────────────────────────── */
.practice { border-top: 1px solid var(--line-soft); scroll-margin-top: 5.5rem; }
.practice-head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 0.8rem; }
.practice ul { margin: 1.2rem 0 1.4rem 1.2rem; }
.practice li { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 0.45rem; }
.practice p { color: var(--ink-soft); max-width: 720px; }
.practice .roles { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }

/* ── CTA BAND ────────────────────────────────────────────────────────────── */
.cta-band { text-align: center; padding: 6rem 4rem; background: var(--ink); color: var(--paper); }
.cta-band h2 { color: var(--paper); }
.cta-band h2 em { color: #d8b865; }
.cta-band p { color: rgba(252,251,247,0.65); max-width: 520px; margin: 0 auto 2.4rem; }
.cta-band .eyebrow { color: #d8b865; justify-content: center; }
.cta-band .eyebrow::before { display: none; }
.cta-band .btn-primary { background: var(--gold); border-color: var(--gold); color: #16222e; }
.cta-band .btn-primary:hover { background: #d8b865; border-color: #d8b865; }
.cta-band .btn-secondary { color: var(--paper); border-color: rgba(252,251,247,0.3); }
.cta-band .btn-secondary:hover { border-color: var(--gold); color: #d8b865; }

/* ── FORMS (contact) ─────────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.form-field label .req { color: var(--gold-deep); }

.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  padding: 0.75rem 0.9rem; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-field textarea { min-height: 130px; resize: vertical; }

.consent-box {
  grid-column: 1 / -1; display: flex; gap: 0.85rem; align-items: flex-start;
  border: 1px solid var(--line-soft); background: var(--surface);
  padding: 1.1rem 1.2rem; border-radius: 2px;
}
.consent-box input[type="checkbox"] { margin-top: 0.3rem; width: 1rem; height: 1rem; accent-color: var(--gold-deep); flex-shrink: 0; }
.consent-box label { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.65; }
.consent-box a { color: var(--gold-deep); }

.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status { display: none; padding: 1.2rem 1.4rem; border-radius: 2px; font-size: 0.92rem; line-height: 1.7; }
.form-status.ok { display: block; border: 1px solid #3c7a4e; background: #eef6f0; color: #275238; }
.form-status.err { display: block; border: 1px solid var(--gold); background: #faf4e6; color: var(--ink-soft); }
.form-status a { color: var(--gold-deep); font-weight: 500; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ── LEGAL PAGES ─────────────────────────────────────────────────────────── */
.legal-container { max-width: 780px; margin: 0 auto; padding: 4.5rem 2rem 6rem; }
.legal-container h1 { font-size: 2.8rem; margin-bottom: 0.5rem; }
.legal-updated { font-size: 0.82rem; color: var(--muted); margin-bottom: 3rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line-soft); }
.legal-container h2 { font-size: 1.45rem; font-weight: 600; margin: 2.4rem 0 0.7rem; }
.legal-container p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; line-height: 1.85; }
.legal-container ul { margin: 0.5rem 0 1rem 1.5rem; }
.legal-container li { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.85; margin-bottom: 0.35rem; }
.legal-container a { color: var(--gold-deep); }
.highlight-box {
  border: 1px solid var(--gold); border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem; margin: 2rem 0; background: #faf4e6;
}
.highlight-box p { color: var(--ink); margin: 0; font-size: 0.92rem; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line-soft); padding: 3rem 4rem 2rem; background: var(--surface); }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; }
.footer-logo span { color: var(--gold-deep); }
.footer-links { display: flex; gap: 1.8rem; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 0.78rem; color: var(--ink-soft); text-decoration: none; letter-spacing: 0.08em; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-deep); }
.footer-copy {
  font-size: 0.75rem; color: var(--muted); width: 100%; text-align: center;
  padding-top: 1.5rem; border-top: 1px solid var(--line-soft); margin-top: 1.6rem;
}

/* ── ANIMATION ───────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav { padding: 0.9rem 1.4rem; }
  .nav-links { gap: 1.1rem; }
  .nav-links a { font-size: 0.7rem; }
  .hero { padding: 4.5rem 1.4rem 3.5rem; }
  .hero-rule { display: none; }
  section { padding: 3.6rem 1.4rem; }
  .stats { margin: 0 1.4rem; }
  .stat-num { font-size: 1.9rem; }
  .card-grid, .card-grid.cols-3 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 4.5rem 1.4rem; }
  .site-footer { padding: 2.4rem 1.4rem 1.6rem; }
}
