/* ==========================================================================
   Component styles — ported from the React component tree. Class names use
   a "te-" prefix (block__element--modifier, loosely BEM) instead of Tailwind
   utility strings, but every visual value (color, spacing, radius, shadow,
   breakpoint) is carried over unchanged from the original component.
   ========================================================================== */

/* ---------- Animations (Header.jsx dropdown / MobileMenu.jsx / FAQAccordion.jsx) --- */

@keyframes te-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes te-slide-down {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes te-accordion-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.te-animate-dropdown { animation: te-dropdown-in 160ms ease-out; }
.te-animate-slide-down { animation: te-slide-down 200ms ease-out; }
.te-animate-accordion { animation: te-accordion-in 180ms ease-out; }

/* ---------- Button (components/common/Button.jsx) ---------------------------- */

.te-btn {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--te-btn-radius);
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 200ms ease;
  text-align: center;
}
.te-btn:disabled { opacity: 0.5; pointer-events: none; }
.te-btn:active { transform: translateY(0); box-shadow: none; }

.te-btn--sm { padding: 0.625rem 1rem; font-size: 0.875rem; }
.te-btn--md { padding: 0.75rem 1.25rem; font-size: 0.9375rem; }
.te-btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
@media (min-width: 640px) {
  .te-btn--md { font-size: 1rem; }
  .te-btn--lg { font-size: 1.125rem; }
}

.te-btn--primary { background: var(--te-brand-600); color: #fff; box-shadow: var(--te-shadow-card); }
.te-btn--primary:hover { background: var(--te-brand-700); box-shadow: var(--te-shadow-card-hover); transform: translateY(-2px); }

.te-btn--secondary { background: #fff; color: var(--te-navy-900); border-color: var(--te-navy-200); }
.te-btn--secondary:hover { border-color: var(--te-brand-400); color: var(--te-brand-700); transform: translateY(-2px); }

.te-btn--outline { background: transparent; color: var(--te-navy-700); border-color: var(--te-navy-500); }
.te-btn--outline:hover { border-color: var(--te-brand-500); color: var(--te-brand-700); background: rgba(238, 246, 255, 0.6); }

.te-btn--light,
.te-btn--outline-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.te-btn--light:hover,
.te-btn--outline-on-dark:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); }

.te-btn--dark { background: var(--te-navy-950); color: #fff; box-shadow: var(--te-shadow-card); }
.te-btn--dark:hover { background: var(--te-navy-900); box-shadow: var(--te-shadow-card-hover); transform: translateY(-2px); }

.te-btn--ghost { background: transparent; color: var(--te-brand-600); padding-inline: 0; }
.te-btn--ghost:hover { color: var(--te-brand-700); }

/* ---------- Card (components/common/Card.jsx) --------------------------------- */

.te-card {
  border-radius: var(--te-radius-2xl);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--te-shadow-card);
  border: 1px solid var(--te-navy-100);
}
.te-card--dashed { border-style: dashed; border-color: var(--te-navy-200); }
.te-card--interactive { transition: all 300ms ease; }
.te-card--interactive:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 219, 255, 0.6);
  box-shadow: var(--te-shadow-card-glow);
}

/* ---------- Icon base sizing -----------------------------------------------
   techndata_icon() outputs class="te-icon" by default on every inline SVG
   in the theme. Without an explicit size, an unsized inline SVG falls back
   to browser-default dimensions (e.g. 300x150) instead of matching its
   24x24 viewBox — this is the base safety net so every icon call is
   correctly sized even when not wrapped in a fixed-size container. -------- */

.te-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.te-icon--sm { width: 1.25rem; height: 1.25rem; }

/* Generic circular/rounded icon badge — a fixed-size flex container so any
   icon placed inside is centered and constrained regardless of context.
   Specific contexts below (value pillars, industry chips) override size/
   color as needed but always inherit this base sizing. */
.te-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--te-radius-xl);
  flex-shrink: 0;
}

/* ---------- Badge / pill chips -------------------------------------------- */

.te-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--te-navy-200);
  background: #fff;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--te-navy-700);
  transition: all 200ms ease;
}
.te-badge:hover { border-color: var(--te-brand-400); background: var(--te-brand-50); color: var(--te-brand-700); }

/* ==========================================================================
   HEADER / NAVBAR / MEGA-MENU / MOBILE MENU
   (components/layout/Header.jsx, Navbar.jsx, MobileMenu.jsx)
   ========================================================================== */

.te-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--te-navy-100);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.te-header__bar {
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
}

.te-header__logo img { height: 2.25rem; width: auto; }
@media (min-width: 640px) { .te-header__logo img { height: 2.5rem; } }

.te-header__cta { display: none; }
@media (min-width: 1280px) { .te-header__cta { display: block; } }

.te-header__menu-toggle {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--te-radius-lg);
  color: var(--te-navy-800);
  background: none;
  border: none;
}
.te-header__menu-toggle:hover { background: var(--te-navy-50); }
@media (min-width: 1024px) { .te-header__menu-toggle { display: none; } }
.te-header__menu-toggle svg { height: 1.5rem; width: 1.5rem; }

/* Desktop nav */
.te-nav { display: none; }
@media (min-width: 1024px) { .te-nav { display: block; } }

.te-nav__list { display: flex; align-items: center; gap: 0.25rem; }
.te-nav__item { position: relative; }

.te-nav__link,
.te-nav__trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: var(--te-radius-lg);
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--te-navy-700);
  background: none;
  border: none;
  transition: color 150ms ease;
}
.te-nav__link:hover,
.te-nav__trigger:hover { color: var(--te-brand-700); }
.te-nav__link.is-active { color: var(--te-brand-700); }

.te-nav__chevron { height: 0.875rem; width: 0.875rem; transition: transform 150ms ease; }
.te-nav__trigger[aria-expanded="true"] .te-nav__chevron { transform: rotate(180deg); }

.te-mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 40;
  width: min(92vw, 44rem);
  transform: translateX(-50%);
  padding-top: 0.75rem;
}

.te-mega-menu__panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 2rem;
  border-radius: var(--te-radius-2xl);
  border: 1px solid var(--te-navy-100);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--te-shadow-card-hover);
}
@media (min-width: 640px) { .te-mega-menu__panel { grid-template-columns: repeat(3, 1fr); } }

.te-mega-menu__all {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--te-brand-600);
}
.te-mega-menu__all:hover { color: var(--te-brand-700); }

.te-mega-menu__link {
  border-radius: var(--te-radius-lg);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--te-navy-700);
  transition: all 150ms ease;
}
.te-mega-menu__link:hover { background: var(--te-brand-50); color: var(--te-brand-700); }

