/* KCL&Co | kclever.ca
   Black + orange (#fc521f). Barlow Condensed headlines, Barlow body.
   Section order: hero, ticker, services (complete solutions), fleet (photo band),
   sectors, partners, CTA band, contact, footer. */

:root {
  --orange: #fc521f;
  --orange-hot: #ff6a3a;
  --orange-deep: #d9400f;
  --black: #0b0b0b;
  --ink: #121212;
  --char: #1a1a1a;
  --steel: #262626;
  --line-d: rgba(255, 255, 255, 0.1);
  --line-l: rgba(0, 0, 0, 0.12);
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --text-d: #f4f2ee;
  --muted-d: #b5b0a7;
  --text-l: #161616;
  --muted-l: #57534d;
  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-d);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hot); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1; margin: 0; letter-spacing: 0.005em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
@media (min-width: 760px) { .wrap { width: min(100% - 4rem, var(--wrap)); } }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--orange); color: #000; padding: 0.6rem 1rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin: 0 0 1.1rem;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-deep);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 3px; background: var(--orange); }
.section--dark .eyebrow, .eyebrow--light { color: var(--orange); }
.section--dark .eyebrow::before,
.fleet .eyebrow::before {
  width: 1.15rem; height: 1.15rem;
  background: url("../assets/logo-mark.png") center/contain no-repeat;
}

