/* ============================================================
   Lempriere Harrington Pty Ltd — lempriereharringtontec.site

   THESIS: A Melbourne corporate advisory practice proves itself
   with the public record, not adjectives. Refuses the gradient
   SaaS hero and the grid of identical pastel cards.
   OWN-WORLD: Statutory-register stock — cool grey-green ground,
   bottle-green ink, engraved brass accent used only on marks and
   actions, 2px corners, hairline rules, Georgia display over a
   system sans, ruled data rows instead of decoration.
   STORY: A director sees a real registered entity, understands
   the six things it handles, and emails the practice.
   FIRST VIEWPORT: 7/5 asymmetric split — kicker, serif headline,
   one-line lead, two actions left; a ruled registry extract panel
   (ABN, ACN, state, office) right. Primary action sits left.
   FORM: Registry document, built light for daytime office reading.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* brand + ink */
  --primary: #1d3a35;
  --primary-deep: #14211f;
  --primary-mid: #2b524b;
  --primary-tint: #e5ecea;
  --accent: #8a6520;
  --accent-bright: #d8b167;
  --accent-tint: #f7f0e1;

  /* neutrals */
  --bg: #f4f6f5;
  --surface: #ffffff;
  --surface-alt: #eaeeec;
  --border: #dbe2df;
  --border-strong: #c2ccc8;

  /* text */
  --text-dark: #101c1a;
  --text-body: #34433f;
  --text-muted: #5a6663;
  --text-light: #eef3f1;
  --text-dim: #a9b8b4;

  /* decorative colour tokens */
  --glow-brass: rgba(138, 101, 32, 0.11);
  --glow-green: rgba(29, 58, 53, 0.12);
  --hatch: rgba(29, 58, 53, 0.055);
  --hatch-light: rgba(216, 177, 103, 0.14);
  --veil: rgba(255, 255, 255, 0.82);
  --mask-strong: rgba(0, 0, 0, 0.9);
  --mask-soft: rgba(0, 0, 0, 0.75);
  --focus: #2b524b;

  /* spacing scale */
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --s7: 6rem;
  --half: 0.25rem;

  /* structure */
  --container: 1140px;
  --gutter: clamp(1.25rem, 4vw, 1.5rem);
  --radius: 2px;
  --hair: 1px;
  --rule: 3px;

  /* type */
  --font-body: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --fs-hero: clamp(2.35rem, 5.2vw, 4rem);
  --fs-h2: clamp(1.7rem, 3vw, 2.4rem);
  --fs-h3: 1.15rem;
  --fs-h4: 1rem;
  --fs-lead: clamp(1.05rem, 1.5vw, 1.22rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-fine: 0.8125rem;
  --fs-eyebrow: 0.78rem;
  --fs-micro: 0.68rem;

  /* depth + motion */
  --shadow-1: 0 1px 2px rgba(16, 28, 26, 0.05);
  --shadow-2: 0 1px 2px rgba(16, 28, 26, 0.04), 0 10px 28px rgba(16, 28, 26, 0.07);
  --shadow-3: 0 2px 4px rgba(16, 28, 26, 0.06), 0 18px 42px rgba(16, 28, 26, 0.11);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --speed: 180ms;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 var(--s3);
  font-weight: 400;
}

h1 { font-size: var(--fs-hero); line-height: 1.06; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: 0; }

p { margin: 0 0 var(--s3); max-width: 68ch; }
ul, ol { margin: 0 0 var(--s3); padding-left: var(--s4); max-width: 68ch; }
li { margin-bottom: var(--s1); }
li:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration-thickness: var(--hair); text-underline-offset: 3px; }
a:hover { color: var(--text-dark); }

strong { color: var(--text-dark); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.measure { max-width: 62ch; }
.measure-wide { max-width: 72ch; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s3);
  top: calc(var(--s3) * -6);
  z-index: 60;
  background: var(--primary);
  color: var(--text-light);
  padding: var(--s2) var(--s3);
  border-radius: var(--radius);
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: var(--s3); color: var(--text-light); }

