@import url("./hero.css");

/* ============================================================
   AHAAN — Core Site Shell (defence-grade flat UI)
   ============================================================ */
:root {
  --brand: #005676;
  --bg: #070a0c;
  --text: #b8b0b0;
  --muted: rgba(233, 242, 246, 0.74);
  --line: rgba(255, 255, 255, 0.1);
  --line2: rgba(255, 255, 255, 0.2);
  --nav-mii-h: 53px;
  --nav-mii-shiftY: -3px;
  --nav-mii-text-size: 11px;
  --nav-mii-text-gap: 0px;
  --nav-mii-text-shiftY: 25px;

  --nav-as-h: 130px;
  /* Push AS9100D image down so ribbon can sit outside the bar */
  --nav-as-shiftY: -9px;

  --nav-cert-gap: 12px;
  --nav-cert-sep: 18px;
  --radius: 3px;
  /* Global text-box radius (cards, strip blocks, testimonials) */
  --card-radius: 3px;

  /*this is for the eye brow of each text blocks*/
  --tone: rgba(160, 109, 0, 0.993);

  /* Scrolly text magnet (brief snap at top) */
  --scrolly-text-pin: 60px; /* how long it sticks */
  --scrolly-text-release: 120px; /* how quickly it lets go */

  /* Scrolly snap smoothing (prevents bounce/jitter) */
  --scrolly-text-snap-ms: 90ms;
  --scrolly-text-snap-ease: cubic-bezier(0.2, 0.9, 0, 1);

  /* ============================================================
     HERO TUNING HANDLES (controls JS + CSS hero animation)
     Edit values here (or override on .hero) to fine-tune.
     ============================================================ */
  --hero-anim-enabled: 1; /* 1 = play hero intro animation, 0 = show instantly */

  /* Word-by-word title reveal */
  --hero-word-step: 500ms; /* time between each word reveal */
  --hero-punct-pause: 180ms; /* extra pause after punctuation (.,!? etc) */
  --hero-line-gap: 100ms; /* pause between line1 end and line2 start */
  --hero-word-start-delay: 300ms; /* initial delay before first word */
  --hero-word-fade: 920ms; /* per-word fade/slide duration */

  /* Subtitle fade in */
  --hero-subtitle-fade: 520ms; /* subtitle fade/slide in time */

  /* Mosaic tile reveal (background tiles) */
  --hero-tile-open-tps-base: 210; /* base tiles-per-second while line2 reveals */
  --hero-tile-tps-cap: 5000; /* hard cap on tile opening speed */
  --hero-tile-target-count: 2500; /* reference tile count for auto-speed */
  --hero-tile-cell-min: 42px; /* min tile size (bigger tiles = fewer) */
  --hero-tile-cell-max: 64px; /* max tile size */
  --hero-tile-batch-tick: 350ms; /* cadence of tile opening batches */
  --hero-tile-ramp: 1500ms; /* slow-start ramp duration */
  --hero-tile-finish: 3420ms; /* smooth finish time after line2 ends */
  --hero-tile-fade: 660ms; /* tile fade-out duration */
  --hero-tile-radius: 3px; /* tile corner rounding */
  /*--hero-tile-wave-angle: 26deg; sweep direction across hero
  /*--hero-tile-wave-noise: 0.22; /* disorder in the travelling front */
  /*--hero-tile-wave-bend: 0.12; /* slight curve in the travelling front */
  /*--hero-tile-wave-blast: 78px; /* fly-away distance along the wind */
  /*--hero-tile-wave-cross: 18px; /* sideways flutter away from the wind */
  /*--hero-tile-wave-lift: 12px; /* upward pull while the tile flies */
  /*--hero-tile-wave-rot: 10deg; /* twist amount */
  /*--hero-tile-wave-flip: 24deg; /* panel flip amount */
  /*--hero-tile-wave-scale: 0.94; /* shrink while flying away */
  /*--hero-tile-wave-blur: 1px; /* softness while disappearing */

  /* Background tilt */
  --hero-tilt-max: 2deg; /* max tilt in degrees */
  --hero-tilt-persp: 900px; /* perspective depth */
  --hero-tilt-scale: 1.08; /* constant scale while tilting */
  --hero-tilt-return: 180ms; /* how fast tilt snaps back on pointer leave */

  /* ============================================================
     CONTACT PANEL TUNING
     ============================================================ */
  --contact-panel-w: 760px; /* contact side panel width */
  --contact-control-radius: 0px; /* inputs/select/textarea radius */
  --contact-button-radius: 0px; /* contact panel button radius */

  /* Social icon controls (Connect strip) */
  --social-icon-size: 22px; /* icon size for social icons */
  --social-icon-gap: 10px; /* spacing between social icons */

  /* Suppliers form top gap (when hero is disabled) */
  --suppliers-form-top-gap: 56px; /* HANDLE */

  --max: 1180px;
  --site-font-family: Rajdhani, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --siteHeaderH: 72px; /* sticky header height */
  --nav-dock-w: 75px;
  --nav-dock-h: 30px;
  --nav-dock-radius: 60px;
  --nav-dock-logo: 30px;
  /* nav hover underline controls */
  --nav-uline-h: 3px; /* thickness */
  --nav-uline-inset: 10px; /* left/right inset */
  --nav-uline-bottom: 6px; /* distance from bottom */
  --nav-hover-label-zoom: 1.15;
  --nav-hover-label-dur: 180ms;

  /* --txt-block-one: rgb(50 77 89);
  --txt-block-ano: rgb(28 40 49); */
  /* 
--txt-block-one: linear-gradient(135deg, rgb(50 77 89) 0%, rgb(28 40 49) 100%);
--txt-block-ano: linear-gradient(135deg, rgb(42 63 74) 0%, rgb(18 28 36) 100%); */

  /* --txt-block-one: linear-gradient(160deg, rgb(61 92 106) 0%, rgb(31 45 55) 100%);
--txt-block-ano: linear-gradient(160deg, rgb(44 66 78) 0%, rgb(20 30 38) 100%); */

  --txt-block-one: linear-gradient(
    180deg,
    rgb(58 87 100) 0%,
    rgb(28 40 49) 100%
  );
  --txt-block-ano: linear-gradient(
    180deg,
    rgb(40 58 68) 0%,
    rgb(18 26 33) 100%
  );

  /*--txt-block-one: linear-gradient(180deg, rgba(0, 87, 185, 0.24), rgba(0, 129, 250, 0.103));
--txt-block-ano: linear-gradient(135deg, rgba(0, 36, 134, 0.384) 0%, rgba(36, 2, 51, 0.24) 100%);




/*
--txt-block-one: linear-gradient(145deg, rgb(52 79 91) 0%, rgb(36 53 63) 55%, rgb(22 32 39) 100%);
--txt-block-ano: linear-gradient(145deg, rgb(32 46 55) 0%, rgb(20 28 34) 55%, rgb(12 18 23) 100%); */
}

/* Ensure HTML hidden attribute always hides elements (important for dynamic form sections) */
[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--site-font-family);
}

input,
select,
textarea,
button,
option,
optgroup {
  font: inherit;
}

/* Container */
.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

/* Typography */
.h1,
.h2,
.h3 {
  font-family:
    Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.h1 {
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.06;
  margin: 0;
}
.h2 {
  font-size: clamp(22px, 3vw, 38px);
  margin: 0 0 10px;
}
.h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.kicker {
  font-family: Rajdhani, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(233, 242, 246, 0.84);
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  color: rgba(233, 242, 246, 0.72);
}

.noSignTxtColor {
  color: rgba(39, 39, 39, 0.72);
  font-size: 14px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Header
   ============================================================ */
.siteHeader {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(7, 10, 12, 0.72);
  border-bottom: 1px solid var(--line);
}

.siteHeader,
.navBar,
header {
  min-height: 72px;
}

.siteHeader__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand__mark {
  width: 60px;
  height: 60px;
  /* border: 1px solid var(--line2); */
  /* border-radius: 10px; */
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 86, 118, 0.18), rgba(0, 0, 0, 0));
}

