/* Commercial HVAC site — industrial, high-contrast, angled cuts.
   Fonts: Barlow Condensed (display) + Barlow (text). */

:root {
  --char: #1E2329;
  --char-2: #272D35;
  --char-3: #323A44;
  --steel: #6B7A8F;
  --steel-deep: #536175;
  --concrete: #EEF0F2;
  --yellow: #FFC20E;
  --white: #FFFFFF;
  --ink: #1E2329;
  --ink-soft: #46505C;
  --line: #D3D8DE;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 12px, var(--char) 12px 24px);
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --text: "Barlow", Arial, Helvetica, sans-serif;
  --cut: clamp(26px, 4vw, 60px);
  --frame: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--char); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--steel-deep); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--char);
}

h1, h2, h3, h4 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}

h1 { font-weight: 800; }
h2 { font-weight: 800; font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
h4 { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.08em; }

p { margin: 0 0 1.1em; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--yellow);
  color: var(--char);
  padding: 0.7rem 1rem;
  font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

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

.frame {
  width: 100%;
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ---------- action buttons ---------- */
.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.75rem 1.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.act svg { width: 20px; height: 20px; flex: none; }
.act--yellow { background: var(--yellow); color: var(--char); }
.act--yellow:hover { background: var(--white); color: var(--char); }
.act--line { border-color: var(--white); color: var(--white); background: transparent; }
.act--line:hover { background: var(--white); color: var(--char); }
.act--dark { background: var(--char); color: var(--white); }
.act--dark:hover { background: var(--steel-deep); color: var(--white); }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- advertorial flag ---------- */
.adv-flag {
  background: #12161A;
  color: #C9CFD6;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.35rem 1rem;
}
.adv-flag strong {
  display: inline-block;
  background: var(--yellow);
  color: var(--char);
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 0.6rem;
  margin-right: 0.6rem;
}

/* ---------- masthead ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  background: var(--char);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.mark {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-right: -26px;
  padding: 0.6rem calc(26px + 1.4rem) 0.6rem clamp(1rem, 3vw, 2.4rem);
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}
.mark img { height: 48px; width: auto; }

.mast-main { display: flex; flex-direction: column; min-width: 0; }

.mast-bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 70px;
  padding: 0 clamp(1rem, 3vw, 2.4rem) 0 calc(26px + 1.25rem);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-right: auto;
}
.primary-nav > a,
.sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.primary-nav > a:hover,
.sub-toggle:hover,
.primary-nav > a[aria-current="page"],
.has-sub.is-current > .sub-toggle { color: var(--yellow); border-bottom-color: var(--yellow); }
.sub-toggle .ico { flex: none; width: 16px; height: 16px; transition: transform 0.18s ease; }
.has-sub.open > .sub-toggle .ico { transform: rotate(180deg); }

.has-sub { position: relative; }
.sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 290px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--char-2);
  border-top: 4px solid var(--yellow);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}
.has-sub.open > .sub-menu { display: block; }
.sub-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}
.sub-menu a:hover,
.sub-menu a[aria-current="page"] { background: var(--char-3); color: var(--yellow); }

.primary-nav > .nav-survey { display: none; }

.survey-btn {
  flex: none;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.survey-btn:hover { background: var(--yellow); color: var(--char); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle .bars { position: relative; width: 20px; height: 2px; background: currentColor; }
.menu-toggle .bars::before,
.menu-toggle .bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform 0.18s ease; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-open .menu-toggle .bars { background: transparent; }
.menu-open .menu-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

.mast-sub {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  padding: 0.3rem clamp(1rem, 3vw, 2.4rem) 0.3rem calc(26px + 1.25rem);
  background: var(--steel-deep);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mast-sub .pulse {
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 194, 14, 0.6);
  animation: pulse 2.2s infinite;
}
.mast-sub a { color: var(--white); font-weight: 700; letter-spacing: 0.06em; }
.mast-sub a:hover { color: var(--white); text-decoration-color: var(--yellow); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 194, 14, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(255, 194, 14, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 194, 14, 0); }
}

/* ---------- hero: diagonal split ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 76vh, 720px);
  background: var(--char);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  height: 10px;
  background: var(--hazard);
}
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  background: var(--yellow);
  clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(168px 0, 100% 0, 100% 100%, 18px 100%);
  filter: saturate(0.85) contrast(1.05);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: min(600px, 48%);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.9rem);
  line-height: 0.93;
  margin-bottom: 0.45em;
}
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: 1.15rem; color: #D7DCE2; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9CFD6;
}
.hero-points li { display: flex; align-items: center; gap: 0.45rem; }
.hero-points li::before { content: ""; width: 8px; height: 8px; background: var(--yellow); transform: rotate(45deg); }

/* page variant for interior pages */
.hero--page { min-height: 380px; }
.hero--page .hero-copy { padding: 3.2rem 0 3.6rem; }
.hero--page h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); }
.hero--plain .hero-copy { max-width: 760px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #C9CFD6;
}
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--yellow); }
.crumbs a { color: var(--white); }

