/* ═══════════════════════════════════════════════════════════
   CLEAN AIR SOLUTIONS — Design System v1.0
   Engineering Drawing Sheet aesthetic
   Shared across all 7 pages
   ═══════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ──────────────────────────────────────────
   Barlow Condensed  — headers, nav, callouts (engineering stencil feel)
   Barlow            — body copy (readable, technical)
   JetBrains Mono    — codes, standards, dimensions, annotations
   ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Barlow+Condensed:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand greens */
  --c-green-950: #071A0E;
  --c-green-900: #0E3320;
  --c-green-800: #1A5C36;
  --c-green-700: #2B7A45;
  --c-green-600: #3D9455;
  --c-green-500: #6DB87A;
  --c-green-300: #A8D5B5;
  --c-green-200: #C8EDD0;
  --c-green-100: #E0F4E6;
  --c-green-50: #EAF3DE;

  /* Teal / dark surface */
  --c-teal-900: #0A2B22;
  --c-teal-800: #1F4D3B;
  --c-teal-700: #2A6652;

  /* Neutral Tokens */
  --c-paper: #F5F4EF;
  --c-paper-2: #ECEAE3;
  --c-paper-3: #E0DED6;
  --c-ink: #10140F;
  --c-ink-2: #2C3028;
  --c-ink-3: #4A4E44;
  --c-ink-4: #6E7266;
  --c-ink-5: #9A9E92;
  --c-white: #FFFFFF;

  /* Grid / rule lines */
  --c-grid: rgba(43, 122, 69, 0.10);
  --c-grid-sm: rgba(43, 122, 69, 0.05);
  --c-rule: rgba(43, 122, 69, 0.20);
  --c-border: rgba(43, 122, 69, 0.18);
  --c-border-strong: rgba(43, 122, 69, 0.35);

  /* Dark surface tokens (nav, footer, dark sections) */
  --c-dark-bg: #0A1A0F;
  --c-dark-surf: #122418;
  --c-dark-rule: rgba(109, 184, 122, 0.12);
  --c-dark-text: #D4EDDA;
  --c-dark-muted: #7AAF8A;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 68px;

  /* Radius */
  --r-sm: 3px;
  --r-md: 6px;
  --r-lg: 12px;

  /* Transitions */
  --t-fast: 140ms ease;
  --t-mid: 260ms ease;
  --t-slow: 420ms ease;
}

/* Dark theme removed — not applied */

/* ── RESET ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--c-paper);
  color: var(--c-ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: crosshair;
}

/* ── INTERACTIVE ELEMENT CURSORS ──
   Restore pointer on all clickable elements.
   The crosshair stays on background/body areas only. */
a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
select,
label[for],
.btn,
.svc-anchor-btn,
.svc-jump-pill,
.expand-btn,
.proj-filter-btn,
.proj-gallery-prev,
.proj-gallery-next,
.proj-gallery-dot,
.value-acc-header,
.tag-pill,
.contact-quick-link,
.nav-toggle,
.nav-links a {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}


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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── ENGINEERING GRID BACKGROUNDS ─────────────────────────── */
/* Large grid — used on hero and dark sections */
.bg-grid {
  background-image:
    linear-gradient(var(--c-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-grid) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Small grid — used on light sections */
.bg-grid-sm {
  background-image:
    linear-gradient(var(--c-grid-sm) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-grid-sm) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Dark hero grid */
.bg-grid-dark {
  background-image:
    linear-gradient(rgba(109, 184, 122, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 184, 122, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* Dot grid */
.bg-dots {
  background-image: radial-gradient(circle, rgba(43, 122, 69, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ── LAYOUT UTILITIES ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-7);
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--sp-7);
}

.section {
  padding: var(--sp-10) 0;
}

.section-sm {
  padding: var(--sp-8) 0;
}

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav,
.cas-site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(8, 18, 11, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(109, 184, 122, 0.15);
  display: flex;
  align-items: center;
}

.nav-inner,
.cas-nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-7);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Component nav logo / brand elements */
.cas-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.cas-nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 4px;
}

.cas-nav-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-white);
  text-transform: uppercase;
}

.cas-nav-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--c-green-500);
  text-transform: uppercase;
}