.brand__mark--logo {
  background-image: url("../img/ahaan-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain; /* or 70% if you want padding */
}

.logo,
.brand {
  font-size: 16px;
}

.brand__name {
  font-family: Rajdhani, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 25px;
}

.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__sub {
  font-family: Rajdhani, system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 10px;
  opacity: 0.75;
  margin-top: 2px;
}
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav__label {
  display: inline-block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform var(--nav-hover-label-dur) ease;
  will-change: transform;
}
.nav a {
  text-decoration: none;
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 13px;
  color: rgba(233, 242, 246, 0.86);
  padding: 10px 10px;
  border-radius: var(--radius);
  transition:
    background 0.16s ease,
    transform 0.16s ease;
  position: relative;
}

.nav a,
.menu a,
.nav__link {
  font-size: 14px; /* try 15px */
  padding: 12px 14px; /* bigger click area */
  letter-spacing: 0.08em;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.nav__item {
  position: relative;
}

.nav__item--hasMenu {
  display: flex;
  align-items: center;
}

.nav__parentLink {
  display: inline-flex;
  align-items: center;
}

.nav__submenu {
  position: absolute;
  /* top: calc(100% + 8px); */
  top: 100%;
  left: 0;
  min-width: 110px;
  padding: 0px;
  display: grid;
  gap: 4px;
  background: rgba(10, 14, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
  pointer-events: none;
  z-index: 70;
}

.nav__item--hasMenu:hover .nav__submenu,
.nav__item--hasMenu:focus-within .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__submenuLink {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.mobileNav__group {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.mobileNav__sub {
  display: grid;
  gap: 8px;
  padding-left: 16px;
}

.mobileNav__subLink {
  margin-bottom: 0;
  opacity: 0.92;
}

.nav__certs {
  display: flex;
  align-items: center;
  gap: var(--nav-cert-gap);
  margin-left: var(--nav-cert-sep);
  padding-left: var(--nav-cert-sep);
  border-left: 1px solid var(--line2);
  overflow: visible;
}

.nav__cert {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  text-decoration: none;
  color: inherit;
  /* transform: translateY(-10px); */
}

.nav__certLogo {
  width: auto;
  opacity: 0.9;
  filter: saturate(0.9);
  display: block;
}

.nav__certLogo--mii {
  height: var(--nav-mii-h);
  transform: translateY(var(--nav-mii-shiftY));
}

.nav__cert--mii {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--nav-mii-text-gap);
  line-height: 1;
}

.nav__certText--mii {
  display: block;
  color: rgb(3, 0, 43);
  font-family: "Rajdhani", sans-serif;
  font-size: var(--nav-mii-text-size);
  font-weight: 900;
  letter-spacing: 0em;
  text-transform: uppercase;
  /* transform: translateY(var(--nav-mii-text-shiftY)); */
  transform: translate(8px, 25px);
  white-space: nowrap;
  z-index: 1;
}

.nav__cert--as {
  /* align to top so bottom (ribbon) can overflow */
  align-items: flex-start;
  height: 66px; /* matches .siteHeader__row */
}

.nav__certLogo--as {
  height: var(--nav-as-h);
  transform: translateY(var(--nav-as-shiftY));
}

.nav__certText--as {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(10px);
}

.nav__certLine {
  display: block;
  color: rgb(255, 243, 222);
  font-family: "Rajdhani", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav__certLine--top {
  font-size: 13px;
  font-weight: 400;
}

.nav__certLine--bottom {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  /* transform: translate(); */
}

@media (max-width: 1100px) {
  .nav__certs {
    display: none;
  }
}
.nav a:hover,
.menu a:hover,
.nav__link:hover {
  background: rgba(0, 86, 118, 0.18);
  outline: 1px solid rgba(0, 86, 118, 0.35);
  outline-offset: -1px;
}

.nav a:hover,
.nav a:focus-visible,
.menu a:hover,
.nav__link:hover {
  background: rgba(0, 86, 118, 0.14);
  outline: 1px solid rgba(0, 86, 118, 0.35);
  outline-offset: -1px;
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover .nav__label,
  .nav a:focus-visible .nav__label,
  .menu a:hover .nav__label,
  .nav__link:hover .nav__label {
    transform: scale(var(--nav-hover-label-zoom));
  }
}
.nav a:hover::after,
.nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .nav a::after {
    transition: none;
  }
}

.nav a::after {
  content: "";
  position: absolute;
  left: var(--nav-uline-inset);
  right: var(--nav-uline-inset);
  bottom: var(--nav-uline-bottom);
  height: var(--nav-uline-h);
  background: linear-gradient(
    90deg,
    rgba(0, 86, 118, 0),
    rgba(0, 86, 118, 0.95) 18%,
    rgba(0, 86, 118, 0.95) 82%,
    rgba(0, 86, 118, 0)
  );
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.18s ease-out,
    opacity 0.18s ease-out;
  pointer-events: none;
}

.headerActions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
  background: rgba(0, 86, 118, 0.1);
  border-color: rgba(0, 86, 118, 0.55);
}
.btn.primary {
  background: rgba(0, 86, 118, 0.16);
  border-color: rgba(0, 86, 118, 0.62);
}
.navToggle {
  display: none;
}

.mobileNav {
  display: none;
  position: fixed;
  inset: 66px 0 0 0;
  z-index: 60;
  background: rgba(10, 14, 17, 0.96);
  border-top: 1px solid var(--line);
  padding: 14px 18px;
}
.mobileNav.is-open {
  display: block;
}
.mobileNav a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 10px;
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(233, 242, 246, 0.88);
}
@media (max-width: 920px) {
  .nav {
    display: none;
  }
  .navToggle {
    display: inline-flex;
  }
}


/* ============================================================
   Home header positioning (hero = full navbar, later slides = dock)
   ============================================================ */
html.home-stepper .siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 95;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html.home-stepper .siteHeader__row {
  justify-content: space-between;
  align-items: center;
  min-height: 66px;
}

html.home-stepper.home-hero-active .siteHeader {
  pointer-events: auto !important;
  background: rgba(7, 10, 12, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 920px) {
  html.home-stepper .siteHeader {
    position: sticky;
  }
}

/* ============================================================
   Desktop nav dock (non-landing stepper slides)
   ============================================================ */
@media (min-width: 921px) and (orientation: landscape) {
  html.nav-dock-enabled .siteHeader {
    z-index: 95;
    transform: none !important;
    opacity: 1 !important;
    transition:
      background-color 320ms ease,
      border-bottom-color 320ms ease,
      backdrop-filter 320ms ease,
      -webkit-backdrop-filter 320ms ease;
  }

  html.nav-dock-enabled.nav-dock-collapsed .siteHeader__row {
    position: relative;
    justify-content: center;
    align-items: flex-start;
    height: 66px;
    min-height: 0;
  }

  html.nav-dock-enabled.nav-dock-collapsed .siteHeader .brand {
    transition:
      opacity 520ms ease,
      min-width 520ms ease,
      min-height 520ms ease,
      padding 520ms ease,
      background 520ms ease,
      border-color 1800ms ease,
      box-shadow 1220ms ease;
  }

  html.nav-dock-enabled.nav-dock-collapsed .siteHeader .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max-content;
    max-width: calc(100vw - 48px);
    transform: translate(-50%, -50%);
    transform-origin: center center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 520ms ease,
      visibility 0s linear 520ms;
  }

  html.nav-dock-enabled.nav-dock-collapsed .siteHeader .headerActions {
    display: none !important;
  }

  html.nav-dock-enabled.nav-dock-open .siteHeader {
    pointer-events: auto;
  }

  html.nav-dock-enabled.nav-dock-collapsed.nav-dock-open .siteHeader__row {
    justify-content: space-between;
    align-items: center;
    height: 66px;
    animation: navDockFadeOnly 220ms ease both;
  }

  html.nav-dock-enabled.nav-dock-open .siteHeader .brand {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  html.nav-dock-enabled.nav-dock-collapsed.nav-dock-open .siteHeader .nav {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      opacity 2200ms ease,
      visibility 0s linear 0s;
  }

  @keyframes navDockFadeOnly {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  html.nav-dock-enabled.nav-dock-collapsed:not(.nav-dock-open) .siteHeader {
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }

  html.nav-dock-enabled.nav-dock-collapsed:not(.nav-dock-open)
    .siteHeader__row {
    height: var(--nav-dock-h);
  }

  html.nav-dock-enabled.nav-dock-collapsed:not(.nav-dock-open)
    .siteHeader
    .brand {
    pointer-events: auto;
    position: relative;
    z-index: 90;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    gap: 0;
    min-width: var(--nav-dock-w);
    min-height: var(--nav-dock-h);
    margin-top: 0;
    padding: 0 14px 4px;
    background: linear-gradient(
      180deg,
      rgba(244, 248, 251, 0.521) 0%,
      rgba(224, 232, 238, 0.589) 58%,
      rgba(205, 217, 226, 0.568) 100%
    );
    border: 1px solid rgba(138, 156, 170, 0.62);
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: calc(var(--nav-dock-radius) + 1px);
    border-bottom-right-radius: calc(var(--nav-dock-radius) + 1px);
    box-shadow:
      0 10px 24px rgba(3, 12, 18, 0.18),
      0 0 0 1px rgba(255, 255, 255, 0.01) inset,
      0 -1px 0 rgba(255, 255, 255, 0.72) inset,
      0 6px 16px rgba(85, 112, 130, 0.16);
    opacity: 1;
    transform: translateY(0);
  }

  html.nav-dock-enabled.nav-dock-collapsed:not(.nav-dock-open)
    .siteHeader
    .brand::before,
  html.nav-dock-enabled.nav-dock-collapsed:not(.nav-dock-open)
    .siteHeader
    .brand::after {
    content: none;
    display: none;
  }

  html.nav-dock-enabled.nav-dock-collapsed:not(.nav-dock-open)
    .siteHeader
    .brand__mark {
    width: var(--nav-dock-logo);
    height: var(--nav-dock-logo);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    filter: drop-shadow(0 1px 4px rgba(44, 61, 73, 0.22));
  }

  html.nav-dock-enabled.nav-dock-collapsed:not(.nav-dock-open)
    .siteHeader
    .brand__word {
    display: none !important;
  }

}

/* ============================================================
   Home hero overrides (glow preference + pipeline strip)
   ============================================================ */
.hero__title {
  text-shadow:
    0 0 18px rgba(255, 123, 0, 0.473),
    0 0 2px rgba(4, 142, 255, 0.925);
}

/* pipeline strip: 3 equal segments full width */
.pipeline--strip {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* pipe cards become links */
.pipeCard--link {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  transform: translateZ(0);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
  min-height: 86px;
}
.pipeCard--link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 86, 118, 0.62);
}

/* Background image is hidden by default; revealed on hover */
.pipeCard__media {
  position: relative;
  height: 100%;
  min-height: 86px;
}
.pipeCard__bg {
  position: absolute;
  inset: 0;
  background-image: var(--pipeBg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.18s ease;
  filter: none;
  /* filter: saturate(1.05) contrast(1.05); */
}
.pipeCard--link:hover .pipeCard__bg {
  opacity: 1;
}

.pipeCard--link .pipeCard__scan {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  mix-blend-mode: overlay;
}

/* Keep body readable always */
.pipeCard__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 16px;
  /* background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.1)); */
  background: transparent;
}

.pipeCard__kicker {
  font-family: Rajdhani, system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  color: rgba(233, 242, 246, 0.9);
}
.pipeCard__title {
  font-family: Rajdhani, system-ui, sans-serif;
  font-size: 13px;
  color: rgba(233, 242, 246, 0.78);
  margin-top: 4px;
}

/* Subtle "alive" idle motion for pipeline (disabled for reduce motion) */
@media (prefers-reduced-motion: no-preference) {
  .pipeCard--link {
    animation: pipeIdle 3.6s ease-in-out infinite;
  }
  .pipeCard--link:nth-child(2) {
    animation-delay: 0.25s;
  }
  .pipeCard--link:nth-child(3) {
    animation-delay: 0.5s;
  }
  @keyframes pipeIdle {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-1px);
    }
  }
}

/* Responsive pipeline */
@media (max-width: 860px) {
  .pipeline--strip {
    grid-template-columns: 1fr;
    width: min(680px, calc(100% - 36px));
    gap: 10px;
  }
  .pipeCard__body {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.68),
      rgba(0, 0, 0, 0.18)
    );
  }
}

/* ============================================================
   Inner pages
   ============================================================ */
.heroInner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(
      900px 360px at 20% 0%,
      rgba(0, 86, 118, 0.14),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(7, 10, 12, 0.64), rgba(7, 10, 12, 0.92));
}
.heroInner__wrap {
  padding: 54px 0 34px;
}
.heroInner__intro {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.6;
  margin: 12px 0 0;
  white-space: pre-line;
}

.section {
  padding: 70px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    rgba(17, 26, 31, 0.62),
    rgba(10, 14, 17, 0.72)
  );
  border-radius: var(--card-radius);
  padding: 16px;
}

/* ============================================================
   Home — Scrolly split sections (sticky media + scroll blocks)
   ============================================================ */
.scrollySplit {
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  --scrolly-media-row: 1fr; /* image area vs text area */
  --scrolly-text-row: 1fr;
}

/* Full-width scrolly sections (override container max) */
.scrollySplit > .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
@media (max-width: 640px) {
  .scrollySplit > .container {
    width: 100%;
  }
}
.scrollySplit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  /* Stretch so sticky media can remain active for the full height of the right column */
  align-items: stretch;
}
.scrollySplit--flip .scrollySplit__mediaCol {
  order: 2;
}
.scrollySplit--flip .scrollySplit__contentCol {
  order: 1;
}

.scrollySplit__mediaSticky {
  position: sticky;
  top: 0 !important;
}

/* Pinned left panel fills viewport height (Shift5-like) */
.scrollySplit__mediaSticky.has-meta {
  /* height: calc(100vh - 72px); */
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, var(--scrolly-media-row)) minmax(
      0,
      var(--scrolly-text-row)
    );
}

/* Flatten meta wrapper so bar/lead can be placed as grid rows */
.scrollySplit__mediaSticky.has-meta .scrollySplit__meta {
  display: contents;
}

.scrollySplit__mediaSticky.has-meta .scrollySplit__metaBar {
  grid-row: 1;
  margin-top: 0;
  align-items: center;
}

.scrollySplit__mediaSticky.has-meta .scrollySplit__mediaFrame {
  grid-row: 2;
  height: 100%;
  min-height: 0;
  border-bottom: 0;
}

.scrollySplit__mediaSticky.has-meta .scrollySplit__metaLead {
  grid-row: 3;
  height: 100%;
  min-height: 0;
  max-width: none;
  border-bottom: 0;
}
.scrollySplit__mediaFrame {
  position: relative;
  height: clamp(360px, calc(100vh - 170px), 760px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.scrollySplit__mediaTint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 12, 0.2),
    rgba(7, 10, 12, 0.55)
  );
  pointer-events: none;
}
.scrollySplit__mediaStack {
  position: absolute;
  inset: 0;
}
.scrollySplit__mediaSlot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: stretch;
}
.scrollySplit__mediaItem {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 0.6s ease,
    transform 0.9s cubic-bezier(0.2, 0.9, 0, 1);
}
.scrollySplit__mediaSlot.is-active .scrollySplit__mediaItem {
  opacity: 1;
  transform: scale(1);
}
.scrollySplit__mediaPh {
  padding: 18px;
  color: rgba(233, 242, 246, 0.72);
}

/* Kicker / Title / Lead moved under the sticky media */
.scrollySplit__meta {
  margin-top: 14px;
}
.scrollySplit__metaLead {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  line-height: 1.65;
  max-width: 66ch;
  background: rgba(7, 10, 12, 0.4);
}
.scrollySplit__metaBar {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 86, 118, 0.16);
  padding: 14px 16px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.scrollySplit__metaKicker {
  font-family: Rajdhani, system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 242, 246, 0.72);
  font-size: 12px;
  white-space: nowrap;
}
.scrollySplit__metaTitle {
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 32px);
  line-height: 1.1;
}

.scrollySplit__head {
  margin-bottom: 14px;
}
.scrollySplit__kicker {
  font-family: Rajdhani, system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(233, 242, 246, 0.72);
  font-size: 12px;
}
.scrollySplit__title {
  margin-top: 6px;
}
.scrollySplit__lead {
  max-width: 72ch;
  line-height: 1.65;
  margin-top: 10px;
}

.scrollySplit__blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0px;
  max-width: none;
  will-change: transform;
  transition: transform var(--scrolly-text-snap-ms)
    var(--scrolly-text-snap-ease);
}
.scrollySplit__block {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  padding: 22px 22px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.scrollySplit__block::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 3px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    rgba(0, 86, 118, 0),
    rgba(0, 86, 118, 0.92) 18%,
    rgba(0, 86, 118, 0.92) 82%,
    rgba(0, 86, 118, 0)
  );
  transition:
    transform 0.18s ease-out,
    opacity 0.18s ease-out;
  pointer-events: none;
}
/* .scrollySplit__block.is-active {
  border-color: rgba(0, 86, 118, 0.46);
} */

/* .scrollySplit__block.is-active::after {
  opacity: 1;
  transform: scaleX(1);
} */
.scrollySplit__eyebrow {
  font-family: Rajdhani, system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 242, 246, 0.72);
  font-size: 12px;
}
.scrollySplit__blockTitle {
  margin-top: 6px;
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}
.scrollySplit__blockText {
  margin-top: 8px;
  line-height: 1.65;
}

