/* ============================================================
   WEI DESIGN SYSTEM — World Energy Innovations
   "Engineered. Installed. Verified."
   Colors, typography, spacing, and all components.
============================================================ */

/* ---- Custom Properties ---- */
:root {
  --navy:       #0A2540;
  --teal:       #00A8A8;
  --amber:      #F5A623;
  --off-white:  #F7F9FB;
  --gray-mid:   #5A6B7B;
  --charcoal:   #1A2533;
  --success:    #2E8B57;
  --white:      #FFFFFF;
  --navy-light: #0e3060;
  --teal-dark:  #007f7f;
  --gray-light: #e8ecf0;
  --gray-dark:  #3a4a5a;

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 4px rgba(10,37,64,.08);
  --shadow-md: 0 4px 16px rgba(10,37,64,.12);
  --shadow-lg: 0 8px 32px rgba(10,37,64,.16);
  --shadow-xl: 0 16px 48px rgba(10,37,64,.22);

  --transition: 150ms ease;
  --transition-base: 220ms ease;
  --transition-slow: 380ms ease;

  --max-width: 1280px;
  --header-h: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---- Typography ---- */
h1 { font-size: clamp(36px, 5vw, 68px); font-weight: 700; line-height: 1.1; color: var(--charcoal); }
h2 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 600; line-height: 1.2; color: var(--charcoal); }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.3; color: var(--charcoal); }
h4 { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--charcoal); }
p  { font-size: 17px; line-height: 1.7; color: var(--gray-mid); }
.small { font-size: 14px; font-weight: 500; }
.mono { font-family: var(--font-mono); font-size: 14px; }

/* ---- Layout helpers ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 128px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--sm { padding: 40px 0; }
  .section--lg { padding: 80px 0; }
}

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 16px; display: block;
}
.section-title { margin-bottom: 16px; }
.section-intro { font-size: 18px; max-width: 680px; color: var(--gray-mid); margin-bottom: 48px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 600; transition: var(--transition-base);
  white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--navy); color: var(--white);
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-teal {
  background: var(--teal); color: var(--navy);
}
.btn-teal:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

.btn-text {
  padding: 0; font-size: 15px; font-weight: 600; color: var(--teal);
}
.btn-text:hover { color: var(--teal-dark); }
.btn-text .arrow { transition: transform var(--transition); }
.btn-text:hover .arrow { transform: translateX(4px); }

/* ---- Header / Nav ---- */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}
#site-header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(10,37,64,.08), var(--shadow-sm);
}
#site-header.transparent { background: #ffffff; }
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
@media (max-width: 768px) { .header-inner { padding: 0 20px; } }

.header-logo { flex-shrink: 0; }
.logo-mark {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 800; color: var(--white);
  transition: color var(--transition);
}
#site-header.scrolled .logo-mark { color: var(--navy); }
.logo-mark .logo-icon {
  width: 38px; height: 38px; background: var(--teal); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: var(--navy);
}
.logo-mark .logo-icon-img {
  height: clamp(46px, 5vw, 62px); width: auto; max-width: 100%; display: block; flex-shrink: 0;
}
.footer-brand .logo-mark .logo-icon-img.footer-logo {
  height: clamp(38px, 4vw, 50px);
}
.logo-mark .logo-text { letter-spacing: -.02em; }
.logo-mark .logo-sub { font-size: 10px; font-weight: 500; opacity: .7; display: block; line-height: 1; }
.anniversary-lockup {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  min-height: 42px; margin-left: 4px; padding: 3px 0 3px 13px;
  border-left: 1px solid #C9D8DE; color: var(--navy); flex-shrink: 0;
  transition: transform .2s ease, border-color .2s ease;
}
.anniversary-lockup::after {
  content: ""; position: absolute; left: 13px; right: 0; bottom: 1px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), transparent 82%);
  opacity: .72;
}
.logo-mark:hover .anniversary-lockup { transform: translateY(-1px); border-color: var(--teal); }
.anniversary-number-wrap {
  position: relative; display: inline-flex; align-items: flex-end;
  padding-top: 8px; line-height: .76;
}
.anniversary-kicker {
  position: absolute; top: 0; left: 2px;
  color: var(--teal); font-size: 7px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.anniversary-number {
  color: var(--navy); font-size: 35px; font-weight: 900;
  letter-spacing: -.065em; font-variant-numeric: tabular-nums;
}
.anniversary-copy {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1.02; padding-bottom: 5px; text-transform: uppercase;
}
.anniversary-copy strong {
  color: var(--navy); font-size: 11px; font-weight: 900; letter-spacing: .08em;
}
.anniversary-copy small {
  color: #657A85; font-size: 7px; font-weight: 700;
  letter-spacing: .09em; white-space: nowrap;
}
@media (max-width: 480px) {
  .logo-mark { gap: 8px; }
  .anniversary-lockup { gap: 6px; margin-left: 0; padding-left: 9px; min-height: 36px; }
  .anniversary-lockup::after { left: 9px; }
  .anniversary-number { font-size: 29px; }
  .anniversary-kicker { font-size: 6px; }
  .anniversary-copy strong { font-size: 9px; }
  .anniversary-copy small { display: none; }
}

.header-nav { flex: 1; display: flex; align-items: center; gap: 4px; }
@media (max-width: 1024px) { .header-nav { display: none; } }

.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,.85); transition: color var(--transition), background var(--transition);
  cursor: pointer;
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
#site-header.scrolled .nav-link { color: var(--charcoal); }
#site-header.scrolled .nav-link:hover { color: var(--teal); background: var(--off-white); }
.nav-link .chevron { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Mega Menu */
.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); border: 1px solid var(--gray-light);
  padding: 24px; min-width: 560px; display: none; z-index: 100;
}
.nav-item:hover .mega-menu { display: grid; }
.mega-menu--wide { min-width: 720px; grid-template-columns: 1fr 1fr; gap: 24px; }
.mega-menu--sm { min-width: 280px; }
.mega-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mega-menu a {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 500; color: var(--charcoal);
  transition: background var(--transition), color var(--transition);
}
.mega-menu a:hover { background: var(--off-white); color: var(--teal); }
.mega-title {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gray-mid);
  padding: 0 12px; margin-bottom: 8px;
}
.mega-feature {
  background: var(--off-white); border-radius: 10px; padding: 16px;
  border-left: 3px solid var(--teal);
}
.mega-feature .feat-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.mega-feature .feat-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.mega-feature .feat-stat { font-size: 24px; font-weight: 800; color: var(--navy); }
.mega-feature .feat-desc { font-size: 13px; color: var(--gray-mid); margin-top: 4px; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
@media (max-width: 1024px) { .header-actions { margin-left: auto; } }
.header-actions .btn { padding: 10px 20px; font-size: 14px; }
#menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
#menu-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition-base); }
#site-header.scrolled #menu-toggle span { background: var(--navy); }
@media (max-width: 1024px) { #menu-toggle { display: flex; } }

/* Mobile Nav */
#mobile-nav {
  position: fixed; inset: 0; z-index: 1001;
  background: var(--navy); padding: 80px 24px 40px;
  overflow-y: auto; transform: translateX(100%);
  transition: transform var(--transition-base);
}
#mobile-nav.open { transform: none; }
#mobile-close {
  position: absolute; top: 20px; right: 20px;
  font-size: 28px; color: var(--white); background: none; border: none;
  cursor: pointer; width: 40px; height: 40px;
}
.mobile-nav-list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-list a {
  display: block; padding: 12px 16px; border-radius: 8px;
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,.8);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav-list a:hover { background: rgba(255,255,255,.08); color: var(--white); }
.mobile-nav-list .mobile-group-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--teal); padding: 16px 16px 4px;
}
.mobile-nav-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---- Hero ---- */
.hero {
  min-height: 88vh; position: relative; display: flex; align-items: center;
  background: linear-gradient(135deg, #07182e 0%, #0A2540 60%, #0d3060 100%);
  overflow: hidden; padding-top: var(--header-h);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300A8A8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-grid-bg::after {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,168,168,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max-width); margin: 0 auto; padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
@media (max-width: 1024px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 768px) { .hero-inner { padding: 60px 20px; } }

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .accent { color: var(--teal); }

.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.7); line-height: 1.7;
  margin-bottom: 16px;
}
.hero-process-line {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 36px; font-size: 13px; font-weight: 600;
}
.hero-process-line .step {
  color: rgba(255,255,255,.55); padding: 4px 10px;
  background: rgba(255,255,255,.07); border-radius: 4px;
  transition: var(--transition);
}
.hero-process-line .step.active { color: var(--teal); background: rgba(0,168,168,.15); }
.hero-process-line .sep { color: rgba(255,255,255,.2); font-size: 12px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat .stat-num {
  font-size: 28px; font-weight: 800; color: var(--white); display: block;
}
.hero-stat .stat-num .stat-accent { color: var(--amber); }
.hero-stat .stat-label { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 500; }

/* Hero visual panel */
.hero-visual { display: flex; align-items: center; justify-content: center; }
@media (max-width: 1024px) { .hero-visual { display: none; } }

.lifecycle-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 32px; backdrop-filter: blur(12px); width: 380px;
}
.lifecycle-card-title { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 24px; }
.lifecycle-steps { display: flex; flex-direction: column; gap: 0; }
.lifecycle-step {
  display: flex; align-items: flex-start; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  opacity: .5; transition: opacity var(--transition-slow);
}
.lifecycle-step:last-child { border-bottom: none; }
.lifecycle-step.active { opacity: 1; }
.step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(0,168,168,.15); border: 1px solid rgba(0,168,168,.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--teal);
}
.lifecycle-step.active .step-num { background: var(--teal); color: var(--navy); border-color: var(--teal); }
.step-info .step-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.step-info .step-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.5; }

