/* Momentum Mechanical - Squarespace Pattern Styles */

/* CSS Variables */
:root {
  /* Brand Colors - Momentum Mechanical Logo */
  --brand-red: #E31B23;
  --brand-blue: #0052A5;
  --brand-red-dark: #B8151B;
  --brand-red-light: #FF3D44;
  --brand-blue-dark: #003D7A;
  --brand-blue-light: #1A6FC4;
  --glow-red: 0 0 40px rgba(227, 27, 35, 0.3);
  --glow-red-intense: 0 0 60px rgba(227, 27, 35, 0.5);
  --glow-blue: 0 0 40px rgba(0, 82, 165, 0.3);

  /* Legacy aliases for compatibility */
  --navy: #0052A5;
  --navy-dark: #003D7A;
  --navy-light: #1A6FC4;
  --charcoal-light: #2a2a2a;
  --brand-navy: #0052A5;
  --brand-orange: #E31B23;
  --brand-navy-dark: #003D7A;
  --brand-orange-light: #FF3D44;
  --glow-orange: 0 0 40px rgba(227, 27, 35, 0.3);
  --glow-orange-intense: 0 0 60px rgba(227, 27, 35, 0.5);

  /* Neutrals */
  --white: #ffffff;
  --black: #000000;
  --site-dark: #1a1a1a;
  --site-charcoal: #2a2a2a;

  /* Grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #b0b5bc;
  --gray-500: #8b919a;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Squarespace Spacing */
  --container-padding: 4vw;
  --container-padding-mobile: 6vw;
  --section-padding: 60px;
  --section-padding-mobile: 36px;

  /* Squarespace Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-body: 17px;
  --line-height-body: 1.6;

  /* Transitions */
  --transition-quick: 200ms;
  --transition-standard: 300ms;
  --transition-expressive: 500ms;
  --ease-material: cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-content: 10;
  --z-navbar: 100;
  --z-menu: 200;
  --z-modal: 300;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--line-height-body);
  color: var(--white);
  background: var(--site-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (max-width: 600px) {
  .container {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 24px;
}

@media (min-width: 900px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 42px;
  }

  h3 {
    font-size: 32px;
  }
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-standard) ease;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: var(--brand-orange);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 400ms var(--ease-material);
  text-align: center;
}

.btn-primary:hover {
  background: var(--brand-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 27, 35, 0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand-orange);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 2px solid var(--brand-orange);
  border-radius: 0;
  cursor: pointer;
  transition: all 400ms var(--ease-material);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--brand-orange);
  color: var(--white);
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  background: #ffffff;
  padding: 8px 0;
  transition: all 400ms var(--ease-material);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 900px) {
  .navbar-links {
    display: flex;
  }
}

.nav-link {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition-standard) ease;
}

.nav-link:hover {
  color: var(--brand-orange);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (min-width: 900px) {
  .mobile-toggle {
    display: none;
  }
}

.hamburger {
  width: 28px;
  height: 2px;
  background: #1a1a1a;
  transition: all var(--transition-standard) ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-standard) ease;
}

.hamburger::before {
  transform: translateY(-8px);
}

.hamburger::after {
  transform: translateY(6px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 24px;
  padding: 24px var(--container-padding-mobile);
  background: var(--brand-blue);
}

.mobile-menu.active {
  display: flex;
}

.mobile-link {
  color: var(--gray-300);
  font-weight: 500;
  font-size: 16px;
  padding: 8px 0;
}

.mobile-cta {
  margin-top: 8px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-image-container,
.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image,
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 82, 165, 0.85) 0%, rgba(26, 26, 26, 0.75) 100%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
  color: var(--white);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .hero-subtitle {
    font-size: 22px;
  }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: pulse 2s infinite;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-orange), transparent);
}

/* Keep the decorative prompt clear of hero copy and CTAs in short windows. */
@media (max-height: 760px) {
  .hero-section .scroll-indicator {
    display: none;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Scrolling Text */
.scrolling-text-block {
  overflow: hidden;
  background: var(--brand-blue);
  padding: 16px 0;
}

.scrolling-text-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-text 30s linear infinite;
  width: max-content;
}

.scrolling-text-item {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 16px;
}

.separator {
  color: var(--white);
  opacity: 0.5;
  padding: 0 16px;
}

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

/* Client Logos Section */
.client-logos-section {
  background: var(--site-charcoal);
  padding: 40px 0;
  border-top: 1px solid var(--gray-800);
  border-bottom: 1px solid var(--gray-800);
}

.logos-label {
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.logos-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.logo-item {
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid var(--gray-700);
  border-radius: 4px;
  transition: all var(--transition-standard) ease;
}

.logo-item:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* Sections */
.section-dark {
  background: var(--site-dark);
  padding: var(--section-padding) 0;
}

.section-charcoal {
  background: var(--site-charcoal);
  padding: var(--section-padding) 0;
}

@media (max-width: 900px) {
  .section-dark,
  .section-charcoal {
    padding: var(--section-padding-mobile) 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
  font-weight: 600;
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--brand-red);
  flex: 0 0 auto;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===== PREMIUM SERVICES BENTO GRID ===== */
.services-premium {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--site-dark) 0%, var(--site-charcoal) 100%);
}

.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-bottom: 16px;
}

.services-headline {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.text-gradient {
  color: var(--brand-red);
}

/* Bento Grid */
.services-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .services-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
  }

  .bento-featured {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .bento-wide {
    grid-column: 1 / -1;
  }
}

/* Bento Cards */
.bento-card {
  position: relative;
  padding: 32px;
  border-radius: 0;
  overflow: hidden;
  transition: all 400ms var(--ease-material);
}

.bento-card:hover {
  transform: translateY(-4px);
}

/* Featured Card (Large with image) */
.bento-featured {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.85) 70%);
  z-index: 1;
}

.bento-content {
  position: relative;
  z-index: 2;
}

.bento-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-orange);
  background: rgba(227, 27, 35, 0.15);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.bento-title-lg {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.bento-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.bento-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bento-features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.bento-features svg {
  width: 16px;
  height: 16px;
  color: var(--brand-orange);
}

/* Dark Card Style */
.bento-dark {
  background: rgba(30, 30, 35, 0.8);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
}

.bento-dark:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Orange Accent Card */
.bento-red {
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.15) 0%, rgba(227, 27, 35, 0.05) 100%);
  border: 1px solid rgba(227, 27, 35, 0.3);
}

.bento-red:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 20px 40px rgba(227, 27, 35, 0.15);
}

/* Card Icon */
.bento-icon-wrap {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 27, 35, 0.1);
  border-radius: 0;
  margin-bottom: 20px;
}

.bento-title,
.bento-title-lg,
.bento-desc,
.bento-desc-sm,
.bento-stat-row,
.bento-label,
.bento-features {
  position: relative;
  z-index: 2;
}

.bento-icon-wrap svg {
  width: 28px;
  height: 28px;
  color: var(--brand-orange);
}

.bento-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.bento-desc-sm {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Stats Row */
.bento-stat-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-big {
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-orange);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Wide Card */
.bento-wide {
  padding: 24px 32px;
}

.bento-gradient {
  background: linear-gradient(90deg, var(--site-charcoal) 0%, rgba(227, 27, 35, 0.08) 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

.bento-wide-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .bento-wide-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.bento-wide-left {
  flex: 1;
}

.bento-wide-left .bento-title {
  margin-bottom: 6px;
}

.bento-wide-left .bento-desc-sm {
  margin-bottom: 0;
}

.brand-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-logo-item {
  padding: 10px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-300);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 300ms ease;
}

.brand-logo-item:hover {
  background: rgba(227, 27, 35, 0.1);
  border-color: var(--brand-orange);
  color: var(--white);
}

/* Industries Strip */
.industries-strip {
  padding: 32px;
  background: rgba(20,20,25,0.6);
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.04);
}

.industries-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.industry-chip {
  padding: 10px 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 100px;
  font-size: 14px;
  color: var(--gray-300);
  transition: all 300ms ease;
  cursor: default;
}

.industry-chip:hover {
  background: rgba(227, 27, 35, 0.1);
  color: var(--white);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 600px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-card {
  background: var(--site-dark);
  border: 1px solid var(--gray-800);
  overflow: hidden;
  transition: all 400ms var(--ease-material);
}

.project-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-material);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
}

.project-tag {
  display: inline-block;
  padding: 6px 12px;
  background: var(--brand-orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--white);
}

.project-info p {
  color: var(--gray-400);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.project-stats span {
  color: var(--gray-500);
  font-size: 13px;
}

.project-stats strong {
  color: var(--brand-orange);
}

/* Quote Calculator */
.quote-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 900px) {
  .quote-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.quote-info {
  max-width: 500px;
}

.quote-description {
  color: var(--gray-300);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.quote-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-300);
  font-size: 15px;
}

.benefit-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

.calculator-card {
  background: var(--site-charcoal);
  padding: 32px;
  border: 1px solid var(--gray-800);
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.estimate-display {
  background: var(--site-dark);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--gray-700);
}

.estimate-label {
  color: var(--gray-500);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.estimate-value {
  color: var(--brand-orange);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.estimate-note {
  color: var(--gray-500);
  font-size: 12px;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.about-content {
  max-width: 600px;
}

.about-text {
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-material);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Testimonials Carousel */
.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  position: relative;
  min-height: 300px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: all 500ms var(--ease-material);
  background: var(--site-charcoal);
  padding: 40px;
  border: 1px solid var(--gray-800);
}

.testimonial-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.testimonial-content {
  margin-bottom: 24px;
}

.stars {
  color: var(--brand-orange);
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.testimonial-text {
  color: var(--gray-300);
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--brand-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50%;
}

.author-name {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.author-title {
  color: var(--gray-500);
  font-size: 14px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--gray-700);
  color: var(--gray-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-standard) ease;
}

.carousel-btn:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

.carousel-btn svg {
  width: 24px;
  height: 24px;
}

.carousel-dots {
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--gray-700);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-standard) ease;
  /* 44px touch target via padding */
  padding: 17px;
  background-clip: content-box;
  box-sizing: content-box;
}

.dot.active {
  background: var(--brand-orange);
}

/* Certifications */
.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .certifications-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.cert-card {
  padding: 32px;
  background: var(--site-dark);
  border: 1px solid var(--gray-800);
  text-align: center;
  transition: all 400ms var(--ease-material);
}

.cert-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-4px);
}