.scrollySplit__blockTitle,
.scrollySplit__blockText {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.scrollySplit__blockTitle {
  -webkit-line-clamp: 2;
}
.scrollySplit__blockText {
  -webkit-line-clamp: 4;
}


@media (max-width: 920px) {
  .scrollySplit__grid {
    grid-template-columns: 1fr;
  }
  .scrollySplit__mediaSticky {
    position: relative;
    top: auto;
  }
  .scrollySplit__mediaFrame {
    height: 46vh;
    max-height: 420px;
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scrollySplit__mediaItem {
    transition: none;
  }
  .scrollySplit__block::after {
    transition: none;
  }
}
.siteFooter {
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(
      1200px 520px at 18% 18%,
      rgba(0, 86, 118, 0.18),
      rgba(0, 0, 0, 0) 62%
    ),
    linear-gradient(180deg, rgba(6, 10, 12, 0.92), rgba(6, 10, 12, 0.98));
  position: relative;
  overflow: hidden;
}

/* Full-width footer content (no max-width container) */
.siteFooter__inner {
  width: 100%;
  padding: clamp(38px, 5vw, 62px) clamp(18px, 4vw, 64px) 22px;
}

.footerCols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 3.2vw, 56px);
  align-items: start;
}

.footerColTitle {
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 12px;
  color: rgba(233, 242, 246, 0.86);
  margin-bottom: 10px;
}

.footerLink {
  display: block;
  text-decoration: none;
  color: rgba(233, 242, 246, 0.8);
  /* padding: 4px 0; */
  padding-top: 1.5vh;
  font-size: 12px;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  width: max-content;
  max-width: 100%;
}
.footerLink:hover {
  color: rgba(233, 242, 246, 0.96);
  border-bottom-color: rgba(0, 86, 118, 0.55);
}

.footerBar {
  margin-top: clamp(22px, 3vw, 34px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}

.footerCopy {
  color: rgba(233, 242, 246, 0.74);
  font-size: 12px;
}
.footerLegal {
  text-align: center;
  font-size: 12px;
  color: rgba(233, 242, 246, 0.7);
  white-space: nowrap;
}
.footerLegal a {
  color: rgba(233, 242, 246, 0.78);
  text-decoration: none;
}
.footerLegal a:hover {
  color: rgba(233, 242, 246, 0.96);
}

.footerSocial {
  display: flex;
  justify-content: flex-end;
  gap: var(--social-icon-gap);
  align-items: center;
}
.footerIcon {
  width: calc(var(--social-icon-size) + 18px);
  height: calc(var(--social-icon-size) + 18px);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  color: rgba(233, 242, 246, 0.86);
  text-decoration: none;
}
.footerIcon:hover {
  border-color: rgba(0, 86, 118, 0.62);
  background: rgba(0, 86, 118, 0.1);
}
.footerIcon svg {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
  fill: currentColor;
  display: block;
}

@media (max-width: 1100px) {
  .footerCols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .footerCols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footerBar {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footerSocial {
    justify-content: center;
  }
}

/* ============================================================
   Contact overlay
   ============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.overlay.is-open {
  display: block;
}
.overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}
.overlay__panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(var(--contact-panel-w, 520px), 100%);
  background: rgba(12, 16, 19, 0.96);
  color-scheme: dark;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  overflow: auto;
}
.overlay__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0 12px;
}
.overlay__title {
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}
.iconBtn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.86);
}
.formRow {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.input,
textarea {
  width: 100%;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  padding: 6px 6px;
  font:
    14px/1.4 Rajdhani, system-ui, sans-serif;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.contactMeta {
  margin-top: 14px;
  white-space: pre-line;
}

/* Contact panel layout (form + map/meta) */
.contactGrid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 6px;
}
@media (min-width: 760px) {
  .contactGrid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }
}

/* Force Contact panel to stack (form -> address -> map) */
.overlay__panel .contactGrid {
  grid-template-columns: 1fr !important;
}

.contactGrid__side {
  display: grid;
  gap: 12px;
}

.contactMap {
  width: 100%;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.contactMap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Dark theme for native select dropdown */
.overlay__panel select,
.overlay__panel option,
.overlay__panel optgroup {
  background-color: rgba(12, 16, 19, 0.98);
  color: rgba(255, 255, 255, 0.92);
}

/* ============================================================
   Suppliers — Vendor Registration form
   ============================================================ */
.vendorSection {
  padding: 64px 0;
  /* Match the main site typography (better readability, proper lowercase). */
  font-family: Rajdhani, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.vendorSection--suppliers {
  padding-top: var(--suppliers-form-top-gap);
}
.vendorCard {
  padding: 18px;
}
.vendorHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.vendorForm {
  margin-top: 14px;
  display: grid;
  gap: 16px;
}
.vendorBlock {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}
.vendorBlock__title {
  font-family: Rajdhani, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.vendorSubTitle {
  font-family: Rajdhani, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  margin: 18px 0 10px;
  color: rgba(255, 255, 255, 0.85);
}
.vendorGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* More breathing space between the bottom of one row's inputs and the next row's labels */
  row-gap: 40px;
  column-gap: 14px;
}
.vendorGrid--1 {
  grid-template-columns: 1fr;
}
.vendorGrid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.vendorGrid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vendorGrid--4 {
  grid-template-columns: 2fr 0.8fr 1.2fr 1.2fr;
}
.vendorGrid--supplierProfileRow1 {
  /* Supplier Name | Year Established | Website (50%) */
  /* Keep website closer to year (year is a 4-digit field; don't waste column width) */
  grid-template-columns: 1.25fr 140px 2.25fr;
}
.vendorGrid--supplierProfileRow2 {
  /* Business Type | Other | Supplier Type | Other */
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.vendorGrid--contacts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vendorGrid--contactPrimary {
  grid-template-columns: 0.55fr 1.15fr 1.15fr 1fr 1.35fr 1fr 1fr;
  gap: 12px;
}
.vendorGrid--contactPrimaryRow1 {
  /* Designation | Other specify | Name */
  grid-template-columns: 0.95fr 1.15fr 2fr;
  gap: 12px;
}
.vendorGrid--contactPrimaryRow2 {
  /* Mobile | Email | WhatsApp | Landline */
  grid-template-columns: 1fr 1.6fr 1fr 1fr;
  gap: 12px;
}

/* Extra contacts: only Name + Designation mandatory (hide stars for Mobile/Email)
   NOTE: repeat rows use .repeatRow; keep .contactRow for backward compatibility. */
.repeatRow.isExtra [data-contact-label="mobile"] .reqStar,
.repeatRow.isExtra [data-contact-label="email"] .reqStar,
.contactRow.isExtra [data-contact-label="mobile"] .reqStar,
.contactRow.isExtra [data-contact-label="email"] .reqStar {
  display: none;
}
.vendorGrid--machines {
  grid-template-columns: 1.2fr 1.2fr 1fr 90px 110px;
  column-gap: 14px;
  row-gap: 40px;
}
.vendorGrid--machinesAttach {
  grid-template-columns: 1fr 110px;
  gap: 12px;
}
.vendorGrid--turnover {
  grid-template-columns: 1fr 1fr 140px;
}
.vendorGrid--attach {
  grid-template-columns: 220px 1fr 1fr 110px;
  gap: 12px;
}
.vendorField {
  display: grid;
  gap: 10px;
}

/* Supplier registration: highlight fields flagged as missing */
.vendorField.isError .input,
.vendorField.isError input,
.vendorField.isError select,
.vendorField.isError textarea {
  border-color: rgba(255, 90, 90, 0.75) !important;
  box-shadow: 0 0 0 2px rgba(255, 90, 90, 0.35);
}
.vendorBlock.isError .vendorBlock__title {
  color: rgba(255, 90, 90, 0.95);
  font-weight: 800;
  font-size: 18px;
}
.vendorBlock.isError .vendorSubTitle {
  color: rgba(255, 90, 90, 0.95);
  font-weight: 800;
}
.vendorField.isError .vendorLabel {
  color: rgba(255, 90, 90, 0.95);
  font-weight: 800;
  font-size: 14px;
}
.vendorField--wide {
  grid-column: 1 / -1;
}
.vendorField--year .input {
  max-width: 120px;
}

.vendorField--qty .input {
  max-width: 90px;
}
.vendorField--machineAction .btn {
  width: 100%;
}
.vendorLabel {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Arial,
    sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.78);
}

.signMute {
  color: rgb(112, 112, 112);
}

/* Create breathing space between the previous row's inputs and the next row's labels.
   Scoped to field labels so section mini-headers using .vendorLabel are not affected. */
.vendorField > .vendorLabel {
  margin-top: 15px;
  margin-bottom: -4px;
}

/* Vendor form controls: consistent height, spacing, and subtle radius */
.vendorForm .input {
  height: 42px;
  padding: 10px 12px;
  border-radius: var(--radius);
  box-sizing: border-box;
  margin-top: 3px;
}

.vendorTopActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 6px 0 14px 0;
}

/* Vendor form buttons: match input radius + clear action colors */
.vendorForm .btn {
  border-radius: var(--radius);
}

/* Action colors (scoped to the supplier form) */
.vendorForm .btn[data-add-row],
.vendorForm .btn[data-svc-add],
.vendorForm .btn[data-meas-add] {
  background: rgba(18, 140, 74, 0.18);
  border-color: rgba(18, 140, 74, 0.62);
}
.vendorForm .btn[data-add-row]:hover,
.vendorForm .btn[data-svc-add]:hover,
.vendorForm .btn[data-meas-add]:hover {
  background: rgba(18, 140, 74, 0.28);
  border-color: rgba(18, 140, 74, 0.78);
}

.vendorForm .btn[data-remove-row],
.vendorForm .btn[data-svc-remove],
.vendorForm .btn[data-meas-remove] {
  background: rgba(180, 50, 50, 0.16);
  border-color: rgba(255, 92, 92, 0.52);
}
.vendorForm .btn[data-remove-row]:hover,
.vendorForm .btn[data-svc-remove]:hover,
.vendorForm .btn[data-meas-remove]:hover {
  background: rgba(180, 50, 50, 0.26);
  border-color: rgba(255, 92, 92, 0.72);
}

.vendorForm .btn[data-clear-form],
.vendorForm .btn[data-svc-clear],
.vendorForm .btn[data-meas-clear],
.vendorForm .btn[data-machine-clear] {
  background: rgba(200, 140, 20, 0.14);
  border-color: rgba(255, 200, 120, 0.4);
}
.vendorForm .btn[data-clear-form]:hover,
.vendorForm .btn[data-svc-clear]:hover,
.vendorForm .btn[data-meas-clear]:hover,
.vendorForm .btn[data-machine-clear]:hover {
  background: rgba(200, 140, 20, 0.22);
  border-color: rgba(255, 200, 120, 0.58);
}

.vendorForm .btn.primary {
  background: rgba(0, 86, 118, 0.2);
  border-color: rgba(0, 86, 118, 0.72);
}
.vendorForm .btn.primary:hover {
  background: rgba(0, 86, 118, 0.3);
  border-color: rgba(0, 86, 118, 0.88);
}

/* File input: theme "Choose file" button */
.vendorForm input[type="file"].input {
  padding: 3px 3px;
}
.vendorForm input[type="file"].input::file-selector-button,
.vendorForm input[type="file"].input::-webkit-file-upload-button {
  margin-right: 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 12px;
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.vendorForm input[type="file"].input::file-selector-button:hover,
.vendorForm input[type="file"].input::-webkit-file-upload-button:hover {
  transform: translateY(-1px);
  background: rgba(0, 86, 118, 0.1);
  border-color: rgba(0, 86, 118, 0.55);
}
.vendorForm textarea.textarea {
  border-radius: var(--radius);
  box-sizing: border-box;
}
.vendorForm select.input {
  height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.vendorGrid,
.svcTri,
.addrGrid {
  align-items: start;
}
.vendorField {
  min-width: 0;
}

/* Row 1: prevent any bleed/overlap between columns */
.vendorGrid--4 {
  grid-template-columns:
    minmax(260px, 2fr) minmax(110px, 0.8fr) minmax(220px, 1.2fr)
    minmax(220px, 1.2fr);
}

/* Select listboxes: keep items visible and easy to select */
.svcList {
  min-height: 220px;
  height: 220px;
  padding: 6px;
  border-radius: var(--radius);
}
.svcList option {
  padding: 6px 10px;
}

/* Required marker (*) */
.reqStar {
  display: inline-block;
  margin-left: 6px;
  color: rgba(255, 64, 64, 0.98);
  font-weight: 900;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
}

/* Legacy mandatory badge (admin pages) */
.mandBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 64, 64, 0.9);
  color: #0b0d10;
  box-shadow: 0 8px 18px rgba(255, 64, 64, 0.25);
}

/* "Other – please specify" helper inputs
   Keep vertical alignment with adjacent controls inside multi-column rows.
   Only add extra top margin when the input has no label above it. */
.vendorField > .vendorOther {
  margin-top: 0;
}
.vendorField > .vendorOther:first-child {
  margin-top: 6px;
}

/* Services Offered — 3 list-box selector */
.svcTri {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 18px;
}
.svcCol {
  display: grid;
  gap: 8px;
  align-content: start;
}
.svcBtns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Capabilities selector buttons alignment
   - Add: align to right of the middle list
   - Remove/Clear: align to right of the selected list */
.svcTri > .svcCol:nth-child(2) .svcBtns {
  justify-content: space-between;
}
.svcTri > .svcCol:nth-child(3) .svcBtns {
  justify-content: flex-end;
}
@media (max-width: 880px) {
  .svcTri {
    grid-template-columns: 1fr;
  }
  .svcList {
    min-height: 160px;
  }
  .svcBtns {
    flex-wrap: wrap;
  }
}

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

@media (max-width: 640px) {
  .vendorGrid--contactPrimary {
    grid-template-columns: 1fr;
  }
}

/* Responsive vendor grids (avoid collisions on narrow layouts) */
@media (max-width: 980px) {
  .vendorGrid--4,
  .vendorGrid--3,
  .vendorGrid--2,
  .vendorGrid--machines,
  .vendorGrid--turnover,
  .vendorGrid--attach {
    grid-template-columns: 1fr;
  }
  .vendorField--year .input {
    max-width: 100%;
  }
}

/* =========================================================
   HOME (TABLET PORTRAIT) — Capabilities + Offerings
   iPad Mini/Air/Pro, Surface Pro 7, Zenbook Fold (portrait)
   - Keep layout as TWO stacked panels (Capabilities row, Offerings row)
   - Hide runway/plane
   NOTE: slideshow + card sizing handled by JS on touch devices.
   ========================================================= */
@media (min-width: 981px) and (max-width: 1100px) and (min-height: 1000px) and (orientation: portrait) and (any-pointer: coarse) {
  #capabilities_offerings.dualStrips {
    flex-direction: column;
  }
  #capabilities_offerings .dualStrips__runway {
    display: none !important;
  }

  #capabilities_offerings {
    --dual-pad-x: 0px;
  }
  #capabilities_offerings .dualStrips__panel.stripSection .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }
}

