/* CSS Document */
.tm {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 1px;
}

.footer-phone {
  margin: 4px 0;
  font-weight: 500;
  color: #ddd;
}
.founder-signature a {
  color: #3fd0ff;      
  text-decoration: none;
  font-weight: 500;
}

.founder-signature a:hover {
  color: #7fe6ff;
}

/*
.founder-signature a {
  color: #d8b46a;       warm gold accent 
  text-decoration: none;
  font-weight: 500;
}

.founder-signature a:hover {
  color: #f0d79a;
}
*/
/* ============================
   GLOBAL BASE
============================ */
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #111827;
  background: #0b0c10;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0rem 1.5rem 4rem;
  color: #e5e7eb;
}
.video-container {
  max-width: 900px;
  margin: 0 auto;
}
/* ============================
   DEMATIC-STYLE HEADER (TINMAN)
============================ */

.tm-header {
  width: 100%;
  background: #0d0f12;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.tm-header-inner {
  max-width: 1600px;
  margin: 0 auto;
  height: 92px; /* premium, tall header */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

/* LOGO — NO COMPRESSION */
.tm-logo img {
  height: 54px;          /* Dematic-scale logo */
  width: auto !important; /* prevents width compression */
  max-width: none;        /* prevents shrinking */
  display: block;
}

@media (max-width: 1100px) {
  .tm-logo img {
    height: 48px;
  }
}

/* ============================
   TOP-LEVEL NAVIGATION
============================ */

.tm-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px; /* Dematic spacing */
}

.tm-nav ul li {
  position: relative;
}

.tm-nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 0;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.tm-nav a:hover {
  opacity: 0.6;
}

.tm-nav a.active {
  color: #ffcc33;
  font-weight: 600;
}

/* ============================
   CHEVRON INDICATOR (UNCHANGED)
============================ */

nav a.has-chevron {
  position: relative;
  padding-right: 18px;
}

nav a.has-chevron .chevron {
  border: solid #666;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -4px;
  transition: transform 0.25s ease;
}

nav .dropdown.open > a.has-chevron .chevron {
  transform: rotate(-135deg);
}

/* ============================
   DROPDOWN MENU (UNCHANGED)
============================ */

nav .dropdown {
  position: relative;
}

nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: auto;
  min-width: 260px;
  max-width: 420px;
  box-sizing: border-box;

  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;

  background: white;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  padding: 0;
  margin-top: 6px;
  pointer-events: none;
  z-index: 1000;
}

nav .dropdown.open .dropdown-menu,
nav .dropdown:hover .dropdown-menu {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  padding: 12px 0;
  pointer-events: auto;
}

/* ============================
   SUBMENU ITEMS — FIXED
============================ */

nav .dropdown-menu li a {
  display: block;
  padding: 8px 14px;
  white-space: nowrap;
  color: #222;
  line-height: 1.3;
}

nav .dropdown-menu li a:hover {
  background: #f5f5f5;
}

/* descriptive text under submenu items */
nav .dropdown-menu li a .nav-desc {
  display: block;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 2px;
  line-height: 1.2;
}

/* submenu section headers */
nav .submenu-header {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 14px;
  color: #777;
  pointer-events: none;
}

/* ============================
   MOBILE NAV SPACING
============================ */

@media (max-width: 899px) {
  .tm-header-inner {
    height: 78px;
    padding: 0 24px;
  }

  .tm-nav ul {
    gap: 28px;
  }
}


/* ============================
   HERO SECTION (BASE)
============================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 80px 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #f9fafb;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #9ca3af;
  max-width: 34rem;
}

.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 16px;
}

.btn-primary {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: #3b82f6;
  color: #f9fafb;
  font-weight: 600;
}

.btn-secondary {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid #4b5563;
  color: #e5e7eb;
}

/* ============================
   HERO — MULTI-SENSOR MONTAGE
============================ */
.hero-montage {
  position: relative;
}


.hero-montage-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.hero-montage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.85) 0%,
    rgba(2, 6, 23, 0.55) 35%,
    rgba(2, 6, 23, 0.15) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-montage > div:first-child {
  position: relative;
  z-index: 2;
}

/* ============================
   HERO VARIANTS
============================ */
.hero-centered {
  text-align: center;
  padding: 120px 0 80px;
}
.hero-centered .hero-cta {
  justify-content: center;
}

.hero-gradient {
  padding: 120px 0 80px;
  background: radial-gradient(circle at top left, #1d3557 0, #020617 55%, #000 100%);
  border-radius: 0 0 24px 24px;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 100px 0 70px;
}
.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.9), transparent);
  pointer-events: none;
}
.hero-split-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

/* ============================
   HERO ANIMATIONS
============================ */
.hero-animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.7s ease-out forwards;
}
.hero-animate-delay {
  animation-delay: 0.2s;
}
.hero-animate-delay-long {
  animation-delay: 0.4s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-bg-pulse {
  position: relative;
}
.hero-bg-pulse::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 0, rgba(59,130,246,0.12), transparent 60%);
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: heroPulse 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroPulse {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 0.4; }
  100% { transform: translate3d(40px,10px,0) scale(1.08); opacity: 0.8; }
}
.hero-with-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/blueprint-grid-overlay.png');
  opacity: 0.12;
  pointer-events: none;
}

/* ============================
   SECTIONS
============================ */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #f9fafb;
}

.section p {
  color: #9ca3af;
  max-width: 44rem;
}

/* ============================
   TILE GRID
============================ */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.tile {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.tile h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  color: #111827;
}

.tile p {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
}

.tile-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  color: #005bbb;
}
/*===========================
BLUEPRINT CSS
==============================*/
.blueprint-overlay {
  position: relative;
  z-index: 0; /* establishes stacking context */
}

.blueprint-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/blueprint-grid-overlay.png");
  background-size: cover;
  background-repeat: repeat;
  opacity: 0.25; /* temporarily higher so you can SEE it */
  pointer-events: none;
  z-index: 2; /* forces overlay above the image */
}

.blueprint-overlay img {
  position: relative;
  z-index: 1; /* image below overlay */
}
.light-grid::after { opacity: 0.08; }
.dark-grid::after { opacity: 0.18; }

.blueprint-section {
  position: relative;
  background-color: rgba(255,255,255,0.0001); /* forces a paint layer */
  z-index: 0;
}

.blueprint-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/blueprint-grid-overlay.png");
  background-size: 900px auto;
  background-repeat: repeat;
  opacity: 0.25; /* keep high for testing */
  pointer-events: none;
  z-index: 1; /* sits ABOVE background */
}

.blueprint-section > * {
  position: relative;
  z-index: 2; /* sits ABOVE the grid */
}
/* ============================
   EDITORIAL BLOCKS
============================ */
.section-band {
  padding: 60px 1.5rem;
  margin: 40px -1.5rem 0;
  background: rgba(15,23,42,0.95);
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
}

.section-alt {
  padding: 60px 0;
}

