/* ProITAV Homepage Visual Preview
   Brand tokens from brand-tokens.json / Elementor kit
   Layout guided by ProITAV-CorporateWebsite-2026-HOMEPAGE.pdf */

:root {
  --primary: #DD232D;
  --secondary: #231F20;
  --text: #5A5959;
  --accent: #AF1F2D;
  --white: #FFFFFF;
  --black: #000000;
  --light-gray: #E0E0E0;
  --teal: #79CAC6;
  --navy: #003A58;
  --slate: #6B7D89;
  --warm: #FFBC7D;
  --surface: #F7F8F9;
  --container: 1340px;
  --header-container: 1480px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 72px 0; }
.section--surface { background: var(--surface); }

.eyebrow,
.section-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

/* Preserve exact brand casing inside uppercase UI labels */
.brand-name,
.btn .brand-name {
  text-transform: none;
}

.section-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  text-align: center;
}

.section-sub {
  margin: 14px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--text);
  font-size: 1rem;
}

.section-lead {
  margin: 10px auto 0;
  max-width: 640px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 50px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--ghost-dark {
  background: rgba(175, 31, 45, 0.45);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}
.btn--ghost-dark:hover {
  background: rgba(175, 31, 45, 0.7);
  color: var(--white);
}

.btn--ghost {
  background: var(--white);
  color: var(--secondary);
  border-color: var(--secondary);
}
.btn--ghost:hover {
  background: var(--secondary);
  color: var(--white);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}
.link-more:hover { color: var(--accent); }
.link-more span { transition: transform 0.2s; }
.link-more:hover span { transform: translateX(4px); }

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--light-gray);
}

.header-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.header-bar {
  width: min(100% - 40px, var(--header-container));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 2px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav > a,
.nav-drop__toggle {
  flex: 0 0 auto;
  padding: 8px 9px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--secondary);
  border-radius: 50px;
}
.nav > a:hover,
.nav > a.is-active,
.nav-drop__toggle:hover,
.nav-drop__toggle.is-active {
  background: var(--light-gray);
  color: var(--secondary);
}

.nav-drop {
  position: relative;
  flex: 0 0 auto;
}

.nav-drop__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.nav-drop__chevron {
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

.nav-drop:hover .nav-drop__chevron,
.nav-drop:focus-within .nav-drop__chevron,
.nav-drop.is-open .nav-drop__chevron {
  transform: rotate(180deg);
}

.nav-drop__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 292px;
  padding: 12px 8px 8px;
  background: var(--white);
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 58, 88, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 120;
}

@media (min-width: 1101px) {
  .nav-drop:hover .nav-drop__menu,
  .nav-drop:focus-within .nav-drop__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.nav-drop__menu a {
  position: relative;
  display: block;
  padding: 11px 14px 11px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-drop__menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s;
}

.nav-drop__menu a:hover {
  color: var(--secondary);
  background: color-mix(in srgb, var(--navy) 5%, white);
}

.nav-drop__menu a.is-active {
  background: color-mix(in srgb, var(--navy) 8%, white);
  color: var(--secondary);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 58, 88, 0.06);
}

.nav-drop__menu a.is-active::before {
  background: var(--primary);
}

.header-utils {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social {
  display: flex;
  gap: 6px;
}

.social a,
.search-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--slate);
  background: transparent;
  border: none;
  cursor: pointer;
}
.social a:hover { color: var(--primary); }
.search-btn {
  border-radius: 4px;
  background: var(--slate);
  color: var(--white);
}
.search-btn:hover { background: var(--secondary); }

.lang {
  display: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(8, 10, 16, 0.82) 0%, rgba(8, 10, 16, 0.55) 42%, rgba(8, 10, 16, 0.28) 100%),
    url("assets/home-page-bg.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 40%, rgba(221, 35, 45, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 28%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: 80px 0;
  width: min(100% - 48px, var(--container));
}

.hero-copy {
  max-width: none;
  text-align: left;
  justify-self: start;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero h1 .brand-emph {
  color: var(--white);
  font-weight: 800;
}

.hero p {
  margin: 22px 0 0;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.hero p em {
  font-style: normal;
  color: #ff8a90;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-products {
  position: relative;
  justify-self: stretch;
  min-height: clamp(310px, 46vh, 460px);
  pointer-events: none;
  background: transparent;
}

.hero-products__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
}

.hero-products__item {
  grid-area: 1 / 1;
  width: min(100%, 670px);
  height: auto;
  max-height: min(460px, 62vh);
  object-fit: contain;
  background: transparent;
  opacity: 0;
  transform: translate3d(18px, 10px, 0) scale(0.94);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35));
  transition:
    opacity 1.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero-products__item.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  animation: hero-product-drift 6.8s ease-in-out 1.6s infinite;
}

.hero-products__item.is-leaving {
  opacity: 0;
  transform: translate3d(-14px, -8px, 0) scale(1.03);
  animation: none;
}

@keyframes hero-product-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -12px, 0) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-products__item,
  .hero-products__item.is-active,
  .hero-products__item.is-leaving {
    transition: opacity 0.35s ease;
    transform: none;
    animation: none;
  }
}

/* ========== SPECIALIZE ========== */
.specialize-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.specialty-card {
  position: relative;
  aspect-ratio: 1;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: justify-content 0.35s var(--ease);
}

.specialty-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
}

.specialty-card:hover::before,
.specialty-card:focus-within::before {
  transform: scale(1.06);
}

.specialty-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(0, 58, 88, 0.55) 0%,
    rgba(0, 45, 70, 0.72) 55%,
    rgba(0, 35, 55, 0.82) 100%
  );
  transition: background 0.35s var(--ease);
}

.specialty-card:hover::after,
.specialty-card:focus-within::after {
  background: linear-gradient(
    180deg,
    rgba(0, 58, 88, 0.68) 0%,
    rgba(0, 40, 62, 0.84) 55%,
    rgba(0, 30, 48, 0.9) 100%
  );
}

.specialty-card:nth-child(1)::before {
  background-image: url("assets/specialty-1.jpg");
}
.specialty-card:nth-child(2)::before {
  background-image: url("assets/specialty-2.jpg");
}
.specialty-card:nth-child(3)::before {
  background-image: url("assets/specialty-3.jpg");
}
.specialty-card:nth-child(4)::before {
  background-image: url("assets/specialty-4.jpg");
}
.specialty-card:nth-child(5)::before {
  background-image: url("assets/specialty-5.jpg");
}

.specialty-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--ease);
}

.specialty-card:hover,
.specialty-card:focus-within {
  justify-content: flex-start;
  align-items: stretch;
}

.specialty-detail {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px);
  transition:
    max-height 0.4s var(--ease),
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    margin-top 0.35s var(--ease);
  margin-top: 0;
  text-align: left;
}

.specialty-card:hover .specialty-detail,
.specialty-card:focus-within .specialty-detail {
  max-height: 220px;
  opacity: 1;
  transform: none;
  margin-top: 18px;
}

.specialty-card li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.94);
}
.specialty-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.specialty-card .link-more {
  margin-top: 16px;
  color: #ff6b73;
}
.specialty-card .link-more:hover { color: var(--white); }

@media (hover: none) {
  .specialty-card {
    justify-content: flex-start;
    align-items: stretch;
    aspect-ratio: auto;
    min-height: 280px;
  }
  .specialty-detail {
    max-height: none;
    opacity: 1;
    transform: none;
    margin-top: 18px;
    overflow: visible;
  }
}

/* ========== BUILT FOR BRAND ========== */
.section--brand {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section--brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("assets/home-page-bg.jpg") center / cover no-repeat;
  filter: grayscale(1);
  opacity: 0.1;
  pointer-events: none;
}

.section--brand > .container {
  position: relative;
  z-index: 1;
}

.brand-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.brand-intro .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.brand-intro p {
  margin: 22px 0 0;
  color: var(--text);
}

.brand-intro p.section-lead {
  margin: 10px auto 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  text-align: center;
}

.pillar-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 58, 88, 0.18);
}

.pillar-icon svg {
  width: 44px;
  height: 44px;
}

.pillar h3 {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* ========== PATHS ========== */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.path-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.path-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(35, 31, 32, 0.06);
}

.path-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--primary);
}

.path-card h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary);
}

.path-card p {
  margin: 0 0 20px;
  flex: 1;
  font-size: 0.92rem;
}

/* ========== ENGINEERING / PINNED STORY SCROLL ========== */
.story-scroll {
  --story-pin-top: calc(var(--header-h) + 4px);
  --story-pin-h: calc(100vh - var(--header-h) - 4px);
  --story-pin-h: calc(100svh - var(--header-h) - 4px);
  position: relative;
  background: var(--secondary);
  scroll-margin-top: var(--story-pin-top);
}

