/* ============================================================
   TRADESAFE INDUSTRIAL — Design System
   Charcoal / graphite base · electric cyan accent
   Type: Archivo (display) · Barlow (body) · Space Mono (labels)
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  --ink:        #0d1014;
  --graphite:   #14171c;
  --graphite-2: #191d23;
  --graphite-3: #21262e;
  --graphite-4: #2a313a;
  --line:       #2c333d;
  --line-soft:  #232a32;
  --steel:      #6f7a86;
  --steel-2:    #98a4b0;
  --fog:        #c4ccd4;
  --white:      #f4f7f8;

  --cyan:        #1fd8e6;
  --cyan-bright: #46e8f2;
  --cyan-deep:   #0bb3c2;
  --cyan-ink:    #03363b;

  --orange:       #f4832d;
  --orange-bright:#ff9645;
  --orange-deep:  #d96a16;

  --paper:   #eceff1;
  --paper-2: #e0e5e8;
  --paper-ink: #14171c;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow: 0 24px 60px -28px rgba(0,0,0,.7);
  --shadow-cyan: 0 18px 50px -20px rgba(31,216,230,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  background: var(--graphite);
  color: var(--fog);
  overflow-x: hidden;
}
::selection { background: var(--cyan); color: var(--ink); }

/* ---------- Hex / texture utilities ---------- */
.tex-hex {
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='96' viewBox='0 0 56 96' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%231fd8e6' stroke-opacity='0.06' stroke-width='1.4'%3E%3Cpath d='M28 1 L54 16 L54 46 L28 61 L2 46 L2 16 Z'/%3E%3Cpath d='M28 49 L54 64 L54 94 L28 109 L2 94 L2 64 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 96px;
}
.tex-diag {
  background-image: repeating-linear-gradient(135deg, rgba(31,216,230,.05) 0 2px, transparent 2px 14px);
}
.tex-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.container--wide { max-width: 1480px; }
.section { position: relative; padding-block: clamp(64px, 9vw, 132px); }
.section--dark  { background: var(--graphite); color: var(--fog); }
.section--ink   { background: var(--ink); color: var(--fog); }
.section--panel { background: var(--graphite-2); color: var(--fog); }
.section--light { background: var(--paper); color: var(--paper-ink); }
.section--light .lead, .section--light .eyebrow + .section-title { color: var(--paper-ink); }
.divider-top { border-top: 1px solid var(--line-soft); }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--cyan);
  display: inline-block;
}
.section--light .eyebrow { color: var(--cyan-deep); }
.section--light .eyebrow::before { background: var(--cyan-deep); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -.01em; color: var(--white); }
.section--light h1, .section--light h2, .section--light h3, .section--light h4 { color: var(--paper-ink); }

.section-title { font-size: clamp(30px, 4.2vw, 58px); text-transform: uppercase; letter-spacing: -.012em; }
.section-title .accent { color: var(--cyan); }
.lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--steel-2); max-width: 62ch; line-height: 1.62; }
.section--light .lead { color: #4b555f; }
.muted { color: var(--steel); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cyan);
  --fg: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 26px;
  background: var(--bg); color: var(--fg);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-cyan); }