/* Component CTA button in nav */
.cas-nav-cta {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  color: var(--c-green-900) !important;
  background: var(--c-green-500) !important;
  padding: 8px 20px !important;
  border-radius: var(--r-sm) !important;
  transition: background var(--t-fast) !important;
}

.cas-nav-cta::after {
  display: none !important;
}

.cas-nav-cta:hover {
  background: var(--c-green-400, #82c98e) !important;
  color: var(--c-green-900) !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}

.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-white);
  text-transform: uppercase;
}

.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--c-green-500);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.10em;
  color: var(--c-dark-muted);
  text-transform: uppercase;
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--c-green-500);
  transition: right var(--t-mid);
}

.nav-links a:hover {
  color: var(--c-white);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-links a.active {
  color: var(--c-green-500);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green-900) !important;
  background: var(--c-green-500);
  padding: 8px 20px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), transform var(--t-fast) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--c-green-400, #82c98e) !important;
  transform: translateY(-1px);
  color: var(--c-green-900) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-dark-muted);
  transition: var(--t-mid);
}

/* ── DRAWING CALLOUT LABEL ─────────────────────────────────── */
/* The triangle+label used as section markers — like drawing callouts */
.callout-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.callout-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green-500);
  flex-shrink: 0;
}

.callout-label-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green-700);
}

.callout-label-text.light {
  color: var(--c-green-500);
}

.callout-label-line {
  flex: 1;
  height: 1px;
  background: var(--c-border);
  max-width: 48px;
}

/* ── SECTION TITLES ────────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

.section-title.light {
  color: var(--c-white);
}

.section-title span {
  color: var(--c-green-700);
}

.section-title span.light-accent {
  color: var(--c-green-500);
}

.section-sub {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--c-ink-3);
  max-width: 600px;
  margin-top: var(--sp-4);
}

.section-sub.light {
  color: var(--c-dark-muted);
}

/* ── TITLE BLOCK ───────────────────────────────────────────── */
/* Engineering drawing title block — used in section headers */
.title-block {
  border: 1px solid var(--c-border-strong);
  display: inline-block;
  padding: 6px 16px 6px 12px;
  position: relative;
  margin-bottom: var(--sp-5);
}

.title-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-green-700);
}

.title-block-ref {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--c-ink-4);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.title-block-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  transition: all var(--t-mid);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--c-green-700);
  color: var(--c-white);
  border: 1px solid var(--c-green-700);
}

.btn-primary:hover {
  background: var(--c-green-600);
  border-color: var(--c-green-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 122, 69, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--c-green-500);
  border: 1px solid rgba(109, 184, 122, 0.4);
}

.btn-outline:hover {
  background: rgba(109, 184, 122, 0.08);
  border-color: var(--c-green-500);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-border-strong);
}

.btn-outline-dark:hover {
  background: var(--c-green-50);
  border-color: var(--c-green-700);
  color: var(--c-green-800);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--t-fast);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ── STAT / DIMENSION ANNOTATION ──────────────────────────── */
/* Looks like an engineering dimension callout */
.stat-block {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: var(--sp-4);
}

.stat-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--c-green-500);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-green-700);
  letter-spacing: -0.02em;
}

.stat-number.light {
  color: var(--c-green-500);
}

.stat-unit {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-green-700);
}

.stat-unit.light {
  color: var(--c-green-500);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--c-ink-4);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.stat-label.light {
  color: var(--c-dark-muted);
}

/* ── SERVICE CARD ──────────────────────────────────────────── */
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-mid), transform var(--t-mid), box-shadow var(--t-mid);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid);
}

.service-card:hover {
  border-color: var(--c-green-500);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 168, 150, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-ref {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--c-ink-5);
  text-transform: uppercase;
}

