/* Welldone 2026 visual refresh
 * Bold, practical, and unmistakably mechanical.
 * Loaded after page-level styles so this file is the final visual authority.
 */

:root {
  --paper: #ffffff;
  --paper-deep: #edf7f1;
  --paper-dark: #d8eee1;
  --ink: #092419;
  --body: #29483b;
  --muted: #61786d;
  --muted-soft: #8ca096;
  --rule: #c9ded2;
  --rule-subtle: #e1eee7;
  --primary: #08783f;
  --primary-hover: #045f31;
  --primary-ink: #ffffff;
  --accent: #b7ef3a;
  --accent-warm: #ffc83d;
  --signal: #ff6b45;
  --night: #071d14;
  --night-soft: #103428;
  --display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --body-font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --page-max: 1440px;
  --gutter: clamp(28px, 4.5vw, 72px);
  --gutter-mobile: 20px;
  --header-h: 82px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 26px;
  --shadow-sm: 0 8px 24px rgba(9, 36, 25, 0.08);
  --shadow: 0 18px 50px rgba(9, 36, 25, 0.13);
}

html { background: var(--night); }

body {
  background: var(--paper);
  color: var(--body);
  font-size: 17px;
  line-height: 1.58;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--night); }

img { color: transparent; }

:focus-visible {
  outline: 3px solid var(--accent-warm);
  outline-offset: 4px;
}

.container { width: 100%; }

.t-display,
.t-h1,
.t-h2,
.t-h3,
.t-h4 {
  font-family: var(--display);
  color: var(--ink);
  font-style: normal;
}

.t-h1 {
  max-width: 12ch;
  font-size: clamp(52px, 6.8vw, 94px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.06em;
}

.t-h2 {
  font-size: clamp(36px, 4.5vw, 62px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.045em;
}

.t-h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.t-h4 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.t-lede {
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.48;
  color: var(--body);
}

.t-body { font-size: 16px; line-height: 1.58; }
.t-small { font-size: 14px; line-height: 1.55; }

.t-meta,
.t-tag,
.t-data,
.t-eyebrow {
  font-family: var(--body-font);
  font-variant-numeric: tabular-nums;
}

.t-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}

.t-eyebrow::before {
  content: "";
  width: 26px;
  height: 5px;
  border-radius: 99px;
  background: var(--accent);
}

.t-meta,
.t-tag,
.t-data {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .07em;
}

.text-muted { color: var(--muted); }
.italic { font-style: normal; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border: 0;
  background: rgba(7, 29, 20, .96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .09);
  backdrop-filter: blur(16px) saturate(150%);
}

.site-header .container {
  min-height: 82px;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: clamp(18px, 2.6vw, 40px);
}

.site-header .brand {
  position: relative;
  min-width: 180px;
  text-decoration: none;
}

.site-header .brand img {
  display: block;
  width: 188px !important;
  max-width: 188px;
  height: auto !important;
  aspect-ratio: 360 / 78;
  object-fit: contain;
}

.site-header nav { gap: clamp(16px, 2vw, 30px); }

.site-header nav a {
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -.01em;
  padding: 9px 0;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: #fff; }

.site-header nav a[aria-current="page"]::after {
  bottom: 1px;
  height: 3px;
  border-radius: 4px;
  background: var(--accent);
}

.site-header .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--night);
}

.site-header .btn-primary:hover {
  background: #c8ff4f;
  border-color: #c8ff4f;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span { position: relative; }
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Buttons and links */
.btn {
  min-height: 50px;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); box-shadow: 0 10px 24px rgba(8,120,63,.22); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 10px 17px; font-size: 13px; }

.link,
.link-meta {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
}

.link:hover,
.link-meta:hover { color: var(--primary); border-color: var(--primary); }

.tag {
  border: 0;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--primary);
  padding: 7px 11px;
  font-family: var(--body-font);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .09em;
}

.tag-filled { background: var(--accent); color: var(--night); }

/* Media */
.photo {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper-dark);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.photo.has-image::before { display: block; }
.photo.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .32;
  background: linear-gradient(180deg, transparent 55%, var(--night));
  pointer-events: none;
}

.photo.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.2,.7,.2,1);
}

.photo.has-image:hover img { transform: scale(1.025); }

.photo.evidence-visual {
  border: 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(183,239,58,.30) 0 2px, transparent 3px),
    linear-gradient(135deg, var(--night-soft), var(--primary));
  box-shadow: none;
}