.story-scroll.is-ready {
  height: 320vh;
}

.story-scroll__sticky {
  position: relative;
  min-height: var(--story-pin-h);
  overflow: hidden;
  color: var(--white);
}

.story-scroll.is-ready .story-scroll__sticky {
  position: sticky;
  top: var(--story-pin-top);
  height: var(--story-pin-h);
  min-height: 0;
}

.story-scroll__visuals {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-scroll__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  will-change: opacity, transform;
}

.story-scroll__bg.is-active {
  opacity: 1;
}

.story-scroll__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  will-change: transform;
}

.story-scroll__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.32) 46%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.28) 100%);
}

.story-scroll__content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: var(--story-pin-h);
  display: grid;
  align-items: center;
}

.story-scroll.is-ready .story-scroll__content {
  min-height: 0;
  align-content: center;
}

.story-scroll__copy {
  max-width: 40rem;
  padding: 72px 0;
}

.story-scroll.is-ready .story-scroll__copy {
  grid-area: 1 / 1;
  padding: 48px 0 64px;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  pointer-events: none;
  will-change: opacity, transform;
}

.story-scroll.is-ready .story-scroll__copy.is-active {
  pointer-events: auto;
}

.story-scroll__headline {
  margin: 0;
  font-size: clamp(1.55rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.18;
  text-wrap: balance;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.story-scroll__subhead {
  margin: 18px 0 0;
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.story-scroll__body {
  margin: 18px 0 0;
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.story-scroll__steps {
  display: none;
}

.story-scroll.is-ready .story-scroll__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.story-scroll__steps span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  opacity: 0.55;
  transition: background 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.story-scroll__steps span.is-active {
  background: var(--primary);
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.2);
}

/* Stacked full-bleed fallback: no JS, reduced motion, or before pin init */
.story-scroll--static .story-scroll__visuals,
.story-scroll--static .story-scroll__scrim,
.story-scroll--static .story-scroll__steps {
  display: none;
}

.story-scroll--static .story-scroll__sticky,
.story-scroll--static .story-scroll__content {
  height: auto;
  min-height: 0;
  display: block;
}

.story-scroll--static .story-scroll__copy {
  position: relative;
  isolation: isolate;
  max-width: none;
  min-height: var(--story-pin-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 0;
  background: var(--story-img) center / cover no-repeat;
}

.story-scroll--static .story-scroll__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.32) 46%, rgba(0, 0, 0, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, 0.28) 100%);
}

.story-scroll--static .story-scroll__headline,
.story-scroll--static .story-scroll__subhead,
.story-scroll--static .story-scroll__body {
  max-width: 40rem;
}

@media (max-height: 720px) {
  .story-scroll.is-ready .story-scroll__copy {
    padding: 28px 0 36px;
  }

  .story-scroll__headline {
    font-size: clamp(1.3rem, 4.2vh, 2.1rem);
  }

  .story-scroll__body {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .story-scroll.is-ready .story-scroll__steps {
    display: none;
  }
}

/* ========== EXPERTISE ========== */
.section--expertise {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, #f3f7f9 0%, #ffffff 42%, #f7fafb 100%);
}

.expertise-atmosphere {
  position: absolute;
  inset: -10% -5% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 12% 30%, rgba(121, 202, 198, 0.22), transparent 42%),
    radial-gradient(ellipse at 88% 20%, rgba(221, 35, 45, 0.1), transparent 38%),
    radial-gradient(ellipse at 55% 85%, rgba(0, 58, 88, 0.08), transparent 45%);
  pointer-events: none;
}

.expertise-intro {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.expertise-eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.expertise-intro .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  border-radius: 2px;
}

.expertise-intro .section-sub {
  margin-top: 18px;
}

.expertise-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.expertise-card {
  --accent: var(--navy);
  --accent-soft: rgba(0, 58, 88, 0.1);
  position: relative;
  padding: 36px 24px 28px;
  text-align: left;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 6px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s,
    box-shadow 0.35s var(--ease);
}

.expertise-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  opacity: 0.9;
  transition: width 0.3s var(--ease);
}

.expertise-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 18px 40px rgba(0, 58, 88, 0.1);
}

.expertise-card:hover::before {
  width: 6px;
}

.expertise-card:nth-child(1),
.expertise-card:nth-child(5) { --accent: var(--primary); --accent-soft: rgba(221, 35, 45, 0.12); }
.expertise-card:nth-child(2),
.expertise-card:nth-child(6) { --accent: var(--navy); --accent-soft: rgba(0, 58, 88, 0.12); }
.expertise-card:nth-child(3),
.expertise-card:nth-child(7) { --accent: var(--teal); --accent-soft: rgba(121, 202, 198, 0.18); }
.expertise-card:nth-child(4),
.expertise-card:nth-child(8) { --accent: var(--warm); --accent-soft: rgba(255, 188, 125, 0.22); }

@media (min-width: 1101px) {
  .expertise-card:nth-child(even) {
    transform: translateY(18px);
  }
  .expertise-card:nth-child(even):hover {
    transform: translateY(12px);
  }
}

.expertise-index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.45;
}

.expertise-icon {
  width: 56px;
  height: 56px;
  margin: 0 0 18px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform 0.35s var(--ease), background 0.35s;
}

.expertise-icon svg {
  width: 28px;
  height: 28px;
}

.expertise-card:hover .expertise-icon {
  transform: scale(1.06);
  background: color-mix(in srgb, var(--accent) 22%, white);
}

.expertise-card h3 {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: 0.02em;
}

.expertise-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text);
}

/* ========== TECH LEADERSHIP ========== */
.tech-carousel {
  position: relative;
  margin-top: 48px;
  padding: 0 48px;
}

.tech-viewport {
  overflow: hidden;
  width: 100%;
}

.tech-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.tech-logo {
  flex: 0 0 calc((100% - 64px) / 5);
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px 18px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.tech-logo img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tech-logo:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(35, 31, 32, 0.08);
  transform: translateY(-2px);
  color: inherit;
}

.carousel-btn {
  position: absolute;
  top: calc(60px);
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  color: var(--secondary);
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
}
.carousel-btn:hover { border-color: var(--primary); color: var(--primary); }
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  background: transparent;
  cursor: pointer;
}
.carousel-dots button.is-active {
  background: var(--secondary);
}

/* ========== GLOBAL MAP ========== */
.section--global {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, #f3f7f9 0%, #ffffff 40%, #f6fafb 100%);
}

.global-atmosphere {
  position: absolute;
  inset: -12% -8% auto;
  height: 72%;
  background:
    radial-gradient(ellipse at 18% 35%, rgba(121, 202, 198, 0.24), transparent 42%),
    radial-gradient(ellipse at 82% 18%, rgba(221, 35, 45, 0.11), transparent 38%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 58, 88, 0.09), transparent 46%),
    radial-gradient(ellipse at 40% 60%, rgba(255, 188, 125, 0.12), transparent 40%);
  pointer-events: none;
}

.global-intro {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.global-eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.global-intro .section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  border-radius: 2px;
}

.global-intro .section-sub {
  margin-top: 18px;
}

.global-map-shell {
  position: relative;
  margin-top: 48px;
}

.global-map {
  --map-accent: var(--primary);
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 620;
  min-height: 0;
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 22% 42%, rgba(221, 35, 45, 0.07), transparent 34%),
    radial-gradient(ellipse at 78% 38%, rgba(121, 202, 198, 0.14), transparent 36%),
    radial-gradient(ellipse at 72% 58%, rgba(255, 188, 125, 0.1), transparent 30%),
    linear-gradient(180deg, #eef4f7 0%, #f7fafb 55%, #eef3f6 100%);
  box-shadow: 0 18px 50px rgba(0, 58, 88, 0.06);
}

/* Always-visible square-dot world map */
.global-map__dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.global-map__dots img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  opacity: 0.95;
}

.global-map__pins {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.global-map__hint {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  pointer-events: none;
  transition: opacity 0.3s;
}

.map-pin {
  --pin-color: var(--primary);
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pin-color);
  cursor: pointer;
  z-index: 2;
  animation: map-pin-in 0.55s var(--ease) both;
  animation-delay: var(--pin-delay, 0ms);
}

.map-pin--primary { --pin-color: var(--primary); }
.map-pin--navy { --pin-color: var(--navy); }
.map-pin--teal { --pin-color: var(--teal); }
.map-pin--warm { --pin-color: #e89a4f; }

.map-pin__pulse {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 28px;
  height: 28px;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  background: color-mix(in srgb, var(--pin-color) 28%, transparent);
  animation: map-pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}

.map-pin__marker {
  position: relative;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--pin-color) 35%, transparent));
  transition: transform 0.3s var(--ease);
}