.cert-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--brand-orange);
}

.cert-badge svg {
  width: 100%;
  height: 100%;
}

.cert-title {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--white);
}

.cert-description {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
}

/* Service Area Section */
.service-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .service-area-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.area-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.city-column h4 {
  color: var(--brand-orange);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.city-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.city-column li {
  color: var(--gray-400);
  font-size: 15px;
}

.map-placeholder {
  background: var(--site-charcoal);
  border: 1px solid var(--gray-800);
  height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.map-pin span {
  font-size: 48px;
  animation: bounce 2s infinite;
}

.pin-label {
  margin-top: 8px;
  color: var(--brand-orange);
  font-weight: 600;
  font-size: 14px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.map-radius {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 2px dashed var(--brand-orange);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1); opacity: 0.2; }
  100% { transform: scale(0.8); opacity: 0.4; }
}

.map-text {
  position: absolute;
  bottom: 24px;
  color: var(--gray-500);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-800);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  padding-right: 16px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--brand-orange);
  flex-shrink: 0;
  transition: transform var(--transition-standard) ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease-material);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  color: var(--gray-400);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 28px 24px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.contact-description {
  font-size: 18px;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  color: var(--brand-orange);
  flex-shrink: 0;
}

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

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-value {
  font-size: 16px;
  color: var(--white);
  line-height: 1.6;
}

.contact-value a {
  color: var(--brand-orange);
  transition: opacity var(--transition-standard) ease;
}

.contact-value a:hover {
  opacity: 0.8;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}

.form-input,
select.form-input,
textarea.form-input {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--gray-700);
  border-radius: 0;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--white);
  transition: border-color var(--transition-standard) ease;
}

.form-input::placeholder {
  color: var(--gray-500);
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-orange);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select.form-input option {
  background: var(--site-charcoal);
  color: var(--white);
}

/* Footer */
.footer {
  background: var(--brand-blue);
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-text {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 350px;
}

.footer-license {
  color: var(--gray-500);
  font-size: 13px;
  margin-top: 12px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-links li {
  font-size: 15px;
  color: var(--gray-400);
  transition: color var(--transition-standard) ease;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--gray-500);
  font-size: 14px;
}

@media (min-width: 900px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.badge-item {
  padding: 6px 12px;
  background: rgba(227, 27, 35, 0.15);
  color: var(--brand-orange);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}

/* ===== NANO BANNER PRO - CERTIFICATIONS ===== */
.certs-nano-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--site-charcoal) 0%, var(--site-dark) 100%);
  position: relative;
  overflow: hidden;
}

.certs-nano-header {
  text-align: center;
  margin-bottom: 60px;
}

.nano-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(227, 27, 35, 0.1);
  border: 1px solid rgba(227, 27, 35, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-orange);
  margin-bottom: 20px;
}

.nano-headline {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

/* Nano Banner Stack */
.nano-banner-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

/* Individual Nano Banner */
.nano-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  background: rgba(30, 30, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  backdrop-filter: blur(10px);
  transition: all 400ms var(--ease-material);
}

.nano-banner:hover {
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Featured Banner */
.nano-banner.nano-featured {
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.15) 0%, rgba(30, 30, 35, 0.8) 100%);
  border-color: rgba(227, 27, 35, 0.3);
  padding: 32px 40px;
}

.nano-banner.nano-featured:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 20px 60px rgba(227, 27, 35, 0.2);
}

.nano-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(227, 27, 35, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* Accent Banner */
.nano-banner.nano-accent {
  background: linear-gradient(90deg, rgba(227, 27, 35, 0.08) 0%, rgba(30, 30, 35, 0.6) 100%);
}

/* Number */
.nano-number {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-500);
  font-family: monospace;
  letter-spacing: 1px;
}

.nano-featured .nano-number {
  color: var(--brand-orange);
}

/* Icon Ring */
.nano-icon-ring {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(227, 27, 35, 0.1);
  border: 1px solid rgba(227, 27, 35, 0.2);
  border-radius: 0;
  transition: all 300ms ease;
}

.nano-banner:hover .nano-icon-ring {
  background: rgba(227, 27, 35, 0.2);
  border-color: var(--brand-orange);
  transform: scale(1.05);
}

.nano-icon-ring svg {
  width: 28px;
  height: 28px;
  color: var(--brand-orange);
}

/* Content */
.nano-content {
  flex: 1;
}

.nano-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.nano-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.5;
  margin: 0;
}

/* Stat */
.nano-stat {
  text-align: center;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 80px;
}

.nano-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-orange);
  line-height: 1;
}

.nano-stat-label {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Trust Row */
.nano-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nano-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-400);
}

.trust-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border-radius: 50%;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .nano-banner {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }

  .nano-number {
    display: none;
  }

  .nano-icon-ring {
    margin: 0 auto;
  }

  .nano-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 0;
    padding-top: 16px;
    margin-top: 8px;
  }

  .nano-trust-row {
    gap: 16px;
  }

  .nano-trust-item {
    font-size: 13px;
  }
}

/* Animations */
[data-aos] {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-material), transform 0.6s var(--ease-material);
}

[data-aos].aos-init {
  opacity: 0;
  transform: translateY(20px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.95);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}

/* Image Reveal */
.image-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1s var(--ease-material);
}

.image-reveal.aos-animate {
  clip-path: inset(0 0 0 0);
}

/* Parallax */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  will-change: transform;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

.text-navy,
.text-blue {
  color: var(--brand-blue);
}

.text-orange,
.text-red {
  color: var(--brand-red);
}

/* ===== ENHANCED UI EFFECTS ===== */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.015;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Enhanced button hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 500ms ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: var(--glow-orange);
  transform: translateY(-2px);
}

/* Card glow on hover */
.bento-featured:hover {
  box-shadow: var(--glow-orange-intense);
}

.bento-red:hover .bento-icon-wrap {
  transform: scale(1.1);
  box-shadow: var(--glow-orange);
}

.bento-dark:hover .bento-icon-wrap {
  transform: scale(1.05);
}

.bento-icon-wrap {
  transition: all 400ms var(--ease-material);
}

/* Animated gradient border */
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Animated border on featured - disabled to avoid conflicts */

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-badge {
  animation: float 4s ease-in-out infinite;
}

/* Stats number glow */
.stat-big {
  text-shadow: 0 0 20px rgba(227, 27, 35, 0.3);
}

/* Image hover zoom */
.project-image {
  overflow: hidden;
}

.project-image img {
  transition: transform 600ms var(--ease-material);
}

.project-card:hover .project-image img {
  transform: scale(1.08);
}

/* Testimonial card enhancement */
.testimonial-card.active {
  box-shadow: 0 25px 50px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* FAQ hover */
.faq-question:hover {
  background: rgba(227, 27, 35, 0.05);
}

/* Form input focus glow */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  box-shadow: 0 0 0 3px rgba(227, 27, 35, 0.15), var(--glow-orange);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 32px;
  width: 50px;
  height: 50px;
  background: var(--brand-orange);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 300ms ease;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-orange-intense);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

/* Link underline animation */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-orange);
  transition: width 300ms ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Section reveal animation */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-aos="fade-up"].aos-animate {
  animation: reveal-up 600ms var(--ease-material) forwards;
}

/* Shimmer loading effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.brand-logo-item {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
}

.brand-logo-item:hover {
  animation: shimmer 1.5s ease infinite;
}

/* Industry chip interaction */
.industry-chip {
  transform: scale(1);
}

.industry-chip:hover {
  transform: scale(1.05);
}

/* Cursor glow effect on cards - using ::after to not conflict */
.project-card .glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(227, 27, 35, 0.06),
    transparent 40%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 1;
}

.project-card:hover .glow-effect {
  opacity: 1;
}

/* Navbar smooth transition */
#navbar {
  transition: transform 300ms ease, box-shadow 300ms ease;
}

/* ===== TRUSTED BY - NANO BANNER PRO WITH IMAGES ===== */
.trusted-nano-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(15, 15, 20, 1) 0%, rgba(18, 18, 24, 1) 100%);
}

.trusted-nano-header {
  text-align: center;
  margin-bottom: 40px;
}

.trusted-nano-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 24px 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  margin-bottom: 40px;
}

.nano-stat-item {
  text-align: center;
}

.nano-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}

.nano-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nano Industry Banner Stack */
.nano-industry-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.nano-industry-banner {
  display: grid;
  grid-template-columns: 48px 100px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: rgba(30, 30, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.nano-industry-banner:hover {
  background: rgba(40, 40, 48, 0.8);
  border-color: rgba(227, 27, 35, 0.2);
  transform: translateX(4px);
}

.nano-industry-banner.nano-featured {
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.12) 0%, rgba(30, 30, 35, 0.8) 100%);
  border-color: rgba(227, 27, 35, 0.3);
}

.nano-industry-num {
  font-size: 24px;
  font-weight: 800;
  color: rgba(227, 27, 35, 0.3);
  font-family: var(--font-mono, monospace);
}

.nano-featured .nano-industry-num {
  color: var(--brand-orange);
}

.nano-industry-image {
  width: 100px;
  height: 66px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nano-industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.nano-industry-banner:hover .nano-industry-image img {
  transform: scale(1.05);
}

.nano-industry-content {
  flex: 1;
}

.nano-industry-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.nano-industry-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.nano-industry-stat {
  text-align: right;
  min-width: 80px;
}

.nano-industry-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}