.editorial-block {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.editorial-block.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.editorial-block-img {
  border-radius: 12px;
  overflow: hidden;
}

.editorial-block-img img {
  width: 100%;
  display: block;
}

.editorial-block-text h3 {
  font-size: 1.5rem;
  color: #f9fafb;
  margin-bottom: 0.5rem;
}

.editorial-block-text p {
  color: #9ca3af;
}

/* ============================
   HORIZONTAL PRODUCT CARDS
============================ */
.product-card-horizontal {
  display: flex;
  gap: 24px;
  align-items: center;
}

.product-card-horizontal img {
  border-radius: 12px;
  width: 36%;
}

.product-card-horizontal-content {
  flex: 1;
}

/* ============================
   ABOUT SECTION
============================ */
.breadcrumbs {
  font-size: 0.85rem;
  margin: 1rem 0 2rem;
  color: #9ca3af;
}

.breadcrumbs a {
  color: #60a5fa;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .current {
  color: #e5e7eb;
  font-weight: 600;
}

.about-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid #1f2937;
  border-radius: 8px;
  padding: 1rem;
}

.about-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-sidebar li {
  margin-bottom: 10px;
}

.about-sidebar a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: #d1d5db;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.about-sidebar a:hover {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
}

.about-sidebar a.active {
  background: #3b82f6;
  color: #ffffff;
}

.page-content {
  flex: 1;
}

/* ============================
   RESPONSIVE TWEAKS
============================ */
@media (max-width: 900px) {
  .about-layout {
    flex-direction: column;
  }

  .about-sidebar {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .hero-split,
  .editorial-block,
  .product-card-horizontal {
    grid-template-columns: 1fr !important;
    flex-direction: column;
  }

  .product-card-horizontal img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero img {
    margin-top: 20px;
  }

  .tile-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}


/* ============================
   FULL-WIDTH HERO WITH OVERLAY (REDUCED HEIGHT)
============================ */
/* ============================
   FULL-WIDTH HERO (IMAGE VERSION)
============================ */
.hero-full {
  position: relative;
  width: 100%;
  min-height: 480px;
  padding: 0 0 60px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

/* Container */
.hero-full-with-image {
  position: relative;
  overflow: hidden;
}

/* Hero image with brightness + zoom */
.hero-full-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;

  /* Cinematic brightness lift */
  filter: brightness(1.02) contrast(1.02);

  animation: heroZoom 18s ease-out forwards;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.12); }
}

/* Remove heavy dark overlays */
.hero-full::before,
.hero-full::after {
  display: none;
}
.hero-full::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 1;
}

/* ============================
   LEFT-ALIGNED HERO OVERLAY
============================ */

/* Outer overlay: aligns to main page content width */
.hero-overlay-content {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1000px;      /* matches main content width */
  padding: 0 1.5rem;      /* matches main horizontal padding */
  z-index: 2;
  text-align: left;
}

/* Inner box: only wraps the text + buttons */
/*
.hero-overlay-box {
  display: inline-block;
  padding: 12px 22px;
  background: rgba(0,0,0,0.22);
  border-radius: 8px;
  backdrop-filter: blur(2px);
}
*/
.hero-overlay-box {
  display: inline-block;
  padding: 10px 20px;                 /* tighter vertical padding */
  background: rgba(0,0,0,0.38);       /* stronger opacity */
  border-radius: 8px;
  backdrop-filter: blur(3px);         /* slightly stronger blur */
}

.hero-overlay-box h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.hero-overlay-box p {
  font-size: 1.25rem;
  color: #e8edf3;
  margin-bottom: 0.6rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 0.5rem;
}

/* Unified button shape */
.btn-primary,
.btn-secondary {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid transparent;
}

/* Primary button */
.btn-primary {
  background: #007bff;
  color: #ffffff;
  border-color: #007bff;
}

/* Secondary button */
.btn-secondary {
  background: rgba(0,123,255,0.18);     /* soft blue tint */
  color: #ffffff;
  border-color: rgba(0,123,255,0.35);
  backdrop-filter: blur(2px);
}

.btn-secondary:hover {
  background: rgba(0,123,255,0.28);
}


/* ============================
   MOBILE
============================ */
@media (max-width: 768px) {
  .hero-overlay-content {
    bottom: 32px;
    padding: 0 1.25rem;
  }

  .hero-overlay-box h1 {
    font-size: 2.4rem;
  }

  .hero-overlay-box p {
    font-size: 1.1rem;
  }
}


/*  Product tile images*/
/* PRODUCT TILE IMAGES */
/*.tile-img {
  width: 100%;
  height: auto;
  max-height: 220px;        
  object-fit: cover;        
  border-radius: 6px;       
  margin-bottom: 1rem;
}*/

/* Optional: enforce consistent tile layout */
/* Soft depth shadow for product tiles */
.tile {
  background: #0f0f0f;              /* subtle dark card base */
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);   /* soft, diffused shadow */
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

/* Slight lift on hover */
.tile:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.32);
  transform: translateY(-4px);
}

/* Tile image container with fixed aspect ratio */
.tile-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;     /* consistent cinematic ratio */
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1rem;
  background: #111;         /* prevents white flash before image loads */
}

/* Image fills the wrapper cleanly */
.tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Industry-style centered section divider */
.section-divider {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.section-divider::before {
  content: "";
  width: 100%;
  max-width: 1200px;       /* matches your content container */
  height: 2px;
  background: #1e90ff;     /* calm, modern blue */
  opacity: 0.28;           /* subtle, editorial */
  margin: 0 1.5rem;        /* aligns with page padding */
}

/* ============================
   SYSTEM TYPES — CINEMATIC EDITORIAL SECTION
============================ */

.system-types-section {
  width: 100%;
  margin: 80px 0;
  color: #e5e7eb;
}

/* Cinematic banner */
.system-types-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px auto;
  border-radius: 10px;
  overflow: hidden;
}

.system-types-banner img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.75);
}

.system-types-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0.65) 60%,
    rgba(0,0,0,0.85) 100%
  );
}

/* Content container */
.system-types-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.system-types-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.system-types-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 40px;
}

/* Inline system types */
.system-types-inline {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.system-type-item {
  flex: 1;
  min-width: 0;
}

.system-type-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.system-type-item p {
  font-size: 1.05rem;
  color: #d1d5db;
  margin-bottom: 0.75rem;
}

.system-type-item .tile-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
}

.system-type-item .tile-link:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 900px) {
  .system-types-inline {
    flex-direction: column;
    gap: 32px;
  }

  .system-types-banner img {
    height: 260px;
  }
}
/* ============================
   SYSTEM TYPES — SPLIT HERO (OPTION B)
============================ */

.system-types-split {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 80px auto;
  gap: 40px;
  padding: 0 1.5rem;
  color: #e5e7eb;
}

/* Left: Cinematic banner */
.split-image {
  position: relative;
  flex: 1;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.75);
}

.split-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.75) 100%
  );
}

/* Right: Content */
.split-content {
  flex: 1;
  padding: 1rem 0;
}

.split-content h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.split-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