.vendorForm select,
.vendorForm option,
.vendorForm optgroup {
  background-color: rgba(12, 16, 19, 0.98);
  color: rgba(255, 255, 255, 0.92);
}

.checkGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.checkGrid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 880px) {
  .checkGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkGrid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vendorGrid--contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vendorGrid--machines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vendorGrid--attach {
    grid-template-columns: 1fr;
  }
  .vendorGrid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vendorGrid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .vendorGrid {
    grid-template-columns: 1fr;
  }
  .vendorGrid--contacts {
    grid-template-columns: 1fr;
  }
  .vendorGrid--machines {
    grid-template-columns: 1fr;
  }
  .vendorGrid--1 {
    grid-template-columns: 1fr;
  }
  .vendorGrid--2 {
    grid-template-columns: 1fr;
  }
  .vendorGrid--3 {
    grid-template-columns: 1fr;
  }
  .vendorGrid--4 {
    grid-template-columns: 1fr;
  }
  .checkGrid {
    grid-template-columns: 1fr;
  }
  .checkGrid--compact {
    grid-template-columns: 1fr;
  }
}

.checkPill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  user-select: none;
}
.checkPill input {
  accent-color: rgba(0, 148, 204, 0.95);
}
.checkPill span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.addrGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 0px;
}
@media (max-width: 640px) {
  .addrGrid {
    grid-template-columns: 1fr;
  }
}

.addrToggle {
  margin-top: 10px;
}

.checkLine {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}
.checkLine input {
  accent-color: rgba(0, 148, 204, 0.95);
}

.repeatList {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.repeatRow {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.08);
}
.repeatRow__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

/* Contacts: never show Remove on the primary (first) contact */
.repeatList[data-repeat="contacts"]
  .repeatRow:not(.isExtra)
  .repeatRow__actions {
  display: none;
}

.declList {
  display: grid;
  gap: 10px;
}

.vendorActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.vendorJson {
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(233, 242, 246, 0.92);
  overflow: auto;
  max-height: 360px;
}

.req {
  color: rgba(255, 160, 160, 0.95);
}

/* Radius controls for contact panel controls */
.overlay__panel .input,
.overlay__panel textarea,
.overlay__panel select {
  border-radius: var(--contact-control-radius, 12px);
}
.overlay__panel .btn,
.overlay__panel .iconBtn {
  border-radius: var(--contact-button-radius, 12px);
}

/* Contact topic dependent fields */
.contactField {
  display: grid;
  gap: 6px;
}
.contactField[hidden] {
  display: none !important;
}
.contactLabel {
  font-family: Rajdhani, system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 12px;
  color: rgba(233, 242, 246, 0.82);
}

/* ============================================================
   Admin (minimal)
   ============================================================ */
.adminBody {
  background: #070a0c;
}
.adminWrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.adminBox {
  width: min(var(--contact-panel-w, 520px), 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(12, 16, 19, 0.9);
}
.adminErr {
  color: #ffb4b4;
}
.adminTop {
  padding: 18px 0;
}
.adminHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.adminBtns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.adminChips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chip {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: rgba(233, 242, 246, 0.9);
}
.chip:hover {
  border-color: rgba(0, 86, 118, 0.62);
  background: rgba(0, 86, 118, 0.08);
}
.jsonArea {
  width: 100%;
  min-height: 560px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px;
  font:
    13px/1.4 ui-monospace,
    Consolas,
    monospace;
}
.pathBox {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  font:
    13px/1.4 ui-monospace,
    Consolas,
    monospace;

  user-select: all;
}

/* ============================================================
   No-motion
   ============================================================ */
/* @media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important; scroll-behavior:auto !important;}
} */
/* html.no-motion *{animation:none !important; transition:none !important;} */

/* ============================================================
   Home — Horizontal card strips (Capabilities / Offerings / Testimonials)
   ============================================================ */
.stripSection {
  /* per-strip background (set by section id) */
  --strip-bg: transparent;
  padding: 72px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--strip-bg);
}

/* Different backgrounds per strip */
#capabilities_strip.stripSection {
  --strip-bg:
    linear-gradient(180deg, rgba(20, 34, 54, 0.78), rgba(10, 14, 17, 0.92)),
    radial-gradient(
      900px 360px at 18% 0%,
      rgba(90, 140, 255, 0.14),
      rgba(0, 0, 0, 0) 62%
    );
}

#offerings_strip.stripSection {
  --strip-bg:
    linear-gradient(180deg, rgba(18, 44, 36, 0.74), rgba(10, 14, 17, 0.92)),
    radial-gradient(
      900px 360px at 18% 0%,
      rgba(96, 222, 170, 0.12),
      rgba(0, 0, 0, 0) 62%
    );
}

#testimonials_strip.stripSection {
  --strip-bg:
    linear-gradient(180deg, rgba(40, 26, 52, 0.72), rgba(10, 14, 17, 0.92)),
    radial-gradient(
      900px 360px at 18% 0%,
      rgba(196, 120, 255, 0.12),
      rgba(0, 0, 0, 0) 62%
    );
}

/* ============================================================
   Home — Capabilities + Offerings split (hover-expand panels)
   ============================================================ */
.dualStrips {
  display: flex;
  width: 100%;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  --dual-card-w: clamp(240px, 22vw, 420px);

  /* Keep the panel inner spacing CONSTANT (no vw-based growth) */
  --dual-pad-x: 20px;

  /* Hover expand tuning */
  --dual-slide-ms: 1010ms; /* width transition speed */
  --dual-slide-ease: cubic-bezier(0.45, 0.02, 0.63, 0.86);
  --dual-hover-delay: 700ms; /* ignore quick mouse fly-bys */
  --dual-head-shift: 5%; /* heading nudge on hover */
  --dual-inactive-dim: 0.9; /* dim strength of inactive side */
  --dual-inactive-overlay: rgba(
    0,
    0,
    0,
    1
  ); /* overlay color for inactive side */

  /* Runway divider */
  --runway-w: 44px; /* 40–50px */
  --runway-color: #1c1c1c;
  --runway-marking-left: rgba(3, 104, 172, 0.85);
  --runway-marking-right: rgba(31, 121, 4, 0.85);
  --runway-marking-centerline: rgba(170, 170, 170, 0.85);
  --runway-marking: rgb(156, 156, 156);
  --runway-border-left: var(--runway-marking-left);
  --runway-border-right: var(--runway-marking-right);
  --runway-centerline: var(--runway-marking-centerline);
  --runway-line-width: 1px;
  --runway-centerline-width: 2px; /* helps visibility at screen center */
  --runway-centerline-opacity: 0.95;
  --runway-centerline-glow: 0 0 6px rgba(255, 255, 255, 0.35);
  --runway-threshold-width: 2px;
  --runway-threshold-offset: 6px;
  --runway-number-offset: 20px;

  /* Plane */
  --plane-size: 50px;
  --plane-start: 40px;
  --plane-cycle: 130s;
}

/* Panels are the original strip sections */
.dualStrips__panel.stripSection {
  flex: 1 1 0;
  border-top: none; /* wrapper owns the top border */
  position: relative;
  overflow: hidden;
  transition: flex var(--dual-slide-ms) var(--dual-slide-ease);
  min-width: 96px;
}

.dualStrips__panel.stripSection .container {
  padding-left: var(--dual-pad-x);
  padding-right: var(--dual-pad-x);
}

/* Runway divider */
.dualStrips__runway {
  flex: 0 0 var(--runway-w);
  width: var(--runway-w);
  position: relative;
  overflow: visible; /* allow plane to overlap panels */
  background: var(--runway-color);
  border-left: var(--runway-line-width) solid var(--runway-border-left);
  border-right: var(--runway-line-width) solid var(--runway-border-right);
  z-index: 6;
}

.dualStrips__runway .runway {
  position: absolute;
  inset: 0;
  background: var(--runway-color);
  overflow: hidden;
}

.dualStrips__runway .threshold {
  position: absolute;
  left: 10%;
  width: 80%;
  height: 6px;
  background: repeating-linear-gradient(
    to right,
    var(--runway-marking) 0,
    var(--runway-marking) var(--runway-threshold-width),
    transparent var(--runway-threshold-width),
    transparent calc(var(--runway-threshold-width) * 2)
  );
}

.dualStrips__runway .threshold.top {
  top: var(--runway-threshold-offset);
}
.dualStrips__runway .threshold.bottom {
  bottom: var(--runway-threshold-offset);
}

.dualStrips__runway .number {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: var(--runway-marking);
  font-family:
    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
}

.dualStrips__runway .top-number {
  top: var(--runway-number-offset);
}
.dualStrips__runway .bottom-number {
  bottom: var(--runway-number-offset);
  transform: rotate(180deg);
}

.dualStrips__runway .centerline {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--runway-centerline-width, var(--runway-line-width));
  opacity: var(--runway-centerline-opacity, 1);
  box-shadow: var(--runway-centerline-glow, none);
  z-index: 1;
  pointer-events: none;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--runway-centerline) 0,
    var(--runway-centerline) 10px,
    transparent 10px,
    transparent 20px
  );
}

.dualStrips__runway .touchdown {
  position: absolute;
  width: 6px;
  height: var(--runway-line-width);
  background: var(--runway-marking);
}

.dualStrips__runway .touchdown.left {
  top: 80px;
  left: 4px;
  box-shadow:
    0 12px 0 var(--runway-marking),
    0 24px 0 var(--runway-marking);
}

.dualStrips__runway .touchdown.right {
  top: 80px;
  right: 4px;
  box-shadow:
    0 12px 0 var(--runway-marking),
    0 24px 0 var(--runway-marking);
}

.dualStrips__runway .plane {
  position: absolute;
  left: 50%;
  width: var(--plane-size);
  max-width: none; /* allow plane to exceed runway width */
  transform: translateX(-50%) rotate(0deg);
  bottom: var(--plane-start);
  animation: runwayCycle var(--plane-cycle) linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes runwayCycle {
  0% {
    bottom: var(--plane-start);
    transform: translateX(-50%) rotate(0deg);
  }
  45% {
    bottom: 85%;
    transform: translateX(-50%) rotate(0deg);
  }
  50% {
    bottom: 85%;
    transform: translateX(-50%) rotate(180deg);
  }
  95% {
    bottom: var(--plane-start);
    transform: translateX(-50%) rotate(180deg);
  }
  100% {
    bottom: var(--plane-start);
    transform: translateX(-50%) rotate(360deg);
  }
}

/* Dim overlay for inactive panel on hover */
.dualStrips__panel.stripSection::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--dual-inactive-overlay);
  opacity: 0;
  transition: opacity var(--dual-slide-ms) var(--dual-slide-ease);
  z-index: 3;
  pointer-events: none;
}

.dualStrips__panel .stripHeader {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform var(--dual-slide-ms) var(--dual-slide-ease);
}

.dualStrips__panel[data-panel="offerings"] .stripHeader {
  align-items: flex-end;
  text-align: right;
}