.map-pin__marker svg {
  display: block;
}

.map-pin__label {
  position: absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%) translateY(-4px);
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(0, 58, 88, 0.08);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease), border-color 0.25s, color 0.25s, opacity 0.25s;
}

.map-pin:hover .map-pin__marker,
.map-pin.is-active .map-pin__marker,
.map-pin:focus-visible .map-pin__marker {
  transform: translateY(-4px) scale(1.08);
}

.map-pin:hover .map-pin__label,
.map-pin.is-active .map-pin__label,
.map-pin:focus-visible .map-pin__label {
  opacity: 1;
  color: var(--pin-color);
  border-color: color-mix(in srgb, var(--pin-color) 40%, transparent);
  transform: translateX(-50%) translateY(2px);
}

.map-pin.is-active {
  z-index: 5;
}

.map-pin.is-active .map-pin__pulse {
  animation-duration: 1.4s;
  background: color-mix(in srgb, var(--pin-color) 42%, transparent);
}

.map-panel {
  position: absolute;
  top: 28px;
  width: min(340px, calc(100% - 40px));
  z-index: 6;
  padding: 28px 24px 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(0, 58, 88, 0.14);
  backdrop-filter: blur(10px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.map-panel--west { left: auto; right: 24px; }
.map-panel--east { left: 24px; right: auto; }

.map-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.map-panel__bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--map-accent);
}

.map-panel--primary { --map-accent: var(--primary); }
.map-panel--navy { --map-accent: var(--navy); }
.map-panel--teal { --map-accent: var(--teal); }
.map-panel--warm { --map-accent: var(--warm); }

.map-panel__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 58, 88, 0.12);
  border-radius: 6px;
  background: var(--white);
  color: var(--secondary);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.map-panel__close:hover {
  border-color: var(--map-accent);
  color: var(--map-accent);
  background: color-mix(in srgb, var(--map-accent) 8%, white);
}

.map-panel__region {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--map-accent);
}

.map-panel__title {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

.map-panel__summary {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.map-panel__label {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.map-panel__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-panel__roles li {
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--secondary);
  background: color-mix(in srgb, var(--map-accent) 12%, white);
  border: 1px solid color-mix(in srgb, var(--map-accent) 22%, transparent);
  border-radius: 5px;
}

.map-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.map-legend__item {
  --legend-accent: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 16px;
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 6px;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s var(--ease);
}

.map-legend__item--primary { --legend-accent: var(--primary); }
.map-legend__item--navy { --legend-accent: var(--navy); }
.map-legend__item--teal { --legend-accent: var(--teal); }
.map-legend__item--warm { --legend-accent: var(--warm); }

.map-legend__item:hover,
.map-legend__item.is-active {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--legend-accent) 40%, transparent);
  box-shadow: 0 14px 30px rgba(0, 58, 88, 0.08);
}

.map-legend__swatch {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 3px;
  background: var(--legend-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--legend-accent) 16%, transparent);
}

.map-legend__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.map-legend__text strong {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

.map-legend__text em {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text);
}

@keyframes map-pin-in {
  from {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -100%);
  }
}

@keyframes map-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.85); opacity: 0.75; }
  50% { transform: translate(-50%, -50%) scale(1.35); opacity: 0.15; }
}

/* ========== WHY ProITAV ========== */
.section--why {
  position: relative;
  overflow: hidden;
  /* Cool navy paper — distinct from surface gray and multi-hue section washes */
  background:
    linear-gradient(165deg, #f2f5f8 0%, #e8eef3 48%, #f4f7f9 100%);
}

.why-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(0, 58, 88, 0.09), transparent 42%),
    radial-gradient(ellipse at 6% 94%, rgba(0, 58, 88, 0.07), transparent 40%),
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 11px,
      rgba(0, 58, 88, 0.028) 11px,
      rgba(0, 58, 88, 0.028) 12px
    );
}

.section--why > .container {
  position: relative;
  z-index: 1;
}

.why-title .brand-name {
  color: var(--primary);
}

.why-compare {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  row-gap: 14px;
  align-items: stretch;
  margin-top: 48px;
}