.nano-industry-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* More Industries Row */
.nano-more-industries {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.nano-more-label {
  color: rgba(255, 255, 255, 0.4);
}

.nano-more-item {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.nano-more-divider {
  color: rgba(255, 255, 255, 0.2);
}

/* Responsive - Nano Industry */
@media (max-width: 768px) {
  .trusted-nano-section {
    padding: 60px 0;
  }

  .trusted-nano-stats {
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px;
  }

  .nano-stat-item {
    flex: 1 1 40%;
  }

  .nano-industry-banner {
    grid-template-columns: 36px 70px 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
    padding: 16px 20px;
  }

  .nano-industry-num {
    font-size: 18px;
  }

  .nano-industry-image {
    width: 70px;
    height: 50px;
    grid-row: span 2;
  }

  .nano-industry-content {
    grid-column: 3;
  }

  .nano-industry-stat {
    grid-column: 3;
    text-align: left;
  }

  .nano-industry-value {
    font-size: 18px;
    display: inline;
  }

  .nano-industry-label {
    display: inline;
    margin-left: 4px;
  }

  .nano-more-industries {
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: 13px;
  }
}

/* Legacy - keeping for reference */
.trusted-showcase {
  display: none;
}

.trusted-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(227, 27, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.trusted-header {
  text-align: center;
  margin-bottom: 48px;
}

.trusted-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(227, 27, 35, 0.1);
  border: 1px solid rgba(227, 27, 35, 0.2);
  border-radius: 100px;
  color: var(--brand-orange);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.trusted-badge svg {
  stroke: var(--brand-orange);
}

.trusted-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.trusted-subtext {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
  margin: 0 auto;
}

/* Stats Row */
.trusted-stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 32px 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.trusted-stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trusted-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Industry Cards Grid */
.trusted-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.industry-card {
  position: relative;
  padding: 28px 24px;
  background: rgba(30, 30, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand-orange), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 27, 35, 0.3);
  background: rgba(40, 40, 48, 0.8);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card.industry-featured {
  background: linear-gradient(135deg, rgba(227, 27, 35, 0.12) 0%, rgba(30, 30, 35, 0.8) 100%);
  border-color: rgba(227, 27, 35, 0.3);
}

.industry-card.industry-featured::before {
  opacity: 1;
}

.industry-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: rgba(227, 27, 35, 0.1);
  border: 1px solid rgba(227, 27, 35, 0.2);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.industry-icon svg {
  stroke: var(--brand-orange);
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
  background: rgba(227, 27, 35, 0.2);
  transform: scale(1.05);
}

.industry-card:hover .industry-icon svg {
  transform: scale(1.1);
}

.industry-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.industry-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.industry-count {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(227, 27, 35, 0.1);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-orange);
}

/* Trust Badges */
.trusted-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #22c55e;
  transition: all 0.3s ease;
}

.trust-badge-item:hover {
  background: rgba(34, 197, 94, 0.15);
  transform: translateY(-2px);
}

.trust-badge-item svg {
  stroke: #22c55e;
  flex-shrink: 0;
}

/* Responsive - Trusted Section */
@media (max-width: 1024px) {
  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .trusted-showcase {
    padding: 60px 0;
  }

  .trusted-stats-row {
    gap: 24px;
    padding: 24px;
  }

  .trusted-divider {
    display: none;
  }

  .stat-number {
    font-size: 24px;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .industry-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0 16px;
    text-align: left;
    padding: 20px;
  }

  .industry-icon {
    grid-row: span 2;
    width: 50px;
    height: 50px;
    margin: 0;
  }

  .industry-name {
    align-self: end;
    margin-bottom: 2px;
  }

  .industry-desc {
    grid-column: 2;
    align-self: start;
    margin-bottom: 0;
  }

  .industry-count {
    grid-row: span 2;
    align-self: center;
    padding: 6px 10px;
    font-size: 11px;
  }

  .trusted-badges {
    gap: 10px;
  }

  .trust-badge-item {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* ============================================
   Industries Section (Simplified)
   ============================================ */
.industries-section {
  padding: 80px 0;
  background: var(--site-charcoal);
}

.industries-header {
  text-align: center;
  margin-bottom: 48px;
}

.industries-headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.industries-subtext {
  font-size: 17px;
  color: var(--gray-400);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.industry-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.industry-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}

.industry-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.industry-desc {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.industry-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-orange);
}

.industries-more {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .industry-card {
    padding: 20px 16px;
  }
}

@media (max-width: 500px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Credentials Section (Simplified)
   ============================================ */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.credential-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.credential-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(227, 27, 35, 0.3);
}

.credential-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.credential-desc {
  font-size: 15px;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 20px;
}

.credential-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.credential-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--brand-orange);
}

.credential-label {
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  
  .credential-card {
    padding: 24px 20px;
  }
}

/* ============================================
   SQUARESPACE STYLE OVERRIDES
   Boxy, clean, geometric aesthetic
   ============================================ */

/* Squarespace-style buttons - boxy, no rounded corners */
.btn-primary,
.btn-outline,
.btn-large {
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  font-size: 13px;
  padding: 16px 32px;
}

.btn-primary {
  background: var(--brand-orange);
  border: 2px solid var(--brand-orange);
}

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

/* Squarespace-style cards - sharp edges */
.bento-card,
.project-card,
.industry-card,
.credential-card,
.testimonial-card,
.faq-item,
.calculator-card,
.contact-form-wrapper {
  border-radius: 0 !important;
}

/* Squarespace-style inputs */
.form-input,
select,
input,
textarea {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 16px;
  font-size: 15px;
}

.form-input:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--brand-orange);
  outline: none;
}

/* Squarespace section styling - more defined blocks */
section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Squarespace-style section headers */
.section-title,
.nano-headline,
.industries-headline {
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
}

.section-label,
.overline,
.nano-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--brand-orange);
  margin-bottom: 16px;
  display: block;
}

/* Squarespace grid - clean, equal spacing */
.industries-grid {
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.industry-card {
  background: var(--site-charcoal);
  border: none !important;
  padding: 40px 32px;
}

.industry-card:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: none;
}

/* Squarespace credentials grid */
.credentials-grid {
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.credential-card {
  background: var(--site-dark);
  border: none !important;
}

.credential-card:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Squarespace-style navbar */
.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
}

/* Squarespace-style hero */
.hero-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-title {
  font-weight: 300;
  letter-spacing: -0.01em;
}

/* Squarespace project cards */
.project-card {
  overflow: hidden;
}

.project-image {
  border-radius: 0 !important;
}

.project-tag {
  border-radius: 0 !important;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.15em;
}

/* Squarespace FAQ */
.faq-question {
  border-radius: 0 !important;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.faq-item {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Squarespace testimonials */
.testimonial-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px;
}

.author-avatar {
  border-radius: 0 !important;
  width: 48px;
  height: 48px;
}

/* Squarespace footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Squarespace trust badges */
.nano-trust-item,
.badge-item {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Squarespace scrolling text - borders only */
.scrolling-text-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Squarespace brand logos */
.brand-logo-item {
  border-radius: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Squarespace stats */
.stat-big,
.credential-value,
.nano-stat-value {
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* Squarespace back to top */
.back-to-top {
  border-radius: 0 !important;
}

/* Remove all remaining border-radius */
img {
  border-radius: 0 !important;
}

.map-placeholder,
.map-radius,
.map-pin {
  border-radius: 0 !important;
}

/* ============================================
   ENHANCED ANIMATIONS & INTERACTIONS
   ============================================ */

/* Smooth hover transitions on all interactive elements */
a, button, .industry-card, .credential-card, .project-card, .bento-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Card hover lift effect */
.project-card:hover,
.bento-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Image zoom on hover */
.project-image img,
.hero-image {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Navbar glass effect */
.navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: #ffffff !important;
}

/* Floating CTA button (desktop) */
.floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  background: var(--brand-orange);
  color: var(--white);
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(227, 27, 35, 0.4);
  transition: all 0.3s ease;
}

.floating-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(227, 27, 35, 0.5);
}

/* Sticky Mobile CTA Bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  gap: 12px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-cta-bar.visible {
  transform: translateY(0);
}

.mobile-cta-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.mobile-cta-bar .cta-call {
  background: var(--brand-orange);
  color: white;
}

.mobile-cta-bar .cta-quote {
  background: var(--brand-navy);
  color: white;
}

.mobile-cta-bar a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
  }
  .floating-cta {
    display: none;
  }
  /* Add bottom padding to body so footer isn't hidden behind bar */
  body {
    padding-bottom: 80px;
  }
}

/* Gradient text enhancement */
.text-gradient {
  color: var(--brand-red);
}

/* Enhanced stats counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-number, .credential-value, .industry-count {
  animation: countUp 0.6s ease-out forwards;
}

/* Pulse animation for CTA buttons */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 27, 35, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(227, 27, 35, 0); }
}

.hero-ctas .btn-primary {
  /* Removed infinite pulse -- distracting */
}

/* Section reveal animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Underline hover effect for nav links */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Enhanced form focus states */
.form-input:focus,
input:focus,
textarea:focus,
select:focus {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(227, 27, 35, 0.3);
}

/* Quote calculator enhanced */
.estimate-value {
  font-size: 32px;
  font-weight: 300;
  color: var(--brand-orange);
  letter-spacing: -0.02em;
}

/* Enhanced testimonial styling */
.stars {
  color: var(--brand-orange);
  letter-spacing: 4px;
  font-size: 18px;
}

/* Contact icons subtle glow */
.contact-icon {
  background: rgba(227, 27, 35, 0.1);
  border: 1px solid rgba(227, 27, 35, 0.2);
  padding: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: rgba(227, 27, 35, 0.2);
  box-shadow: 0 0 20px rgba(227, 27, 35, 0.2);
}

/* Enhanced footer */
.footer {
  background: #0f0f0f;
}

.footer-logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

/* Scroll indicator animation */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.scroll-indicator {
  animation: bounce 2s infinite;
}

/* Loading skeleton for images */
.project-image,
.hero-image-container {
  background: linear-gradient(90deg, #2a2a2a 0%, #3a3a3a 50%, #2a2a2a 100%);
  background-size: 200% 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--site-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-600);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-orange);
}

/* Selection color */
::selection {
  background: var(--brand-orange);
  color: var(--white);
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--site-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin: 0 auto;
  border-radius: 2px;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  animation: loadProgress 1.5s ease forwards;
}

@keyframes loadProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ============================================
   STAGGERED GRID ANIMATIONS
   ============================================ */
