/* Deployed Response - public site.
   Brand values come from Tier1-Standards BrandColour_Ref_BRAND.md. Do not add a colour here
   that is not in that file. Arial is absolute (Style_Ref). */

:root {
  /* Tier 1 CORE */
  --navy: #244369;        /* Deep Navy - primary, headings, blocks */
  --gold: #c9b730;        /* Primary Gold - accent only, about 10% */
  --white: #ffffff;
  --ink: #101f37;         /* Body text */
  /* Tier 2 EXTENDED, used for depth on dark grounds */
  --navy-alt: #1b324f;
  --navy-deep: #152131;
  --blue: #4076b9;        /* Primary Blue - H2 on light grounds */
  --gold-alt: #d3c34a;    /* hover state for gold */
  /* Tier 3 MARKETING */
  --cloud: #eceff3;
  /* Functional status */
  --stop: #c00000;
  --go: #00b050;

  --text-on-dark: #eceff3;
  --muted-on-dark: rgba(236, 239, 243, 0.72);
  --line-on-dark: rgba(236, 239, 243, 0.14);
  --card-on-dark: rgba(36, 67, 105, 0.35);

  --radius: 12px;
  --max: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-on-dark);
  background: var(--ink);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 31, 55, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-on-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand picture { background: var(--white); border-radius: 8px; padding: 3px 5px; line-height: 0; }
.brand img { height: 46px; width: auto; }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: 0.02em; color: var(--white); white-space: nowrap; }
.wordmark span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--text-on-dark); }
.nav a:hover { color: var(--gold); }
.nav a.btn-gold, .nav a.btn-gold:hover { color: var(--ink); }  /* header quote button: Ink text, matches Request a Quote (Kyle 09OCT26) */
.nav-toggle { display: none; background: none; border: 1px solid var(--line-on-dark); color: var(--white); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-on-dark); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-on-dark); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; text-align: center; }
  .wordmark { font-size: 17px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-alt); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Sections ---------- */
section { padding: 96px 0; scroll-margin-top: 72px; }
.band-a { background: var(--ink); }
.band-b { background: var(--navy-deep); }
.eyebrow { display: block; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(32px, 5vw, 48px); color: var(--white); }
.section-head p { color: var(--muted-on-dark); font-size: 18px; }
.accent { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(560px, calc(100vh - 72px), 880px); display: flex; align-items: center;
  padding: 96px 0; text-align: center; overflow: hidden;
  background: var(--ink) image-set(url("img/hero-workforce-camp-canada-1600.webp") type("image/webp")) center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,31,55,0.78), rgba(16,31,55,0.62) 45%, rgba(16,31,55,0.92)); }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(38px, 7vw, 76px); color: var(--white); margin-bottom: 24px; }