.why-col-title {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.why-col-title--accent {
  color: var(--navy);
}

.why-bridge-spacer {
  display: block;
}

.why-card {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-card li {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-height: 58px;
  padding: 14px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--secondary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.why-card li:last-child {
  border-bottom: none;
}

.why-card--traditional {
  background: #e9ecef;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.why-card--traditional li {
  color: var(--text);
  font-weight: 500;
}

.why-card--proitav {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--navy);
  border-left: 3px solid var(--primary);
  box-shadow: 0 10px 28px rgba(0, 58, 88, 0.06);
}

.why-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.why-icon--minus {
  background: #5a5959;
}

.why-icon--minus::before {
  content: "";
  width: 10px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.why-icon--check {
  background: transparent;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}

.why-icon--check::before {
  content: "✓";
}

.why-bridge {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.why-arrow {
  display: block;
  flex: 1;
  width: 100%;
  position: relative;
  min-height: 58px;
}

.why-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  right: 10px;
  top: 50%;
  height: 2px;
  background: #9aa3ab;
  transform: translateY(-50%);
}

.why-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--primary);
  transform: translateY(-50%);
}

/* ========== BOTTOM CTA ========== */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.cta-copy h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

.cta-copy p {
  margin: 12px 0 0;
  max-width: 520px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.site-footer {
  padding: 64px 0 40px;
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.78);
  border-top: 10px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand img {
  height: 48px;
  width: auto;
}

.footer-tagline {
  margin: 14px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer-col a:hover { color: var(--white); }

.footer-note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Preview chrome banner */
.preview-banner {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: 0.03em;
}
.preview-banner strong {
  color: var(--white);
  font-weight: 700;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .specialize-grid { grid-template-columns: repeat(3, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .map-legend { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(var(--header-h) + 4px);
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    background: var(--white);
    padding: 16px;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
  .nav.is-open > a,
  .nav.is-open .nav-drop__toggle {
    white-space: normal;
    border-radius: 8px;
  }
  .nav-drop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-drop__toggle {
    justify-content: space-between;
    width: 100%;
    border-radius: 8px;
  }
  .nav-drop__menu {
    position: static;
    min-width: 0;
    margin: 4px 0 4px 8px;
    padding: 4px 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-drop.is-open .nav-drop__menu {
    display: block;
  }
  .site-header { position: sticky; }
  .header-bar { position: relative; }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 64px 0 48px;
  }

  .hero-products {
    min-height: 280px;
  }

  .hero-products__item {
    width: min(100%, 540px);
    max-height: 310px;
  }

  .pillars,
  .paths-grid { grid-template-columns: 1fr; }
  .story-scroll.is-ready .story-scroll__steps {
    right: 14px;
  }
  .story-scroll__copy {
    padding: 64px 0;
  }
  .tech-logo { flex-basis: calc((100% - 32px) / 3); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .why-compare {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }
  .why-bridge,
  .why-bridge-spacer { display: none; }
  .why-col-title { text-align: left; padding-left: 4px; }
  .why-compare > .why-col-title:not(.why-col-title--accent) { order: 1; }
  .why-card--traditional { order: 2; }
  .why-col-title--accent { order: 3; margin-top: 16px; }
  .why-card--proitav { order: 4; }
}

@media (max-width: 640px) {
  .specialize-grid { grid-template-columns: 1fr; }
  .tech-logo { flex-basis: calc((100% - 16px) / 2); }
  .tech-carousel { padding: 0 40px; }
  .map-legend { grid-template-columns: 1fr; }
  .map-panel,
  .map-panel--west,
  .map-panel--east {
    top: auto;
    bottom: 14px;
    left: 14px;
    right: 14px;
    width: auto;
  }
  .map-pin__label {
    font-size: 0.6rem;
    padding: 3px 6px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section { padding: 64px 0; }
}

/* ========== DEVELOPMENT PATHS PAGE ========== */
.section--wash {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, #f3f7f9 0%, #ffffff 42%, #f7fafb 100%);
}

.section-atmosphere {
  position: absolute;
  inset: -12% -8% auto;
  height: 72%;
  background:
    radial-gradient(ellipse at 18% 35%, rgba(121, 202, 198, 0.24), transparent 42%),
    radial-gradient(ellipse at 82% 18%, rgba(221, 35, 45, 0.11), transparent 38%),
    radial-gradient(ellipse at 60% 80%, rgba(0, 58, 88, 0.09), transparent 46%),
    radial-gradient(ellipse at 40% 60%, rgba(255, 188, 125, 0.12), transparent 40%);
  pointer-events: none;
}

.section-atmosphere--soft {
  inset: 120px 0 0;
  height: auto;
  bottom: 0;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(121, 202, 198, 0.16), transparent 42%),
    radial-gradient(ellipse at 88% 10%, rgba(221, 35, 45, 0.08), transparent 38%),
    radial-gradient(ellipse at 70% 90%, rgba(0, 58, 88, 0.07), transparent 45%),
    radial-gradient(ellipse at 30% 75%, rgba(255, 188, 125, 0.1), transparent 40%);
}

.section--wash > .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  overflow: visible;
  padding: 0;
  background: var(--white);
}

.page-hero__banner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: var(--white);
  padding: 96px 0 220px;
  background: var(--navy);
  min-height: 320px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    url("assets/paths-banner-bg.png") center / cover no-repeat;
  pointer-events: none;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.33);
  pointer-events: none;
}

.page-hero__intro {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.page-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero__title {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.page-hero__sub {
  margin: 18px auto 0;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.page-hero__paths-wrap {
  position: relative;
  z-index: 2;
  overflow: visible;
  margin-top: -130px;
  padding: 0 0 72px;
  background:
    linear-gradient(
      180deg,
      transparent 0,
      transparent 72px,
      #f3f7f9 150px,
      #ffffff 55%,
      #f7fafb 100%
    );
}

.page-hero__paths {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

.path-flow {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.path-goal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--secondary);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  box-shadow: 0 10px 32px rgba(35, 31, 32, 0.18);
}

.path-goal svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.path-branches {
  width: min(100%, 920px);
  height: 56px;
  margin: 4px 0 8px;
}

.path-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

.path-detail {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(35, 31, 32, 0.08);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.path-detail:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 48px rgba(35, 31, 32, 0.12);
  transform: translateY(-3px);
}

.path-detail__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 168px;
  padding: 20px 18px 8px;
  background:
    linear-gradient(180deg, #F2F3F5 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--light-gray);
}

.path-detail__media img {
  width: min(100%, 260px);
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(35, 31, 32, 0.18));
}

.path-detail__media--exploded {
  background:
    linear-gradient(180deg, #E8EBEE 0%, #F7F8F9 55%, #FFFFFF 100%);
}

.path-detail__media--exploded img {
  transform: scale(1.04);
  filter:
    drop-shadow(0 8px 14px rgba(35, 31, 32, 0.16))
    saturate(0.92);
}

.path-detail__media--blueprint {
  background:
    linear-gradient(180deg, rgba(0, 58, 88, 0.08) 0%, #F7F8F9 55%, #FFFFFF 100%);
}

.path-detail__media--blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 58, 88, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 58, 88, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.path-detail__media--blueprint img {
  position: relative;
  z-index: 1;
  filter:
    grayscale(1)
    contrast(1.15)
    brightness(1.05)
    drop-shadow(0 8px 14px rgba(0, 58, 88, 0.18));
  opacity: 0.92;
}

.path-detail__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}

.path-detail__tag {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.path-detail h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary);
}

.path-detail__body > p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--text);
}

.path-meta {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
  padding: 16px 0 0;
  border-top: 1px solid var(--light-gray);
}

.path-meta dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.path-meta dd {
  margin: 2px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
}

.path-detail .btn {
  margin-top: auto;
  align-self: stretch;
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.path-detail .btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.compare-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border: 1px solid var(--light-gray);
  background: var(--white);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--light-gray);
  border-right: 1px solid var(--light-gray);
  text-align: center;
  vertical-align: middle;
  font-size: 0.88rem;
}

.compare-table th:last-child,
.compare-table td:last-child {
  border-right: none;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table thead th {
  background: var(--surface);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.compare-table thead th small {
  display: block;
  margin-top: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--primary);
}

.compare-table tbody th {
  text-align: left;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

.compare-table .mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(221, 35, 45, 0.1);
  color: var(--primary);
}

.compare-table .mark::before {
  content: "";
  width: 10px;
  height: 6px;
  margin-top: -2px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.compare-table .dash {
  color: var(--slate);
  font-weight: 500;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1px solid var(--light-gray);
}

.inline-cta__copy {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.inline-cta__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--light-gray);
  color: var(--primary);
}

.inline-cta h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

.inline-cta p {
  margin: 0;
  max-width: 640px;
  font-size: 0.9rem;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.section--fit {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(165deg, #f2f5f8 0%, #e8eef3 48%, #f4f7f9 100%);
}

.section--fit .section-sub {
  color: var(--slate);
}

.section--fit .fit-card {
  border: 1px solid transparent;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 58, 88, 0.18);
  color: rgba(255, 255, 255, 0.78);
}

.section--fit .fit-card:nth-child(1) {
  background: color-mix(in srgb, var(--teal) 42%, var(--navy));
  border-color: rgba(121, 202, 198, 0.35);
}

.section--fit .fit-card:nth-child(2) {
  background: var(--navy);
  border-color: rgba(121, 202, 198, 0.18);
}

.section--fit .fit-card:nth-child(3) {
  background: var(--secondary);
  border-color: rgba(221, 35, 45, 0.28);
  box-shadow: 0 18px 44px rgba(35, 31, 32, 0.28);
}

.section--fit .fit-card:hover {
  box-shadow:
    0 20px 48px rgba(0, 58, 88, 0.28),
    0 0 0 1px rgba(121, 202, 198, 0.12);
  transform: translateY(-3px);
}

.section--fit .fit-card:nth-child(1):hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.section--fit .fit-card:nth-child(2):hover {
  border-color: rgba(121, 202, 198, 0.45);
}

.section--fit .fit-card:nth-child(3):hover {
  border-color: rgba(221, 35, 45, 0.55);
  box-shadow:
    0 20px 48px rgba(35, 31, 32, 0.4),
    0 0 0 1px rgba(221, 35, 45, 0.2);
}

.fit-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.fit-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 36px rgba(35, 31, 32, 0.06);
}

.section--fit .fit-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(121, 202, 198, 0.14);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22),
    0 0 0 6px rgba(121, 202, 198, 0.08);
}

.section--fit .fit-card:nth-child(1) .fit-card__icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.08);
}

.section--fit .fit-card:nth-child(3) .fit-card__icon {
  color: var(--warm);
  background: rgba(255, 188, 125, 0.14);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(221, 35, 45, 0.12);
}

.section--fit .fit-card__icon svg {
  width: 26px;
  height: 26px;
}

.fit-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--navy);
}

.section--fit .fit-card h3 {
  color: var(--white);
}

.fit-card h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary);
}

.section--fit .fit-card__lead {
  color: var(--teal);
}

.section--fit .fit-card:nth-child(1) .fit-card__lead {
  color: rgba(255, 255, 255, 0.92);
}

.section--fit .fit-card:nth-child(3) .fit-card__lead {
  color: var(--warm);
}

.fit-card__lead {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}

.section--fit .fit-card > p {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
}

.fit-card > p {
  margin: 0 0 16px;
  padding-top: 14px;
  border-top: 1px solid var(--light-gray);
  font-size: 0.9rem;
}

.fit-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
}

.section--fit .fit-list li {
  color: rgba(255, 255, 255, 0.82);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section--fit .fit-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.section--fit .fit-list li::before {
  width: 18px;
  height: 18px;
  background-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23003A58' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
  box-shadow: 0 0 12px rgba(121, 202, 198, 0.35);
}

.section--fit .fit-card:nth-child(1) .fit-list li::before {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23003A58' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.section--fit .fit-card:nth-child(3) .fit-list li::before {
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");
  box-shadow: 0 0 12px rgba(221, 35, 45, 0.4);
}

.fit-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--primary) 0 3px, transparent 3.5px),
    rgba(221, 35, 45, 0.12);
}

.section--fit .fit-path {
  background: var(--primary);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 8px 20px rgba(221, 35, 45, 0.45),
    0 0 0 1px rgba(0, 0, 0, 0.12);
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 10px 16px;
}

.fit-path {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 50px;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section--fit .fit-example strong {
  color: var(--teal);
}

.section--fit .fit-card:nth-child(1) .fit-example strong {
  color: var(--white);
}

.section--fit .fit-card:nth-child(3) .fit-example strong {
  color: var(--warm);
}

.section--fit .fit-example {
  border-top-color: rgba(255, 255, 255, 0.12);
  padding: 16px;
  margin: 0 -8px -8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.fit-example {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--light-gray);
}

.section--fit .fit-example img {
  mix-blend-mode: normal;
  filter: brightness(1.08) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  padding: 6px;
}

.fit-example img {
  width: 72px;
  height: 48px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.section--fit .fit-example strong {
  color: var(--teal);
}

.fit-example strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.section--fit .fit-example p {
  color: rgba(255, 255, 255, 0.72);
}

.fit-example p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text);
}