.btn:hover svg { transform: translateX(5px); }
.btn-primary { --bg: var(--cyan); --fg: #062a2e; }
.btn-primary:hover { --bg: var(--cyan-bright); }
.btn-ghost {
  --bg: transparent; --fg: var(--white);
  border: 1px solid var(--line);
}
.btn-ghost:hover { --bg: var(--graphite-3); box-shadow: none; border-color: var(--cyan); color: var(--cyan); }
.btn-light { --bg: var(--white); --fg: var(--ink); }
.btn-light:hover { --bg: #fff; }
.text-link {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
  transition: gap .3s var(--ease);
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { gap: 16px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 92px;
  transition: height .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav-inner { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled {
  height: 72px;
  background: rgba(15,18,22,.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { height: 46px; width: auto; transition: height .4s var(--ease); }
.nav.scrolled .brand-mark { height: 38px; }
.brand-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .94; font-size: 19px; letter-spacing: .005em; color: var(--white); transition: font-size .4s var(--ease); }
.nav.scrolled .brand-name { font-size: 17px; }
@media (max-width: 560px) { .brand-name { font-size: 16px; } .brand-mark { height: 40px; } }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--fog);
  padding: 12px 16px; display: inline-flex; align-items: center; gap: 7px;
  transition: color .25s;
}
.nav-link svg { width: 14px; height: 14px; opacity: .6; transition: transform .3s; }
.nav-link:hover, .nav-link.active { color: var(--cyan); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-link.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--cyan);
}

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 320px; background: rgba(20,23,28,.97);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  transition: background .25s;
}
.dropdown a:hover { background: var(--graphite-3); }
.dropdown a .di {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: var(--radius);
  background: var(--graphite-3); display: grid; place-items: center; color: var(--cyan);
  border: 1px solid var(--line);
}
.dropdown a:hover .di { background: var(--cyan); color: var(--ink); border-color: var(--cyan); }
.dropdown a .di svg { width: 19px; height: 19px; }
.dropdown a .dt { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--white); text-transform: uppercase; letter-spacing: .02em; }
.dropdown a .ds { font-size: 12.5px; color: var(--steel); font-family: var(--font-body); letter-spacing: 0; text-transform: none; }

.nav-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-cta .btn { padding: 13px 22px; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(11,14,17,.98); backdrop-filter: blur(8px);
  padding: 120px var(--gut) 48px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .45s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  text-transform: uppercase; color: var(--white); padding: 14px 0;
  border-bottom: 1px solid var(--line-soft); letter-spacing: -.01em;
}
.mobile-menu a.sub { font-size: 18px; padding-left: 18px; color: var(--steel-2); font-family: var(--font-body); font-weight: 600; }
.mobile-menu a:hover { color: var(--cyan); }
.mobile-menu .btn { margin-top: 24px; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,17,.72) 0%, rgba(11,14,17,.55) 40%, rgba(11,14,17,.85) 100%),
    linear-gradient(90deg, rgba(11,14,17,.7), rgba(11,14,17,.25));
}
.hero-vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 -160px 120px -60px rgba(8,10,13,.9), inset 0 120px 100px -70px rgba(8,10,13,.65); }
.hero-content { position: relative; z-index: 2; width: 100%; text-align: center; padding-top: 60px; }
.hero-logo { width: min(560px, 78vw); margin: 0 auto 8px; }
.hero-tagline {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(16px, 1.9vw, 22px); color: var(--fog);
  max-width: 640px; margin: 22px auto 0; line-height: 1.55;
}
.hero-tagline b { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero-strip {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(0deg, rgba(11,14,17,.7), transparent);
  display: flex; justify-content: center; gap: clamp(20px,5vw,72px); flex-wrap: wrap;
  padding: 20px var(--gut);
}
.hero-strip span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-2);
  display: inline-flex; align-items: center; gap: 10px; }
.hero-strip span::before { content: ""; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; }
.scroll-cue {
  position: absolute; bottom: 76px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--steel-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue .line { width: 1px; height: 42px; background: linear-gradient(var(--cyan), transparent); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page hero (interior) */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(40px,6vw,80px); }
.page-hero .hero-bg img { height: 130%; }
.page-hero .hero-content { text-align: left; padding-top: 120px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 84px); text-transform: uppercase; max-width: 16ch; }
.page-hero .lead { margin-top: 22px; color: var(--fog); }
.crumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; display: flex; gap: 10px; }
.crumb span { color: var(--steel); }

/* ============================================================
   CERTIFICATION STRIP
   ============================================================ */