/* System type items */
.split-item {
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.split-item:nth-child(1) { animation-delay: 0.1s; }
.split-item:nth-child(2) { animation-delay: 0.25s; }
.split-item:nth-child(3) { animation-delay: 0.4s; }

.split-item h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.split-item p {
  font-size: 1.05rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.split-item .tile-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
}

.split-item .tile-link:hover {
  text-decoration: underline;
}

/* Fade-up animation */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 900px) {
  .system-types-split {
    flex-direction: column;
  }

  .split-image {
    min-height: 260px;
  }
}

/* ============================
   SYSTEM ENVIRONMENTS — PREMIUM REFINEMENTS (NO ICONS)
============================ */

.systems-staggered-section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 1.5rem;
  position: relative;
  color: #e5e7eb;
}

/* Header */
.systems-staggered-header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.systems-staggered-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.systems-staggered-header p {
  font-size: 1.25rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Vertical accent line */
.systems-accent-line {
  position: absolute;
  left: 50%;
  top: 180px;
  width: 2px;
  height: calc(100% - 260px);
  background: linear-gradient(to bottom, #3b82f6, #1e3a8a);
  opacity: 0.35;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Rows */
.systems-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 40px;
  position: relative;
}

/* Soft background panel */
.panel {
  background: rgba(255,255,255,0.04);
  padding: 30px 32px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
}

/* Title accent bar */
.title-accent {
  width: 50px;
  height: 3px;
  background: #3b82f6;
  margin: 8px 0 18px 0;
  border-radius: 2px;
}

/* Images */
.systems-img {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.systems-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.systems-img:hover img {
  transform: scale(1.03);
  filter: brightness(0.9);
}

/* Text */
.systems-text {
  flex: 1;
}

.systems-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.3px;
}

.systems-text p {
  font-size: 1.15rem;
  color: #d1d5db;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* Link refinement */
.tile-link {
  color: #7bb6ff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.tile-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #7bb6ff;
  transition: width 0.3s ease;
}

.tile-link:hover::after {
  width: 100%;
}

/* Scroll-fade animation */
.fade-row {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-row.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .systems-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
  }

  .systems-img img {
    height: 240px;
  }

  .systems-accent-line {
    display: none;
  }
}

/* ============================
   SOLUTIONS — HERO (SLIM)
============================ */

.hero-slim {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-slim-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.hero-slim-overlay {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  padding: 0 1.5rem;
}

.hero-slim-overlay h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.hero-slim-overlay p {
  font-size: 1.25rem;
  color: #d1d5db;
}



/* ============================
   SOLUTIONS — OVERVIEW GRID
============================ */

.solutions-overview {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 1.5rem;
  text-align: center;
}

.solutions-overview h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.solutions-overview .subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 50px;
}

.solutions-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.solutions-overview-item {
  text-align: left;
}

.solutions-overview-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  filter: brightness(0.85);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.solutions-overview-item img:hover {
  transform: scale(1.03);
  filter: brightness(0.95);
}

.solutions-overview-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.solutions-overview-item p {
  font-size: 1.05rem;
  color: #d1d5db;
  margin-bottom: 0.75rem;
}



/* ============================
   SOLUTIONS — DEEP DIVE
============================ */

.solutions-deep-dive {
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 1.5rem;
}

.deep-dive-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 120px;
}

.deep-dive-row.reverse {
  flex-direction: row-reverse;
}

.deep-dive-img {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.deep-dive-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.05);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.deep-dive-img:hover img {
  transform: scale(1.03);
  filter: brightness(0.9);
}

.deep-dive-text {
  flex: 1;
}

.deep-dive-text h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.3px;
}

.deep-dive-text p {
  font-size: 1.15rem;
  color: #d1d5db;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.btn-inline {
  color: #7bb6ff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.btn-inline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #7bb6ff;
  transition: width 0.3s ease;
}

.btn-inline:hover::after {
  width: 100%;
}



/* ============================
   SOLUTIONS — PRODUCT CROSS-LINK
============================ */

.solutions-products {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 1.5rem;
  text-align: center;
}

.solutions-products h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.solutions-products p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 40px;
}



/* ============================
   SCROLL FADE ANIMATION
============================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.fade-row {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-row.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ============================
   MOBILE
============================ */

@media (max-width: 900px) {

  .solutions-overview-grid {
    grid-template-columns: 1fr;
  }

  .deep-dive-row,
  .deep-dive-row.reverse {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 80px;
  }

  .deep-dive-img img {
    height: 240px;
  }

  .hero-slim {
    height: 260px;
  }

  .hero-slim-overlay h1 {
    font-size: 2.2rem;
  }
}
/* ============================
   PLATFORM — HERO
============================ */

.hero-slim {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 80px;
}

.hero-slim-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.05);
}

.hero-slim-overlay {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  padding: 0 1.5rem;
  max-width: 900px;
}

.hero-slim-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.hero-slim-overlay p {
  font-size: 1.3rem;
  color: #d1d5db;
  line-height: 1.6;
}



/* ============================
   PLATFORM — CORE CAPABILITIES
============================ */

.section h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.tile {
  background: rgba(255,255,255,0.04);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

.tile h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.tile p {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.6;
}



/* ============================
   PLATFORM — DIAGRAM
============================ */

.platform-diagram {
  max-width: 1000px;
  margin: 60px auto;
  text-align: center;
}

.platform-diagram img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  filter: brightness(0.9);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.platform-diagram img:hover {
  transform: scale(1.02);
  filter: brightness(1);
}



/* ============================
   CTA
============================ */

.final-cta {
  text-align: center;
  padding: 80px 1.5rem;
}

.final-cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}



/* ============================
   SCROLL FADE ANIMATION
============================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.fade-row {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-row.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ============================
   MOBILE
============================ */

@media (max-width: 900px) {
  .hero-slim {
    height: 280px;
  }

  .hero-slim-overlay h1 {
    font-size: 2.2rem;
  }

  .tile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .platform-diagram {
    margin: 40px auto;
  }
}

/* ============================
   PRODUCT PAGE — HERO
============================ */

.hero-slim {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-bottom: 80px;
}

.hero-slim-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) contrast(1.05);
}

.hero-slim-overlay {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #ffffff;
  padding: 0 1.5rem;
  max-width: 900px;
}

.hero-slim-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.hero-slim-overlay p {
  font-size: 1.25rem;
  color: #d1d5db;
  line-height: 1.6;
}



/* ============================
   PRODUCT PAGE — NARRATIVE SECTIONS
============================ */

.section {
  max-width: 1200px;   /* widened for readability */
  margin: 80px auto;
  padding: 0 1.5rem;
}

.section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.section p {
  font-size: 1.15rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 100%;     /* ensures full width paragraphs */
}
/* Section spacing refinement */
.section,
.section-band,
.systems-staggered-section {
  margin-top: 40px;      /* was likely 64–80px */
  margin-bottom: 40px;
}
.section-band {
  background: rgba(255,255,255,0.04);   /* subtle, not heavy */
}

.section-divider {
  margin: 32px 0;
}

/* Tighter paragraph spacing */
p {
  margin-top: 0.25rem;
  margin-bottom: 0.6rem;
  line-height: 1.42;
}