.service-card-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green-700);
  font-size: 18px;
  flex-shrink: 0;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  line-height: 1.2;
}

.service-card-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-ink-3);
  flex: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  background: var(--c-green-50);
  color: var(--c-green-800);
  border: 1px solid var(--c-green-200);
  border-radius: 2px;
  text-transform: uppercase;
}

.service-card-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-green-700);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast);
  margin-top: auto;
}

.service-card-link::after {
  content: '→';
}

.service-card:hover .service-card-link {
  gap: 10px;
}

/* ── SECTOR CHIP ───────────────────────────────────────────── */
.sector-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background: var(--c-white);
  text-align: center;
  transition: all var(--t-mid);
  cursor: default;
}

.sector-chip:hover {
  border-color: var(--c-green-500);
  background: var(--c-green-50);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 168, 150, 0.3);
}

.sector-chip-icon {
  font-size: 24px;
  line-height: 1;
}

.sector-chip-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}

/* ── FOOTER (ENGINEERING TITLE BLOCK) ─────────────────────── */
.footer {
  background: var(--c-dark-bg);
  padding: var(--sp-6) 0 var(--sp-7);
  position: relative;
  font-family: var(--font-mono);
  overflow: hidden;
}

.footer-section-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  opacity: 0.6;
}

.fsb-line {
  flex-grow: 1;
  height: 2px;
  background: var(--c-green-500);
}

.fsb-text {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--c-green-500);
}

.title-block {
  width: 100%;
  border: 2px solid var(--c-green-500);
  background: rgba(109, 184, 122, 0.03);
  display: flex;
  flex-direction: column;
}

.tbl-row {
  display: flex;
  width: 100%;
  border-bottom: 1px solid var(--c-green-500);
}

.tbl-row:last-child {
  border-bottom: none;
}

.tbl-cell {
  border-right: 1px solid var(--c-green-500);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tbl-cell:last-child {
  border-right: none;
}

/* Row sizing & Grids */
.tbl-row--header { 
  min-height: 80px; 
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 3fr);
}
.tbl-row--body { 
  min-height: 160px; 
  display: grid; 
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 3fr); 
}
.tbl-row--footer { 
  min-height: 48px; 
  display: grid; 
  grid-template-columns: repeat(6, minmax(0, 1fr)); 
}

/* Column sizing */
.tbl-col-logo { align-items: center; justify-content: center; text-align: center; }

/* Typography inside title block */
.tbl-label {
  font-size: 10px;
  color: var(--c-green-600);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-1);
  text-transform: uppercase;
}

.tbl-value {
  font-size: 13px;
  color: var(--c-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tbl-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-white);
  text-transform: uppercase;
  margin-top: var(--sp-2);
}

.tbl-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-top: var(--sp-1);
}

.tbl-links a {
  font-size: 11px;
  color: var(--c-dark-text);
  letter-spacing: 0.05em;
  transition: color var(--t-fast);
}

.tbl-links a:hover {
  color: var(--c-green-500);
}

.tbl-coord {
  font-size: 14px;
  color: var(--c-green-300);
  margin-top: var(--sp-1);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.05em;
}

.tbl-address {
  font-size: 11px;
  color: var(--c-dark-text);
  line-height: 1.5;
  margin-bottom: var(--sp-2);
  max-width: 250px;
}

.tbl-mail {
  font-size: 12px;
  color: var(--c-green-500);
  transition: opacity var(--t-fast);
}

.tbl-mail:hover {
  opacity: 0.8;
}

.tbl-row--footer .tbl-cell {
  flex: 1;
  justify-content: center;
}

.tbl-row--footer .tbl-value {
  font-weight: 500;
}

@media (max-width: 800px) {
  .tbl-row {
    flex-direction: column;
  }
  .tbl-row--body, .tbl-row--footer {
    grid-template-columns: 1fr;
  }
  .tbl-cell {
    width: 100% !important;
    border-right: none;
    border-bottom: 1px solid var(--c-green-500);
  }
  .tbl-cell:last-child {
    border-bottom: none;
  }
}