.industries-grid .industry-card {
  opacity: 0;
  transform: translateY(30px);
  animation: staggerFadeIn 0.6s ease forwards;
}

.industries-grid .industry-card:nth-child(1) { animation-delay: 0.1s; }
.industries-grid .industry-card:nth-child(2) { animation-delay: 0.2s; }
.industries-grid .industry-card:nth-child(3) { animation-delay: 0.3s; }
.industries-grid .industry-card:nth-child(4) { animation-delay: 0.4s; }
.industries-grid .industry-card:nth-child(5) { animation-delay: 0.5s; }
.industries-grid .industry-card:nth-child(6) { animation-delay: 0.6s; }

.credentials-grid .credential-card {
  opacity: 0;
  transform: translateY(30px);
  animation: staggerFadeIn 0.6s ease forwards;
}

.credentials-grid .credential-card:nth-child(1) { animation-delay: 0.15s; }
.credentials-grid .credential-card:nth-child(2) { animation-delay: 0.25s; }
.credentials-grid .credential-card:nth-child(3) { animation-delay: 0.35s; }
.credentials-grid .credential-card:nth-child(4) { animation-delay: 0.45s; }

.projects-grid .project-card {
  opacity: 0;
  transform: translateY(30px);
  animation: staggerFadeIn 0.6s ease forwards;
}

.projects-grid .project-card:nth-child(1) { animation-delay: 0.1s; }
.projects-grid .project-card:nth-child(2) { animation-delay: 0.2s; }
.projects-grid .project-card:nth-child(3) { animation-delay: 0.3s; }
.projects-grid .project-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ANIMATED COUNTERS
   ============================================ */
.counter {
  display: inline-block;
}

/* ============================================
   TEXT REVEAL ANIMATIONS
   ============================================ */
.hero-title {
  overflow: hidden;
}

.hero-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: textReveal 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 768px) {
  /* Hero section mobile */
  .hero-section {
    min-height: 90vh;
    padding-top: 100px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Floating CTA mobile position */
  .floating-cta {
    bottom: 20px;
    right: 20px;
    padding: 14px 24px;
    font-size: 12px;
  }

  /* Section headers mobile */
  .section-title {
    font-size: 28px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Services bento mobile */
  .services-bento {
    gap: 12px;
  }

  .bento-card {
    padding: 24px;
  }

  .bento-featured {
    min-height: 350px;
  }

  .bento-title-lg {
    font-size: 24px;
  }

  /* Quote calculator mobile */
  .quote-wrapper {
    gap: 32px;
  }

  .calculator-card {
    padding: 24px;
  }

  .estimate-value {
    font-size: 24px;
  }

  /* Stats grid mobile */
  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }

  .stat-number {
    font-size: 32px;
  }

  /* Testimonials mobile */
  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  /* Contact section mobile */
  .contact-grid {
    gap: 40px;
  }

  .contact-form-wrapper {
    padding: 0;
  }

  /* Footer mobile */
  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    text-align: center;
  }

  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none;
  }

  /* Scrolling text slower on mobile */
  .scrolling-text-track {
    animation-duration: 20s;
  }

  /* Navbar mobile enhancements */
  .navbar {
    padding: 16px 0;
  }

  .navbar-logo {
    font-size: 18px;
  }

  .mobile-menu {
    padding: 20px;
    gap: 16px;
  }

  .mobile-link {
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* FAQ mobile */
  .faq-question span {
    font-size: 16px;
  }

  /* Map placeholder mobile */
  .map-placeholder {
    height: 250px;
  }

  /* Back to top button mobile - clear the sticky CTA bar */
  .back-to-top {
    bottom: 90px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 12px;
  }

  .btn-primary,
  .btn-outline {
    padding: 14px 20px;
    font-size: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 36px;
  }

  /* About image full width */
  .about-image {
    margin: 0 -20px;
    width: calc(100% + 40px);
  }

  .about-image img {
    border-radius: 0 !important;
  }

  /* Services cards stacked */
  .bento-stat-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-big {
    font-size: 28px;
  }

  /* Contact details compact */
  .contact-item {
    gap: 12px;
  }

  .contact-icon {
    width: 36px;
    height: 36px;
  }

  /* Footer compact */
  .footer-badges {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================
   SMOOTH REVEAL ON SCROLL (CSS Only Fallback)
   ============================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   ENHANCED HOVER STATES
   ============================================ */
/* Service cards glow effect */
.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(227, 27, 35, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.bento-card:hover::before {
  opacity: 1;
}

/* Project cards enhanced */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(227, 27, 35, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card:hover::after {
  opacity: 1;
}

/* FAQ enhanced hover */
.faq-question:hover {
  background: rgba(227, 27, 35, 0.03);
  padding-left: 16px;
}

.faq-question {
  transition: all 0.3s ease;
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */
/* Focus states */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--brand-orange);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-loader {
    display: none;
  }
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--brand-orange);
  color: var(--white);
  padding: 12px 20px;
  z-index: 10001;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 16px;
}

/* ============================================
   ENHANCED INDUSTRIES SECTION
   ============================================ */
.industries-section .section-label {
  display: inline-block;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

/* Squarespace-style stat cards - minimal grid */
.industries-section .industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.industries-section .industry-card {
  padding: 56px 32px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.industries-section .industry-card:nth-child(3n) {
  border-right: none;
}

.industries-section .industry-card:nth-child(n+4) {
  border-bottom: none;
}

.industries-section .industry-card:hover {
  background: rgba(227, 27, 35, 0.03);
}

.industries-section .industry-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 16px 0 8px;
}

.industries-section .industry-desc {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.5;
}

.industry-stats {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.industry-number {
  font-size: 42px;
  font-weight: 600;
  color: var(--brand-red);
  line-height: 1;
}

.industry-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .industries-section .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .industries-section .industry-card:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .industries-section .industry-card:nth-child(2n) {
    border-right: none;
  }
  .industries-section .industry-card:nth-child(n+5) {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .industries-section .industries-grid {
    grid-template-columns: 1fr;
  }
  .industries-section .industry-card {
    border-right: none !important;
    padding: 40px 24px;
  }
  .industries-section .industry-card:last-child {
    border-bottom: none;
  }
}

.industries-more {
  text-align: center;
  margin-top: 48px;
}

.more-label {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.more-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.more-tag {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-300);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.more-tag:hover {
  background: rgba(227, 27, 35, 0.1);
  border-color: var(--brand-red);
  color: var(--white);
}

@media (max-width: 768px) {
  .industries-section .industry-card {
    padding: 24px 20px;
  }

  .industry-number {
    font-size: 28px;
  }

  .more-tags {
    gap: 8px;
  }

  .more-tag {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .floating-cta,
  .back-to-top,
  .scroll-indicator,
  .page-loader,
  .scroll-progress {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
/* Scroll animations -- visible by default, JS adds .scroll-init then .visible */
.fade-in,
.fade-in-left,
.fade-in-right,
.scale-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.scroll-init { opacity: 0; transform: translateY(30px); }
.fade-in-left.scroll-init { opacity: 0; transform: translateX(-30px); }
.fade-in-right.scroll-init { opacity: 0; transform: translateX(30px); }
.scale-in.scroll-init { opacity: 0; transform: scale(0.9); }

.fade-in.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: none;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* License verification badges */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #0a5c36 0%, #0d7a47 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.trust-badge svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   VISUAL POLISH OVERRIDES (2026-03-30)
   ============================================ */

/* --- Industry Cards: Add depth, borders, icons --- */
.industry-card {
  background: linear-gradient(145deg, rgba(40, 40, 40, 0.8) 0%, rgba(30, 30, 30, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 0 !important;
  padding: 2rem !important;
  transition: all 0.4s ease !important;
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-navy) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.industry-card:hover {
  border-color: rgba(227, 27, 35, 0.3) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

.industry-card:hover::after {
  opacity: 1;
}

/* --- Stats Row: Visual treatment --- */
.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(227, 27, 35, 0.08);
  border-color: rgba(227, 27, 35, 0.2);
}

.stat-big {
  font-size: 3rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, var(--brand-orange) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Testimonial Card: Premium feel --- */
.testimonial-card {
  background: linear-gradient(145deg, rgba(45, 45, 45, 0.9) 0%, rgba(30, 30, 30, 0.95) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 2.5rem !important;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: rgba(227, 27, 35, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card.active {
  border-color: rgba(227, 27, 35, 0.25) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
}

/* --- About Grid: Better layout --- */
.about-grid {
  gap: 3rem;
}

.about-content {
  position: relative;
}

.about-content::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-orange) 0%, transparent 100%);
  border-radius: 2px;
}

/* --- FAQ: Cleaner accordion --- */
.faq-item {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 4px !important;
  margin-bottom: 0.75rem !important;
  transition: all 0.3s ease !important;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.faq-item.active {
  border-color: rgba(227, 27, 35, 0.3) !important;
  background: rgba(227, 27, 35, 0.05) !important;
}

/* --- Section dividers: subtle gradient lines --- */
.section-dark + .section-charcoal,
.section-charcoal + .section-dark {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- Industry Grid V3: Industrial Blueprint --- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.ind-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-red);
  z-index: 1;
}

.ind-cell {
  background: var(--site-dark);
  padding: 2rem 1.75rem;
  position: relative;
  transition: background 0.4s ease;
}

.ind-cell:hover {
  background: #1f1f1f;
}

.ind-cell--featured {
  grid-row: span 2;
  background: #1c1c1c;
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(227, 27, 35, 0.2);
}

.ind-cell--featured:hover {
  background: #202020;
}

.ind-tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-red);
  border: 1px solid rgba(227, 27, 35, 0.3);
  padding: 0.25rem 0.75rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.ind-num {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 3.2rem;
  font-weight: 400;
  color: white;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.15rem;
}

.ind-cell--featured .ind-num {
  font-size: 5rem;
}

.ind-plus {
  color: var(--brand-red);
  font-weight: 700;
}

.ind-metric {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
  margin-bottom: 1rem;
}

.ind-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.ind-cell--featured .ind-name {
  font-size: 1.3rem;
}

.ind-detail {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ind-cell--featured .ind-detail {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Progress bar -- shows relative scale */
.ind-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  width: 100%;
  position: relative;
  margin-top: auto;
}

.ind-bar-fill {
  height: 100%;
  background: var(--brand-red);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.ind-cell:hover .ind-bar-fill {
  background: var(--brand-red-light);
}

/* Subtle corner index numbers */
.ind-cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.4s ease;
}

.ind-cell:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
  .ind-cell--featured {
    grid-row: span 1;
    border-right: none;
    border-bottom: 1px solid rgba(227, 27, 35, 0.2);
  }
  .ind-cell--featured .ind-num {
    font-size: 3.5rem;
  }
}

/* Also Serving tags redesign */
.more-tag {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 100px !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: all 0.3s ease !important;
}

.more-tag:hover {
  border-color: var(--brand-orange) !important;
  color: white !important;
  background: rgba(227, 27, 35, 0.1) !important;
}

/* --- Project cards: better image overlay --- */
.project-card .project-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  pointer-events: none;
}

/* --- Scrolling ticker: subtle glow --- */
.scrolling-text-container {
  background: linear-gradient(90deg, var(--brand-orange) 0%, #c0392b 50%, var(--brand-navy) 100%) !important;
  box-shadow: 0 4px 20px rgba(227, 27, 35, 0.3);
}

/* --- Hero badge: glass morphism --- */
.hero-badge {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 100px !important;
}

/* --- About Section: Split Layout --- */
.abt-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.abt-image {
  position: relative;
  overflow: hidden;
}

.abt-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.abt-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.abt-tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: white;
  line-height: 1.4;
  opacity: 0.9;
}

.abt-content {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--site-dark);
}

.abt-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.abt-stat {
  text-align: center;
  position: relative;
}

.abt-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.abt-stat-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}

.abt-stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 0.4rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .abt-split {
    grid-template-columns: 1fr;
  }
  .abt-image {
    height: 300px;
  }
  .abt-content {
    padding: 2.5rem 1.5rem;
  }
  .abt-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .abt-stat:nth-child(2)::after {
    display: none;
  }
}

/* --- Testimonials: Static Grid --- */
.tst-header {
  margin-bottom: 3rem;
}

.tst-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.tst-grid::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand-red);
  z-index: 1;
}

.tst-card {
  background: var(--site-dark);
  padding: 2rem;
  transition: background 0.3s ease;
}

.tst-card:hover {
  background: #1f1f1f;
}

.tst-card--featured {
  grid-row: span 2;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tst-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  font-style: italic;
}

.tst-card--featured .tst-quote {
  font-size: 1.15rem;
}

.tst-divider {
  width: 40px;
  height: 2px;
  background: var(--brand-red);
  margin: 1.25rem 0;
}

.tst-author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.15rem;
}

.tst-author-role {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .tst-grid {
    grid-template-columns: 1fr;
  }
  .tst-card--featured {
    grid-row: span 1;
  }
}

/* --- Footer: top accent line --- */
.footer {
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, var(--brand-orange) 0%, var(--brand-navy) 100%) 1;
}

/* ===== Sector list (Industries We Serve, editorial style) ===== */
.sector-list {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
}
.sector-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  position: relative;
  transition: background var(--transition-base, 400ms) ease, padding var(--transition-base, 400ms) var(--ease-material);
}
.sector-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--brand-red);
  transition: width 600ms var(--ease-material);
}
a.sector-row:hover { background: rgba(255,255,255,0.02); padding-left: 1rem; }
a.sector-row:hover::after { width: 100%; }
.sector-idx {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}
a.sector-row:hover .sector-idx { color: var(--brand-red); }
.sector-name {
  color: white;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 0.35rem;
  transition: color 300ms ease;
}
.sector-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 560px;
}
.sector-proof {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  text-align: right;
  max-width: 220px;
  line-height: 1.7;
}
a.sector-row .sector-proof { color: rgba(255,255,255,0.55); }
@media (max-width: 768px) {
  .sector-row { grid-template-columns: 40px 1fr; }
  .sector-proof { grid-column: 2; text-align: left; margin-top: 0.25rem; }
}