@media (hover: hover) and (pointer: fine) {
  /* Expand states (set by JS) */
  .dualStrips.is-cap-active #capabilities_strip.dualStrips__panel {
    flex: 12 1 0;
  }
  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel {
    flex: 1 1 0;
  }

  .dualStrips.is-off-active #offerings_strip.dualStrips__panel {
    flex: 12 1 0;
  }
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel {
    flex: 1 1 0;
  }

  /* Dim inactive */
  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel::after {
    opacity: var(--dual-inactive-dim);
  }
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel::after {
    opacity: var(--dual-inactive-dim);
  }

  /* Head nudge while shrinking (keeps titles at the extreme edges) */
  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel .stripHeader {
    transform: translateX(var(--dual-head-shift));
  }
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel .stripHeader {
    transform: translateX(calc(var(--dual-head-shift) * -1));
  }

  /* Freeze the shrinking side (no reflow/word-wrap while it collapses) */
  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel .stripHeader,
  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel .stripLead {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel .stripHeader,
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel .stripLead {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* While returning to 50/50 (mouse leaves): keep header/lead from wrapping
     so section height doesn't jump during the flex transition */
  .dualStrips.is-resetting .dualStrips__panel .stripHeader,
  .dualStrips.is-resetting .dualStrips__panel .stripLead {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Dual layout cards: two-row grid + sharper corners + slower scroll */
.dualStrips .stripMarquee {
  --strip-speed: 18s;
  padding-left: var(--dual-pad-x);
  padding-right: var(--dual-pad-x);
}

@media (max-width: 640px) {
  .dualStrips {
    --dual-pad-x: 0px;
  }
}

.dualStrips .stripMarquee__track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-columns: var(--dual-card-w);
  gap: 14px;
  width: max-content;
}

.dualStrips .stripCard {
  width: 100%;
  min-height: clamp(180px, 14vw, 260px);
  border-radius: var(--card-radius);
  aspect-ratio: 1.6/1;
}

@media (min-width: 1401px) and (max-width: 1440px) and (min-height: 851px) and (max-height: 900px) and (orientation: landscape) {
  #capabilities_offerings {
    --dual-card-w: 255px; /* change this one value for square size */
  }

  #capabilities_offerings .stripMarquee__track {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  #capabilities_offerings .stripCard {
    min-height: 255px; /* keep same as --dual-card-w */
    aspect-ratio: 1 / 1; /* makes them square */
  }
}

@media (max-width: 980px) {
  .dualStrips {
    flex-direction: column;
  }

  .dualStrips__runway {
    display: none;
  }

  .dualStrips__panel.stripSection {
    min-width: 0;
  }

  /* Because the runway element sits between panels in the DOM, target Offerings directly */
  #offerings_strip.dualStrips__panel.stripSection {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dualStrips__runway .plane {
    animation: none;
  }
}

/* =========================================================
   HOME (MOBILE) — Capabilities + Offerings
   Target: ALL mobile resolutions
   - Keep layout as TWO stacked panels (Capabilities row, Offerings row)
   - Hide runway/plane visuals on mobile
   - Keep marquee auto-scroll running (do NOT disable animation)
   - Show ONE card per view (single-row)
   - Hide subtitles/lead under headings (desktop keeps it)
   - Theme colors (restore default)
   - Remove radius on Capabilities/Offerings title bars
   - Add 7px padding around the card viewport so cards don't touch screen edges
   ========================================================= */
@media (max-width: 980px) {
  /* Stack panels and remove runway */
  #capabilities_offerings.dualStrips {
    flex-direction: column;
  }
  #capabilities_offerings .dualStrips__runway {
    display: none !important;
  }

  /* Make panels edge-to-edge (kill container padding inside these panels only) */
  #capabilities_offerings {
    --dual-pad-x: 0px;
  }
  #capabilities_offerings .dualStrips__panel.stripSection .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
  }

  /* =========================
     TITLE BAR
     - keep default theme (no debug background)
     ========================= */
  #capabilities_offerings .dualStrips__panel.stripSection .stripHeader {
    width: 100%;
    margin: 0 0 10px 0;
    padding: 12px 16px;
    border-radius: 0 !important; /* IMPORTANT: no rounding */
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  /* Offerings header is right-aligned on desktop; force left on mobile */
  #capabilities_offerings
    .dualStrips__panel[data-panel="offerings"]
    .stripHeader {
    align-items: flex-start !important;
    text-align: left !important;
  }
  /* If you previously colored the inner .h2, neutralize it so header looks clean */
  #capabilities_offerings .dualStrips__panel.stripSection .stripHeader .h2 {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Remove subtitles/lead on mobile only */
  #capabilities_offerings .dualStrips__panel.stripSection .stripLead {
    display: none !important;
  }

  /* =========================
     MARQUEE VIEWPORT
     - keep animation running
     - 7px padding so card doesn't touch edges
     ========================= */
  #capabilities_offerings .dualStrips__panel.stripSection .stripMarquee {
    overflow: hidden !important;
    padding: 7px !important; /* REQUIRED: space around card */
    margin: 0 !important;
    /* keep default --strip-speed */
  }

  /* One-row track on mobile (override desktop 2-row grid) */
  #capabilities_offerings .dualStrips__panel.stripSection .stripMarquee__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    width: max-content !important;
    animation-play-state: running !important; /* make sure it's not paused */
  }

  /* One card visible at a time (explicit width, padding accounted) */
  #capabilities_offerings {
    --mob-card-w: calc(100% - 14px); /* 7px left + 7px right */
  }
  #capabilities_offerings .dualStrips__panel.stripSection .stripCard {
    flex: 0 0 var(--mob-card-w) !important;
    width: var(--mob-card-w) !important;
    max-width: var(--mob-card-w) !important;

    /* restore default card theme (dark gradient) */
    background: linear-gradient(
      180deg,
      rgba(17, 26, 31, 0.62),
      rgba(10, 14, 17, 0.72)
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--card-radius) !important;
    aspect-ratio: auto !important;
  }
}

.stripSection .container {
  max-width: none;
  width: 100%;
  padding-left: clamp(18px, 4vw, 64px);
  padding-right: clamp(18px, 4vw, 64px);
}

.stripHeader {
  margin-bottom: 14px;
}
.stripLead {
  margin-top: 6px;
  max-width: 78ch;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.stripMarquee {
  width: 100%;
  overflow: hidden;
  padding: 8px clamp(18px, 4vw, 64px) 14px;
  scrollbar-width: none;
  /* marquee speed: seconds per card (higher = slower) */
  --strip-speed: 9s;
}
.stripMarquee::-webkit-scrollbar {
  display: none;
}

.stripMarquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  animation-name: stripMarquee;
  animation-duration: calc(var(--strip-count, 10) * var(--strip-speed, 9s));
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Pause marquee on hover (mouse/trackpad) */
@media (hover: hover) {
  .stripMarquee:hover .stripMarquee__track {
    animation-play-state: paused;
  }
}

.stripCard--clone {
  pointer-events: none;
}

/* Direction: ltr = left-to-right (reverse keyframes), rtl = right-to-left (normal) */
.stripMarquee[data-move="ltr"] .stripMarquee__track {
  animation-direction: reverse;
}
.stripMarquee[data-move="rtl"] .stripMarquee__track {
  animation-direction: normal;
}

@keyframes stripMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* No-motion: stop marquee, allow swipe/trackpad without showing a bar */
@media (prefers-reduced-motion: reduce) {
  .stripMarquee {
    overflow-x: auto;
  }
  .stripMarquee__track {
    animation: none;
  }
  .stripCard--clone {
    display: none;
  }
}
html.no-motion .stripMarquee {
  overflow-x: auto;
}
html.no-motion .stripMarquee__track {
  animation: none;
}
html.no-motion .stripCard--clone {
  display: none;
}

.stripCard {
  flex: 0 0 auto;
  width: clamp(220px, 26vw, 320px);
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    rgba(17, 26, 31, 0.62),
    rgba(10, 14, 17, 0.72)
  );
  border-radius: var(--card-radius);
  padding: 16px;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
  position: relative;
  outline: none;
}
.stripCard:focus-visible {
  box-shadow: 0 0 0 2px rgba(0, 86, 118, 0.55);
}
.stripCard::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: rgba(0, 86, 118, 0.85);
  transition: height 160ms ease;
}
.stripCard:hover::after {
  height: 3px;
}
.stripEyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.stripTitle {
  font-family: Rajdhani, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 8px;
}
.stripText {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 14px;
}

.stripEyebrow,
.stripText {
  font-family:
    Rajdhani,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
}

/* ============================================================
   Home — Social links section
   ============================================================ */
.socialSection {
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.socialCard {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    180deg,
    rgba(17, 26, 31, 0.62),
    rgba(10, 14, 17, 0.72)
  );
  border-radius: var(--card-radius);
  padding: 22px;
}

#connect > .container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: clamp(18px, 4vw, 64px);
  padding-right: clamp(18px, 4vw, 64px);
}
#connect .socialCard {
  width: 100%;
  border-radius: 0;
}

.socialLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.socialPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.socialPill:hover {
  border-color: rgba(0, 86, 118, 0.55);
  color: #fff;
}

.socialIcons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--social-icon-gap, 10px);
  margin-top: 14px;
}
.socialIcon {
  width: calc(var(--social-icon-size, 22px) + 18px);
  height: calc(var(--social-icon-size, 22px) + 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
}
.socialIcon svg {
  width: var(--social-icon-size, 22px);
  height: var(--social-icon-size, 22px);
  display: block;
  fill: currentColor;
}
.socialIcon:hover {
  border-color: rgba(0, 86, 118, 0.55);
  color: #fff;
}

@media (min-width: 980px) {
  .scrollySplit__blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0px;
  }
}

@media (min-width: 1500px) and (min-height: 800px) {
  .scrollySplit__block {
    aspect-ratio: 1 / 1;
  }
}

/* Capabilities: section headings in left list */
.svcList option.svcHeading {
  font-style: italic;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

/* Inline file input row (Choose File + Clear/Remove) */
.fileRow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fileRow input[type="file"] {
  flex: 1;
  min-width: 220px;
}
.fileRow .btn {
  padding: 10px 14px;
  line-height: 1;
}

.vendorLabel.isDisabled {
  color: rgba(255, 255, 255, 0.35);
}

/* Keep selection highlight visible per list */
.svcList option:checked {
  background: rgba(6, 187, 255, 0.25);
  color: #fff;
}

/* Standards & Compliance proof uploads */
.certProofList {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}
.certProofRow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  background: rgba(0, 0, 0, 0.16);
}
.certProofName {
  min-width: 140px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.certProofRow .fileRow {
  flex: 1;
}
.certProofRow .btn {
  padding: 10px 14px;
}

.fileName {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

/* Supplier Registration notices */
.supplierNotice {
  color: rgb(255 108 0);
  font-size: 15px;
  margin-top: 6px;
}
.supplierInviteError {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 90, 90, 0.35);
  background: rgba(255, 90, 90, 0.12);
  color: rgba(255, 90, 90, 0.95);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

/* ------------------------------------------------------------
   Supplier Registration: Sticky header row (no global navbar)
------------------------------------------------------------ */
.supplierBanner {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  transition:
    height 180ms ease,
    padding 180ms ease;
}
.supplierBanner.isCompact {
  height: auto;
  padding: 10px 14px;
  box-shadow:
    0 1px 0 rgb(10 0 0 / 85%) inset,
    0 18px 34px -18px rgb(4 97 79);
}

bright,
soft,
gradiently transparent shadow .supplierBanner.isCompact::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -14px;
  height: 28px;
  z-index: -1;
  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.22) 35%,
    rgba(255, 255, 255, 0) 75%
  );

  filter: blur(10px);
}

.supplierBanner__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  margin-left: auto;
}
.supplierLogoMark {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.supplierBanner.isCompact .supplierLogoMark {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  font-size: 20px;
}

.supplierLogoName {
  font-family: Rajdhani, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.1;
}
.supplierLogoTag {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.7;
}
.supplierBanner.isCompact .supplierLogoTag {
  display: none;
}

.supplierBanner__left {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.supplierBanner__title {
  font-family: Rajdhani, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: -10px;
}
.supplierBanner.isCompact .supplierBanner__title {
  font-size: 30px;
}

.supplierBanner__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

/* Match the supplier form button radius inside the sticky header */
.supplierBanner .btn {
  border-radius: var(--radius);
  background: #05080b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 10px 14px;
}
.supplierBanner .btn:hover {
  background: #0a0f15;
}
.supplierBanner__dev {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.85;
}

@media (max-width: 780px) {
  .supplierBanner {
    height: auto;
    border-radius: 14px;
  }
  .supplierBanner__left {
    align-items: flex-start;
    text-align: left;
  }
}

/* Toast popup feedback */
.supplierToast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(760px, calc(100vw - 26px));
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.88);
  color: #fff;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.55);
  font-weight: 700;
  text-align: center;
}

/* Success / Error feedback colors */
.supplierToast.isSuccess {
  background: rgba(0, 90, 35, 0.92);
  border-color: rgba(110, 255, 170, 0.55);
  font-size: 18px;
}
.supplierToast.isError,
.supplierToast.isAttention {
  background: rgba(120, 0, 0, 0.92);
  border-color: rgba(255, 90, 90, 0.6);
  font-size: 18px;
}

/* Declaration + Signature split layout */
.declSigGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}

/* Limit signature column width so it doesn't stretch on wide screens */
.declSigCol--sig {
  max-width: 450px; /* HANDLE */
  width: 100%;
  justify-self: end;
}

/* Keep Declaration checkboxes aligned with the Signature preview column */
.declSigSpacer {
  visibility: hidden;
}
.declSigCol--decl .declList {
  margin-top: 0;
}
@media (max-width: 880px) {
  .declSigGrid {
    grid-template-columns: 1fr;
  }
  /* When stacked, keep signature block left-aligned under declaration */
  .declSigCol--sig {
    justify-self: start;
  }
}