/* ── PAGE HERO (inner pages) ───────────────────────────────── */
.page-hero {
  background: var(--c-dark-bg);
  padding: calc(var(--nav-h) + var(--sp-9)) 0 var(--sp-9);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--c-dark-rule);
}

.page-hero-ref {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-green-500);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.0;
  color: var(--c-white);
}

.page-hero-title span {
  color: var(--c-green-500);
}

.page-hero-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--c-dark-muted);
  margin-top: var(--sp-4);
  max-width: 560px;
  line-height: 1.65;
}

/* ── CORNER MARKS ──────────────────────────────────────────── */
/* Engineering drawing corner registration marks */
.corner-marks {
  position: absolute;
  inset: 12px;
  pointer-events: none;
}

.corner-marks::before,
.corner-marks::after,
.corner-marks>span::before,
.corner-marks>span::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(109, 184, 122, 0.25);
  border-style: solid;
}

.corner-marks::before {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.corner-marks::after {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.corner-marks>span::before {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

.corner-marks>span::after {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

/* ── DIVIDER ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--c-border);
  width: 100%;
}

.divider-green {
  height: 2px;
  background: linear-gradient(90deg, var(--c-green-700), transparent);
  width: 100%;
}

/* ── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--c-dark-muted);
  margin-bottom: var(--sp-5);
}

.breadcrumb a:hover {
  color: var(--c-green-500);
}

.breadcrumb-sep {
  color: var(--c-green-700);
  opacity: 0.5;
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scanline {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(100vh);
  }
}

.anim-fade-up {
  animation: fadeUp 0.7s ease both;
}

.anim-delay-1 {
  animation-delay: 0.1s;
}

.anim-delay-2 {
  animation-delay: 0.2s;
}

.anim-delay-3 {
  animation-delay: 0.3s;
}

.anim-delay-4 {
  animation-delay: 0.4s;
}

.anim-delay-5 {
  animation-delay: 0.5s;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--sp-6);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-6);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 60px;
  }

  .container {
    padding: 0 var(--sp-5);
  }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(8, 18, 11, 0.98);
    padding: var(--sp-6);
    gap: var(--sp-5);
    border-bottom: 1px solid var(--c-dark-rule);
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: var(--sp-8) 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-3);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--sp-4);
  }
}

/* ── ACTIVE NAV STATE ──────────────────────────────────────── */
.nav-links a[data-page].active {
  color: var(--c-green-500);
}

/* ════════════════════════════════════════════════
   FINAL ADDITIONS — clean consolidated overrides
   ════════════════════════════════════════════════ */

/* ── Nav logo icon — transparent PNG, tight lockup ── */
.nav-logo {
  gap: 10px;
}

.nav-logo-icon {
  height: 48px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: screen;
  filter: brightness(1.2) saturate(1.1);
  margin-right: 8px;
}

.nav-logo-name {
  font-size: 15px;
  letter-spacing: 0.10em;
}

.nav-logo-tag {
  font-size: 9px;
  letter-spacing: 0.10em;
}

/* ── Footer logo — multiply removes light bg on light surface ── */
.footer .nav-logo-icon,
.footer img {
  mix-blend-mode: multiply;
}

/* ── Stats bar — larger numbers ── */
.stat-number {
  font-size: 72px;
}

.stat-label {
  font-size: 15px;
  color: var(--c-ink-3);
}

/* ── Body copy — more readable ── */
.section-sub,
.page-hero-sub {
  font-size: 18px;
  line-height: 1.75;
}

.hero-sub {
  font-size: 19px;
}

/* ── Service card illustrations ── */
.service-card-illus {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-green-50);
  border-radius: var(--r-sm);
  color: var(--c-green-700);
  overflow: hidden;
  margin-bottom: var(--sp-3);
}

.service-card-illus svg {
  width: 100%;
  height: 100%;
  padding: 8px 16px;
}

.service-card:hover .service-card-illus {
  background: var(--c-green-100);
}

.service-card-body {
  font-size: 15px;
  line-height: 1.7;
}

.service-card-title {
  font-size: 21px;
}

/* ── Sector SVG icons ── */
.sector-chip-icon-svg {
  width: 36px;
  height: 36px;
  color: var(--c-green-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-chip-icon-svg svg {
  width: 100%;
  height: 100%;
}

.sector-chip:hover .sector-chip-icon-svg {
  color: var(--c-green-800);
}

.sector-chip-name {
  font-size: 13px;
}

/* ── Sectors full page SVG icons ── */
.sector-card-icon-svg {
  width: 48px;
  height: 48px;
  color: var(--c-green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sector-card-icon-svg svg {
  width: 100%;
  height: 100%;
}

.sector-card:hover .sector-card-icon-svg {
  color: var(--c-green-800);
}

.sector-card-body {
  font-size: 15px;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
════════════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ════════════════════════════════════════════
   LIVE PROJECT TICKER (below nav)
════════════════════════════════════════════ */
.cas-ticker {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 999;
  height: 26px;
  background: rgba(8, 18, 11, 0.88);
  border-bottom: 1px solid rgba(109, 184, 122, 0.12);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.cas-ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: cas-ticker-scroll 40s linear infinite;
  will-change: transform;
}

.cas-ticker-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: var(--c-ink-5);
  padding: 0 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cas-ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-green-600);
  flex-shrink: 0;
  animation: cas-ticker-pulse 2s ease-in-out infinite;
}

.cas-ticker-status {
  color: var(--c-green-500);
  font-weight: 500;
}

@keyframes cas-ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes cas-ticker-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

/* push hero down by ticker height */
.hero {
  padding-top: calc(68px + 26px);
}


/* ════════════════════════════════════════════
   COUNT-UP ANIMATION (stats bar)
════════════════════════════════════════════ */
.cas-count {
  display: inline-block;
  transition: color 0.3s;
}

.cas-count.is-counting {
  color: var(--c-green-500);
}


/* ════════════════════════════════════════════
   STANDARDS MARQUEE STRIP
════════════════════════════════════════════ */
.cas-standards-strip {
  background: var(--c-green-950);
  border-top: 1px solid rgba(109, 184, 122, 0.15);
  border-bottom: 1px solid rgba(109, 184, 122, 0.15);
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 0;
}

.cas-standards-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green-700);
  padding: 0 24px 0 32px;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 1px solid rgba(109, 184, 122, 0.18);
  height: 100%;
  display: flex;
  align-items: center;
}

.cas-standards-marquee {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.cas-standards-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: cas-std-scroll 28s linear infinite;
  will-change: transform;
}

.cas-std-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--c-green-300);
  padding: 0 28px;
  border-right: 1px solid rgba(109, 184, 122, 0.12);
  white-space: nowrap;
  height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

.cas-std-item:hover {
  color: var(--c-green-500);
}

@keyframes cas-std-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ════════════════════════════════════════════
   CONTACT PAGE ENHANCEMENTS
════════════════════════════════════════════ */
/* Floating Labels */
.floating-group {
  position: relative;
  margin-bottom: var(--sp-6);
  padding-top: 14px; /* Space for the floating label */
}

.floating-input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid var(--c-border-strong);
  padding: 12px 14px;
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  width: 100%;
}

.floating-label {
  position: absolute;
  top: 26px; /* Initial centered position */
  left: 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--c-ink-4);
  pointer-events: none;
  transition: all 0.2s ease-out;
  background-color: transparent;
  text-transform: none;
  letter-spacing: normal;
}

/* Float label on focus or when NOT empty */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
  top: 0px;
  left: 10px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-green-700);
  background-color: var(--c-white);
  padding: 0 6px;
  border-radius: 2px;
}