.cert-strip { background: var(--graphite-2); border-block: 1px solid var(--line-soft); padding-block: 30px; }
.cert-grid { display: grid; grid-template-columns: auto repeat(4, 1fr); gap: clamp(20px,4vw,56px); align-items: center; }
.cert-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); line-height: 1.5; border-right: 1px solid var(--line); padding-right: clamp(16px,3vw,40px); }
.cert-label b { color: var(--cyan); display: block; }
.cert-item { display: grid; place-items: center; height: 64px; filter: grayscale(1) brightness(1.8) contrast(.9); opacity: .72; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.cert-item img { max-height: 44px; max-width: 90%; width: auto; height: auto; object-fit: contain; }
.cert-item:hover { filter: none; opacity: 1; transform: translateY(-3px); }

/* ============================================================
   SPLIT / FEATURE BLOCKS
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--reverse .split-media { order: 2; }
.split-body p { color: var(--steel-2); margin-top: 18px; }
.section--light .split-body p { color: #4b555f; }
.split-media { position: relative; }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.2; transition: transform 1.1s var(--ease); }
.media-frame::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); }
.media-frame:hover img { transform: scale(1.05); }
.media-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: rgba(11,14,17,.78); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  padding: 12px 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--white);
}
.media-accent { position: absolute; z-index: -1; width: 60%; height: 60%; }
.media-accent.tr { top: -22px; right: -22px; }
.media-accent.bl { bottom: -22px; left: -22px; }

/* image placeholder slot */
.img-slot {
  position: relative; width: 100%; aspect-ratio: 4/3.2; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(31,216,230,.05) 0 10px, transparent 10px 22px),
    var(--graphite-3);
  border: 1px dashed var(--line); display: grid; place-content: center; text-align: center; gap: 8px; color: var(--steel); overflow: hidden;
}
.img-slot .ph-key { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.img-slot .ph-desc { font-family: var(--font-mono); font-size: 11px; color: var(--steel); max-width: 30ch; }
.img-slot svg { width: 34px; height: 34px; margin: 0 auto 4px; color: var(--steel); }

/* ============================================================
   VALUE CARDS (Protect Operation)
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.value-card { background: var(--graphite); padding: 38px 32px; transition: background .4s var(--ease); position: relative; }
.value-card:hover { background: var(--graphite-2); }
.value-card .vc-num { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); letter-spacing: .12em; }
.value-card .vc-icon { width: 46px; height: 46px; color: var(--cyan); margin: 22px 0 20px; }
.value-card .vc-icon svg { width: 100%; height: 100%; stroke-width: 1.4; }
.value-card h4 { font-size: 19px; text-transform: uppercase; margin-bottom: 12px; }
.value-card p { font-size: 14.5px; color: var(--steel-2); line-height: 1.6; }
.value-card::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.value-card:hover::after { transform: scaleX(1); }

/* ============================================================
   EXCEL GRID (How We Excel)
   ============================================================ */
.excel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.excel-card {
  background: var(--graphite-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 40px 34px;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
  position: relative; overflow: hidden;
}
.excel-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(31,216,230,.08), transparent 55%); opacity: 0; transition: opacity .4s; }
.excel-card:hover { transform: translateY(-6px); border-color: var(--graphite-4); background: var(--graphite-3); }
.excel-card:hover::before { opacity: 1; }
.excel-icon { width: 54px; height: 54px; border-radius: var(--radius); background: var(--graphite-3); border: 1px solid var(--line); display: grid; place-items: center; color: var(--cyan); margin-bottom: 26px; transition: background .4s, color .4s; }
.excel-card:hover .excel-icon { background: var(--cyan); color: var(--ink); }
.excel-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.excel-card h4 { font-size: 20px; text-transform: uppercase; margin-bottom: 12px; }
.excel-card p { font-size: 15px; color: var(--steel-2); line-height: 1.62; }

