/* ═══════════════════════════════════════════════════════════
   OPEX CONSULTING — SHARED STYLESHEET
   Used by: index.html, railway.html, automotive.html
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════ */
:root {
  --navy:     #16265A;
  --navy-l:   #22398C;
  --blue:     #2F6FDB;
  --sky:      #4FB4EF;
  --silver:   #A9B6CC;
  --charcoal: #3D4552;
  --mid:      #64748B;
  --off:      #F3F7FD;
  --white:    #FFFFFF;
  --border:   rgba(22,38,90,.1);
  --border-w: rgba(255,255,255,.14);

  --fd: 'Playfair Display', Georgia, serif;
  --fs: 'Source Sans 3', system-ui, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);

  --px: clamp(1.5rem, 5vw, 3.5rem);
  --max: 1160px;
}

/* ═══════════════════════════════════════════
   BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
[id] { scroll-margin-top: 100px; }
body { font-family: var(--fs); color: var(--charcoal); background: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ═══════════════════════════════════════════
   REVEAL
═══════════════════════════════════════════ */
.r  { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.r.on { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }
.rd4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .r { opacity:1; transform:none; transition:none; } }

/* ═══════════════════════════════════════════
   NAV
═══════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 var(--px);
  height: 120px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(22,38,90,.07);
  transition: background .3s, box-shadow .3s, height .3s;
}
#nav.scrolled {
  height: 92px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 26px rgba(22,38,90,.1);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img {
  height: 96px; width: auto;
  transition: height .3s;
}
#nav.scrolled .nav-logo img { height: 72px; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .83rem; font-weight: 500; letter-spacing: .06em;
  color: var(--charcoal); text-decoration: none;
  position: relative; padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -1px; left: 0;
  width: 0; height: 1px; background: var(--sky);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

/* Services dropdown */
.nav-drop { position: relative; }
.nav-drop-link {
  display: inline-flex; align-items: center; gap: .4rem;
}
.nav-drop-link .chevron { transition: transform .25s var(--ease); }
.nav-drop:hover .nav-drop-link .chevron { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(22,38,90,.14);
  padding: .5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop-menu:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 4px);
}
.nav-drop-menu a {
  display: block; padding: .75rem .9rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  color: var(--charcoal); text-decoration: none;
  border-radius: 2px;
  transition: background .18s, color .18s;
}
.nav-drop-menu a:hover { background: var(--off); color: var(--blue); }
.nav-drop-menu a::after { display: none; }

.nav-cta {
  padding: .55rem 1.4rem;
  background: var(--blue); color: #fff !important;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  text-decoration: none;
  transition: background .22s, box-shadow .22s, transform .18s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--sky); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(79,163,224,.35); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .28s, opacity .28s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--off); flex-direction: column;
  align-items: center; justify-content: center; gap: 2.5rem;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: var(--fd); font-size: 2rem; font-style: italic;
  color: var(--navy); text-decoration: none; transition: color .2s;
}
.mob-menu a:hover { color: var(--blue); }
.mob-submenu {
  display: flex; flex-direction: column; align-items: center; gap: 1.1rem;
  margin-top: -1.3rem;
}
.mob-submenu a {
  font-size: 1.05rem; font-style: normal; color: var(--mid);
  letter-spacing: .02em;
}
.mob-submenu a:hover { color: var(--blue); }

@media (max-width: 780px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  #nav { height: 84px; }
  .nav-logo img { height: 62px; }
  #nav.scrolled .nav-logo img { height: 52px; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  height: 100svh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 38%, var(--blue) 72%, var(--sky) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

/* Fine line texture on the dark side */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 79px,
    rgba(255,255,255,.025) 79px, rgba(255,255,255,.025) 80px
  ),
  repeating-linear-gradient(
    90deg, transparent, transparent 79px,
    rgba(255,255,255,.015) 79px, rgba(255,255,255,.015) 80px
  );
  pointer-events: none;
}

/* Blue radial glow */
#hero::after {
  content: '';
  position: absolute; top: -10%; right: 30%; width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,180,239,.4) 0%, transparent 65%);
  pointer-events: none;
}