.sigUploadLine {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 450px; /* HANDLE */
}
.sigUploadLine input[type="file"] {
  flex: 1 1 260px;
}

.sigPreview {
  margin-top: 10px;
  height: 150px;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(235, 235, 235, 0.9);
  background-size: 19px 19px;
}

/* Contacts: the first (primary) contact must not be removable */
[data-repeat="contacts"] [data-row]:not(.isExtra) [data-remove-row] {
  display: none !important;
}
.sigPreview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.vendorActions [data-supplier-status].isAttention {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255, 90, 90, 0.95) !important;
}

/* shared badge styling */
.excellent,
.good,
.acceptable,
.poor,
.veryPoor {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.95);
  /* border: 2px solid #0e1215 !important; */
  border-radius: var(--radius);
}

/* colors */
.excellent {
  background-color: #19d400;
}
.good {
  background-color: #afec75;
}
.acceptable {
  background-color: #fcff48;
}
.poor {
  background-color: #ffa600;
}
.veryPoor {
  background-color: #ff5353;
}

/* =========================
   Scale / Grade (Visual)
   ========================= */

.scaleGradeTitle {
  /* background-color: white; */
  padding: 20px;
  margin-top: 20px;
}

.scaleTable {
  /* Adjust these widths as needed */
  --scale-col-range: auto;
  --scale-col-score: auto;
  --scale-col-grade: auto;

  table-layout: fixed;
  min-width: 720px;
  background-color: rgb(32, 32, 32);
}
.scaleTable col.col-range {
  width: var(--scale-col-range);
}
.scaleTable col.col-score {
  width: var(--scale-col-score);
}
.scaleTable col.col-grade {
  width: var(--scale-col-grade);
}

.scaleTable th:last-child,
.scaleTable td:last-child {
  text-align: center;
}

.scaleBadge {
  display: block;
  width: 100%;
  max-width: 150px;
  padding: 5px 5px;
  box-sizing: border-box;
}

.scaleGrade {
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.06em;
}

/* =========================
   Supplier Evaluation Form
   ========================= */
:root {
  --eval-slider-width: 420px;
}

.evalStatusBox {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 16px;
}

.evalStatusRow {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 2px solid #0e1215;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.95);
  max-width: 280px;
  text-align: center;
}

.evalStatusRow.isApproved {
  background-color: #19d400;
}
.evalStatusRow.isRejected {
  background-color: #ff5353;
}

.evalCriteriaWrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  /* border: 1px solid rgb(94, 58, 58); */
}

.evalCriteriaHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
}

.evalCriteriaItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.evalCriteriaText {
  flex: 1 1 auto;
  min-width: 260px;
}

.evalCriteriaLabel {
  font-weight: 800;
  font-size: 16px;
}

.evalCriteriaDesc {
  margin-top: 6px;
  max-width: 780px;
}

.evalCriteriaControls {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.evalCriteriaItem input[type="range"].evalSlider {
  width: var(--eval-slider-width);
  max-width: 100%;
}

.evalCriteriaValue {
  min-width: 44px;
  text-align: right;
  font-weight: 700;
}

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

.evalDocAttachRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.evalDocAttachRow .evalDocInput {
  width: 180px;
  /* max-width: 100%; */
}

.evalDocAttachRow .evalAttachWrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.evalQExtra textarea {
  width: 100%;
  min-height: 74px;
}

.evalLockedGroup {
  opacity: 0.55;
}

.evalDate input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.9;
}

.evalAckGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.vendorAlert {
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
}
.vendorAlert.ok {
  background: rgba(25, 212, 0, 0.16);
  border-color: rgba(25, 212, 0, 0.45);
  color: rgba(255, 255, 255, 0.92);
}
.vendorAlert.bad {
  background: rgba(255, 83, 83, 0.18);
  border-color: rgba(255, 83, 83, 0.48);
  color: rgba(255, 255, 255, 0.92);
}
.vendorAlert.warn {
  background: rgba(255, 196, 0, 0.14);
  border-color: rgba(255, 196, 0, 0.35);
  color: rgba(255, 255, 255, 0.92);
}

.ynChoice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  white-space: nowrap;
}

/* =============================
   Supplier Evaluation - Layout
   ============================= */

.evalWrap {
  max-width: 1120px;
  margin: 0 auto;
}

.evalTable {
  width: 100%;
  border-collapse: collapse;
}
.evalTable th,
.evalTable td {
  padding: 12px 12px;
  vertical-align: top;
}
.evalTable thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.evalTable tbody td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.evalTable tbody tr:last-child td {
  border-bottom: 0;
}

.evalTable .vendorSectionRow td {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.evalTable .vendorSectionRow td {
  padding: 14px 12px;
}

.quesWidth {
  width: 55%;
}

.vendorSectionRow {
  background-color: rgb(30, 61, 54);
}
.evalTable th:nth-child(1),
.evalTable td:nth-child(1) {
  width: 70px;
}
.evalTable th:nth-child(3),
.evalTable td:nth-child(3) {
  width: 140px;
}
.evalTable th:nth-child(4),
.evalTable td:nth-child(4) {
  width: 520px;
}

.evalYNNA {
  display: flex;
  flex-wrap: wrap;
  gap: 1px 1px;
  align-items: center;
}
.ynChoice input {
  accent-color: var(--accent);
}

.evalDocAttach {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.evalDocAttachRow {
  display: flex;
  gap: 3px;
  align-items: center;
}
.evalDocAttachRow .evalDocInput {
  flex: 1 1 auto;
  min-width: 40%;
}
.evalDocAttachRow .evalAttachInput {
  flex: 1 1 49%;
  /* min-width: 220px; */
  min-width: 49%;
}
.evalComment {
  min-height: 60px;
  resize: vertical;
  width: 100%;
}

/* Make file inputs match theme (avoid white/black browser default) */
.evalAttachInput {
  border-radius: var(--card-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.85);
  padding: 2px 2px;
}
.evalAttachInput::file-selector-button {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 10px;
  border-radius: var(--card-radius);
  margin-right: 10px;
  cursor: pointer;
}
.evalAttachInput::file-selector-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Vendor tables used inside evaluation */
.vendorTableWrap {
  overflow: auto;
  /* border: 1px solid rgb(255, 255, 255); */
  border-radius: var(--card-radius);
}

.vendorCard .vendorTitle {
  font-family: Rajdhani, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 34px;
  font-weight: 900;
  /* letter-spacing: -0.02em; */
  line-height: 1;
  margin-bottom: 10px;
}

.vendorSubtxt {
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 25px;
}

.vendorTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  border-radius: 10px;
}

.vendorTable th,
.vendorTable td {
  padding: 12px 12px;
  vertical-align: top;
}
.vendorTable thead th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(7, 10, 12, 0.938);
}
.vendorTable tbody td {
  border: 1px solid rgba(131, 131, 131, 0.527);

  /* border-top: 1px solid rgba(8, 150, 245, 0.938); */
}
/* .vendorTable tbody tr:last-child td {
  border-bottom: 10px solid rgb(0, 179, 134);
} */

/* .vendorTable tbody tr:first-child td {
  border-top: 10px solid rgb(0, 179, 134);
  border-radius: 3px;
} */

/* Criteria rows look like form fields */
.evalCriteriaItem {
  padding: 12px 12px;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  border: 1px solid rgba(255, 255, 255, 0.342);
  border-radius: var(--card-radius);
  background: rgba(0, 0, 0, 0.18);
}

@media (max-width: 980px) {
  .evalTable th:nth-child(4),
  .evalTable td:nth-child(4) {
    width: auto;
  }
  .evalDocAttachRow {
    flex-direction: column;
    align-items: stretch;
  }
  .evalDocAttachRow .evalDocInput {
    flex: 1 1 auto;
    min-width: 100%;
    /* height: 23px; */
  }
  .evalDocAttachRow .evalAttachInput {
    flex: 1 1 auto;
    /* min-width: auto; */

    /* min-width: 0; */
    font-size: 12px;
  }
}

/* ============================================================
   Supplier Evaluation – Tuning Handles

   Everything below is ONLY for the evaluation form.
   Use these classes/variables to fine-tune layout/size/colors
   without affecting the Supplier Registration form.

   1) Supplier summary “number plate”
      - .evalSupplierPlate (container)

   2) Scale / Grade (Visual)
      - .evalScaleGradeCard (wrapper)
      - .evalScaleGradeTable (table)

   3) Supplier Grading Criteria sliders
      - .evalCriteriaCard (wrapper)
      - CSS variables:
          --eval-slider-width
          --eval-slider-cell-width
          --eval-slider-track-height
          --eval-slider-thumb-size
   ============================================================ */

/* 1) Supplier summary “number plate” */
.evalSupplierPlate {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.evalSupplierPlate .plateGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 16px;
}

.evalSupplierPlate .plateField {
  min-width: 0;
}

.evalSupplierPlate .plateField.plateFull {
  grid-column: 1 / -1;
}