/* ---------- 3. Shared marks ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 var(--s3);
  max-width: none;
}
.eyebrow::before {
  content: "";
  width: var(--s4);
  height: var(--hair);
  background: currentColor;
  flex: none;
}
.eyebrow.on-dark { color: var(--accent-bright); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 56ch;
}

.section { padding: var(--s7) 0; }
.section-tight { padding: var(--s6) 0; }
.section-alt {
  background: var(--surface);
  border-top: var(--hair) solid var(--border);
  border-bottom: var(--hair) solid var(--border);
}

.section-head { max-width: 62ch; margin-bottom: var(--s5); }
.section-head p { margin-bottom: 0; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  border: var(--hair) solid transparent;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--speed) var(--ease), background-color var(--speed) var(--ease),
    color var(--speed) var(--ease), box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}

.btn-primary { background: var(--primary); color: var(--text-light); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-deep); color: var(--text-light); transform: translateY(-1px); box-shadow: var(--shadow-2); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--border-strong); }
.btn-outline:hover { color: var(--primary-deep); border-color: var(--primary); transform: translateY(-1px); box-shadow: var(--shadow-1); }

.btn-brass { background: var(--accent-bright); color: var(--primary-deep); border-color: var(--accent-bright); }
.btn-brass:hover { background: var(--accent-tint); color: var(--primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-2); }

.btn-onDark { background: transparent; color: var(--text-light); border-color: var(--primary-mid); }
.btn-onDark:hover { color: var(--primary-deep); background: var(--text-light); border-color: var(--text-light); transform: translateY(-1px); }

.btn-sm { padding: var(--s1) var(--s3); font-size: var(--fs-fine); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* ---------- 5. Header + nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--veil);
  border-bottom: var(--hair) solid var(--border);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
}

.navbar { position: relative; display: block; }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: var(--s6);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--text-dark);
}
.brand:hover { color: var(--text-dark); }

.brand-mark {
  display: grid;
  place-items: center;
  width: var(--s5);
  height: var(--s5);
  flex: none;
  background: var(--primary);
  color: var(--accent-bright);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: var(--fs-h4); letter-spacing: -0.01em; }
.brand-sub {
  font-size: var(--fs-micro);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-menu { display: flex; align-items: center; gap: var(--s4); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s4);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.nav-links li { margin: 0; }

.nav-link {
  position: relative;
  display: block;
  padding: var(--s1) 0;
  color: var(--text-body);
  font-size: var(--fs-small);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}
.nav-link:hover { color: var(--text-dark); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--rule);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--speed) var(--ease);
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--text-dark); font-weight: 600; }
.nav-link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: var(--half);
  width: var(--s5);
  height: var(--s5);
  padding: 0 var(--s1);
  background: var(--surface);
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar { display: block; height: 2px; width: 100%; background: var(--text-dark); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--hair) solid var(--border);
  background:
    radial-gradient(60rem 40rem at 88% -20%, var(--glow-brass), transparent 62%),
    radial-gradient(48rem 34rem at -10% 108%, var(--glow-green), transparent 66%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--hatch) 0,
    var(--hatch) var(--hair),
    transparent var(--hair),
    transparent var(--s2)
  );
  -webkit-mask-image: linear-gradient(115deg, var(--mask-strong), transparent 58%);
  mask-image: linear-gradient(115deg, var(--mask-strong), transparent 58%);
  pointer-events: none;
}
.hero > .container { position: relative; }

.hero-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--s6);
  align-items: center;
  min-height: 60vh;
  padding: var(--s7) 0;
}

.hero-copy { position: relative; min-width: 0; }
.hero h1 { margin-bottom: var(--s4); max-width: 16ch; }
.hero .lead { margin-bottom: 0; }

.hero-note {
  margin: var(--s4) 0 0;
  padding-top: var(--s3);
  border-top: var(--hair) solid var(--border);
  font-size: var(--fs-fine);
  color: var(--text-muted);
  max-width: 52ch;
}

/* registry panel — the hero's visual anchor */
.registry {
  background: var(--surface);
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  min-width: 0;
}
.registry-head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: var(--primary);
  color: var(--text-light);
  border-bottom: var(--rule) solid var(--accent-bright);
}
.registry-monogram {
  display: grid;
  place-items: center;
  width: var(--s5);
  height: var(--s5);
  flex: none;
  border: var(--hair) solid var(--accent-bright);
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
}
.registry-title { display: block; font-family: var(--font-display); font-size: var(--fs-h4); }
.registry-sub {
  display: block;
  font-size: var(--fs-micro);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.registry-body { margin: 0; padding: var(--s2) var(--s4) var(--s4); }
.registry-row {
  display: flex;
  flex-direction: column;
  gap: var(--half);
  padding: var(--s2) 0;
  border-bottom: var(--hair) solid var(--border);
}
.registry-row:last-child { border-bottom: 0; padding-bottom: 0; }
.registry-row dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.registry-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

/* compact inner-page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: var(--hair) solid var(--border);
  padding: var(--s6) 0 var(--s5);
  background:
    radial-gradient(46rem 26rem at 92% -40%, var(--glow-brass), transparent 62%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--hatch) 0,
    var(--hatch) var(--hair),
    transparent var(--hair),
    transparent var(--s2)
  );
  -webkit-mask-image: linear-gradient(115deg, var(--mask-soft), transparent 55%);
  mask-image: linear-gradient(115deg, var(--mask-soft), transparent 55%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); max-width: 20ch; margin-bottom: var(--s3); }
.page-hero .lead { margin-bottom: 0; }

/* ---------- 7. Positions (value props) ---------- */
.positions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  border-top: var(--hair) solid var(--border-strong);
  padding-top: var(--s5);
}
.position h3 { margin-bottom: var(--s2); }
.position p { margin-bottom: 0; font-size: var(--fs-small); color: var(--text-muted); }
.position-index {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-small);
  color: var(--accent);
  margin-bottom: var(--s2);
  letter-spacing: 0.08em;
}