/* ============================
   PRODUCT PAGE — FEATURE GRIDS
============================ */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.tile {
  background: rgba(255,255,255,0.04);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 6px 22px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

.tile h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.tile p {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.6;
}

/* Form Factors & Colors section */
.section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.tile {
  background: rgba(255,255,255,0.05);
  padding: 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}

.tile h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.tile p {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.6;
}

/* Color list styling */
.section ul {
  list-style: none;
  padding: 0;
}

.section ul li {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 20px;
}

.section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7bb6ff;
}


/* ============================
   PRODUCT PAGE — CTA
============================ */

.final-cta {
  text-align: center;
  padding: 100px 1.5rem;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.final-cta h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  background: #3b82f6;
  color: #ffffff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #2563eb;
}



/* ============================
   SCROLL FADE ANIMATION
============================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ============================
   MOBILE
============================ */

@media (max-width: 900px) {
  .hero-slim {
    height: 280px;
  }

  .hero-slim-overlay h1 {
    font-size: 2.2rem;
  }

  .tile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .final-cta {
    padding: 60px 1.5rem;
  }
}

/* Findings Section Styling */
.section ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.section ul li {
  font-size: 1.1rem;
  color: #d1d5db;
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 22px;
}

.section ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff4d4d; /* red bullet for emphasis */
  font-size: 1.4rem;
  line-height: 1;
}

.platform-diagram img {
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* Two-column layout for text + image */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.text-block {
  flex: 1 1 50%;
}

.image-block {
  flex: 1 1 50%;
}

.image-block img {
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.systems-row { opacity: 1; transform: none; }

/* ============================
   SYSTEMS ROW — VISUAL ENHANCEMENTS
   (Safe to append at end of CSS)
============================ */

/* Make each staggered row feel like a continuous full-width band */
.systems-row {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.03); /* subtle tint */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Increase spacing and presence of image + text */
.systems-row .systems-img,
.systems-row .systems-text {
  flex: 1;
}

/* More substantial image */
.systems-row .systems-img img {
  height: 380px;
  border-radius: 12px;
  object-fit: cover;
}

/* Stronger text block */
.systems-row .systems-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #f9fafb;
}

.systems-row .systems-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #d1d5db;
  max-width: 36rem;
}

/* Soft hover lift for entire band */
.systems-row:hover {
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.25s ease;
}

/* Soft gradient behind alternating staggered rows */
.systems-row:nth-child(even) {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.015) 50%,
    rgba(255, 255, 255, 0.03) 100%
  );
}

/* Thin vertical accent bar next to text */
.systems-row .systems-text {
  position: relative;
  padding-left: 18px; /* space for the bar */
}

.systems-row .systems-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(
    to bottom,
    #3b82f6 0%,
    #60a5fa 100%
  );
  border-radius: 2px;
  opacity: 0.85;
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .systems-row {
    padding: 40px 0;
  }

  .systems-row .systems-img img {
    height: 260px;
  }
}



/* Force 3-across ONLY on the Solutions page product section */
.solutions-products .tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.solutions-products .tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.products-overview .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.products-overview .product-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.products-overview .product-card:hover {
  transform: translateY(-4px);
}

.products-overview .product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.products-overview .product-content {
  padding: 24px 28px;
}

.products-overview .product-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.products-overview .product-content p {
  margin-bottom: 16px;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .products-overview .product-grid {
    grid-template-columns: 1fr;
  }
}

/* PRODUCTS HERO — left-align title + subtitle */
.products-hero .hero-slim-overlay {
  text-align: left;
  max-width: 720px;
  margin-left: var(--page-margin, 60px);
  margin-right: auto;
  align-items: flex-start;
}

.products-hero .hero-slim-overlay h1,
.products-hero .hero-slim-overlay p {
  text-align: left;
}

.products-hero .hero-slim-overlay {
  position: absolute;
  left: 0;
  bottom: 14%;
  transform: none;
  width: auto;
  max-width: 620px;
  padding-left: clamp(32px, 6vw, 80px);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.products-hero {
  min-height: 520px;
}
.products-hero .hero-slim-overlay p {
  line-height: 1.35;
}
/* Equal-height product cards */
.products-overview .product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: stretch;
}

.products-overview .product-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.products-overview .product-content {
  padding: 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Stronger text contrast */
.products-overview .product-content p {
  color: #2a2a2a;
  font-weight: 400;
  line-height: 1.55;
}

.products-overview .product-content h3 {
  color: #111;
  font-weight: 600;
}

/* CTA link */
.products-overview .tile-link {
  color: #b40000;
  font-weight: 600;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-overview .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure dropdown menu touches the parent item */
nav ul li.dropdown {
  position: relative;
}

nav ul li .dropdown-menu {
  position: absolute;
  top: 100%;      /* sits flush under the parent */
  left: 0;
  margin: 0;
  padding-top: 0;
  z-index: 9999;
}

nav ul li.dropdown > a {
  margin-bottom: 0;
  padding-bottom: 12px; /* optional, but padding is safe */
}

nav ul li .dropdown-menu {
  margin-top: 0;
}

.back-to-top {
  float: right;
  color: #0077ff;
  text-decoration: none;
  font-size: 0.9rem;
}

.back-to-top:hover {
  text-decoration: underline;
}
/* Highlight active top-level nav group without opening dropdown */
.nav-container li.dropdown.active-group > a {
  color: #00aaff; /* or your highlight color */
  font-weight: 600;
}
/* ============================
   VIDEO HERO ONLY
   (does NOT affect image hero)
============================ */
.hero-full.hero-video {
  position: relative;
  width: 100vw;              
  max-width: 100vw;          
  left: 50%;                 
  margin-left: -50vw;        
  height: 600px;             
  max-height: 600px;
  overflow: hidden;
}

/* Video scaling */
.hero-full.hero-video .hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;      /* ensure full width coverage */
  min-height: 100%;     /* ensure full height coverage */
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}


/* Overlay + content (video only) */
.hero-full.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-full.hero-video .hero-overlay-content {
  position: relative;
  max-width: 800px;
  text-align: center;
  padding: 20px;
  z-index: 2;
}
.hero-full.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  background: none !important;
  background-image: none !important;
}

.hero-video .hero-bg {
  filter: brightness(1.18) contrast(1.12);
}


/* Findings Grid */
.findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 24px;
}

.finding h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.finding p {
  margin: 0;
  line-height: 1.5;
  color: var(--text-muted, #ccc);
}

/* Optional: subtle divider between items */
.finding {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.finding:last-child {
  border-bottom: none;
}

/* Diagram caption */
.diagram-caption {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
}

/* Color Options Row */
.color-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}

.color-item {
  flex: 1;
  text-align: center;
}

.color-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.color-item h3 {
  margin: 8px 0 4px;
  font-size: 1.2rem;
  font-weight: 600;
}

.color-item p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.85;
}

/* How It Works Grid */
.howitworks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

/* HOW IT WORKS GRID */
.howitworks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.howitworks-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.howitworks-step h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
  font-weight: 600;
}

.sampling-rate-callout {
  margin-top: 30px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border-left: 3px solid #4da3ff;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* TECHNICAL DIVIDER */
.section-divider {
  width: 100%;
  text-align: center;
  margin: 40px 0 30px;
  position: relative;
}

.section-divider span {
  background: #0d0d0d;
  padding: 0 18px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

/* SENSOR & VIDEO STREAMS GRID */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 20px;
}

.stream-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  font-weight: 600;
}