/* Special bottom animated line on focus */
.input-focus-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--c-green-600);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 2;
  pointer-events: none;
}

.floating-input:focus ~ .input-focus-line {
  width: 100%;
  left: 0;
}

/* Map Pulse Animation */
@keyframes map-pulse {
  0% { r: 6; opacity: 0.8; stroke-width: 2; }
  100% { r: 30; opacity: 0; stroke-width: 0.5; }
}
.pulse-ring {
  animation: map-pulse 2s infinite ease-out;
  transform-origin: center;
}

/* ════════════════════════════════════════════
   ABOUT PAGE ENHANCEMENTS
════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Timeline Tracker */
.timeline-progress {
  height: 0%;
}
.timeline-node {
  box-shadow: 0 0 0 4px var(--c-paper);
}
.timeline-node.is-active {
  background-color: var(--c-green-500) !important;
  border-color: var(--c-green-500) !important;
}

/* How We Work 3D Cards */
.about-how-card {
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.about-how-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.about-how-card:hover::after {
  opacity: 1;
}
.about-how-card:hover {
  border-color: var(--c-green-500) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

/* Stats Cards */
.stats-card {
  padding: var(--sp-6);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.stats-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(26, 92, 54, 0.08);
  border-color: var(--c-green-500);
}

/* Values Accordion */
.values-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.value-acc-item {
  border: 1px solid var(--c-border);
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.value-acc-item.is-active {
  border-color: var(--c-green-500);
  box-shadow: 0 8px 32px rgba(26, 92, 54, 0.08);
}
.value-acc-header {
  width: 100%;
  text-align: left;
  padding: var(--sp-5) var(--sp-6);
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--c-ink);
  transition: color 0.3s;
}
.value-acc-header:hover {
  color: var(--c-green-600);
}
.value-head-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.value-icon {
  color: var(--c-green-500);
}
.value-toggle {
  color: var(--c-ink-4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}
.value-acc-item.is-active .value-toggle {
  transform: rotate(180deg);
  color: var(--c-green-500);
}
.value-acc-body {
  height: 0;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.value-body-content {
  padding: 0 var(--sp-6) var(--sp-6) calc(var(--sp-6) + 24px + var(--sp-4));
}
.value-acc-item.is-active .svg-draw-el {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: svgDraw 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

/* ════════════════════════════════════════════
   EPC PROCESS FLOW SECTION
════════════════════════════════════════════ */
.epc-flow-section {
  background: var(--c-paper);
  padding: var(--sp-9) 0;
  overflow: hidden;
}

.epc-flow-header {
  margin-bottom: var(--sp-7);
}

.epc-flow-track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: var(--sp-3);
}

.epc-flow-track::-webkit-scrollbar {
  display: none;
}

.epc-stage {
  flex: 0 0 auto;
  min-width: 160px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-5) var(--sp-4);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  border-radius: var(--r-md);
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}

.epc-stage:hover {
  border-color: var(--c-green-500);
  box-shadow: 0 6px 24px rgba(26, 92, 54, 0.10);
  transform: translateY(-3px);
}

/* arrow connector between stages */
.epc-stage+.epc-stage::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 1px;
  background: var(--c-border-strong);
  z-index: 1;
}

.epc-stage+.epc-stage::after {
  content: '›';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-green-500);
  font-size: 18px;
  line-height: 1;
  z-index: 2;
}

.epc-stage-num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--c-ink-5);
  margin-bottom: var(--sp-2);
}