/* ---------- 8. Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s4);
}
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }

.service-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
    border-color var(--speed) var(--ease);
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--border-strong); }
.service-card h3 { margin: 0; }
.service-card p { margin: 0; font-size: var(--fs-small); color: var(--text-muted); max-width: 46ch; }
.service-card-wide { grid-column: span 2; }
.service-card-wide p { max-width: 62ch; }

.icon-tile {
  display: grid;
  place-items: center;
  width: var(--s5);
  height: var(--s5);
  flex: none;
  background: var(--primary-tint);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: var(--s1);
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile-brass { background: var(--accent-tint); color: var(--accent); }

.service-meta {
  margin: var(--s2) 0 0;
  padding: var(--s2) 0 0;
  border-top: var(--hair) solid var(--border);
  list-style: none;
  max-width: none;
}
.service-meta li {
  position: relative;
  padding-left: var(--s3);
  font-size: var(--fs-fine);
  color: var(--text-muted);
}
.service-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: var(--s1);
  height: var(--hair);
  background: var(--accent);
}

/* detailed service entries (services.html) */
.entry {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--s5);
  padding: var(--s5) 0;
  border-top: var(--hair) solid var(--border-strong);
  align-items: start;
}
.entry:last-of-type { border-bottom: var(--hair) solid var(--border-strong); }
.entry-head { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.entry-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin: 0; }
.entry-num {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  color: var(--accent);
}
.entry-body { min-width: 0; }
.entry-body p:last-child { margin-bottom: 0; }

