/* ============================================================
   FLEET ENGINEERING — Charcoal + Hi-Vis Theme
   Palette: #141414 Carbon / #2a2a2a Charcoal / #e8ec1f Hi-Vis / #fff Mark
   Fonts: Barlow Condensed / Inter / JetBrains Mono
   Embellishments: Hazard Stripes · Hi-Vis Edge Bar · Reference Tags
   ============================================================ */

:root {
  --carbon:     #141414;
  --charcoal:   #2a2a2a;
  --charcoal-2: #333333;
  --charcoal-3: #3a3a3a;
  --hivis:      #e8ec1f;
  --hivis-dim:  #c8cb1a;
  --hivis-glow: rgba(232,236,31,0.12);
  --white:      #ffffff;
  --gray-100:   #e0e0e0;
  --gray-200:   #9a9a9a;
  --gray-300:   #6a6a6a;
  --gray-400:   #444444;
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(255,255,255,0.16);
  --display:    'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:       'JetBrains Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
html, body { max-width: 100vw; }

body {
  background: var(--carbon);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.005em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 0.95;
}

/* ============================================================
   EMBELLISHMENT: Eyebrow label (replaces numbered sections)
   ============================================================ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--hivis);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--hivis);
  display: inline-block;
}

/* ============================================================
   EMBELLISHMENT: Hazard stripes — section dividers
   ============================================================ */
.hazard {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--hivis) 0 14px, var(--carbon) 14px 28px);
}
.hazard-thin {
  height: 4px;
  background: repeating-linear-gradient(-45deg, var(--hivis) 0 10px, var(--carbon) 10px 20px);
}

/* ============================================================
   EMBELLISHMENT: Reference tag / spec stamp
   ============================================================ */
.ref-tag {
  display: inline-block;
  border: 1px solid var(--border-2);
  padding: 4px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-200);
}
.ref-tag.solid {
  background: var(--hivis);
  color: var(--carbon);
  border-color: var(--hivis);
  font-weight: 600;
}

/* ============================================================
   EMBELLISHMENT: Measurement callouts — engineering drawing style
   Stat blocks, image overlays, technical spec dimensioning
   ============================================================ */
.measurement-callout {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border-2);
  background: rgba(232,236,31,0.04);
}
.measurement-callout::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--hivis);
}
.measurement-callout .mc-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  color: var(--hivis);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.measurement-callout .mc-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-200);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
}
.measurement-callout .mc-unit {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-300);
  letter-spacing: 0.08em;
  margin-left: 4px;
}

/* Measurement strip — row of dimensioned stats with leader lines */
.measurement-strip {
  display: grid;
  gap: 0;
  border: 1px solid var(--border-2);
  position: relative;
}
.measurement-strip.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.measurement-strip.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
.measurement-strip .mc-cell {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  position: relative;
}
.measurement-strip .mc-cell:last-child { border-right: none; }
.measurement-strip .mc-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  background: var(--border-2);
}
.measurement-strip .mc-cell:first-child::before { display: none; }
.measurement-strip .mc-cell .mc-ref {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--gray-300);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.measurement-strip .mc-cell .mc-ref::before {
  content: '';
  width: 12px; height: 1px;
  background: var(--hivis);
}
.measurement-strip .mc-cell .mc-val {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}
.measurement-strip .mc-cell .mc-val .mc-highlight {
  color: var(--hivis);
}
.measurement-strip .mc-cell .mc-desc {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-200);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Dimension line overlay — positioned over images */
.dimension-overlay {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.dimension-line {
  display: flex;
  align-items: center;
  gap: 6px;
}
.dimension-line .dl-line {
  height: 1px;
  background: var(--hivis);
  flex: 1;
  position: relative;
}
.dimension-line .dl-line::before,
.dimension-line .dl-line::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px;
  height: 9px;
  background: var(--hivis);
}
.dimension-line .dl-line::before { left: 0; }
.dimension-line .dl-line::after { right: 0; }
.dimension-line .dl-tag {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--hivis);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  background: rgba(20,20,20,0.85);
  padding: 3px 6px;
}