/* Mobile menu */
.te-mobile-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
  border-top: 1px solid var(--te-navy-100);
  background: #fff;
  box-shadow: var(--te-shadow-card-hover);
}
@media (min-width: 1024px) { .te-mobile-menu { display: none; } }

.te-mobile-menu__nav { display: flex; flex-direction: column; padding: 0.75rem 1rem; }

.te-mobile-menu__link {
  border-radius: var(--te-radius-lg);
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--te-navy-800);
}
.te-mobile-menu__link:hover { background: var(--te-navy-50); }
.te-mobile-menu__link.is-active { background: var(--te-brand-50); color: var(--te-brand-700); }

.te-mobile-menu__group { border-bottom: 1px solid var(--te-navy-50); }
.te-mobile-menu__group:last-child { border-bottom: none; }

.te-mobile-menu__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--te-radius-lg);
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--te-navy-800);
  background: none;
  border: none;
}
.te-mobile-menu__trigger:hover { background: var(--te-navy-50); }
.te-mobile-menu__trigger svg { height: 1rem; width: 1rem; transition: transform 150ms ease; }
.te-mobile-menu__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.te-mobile-menu__submenu { display: flex; flex-direction: column; gap: 0.125rem; padding-bottom: 0.5rem; padding-left: 1rem; }
.te-mobile-menu__submenu .te-mobile-menu__all-link {
  border-radius: var(--te-radius-lg);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--te-brand-600);
}
.te-mobile-menu__submenu .te-mobile-menu__all-link:hover { background: var(--te-brand-50); }
.te-mobile-menu__submenu .te-mobile-menu__link { font-size: 0.875rem; font-weight: 400; color: var(--te-navy-600); padding: 0.5rem 0.75rem; }
.te-mobile-menu__submenu .te-mobile-menu__link.is-active { background: var(--te-brand-50); color: var(--te-brand-700); }

/* ==========================================================================
   PAGE HERO (interior pages) + BREADCRUMB
   ========================================================================== */

.te-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--te-navy-950);
  color: #fff;
  padding-block: 3.5rem;
}
@media (min-width: 768px) { .te-page-hero { padding-block: 5rem; } }

.te-page-hero__glow {
  position: absolute;
  right: 0;
  top: -8rem;
  height: 20rem;
  width: 20rem;
  border-radius: 50%;
  background: rgba(11, 96, 224, 0.25);
  filter: blur(64px);
  pointer-events: none;
}

.te-page-hero__watermark {
  position: absolute;
  right: -1.5rem;
  bottom: 0;
  height: 14rem;
  width: 14rem;
  color: rgba(255, 255, 255, 0.06);
  display: none;
  pointer-events: none;
}
@media (min-width: 640px) { .te-page-hero__watermark { display: block; } }
@media (min-width: 1024px) { .te-page-hero__watermark { height: 18rem; width: 18rem; } }

.te-page-hero__inner { position: relative; }
.te-page-hero__content { position: relative; }

/* Split variant: content left, rounded photo right — the detail-page
   equivalent of the Home hero's composition. Single column until lg so
   the photo stacks under the copy on tablet/mobile. */
.te-page-hero--split .te-page-hero__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .te-page-hero--split .te-page-hero__inner { grid-template-columns: repeat(12, 1fr); gap: 3.5rem; }
  .te-page-hero--split .te-page-hero__content { grid-column: span 7; }
  .te-page-hero--split .te-page-hero__media { grid-column: span 5; }
}
.te-page-hero--split .te-page-hero__desc { max-width: 34rem; }

.te-page-hero__media { position: relative; }
.te-page-hero__media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--te-radius-3xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
}
.te-page-hero__media-glow {
  position: absolute; inset: -0.75rem; border-radius: 2rem; pointer-events: none;
  background: linear-gradient(to bottom right, rgba(28, 125, 255, 0.35), rgba(240, 160, 46, 0.25));
  filter: blur(24px);
}
.te-page-hero__media-icon {
  position: absolute; left: -0.75rem; bottom: -0.75rem;
  display: inline-flex; height: 3.25rem; width: 3.25rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl);
  background: var(--te-accent-500); color: #fff;
  box-shadow: var(--te-shadow-card-hover);
}
.te-page-hero__media-icon svg { height: 1.5rem; width: 1.5rem; }

.te-page-hero h1 {
  max-width: 48rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}
@media (min-width: 640px) { .te-page-hero h1 { font-size: 2.25rem; } }
@media (min-width: 1024px) { .te-page-hero h1 { font-size: 3rem; } }

.te-page-hero__desc {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.te-breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}
.te-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; }
.te-breadcrumb li { display: flex; align-items: center; gap: 0.375rem; }
.te-breadcrumb a:hover { color: #fff; }
.te-breadcrumb [aria-current="page"] { color: rgba(255, 255, 255, 0.8); }

/* ==========================================================================
   HOME — HERO
   ========================================================================== */

.te-hero {
  position: relative;
  overflow: hidden;
  background: var(--te-navy-950);
  color: #fff;
}
.te-hero__glow-a {
  position: absolute; top: -10rem; right: 0; height: 32rem; width: 32rem; border-radius: 50%;
  background: rgba(11, 96, 224, 0.3); filter: blur(64px); pointer-events: none;
}
.te-hero__glow-b {
  position: absolute; bottom: -8rem; left: -8rem; height: 28rem; width: 28rem; border-radius: 50%;
  background: rgba(23, 201, 174, 0.2); filter: blur(64px); pointer-events: none;
}
/* Vertical rhythm tuned to the reference hero, which is noticeably more
   compact than the original py-20/24/32 scale (that made the section
   ~900px tall at 1440px). */
.te-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2.5rem;
  padding-block: 3rem;
}
@media (min-width: 640px) { .te-hero__grid { padding-block: 4rem; } }
@media (min-width: 1024px) {
  .te-hero__grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; padding-block: 4.5rem; }
  /* Text column slightly narrower than the visual, as in the reference. */
  .te-hero__content { grid-column: span 6; }
  .te-hero__media { grid-column: span 6; }
}

.te-hero__kicker {
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.te-hero h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}
@media (min-width: 640px) { .te-hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .te-hero h1 { font-size: 3.25rem; } }

.te-hero__subhead { margin-top: 1rem; font-size: 1.25rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
@media (min-width: 640px) { .te-hero__subhead { font-size: 1.375rem; } }

.te-hero__body { margin-top: 1rem; max-width: 34rem; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.65); }
@media (min-width: 640px) { .te-hero__body { font-size: 1.0625rem; } }

.te-hero__actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .te-hero__actions { flex-direction: row; } }

