/* Zamat Workplace Solutions · Labour Relations · HR Advisory · Workplace Law · Mediation & Arbitration
   Tokens: ink #182634 (navy ink) · paper #f3f2ed · card #fcfbf7
           steel #2e5f8a · banner #96222c · brass #b08d3f (accent)
           rule #cdc9bc · muted #55606c
   Type:   Libre Caslon Text (display) · Public Sans (body) · IBM Plex Mono (labels) */

:root {
  --ink: #182634;
  --ink-deep: #111c27;
  --paper: #f3f2ed;
  --card: #fcfbf7;
  --steel: #2e5f8a;
  --banner: #96222c;
  --brass: #b08d3f;
  --rule: #cdc9bc;
  --muted: #55606c;
  --display: "Libre Caslon Text", Georgia, serif;
  --body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", monospace;
  --wrap: 1120px;
  --r: 3px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; border-radius: 2px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.head-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.wordmark { text-decoration: none; display: flex; align-items: center; }
.wordmark-logo { display: block; width: auto; height: 46px; }
.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 4px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.site-nav .nav-cta { display: none; }

/* Menu button (mobile only) */
.nav-toggle {
  display: none; align-items: center; gap: 8px; margin-left: auto;
  background: transparent; border: 1px solid var(--rule); border-radius: var(--r);
  padding: 8px 12px; cursor: pointer; color: var(--ink);
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav-toggle-bars { display: block; width: 16px; height: 12px; position: relative; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform 0.2s ease, opacity 0.15s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: var(--r);
  border: 1px solid var(--ink);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #24384c; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(24, 38, 52, 0.06); }
.btn-brass { background: var(--brass); color: var(--ink-deep); border-color: var(--brass); }
.btn-brass:hover { background: #c29e4e; }
.head-cta { padding: 10px 18px; font-size: 13.5px; white-space: nowrap; }

/* ---------- Shared section elements ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 14px;
}
.section-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: 16px;
}
.section-lede { color: var(--muted); max-width: 720px; font-size: 17px; }
section { padding: 88px 0; }

/* Ruled service lists (the § list from the original) */
.ruled-list { list-style: none; margin-top: 18px; }
.ruled-list li {
  padding: 9px 0 9px 22px; position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 55%, transparent);
  font-size: 15.5px;
}
.ruled-list li:last-child { border-bottom: 0; }
.ruled-list li::before {
  content: "§"; position: absolute; left: 0; top: 9px;
  font-family: var(--mono); font-size: 13px; color: var(--brass);
}

/* ---------- Photos ---------- */
figure img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.framed { position: relative; }
.framed img {
  border: 1px solid var(--rule);
  box-shadow: 10px 10px 0 color-mix(in srgb, var(--brass) 28%, transparent);
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 0; border-bottom: 1px solid var(--rule); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 5vw, 58px); line-height: 1.06;
  letter-spacing: -0.015em; margin: 6px 0 24px;
}
.hero-sub { max-width: 620px; font-size: 18px; color: var(--muted); margin-bottom: 22px; }
.hero-note {
  max-width: 560px; margin-bottom: 32px; padding-left: 18px;
  border-left: 3px solid var(--brass);
  font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.5;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-tags {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 56px; padding: 22px 0 26px; border-top: 1px solid var(--rule);
}
.hero-tags li {
  font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); background: var(--card);
  border: 1px solid var(--rule); border-radius: 999px; padding: 8px 16px;
}

/* ---------- What we do ---------- */
.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px;
}
.service {
  position: relative; display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  border-top: 2px solid var(--brass);
  padding: 26px 28px 52px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.service-arrow {
  position: absolute; left: 28px; bottom: 20px; font-size: 17px; color: var(--brass);
  transition: transform 0.15s ease;
}
.service:hover .service-arrow { transform: translateX(4px); }
.service:hover { border-color: var(--brass); transform: translateY(-2px); }
.service-no { font-size: 13px; color: var(--brass); margin-bottom: 12px; letter-spacing: 0.08em; }
.service h3 { font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.service-lede { font-size: 15px; color: var(--muted); }

/* ---------- HR advisory + interim leadership ---------- */
.needs { border-top: 1px solid var(--rule); background: color-mix(in srgb, var(--card) 60%, var(--paper)); }
.need-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px;
  margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--rule);
}
.need { border-top: 2px solid var(--rule); padding-top: 18px; }
.need h3 {
  font-family: var(--display); font-weight: 700; font-size: 18px;
  line-height: 1.35; margin-bottom: 8px;
}
.need p { font-size: 15px; color: var(--muted); }

/* ---------- Split sections (photo beside copy) ---------- */
.split-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center;
}
.split-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.signature, .lawsec { border-top: 1px solid var(--rule); }
.signature .section-title, .lawsec .section-title, .needs .section-title {
  font-size: clamp(26px, 3.2vw, 34px);
}

