/* Law Firm placeholder · Labour & Employment Law
   Tokens: ink #182634 (navy ink) · paper #f3f2ed · card #fcfbf7
           steel #2e5f8a (employer) · banner #96222c (union) · brass #b08d3f (employee/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: 84px; 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: 32px; height: 68px; }
.wordmark { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.wordmark-name {
  font-family: var(--display); font-weight: 700; font-size: 20px;
  letter-spacing: 0.22em;
}
.wordmark-sub {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brass);
}
.site-nav { display: flex; gap: 24px; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-size: 14px; 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); }

/* ---------- 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 20px; font-size: 14px; }

/* ---------- 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 { padding: 88px 0; }

/* ---------- 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: 96px 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(40px, 5.4vw, 64px); line-height: 1.05;
  letter-spacing: -0.015em; margin: 6px 0 26px;
}
.hero-sub { max-width: 620px; font-size: 18px; color: var(--muted); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Situations ---------- */
.situations { padding-top: 72px; padding-bottom: 0; }
.situation-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px;
}
.sit-card {
  position: relative; display: block; text-decoration: none;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  padding: 24px 24px 46px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sit-card:hover { transform: translateY(-2px); }
.sit-ind { border-top: 3px solid var(--brass); }
.sit-emp { border-top: 3px solid var(--steel); }
.sit-uni { border-top: 3px solid var(--banner); }
.sit-ind:hover { border-color: var(--brass); }
.sit-emp:hover { border-color: var(--steel); }
.sit-uni:hover { border-color: var(--banner); }
.sit-card h3 {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  line-height: 1.3; margin-bottom: 10px;
}
.sit-card p { font-size: 14px; color: var(--muted); }
.sit-arrow {
  position: absolute; left: 24px; bottom: 16px; font-size: 16px;
  transition: transform 0.15s ease;
}
.sit-ind .sit-arrow { color: var(--brass); }
.sit-emp .sit-arrow { color: var(--steel); }
.sit-uni .sit-arrow { color: var(--banner); }
.sit-card:hover .sit-arrow { transform: translateX(4px); }

/* ---------- Signature: two sides, one table ---------- */
.sides { padding-top: 72px; overflow-x: clip; }
.sides-grid {
  display: grid; grid-template-columns: 1fr 1px 1fr; gap: 0;
  margin-top: 8px; align-items: stretch;
}
.seam { background: var(--rule); }
.side {
  padding: 0 44px 42px; background: var(--card); border: 1px solid var(--rule);
  overflow: hidden;
}
.side-employer { border-right: 0; border-radius: var(--r) 0 0 var(--r); border-top: 3px solid var(--steel); }
.side-union { border-left: 0; border-radius: 0 var(--r) var(--r) 0; border-top: 3px solid var(--banner); }
.side-photo { margin: 0 -44px 26px; }
.side-photo img { border-radius: 0; height: 220px; object-fit: cover; }
.side-title {
  font-family: var(--display); font-weight: 700; font-size: 26px; margin-bottom: 20px;
}
.side-employer .side-title { color: var(--steel); }
.side-union .side-title { color: var(--banner); }
.side-list { list-style: none; }
.side-list li {
  padding: 10px 0 10px 22px; position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 55%, transparent);
  font-size: 16px;
}
.side-list li:last-child { border-bottom: 0; }
.side-list li::before {
  content: "§"; position: absolute; left: 0; top: 10px;
  font-family: var(--mono); font-size: 13px; color: var(--brass);
}
.side-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.side-employer .side-cta { color: var(--steel); }
.side-union .side-cta { color: var(--banner); }
.side-cta .arrow { transition: transform 0.15s ease; }
.side-cta:hover .arrow { transform: translateX(4px); }
.bridge {
  text-align: center; margin-top: 30px;
  font-family: var(--display); font-style: italic; font-size: 18px; color: var(--muted);
}

/* Entrance: the two sides arrive at the table */
@media (prefers-reduced-motion: no-preference) {
  .side-employer, .side-union {
    opacity: 0; transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .side-employer { transform: translateX(-36px); }
  .side-union { transform: translateX(36px); }
  .sides.in .side-employer, .sides.in .side-union {
    opacity: 1; transform: translateX(0);
  }
}

/* ---------- Practice clauses ---------- */
.practice { border-top: 1px solid var(--rule); }
.clause-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px;
}
.clause {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
  border-top: 2px solid var(--brass);
  padding: 26px 26px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.clause:hover { border-color: var(--brass); transform: translateY(-2px); }
.clause-no { font-size: 13px; color: var(--brass); margin-bottom: 12px; }
.clause h3 { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.clause p:not(.clause-no) { font-size: 15px; 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: 28px; }
.step { border-left: 3px solid var(--brass); padding: 4px 0 4px 22px; }
.step-no { font-size: 13px; color: var(--brass); margin-bottom: 10px; }
.step h3 { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.step p:not(.step-no) { font-size: 15px; color: var(--muted); }

/* ---------- Firm ---------- */
.firm { border-top: 1px solid var(--rule); }
.firm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.firm-copy p { color: var(--muted); margin-bottom: 14px; max-width: 480px; }

/* ---------- Contact: dark band ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact .section-title { color: var(--card); }
.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: 440px; }
.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);
}
.contact-where { font-size: 13px; color: var(--brass); letter-spacing: 0.06em; margin-bottom: 24px; }
.contact-photo img { border: 1px solid color-mix(in srgb, var(--brass) 40%, transparent); }

.lead-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field-row { display: flex; gap: 18px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--card); }
.field .optional { font-weight: 400; color: #9aa6b1; }
.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: 40px 0 48px; }
.foot-grid { display: grid; gap: 14px; }
.foot-mark { font-size: 12px; letter-spacing: 0.14em; color: var(--brass); }
.foot-disclaimer { font-size: 13px; max-width: 720px; }
.foot-copy { font-size: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .framed img { box-shadow: 6px 6px 0 color-mix(in srgb, var(--brass) 28%, transparent); }
  .situation-grid { grid-template-columns: 1fr; }
  .sides-grid { grid-template-columns: 1fr; }
  .seam { display: none; }
  .side { padding: 0 26px 32px; }
  .side-photo { margin: 0 -26px 22px; }
  .side-employer { border: 1px solid var(--rule); border-top: 3px solid var(--steel); border-radius: var(--r); }
  .side-union { border: 1px solid var(--rule); border-top: 3px solid var(--banner); border-radius: var(--r); margin-top: 18px; }
  .clause-grid { grid-template-columns: 1fr; }
  .engagement-grid { grid-template-columns: 1fr; gap: 36px; }
  .firm-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { flex-direction: column; gap: 18px; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .situations { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .head-row { gap: 12px; justify-content: space-between; }
  .head-cta { padding: 9px 14px; font-size: 13px; }
  .wordmark-name { font-size: 17px; letter-spacing: 0.16em; }
  .hero-title { font-size: 34px; }
}

/* v5 patch: powered by ClerkPilot badge */
.powered { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; width: fit-content; }
.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; }