.te-hero__media { position: relative; }
.te-hero__media-inner { position: relative; margin-inline: auto; max-width: 32rem; }
@media (min-width: 1024px) { .te-hero__media-inner { max-width: none; } }

.te-hero__media-glow {
  position: absolute; inset: -1rem; border-radius: 2rem;
  background: linear-gradient(to bottom right, rgba(28, 125, 255, 0.4), rgba(23, 201, 174, 0.3));
  filter: blur(24px); pointer-events: none;
}

.te-hero__image {
  position: relative;
  /* 5:4 — matches the hero visual's proportions in the reference design. */
  aspect-ratio: 5 / 4;
  width: 100%;
  border-radius: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.te-hero__stat-badge {
  position: absolute; bottom: -1.5rem; left: -1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
  border-radius: var(--te-radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 32, 0.95);
  padding: 1rem 1.25rem;
  box-shadow: var(--te-shadow-card-hover);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .te-hero__stat-badge { left: -2.5rem; } }
.te-hero__stat-badge strong { font-family: var(--te-font-display); font-size: 1.875rem; font-weight: 800; color: var(--te-accent-400); }
.te-hero__stat-badge span { max-width: 8rem; font-size: 0.75rem; line-height: 1.3; color: rgba(255, 255, 255, 0.7); }

.te-hero__live-badge {
  position: absolute; top: -1.25rem; right: -0.75rem;
  display: none; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(11, 18, 32, 0.95);
  padding: 0.625rem 1rem;
  box-shadow: var(--te-shadow-card-hover);
  backdrop-filter: blur(8px);
  font-size: 0.75rem; font-weight: 600; color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 640px) { .te-hero__live-badge { display: flex; } }
.te-hero__live-dot { height: 0.5rem; width: 0.5rem; border-radius: 50%; background: var(--te-accent-400); animation: te-pulse 2s ease-in-out infinite; }
@keyframes te-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Home hero — warm/cream variant matching the new visual reference (same
   headline/body/CTAs/badges, just restyled: light background, dark text,
   soft blob shapes instead of the dark grid/glow, a rounder image mask). */
.te-hero--cream {
  background: var(--te-cream-100);
  color: var(--te-navy-900);
}
.te-hero__blob-a {
  position: absolute; top: -6rem; right: -4rem; height: 26rem; width: 26rem; border-radius: 50%;
  background: color-mix(in srgb, var(--te-brand-200) 55%, transparent); filter: blur(48px); pointer-events: none;
}
.te-hero__blob-b {
  position: absolute; bottom: -8rem; left: -6rem; height: 22rem; width: 22rem; border-radius: 50%;
  background: color-mix(in srgb, var(--te-accent-400) 35%, transparent); filter: blur(48px); pointer-events: none;
}
.te-hero--cream .te-hero__kicker {
  border-color: var(--te-navy-200);
  background: #fff;
  color: var(--te-navy-700);
}
.te-hero--cream h1 { color: var(--te-navy-950); }
.te-hero--cream .te-hero__subhead { color: var(--te-navy-800); }
.te-hero--cream .te-hero__body { color: var(--te-navy-600); }
.te-hero--cream .te-hero__image { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; border-color: var(--te-navy-100); }
.te-hero--cream .te-hero__media-glow { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; }

/* ==========================================================================
   HOME — STATS (trust band)
   ========================================================================== */

.te-stats { position: relative; overflow: hidden; }
.te-stats h2 { text-align: center; font-size: 1.875rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .te-stats h2 { font-size: 2.25rem; } }

.te-stats__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .te-stats__grid { grid-template-columns: repeat(4, 1fr); }
  .te-stats__item + .te-stats__item { border-left: 1px solid rgba(255, 255, 255, 0.1); }
}
.te-stats__item { display: flex; flex-direction: column; align-items: center; padding-inline: 1rem; text-align: center; }
.te-stats__icon {
  display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: var(--te-accent-400);
}
.te-stats__value { margin-top: 1rem; font-family: var(--te-font-display); font-size: 2.25rem; font-weight: 800; color: var(--te-accent-400); }
@media (min-width: 640px) { .te-stats__value { font-size: 3rem; } }
.te-stats__desc { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.7); }
@media (min-width: 640px) { .te-stats__desc { font-size: 1rem; } }

/* ==========================================================================
   HOME — WHO WE ARE
   ========================================================================== */

.te-who-we-are__grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .te-who-we-are__grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
  .te-who-we-are__media { grid-column: span 5; }
  .te-who-we-are__content { grid-column: span 7; }
}
.te-who-we-are__media { position: relative; }
.te-who-we-are__media-bg {
  position: absolute; inset: -0.75rem; z-index: -1; border-radius: 1.75rem;
  background: linear-gradient(to bottom right, var(--te-brand-100), rgba(23, 201, 174, 0.15));
}
.te-who-we-are__media img {
  aspect-ratio: 4 / 3; width: 100%; border-radius: var(--te-radius-2xl); object-fit: cover; box-shadow: var(--te-shadow-card-hover);
}
.te-who-we-are__media--round { position: relative; padding-bottom: 2.5rem; padding-right: 2.5rem; }
.te-who-we-are__media--round img {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  max-width: 26rem;
  margin-inline: auto;
  object-fit: cover;
}
.te-who-we-are__media--round .te-who-we-are__media-bg { border-radius: 50%; }
/* Small overlapping accent circle — same photo, cropped to a different
   detail via object-position, layered over the main circle's edge to
   match the reference's stacked-circle composition without introducing a
   second image asset. */
.te-who-we-are__media-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 35% !important;
  max-width: 9rem !important;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 4px solid var(--te-cream-100);
  box-shadow: var(--te-shadow-card-hover);
  object-position: 80% 30%;
}
.te-who-we-are__content h2 { font-size: 1.875rem; font-weight: 700; color: var(--te-navy-950); }
@media (min-width: 640px) { .te-who-we-are__content h2 { font-size: 2.25rem; } }
.te-who-we-are__content > p { margin-top: 1.25rem; font-size: 1.125rem; line-height: 1.65; color: var(--te-navy-600); }

.te-who-we-are__points { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; }
.te-who-we-are__point { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--te-navy-700); }
.te-who-we-are__point-icon {
  margin-top: 0.125rem; display: inline-flex; height: 1.25rem; width: 1.25rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(23, 201, 174, 0.1); color: var(--te-accent-600);
}

/* ==========================================================================
   HOME — SOLUTIONS BENTO GRID
   ========================================================================== */

.te-solutions-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .te-solutions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .te-solutions-grid { grid-template-columns: repeat(4, 1fr); grid-auto-flow: row dense; } }