.hero-left {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 16vh, 9.5rem) var(--px) clamp(6.5rem, 17vh, 8rem);
  min-height: 0;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: clamp(.64rem, 1.3vh, .72rem); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sky);
  margin-bottom: clamp(1rem, 2.2vh, 1.8rem);
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--sky); }

.hero-logo { margin-bottom: clamp(1.2rem, 2.6vh, 2.2rem); }
.hero-logo img {
  width: clamp(180px, 20vw, 320px); height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 22px rgba(79,180,239,.4));
}

.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(1.8rem, 5.2vh, 3.6rem);
  font-weight: 400; line-height: 1.14;
  color: #fff; letter-spacing: -.01em;
  margin-bottom: clamp(.9rem, 2vh, 1.5rem);
}
.hero-h1 em { font-style: italic; color: var(--sky); }

.hero-sub {
  font-size: clamp(.85rem, 1.7vh, 1rem); font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,.6);
  max-width: 420px; margin-bottom: clamp(1.4rem, 3vh, 2.4rem);
  border-left: 2px solid rgba(79,163,224,.3);
  padding-left: 1.1rem;
}

.hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.8rem;
  background: var(--blue); color: #fff;
  font-size: .85rem; font-weight: 600; letter-spacing: .06em;
  text-decoration: none;
  transition: background .22s, box-shadow .22s, transform .18s;
}
.btn-primary .arr { transition: transform .25s var(--ease); }
.btn-primary:hover { background: var(--sky); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(79,163,224,.4); }
.btn-primary:hover .arr { transform: translateX(4px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem;
  border: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8);
  font-size: .85rem; font-weight: 400; letter-spacing: .06em;
  text-decoration: none;
  transition: border-color .22s, color .22s;
}
.btn-outline:hover { border-color: var(--sky); color: #fff; }

/* Hero right: photo fading into the hero background on its left edge */
.hero-right {
  position: relative; z-index: 1;
  padding: 0; overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  opacity: 0; animation: fadeIn 1.1s var(--ease) .3s forwards;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 28%, rgba(0,0,0,1) 58%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 28%, rgba(0,0,0,1) 58%);
}
.hero-photo-tint {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(22,38,90,.55) 0%, rgba(47,111,219,.22) 45%, transparent 78%);
  pointer-events: none;
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* Hero bottom stat bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(20,36,80,.48);
  backdrop-filter: blur(8px);
  height: clamp(64px, 11vh, 88px);
}
.hero-stat {
  padding: 1.2rem 1.8rem;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; justify-content: center; gap: .22rem;
}
.hero-stat:last-child { border-right: none; }
.hs-n {
  font-family: var(--fd); font-size: clamp(1.3rem, 2.6vh, 1.7rem); font-style: italic;
  color: var(--sky); line-height: 1;
}
.hs-l {
  font-size: .72rem; font-weight: 400; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}

@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; height: auto; min-height: 100svh; }
  .hero-right { display: none; }
  .hero-left { padding: 8rem var(--px) 8.5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); position: relative; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 1rem; }
}

/* ═══════════════════════════════════════════
   SHARED SECTION
═══════════════════════════════════════════ */
.sec { padding: clamp(4rem, 8vw, 7rem) var(--px); }
.wrap { max-width: var(--max); margin: 0 auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--blue); }

.sec-title {
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400; line-height: 1.18;
  color: var(--navy); letter-spacing: -.01em;
}
.sec-title em { font-style: italic; color: var(--blue); }

.sec-lead {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: var(--mid); max-width: 560px;
}
.rule { width: 48px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); margin: 1.4rem 0; }

/* ═══════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════ */
#about { background: var(--off); border-top: 1px solid var(--border); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.about-text {}
.about-body {
  font-size: .97rem; font-weight: 300; line-height: 1.9;
  color: var(--charcoal); margin-bottom: 1.3rem;
}
.about-body strong { color: var(--navy); font-weight: 600; }

.about-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.8rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%);
  border-left: 3px solid var(--sky);
  position: relative;
}
.about-quote p {
  font-family: var(--fd); font-size: 1.2rem; font-style: italic;
  color: #fff; line-height: 1.6; margin-bottom: .5rem;
}
.about-quote cite {
  font-size: .7rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--silver); font-style: normal;
}