.evalSupplierPlate .plateLabel {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.evalSupplierPlate .plateValue {
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.evalSupplierPlate .plateValue.multiline {
  white-space: normal;
}

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

@media (max-width: 620px) {
  .evalSupplierPlate .plateGrid {
    grid-template-columns: 1fr;
  }
}

/* 2) Scale / Grade (Visual) */
.evalScaleGradeCard {
  /* Reduce total width of ONLY this section */
  max-width: 760px;
  margin: 0 auto;
  /* padding-top: 5px; */
  /* padding-bottom: 10px; */
}

.evalScaleGradeCard th {
  padding-bottom: 100px;
}

.evalScaleGradeCard .evalScaleGradeTable {
  font-size: 15px;
  text-align: center;
}

.evalScaleGradeCard .evalScaleGradeTable th {
  padding: 10px;
  background-color: rgb(39, 25, 25);
  /* vertical-align: middle; */
}

.evalScaleGradeCard .evalScaleGradeTable td {
  padding: 2px;
  vertical-align: middle;
}

.evalScaleGradeCard .evalScaleGradeTable td:nth-child(2) .vendorPill {
  width: 140px;
}

/* 3) Supplier Grading Criteria – slider sizing */
.evalCriteriaCard {
  /* Main tuning knobs */
  /* --eval-slider-width: 360px;
  --eval-slider-cell-width: 420px;
  --eval-slider-track-height: 6px;
  --eval-slider-thumb-size: 18px; */
  --eval-slider-width: 200px;
  --eval-slider-cell-width: 240px;
  --eval-slider-track-height: 8px;
  --eval-slider-thumb-size: 25px;
}

.evalCriteriaCard .evalCriteriaControls {
  width: var(--eval-slider-cell-width);
  justify-items: end;
}

.evalCriteriaCard .evalSlider {
  width: var(--eval-slider-width);
}

.evalCriteriaCard .evalSlider::-webkit-slider-runnable-track {
  height: var(--eval-slider-track-height);
}

.evalCriteriaCard .evalSlider::-webkit-slider-thumb {
  width: var(--eval-slider-thumb-size);
  height: var(--eval-slider-thumb-size);
  /* margin-top: calc(
    (var(--eval-slider-track-height) - var(--eval-slider-thumb-size)) / 2
  ); */
  margin-top: calc((var(--eval-slider-track-height) / 2) * -1);
}

.evalCriteriaCard .evalSlider::-moz-range-track {
  height: var(--eval-slider-track-height);
}

.evalCriteriaCard .evalSlider::-moz-range-thumb {
  width: var(--eval-slider-thumb-size);
  height: var(--eval-slider-thumb-size);
}

/* =======================================================================
   SCROLLY SPLIT — DIAGONAL TWO‑TONE (CLEAN)
   Pattern (2‑col grid): 2,3,6,7 = Tone B; remaining = Tone A
   - Flat dark theme, low color complexity
   - Eyebrow: same background for all (uses --tone), text matches tile bg
   ======================================================================= */

.scrollySplit__blocks {
  gap: 0px;
}

/* Default = Tone A (1,4,5,8,...) */
.scrollySplit__block {
  /* --tile-bg: rgb(6 148 241 / 62%); /* deep blue-black */
  /*--tile-title-bg: rgb(0 146 200 / 34%); /* brand-teal bar (flat) */
  border-radius: 7px;
  border: 1px solid black;
  background: var(--txt-block-one) !important;
}

/* Tone B (2,3,6,7) */
.scrollySplit__block:is(
  :nth-child(2),
  :nth-child(3),
  :nth-child(6),
  :nth-child(7)
) {
  background: var(--txt-block-ano) !important;
}

/* Title bar (flat, full-width inside the tile) */
.scrollySplit__blockTitle {
  display: block !important;
  background: var(--tile-title-bg) !important;
  padding: 10px 14px !important;
  margin: -22px -22px 10px -22px !important; /* matches tile padding (22px) */
  color: rgba(233, 242, 246, 0.92) !important;
}

/* Eyebrow: same bg for all; text color matches tile bg */
.scrollySplit__eyebrow {
  display: inline-block !important;
  background: rgb(77 77 77 / 99%) !important; /* already defined in :root */
  color: var(--tile-bg) !important;
  padding: 6px 10px !important;
  font-weight: 900 !important;
  margin-bottom: -10px !important;
  border-top-right-radius: 6px !important;
  border-top-left-radius: 6px !important;
  z-index: 1 !important;
}

/* Keep the rest readable */
.scrollySplit__blockText {
  color: rgba(233, 242, 246, 0.78) !important;
}

/* Optional: subtle active border (no extra lines) */
.scrollySplit__block.is-active {
  border-color: rgba(0, 86, 118, 0.42) !important;
}

/* =======================================================================
   SCROLLY SPLIT — FIXES (eyebrow + diagonal title bars)
   - Eyebrow pill no longer hides under title bar
   - Eyebrow pill radius: 6px
   - Title bars: diagonal two-tone (2,3,6,7 same)
   ======================================================================= */

/* Eyebrow pill (orange) */
.scrollySplit__eyebrow {
  display: inline-block !important;
  background: rgba(31, 31, 31, 0.99) !important; /* already defined in :root */
  color: var(--tile-bg) !important;
  padding: 6px 10px !important;
  font-weight: 900 !important;
  margin-bottom: -10px !important;
  border-top-right-radius: 6px !important;
  border-top-left-radius: 6px !important;
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  z-index: 1 !important;
  /* border: 1px solid rgb(0, 0, 0); */
}

/* Title bar should NOT overlap upward */
.scrollySplit__blockTitle {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  padding: 10px 14px !important;
  margin: 0 -22px 10px -22px !important; /* full-width bar, no overlap */
  color: rgba(0, 0, 0) !important;
}

/* Title bar diagonal colors (Tone A default, Tone B = 2,3,6,7) */
.scrollySplit__block .scrollySplit__blockTitle {
  background: rgba(255, 255, 255, 0.4) !important; /* Tone A */
}
.scrollySplit__block:is(
    :nth-child(2),
    :nth-child(3),
    :nth-child(6),
    :nth-child(7)
  )
  .scrollySplit__blockTitle {
  background: rgba(255, 255, 255, 0.5) !important; /* Tone B */
}

/* Eyebrow TEXT color matches tile base (diagonal) */
.scrollySplit__block .scrollySplit__eyebrow {
  color: #a5a5a5 !important;
  background-color: rgb(0, 0, 0) !important;
}
.scrollySplit__block:is(
    :nth-child(2),
    :nth-child(3),
    :nth-child(6),
    :nth-child(7)
  )
  .scrollySplit__eyebrow {
  color: #aab1b4 !important;
}

/* ===== subtle “alive” beat (flat, non-annoying) ===== */
@keyframes scrollyBeat {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.08;
    transform: scale(1.004);
  }
}


/* run once when page loads */
.scrollySplit__block {
  animation: scrollyFadeIn 700ms ease 0s 1 both;
}

/* optional: small stagger so they don’t all pop at same time */
.scrollySplit__block:nth-child(1) {
  animation-delay: 0ms;
}
.scrollySplit__block:nth-child(2) {
  animation-delay: 60ms;
}
.scrollySplit__block:nth-child(3) {
  animation-delay: 120ms;
}
.scrollySplit__block:nth-child(4) {
  animation-delay: 180ms;
}
.scrollySplit__block:nth-child(5) {
  animation-delay: 240ms;
}
.scrollySplit__block:nth-child(6) {
  animation-delay: 300ms;
}
.scrollySplit__block:nth-child(7) {
  animation-delay: 360ms;
}
.scrollySplit__block:nth-child(8) {
  animation-delay: 420ms;
}

/* =======================================================================
   SCROLLY SPLIT — SCROLL-IN FADE + VERY LIGHT GLITCH (ONE-TIME)
   Triggered by JS adding .is-inview to .scrollySplit__block as you scroll.
   ======================================================================= */

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

/* very light, quick jitter (trained eyes only) */
@keyframes scrollyGlitchLite {
  0% {
    transform: translateY(0);
  }
  15% {
    transform: translate(-0.6px, 0.4px);
  }
  30% {
    transform: translate(0.5px, -0.3px);
  }
  45% {
    transform: translate(-0.4px, -0.5px);
  }
  60% {
    transform: translate(0.4px, 0.3px);
  }
  75% {
    transform: translate(-0.3px, 0.4px);
  }
  100% {
    transform: translateY(0);
  }
}

.scrollySplit__block.is-inview {
  animation:
    scrollyFadeIn 700ms ease-out 0s 1 both,
    scrollyGlitchLite 220ms steps(2, end) 880ms 1 both;
}

@media (prefers-reduced-motion: reduce) {
  .scrollySplit__block.is-inview {
    animation: none !important;
  }
}

/* ============================================================
   INNER PAGES — Offset media + text blocks (diagonal overlap)
   Used by partials/section_offset_media_text.php + section_text_band.php
   Scoped to non-home pages so landing page stays independent.
   ============================================================ */

html:not(.home) .editorialSection {
  position: relative;
  padding: clamp(34px, 6vw, 74px) 0;

  /* Handles (per-section overrides come from JSON via inline CSS vars) */
  --media-h: var(--media-h-set, clamp(280px, 40vw, 460px));
  --media-r: var(--media-r-set, var(--card-radius));

  --card-w: var(--card-w-set, 560px);
  --card-pad: var(--card-pad-set, clamp(18px, 2.2vw, 28px));
  --card-r: var(--card-r-set, var(--card-radius));

  /* Inner pages: default corner radius for image + text blocks */
  --media-r-set: 7px;
  --card-r-set: 7px;
  --card-x: 0px;
  --card-y: 0px;

  /* Positive number: how much the card overlaps upward onto the image */
  --card-overlap: var(--card-overlap-set, clamp(110px, 12vw, 170px));

  --card-blur: var(--card-blur-set, 14px);
  --stack-overlap: var(--stack-overlap-set, -18px);
}

/* Default diagonal nudge (fine-tune per section with card_offset_x/y) */
html:not(.home) .editorialSection--image-left {
  --card-x: var(--card-x-set, -12px);
  --card-y: calc(var(--card-y-set, 0px) - var(--card-overlap));
}
html:not(.home) .editorialSection--image-right {
  --card-x: var(--card-x-set, 12px);
  --card-y: calc(var(--card-y-set, 0px) - var(--card-overlap));
}

html:not(.home) .editorialSection__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 0;
}

html:not(.home) .editorialSection--image-left .editorialSection__mediaWrap {
  grid-column: 1 / span 8;
}
html:not(.home) .editorialSection--image-left .editorialSection__cardWrap {
  grid-column: 7 / -1;
  align-self: end;
  margin-top: 0;
}

html:not(.home) .editorialSection--image-right .editorialSection__mediaWrap {
  grid-column: 5 / -1;
}
html:not(.home) .editorialSection--image-right .editorialSection__cardWrap {
  grid-column: 1 / span 6;
  align-self: end;
  margin-top: 0;
}

html:not(.home) .editorialSection__mediaWrap,
html:not(.home) .editorialSection__cardWrap {
  position: relative;
  z-index: 1;
}
html:not(.home) .editorialSection__cardWrap {
  z-index: 2;
  transform: translate(var(--card-x), var(--card-y));
}

html:not(.home) .editorialSection__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: var(--media-h);
  border-radius: var(--media-r);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.01)
    ),
    rgba(10, 15, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32);
}
html:not(.home) .editorialSection__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  filter: contrast(1.06) saturate(0.92);
}
html:not(.home) .editorialSection__mediaPh {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      800px 380px at 30% 20%,
      rgba(0, 86, 118, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(17, 26, 31, 0.62), rgba(10, 14, 17, 0.82));
}

/* Text card (overlapping) */
html:not(.home) .editorialCard {
  width: min(100%, var(--card-w));
  padding: var(--card-pad);
  border-radius: var(--card-r);
  color: rgba(255, 255, 255, 0.94);
  background: var(
    --card-bg-set,
    linear-gradient(180deg, rgba(0, 87, 118, 0.411), rgba(0, 60, 82, 0.92))
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(var(--card-blur));
  -webkit-backdrop-filter: blur(var(--card-blur));
}
html:not(.home) .editorialCard--dark {
  background: var(
    --card-bg-set,
    linear-gradient(180deg, rgba(17, 26, 31, 0.86), rgba(10, 14, 17, 0.92))
  );
  border-color: rgba(255, 255, 255, 0.1);
}
html:not(.home) .editorialCard--light {
  background: var(
    --card-bg-set,
    linear-gradient(
      180deg,
      rgba(225, 233, 239, 0.96),
      rgba(210, 220, 228, 0.96)
    )
  );
  color: #182028;
  border-color: rgba(255, 255, 255, 0.42);
}
html:not(.home) .editorialCard__eyebrow {
  margin: 0 0 10px;
  font-family: Rajdhani, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.86;
}
html:not(.home) .editorialCard__title {
  margin: 0;
  font-family:
    Rajdhani, system-ui, sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  line-height: 1.03;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
html:not(.home) .editorialCard__text {
  margin-top: 14px;
  font-size: clamp(14px, 1.22vw, 17px);
  line-height: 1.72;
}

/* Wide text band section */
html:not(.home) .editorialBand {
  padding: clamp(6px, 1.4vw, 12px) 0 clamp(28px, 4vw, 50px);
}
html:not(.home) .editorialBand__inner {
  display: flex;
  justify-content: center;
}
html:not(.home) .editorialBand__card {
  width: min(100%, 980px);
  padding: clamp(16px, 2vw, 26px) clamp(18px, 2.8vw, 32px);
  border-radius: var(--card-radius);
  background: linear-gradient(
    180deg,
    rgba(225, 233, 239, 0.96),
    rgba(210, 220, 228, 0.96)
  );
  color: #1b2430;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}
html:not(.home) .editorialBand__card--dark {
  background: linear-gradient(
    180deg,
    rgba(17, 26, 31, 0.86),
    rgba(10, 14, 17, 0.92)
  );
  color: rgba(233, 242, 246, 0.9);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}
html:not(.home) .editorialBand__title {
  margin: 0 0 10px;
  font-family:
    Rajdhani, system-ui, sans-serif;
  font-size: clamp(20px, 2.3vw, 34px);
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
html:not(.home) .editorialBand__text {
  font-size: clamp(15px, 1.18vw, 17px);
  line-height: 1.72;
}

@media (max-width: 980px) {
  html:not(.home) .editorialSection__inner {
    gap: 0;
  }
  html:not(.home) .editorialSection--image-left .editorialSection__mediaWrap,
  html:not(.home) .editorialSection--image-right .editorialSection__mediaWrap {
    grid-column: 1 / -1;
  }
  html:not(.home) .editorialSection--image-left .editorialSection__cardWrap,
  html:not(.home) .editorialSection--image-right .editorialSection__cardWrap {
    grid-column: 1 / -1;
    margin-top: var(--stack-overlap);
    padding-left: 18px;
    padding-right: 18px;
    transform: none;
  }
  html:not(.home) .editorialCard {
    width: 100%;
  }
}

@media (max-width: 520px) {
  html:not(.home) .editorialSection--image-left .editorialSection__cardWrap,
  html:not(.home) .editorialSection--image-right .editorialSection__cardWrap {
    margin-top: var(--stack-overlap);
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* =========================================================
   MOBILE (<=980px) — Capabilities/Offerings slideshow mode
   Requirements (mobile only):
   - Disable marquee auto-scroll (CSS keyframes)
   - JS drives a 1-card-at-a-time slideshow (auto)
   - Capabilities slides towards RIGHT, Offerings slides towards LEFT
   - Theme colors (restore default)
   - Title bars: square (no radius) + edge-to-edge
   - 7px padding around card viewport so cards never touch edges
   ========================================================= */
@media (max-width: 980px) {
  /* Pull Capabilities / Offerings headers upward on phones/tablets */
  #capabilities_strip.stripSection,
  #offerings_strip.stripSection {
    padding-top: 4px !important;
    padding-bottom: 0 !important;
  }

  /* Make title bars edge-to-edge for these 2 sections only */
  #capabilities_strip .container,
  #offerings_strip .container {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* TITLE BAR (theme) */
  #capabilities_strip .stripHeader,
  #offerings_strip .stripHeader {
    width: 100% !important;
    margin: 0 0 7px 0 !important;
    padding: 10px 16px 8px !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  /* Hide lead/subtitle on mobile (if present) */
  #capabilities_strip .stripLead,
  #offerings_strip .stripLead {
    display: none !important;
  }

  /* Card viewport: padded 7px, one card visible at a time */
  #capabilities_strip .stripMarquee,
  #offerings_strip .stripMarquee {
    overflow: hidden !important;
    padding: 7px !important; /* REQUIRED */
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  /* Disable CSS marquee animation on mobile (JS slideshow will control transform) */
  #capabilities_strip .stripMarquee__track,
  #offerings_strip .stripMarquee__track {
    animation: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    width: max-content !important;
    will-change: transform;
    transition: transform var(--mobSlideMs, 520ms) ease;
  }

  /* 1 card = viewport width minus padding (7+7) */
  #capabilities_strip,
  #offerings_strip {
    --mob-card-w: calc(100% - 14px);
  }
  #capabilities_strip .stripCard,
  #offerings_strip .stripCard {
    flex: 0 0 var(--mob-card-w) !important;
    width: var(--mob-card-w) !important;
    max-width: var(--mob-card-w) !important;

    background: linear-gradient(
      180deg,
      rgba(17, 26, 31, 0.62),
      rgba(10, 14, 17, 0.72)
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--card-radius) !important;
    overflow: hidden !important;
    aspect-ratio: auto !important;
  }
}

/* =========================================================
   FINAL OVERRIDE GUARD (MOBILE) — Cap/Off Slideshow
   Purpose: ensure mobile layout + debug colors cannot be overridden
   ========================================================= */
@media (max-width: 980px) {
  /* Guard: keep header spacing rules, but do not override theme colors */
  html.home body #capabilities_offerings #capabilities_strip .stripHeader,
  html.home body #capabilities_offerings #offerings_strip .stripHeader {
    background: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    height: 40px;
  }

  /* Force 1-row flex track (kills the 2-row grid on dualStrips) */
  html.home
    body
    #capabilities_offerings
    #capabilities_strip
    .stripMarquee__track,
  html.home body #capabilities_offerings #offerings_strip .stripMarquee__track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    grid-auto-flow: initial !important;
    grid-template-rows: none !important;
    grid-auto-columns: initial !important;
    animation: none !important;
  }

  /* Keep clones visible so JS can loop even if html.no-motion is active */
  html.no-motion
    body
    #capabilities_offerings
    #capabilities_strip
    .stripCard--clone,
  html.no-motion
    body
    #capabilities_offerings
    #offerings_strip
    .stripCard--clone {
    display: block !important;
  }

  /* Never let hover-pause freeze our slideshow while testing in devtools */
  html.home
    body
    #capabilities_offerings
    #capabilities_strip
    .stripMarquee:hover
    .stripMarquee__track,
  html.home
    body
    #capabilities_offerings
    #offerings_strip
    .stripMarquee:hover
    .stripMarquee__track {
    animation-play-state: running !important;
  }

  /* Card guard: keep padding/overflow stable (no debug colors) */
  html.home body #capabilities_offerings #capabilities_strip .stripMarquee,
  html.home body #capabilities_offerings #offerings_strip .stripMarquee {
    padding: 7px !important;
    overflow: hidden !important;
  }

  html.home body #capabilities_offerings #capabilities_strip .stripCard,
  html.home body #capabilities_offerings #offerings_strip .stripCard {
    background: linear-gradient(
      180deg,
      rgba(17, 26, 31, 0.62),
      rgba(10, 14, 17, 0.72)
    ) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--card-radius) !important;
    overflow: hidden !important;
  }
}