.epc-stage-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--c-green-700);
  font-size: 18px;
  transition: background 0.2s;
}

.epc-stage:hover .epc-stage-icon {
  background: var(--c-green-200);
}

.epc-stage-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: var(--sp-2);
}

.epc-stage-desc {
  font-size: 11px;
  line-height: 1.5;
  color: var(--c-ink-5);
  text-align: center;
}

.epc-flow-gap {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-green-500);
  font-size: 20px;
}


/* ════════════════════════════════════════════
   SVG DIAGRAM TOOLTIPS (services.html)
════════════════════════════════════════════ */
.svg-tip-group {
  cursor: help;
}

.svg-tip-group:hover .svg-tip-bg {
  opacity: 1;
}

.svg-tip-bg {
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}


/* ════════════════════════════════════════════
   SVG SELF-DRAWING ANIMATION (services.html)
   stroke-dasharray / dashoffset technique
════════════════════════════════════════════ */

/* Hide all stroked elements before animation */
.svc-illus-box svg .svg-draw-el {
  stroke-dashoffset: var(--len, 1000);
  stroke-dasharray: var(--len, 1000);
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--d, 0s);
}

/* Text elements: fade in instead of draw */
.svc-illus-box svg text.svg-draw-el {
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: var(--d, 0s);
  stroke-dashoffset: 0 !important;
  stroke-dasharray: none !important;
}