.expertise-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .8rem; margin-top: 1.8rem;
}
.exp-tag {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: .82rem; font-weight: 400; color: var(--charcoal);
  transition: border-color .22s, color .22s, box-shadow .22s;
  cursor: default;
}
.exp-tag svg { color: var(--blue); flex-shrink: 0; transition: color .22s; }
.exp-tag:hover { border-color: var(--blue); color: var(--navy); box-shadow: 0 2px 12px rgba(33,85,181,.1); }
.exp-tag:hover svg { color: var(--sky); }

/* About right: portrait schematic */
.about-visual {
  position: relative;
}
.about-img-frame {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%);
  aspect-ratio: 4/5;
  max-width: 360px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-img-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(79,180,239,.18) 0%, transparent 60%);
}
.about-frame-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .9;
}
.about-frame-label {
  position: absolute; bottom: 0; left: 0;
  background: var(--blue); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: .6rem 1.2rem;
  z-index: 2;
}
.about-accent {
  position: absolute; top: 1.5rem; right: -1.2rem;
  width: 50px; height: 50px;
  border: 1.5px solid var(--blue); opacity: .3;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#services { background: var(--white); border-top: 1px solid var(--border); }

/* ═══ SUB-PAGE HEADER (used on railway.html / automotive.html) ═══ */
.page-header {
  min-height: 52vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 38%, var(--blue) 72%, var(--sky) 100%);
  position: relative; overflow: hidden;
  padding: 9.5rem var(--px) 4.5rem;
}
.page-header::after {
  content: '';
  position: absolute; top: -10%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,180,239,.35) 0%, transparent 65%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; width: 100%; }
.ph-crumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 500; letter-spacing: .04em;
  color: rgba(255,255,255,.6); margin-bottom: 1.4rem;
}
.ph-crumb a { color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.ph-crumb a:hover { color: #fff; }
.ph-title {
  font-family: var(--fd); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; color: #fff;
  max-width: 780px;
}
.ph-title em { color: var(--sky); font-style: italic; }
.ph-lead {
  font-size: 1rem; font-weight: 300; line-height: 1.85;
  color: rgba(255,255,255,.72); max-width: 620px; margin-top: 1.3rem;
}

/* ═══ SCROLL-SCRUBBED VIDEO (pinned, frame follows scroll position) ═══ */
.scrub-video {
  position: relative;
  height: 320vh;
  background: var(--navy);
}
.scrub-sticky {
  position: sticky; top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.scrub-video-el {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.scrub-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,38,90,.6) 0%, rgba(22,38,90,.15) 45%, rgba(22,38,90,.75) 100%);
}
.scrub-caption {
  position: relative; z-index: 2;
  text-align: center; color: #fff; padding: 0 2rem;
  will-change: opacity, transform;
}
.scrub-caption .eyebrow { color: var(--sky); justify-content: center; }
.scrub-caption-title {
  font-family: var(--fd); font-style: italic; font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.28; margin-top: .8rem;
}
.scrub-caption-title em { color: var(--sky); font-style: italic; }
.scrub-hint {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.65);
  font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scrub-hint svg { animation: scrubBob 1.6s ease-in-out infinite; }
@keyframes scrubBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (max-width: 780px) {
  .scrub-video { height: 240vh; }
}

/* ═══ VIDEO SHOWCASE (split text + video panels) ═══ */
.video-showcase { background: var(--white); border-top: 1px solid var(--border); }
.video-showcase:nth-of-type(even) { background: var(--off); }
.vs-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
.vs-row.reverse .vs-text { order: 2; }
.vs-row.reverse .vs-media { order: 1; }
.vs-num {
  font-family: var(--fd); font-style: italic; font-size: 1rem;
  color: var(--blue); margin-bottom: .8rem; display: block;
}
.vs-title {
  font-family: var(--fd); font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 500; color: var(--navy); line-height: 1.25; margin-bottom: 1.1rem;
}
.vs-desc {
  font-size: .92rem; font-weight: 300; line-height: 1.85;
  color: var(--mid); margin-bottom: 1.4rem;
}
.vs-points { display: grid; gap: .65rem; }
.vs-points li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .85rem; color: var(--charcoal); line-height: 1.5;
}
.vs-points li svg { flex-shrink: 0; margin-top: .2rem; color: var(--blue); }