/* Spec plate — engineering drawing title block style */
.spec-plate {
  display: inline-grid;
  grid-template-columns: auto auto;
  border: 1px solid var(--border-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.spec-plate .sp-key {
  padding: 6px 12px;
  color: var(--gray-300);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.spec-plate .sp-val {
  padding: 6px 12px;
  color: var(--white);
  border-bottom: 1px solid var(--border);
}
.spec-plate .sp-val.highlight {
  color: var(--hivis);
  font-weight: 600;
}

/* Inline callout — small measurement badge for within text */
.inline-callout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border: 1px solid var(--border-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--hivis);
  vertical-align: middle;
  white-space: nowrap;
}
.inline-callout::before {
  content: '⌀';
  font-size: 12px;
  opacity: 0.6;
}

/* Responsive measurement components */
@media (max-width: 900px) {
  .measurement-strip.cols-3,
  .measurement-strip.cols-4 { grid-template-columns: 1fr 1fr; }
  .measurement-strip .mc-cell { border-bottom: 1px solid var(--border); }
  .measurement-callout .mc-value { font-size: 28px; }
}
@media (max-width: 480px) {
  .measurement-strip.cols-3,
  .measurement-strip.cols-4 { grid-template-columns: 1fr; }
  .measurement-strip .mc-cell { border-right: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
nav.primary {
  display: flex;
  gap: 32px;
}
nav.primary a {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-100);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
nav.primary a:hover,
nav.primary a.active { color: var(--hivis); }
nav.primary a.active::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 0; right: 0;
  height: 2px;
  background: var(--hivis);
}

.nav-cta {
  background: var(--hivis);
  color: var(--carbon) !important;
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
  border-radius: 2px;
}
.nav-cta:hover { background: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 102;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 2.5px;
  background: var(--white);
  border-radius: 1px;
  transition: all .3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(20,20,20,0.97);
  backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s;
}
.mobile-nav a:hover { color: var(--hivis); }
.mobile-nav .nav-cta {
  font-family: var(--body);
  font-size: 14px;
  margin-top: 16px;
  padding: 14px 28px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--hivis);
  color: var(--carbon);
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 16px 26px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: var(--hivis);
  color: var(--hivis);
}

/* ============================================================
   HERO — editorial split with photo + hi-vis sector band
   ============================================================ */
.hero {
  position: relative;
  background: var(--carbon);
  overflow: hidden;
  max-width: 100vw;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 580px;
}
.hero-text {
  padding: 140px 56px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 70% 30%, var(--hivis-glow), transparent 60%),
    var(--carbon);
  position: relative;
}
.hero-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-text > * { position: relative; z-index: 1; }
.hero-text h1 {
  font-size: clamp(64px, 8vw, 116px);
  font-weight: 800;
  line-height: 0.86;
  margin: 22px 0 26px;
}
.hero-text h1 .brand { color: var(--hivis); display: block; }
.hero-text h1 em { font-style: normal; color: var(--hivis); }
.hero-text > p {
  font-size: 19px;
  color: var(--gray-100);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  border-left: 1px solid var(--border-2);
  overflow: hidden;
}
.hero-visual img:not(.hero-profile) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(1.05) saturate(0.85);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20,20,20,0.4) 0%, rgba(42,42,42,0.6) 60%, rgba(20,20,20,0.85) 100%);
}
.hero-stat {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
  justify-content: flex-start;
  padding: 40px 36px;
  color: white;
}
.hero-profile {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid var(--hivis);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  flex-shrink: 0;
}
.hero-stat-text {
  display: flex;
  flex-direction: column;
}
.hero-stat .n,
.hero-stat-text .n {
  font-family: var(--display);
  font-size: clamp(72px, 9vw, 132px);
  font-weight: 800;
  color: var(--hivis);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-stat .h,
.hero-stat-text .h {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-stat .rule,
.hero-stat-text .rule { width: 60px; height: 2px; background: var(--hivis); margin: 18px 0; }
.hero-stat .t,
.hero-stat-text .t {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.06em;
  max-width: 280px;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Sector band below hero */
.hero-band {
  background: var(--hivis);
  color: var(--carbon);
  padding: 14px 56px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-band .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: auto;
}
.hero-band .item {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}
.hero-band .dot { opacity: 0.4; font-weight: 700; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: 100px 0; position: relative; overflow: hidden; }
.section.paper {
  background: #f5f5f5;
  color: var(--carbon);
}
.section.paper .eyebrow { color: var(--charcoal); }
.section.paper .eyebrow::before { background: var(--charcoal); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 56px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
}
.section-head .lede {
  font-size: 17px;
  color: var(--gray-100);
  line-height: 1.65;
  max-width: 560px;
}
.section.paper .section-head .lede { color: var(--gray-400); }

/* ============================================================
   BOILER WEIGHING — flagship section (comes FIRST after hero)
   ============================================================ */
.flagship {
  background: linear-gradient(180deg, var(--carbon) 0%, var(--charcoal) 100%);
  padding: 120px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.flagship::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, var(--hivis-glow), transparent 60%);
  pointer-events: none;
}
.flagship-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.flagship-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid var(--border-2);
}
.flagship-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
}
.flagship-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20,20,20,0.45));
  pointer-events: none;
}
.flagship-visual .badge {
  position: absolute;
  bottom: -1px; left: -1px;
  background: var(--hivis);
  color: var(--carbon);
  padding: 14px 20px;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 16px;
  z-index: 2;
}
.flagship h2 {
  font-size: clamp(40px, 5.5vw, 76px);
  line-height: 0.92;
  margin: 18px 0 28px;
}
.flagship h2 .alt { color: var(--hivis); }
.flagship p {
  font-size: 18px;
  color: var(--gray-100);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 560px;
}
.flagship-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: 36px 0 32px;
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
  padding: 20px 0;
}
.flagship-stats .stat {
  padding-right: 16px;
  border-right: 1px solid var(--border);
}
.flagship-stats .stat:last-child { border-right: none; }
.flagship-stats .stat .n {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--hivis);
  margin-bottom: 6px;
}
.flagship-stats .stat .l {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gray-200);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.flagship-bullets {
  list-style: none;
  margin: 16px 0 28px;
}
.flagship-bullets li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--gray-100);
  margin-bottom: 8px;
}
.flagship-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--hivis);
}

