/* =========================================================
   SiteHired — website styles
   COLOUR: Direction A (Foundation Navy / Site Copper) is active.
   To switch palette, replace ONLY the first :root block with
   Direction B or C below. Nothing else needs to change.
   ========================================================= */

/* ===== ACTIVE: Direction A — Foundation Navy / Site Copper ===== */
:root {
  --sh-ink: #0F2A44;
  --sh-accent: #C97B4A;
  --sh-accent-text: #9A5A30;   /* copper darkened so small text stays readable */
  --sh-accent-on-ink: #DDA07A; /* copper lightened for text on navy */
  --sh-bone: #F5F1EA;
  --sh-paper: #FAFAF7;
  --sh-steel: #5A6B7A;
  --sh-line: rgba(15, 42, 68, 0.12);
}

/* ===== Direction B — Charcoal / Electric Cobalt =====
:root {
  --sh-ink: #20242B;
  --sh-accent: #3357E8;
  --sh-accent-text: #2F4FD6;
  --sh-accent-on-ink: #8FA6FF;
  --sh-bone: #F3F2EF;
  --sh-paper: #F8F8F6;
  --sh-steel: #596069;
  --sh-line: rgba(32, 36, 43, 0.12);
}
*/

/* ===== Direction C — Slate Green / Sandstone =====
:root {
  --sh-ink: #2E3B33;
  --sh-accent: #BE9A66;
  --sh-accent-text: #7D5E2F;
  --sh-accent-on-ink: #D2B486;
  --sh-bone: #ECE6D6;
  --sh-paper: #F5F2E9;
  --sh-steel: #5B6359;
  --sh-line: rgba(46, 59, 51, 0.14);
}
*/

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Bold.ttf") format("truetype"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Bold.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sh-paper);
  color: var(--sh-ink);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sh-accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .wrap { padding: 0 48px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--sh-ink); color: var(--sh-bone); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

.label {
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sh-accent-text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 16px/1 "Instrument Sans", system-ui, sans-serif;
  text-decoration: none; border: 1.5px solid var(--sh-ink);
  transition: background-color .15s ease, color .15s ease;
}
.btn-solid { background: var(--sh-ink); color: var(--sh-bone); }
.btn-solid:hover { background: transparent; color: var(--sh-ink); }
.btn-line { background: transparent; color: var(--sh-ink); }
.btn-line:hover { background: var(--sh-ink); color: var(--sh-bone); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  position: relative; width: 32px; height: 32px; flex: none;
  background: var(--sh-ink); color: var(--sh-bone);
  font-weight: 700; font-size: 25px; line-height: 34px; padding-left: 5px;
}
.logo-mark span {
  position: absolute; top: -4px; right: -4px; width: 14px; height: 14px;
  background: var(--sh-accent); color: var(--sh-bone);
  font-size: 10px; line-height: 14px; text-align: center;
}
.logo-word { font-weight: 700; font-size: 21px; letter-spacing: -0.015em; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--sh-line); background: var(--sh-paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.nav { display: none; gap: 32px; }
.nav a { text-decoration: none; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--sh-accent); }
@media (min-width: 860px) { .nav { display: flex; } }
.site-header .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 80px; }
@media (min-width: 900px) { .hero { padding: 112px 0 120px; } }
.hero h1 { font-size: clamp(44px, 8vw, 84px); line-height: 1.06; margin: 20px 0 24px; }
.hero .lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--sh-steel); max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Stat strip ---------- */
.stats { background: var(--sh-ink); color: var(--sh-bone); padding: 36px 0 28px; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } .stat + .stat { border-left: 1px solid rgba(255,255,255,.16); padding-left: 32px; } }
.stat strong { display: block; font-size: 32px; letter-spacing: -0.02em; color: var(--sh-accent-on-ink); }
.stat span { font-size: 15px; opacity: .85; }
.stats .source { margin-top: 24px; font-family: "Geist Mono", monospace; font-size: 11px; letter-spacing: 0.06em; opacity: .7; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-bone { background: var(--sh-bone); }
.section h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15; margin-top: 14px; max-width: 18em; }
.section-intro { margin-top: 16px; color: var(--sh-steel); max-width: 38em; }