.stream-item p {
  margin: 0;
  opacity: 0.85;
}

/* COLOR OPTIONS ROW */
.color-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}

.color-item {
  flex: 1;
  text-align: center;
}

.color-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.color-item h3 {
  margin: 8px 0 4px;
  font-size: 1.2rem;
  font-weight: 600;
}

.color-item p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.85;
}
/* Blueprint Divider (shared with Sensor & Video Streams) */
.section-divider {
  width: 100%;
  text-align: center;
  margin: 40px 0 30px;
  position: relative;
}

.section-divider span {
  background: #0d0d0d;
  padding: 0 18px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

/* 2×2 Fixed Grid */
.formfactor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 30px;
}

/* Title → Image → Text */
.formfactor-item h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
}

/* Fixed-size image container */
.formfactor-image {
  width: 100%;
  height: 280px; /* adjust if needed */
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.05);
}

.formfactor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.formfactor-item p {
  margin: 0;
  text-align: center;
  opacity: 0.85;
}

/* Blueprint Divider (shared across sections) */
.section-divider {
  width: 100%;
  text-align: center;
  margin: 40px 0 30px;
  position: relative;
}

.section-divider span {
  background: #0d0d0d;
  padding: 0 18px;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.15);
  z-index: 1;
}

/* Cinematic Intro Block */
.cinematic-intro {
  padding: 32px 28px;
  margin-bottom: 30px;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );
  border-left: 3px solid #4da3ff;
  border-radius: 4px;
}

.cinematic-intro h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 700;
}

.cinematic-intro p {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.9;
}

.diagram-caption {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.85;
  text-align: center;
}
/* Blueprint Grid Background */
.formfactor-blueprint {
  position: relative;
  padding: 60px 0;
  background:
    linear-gradient(rgba(13,13,13,0.96), rgba(13,13,13,0.96)),
    url('../images/blueprint-grid.png');
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* CSV Output Flex Layout */
.csv-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 20px;
  flex-wrap: wrap;
}

.csv-text {
  flex: 1 1 380px;
}

.csv-image {
  flex: 0 0 320px;
  text-align: center;
}

.csv-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  padding: 6px;
  object-fit: contain;
}

/* Tighten spacing in How It Works steps */
.howitworks-steps {
  display: flex;
  flex-direction: column;
  gap: 14px; /* was 24px */
}

.howitworks-step h3 {
  margin-bottom: 4px; /* was ~10px */
  font-size: 1.05rem; /* slightly smaller */
}

.howitworks-step p {
  margin: 0;
  line-height: 1.35; /* tighter vertical rhythm */
  font-size: 0.95rem; /* optional but helps alignment */
}

/* SECTION DIVIDER */
.section-divider {
  width: 100%;
  text-align: center;
  margin: 40px 0 32px;
  position: relative;
}
.section-divider span {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7dd3fc;
}

/* PLATFORM DIAGRAM */
.platform-diagram img {
  border-radius: 8px;
  display: block;
}
.diagram-caption {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-top: 8px;
  text-align: center;
}

/* STREAMS GRID */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.stream-item h3 {
  margin-bottom: 8px;
  color: #7dd3fc;
}

/* FINDINGS GRID */
.findings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.finding-item h3 {
  margin-bottom: 8px;
  color: #7dd3fc;
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #0ea5e9;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.cta-button:hover {
  background: #0284c7;
}

/* ============================
   INDUSTRY HERO
============================ */
.industry-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  margin-left: -50vw;
  height: 600px;
  max-height: 600px;
  overflow: hidden;
}

/* Background image */
.industry-hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Content wrapper */
.industry-hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
  padding: 40px;
}

/* Alignment options */
.industry-hero-content.align-left {
  justify-content: flex-start;
}

.industry-hero-content.align-right {
  justify-content: flex-end;
}

/* Text box with subtle translucent background */
.industry-hero-textbox {
  max-width: 600px;
  background: rgba(0, 0, 0, 0.28);
  padding: 28px 32px;
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

.industry-hero-textbox h1 {
  margin-bottom: 16px;
  color: white;
}

.industry-hero-textbox p {
  color: #e5e7eb;
  line-height: 1.55;
}

/* ============================
   INDUSTRIES MONTAGE HERO
============================ */
.industries-hero-montage {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  left: 50%;
  margin-left: -50vw;
  height: 600px;
  max-height: 600px;
  overflow: hidden;
}

/* Six vertical slices */
.industries-montage-slices {
  display: flex;
  width: 100%;
  height: 100%;
}

.industries-montage-slices .slice {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.82) contrast(1.08);
}

/* Overlay text */
.industries-hero-overlay {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  text-align: center;
  padding: 24px 32px;
  background: rgba(0,0,0,0.28);
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

.industries-hero-overlay h1 {
  color: white;
  margin-bottom: 16px;
}

.industries-hero-overlay p {
  color: #e5e7eb;
  line-height: 1.55;
}


/* Slow auto-pan animation */
@keyframes slowPan {
  0% {
    background-position: center center;
  }
  50% {
    background-position: center 60%;
  }
  100% {
    background-position: center center;
  }
}

/* Apply to each slice */
.industries-montage-slices .slice {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.82) contrast(1.08);

  /* Animation */
  animation: slowPan 18s ease-in-out infinite;
}
@keyframes slowPan {
  0%   { background-position: 50% 50%; }
  50%  { background-position: 55% 60%; }
  100% { background-position: 50% 50%; }
}
.industries-montage-slices .slice:nth-child(1) { animation-delay: 0s; }
.industries-montage-slices .slice:nth-child(2) { animation-delay: 2s; }
.industries-montage-slices .slice:nth-child(3) { animation-delay: 4s; }
.industries-montage-slices .slice:nth-child(4) { animation-delay: 6s; }
.industries-montage-slices .slice:nth-child(5) { animation-delay: 8s; }
.industries-montage-slices .slice:nth-child(6) { animation-delay: 10s; }


/* Resources hero layout */
.resources-hero {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
  max-width: 1200px;
  margin: 40px auto 60px auto;
  padding: 0 24px;
}