/* ============================================================
   SERVICE SHOWCASE CARDS
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.svc-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; box-shadow: var(--shadow); isolation: isolate; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,10,13,.94) 6%, rgba(8,10,13,.5) 48%, rgba(8,10,13,.15) 100%); transition: background .4s; }
.svc-card:hover img { transform: scale(1.07); }
.svc-card:hover::after { background: linear-gradient(0deg, rgba(3,40,44,.95) 6%, rgba(8,10,13,.45) 55%, rgba(8,10,13,.1) 100%); }
.svc-body { padding: 34px 32px; width: 100%; }
.svc-body .num { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); letter-spacing: .15em; }
.svc-body h3 { font-size: 25px; text-transform: uppercase; margin: 14px 0 12px; }
.svc-body p { font-size: 14.5px; color: var(--fog); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.svc-card:hover .svc-body p { max-height: 120px; opacity: 1; margin-bottom: 18px; }
.svc-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.svc-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-link svg { transform: translateX(5px); }

/* ============================================================
   STATS
   ============================================================ */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px,3vw,40px); }
.stat { border-left: 2px solid var(--line); padding-left: 24px; }
.stat .stat-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px,5vw,64px); color: var(--white); line-height: 1; letter-spacing: -.02em; }
.stat .stat-num .u { color: var(--cyan); }
.stat .stat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-top: 14px; }
.section--light .stat .stat-num { color: var(--paper-ink); }

/* ============================================================
   METHOD GRID (NDT)
   ============================================================ */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.method-card { background: var(--graphite-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 34px 30px; transition: transform .5s var(--ease), border-color .4s; position: relative; }
.method-card:hover { transform: translateY(-5px); border-color: var(--cyan); }
.method-card .m-code { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--cyan); }
.method-card .m-icon { width: 50px; height: 50px; color: var(--cyan); margin: 18px 0 18px; }
.method-card .m-icon svg { width: 100%; height: 100%; stroke-width: 1.3; }
.method-card h4 { font-size: 19px; text-transform: uppercase; margin-bottom: 12px; }
.method-card p { font-size: 14.5px; color: var(--steel-2); line-height: 1.6; }
.method-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
.method-card.featured .mc-text { padding: 38px 34px; }
.method-card.featured .mc-media { position: relative; min-height: 280px; }
.method-card.featured .mc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   QUALIFICATIONS / BRAND CHIPS
   ============================================================ */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.logo-grid--6 { grid-template-columns: repeat(6, 1fr); }