.vs-media {
  position: relative;
  box-shadow: 0 20px 50px rgba(22,38,90,.14);
}
.vs-media::before {
  content: '';
  position: absolute; inset: -3px;
  background: linear-gradient(135deg, var(--navy-l), var(--blue), var(--sky));
  z-index: 0;
}
.vs-media video {
  position: relative; z-index: 1;
  display: block; width: 100%; aspect-ratio: 16/10;
  object-fit: cover; background: var(--navy);
}

@media (max-width: 860px) {
  .vs-row, .vs-row.reverse { grid-template-columns: 1fr; }
  .vs-row.reverse .vs-text, .vs-row.reverse .vs-media { order: unset; }
}

/* ═══ CAPABILITY GRID (Seating / Electrical / etc. — reused across pages) ═══ */
.cap-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 780px) { .cap-grid { grid-template-columns: 1fr; } }

.cap-card {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(22,38,90,.05);
  padding: 2.6rem;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cap-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--blue), var(--sky));
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.cap-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(22,38,90,.1); }
.cap-card:hover::before { transform: scaleY(1); }

.cap-list { margin-top: 1.3rem; display: grid; gap: .65rem; }
.cap-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .85rem; font-weight: 400; color: var(--charcoal); line-height: 1.5;
}
.cap-list li svg { flex-shrink: 0; margin-top: .2rem; color: var(--blue); }

/* ═══ Sub-page CTA banner ═══ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%);
  padding: clamp(3rem, 7vw, 5rem) var(--px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; bottom: -30%; left: -5%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,180,239,.18) 0%, transparent 65%);
}
.cta-band-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-band-title {
  font-family: var(--fd); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: #fff; line-height: 1.3; margin-bottom: 1.6rem;
}
.cta-band-title em { color: var(--sky); font-style: italic; }

/* ═══ CAPABILITY STRIP (compact icon-feature row, hairline dividers) ═══ */
.cap-strip-head { margin-bottom: 2.4rem; max-width: 640px; }
.cap-strip-eyebrow {
  font-family: var(--fd); font-style: italic; font-size: .95rem;
  color: var(--blue); margin-bottom: .5rem; display: block;
}
.cap-strip-heading {
  font-family: var(--fd); font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 500; color: var(--navy); line-height: 1.3;
}
.cap-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.cap-strip-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: .85rem;
  transition: background .25s;
}
.cap-strip-item:hover { background: var(--off); }
.cap-strip-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--sky));
  display: flex; align-items: center; justify-content: center;
  color: #fff; flex-shrink: 0;
}
.cap-strip-title { font-family: var(--fd); font-size: .98rem; font-weight: 500; color: var(--navy); }
.cap-strip-desc { font-size: .82rem; color: var(--mid); line-height: 1.6; }
@media (max-width: 860px) { .cap-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cap-strip { grid-template-columns: 1fr; } }

/* ═══ VIDEO PLACEHOLDER (used until real scroll-effect videos are ready) ═══ */
.video-placeholder {
  position: relative;
  height: 56vh; min-height: 380px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 55%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.video-placeholder::after {
  content: '';
  position: absolute; top: -10%; right: -5%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,180,239,.22) 0%, transparent 65%);
}
.vp-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 0 2rem; }
.vp-badge {
  display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sky);
  border: 1px solid rgba(79,180,239,.4); border-radius: 999px;
  padding: .4rem 1rem; margin-bottom: 1.3rem;
}
.vp-play {
  width: 62px; height: 62px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.4rem;
}
.vp-title {
  font-family: var(--fd); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 2.8vw, 2rem); color: #fff; line-height: 1.3;
}
.vp-sub {
  font-size: .85rem; font-weight: 300; color: rgba(255,255,255,.55);
  margin-top: .7rem; max-width: 420px; margin-left: auto; margin-right: auto;
}