/* Text column */
.resources-hero-text {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Image column */
.resources-hero-image {
  flex: 1;
  max-height: 360px;          /* controls hero image height */
  overflow: hidden;
  border-radius: 12px;
}

/* Make the image fill its box nicely */
.resources-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Blueprint background */
.product-suite.blueprint-bg {
  background-image: url('../images/blueprint-grid.png');
  background-size: 16px 16px;
  background-repeat: repeat;
  padding: 80px 0;
}

/* Product bands */
.product-band {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.product-band.reverse {
  flex-direction: row-reverse;
}

.product-band-img img {
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
}

.product-band-content {
  max-width: 600px;
}

/* ============================
   PRODUCT SUITE — CLEAN, ALIGNED LAYOUT
============================ */

/* Tight, distinct section */
.product-suite {
  padding-top: 20px;
  padding-bottom: 60px;
  margin-top: -10px;
  position: relative;
  overflow: hidden;
}

/* Blueprint background */
.product-suite.blueprint-bg {
  background-color: #0d1117;
  background-image: url('../images/blueprint-grid.png');
  background-size: 22px 22px;
  background-repeat: repeat;
  background-position: top left;
  background-blend-mode: overlay;
  opacity: 0.95;
}

/* Section header */
.suite-header {
  max-width: 900px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.suite-header h2 {
  margin: 0;
  padding: 0;
}
.section h2,
.suite-header h2,
.systems-staggered-header h2 {
  font-size: 2.4rem;      /* adjust to taste */
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
/* ============================
   PRODUCT BLOCKS — ALIGNED
============================ */

.product-block {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* No stagger — all aligned */
.product-block.stagger-right,
.product-block.stagger-left {
  margin-left: 0;
  margin-right: 0;
}

/* Product media */
.product-media img {
  width: 100%;
  max-width: 520px;
  border-radius: 8px;
  display: block;
}

/* Product text */
.product-body {
  max-width: 600px;
}

.product-body h3 {
  margin-top: 0;
}

/* Product link */
.product-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* Soft separators between product blocks */
.product-block {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08); /* soft separator */
}

/* Remove separator from the first block */
.product-block:first-of-type {
  border-top: none;
}

/* Prevent images from shrinking too small */
.product-media img {
  width: 100%;
  max-width: 520px;
  min-width: 320px; /* ensures images never collapse */
  flex-shrink: 0;   /* prevents flexbox from squeezing the image */
  border-radius: 8px;
  display: block;
}

/* Responsive: switch to vertical layout earlier */
@media (max-width: 1100px) {
  .product-block {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .product-body {
    max-width: 700px;
    margin: 0 auto;
  }
}

/* Even smaller screens */
@media (max-width: 600px) {
  .product-media img {
    min-width: 260px; /* still protects image integrity */
  }
}

.suite-header p {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px; /* keeps the line length readable */
}

.suite-header {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 60px auto;
}

.product-link {
  color: #4da3ff;          /* bright engineered blue */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.product-link:hover {
  color: #82c3ff;          /* lighter hover blue */
  opacity: 0.9;
}
.origin-tagline {
  font-size: 1.15rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: -12px;
  margin-bottom: 24px;
}

.diagram-caption {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-top: 6px;
  line-height: 1.4;
}

/* ===========================
   CONTACT FORM CONTAINER
   Centers the form and sets a comfortable max width.
   =========================== */
.contact-form {
  max-width: 600px;          /* ideal reading width */
  margin: 0 auto;            /* center within section */
  padding-top: 1rem;
}

/* ===========================
   FORM ROW SPACING
   Controls vertical rhythm between fields.
   =========================== */
.form-row {
  margin-bottom: 1.5rem;     /* consistent spacing between inputs */
}


/* ===========================
   FIELD LABELS
   High contrast for visibility.
   Text shadow improves readability over images.
   =========================== */
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;            /* bright, readable label text */
  text-shadow: 0 1px 2px rgba(0,0,0,0.35); /* subtle lift for clarity */
}


/* ===========================
   INPUTS, SELECTS, TEXTAREAS
   Full-width fields with clean, modern styling.
   Rounded corners match TinMan aesthetic.
   =========================== */
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;      /* ensures consistent typography */
  background-color: #ffffff;
  box-sizing: border-box;    /* prevents width overflow */
}


/* ===========================
   TEXTAREA BEHAVIOR
   Allows vertical resizing for longer messages.
   =========================== */
.form-row textarea {
  resize: vertical;
}


/* ===========================
   CONTACT LIST
   Clean spacing for direct email addresses.
   Matches spacing rhythm of the page.
   =========================== */
.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.contact-list li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

/* ===========================
   CONTACT PAGE HERO ONLY
   Ensures the hero image stays compact and aligned.
   =========================== */

.contact-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0;
  flex-wrap: nowrap;              /* prevents image from dropping below text */
}

.contact-hero .text-block {
  flex: 1 1 50%;
}

.contact-hero .image-block {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-hero .image-block img {
  width: 100%;
  height: auto;
  max-height: 300px;              /* ↓ compact hero image */
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Mobile stacking */
@media (max-width: 900px) {
  .contact-hero {
    flex-direction: column;
    text-align: center;
  }

  .contact-hero .image-block img {
    max-height: 200px;
  }
}

/* ===========================
   CTA BLUE (GLOBAL)
   =========================== */
:root {
  --cta-blue: #0077ff;
}


/* ===========================
   DESKTOP NAV BUTTONS
   Contact + Demo
   - Slightly smaller font
   - Reduced padding
   - Perfectly aligned with nav rhythm
   =========================== */

/* ===========================
   DESKTOP NAV BUTTONS
   Perfect vertical centering
   =========================== */

.nav-contact a,
.nav-demo a {
  font-size: 0.92rem;
  padding: 6px 12px;
  border-radius: 6px;
  margin-left: 0.75rem;

  /* The key fixes */
  display: flex;
  align-items: center;        /* vertically centers icon + text */
  justify-content: center;    /* ensures perfect centering */
  line-height: 1.2;           /* matches nav link vertical rhythm */
  height: 32px;               /* EXACT height of your nav bar anchors */
  box-sizing: border-box;     /* ensures padding doesn't break height */

  gap: 6px;
  transition: 0.2s ease;
}


/* CONTACT US — Outline Blue */
.nav-contact a {
  border: 1px solid var(--cta-blue);
  color: var(--cta-blue);
  font-weight: 500;
  background: transparent;
}

.nav-contact a:hover {
  background: rgba(0,119,255,0.12);
}


/* REQUEST A DEMO — Solid Blue */
.nav-demo a {
  background: var(--cta-blue);
  color: white;
  font-weight: 600;
}

.nav-demo a:hover {
  background: #0063d6;
}


/* ===========================
   MOBILE NAV BUTTONS
   - Full-width
   - Touch-friendly
   - Stacked under hamburger
   =========================== */

.mobile-nav-actions {
  display: none;
}

@media (max-width: 900px) {

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .mobile-contact,
  .mobile-demo {
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;       /* slightly smaller for mobile harmony */
  }

  .mobile-contact {
    border: 1px solid var(--cta-blue);
    color: var(--cta-blue);
    background: transparent;
  }

  .mobile-demo {
    background: var(--cta-blue);
    color: white;
  }

  /* Hide desktop buttons on mobile */
  .nav-contact,
  .nav-demo {
    display: none;
  }
}

/* ============================================================
   RESPONSIVE ENHANCEMENTS — TinMan Systems
   Consolidated mobile/tablet layout improvements
   ============================================================ */

/* ------------------------------------------------------------
   Global Safety Nets
   ------------------------------------------------------------ */
img {
  max-width: 100%;
  height: auto;
}

/* ------------------------------------------------------------
   Typography Scaling
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  h1 {
    font-size: 1.9rem;
    line-height: 1.25;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.55;
  }
}

/* ------------------------------------------------------------
   Section Spacing
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .section {
    padding: 40px 20px;
  }

  .final-cta {
    padding: 50px 20px;
  }
}

/* ------------------------------------------------------------
   Hero — Two Column Layout
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .hero.two-column {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .hero.two-column .text-block {
    max-width: 100%;
    margin: 0;
  }

  .hero.two-column .image-block {
    width: 100%;
  }

  .hero.two-column .image-block img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

/* ------------------------------------------------------------
   Hero — Single Column (fallback)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .hero {
    padding: 40px 20px;
    text-align: left;
  }
}

/* ------------------------------------------------------------
   Navigation / Header
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .nav-container {
    padding: 10px 16px;
  }

  .nav-container img {
    height: 40px;
  }

  .mobile-menu a {
    padding: 14px 0;
    font-size: 1.1rem;
  }
}

/* ------------------------------------------------------------
   Contact Form
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .contact-form .form-row {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    font-size: 1rem;
  }

  .contact-form button {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
  }
}

/* ------------------------------------------------------------
   Contact Page — Phone Number
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .contact-phone {
    font-size: 1.1rem;
    margin-top: 10px;
  }
}

/* ------------------------------------------------------------
   Product / Solutions / Industry Grids
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .product-grid,
  .solutions-grid,
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ------------------------------------------------------------
   Editorial Images
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .editorial-image {
    width: 100%;
    margin: 20px 0;
  }
}

/* ------------------------------------------------------------
   Tables
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1.1rem;
  }
}

/* ------------------------------------------------------------
   Generic Two-Column Layouts
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .two-column {
    flex-direction: column;
    gap: 30px;
  }

  .two-column .col {
    width: 100%;
  }
}
/* ============================================================
   MOBILE NAVIGATION — TinMan Systems
   ============================================================ */

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.mobile-nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  transition: 0.3s ease;
}

/* Hamburger animation */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* NAV WRAPPER (desktop default) */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* MOBILE MODE */
@media (max-width: 900px) {

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-wrapper {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #0d0d0d;
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .nav-wrapper.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  nav li.dropdown .dropdown-menu {
    position: relative;
    background: #1a1a1a;
    padding: 10px 15px;
    display: none;
  }

  nav li.dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-contact,
  .nav-demo {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
  }

  .mobile-nav-actions a {
    padding: 12px;
    background: #222;
    border-radius: 4px;
    text-align: center;
  }
}
.about-history-hook {
  max-width: 900px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
}

.about-history-hook h2 {
  margin-bottom: 0.75rem;
}

.about-history-hook p {
  color: #d0d4dc;
  margin-bottom: 1rem;
  line-height: 1.55;
}

.origins-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem;
  border-radius: 8px;
  width: 240px;
}

.origins-sidebar h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.origins-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.origins-sidebar li {
  margin-bottom: 0.75rem;
}

.origins-sidebar a {
  color: #d0d4dc;
  text-decoration: none;
  font-size: 0.9rem;
}

.origins-sidebar a:hover {
  color: #ffffff;
}
/* ============================
   OUR STORY — HERO OVERLAY
============================ */

.ourstory-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 820px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ourstory-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.55);
}

.ourstory-hero-overlay {
  position: absolute;
  left: 6%;
  bottom: 12%;
  max-width: 600px;
  padding: 32px 40px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  color: #fff;
}

.ourstory-hero-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}