.section--fit .inline-cta {
  margin-top: 36px;
  background: var(--white);
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 58, 88, 0.08);
}

.section--fit .inline-cta__icon {
  background: rgba(121, 202, 198, 0.14);
  border-color: rgba(121, 202, 198, 0.28);
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(0, 58, 88, 0.1);
}

@media (max-width: 900px) {
  .path-detail-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .path-branches { display: none; }

  .page-hero__banner {
    padding: 72px 0 180px;
    min-height: 280px;
  }

  .page-hero__paths-wrap {
    margin-top: -100px;
  }

  .page-hero__paths {
    margin-top: 0;
  }

  .inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========== ABOUT PAGE ========== */
.section-title--accent::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  border-radius: 2px;
}

.about-section--paper {
  background:
    linear-gradient(165deg, #f2f5f8 0%, #e8eef3 48%, #f4f7f9 100%);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  padding-bottom: 72px;
}

.about-hero > .section-atmosphere {
  inset: 0;
  height: auto;
}

.about-hero > .container {
  position: relative;
  z-index: 1;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.about-hero__copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--secondary);
}

.about-hero__lead {
  margin: 22px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.5;
}

.about-hero__copy > p:not(.about-hero__lead) {
  margin: 18px 0 0;
  max-width: 540px;
  font-size: 1rem;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.about-hero__media {
  min-height: 360px;
  border-radius: 6px;
  overflow: hidden;
  background:
    url("assets/about-hero.jpg") center / cover no-repeat;
  box-shadow: 0 18px 50px rgba(0, 58, 88, 0.12);
}

#impact,
#values,
#different {
  position: relative;
  overflow: hidden;
}

#values > .section-atmosphere,
#different > .section-atmosphere {
  inset: 0;
  height: auto;
}

#impact > .container,
#values > .container,
#different > .container {
  position: relative;
  z-index: 1;
}

/* Timeline */
.timeline {
  margin-top: 40px;
}

.timeline__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

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

.timeline__arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 58, 88, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.timeline__arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 58, 88, 0.08);
}

.timeline__hint {
  margin: 0 0 0 6px;
  font-size: 0.82rem;
  color: var(--text);
}

.timeline__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline__filter {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(0, 58, 88, 0.12);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.timeline__filter:hover {
  border-color: var(--navy);
}

.timeline__filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.timeline__track-wrap {
  position: relative;
  padding-top: 18px;
}

.timeline__line {
  position: absolute;
  top: 26px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: color-mix(in srgb, var(--navy) 16%, var(--light-gray));
}

.timeline__milestones {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.timeline__milestone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px 8px;
  border: 0;
  background: transparent;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--navy) 22%, var(--light-gray));
  background: var(--white);
  z-index: 1;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.timeline__milestone.is-active .timeline__dot,
.timeline__milestone:hover .timeline__dot {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(221, 35, 45, 0.12);
}

.timeline__year {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--secondary);
}

.timeline__milestone strong {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--secondary);
}

.timeline__summary {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline__thumb {
  width: 44px;
  height: 44px;
  margin-top: 4px;
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.55), rgba(35, 31, 32, 0.4)),
    url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=200&q=60") center / cover;
}

.timeline__thumb--mfg {
  background:
    linear-gradient(145deg, rgba(175, 31, 45, 0.4), rgba(0, 58, 88, 0.5)),
    url("https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=200&q=60") center / cover;
}

.timeline__thumb--eng {
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.55), rgba(121, 202, 198, 0.25)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=200&q=60") center / cover;
}

.timeline__thumb--global {
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.6), rgba(35, 31, 32, 0.35)),
    url("https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=200&q=60") center / cover;
}

.timeline__thumb--partners {
  background:
    linear-gradient(145deg, rgba(221, 35, 45, 0.35), rgba(0, 58, 88, 0.5)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=200&q=60") center / cover;
}

.timeline__thumb--next {
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.65), rgba(255, 188, 125, 0.25)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=200&q=60") center / cover;
}

.timeline__detail {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr 0.9fr;
  gap: 28px;
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(0, 58, 88, 0.08);
  backdrop-filter: blur(6px);
}

.timeline__detail-media {
  min-height: 220px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.7), rgba(35, 31, 32, 0.45)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=800&q=70") center / cover;
}

.timeline__detail-media--story {
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.72), rgba(35, 31, 32, 0.5)),
    url("https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=800&q=70") center / cover;
}

.timeline__detail-media--mfg {
  background:
    linear-gradient(145deg, rgba(175, 31, 45, 0.45), rgba(0, 58, 88, 0.55)),
    url("https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=800&q=70") center / cover;
}

.timeline__detail-media--eng {
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.65), rgba(121, 202, 198, 0.25)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=800&q=70") center / cover;
}

.timeline__detail-media--global {
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.7), rgba(35, 31, 32, 0.4)),
    url("https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=800&q=70") center / cover;
}

.timeline__detail-media--partners {
  background:
    linear-gradient(145deg, rgba(221, 35, 45, 0.4), rgba(0, 58, 88, 0.55)),
    url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=800&q=70") center / cover;
}

.timeline__detail-media--next {
  background:
    linear-gradient(145deg, rgba(0, 58, 88, 0.7), rgba(255, 188, 125, 0.28)),
    url("https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=800&q=70") center / cover;
}

.timeline__badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  background: color-mix(in srgb, var(--navy) 8%, white);
  border: 1px solid rgba(0, 58, 88, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.timeline__detail-body h3 {
  margin: 14px 0 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--secondary);
}

.timeline__detail-body > p {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.timeline__detail-body h4,
.timeline__detail-links h4 {
  margin: 22px 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}

.timeline__detail-body ul {
  display: grid;
  gap: 8px;
}

.timeline__detail-body li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
}

.timeline__detail-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.timeline__detail-links {
  border-left: 1px solid rgba(0, 58, 88, 0.1);
  padding-left: 24px;
}

.timeline__detail-links h4 {
  margin-top: 0;
  color: var(--slate);
}

.timeline__detail-links ul {
  display: grid;
  gap: 10px;
}

.timeline__detail-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 58, 88, 0.1);
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.timeline__detail-links a:hover {
  color: var(--primary);
}

.timeline__detail-links a span:last-child {
  margin-left: auto;
  color: var(--primary);
}

.timeline__scrub {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.timeline__scrub-track {
  position: relative;
  flex: 1;
  height: 18px;
}

.timeline__scrub-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: color-mix(in srgb, var(--navy) 16%, var(--light-gray));
  transform: translateY(-50%);
}

.timeline__scrub-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: left 0.3s var(--ease);
}

/* Differentiators — colored blocks like Development Paths fit cards */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.diff-card {
  --accent: var(--navy);
  --accent-soft: rgba(0, 58, 88, 0.14);
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(0, 58, 88, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.diff-card:nth-child(1) {
  --accent: var(--white);
  --accent-soft: rgba(255, 255, 255, 0.16);
  background: color-mix(in srgb, var(--teal) 42%, var(--navy));
  border-color: rgba(121, 202, 198, 0.35);
}

.diff-card:nth-child(2) {
  --accent: var(--teal);
  --accent-soft: rgba(121, 202, 198, 0.14);
  background: var(--navy);
  border-color: rgba(121, 202, 198, 0.18);
}

.diff-card:nth-child(3) {
  --accent: var(--warm);
  --accent-soft: rgba(255, 188, 125, 0.16);
  background: var(--secondary);
  border-color: rgba(221, 35, 45, 0.28);
  box-shadow: 0 18px 44px rgba(35, 31, 32, 0.28);
}

.diff-card:nth-child(4) {
  --accent: var(--teal);
  --accent-soft: rgba(121, 202, 198, 0.14);
  background: color-mix(in srgb, var(--navy) 78%, var(--primary));
  border-color: rgba(221, 35, 45, 0.22);
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 48px rgba(0, 58, 88, 0.28),
    0 0 0 1px rgba(121, 202, 198, 0.12);
}

.diff-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 0 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22),
    0 0 0 6px rgba(121, 202, 198, 0.08);
}

.diff-card:nth-child(1) .diff-card__icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.08);
}

.diff-card__icon svg {
  width: 26px;
  height: 26px;
}

.diff-card h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}

.diff-card > p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  color: rgba(255, 255, 255, 0.78);
}

.diff-card ul {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 8px;
}

.diff-card li {
  position: relative;
  padding-left: 16px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
}

.diff-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.diff-card:nth-child(3) li::before {
  background: var(--primary);
}

.diff-card:nth-child(1) li::before {
  background: rgba(255, 255, 255, 0.85);
}