/* ===== Premium token layer (Squarespace design system, crimson-adapted) ===== */
:root {
  --transition-fast: 200ms;
  --transition-standard: 300ms;
  --transition-base: 400ms;
  --transition-slow: 600ms;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
  --accent-alpha-10: rgba(227, 27, 35, 0.10);
  --accent-alpha-20: rgba(227, 27, 35, 0.20);
  --accent-alpha-30: rgba(227, 27, 35, 0.30);
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.4);
}
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

/* ===== Premium motion pass (SQSP patterns; brand colors untouched) ===== */
/* Display type: tight tracking per design system */
.hero-title { letter-spacing: -0.02em; }
.section-title { letter-spacing: -0.02em; }

/* Marquee pauses on hover */
.scrolling-text-block:hover .scrolling-text-track { animation-play-state: paused; }

/* Slow hero zoom, motion-gated */
@media (prefers-reduced-motion: no-preference) {
  .hero-video {
    animation: hero-slow-zoom 36s var(--ease-standard) infinite alternate;
  }
  @keyframes hero-slow-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.06); }
  }
}

/* Reduced-motion: honor the user's setting everywhere */
@media (prefers-reduced-motion: reduce) {
  .aos-init, [data-aos], .fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scrolling-text-track { animation: none !important; overflow-x: auto; }
  .hero-video, .loader-progress { animation: none !important; }
  html { scroll-behavior: auto !important; }
}

/* ===== Sector ledger v2: SQSP asymmetric header + compact rows ===== */
.industries-section .industries-header {
  text-align: left;
  margin-bottom: 8px;
}
.industries-section .industries-subtext {
  text-align: left;
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  max-width: 65ch;
}
.industries-section .industries-headline { margin-bottom: 0; }
.sector-list { margin-top: 2rem; }
.sector-row {
  grid-template-columns: 56px 1fr auto;
  gap: 1.5rem;
  padding: 1.15rem 0.5rem;
}
.sector-idx { font-size: 0.9rem; }
.sector-name {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  margin-bottom: 0.15rem;
  letter-spacing: -0.01em;
}
.sector-desc { font-size: 0.875rem; line-height: 1.5; }
.sector-proof { font-size: 0.65rem; letter-spacing: 0.12em; }
a.sector-row .sector-proof::after {
  content: "\2192";
  display: inline-block;
  margin-left: 8px;
  color: var(--brand-red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition-standard) ease, transform var(--transition-standard) var(--ease-decelerate);
}
a.sector-row:hover .sector-proof::after { opacity: 1; transform: translateX(0); }
a.sector-row:hover { background: var(--accent-alpha-10); }


/* Featured projects: 3 hero cards + compact ledger */
.projects-compact { margin-top: 2.5rem; }
.projects-compact .sector-name { font-size: 1.05rem; }
@media (min-width: 900px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

/* What We Do cards */
.wwd-card {
  display: block;
  text-decoration: none;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color var(--transition-standard) ease, background var(--transition-standard) ease;
}
.wwd-card:hover { border-color: var(--brand-red); background: var(--accent-alpha-10); }
.wwd-step { font-size: 0.65rem; letter-spacing: 0.25em; color: var(--brand-red); font-weight: 700; margin-bottom: 0.5rem; }
.wwd-name { color: white; font-weight: 700; font-size: 1.15rem; margin-bottom: 0.4rem; }
.wwd-desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Sector grid: dense 2-col variant of the ledger */
.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
}
.sector-grid .sector-row {
  grid-template-columns: 36px 1fr;
  gap: 1rem;
  padding: 1rem 0.25rem;
}
.sector-grid .sector-proof {
  grid-column: 2;
  text-align: left;
  max-width: none;
  margin-top: 0.35rem;
}
@media (max-width: 900px) {
  .sector-grid { grid-template-columns: 1fr; }
}

/* ===== UX pass: polish layer ===== */
/* 12. Brand selection color */
::selection { background: var(--brand-red); color: #fff; }

/* 13. Subtle dark scrollbar */
html { scrollbar-color: rgba(255,255,255,0.25) #111; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

/* 14. Anchors land below the sticky navbar */
html { scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }

/* 15. Persistent active state on current page's nav link */
.nav-link.active { color: var(--brand-red); }
.nav-link.active::after { width: 100%; }
.mobile-link.active { color: var(--brand-red); }

/* 16. Contrast bump on tiny uppercase labels */
.sector-idx { color: rgba(255,255,255,0.45); }
.sector-proof { color: rgba(255,255,255,0.55); }
.abt-stat-label { color: rgba(255,255,255,0.55); }

/* 17. Pressed state on buttons */
.btn-primary:active, .floating-cta:active, .back-to-top:active { transform: translateY(1px); }

/* 18. Prevent layout shift from images */
img { height: auto; }
.project-image { width: 100%; height: auto; aspect-ratio: 6 / 5; overflow: hidden; }
.project-image img { width: 100%; height: 100%; object-fit: cover; }

/* 19. Respect iPhone home-bar safe area */
.mobile-cta-bar { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 768px) {
  .back-to-top { bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }
}

/* 20. Lock page scroll while mobile menu is open */
body.menu-open { overflow: hidden; }

/* 24. Balanced headline wrapping */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* 25. 16px inputs on mobile stop iOS auto-zoom */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}

/* 26. Print: strip site chrome, keep content */
@media print {
  .navbar, .mobile-menu, .floating-cta, .back-to-top, .mobile-cta-bar,
  .hire-tab, .hire-panel, .scrolling-text-block, .page-loader, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Breadcrumb (project pages) */
.crumbs { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,0.55); text-decoration: none; }
.crumbs a:hover { color: var(--brand-red); }
.crumbs span { color: rgba(255,255,255,0.35); margin: 0 0.5rem; }

/* Prev / next project pager */
.proj-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.proj-pager a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: color 200ms ease; }
.proj-pager a:hover { color: var(--brand-red); }