.ourstory-hero-overlay p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #e8e8e8;
}

/* Fade-in animation (matches your scroll-animate.js behavior) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 900px) {
  .ourstory-hero {
    height: 60vh;
  }

  .ourstory-hero-overlay {
    left: 5%;
    right: 5%;
    bottom: 8%;
    padding: 24px 28px;
  }

  .ourstory-hero-overlay h1 {
    font-size: 2.4rem;
  }

  .ourstory-hero-overlay p {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .ourstory-hero {
    height: 55vh;
  }

  .ourstory-hero-overlay {
    padding: 20px 24px;
  }

  .ourstory-hero-overlay h1 {
    font-size: 2rem;
  }
}
/* ============================
   IMAGE BLOCK ENHANCEMENTS
============================ */

.image-block img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
  display: block;
}

/* Full-width image treatment (for mcis_frame2.jpg) */
.fullwidth-image {
  width: 100%;
  border-radius: 12px;
  margin-top: 24px;
  margin-bottom: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  display: block;
}

/* Vertical rhythm tuning */
.section.two-column {
  margin-bottom: 80px;
}

.section.two-column .text-block {
  padding-right: 32px;
}

.section.two-column.reverse .text-block {
  padding-right: 0;
  padding-left: 32px;
}

/* Editorial strip variant */
.image-block img.strip {
  margin-top: 8px;
  margin-bottom: 4px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* TILE GRID */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 36px;
  margin-top: 36px;
}

/* TILE CONTAINER */
.tile {
  background: rgba(255,255,255,0.03);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.22);
}

/* TITLE — restore premium size */
.tile h3 {
  margin-bottom: 16px;
  font-size: 1.55rem;       /* stronger, more premium */
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* IMAGE SWATCH — full width with slight border gap */
.tile-swatch {
  width: 100%;
  height: 260px;            /* uniform height across all products */
  object-fit: cover;        /* ensures perfect cropping */
  border-radius: 10px;
  margin: 0 0 18px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.10);
  background: #111;         /* prevents white flash on load */
}

/* DESCRIPTION */
.tile p {
  margin-bottom: 20px;
  line-height: 1.55;
}

/* CTA LINK — more visible blue */
.tile-link {
  font-weight: 600;
  color: #4da3ff;           /* brighter, more obvious blue */
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.tile-link:hover {
  opacity: 0.75;
}

.tile-swatch-small {
  width: 100%;
  height: 150px;        /* uniform height, minimal cropping */
  object-fit: cover;    /* gentle, consistent framing */
  object-position: center;
  border-radius: 8px;
  margin: 12px 0 16px 0;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* GLOBAL IMAGE MODAL */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  animation: modalFadeIn 0.25s ease;
}

.image-modal-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.image-modal-close:hover {
  opacity: 0.6;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* Any image you want to be clickable */
.img-zoomable {
  cursor: zoom-in;
}

/* ============================================
   ABOUT PAGE — CINEMATIC SPLIT HERO
============================================ */

.about-hero {
  width: 100%;
  background: linear-gradient(90deg, rgba(2,6,23,0.9), rgba(2,6,23,0.6) 40%, rgba(2,6,23,0.2) 100%);
  padding: 80px 0;
  border-bottom: 1px solid #1f2937;
}

.about-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-hero-text h1 {
  font-size: 2.6rem;
  color: #f9fafb;
  margin-bottom: 20px;
}

.about-hero-text p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #9ca3af;
  max-width: 40rem;
}

.about-hero-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 14px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  margin-left: auto;
}
/* ============================================
   PRODUCT HERO — FULL BLEED WITH OVERLAY BOX
============================================ */

.product-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-bottom: 1px solid #1f2937;
}