/* Impact stats — expertise-style accent cards */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.impact-card {
  --accent: var(--navy);
  --accent-soft: rgba(0, 58, 88, 0.1);
  padding: 28px 20px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.86);
  text-align: center;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.impact-card:nth-child(1),
.impact-card:nth-child(5) { --accent: var(--primary); --accent-soft: rgba(221, 35, 45, 0.12); }
.impact-card:nth-child(2),
.impact-card:nth-child(6) { --accent: var(--navy); --accent-soft: rgba(0, 58, 88, 0.12); }
.impact-card:nth-child(3),
.impact-card:nth-child(7) { --accent: var(--teal); --accent-soft: rgba(121, 202, 198, 0.18); }
.impact-card:nth-child(4),
.impact-card:nth-child(8) { --accent: var(--warm); --accent-soft: rgba(255, 188, 125, 0.22); }

.impact-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 18px 40px rgba(0, 58, 88, 0.1);
}

.impact-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.impact-card__icon svg {
  width: 28px;
  height: 28px;
}

.impact-card__stat {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--secondary);
  line-height: 1.1;
}

.impact-card h3 {
  margin: 10px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.impact-card > p:last-child {
  margin: 12px 0 0;
  font-size: 0.84rem;
}

.impact-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 22px 28px;
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 10px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 36px rgba(0, 58, 88, 0.16);
}

.impact-callout__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(121, 202, 198, 0.14);
  box-shadow: 0 0 0 6px rgba(121, 202, 198, 0.08);
}

.impact-callout__icon svg {
  width: 26px;
  height: 26px;
}

.impact-callout p {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Alliances / partnerships */
.alliance-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.alliance-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.alliance-card:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: 0 12px 28px rgba(0, 58, 88, 0.08);
  transform: translateY(-3px);
}

.alliance-card__logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  background: color-mix(in srgb, var(--navy) 5%, white);
}

.alliance-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.alliance-card__logo--mark span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.alliance-card strong {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 1.3;
}

.alliance-card span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}

/* Values — high-contrast navy panel */
.values-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 1px solid rgba(121, 202, 198, 0.18);
  border-radius: 14px;
  background: var(--navy);
  box-shadow: 0 18px 44px rgba(0, 58, 88, 0.18);
  overflow: hidden;
}

.values-panel article {
  position: relative;
  padding: 36px 28px;
  text-align: center;
}

.values-panel article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 0 0 2px 2px;
  background: var(--teal);
  opacity: 0.85;
}

.values-panel article:nth-child(1)::before { background: var(--primary); }
.values-panel article:nth-child(2)::before { background: var(--teal); }
.values-panel article:nth-child(3)::before { background: var(--warm); }
.values-panel article:nth-child(4)::before { background: color-mix(in srgb, var(--teal) 60%, white); }

.values-panel article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.values-panel h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}

.values-panel p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
  .timeline__milestones {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
  }

  .timeline__line {
    display: none;
  }

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

  .timeline__detail-links {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(0, 58, 88, 0.1);
    padding-top: 20px;
  }

  .diff-grid,
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .alliance-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-panel article:nth-child(odd) {
    border-left: 0;
  }

  .values-panel article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

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

  .about-hero__media {
    min-height: 260px;
    order: -1;
  }

  .timeline__detail {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .timeline__detail-media {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline__milestones,
  .diff-grid,
  .impact-grid,
  .alliance-grid,
  .values-panel {
    grid-template-columns: 1fr;
  }

  .timeline__milestone {
    align-items: flex-start;
    text-align: left;
    padding: 16px;
    border: 1px solid rgba(0, 58, 88, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
  }

  .timeline__dot {
    position: absolute;
    top: 20px;
    right: 16px;
  }

  .timeline__thumb {
    align-self: flex-start;
  }

  .values-panel article,
  .values-panel article + article {
    border-left: 0;
  }

  .values-panel article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .impact-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .impact-callout p {
    padding-left: 0;
    border-left: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .timeline__hint {
    display: none;
  }
}

/* ========== TECHNOLOGY EXPERTISE PAGE ========== */
.te-layout {
  padding: 0;
  background: var(--white);
}

.te-layout__inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 40px;
}

/* ---- Sidebar ---- */
.te-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  padding: 22px 18px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(0, 58, 88, 0.05);
  backdrop-filter: blur(6px);
}

.te-sidebar__label {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.te-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.te-sidebar__nav a {
  position: relative;
  display: block;
  padding: 11px 14px 11px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.te-sidebar__nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.2s;
}

.te-sidebar__nav a:hover {
  color: var(--secondary);
  background: color-mix(in srgb, var(--navy) 5%, white);
}

.te-sidebar__nav a:focus-visible,
.te-sidebar__panel a:focus-visible,
.te-sidebar__toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.te-sidebar__nav a.is-active {
  background: color-mix(in srgb, var(--navy) 8%, white);
  color: var(--secondary);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(0, 58, 88, 0.06);
}

.te-sidebar__nav a.is-active::before {
  background: var(--primary);
}

.te-sidebar__mobile {
  display: none;
}

.te-sidebar__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.te-sidebar__toggle:hover,
.te-sidebar__toggle.is-open {
  border-color: color-mix(in srgb, var(--navy) 28%, var(--light-gray));
  box-shadow: 0 8px 24px rgba(0, 58, 88, 0.08);
}

.te-sidebar__toggle-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.te-sidebar__toggle-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.te-sidebar__toggle-current {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
}

.te-sidebar__chevron {
  flex: 0 0 auto;
  color: var(--slate);
  transition: transform 0.25s var(--ease);
}

.te-sidebar__toggle.is-open .te-sidebar__chevron {
  transform: rotate(180deg);
}

.te-sidebar__panel {
  margin-top: 8px;
  border: 1px solid rgba(0, 58, 88, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 58, 88, 0.06);
}

.te-sidebar__panel nav {
  display: flex;
  flex-direction: column;
  padding: 6px;
}

.te-sidebar__panel a {
  display: block;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 8px;
}

.te-sidebar__panel a:hover {
  background: color-mix(in srgb, var(--navy) 5%, white);
  color: var(--secondary);
}

.te-sidebar__panel a.is-active {
  background: color-mix(in srgb, var(--navy) 8%, white);
  color: var(--secondary);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--primary);
}

/* ---- Main column ---- */
.te-main {
  min-width: 0;
  padding-bottom: 24px;
}

.te-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

.te-section--tight {
  padding: 40px 0 56px;
}

.te-section--wash,
.te-section--paper {
  padding: 48px 28px;
  border-radius: 12px;
}

.te-section--wash {
  background:
    linear-gradient(165deg, #f3f7f9 0%, #ffffff 42%, #f7fafb 100%);
}

.te-section--paper {
  background:
    linear-gradient(165deg, #f2f5f8 0%, #e8eef3 48%, #f4f7f9 100%);
}

.te-section > .section-atmosphere {
  inset: 0;
  height: auto;
  border-radius: inherit;
}

.te-section__inner,
.te-hero__inner {
  position: relative;
  z-index: 1;
}

.te-section__title--left {
  text-align: left;
}

.te-section__title--left.section-title--accent::after {
  margin-left: 0;
  margin-right: auto;
}

.te-section__subtitle {
  margin: 48px 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.te-intro {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.te-intro .section-sub {
  margin-top: 18px;
}

.te-intro .section-lead {
  margin-top: 14px;
}

/* ---- Hero ---- */
.te-hero {
  position: relative;
  overflow: hidden;
  padding: 8px 0 56px;
}

.te-hero--wash {
  margin: 0 0 8px;
  padding: 28px 28px 48px;
  border-radius: 12px;
  background:
    linear-gradient(165deg, #f3f7f9 0%, #ffffff 42%, #f7fafb 100%);
}

.te-hero--wash > .section-atmosphere {
  inset: 0;
  height: auto;
  border-radius: inherit;
}

.te-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate);
}

.te-breadcrumb a {
  color: var(--slate);
}

.te-breadcrumb a:hover {
  color: var(--primary);
}

.te-breadcrumb [aria-current="page"] {
  color: var(--secondary);
  font-weight: 600;
}

.te-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.te-hero__copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--secondary);
}

.te-hero__copy p {
  margin: 18px 0 0;
  max-width: 540px;
  font-size: 1rem;
  line-height: 1.7;
}

.te-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.te-hero__media {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 28px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 58, 88, 0.08);
  box-shadow: 0 18px 50px rgba(0, 58, 88, 0.1);
}

.te-hero__media img {
  width: 100%;
  height: auto;
  max-width: 480px;
}

.te-hero__media--photo {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  line-height: 0;
}

.te-hero__media--photo img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

/* ---- At a Glance ---- */
.te-glance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.te-glance__item {
  --accent: var(--navy);
  --accent-soft: rgba(0, 58, 88, 0.1);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 20px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.te-glance__item:nth-child(1) { --accent: var(--primary); --accent-soft: rgba(221, 35, 45, 0.12); }
.te-glance__item:nth-child(2) { --accent: var(--navy); --accent-soft: rgba(0, 58, 88, 0.12); }
.te-glance__item:nth-child(3) { --accent: var(--teal); --accent-soft: rgba(121, 202, 198, 0.18); }
.te-glance__item:nth-child(4) { --accent: var(--warm); --accent-soft: rgba(255, 188, 125, 0.22); }

.te-glance__item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 16px 36px rgba(0, 58, 88, 0.1);
}

.te-glance__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 14px;
}

