/* Apprentix.ca — trades recruiting & training
   Design goals: clean, NOT too industrial, large print, plain language,
   warm + trustworthy, high contrast, mobile-first, big tap targets. */

:root {
  /* Warm, grounded, not-industrial palette */
  --ink:        #1a2230;   /* near-black text */
  --ink-soft:   #47526a;
  --paper:      #f7f5f0;   /* warm off-white */
  --card:       #ffffff;
  --line:       #e3ded3;
  --brand:      #e8722b;   /* warm work-orange (safety-vest energy, softened) */
  --brand-dk:   #c85a18;
  --brand-fg:   #ffffff;
  --sky:        #2f7db8;   /* trustworthy blue for links/portals */
  --sky-dk:     #1f5c8c;
  --forest:     #2f9e6b;   /* "you qualify" green */
  --forest-dk:  #1f7a50;
  --warn:       #d99a00;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 4px 18px rgba(26,34,48,.08);
  --shadow-lg:  0 12px 40px rgba(26,34,48,.14);
  --maxw:       1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 19px;          /* LARGE PRINT baseline */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sky-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Typography: big, plain ---------- */
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .4em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); margin: 0 0 .4em; font-weight: 700; }
p  { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 2.4vw, 1.4rem); color: var(--ink-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8rem; color: var(--brand-dk); }

/* ---------- Buttons: big tap targets ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 1.15rem; font-weight: 700;
  padding: 16px 28px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .06s ease, box-shadow .2s ease, background .2s;
  min-height: 56px; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--brand-fg); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dk); }
.btn-sky { background: var(--sky); color: #fff; }
.btn-sky:hover { background: var(--sky-dk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-soft); }
.btn-lg { font-size: 1.3rem; padding: 20px 36px; min-height: 64px; }
.btn-block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { font-size: 1.6rem; }
.brand b { color: var(--brand-dk); }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a { padding: 10px 14px; border-radius: 999px; color: var(--ink); font-weight: 600; font-size: 1rem; }
.nav a:hover { background: #fff; text-decoration: none; }

/* ---------- Language selector ---------- */
.lang {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 10px 6px 14px; font-weight: 600; font-size: 1rem; cursor: pointer;
  position: relative;
}
.lang select {
  border: 0; background: transparent; font: inherit; color: var(--ink);
  cursor: pointer; padding-right: 4px; -webkit-appearance: none; appearance: none;
  max-width: 150px;
}
.lang:focus-within { border-color: var(--sky); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
}
.badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--forest); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Grant-money hook card */
.grant-card {
  background: linear-gradient(160deg, #ffffff, #fbf6ee);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 28px;
}
.grant-card .amount { font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; color: var(--forest-dk); line-height: 1; letter-spacing: -.02em; }
.grant-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.grant-card li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px dashed var(--line); }
.grant-card li:first-child { border-top: 0; }
.check { color: var(--forest); font-weight: 800; flex: none; }

/* ---------- Two-audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0; }
.aud {
  border-radius: var(--radius); padding: 34px; color: #fff; box-shadow: var(--shadow);
  display: flex; flex-direction: column; min-height: 320px;
}
.aud h3 { color: #fff; font-size: 1.7rem; }
.aud p { opacity: .95; }
.aud .btn { margin-top: auto; }
.aud-worker { background: linear-gradient(155deg, var(--sky), var(--sky-dk)); }
.aud-owner  { background: linear-gradient(155deg, var(--brand), var(--brand-dk)); }
.aud-worker .btn { background: #fff; color: var(--sky-dk); }
.aud-owner  .btn { background: #fff; color: var(--brand-dk); }

/* ---------- Sections ---------- */
section { padding: clamp(44px, 7vw, 84px) 0; }
.section-head { max-width: 720px; margin: 0 0 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step .num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card .ico { font-size: 2rem; margin-bottom: 10px; }

/* Trades chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 1.05rem; }

/* Callout / voice teaser */
.callout {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px); text-align: center; box-shadow: var(--shadow-lg);
}
.callout h2 { color: #fff; }
.callout .phone { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 800; color: var(--brand); letter-spacing: .01em; }
.callout .btn-primary { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: #14181f; color: #c3ccda; padding: 56px 0 32px; }
.site-footer a { color: #dfe6ef; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.foot-grid h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { padding: 6px 0; }
.foot-bottom { border-top: 1px solid #2a313c; padding-top: 20px; font-size: .9rem; color: #8d97a6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Portals / forms ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 1.05rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.1rem; padding: 14px 16px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  min-height: 54px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); }
.hint { color: var(--ink-soft); font-size: .95rem; margin-top: 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Job board */
.jobs-list { display: grid; gap: 16px; }
.job {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
}
.job .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-soft); font-size: .98rem; margin-top: 6px; }
.job .tag { background: #f0ede5; border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .85rem; color: var(--ink-soft); }
.job .featured { background: #fff3e6; color: var(--brand-dk); border: 1px solid #f6d9bd; }

/* Utility */
.mt0{margin-top:0}.mb0{margin-bottom:0}
.tac{text-align:center}
.muted{color:var(--ink-soft)}
.big{font-size:1.25rem}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .split { grid-template-columns: 1fr; }
  .steps, .cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav a:not(.btn) { display: none; }   /* collapse text nav on mobile, keep buttons + lang */
}
@media (max-width: 560px) {
  body { font-size: 18px; }
  .foot-grid { grid-template-columns: 1fr; }
  .site-header .wrap { gap: 8px; }
}