/* ============================================================
   FULL SERVICE RANGE — single flat grid, no core/additional
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--charcoal);
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: background 0.25s;
  cursor: default;
  position: relative;
  border-left: 4px solid transparent;
}
.service-card:hover {
  background: var(--charcoal-2);
  border-left-color: var(--hivis);
}
a.service-card {
  text-decoration: none;
  color: inherit;
}
.service-card .icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: var(--hivis);
}
.service-card .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.service-card h4 {
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-200);
  line-height: 1.6;
  margin-top: auto;
}
.service-card.lead {
  background: var(--charcoal-2);
  border-left: 4px solid var(--hivis);
}

/* Work proof photo strip */
.work-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  background: var(--border-2);
  border: 1px solid var(--border-2);
}
.work-strip > div {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--carbon);
  overflow: hidden;
}
.work-strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transition: transform 0.4s ease;
}
.work-strip > div:hover img { transform: scale(1.04); }
.work-strip span {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: white;
  background: rgba(20,20,20,0.78);
  padding: 6px 10px;
  border-left: 2px solid var(--hivis);
}

/* ============================================================
   ABOUT — values as preamble, team bios
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-400);
}
.about-text p { margin-bottom: 18px; }
.about-text strong { color: var(--carbon); font-weight: 600; }

.about-pillars {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,0.12);
}
.about-pillars > div { flex: 1; }
.about-pillars .label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--charcoal);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.about-pillars h5 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--carbon);
  line-height: 1;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.team-card {
  background: rgba(42,42,42,0.06);
  border-left: 4px solid var(--charcoal);
  padding: 28px 28px 32px;
}
.team-card .photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--charcoal);
  background-size: cover;
  background-position: center 20%;
  margin-bottom: 18px;
  border: 3px solid var(--hivis);
}
.team-card .photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  color: var(--hivis);
  background: var(--charcoal);
}
.team-card h4 {
  font-size: 24px;
  color: var(--carbon);
  margin-bottom: 6px;
}
.team-card .role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--charcoal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.team-card p {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.65;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  background: var(--charcoal);
  color: white;
  padding: 100px 0;
}
.contact-section .eyebrow { color: var(--hivis); }
.contact-section .eyebrow::before { background: var(--hivis); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-section h2 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.92;
  margin: 18px 0 24px;
}
.contact-section > .container > .contact-grid > div:first-child > p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.6;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-card:hover {
  border-color: var(--hivis);
  background: rgba(0,0,0,0.4);
}
.contact-card .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--hivis);
  color: var(--carbon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--mono);
  font-weight: 700;
}
.contact-card .k {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-card .v {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.form-row { display: flex; gap: 12px; }
.form-field {
  flex: 1;
  padding: 14px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-2);
  color: var(--white);
  font-family: var(--body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  border-radius: 2px;
}
.form-field:focus { border-color: var(--hivis); }
.form-field::placeholder { color: var(--gray-300); }
textarea.form-field { resize: vertical; min-height: 100px; }
select.form-field { appearance: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--carbon);
  padding: 64px 0 28px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-top h5 {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--hivis);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-top a {
  display: block;
  font-size: 13px;
  color: var(--gray-100);
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-top a:hover { color: var(--hivis); }
.footer-wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  line-height: 0.92;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-wordmark .accent { color: var(--hivis); }
.footer-tag {
  font-size: 13px;
  color: var(--gray-200);
  max-width: 280px;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-300);
  letter-spacing: 0.08em;
}

/* ============================================================
   PAGE HERO — for sub-pages (services, about, boiler weighing)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--carbon);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.3;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 40%, var(--hivis-glow), transparent 60%);
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.page-hero .eyebrow { margin-bottom: 20px; display: block; }
.page-hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.9;
  margin-bottom: 24px;
}
.page-hero p {
  font-size: 19px;
  color: var(--gray-100);
  max-width: 600px;
  line-height: 1.55;
}

/* ============================================================
   SERVICE DETAIL CARDS — for services sub-page
   ============================================================ */