/* ---------- 9. Dark band ---------- */
.band-dark {
  background:
    radial-gradient(50rem 30rem at 12% -30%, var(--glow-brass), transparent 60%),
    var(--primary-deep);
  color: var(--text-dim);
  border-top: var(--hair) solid var(--primary-mid);
  border-bottom: var(--hair) solid var(--primary-mid);
  position: relative;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--hatch-light) 0,
    var(--hatch-light) var(--hair),
    transparent var(--hair),
    transparent var(--s6)
  );
  opacity: 0.5;
  pointer-events: none;
}
.band-dark > .container { position: relative; }
.band-dark h2, .band-dark h3 { color: var(--text-light); }
.band-dark p { color: var(--text-dim); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  margin-top: var(--s5);
}
.step { border-top: var(--hair) solid var(--primary-mid); padding-top: var(--s3); }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  color: var(--accent-bright);
  margin-bottom: var(--s2);
  letter-spacing: 0.08em;
}
.step h3 { font-size: var(--fs-h3); margin-bottom: var(--s1); }
.step p { font-size: var(--fs-small); margin-bottom: 0; }

/* ---------- 10. Split band ---------- */
.split {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--s6);
  align-items: center;
}
.split-reverse .split-visual { order: -1; }
.split-copy { min-width: 0; }
.split-copy p:last-of-type { margin-bottom: 0; }

.checklist { list-style: none; padding: 0; margin: var(--s4) 0 0; max-width: 58ch; }
.checklist li {
  position: relative;
  padding-left: var(--s4);
  margin-bottom: var(--s2);
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: var(--s2);
  height: var(--hair);
  background: var(--accent);
}

.split-visual {
  position: relative;
  padding: var(--s5);
  background: var(--surface);
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  min-width: 0;
}
.split-visual::after {
  content: "";
  position: absolute;
  left: var(--s4);
  right: var(--s4);
  bottom: calc(var(--s3) * -1);
  height: var(--s3);
  border: var(--hair) solid var(--border);
  border-top: 0;
  background: var(--surface-alt);
  z-index: -1;
}
.split-visual svg { display: block; width: 100%; height: auto; color: var(--primary); }
.split-caption {
  margin: var(--s3) 0 0;
  font-size: var(--fs-fine);
  color: var(--text-muted);
  text-align: center;
  max-width: none;
}

/* ---------- 11. Credentials strip ---------- */
.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s5);
  align-items: baseline;
  padding: var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-left: var(--rule) solid var(--accent);
  border-radius: var(--radius);
}
.cred-item { display: flex; flex-direction: column; gap: var(--half); }
.cred-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cred-value { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--text-dark); }

/* ---------- 12. CTA strip ---------- */
.cta-strip {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--s5);
  align-items: center;
  padding: var(--s6) var(--s5);
  background:
    radial-gradient(40rem 24rem at 100% 0%, var(--glow-brass), transparent 60%),
    var(--primary);
  border-radius: var(--radius);
  border-top: var(--rule) solid var(--accent-bright);
}
.cta-strip h2 { color: var(--text-light); margin-bottom: var(--s2); }
.cta-strip p { color: var(--text-dim); margin-bottom: 0; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: flex-end; }

/* ---------- 13. Prose (legal + long copy) ---------- */
.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-top: var(--s6);
  margin-bottom: var(--s3);
  padding-top: var(--s3);
  border-top: var(--hair) solid var(--border-strong);
}
.prose > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: var(--s4); margin-bottom: var(--s1); }
.prose p, .prose ul, .prose ol { max-width: 72ch; }
.prose ul { padding-left: var(--s4); }

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s4);
  margin: 0 0 var(--s5);
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  font-size: var(--fs-fine);
  color: var(--text-muted);
  max-width: 72ch;
}