.te-solution-tile--featured {
  position: relative;
  grid-column: span 1;
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: var(--te-radius-2xl);
  box-shadow: var(--te-shadow-card);
  transition: box-shadow 300ms ease;
}
.te-solution-tile--featured:hover { box-shadow: var(--te-shadow-card-hover); }
@media (min-width: 640px) { .te-solution-tile--featured { grid-column: span 2; } }
@media (min-width: 1024px) { .te-solution-tile--featured { grid-column: span 2; grid-row: span 2; min-height: 100%; } }

.te-solution-tile--featured img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; transition: transform 500ms ease; }
.te-solution-tile--featured:hover img { transform: scale(1.05); }
.te-solution-tile--featured::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--te-navy-950) 0%, rgba(6, 11, 24, 0.7) 55%, rgba(6, 11, 24, 0.1) 100%);
}
/* z-index needed: the ::after gradient is the element's last-painted
   child, so without this it renders over the copy and dims it. */
.te-solution-tile--featured__body { position: relative; z-index: 1; padding: 1.75rem; }
@media (min-width: 640px) { .te-solution-tile--featured__body { padding: 2rem; } }
.te-solution-tile--featured__icon {
  display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl); background: rgba(255, 255, 255, 0.1); color: #fff; backdrop-filter: blur(4px);
}
.te-solution-tile--featured h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .te-solution-tile--featured h3 { font-size: 1.5rem; } }
.te-solution-tile--featured p { margin-top: 0.5rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
.te-solution-tile--featured .te-tile-link {
  margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--te-accent-400);
}

.te-solution-tile {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--te-radius-2xl); border: 1px solid var(--te-navy-100); background: #fff;
  box-shadow: var(--te-shadow-card); transition: all 300ms ease;
}
.te-solution-tile:hover { transform: translateY(-4px); border-color: rgba(183, 219, 255, 0.6); box-shadow: var(--te-shadow-card-glow); }
.te-solution-tile__media { position: relative; height: 5.5rem; width: 100%; overflow: hidden; }
.te-solution-tile__media img { height: 100%; width: 100%; object-fit: cover; transition: transform 500ms ease; }
.te-solution-tile:hover .te-solution-tile__media img { transform: scale(1.05); }
.te-solution-tile__media::after { content: ""; position: absolute; inset: 0; background: rgba(6, 11, 24, 0.25); }
.te-solution-tile__media-icon {
  position: absolute; bottom: 0.75rem; left: 1rem; z-index: 1;
  display: inline-flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-lg); background: #fff; color: var(--te-brand-600); box-shadow: var(--te-shadow-card);
}
.te-solution-tile__icon-only { padding: 1.5rem 1.5rem 0; }
.te-solution-tile__icon-only span {
  display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl); background: var(--te-brand-50); color: var(--te-brand-600); transition: all 200ms ease;
}
.te-solution-tile:hover .te-solution-tile__icon-only span { background: var(--te-brand-600); color: #fff; }
.te-solution-tile__body { display: flex; flex: 1; flex-direction: column; padding: 0.875rem 1.25rem 1.25rem; }
.te-solution-tile__body h3 { font-size: 1rem; font-weight: 600; color: var(--te-navy-950); }
.te-solution-tile__body p { margin-top: 0.375rem; flex: 1; font-size: 0.875rem; line-height: 1.5; color: var(--te-navy-600); }
.te-solution-tile .te-tile-link {
  margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--te-brand-600);
}
.te-tile-link svg { transition: transform 200ms ease; }
.te-solution-tile:hover .te-tile-link svg,
.te-solution-tile--featured:hover .te-tile-link svg { transform: translateX(0.25rem); }

/* ==========================================================================
   HOME — SERVICES NUMBERED LIST
   ========================================================================== */

/* Home Services — heading row with "View all" + scroll-arrow controls on
   the right, matching the reference's header layout. */
.te-services-heading-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.te-services-heading-row__controls { display: flex; align-items: center; gap: 1rem; }

/* Generic prev/next scroll-arrow control, reused by any horizontally
   scrolling card track (see assets/js/navigation.js `initScrollArrows()`). */
.te-scroll-arrows { display: flex; align-items: center; gap: 0.5rem; }
.te-scroll-arrow {
  display: inline-flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--te-navy-200); background: #fff; color: var(--te-navy-700); transition: all 150ms ease;
}
.te-scroll-arrow svg { height: 1rem; width: 1rem; }
.te-scroll-arrow--prev svg { transform: rotate(180deg); }
.te-scroll-arrow:not(:disabled):hover { background: var(--te-brand-600); border-color: var(--te-brand-600); color: #fff; }
.te-scroll-arrow:disabled { opacity: 0.35; cursor: default; }

/* Icon-card horizontal row (Home Services section) — restyled to match
   the new visual reference's "We Provide Services" layout: uniform white
   cards in a single scrollable row with prev/next controls, colorful icon
   badges, first card highlighted with a colored border — in place of the
   previous numbered-list layout. Same service content/links, presentation
   only; scrolls because there are 6 services (more than the reference's 4)
   so nothing existing has to be cut to fit. */
.te-services-list {
  margin-top: 3rem;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.te-services-list::-webkit-scrollbar { display: none; }

.te-services-list__item { flex: 0 0 auto; width: 85%; scroll-snap-align: start; }
@media (min-width: 560px) { .te-services-list__item { width: calc(50% - 0.625rem); } }
@media (min-width: 1024px) { .te-services-list__item { width: calc(33.333% - 0.834rem); } }

.te-services-list__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: var(--te-radius-2xl);
  border: 1px solid var(--te-navy-100);
  background: #fff;
  padding: 1.75rem;
  box-shadow: var(--te-shadow-card);
  transition: all 200ms ease;
}
.te-services-list__item:first-child .te-services-list__link { border-color: var(--te-brand-500); border-width: 2px; }
.te-services-list__link:hover { transform: translateY(-4px); box-shadow: var(--te-shadow-card-hover); border-color: var(--te-brand-400); }

.te-services-list__num { display: none; }

/* Photo strip bleeding to the card's edges, with the icon badge overlaid —
   same pattern as the Solutions bento tiles. Falls back to a bare icon
   badge (no negative margin) for any service without a sourced photo. */
.te-services-list__media {
  position: relative;
  margin: -1.75rem -1.75rem 1.25rem;
  height: 9rem;
  overflow: hidden;
  border-radius: var(--te-radius-2xl) var(--te-radius-2xl) 0 0;
}
.te-services-list__media img { height: 100%; width: 100%; object-fit: cover; transition: transform 500ms ease; }
.te-services-list__link:hover .te-services-list__media img { transform: scale(1.05); }
.te-services-list__icon--on-media {
  position: absolute; left: 1rem; bottom: -1.25rem;
  box-shadow: var(--te-shadow-card-hover);
}

.te-services-list__icon {
  display: inline-flex; height: 3rem; width: 3rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl); background: var(--te-brand-50); color: var(--te-brand-600); transition: all 150ms ease;
}
.te-services-list__item:nth-child(3n+2) .te-services-list__icon { background: color-mix(in srgb, var(--te-accent-400) 20%, transparent); color: var(--te-accent-600); }
.te-services-list__item:nth-child(3n) .te-services-list__icon { background: color-mix(in srgb, var(--te-navy-500) 12%, transparent); color: var(--te-navy-700); }
.te-services-list__link:hover .te-services-list__icon { background: var(--te-brand-600); color: #fff; }

.te-services-list__text { min-width: 0; flex: 1; margin-top: 0.5rem; }
.te-services-list__item:has(.te-services-list__media) .te-services-list__text { margin-top: 1.5rem; }
.te-services-list__text h3 { font-size: 1.0625rem; font-weight: 700; color: var(--te-navy-950); }
.te-services-list__text p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; color: var(--te-navy-600); }