.hero h1 .accent { display: block; font-size: 0.5em; line-height: 1.3; margin-top: 14px; text-wrap: balance; }
.hero p { max-width: 820px; margin: 0 auto 36px; font-size: 18px; color: var(--text-on-dark); }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--card-on-dark); border: 1px solid var(--line-on-dark); border-radius: var(--radius); padding: 28px; }
.card h3 { font-size: 20px; color: var(--white); }
.card p { color: var(--muted-on-dark); margin: 0; font-size: 16px; }
.card-row { display: flex; gap: 18px; align-items: flex-start; }
.icon { flex: none; width: 48px; height: 48px; border-radius: 10px; background: rgba(201,183,48,0.12); display: grid; place-items: center; color: var(--gold); }
.icon svg { width: 24px; height: 24px; }
.center { text-align: center; }
.center .icon { margin: 0 auto 16px; }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-on-dark); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.photos { margin-top: 24px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about h2 { font-size: clamp(32px, 5vw, 48px); color: var(--white); }
.about p { color: var(--muted-on-dark); }
.events { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.events li { display: flex; gap: 12px; align-items: center; color: var(--text-on-dark); }
.events svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; text-align: center; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12.5%; right: 12.5%; height: 2px; background: var(--line-on-dark); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step-num { position: relative; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; border: 2px solid var(--gold); background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.steps h3 { font-size: 20px; color: var(--white); }
.steps p { color: var(--muted-on-dark); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card-on-dark); border: 1px solid var(--line-on-dark); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--white); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 22px; color: var(--muted-on-dark); }
.faq .answer p { margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(32px, 5vw, 48px); color: var(--white); }
.contact-lines { display: grid; gap: 18px; margin-top: 28px; }
.contact-line { display: flex; gap: 16px; align-items: center; }
.contact-line small { display: block; color: var(--muted-on-dark); font-size: 14px; }
.contact-line a { color: var(--white); font-weight: 700; text-decoration: none; }
.contact-line a:hover { color: var(--gold); }

.form { background: var(--card-on-dark); border: 1px solid var(--line-on-dark); border-radius: 16px; padding: 32px; display: grid; gap: 18px; }
@media (max-width: 520px) { .form { padding: 22px; } }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; color: var(--text-on-dark); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--white);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(236,239,243,0.25); border-radius: 8px; padding: 12px 14px;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201,183,48,0.25); }
.field input::placeholder, .field textarea::placeholder { color: rgba(236,239,243,0.45); }
.field input[type="date"] { color-scheme: dark; }
.field textarea { resize: vertical; min-height: 120px; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
@media (max-width: 600px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--gold); flex: none; }
.duration { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.err { color: #ff8a80; font-size: 13px; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff8a80; }
.consent a { color: var(--gold); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.fineprint { color: var(--muted-on-dark); font-size: 13px; text-align: center; margin: 0; }
.notice { border-radius: 10px; padding: 16px 18px; font-size: 15px; display: none; }
.notice.show { display: block; }
.notice.ok { background: rgba(0,176,80,0.12); border: 1px solid rgba(0,176,80,0.5); }
.notice.bad { background: rgba(192,0,0,0.15); border: 1px solid rgba(255,138,128,0.6); }
.notice strong { display: block; color: var(--white); margin-bottom: 4px; }
.notice code { font-family: Consolas, monospace; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #0c1829; padding: 64px 0 28px; border-top: 1px solid var(--line-on-dark); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 14px; }
.site-footer p, .site-footer li { color: var(--muted-on-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 14px; margin-top: 12px; }
.socials svg { width: 20px; height: 20px; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-on-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-on-dark); font-size: 14px; }
.foot-base nav { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--muted-on-dark); cursor: pointer; }
.linkish:hover { color: var(--gold); }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 1100px; margin: 0 auto;
  background: var(--navy-alt); border: 1px solid var(--line-on-dark); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45); padding: 18px 22px;
  display: none; gap: 18px; align-items: center; justify-content: space-between;
}
.cookie.open { display: flex; }
@media (max-width: 700px) { .cookie.open { flex-direction: column; align-items: stretch; } }
.cookie h2 { font-size: 16px; color: var(--white); margin: 0 0 4px; }
.cookie p { margin: 0; font-size: 14px; color: var(--text-on-dark); }
.cookie p a { color: var(--gold); }
.cookie .actions { display: flex; gap: 10px; flex: none; }
.cookie .actions .btn { flex: 1; }

/* ---------- Legal pages (light ground, document form per Style_Ref) ---------- */
.legal-body { background: var(--white); color: var(--ink); }
.legal { max-width: 860px; margin: 0 auto; padding: 56px var(--gutter) 88px; }
.legal a { color: var(--blue); }
.legal .back { display: inline-block; margin-bottom: 28px; font-size: 15px; text-decoration: none; }
.legal h1 { color: var(--navy); font-size: clamp(28px, 4.5vw, 40px); }
.legal h2 { color: var(--blue); font-size: 24px; margin-top: 1.8em; }
.legal h3 { color: var(--navy); font-size: 19px; margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink); }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.4em; }
.legal .meta { color: #4a5568; font-size: 15px; }
.legal .callout { border-left: 4px solid var(--blue); background: var(--cloud); padding: 14px 18px; border-radius: 0 8px 8px 0; }
.legal .closing { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid #d5dbe3; font-size: 15px; }

/* Terms acceptance */
.terms-scroll { max-height: 520px; overflow-y: auto; border: 1px solid #d5dbe3; border-radius: 10px; padding: 8px 24px 24px; background: #fbfcfd; }
.terms-scroll h2 { font-size: 20px; }
.terms-hint { font-size: 14px; color: #4a5568; margin: 10px 0 0; }
.accept-card { margin-top: 32px; border: 1px solid #d5dbe3; border-radius: 12px; overflow: hidden; }
.accept-card .bar { height: 5px; background: linear-gradient(90deg, var(--navy), var(--gold), var(--blue)); }
.accept-card .inner { padding: 24px; display: grid; gap: 18px; }
.accept-card h2 { margin: 0; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.ack { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #e3e8ef; border-radius: 10px; padding: 14px 16px; }
.ack input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.ack strong { display: block; color: var(--ink); }
.ack span { color: #4a5568; font-size: 15px; }
.ack .tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--navy); align-self: center; }
.ack .tag.opt { color: #6b7280; }
.ack.locked { opacity: 0.55; }
.legal .field label { color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; }
.legal .field input { color: var(--ink); background: var(--white); border: 1px solid #c3ccd8; }
.legal .field.invalid .err { color: var(--stop); }
.legal .field.invalid input { border-color: var(--stop); }
.legal .btn-navy { background: var(--navy); color: var(--white); width: 100%; }
.legal .btn-navy:hover { background: var(--navy-alt); }
.stamp { font-family: Consolas, monospace; font-size: 14px; color: var(--navy); }
.progress { height: 6px; background: #e3e8ef; border-radius: 3px; overflow: hidden; }
.progress div { height: 100%; width: 0; background: var(--navy); transition: width .2s; }
.done-card { text-align: center; padding: 40px 24px; }
.done-card .ref { display: inline-block; font-family: Consolas, monospace; background: var(--navy); color: var(--gold); padding: 8px 18px; border-radius: 6px; letter-spacing: 0.05em; margin: 8px 0 24px; }
.legal .notice.bad { color: var(--ink); }

.staging-flag { position: fixed; right: 12px; top: 84px; z-index: 70; background: var(--stop); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; padding: 6px 10px; border-radius: 6px; pointer-events: none; }
.field .hint { display: block; font-size: 13px; color: var(--muted-on-dark); margin-top: 4px; min-height: 1em; }