/* ===== Site theme system ===== */
:root {
  color-scheme: dark;
  --theme-page: #1a1a1a;
  --theme-surface: #1a1a1a;
  --theme-surface-muted: #2a2a2a;
  --theme-surface-raised: #202020;
  --theme-control-bg: #111111;
  --theme-text: #ffffff;
  --theme-text-secondary: rgba(255, 255, 255, 0.78);
  --theme-text-muted: #b0b5bc;
  --theme-border: rgba(255, 255, 255, 0.10);
  --theme-border-strong: rgba(255, 255, 255, 0.18);
  --theme-shadow-card: 0 18px 48px rgba(0, 0, 0, 0.34);
  --theme-shadow-panel: 0 24px 80px rgba(0, 0, 0, 0.60);
  --theme-success: #86efac;
  --theme-success-bg: rgba(34, 197, 94, 0.15);
  --theme-success-border: rgba(34, 197, 94, 0.40);
  --theme-error: #fca5a5;
  --theme-error-bg: rgba(239, 68, 68, 0.15);
  --theme-error-border: rgba(239, 68, 68, 0.40);
}

html[data-theme="light"] {
  color-scheme: light;
  --site-dark: #ffffff;
  --site-charcoal: #f3f5f7;
  --charcoal-light: #ffffff;
  --theme-page: #f4f6f8;
  --theme-surface: #ffffff;
  --theme-surface-muted: #f3f5f7;
  --theme-surface-raised: #ffffff;
  --theme-control-bg: #ffffff;
  --theme-text: #171a1f;
  --theme-text-secondary: #4b5563;
  --theme-text-muted: #667085;
  --theme-border: rgba(17, 24, 39, 0.14);
  --theme-border-strong: rgba(17, 24, 39, 0.48);
  --theme-shadow-card: 0 16px 38px rgba(15, 23, 42, 0.10);
  --theme-shadow-panel: 0 24px 70px rgba(15, 23, 42, 0.18);
  --theme-success: #166534;
  --theme-success-bg: rgba(22, 101, 52, 0.08);
  --theme-success-border: rgba(22, 101, 52, 0.28);
  --theme-error: #b42318;
  --theme-error-bg: rgba(180, 35, 24, 0.08);
  --theme-error-border: rgba(180, 35, 24, 0.28);
}

/* Theme toggle */
.no-js .theme-toggle {
  display: none !important;
}

.theme-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  font: inherit;
  cursor: pointer;
}

.theme-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.theme-toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  flex: 0 0 42px;
  border: 1px solid #6b7280;
  border-radius: 999px;
  background: #d1d5db;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.30);
  transition: transform 200ms ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle-track {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  transform: translateX(18px);
}

html[data-theme="light"] .theme-toggle-track {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

html[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(18px);
}

.mobile-menu .theme-toggle {
  width: 100%;
  justify-content: space-between;
  padding: 12px 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 16px;
  font-weight: 600;
}

.mobile-menu .theme-toggle-label,
.theme-toggle--standalone .theme-toggle-label {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.mobile-menu .theme-toggle-track {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.24);
}

.mobile-menu .theme-toggle[aria-pressed="true"] .theme-toggle-track {
  background: #ffffff;
  border-color: #ffffff;
}

.mobile-menu .theme-toggle[aria-pressed="true"] .theme-toggle-thumb {
  background: var(--brand-blue);
}

html[data-theme="light"] .mobile-menu .theme-toggle-track {
  background: #ffffff;
  border-color: #ffffff;
}

html[data-theme="light"] .mobile-menu .theme-toggle-thumb {
  background: var(--brand-blue);
}

.theme-toggle--standalone {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: var(--z-navbar);
  width: auto;
  padding: 10px 12px;
  background: var(--theme-surface-raised);
  color: var(--theme-text);
  border: 1px solid var(--theme-border);
  box-shadow: var(--theme-shadow-card);
}

@media (min-width: 900px) and (max-width: 1180px) {
  .navbar-links {
    gap: 16px;
  }

  .nav-link {
    font-size: 11px;
    letter-spacing: 0.10em;
  }

  .navbar-links .btn-primary {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Light foundations */
html[data-theme="light"] body {
  background: var(--theme-page);
  color: var(--theme-text);
}

html[data-theme="light"] .section-dark {
  background: var(--theme-surface);
}

html[data-theme="light"] .section-charcoal,
html[data-theme="light"] .industries-section {
  background: var(--theme-surface-muted);
}

html[data-theme="light"] section {
  border-color: var(--theme-border);
}

html[data-theme="light"] .page-loader {
  background: var(--theme-page);
}

html[data-theme="light"] .loader-logo {
  color: var(--theme-text);
}

html[data-theme="light"] .loader-bar {
  background: var(--theme-border);
}

html[data-theme="light"] .page-header {
  background: var(--theme-surface) !important;
  border-color: var(--brand-red) !important;
}

html[data-theme="light"] .page-header h1 {
  color: var(--theme-text) !important;
}

html[data-theme="light"] .page-header p {
  color: var(--theme-text-secondary) !important;
}

/* Convert reading sections while preserving media heroes and brand bands. */
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--theme-text) !important;
}

html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) :is(p, li) {
  color: var(--theme-text-secondary) !important;
}

html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="color: white"],
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="color: rgba(255,255,255"],
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="color: rgba(255, 255, 255"] {
  color: var(--theme-text-secondary) !important;
}

html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="background: rgba(255,255,255"],
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="background: rgba(255, 255, 255"] {
  background: var(--theme-surface-raised) !important;
}

html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="background: #111"],
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="background: #151515"] {
  background: var(--theme-surface-muted) !important;
  border: 1px solid var(--theme-border);
}

html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="border: 1px solid rgba(255,255,255"],
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="border: 1px solid rgba(255, 255, 255"],
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="border-bottom: 1px solid rgba(255,255,255"],
html[data-theme="light"] body > section:not(#main-content):not([style*="background: var(--brand-red)"]):not([style*="background: var(--brand-orange)"]) [style*="border-top: 1px solid rgba(255,255,255"] {
  border-color: var(--theme-border) !important;
}

/* Light cards and data surfaces */
html[data-theme="light"] .industry-card {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .industry-card:hover {
  background: var(--theme-surface) !important;
  box-shadow: var(--theme-shadow-card) !important;
}

html[data-theme="light"] :is(.project-card, .cert-card, .credential-card, .calculator-card, .contact-form-wrapper, .map-placeholder, .team-card, .staff-card, .qual-block, .wwd-card) {
  background: var(--theme-surface-raised);
  border-color: var(--theme-border) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] .project-card:hover {
  box-shadow: var(--theme-shadow-card) !important;
}

html[data-theme="light"] .faq-item {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
}

html[data-theme="light"] .faq-item:hover,
html[data-theme="light"] .faq-item.active {
  border-color: rgba(227, 27, 35, 0.32) !important;
}

html[data-theme="light"] .faq-item.active {
  background: rgba(227, 27, 35, 0.04) !important;
}

html[data-theme="light"] .testimonial-card {
  background: var(--theme-surface) !important;
  border-color: var(--theme-border) !important;
  box-shadow: var(--theme-shadow-card) !important;
}

html[data-theme="light"] :is(.stat-item, .more-tag, .brand-logo-item, .industry-chip) {
  background: var(--theme-surface-raised) !important;
  border-color: var(--theme-border) !important;
}

html[data-theme="light"] :is(.ind-grid, .tst-grid, .staff-grid, .credentials-grid, .industries-grid) {
  background: var(--theme-border);
  border-color: var(--theme-border);
}

html[data-theme="light"] :is(.ind-cell, .tst-card) {
  background: var(--theme-surface);
}

html[data-theme="light"] :is(.ind-cell:hover, .ind-cell--featured, .ind-cell--featured:hover, .tst-card:hover) {
  background: #f8fafc;
}

html[data-theme="light"] .team-photo,
html[data-theme="light"] .staff-avatar {
  background: #eef1f4;
  border-color: var(--theme-border);
}

html[data-theme="light"] .qual-block {
  background: var(--theme-surface);
}

html[data-theme="light"] .qual-block table,
html[data-theme="light"] .qual-block li {
  color: var(--theme-text-secondary);
}

html[data-theme="light"] .qual-block td:first-child {
  color: var(--theme-text);
}

/* Light-mode text colors for non-paragraph UI content. */
html[data-theme="light"] :is(.section-title, .industries-headline, .industry-title, .project-info h3, .wwd-name, .sector-name, .cert-title, .faq-question span, .contact-value, .team-name, .staff-name, .ind-num, .ind-name, .tst-author-name, .abt-stat-num) {
  color: var(--theme-text);
}

html[data-theme="light"] :is(.section-subtitle, .industries-subtext, .industry-desc, .project-info p, .project-stats span, .about-text, .stat-label, .city-column li, .faq-answer p, .contact-description, .contact-label, .form-label, .team-bio, .staff-title, .credential-tag, .sector-idx, .sector-desc, .sector-proof, .wwd-desc, .cert-description, .credential-desc, .ind-metric, .ind-detail, .tst-quote, .tst-author-role, .abt-stat-label, .more-label) {
  color: var(--theme-text-secondary) !important;
}

html[data-theme="light"] a.sector-row:hover {
  background: rgba(227, 27, 35, 0.05);
}

html[data-theme="light"] :is(.sector-list, .sector-grid, .sector-row, .wwd-card, .abt-stats, .proj-pager) {
  border-color: var(--theme-border);
}

html[data-theme="light"] .abt-stat:not(:last-child)::after {
  background: var(--theme-border);
}

html[data-theme="light"] .abt-image-overlay .abt-tagline {
  color: #ffffff !important;
}

html[data-theme="light"] .proj-pager a {
  color: var(--theme-text-secondary);
}

/* Forms and native controls */
html[data-theme="light"] :is(.form-input, input, select, textarea) {
  background-color: var(--theme-control-bg);
  border-color: var(--theme-border-strong);
  color: var(--theme-text);
}

html[data-theme="light"] :is(.form-input, input, textarea, select):focus {
  background-color: var(--theme-control-bg);
}

html[data-theme="light"] .form-input::placeholder,
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: var(--theme-text-muted);
  opacity: 1;
}

html[data-theme="light"] select.form-input option {
  background: var(--theme-surface);
  color: var(--theme-text);
}