/* ═══ COMPONENT GALLERY (photo/icon tiles — used for tangible capability items) ═══ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(22,38,90,.05);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(22,38,90,.12); }

.gallery-media {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-l) 100%);
}
.gallery-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-media.is-icon { display: flex; align-items: center; justify-content: center; }
.gallery-media.is-icon::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.gallery-media.is-icon svg { position: relative; z-index: 1; color: var(--sky); }

.gallery-label { padding: 1.1rem 1.3rem; }
.gallery-label h3 { font-family: var(--fd); font-size: 1rem; font-weight: 500; color: var(--navy); margin-bottom: .3rem; }
.gallery-label p { font-size: .8rem; color: var(--mid); line-height: 1.55; }

/* ═══ Automotive abstract illustration ═══ */
.auto-illus-frame {
  max-width: 460px; margin: 0 auto;
  box-shadow: 0 20px 50px rgba(22,38,90,.16);
}
.auto-illus-frame svg { display: block; width: 100%; height: auto; }

.services-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem; align-items: end;
  margin-bottom: 3.5rem;
}
@media (max-width: 720px) { .services-head { grid-template-columns: 1fr; } }

.svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: rgba(22,38,90,.07);
}

.svc-card {
  background: var(--white);
  padding: 2.5rem;
  position: relative; overflow: hidden;
  cursor: default;
  transition: background .3s, box-shadow .3s;
}
/* Blue left-border reveal */
.svc-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--blue), var(--sky));
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.svc-card:hover { background: var(--off); }
.svc-card:hover::before { transform: scaleY(1); }

.svc-icon-ring {
  width: 52px; height: 52px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem; color: var(--blue);
  transition: border-color .25s, background .25s, color .25s;
}
.svc-card:hover .svc-icon-ring { border-color: var(--blue); background: rgba(33,85,181,.06); color: var(--navy); }

.svc-title {
  font-family: var(--fd); font-size: 1.4rem; font-weight: 500;
  color: var(--navy); line-height: 1.25; margin-bottom: .85rem;
  transition: color .25s;
}
.svc-card:hover .svc-title { color: var(--blue); }

.svc-desc {
  font-size: .9rem; font-weight: 300; line-height: 1.8;
  color: var(--mid); margin-bottom: 1.2rem;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-tag {
  font-size: .67rem; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .65rem;
  background: var(--off); color: var(--mid); border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
}
.svc-card:hover .svc-tag { background: rgba(33,85,181,.07); border-color: rgba(33,85,181,.2); color: var(--navy); }

.svc-more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.3rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  color: var(--blue); text-decoration: none;
  transition: gap .2s, color .2s;
}
.svc-more:hover { gap: .65rem; color: var(--navy); }

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

/* ═══════════════════════════════════════════
   WHY OPEX
═══════════════════════════════════════════ */
#why {
  background: linear-gradient(180deg, var(--off) 0%, #EAF1FB 100%);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden;
}
#why::before {
  content: '';
  position: absolute; bottom: -20%; right: -5%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,111,219,.1) 0%, transparent 65%);
  pointer-events: none;
}
#why .sec-title { color: var(--navy); }
#why .sec-title em { color: var(--blue); }
#why .sec-lead { color: var(--mid); max-width: 100%; }

.why-head {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: end; margin-bottom: 4rem;
}
@media (max-width: 720px) { .why-head { grid-template-columns: 1fr; } }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  position: relative;
  border-radius: 14px;
  padding: 2px;
  background: var(--border);
  box-shadow: 0 2px 16px rgba(22,38,90,.05);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s var(--ease);
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(22,38,90,.14); }

