/* Trade site template v2 — merged with the Foreman mockup design language.
   Palette per trade via variables; all pairs verified WCAG AA (see DESIGN-REVIEW.md). */
:root {
  --ink: #0E2E3D;            /* deep teal-navy — headings, footer ground */
  --charcoal: #23303A;       /* body text */
  --stone: #F7F5F0;          /* warm page ground */
  --paper: #ffffff;
  --accent: #1B5E86;         /* links, icons — 6.4:1 on stone */
  --cta: #8F4E15;            /* copper CTA — white on this is 6.4:1 */
  --cta-dark: #7a4312;
  --muted: #57666D;          /* 5.5:1 on stone */
  --hairline: rgba(14, 46, 61, .14);
  --radius: 2px;
  --font-head: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk-var.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--stone); line-height: 1.6; }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); letter-spacing: .01em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.8rem); font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 650; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 680px; }
section { padding: 52px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section-head { margin-bottom: 24px; max-width: 60ch; }
.section-head p { margin-top: 10px; color: var(--muted); }
.note { color: var(--muted); font-size: .92rem; }
.sub-h { margin-bottom: 6px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 18px; z-index: 99; }
.skip:focus { left: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius); font-weight: 600; text-decoration: none;
  border: 0; cursor: pointer; font-size: 1rem; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-dark); }
.btn-call { background: var(--ink); color: #fff; white-space: nowrap; }
.btn-block { width: 100%; }
.link-quiet { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Top bar */
.topbar { background: var(--paper); border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 22px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: .01em; }
.head-ctas { display: flex; align-items: center; gap: 14px; }
.head-phone { font-size: .9rem; color: var(--muted); }

/* Hero */
.hero { padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; align-items: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
.chips li { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 650; color: var(--accent); }
.chips li + li::before { content: "› "; color: var(--muted); margin-right: 14px; }
.hero h1 { max-width: 23ch; }
.lede { font-size: 1.12rem; margin: 16px 0 24px; max-width: 32em; color: var(--charcoal); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fallback { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.hero-photo { border-radius: var(--radius); border: 1px solid var(--hairline); aspect-ratio: 1; object-fit: cover; }

/* Trust band */
.trustband { background: var(--ink); color: #E7EDF1; padding: 16px 0; }
.trust-inner { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.trust-item { font-size: .9rem; }
.trust-item::before { content: "✓ "; color: #9fd8a4; font-weight: 700; }

/* Why us */
.tick-list { list-style: none; columns: 2; gap: 40px; max-width: 780px; }
.tick-list li { margin-bottom: 10px; break-inside: avoid; padding-left: 28px; position: relative; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.promise { margin-top: 22px; padding: 14px 18px; background: var(--paper); border-left: 3px solid var(--cta); max-width: 640px; }

/* Services */
.services-list { display: grid; gap: 0; border-top: 1px solid var(--hairline); max-width: 780px; }
.service-row { padding: 18px 0; border-bottom: 1px solid var(--hairline); }
.service-row p { color: var(--muted); font-size: .95rem; margin-top: 4px; max-width: 62ch; }

/* Photo band */
.photo-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 18px; }
.photo-band figure img, .job-ph { border-radius: var(--radius); border: 1px solid var(--hairline); aspect-ratio: 1; object-fit: cover; width: 100%; }
.job-ph { background: linear-gradient(145deg, #d7dfe6 0%, #b3c2cd 100%); }
.photo-band figcaption { text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 650; color: var(--muted); margin-top: 8px; }

/* Credentials */
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; max-width: 780px; }
.cred-item { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 12px 15px; font-size: .95rem; }
.cred-item svg { color: var(--accent); flex: 0 0 auto; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.review { background: var(--stone); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px; }
.review blockquote { font-style: italic; margin-bottom: 10px; }
.review figcaption { color: var(--muted); font-size: .9rem; }

/* Areas */
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.chip-list li { background: var(--paper); border: 1px solid var(--hairline); padding: 6px 14px; border-radius: 999px; font-size: .92rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 650; color: var(--ink); list-style-position: outside; }
.faq-item p { padding: 0 0 16px; color: var(--charcoal); max-width: 65ch; }

/* Form */
.enquiry-form { display: grid; gap: 18px; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 26px 24px; }
.field label, .field legend { font-weight: 650; display: block; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hairline); border-radius: var(--radius);
  font: inherit; background: var(--paper); color: var(--charcoal); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.hint.centre { text-align: center; font-size: .85rem; color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); }
fieldset.field { border: 0; }
.radio { display: flex; align-items: center; gap: 10px; font-weight: 400; padding: 7px 0; }
.radio input { width: auto; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius); background: #e7f3e9; border: 1px solid #a9d3b0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Footer */
.site-foot { background: var(--ink); color: #C9D4DC; padding: 44px 0 90px; }
.site-foot a { color: #fff; }
.foot-name { font-weight: 700; color: #fff; margin-bottom: 6px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
.foot-creds { list-style: none; font-size: .88rem; }
.foot-badges { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: #C9D4DC;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 6px 14px; text-decoration: none; }
.badge:hover { border-color: rgba(255,255,255,.6); }
.badge svg { color: #9fd8a4; }
.foot-legal { margin-top: 18px; font-size: .82rem; opacity: .75; }

/* Sticky mobile bar — enquiry primary, call fallback */
.sticky-call { position: fixed; bottom: 0; left: 0; right: 0; display: flex; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--hairline); z-index: 20; }
.sticky-main { flex: 1; }
.sticky-side { flex: 0 0 auto; }
@media (min-width: 720px) { .sticky-call { display: none; } .site-foot { padding-bottom: 44px; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { max-width: none; }
  .hero-photo { aspect-ratio: 16 / 10; width: 100%; }
}
@media (max-width: 560px) {
  .tick-list { columns: 1; }
  .field-row { grid-template-columns: 1fr; }
  .head-phone { display: none; }
  section { padding: 38px 0; }
}