.te-services-list__arrow { margin-top: 0.75rem; height: 1rem; width: 1rem; flex-shrink: 0; color: var(--te-brand-600); transition: all 150ms ease; }
.te-services-list__link:hover .te-services-list__arrow { transform: translateX(0.25rem); }
.te-services-list__link:hover .te-services-list__arrow { transform: translateX(0.25rem); color: var(--te-brand-600); }

/* ==========================================================================
   HOME — VALUE PILLARS ("What Sets Us Apart" / Why Choose Us)
   ========================================================================== */

.te-value-pillars { position: relative; overflow: hidden; }

/* "Expertise" split layout — icon-row list on one side, photo on the
   other, matching the new visual reference's composition for this
   section. Same 4 pillars/content, presentation only. */
.te-value-pillars__split-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
  .te-value-pillars__split-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
  .te-value-pillars__list-col { grid-column: span 7; }
  .te-value-pillars__media { grid-column: span 5; }
}
.te-value-pillars__list-col h2 { margin-top: 0.5rem; font-size: 1.875rem; font-weight: 700; line-height: 1.2; color: var(--te-navy-950); }
@media (min-width: 640px) { .te-value-pillars__list-col h2 { font-size: 2.25rem; } }
.te-value-pillars__list-intro { margin-top: 1rem; max-width: 32rem; font-size: 1.0625rem; line-height: 1.6; color: var(--te-navy-600); }

.te-value-pillars__rows { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.te-value-pillars__row { display: flex; align-items: flex-start; gap: 1rem; }
.te-value-pillars__row span.te-icon-badge {
  display: inline-flex; height: 2.75rem; width: 2.75rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl); background: color-mix(in srgb, var(--te-accent-400) 18%, transparent); color: var(--te-accent-600);
}
.te-value-pillars__row:nth-child(even) span.te-icon-badge { background: var(--te-brand-50); color: var(--te-brand-600); }
.te-value-pillars__row h3 { font-size: 1.0625rem; font-weight: 600; color: var(--te-navy-950); }
.te-value-pillars__row p { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.5; color: var(--te-navy-600); }

.te-value-pillars__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--te-radius-2xl);
  box-shadow: var(--te-shadow-card-hover); border: 1px solid var(--te-navy-100);
}

/* ==========================================================================
   HOME — INDUSTRIES OVERVIEW
   ========================================================================== */

.te-industries-overview__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .te-industries-overview__grid { grid-template-columns: repeat(12, 1fr); gap: 2.5rem; }
  .te-industries-overview__media { grid-column: span 5; }
  .te-industries-overview__list { grid-column: span 7; }
}
.te-industries-overview__media { position: relative; overflow: hidden; border-radius: var(--te-radius-2xl); }
/* Tall enough on narrow widths that the absolutely-positioned caption
   (eyebrow + heading + description + button) never exceeds the image's
   height and gets clipped by `overflow:hidden` — caught live: at 360px
   the caption needed ~297px but the image was fixed at 256px, silently
   clipping the eyebrow label against the top edge. */
.te-industries-overview__media img { height: 23rem; width: 100%; object-fit: cover; }
@media (min-width: 480px) { .te-industries-overview__media img { height: 20rem; } }
@media (min-width: 1024px) { .te-industries-overview__media img { height: 100%; min-height: 26rem; } }
.te-industries-overview__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--te-navy-950) 0%, rgba(6, 11, 24, 0.5) 55%, transparent 100%);
}
.te-industries-overview__caption { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 1.75rem; color: #fff; }
@media (min-width: 640px) { .te-industries-overview__caption { padding: 2rem; } }
.te-industries-overview__caption h2 { margin-top: 0.5rem; font-size: 1.5rem; font-weight: 700; }
@media (min-width: 640px) { .te-industries-overview__caption h2 { font-size: 1.875rem; } }
.te-industries-overview__caption p { margin-top: 0.75rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }

.te-industries-overview__list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .te-industries-overview__list-grid { grid-template-columns: repeat(3, 1fr); } }
.te-industry-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem;
  border-radius: var(--te-radius-xl); border: 1px solid var(--te-navy-100); background: #fff; padding: 1rem;
  box-shadow: var(--te-shadow-card); transition: all 200ms ease;
}
.te-industry-chip:hover { transform: translateY(-2px); border-color: var(--te-brand-200); box-shadow: var(--te-shadow-card-hover); }
.te-industry-chip span.te-icon-badge {
  display: inline-flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-lg); background: var(--te-brand-50); color: var(--te-brand-600); transition: all 200ms ease;
}
.te-industry-chip:hover span.te-icon-badge { background: var(--te-brand-600); color: #fff; }
.te-industry-chip .te-industry-chip__label { font-size: 0.875rem; font-weight: 600; line-height: 1.3; color: var(--te-navy-800); }

/* Small relevant photo thumbnail, same slot/size as the plain icon badge
   above, for industries with a sourced image. */
.te-industry-chip__thumb {
  display: block; height: 2.25rem; width: 2.25rem; flex-shrink: 0;
  border-radius: var(--te-radius-lg); overflow: hidden;
}
.te-industry-chip__thumb img { height: 100%; width: 100%; object-fit: cover; }

/* ==========================================================================
   HOME — HOW WE WORK (timeline)
   ========================================================================== */

.te-how-we-work__desktop { position: relative; margin-top: 4rem; display: none; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .te-how-we-work__desktop { display: grid; } }
.te-how-we-work__line {
  position: absolute; left: 8%; right: 8%; top: 1.5rem; height: 2px;
  background: linear-gradient(to right, var(--te-brand-300), var(--te-brand-500), var(--te-accent-400));
}
.te-how-we-work__step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.te-how-we-work__num {
  position: relative; z-index: 1; display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl); background: var(--te-brand-600); color: #fff; box-shadow: var(--te-shadow-card);
}
.te-how-we-work__step-label { margin-top: 1rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--te-brand-600); }
.te-how-we-work__step h3 { margin-top: 0.25rem; font-size: 1rem; font-weight: 600; color: var(--te-navy-950); }
.te-how-we-work__step p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; color: var(--te-navy-600); }