/* Fill elements that also have stroke: hide fill initially */
.svc-illus-box svg .svg-draw-fill {
  fill-opacity: 0;
  transition: fill-opacity 0.6s ease;
  transition-delay: var(--d, 0s);
}

/* When drawn */
.svc-illus-box.svg-drawn svg .svg-draw-el {
  stroke-dashoffset: 0;
}

.svc-illus-box.svg-drawn svg text.svg-draw-el {
  opacity: 1;
}

.svc-illus-box.svg-drawn svg .svg-draw-fill {
  fill-opacity: 1;
}


/* ════════════════════════════════════════════
   SCROLL PROGRESS BAR
════════════════════════════════════════════ */
.cas-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-green-700), var(--c-green-500));
  z-index: 2000;
  transition: width 0.05s linear;
  pointer-events: none;
}


/* ════════════════════════════════════════════
   STICKY SERVICE JUMP NAV
════════════════════════════════════════════ */
.svc-jump-nav {
  position: sticky;
  top: 94px; /* nav (68px) + ticker (26px) */
  z-index: 990;
  background: rgba(245, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  padding: 0;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.svc-jump-nav::-webkit-scrollbar { display: none; }

.svc-jump-nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 var(--sp-5);
  min-height: 40px;
}

.svc-jump-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--c-ink-4);
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.svc-jump-pill:hover {
  color: var(--c-ink);
  background: var(--c-paper-2);
}

.svc-jump-pill.is-active {
  color: var(--c-green-800);
  background: var(--c-green-100);
  font-weight: 600;
}

.svc-jump-sep {
  width: 1px;
  height: 14px;
  background: var(--c-border);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   TAG PILL TOOLTIPS
════════════════════════════════════════════ */
.tag-pill {
  position: relative;
  cursor: help;
}

.tag-pill[data-def]::after {
  content: attr(data-def);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  max-width: 240px;
  white-space: normal;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}

.tag-pill[data-def]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 5px solid transparent;
  border-top-color: var(--c-ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}

.tag-pill[data-def]:hover::after,
.tag-pill[data-def]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ════════════════════════════════════════════
   MOUSE PARALLAX ON SVG DIAGRAMS
════════════════════════════════════════════ */
.svc-illus-box {
  will-change: transform;
  transition: transform 0.12s ease-out;
}


/* ════════════════════════════════════════════
   READ-TIME INDICATOR
════════════════════════════════════════════ */
.svc-read-time {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--c-ink-5);
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   EXPERTISE DEPTH BAR
════════════════════════════════════════════ */
.svc-depth-bar-wrap {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}

.svc-depth-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink-5);
  margin-bottom: var(--sp-3);
}

.svc-depth-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-2);
}

.svc-depth-row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--c-ink-4);
  width: 120px;
  flex-shrink: 0;
}

.svc-depth-track {
  flex: 1;
  height: 3px;
  background: var(--c-paper-3);
  border-radius: 2px;
  overflow: hidden;
}