.services-detailed-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  background: var(--charcoal);
}
.service-detail-card:nth-child(even) .service-detail-image { order: 2; }
.service-detail-card:nth-child(even) .service-detail-content { order: 1; }
.service-detail-image {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.service-detail-content {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-detail-content h3 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 0.98;
  margin-bottom: 20px;
}
.service-detail-content p {
  font-size: 17px;
  color: var(--gray-100);
  line-height: 1.7;
  margin-bottom: 14px;
}
.service-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--hivis);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
  transition: color .2s;
}
.service-link:hover { color: var(--white); }

/* Services list items (flat grid for sub-page) */
.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}
.service-list-item {
  padding: 24px 28px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background .2s, padding-left .2s;
}
.service-list-item:hover {
  background: var(--charcoal);
  padding-left: 36px;
}
.service-list-dot {
  width: 8px; height: 8px;
  background: var(--hivis);
  flex-shrink: 0;
}

/* Boiler intro layout for sub-page */
.boiler-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
}
.boiler-intro-text h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 24px;
}
.boiler-intro-text p {
  font-size: 17px;
  color: var(--gray-100);
  line-height: 1.7;
  margin-bottom: 16px;
}
.boiler-intro-image {
  border: 1px solid var(--border-2);
  overflow: hidden;
}
.boiler-intro-image img {
  width: 100%;
  filter: contrast(1.05) saturate(0.9);
}

/* Boiler content grid */
.boiler-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.boiler-block {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.boiler-block.full-width { grid-column: 1 / -1; }
.boiler-block h3 {
  font-size: 24px;
  margin-bottom: 16px;
  line-height: 1;
}
.boiler-block p {
  font-size: 16px;
  color: var(--gray-100);
  line-height: 1.7;
  margin-bottom: 10px;
}
.boiler-block ul {
  list-style: none;
  margin: 12px 0;
}
.boiler-block ul li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--gray-100);
  line-height: 1.7;
  margin-bottom: 4px;
}
.boiler-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 2px;
  background: var(--hivis);
}

.bg-section {
  background: var(--charcoal);
  padding: 80px 0;
}

/* CTA section for sub-pages */
.cta-section {
  background: var(--hivis);
  color: var(--carbon);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,0.04) 0 14px, transparent 14px 28px);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 18px;
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cta-section .btn-primary {
  background: var(--carbon);
  color: var(--hivis);
}
.cta-section .btn-primary:hover {
  background: var(--charcoal);
}

/* Testimonial */
.testimonial {
  margin-top: 48px;
  padding: 32px 36px;
  border-left: 4px solid var(--hivis);
  background: rgba(232,236,31,0.05);
}
.testimonial blockquote {
  font-size: 17px;
  font-style: italic;
  color: var(--gray-100);
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial cite,
.testimonial .testimonial-author {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--hivis);
  font-style: normal;
  letter-spacing: 0.08em;
}

/* Partners */
.partners-section {
  background: var(--charcoal);
  padding: 80px 0;
}
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
}
.partner-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
}
.partner-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}
.partner-card p {
  font-size: 14px;
  color: var(--gray-200);
  line-height: 1.65;
  margin-bottom: 20px;
}
.btn-outline {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--border-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-100);
  transition: border-color .2s, color .2s;
}
.btn-outline:hover {
  border-color: var(--hivis);
  color: var(--hivis);
}

/* About sub-page specific */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  padding: 80px 0;
  align-items: start;
}
.about-layout .about-text h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 24px;
}
.about-layout .about-text p {
  font-size: 17px;
  color: var(--gray-100);
  line-height: 1.7;
  margin-bottom: 14px;
}
.about-layout .about-text p strong {
  color: var(--white);
  font-weight: 600;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.about-highlight {
  padding: 20px;
  border-left: 3px solid var(--hivis);
  background: var(--charcoal);
}
.about-highlight h4 {
  font-size: 18px;
  margin-bottom: 6px;
}
.about-highlight p {
  font-size: 13px;
  color: var(--gray-200);
  line-height: 1.5;
}
.about-image {
  border: 1px solid var(--border-2);
  overflow: hidden;
}
.about-image img {
  width: 100%; display: block;
  filter: contrast(1.05) saturate(0.85);
}

.section-header {
  margin-bottom: 40px;
}
.section-header .section-label,
.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--hivis);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-header h2 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 8px;
}
.section-header p {
  font-size: 17px;
  color: var(--gray-100);
  margin-top: 12px;
}