/* Dark teal band variant (see .te-section--teal-dark) — same timeline,
   text/line/number-badge recolored for contrast against the dark
   background, matching the reference's full-width teal feature section
   in place of a fabricated product-dashboard image nothing existing
   corresponds to. */
.te-how-we-work--band .te-how-we-work__line { background: linear-gradient(to right, var(--te-accent-400), var(--te-accent-500), var(--te-accent-400)); opacity: 0.6; }
.te-how-we-work--band .te-how-we-work__num { background: var(--te-accent-500); box-shadow: 0 0 0 4px color-mix(in srgb, var(--te-brand-800) 60%, transparent); }
.te-how-we-work--band .te-how-we-work__step-label { color: var(--te-accent-400); }
.te-how-we-work--band .te-how-we-work__step h3 { color: #fff; }
.te-how-we-work--band .te-how-we-work__step p { color: rgba(255, 255, 255, 0.7); }

.te-how-we-work__mobile { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr; gap: 2.5rem 1.5rem; }
@media (min-width: 640px) { .te-how-we-work__mobile { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .te-how-we-work__mobile { display: none; } }
.te-how-we-work__mobile .te-how-we-work__step { position: relative; padding-left: 4rem; align-items: flex-start; text-align: left; }
.te-how-we-work__mobile .te-how-we-work__num { position: absolute; left: 0; top: 0; }
.te-how-we-work__mobile h3 { font-size: 1.125rem; }

/* ==========================================================================
   HOME — TESTIMONIALS (carousel)
   ========================================================================== */

.te-testimonials { position: relative; margin-inline: auto; margin-top: 3rem; max-width: 48rem; }
.te-testimonial-card {
  position: relative; border-radius: 1.5rem; border: 1px solid var(--te-navy-100); background: #fff;
  padding: 2rem; box-shadow: var(--te-shadow-card-hover);
}
@media (min-width: 640px) { .te-testimonial-card { padding: 3rem; } }
.te-testimonial-card .te-quote-icon { height: 3rem; width: 3rem; color: var(--te-brand-100); }
.te-testimonial-card blockquote { margin: 1rem 0 0; font-size: 1.25rem; font-weight: 500; line-height: 1.6; color: var(--te-navy-800); }
@media (min-width: 640px) { .te-testimonial-card blockquote { font-size: 1.5rem; } }
.te-testimonial-card figcaption { margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.025em; color: var(--te-brand-600); }

.te-testimonial-dots { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.te-testimonial-dot { height: 0.625rem; width: 0.625rem; border-radius: 9999px; background: var(--te-navy-200); border: none; padding: 0; transition: all 200ms ease; }
.te-testimonial-dot:hover { background: var(--te-navy-500); }
.te-testimonial-dot.is-active { width: 2rem; background: var(--te-brand-600); }

/* ==========================================================================
   CTA SECTION (shared — Home closing CTA, Solution/Service/Industry/About CTA)
   ========================================================================== */

.te-cta {
  position: relative; overflow: hidden; padding-block: 5rem; text-align: center; color: #fff;
}
@media (min-width: 640px) { .te-cta { padding-block: 6rem; } }
.te-cta--navy { background: var(--te-navy-900); }
.te-cta--gradient { background: linear-gradient(to bottom right, var(--te-brand-700), var(--te-brand-600), var(--te-accent-600)); }
.te-cta--image { background: var(--te-navy-950); }
.te-cta__bg-image { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }
.te-cta__bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, rgba(6, 11, 24, 0.95), rgba(6, 11, 24, 0.85), rgba(15, 55, 115, 0.8));
}
/* Home's closing CTA — teal overlay + pill button matching the new visual
   reference's "Happy to help you!" band, instead of the shared navy
   overlay used by the same helper on Solution/Service/Industry/About
   pages (left untouched there). */
/* Was accidentally fully opaque (color-mix with no alpha), hiding the
   cta-bg.webp photo underneath entirely — matched the original overlay's
   rgba alpha values so the image shows through as intended. */
.te-cta--home .te-cta__bg-overlay {
  background: linear-gradient(to bottom right, rgba(18, 71, 67, 0.92), rgba(18, 71, 67, 0.82), rgba(21, 88, 82, 0.78));
}

.te-cta__content { position: relative; }
.te-cta h2 { margin-inline: auto; max-width: 42rem; font-size: 1.5rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .te-cta h2 { font-size: 1.875rem; } }
@media (min-width: 1024px) { .te-cta h2 { font-size: 2.25rem; } }
.te-cta p { margin: 1rem auto 0; max-width: 36rem; font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
@media (min-width: 640px) { .te-cta p { font-size: 1.125rem; } }
.te-cta__action { margin-top: 2rem; }

/* Pre-footer conversion band (distinct simpler CTA baked into the footer) */
.te-footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(to right, var(--te-brand-700), var(--te-brand-600), var(--te-accent-600));
}
.te-footer-cta .te-container {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 2.5rem; text-align: center;
}
@media (min-width: 640px) { .te-footer-cta .te-container { flex-direction: row; text-align: left; } }
.te-footer-cta h2 { font-size: 1.5rem; font-weight: 700; color: #fff; }
@media (min-width: 640px) { .te-footer-cta h2 { font-size: 1.875rem; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.te-footer { background: var(--te-navy-950); color: rgba(255, 255, 255, 0.8); }

.te-footer__grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3.5rem;
}
@media (min-width: 1024px) { .te-footer__grid { grid-template-columns: repeat(12, 1fr); gap: 3rem; padding-block: 4rem; } }

.te-footer__brand { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 2rem; }
@media (min-width: 1024px) { .te-footer__brand { grid-column: span 3; border-bottom: none; padding-bottom: 0; } }
.te-footer__brand img { height: 2rem; width: auto; }
.te-footer__brand-logo { display: inline-block; border-radius: var(--te-radius-lg); background: rgba(255, 255, 255, 0.95); padding: 0.5rem 0.75rem; }
.te-footer__brand p.te-footer__desc { margin-top: 1.25rem; max-width: 20rem; font-size: 0.875rem; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.te-footer__brand p.te-footer__legal { margin-top: 1.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.025em; color: rgba(255, 255, 255, 0.4); }

/* Industry detail — "Challenges We Help Solve" grid. Ported from
   components/industries/IndustryChallenges.jsx (`grid grid-cols-1 gap-4
   sm:grid-cols-3` — jumps straight to 3 columns at the sm breakpoint,
   unlike the sm:2/lg:3 pattern used elsewhere). */
.te-industry-challenges-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .te-industry-challenges-grid { grid-template-columns: repeat(3, 1fr); } }

/* Contact Us — form/details 2-col layout. Ported from pages/Contact/
   Contact.jsx (`grid grid-cols-1 gap-12 lg:grid-cols-12`, form
   `lg:col-span-7`, details `lg:col-span-5`). */
.te-contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .te-contact-grid { grid-template-columns: repeat(12, 1fr); }
  .te-contact-grid > *:first-child { grid-column: span 7; }
  .te-contact-grid > *:last-child { grid-column: span 5; }
}

/* About Us — Vision/Mission cards. Ported from
   pages/About/sections/VisionMission.jsx (`grid grid-cols-1 gap-6
   lg:grid-cols-2`). */
.te-vision-mission-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .te-vision-mission-grid { grid-template-columns: repeat(2, 1fr); } }

/* About Us — Company Overview 2-col layout. Ported from
   pages/About/sections/CompanyOverview.jsx (`grid gap-10 lg:grid-cols-12
   lg:gap-16`, heading `lg:col-span-4`, body `lg:col-span-8`). */
.te-about-overview-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .te-about-overview-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
  .te-about-overview-grid > *:first-child { grid-column: span 4; }
  .te-about-overview-grid > *:last-child { grid-column: span 8; }
}