/* ---------- sectors row ---------- */
.sectors { background: var(--concrete); padding: 0 0 clamp(3rem, 6vw, 5rem); }
.sectors-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.8rem;
}
.sectors-head h2 { margin: 0; }
.sectors-head p { margin: 0; max-width: 46ch; color: var(--ink-soft); }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sector-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  height: 100%;
  padding: 1.3rem 1.1rem 1.2rem;
  background: var(--white);
  border-bottom: 4px solid var(--char);
  color: var(--char);
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.sector-tile:hover { border-bottom-color: var(--yellow); transform: translateY(-3px); color: var(--char); }
.sector-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--char);
  color: var(--yellow);
}
.sector-icon .ico { width: 30px; height: 30px; stroke-width: 1.8; }
.sector-tile strong {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.05;
}
.sector-tile span.sub { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; }

/* ---------- generic bands ---------- */
.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band--concrete { background: var(--concrete); }
.band-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.band-head p { color: var(--ink-soft); font-size: 1.1rem; }
.on-dark { color: var(--white); }
.on-dark .band-head p,
.on-dark p { color: #D3D8DE; }

/* ---------- zigzag services ---------- */
.zigzag { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
.zz-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.zz-media { position: relative; }
.zz-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.zz-media::before {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 42%;
  height: 14px;
  background: var(--yellow);
}
.zz-row:nth-child(even) .zz-media { order: 2; }
.zz-row:nth-child(even) .zz-media img { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.zz-row:nth-child(even) .zz-media::before { left: auto; right: -14px; }
.zz-num {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 4.2rem;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--steel);
  margin-bottom: 0.8rem;
}
.zz-copy p { color: var(--ink-soft); }
.ticks { margin: 0 0 1.5rem; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.ticks li { position: relative; padding-left: 1.7rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--char);
  border-bottom: 3px solid var(--char);
  transform: rotate(-45deg);
}
.on-dark .ticks li::before { border-color: var(--yellow); }
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--char);
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 0.15rem;
}
.more-link:hover { color: var(--steel-deep); }
.more-link .ico { width: 18px; height: 18px; }