.te-glance__icon svg {
  width: 26px;
  height: 26px;
}

.te-glance__item h3 {
  margin: 2px 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.te-glance__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

/* ---- Solutions grid ---- */
.te-solutions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.te-solution {
  --accent: var(--navy);
  --accent-soft: rgba(0, 58, 88, 0.1);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 18px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.te-solution:nth-child(4n + 1) { --accent: var(--primary); --accent-soft: rgba(221, 35, 45, 0.12); }
.te-solution:nth-child(4n + 2) { --accent: var(--navy); --accent-soft: rgba(0, 58, 88, 0.12); }
.te-solution:nth-child(4n + 3) { --accent: var(--teal); --accent-soft: rgba(121, 202, 198, 0.18); }
.te-solution:nth-child(4n + 4) { --accent: var(--warm); --accent-soft: rgba(255, 188, 125, 0.22); }

.te-solution:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 16px 36px rgba(0, 58, 88, 0.1);
}

.te-solution__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--accent);
  background: var(--accent-soft);
}

.te-solution__icon svg {
  width: 24px;
  height: 24px;
}

.te-solution h4 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--secondary);
}

.te-solution p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
}

/* ---- Architecture ---- */
.te-architecture {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 36px;
}

.te-architecture__copy h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--secondary);
}

.te-architecture__copy p {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.65;
}

.te-architecture__legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  background: color-mix(in srgb, var(--navy) 4%, white);
}

.te-architecture__legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary);
}

.te-leg {
  flex: 0 0 auto;
  width: 28px;
  height: 0;
  border-top: 2px solid var(--secondary);
}

.te-leg--usb { border-top-style: dotted; }
.te-leg--audio { border-top-style: dashed; }
.te-leg--eth {
  border-top-width: 1px;
  border-top-style: solid;
}
.te-leg--ctrl {
  border-top-width: 1.5px;
  border-top-style: dashed;
  opacity: 0.75;
}
.te-leg--pwr {
  position: relative;
  border-top-color: var(--primary);
}
.te-leg--pwr::before,
.te-leg--pwr::after {
  content: "";
  position: absolute;
  top: -4px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  transform: rotate(45deg);
}
.te-leg--pwr::before { left: 4px; }
.te-leg--pwr::after { right: 4px; }

.te-leg--digital {
  border-top-width: 2px;
  border-top-style: dashed;
  border-top-color: var(--navy);
}

.te-leg--net {
  border-top-width: 3px;
  border-top-color: var(--navy);
}

.te-leg--wireless {
  border-top-width: 2px;
  border-top-style: dotted;
  border-top-color: var(--navy);
}

/* ---- Technology comparison ---- */
.te-choose {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.te-choose__item {
  --accent: var(--navy);
  --accent-soft: rgba(0, 58, 88, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 22px;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.te-choose__item:nth-child(1) { --accent: var(--primary); --accent-soft: rgba(221, 35, 45, 0.12); }
.te-choose__item:nth-child(2) { --accent: var(--navy); --accent-soft: rgba(0, 58, 88, 0.12); }
.te-choose__item:nth-child(3) { --accent: var(--teal); --accent-soft: rgba(121, 202, 198, 0.18); }

.te-choose__item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 16px 36px rgba(0, 58, 88, 0.1);
}

.te-choose__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.te-choose__icon svg {
  width: 26px;
  height: 26px;
}

.te-choose__item h3 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.te-choose__item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.te-intro .section-sub + .section-sub {
  margin-top: 14px;
}

/* ---- Editorial platform + requirements ---- */
.te-platform {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px 72px;
  align-items: start;
  margin-top: 36px;
}

.te-platform__copy p {
  margin: 0;
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}

.te-group {
  padding: 22px 0;
  border-top: 1px solid rgba(0, 58, 88, 0.12);
}

.te-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.te-group:last-child {
  padding-bottom: 0;
}

.te-group__label {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.te-group ul {
  display: grid;
  gap: 8px;
}

.te-group li {
  position: relative;
  padding-left: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary);
}

.te-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 1.5px;
  background: var(--primary);
}

.te-req-intro {
  max-width: 720px;
}

.te-req-intro p {
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.te-req {
  margin-top: 36px;
  border-top: 1px solid rgba(0, 58, 88, 0.12);
}

.te-req__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 8px 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 58, 88, 0.1);
}

.te-req__num {
  padding-top: 2px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.te-req__item h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--secondary);
}

.te-req__item p {
  margin: 0;
  max-width: 62ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

.te-architecture__media {
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 58, 88, 0.1);
}

.te-architecture__media img {
  width: 100%;
  height: auto;
  display: block;
}

.te-lightbox-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: inherit;
}

.te-lightbox-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.te-lightbox {
  position: relative;
  width: min(96vw, 1400px);
  max-height: 92vh;
  padding: 64px 24px 24px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: auto;
}

.te-lightbox::backdrop {
  background: rgba(8, 10, 16, 0.78);
}

.te-lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 96px);
  object-fit: contain;
}

.te-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

/* ---- Engineering ---- */
.te-eng-lead {
  margin: 36px 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.te-eng-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.te-eng-item {
  --accent: var(--navy);
  --accent-soft: rgba(0, 58, 88, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 14px;
  text-align: center;
  border: 1px solid rgba(0, 58, 88, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.te-eng-item:nth-child(5n + 1) { --accent: var(--primary); --accent-soft: rgba(221, 35, 45, 0.12); }
.te-eng-item:nth-child(5n + 2) { --accent: var(--navy); --accent-soft: rgba(0, 58, 88, 0.12); }
.te-eng-item:nth-child(5n + 3) { --accent: var(--teal); --accent-soft: rgba(121, 202, 198, 0.18); }
.te-eng-item:nth-child(5n + 4) { --accent: var(--warm); --accent-soft: rgba(255, 188, 125, 0.22); }
.te-eng-item:nth-child(5n + 5) { --accent: var(--navy); --accent-soft: rgba(0, 58, 88, 0.12); }

.te-eng-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  box-shadow: 0 14px 32px rgba(0, 58, 88, 0.1);
}

.te-eng-item__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  background: var(--accent-soft);
}

.te-eng-item__icon svg {
  width: 26px;
  height: 26px;
}

.te-eng-item h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--secondary);
}

/* ---- Paths teaser ---- */
.te-paths {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 40px;
}

.te-paths__chevron {
  display: grid;
  place-items: center;
  color: color-mix(in srgb, var(--navy) 28%, var(--light-gray));
  align-self: center;
}

.te-path-card {
  --accent: var(--white);
  --accent-soft: rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 28px 22px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: color-mix(in srgb, var(--teal) 42%, var(--navy));
  border-color: rgba(121, 202, 198, 0.35);
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(0, 58, 88, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.te-path-card:nth-child(1) {
  --accent: var(--white);
  --accent-soft: rgba(255, 255, 255, 0.16);
  background: color-mix(in srgb, var(--teal) 42%, var(--navy));
  border-color: rgba(121, 202, 198, 0.35);
}

.te-path-card:nth-child(3) {
  --accent: var(--teal);
  --accent-soft: rgba(121, 202, 198, 0.14);
  background: var(--navy);
  border-color: rgba(121, 202, 198, 0.18);
}

.te-path-card:nth-child(5) {
  --accent: var(--warm);
  --accent-soft: rgba(255, 188, 125, 0.16);
  background: var(--secondary);
  border-color: rgba(221, 35, 45, 0.28);
  box-shadow: 0 18px 44px rgba(35, 31, 32, 0.28);
}

.te-path-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 20px 48px rgba(0, 58, 88, 0.28),
    0 0 0 1px rgba(121, 202, 198, 0.12);
}

.te-path-card__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  background: var(--accent-soft);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22),
    0 0 0 6px rgba(121, 202, 198, 0.08);
}

.te-path-card:nth-child(1) .te-path-card__icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.08);
}