.te-footer__columns { }
@media (min-width: 1024px) { .te-footer__columns { grid-column: span 9; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; } }

.te-footer-group { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1rem; }
@media (min-width: 1024px) { .te-footer-group { border-bottom: none; padding-block: 0; } }
.te-footer-group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  cursor: pointer; list-style: none;
}
.te-footer-group > summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) { .te-footer-group > summary { margin-bottom: 1rem; } }
.te-footer-group__label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; }
.te-footer-group__label svg { height: 1rem; width: 1rem; color: var(--te-accent-400); }
.te-footer-chevron { height: 1rem; width: 1rem; color: rgba(255, 255, 255, 0.5); transition: transform 160ms ease; }
.te-footer-group[open] .te-footer-chevron { transform: rotate(180deg); }
.te-footer-group__body { padding-top: 0.75rem; }
@media (min-width: 1024px) { .te-footer-group__body { padding-top: 0; } }
.te-footer-group ul { display: flex; flex-direction: column; gap: 0.625rem; }
.te-footer-group a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); transition: color 150ms ease; }
.te-footer-group a:hover { color: #fff; }
.te-footer-group__contact-item { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.te-footer-group__contact-item svg { margin-top: 0.125rem; height: 1rem; width: 1rem; flex-shrink: 0; color: var(--te-accent-400); }

@media (min-width: 1024px) {
  .te-footer-group > summary { pointer-events: none; }
  .te-footer-group .te-footer-chevron { display: none; }
}

.te-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.te-footer__bottom .te-container {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding-block: 1.5rem; font-size: 0.75rem; color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 640px) { .te-footer__bottom .te-container { flex-direction: row; } }

/* ==========================================================================
   SOLUTION / SERVICE / INDUSTRY detail pages (features, FAQ, challenges)
   ========================================================================== */

.te-feature-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .te-feature-grid { grid-template-columns: repeat(2, 1fr); } }
.te-feature-grid--3col { }
@media (min-width: 1024px) { .te-feature-grid--3col { grid-template-columns: repeat(3, 1fr); } }

.te-feature-card { display: flex; gap: 1rem; }
.te-feature-card__icon {
  margin-top: 0.125rem; display: inline-flex; height: 2rem; width: 2rem; flex-shrink: 0; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--te-brand-50); color: var(--te-brand-600);
}
.te-feature-card h3 { font-size: 1rem; font-weight: 600; color: var(--te-navy-950); }
.te-feature-card p { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.5; color: var(--te-navy-600); }