.callout {
  padding: var(--s4);
  background: var(--accent-tint);
  border: var(--hair) solid var(--border);
  border-radius: var(--radius);
  margin: var(--s4) 0;
  max-width: 72ch;
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { margin-top: 0; }

/* ---------- 14. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--s6);
  align-items: start;
}

.contact-copy { min-width: 0; }
.contact-copy h3 { margin-top: var(--s5); }

.contact-card {
  padding: var(--s5);
  background: var(--surface);
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  min-width: 0;
}

.field { display: flex; flex-direction: column; gap: var(--s1); margin-bottom: var(--s3); }
.field label { font-size: var(--fs-fine); font-weight: 600; color: var(--text-dark); letter-spacing: 0.02em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: var(--s2) var(--s3);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--text-dark);
  background: var(--bg);
  border: var(--hair) solid var(--border-strong);
  border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--primary-mid); }
.field input:focus,
.field select:focus,
.field textarea:focus { background: var(--surface); border-color: var(--primary); }
.field textarea { min-height: var(--s7); resize: vertical; }
.field-hint { font-size: var(--fs-fine); color: var(--text-muted); }

.form-note { font-size: var(--fs-fine); color: var(--text-muted); margin: var(--s3) 0 0; }

.contact-rows { margin: 0; }
.contact-row {
  display: flex;
  flex-direction: column;
  gap: var(--half);
  padding: var(--s3) 0;
  border-bottom: var(--hair) solid var(--border);
}
.contact-row:first-child { padding-top: 0; }
.contact-row dt {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-row dd { margin: 0; font-size: var(--fs-body); color: var(--text-dark); }
.contact-row dd a { font-family: var(--font-display); font-size: var(--fs-h3); }

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--primary-deep);
  color: var(--text-dim);
  border-top: var(--rule) solid var(--accent);
  font-size: var(--fs-small);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: var(--s5);
  padding: var(--s6) 0 var(--s5);
}
.footer h2 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  font-weight: 600;
  margin-bottom: var(--s3);
}
.footer p { color: var(--text-dim); font-size: var(--fs-small); max-width: 40ch; }
.footer a { color: var(--text-light); text-decoration: none; }
.footer a:hover { color: var(--accent-bright); text-decoration: underline; }

.footer-brand { display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.footer-brand .brand-mark { background: var(--primary-mid); }
.footer-brand-name { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--text-light); }

.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: var(--s2); }

.footer-ids {
  margin: var(--s3) 0 0;
  padding-top: var(--s3);
  border-top: var(--hair) solid var(--primary-mid);
  font-size: var(--fs-fine);
  color: var(--text-dim);
}
.footer-ids span { display: block; }

.footer-bottom {
  border-top: var(--hair) solid var(--primary-mid);
  background: var(--primary);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  align-items: center;
  justify-content: space-between;
  padding: var(--s3) 0;
  font-size: var(--fs-fine);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.footer-legal li { margin-bottom: 0; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s5); min-height: 0; padding: var(--s6) 0; }
  .split, .contact-grid, .entry, .cta-strip { grid-template-columns: 1fr; gap: var(--s5); }
  .split-reverse .split-visual { order: 0; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .positions, .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: var(--s6) 0; }
  .section-tight { padding: var(--s5) 0; }

  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s2) var(--s3) var(--s3);
    background: var(--surface);
    border: var(--hair) solid var(--border);
    box-shadow: var(--shadow-3);
  }
  .nav-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: var(--hair) solid var(--border); }
  .nav-link { padding: var(--s2) 0; }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--accent); }
  .nav-cta { margin-top: var(--s3); }

  .hero-inner { padding: var(--s5) 0 var(--s6); }
  .page-hero { padding: var(--s5) 0; }
  .positions, .steps, .services-grid, .services-grid-3 { grid-template-columns: 1fr; gap: var(--s4); }
  .service-card-wide { grid-column: auto; }
  .cta-strip { padding: var(--s5) var(--s4); }
  .split-visual { padding: var(--s4); }
  .contact-card { padding: var(--s4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s5) 0 var(--s4); }
  .footer-bottom-inner { justify-content: flex-start; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .btn:hover, .service-card:hover { transform: none; }
}