/* =========================================================
   Capabilities/Offerings — Mobile landscape: side-by-side alignment fix
   Issue: Offerings was 1px lower due to stacked-mode border-top.
   Fix: remove border-top + ensure equal stretching.
   ========================================================= */
@media (max-width: 980px) and (orientation: landscape) and (max-height: 600px) {
  /* Ensure side-by-side grid (if already set elsewhere, this just reinforces) */
  #capabilities_offerings.dualStrips {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr !important;
    gap: 0 !important;
    align-items: stretch !important;
  }

  #capabilities_strip.dualStrips__panel.stripSection,
  #offerings_strip.dualStrips__panel.stripSection {
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding-top: 0 !important;
  }

  /* This border-top comes from stacked mobile mode; it causes the 1px misalignment */
  #offerings_strip.dualStrips__panel.stripSection {
    border-top: 0 !important;
  }

  /* Prevent any header margin differences from shifting content */
  #capabilities_strip .stripHeader,
  #offerings_strip .stripHeader {
    margin-top: 0 !important;
  }
}

/* =========================================================
   HOME — Capabilities + Solutions cleanup
   - rename/display alignment handled in home.json
   - dormant side clips cleanly without title reshaping
   - fixed 2-row desktop grid with real row gap (no overlap)
   - larger readable card copy, no 01/02/03 markers
   ========================================================= */
#capabilities_offerings {
  --dual-card-w: clamp(304px, 20.6vw, 368px);
  --dual-card-h: clamp(246px, 25.6vh, 324px);
  --dual-row-gap: 7px;
  --dual-col-gap: 14px;
  --dual-header-w: clamp(300px, 29vw, 520px);
}

#capabilities_offerings .dualStrips__panel.stripSection {
  min-width: 120px;
}

#capabilities_offerings .dualStrips__panel.stripSection .container {
  position: relative;
  z-index: 4;
  transition:
    opacity 180ms ease,
    visibility 0s linear 0s;
}

#capabilities_offerings .dualStrips__panel .stripHeader {
  width: var(--dual-header-w);
  max-width: none;
  flex: 0 0 auto;
  transform: none !important;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#capabilities_offerings
  .dualStrips__panel[data-panel="offerings"]
  .stripHeader {
  margin-left: auto;
}

#capabilities_offerings .stripEyebrow {
  display: none !important;
}

#capabilities_offerings .stripMarquee {
  padding-top: 0;
  padding-bottom: 0;
}

#capabilities_offerings .stripMarquee__track {
  grid-template-rows: repeat(2, var(--dual-card-h));
  grid-auto-columns: var(--dual-card-w);
  row-gap: var(--dual-row-gap);
  column-gap: var(--dual-col-gap);
  align-content: start;
}

#capabilities_offerings .stripCard {
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}

#capabilities_offerings .stripTitle {
  font-family: Rajdhani, system-ui, sans-serif;
  font-size: clamp(18px, 1.2vw, 25px);
  line-height: 1.16;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 10px;
}

#capabilities_offerings .stripText {
  font-size: clamp(14.5px, 0.92vw, 17px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.84);
}

@media (hover: hover) and (pointer: fine) {
  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel .stripHeader,
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel .stripHeader {
    transform: none !important;
  }

  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel .stripHeader,
  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel .stripLead,
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel .stripHeader,
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel .stripLead,
  .dualStrips.is-resetting .dualStrips__panel .stripHeader,
  .dualStrips.is-resetting .dualStrips__panel .stripLead {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .dualStrips.is-cap-active #offerings_strip.dualStrips__panel .container,
  .dualStrips.is-off-active #capabilities_strip.dualStrips__panel .container {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 120ms ease,
      visibility 0s linear 120ms;
  }
}

/* =========================================================
   HOME — Capabilities/Solutions cards
   - keep cloned marquee cards clickable too
   - remove bottom hover line
   - brighten whole card on hover/focus
   ========================================================= */
#capabilities_offerings .stripCard--clone {
  pointer-events: auto;
}

#capabilities_offerings .stripCard::after {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  /* Do not pause when the pointer is only inside the marquee runway/padding area.
     Pause only when the pointer is on an actual text block. */
  #capabilities_offerings .stripMarquee:hover .stripMarquee__track {
    animation-play-state: running !important;
  }

  #capabilities_offerings
    .stripMarquee:has(.stripCard:hover)
    .stripMarquee__track,
  #capabilities_offerings
    .stripMarquee:has(.stripCard:focus-visible)
    .stripMarquee__track {
    animation-play-state: paused !important;
  }

  #capabilities_offerings .stripCard:hover,
  #capabilities_offerings .stripCard:focus-visible {
    background: linear-gradient(
      180deg,
      rgba(25, 38, 46, 0.78),
      rgba(15, 21, 27, 0.86)
    ) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.18),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

/* =========================================================
   HOME — Testimonials strip
   - sync hover/pause behavior with Capabilities/Solutions
   - clones stay clickable
   - no bottom hover line
   - brighten whole card on hover/focus
   - match Capabilities type sizing
   ========================================================= */
#testimonials_strip .stripCard--clone {
  pointer-events: auto;
}

#testimonials_strip .stripCard::after {
  display: none;
}

#testimonials_strip .stripTitle {
  font-family: Rajdhani, system-ui, sans-serif;
  font-size: clamp(18px, 1.2vw, 25px);
  line-height: 1.16;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 10px;
}

#testimonials_strip .stripText {
  font-size: clamp(14.5px, 0.92vw, 17px);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.84);
}

@media (hover: hover) and (pointer: fine) {
  #testimonials_strip .stripMarquee:hover .stripMarquee__track {
    animation-play-state: running !important;
  }

  #testimonials_strip .stripMarquee:has(.stripCard:hover) .stripMarquee__track,
  #testimonials_strip
    .stripMarquee:has(.stripCard:focus-visible)
    .stripMarquee__track {
    animation-play-state: paused !important;
  }

  #testimonials_strip .stripCard:hover,
  #testimonials_strip .stripCard:focus-visible {
    background: linear-gradient(
      180deg,
      rgba(58, 38, 74, 0.82),
      rgba(20, 24, 30, 0.9)
    ) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow:
      0 10px 26px rgba(0, 0, 0, 0.18),
      inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

/* SEARCH: SITE_EDGE_NAV_GLOBAL */
.siteEdgeNav {
  --site-edge-nav-width: 100px;
  position: fixed;
  inset: 0;
  display: none;
  pointer-events: none;
  z-index: 60;
  transition: opacity 220ms ease;
}
.home.site-edge-nav-suppressed .siteEdgeNav,
.home.site-edge-nav-suppressed .siteEdgeNav *,
.home.site-edge-nav-suppressed .siteEdgeNav__side {
  opacity: 0;
  pointer-events: none;
}
.siteEdgeNav__side {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(var(--site-edge-nav-width, 100px), 18vw);
  pointer-events: auto;
  opacity: 0;
  transition:
    opacity 220ms ease,
    background 220ms ease;
}
.siteEdgeNav__side--left {
  left: 0;
}
.siteEdgeNav__side--right {
  right: 0;
}
.siteEdgeNav__side:hover,
.siteEdgeNav__side:focus-within {
  opacity: 1;
}
.siteEdgeNav__side--left:hover,
.siteEdgeNav__side--left:focus-within {
  background: linear-gradient(
    90deg,
    rgba(12, 15, 23, 0.18),
    rgba(12, 15, 23, 0.08) 48%,
    rgba(12, 15, 23, 0)
  );
}
.siteEdgeNav__side--right:hover,
.siteEdgeNav__side--right:focus-within {
  background: linear-gradient(
    270deg,
    rgba(12, 15, 23, 0.18),
    rgba(12, 15, 23, 0.08) 48%,
    rgba(12, 15, 23, 0)
  );
}
.siteEdgeNav__zone {
  position: absolute;
  left: 0;
  right: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.siteEdgeNav__zone--top {
  top: 0;
  height: 50%;
}
.siteEdgeNav__zone--bottom {
  top: 50%;
  height: 50%;
}
.siteEdgeNav__divider,
.siteEdgeNav__rail {
  position: absolute;
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}
.siteEdgeNav__rail {
  top: 8%;
  bottom: 8%;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0)
  );
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}
.siteEdgeNav__side--left .siteEdgeNav__rail {
  right: clamp(10px, 1.2vw, 18px);
}
.siteEdgeNav__side--right .siteEdgeNav__rail {
  left: clamp(10px, 1.2vw, 18px);
}
.siteEdgeNav__divider {
  top: 50%;
  width: clamp(18px, 2vw, 28px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
}
.siteEdgeNav__side--left .siteEdgeNav__divider {
  right: clamp(10px, 1.2vw, 18px);
}
.siteEdgeNav__side--right .siteEdgeNav__divider {
  left: clamp(10px, 1.2vw, 18px);
}
/* SEARCH: OVERLAY_ARROW_CIRCLE_PASS_01 */
.siteEdgeNav__icon {
  position: relative;
  width: clamp(42px, 3vw, 52px);
  height: clamp(42px, 3vw, 52px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    180deg,
    rgba(12, 18, 28, 0.68),
    rgba(8, 12, 20, 0.48)
  );
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}
.siteEdgeNav__iconSvg {
  display: block;
  width: 46%;
  height: 46%;
  overflow: visible;
}
.siteEdgeNav__iconLine {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.siteEdgeNav__side:hover .siteEdgeNav__divider,
.siteEdgeNav__side:hover .siteEdgeNav__rail,
.siteEdgeNav__side:hover .siteEdgeNav__icon,
.siteEdgeNav__side:focus-within .siteEdgeNav__divider,
.siteEdgeNav__side:focus-within .siteEdgeNav__rail,
.siteEdgeNav__side:focus-within .siteEdgeNav__icon {
  opacity: 1;
}
.siteEdgeNav__zone:hover .siteEdgeNav__icon,
.siteEdgeNav__zone:focus-visible .siteEdgeNav__icon {
  transform: translateY(-1px) scale(1.04);
  border-color: rgba(255, 255, 255, 0.34);
  background: linear-gradient(
    180deg,
    rgba(18, 28, 42, 0.76),
    rgba(10, 16, 26, 0.58)
  );
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.siteEdgeNav__zone:focus-visible {
  outline: none;
}
@media (min-width: 901px) and (min-height: 700px) and (hover: hover) and (pointer: fine) {
  .siteEdgeNav {
    display: block;
  }
}