/* ---- Trust Bar ---- */
.trust-bar {
  padding: 36px 0; background: var(--white);
  border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light);
}
.trust-bar-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-mid); text-align: center; margin-bottom: 20px;
}
.logos-track-wrap { overflow: hidden; position: relative; }
.logos-track-wrap::before, .logos-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1;
}
.logos-track-wrap::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.logos-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.logos-track {
  display: flex; align-items: center; gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.logos-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item {
  padding: 0 40px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-pill {
  background: var(--off-white); border: 1px solid var(--gray-light);
  border-radius: 8px; padding: 10px 20px;
  font-size: 14px; font-weight: 700; color: #9aacbb;
  letter-spacing: .04em; white-space: nowrap;
  transition: var(--transition-base); cursor: default;
}
.logo-pill:hover { color: var(--navy); background: white; border-color: var(--teal); }

/* ---- Solutions Grid ---- */
.solutions-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1024px) { .solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .solutions-grid { grid-template-columns: 1fr; } }

.solution-card {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg); padding: 32px;
  transition: var(--transition-base); position: relative; overflow: hidden;
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition-base);
}
.solution-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.solution-card:hover::before { transform: scaleX(1); }

.solution-icon {
  width: 52px; height: 52px; background: rgba(0,168,168,.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px;
}
.solution-card h3 { font-size: 18px; margin-bottom: 10px; }
.solution-card p { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.solution-card .card-link {
  font-size: 13px; font-weight: 600; color: var(--teal);
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.solution-card:hover .card-link { gap: 10px; }

/* ---- Lifecycle Visualizer ---- */
.lifecycle-section { background: var(--navy); }
.lifecycle-section h2 { color: var(--white); }
.lifecycle-section .section-intro { color: rgba(255,255,255,.6); }
.lifecycle-section .section-label { color: var(--teal); }

.lifecycle-tabs {
  display: flex; gap: 0; overflow-x: auto;
  border-bottom: 1px solid rgba(255,255,255,.12); margin-top: 48px;
  -webkit-overflow-scrolling: touch;
}
.lifecycle-tab {
  flex: 1; min-width: 120px; padding: 16px 20px;
  text-align: center; cursor: pointer; border: none;
  background: transparent; font-family: var(--font-main);
  color: rgba(255,255,255,.45); font-size: 13px; font-weight: 600;
  transition: var(--transition-base); border-bottom: 3px solid transparent;
  margin-bottom: -1px; white-space: nowrap;
}
.lifecycle-tab:hover { color: rgba(255,255,255,.8); }
.lifecycle-tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.lifecycle-tab .tab-num {
  display: block; font-size: 22px; font-weight: 800; margin-bottom: 4px;
  font-family: var(--font-mono);
}

.lifecycle-panels { margin-top: 0; }
.lifecycle-panel { display: none; padding: 48px 0; }
.lifecycle-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 768px) { .lifecycle-panel.active { grid-template-columns: 1fr; gap: 32px; } }

.panel-stage { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.panel-title { font-size: 36px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.panel-desc { font-size: 17px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 24px; }
.panel-why {
  background: rgba(0,168,168,.1); border: 1px solid rgba(0,168,168,.2);
  border-radius: 10px; padding: 16px 20px;
}
.panel-why .why-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.panel-why p { font-size: 14px; color: rgba(255,255,255,.7); margin: 0; }

.panel-deliverables { }
.panel-deliverables h4 { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px; }
.deliverable-list { display: flex; flex-direction: column; gap: 16px; }
.deliverable-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 16px;
}
.deliverable-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(0,168,168,.15); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.deliverable-text .del-name { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.deliverable-text .del-sub { font-size: 13px; color: rgba(255,255,255,.45); }

/* ---- Projects / Case Studies ---- */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--off-white); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition-base); border: 1px solid var(--gray-light);
  display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.project-card-img {
  height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.project-card-img.ford-bg { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.project-card-img.hero-bg { background: linear-gradient(135deg, #0f3460 0%, #1a472a 100%); }
.project-card-img.ocean-bg { background: linear-gradient(135deg, #003049 0%, #023e8a 100%); }
.project-card-img.gm-bg { background: linear-gradient(135deg, #1b1b1b 0%, #3a3a3a 100%); }
.project-card-img.goodyear-bg { background: linear-gradient(135deg, #1a0000 0%, #4a0000 100%); }
.project-card-img.shearers-bg { background: linear-gradient(135deg, #1a2f1a 0%, #2d4a1e 100%); }

.project-stat-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(10,37,64,.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(0,168,168,.3); border-radius: 8px; padding: 8px 14px;
}
.project-stat-badge .badge-num { font-size: 20px; font-weight: 800; color: var(--amber); display: block; line-height: 1; }
.project-stat-badge .badge-label { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }
.project-client-logo {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  border-radius: 6px; padding: 5px 10px;
  font-size: 11px; font-weight: 800; color: var(--white); letter-spacing: .04em;
}

.project-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.tag {
  background: rgba(0,168,168,.1); color: var(--teal);
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .04em;
}
.tag.industry { background: rgba(10,37,64,.08); color: var(--navy); }
.project-card-body h3 { font-size: 17px; margin-bottom: 8px; }
.project-card-body p { font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 20px; }
.project-card-link {
  font-size: 13px; font-weight: 600; color: var(--teal);
  display: flex; align-items: center; gap: 6px; transition: gap var(--transition);
}
.project-card:hover .project-card-link { gap: 10px; }

/* ---- Industries ---- */
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px;
}
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }

.industry-tile {
  background: var(--off-white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg); padding: 24px 20px; text-align: center;
  transition: var(--transition-base); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.industry-tile:hover { border-color: var(--teal); background: white; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.industry-tile .ind-icon { font-size: 32px; }
.industry-tile h4 { font-size: 14px; font-weight: 600; line-height: 1.3; }

/* ---- Innovations ---- */
.innovations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
@media (max-width: 1024px) { .innovations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .innovations-grid { grid-template-columns: 1fr; } }

.innovation-card {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition-base);
}
.innovation-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.innovation-badge {
  display: inline-block; background: var(--off-white);
  color: var(--gray-mid); font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 14px;
}
.innovation-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.innovation-card p { font-size: 13px; line-height: 1.6; }

/* ---- Stats Strip ---- */
.stats-strip { background: var(--navy); }
.stats-inner {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
@media (max-width: 1024px) { .stats-inner { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

.stat-block {
  padding: 48px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-block:last-child { border-right: none; }
@media (max-width: 1024px) { .stat-block:nth-child(3) { border-right: none; } }
.stat-block .num {
  font-size: clamp(36px, 4vw, 52px); font-weight: 800; color: var(--white);
  display: block; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-block .num .unit { color: var(--amber); }
.stat-block .label { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 8px; font-weight: 500; }

/* ---- News/Press ---- */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
@media (max-width: 1024px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition-base);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--gray-mid); }
.news-card-header { height: 140px; background: var(--off-white); display: flex; align-items: center; justify-content: center; padding: 20px; }
.news-card-header .news-icon { font-size: 48px; }
.news-card-body { padding: 20px 24px 24px; }
.news-date { font-size: 12px; color: var(--gray-mid); font-weight: 500; margin-bottom: 8px; }
.news-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 6px;
}
.news-card-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.news-card-body p { font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.news-card-link { font-size: 13px; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 6px; }

/* ---- CTA Block ---- */
.cta-block {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 64px 56px; display: flex; justify-content: space-between;
  align-items: center; gap: 40px; margin: 0;
}
@media (max-width: 768px) { .cta-block { flex-direction: column; text-align: center; padding: 40px 28px; } }
.cta-block h2 { color: var(--white); font-size: clamp(24px, 3vw, 36px); margin-bottom: 12px; }
.cta-block p { color: rgba(255,255,255,.6); font-size: 17px; margin: 0; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 768px) { .cta-btns { justify-content: center; } }

/* ---- Footer ---- */
footer {
  background: #07182e; padding: 44px 0 0; border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px 40px; padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .logo-mark { margin-bottom: 12px; }
.footer-brand .footer-tagline { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.5); font-style: italic; margin-bottom: 8px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.65; margin-bottom: 0; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px; padding: 10px 14px; color: var(--white); font-size: 14px;
  font-family: var(--font-main); outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form input:focus { border-color: var(--teal); }
.newsletter-form button { background: var(--teal); color: var(--navy); border-radius: 6px; padding: 10px 16px; font-weight: 700; font-size: 13px; transition: var(--transition); }
.newsletter-form button:hover { background: #00bfbf; }

.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 13px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--teal); }

.footer-bottom {
  padding: 15px 0; display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,.6); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #07182e 0%, #0A2540 100%);
  padding: calc(var(--header-h) + 60px) 0 72px;
}
.page-hero .breadcrumb {
  font-size: 13px; color: rgba(255,255,255,.4); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero .breadcrumb span { color: rgba(255,255,255,.2); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .page-sub { font-size: 18px; color: rgba(255,255,255,.6); max-width: 600px; }

/* ---- Filter Bar ---- */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--off-white); color: var(--gray-mid);
  border: 1px solid var(--gray-light);
  transition: var(--transition-base);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ---- FAQ Accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--gray-light); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  font-size: 16px; font-weight: 600; color: var(--charcoal);
  background: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--off-white); }
.faq-q.open { color: var(--navy); }
.faq-q .faq-icon { font-size: 20px; font-weight: 300; transition: transform var(--transition-base); flex-shrink: 0; color: var(--teal); }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 15px; line-height: 1.7; color: var(--gray-mid); }
.faq-a.open { display: block; }

/* ---- Contact Form ---- */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--white); border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-md); padding: 11px 16px;
  font-size: 15px; font-family: var(--font-main); color: var(--charcoal);
  transition: border-color var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,168,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6B7B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-required { color: var(--teal); }

/* ---- Two-column layout ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 1024px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* ---- Reveal animations ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---- Misc ---- */
.text-teal { color: var(--teal); }
.text-amber { color: var(--amber); }
.text-navy { color: var(--navy); }
.bg-off-white { background: var(--off-white); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }
.text-center .section-intro { margin-left: auto; margin-right: auto; }
hr.divider { border: none; border-top: 1px solid var(--gray-light); margin: 48px 0; }

.inline-stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--gray-light); border-radius: var(--radius-lg); overflow: hidden;
  margin-top: 40px;
}
@media (max-width: 768px) { .inline-stat-bar { grid-template-columns: repeat(2, 1fr); } }
.inline-stat { padding: 24px 28px; border-right: 1px solid var(--gray-light); text-align: center; }
.inline-stat:last-child { border-right: none; }
.inline-stat .istat-num { font-size: 30px; font-weight: 800; color: var(--navy); display: block; }
.inline-stat .istat-num .accent { color: var(--amber); }
.inline-stat .istat-label { font-size: 12px; color: var(--gray-mid); font-weight: 500; margin-top: 4px; }

/* Innovation-detail schematic placeholder */
.schematic-box {
  background: var(--off-white); border: 1.5px dashed var(--gray-light); border-radius: var(--radius-lg);
  padding: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 12px; min-height: 280px;
}
.schematic-box .sch-icon { font-size: 56px; }
.schematic-box p { font-size: 14px; color: var(--gray-mid); }

/* Team Grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.team-card {
  text-align: center; background: var(--white); border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg); padding: 28px 20px; transition: var(--transition-base);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--teal); }
.team-avatar {
  width: 80px; height: 80px; background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: var(--white);
}
.team-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.team-card .role { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 6px; }
.team-card .cred { font-size: 12px; color: var(--gray-mid); }

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--gray-light); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -28px; top: 4px;
  width: 16px; height: 16px; background: var(--teal); border-radius: 50%;
  border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--teal);
}
.timeline-year { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: .06em; margin-bottom: 4px; }
.timeline-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; }

/* Sticky CTA band (mobile) */
@media (max-width: 768px) {
  .sticky-cta-band {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
    background: var(--navy); padding: 12px 20px;
    box-shadow: 0 -4px 16px rgba(10,37,64,.2);
    display: flex; gap: 10px; justify-content: center;
  }
  .sticky-cta-band .btn { flex: 1; justify-content: center; padding: 12px 16px; }
}

/* back to top */
#back-top {
  position: fixed; bottom: 32px; right: 24px; z-index: 700;
  width: 44px; height: 44px; background: var(--navy); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}
#back-top.visible { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-3px); background: var(--teal); }

/* ============================================================
   2026 REFRESH — clean green/blue/white system
   Appended overrides. Repoints the palette and removes the
   heavy dark gradients, SVG patterns, and glows for a lighter,
   less congested look. Later rules intentionally win.
============================================================ */
:root {
  --navy:       #0E3A54;   /* deep blue — dark anchor (globe heritage) */
  --navy-light: #16557D;
  --teal:       #1E9E58;   /* energy green — primary accent */
  --teal-dark:  #157A42;
  --blue:       #1668A8;   /* secondary blue accent */
  --blue-dark:  #114F80;
  --charcoal:   #17313F;   /* blue-tinted ink for headings/text */
  --gray-mid:   #55636B;
  --gray-light: #E2E9ED;
  --off-white:  #F2F7F6;   /* subtle blue-green-tinted light */
  --success:    #1E9E58;

  --shadow-sm: 0 1px 3px rgba(16,40,34,.06);
  --shadow-md: 0 6px 20px rgba(16,40,34,.08);
  --shadow-lg: 0 12px 34px rgba(16,40,34,.10);
  --shadow-xl: 0 20px 50px rgba(16,40,34,.14);
  --radius-md: 10px;
  --radius-lg: 16px;
}

/* Typography: a touch lighter/cleaner */
h1 { font-weight: 800; letter-spacing: -0.02em; }
h2 { font-weight: 700; letter-spacing: -0.01em; }
p  { color: var(--gray-mid); }

/* ---- Logo sizing (non-color) ---- */
.logo-mark { gap: 12px; font-size: 18px; white-space: nowrap; }
.logo-mark .logo-text { font-weight: 800; }
.logo-mark .logo-sub { display: none; }

/* ---- Buttons ---- */
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-primary { background: var(--navy); }
.btn-primary:hover { background: var(--navy-light); }
.btn-outline { border-color: var(--gray-light); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.section-label { color: var(--teal); }

/* (Old light-hero overrides removed — the homepage now uses a dark carousel
   hero styled inline in index.html.) */

/* ---- Footer: clean deep-blue anchor (recolored) ---- */
footer { background: var(--navy) !important; }
.footer-section, .cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%) !important; }
.newsletter-form button { background: var(--teal) !important; }
.newsletter-form button:hover { background: var(--teal-dark) !important; }
#back-top { background: var(--teal); }
#back-top:hover { background: var(--teal-dark); }

/* Slightly airier cards everywhere */
.reason, .guideline, .form-card, .office-card { border-radius: var(--radius-lg); }

/* ============================================================
   EDITORIAL PASS — quieter, whiter, closer to an engineering
   consultancy look. Light page banners, squarer buttons,
   hairline cards, tighter type.
============================================================ */
h1, h2, h3 { letter-spacing: -0.015em; }
h1 { font-weight: 700; }
h2 { font-weight: 700; }

.btn { border-radius: 6px; padding: 13px 26px; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); transform: none; box-shadow: none; }
.btn-outline { border: 1.5px solid #C3D2DA; color: var(--charcoal); border-radius: 6px; }
.btn-outline:hover { background: var(--off-white); color: var(--charcoal); border-color: var(--teal); }

.logo-mark .logo-icon { border-radius: 6px; }

/* Inner-page banner: light + editorial instead of dark gradient */
.page-hero { background: var(--off-white); border-bottom: 1px solid var(--gray-light); padding: calc(var(--header-h) + 64px) 0 64px; }
.page-hero h1 { color: var(--charcoal); max-width: 20ch; }
.page-hero .page-sub { color: var(--gray-mid); font-size: 18px; max-width: 62ch; }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #7E93A0; }
.page-hero .breadcrumb a:hover { color: var(--teal); }
.page-hero .breadcrumb span { color: #BCCCD6; }

/* Cards: hairline + calm */
.s-card, .reason, .guideline, .form-card, .office-card, .member {
  box-shadow: none; border: 1px solid var(--gray-light);
}
.s-card:hover, .reason:hover, .member:hover { box-shadow: var(--shadow-sm); transform: none; border-color: #C0D3DE; }

/* Footer: deep blue */
footer { background: #0A2A3E !important; }
.footer-section, .cta-band { background: #0E3A54 !important; }

/* Filter pills → quiet squares */
.filter-btn { border-radius: 6px; }
.filter-btn.active { background: var(--teal); border-color: var(--teal); color:#fff; }

/* ============================================================
   HEADER — white bar, navy text, green accent.
   Hover reveals dropdown menus.
============================================================ */
:root { --header-h: 72px; }
#site-header,
#site-header.scrolled,
#site-header.transparent {
  background: #ffffff;
  border-bottom: 1px solid #E4EAEd;
  box-shadow: 0 1px 4px rgba(14,58,84,.06);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.header-inner { gap: 24px; }
/* Logo: green chip, navy wordmark */
.logo-mark, #site-header .logo-mark, #site-header.scrolled .logo-mark { color: var(--navy); }
#site-header .logo-mark .logo-icon { background: var(--teal); color: #fff; }
/* Nav pushed to the right */
.header-nav { flex: 1; justify-content: flex-end; gap: 2px; align-items: center; }
.nav-link, #site-header .nav-link, #site-header.scrolled .nav-link {
  color: var(--navy); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 6px;
  white-space: nowrap;
}
.nav-link:hover, #site-header .nav-link:hover, #site-header.scrolled .nav-link:hover {
  color: var(--teal); background: #F0F7F4;
}
/* LinkedIn icon link in the header nav */
.nav-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin-left: 6px; border-radius: 50%;
  color: var(--navy); flex-shrink: 0; transition: background .15s ease, color .15s ease;
}
.nav-social:hover, .nav-social:focus-visible { color: var(--teal); background: #F0F7F4; }
.nav-social svg { width: 18px; height: 18px; fill: currentColor; }
/* Caret on items that have a dropdown */
.nav-item.has-drop > .nav-link::after {
  content: ""; width: 6px; height: 6px; margin-left: 6px; display: inline-block;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s ease;
}
.nav-item.has-drop:hover > .nav-link::after { transform: rotate(225deg) translateY(1px); }
/* Hover dropdown */
.nav-drop { position: absolute; top: 100%; left: 0; padding-top: 12px; min-width: 250px; display: none; z-index: 200; }
.nav-item.has-drop:hover .nav-drop { display: block; }
.nav-drop-inner {
  background: #fff; border: 1px solid #E2E9ED; border-radius: 12px;
  box-shadow: 0 18px 44px rgba(14,58,84,.16); padding: 10px;
}
.nav-drop a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  transition: background .12s ease, color .12s ease;
}
.nav-drop a:hover { background: #F0F7F4; color: var(--teal); }
/* Search icon */
.header-search {
  width: 40px; height: 40px; border-radius: 8px; display: inline-flex;
  align-items: center; justify-content: center; color: var(--navy); margin-left: 6px;
}
.header-search:hover { color: var(--teal); background: #F0F7F4; }
.header-search svg { width: 18px; height: 18px; }
/* Hamburger bars → navy */
#menu-toggle span, #site-header.scrolled #menu-toggle span { background: var(--navy); }

/* Inner pages: first content section clears the fixed header */
section.section:first-of-type { padding-top: calc(var(--header-h) + 56px); }

/* ============================================================
   AWESOME PASS — 2026 interaction + polish layer
   Site-wide microinteractions, scroll effects, reveal variants,
   accessibility, and reduced-motion safety. Loaded last, wins.
   Research basis: scroll-as-navigation, active bento grids,
   animated counters, microinteractions, guided-scroll cues.
============================================================ */

/* [F1] Scroll progress bar — top-of-viewport reading indicator */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  z-index: 2000; transition: width .1s linear; pointer-events: none;
}

/* [F2] Reveal variants — direction-aware entrances */
.reveal-left  { opacity: 0; transform: translateX(-32px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right { opacity: 0; transform: translateX(32px);  transition: opacity .6s ease, transform .6s ease; }
.reveal-scale { opacity: 0; transform: scale(.94);        transition: opacity .6s ease, transform .6s ease; }
.reveal-blur  { opacity: 0; filter: blur(10px);           transition: opacity .7s ease, filter .7s ease; }
.reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }
.reveal-blur.visible { opacity: 1; filter: blur(0); }

/* [F3] Button shine sweep microinteraction */
.btn, .btn-teal, .btn-white, .btn-teal-sm, .sol-pane-link {
  position: relative; overflow: hidden;
}
.btn::after, .btn-teal::after, .btn-white::after, .btn-teal-sm::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s ease; pointer-events: none;
}
.btn:hover::after, .btn-teal:hover::after, .btn-white:hover::after, .btn-teal-sm:hover::after { left: 130%; }

/* [F4] Animated underline for text links in body copy */
.link-underline { position: relative; color: var(--teal); font-weight: 600; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.link-underline:hover::after { transform: scaleX(1); }

/* [F5] Back-to-top progress ring wrapper */
#back-top { overflow: visible; }
#back-top .bt-ring { position: absolute; inset: -5px; border-radius: 50%; pointer-events: none; transform: rotate(-90deg); }
#back-top .bt-ring circle { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 151; stroke-dashoffset: 151; transition: stroke-dashoffset .1s linear; }

/* [F6] Focus-visible states — keyboard accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, .sol-tab:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px;
}

/* [F7] Skip-to-content link */
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 3000;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 12px; }

/* [F8] Generic bento grid (used on home + interior showcases) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; margin-top: 48px; }
@media (max-width: 900px){ .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 560px){ .bento { grid-template-columns: 1fr; } }
.bento-tile {
  position: relative; overflow: hidden; border-radius: 18px; padding: 26px;
  background: #fff; border: 1px solid var(--gray-light);
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  cursor: pointer;
}
.bento-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(14,58,84,.14); border-color: #C0D3DE; }
.bento-tile.span-2 { grid-column: span 2; }
.bento-tile.row-2 { grid-row: span 2; }
@media (max-width: 560px){ .bento-tile.span-2, .bento-tile.row-2 { grid-column: auto; grid-row: auto; } }
.bento-tile .bt-icon { font-size: 26px; margin-bottom: auto; }
.bento-tile h3 { font-size: 18px; color: var(--navy); margin-bottom: 6px; }
.bento-tile p { font-size: 13px; color: var(--gray-mid); margin: 0; line-height: 1.5; }
.bento-tile .bt-arrow { position: absolute; top: 22px; right: 22px; color: var(--teal); font-size: 18px; opacity: 0; transform: translate(-6px,6px); transition: opacity .25s, transform .25s; }
.bento-tile:hover .bt-arrow { opacity: 1; transform: translate(0,0); }
.bento-tile.dark { background: linear-gradient(135deg, var(--navy), #12708C); border: none; }
.bento-tile.dark h3 { color: #fff; }
.bento-tile.dark p  { color: rgba(255,255,255,.8); }
.bento-tile.dark .bt-arrow { color: #7FE3AC; }
.bento-tile.teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); border: none; }
.bento-tile.teal h3, .bento-tile.teal p { color: #fff; }
.bento-tile .bt-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; opacity: .16; z-index: 0; }
.bento-tile > * { position: relative; z-index: 1; }

/* [F9] Section eyebrow with accent tick */
.eyebrow-tick { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.eyebrow-tick::before { content: ""; width: 26px; height: 2px; background: var(--teal); display: inline-block; }

/* [F10] Quote / testimonial block */
.quote-band { background: var(--navy); padding: 88px 0; }
.quote-band .q-mark { font-size: 64px; line-height: 1; color: var(--teal); font-weight: 800; }
.quote-band blockquote { color: #fff; font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; line-height: 1.35; letter-spacing: -.01em; max-width: 22ch; margin: 8px 0 24px; }
.quote-band .q-attr { color: rgba(255,255,255,.6); font-size: 14px; font-weight: 500; }

/* [F11] Marquee reduced-motion + hover tools already inline; add tilt hint */
.hover-tilt { transition: transform .2s ease; }
.hover-tilt:hover { transform: perspective(600px) rotateX(2deg) rotateY(-2deg) translateY(-3px); }

/* [F12] Animated counter emphasis */
.count-up { font-variant-numeric: tabular-nums; }

/* [F13] Nav link sliding underline */
.nav-link { position: relative; }
.nav-item:not(.has-drop) > .nav-link::after,
.nav-item > .nav-link.plain::after { content: ""; }

/* [F14] Image zoom-on-hover utility */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .5s ease; }
.img-zoom:hover img { transform: scale(1.06); }

/* [F15] Pill filter row (projects/industries) */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.filter-chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--gray-light);
  font-size: 14px; font-weight: 600; color: var(--gray-mid); background: #fff;
  transition: all .18s ease;
}
.filter-chip:hover { border-color: var(--teal); color: var(--teal); }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* [F16] Scroll-down cue */
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: mouseWheel 1.5s ease infinite; }
@keyframes mouseWheel { 0%{opacity:1;top:6px;} 60%{opacity:0;top:16px;} 100%{opacity:0;} }

/* [F17] Stat card floating accent */
.stat-float { position: relative; }
.stat-float::before { content: ""; position: absolute; top: -10px; left: -10px; width: 34px; height: 34px; background: radial-gradient(circle, rgba(30,158,88,.18), transparent 70%); border-radius: 50%; }

/* [F18] Gradient mesh hero backdrop (animated) */
.mesh-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.mesh-bg span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; animation: meshFloat 14s ease-in-out infinite; }
.mesh-bg .m1 { width: 340px; height: 340px; background: #1E9E58; top: -60px; left: 10%; }
.mesh-bg .m2 { width: 300px; height: 300px; background: #1668A8; bottom: -80px; right: 12%; animation-delay: -5s; }
.mesh-bg .m3 { width: 260px; height: 260px; background: #12708C; top: 30%; left: 55%; animation-delay: -9s; }
@keyframes meshFloat { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(20px,-24px) scale(1.08);} }

/* [F19] Card entrance stagger helper handled via JS delays */

/* [F20] REDUCED MOTION — respect user preference, disable non-essential motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur { opacity: 1 !important; transform: none !important; filter: none !important; }
  .ticker-inner { animation: none !important; }
  .mesh-bg span { animation: none !important; }
}

/* [F21] Reusable icon-card grid (About / Approach / Careers) */
.icard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 900px){ .icard-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .icard-grid { grid-template-columns: 1fr; } }
.icard { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--gray-light); border-radius: 18px; padding: 30px 28px; transition: transform .28s, box-shadow .28s, border-color .28s; }
.icard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--teal), var(--blue)); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.icard:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(14,58,84,.14); border-color: #C0D3DE; }
.icard:hover::before { transform: scaleY(1); }
.icard .ic { width: 52px; height: 52px; border-radius: 14px; background: #E8F5EE; display: flex; align-items: center; justify-content: center; font-size: 25px; margin-bottom: 18px; transition: background .28s, transform .28s; }
.icard:hover .ic { background: var(--teal); transform: scale(1.06) rotate(-4deg); }
.icard h3 { font-size: 18px; color: var(--navy); margin-bottom: 9px; }
.icard p { font-size: 14px; color: var(--gray-mid); margin: 0; line-height: 1.62; }

/* [F22] Numbered vertical process (Approach) */
.vproc { margin-top: 50px; position: relative; }
.vproc::before { content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--teal), var(--blue)); }
@media (max-width: 600px){ .vproc::before { left: 21px; } }
.vstep { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding-bottom: 34px; align-items: start; }
.vstep:last-child { padding-bottom: 0; }
.vstep .vn { width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(30,158,88,.15); position: relative; z-index: 1; }
@media (max-width: 600px){ .vstep { grid-template-columns: 44px 1fr; gap: 14px; } .vstep .vn { width: 44px; height: 44px; font-size: 16px; } }
.vstep .vbody { padding-top: 6px; }
.vstep h3 { font-size: 19px; color: var(--navy); margin-bottom: 7px; }
.vstep p { font-size: 15px; color: var(--gray-mid); margin: 0; line-height: 1.65; }

/* [F23] Reusable navy page hero */
.nhero { position: relative; overflow: hidden; background: #0E3A54; padding: calc(var(--header-h) + 76px) 0 76px; }
.nhero .container { position: relative; z-index: 2; }
.nhero .label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #7FE3AC; margin-bottom: 18px; }
.nhero h1 { color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; max-width: 20ch; margin-bottom: 18px; }
.nhero p { color: rgba(255,255,255,.76); font-size: 18px; max-width: 56ch; line-height: 1.6; }
.nhero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; }
.nhero-stats .s .n { font-size: clamp(26px,3vw,38px); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.nhero-stats .s .n span { color: #7FE3AC; }
.nhero-stats .s .l { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* [F24] Roles / tag chips (Careers) */
.role-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.role-chips span { font-size: 14px; font-weight: 600; color: var(--navy); background: #fff; border: 1px solid var(--gray-light); padding: 9px 18px; border-radius: 999px; transition: border-color .18s, color .18s, transform .18s; }
.role-chips span:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }


/* Accessibility and form-hardening refinements */
.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
  border-color: #B42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, .12);
}
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: .68;
}
select:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}
#mobile-nav[aria-hidden="true"] { visibility: hidden; }
#mobile-nav.open { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  .trust-track, .ticker-inner { animation: none !important; }
  .btn::after, .btn-teal::after, .btn-white::after, .btn-teal-sm::after { display: none !important; }
}


/* ── Homepage editorial refresh ───────────────────────────── */
.trust-refresh { padding:42px 0 50px; background:#fff; border-bottom:1px solid #E3E9EC; overflow:hidden; }
.trust-refresh .trust-heading { margin:0 0 28px; color:#64757F; font-size:12px; font-weight:650; letter-spacing:.12em; text-align:center; text-transform:uppercase; }
.customer-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); align-items:stretch; gap:12px; }
.customer-logo { height:100px; display:flex; align-items:center; justify-content:center; padding:18px 22px; background:#F8FAFB; border:1px solid #E7ECEF; border-radius:8px; }
.customer-logo img { display:block; max-width:100%; max-height:58px; width:auto; height:auto; object-fit:contain; }
.home-services, .selected-work { padding:94px 0; }
.home-services { background:#fff; }
.section-intro { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(280px,.75fr); gap:64px; align-items:end; margin-bottom:46px; }
.section-kicker { display:block; margin-bottom:15px; color:#177B49; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.section-intro h2, .process-heading h2 { color:#173C51; font-size:clamp(30px,3.6vw,48px); font-weight:620; letter-spacing:-.035em; line-height:1.1; margin:0; }
.section-intro > p, .process-heading > p { color:#5B6C76; font-size:16px; line-height:1.72; margin:0; }
.service-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.service-card { display:flex; flex-direction:column; min-height:100%; overflow:hidden; color:inherit; background:#F7F9FA; border:1px solid #E2E8EB; border-radius:10px; transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.service-card:hover { transform:translateY(-3px); border-color:#B9CCD5; box-shadow:0 18px 36px rgba(20,57,77,.08); }
.service-media { height:168px; overflow:hidden; background:#EAF0F2; }
.service-media img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.service-card:hover .service-media img { transform:scale(1.025); }
.service-copy { display:grid; grid-template-columns:30px 1fr; column-gap:13px; padding:24px 23px 27px; }
.service-copy > span { grid-row:1 / span 2; color:#18824D; font-size:11px; font-weight:700; letter-spacing:.08em; padding-top:5px; }
.service-copy h3 { color:#173C51; font-size:20px; font-weight:620; letter-spacing:-.015em; line-height:1.25; margin:0 0 10px; }
.service-copy p { color:#63737C; font-size:14px; line-height:1.62; margin:0; }
.section-link { display:inline-flex; align-items:center; gap:9px; width:max-content; margin-top:32px; color:#125D86; font-size:14px; font-weight:700; border-bottom:1px solid rgba(18,93,134,.3); padding-bottom:4px; }
.section-link:hover { color:#14834E; border-color:#14834E; }
.home-process { padding:92px 0; background:#EDF4F6; }
.process-layout { display:grid; grid-template-columns:minmax(0,.9fr) minmax(420px,1fr); gap:clamp(58px,8vw,110px); align-items:center; }
.process-heading .section-link { margin-top:28px; }
.process-heading > p { margin-top:22px; max-width:54ch; }
.process-steps { border-top:1px solid #C9D8DE; }
.process-step { display:grid; grid-template-columns:48px 1fr; gap:18px; padding:27px 0; border-bottom:1px solid #C9D8DE; }
.process-step > span { color:#17804C; font-size:11px; font-weight:700; letter-spacing:.12em; padding-top:6px; }
.process-step h3 { color:#173C51; font-size:22px; font-weight:620; margin:0 0 7px; }
.process-step p { color:#5D6F79; font-size:15px; line-height:1.6; margin:0; }
.selected-work { background:#F6F8F9; }
.case-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.selected-work .explore-feature { display:grid; grid-template-columns:1fr; margin:0; overflow:hidden; border:1px solid #DFE6E9; border-radius:10px; background:#fff; box-shadow:none; }
.selected-work .ef-media { min-height:250px; }
.selected-work .ef-body { padding:30px 32px 34px; }
.selected-work .ef-body h3 { color:#173C51; font-size:clamp(21px,2vw,28px); font-weight:620; line-height:1.25; }
.selected-work .ef-body p { color:#61727C; }
.selected-work .ef-body .section-link { margin-top:18px; }
@media (max-width:980px) {
  .customer-grid { grid-template-columns:repeat(3,1fr); }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .process-layout { grid-template-columns:1fr; gap:46px; }
}
@media (max-width:700px) {
  .home-services,.selected-work { padding:68px 0; }
  .section-intro { grid-template-columns:1fr; gap:20px; margin-bottom:34px; }
  .service-grid,.case-grid { grid-template-columns:1fr; }
  .service-card { display:grid; grid-template-columns:120px 1fr; }
  .service-media { height:100%; min-height:150px; }
  .service-copy { padding:21px 18px; }
  .customer-logo { height:82px; padding:14px; }
  .customer-logo img { max-height:48px; }
}
@media (max-width:460px) {
  .customer-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .service-card { grid-template-columns:1fr; }
  .service-media { height:150px; }
}


/* ── Customer logo carousel and copy refinements ──────────── */
.customer-marquee { position:relative; overflow:hidden; width:100%; -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%); mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%); }
.customer-track { display:flex; align-items:center; gap:18px; width:max-content; animation:customer-scroll 34s linear infinite; will-change:transform; }
.customer-marquee:hover .customer-track { animation-play-state:paused; }
.customer-track .customer-logo { flex:0 0 220px; height:92px; padding:15px 24px; background:transparent; border:0; border-radius:0; }
.customer-track .customer-logo img { display:block; max-width:100%; max-height:58px; width:auto; height:auto; object-fit:contain; }
/* Logos supplied on a padded canvas (e.g. the Ford oval) — enlarge so the visible mark reads at a size comparable to the full-bleed logos. object-fit:contain preserves aspect (no stretch/crop). */
.customer-track .customer-logo.cl-tall { padding-top:2px; padding-bottom:2px; }
.customer-track .customer-logo.cl-tall img { max-height:88px; }
@keyframes customer-scroll { from { transform:translateX(0); } to { transform:translateX(calc(-50% - 9px)); } }
.home-services .section-intro h2 { font-size:clamp(24px,2.4vw,34px); max-width:none; }
.home-process .process-heading h2 { font-size:clamp(29px,3.1vw,42px); max-width:15ch; }
@media (max-width:700px) {
  .customer-track { gap:8px; animation-duration:25s; }
  .customer-track .customer-logo { flex-basis:170px; height:76px; padding:12px 18px; }
  .customer-track .customer-logo img { max-height:48px; }
  .customer-track .customer-logo.cl-tall { padding-top:2px; padding-bottom:2px; }
  .customer-track .customer-logo.cl-tall img { max-height:72px; }
}
@media (prefers-reduced-motion:reduce) {
  .customer-marquee { overflow-x:auto; -webkit-mask-image:none; mask-image:none; }
  .customer-track { animation:none; }
  .customer-track .customer-logo[aria-hidden="true"] { display:none; }
}

/* ── Video embed (unlisted YouTube via youtube-nocookie.com) ──────────── */
/* Drop-in block — see VIDEOS.md for the markup + how to add a new video.
   Click-to-play facade: nothing from YouTube (title, channel, settings,
   suggestions) loads or shows until the visitor clicks play. */
.video-embed-block { margin: 18px 0 28px; }
.video-embed {
  position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 16px; background: var(--navy); box-shadow: var(--shadow-md, 0 6px 20px rgba(10,37,64,.12));
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-embed-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-embed-play {
  position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: rgba(10,37,64,.22); border: 0; cursor: pointer; padding: 0; transition: background .15s ease;
}
.video-embed-play:hover, .video-embed-play:focus-visible { background: rgba(10,37,64,.38); }
.video-embed-play::after {
  content: ""; width: 72px; height: 72px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  clip-path: polygon(35% 26%, 35% 74%, 74% 50%);
}
.video-embed-play:hover::after, .video-embed-play:focus-visible::after { background: var(--teal-dark, var(--teal)); }
@media (max-width: 480px) { .video-embed-play::after { width: 56px; height: 56px; } }

/* Custom minimal control bar (replaces all native YouTube controls) */
.video-embed-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: linear-gradient(180deg, rgba(10,37,64,0) 0%, rgba(10,37,64,.78) 55%, rgba(10,37,64,.92) 100%);
}
.vc-btn {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); color: #fff; transition: background .15s ease;
}
.vc-btn:hover, .vc-btn:focus-visible { background: rgba(255,255,255,.3); }
.vc-play::before {
  content: ""; width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff; margin-left: 2px;
}
.vc-play.is-playing::before {
  width: 10px; height: 12px; border: 0; margin-left: 0;
  background: linear-gradient(to right, #fff 0, #fff 3px, transparent 3px, transparent 7px, #fff 7px, #fff 10px);
}
.vc-cc { width: auto; height: 30px; padding: 0 10px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.vc-cc.is-on { background: var(--teal); }
.vc-progress { flex: 1; height: 5px; border-radius: 999px; background: rgba(255,255,255,.28); cursor: pointer; position: relative; }
.vc-progress-fill { position: absolute; inset: 0; width: 0%; border-radius: 999px; background: var(--teal); pointer-events: none; }
.video-embed-caption { margin-top: 12px; }
.video-embed-caption h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; margin: 0 0 3px; }
.video-embed-caption p { font-size: 13.5px; color: var(--gray-mid); line-height: 1.5; margin: 0; }
.video-embed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin: 18px 0 28px; }
@media (max-width: 720px) { .video-embed-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROJECTS LIBRARY — shared overview / industry / case-study
   (Reworked "Our Projects" section. Palette: navy #0E3A54,
   green #1E9E58, pale-green #7FE3AC — matches existing pj-/cs- pages.)
============================================================ */

/* ---- breadcrumb (works on dark heroes) ---- */
.pj-crumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.pj-crumb a { color: rgba(255,255,255,.72); }
.pj-crumb a:hover { color: #7FE3AC; }
.pj-crumb .sep { padding: 0 8px; color: rgba(255,255,255,.35); }

/* ---- dark hero (overview + industry) ---- */
.pj-hero { position: relative; overflow: hidden; background: #0E3A54; padding: calc(var(--header-h) + 76px) 0 76px; }
.pj-hero .container { position: relative; z-index: 2; }
.pj-hero .label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #7FE3AC; margin-bottom: 18px; }
.pj-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; max-width: 22ch; margin-bottom: 18px; }
.pj-hero p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 60ch; line-height: 1.62; }

/* hero stat row */
.pj-herostats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 44px; }
.pj-herostats .s .n { font-size: clamp(26px,3vw,38px); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1; }
.pj-herostats .s .n span { color: #7FE3AC; }
.pj-herostats .s .l { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 8px; max-width: 22ch; }

/* ---- quick-facts strip (industry / client context row) ---- */
.pj-factstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-light); border: 1px solid var(--gray-light); border-radius: 16px; overflow: hidden; margin-top: 40px; }
@media (max-width: 720px){ .pj-factstrip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px){ .pj-factstrip { grid-template-columns: 1fr; } }
.pj-factstrip .f { background: #fff; padding: 20px 22px; }
.pj-factstrip .f .k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.pj-factstrip .f .v { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.35; }

/* ---- industry pathway cards (overview) ---- */
.pj-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
@media (max-width: 760px){ .pj-paths { grid-template-columns: 1fr; } }
.pj-path { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-light); border-radius: 18px; padding: 30px 30px 26px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pj-path:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(14,58,84,.12); border-color: #C0D3DE; }
.pj-path .pnum { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.pj-path h3 { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.01em; margin-bottom: 10px; }
.pj-path p { font-size: 14.5px; line-height: 1.6; color: var(--gray-mid); margin: 0 0 18px; }
.pj-path .clients { font-size: 12.5px; font-weight: 600; color: #7C8A94; margin-bottom: 16px; }
.pj-path .go { margin-top: auto; font-size: 14px; font-weight: 700; color: #1E9E58; display: inline-flex; align-items: center; gap: 7px; transition: gap .15s; }
.pj-path:hover .go { gap: 11px; }

/* ---- feature (overview) ---- */
.pj-feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--gray-light); margin-top: 40px; background: #fff; }
@media (max-width: 860px){ .pj-feature { grid-template-columns: 1fr; } }
.pj-feature .media { position: relative; min-height: 340px; background: linear-gradient(135deg,#0E3A54,#12708C); overflow: hidden; }
.pj-feature .media img { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.pj-feature .media .badge { position: absolute; top: 20px; left: 20px; z-index: 2; background: var(--teal); color:#fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.pj-feature .body { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 860px){ .pj-feature .body { padding: 32px 26px; } }
.pj-feature .body .cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.pj-feature .body h2 { font-size: clamp(22px,2.6vw,30px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 16px; }
.pj-feature .body p { font-size: 15px; line-height: 1.7; color: var(--gray-mid); margin-bottom: 26px; }
.pj-feature .metrics { display: flex; gap: 36px; flex-wrap: wrap; }
.pj-feature .metrics .m .mn { font-size: 30px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.pj-feature .metrics .m .mn span { color: var(--teal); }
.pj-feature .metrics .m .ml { font-size: 13px; color: var(--gray-mid); margin-top: 2px; }

/* ---- project cards (overview + industry) ---- */
.pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
@media (max-width: 900px){ .pj-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .pj-grid { grid-template-columns: 1fr; } }
.pj-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gray-light); border-radius: 16px; padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden; }
.pj-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(14,58,84,.12); border-color: #C0D3DE; }
.pj-card .tag { display:inline-block; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1E9E58; background: rgba(30,158,88,.1); padding: 4px 11px; border-radius: 999px; margin-bottom: 16px; }
.pj-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; line-height: 1.25; font-weight: 800; }
.pj-card p { font-size: 14px; color: var(--gray-mid); margin: 0 0 16px; line-height: 1.6; }
.pj-card .proof { display: flex; gap: 22px; flex-wrap: wrap; margin: 0 0 18px; }
.pj-card .proof .pp .n { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1; }
.pj-card .proof .pp .n span { color: #1E9E58; }
.pj-card .proof .pp .l { font-size: 12px; color: var(--gray-mid); margin-top: 4px; }
.pj-card .loc { font-size: 12px; color: #9AA9B2; margin-bottom: 14px; font-weight: 600; }
.pj-card .go { margin-top: auto; font-size: 14px; font-weight: 700; color: #1E9E58; display: inline-flex; align-items: center; gap: 7px; transition: gap .15s; }
.pj-card:hover .go { gap: 11px; }
.pj-card.is-soon { background: var(--off-white); }
.pj-card.is-soon .tag { color: var(--gray-mid); background: rgba(90,107,123,.12); }
/* Project-card image band — full-bleed top image; card's overflow:hidden clips it to the rounded corners */
.pj-card-media { flex: none; height: 168px; margin: -28px -28px 20px; overflow: hidden; background: linear-gradient(135deg,#0E3A54,#0A2A3E); position: relative; }
.pj-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Project-stage pill — e.g. "Feasibility Study Complete" (planning-stage indicator, not a results claim) */
.pj-status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #1E7A47; background: rgba(30,158,88,.12); border: 1px solid rgba(30,158,88,.30); padding: 5px 12px; border-radius: 999px; line-height: 1.2; }
.pj-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1E9E58; flex: none; }
.pj-status--hero { color: #fff; background: rgba(127,227,172,.14); border-color: rgba(127,227,172,.45); }
.pj-status--hero::before { background: #7FE3AC; }
.pj-card-media .pj-status { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.1); }

/* ---- case-study hero + layout ---- */
.cs-hero { position: relative; overflow: hidden; background: #0E3A54; padding: calc(var(--header-h) + 64px) 0 60px; }
.cs-hero .container { position: relative; z-index: 2; }
.cs-hero .cat { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7FE3AC; margin-bottom: 14px; }
.cs-hero h1 { color: #fff; font-size: clamp(28px, 3.8vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; max-width: 22ch; margin-bottom: 16px; }
.cs-hero p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 62ch; line-height: 1.6; }
.cs-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; margin-top: 8px; }
@media (max-width: 940px){ .cs-wrap { grid-template-columns: 1fr; gap: 0; } }

/* numbered story sections */
.cs-sec { padding: 40px 0; border-bottom: 1px solid var(--gray-light); scroll-margin-top: calc(var(--header-h) + 20px); }
.cs-sec:last-child { border-bottom: none; }
.cs-sec .cs-num { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1E9E58; margin-bottom: 14px; }
.cs-sec .cs-num b { width: 26px; height: 26px; border-radius: 50%; background: #1E9E58; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.cs-sec h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: var(--navy); letter-spacing: -.015em; margin-bottom: 16px; }
.cs-sec h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 8px 0 10px; }
.cs-sec p { font-size: 16px; line-height: 1.72; color: var(--gray-mid); margin-bottom: 14px; }
.cs-sec ul.ticks { list-style: none; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.cs-sec ul.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: #2C3E4A; line-height: 1.6; }
.cs-sec ul.ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #1E9E58;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat; }

/* core-solution callout */
.cs-core { background: #F1F8F4; border: 1px solid #C7E6D3; border-left: 4px solid #1E9E58; border-radius: 14px; padding: 24px 26px; margin: 20px 0 6px; }
.cs-core .k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1E9E58; margin-bottom: 8px; }
.cs-core h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.cs-core p { font-size: 15px; line-height: 1.65; color: #3A4A58; margin: 0; }

/* two/three-up mini feature cards (plant-by-plant, phases, duo callouts) */
.cs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 18px 0 4px; }
.cs-mini { background: #fff; border: 1px solid var(--gray-light); border-radius: 14px; padding: 22px 22px; }
.cs-mini .k { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.cs-mini h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.cs-mini p { font-size: 14px; line-height: 1.6; color: var(--gray-mid); margin: 0; }

/* results metrics */
.cs-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 22px; }
@media (max-width: 560px){ .cs-metrics { grid-template-columns: 1fr; } }
.cs-metric { background: var(--off-white); border: 1px solid var(--gray-light); border-radius: 14px; padding: 24px; text-align: center; }
.cs-metric .n { font-size: clamp(26px,3vw,36px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.05; }
.cs-metric .n span { color: #1E9E58; }
.cs-metric .l { font-size: 13px; color: var(--gray-mid); margin-top: 8px; line-height: 1.4; }

/* sticky facts card */
.cs-facts { position: sticky; top: calc(var(--header-h) + 24px); background: #fff; border: 1px solid var(--gray-light); border-radius: 18px; padding: 26px; }
@media (max-width: 940px){ .cs-facts { position: static; margin-top: 8px; } }
.cs-facts h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.cs-facts dl { margin: 0; }
.cs-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #9AA9B2; margin-top: 14px; }
.cs-facts dt:first-child { margin-top: 0; }
.cs-facts dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; color: var(--navy); }
.cs-facts .cs-facts-cta { margin-top: 22px; }
.cs-facts .back-ind { display: block; margin-top: 14px; font-size: 13px; font-weight: 700; color: #1E9E58; }

/* services checklist grid (industry + client) */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
@media (max-width: 900px){ .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .svc-grid { grid-template-columns: 1fr; } }
.svc { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--gray-light); border-radius: 12px; padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.svc::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #1E9E58;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat; }

/* section-lead helper */
.pj-lead { max-width: 60ch; }
.pj-lead .eyebrow2 { display:inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1E9E58; margin-bottom: 12px; }
.pj-lead h2 { font-size: clamp(24px,3vw,36px); font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 14px; }
.pj-lead p { font-size: 16px; line-height: 1.7; color: var(--gray-mid); }

/* page CTA (shared with legacy inline copies) */
.page-cta { background: linear-gradient(120deg,#0E3A54,#12708C); border-radius: 20px; padding: 56px 48px; text-align: center; }
@media (max-width: 768px){ .page-cta { padding: 40px 24px; } }
.page-cta h2 { color: #fff; margin-bottom: 12px; }
.page-cta p { color: rgba(255,255,255,.8); max-width: 54ch; margin: 0 auto 26px; }

/* case-study hero photo (approved imagery, text stays legible via overlay) */
.cs-hero .hero-photo { position: absolute; inset: 0; z-index: 0; }
.cs-hero .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.cs-hero .hero-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,34,56,.93) 0%, rgba(8,34,56,.78) 52%, rgba(8,34,56,.55) 100%); }

/* ============================================================
   PROJECTS SPACING REFINEMENT — scoped to .pj-page ONLY
   Tightens vertical rhythm on the Overview / Industry / Client
   pages. Everything is nested under .pj-page so it never affects
   the homepage or other pages that share .section/.page-cta/.cs-*.
============================================================ */
.pj-page {
  --pj-section:   clamp(30px, 4.4vw, 58px);  /* major section top/bottom */
  --pj-hero-pad:  clamp(30px, 4.2vw, 54px);  /* hero padding beyond header + bottom */
  --pj-cs-sec:    clamp(22px, 3.2vw, 34px);  /* numbered case-study section */
  --pj-card-gap:  clamp(14px, 1.8vw, 20px);
  --pj-card-pad:  clamp(20px, 2.6vw, 26px);
  --pj-metric-pad:clamp(16px, 2.2vw, 22px);
  --pj-wrap-gap:  clamp(30px, 4vw, 52px);
}

/* major sections (inline padding-top:0 / padding-bottom:0 still win, keeping tight transitions) */
.pj-page .section { padding: var(--pj-section) 0; }

/* heroes — shorter, header-safe, responsive */
.pj-page .pj-hero { padding: calc(var(--header-h) + var(--pj-hero-pad)) 0 var(--pj-hero-pad); }
.pj-page .cs-hero { padding: calc(var(--header-h) + var(--pj-hero-pad)) 0 var(--pj-hero-pad); }
.pj-page .pj-crumb { margin-bottom: clamp(10px, 1.6vw, 16px); }
.pj-page .pj-hero .label { margin-bottom: clamp(10px, 1.5vw, 16px); }
.pj-page .pj-hero h1 { margin-bottom: clamp(10px, 1.5vw, 16px); }
.pj-page .cs-hero .cat { margin-bottom: clamp(8px, 1.3vw, 12px); }
.pj-page .cs-hero h1 { margin-bottom: clamp(10px, 1.4vw, 14px); }
.pj-page .pj-herostats { margin-top: clamp(22px, 3.2vw, 40px); }
.pj-page .pj-factstrip { margin-top: clamp(18px, 3vw, 34px); }

/* overview pathways + feature */
.pj-page .pj-paths { gap: var(--pj-card-gap); margin-top: clamp(16px, 2.4vw, 26px); }
.pj-page .pj-path { padding: clamp(22px, 2.6vw, 30px); }
.pj-page .pj-feature { margin-top: clamp(24px, 3.4vw, 40px); }

/* project-card grids */
.pj-page .pj-grid { gap: var(--pj-card-gap); margin-top: clamp(16px, 2.4vw, 26px); }
.pj-page .pj-card { padding: var(--pj-card-pad); }
.pj-page .pj-lead h2 { margin-bottom: clamp(8px, 1.4vw, 14px); }

/* case-study content column + numbered story */
.pj-page .cs-wrap { gap: var(--pj-wrap-gap); }
.pj-page .cs-sec { padding: var(--pj-cs-sec) 0; }
.pj-page .cs-sec .cs-num { margin-bottom: clamp(8px, 1.4vw, 12px); }
.pj-page .cs-sec h2 { margin-bottom: clamp(10px, 1.5vw, 14px); }
.pj-page .cs-sec p { margin-bottom: clamp(10px, 1.4vw, 13px); }
.pj-page .cs-metrics { gap: clamp(12px, 1.6vw, 18px); margin-top: clamp(14px, 2vw, 20px); }
.pj-page .cs-metric { padding: var(--pj-metric-pad); }
.pj-page .cs-facts { padding: clamp(20px, 2.4vw, 26px); }
.pj-page .cs-core { padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.4vw, 26px); margin: clamp(14px, 2vw, 20px) 0 clamp(4px, 1vw, 6px); }
.pj-page .cs-cards { gap: clamp(12px, 1.6vw, 16px); margin: clamp(14px, 2vw, 18px) 0 clamp(2px, 0.6vw, 4px); }
.pj-page .cs-mini { padding: clamp(16px, 2.2vw, 22px); }

/* services + CTA */
.pj-page .svc-grid { gap: clamp(10px, 1.4vw, 12px); margin-top: clamp(16px, 2.2vw, 24px); }
.pj-page .page-cta { padding: clamp(32px, 4.4vw, 52px) clamp(24px, 3.6vw, 44px); }

/* let the content column + metric tracks shrink so the 300px sticky facts
   card never gets pushed past the viewport at the ~1024px pinch width */
.pj-page .cs-wrap { grid-template-columns: minmax(0, 1fr) 300px; }
@media (max-width: 940px){ .pj-page .cs-wrap { grid-template-columns: 1fr; } }
.pj-page .cs-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px){ .pj-page .cs-metrics { grid-template-columns: 1fr; } }

/* Lead intros/subtext span the full card width (was capped at 60ch) */
.pj-page .pj-lead { max-width: none; }

/* Full-width subtext across Projects pages — hero descriptions + CTA copy
   match the content/card width. Headings keep their 22ch wrap cap. */
.pj-page .pj-hero p { max-width: none; }
.pj-page .cs-hero p { max-width: none; }
.pj-page .page-cta p { max-width: none; }

/* hero-stat unit word (e.g. "Facilities" after 16+) — smaller so the value scans cleanly */
.pj-herostats .s .n .pj-u { font-size: .5em; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: 0; }