/* ---------- maintenance tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.tier {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--line);
}
.tier-top {
  padding: 1.5rem 1.5rem 1.3rem;
  background: var(--char);
  color: var(--white);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 0 100%);
  padding-bottom: calc(1.3rem + 18px);
}
.tier-top h3 { margin: 0 0 0.3rem; color: var(--white); }
.tier-top p { margin: 0; color: #C9CFD6; font-size: 0.98rem; }
.tier-body { flex: 1; display: flex; flex-direction: column; padding: 1.2rem 1.5rem 1.6rem; }
.tier-body .ticks { flex: 1; align-content: start; }
.tier--focus { border-color: var(--yellow); box-shadow: 0 18px 36px rgba(30, 35, 41, 0.14); }
.tier--focus .tier-top { background: var(--yellow); color: var(--char); }
.tier--focus .tier-top h3 { color: var(--char); }
.tier--focus .tier-top p { color: var(--char); }
.tier--focus::before { content: ""; display: block; height: 10px; background: var(--hazard); }
.tiers-note { margin-top: 1.6rem; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- process (dark band) ---------- */
.process {
  background: var(--char);
  color: var(--white);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  padding: calc(var(--cut) + clamp(3rem, 7vw, 5rem)) 0;
}
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.4rem 1.4rem 1.2rem;
  border-left: 1px solid var(--char-3);
}
.steps li:first-child { border-left: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 0.8rem;
}
.steps h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.steps p { font-size: 0.98rem; color: #C9CFD6; margin: 0; }

/* ---------- compliance ---------- */
.safety-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.safety-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.safety-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: var(--concrete);
  border-left: 5px solid var(--char);
}
.safety-list .sector-icon { width: 48px; height: 48px; }
.safety-list .sector-icon .ico { width: 24px; height: 24px; }
.safety-list h3 { font-size: 1.2rem; margin: 0 0 0.25rem; }
.safety-list p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.stripe-rule { height: 10px; width: 120px; background: var(--hazard); margin: 1.6rem 0; }

/* ---------- contact ---------- */
.contact-band { background: var(--concrete); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0; box-shadow: 0 24px 50px rgba(30, 35, 41, 0.15); }
.contact-panel {
  background: var(--char);
  color: var(--white);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.contact-panel h2 { color: var(--white); }
.contact-panel p { color: #D3D8DE; }
.contact-lines { display: grid; gap: 1rem; margin: 1.8rem 0 0; padding: 0; list-style: none; }
.contact-lines li { display: grid; grid-template-columns: 44px 1fr; gap: 0.9rem; align-items: center; }
.contact-lines .sector-icon { width: 44px; height: 44px; background: var(--yellow); color: var(--char); }
.contact-lines .sector-icon .ico { width: 22px; height: 22px; }
.contact-lines small {
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #AEB6C0;
}
.contact-lines a,
.contact-lines span.val { color: var(--white); font-weight: 600; word-break: break-word; }
.contact-lines a:hover { color: var(--yellow); }

.form-panel { background: var(--white); padding: clamp(1.8rem, 4vw, 3rem); }
.survey-form { display: grid; gap: 1.1rem; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.survey-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.survey-form input,
.survey-form select,
.survey-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--concrete);
  border: 0;
  border-bottom: 3px solid var(--steel);
  border-radius: 0;
}
.survey-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--char) 50%), linear-gradient(135deg, var(--char) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.survey-form input:focus,
.survey-form select:focus,
.survey-form textarea:focus { outline: none; border-bottom-color: var(--yellow); background-color: #FFF8DC; box-shadow: 0 0 0 2px var(--char); }
.survey-form [aria-invalid="true"] { border-bottom-color: #B3261E; }
.check-row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: end; }
.check-sum {
  display: grid;
  place-items: center;
  min-width: 120px;
  min-height: 50px;
  padding: 0 1rem;
  background: var(--char);
  color: var(--yellow);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}
.form-status { margin: 0; padding: 0.9rem 1rem; font-weight: 600; border-left: 5px solid; }
.form-status.is-ok { background: #E6F4EA; border-color: #1E7B34; color: #14532D; }
.form-status.is-bad { background: #FDECEA; border-color: #B3261E; color: #7F1D1D; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- interior page layout ---------- */
.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-top: 2.2rem;
  padding-top: 0.9rem;
  border-top: 4px solid var(--char);
  position: relative;
}
.copy h2::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--yellow);
}
.copy h2:first-child { margin-top: 0; }
.copy h3 { margin-top: 1.6rem; font-size: 1.35rem; }
.copy ul:not(.ticks),
.copy ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.copy li { margin-bottom: 0.45rem; }
.copy ol.run { counter-reset: run; list-style: none; padding: 0; }
.copy ol.run li {
  counter-increment: run;
  position: relative;
  padding: 0.2rem 0 0.2rem 3.2rem;
  margin-bottom: 0.9rem;
}
.copy ol.run li::before {
  content: counter(run);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  background: var(--char);
  color: var(--yellow);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.figure { margin: 1.8rem 0; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); }
.figure figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.5rem; }