/* Entrance: the signature block arrives */
@media (prefers-reduced-motion: no-preference) {
  .signature .signature-photo, .signature .split-grid > div {
    opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .signature .signature-photo { transform: translateX(-30px); }
  .signature .split-grid > div { transform: translateX(30px); }
  .signature.in .signature-photo, .signature.in .split-grid > div {
    opacity: 1; transform: translateX(0);
  }
}

/* ---------- Who we help ---------- */
.clients { border-top: 1px solid var(--rule); }
.client-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px;
}
.client {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 26px 24px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.client:hover { border-color: var(--brass); transform: translateY(-2px); }
.client-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--brass); border-radius: 50%;
  color: var(--brass); font-size: 15px; margin-bottom: 16px;
}
.client h3 { font-family: var(--display); font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.client p { font-size: 14.5px; color: var(--muted); }

/* ---------- About: centred statement ---------- */
.about {
  border-top: 1px solid var(--rule);
  background: color-mix(in srgb, var(--card) 60%, var(--paper));
}
.about-statement { max-width: 780px; margin: 0 auto; text-align: center; }
.about-statement .eyebrow { margin-bottom: 18px; }
.about-statement .section-title { font-size: clamp(27px, 3.4vw, 36px); margin-bottom: 22px; }
.about-copy { color: var(--muted); font-size: 17.5px; }

/* ---------- Independent neutral practice ---------- */
.neutral { border-top: 1px solid var(--rule); background: color-mix(in srgb, var(--card) 60%, var(--paper)); }
.neutral-name {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(32px, 4vw, 42px); line-height: 1.1; margin-bottom: 8px;
}
.neutral-role {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.neutral-copy { color: var(--muted); }
.pledge {
  margin-top: 48px; padding: 22px 24px;
  background: var(--card); border: 1px solid var(--rule);
  border-left: 3px solid var(--brass); border-radius: var(--r);
}
.pledge h3 { font-family: var(--display); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pledge p { font-size: 14.5px; color: var(--muted); }

/* ---------- How we work ---------- */
.engagement { border-top: 1px solid var(--rule); }
.engagement-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px;
  margin-top: 40px; align-items: center;
}
.steps { list-style: none; display: grid; gap: 24px; }
.step { border-left: 3px solid var(--brass); padding: 2px 0 2px 22px; }
.step-no { font-size: 13px; color: var(--brass); margin-bottom: 8px; letter-spacing: 0.08em; }
.step h3 { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.step p:not(.step-no) { font-size: 15px; color: var(--muted); }

/* ---------- Contact: dark band ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact .section-title { color: var(--card); font-size: clamp(26px, 3.2vw, 34px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-intro > p { color: #c4ccd4; margin-bottom: 16px; max-width: 460px; }
.contact-note {
  font-size: 14px; padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--brass) 55%, transparent);
  border-radius: var(--r);
  background: color-mix(in srgb, var(--ink-deep) 70%, transparent);
}

.form-done {
  border: 1px solid color-mix(in srgb, var(--brass) 60%, transparent);
  border-left: 3px solid var(--brass);
  border-radius: var(--r);
  background: color-mix(in srgb, var(--ink-deep) 70%, transparent);
  padding: 32px 30px;
}
.form-done[hidden] { display: none; }
.form-done-mark {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 14px;
}
.form-done h3 {
  font-family: var(--display); font-weight: 700; font-size: 24px;
  line-height: 1.25; color: var(--card); margin-bottom: 10px;
}
.form-done p:not(.form-done-mark) { font-size: 15.5px; color: #c4ccd4; }

.lead-form { display: flex; flex-direction: column; gap: 18px; }
.lead-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field label {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--card);
}
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--card); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
.cf-turnstile { max-width: 100%; }
.btn-submit { align-self: flex-start; }
.btn-submit[disabled] { opacity: 0.55; cursor: not-allowed; }
.form-status { font-size: 14px; min-height: 20px; color: #c4ccd4; }
.form-status.ok { color: #8fd0a8; }
.form-status.err { color: #f0a3a3; }

/* ---------- Footer: continues the dark band ---------- */
.site-foot { background: var(--ink-deep); color: #b7c0c9; padding: 44px 0 48px; }
.foot-grid { display: grid; gap: 12px; justify-items: start; }
.foot-brand { display: block; text-decoration: none; margin-bottom: 4px; }
.foot-logo { display: block; width: auto; height: 52px; }
.foot-mark { font-size: 11.5px; letter-spacing: 0.12em; color: var(--brass); }
.foot-disclaimer { font-size: 13px; max-width: 720px; margin-top: 4px; }
.foot-copy { font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
}
@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 4px 24px 22px;
    box-shadow: 0 14px 24px -18px rgba(17, 28, 39, 0.5);
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    font-size: 16px; padding: 15px 2px; border-bottom: 1px solid var(--rule);
    color: var(--ink);
  }
  .site-nav a:hover { border-bottom-color: var(--rule); }
  .hero-grid, .split-grid, .split-grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split-grid > figure { order: -1; }
  .about-statement { max-width: none; }
  .framed img { box-shadow: 6px 6px 0 color-mix(in srgb, var(--brass) 28%, transparent); }
  .service-grid { grid-template-columns: 1fr; }
  .need-grid { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .engagement-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 64px 0; }
  .hero { padding: 56px 0 0; }
  .hero-tags { margin-top: 40px; }
  @media (prefers-reduced-motion: no-preference) {
    .signature .signature-photo, .signature .split-grid > div { transform: translateY(24px); }
  }
}
@media (max-width: 620px) {
  .head-row { gap: 10px; height: 64px; }
  .head-cta { display: none; }
  .site-nav a.nav-cta {
    display: block; text-align: center; margin-top: 20px;
    border-bottom: 1px solid var(--ink); padding: 13px 20px;
    font-size: 15px; font-weight: 600; color: var(--paper);
  }
  .site-nav a.nav-cta:hover { color: var(--paper); border-bottom-color: var(--ink); }
  .wordmark-logo { height: 34px; }
  .foot-logo { height: 44px; }
  .hero-title { font-size: 32px; }
  .need-grid, .client-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .wordmark-logo { height: 29px; }
  .nav-toggle { padding: 8px 10px; }
}

/* Powered by ClerkPilot badge */
.powered { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; width: fit-content; margin-top: 6px; }
.powered-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #b7c0c9; }
.powered img { display: block; height: 22px; width: auto; max-width: 180px; background: #fdfcf8; padding: 6px 10px; border-radius: 3px; box-sizing: content-box; }
.powered:hover .powered-label { color: #fdfcf8; }