.svc-depth-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-green-800), var(--c-green-500));
  width: 0%;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-depth-fill.is-visible {
  width: var(--depth, 80%);
}
/* ════════════════════════════════════════════
   THE CRITICAL PATH (EPC METHODOLOGY)
════════════════════════════════════════════ */
.critical-path-section { position: relative; overflow: hidden; }
.cp-timeline {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  position: relative;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.cp-central-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(109, 184, 122, 0.15); /* faint base line */
}
.cp-central-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%; /* updated by JS */
  background: var(--c-green-500);
  box-shadow: 0 0 15px var(--c-green-500);
  transition: height 0.1s ease-out;
}
.cp-node { display: contents; }
.cp-node-center {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  padding: 40px 0;
}
.cp-left .cp-content { grid-column: 1; padding-right: 48px; text-align: right; align-self: center; }
.cp-right .cp-content { grid-column: 3; padding-left: 48px; text-align: left; align-self: center; }

.cp-icon-svg {
  width: 38px; height: 38px;
  color: rgba(109, 184, 122, 0.2);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 0px var(--c-green-500));
}

/* Base inactive SVG path */
.cp-icon-svg path, .cp-icon-svg line, .cp-icon-svg rect, .cp-icon-svg circle, .cp-icon-svg polyline {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.6s ease;
}

/* Active State Triggered by JS */
.cp-node.is-active .cp-icon-svg {
  color: var(--c-green-500);
  filter: drop-shadow(0 0 12px rgba(109, 184, 122, 0.6));
}
.cp-node.is-active .cp-icon-svg path,
.cp-node.is-active .cp-icon-svg line,
.cp-node.is-active .cp-icon-svg rect,
.cp-node.is-active .cp-icon-svg circle,
.cp-node.is-active .cp-icon-svg polyline {
  stroke-dashoffset: 0;
}
.cp-node .cp-content {
  opacity: 0.2;
  transform: translateY(15px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.cp-node.is-active .cp-content {
  opacity: 1;
  transform: translateY(0);
}

.cp-stage-num {
  font-family: var(--font-mono); font-size: 14px;
  color: var(--c-green-500); margin-bottom: 8px;
}
.cp-stage-name {
  font-family: var(--font-condensed); font-size: 28px;
  text-transform: uppercase; color: var(--c-green-500);
  letter-spacing: 0.05em; margin-bottom: 8px;
}
.cp-stage-desc { font-size: 15px; color: var(--c-ink-4); line-height: 1.6; }

@media (max-width: 768px) {
  .cp-timeline { grid-template-columns: 48px 1fr; gap: 48px 0; padding: 0 16px; margin: 0 auto; }
  .cp-node { display: contents; }
  .cp-empty { display: none !important; }
  .cp-central-line { left: 40px; transform: none; }
  .cp-node-center { grid-column: 1; padding: 0; align-items: flex-start; justify-content: center; }
  .cp-icon-svg { margin-top: 4px; }
  .cp-left .cp-content, .cp-right .cp-content { grid-column: 2; padding-left: 24px; padding-right: 0; text-align: left; align-self: flex-start; }
  .cp-stage-name { font-size: 24px; }
}


/* ════════════════════════════════════════════
   CLIENT MARQUEE
════════════════════════════════════════════ */
.client-marquee-section {
  overflow: hidden;
  width: 100%;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* CSS gradient mask for smooth fade in/out at the edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
}

.marquee-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  padding-right: 32px;
  
  /* Blueprint hollow typography */
  color: transparent;
  -webkit-text-stroke: 1px var(--c-green-500);
  transition: color 0.4s ease, -webkit-text-stroke 0.4s ease;
  user-select: none;
  cursor: default;
}

/* Pause on hover and fill color */
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused !important;
}

.marquee-wrapper:hover .marquee-text {
  color: var(--c-green-500);
  -webkit-text-stroke: 1px transparent;
}

/* Animations */
.scroll-left {
  animation: scrollLeft 60s linear infinite;
}

.scroll-right {
  animation: scrollRight 60s linear infinite;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (max-width: 800px) {
  .marquee-text {
    font-size: 2rem;
  }
}