.te-faq { border-radius: var(--te-radius-2xl); border: 1px solid var(--te-navy-100); background: #fff; box-shadow: var(--te-shadow-card); overflow: hidden; }
.te-faq__item + .te-faq__item { border-top: 1px solid var(--te-navy-100); }
.te-faq__question {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; text-align: left; background: none; border: none; transition: background 150ms ease;
}
.te-faq__question:hover { background: rgba(243, 245, 249, 0.6); }
.te-faq__question span { font-size: 1rem; font-weight: 600; color: var(--te-navy-950); }
.te-faq__question svg { height: 1.25rem; width: 1.25rem; flex-shrink: 0; color: var(--te-brand-600); transition: transform 200ms ease; }
.te-faq__question[aria-expanded="true"] svg { transform: rotate(180deg); }
.te-faq__answer { padding: 0 1.5rem 1.25rem; font-size: 0.875rem; line-height: 1.6; color: var(--te-navy-600); }

/* ==========================================================================
   NOTICE / DEV-NOTE (internal review callouts — see CONTENT_AUDIT.md)
   ========================================================================== */

.te-notice {
  margin-block: 1.5rem;
  border-radius: var(--te-radius-xl);
  border: 1px dashed rgba(251, 191, 36, 0.7);
  background: #fffbeb;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #78350f;
}
.te-notice__label { margin-bottom: 0.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #b45309; }

/* ==========================================================================
   FORMS (Contact / Career / Newsletter)
   ========================================================================== */

.te-form { display: flex; flex-direction: column; gap: 1.25rem; }
.te-form__row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .te-form__row--2col { grid-template-columns: repeat(2, 1fr); } }

.te-field label { display: block; margin-bottom: 0.375rem; font-size: 0.875rem; font-weight: 500; color: var(--te-navy-700); }
.te-field label .te-required { margin-left: 0.125rem; color: var(--te-brand-600); }
.te-field label .te-optional { margin-left: 0.25rem; color: var(--te-navy-400, #8592ad); }

.te-input, .te-textarea, .te-file {
  width: 100%; border-radius: var(--te-radius-lg); border: 1px solid var(--te-navy-200);
  padding: 0.75rem 1rem; font: inherit; color: var(--te-navy-900); background: #fff;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.te-input:focus, .te-textarea:focus {
  outline: none; border-color: var(--te-brand-500); box-shadow: 0 0 0 3px var(--te-brand-100);
}
.te-field.has-error .te-input, .te-field.has-error .te-textarea {
  border-color: #f87171;
}
.te-field.has-error .te-input:focus, .te-field.has-error .te-textarea:focus { box-shadow: 0 0 0 3px #fee2e2; }

.te-field__error { margin-top: 0.375rem; font-size: 0.75rem; font-weight: 500; color: #dc2626; }
.te-field__hint { margin-top: 0.375rem; font-size: 0.75rem; color: #8592ad; }

.te-file {
  padding: 0;
  border: none;
}
.te-file::file-selector-button {
  margin-right: 1rem; border-radius: var(--te-radius-lg); border: none; background: var(--te-brand-50);
  padding: 0.625rem 1rem; font-size: 0.875rem; font-weight: 600; color: var(--te-brand-700); cursor: pointer;
}
.te-file::file-selector-button:hover { background: var(--te-brand-100); }

.te-form__success {
  border-radius: var(--te-radius-2xl); border: 1px solid rgba(23, 201, 174, 0.3); background: rgba(23, 201, 174, 0.05);
  padding: 2rem; text-align: center;
}
.te-form__success-icon {
  margin-inline: auto; display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(23, 201, 174, 0.15); color: var(--te-accent-600);
}
.te-form__success h2, .te-form__success h3 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; color: var(--te-navy-950); }
.te-form__success p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--te-navy-600); }

.te-form__error-banner { font-size: 0.875rem; font-weight: 500; color: #dc2626; }

/* ==========================================================================
   BLOG (Featured, Category filter, Grid, Cards)
   ========================================================================== */

.te-category-filter { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.te-category-filter__btn {
  border-radius: 9999px; border: 1px solid var(--te-navy-200); background: #fff; padding: 0.5rem 1rem;
  font-size: 0.875rem; font-weight: 500; color: var(--te-navy-700); transition: all 150ms ease;
}
.te-category-filter__btn:hover { border-color: var(--te-brand-400); background: var(--te-brand-50); }
.te-category-filter__btn.is-active { border-color: var(--te-brand-600); background: var(--te-brand-600); color: #fff; }

.te-featured-post { border-radius: var(--te-radius-2xl); border: 1px dashed var(--te-brand-300); background: rgba(238, 246, 255, 0.5); padding: 2rem; }
@media (min-width: 640px) { .te-featured-post { padding: 2.5rem; } }
.te-featured-post__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.te-featured-post__badge-icon {
  display: inline-flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl); background: var(--te-brand-600); color: #fff; box-shadow: var(--te-shadow-card);
}
.te-featured-post__cat {
  margin-top: 1.25rem; display: inline-block; border-radius: 9999px; background: #fff; padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--te-brand-700);
}
.te-featured-post h2 { margin-top: 1rem; max-width: 42rem; font-size: 1.5rem; font-weight: 700; color: var(--te-navy-950); }
@media (min-width: 640px) { .te-featured-post h2 { font-size: 1.875rem; } }

.te-blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .te-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .te-blog-grid { grid-template-columns: repeat(3, 1fr); } }
.te-blog-card { display: flex; height: 100%; flex-direction: column; }
.te-blog-card__icon {
  display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center;
  border-radius: var(--te-radius-xl); background: var(--te-brand-50); color: var(--te-brand-600);
}
.te-blog-card__cat {
  margin-top: 1rem; display: inline-block; width: fit-content; border-radius: 9999px; background: var(--te-navy-50);
  padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; color: var(--te-navy-500);
}
.te-blog-card h3 { margin-top: 0.75rem; flex: 1; font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--te-navy-950); }
.te-blog-empty { border-radius: var(--te-radius-2xl); border: 1px solid var(--te-navy-100); background: #fff; padding: 2rem; text-align: center; font-size: 0.875rem; color: var(--te-navy-500); box-shadow: var(--te-shadow-card); }

/* Home — Latest Updates (new section; see template-parts/home/latest-updates.php).
   One large featured card + two stacked secondary cards, matching the
   "Latest Updates" card arrangement in the new visual reference. Reuses
   .te-blog-card__cat from the Blog page rather than duplicating it. */
.te-latest-updates__heading-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.te-latest-updates__view-all { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--te-brand-600); }
.te-latest-updates__view-all:hover { color: var(--te-brand-700); }

.te-latest-updates__grid { margin-top: 2.5rem; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .te-latest-updates__grid { grid-template-columns: 3fr 2fr; } }

.te-latest-updates__featured {
  display: flex; flex-direction: column; border-radius: var(--te-radius-2xl); overflow: hidden;
  border: 1px solid var(--te-navy-100); background: #fff; box-shadow: var(--te-shadow-card); transition: all 200ms ease;
}
.te-latest-updates__featured:hover { box-shadow: var(--te-shadow-card-hover); transform: translateY(-2px); }
.te-latest-updates__featured-media {
  display: flex; align-items: center; justify-content: center; min-height: 12rem;
  background: linear-gradient(135deg, var(--te-brand-600), var(--te-accent-600)); color: #fff;
}
.te-latest-updates__featured-media svg { height: 2.5rem; width: 2.5rem; }
.te-latest-updates__featured-body { padding: 1.75rem; }
.te-latest-updates__featured-body h3 { margin-top: 0.75rem; font-size: 1.375rem; font-weight: 700; line-height: 1.3; color: var(--te-navy-950); }

.te-latest-updates__side { display: flex; flex-direction: column; gap: 1.5rem; }
.te-latest-updates__card {
  display: block; flex: 1; border-radius: var(--te-radius-2xl); border: 1px solid var(--te-navy-100);
  background: #fff; padding: 1.5rem; box-shadow: var(--te-shadow-card); transition: all 200ms ease;
}
.te-latest-updates__card:hover { box-shadow: var(--te-shadow-card-hover); transform: translateY(-2px); }
.te-latest-updates__card h3 { margin-top: 0.5rem; font-size: 1rem; font-weight: 600; line-height: 1.4; color: var(--te-navy-950); }

.te-newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .te-newsletter-form .te-newsletter-form__row { flex-direction: row; } }
.te-newsletter-form__row { display: flex; flex-direction: column; gap: 0.75rem; }
.te-newsletter-form input[type="email"] { max-width: 24rem; }

/* ==========================================================================
   404
   ========================================================================== */

.te-404 { display: flex; min-height: 60vh; flex-direction: column; align-items: center; justify-content: center; padding-block: 6rem; text-align: center; }
.te-404 .te-404__code { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--te-brand-600); }
.te-404 h1 { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 700; color: var(--te-navy-950); }
@media (min-width: 640px) { .te-404 h1 { font-size: 2.25rem; } }
.te-404 p { margin-top: 1rem; max-width: 28rem; color: var(--te-navy-600); }
.te-404 .te-btn { margin-top: 2rem; }