/* Intentionally dark or branded surfaces */
html[data-theme="light"] :is(.hero-section, section#main-content:not(.page-header), .mobile-menu, .scrolling-text-block) :is(h1, h2, h3, h4, p, span, a),
html[data-theme="light"] section[style*="background: var(--brand-red)"] :is(h1, h2, h3, h4, p, span, a),
html[data-theme="light"] section[style*="background: var(--brand-orange)"] :is(h1, h2, h3, h4, p, span, a) {
  color: #ffffff;
}

html[data-theme="light"] .footer {
  background: #0f0f0f;
}

html[data-theme="light"] .footer :is(.footer-logo, .footer-title) {
  color: #ffffff;
}

html[data-theme="light"] .footer :is(.footer-text, .footer-license, .footer-links a, .footer-links li, .footer-bottom) {
  color: var(--gray-400);
}

html[data-theme="light"] .mobile-menu .theme-toggle-label,
html[data-theme="light"] .mobile-menu .mobile-link {
  color: #ffffff;
}

html[data-theme="light"] .btn-primary,
html[data-theme="light"] .project-tag,
html[data-theme="light"] .floating-cta,
html[data-theme="light"] .mobile-cta-bar a {
  color: #ffffff;
}

html[data-theme="light"] .btn-primary:hover {
  background: var(--brand-red-dark);
}

.hamburger::before,
.hamburger::after {
  background: #1a1a1a;
}

/* Light scrollbar */
html[data-theme="light"] {
  scrollbar-color: #98a2b3 #eef1f4;
}

html[data-theme="light"] ::-webkit-scrollbar-track {
  background: #eef1f4;
}

html[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #98a2b3;
}

/* Branded 404 */
html[data-theme="light"] body.error-page {
  background: var(--theme-page) !important;
  color: var(--theme-text);
}

html[data-theme="light"] body.error-page h1 {
  color: var(--theme-text) !important;
}

html[data-theme="light"] body.error-page p {
  color: var(--theme-text-secondary) !important;
}

html[data-theme="light"] body.error-page a:not([href^="tel:"]):not(.btn-primary) {
  color: var(--brand-blue) !important;
}

/* Recognition and credentials */
.recognition-section {
  padding: 64px 0 68px;
  background: var(--theme-page);
  border-top: 1px solid var(--theme-border);
  border-bottom: 1px solid var(--theme-border);
}

.recognition-header {
  margin-bottom: 28px;
  text-align: center;
}

.recognition-header .section-label {
  margin-bottom: 0;
  color: var(--theme-text);
}

.recognition-header::after {
  content: "";
  width: 36px;
  height: 2px;
  margin: 12px auto 0;
  display: block;
  background: var(--brand-red);
}

.recognition-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.recognition-item {
  min-width: 0;
  min-height: 92px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--theme-surface-raised);
  border: 1px solid var(--theme-border);
  border-top: 3px solid var(--brand-blue);
  border-radius: 4px;
}

.recognition-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  background: var(--brand-blue);
  border: 1px solid var(--brand-blue);
  border-radius: 4px;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.recognition-name {
  min-width: 0;
  color: var(--theme-text);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.recognition-item--award {
  grid-column: span 2;
  background: var(--brand-red);
  border-color: var(--brand-red);
}

.recognition-item--award .recognition-mark {
  background: var(--brand-red-dark);
  border-color: rgba(255, 255, 255, 0.34);
}

.recognition-item--award .recognition-name {
  color: #ffffff;
  font-size: 1rem;
}

.recognition-item--license {
  border-top-color: var(--brand-red);
}

.recognition-item--license .recognition-mark {
  background: var(--brand-red);
  border-color: var(--brand-red);
}

html[data-theme="light"] .recognition-item:not(.recognition-item--award) {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] section.recognition-section .recognition-header h2#recognition-heading.section-label {
  color: var(--brand-blue) !important;
}

@media (max-width: 900px) {
  .recognition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .recognition-section {
    padding: 44px 0 48px;
  }

  .recognition-header {
    margin-bottom: 22px;
  }

  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .recognition-item,
  .recognition-item--award {
    grid-column: auto;
    min-height: 78px;
    padding: 14px;
  }

  .recognition-name,
  .recognition-item--award .recognition-name {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle-track,
  .theme-toggle-thumb {
    transition: none;
  }
}

/* ============================================
   Responsive and interaction hardening
   ============================================ */

/* Let intrinsic content shrink inside layout tracks instead of widening the page. */
.container > *,
[style*="display: grid"] > *,
[style*="display:grid"] > *,
[style*="display: flex"] > *,
[style*="display:flex"] > * {
  min-width: 0;
}

img,
video,
iframe,
svg,
table {
  max-width: 100%;
}

a[href^="mailto:"],
a[href^="tel:"],
th,
td,
.sector-proof,
.recognition-name {
  overflow-wrap: anywhere;
}

/* Small proof points remain readable without changing their visual hierarchy. */
.sector-proof,
.wwd-step,
.project-tag,
.abt-stat-label,
.credential-tag,
.recognition-mark {
  font-size: 12px;
  line-height: 1.5;
}

[style*="font-size: 0.65rem"] {
  font-size: 12px !important;
  line-height: 1.5;
}

.sector-proof,
.wwd-step {
  letter-spacing: 0.1em;
}

.contact-page-grid,
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
}

.contact-page-grid {
  align-items: start;
}

.service-detail-grid {
  align-items: center;
}

.contact-page-grid > *,
.service-detail-grid > * {
  min-width: 0;
}

/* The dark hero's secondary action needs a complete high-contrast state. */
html:not([data-theme="light"]) .hero-section .btn-outline {
  color: var(--white);
  border-color: var(--white);
  background: rgba(0, 0, 0, 0.24);
}

html:not([data-theme="light"]) .hero-section .btn-outline:hover,
html:not([data-theme="light"]) .hero-section .btn-outline:focus-visible {
  color: var(--brand-blue);
  border-color: var(--white);
  background: var(--white);
}

@media (max-width: 899px) {
  :root {
    --mobile-nav-height: calc(72px + env(safe-area-inset-top, 0px));
  }

  .navbar,
  .navbar.scrolled {
    padding: calc(8px + env(safe-area-inset-top, 0px)) 0 8px;
  }

  .navbar-content {
    min-height: 56px;
  }

  .navbar-logo {
    display: block;
    min-width: 0;
    line-height: 0;
  }

  .navbar-logo .logo-img {
    width: auto !important;
    height: 56px !important;
    max-width: min(58vw, 220px);
    object-fit: contain;
  }

  .mobile-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
  }

  .hamburger {
    position: relative;
    display: block;
    flex: 0 0 auto;
  }

  .hamburger::before,
  .hamburger::after {
    position: absolute;
    top: 0;
    left: 0;
  }

  .hamburger::before {
    transform: translateY(-8px);
  }

  .hamburger::after {
    transform: translateY(8px);
  }

  .mobile-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
  }

  .mobile-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
  }

  .mobile-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
  }

  .mobile-toggle:focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 2px;
  }

  .mobile-menu {
    width: 100%;
    max-height: calc(100vh - var(--mobile-nav-height));
    max-height: calc(100dvh - var(--mobile-nav-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }

  html {
    scroll-padding-top: calc(var(--mobile-nav-height) + 12px);
  }

  [id] {
    scroll-margin-top: calc(var(--mobile-nav-height) + 12px);
  }

  [data-aos="fade-left"]:not(.aos-animate),
  [data-aos="fade-right"]:not(.aos-animate),
  .fade-in-left.scroll-init:not(.visible),
  .fade-in-right.scroll-init:not(.visible) {
    transform: translateY(20px);
  }

  /* Contact, service, and company-info grids stack before content can clip. */
  .contact-page-grid,
  .service-detail-grid,
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.5rem !important;
  }

  /* Four-up facts stay compact while gaining shrinkable tracks. */
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 640px) {
  a[href^="mailto:"] {
    font-size: 16px !important;
    line-height: 1.5;
  }

  [style*="grid-template-columns: repeat(2, 1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  [style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  table {
    width: 100%;
    table-layout: fixed;
  }
}

@media (max-width: 520px) {
  [style*="grid-template-columns: repeat(4, 1fr)"] > div {
    padding: 1.75rem 1rem !important;
  }

  [style*="grid-template-columns: repeat(4, 1fr)"] > div > div:first-child {
    font-size: 2.5rem !important;
  }
}

/* Resizing an open menu to desktop must restore the desktop navigation and scroll. */
@media (min-width: 900px) {
  .mobile-menu,
  .mobile-menu.active {
    display: none !important;
  }

  body.menu-open {
    overflow: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html,
  html:focus-within {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  [data-aos],
  .aos-init,
  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in,
  .reveal-on-scroll,
  .scroll-init {
    opacity: 1 !important;
    transform: none !important;
  }

  .page-loader {
    display: none !important;
  }

  .hero-video-container {
    background: url("images/hero-construction-sunset-1920.webp") center / cover no-repeat;
  }

  .hero-video {
    display: none !important;
  }

  .scrolling-text-track {
    overflow-x: auto;
    animation: none !important;
    transform: none !important;
  }
}

/* ============================================
   Buyer journeys, forms, projects, and careers
   ============================================ */

.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.section-actions > :is(a, button) {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.final-cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.final-cta-layout .section-actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.page-intro {
  max-width: 720px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.project-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--brand-red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.project-card {
  color: inherit;
  text-decoration: none;
}

.project-card:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 4px;
}

.project-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.service-paths {
  background: var(--site-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-paths-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: 0;
}

.service-paths a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.82);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
}

.service-paths a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.service-paths a:hover,
.service-paths a:focus-visible {
  color: #ffffff;
  background: var(--brand-red);
}

.service-section {
  scroll-margin-top: 96px;
}

.service-lede {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.75;
}

.service-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--brand-red);
}