h2 { font-size: clamp(2.3rem, 4.6vw, 3.75rem); text-transform: uppercase; line-height: 0.98; }
h3 { font-size: 1.45rem; text-transform: uppercase; letter-spacing: 0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem; padding: 0.8rem 1.4rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05rem; height: 1.05rem; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 3.5rem; padding: 0.95rem 1.8rem; font-size: 1.12rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--orange); color: #0b0b0b; }
.btn-primary:hover { background: var(--orange-hot); color: #0b0b0b; }
.btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(0, 0, 0, 0.15); }
.btn-outline:hover { border-color: #fff; background: #fff; color: #0b0b0b; }
.btn-dark, .btn-black { background: #0b0b0b; color: #fff; }
.btn-dark:hover, .btn-black:hover { background: #262626; color: #fff; }
.btn-outline-dark { border-color: #0b0b0b; color: #0b0b0b; }
.btn-outline-dark:hover { background: #0b0b0b; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), height 0.25s var(--ease);
}
.site-header.is-scrolled { background: rgba(11, 11, 11, 0.96); box-shadow: 0 1px 0 var(--line-d); backdrop-filter: blur(8px); height: 68px; }
.nav { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand img { height: 52px; width: auto; transition: height 0.25s var(--ease); }
.site-header.is-scrolled .brand img { height: 36px; }
.nav-links { display: none; margin-left: auto; gap: 0.25rem; }
.nav-links a {
  display: block; padding: 0.5rem 0.75rem; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative;
}
.nav-links a::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.2rem; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-links a:hover { color: #fff; }
.nav-cta { display: none; }
.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; display: grid; place-content: center; gap: 6px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (min-width: 640px) { .nav-cta { display: inline-flex; margin-left: auto; } .nav-toggle { margin-left: 0; } }
@media (min-width: 1180px) {
  :root { --header-h: 92px; }
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0.75rem; }
  .nav-toggle { display: none; }
  .nav-links a { padding: 0.5rem 0.55rem; }
  .brand img { height: 58px; }
  .site-header.is-scrolled { height: 72px; }
  .site-header.is-scrolled .brand img { height: 38px; }
}
@media (min-width: 1320px) {
  .brand img { height: 68px; }
  .nav-links a { padding: 0.5rem 0.75rem; }
}

.nav-drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: #0b0b0b; padding: 1.5rem 1.25rem 2rem;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  overflow-y: auto;
}
.nav-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-drawer li a {
  display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--line-d); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.drawer-actions { display: grid; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #000; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 66%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.12) 75%),
    linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 38%);
}
.hero-body { padding-top: calc(var(--header-h) + 2.5rem); padding-bottom: 2.75rem; }
/* Full lockup in the hero on tablet/desktop only: avoids a double wordmark under the nav on phones */
.hero-logo { display: none; }
@media (min-width: 760px) {
  .hero-logo {
    display: block;
    width: min(20rem, 42vw);
    height: auto;
    margin: 0 0 1.45rem;
    filter: drop-shadow(0 2px 18px rgba(0,0,0,0.4));
  }
}
@media (min-width: 860px) {
  .hero-logo { width: min(26rem, 34vw); margin-bottom: 1.6rem; }
}
.hero h1 {
  max-width: 20ch; font-size: clamp(2.9rem, 7.2vw, 6.2rem); line-height: 0.9; text-transform: uppercase; font-weight: 800;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero h1 span { color: var(--orange); }
.br-d { display: none; }
@media (min-width: 700px) { .br-d { display: inline; } }
.hero-lead { max-width: 37rem; margin: 1.6rem 0 2rem; font-size: clamp(1.06rem, 1.5vw, 1.25rem); color: #e8e4dd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-facts { border-top: 1px solid rgba(255,255,255,0.16); background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.hero-facts-row { display: grid; gap: 0; }
.hero-facts-row > div { padding: 1.1rem 0; display: grid; gap: 0.15rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hero-facts-row > div:last-child { border-bottom: 0; }
.hero-facts strong { font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.hero-facts strong::before { content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; margin-right: 0.6rem; background: var(--orange); vertical-align: 0.12em; }
.hero-facts span { color: var(--muted-d); font-size: 0.95rem; }
@media (min-width: 860px) {
  .hero-facts-row { grid-template-columns: repeat(3, 1fr); }
  .hero-facts-row > div { padding: 1.5rem 1.75rem; border-bottom: 0; border-left: 1px solid rgba(255,255,255,0.12); }
  .hero-facts-row > div:first-child { padding-left: 0; border-left: 0; }
  .hero-body { padding-bottom: 4.5rem; }
}
@media (max-width: 640px) {
  .hero-media img { object-position: 66% 62%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.3) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero .eyebrow { font-size: 0.82rem; letter-spacing: 0.12em; }
  .hero .eyebrow::before { width: 1.25rem; }
}

/* ---------- Ticker ---------- */
.ticker { background: var(--orange); color: #0b0b0b; overflow: hidden; border-block: 1px solid #000; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker ul { display: flex; flex-shrink: 0; }
.ticker li {
  padding: 0.95rem 1.6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
  display: flex; align-items: center; gap: 1.6rem;
}
.ticker li::after { content: ""; width: 0.5rem; height: 0.5rem; background: #0b0b0b; transform: rotate(45deg); margin-left: 1.6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--light { background: var(--paper); color: var(--text-l); }
.section--dark { background: var(--ink); color: var(--text-d); }
.head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.head--split { display: grid; gap: 1.25rem; align-items: end; }
.head--split > p { margin: 0; max-width: 34rem; font-size: 1.1rem; }
.section--light .head--split > p { color: var(--muted-l); }
.section--dark .head--split > p { color: var(--muted-d); }
@media (min-width: 960px) { .head--split { grid-template-columns: 1.15fr 1fr; gap: 4rem; } .head--split h2 { max-width: 15ch; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); }
@media (min-width: 700px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative; background: #fff; padding: 2.25rem 2rem 2.4rem; overflow: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.svc:hover { background: #0b0b0b; color: var(--text-d); }
.svc:hover::before { transform: scaleX(1); }
.svc-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--orange); margin-bottom: 1.1rem; }
.svc h3 { font-size: 1.65rem; margin-bottom: 0.8rem; }
.svc > p { color: var(--muted-l); margin-bottom: 1.25rem; transition: color 0.3s; }
.svc:hover > p { color: var(--muted-d); }
.svc li { position: relative; padding: 0.42rem 0 0.42rem 1.3rem; border-top: 1px solid var(--line-l); font-weight: 500; font-size: 0.98rem; transition: border-color 0.3s; }
.svc:hover li { border-color: var(--line-d); }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.95rem; width: 0.5rem; height: 2px; background: var(--orange); }
.svc-side {
  margin-top: 1.5rem; display: flex; align-items: center; gap: 1.25rem; padding: 1.15rem 1.5rem;
  background: var(--paper-2); color: var(--text-l); border-left: 4px solid var(--orange); transition: background 0.2s;
}
.svc-side:hover { background: #ddd9d0; color: var(--text-l); }
.svc-side-tag { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--orange-deep); }
.svc-side-text { flex: 1; }
.svc-side-text strong { font-weight: 700; }
.svc-side-arrow { font-size: 1.5rem; color: var(--orange-deep); transition: transform 0.2s var(--ease); }
.svc-side:hover .svc-side-arrow { transform: translateX(4px); }

/* Photo band tied to ROW clearing & burning, full-width under that card */
.svc-photo-band {
  margin: 0;
  background: #111;
  overflow: hidden;
  grid-column: 1 / -1;
}
.svc-photo-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: 50% 60%;
}
@media (min-width: 700px) and (max-width: 1059px) {
  .svc--row { grid-column: 1 / -1; }
}

/* ---------- Fleet photo band ---------- */
.fleet {
  --fleet-pos: 50% 46%;      /* desktop crop: cab + circle decal (photo x~84%, y~46%) in the right half */
  --fleet-pos-m: 50% 50%;    /* mobile: whole 3:4 frame shown */
  position: relative; background: #000; color: var(--text-d); isolation: isolate; overflow: hidden;
}
.fleet-media { position: relative; height: 120vw; max-height: 900px; overflow: hidden; }
.fleet-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fleet-pos-m); }
/* Phones: zoom toward the machine so the cab and circle decal read clearly */
@media (max-width: 959px) {
  .fleet-media img { position: absolute; width: 140%; height: auto; max-width: none; left: -40%; top: -26vw; object-fit: initial; }
}
.fleet-media::after { content: ""; position: absolute; inset: auto 0 0; height: 18%; background: linear-gradient(0deg, #000, rgba(0,0,0,0)); }
.fleet-body { position: relative; padding: 0 0 4.5rem; margin-top: -2.5rem; }
.fleet-card h2 { margin-bottom: 1.25rem; max-width: 14ch; }
.fleet-card > p { color: #ddd8d0; max-width: 34rem; }
.fleet-types-label { margin: 1.75rem 0 0.75rem; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem; color: var(--orange); }
.fleet-types { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; padding-top: 1rem; border-top: 2px solid var(--orange); }
.fleet-types li { padding: 0.55rem 1rem; background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.28); font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.fleet-types li.more { border-color: var(--orange); color: var(--orange); }
.fleet-note { margin: 0 0 1.5rem; color: var(--muted-d); font-size: 0.95rem; }
.fleet-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 520px) {
    .fleet-actions .btn { flex: 1 1 100%; }
}
@media (min-width: 960px) {
  .fleet { min-height: 980px; display: flex; align-items: center; }
  .fleet-media { position: absolute; inset: 0; height: auto; max-height: none; z-index: -1; }
  .fleet-media img { object-position: var(--fleet-pos); }
  .fleet-media::after {
    inset: 0; height: auto;
    background: linear-gradient(90deg, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.7) 28%, rgba(0,0,0,0.2) 44%, rgba(0,0,0,0) 52%);
  }
  .fleet-body { margin: 0 auto; padding: 6rem 0; }
  .fleet-card { max-width: 33rem; }
}

/* Subtle official mark watermark in Sectors */
#sectors { overflow: hidden; }
#sectors::before {
  content: "";
  position: absolute;
  right: -7rem; bottom: -6rem;
  width: 26rem; height: 26rem;
  background: url("../assets/logo-mark.png") center/contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
#sectors .wrap { position: relative; z-index: 1; }

/* ---------- Sectors ---------- */
.sector-grid { display: grid; gap: 1px; background: var(--line-d); border: 1px solid var(--line-d); }
@media (min-width: 600px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .sector-grid { grid-template-columns: repeat(4, 1fr); } }
.sector { position: relative; background: var(--ink); padding: 2rem 1.75rem 2.2rem; transition: background 0.3s var(--ease); }
.sector svg { width: 2.6rem; height: 2.6rem; color: var(--orange); margin-bottom: 1.4rem; stroke-width: 1.5; transition: transform 0.3s var(--ease); }
.sector h3 { font-size: 1.4rem; margin-bottom: 0.6rem; max-width: 16ch; }
.sector p { margin: 0; color: var(--muted-d); font-size: 0.98rem; }
.sector::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.sector:hover { background: #1b1b1b; }
.sector:hover::after { transform: scaleX(1); }
.sector:hover svg { transform: translateY(-3px); }

/* ---------- Safety ---------- */
.safety-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .safety-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; } }
.safety-copy h2 { margin-bottom: 1.4rem; max-width: 16ch; }
.safety-copy > p { color: var(--muted-l); font-size: 1.1rem; max-width: 36rem; }
.site-steps { background: #0b0b0b; color: var(--text-d); padding: 2.25rem 2rem 1.5rem; border-top: 5px solid var(--orange); }
.steps-title { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 0.5rem; }
.site-steps ol { counter-reset: step; }
.site-steps li { position: relative; counter-increment: step; padding: 1.1rem 0 1.1rem 3.4rem; border-bottom: 1px solid var(--line-d); display: grid; gap: 0.2rem; }
.site-steps li:last-child { border-bottom: 0; }
.site-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 1rem; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--orange); }
.site-steps strong { font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.05; }
.site-steps span { color: var(--muted-d); }

/* ---------- Experience ---------- */
.exp-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .exp-grid { grid-template-columns: 0.95fr 1.05fr; gap: 5rem; } }
.exp-media { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
@media (min-width: 960px) { .exp-media { aspect-ratio: 4 / 5; } }
.exp-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transition: transform 1.2s var(--ease); }
.exp-media:hover img { transform: scale(1.04); }
.exp-media::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 5rem; height: 5px; background: var(--orange); }
.exp-copy h2 { margin-bottom: 1.2rem; max-width: 14ch; }
.exp-lead { color: var(--muted-d); font-size: 1.1rem; }
.exp-list { margin: 2rem 0 1.5rem; counter-reset: exp; }
.exp-list li { position: relative; padding: 1.5rem 0 1.5rem 4.25rem; border-top: 1px solid var(--line-d); counter-increment: exp; }
.exp-list li:last-child { border-bottom: 1px solid var(--line-d); }
.exp-list li::before { content: counter(exp, decimal-leading-zero); position: absolute; left: 0; top: 1.35rem; font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--orange); line-height: 1; }
.exp-sector { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--muted-d); margin-bottom: 0.4rem; }
.exp-list h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.exp-list p { margin: 0; color: #d6d1c9; }
.exp-note { color: var(--muted-d); font-size: 0.98rem; margin: 0; }

/* ---------- Geocell ---------- */
.geo-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .geo-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.geo-media { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.geo-media img { width: 100%; height: 100%; object-fit: cover; }
.geo-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 1.2rem; }
.geo-copy > p { color: var(--muted-l); max-width: 34rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 1.9rem; }
.tags li { padding: 0.45rem 0.85rem; border: 1px solid rgba(0,0,0,0.2); font-weight: 600; font-size: 0.92rem; background: #fff; }

/* ---------- Partners ---------- */
.partners { background: #0b0b0b; }
.partners-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1160px) { .partners-grid { grid-template-columns: repeat(5, 1fr); } }
.partner-card {
  display: flex; flex-direction: column; color: inherit; background: var(--char);
  border: 1px solid rgba(252, 82, 31, 0.2); overflow: hidden; min-width: 0;
  transition: border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.partner-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.45); color: inherit; }
.partner-tag { display: block; padding: 0.55rem 0.9rem; font-family: var(--font-head); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); background: rgba(252, 82, 31, 0.08); border-bottom: 1px solid rgba(252, 82, 31, 0.15); }
.partner-logo-wrap { display: flex; align-items: center; justify-content: center; height: 8.5rem; padding: 1rem; background: #000; border-bottom: 1px solid rgba(255,255,255,0.06); }
.partner-logo-wrap img { width: min(100%, 200px); height: auto; max-height: 4.75rem; object-fit: contain; }
.partner-meta { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem 1rem 1.25rem; flex: 1; }
.partner-name { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; color: #fff; }
.partner-loc { color: var(--muted-d); font-size: 0.9rem; }
.partner-link { margin-top: auto; padding-top: 0.6rem; color: var(--orange); font-size: 0.88rem; font-weight: 600; }
.partners-note { margin: 1.75rem 0 0; color: var(--muted-d); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--orange); color: #0b0b0b; padding: clamp(3.5rem, 7vw, 5.5rem) 0; overflow: hidden; isolation: isolate; }
.cta-band::after {
  content: ""; position: absolute; z-index: -1; right: -10rem; top: 50%; width: 46rem; height: 46rem;
  transform: translateY(-50%);
  background: url("../assets/logo-mark.png") center/contain no-repeat;
  filter: brightness(0);
  opacity: 0.2;
  pointer-events: none;
}
@media (max-width: 700px) {
  .cta-band::after { right: -7rem; width: 22rem; height: 22rem; opacity: 0.18; }
}
.cta-inner { display: grid; gap: 2rem; align-items: center; }
.cta-band h2 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 22ch; margin-bottom: 0.8rem; }
.cta-band p { margin: 0; font-size: 1.12rem; font-weight: 500; max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1.4fr auto; } }
@media (max-width: 560px) { .cta-actions .btn { flex: 1 1 100%; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4.5rem; } }
.contact-info h2 { margin-bottom: 1.2rem; max-width: 14ch; }
.contact-info > p { color: var(--muted-l); font-size: 1.1rem; }
.contact-list { margin-top: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--line-l); }
.ci { flex-shrink: 0; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: #0b0b0b; color: var(--orange); }
.ci svg { width: 1.25rem; height: 1.25rem; }
.cl-label { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; color: var(--muted-l); }
.contact-list a { color: var(--text-l); font-weight: 700; font-size: 1.15rem; }
.contact-list a:hover { color: var(--orange-deep); }
.form-card { background: #fff; padding: clamp(1.75rem, 4vw, 2.75rem); border-top: 5px solid var(--orange); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.form-card h3 { font-size: 2rem; margin-bottom: 1.5rem; }
.form-row { display: grid; gap: 0 1rem; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 600; font-size: 0.95rem; color: var(--text-l); }
.field label span { color: var(--orange-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 0.95rem; font: inherit; font-size: 1rem; color: var(--text-l);
  background: var(--paper); border: 1px solid #cfcac1; border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(252, 82, 31, 0.2); }
.form-note { margin: 0.9rem 0 0; color: var(--muted-l); font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer { background: #000; color: var(--muted-d); padding: 4rem 0 2rem; border-top: 4px solid var(--orange); }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-d); }
@media (min-width: 760px) { .footer-top { grid-template-columns: 2.2fr repeat(3, 1fr); } }
.footer-brand img { height: 72px; width: auto; max-width: 100%; margin-bottom: 1.25rem; }
@media (min-width: 760px) { .footer-brand img { height: 88px; } }
.footer-brand p { max-width: 22rem; margin: 0; }
.footer-col h4 { font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--muted-d); }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding-top: 1.5rem; font-size: 0.9rem; }

/* ---------- Scroll reveal (only when JS is on) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .site-header, .brand img { transition: none; }
}

/* Compact sector rows on phones */
@media (max-width: 599px) {
  .sector { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 1rem; padding: 1.35rem 1.25rem; }
  .sector svg { grid-row: span 2; width: 2.2rem; height: 2.2rem; margin: 0.1rem 0 0; }
  .sector h3 { font-size: 1.25rem; max-width: none; margin-bottom: 0.35rem; }
  .svc { padding: 1.9rem 1.4rem 2rem; }
  .svc-num { font-size: 2.4rem; }
}

/* ---------- Rebuild Nov 17: complete solutions layout ---------- */
/* Hero process strip: 2x2 on phones, 4 across on desktop */
.hero-facts-row--4 { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
.hero-facts-row--4 > div:nth-last-child(2) { border-bottom: 0; }
.hero-facts-row--4 strong { font-size: 1.15rem; }
.hero-facts-row--4 span { font-size: 0.88rem; }
@media (min-width: 860px) {
  .hero-facts-row--4 { grid-template-columns: repeat(4, 1fr); column-gap: 0; }
  .hero-facts-row--4 strong { font-size: 1.25rem; }
  .hero-facts-row--4 span { font-size: 0.95rem; }
}
/* Services: last card spans on 2-column tablets so the grid has no hole */
@media (min-width: 700px) and (max-width: 1059px) {
  .svc-grid > .svc:last-child { grid-column: 1 / -1; }
}
/* Sectors on light paper, between the dark fleet band and dark partners */
.sectors-light .sector-grid { background: var(--line-l); border-color: var(--line-l); }
.sectors-light .sector { background: #fff; color: var(--text-l); }
.sectors-light .sector p { color: var(--muted-l); }
.sectors-light .sector:hover { background: #0b0b0b; color: var(--text-d); }
.sectors-light .sector:hover p { color: var(--muted-d); }
.sectors-light::before { opacity: 0.05 !important; }
.sector--cta { display: flex !important; flex-direction: column; justify-content: center; background: var(--orange) !important; color: #0b0b0b !important; }
.sector--cta h3 { color: #0b0b0b; }
.sector--cta p { color: #0b0b0b !important; font-weight: 500; }
.sector--cta::after { background: #0b0b0b; }
.sector--cta:hover { background: var(--orange-hot) !important; color: #0b0b0b !important; }
.sector-cta-arrow { font-size: 1.8rem; margin-top: 0.8rem; line-height: 1; }

/* ---------- Nov 18: all-black backgrounds ---------- */
.section--black { background: #000; color: var(--text-d); }
.section--black + .section--black { border-top: 1px solid rgba(255,255,255,0.07); }
.section--black .eyebrow { color: var(--orange); }
.section--black .eyebrow::before { width: 1.15rem; height: 1.15rem; background: url("../assets/logo-mark.png") center/contain no-repeat; }
.section--black .head--split > p { color: var(--muted-d); }
.section--black h2, .section--black h3 { color: #fff; }

/* Services cards on black */
.section--black .svc-grid { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.08); }
.section--black .svc { background: #0f0f0f; color: var(--text-d); }
.section--black .svc > p { color: var(--muted-d); }
.section--black .svc li { border-top-color: rgba(255,255,255,0.09); color: #e4e0d9; }
.section--black .svc:hover { background: #181818; }
.section--black .svc:hover li { border-color: rgba(255,255,255,0.12); }
.section--black .svc-photo-band { background: #000; }
/* CTA tile closes the grid: spans 2 on desktop, full width on tablet */
.svc--cta { display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; background: var(--orange) !important; color: #0b0b0b !important; }
.svc--cta::before { display: none; }
.svc--cta h3 { color: #0b0b0b !important; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; margin: 0; }
.svc-cta-kicker { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.9rem; }
.svc-cta-link { margin-top: 0.6rem; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.05rem; }
.svc--cta:hover { background: var(--orange-hot) !important; color: #0b0b0b !important; }
@media (min-width: 1060px) { .svc--cta { grid-column: span 2; padding-left: 3rem; } }

/* Sectors on black */
.section--black .sector-grid { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.08); }
.section--black .sector { background: #0f0f0f; }
.section--black .sector p { color: var(--muted-d); }
.section--black .sector:hover { background: #181818; }
#sectors.section--black::before { opacity: 0.06; }

/* Partners: cards a step up from the black page */
.section--black.partners { background: #000; }

/* Contact + form on black */
.section--black .contact-info > p { color: var(--muted-d); }
.section--black .contact-list li { border-top-color: rgba(255,255,255,0.1); }
.section--black .ci { background: #161616; border: 1px solid rgba(252,82,31,0.35); }
.section--black .cl-label { color: var(--muted-d); }
.section--black .contact-list a { color: #fff; }
.section--black .contact-list a:hover { color: var(--orange); }
.section--black .contact-list address, .section--black .contact-list span { color: #e4e0d9; }
.section--black .contact-list .cl-label { color: var(--muted-d); }
.section--black .form-card { background: #111; border: 1px solid rgba(255,255,255,0.08); border-top: 5px solid var(--orange); box-shadow: none; }
.section--black .field label { color: #f1eee8; }
.section--black .field label span { color: var(--orange); }
.section--black .field input, .section--black .field select, .section--black .field textarea {
  color: #fff; background: #1b1b1b; border-color: #3a3a3a;
}
.section--black .field input::placeholder, .section--black .field textarea::placeholder { color: #8d887f; }
.section--black .field select option { background: #1b1b1b; color: #fff; }
.section--black .field input:focus, .section--black .field select:focus, .section--black .field textarea:focus { background: #222; border-color: var(--orange); }
.section--black .form-note { color: var(--muted-d); }
.section--black .contact-list .ci { color: var(--orange); }

/* ---------- Nov 18: Why KCL&Co ridge photo feature ---------- */
/* Excavator sits ~34-44% down the tall crop and ~50-71% across; copy only sits on the dark slope below it. */
.feature { position: relative; background: #000; color: var(--text-d); overflow: hidden; isolation: isolate; }
.feature-media { display: block; position: relative; }
.feature-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.feature-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.85) 22%, rgba(0,0,0,0.35) 42%, rgba(0,0,0,0) 52%);
}
/* Phones/tablets: copy starts ~60% down the photo (below the ridge) and runs onto black */
.feature-body { position: relative; z-index: 1; margin-top: -54vw; padding-bottom: 4rem; }
.feature h2 { font-size: clamp(2.3rem, 7vw, 4.2rem); color: #fff; margin-bottom: 1.4rem; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.feature-points { display: grid; gap: 0.7rem; margin: 0 0 1.8rem; }
.feature-points li { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 600; font-size: 1.08rem; color: #f1eee8; }
.feature-points svg { flex-shrink: 0; width: 1.35rem; height: 1.35rem; margin-top: 0.15rem; padding: 0.2rem; fill: none; stroke: #0b0b0b; stroke-width: 3.2; background: var(--orange); border-radius: 50%; }
@media (max-width: 520px) { .feature .btn { width: 100%; } }
@media (min-width: 900px) {
  .feature { min-height: max(90vh, 820px); display: flex; align-items: flex-end; }
  .feature-media { position: absolute; inset: 0; z-index: -1; }
  .feature-media img { width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 12%; }
  .feature-media::after { background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0.2) 38%, rgba(0,0,0,0) 48%); }
  .feature-body { margin-top: 0; padding-top: 3rem; padding-bottom: 4.5rem; }
  .feature h2 { font-size: clamp(2.6rem, 4.2vw, 4rem); margin-bottom: 1.2rem; }
  .feature-points { grid-template-columns: repeat(2, minmax(0, 22rem)); gap: 0.8rem 2.5rem; }
}
@media (min-width: 900px) { .feature-points .fp-wide { grid-column: 1 / -1; } }
.feature .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,0.6); }

/* ---------- Nov 18 (v2): minimal ridge feature, photo first ---------- */
.feature { display: block !important; min-height: 0 !important; }
.feature-media { position: relative !important; inset: auto !important; z-index: 0 !important; }
.feature-media img { width: 100%; height: auto !important; aspect-ratio: 3 / 4; object-fit: cover; }
.feature-media::after { background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 16%, rgba(0,0,0,0) 30%) !important; }
.feature-body {
  position: absolute !important; left: 0; right: 0; bottom: 0; z-index: 1;
  margin: 0 auto !important; padding: 0 0 2rem !important;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem;
}
.feature-line {
  margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
@media (max-width: 520px) { .feature .btn { width: auto !important; } }
@media (min-width: 900px) {
  .feature-media img { aspect-ratio: auto; height: max(90vh, 820px) !important; object-position: 50% 12%; }
  .feature-body { padding-bottom: 3rem !important; }
  .feature-line { font-size: 1.15rem; }
}
@media (min-width: 900px) { .feature-body { justify-content: flex-end; } }
/* Nov 18 (v3): tighter ridge crop, shorter band */
.feature-media img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .feature-media img { aspect-ratio: auto; height: clamp(600px, 70vh, 820px) !important; object-position: 50% 35%; }
}

/* Nov 18: four partners -> 1 / 2 / 4 columns, no orphans */
@media (min-width: 860px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }

/* Nov 18: compact geocell strip (supporting offering) */
.geocell-strip { padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.geo-head { display: grid; gap: 0.8rem; margin-bottom: 1.6rem; }
.geo-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: #fff; margin: 0; }
.geo-head > p { margin: 0; color: var(--muted-d); max-width: 34rem; }
@media (min-width: 960px) { .geo-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 3rem; } }
.geo-pair { display: grid; gap: 1rem; }
.geo-pair figure { margin: 0; overflow: hidden; background: #111; }
.geo-pair img { display: block; width: 100%; height: 100%; object-fit: cover; }
.geo-pair-wide img { aspect-ratio: 4 / 3; }
.geo-pair-tall img { aspect-ratio: 4 / 3; object-position: 50% 62%; }
@media (min-width: 760px) {
  .geo-pair { grid-template-columns: 1.55fr 1fr; height: clamp(320px, 34vw, 440px); }
  .geo-pair-wide img, .geo-pair-tall img { aspect-ratio: auto; }
  .geo-pair-tall img { object-position: 50% 70%; }
}
/* keep the KCL&Co decal on the stapler in frame */
.geo-pair-tall img { aspect-ratio: 4 / 5; object-position: 50% 92%; }
@media (min-width: 760px) { .geo-pair-tall img { aspect-ratio: auto; object-position: 50% 96%; } }