.two-col { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }
@media (min-width: 860px) { .two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

.card { background: #fff; border: 1px solid var(--sh-line); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.section-bone .card { background: var(--sh-paper); }
.card .label { color: var(--sh-steel); }
.card-stat { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--sh-line); }
.card-stat strong { display: block; font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; }
.card-stat span { font-size: 14px; color: var(--sh-steel); }

.benefits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.benefits li { display: grid; grid-template-columns: 10px 1fr; column-gap: 14px; }
.benefits li::before { content: ""; width: 8px; height: 8px; background: var(--sh-accent); margin-top: 9px; }
.benefits strong { display: block; font-size: 18px; }
.benefits p { color: var(--sh-steel); font-size: 16px; }

/* ---------- How it works (dark) ---------- */
.section-ink { background: var(--sh-ink); color: var(--sh-bone); }
.section-ink .label { color: var(--sh-accent-on-ink); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.steps .num { font-family: "Geist Mono", monospace; font-size: 13px; color: var(--sh-accent-on-ink); padding-top: 3px; }
.steps-col h3 { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; opacity: .85; }

/* ---------- CTA banner ---------- */
.cta { background: var(--sh-accent); color: var(--sh-ink); padding: 64px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta p { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; max-width: 22em; }
.cta .btn-solid:hover { background: var(--sh-paper); color: var(--sh-ink); border-color: var(--sh-paper); }

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 36px; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--sh-line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--sh-accent); text-underline-offset: 4px; }
.footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--sh-steel); font-size: 14px; }

/* ---------- Simple text pages (privacy, 404) ---------- */
.prose { max-width: 720px; padding: 72px 0 96px; }
.prose h1 { font-size: clamp(36px, 5vw, 48px); line-height: 1.1; margin: 14px 0 24px; }
.prose h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--sh-ink); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose .muted { color: var(--sh-steel); }

/* ---------- Inner pages ---------- */
.nav a[aria-current="page"] { border-bottom-color: var(--sh-accent); font-weight: 600; }
.page-hero { padding: 72px 0 64px; border-bottom: 1px solid var(--sh-line); }
@media (min-width: 900px) { .page-hero { padding: 104px 0 88px; } }
.page-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.08; margin: 18px 0 24px; max-width: 14em; }
.page-hero .lede { font-size: clamp(18px, 2vw, 20px); color: var(--sh-steel); max-width: 38em; }
.page-hero .lede + .lede { margin-top: 14px; }
.page-hero .hero-ctas { margin-top: 32px; }

.callout { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; padding: 18px 22px; background: var(--sh-bone); }
.callout p { display: grid; grid-template-columns: 10px 1fr; column-gap: 12px; font-size: 16px; }
.callout p::before { content: ""; width: 8px; height: 8px; background: var(--sh-accent); margin-top: 8px; }

.feature { display: grid; grid-template-columns: 1fr; gap: 20px 64px; padding: 56px 0; border-bottom: 1px solid var(--sh-line); }
@media (min-width: 860px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 72px 0; } }
.feature:last-child { border-bottom: 0; }
.feature h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; margin: 10px 0 0; }
.feature-body { display: flex; flex-direction: column; gap: 16px; }
.feature-body p { font-size: 17px; }
.feature-body .muted { color: var(--sh-steel); }
.tags { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 12px; background: var(--sh-bone); font-size: 15px; font-weight: 600; }
.checklist { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--sh-line); }
@media (min-width: 600px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.checklist li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--sh-line); font-size: 16px; }
.checklist svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--sh-accent-text); }
.feature-highlight { background: var(--sh-ink); color: var(--sh-bone); padding: 22px 24px; }
.feature-highlight strong { display: block; font-size: 18px; margin-bottom: 4px; }
.feature-highlight span { opacity: .85; font-size: 16px; }

.end-cta { padding: 72px 0; background: var(--sh-bone); }
.end-cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.end-cta p { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -0.015em; max-width: 24em; line-height: 1.25; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding: 64px 0 96px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-aside .muted { color: var(--sh-steel); font-size: 16px; }
.form { display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid var(--sh-line); padding: 28px; }
@media (min-width: 600px) { .form { padding: 36px; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 600px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 15px; font-weight: 600; padding: 0; }
.field .opt { font-weight: 400; color: var(--sh-steel); }
.field input, .field textarea, .field select {
  font: 400 16px/1.4 "Instrument Sans", system-ui, sans-serif; color: var(--sh-ink);
  background: var(--sh-paper); border: 1px solid rgba(15, 42, 68, 0.35); border-radius: 0;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--sh-accent); outline-offset: 0; border-color: var(--sh-ink); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(15, 42, 68, 0.35); font-weight: 500; cursor: pointer; }
.choices input { accent-color: var(--sh-ink); width: 16px; height: 16px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--sh-ink); background: var(--sh-bone); }
.form .small { font-size: 14px; color: var(--sh-steel); }
.form .btn { align-self: flex-start; cursor: pointer; }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Mobile menu row ---------- */
@media (max-width: 859px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 0; padding-top: 12px; }
  .nav { display: flex; order: 3; width: 100%; gap: 24px; overflow-x: auto; border-top: 1px solid var(--sh-line); padding: 4px 0; }
  .nav a { padding: 10px 0; white-space: nowrap; }
}


/* ---------- Footer small print ---------- */
.site-footer { padding: 40px 0 28px; font-size: 14px; }
.footer-bottom { padding-top: 16px; font-size: 12px; line-height: 1.5; color: var(--sh-steel); }
.site-footer .footnote { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: var(--sh-steel); }