.logo-grid--4 { grid-template-columns: repeat(4, 1fr); }
.logo-chip {
  background: #e9edf0; border-radius: var(--radius); height: 118px;
  display: grid; place-items: center; padding: 20px; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s; position: relative;
}
.logo-chip img { max-height: 60px; max-width: 82%; width: auto; height: auto; object-fit: contain; }
a.logo-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow-cyan); }
.logo-chip .badge { position: absolute; top: 10px; right: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--cyan-deep); }
.cert-tile {
  background: var(--graphite-2); border: 1px solid var(--line); border-radius: var(--radius);
  height: 118px; display: grid; place-items: center; gap: 4px; text-align: center;
  font-family: var(--font-display); font-weight: 800; color: var(--white); padding: 16px; transition: border-color .4s, transform .4s var(--ease);
}
.cert-tile:hover { border-color: var(--cyan); transform: translateY(-4px); }
.cert-tile .ct-big { font-size: 22px; letter-spacing: .02em; color: var(--cyan); }
.cert-tile .ct-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--steel-2); font-weight: 400; }
.cert-tile--slim { height: auto; background: transparent; border: none; padding: 4px 10px; }
.cert-tile--slim:hover { transform: none; }
.cert-tile--slim .ct-big { font-size: 18px; }
.cert-tile--slim .ct-sub { font-size: 10px; }
.cred-card { background: #fff; border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; min-height: 150px; box-shadow: 0 12px 26px rgba(0,0,0,.34); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cred-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(0,0,0,.45); }
.cred-logo { height: 112px; width: auto; max-width: 100%; object-fit: contain; display: block; }
.cred-rect { background: linear-gradient(180deg, #2c87c7, #15659f); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .02em; line-height: 1; padding: 13px 20px; border-radius: 10px; white-space: nowrap; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 10px rgba(21,101,159,.3); }
.cred-cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: #15659f; font-weight: 700; text-align: center; }
@media (max-width: 760px) { .cred-logo { height: 96px; } .cred-logo--wide { height: auto; max-height: 88px; } .cred-logo--seal { height: 92px; } .cred-logo--tall { height: 100px; } .cred-card { min-height: 132px; } }

/* ============================================================
   POSTS / BLOG
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { background: var(--graphite-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.post-card:hover { transform: translateY(-6px); border-color: var(--graphite-4); }
.post-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-cat { position: absolute; top: 16px; left: 16px; background: rgba(11,14,17,.82); border: 1px solid var(--line); border-left: 3px solid var(--cyan); padding: 7px 13px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.post-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--steel); letter-spacing: .08em; }
.post-body h3 { font-size: 21px; line-height: 1.15; text-transform: none; letter-spacing: -.01em; }
.post-body p { font-size: 14.5px; color: var(--steel-2); flex: 1; }
.post-body .text-link { margin-top: 4px; }
.post-card.featured { grid-column: span 2; flex-direction: row; }
.post-card.featured .post-media { aspect-ratio: auto; flex: 1; min-height: 340px; }
.post-card.featured .post-body { flex: 1; justify-content: center; padding: 44px; }
.post-card.featured .post-body h3 { font-size: 30px; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 14px; max-width: 920px; }
.faq-item { background: var(--graphite-2); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: border-color .4s; }
.faq-item.open { border-color: var(--cyan); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: 26px 30px; }
.faq-q span { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px,1.8vw,21px); color: var(--white); text-transform: uppercase; letter-spacing: -.005em; }
.faq-q .ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--cyan); transition: background .3s, transform .4s var(--ease); }
.faq-item.open .faq-q .ic { background: var(--cyan); color: var(--ink); transform: rotate(135deg); }
.faq-q .ic svg { width: 16px; height: 16px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a div { padding: 0 30px 28px; color: var(--steel-2); font-size: 15.5px; line-height: 1.66; max-width: 74ch; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 2; }
.cta-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-inner h2 { font-size: clamp(30px,4.6vw,62px); text-transform: uppercase; }
.cta-inner p { color: var(--steel-2); margin-top: 18px; max-width: 56ch; }
.cta-glow { position: absolute; z-index: 0; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(31,216,230,.16), transparent 62%); top: -40%; right: -8%; filter: blur(20px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; background: var(--ink); color: var(--fog); overflow: hidden; }
.footer-bg { position: absolute; inset: 0; z-index: 0; opacity: .5; display: flex; justify-content: flex-end; align-items: center; pointer-events: none; }
.footer-bg img { width: auto; height: 116%; max-width: 46%; object-fit: contain; object-position: right center; margin-right: -1%; }
.footer::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(13,16,20,.96) 38%, rgba(13,16,20,.78) 70%, rgba(13,16,20,.66) 100%); }
.footer .container { position: relative; z-index: 2; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-block: clamp(56px,7vw,90px); }
.footer-brand img { height: 78px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--steel-2); font-size: 14.5px; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--fog); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--cyan); color: var(--ink); border-color: var(--cyan); transform: translateY(-3px); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col .fc-line { font-size: 14.5px; color: var(--steel-2); transition: color .25s; display: inline-flex; gap: 10px; align-items: flex-start; }
.footer-col a:hover { color: var(--cyan); }
.footer-col .fc-line svg { width: 16px; height: 16px; color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid var(--line-soft); padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-size: 13px; color: var(--steel); font-family: var(--font-mono); letter-spacing: .04em; }
.footer-bottom a:hover { color: var(--cyan); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px,5vw,72px); align-items: start; }
.info-card { display: flex; gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line-soft); }
.info-card .ic-icon { width: 50px; height: 50px; flex-shrink: 0; border-radius: var(--radius); background: var(--graphite-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--cyan); }
.info-card .ic-icon svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 13px; font-family: var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; font-weight: 400; }
.info-card a, .info-card p { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--white); }
.info-card a:hover { color: var(--cyan); }
.form-card { background: var(--graphite-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px,4vw,46px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--graphite); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 16px; color: var(--white); font-family: var(--font-body); font-size: 15.5px; transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(31,216,230,.14); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-family: var(--font-mono); font-size: 12px; color: var(--steel); margin-top: 6px; }

/* map */
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 460px; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   ARTICLE / PROSE (blog posts)
   ============================================================ */
.article-hero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; padding-bottom: clamp(36px,5vw,64px); }
.article-hero .hero-bg img { height: 130%; }
.article-hero .hero-content { padding-top: 130px; max-width: 900px; }
.article-hero h1 { font-size: clamp(30px,4.4vw,56px); text-transform: none; letter-spacing: -.015em; line-height: 1.06; max-width: 20ch; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); margin-top: 22px; }
.article-meta .cat { color: var(--cyan); }
.article-meta .dot { color: var(--line); }
.prose { max-width: 760px; }
.prose > p:first-of-type { font-size: 20px; color: var(--fog); line-height: 1.6; }
.prose p { font-size: 17px; color: var(--steel-2); line-height: 1.75; margin-bottom: 22px; }
.prose h2 { font-size: clamp(23px,2.8vw,32px); color: var(--white); text-transform: uppercase; letter-spacing: -.01em; margin: 46px 0 18px; }
.prose h3 { font-size: 20px; color: var(--white); margin: 32px 0 12px; }
.prose ul { margin: 0 0 24px; display: flex; flex-direction: column; gap: 13px; }
.prose ul li { position: relative; padding-left: 28px; color: var(--steel-2); font-size: 16.5px; line-height: 1.62; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 9px; height: 9px; background: var(--cyan); transform: rotate(45deg); }
.prose strong { color: var(--white); font-weight: 600; }
.prose .callout { border-left: 3px solid var(--cyan); background: var(--graphite-2); padding: 24px 28px; margin: 30px 0; border-radius: 0 var(--radius) var(--radius) 0; }
.prose .callout p { margin: 0; color: var(--fog); font-size: 16.5px; }
.prose .callout .co-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 10px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(36px,5vw,72px); align-items: start; }
.article-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--graphite-2); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; }
.side-card h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.side-card ul { display: flex; flex-direction: column; gap: 12px; }
.side-card ul li a { font-size: 14.5px; color: var(--steel-2); display: flex; gap: 10px; align-items: flex-start; transition: color .25s; }
.side-card ul li a:hover { color: var(--cyan); }
.side-card ul li a svg { width: 15px; height: 15px; color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.article-back { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 30px; }
.article-back svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; } .article-side { position: static; flex-direction: row; flex-wrap: wrap; } .side-card { flex: 1; min-width: 240px; } }