.team-section { margin-top: 80px; }

/* Contact page layout */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hivis);
  color: var(--carbon);
  border-radius: 50%;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: 16px;
  margin-bottom: 2px;
}
.contact-item p {
  font-size: 14px;
  color: var(--gray-200);
}
.contact-item a {
  color: var(--hivis);
  transition: color .2s;
}
.contact-item a:hover { color: var(--white); }

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.4);
  text-decoration: none;
}
.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 91;
  background: #25D366;
  color: white;
}
.fab-whatsapp svg { width: 26px; height: 26px; fill: white; }
.fab-top {
  position: fixed;
  bottom: 88px;
  right: 24px;
  z-index: 90;
  background: var(--charcoal);
  border: 1px solid var(--border-2);
  color: var(--hivis);
  font-family: var(--mono);
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  transform: translateY(10px);
}
.fab-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============================================================
   SUCCESS MODAL — contact form confirmation
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background: var(--carbon);
  border: 1px solid var(--border-2);
  border-top: 4px solid var(--hivis);
  max-width: 480px;
  width: 90%;
  padding: 44px 36px 36px;
  text-align: center;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--hivis);
  color: var(--carbon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  font-weight: 800;
}
.modal-box h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--white);
}
.modal-box p {
  font-size: 15px;
  color: var(--gray-200);
  line-height: 1.65;
  margin-bottom: 8px;
}
.modal-box p strong { color: var(--white); }
.modal-box .modal-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-300);
  letter-spacing: 0.08em;
  margin-top: 20px;
}
.modal-close {
  margin-top: 24px;
  background: var(--hivis);
  color: var(--carbon);
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--white); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.reveal.in { opacity: 1; transform: translateY(0); }
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.7s, transform 0.7s; }
.fade-up.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 0 20px; }
  nav.primary { display: none !important; }
  header .header-inner > a.nav-cta { display: none !important; }
  .nav-toggle { display: flex !important; }
  .mobile-nav .nav-cta { display: inline-flex !important; }
  .logo-mark img { height: 44px; max-width: 140px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { padding: 120px 24px 40px; order: 2; }
  .hero-text h1 { font-size: 56px; }
  .hero-text > p { font-size: 16px; }
  .hero-visual { order: 1; min-height: 320px; border-left: none; border-bottom: 1px solid var(--border-2); }
  .hero-stat { padding: 24px 20px; gap: 14px; }
  .hero-stat .n,
  .hero-stat-text .n { font-size: 64px; }
  .hero-stat .h,
  .hero-stat-text .h { font-size: 18px; }
  .hero-profile { width: 96px; height: 96px; }
  .hero-band { padding: 12px 24px; gap: 12px; }
  .hero-band .item { font-size: 13px; }
  .hero-band .label { width: 100%; margin-bottom: 4px; }

  .section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section-head h2 { font-size: 40px; }

  .flagship { padding: 64px 0; }
  .flagship-grid { grid-template-columns: 1fr; gap: 36px; }
  .flagship h2 { font-size: 42px; }
  .flagship p { font-size: 16px; }
  .flagship-stats .stat .n { font-size: 26px; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card { padding: 24px 18px; min-height: 180px; }
  .service-card h4 { font-size: 17px; }
  .service-card p { font-size: 12px; }
  .work-strip { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: 1fr; }

  .contact-section { padding: 64px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }

  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: 48px; }

  .boiler-intro { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }
  .boiler-content-grid { grid-template-columns: 1fr; }

  .about-layout { grid-template-columns: 1fr; gap: 32px; padding: 60px 0; }
  .about-highlights { grid-template-columns: 1fr; }

  .service-detail-card { grid-template-columns: 1fr; }
  .service-detail-card:nth-child(even) .service-detail-image { order: 0; }
  .service-detail-card:nth-child(even) .service-detail-content { order: 0; }
  .service-detail-image { min-height: 220px; }

  .services-list-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }

  .form-row { flex-direction: column; }

  .about-pillars { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 44px; }
  .services-grid { grid-template-columns: 1fr; }
  .flagship-stats { grid-template-columns: 1fr; gap: 16px; }
  .flagship-stats .stat { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .flagship-stats .stat:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
}