.service-proof {
  padding: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.service-proof-label,
.project-type {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.service-proof strong {
  display: block;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.2;
}

.service-proof p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.contact-form-wrapper {
  padding: 36px;
  background: var(--site-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-form-wrapper > h2,
.contact-form-wrapper form > h2 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 26px;
}

.form-intro {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.6;
}

.contact-form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  min-width: 0;
}

.form-field label,
.intent-selector legend {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.form-field :is(input, select, textarea) {
  width: 100%;
  min-height: 48px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-family: inherit;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field :is(input, select, textarea):focus-visible {
  outline: 3px solid rgba(227, 27, 35, 0.3);
  outline-offset: 2px;
  border-color: var(--brand-red);
}

.form-field :is(input, textarea)::placeholder {
  color: rgba(255, 255, 255, 0.48);
  opacity: 1;
}

.intent-selector {
  margin: 0;
  padding: 0;
  border: 0;
}

.intent-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.intent-option {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.intent-option:has(input:checked) {
  color: #ffffff;
  border-color: var(--brand-red);
  background: rgba(227, 27, 35, 0.12);
}

.intent-option input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--brand-red);
}

.intent-option span {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
}

.intent-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.intent-fields[hidden] {
  display: none !important;
}

.form-help {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.6;
}

.form-status {
  min-height: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.form-status.success {
  color: #8ad29a;
}

.form-status.error {
  color: #ff9ba0;
}

.contact-proof {
  margin-top: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-proof h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 18px;
}

.contact-proof ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-proof li {
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.contact-proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
}

.contact-proof-links a,
.career-intake-copy a {
  color: var(--brand-red);
  font-weight: 700;
}

.qualification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.qualification-actions > * {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qualification-actions-bottom {
  margin-top: 18px;
}

.qualification-note {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.projects-header {
  padding: 150px 0 72px;
  background: var(--site-dark);
  border-bottom: 2px solid var(--brand-red);
}

.projects-header .section-title {
  max-width: 760px;
  color: #ffffff;
  font-size: 52px;
  line-height: 1.08;
}

.projects-index-section,
.project-reference-section {
  padding: 80px 0;
}

.projects-index-grid {
  margin-top: 32px;
}

.projects-index-grid .project-card {
  height: 100%;
}

.project-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reference-project {
  min-height: 230px;
  padding: 28px;
  background: var(--site-dark);
}

.reference-project h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.35;
}

.reference-project p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.reference-project strong {
  color: var(--brand-red);
  font-size: 16px;
}

.project-next-step {
  padding: 60px 0;
  background: var(--site-dark);
  border-top: 2px solid var(--brand-red);
}

.project-next-step h2 {
  color: #ffffff;
  font-size: 30px;
}

.project-next-step p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
}

.project-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-story-grid article {
  min-height: 220px;
  padding: 30px;
  background: var(--site-dark);
}

.project-story-grid article > span {
  display: block;
  margin-bottom: 22px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.project-story-grid h2 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 22px;
}

.project-story-grid p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.career-hero {
  position: relative;
  height: min(68svh, 620px);
  min-height: 440px;
  overflow: hidden;
  border-bottom: 2px solid var(--brand-red);
  background: var(--site-dark);
}

.career-hero-media,
.career-hero-media img,
.career-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.career-hero-media img {
  object-fit: cover;
  object-position: center 38%;
}

.career-hero-overlay {
  background: linear-gradient(90deg, rgba(8, 14, 23, 0.94) 0%, rgba(8, 14, 23, 0.72) 48%, rgba(8, 14, 23, 0.18) 100%);
}

.career-hero-content {
  position: absolute;
  right: 0;
  bottom: 64px;
  left: 0;
  z-index: 1;
}

.career-hero-content h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: 52px;
  line-height: 1.08;
}

.career-hero-content p {
  max-width: 650px;
  margin: 18px 0 26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.65;
}

.career-paths,
.career-intake-section {
  padding: 80px 0;
}

.career-path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.career-path-grid article {
  min-height: 270px;
  padding: 28px;
  background: var(--site-dark);
}

.career-path-grid article > span {
  display: block;
  margin-bottom: 38px;
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 700;
}

.career-path-grid h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.4;
}

.career-path-grid p {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

.career-intake-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 64px;
  align-items: start;
}

.career-intake-copy h2 {
  color: #ffffff;
  font-size: 34px;
  line-height: 1.2;
}

.career-intake-copy > p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.career-proof {
  display: grid;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.career-proof strong {
  color: #ffffff;
}

.career-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

.hero-video-container {
  background: url("images/hero-construction-sunset-1920.webp") center / cover no-repeat;
}

.hero-media-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #ffffff;
  background: rgba(5, 12, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.hero-media-toggle[hidden] {
  display: none !important;
}

.hero-media-toggle:hover,
.hero-media-toggle:focus-visible {
  color: var(--brand-blue);
  background: #ffffff;
  border-color: #ffffff;
}

.hero-media-toggle:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 3px;
}

.hero-media-toggle-icon {
  position: relative;
  width: 14px;
  height: 16px;
}

.hero-media-toggle[aria-pressed="false"] .hero-media-toggle-icon::before,
.hero-media-toggle[aria-pressed="false"] .hero-media-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: currentColor;
}

.hero-media-toggle[aria-pressed="false"] .hero-media-toggle-icon::before {
  left: 1px;
}

.hero-media-toggle[aria-pressed="false"] .hero-media-toggle-icon::after {
  right: 1px;
}

.hero-media-toggle[aria-pressed="true"] .hero-media-toggle-icon {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid currentColor;
}

.hero-media-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html[data-theme="light"] .service-paths {
  background: var(--theme-surface-raised);
  border-color: var(--theme-border);
}

html[data-theme="light"] .service-paths a {
  color: var(--theme-text);
  border-color: var(--theme-border);
}

html[data-theme="light"] .service-paths a:hover,
html[data-theme="light"] .service-paths a:focus-visible {
  color: #ffffff;
}

html[data-theme="light"] :is(.service-lede, .service-list li, .form-intro, .form-help, .form-status, .contact-proof li, .qualification-note) {
  color: var(--theme-text-secondary);
}

html[data-theme="light"] :is(.service-proof, .contact-form-wrapper, .contact-proof) {
  background: var(--theme-surface-raised);
  border-color: var(--theme-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

html[data-theme="light"] :is(.service-proof strong, .contact-form-wrapper > h2, .contact-form-wrapper form > h2, .form-field label, .intent-selector legend, .contact-proof h3) {
  color: var(--theme-text);
}

html[data-theme="light"] .service-proof p {
  color: var(--theme-text-secondary) !important;
}

html[data-theme="light"] .intent-option {
  color: var(--theme-text-secondary);
  background: var(--theme-control-bg);
  border-color: var(--theme-border-strong);
}

html[data-theme="light"] .intent-option:has(input:checked) {
  color: var(--theme-text);
  background: rgba(227, 27, 35, 0.06);
}

html[data-theme="light"] .form-status.success {
  color: #1f7a38;
}

html[data-theme="light"] .form-status.error {
  color: #b4232a;
}

html[data-theme="light"] :is(.projects-header, .project-next-step) {
  background: var(--theme-surface);
}

html[data-theme="light"] :is(.projects-header .section-title, .project-next-step h2) {
  color: var(--theme-text);
}

html[data-theme="light"] :is(.projects-header .page-intro, .project-next-step p) {
  color: var(--theme-text-secondary);
}

html[data-theme="light"] :is(.project-reference-grid, .project-story-grid, .career-path-grid) {
  background: var(--theme-border);
  border-color: var(--theme-border);
}

html[data-theme="light"] :is(.reference-project, .project-story-grid article, .career-path-grid article) {
  background: var(--theme-surface-raised);
}

html[data-theme="light"] :is(.reference-project h3, .project-story-grid h2, .career-path-grid h3, .career-intake-copy h2, .career-proof strong) {
  color: var(--theme-text);
}

html[data-theme="light"] :is(.reference-project p, .project-story-grid p, .career-path-grid p, .career-intake-copy > p, .career-proof span) {
  color: var(--theme-text-secondary);
}

html[data-theme="light"] .career-proof {
  border-color: var(--theme-border);
}

@media (max-width: 899px) {
  .service-paths-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .service-paths a {
    flex: 0 0 auto;
    min-width: 180px;
  }

  .service-detail-grid-reverse > * {
    order: initial !important;
  }

  .final-cta-layout,
  .career-intake-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .final-cta-layout .section-actions {
    margin-top: 0;
  }

  .project-reference-grid,
  .career-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-hero-content h1,
  .projects-header .section-title {
    font-size: 42px;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .hero-video-container {
    background-image: url("images/hero-construction-sunset-mobile.webp");
    background-position: center 40%;
  }

  .hero-video,
  .hero-media-toggle {
    display: none !important;
  }

  .form-grid,
  .intent-options,
  .project-reference-grid,
  .project-story-grid,
  .career-path-grid,
  .about-company-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .contact-form-wrapper,
  .service-proof,
  .reference-project,
  .project-story-grid article,
  .career-path-grid article {
    padding: 24px;
  }

  .qualification-actions,
  .section-actions {
    align-items: stretch;
  }

  .qualification-actions > *,
  .section-actions > * {
    width: 100%;
  }

  .projects-header {
    padding: 118px 0 52px;
  }

  .projects-header .section-title,
  .career-hero-content h1 {
    font-size: 36px;
  }

  .projects-index-section,
  .project-reference-section,
  .career-paths,
  .career-intake-section {
    padding: 56px 0;
  }

  .career-hero {
    height: min(68svh, 520px);
    min-height: 430px;
  }

  .career-hero-overlay {
    background: linear-gradient(0deg, rgba(8, 14, 23, 0.96) 0%, rgba(8, 14, 23, 0.66) 60%, rgba(8, 14, 23, 0.2) 100%);
  }

  .career-hero-content {
    bottom: 38px;
  }

  .career-hero-content p,
  .page-intro,
  .service-lede {
    font-size: 16px;
  }

  .about-stats-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-container {
    background-image: url("images/hero-construction-sunset-1920.webp");
  }

  .hero-media-toggle {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .hero-video-container {
    background-image: url("images/hero-construction-sunset-mobile.webp");
  }
}

html body * {
  letter-spacing: 0 !important;
}