/* ============================================================
   TEAM
   ============================================================ */
.team-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px,5vw,72px); align-items: center; }
.team-split .lead { color: var(--steel-2); }
.team-split p { color: var(--steel-2); margin-top: 18px; }
.team-sign { margin-top: 30px; display: flex; align-items: center; gap: 18px; }
.team-sign .ts-name { font-family: var(--font-display); font-weight: 800; color: var(--white); text-transform: uppercase; }
.team-sign .ts-role { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); letter-spacing: .1em; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
  .scroll-cue .line { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-menu, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .excel-grid, .svc-grid, .method-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .post-card.featured, .method-card.featured { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .logo-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .split, .contact-grid, .team-split, .cta-inner { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .team-split .team-media { order: -1; }
  .value-grid, .excel-grid, .svc-grid, .svc-grid--2, .method-grid, .post-grid, .post-grid--2 { grid-template-columns: 1fr; }
  .method-card.featured { grid-template-columns: 1fr; grid-column: span 1; }
  .post-card.featured { grid-column: span 1; flex-direction: column; }
  .post-card.featured .post-media { min-height: 220px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-label { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
  .logo-grid, .logo-grid--6, .logo-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-inner { gap: 28px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero-strip { gap: 14px 24px; }
}

/* ============================================================
   BLUEPRINT MOTIF  (the "brake system" hoisting diagram, as a
   subtle watermark behind dark sections — mirrors the footer)
   ============================================================ */
.section--blueprint { position: relative; overflow: hidden; }
.section--blueprint::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("../images/hoisting-diagram-blueprint.webp") no-repeat;
  background-position: right -28px center;
  background-size: auto 132%;
  opacity: .12;
}
.section--blueprint > .container,
.section--blueprint > .cta-glow { position: relative; z-index: 2; }
@media (max-width: 760px) {
  .section--blueprint::after { background-position: right -120px center; opacity: .08; }
}

/* ============================================================
   ORANGE ACCENT  (#f4832d) — secondary accent woven through the
   small recurring "tick" marks site-wide; cyan stays the brand
   ============================================================ */
.eyebrow::before { background: var(--orange); }
.section--light .eyebrow::before { background: var(--orange-deep); }
.hero-strip span::before { background: var(--orange); }
.value-card::after { background: var(--orange); }
.stat .stat-num .u { color: var(--orange); }
.media-tag { border-left-color: var(--orange); }
.post-cat { border-left-color: var(--orange); }
.crumb { color: var(--orange); }
/* credential cards: one shared row height, one uniform logo box, captions on a common baseline */
.cert-grid, .logo-grid { align-items: stretch; }
.cred-card { height: 100%; justify-content: flex-start; gap: 12px; }
.cred-logo, .cred-logo--wide, .cred-logo--seal, .cred-logo--tall { height: 94px; width: 100%; max-width: 100%; object-fit: contain; }
.cred-card .cred-cap { margin-top: auto; }
@media (max-width: 760px) {
  .cred-logo, .cred-logo--wide, .cred-logo--seal, .cred-logo--tall { height: 82px; }
}
/* hero: strip participates in flow so content always clears it, whatever it wraps to */
.hero { flex-direction: column; align-items: stretch; }
.hero-content { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.hero-strip { position: static; flex: 0 0 auto; }
.scroll-cue { display: none; }
@media (max-height: 760px) {
  .hero-logo { width: min(400px, 62vw); }
  .hero-tagline { margin-top: 14px; }
  .hero-actions { margin-top: 24px; }
}
@media (max-height: 600px) {
  .hero { min-height: auto; padding: 120px 0 0; }
  .hero-logo { width: min(320px, 54vw); }
}
/* index / code marks that repeat across pages */
.svc-body .num { color: var(--orange); }
.value-card .vc-num { color: var(--orange); }
.method-card .m-code { color: var(--orange); }
.scroll-cue .line { background: linear-gradient(var(--orange), transparent); }
/* warm the CTA-band glow with an orange core fading into cyan */
.cta-glow { background: radial-gradient(circle, rgba(244,131,45,.18), rgba(31,216,230,.07) 46%, transparent 64%); }

/* fail-safe: content never stays hidden if scripts are slow or blocked */
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.reveal:not(.in) { animation: revealFallback .6s ease 2.5s forwards; }
.hero, .page-hero, .article-hero { background: var(--graphite, #14181d); }

/* Launch prep: index H1 wrapper + screen-reader text */
.hero-h1 { margin: 0; font-size: inherit; line-height: 1; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html { overflow-x: clip; }