.te-path-card__icon svg {
  width: 26px;
  height: 26px;
}

.te-path-card h3 {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.te-path-card p {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.te-path-card .link-more {
  margin-top: 0;
  color: var(--white);
}

.te-path-card .link-more:hover {
  color: var(--teal);
}

.te-path-card:nth-child(5) .link-more:hover {
  color: var(--warm);
}

/* ---- TE responsive ---- */
@media (max-width: 1200px) {
  .te-solutions {
    grid-template-columns: repeat(2, 1fr);
  }

  .te-eng-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .te-paths {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .te-paths__chevron {
    display: none;
  }
}

@media (max-width: 1100px) {
  .te-layout__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }

  .te-sidebar {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .te-sidebar__desktop {
    display: none;
  }

  .te-sidebar__mobile {
    display: block;
  }

  .te-hero--wash {
    padding: 24px 20px 40px;
  }

  .te-section--wash,
  .te-section--paper {
    padding: 40px 20px;
  }
}

@media (max-width: 900px) {
  .te-hero__grid,
  .te-architecture,
  .te-choose,
  .te-platform {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .te-platform__copy p {
    max-width: none;
  }

  .te-req__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 14px;
  }

  .te-glance {
    grid-template-columns: 1fr;
  }

  .te-architecture__legend {
    grid-template-columns: 1fr;
  }

  .te-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .te-section {
    padding: 48px 0;
  }

  .te-hero--wash {
    padding: 20px 16px 36px;
    border-radius: 8px;
  }

  .te-section--wash,
  .te-section--paper {
    padding: 36px 16px;
    border-radius: 8px;
  }

  .te-solutions,
  .te-eng-grid {
    grid-template-columns: 1fr;
  }

  .te-path-card {
    flex-direction: column;
    gap: 12px;
  }

  .cta-actions {
    width: 100%;
  }
}

/* ========== CAPABILITIES PAGE ========== */
.caps-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(35, 31, 32, 0.72) 0%,
      rgba(35, 31, 32, 0.55) 34%,
      rgba(35, 31, 32, 0.28) 58%,
      rgba(35, 31, 32, 0.08) 78%,
      transparent 100%
    ),
    url("assets/capabilities-bg.jpg") center / cover no-repeat;
  background-color: var(--secondary);
}

.caps-hero > .container {
  position: relative;
  z-index: 1;
}

.caps-hero .about-hero__copy h1,
.caps-hero .about-hero__lead {
  color: var(--white);
}

.caps-hero .about-hero__copy > p:not(.about-hero__lead) {
  color: rgba(255, 255, 255, 0.88);
}

.caps-hero__media {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.caps-hero__media img {
  width: min(100%, 480px);
  height: auto;
  margin-inline: auto;
}

.caps-grid {
  margin-top: 48px;
}

.caps-grid .impact-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.caps-grid .impact-card__icon {
  margin: 0 0 16px;
}

.caps-grid .impact-card h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--secondary);
  line-height: 1.3;
}

.caps-grid .impact-card > p:last-child {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Lifecycle story — coherent left-to-right flow */
.lifecycle-track {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 12px;
  counter-reset: lifecycle;
  position: relative;
}

.lifecycle-track::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--light-gray) 0 6px,
    transparent 6px 12px
  );
  pointer-events: none;
}

.lifecycle-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4px;
  counter-increment: lifecycle;
}

.lifecycle-step__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(0, 58, 88, 0.08);
  border: 1px solid rgba(0, 58, 88, 0.1);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9);
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.lifecycle-step:nth-child(3n + 1) .lifecycle-step__icon {
  color: var(--primary);
  background: rgba(221, 35, 45, 0.1);
  border-color: rgba(221, 35, 45, 0.16);
}

.lifecycle-step:nth-child(3n + 2) .lifecycle-step__icon {
  color: var(--navy);
  background: rgba(0, 58, 88, 0.1);
}

.lifecycle-step:nth-child(3n) .lifecycle-step__icon {
  color: color-mix(in srgb, var(--teal) 70%, var(--navy));
  background: rgba(121, 202, 198, 0.18);
  border-color: rgba(121, 202, 198, 0.35);
}

.lifecycle-step:hover .lifecycle-step__icon {
  transform: translateY(-2px) scale(1.04);
}

.lifecycle-step__icon svg {
  width: 24px;
  height: 24px;
}

.lifecycle-step h3 {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

.lifecycle-step p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text);
}

/* Built to Fit — 3 About-style colored cards */
.caps-fit-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
}

.caps-fit-grid .diff-card {
  min-height: 100%;
}

.caps-fit-link {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.caps-fit-link:hover {
  color: var(--teal);
}

.caps-fit-callout {
  margin-top: 24px;
  align-items: flex-start;
}

.caps-fit-callout__copy {
  flex: 1;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.caps-fit-callout__copy strong {
  display: block;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.caps-fit-callout__copy p {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 1100px) {
  .lifecycle-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 18px;
  }

  .lifecycle-track::before {
    display: none;
  }

  .lifecycle-step {
    padding: 22px 16px;
    border: 1px solid rgba(0, 58, 88, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 28px rgba(0, 58, 88, 0.06);
    align-items: flex-start;
    text-align: left;
  }

  .lifecycle-step__icon {
    margin-bottom: 14px;
    box-shadow: none;
  }

  .lifecycle-step h3 {
    font-size: 0.84rem;
  }

  .lifecycle-step p {
    font-size: 0.84rem;
  }

  .caps-fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .caps-hero {
    background:
      linear-gradient(
        180deg,
        rgba(35, 31, 32, 0.55) 0%,
        rgba(35, 31, 32, 0.45) 55%,
        rgba(35, 31, 32, 0.35) 100%
      ),
      url("assets/capabilities-bg.jpg") center / cover no-repeat;
  }

  .caps-hero .about-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .caps-hero__media {
    order: -1;
    min-height: 240px;
    padding: 0;
  }

  .caps-hero__media img {
    width: min(100%, 320px);
  }

  .lifecycle-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lifecycle-track {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }

  .lifecycle-step {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 18px 16px;
  }

  .lifecycle-step__icon {
    margin: 0;
  }

  .lifecycle-step h3 {
    flex: 1;
    margin: 0;
    align-self: center;
  }

  .lifecycle-step p {
    flex: 1 1 100%;
    margin-top: 12px;
  }

  .caps-fit-callout {
    flex-direction: column;
    gap: 14px;
  }

  .caps-fit-callout__copy {
    padding-left: 0;
    border-left: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }
}

/* ========== CONTACT PAGE ========== */
.hero--contact {
  min-height: clamp(280px, 38vh, 400px);
  background:
    linear-gradient(105deg, rgba(8, 10, 16, 0.72) 0%, rgba(8, 10, 16, 0.48) 42%, rgba(8, 10, 16, 0.22) 100%),
    url("assets/contact-us-background.jpg") center / cover no-repeat,
    #12151c;
}

.hero--contact .hero-layout {
  grid-template-columns: minmax(0, 1fr);
  padding: 56px 0;
}

.hero--contact .hero-copy {
  max-width: 40rem;
}

#inquiry,
#global {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact-intro {
  padding-top: 8px;
}

.contact-intro h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--secondary);
  line-height: 1.3;
}

.contact-intro p {
  margin: 18px 0 0;
  max-width: 36rem;
  font-size: 1rem;
}

.contact-card {
  padding: 40px 36px;
  border: 1px solid var(--light-gray);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(35, 31, 32, 0.06);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.contact-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.contact-field .req {
  color: var(--primary);
}

.contact-field .optional {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--slate);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  background: var(--white);
  color: var(--secondary);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--secondary) 50%),
    linear-gradient(135deg, var(--secondary) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: color-mix(in srgb, var(--navy) 28%, var(--light-gray));
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}

.contact-field input.is-invalid,
.contact-field select.is-invalid,
.contact-field textarea.is-invalid {
  border-color: var(--primary);
}

.contact-error {
  margin: 0;
  font-size: 0.8rem;
  color: var(--accent);
}

.contact-form .btn {
  justify-self: start;
  margin-top: 4px;
}

.contact-form .btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.contact-privacy {
  margin: 0;
  font-size: 0.82rem;
  color: var(--slate);
}

.contact-success {
  padding: 12px 0 8px;
}

.contact-success h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
}

.contact-success p {
  margin: 12px 0 0;
}

.contact-success [tabindex="-1"]:focus {
  outline: none;
}

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

  .contact-card {
    padding: 32px 24px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .hero--contact {
    min-height: 0;
  }

  .hero--contact .hero-layout {
    padding: 44px 0 40px;
  }

  .contact-card {
    padding: 28px 18px;
  }
}