.photo.evidence-visual::before {
  opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 34px 34px;
}

.photo.evidence-visual::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 70%;
  aspect-ratio: 1;
  border: 2px solid rgba(183,239,58,.62);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(183,239,58,.07), 0 0 0 56px rgba(183,239,58,.05);
}

.photo .photo-id {
  z-index: 2;
  top: 16px;
  left: 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--night);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
}

.photo .photo-caption,
.photo.evidence-visual .photo-caption {
  z-index: 2;
  inset: auto 22px 22px;
  display: block;
  padding: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(21px, 2vw, 30px) !important;
  font-style: normal;
  font-weight: 700;
  line-height: 1.04;
  text-align: left;
}

.photo.evidence-visual .photo-caption small {
  margin-top: 9px;
  color: rgba(255,255,255,.70);
  font-family: var(--body-font);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
}

/* Shared page rhythm */
.section,
.section-loose { padding: clamp(72px, 8vw, 116px) 0; }

.section-tight { padding: clamp(46px, 5vw, 72px) 0; }

main > section { position: relative; }

.close-cta {
  overflow: hidden;
  padding: clamp(78px, 9vw, 128px) 0 !important;
  border: 0 !important;
  background: var(--accent) !important;
  color: var(--night);
}

.close-cta::before {
  content: "";
  position: absolute;
  left: -8vw;
  bottom: -16vw;
  width: 38vw;
  aspect-ratio: 1;
  border: 2px solid rgba(9,36,25,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(9,36,25,.035), 0 0 0 96px rgba(9,36,25,.025);
}

.close-cta .cc-inner { position: relative; z-index: 1; max-width: 820px !important; }
.close-cta .t-eyebrow { color: var(--night); }
.close-cta .t-eyebrow::before { background: var(--primary); }
.close-cta .t-h2 { color: var(--night); }
.close-cta .lede { max-width: 660px; color: #29411a; }
.close-cta .btn-primary { background: var(--night); border-color: var(--night); }
.close-cta .btn-primary:hover { background: var(--primary); border-color: var(--primary); }
.close-cta .btn-ghost { border-color: var(--night); }

/* Shared inner-page heroes */
.p-hero,
.h-hero,
.i-hero,
.cs-hero,
.t-hero,
.b-hero,
.error-page {
  overflow: hidden;
  padding: clamp(76px, 9vw, 126px) 0 !important;
  background:
    radial-gradient(circle at 83% 18%, rgba(183,239,58,.21), transparent 23%),
    linear-gradient(145deg, var(--paper-deep), #fff 62%);
}

.p-hero::after,
.h-hero::after,
.i-hero::after,
.cs-hero::after,
.t-hero::after,
.b-hero::after,
.error-page::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -90px;
  top: -120px;
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(8,120,63,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(8,120,63,.035), 0 0 0 92px rgba(8,120,63,.025);
}

.p-hero .container,
.h-hero .container,
.i-hero .container,
.cs-hero .container,
.t-hero .container,
.b-hero .container,
.error-page .container { position: relative; z-index: 1; }

.p-hero-grid,
.h-hero-grid,
.i-hero-grid,
.cs-hero-grid,
.t-hero-grid { gap: clamp(36px, 7vw, 110px) !important; align-items: center !important; }

.p-hero .quote-card,
.h-hero .principle-card,
.i-hero .pattern-card,
.cs-hero .stats-card,
.t-hero .story-card {
  border: 0 !important;
  border-radius: var(--radius-lg);
  background: var(--night) !important;
  color: #fff;
  padding: clamp(28px, 3vw, 44px) !important;
  box-shadow: var(--shadow);
}

.p-hero .quote-card .pull-text,
.h-hero .principle-card .principle-text,
.t-hero .story-card .story-text { color: #fff !important; font-family: var(--display) !important; font-style: normal !important; font-weight: 700 !important; }

.p-hero .quote-card .pull-attr,
.h-hero .principle-card .principle-attr,
.t-hero .story-card .story-attr,
.cs-hero .stats-card h2,
.i-hero .pattern-card h2 { color: var(--accent) !important; }

.i-hero .pattern-row { border-color: rgba(255,255,255,.16) !important; }
.i-hero .pattern-num { color: var(--accent) !important; }
.i-hero .pattern-text { color: rgba(255,255,255,.82) !important; }
.i-hero .pattern-foot { border-color: rgba(255,255,255,.16) !important; color: rgba(255,255,255,.62) !important; }
.cs-hero .stat-row { border-color: rgba(255,255,255,.16) !important; }
.cs-hero .stat-value { color: #fff !important; font-weight: 700 !important; }
.cs-hero .stat-label { color: rgba(255,255,255,.62) !important; }

/* Homepage */
.hero {
  overflow: hidden;
  padding: clamp(60px, 7vw, 104px) 0 !important;
  background:
    radial-gradient(circle at 10% 105%, rgba(183,239,58,.20), transparent 28%),
    var(--night);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 58%);
  mask-image: linear-gradient(90deg, #000, transparent 58%);
}

.hero .container { position: relative; z-index: 1; }
.hero-grid { grid-template-columns: minmax(0, .82fr) minmax(520px, 1.18fr) !important; gap: clamp(38px, 5vw, 78px) !important; }
.hero .t-eyebrow { color: var(--accent); }
.hero .t-eyebrow::before { background: var(--accent); }
.hero .t-h1 { max-width: 10.4ch; color: #fff; }
.hero .lede { max-width: 600px !important; color: rgba(255,255,255,.78); }
.hero .link { color: #fff; }
.hero .hero-photo {
  aspect-ratio: 3 / 2 !important;
  min-height: 500px;
  border-radius: 34px 0 34px 34px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
}
.hero .hero-photo::after {
  content: "Field work · Saskatchewan";
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(7,29,20,.78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.70);
  font-size: 12px;
  line-height: 1;
}

.hero-facts strong { color: var(--accent); font-size: 14px; }

.value-strip {
  padding: clamp(46px, 5vw, 72px) 0 !important;
  border: 0 !important;
  background: var(--accent);
}

.value-strip .vs-grid { gap: 0 !important; }
.value-strip .vs-col { border: 0 !important; padding: 4px clamp(22px, 3vw, 46px) 2px !important; }
.value-strip .vs-col:first-child { padding-left: 0 !important; }
.value-strip .vs-col + .vs-col { border-left: 1px solid rgba(9,36,25,.22) !important; }
.value-strip .vs-col h2 { color: var(--night); font-size: 24px; }
.value-strip .vs-col p { color: #29411a; line-height: 1.48; }
.value-strip .link-meta { color: var(--night); border-color: var(--primary); }

.program-pos {
  padding: clamp(76px, 8vw, 116px) 0 !important;
  background: #fff;
}
.program-pos .program-grid { grid-template-columns: minmax(0, 1.55fr) auto !important; }
.program-pos h2 { max-width: 900px !important; }

.proof {
  padding: clamp(80px, 8vw, 120px) 0 !important;
  border: 0 !important;
  background: var(--paper-deep) !important;
}
.proof header { margin-bottom: 42px !important; }
.proof .tiles { gap: 20px !important; }
.proof .tile {
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--rule) !important;
  border-radius: 22px;
  background: #fff !important;
  padding: 18px !important;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.proof .tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.proof .tile-photo { border-radius: 15px; }
.proof .tile h3 { font-size: 21px; line-height: 1.12; }
.proof .tile-footer { border-color: var(--rule-subtle) !important; }
.case-metric {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 195px;
  padding: 24px;
  border-radius: 15px;
  background:
    radial-gradient(circle at 88% 12%, rgba(183,239,58,.32), transparent 28%),
    var(--night);
  color: #fff;
}
.case-metric strong { color: var(--accent); font-size: clamp(40px, 4.3vw, 62px); line-height: .9; letter-spacing: -.06em; }
.case-metric span { margin-top: 10px; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.method { padding: clamp(78px, 8vw, 118px) 0 !important; }
.method .steps { gap: 12px !important; }
.method .step {
  min-height: 180px;
  padding: 22px 18px !important;
  border: 0 !important;
  border-radius: 17px;
  background: var(--night);
  color: rgba(255,255,255,.70);
}
.method .step:nth-child(3),
.method .step:nth-child(4) { background: var(--primary); }
.method .step .t-meta { color: var(--accent); font-size: 13px; }
.method .step h3 { color: #fff; }
.method .step p { color: rgba(255,255,255,.64); }

.systems {
  padding: clamp(80px, 8vw, 120px) 0;
  background: var(--night);
}
.systems header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.systems .t-eyebrow { color: var(--accent); }
.systems h2 { color: #fff; max-width: 720px; }
.systems header p { max-width: 430px; margin: 0; color: rgba(255,255,255,.68); }
.systems-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.system-card {
  position: relative;
  grid-column: span 2;
  min-height: 270px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
}
.system-card:nth-child(-n+2) { grid-column: span 3; min-height: 340px; }
.system-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.system-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(7,29,20,.92)); }
.system-card:hover img { transform: scale(1.04); }
.system-card span {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 18px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -.03em;
}
.system-card span::after { content: " ↗"; color: var(--accent); }

.cred,
.a-cred {
  padding: clamp(80px, 8vw, 116px) 0 !important;
  background: #fff;
}
.cred .cues span,
.a-cred .cues span {
  padding: 8px 13px !important;
  border: 0 !important;
  border-radius: 999px;
  background: var(--paper-deep) !important;
  color: var(--primary) !important;
  font-family: var(--body-font) !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: .06em !important;
}
.cred .logo-grid,
.a-cred .logo-grid { gap: 10px !important; }
.cred .logo-cell,
.a-cred .logo-cell {
  border: 1px solid var(--rule-subtle);
  border-radius: 14px;
  background: #fff;
  filter: none !important;
  opacity: 1 !important;
  transition: transform 180ms ease, border-color 180ms ease;
}
.cred .logo-cell:hover,
.a-cred .logo-cell:hover { transform: translateY(-3px); border-color: var(--accent); }

.careers-link {
  padding: clamp(78px, 8vw, 120px) 0 !important;
  border: 0 !important;
  background: var(--paper-deep);
}
.careers-link .cl-grid { grid-template-columns: .8fr 1.2fr !important; }
.careers-link .cl-photo { width: 100%; max-width: 640px; aspect-ratio: 5 / 4 !important; min-height: 420px; justify-self: end; }

/* About and careers: image-led */
.a-hero,
.c-hero {
  overflow: hidden;
  padding: clamp(66px, 7vw, 106px) 0 !important;
  background: var(--night);
}
.a-hero-grid { grid-template-columns: minmax(0,.92fr) minmax(440px,.9fr) !important; }
.c-hero-grid { grid-template-columns: minmax(0,1fr) minmax(390px,.72fr) !important; }
.a-hero-grid,
.c-hero-grid { gap: clamp(40px, 6vw, 84px) !important; align-items: center !important; }
.a-hero .t-eyebrow,
.c-hero .t-eyebrow { color: var(--accent); }
.a-hero h1,
.c-hero h1 { color: #fff; max-width: 10ch; }
.a-hero .lede,
.c-hero .lede,
.a-hero .t-body { color: rgba(255,255,255,.74); }
.a-hero .hero-photo { width: 100%; max-width: 620px; aspect-ratio: 1 / 1 !important; justify-self: end; }
.c-hero .hero-photo { width: 100%; max-width: 560px; aspect-ratio: 4 / 5 !important; justify-self: end; }
.a-hero .hero-photo,
.c-hero .hero-photo { min-height: 0; border-radius: 32px 0 32px 32px; }
.c-hero .link { color: #fff; }

.a-five,
.c-work,
.c-grow,
.c-hire,
.c-roles,
.c-honesty,
.a-trades,
.a-method,
.a-where,
.a-cred,
.a-cta { padding-top: clamp(76px, 8vw, 116px) !important; padding-bottom: clamp(76px, 8vw, 116px) !important; border: 0 !important; }

.a-five .five-list { border: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.a-five .five-row {
  grid-template-columns: 42px 1fr !important;
  padding: 28px !important;
  border: 1px solid var(--rule) !important;
  border-radius: 18px;
  background: #fff;
}
.a-five .five-num { color: var(--primary) !important; font-weight: 750; }
.a-five .five-h { font-family: var(--display) !important; font-weight: 700 !important; }

.a-trades,
.a-where,
.c-work,
.c-hire,
.c-honesty { background: var(--paper-deep) !important; }

.a-trades .trade-cell,
.a-where .where-card,
.work-card,
.grow-card,
.hire-card,
.roles-note,
.c-honesty .honesty-card,
.a-cta .cta-card {
  border: 1px solid var(--rule) !important;
  border-radius: 18px;
  background: #fff !important;
  box-shadow: var(--shadow-sm);
}
.a-trades .trade-cell { border-top: 6px solid var(--accent) !important; padding: 22px !important; }
.work-card,
.hire-card { padding: 24px !important; }
.work-card .work-num,
.hire-card .hire-step { color: var(--primary) !important; font-weight: 750; }
.a-method-grid .steps-row { border: 0 !important; }
.a-method-grid .step-line { padding: 15px 14px !important; border: 0 !important; border-radius: 10px; }
.a-method-grid .step-line:nth-child(odd) { background: var(--paper-deep); }
.a-where .map-block { border: 0 !important; border-radius: 22px; background: #fff !important; box-shadow: var(--shadow-sm); }
.a-where .province-shape { border: 0 !important; background: var(--paper-dark) !important; }
.a-where .city::before { background: var(--accent) !important; }
.a-cta { background: var(--night) !important; }
.a-cta .cta-card.secondary { background: transparent !important; border-color: rgba(255,255,255,.2) !important; }
.a-cta .cta-card.secondary h3,
.a-cta .cta-card.secondary p { color: #fff; }

.c-contrast { padding: clamp(62px, 7vw, 96px) 0 !important; border: 0 !important; }
.c-contrast .contrast-grid { gap: 18px !important; }
.c-contrast .contrast-grid > div {
  min-height: 100%;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 20px;
  background: var(--paper-deep);
}
.c-contrast .contrast-grid > div:last-child { background: var(--night); }
.c-contrast .contrast-grid > div:last-child .contrast-eyebrow { color: var(--accent) !important; }
.c-contrast .contrast-grid > div:last-child p { color: rgba(255,255,255,.78); }
.c-contrast .contrast-kicker { font-family: var(--display) !important; font-weight: 700 !important; }
.c-grow .grow-grid { gap: 16px !important; }
.grow-card { overflow: hidden; }
.grow-card .grow-body { padding: 28px !important; }
.c-hire .hire-card { border-top: 6px solid var(--accent) !important; }
.roles-list { overflow: hidden; border: 1px solid var(--rule) !important; border-radius: 18px; box-shadow: var(--shadow-sm); }
.role-row { border: 0 !important; background: #fff !important; }
.c-honesty .honesty-card { background: var(--accent) !important; }
.c-honesty .hotdog { border-color: rgba(9,36,25,.25) !important; font-style: normal !important; }

/* Data-heavy pages */
.p-lead,
.h-lead,
.cs-summary,
.t-index { border: 0 !important; }

.p-cover,
.p-who,
.p-portal,
.p-proof,
.p-priced,
.p-honesty,
.h-lead,
.h-steps,
.h-why,
.h-artifacts,
.h-time,
.card,
.portfolio-gap,
.fifth,
.cs-summary,
.case,
.cs-method,
.trade,
.multi-trade,
.integration,
.b-expect,
.b-form,
.b-paths { padding-top: clamp(70px, 7vw, 106px) !important; padding-bottom: clamp(70px, 7vw, 106px) !important; }

.p-who,
.p-proof,
.p-honesty,
.h-why,
.h-time,
.cs-summary,
.multi-trade,
.b-paths { border: 0 !important; background: var(--paper-deep) !important; }

.cover-col,
.p-portal .portal-ui,
.proof-stats,
.p-priced .ps-card,
.step-row .step-card,
.time-cell,
.card-body .card-quote,
.portfolio-gap .pg-brief,
.summary-table,
.priced table.priced-table,
.changes,
.trade-closer,
.cost-card,
.integration .kicker,
.expect-col,
.path-card {
  border: 1px solid var(--rule) !important;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.cover-col,
.proof-stats,
.p-priced .ps-card,
.time-cell,
.card-body .card-quote,
.portfolio-gap .pg-brief,
.changes,
.trade-closer,
.cost-card,
.integration .kicker,
.path-card { background: #fff !important; }

.cover-col.removed { background: var(--night) !important; }
.cover-col.removed h3 { color: var(--accent) !important; }
.cover-col.removed li { color: rgba(255,255,255,.76) !important; }
.p-portal .portal-ui { overflow: hidden; border: 0 !important; background: var(--night) !important; padding: 18px !important; }
.p-portal .portal-top { color: rgba(255,255,255,.62) !important; border-color: rgba(255,255,255,.16) !important; }
.p-portal .portal-card { border: 0 !important; border-radius: 12px; background: rgba(255,255,255,.09) !important; }
.p-portal .portal-label { color: rgba(255,255,255,.55) !important; }
.p-portal .portal-value { color: #fff !important; }
.p-portal .portal-status { color: var(--accent) !important; }
.p-portal .portal-status::before { background: var(--accent) !important; }
.p-priced .ps-cell { border-color: var(--accent) !important; }
.p-priced .ps-value { color: var(--primary) !important; }

.step-row { border-color: var(--rule) !important; }
.step-row .step-num { color: var(--primary) !important; font-family: var(--display) !important; font-weight: 700 !important; }
.step-row .step-head h3 { font-family: var(--display) !important; font-weight: 700 !important; }
.step-row .step-card.artifact { background: var(--paper-deep) !important; }
.time-cell { border-top: 6px solid var(--accent) !important; }
.time-cell .time-amount { color: var(--primary) !important; font-family: var(--display) !important; font-weight: 700 !important; }
.artifact-card .artifact-photo { border-radius: 20px; }

.card,
.case,
.trade { border: 0 !important; }
.card:nth-of-type(even),
.case:nth-child(even),
.trade:nth-of-type(even) { background: var(--paper-deep) !important; }
.card-head,
.case-head,
.trade-head { border-color: var(--accent) !important; }
.card-head .card-id,
.case-head .case-id,
.trade-head .trade-id { color: var(--primary) !important; font-weight: 750; }
.case-head .case-stats .stat-value { color: var(--primary) !important; font-family: var(--display) !important; font-weight: 700 !important; }
.findings li { border-color: var(--rule) !important; }
.findings li .find-idx { color: var(--primary) !important; font-weight: 750; }
.changes { border-left: 7px solid var(--accent) !important; }

.table,
.summary-table,
.priced table.priced-table {
  overflow: hidden;
  border: 1px solid var(--rule) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: var(--shadow-sm);
}
.table thead th,
.summary-table thead th,
.priced thead th { background: var(--night) !important; color: rgba(255,255,255,.74) !important; border: 0 !important; }
.table tbody tr,
.summary-table tbody tr,
.priced tbody td { border-color: var(--rule-subtle) !important; }
.summary-table tbody tr.totals td,
.priced tbody tr.total td,
.table tr.total { background: var(--accent) !important; color: var(--night) !important; }

.t-index {
  padding: 14px 0 !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 10px 30px rgba(9,36,25,.07);
}
.t-index .index-list a { border: 0 !important; padding: 8px 12px !important; border-radius: 999px; background: var(--paper-deep); font-family: var(--body-font) !important; font-weight: 700; }
.t-index .index-list a:hover { background: var(--accent); }
.trade-body .trade-photo { border-radius: 20px; }
.trade-body .trade-bullets .bullet { border-color: var(--rule) !important; }
.trade-closer.honesty { background: var(--accent) !important; }
.integration .kicker { background: var(--night) !important; color: #fff !important; }

.b-expect { border: 0 !important; background: var(--accent); }
.expect-col { border: 0 !important; border-radius: 0; box-shadow: none; }
.expect-col h3 { font-family: var(--display) !important; font-weight: 700 !important; }
.b-form form { max-width: 860px !important; padding: clamp(24px, 4vw, 50px); border-radius: 22px; background: var(--paper-deep); }
.input,
.select,
.textarea {
  border: 2px solid transparent !important;
  border-radius: 12px;
  background-color: #fff !important;
}
.input:focus,
.select:focus,
.textarea:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 4px rgba(8,120,63,.13) !important; }
.path-card { border-left: 6px solid var(--accent) !important; }

/* Footer */
.site-footer {
  margin-top: 0;
  padding: clamp(70px, 7vw, 104px) 0 28px;
  border: 0;
  background: var(--night);
}
.site-footer .footer-grid { gap: clamp(28px, 5vw, 72px); }
.site-footer .footer-heading { color: var(--accent); font-family: var(--body-font); font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.site-footer a,
.site-footer p { color: rgba(255,255,255,.68); }
.site-footer a:hover { color: #fff; text-decoration-color: var(--accent); }
.site-footer .footer-bottom { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.46); }

@media (max-width: 1100px) {
  .hero-grid,
  .a-hero-grid,
  .c-hero-grid { grid-template-columns: 1fr 1fr !important; }
  .hero .hero-photo,
  .a-hero .hero-photo,
  .c-hero .hero-photo { min-height: 440px; }
  .method .steps { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .site-header .container {
    min-height: 72px;
    display: grid;
    grid-template-columns: 1fr auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .brand img { width: 164px !important; max-width: 164px; }
  .nav-toggle { display: grid; grid-column: 2; grid-row: 1; }
  .js .site-header nav,
  .js .site-header .actions { display: none; grid-column: 1 / -1; }
  .js .site-header.nav-open nav {
    display: flex;
    grid-row: 2;
    flex-direction: column;
    gap: 0;
    padding: 18px 0 8px;
  }
  .js .site-header.nav-open nav a { width: 100%; padding: 12px 0; font-size: 17px; }
  .js .site-header.nav-open nav a[aria-current="page"]::after { display: none; }
  .js .site-header.nav-open .actions { display: flex; grid-row: 3; padding: 8px 0 12px; }
  .js .site-header.nav-open .actions .btn { width: 100%; }
  .hero-grid,
  .a-hero-grid,
  .c-hero-grid { grid-template-columns: 1fr !important; }
  .hero .hero-photo,
  .a-hero .hero-photo,
  .c-hero .hero-photo { min-height: 0; }
  .hero .hero-photo { aspect-ratio: 4 / 3 !important; }
  .a-hero .hero-photo { aspect-ratio: 1 / 1 !important; justify-self: start; }
  .c-hero .hero-photo { aspect-ratio: 4 / 5 !important; justify-self: start; }
  .systems header { align-items: start; flex-direction: column; }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
  .system-card,
  .system-card:nth-child(-n+2) { grid-column: span 1; min-height: 280px; }
  .system-card:last-child { grid-column: 1 / -1; }
  .a-five .five-list { grid-template-columns: 1fr; }
  .careers-link .cl-grid { grid-template-columns: 1fr !important; }
  .cred .logo-grid,
  .a-cred .logo-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

@media (max-width: 760px) {
  .t-h1 { font-size: clamp(48px, 14vw, 72px); }
  .t-h2 { font-size: clamp(34px, 10vw, 48px); }
  .t-lede { font-size: 18px; }
  .hero { padding-top: 48px !important; }
  .hero .hero-photo { border-radius: 22px 0 22px 22px; }
  .hero .cta-row { align-items: stretch; flex-direction: column; }
  .hero .cta-row .btn,
  .hero .cta-row .link { width: 100%; justify-content: center; }
  .value-strip .vs-grid { grid-template-columns: 1fr !important; }
  .value-strip .vs-col { padding: 26px 0 !important; }
  .value-strip .vs-col + .vs-col { border-left: 0 !important; border-top: 1px solid rgba(9,36,25,.22) !important; }
  .program-pos .program-grid { grid-template-columns: 1fr !important; }
  .proof .tiles { grid-template-columns: 1fr !important; }
  .method .steps { grid-template-columns: 1fr 1fr !important; }
  .method .step { min-height: 155px; }
  .systems-grid { grid-template-columns: 1fr; }
  .system-card,
  .system-card:nth-child(-n+2),
  .system-card:last-child { grid-column: auto; min-height: 250px; }
  .careers-link .cl-photo { min-height: 0; }
  .cred .logo-grid,
  .a-cred .logo-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .a-hero .hero-photo,
  .c-hero .hero-photo { border-radius: 22px 0 22px 22px; }
  .a-trades .a-trades-grid { grid-template-columns: 1fr 1fr !important; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 470px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .t-h1 { font-size: 49px; }
  .t-h2 { font-size: 36px; }
  .btn { width: 100%; }
  .hero-facts { gap: 7px; }
  .hero-facts li { font-size: 11px; }
  .method .steps { grid-template-columns: 1fr !important; }
  .method .step { min-height: 0; }
  .cred .logo-grid,
  .a-cred .logo-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .a-trades .a-trades-grid { grid-template-columns: 1fr !important; }
  .a-five .five-row { grid-template-columns: 30px 1fr !important; padding: 22px !important; }
  .a-method-grid > * { min-width: 0; }
  .a-method-grid .step-line { grid-template-columns: 24px minmax(0, 1fr) !important; }
  .a-method-grid .step-line .commit { grid-column: 2; text-align: left !important; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .photo.has-image img,
  .system-card img { transition: none; }
}