.faq { margin-top: 1rem; display: grid; gap: 0.6rem; }
.faq details { background: var(--concrete); border-left: 5px solid var(--steel); }
.faq details[open] { border-left-color: var(--yellow); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.2rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; }

.rail { position: sticky; top: 140px; display: grid; gap: 1.2rem; }
.rail-card { background: var(--char); color: var(--white); padding: 1.6rem; }
.rail-card h3 { color: var(--white); font-size: 1.45rem; }
.rail-card p { color: #D3D8DE; font-size: 0.98rem; }
.rail-card .act { width: 100%; }
.rail-card .rail-phone { display: block; margin: 0.4rem 0 1.1rem; color: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 1.6rem; text-decoration: none; }
.rail-card .rail-phone:hover { color: var(--white); }
.rail-list { background: var(--concrete); padding: 1.3rem 1.4rem; }
.rail-list h3 { font-size: 1.15rem; letter-spacing: 0.08em; }
.rail-list ul { margin: 0; padding: 0; list-style: none; }
.rail-list li + li { border-top: 1px solid var(--line); }
.rail-list a { display: block; padding: 0.55rem 0; text-decoration: none; font-weight: 600; }
.rail-list a[aria-current="page"] { color: var(--steel-deep); padding-left: 0.6rem; border-left: 4px solid var(--yellow); }
.facts { margin: 0; }
.facts div { padding: 0.55rem 0; border-top: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem; color: var(--steel-deep); }
.facts dd { margin: 0; word-break: break-word; }

/* CTA strip */
.cta-strip { background: var(--yellow); color: var(--char); position: relative; }
.cta-strip::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: var(--hazard); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; padding: 3.2rem 0 2.8rem; }
.cta-inner h2 { margin: 0 0 0.3rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-inner p { margin: 0; max-width: 60ch; }
.cta-inner .acts { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Industries + about blocks */
.sector-block {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 2.4rem 0;
  border-top: 4px solid var(--char);
}
.sector-block:first-child { border-top: 0; padding-top: 0; }
.sector-block aside .sector-icon { width: 64px; height: 64px; margin-bottom: 1rem; }
.sector-block aside .sector-icon .ico { width: 34px; height: 34px; }
.sector-block aside h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.sector-block img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: polygon(0 0, 100% 0, 100% 100%, 16% 100%); margin-top: 1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
.panel-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.panel-list li { background: var(--white); padding: 1.4rem; border-top: 5px solid var(--char); }
.panel-list h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.panel-list p { margin: 0; color: var(--ink-soft); }

/* ---------- disclosure + footer ---------- */
.paid-note { background: var(--concrete); border-top: 1px solid var(--line); }
.paid-note .frame { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.paid-note p {
  margin: 0;
  padding-left: 1rem;
  border-left: 5px solid var(--yellow);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.paid-note strong { color: var(--char); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }

.base { background: var(--char); color: #C9CFD6; position: relative; }
.base::before { content: ""; display: block; height: 8px; background: var(--hazard); }
.base-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 0.8fr;
  gap: 2.4rem;
  padding: clamp(2.8rem, 6vw, 4.5rem) 0 2.6rem;
}
.base h2 { font-size: 1.15rem; letter-spacing: 0.14em; color: var(--white); margin-bottom: 1rem; }
.base ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.base a { color: #E3E7EB; text-decoration: none; }
.base a:hover { color: var(--yellow); text-decoration: underline; }
.base-logo { display: inline-block; margin-bottom: 1.1rem; }
.base-logo img { height: 48px; width: auto; }
.base-contact { display: grid; gap: 0.4rem; margin-top: 1rem; }
.base-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  padding: 1.2rem 0 1.6rem;
  border-top: 1px solid var(--char-3);
  font-size: 0.88rem;
}
.base-bottom ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }

/* ---------- reveal ---------- */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .rise.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .sector-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 1rem; }
  .steps li:nth-child(4) { border-left: 0; }
  .base-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1200px) {
  .masthead { grid-template-columns: auto 1fr; }
  .mast-bar { min-height: 62px; }
  .menu-toggle { display: inline-flex; }
  .survey-btn { display: none; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.6rem 0 1.2rem;
    background: var(--char);
    border-top: 4px solid var(--yellow);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .menu-open .primary-nav { display: flex; }
  .primary-nav > a,
  .sub-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem clamp(1rem, 4vw, 2.4rem);
    border-bottom: 1px solid var(--char-3);
    font-size: 1.25rem;
  }
  .primary-nav > a:hover,
  .sub-toggle:hover,
  .primary-nav > a[aria-current="page"],
  .has-sub.is-current > .sub-toggle { border-bottom-color: var(--char-3); background: var(--char-2); }
  .sub-menu { position: static; min-width: 0; box-shadow: none; border-top: 0; background: var(--char-2); padding: 0.3rem 0; }
  .sub-menu a { padding: 0.7rem clamp(2rem, 7vw, 3.4rem); }
  .primary-nav > .nav-survey {
    display: flex;
    width: auto;
    justify-content: center;
    background: var(--yellow);
    margin: 1.1rem clamp(1rem, 4vw, 2.4rem) 0;
    padding: 0.75rem 1.5rem;
    color: var(--char);
    border-bottom: 0;
  }
  .primary-nav > .nav-survey:hover { background: var(--white); color: var(--char); }
  .doc-layout { grid-template-columns: 1fr; }
  .rail { position: static; }
  .mast-sub { font-size: 0.74rem; letter-spacing: 0.05em; gap: 0.5rem; }
  .mast-sub span:not(.pulse) { white-space: nowrap; }
}

@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-media {
    position: relative;
    order: -1;
    width: 100%;
    height: clamp(220px, 46vw, 340px);
    clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  }
  .hero-media img { clip-path: polygon(0 0, 100% 0, 100% calc(78% - 14px), 0 calc(100% - 14px)); }
  .hero-copy { max-width: none; padding: 1.6rem 0 3.4rem; }
  .hero--page .hero-copy { padding: 1.4rem 0 3rem; }
  .hero--plain .hero-copy { padding-top: 3rem; }
  .zz-row { grid-template-columns: 1fr; }
  .zz-row:nth-child(even) .zz-media { order: 0; }
  .zz-media img,
  .zz-row:nth-child(even) .zz-media img { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
  .tiers { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sector-block { grid-template-columns: 1fr; }
  .two-col,
  .panel-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .mark { padding-right: calc(26px + 0.9rem); }
  .mark img { height: 40px; }
  .mast-bar { padding-left: calc(26px + 0.6rem); padding-right: 0.8rem; }
  .menu-toggle .label { display: none; }
  .masthead { grid-template-areas: "mark bar" "sub sub"; }
  .mast-main { display: contents; }
  .mark { grid-area: mark; }
  .mast-bar { grid-area: bar; min-height: 64px; }
  .mast-sub { grid-area: sub; justify-content: center; padding: 0.3rem 0.8rem; font-size: 0.72rem; letter-spacing: 0.05em; gap: 0.45rem; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .sector-tile { padding: 1rem 0.9rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-left: 0; border-top: 1px solid var(--char-3); }
  .steps li:first-child { border-top: 0; }
  .field-pair { grid-template-columns: 1fr; }
  .check-row { grid-template-columns: 1fr; }
  .base-grid { grid-template-columns: 1fr; }
  .act { width: 100%; }
  .hero-actions .act { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rise { opacity: 1; transform: none; }
}