.product-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-hero-overlay {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(2, 6, 23, 0.55);
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 1200px;
  width: calc(100% - 3rem);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-hero-overlay h1 {
  margin: 0;
  font-size: 2.6rem;
  color: #f9fafb;
}

.product-hero-overlay p {
  margin: 0;
  font-size: 1.15rem;
  color: #d1d5db;
  max-width: 40rem;
}
/* GLOBAL TWO-COLUMN LAYOUT */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Ensure images never force stacking */
.two-column .image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.section-title.centered {
  text-align: center;
  margin-bottom: 32px;
}

/* ============================
   FOOTER (FINAL, CLEAN, RESPONSIVE)
============================ */

footer {
  background: #0d0d0d;
  border-top: 1px solid #222;
  width: 100%;
}


/* FOOTER FULL-WIDTH FIX */
.site-footer {
  width: 100%;
  margin: 0;
  padding: 60px 20px 40px;
  background: #f7f8fa;
  color: #1a1a1d;
}

/* ----------------------------
   GRID LAYOUT (DESKTOP)
---------------------------- */

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px;
}

/* Brand column spans 2 columns */
.footer-col.brand-col {
  grid-column: span 2;
}

/* Standard columns */
.footer-col {
  min-width: 160px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  margin-top: 0;
  line-height: 1.5;
}

/* ----------------------------
   BOTTOM STRIP
---------------------------- */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #777;
}

.footer-bottom p,
.footer-bottom a {
  margin: 6px 0;
  display: block;
}

/* ============================
   RESPONSIVE BEHAVIOR
============================ */

/* Collapse to 2-column grid on medium screens */
@media (max-width: 1100px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-col.brand-col {
    grid-column: span 4;
  }
}

/* Collapse to single column on mobile */
@media (max-width: 900px) {
  .site-footer {
    padding: 40px 24px 30px;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col h4 {
    margin-bottom: 10px;
  }

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-phone {
    margin: 6px 0;
    font-size: 1rem;
  }
}

/* Extra-small screens */
@media (max-width: 480px) {
  .site-footer {
    padding: 32px 20px 28px;
  }

  .footer-content {
    gap: 24px;
  }

  .footer-col h4 {
    font-size: 1.05rem;
  }

  .footer-col a {
    font-size: 0.95rem;
  }

  .footer-bottom {
    font-size: 0.82rem;
  }
}

/* ============================================
   MUSEUM‑STYLE TIMELINE
   Calm, spacious, typographically confident
============================================ */

.museum-timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.museum-timeline h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.museum-timeline .timeline-intro {
  font-size: 1.2rem;
  color: #d0d6dd;
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.55;
}

/* Timeline container */
.museum-timeline .timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Each item */
.museum-timeline .timeline-item {
  padding-left: 0;
  border-left: 2px solid rgba(255,255,255,0.08);
  padding: 0 0 0 28px;
  position: relative;
}

/* Year marker */
.museum-timeline .timeline-year {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #8fa3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* Title */
.museum-timeline h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

/* Body text */
.museum-timeline p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d8dde3;
  max-width: 720px;
}

/* Subtle node dot */
.museum-timeline .timeline-item::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #4a90e2;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74,144,226,0.25);
}

/* ============================================
   MOBILE
============================================ */
@media (max-width: 768px) {

  .museum-timeline {
    padding: 60px 18px;
  }

  .museum-timeline h2 {
    font-size: 2rem;
  }

  .museum-timeline .timeline-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  .museum-timeline .timeline {
    gap: 40px;
  }

  .museum-timeline h3 {
    font-size: 1.4rem;
  }

  .museum-timeline p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {

  .museum-timeline {
    padding: 48px 16px;
  }

  .museum-timeline .timeline-item {
    padding-left: 22px;
  }

  .museum-timeline .timeline-item::before {
    left: -8px;
    width: 8px;
    height: 8px;
  }
}
/* ============================================
   UNIFIED HERO COMPONENT
============================================ */
.tm-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 60px;
}

/* Background image */
.tm-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  filter: brightness(1.05) contrast(1.05);
}

/* Overlay container */
.tm-hero-overlay {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 1000px;
  padding: 0 1.5rem;
  z-index: 2;
}

/* Text box */
.tm-hero-box {
  display: inline-block;
  padding: 12px 22px;
  background: rgba(0,0,0,0.28);
  border-radius: 8px;
  backdrop-filter: blur(3px);
}

.tm-hero-box h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.tm-hero-box p {
  font-size: 1.25rem;
  color: #e8edf3;
  margin-bottom: 0.6rem;
}

/* CTA row */
.tm-hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 0.5rem;
}
/* ============================================
   HERO TEXT — FORCE BRIGHT WHITE
============================================ */
.tm-hero-box h1 {
  color: #ffffff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
}

.tm-hero-box p {
  color: #e8edf3 !important;
}
/* ============================
   FOOTER — LIGHT THEME
============================ */
.site-footer {
  background: #f7f8fa;
  color: #1a1a1d;
  padding: 60px 20px 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}


.footer-content {
  max-width: 1400px;        /* gives breathing room for 6 columns */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px;                /* slightly larger gap for clarity */
  align-items: start;       /* ensures all column headers align */
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #1a1a1d;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #1a1a1d;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* BRAND COLUMN */
.footer-logo {
  width: 180px;
  margin-bottom: 16px;
}

.footer-tagline {
  max-width: 260px;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social img {
  width: 26px;
  height: 26px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-social img:hover {
  opacity: 1;
}

/* DIVIDER */
.footer-divider {
  margin: 40px auto;
  max-width: 1200px;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* BOTTOM BAR */
.footer-bottom {
  text-align: center;
  opacity: 1;
  color: #1a1a1d;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0 0;
}

.footer-bottom .back-to-top {
  display: inline-block;
  margin-bottom: 8px;
  color: #1a1a1d;
  text-decoration: none;
}

.footer-bottom .back-to-top:hover {
  text-decoration: underline;
}

.footer-phone {
  margin: 4px 0;
}
.site-footer a:hover {
  color: #000 !important;
  opacity: 0.9;
  text-decoration: underline;
}
.footer-bottom a.back-to-top {
  display: inline-block;
  margin-bottom: 8px;
  color: #1a1a1d;
  opacity: 0.9;
}


.footer-bottom .footer-phone {
  opacity: 1 !important;
  font-weight: 500;
}
.footer-bottom p,
.footer-bottom a {
  opacity: 0.85;
}

.footer-bottom .footer-phone {
  opacity: 1;
  color: #1a1a1d;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

/* ============================================
   HOME PAGE HERO — BASE STYLES (ALL SIZES)
============================================ */

.tm-home-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tm-home-hero-image {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}


.tm-home-hero-overlay {
  position: absolute;
  bottom: 60px;
  left: 80px;
  max-width: 600px;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}



.tm-home-hero-overlay h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.tm-home-hero-subheadline {
  font-size: 1.25rem;
  line-height: 1.45;
  margin-bottom: 28px;
}

.tm-home-hero-cta {
  display: flex;
  gap: 16px;
}

.tm-home-hero-cta a {
  padding: 14px 24px;
  text-align: center;
  white-space: nowrap;
}
/* Inner container that controls width */
.tm-home-hero-inner {
  max-width: 600px;
}
.tm-home-hero-overlay .page-container {
  position: relative;
}