/* Blurred gradient blob that follows the cursor — revealed on hover */
.why-glow {
  position: absolute;
  width: 240px; height: 240px;
  left: var(--mx, 50%); top: var(--my, 50%);
  transform: translate(-50%, -50%);
  background: linear-gradient(125deg, var(--blue) 0%, var(--sky) 50%, var(--navy-l) 100%);
  filter: blur(30px);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.why-card:hover .why-glow { opacity: .9; }

.why-card-inner {
  position: relative; z-index: 1;
  background: var(--white);
  border-radius: 12px;
  height: 100%;
  padding: 2rem 1.8rem;
}

.why-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(47,111,219,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 1.2rem;
  transition: background .25s, border-color .25s;
}
.why-card:hover .why-icon { background: rgba(47,111,219,.08); border-color: rgba(47,111,219,.5); }

.why-title {
  font-family: var(--fd); font-size: 1.15rem; font-weight: 500;
  color: var(--navy); margin-bottom: .6rem;
}
.why-desc {
  font-size: .87rem; font-weight: 300; line-height: 1.75;
  color: var(--mid);
}

.why-cta-row {
  margin-top: 3.5rem; padding-top: 3rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.why-cta-text {
  font-family: var(--fd); font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic; color: var(--navy); max-width: 480px; line-height: 1.35;
}
.why-cta-text strong { font-style: normal; color: var(--blue); }

@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cta-row { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact { background: var(--off); border-top: 1px solid var(--border); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 7vw, 5rem); align-items: start;
}
.contact-body {
  font-size: .95rem; font-weight: 300; line-height: 1.85;
  color: var(--mid); margin: 1.5rem 0 2.5rem;
}

.contact-items { list-style: none; }
.ci {
  display: flex; align-items: center; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--border);
  transition: padding-left .2s;
}
.ci:last-child { border-bottom: none; }
.ci:hover { padding-left: .4rem; }
.ci-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background .2s, border-color .2s;
}
.ci:hover .ci-icon { background: rgba(33,85,181,.07); border-color: var(--blue); }
.ci-label {
  display: block; font-size: .64rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--silver); margin-bottom: .12rem;
}
.ci-val { font-size: .9rem; color: var(--charcoal); }
.ci-val a { text-decoration: none; color: var(--charcoal); transition: color .2s; }
.ci-val a:hover { color: var(--blue); }

/* Form */
.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--border);
  position: relative;
}
.contact-form::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-l), var(--blue), var(--sky));
}
.form-head {
  font-family: var(--fd); font-size: 1.3rem; font-weight: 400; font-style: italic;
  color: var(--navy); margin-bottom: 1.8rem;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
label {
  font-size: .68rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--silver);
}
input, textarea, select {
  width: 100%; padding: .72rem 1rem;
  border: 1px solid var(--border);
  background: var(--off);
  font-family: var(--fs); font-size: .9rem; color: var(--charcoal);
  outline: none; border-radius: 0; appearance: none;
  transition: border-color .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--blue); background: var(--white);
}
textarea { resize: vertical; min-height: 110px; }
.btn-form {
  width: 100%; padding: .85rem;
  background: var(--navy); color: #fff;
  font-family: var(--fs); font-size: .83rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  border: none; cursor: pointer; margin-top: .5rem;
  transition: background .22s, transform .18s, box-shadow .2s;
}
.btn-form:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(33,85,181,.25); }
.form-note { font-size: .72rem; color: var(--silver); margin-top: .75rem; line-height: 1.65; }
.form-ok { display: none; text-align: center; padding: 3rem 1rem; }
.form-ok-ico {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem; color: var(--blue);
}
.form-ok h3 { font-family: var(--fd); font-size: 1.5rem; font-style: italic; color: var(--navy); margin-bottom: .5rem; }
.form-ok p { font-size: .88rem; color: var(--mid); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .frow { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer {
  background: var(--off);
  border-top: 1px solid var(--border);
  padding: 2.5rem var(--px);
  position: relative;
}
footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy-l), var(--blue), var(--sky));
}
.ft-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.ft-logo img {
  height: 52px; width: auto;
}
.ft-copy {
  font-size: .72rem; font-weight: 300;
  color: var(--mid); letter-spacing: .05em; text-align: center;
}
.ft-links { display: flex; gap: 1.5rem; }
.ft-links a {
  font-size: .75rem; font-weight: 400; letter-spacing: .06em;
  color: var(--mid); text-decoration: none;
  transition: color .2s;
}
.ft-links a:hover { color: var(--blue); }